annotate magnatune/sparql-archived/SeRQL/configure @ 27:d95e683fbd35 tip

Enable CORS on urispace redirects as well
author Chris Cannam
date Tue, 20 Feb 2018 14:52:02 +0000
parents df9685986338
children
rev   line source
Chris@0 1 #! /bin/sh
Chris@0 2 # Guess values for system-dependent variables and create Makefiles.
Chris@0 3 # Generated by GNU Autoconf 2.57.
Chris@0 4 #
Chris@0 5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
Chris@0 6 # Free Software Foundation, Inc.
Chris@0 7 # This configure script is free software; the Free Software Foundation
Chris@0 8 # gives unlimited permission to copy, distribute and modify it.
Chris@0 9 ## --------------------- ##
Chris@0 10 ## M4sh Initialization. ##
Chris@0 11 ## --------------------- ##
Chris@0 12
Chris@0 13 # Be Bourne compatible
Chris@0 14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
Chris@0 15 emulate sh
Chris@0 16 NULLCMD=:
Chris@0 17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
Chris@0 18 # is contrary to our usage. Disable this feature.
Chris@0 19 alias -g '${1+"$@"}'='"$@"'
Chris@0 20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
Chris@0 21 set -o posix
Chris@0 22 fi
Chris@0 23
Chris@0 24 # Support unset when possible.
Chris@0 25 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
Chris@0 26 as_unset=unset
Chris@0 27 else
Chris@0 28 as_unset=false
Chris@0 29 fi
Chris@0 30
Chris@0 31
Chris@0 32 # Work around bugs in pre-3.0 UWIN ksh.
Chris@0 33 $as_unset ENV MAIL MAILPATH
Chris@0 34 PS1='$ '
Chris@0 35 PS2='> '
Chris@0 36 PS4='+ '
Chris@0 37
Chris@0 38 # NLS nuisances.
Chris@0 39 for as_var in \
Chris@0 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
Chris@0 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
Chris@0 42 LC_TELEPHONE LC_TIME
Chris@0 43 do
Chris@0 44 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
Chris@0 45 eval $as_var=C; export $as_var
Chris@0 46 else
Chris@0 47 $as_unset $as_var
Chris@0 48 fi
Chris@0 49 done
Chris@0 50
Chris@0 51 # Required to use basename.
Chris@0 52 if expr a : '\(a\)' >/dev/null 2>&1; then
Chris@0 53 as_expr=expr
Chris@0 54 else
Chris@0 55 as_expr=false
Chris@0 56 fi
Chris@0 57
Chris@0 58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
Chris@0 59 as_basename=basename
Chris@0 60 else
Chris@0 61 as_basename=false
Chris@0 62 fi
Chris@0 63
Chris@0 64
Chris@0 65 # Name of the executable.
Chris@0 66 as_me=`$as_basename "$0" ||
Chris@0 67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
Chris@0 68 X"$0" : 'X\(//\)$' \| \
Chris@0 69 X"$0" : 'X\(/\)$' \| \
Chris@0 70 . : '\(.\)' 2>/dev/null ||
Chris@0 71 echo X/"$0" |
Chris@0 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
Chris@0 73 /^X\/\(\/\/\)$/{ s//\1/; q; }
Chris@0 74 /^X\/\(\/\).*/{ s//\1/; q; }
Chris@0 75 s/.*/./; q'`
Chris@0 76
Chris@0 77
Chris@0 78 # PATH needs CR, and LINENO needs CR and PATH.
Chris@0 79 # Avoid depending upon Character Ranges.
Chris@0 80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
Chris@0 81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
Chris@0 82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
Chris@0 83 as_cr_digits='0123456789'
Chris@0 84 as_cr_alnum=$as_cr_Letters$as_cr_digits
Chris@0 85
Chris@0 86 # The user is always right.
Chris@0 87 if test "${PATH_SEPARATOR+set}" != set; then
Chris@0 88 echo "#! /bin/sh" >conf$$.sh
Chris@0 89 echo "exit 0" >>conf$$.sh
Chris@0 90 chmod +x conf$$.sh
Chris@0 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
Chris@0 92 PATH_SEPARATOR=';'
Chris@0 93 else
Chris@0 94 PATH_SEPARATOR=:
Chris@0 95 fi
Chris@0 96 rm -f conf$$.sh
Chris@0 97 fi
Chris@0 98
Chris@0 99
Chris@0 100 as_lineno_1=$LINENO
Chris@0 101 as_lineno_2=$LINENO
Chris@0 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
Chris@0 103 test "x$as_lineno_1" != "x$as_lineno_2" &&
Chris@0 104 test "x$as_lineno_3" = "x$as_lineno_2" || {
Chris@0 105 # Find who we are. Look in the path if we contain no path at all
Chris@0 106 # relative or not.
Chris@0 107 case $0 in
Chris@0 108 *[\\/]* ) as_myself=$0 ;;
Chris@0 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Chris@0 110 for as_dir in $PATH
Chris@0 111 do
Chris@0 112 IFS=$as_save_IFS
Chris@0 113 test -z "$as_dir" && as_dir=.
Chris@0 114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
Chris@0 115 done
Chris@0 116
Chris@0 117 ;;
Chris@0 118 esac
Chris@0 119 # We did not find ourselves, most probably we were run as `sh COMMAND'
Chris@0 120 # in which case we are not to be found in the path.
Chris@0 121 if test "x$as_myself" = x; then
Chris@0 122 as_myself=$0
Chris@0 123 fi
Chris@0 124 if test ! -f "$as_myself"; then
Chris@0 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
Chris@0 126 { (exit 1); exit 1; }; }
Chris@0 127 fi
Chris@0 128 case $CONFIG_SHELL in
Chris@0 129 '')
Chris@0 130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Chris@0 131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
Chris@0 132 do
Chris@0 133 IFS=$as_save_IFS
Chris@0 134 test -z "$as_dir" && as_dir=.
Chris@0 135 for as_base in sh bash ksh sh5; do
Chris@0 136 case $as_dir in
Chris@0 137 /*)
Chris@0 138 if ("$as_dir/$as_base" -c '
Chris@0 139 as_lineno_1=$LINENO
Chris@0 140 as_lineno_2=$LINENO
Chris@0 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
Chris@0 142 test "x$as_lineno_1" != "x$as_lineno_2" &&
Chris@0 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
Chris@0 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
Chris@0 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
Chris@0 146 CONFIG_SHELL=$as_dir/$as_base
Chris@0 147 export CONFIG_SHELL
Chris@0 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
Chris@0 149 fi;;
Chris@0 150 esac
Chris@0 151 done
Chris@0 152 done
Chris@0 153 ;;
Chris@0 154 esac
Chris@0 155
Chris@0 156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
Chris@0 157 # uniformly replaced by the line number. The first 'sed' inserts a
Chris@0 158 # line-number line before each line; the second 'sed' does the real
Chris@0 159 # work. The second script uses 'N' to pair each line-number line
Chris@0 160 # with the numbered line, and appends trailing '-' during
Chris@0 161 # substitution so that $LINENO is not a special case at line end.
Chris@0 162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
Chris@0 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
Chris@0 164 sed '=' <$as_myself |
Chris@0 165 sed '
Chris@0 166 N
Chris@0 167 s,$,-,
Chris@0 168 : loop
Chris@0 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
Chris@0 170 t loop
Chris@0 171 s,-$,,
Chris@0 172 s,^['$as_cr_digits']*\n,,
Chris@0 173 ' >$as_me.lineno &&
Chris@0 174 chmod +x $as_me.lineno ||
Chris@0 175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
Chris@0 176 { (exit 1); exit 1; }; }
Chris@0 177
Chris@0 178 # Don't try to exec as it changes $[0], causing all sort of problems
Chris@0 179 # (the dirname of $[0] is not the place where we might find the
Chris@0 180 # original and so on. Autoconf is especially sensible to this).
Chris@0 181 . ./$as_me.lineno
Chris@0 182 # Exit status is that of the last command.
Chris@0 183 exit
Chris@0 184 }
Chris@0 185
Chris@0 186
Chris@0 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
Chris@0 188 *c*,-n*) ECHO_N= ECHO_C='
Chris@0 189 ' ECHO_T=' ' ;;
Chris@0 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
Chris@0 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
Chris@0 192 esac
Chris@0 193
Chris@0 194 if expr a : '\(a\)' >/dev/null 2>&1; then
Chris@0 195 as_expr=expr
Chris@0 196 else
Chris@0 197 as_expr=false
Chris@0 198 fi
Chris@0 199
Chris@0 200 rm -f conf$$ conf$$.exe conf$$.file
Chris@0 201 echo >conf$$.file
Chris@0 202 if ln -s conf$$.file conf$$ 2>/dev/null; then
Chris@0 203 # We could just check for DJGPP; but this test a) works b) is more generic
Chris@0 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
Chris@0 205 if test -f conf$$.exe; then
Chris@0 206 # Don't use ln at all; we don't have any links
Chris@0 207 as_ln_s='cp -p'
Chris@0 208 else
Chris@0 209 as_ln_s='ln -s'
Chris@0 210 fi
Chris@0 211 elif ln conf$$.file conf$$ 2>/dev/null; then
Chris@0 212 as_ln_s=ln
Chris@0 213 else
Chris@0 214 as_ln_s='cp -p'
Chris@0 215 fi
Chris@0 216 rm -f conf$$ conf$$.exe conf$$.file
Chris@0 217
Chris@0 218 if mkdir -p . 2>/dev/null; then
Chris@0 219 as_mkdir_p=:
Chris@0 220 else
Chris@0 221 as_mkdir_p=false
Chris@0 222 fi
Chris@0 223
Chris@0 224 as_executable_p="test -f"
Chris@0 225
Chris@0 226 # Sed expression to map a string onto a valid CPP name.
Chris@0 227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
Chris@0 228
Chris@0 229 # Sed expression to map a string onto a valid variable name.
Chris@0 230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
Chris@0 231
Chris@0 232
Chris@0 233 # IFS
Chris@0 234 # We need space, tab and new line, in precisely that order.
Chris@0 235 as_nl='
Chris@0 236 '
Chris@0 237 IFS=" $as_nl"
Chris@0 238
Chris@0 239 # CDPATH.
Chris@0 240 $as_unset CDPATH
Chris@0 241
Chris@0 242
Chris@0 243 # Name of the host.
Chris@0 244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
Chris@0 245 # so uname gets run too.
Chris@0 246 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
Chris@0 247
Chris@0 248 exec 6>&1
Chris@0 249
Chris@0 250 #
Chris@0 251 # Initializations.
Chris@0 252 #
Chris@0 253 ac_default_prefix=/usr/local
Chris@0 254 ac_config_libobj_dir=.
Chris@0 255 cross_compiling=no
Chris@0 256 subdirs=
Chris@0 257 MFLAGS=
Chris@0 258 MAKEFLAGS=
Chris@0 259 SHELL=${CONFIG_SHELL-/bin/sh}
Chris@0 260
Chris@0 261 # Maximum number of lines to put in a shell here document.
Chris@0 262 # This variable seems obsolete. It should probably be removed, and
Chris@0 263 # only ac_max_sed_lines should be used.
Chris@0 264 : ${ac_max_here_lines=38}
Chris@0 265
Chris@0 266 # Identity of this package.
Chris@0 267 PACKAGE_NAME=
Chris@0 268 PACKAGE_TARNAME=
Chris@0 269 PACKAGE_VERSION=
Chris@0 270 PACKAGE_STRING=
Chris@0 271 PACKAGE_BUGREPORT=
Chris@0 272
Chris@0 273 ac_unique_file="install-sh"
Chris@0 274 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PL PLBASE PLARCH MAKE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LIBOBJS LTLIBOBJS'
Chris@0 275 ac_subst_files=''
Chris@0 276
Chris@0 277 # Initialize some variables set by options.
Chris@0 278 ac_init_help=
Chris@0 279 ac_init_version=false
Chris@0 280 # The variables have the same names as the options, with
Chris@0 281 # dashes changed to underlines.
Chris@0 282 cache_file=/dev/null
Chris@0 283 exec_prefix=NONE
Chris@0 284 no_create=
Chris@0 285 no_recursion=
Chris@0 286 prefix=NONE
Chris@0 287 program_prefix=NONE
Chris@0 288 program_suffix=NONE
Chris@0 289 program_transform_name=s,x,x,
Chris@0 290 silent=
Chris@0 291 site=
Chris@0 292 srcdir=
Chris@0 293 verbose=
Chris@0 294 x_includes=NONE
Chris@0 295 x_libraries=NONE
Chris@0 296
Chris@0 297 # Installation directory options.
Chris@0 298 # These are left unexpanded so users can "make install exec_prefix=/foo"
Chris@0 299 # and all the variables that are supposed to be based on exec_prefix
Chris@0 300 # by default will actually change.
Chris@0 301 # Use braces instead of parens because sh, perl, etc. also accept them.
Chris@0 302 bindir='${exec_prefix}/bin'
Chris@0 303 sbindir='${exec_prefix}/sbin'
Chris@0 304 libexecdir='${exec_prefix}/libexec'
Chris@0 305 datadir='${prefix}/share'
Chris@0 306 sysconfdir='${prefix}/etc'
Chris@0 307 sharedstatedir='${prefix}/com'
Chris@0 308 localstatedir='${prefix}/var'
Chris@0 309 libdir='${exec_prefix}/lib'
Chris@0 310 includedir='${prefix}/include'
Chris@0 311 oldincludedir='/usr/include'
Chris@0 312 infodir='${prefix}/info'
Chris@0 313 mandir='${prefix}/man'
Chris@0 314
Chris@0 315 ac_prev=
Chris@0 316 for ac_option
Chris@0 317 do
Chris@0 318 # If the previous option needs an argument, assign it.
Chris@0 319 if test -n "$ac_prev"; then
Chris@0 320 eval "$ac_prev=\$ac_option"
Chris@0 321 ac_prev=
Chris@0 322 continue
Chris@0 323 fi
Chris@0 324
Chris@0 325 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
Chris@0 326
Chris@0 327 # Accept the important Cygnus configure options, so we can diagnose typos.
Chris@0 328
Chris@0 329 case $ac_option in
Chris@0 330
Chris@0 331 -bindir | --bindir | --bindi | --bind | --bin | --bi)
Chris@0 332 ac_prev=bindir ;;
Chris@0 333 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
Chris@0 334 bindir=$ac_optarg ;;
Chris@0 335
Chris@0 336 -build | --build | --buil | --bui | --bu)
Chris@0 337 ac_prev=build_alias ;;
Chris@0 338 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
Chris@0 339 build_alias=$ac_optarg ;;
Chris@0 340
Chris@0 341 -cache-file | --cache-file | --cache-fil | --cache-fi \
Chris@0 342 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
Chris@0 343 ac_prev=cache_file ;;
Chris@0 344 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
Chris@0 345 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
Chris@0 346 cache_file=$ac_optarg ;;
Chris@0 347
Chris@0 348 --config-cache | -C)
Chris@0 349 cache_file=config.cache ;;
Chris@0 350
Chris@0 351 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
Chris@0 352 ac_prev=datadir ;;
Chris@0 353 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
Chris@0 354 | --da=*)
Chris@0 355 datadir=$ac_optarg ;;
Chris@0 356
Chris@0 357 -disable-* | --disable-*)
Chris@0 358 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
Chris@0 359 # Reject names that are not valid shell variable names.
Chris@0 360 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
Chris@0 361 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
Chris@0 362 { (exit 1); exit 1; }; }
Chris@0 363 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
Chris@0 364 eval "enable_$ac_feature=no" ;;
Chris@0 365
Chris@0 366 -enable-* | --enable-*)
Chris@0 367 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
Chris@0 368 # Reject names that are not valid shell variable names.
Chris@0 369 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
Chris@0 370 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
Chris@0 371 { (exit 1); exit 1; }; }
Chris@0 372 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
Chris@0 373 case $ac_option in
Chris@0 374 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
Chris@0 375 *) ac_optarg=yes ;;
Chris@0 376 esac
Chris@0 377 eval "enable_$ac_feature='$ac_optarg'" ;;
Chris@0 378
Chris@0 379 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
Chris@0 380 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
Chris@0 381 | --exec | --exe | --ex)
Chris@0 382 ac_prev=exec_prefix ;;
Chris@0 383 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
Chris@0 384 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
Chris@0 385 | --exec=* | --exe=* | --ex=*)
Chris@0 386 exec_prefix=$ac_optarg ;;
Chris@0 387
Chris@0 388 -gas | --gas | --ga | --g)
Chris@0 389 # Obsolete; use --with-gas.
Chris@0 390 with_gas=yes ;;
Chris@0 391
Chris@0 392 -help | --help | --hel | --he | -h)
Chris@0 393 ac_init_help=long ;;
Chris@0 394 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
Chris@0 395 ac_init_help=recursive ;;
Chris@0 396 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
Chris@0 397 ac_init_help=short ;;
Chris@0 398
Chris@0 399 -host | --host | --hos | --ho)
Chris@0 400 ac_prev=host_alias ;;
Chris@0 401 -host=* | --host=* | --hos=* | --ho=*)
Chris@0 402 host_alias=$ac_optarg ;;
Chris@0 403
Chris@0 404 -includedir | --includedir | --includedi | --included | --include \
Chris@0 405 | --includ | --inclu | --incl | --inc)
Chris@0 406 ac_prev=includedir ;;
Chris@0 407 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
Chris@0 408 | --includ=* | --inclu=* | --incl=* | --inc=*)
Chris@0 409 includedir=$ac_optarg ;;
Chris@0 410
Chris@0 411 -infodir | --infodir | --infodi | --infod | --info | --inf)
Chris@0 412 ac_prev=infodir ;;
Chris@0 413 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
Chris@0 414 infodir=$ac_optarg ;;
Chris@0 415
Chris@0 416 -libdir | --libdir | --libdi | --libd)
Chris@0 417 ac_prev=libdir ;;
Chris@0 418 -libdir=* | --libdir=* | --libdi=* | --libd=*)
Chris@0 419 libdir=$ac_optarg ;;
Chris@0 420
Chris@0 421 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
Chris@0 422 | --libexe | --libex | --libe)
Chris@0 423 ac_prev=libexecdir ;;
Chris@0 424 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
Chris@0 425 | --libexe=* | --libex=* | --libe=*)
Chris@0 426 libexecdir=$ac_optarg ;;
Chris@0 427
Chris@0 428 -localstatedir | --localstatedir | --localstatedi | --localstated \
Chris@0 429 | --localstate | --localstat | --localsta | --localst \
Chris@0 430 | --locals | --local | --loca | --loc | --lo)
Chris@0 431 ac_prev=localstatedir ;;
Chris@0 432 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
Chris@0 433 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
Chris@0 434 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
Chris@0 435 localstatedir=$ac_optarg ;;
Chris@0 436
Chris@0 437 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
Chris@0 438 ac_prev=mandir ;;
Chris@0 439 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
Chris@0 440 mandir=$ac_optarg ;;
Chris@0 441
Chris@0 442 -nfp | --nfp | --nf)
Chris@0 443 # Obsolete; use --without-fp.
Chris@0 444 with_fp=no ;;
Chris@0 445
Chris@0 446 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
Chris@0 447 | --no-cr | --no-c | -n)
Chris@0 448 no_create=yes ;;
Chris@0 449
Chris@0 450 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
Chris@0 451 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
Chris@0 452 no_recursion=yes ;;
Chris@0 453
Chris@0 454 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
Chris@0 455 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
Chris@0 456 | --oldin | --oldi | --old | --ol | --o)
Chris@0 457 ac_prev=oldincludedir ;;
Chris@0 458 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
Chris@0 459 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
Chris@0 460 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
Chris@0 461 oldincludedir=$ac_optarg ;;
Chris@0 462
Chris@0 463 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
Chris@0 464 ac_prev=prefix ;;
Chris@0 465 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
Chris@0 466 prefix=$ac_optarg ;;
Chris@0 467
Chris@0 468 -program-prefix | --program-prefix | --program-prefi | --program-pref \
Chris@0 469 | --program-pre | --program-pr | --program-p)
Chris@0 470 ac_prev=program_prefix ;;
Chris@0 471 -program-prefix=* | --program-prefix=* | --program-prefi=* \
Chris@0 472 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
Chris@0 473 program_prefix=$ac_optarg ;;
Chris@0 474
Chris@0 475 -program-suffix | --program-suffix | --program-suffi | --program-suff \
Chris@0 476 | --program-suf | --program-su | --program-s)
Chris@0 477 ac_prev=program_suffix ;;
Chris@0 478 -program-suffix=* | --program-suffix=* | --program-suffi=* \
Chris@0 479 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
Chris@0 480 program_suffix=$ac_optarg ;;
Chris@0 481
Chris@0 482 -program-transform-name | --program-transform-name \
Chris@0 483 | --program-transform-nam | --program-transform-na \
Chris@0 484 | --program-transform-n | --program-transform- \
Chris@0 485 | --program-transform | --program-transfor \
Chris@0 486 | --program-transfo | --program-transf \
Chris@0 487 | --program-trans | --program-tran \
Chris@0 488 | --progr-tra | --program-tr | --program-t)
Chris@0 489 ac_prev=program_transform_name ;;
Chris@0 490 -program-transform-name=* | --program-transform-name=* \
Chris@0 491 | --program-transform-nam=* | --program-transform-na=* \
Chris@0 492 | --program-transform-n=* | --program-transform-=* \
Chris@0 493 | --program-transform=* | --program-transfor=* \
Chris@0 494 | --program-transfo=* | --program-transf=* \
Chris@0 495 | --program-trans=* | --program-tran=* \
Chris@0 496 | --progr-tra=* | --program-tr=* | --program-t=*)
Chris@0 497 program_transform_name=$ac_optarg ;;
Chris@0 498
Chris@0 499 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
Chris@0 500 | -silent | --silent | --silen | --sile | --sil)
Chris@0 501 silent=yes ;;
Chris@0 502
Chris@0 503 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
Chris@0 504 ac_prev=sbindir ;;
Chris@0 505 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
Chris@0 506 | --sbi=* | --sb=*)
Chris@0 507 sbindir=$ac_optarg ;;
Chris@0 508
Chris@0 509 -sharedstatedir | --sharedstatedir | --sharedstatedi \
Chris@0 510 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
Chris@0 511 | --sharedst | --shareds | --shared | --share | --shar \
Chris@0 512 | --sha | --sh)
Chris@0 513 ac_prev=sharedstatedir ;;
Chris@0 514 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
Chris@0 515 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
Chris@0 516 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
Chris@0 517 | --sha=* | --sh=*)
Chris@0 518 sharedstatedir=$ac_optarg ;;
Chris@0 519
Chris@0 520 -site | --site | --sit)
Chris@0 521 ac_prev=site ;;
Chris@0 522 -site=* | --site=* | --sit=*)
Chris@0 523 site=$ac_optarg ;;
Chris@0 524
Chris@0 525 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
Chris@0 526 ac_prev=srcdir ;;
Chris@0 527 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
Chris@0 528 srcdir=$ac_optarg ;;
Chris@0 529
Chris@0 530 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
Chris@0 531 | --syscon | --sysco | --sysc | --sys | --sy)
Chris@0 532 ac_prev=sysconfdir ;;
Chris@0 533 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
Chris@0 534 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
Chris@0 535 sysconfdir=$ac_optarg ;;
Chris@0 536
Chris@0 537 -target | --target | --targe | --targ | --tar | --ta | --t)
Chris@0 538 ac_prev=target_alias ;;
Chris@0 539 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
Chris@0 540 target_alias=$ac_optarg ;;
Chris@0 541
Chris@0 542 -v | -verbose | --verbose | --verbos | --verbo | --verb)
Chris@0 543 verbose=yes ;;
Chris@0 544
Chris@0 545 -version | --version | --versio | --versi | --vers | -V)
Chris@0 546 ac_init_version=: ;;
Chris@0 547
Chris@0 548 -with-* | --with-*)
Chris@0 549 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
Chris@0 550 # Reject names that are not valid shell variable names.
Chris@0 551 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
Chris@0 552 { echo "$as_me: error: invalid package name: $ac_package" >&2
Chris@0 553 { (exit 1); exit 1; }; }
Chris@0 554 ac_package=`echo $ac_package| sed 's/-/_/g'`
Chris@0 555 case $ac_option in
Chris@0 556 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
Chris@0 557 *) ac_optarg=yes ;;
Chris@0 558 esac
Chris@0 559 eval "with_$ac_package='$ac_optarg'" ;;
Chris@0 560
Chris@0 561 -without-* | --without-*)
Chris@0 562 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
Chris@0 563 # Reject names that are not valid shell variable names.
Chris@0 564 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
Chris@0 565 { echo "$as_me: error: invalid package name: $ac_package" >&2
Chris@0 566 { (exit 1); exit 1; }; }
Chris@0 567 ac_package=`echo $ac_package | sed 's/-/_/g'`
Chris@0 568 eval "with_$ac_package=no" ;;
Chris@0 569
Chris@0 570 --x)
Chris@0 571 # Obsolete; use --with-x.
Chris@0 572 with_x=yes ;;
Chris@0 573
Chris@0 574 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
Chris@0 575 | --x-incl | --x-inc | --x-in | --x-i)
Chris@0 576 ac_prev=x_includes ;;
Chris@0 577 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
Chris@0 578 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
Chris@0 579 x_includes=$ac_optarg ;;
Chris@0 580
Chris@0 581 -x-libraries | --x-libraries | --x-librarie | --x-librari \
Chris@0 582 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
Chris@0 583 ac_prev=x_libraries ;;
Chris@0 584 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
Chris@0 585 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
Chris@0 586 x_libraries=$ac_optarg ;;
Chris@0 587
Chris@0 588 -*) { echo "$as_me: error: unrecognized option: $ac_option
Chris@0 589 Try \`$0 --help' for more information." >&2
Chris@0 590 { (exit 1); exit 1; }; }
Chris@0 591 ;;
Chris@0 592
Chris@0 593 *=*)
Chris@0 594 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
Chris@0 595 # Reject names that are not valid shell variable names.
Chris@0 596 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
Chris@0 597 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
Chris@0 598 { (exit 1); exit 1; }; }
Chris@0 599 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
Chris@0 600 eval "$ac_envvar='$ac_optarg'"
Chris@0 601 export $ac_envvar ;;
Chris@0 602
Chris@0 603 *)
Chris@0 604 # FIXME: should be removed in autoconf 3.0.
Chris@0 605 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
Chris@0 606 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
Chris@0 607 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
Chris@0 608 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
Chris@0 609 ;;
Chris@0 610
Chris@0 611 esac
Chris@0 612 done
Chris@0 613
Chris@0 614 if test -n "$ac_prev"; then
Chris@0 615 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
Chris@0 616 { echo "$as_me: error: missing argument to $ac_option" >&2
Chris@0 617 { (exit 1); exit 1; }; }
Chris@0 618 fi
Chris@0 619
Chris@0 620 # Be sure to have absolute paths.
Chris@0 621 for ac_var in exec_prefix prefix
Chris@0 622 do
Chris@0 623 eval ac_val=$`echo $ac_var`
Chris@0 624 case $ac_val in
Chris@0 625 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
Chris@0 626 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
Chris@0 627 { (exit 1); exit 1; }; };;
Chris@0 628 esac
Chris@0 629 done
Chris@0 630
Chris@0 631 # Be sure to have absolute paths.
Chris@0 632 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
Chris@0 633 localstatedir libdir includedir oldincludedir infodir mandir
Chris@0 634 do
Chris@0 635 eval ac_val=$`echo $ac_var`
Chris@0 636 case $ac_val in
Chris@0 637 [\\/$]* | ?:[\\/]* ) ;;
Chris@0 638 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
Chris@0 639 { (exit 1); exit 1; }; };;
Chris@0 640 esac
Chris@0 641 done
Chris@0 642
Chris@0 643 # There might be people who depend on the old broken behavior: `$host'
Chris@0 644 # used to hold the argument of --host etc.
Chris@0 645 # FIXME: To remove some day.
Chris@0 646 build=$build_alias
Chris@0 647 host=$host_alias
Chris@0 648 target=$target_alias
Chris@0 649
Chris@0 650 # FIXME: To remove some day.
Chris@0 651 if test "x$host_alias" != x; then
Chris@0 652 if test "x$build_alias" = x; then
Chris@0 653 cross_compiling=maybe
Chris@0 654 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
Chris@0 655 If a cross compiler is detected then cross compile mode will be used." >&2
Chris@0 656 elif test "x$build_alias" != "x$host_alias"; then
Chris@0 657 cross_compiling=yes
Chris@0 658 fi
Chris@0 659 fi
Chris@0 660
Chris@0 661 ac_tool_prefix=
Chris@0 662 test -n "$host_alias" && ac_tool_prefix=$host_alias-
Chris@0 663
Chris@0 664 test "$silent" = yes && exec 6>/dev/null
Chris@0 665
Chris@0 666
Chris@0 667 # Find the source files, if location was not specified.
Chris@0 668 if test -z "$srcdir"; then
Chris@0 669 ac_srcdir_defaulted=yes
Chris@0 670 # Try the directory containing this script, then its parent.
Chris@0 671 ac_confdir=`(dirname "$0") 2>/dev/null ||
Chris@0 672 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
Chris@0 673 X"$0" : 'X\(//\)[^/]' \| \
Chris@0 674 X"$0" : 'X\(//\)$' \| \
Chris@0 675 X"$0" : 'X\(/\)' \| \
Chris@0 676 . : '\(.\)' 2>/dev/null ||
Chris@0 677 echo X"$0" |
Chris@0 678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
Chris@0 679 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
Chris@0 680 /^X\(\/\/\)$/{ s//\1/; q; }
Chris@0 681 /^X\(\/\).*/{ s//\1/; q; }
Chris@0 682 s/.*/./; q'`
Chris@0 683 srcdir=$ac_confdir
Chris@0 684 if test ! -r $srcdir/$ac_unique_file; then
Chris@0 685 srcdir=..
Chris@0 686 fi
Chris@0 687 else
Chris@0 688 ac_srcdir_defaulted=no
Chris@0 689 fi
Chris@0 690 if test ! -r $srcdir/$ac_unique_file; then
Chris@0 691 if test "$ac_srcdir_defaulted" = yes; then
Chris@0 692 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
Chris@0 693 { (exit 1); exit 1; }; }
Chris@0 694 else
Chris@0 695 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
Chris@0 696 { (exit 1); exit 1; }; }
Chris@0 697 fi
Chris@0 698 fi
Chris@0 699 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
Chris@0 700 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
Chris@0 701 { (exit 1); exit 1; }; }
Chris@0 702 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
Chris@0 703 ac_env_build_alias_set=${build_alias+set}
Chris@0 704 ac_env_build_alias_value=$build_alias
Chris@0 705 ac_cv_env_build_alias_set=${build_alias+set}
Chris@0 706 ac_cv_env_build_alias_value=$build_alias
Chris@0 707 ac_env_host_alias_set=${host_alias+set}
Chris@0 708 ac_env_host_alias_value=$host_alias
Chris@0 709 ac_cv_env_host_alias_set=${host_alias+set}
Chris@0 710 ac_cv_env_host_alias_value=$host_alias
Chris@0 711 ac_env_target_alias_set=${target_alias+set}
Chris@0 712 ac_env_target_alias_value=$target_alias
Chris@0 713 ac_cv_env_target_alias_set=${target_alias+set}
Chris@0 714 ac_cv_env_target_alias_value=$target_alias
Chris@0 715
Chris@0 716 #
Chris@0 717 # Report the --help message.
Chris@0 718 #
Chris@0 719 if test "$ac_init_help" = "long"; then
Chris@0 720 # Omit some internal or obsolete options to make the list less imposing.
Chris@0 721 # This message is too long to be a string in the A/UX 3.1 sh.
Chris@0 722 cat <<_ACEOF
Chris@0 723 \`configure' configures this package to adapt to many kinds of systems.
Chris@0 724
Chris@0 725 Usage: $0 [OPTION]... [VAR=VALUE]...
Chris@0 726
Chris@0 727 To assign environment variables (e.g., CC, CFLAGS...), specify them as
Chris@0 728 VAR=VALUE. See below for descriptions of some of the useful variables.
Chris@0 729
Chris@0 730 Defaults for the options are specified in brackets.
Chris@0 731
Chris@0 732 Configuration:
Chris@0 733 -h, --help display this help and exit
Chris@0 734 --help=short display options specific to this package
Chris@0 735 --help=recursive display the short help of all the included packages
Chris@0 736 -V, --version display version information and exit
Chris@0 737 -q, --quiet, --silent do not print \`checking...' messages
Chris@0 738 --cache-file=FILE cache test results in FILE [disabled]
Chris@0 739 -C, --config-cache alias for \`--cache-file=config.cache'
Chris@0 740 -n, --no-create do not create output files
Chris@0 741 --srcdir=DIR find the sources in DIR [configure dir or \`..']
Chris@0 742
Chris@0 743 _ACEOF
Chris@0 744
Chris@0 745 cat <<_ACEOF
Chris@0 746 Installation directories:
Chris@0 747 --prefix=PREFIX install architecture-independent files in PREFIX
Chris@0 748 [$ac_default_prefix]
Chris@0 749 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
Chris@0 750 [PREFIX]
Chris@0 751
Chris@0 752 By default, \`make install' will install all the files in
Chris@0 753 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
Chris@0 754 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
Chris@0 755 for instance \`--prefix=\$HOME'.
Chris@0 756
Chris@0 757 For better control, use the options below.
Chris@0 758
Chris@0 759 Fine tuning of the installation directories:
Chris@0 760 --bindir=DIR user executables [EPREFIX/bin]
Chris@0 761 --sbindir=DIR system admin executables [EPREFIX/sbin]
Chris@0 762 --libexecdir=DIR program executables [EPREFIX/libexec]
Chris@0 763 --datadir=DIR read-only architecture-independent data [PREFIX/share]
Chris@0 764 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
Chris@0 765 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
Chris@0 766 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
Chris@0 767 --libdir=DIR object code libraries [EPREFIX/lib]
Chris@0 768 --includedir=DIR C header files [PREFIX/include]
Chris@0 769 --oldincludedir=DIR C header files for non-gcc [/usr/include]
Chris@0 770 --infodir=DIR info documentation [PREFIX/info]
Chris@0 771 --mandir=DIR man documentation [PREFIX/man]
Chris@0 772 _ACEOF
Chris@0 773
Chris@0 774 cat <<\_ACEOF
Chris@0 775 _ACEOF
Chris@0 776 fi
Chris@0 777
Chris@0 778 if test -n "$ac_init_help"; then
Chris@0 779
Chris@0 780 cat <<\_ACEOF
Chris@0 781
Chris@0 782 _ACEOF
Chris@0 783 fi
Chris@0 784
Chris@0 785 if test "$ac_init_help" = "recursive"; then
Chris@0 786 # If there are subdirs, report their specific --help.
Chris@0 787 ac_popdir=`pwd`
Chris@0 788 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
Chris@0 789 test -d $ac_dir || continue
Chris@0 790 ac_builddir=.
Chris@0 791
Chris@0 792 if test "$ac_dir" != .; then
Chris@0 793 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
Chris@0 794 # A "../" for each directory in $ac_dir_suffix.
Chris@0 795 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
Chris@0 796 else
Chris@0 797 ac_dir_suffix= ac_top_builddir=
Chris@0 798 fi
Chris@0 799
Chris@0 800 case $srcdir in
Chris@0 801 .) # No --srcdir option. We are building in place.
Chris@0 802 ac_srcdir=.
Chris@0 803 if test -z "$ac_top_builddir"; then
Chris@0 804 ac_top_srcdir=.
Chris@0 805 else
Chris@0 806 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
Chris@0 807 fi ;;
Chris@0 808 [\\/]* | ?:[\\/]* ) # Absolute path.
Chris@0 809 ac_srcdir=$srcdir$ac_dir_suffix;
Chris@0 810 ac_top_srcdir=$srcdir ;;
Chris@0 811 *) # Relative path.
Chris@0 812 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
Chris@0 813 ac_top_srcdir=$ac_top_builddir$srcdir ;;
Chris@0 814 esac
Chris@0 815 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
Chris@0 816 # absolute.
Chris@0 817 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
Chris@0 818 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
Chris@0 819 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
Chris@0 820 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
Chris@0 821
Chris@0 822 cd $ac_dir
Chris@0 823 # Check for guested configure; otherwise get Cygnus style configure.
Chris@0 824 if test -f $ac_srcdir/configure.gnu; then
Chris@0 825 echo
Chris@0 826 $SHELL $ac_srcdir/configure.gnu --help=recursive
Chris@0 827 elif test -f $ac_srcdir/configure; then
Chris@0 828 echo
Chris@0 829 $SHELL $ac_srcdir/configure --help=recursive
Chris@0 830 elif test -f $ac_srcdir/configure.ac ||
Chris@0 831 test -f $ac_srcdir/configure.in; then
Chris@0 832 echo
Chris@0 833 $ac_configure --help
Chris@0 834 else
Chris@0 835 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
Chris@0 836 fi
Chris@0 837 cd $ac_popdir
Chris@0 838 done
Chris@0 839 fi
Chris@0 840
Chris@0 841 test -n "$ac_init_help" && exit 0
Chris@0 842 if $ac_init_version; then
Chris@0 843 cat <<\_ACEOF
Chris@0 844
Chris@0 845 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
Chris@0 846 Free Software Foundation, Inc.
Chris@0 847 This configure script is free software; the Free Software Foundation
Chris@0 848 gives unlimited permission to copy, distribute and modify it.
Chris@0 849 _ACEOF
Chris@0 850 exit 0
Chris@0 851 fi
Chris@0 852 exec 5>config.log
Chris@0 853 cat >&5 <<_ACEOF
Chris@0 854 This file contains any messages produced by compilers while
Chris@0 855 running configure, to aid debugging if configure makes a mistake.
Chris@0 856
Chris@0 857 It was created by $as_me, which was
Chris@0 858 generated by GNU Autoconf 2.57. Invocation command line was
Chris@0 859
Chris@0 860 $ $0 $@
Chris@0 861
Chris@0 862 _ACEOF
Chris@0 863 {
Chris@0 864 cat <<_ASUNAME
Chris@0 865 ## --------- ##
Chris@0 866 ## Platform. ##
Chris@0 867 ## --------- ##
Chris@0 868
Chris@0 869 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
Chris@0 870 uname -m = `(uname -m) 2>/dev/null || echo unknown`
Chris@0 871 uname -r = `(uname -r) 2>/dev/null || echo unknown`
Chris@0 872 uname -s = `(uname -s) 2>/dev/null || echo unknown`
Chris@0 873 uname -v = `(uname -v) 2>/dev/null || echo unknown`
Chris@0 874
Chris@0 875 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
Chris@0 876 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
Chris@0 877
Chris@0 878 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
Chris@0 879 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
Chris@0 880 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
Chris@0 881 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
Chris@0 882 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
Chris@0 883 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
Chris@0 884 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
Chris@0 885
Chris@0 886 _ASUNAME
Chris@0 887
Chris@0 888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Chris@0 889 for as_dir in $PATH
Chris@0 890 do
Chris@0 891 IFS=$as_save_IFS
Chris@0 892 test -z "$as_dir" && as_dir=.
Chris@0 893 echo "PATH: $as_dir"
Chris@0 894 done
Chris@0 895
Chris@0 896 } >&5
Chris@0 897
Chris@0 898 cat >&5 <<_ACEOF
Chris@0 899
Chris@0 900
Chris@0 901 ## ----------- ##
Chris@0 902 ## Core tests. ##
Chris@0 903 ## ----------- ##
Chris@0 904
Chris@0 905 _ACEOF
Chris@0 906
Chris@0 907
Chris@0 908 # Keep a trace of the command line.
Chris@0 909 # Strip out --no-create and --no-recursion so they do not pile up.
Chris@0 910 # Strip out --silent because we don't want to record it for future runs.
Chris@0 911 # Also quote any args containing shell meta-characters.
Chris@0 912 # Make two passes to allow for proper duplicate-argument suppression.
Chris@0 913 ac_configure_args=
Chris@0 914 ac_configure_args0=
Chris@0 915 ac_configure_args1=
Chris@0 916 ac_sep=
Chris@0 917 ac_must_keep_next=false
Chris@0 918 for ac_pass in 1 2
Chris@0 919 do
Chris@0 920 for ac_arg
Chris@0 921 do
Chris@0 922 case $ac_arg in
Chris@0 923 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
Chris@0 924 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
Chris@0 925 | -silent | --silent | --silen | --sile | --sil)
Chris@0 926 continue ;;
Chris@0 927 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
Chris@0 928 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
Chris@0 929 esac
Chris@0 930 case $ac_pass in
Chris@0 931 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
Chris@0 932 2)
Chris@0 933 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
Chris@0 934 if test $ac_must_keep_next = true; then
Chris@0 935 ac_must_keep_next=false # Got value, back to normal.
Chris@0 936 else
Chris@0 937 case $ac_arg in
Chris@0 938 *=* | --config-cache | -C | -disable-* | --disable-* \
Chris@0 939 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
Chris@0 940 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
Chris@0 941 | -with-* | --with-* | -without-* | --without-* | --x)
Chris@0 942 case "$ac_configure_args0 " in
Chris@0 943 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
Chris@0 944 esac
Chris@0 945 ;;
Chris@0 946 -* ) ac_must_keep_next=true ;;
Chris@0 947 esac
Chris@0 948 fi
Chris@0 949 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
Chris@0 950 # Get rid of the leading space.
Chris@0 951 ac_sep=" "
Chris@0 952 ;;
Chris@0 953 esac
Chris@0 954 done
Chris@0 955 done
Chris@0 956 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
Chris@0 957 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
Chris@0 958
Chris@0 959 # When interrupted or exit'd, cleanup temporary files, and complete
Chris@0 960 # config.log. We remove comments because anyway the quotes in there
Chris@0 961 # would cause problems or look ugly.
Chris@0 962 # WARNING: Be sure not to use single quotes in there, as some shells,
Chris@0 963 # such as our DU 5.0 friend, will then `close' the trap.
Chris@0 964 trap 'exit_status=$?
Chris@0 965 # Save into config.log some information that might help in debugging.
Chris@0 966 {
Chris@0 967 echo
Chris@0 968
Chris@0 969 cat <<\_ASBOX
Chris@0 970 ## ---------------- ##
Chris@0 971 ## Cache variables. ##
Chris@0 972 ## ---------------- ##
Chris@0 973 _ASBOX
Chris@0 974 echo
Chris@0 975 # The following way of writing the cache mishandles newlines in values,
Chris@0 976 {
Chris@0 977 (set) 2>&1 |
Chris@0 978 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
Chris@0 979 *ac_space=\ *)
Chris@0 980 sed -n \
Chris@0 981 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
Chris@0 982 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
Chris@0 983 ;;
Chris@0 984 *)
Chris@0 985 sed -n \
Chris@0 986 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
Chris@0 987 ;;
Chris@0 988 esac;
Chris@0 989 }
Chris@0 990 echo
Chris@0 991
Chris@0 992 cat <<\_ASBOX
Chris@0 993 ## ----------------- ##
Chris@0 994 ## Output variables. ##
Chris@0 995 ## ----------------- ##
Chris@0 996 _ASBOX
Chris@0 997 echo
Chris@0 998 for ac_var in $ac_subst_vars
Chris@0 999 do
Chris@0 1000 eval ac_val=$`echo $ac_var`
Chris@0 1001 echo "$ac_var='"'"'$ac_val'"'"'"
Chris@0 1002 done | sort
Chris@0 1003 echo
Chris@0 1004
Chris@0 1005 if test -n "$ac_subst_files"; then
Chris@0 1006 cat <<\_ASBOX
Chris@0 1007 ## ------------- ##
Chris@0 1008 ## Output files. ##
Chris@0 1009 ## ------------- ##
Chris@0 1010 _ASBOX
Chris@0 1011 echo
Chris@0 1012 for ac_var in $ac_subst_files
Chris@0 1013 do
Chris@0 1014 eval ac_val=$`echo $ac_var`
Chris@0 1015 echo "$ac_var='"'"'$ac_val'"'"'"
Chris@0 1016 done | sort
Chris@0 1017 echo
Chris@0 1018 fi
Chris@0 1019
Chris@0 1020 if test -s confdefs.h; then
Chris@0 1021 cat <<\_ASBOX
Chris@0 1022 ## ----------- ##
Chris@0 1023 ## confdefs.h. ##
Chris@0 1024 ## ----------- ##
Chris@0 1025 _ASBOX
Chris@0 1026 echo
Chris@0 1027 sed "/^$/d" confdefs.h | sort
Chris@0 1028 echo
Chris@0 1029 fi
Chris@0 1030 test "$ac_signal" != 0 &&
Chris@0 1031 echo "$as_me: caught signal $ac_signal"
Chris@0 1032 echo "$as_me: exit $exit_status"
Chris@0 1033 } >&5
Chris@0 1034 rm -f core core.* *.core &&
Chris@0 1035 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
Chris@0 1036 exit $exit_status
Chris@0 1037 ' 0
Chris@0 1038 for ac_signal in 1 2 13 15; do
Chris@0 1039 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
Chris@0 1040 done
Chris@0 1041 ac_signal=0
Chris@0 1042
Chris@0 1043 # confdefs.h avoids OS command line length limits that DEFS can exceed.
Chris@0 1044 rm -rf conftest* confdefs.h
Chris@0 1045 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
Chris@0 1046 echo >confdefs.h
Chris@0 1047
Chris@0 1048 # Predefined preprocessor variables.
Chris@0 1049
Chris@0 1050 cat >>confdefs.h <<_ACEOF
Chris@0 1051 #define PACKAGE_NAME "$PACKAGE_NAME"
Chris@0 1052 _ACEOF
Chris@0 1053
Chris@0 1054
Chris@0 1055 cat >>confdefs.h <<_ACEOF
Chris@0 1056 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
Chris@0 1057 _ACEOF
Chris@0 1058
Chris@0 1059
Chris@0 1060 cat >>confdefs.h <<_ACEOF
Chris@0 1061 #define PACKAGE_VERSION "$PACKAGE_VERSION"
Chris@0 1062 _ACEOF
Chris@0 1063
Chris@0 1064
Chris@0 1065 cat >>confdefs.h <<_ACEOF
Chris@0 1066 #define PACKAGE_STRING "$PACKAGE_STRING"
Chris@0 1067 _ACEOF
Chris@0 1068
Chris@0 1069
Chris@0 1070 cat >>confdefs.h <<_ACEOF
Chris@0 1071 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
Chris@0 1072 _ACEOF
Chris@0 1073
Chris@0 1074
Chris@0 1075 # Let the site file select an alternate cache file if it wants to.
Chris@0 1076 # Prefer explicitly selected file to automatically selected ones.
Chris@0 1077 if test -z "$CONFIG_SITE"; then
Chris@0 1078 if test "x$prefix" != xNONE; then
Chris@0 1079 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
Chris@0 1080 else
Chris@0 1081 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
Chris@0 1082 fi
Chris@0 1083 fi
Chris@0 1084 for ac_site_file in $CONFIG_SITE; do
Chris@0 1085 if test -r "$ac_site_file"; then
Chris@0 1086 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
Chris@0 1087 echo "$as_me: loading site script $ac_site_file" >&6;}
Chris@0 1088 sed 's/^/| /' "$ac_site_file" >&5
Chris@0 1089 . "$ac_site_file"
Chris@0 1090 fi
Chris@0 1091 done
Chris@0 1092
Chris@0 1093 if test -r "$cache_file"; then
Chris@0 1094 # Some versions of bash will fail to source /dev/null (special
Chris@0 1095 # files actually), so we avoid doing that.
Chris@0 1096 if test -f "$cache_file"; then
Chris@0 1097 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
Chris@0 1098 echo "$as_me: loading cache $cache_file" >&6;}
Chris@0 1099 case $cache_file in
Chris@0 1100 [\\/]* | ?:[\\/]* ) . $cache_file;;
Chris@0 1101 *) . ./$cache_file;;
Chris@0 1102 esac
Chris@0 1103 fi
Chris@0 1104 else
Chris@0 1105 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
Chris@0 1106 echo "$as_me: creating cache $cache_file" >&6;}
Chris@0 1107 >$cache_file
Chris@0 1108 fi
Chris@0 1109
Chris@0 1110 # Check that the precious variables saved in the cache have kept the same
Chris@0 1111 # value.
Chris@0 1112 ac_cache_corrupted=false
Chris@0 1113 for ac_var in `(set) 2>&1 |
Chris@0 1114 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
Chris@0 1115 eval ac_old_set=\$ac_cv_env_${ac_var}_set
Chris@0 1116 eval ac_new_set=\$ac_env_${ac_var}_set
Chris@0 1117 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
Chris@0 1118 eval ac_new_val="\$ac_env_${ac_var}_value"
Chris@0 1119 case $ac_old_set,$ac_new_set in
Chris@0 1120 set,)
Chris@0 1121 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
Chris@0 1122 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
Chris@0 1123 ac_cache_corrupted=: ;;
Chris@0 1124 ,set)
Chris@0 1125 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
Chris@0 1126 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
Chris@0 1127 ac_cache_corrupted=: ;;
Chris@0 1128 ,);;
Chris@0 1129 *)
Chris@0 1130 if test "x$ac_old_val" != "x$ac_new_val"; then
Chris@0 1131 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
Chris@0 1132 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
Chris@0 1133 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
Chris@0 1134 echo "$as_me: former value: $ac_old_val" >&2;}
Chris@0 1135 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
Chris@0 1136 echo "$as_me: current value: $ac_new_val" >&2;}
Chris@0 1137 ac_cache_corrupted=:
Chris@0 1138 fi;;
Chris@0 1139 esac
Chris@0 1140 # Pass precious variables to config.status.
Chris@0 1141 if test "$ac_new_set" = set; then
Chris@0 1142 case $ac_new_val in
Chris@0 1143 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
Chris@0 1144 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
Chris@0 1145 *) ac_arg=$ac_var=$ac_new_val ;;
Chris@0 1146 esac
Chris@0 1147 case " $ac_configure_args " in
Chris@0 1148 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
Chris@0 1149 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
Chris@0 1150 esac
Chris@0 1151 fi
Chris@0 1152 done
Chris@0 1153 if $ac_cache_corrupted; then
Chris@0 1154 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
Chris@0 1155 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
Chris@0 1156 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
Chris@0 1157 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
Chris@0 1158 { (exit 1); exit 1; }; }
Chris@0 1159 fi
Chris@0 1160
Chris@0 1161 ac_ext=c
Chris@0 1162 ac_cpp='$CPP $CPPFLAGS'
Chris@0 1163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
Chris@0 1164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
Chris@0 1165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
Chris@0 1166
Chris@0 1167
Chris@0 1168
Chris@0 1169
Chris@0 1170
Chris@0 1171
Chris@0 1172
Chris@0 1173
Chris@0 1174
Chris@0 1175
Chris@0 1176
Chris@0 1177
Chris@0 1178
Chris@0 1179
Chris@0 1180
Chris@0 1181
Chris@0 1182
Chris@0 1183
Chris@0 1184
Chris@0 1185
Chris@0 1186
Chris@0 1187
Chris@0 1188
Chris@0 1189
Chris@0 1190 # Do not cache this, it changes too often in many configurations
Chris@0 1191 unset ac_cv_prog_PL
Chris@0 1192
Chris@0 1193 if test -z "$PLINCL"; then
Chris@0 1194 plcandidates="swi-prolog swipl pl"
Chris@0 1195 for ac_prog in $plcandidates
Chris@0 1196 do
Chris@0 1197 # Extract the first word of "$ac_prog", so it can be a program name with args.
Chris@0 1198 set dummy $ac_prog; ac_word=$2
Chris@0 1199 echo "$as_me:$LINENO: checking for $ac_word" >&5
Chris@0 1200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
Chris@0 1201 if test "${ac_cv_prog_PL+set}" = set; then
Chris@0 1202 echo $ECHO_N "(cached) $ECHO_C" >&6
Chris@0 1203 else
Chris@0 1204 if test -n "$PL"; then
Chris@0 1205 ac_cv_prog_PL="$PL" # Let the user override the test.
Chris@0 1206 else
Chris@0 1207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Chris@0 1208 for as_dir in $PATH
Chris@0 1209 do
Chris@0 1210 IFS=$as_save_IFS
Chris@0 1211 test -z "$as_dir" && as_dir=.
Chris@0 1212 for ac_exec_ext in '' $ac_executable_extensions; do
Chris@0 1213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
Chris@0 1214 ac_cv_prog_PL="$ac_prog"
Chris@0 1215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
Chris@0 1216 break 2
Chris@0 1217 fi
Chris@0 1218 done
Chris@0 1219 done
Chris@0 1220
Chris@0 1221 fi
Chris@0 1222 fi
Chris@0 1223 PL=$ac_cv_prog_PL
Chris@0 1224 if test -n "$PL"; then
Chris@0 1225 echo "$as_me:$LINENO: result: $PL" >&5
Chris@0 1226 echo "${ECHO_T}$PL" >&6
Chris@0 1227 else
Chris@0 1228 echo "$as_me:$LINENO: result: no" >&5
Chris@0 1229 echo "${ECHO_T}no" >&6
Chris@0 1230 fi
Chris@0 1231
Chris@0 1232 test -n "$PL" && break
Chris@0 1233 done
Chris@0 1234 test -n "$PL" || PL=""none""
Chris@0 1235
Chris@0 1236 if test $PL = "none"; then
Chris@0 1237 { { echo "$as_me:$LINENO: error: \"Cannot find SWI-Prolog. SWI-Prolog must be installed first\"" >&5
Chris@0 1238 echo "$as_me: error: \"Cannot find SWI-Prolog. SWI-Prolog must be installed first\"" >&2;}
Chris@0 1239 { (exit 1); exit 1; }; }
Chris@0 1240 else
Chris@0 1241 { echo "$as_me:$LINENO: checking \"Running $PL -dump-runtime-variables\"..." >&5
Chris@0 1242 echo "$as_me: checking \"Running $PL -dump-runtime-variables\"..." >&6;}
Chris@0 1243 eval `$PL -dump-runtime-variables`
Chris@0 1244 fi
Chris@0 1245 echo "$as_me:$LINENO: result: \" PLBASE=$PLBASE\"" >&5
Chris@0 1246 echo "${ECHO_T}\" PLBASE=$PLBASE\"" >&6
Chris@0 1247 echo "$as_me:$LINENO: result: \" PLARCH=$PLARCH\"" >&5
Chris@0 1248 echo "${ECHO_T}\" PLARCH=$PLARCH\"" >&6
Chris@0 1249 fi
Chris@0 1250
Chris@0 1251 for ac_prog in gmake make
Chris@0 1252 do
Chris@0 1253 # Extract the first word of "$ac_prog", so it can be a program name with args.
Chris@0 1254 set dummy $ac_prog; ac_word=$2
Chris@0 1255 echo "$as_me:$LINENO: checking for $ac_word" >&5
Chris@0 1256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
Chris@0 1257 if test "${ac_cv_prog_MAKE+set}" = set; then
Chris@0 1258 echo $ECHO_N "(cached) $ECHO_C" >&6
Chris@0 1259 else
Chris@0 1260 if test -n "$MAKE"; then
Chris@0 1261 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
Chris@0 1262 else
Chris@0 1263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Chris@0 1264 for as_dir in $PATH
Chris@0 1265 do
Chris@0 1266 IFS=$as_save_IFS
Chris@0 1267 test -z "$as_dir" && as_dir=.
Chris@0 1268 for ac_exec_ext in '' $ac_executable_extensions; do
Chris@0 1269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
Chris@0 1270 ac_cv_prog_MAKE="$ac_prog"
Chris@0 1271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
Chris@0 1272 break 2
Chris@0 1273 fi
Chris@0 1274 done
Chris@0 1275 done
Chris@0 1276
Chris@0 1277 fi
Chris@0 1278 fi
Chris@0 1279 MAKE=$ac_cv_prog_MAKE
Chris@0 1280 if test -n "$MAKE"; then
Chris@0 1281 echo "$as_me:$LINENO: result: $MAKE" >&5
Chris@0 1282 echo "${ECHO_T}$MAKE" >&6
Chris@0 1283 else
Chris@0 1284 echo "$as_me:$LINENO: result: no" >&5
Chris@0 1285 echo "${ECHO_T}no" >&6
Chris@0 1286 fi
Chris@0 1287
Chris@0 1288 test -n "$MAKE" && break
Chris@0 1289 done
Chris@0 1290 test -n "$MAKE" || MAKE=""make""
Chris@0 1291
Chris@0 1292 ac_aux_dir=
Chris@0 1293 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
Chris@0 1294 if test -f $ac_dir/install-sh; then
Chris@0 1295 ac_aux_dir=$ac_dir
Chris@0 1296 ac_install_sh="$ac_aux_dir/install-sh -c"
Chris@0 1297 break
Chris@0 1298 elif test -f $ac_dir/install.sh; then
Chris@0 1299 ac_aux_dir=$ac_dir
Chris@0 1300 ac_install_sh="$ac_aux_dir/install.sh -c"
Chris@0 1301 break
Chris@0 1302 elif test -f $ac_dir/shtool; then
Chris@0 1303 ac_aux_dir=$ac_dir
Chris@0 1304 ac_install_sh="$ac_aux_dir/shtool install -c"
Chris@0 1305 break
Chris@0 1306 fi
Chris@0 1307 done
Chris@0 1308 if test -z "$ac_aux_dir"; then
Chris@0 1309 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
Chris@0 1310 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
Chris@0 1311 { (exit 1); exit 1; }; }
Chris@0 1312 fi
Chris@0 1313 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
Chris@0 1314 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
Chris@0 1315 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
Chris@0 1316
Chris@0 1317 # Find a good install program. We prefer a C program (faster),
Chris@0 1318 # so one script is as good as another. But avoid the broken or
Chris@0 1319 # incompatible versions:
Chris@0 1320 # SysV /etc/install, /usr/sbin/install
Chris@0 1321 # SunOS /usr/etc/install
Chris@0 1322 # IRIX /sbin/install
Chris@0 1323 # AIX /bin/install
Chris@0 1324 # AmigaOS /C/install, which installs bootblocks on floppy discs
Chris@0 1325 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
Chris@0 1326 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
Chris@0 1327 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
Chris@0 1328 # ./install, which can be erroneously created by make from ./install.sh.
Chris@0 1329 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
Chris@0 1330 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
Chris@0 1331 if test -z "$INSTALL"; then
Chris@0 1332 if test "${ac_cv_path_install+set}" = set; then
Chris@0 1333 echo $ECHO_N "(cached) $ECHO_C" >&6
Chris@0 1334 else
Chris@0 1335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Chris@0 1336 for as_dir in $PATH
Chris@0 1337 do
Chris@0 1338 IFS=$as_save_IFS
Chris@0 1339 test -z "$as_dir" && as_dir=.
Chris@0 1340 # Account for people who put trailing slashes in PATH elements.
Chris@0 1341 case $as_dir/ in
Chris@0 1342 ./ | .// | /cC/* | \
Chris@0 1343 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
Chris@0 1344 /usr/ucb/* ) ;;
Chris@0 1345 *)
Chris@0 1346 # OSF1 and SCO ODT 3.0 have their own names for install.
Chris@0 1347 # Don't use installbsd from OSF since it installs stuff as root
Chris@0 1348 # by default.
Chris@0 1349 for ac_prog in ginstall scoinst install; do
Chris@0 1350 for ac_exec_ext in '' $ac_executable_extensions; do
Chris@0 1351 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
Chris@0 1352 if test $ac_prog = install &&
Chris@0 1353 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
Chris@0 1354 # AIX install. It has an incompatible calling convention.
Chris@0 1355 :
Chris@0 1356 elif test $ac_prog = install &&
Chris@0 1357 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
Chris@0 1358 # program-specific install script used by HP pwplus--don't use.
Chris@0 1359 :
Chris@0 1360 else
Chris@0 1361 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
Chris@0 1362 break 3
Chris@0 1363 fi
Chris@0 1364 fi
Chris@0 1365 done
Chris@0 1366 done
Chris@0 1367 ;;
Chris@0 1368 esac
Chris@0 1369 done
Chris@0 1370
Chris@0 1371
Chris@0 1372 fi
Chris@0 1373 if test "${ac_cv_path_install+set}" = set; then
Chris@0 1374 INSTALL=$ac_cv_path_install
Chris@0 1375 else
Chris@0 1376 # As a last resort, use the slow shell script. We don't cache a
Chris@0 1377 # path for INSTALL within a source directory, because that will
Chris@0 1378 # break other packages using the cache if that directory is
Chris@0 1379 # removed, or if the path is relative.
Chris@0 1380 INSTALL=$ac_install_sh
Chris@0 1381 fi
Chris@0 1382 fi
Chris@0 1383 echo "$as_me:$LINENO: result: $INSTALL" >&5
Chris@0 1384 echo "${ECHO_T}$INSTALL" >&6
Chris@0 1385
Chris@0 1386 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
Chris@0 1387 # It thinks the first close brace ends the variable substitution.
Chris@0 1388 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
Chris@0 1389
Chris@0 1390 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
Chris@0 1391
Chris@0 1392 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
Chris@0 1393
Chris@0 1394
Chris@0 1395 ac_config_files="$ac_config_files Makefile"
Chris@0 1396 cat >confcache <<\_ACEOF
Chris@0 1397 # This file is a shell script that caches the results of configure
Chris@0 1398 # tests run on this system so they can be shared between configure
Chris@0 1399 # scripts and configure runs, see configure's option --config-cache.
Chris@0 1400 # It is not useful on other systems. If it contains results you don't
Chris@0 1401 # want to keep, you may remove or edit it.
Chris@0 1402 #
Chris@0 1403 # config.status only pays attention to the cache file if you give it
Chris@0 1404 # the --recheck option to rerun configure.
Chris@0 1405 #
Chris@0 1406 # `ac_cv_env_foo' variables (set or unset) will be overridden when
Chris@0 1407 # loading this file, other *unset* `ac_cv_foo' will be assigned the
Chris@0 1408 # following values.
Chris@0 1409
Chris@0 1410 _ACEOF
Chris@0 1411
Chris@0 1412 # The following way of writing the cache mishandles newlines in values,
Chris@0 1413 # but we know of no workaround that is simple, portable, and efficient.
Chris@0 1414 # So, don't put newlines in cache variables' values.
Chris@0 1415 # Ultrix sh set writes to stderr and can't be redirected directly,
Chris@0 1416 # and sets the high bit in the cache file unless we assign to the vars.
Chris@0 1417 {
Chris@0 1418 (set) 2>&1 |
Chris@0 1419 case `(ac_space=' '; set | grep ac_space) 2>&1` in
Chris@0 1420 *ac_space=\ *)
Chris@0 1421 # `set' does not quote correctly, so add quotes (double-quote
Chris@0 1422 # substitution turns \\\\ into \\, and sed turns \\ into \).
Chris@0 1423 sed -n \
Chris@0 1424 "s/'/'\\\\''/g;
Chris@0 1425 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
Chris@0 1426 ;;
Chris@0 1427 *)
Chris@0 1428 # `set' quotes correctly as required by POSIX, so do not add quotes.
Chris@0 1429 sed -n \
Chris@0 1430 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
Chris@0 1431 ;;
Chris@0 1432 esac;
Chris@0 1433 } |
Chris@0 1434 sed '
Chris@0 1435 t clear
Chris@0 1436 : clear
Chris@0 1437 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
Chris@0 1438 t end
Chris@0 1439 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
Chris@0 1440 : end' >>confcache
Chris@0 1441 if diff $cache_file confcache >/dev/null 2>&1; then :; else
Chris@0 1442 if test -w $cache_file; then
Chris@0 1443 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
Chris@0 1444 cat confcache >$cache_file
Chris@0 1445 else
Chris@0 1446 echo "not updating unwritable cache $cache_file"
Chris@0 1447 fi
Chris@0 1448 fi
Chris@0 1449 rm -f confcache
Chris@0 1450
Chris@0 1451 test "x$prefix" = xNONE && prefix=$ac_default_prefix
Chris@0 1452 # Let make expand exec_prefix.
Chris@0 1453 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
Chris@0 1454
Chris@0 1455 # VPATH may cause trouble with some makes, so we remove $(srcdir),
Chris@0 1456 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
Chris@0 1457 # trailing colons and then remove the whole line if VPATH becomes empty
Chris@0 1458 # (actually we leave an empty line to preserve line numbers).
Chris@0 1459 if test "x$srcdir" = x.; then
Chris@0 1460 ac_vpsub='/^[ ]*VPATH[ ]*=/{
Chris@0 1461 s/:*\$(srcdir):*/:/;
Chris@0 1462 s/:*\${srcdir}:*/:/;
Chris@0 1463 s/:*@srcdir@:*/:/;
Chris@0 1464 s/^\([^=]*=[ ]*\):*/\1/;
Chris@0 1465 s/:*$//;
Chris@0 1466 s/^[^=]*=[ ]*$//;
Chris@0 1467 }'
Chris@0 1468 fi
Chris@0 1469
Chris@0 1470 # Transform confdefs.h into DEFS.
Chris@0 1471 # Protect against shell expansion while executing Makefile rules.
Chris@0 1472 # Protect against Makefile macro expansion.
Chris@0 1473 #
Chris@0 1474 # If the first sed substitution is executed (which looks for macros that
Chris@0 1475 # take arguments), then we branch to the quote section. Otherwise,
Chris@0 1476 # look for a macro that doesn't take arguments.
Chris@0 1477 cat >confdef2opt.sed <<\_ACEOF
Chris@0 1478 t clear
Chris@0 1479 : clear
Chris@0 1480 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
Chris@0 1481 t quote
Chris@0 1482 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
Chris@0 1483 t quote
Chris@0 1484 d
Chris@0 1485 : quote
Chris@0 1486 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
Chris@0 1487 s,\[,\\&,g
Chris@0 1488 s,\],\\&,g
Chris@0 1489 s,\$,$$,g
Chris@0 1490 p
Chris@0 1491 _ACEOF
Chris@0 1492 # We use echo to avoid assuming a particular line-breaking character.
Chris@0 1493 # The extra dot is to prevent the shell from consuming trailing
Chris@0 1494 # line-breaks from the sub-command output. A line-break within
Chris@0 1495 # single-quotes doesn't work because, if this script is created in a
Chris@0 1496 # platform that uses two characters for line-breaks (e.g., DOS), tr
Chris@0 1497 # would break.
Chris@0 1498 ac_LF_and_DOT=`echo; echo .`
Chris@0 1499 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
Chris@0 1500 rm -f confdef2opt.sed
Chris@0 1501
Chris@0 1502
Chris@0 1503 ac_libobjs=
Chris@0 1504 ac_ltlibobjs=
Chris@0 1505 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
Chris@0 1506 # 1. Remove the extension, and $U if already installed.
Chris@0 1507 ac_i=`echo "$ac_i" |
Chris@0 1508 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
Chris@0 1509 # 2. Add them.
Chris@0 1510 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
Chris@0 1511 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
Chris@0 1512 done
Chris@0 1513 LIBOBJS=$ac_libobjs
Chris@0 1514
Chris@0 1515 LTLIBOBJS=$ac_ltlibobjs
Chris@0 1516
Chris@0 1517
Chris@0 1518
Chris@0 1519 : ${CONFIG_STATUS=./config.status}
Chris@0 1520 ac_clean_files_save=$ac_clean_files
Chris@0 1521 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
Chris@0 1522 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
Chris@0 1523 echo "$as_me: creating $CONFIG_STATUS" >&6;}
Chris@0 1524 cat >$CONFIG_STATUS <<_ACEOF
Chris@0 1525 #! $SHELL
Chris@0 1526 # Generated by $as_me.
Chris@0 1527 # Run this file to recreate the current configuration.
Chris@0 1528 # Compiler output produced by configure, useful for debugging
Chris@0 1529 # configure, is in config.log if it exists.
Chris@0 1530
Chris@0 1531 debug=false
Chris@0 1532 ac_cs_recheck=false
Chris@0 1533 ac_cs_silent=false
Chris@0 1534 SHELL=\${CONFIG_SHELL-$SHELL}
Chris@0 1535 _ACEOF
Chris@0 1536
Chris@0 1537 cat >>$CONFIG_STATUS <<\_ACEOF
Chris@0 1538 ## --------------------- ##
Chris@0 1539 ## M4sh Initialization. ##
Chris@0 1540 ## --------------------- ##
Chris@0 1541
Chris@0 1542 # Be Bourne compatible
Chris@0 1543 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
Chris@0 1544 emulate sh
Chris@0 1545 NULLCMD=:
Chris@0 1546 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
Chris@0 1547 # is contrary to our usage. Disable this feature.
Chris@0 1548 alias -g '${1+"$@"}'='"$@"'
Chris@0 1549 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
Chris@0 1550 set -o posix
Chris@0 1551 fi
Chris@0 1552
Chris@0 1553 # Support unset when possible.
Chris@0 1554 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
Chris@0 1555 as_unset=unset
Chris@0 1556 else
Chris@0 1557 as_unset=false
Chris@0 1558 fi
Chris@0 1559
Chris@0 1560
Chris@0 1561 # Work around bugs in pre-3.0 UWIN ksh.
Chris@0 1562 $as_unset ENV MAIL MAILPATH
Chris@0 1563 PS1='$ '
Chris@0 1564 PS2='> '
Chris@0 1565 PS4='+ '
Chris@0 1566
Chris@0 1567 # NLS nuisances.
Chris@0 1568 for as_var in \
Chris@0 1569 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
Chris@0 1570 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
Chris@0 1571 LC_TELEPHONE LC_TIME
Chris@0 1572 do
Chris@0 1573 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
Chris@0 1574 eval $as_var=C; export $as_var
Chris@0 1575 else
Chris@0 1576 $as_unset $as_var
Chris@0 1577 fi
Chris@0 1578 done
Chris@0 1579
Chris@0 1580 # Required to use basename.
Chris@0 1581 if expr a : '\(a\)' >/dev/null 2>&1; then
Chris@0 1582 as_expr=expr
Chris@0 1583 else
Chris@0 1584 as_expr=false
Chris@0 1585 fi
Chris@0 1586
Chris@0 1587 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
Chris@0 1588 as_basename=basename
Chris@0 1589 else
Chris@0 1590 as_basename=false
Chris@0 1591 fi
Chris@0 1592
Chris@0 1593
Chris@0 1594 # Name of the executable.
Chris@0 1595 as_me=`$as_basename "$0" ||
Chris@0 1596 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
Chris@0 1597 X"$0" : 'X\(//\)$' \| \
Chris@0 1598 X"$0" : 'X\(/\)$' \| \
Chris@0 1599 . : '\(.\)' 2>/dev/null ||
Chris@0 1600 echo X/"$0" |
Chris@0 1601 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
Chris@0 1602 /^X\/\(\/\/\)$/{ s//\1/; q; }
Chris@0 1603 /^X\/\(\/\).*/{ s//\1/; q; }
Chris@0 1604 s/.*/./; q'`
Chris@0 1605
Chris@0 1606
Chris@0 1607 # PATH needs CR, and LINENO needs CR and PATH.
Chris@0 1608 # Avoid depending upon Character Ranges.
Chris@0 1609 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
Chris@0 1610 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
Chris@0 1611 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
Chris@0 1612 as_cr_digits='0123456789'
Chris@0 1613 as_cr_alnum=$as_cr_Letters$as_cr_digits
Chris@0 1614
Chris@0 1615 # The user is always right.
Chris@0 1616 if test "${PATH_SEPARATOR+set}" != set; then
Chris@0 1617 echo "#! /bin/sh" >conf$$.sh
Chris@0 1618 echo "exit 0" >>conf$$.sh
Chris@0 1619 chmod +x conf$$.sh
Chris@0 1620 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
Chris@0 1621 PATH_SEPARATOR=';'
Chris@0 1622 else
Chris@0 1623 PATH_SEPARATOR=:
Chris@0 1624 fi
Chris@0 1625 rm -f conf$$.sh
Chris@0 1626 fi
Chris@0 1627
Chris@0 1628
Chris@0 1629 as_lineno_1=$LINENO
Chris@0 1630 as_lineno_2=$LINENO
Chris@0 1631 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
Chris@0 1632 test "x$as_lineno_1" != "x$as_lineno_2" &&
Chris@0 1633 test "x$as_lineno_3" = "x$as_lineno_2" || {
Chris@0 1634 # Find who we are. Look in the path if we contain no path at all
Chris@0 1635 # relative or not.
Chris@0 1636 case $0 in
Chris@0 1637 *[\\/]* ) as_myself=$0 ;;
Chris@0 1638 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Chris@0 1639 for as_dir in $PATH
Chris@0 1640 do
Chris@0 1641 IFS=$as_save_IFS
Chris@0 1642 test -z "$as_dir" && as_dir=.
Chris@0 1643 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
Chris@0 1644 done
Chris@0 1645
Chris@0 1646 ;;
Chris@0 1647 esac
Chris@0 1648 # We did not find ourselves, most probably we were run as `sh COMMAND'
Chris@0 1649 # in which case we are not to be found in the path.
Chris@0 1650 if test "x$as_myself" = x; then
Chris@0 1651 as_myself=$0
Chris@0 1652 fi
Chris@0 1653 if test ! -f "$as_myself"; then
Chris@0 1654 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
Chris@0 1655 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
Chris@0 1656 { (exit 1); exit 1; }; }
Chris@0 1657 fi
Chris@0 1658 case $CONFIG_SHELL in
Chris@0 1659 '')
Chris@0 1660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Chris@0 1661 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
Chris@0 1662 do
Chris@0 1663 IFS=$as_save_IFS
Chris@0 1664 test -z "$as_dir" && as_dir=.
Chris@0 1665 for as_base in sh bash ksh sh5; do
Chris@0 1666 case $as_dir in
Chris@0 1667 /*)
Chris@0 1668 if ("$as_dir/$as_base" -c '
Chris@0 1669 as_lineno_1=$LINENO
Chris@0 1670 as_lineno_2=$LINENO
Chris@0 1671 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
Chris@0 1672 test "x$as_lineno_1" != "x$as_lineno_2" &&
Chris@0 1673 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
Chris@0 1674 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
Chris@0 1675 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
Chris@0 1676 CONFIG_SHELL=$as_dir/$as_base
Chris@0 1677 export CONFIG_SHELL
Chris@0 1678 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
Chris@0 1679 fi;;
Chris@0 1680 esac
Chris@0 1681 done
Chris@0 1682 done
Chris@0 1683 ;;
Chris@0 1684 esac
Chris@0 1685
Chris@0 1686 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
Chris@0 1687 # uniformly replaced by the line number. The first 'sed' inserts a
Chris@0 1688 # line-number line before each line; the second 'sed' does the real
Chris@0 1689 # work. The second script uses 'N' to pair each line-number line
Chris@0 1690 # with the numbered line, and appends trailing '-' during
Chris@0 1691 # substitution so that $LINENO is not a special case at line end.
Chris@0 1692 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
Chris@0 1693 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
Chris@0 1694 sed '=' <$as_myself |
Chris@0 1695 sed '
Chris@0 1696 N
Chris@0 1697 s,$,-,
Chris@0 1698 : loop
Chris@0 1699 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
Chris@0 1700 t loop
Chris@0 1701 s,-$,,
Chris@0 1702 s,^['$as_cr_digits']*\n,,
Chris@0 1703 ' >$as_me.lineno &&
Chris@0 1704 chmod +x $as_me.lineno ||
Chris@0 1705 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
Chris@0 1706 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
Chris@0 1707 { (exit 1); exit 1; }; }
Chris@0 1708
Chris@0 1709 # Don't try to exec as it changes $[0], causing all sort of problems
Chris@0 1710 # (the dirname of $[0] is not the place where we might find the
Chris@0 1711 # original and so on. Autoconf is especially sensible to this).
Chris@0 1712 . ./$as_me.lineno
Chris@0 1713 # Exit status is that of the last command.
Chris@0 1714 exit
Chris@0 1715 }
Chris@0 1716
Chris@0 1717
Chris@0 1718 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
Chris@0 1719 *c*,-n*) ECHO_N= ECHO_C='
Chris@0 1720 ' ECHO_T=' ' ;;
Chris@0 1721 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
Chris@0 1722 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
Chris@0 1723 esac
Chris@0 1724
Chris@0 1725 if expr a : '\(a\)' >/dev/null 2>&1; then
Chris@0 1726 as_expr=expr
Chris@0 1727 else
Chris@0 1728 as_expr=false
Chris@0 1729 fi
Chris@0 1730
Chris@0 1731 rm -f conf$$ conf$$.exe conf$$.file
Chris@0 1732 echo >conf$$.file
Chris@0 1733 if ln -s conf$$.file conf$$ 2>/dev/null; then
Chris@0 1734 # We could just check for DJGPP; but this test a) works b) is more generic
Chris@0 1735 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
Chris@0 1736 if test -f conf$$.exe; then
Chris@0 1737 # Don't use ln at all; we don't have any links
Chris@0 1738 as_ln_s='cp -p'
Chris@0 1739 else
Chris@0 1740 as_ln_s='ln -s'
Chris@0 1741 fi
Chris@0 1742 elif ln conf$$.file conf$$ 2>/dev/null; then
Chris@0 1743 as_ln_s=ln
Chris@0 1744 else
Chris@0 1745 as_ln_s='cp -p'
Chris@0 1746 fi
Chris@0 1747 rm -f conf$$ conf$$.exe conf$$.file
Chris@0 1748
Chris@0 1749 if mkdir -p . 2>/dev/null; then
Chris@0 1750 as_mkdir_p=:
Chris@0 1751 else
Chris@0 1752 as_mkdir_p=false
Chris@0 1753 fi
Chris@0 1754
Chris@0 1755 as_executable_p="test -f"
Chris@0 1756
Chris@0 1757 # Sed expression to map a string onto a valid CPP name.
Chris@0 1758 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
Chris@0 1759
Chris@0 1760 # Sed expression to map a string onto a valid variable name.
Chris@0 1761 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
Chris@0 1762
Chris@0 1763
Chris@0 1764 # IFS
Chris@0 1765 # We need space, tab and new line, in precisely that order.
Chris@0 1766 as_nl='
Chris@0 1767 '
Chris@0 1768 IFS=" $as_nl"
Chris@0 1769
Chris@0 1770 # CDPATH.
Chris@0 1771 $as_unset CDPATH
Chris@0 1772
Chris@0 1773 exec 6>&1
Chris@0 1774
Chris@0 1775 # Open the log real soon, to keep \$[0] and so on meaningful, and to
Chris@0 1776 # report actual input values of CONFIG_FILES etc. instead of their
Chris@0 1777 # values after options handling. Logging --version etc. is OK.
Chris@0 1778 exec 5>>config.log
Chris@0 1779 {
Chris@0 1780 echo
Chris@0 1781 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
Chris@0 1782 ## Running $as_me. ##
Chris@0 1783 _ASBOX
Chris@0 1784 } >&5
Chris@0 1785 cat >&5 <<_CSEOF
Chris@0 1786
Chris@0 1787 This file was extended by $as_me, which was
Chris@0 1788 generated by GNU Autoconf 2.57. Invocation command line was
Chris@0 1789
Chris@0 1790 CONFIG_FILES = $CONFIG_FILES
Chris@0 1791 CONFIG_HEADERS = $CONFIG_HEADERS
Chris@0 1792 CONFIG_LINKS = $CONFIG_LINKS
Chris@0 1793 CONFIG_COMMANDS = $CONFIG_COMMANDS
Chris@0 1794 $ $0 $@
Chris@0 1795
Chris@0 1796 _CSEOF
Chris@0 1797 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
Chris@0 1798 echo >&5
Chris@0 1799 _ACEOF
Chris@0 1800
Chris@0 1801 # Files that config.status was made for.
Chris@0 1802 if test -n "$ac_config_files"; then
Chris@0 1803 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
Chris@0 1804 fi
Chris@0 1805
Chris@0 1806 if test -n "$ac_config_headers"; then
Chris@0 1807 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
Chris@0 1808 fi
Chris@0 1809
Chris@0 1810 if test -n "$ac_config_links"; then
Chris@0 1811 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
Chris@0 1812 fi
Chris@0 1813
Chris@0 1814 if test -n "$ac_config_commands"; then
Chris@0 1815 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
Chris@0 1816 fi
Chris@0 1817
Chris@0 1818 cat >>$CONFIG_STATUS <<\_ACEOF
Chris@0 1819
Chris@0 1820 ac_cs_usage="\
Chris@0 1821 \`$as_me' instantiates files from templates according to the
Chris@0 1822 current configuration.
Chris@0 1823
Chris@0 1824 Usage: $0 [OPTIONS] [FILE]...
Chris@0 1825
Chris@0 1826 -h, --help print this help, then exit
Chris@0 1827 -V, --version print version number, then exit
Chris@0 1828 -q, --quiet do not print progress messages
Chris@0 1829 -d, --debug don't remove temporary files
Chris@0 1830 --recheck update $as_me by reconfiguring in the same conditions
Chris@0 1831 --file=FILE[:TEMPLATE]
Chris@0 1832 instantiate the configuration file FILE
Chris@0 1833
Chris@0 1834 Configuration files:
Chris@0 1835 $config_files
Chris@0 1836
Chris@0 1837 Report bugs to <bug-autoconf@gnu.org>."
Chris@0 1838 _ACEOF
Chris@0 1839
Chris@0 1840 cat >>$CONFIG_STATUS <<_ACEOF
Chris@0 1841 ac_cs_version="\\
Chris@0 1842 config.status
Chris@0 1843 configured by $0, generated by GNU Autoconf 2.57,
Chris@0 1844 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
Chris@0 1845
Chris@0 1846 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
Chris@0 1847 Free Software Foundation, Inc.
Chris@0 1848 This config.status script is free software; the Free Software Foundation
Chris@0 1849 gives unlimited permission to copy, distribute and modify it."
Chris@0 1850 srcdir=$srcdir
Chris@0 1851 INSTALL="$INSTALL"
Chris@0 1852 _ACEOF
Chris@0 1853
Chris@0 1854 cat >>$CONFIG_STATUS <<\_ACEOF
Chris@0 1855 # If no file are specified by the user, then we need to provide default
Chris@0 1856 # value. By we need to know if files were specified by the user.
Chris@0 1857 ac_need_defaults=:
Chris@0 1858 while test $# != 0
Chris@0 1859 do
Chris@0 1860 case $1 in
Chris@0 1861 --*=*)
Chris@0 1862 ac_option=`expr "x$1" : 'x\([^=]*\)='`
Chris@0 1863 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
Chris@0 1864 ac_shift=:
Chris@0 1865 ;;
Chris@0 1866 -*)
Chris@0 1867 ac_option=$1
Chris@0 1868 ac_optarg=$2
Chris@0 1869 ac_shift=shift
Chris@0 1870 ;;
Chris@0 1871 *) # This is not an option, so the user has probably given explicit
Chris@0 1872 # arguments.
Chris@0 1873 ac_option=$1
Chris@0 1874 ac_need_defaults=false;;
Chris@0 1875 esac
Chris@0 1876
Chris@0 1877 case $ac_option in
Chris@0 1878 # Handling of the options.
Chris@0 1879 _ACEOF
Chris@0 1880 cat >>$CONFIG_STATUS <<\_ACEOF
Chris@0 1881 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
Chris@0 1882 ac_cs_recheck=: ;;
Chris@0 1883 --version | --vers* | -V )
Chris@0 1884 echo "$ac_cs_version"; exit 0 ;;
Chris@0 1885 --he | --h)
Chris@0 1886 # Conflict between --help and --header
Chris@0 1887 { { echo "$as_me:$LINENO: error: ambiguous option: $1
Chris@0 1888 Try \`$0 --help' for more information." >&5
Chris@0 1889 echo "$as_me: error: ambiguous option: $1
Chris@0 1890 Try \`$0 --help' for more information." >&2;}
Chris@0 1891 { (exit 1); exit 1; }; };;
Chris@0 1892 --help | --hel | -h )
Chris@0 1893 echo "$ac_cs_usage"; exit 0 ;;
Chris@0 1894 --debug | --d* | -d )
Chris@0 1895 debug=: ;;
Chris@0 1896 --file | --fil | --fi | --f )
Chris@0 1897 $ac_shift
Chris@0 1898 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
Chris@0 1899 ac_need_defaults=false;;
Chris@0 1900 --header | --heade | --head | --hea )
Chris@0 1901 $ac_shift
Chris@0 1902 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
Chris@0 1903 ac_need_defaults=false;;
Chris@0 1904 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
Chris@0 1905 | -silent | --silent | --silen | --sile | --sil | --si | --s)
Chris@0 1906 ac_cs_silent=: ;;
Chris@0 1907
Chris@0 1908 # This is an error.
Chris@0 1909 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
Chris@0 1910 Try \`$0 --help' for more information." >&5
Chris@0 1911 echo "$as_me: error: unrecognized option: $1
Chris@0 1912 Try \`$0 --help' for more information." >&2;}
Chris@0 1913 { (exit 1); exit 1; }; } ;;
Chris@0 1914
Chris@0 1915 *) ac_config_targets="$ac_config_targets $1" ;;
Chris@0 1916
Chris@0 1917 esac
Chris@0 1918 shift
Chris@0 1919 done
Chris@0 1920
Chris@0 1921 ac_configure_extra_args=
Chris@0 1922
Chris@0 1923 if $ac_cs_silent; then
Chris@0 1924 exec 6>/dev/null
Chris@0 1925 ac_configure_extra_args="$ac_configure_extra_args --silent"
Chris@0 1926 fi
Chris@0 1927
Chris@0 1928 _ACEOF
Chris@0 1929 cat >>$CONFIG_STATUS <<_ACEOF
Chris@0 1930 if \$ac_cs_recheck; then
Chris@0 1931 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
Chris@0 1932 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
Chris@0 1933 fi
Chris@0 1934
Chris@0 1935 _ACEOF
Chris@0 1936
Chris@0 1937
Chris@0 1938
Chris@0 1939
Chris@0 1940
Chris@0 1941 cat >>$CONFIG_STATUS <<\_ACEOF
Chris@0 1942 for ac_config_target in $ac_config_targets
Chris@0 1943 do
Chris@0 1944 case "$ac_config_target" in
Chris@0 1945 # Handling of arguments.
Chris@0 1946 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
Chris@0 1947 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
Chris@0 1948 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
Chris@0 1949 { (exit 1); exit 1; }; };;
Chris@0 1950 esac
Chris@0 1951 done
Chris@0 1952
Chris@0 1953 # If the user did not use the arguments to specify the items to instantiate,
Chris@0 1954 # then the envvar interface is used. Set only those that are not.
Chris@0 1955 # We use the long form for the default assignment because of an extremely
Chris@0 1956 # bizarre bug on SunOS 4.1.3.
Chris@0 1957 if $ac_need_defaults; then
Chris@0 1958 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
Chris@0 1959 fi
Chris@0 1960
Chris@0 1961 # Have a temporary directory for convenience. Make it in the build tree
Chris@0 1962 # simply because there is no reason to put it here, and in addition,
Chris@0 1963 # creating and moving files from /tmp can sometimes cause problems.
Chris@0 1964 # Create a temporary directory, and hook for its removal unless debugging.
Chris@0 1965 $debug ||
Chris@0 1966 {
Chris@0 1967 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
Chris@0 1968 trap '{ (exit 1); exit 1; }' 1 2 13 15
Chris@0 1969 }
Chris@0 1970
Chris@0 1971 # Create a (secure) tmp directory for tmp files.
Chris@0 1972
Chris@0 1973 {
Chris@0 1974 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
Chris@0 1975 test -n "$tmp" && test -d "$tmp"
Chris@0 1976 } ||
Chris@0 1977 {
Chris@0 1978 tmp=./confstat$$-$RANDOM
Chris@0 1979 (umask 077 && mkdir $tmp)
Chris@0 1980 } ||
Chris@0 1981 {
Chris@0 1982 echo "$me: cannot create a temporary directory in ." >&2
Chris@0 1983 { (exit 1); exit 1; }
Chris@0 1984 }
Chris@0 1985
Chris@0 1986 _ACEOF
Chris@0 1987
Chris@0 1988 cat >>$CONFIG_STATUS <<_ACEOF
Chris@0 1989
Chris@0 1990 #
Chris@0 1991 # CONFIG_FILES section.
Chris@0 1992 #
Chris@0 1993
Chris@0 1994 # No need to generate the scripts if there are no CONFIG_FILES.
Chris@0 1995 # This happens for instance when ./config.status config.h
Chris@0 1996 if test -n "\$CONFIG_FILES"; then
Chris@0 1997 # Protect against being on the right side of a sed subst in config.status.
Chris@0 1998 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
Chris@0 1999 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
Chris@0 2000 s,@SHELL@,$SHELL,;t t
Chris@0 2001 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
Chris@0 2002 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
Chris@0 2003 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
Chris@0 2004 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
Chris@0 2005 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
Chris@0 2006 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
Chris@0 2007 s,@exec_prefix@,$exec_prefix,;t t
Chris@0 2008 s,@prefix@,$prefix,;t t
Chris@0 2009 s,@program_transform_name@,$program_transform_name,;t t
Chris@0 2010 s,@bindir@,$bindir,;t t
Chris@0 2011 s,@sbindir@,$sbindir,;t t
Chris@0 2012 s,@libexecdir@,$libexecdir,;t t
Chris@0 2013 s,@datadir@,$datadir,;t t
Chris@0 2014 s,@sysconfdir@,$sysconfdir,;t t
Chris@0 2015 s,@sharedstatedir@,$sharedstatedir,;t t
Chris@0 2016 s,@localstatedir@,$localstatedir,;t t
Chris@0 2017 s,@libdir@,$libdir,;t t
Chris@0 2018 s,@includedir@,$includedir,;t t
Chris@0 2019 s,@oldincludedir@,$oldincludedir,;t t
Chris@0 2020 s,@infodir@,$infodir,;t t
Chris@0 2021 s,@mandir@,$mandir,;t t
Chris@0 2022 s,@build_alias@,$build_alias,;t t
Chris@0 2023 s,@host_alias@,$host_alias,;t t
Chris@0 2024 s,@target_alias@,$target_alias,;t t
Chris@0 2025 s,@DEFS@,$DEFS,;t t
Chris@0 2026 s,@ECHO_C@,$ECHO_C,;t t
Chris@0 2027 s,@ECHO_N@,$ECHO_N,;t t
Chris@0 2028 s,@ECHO_T@,$ECHO_T,;t t
Chris@0 2029 s,@LIBS@,$LIBS,;t t
Chris@0 2030 s,@PL@,$PL,;t t
Chris@0 2031 s,@PLBASE@,$PLBASE,;t t
Chris@0 2032 s,@PLARCH@,$PLARCH,;t t
Chris@0 2033 s,@MAKE@,$MAKE,;t t
Chris@0 2034 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
Chris@0 2035 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
Chris@0 2036 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
Chris@0 2037 s,@LIBOBJS@,$LIBOBJS,;t t
Chris@0 2038 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
Chris@0 2039 CEOF
Chris@0 2040
Chris@0 2041 _ACEOF
Chris@0 2042
Chris@0 2043 cat >>$CONFIG_STATUS <<\_ACEOF
Chris@0 2044 # Split the substitutions into bite-sized pieces for seds with
Chris@0 2045 # small command number limits, like on Digital OSF/1 and HP-UX.
Chris@0 2046 ac_max_sed_lines=48
Chris@0 2047 ac_sed_frag=1 # Number of current file.
Chris@0 2048 ac_beg=1 # First line for current file.
Chris@0 2049 ac_end=$ac_max_sed_lines # Line after last line for current file.
Chris@0 2050 ac_more_lines=:
Chris@0 2051 ac_sed_cmds=
Chris@0 2052 while $ac_more_lines; do
Chris@0 2053 if test $ac_beg -gt 1; then
Chris@0 2054 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
Chris@0 2055 else
Chris@0 2056 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
Chris@0 2057 fi
Chris@0 2058 if test ! -s $tmp/subs.frag; then
Chris@0 2059 ac_more_lines=false
Chris@0 2060 else
Chris@0 2061 # The purpose of the label and of the branching condition is to
Chris@0 2062 # speed up the sed processing (if there are no `@' at all, there
Chris@0 2063 # is no need to browse any of the substitutions).
Chris@0 2064 # These are the two extra sed commands mentioned above.
Chris@0 2065 (echo ':t
Chris@0 2066 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
Chris@0 2067 if test -z "$ac_sed_cmds"; then
Chris@0 2068 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
Chris@0 2069 else
Chris@0 2070 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
Chris@0 2071 fi
Chris@0 2072 ac_sed_frag=`expr $ac_sed_frag + 1`
Chris@0 2073 ac_beg=$ac_end
Chris@0 2074 ac_end=`expr $ac_end + $ac_max_sed_lines`
Chris@0 2075 fi
Chris@0 2076 done
Chris@0 2077 if test -z "$ac_sed_cmds"; then
Chris@0 2078 ac_sed_cmds=cat
Chris@0 2079 fi
Chris@0 2080 fi # test -n "$CONFIG_FILES"
Chris@0 2081
Chris@0 2082 _ACEOF
Chris@0 2083 cat >>$CONFIG_STATUS <<\_ACEOF
Chris@0 2084 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
Chris@0 2085 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
Chris@0 2086 case $ac_file in
Chris@0 2087 - | *:- | *:-:* ) # input from stdin
Chris@0 2088 cat >$tmp/stdin
Chris@0 2089 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
Chris@0 2090 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
Chris@0 2091 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
Chris@0 2092 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
Chris@0 2093 * ) ac_file_in=$ac_file.in ;;
Chris@0 2094 esac
Chris@0 2095
Chris@0 2096 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
Chris@0 2097 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
Chris@0 2098 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
Chris@0 2099 X"$ac_file" : 'X\(//\)[^/]' \| \
Chris@0 2100 X"$ac_file" : 'X\(//\)$' \| \
Chris@0 2101 X"$ac_file" : 'X\(/\)' \| \
Chris@0 2102 . : '\(.\)' 2>/dev/null ||
Chris@0 2103 echo X"$ac_file" |
Chris@0 2104 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
Chris@0 2105 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
Chris@0 2106 /^X\(\/\/\)$/{ s//\1/; q; }
Chris@0 2107 /^X\(\/\).*/{ s//\1/; q; }
Chris@0 2108 s/.*/./; q'`
Chris@0 2109 { if $as_mkdir_p; then
Chris@0 2110 mkdir -p "$ac_dir"
Chris@0 2111 else
Chris@0 2112 as_dir="$ac_dir"
Chris@0 2113 as_dirs=
Chris@0 2114 while test ! -d "$as_dir"; do
Chris@0 2115 as_dirs="$as_dir $as_dirs"
Chris@0 2116 as_dir=`(dirname "$as_dir") 2>/dev/null ||
Chris@0 2117 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
Chris@0 2118 X"$as_dir" : 'X\(//\)[^/]' \| \
Chris@0 2119 X"$as_dir" : 'X\(//\)$' \| \
Chris@0 2120 X"$as_dir" : 'X\(/\)' \| \
Chris@0 2121 . : '\(.\)' 2>/dev/null ||
Chris@0 2122 echo X"$as_dir" |
Chris@0 2123 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
Chris@0 2124 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
Chris@0 2125 /^X\(\/\/\)$/{ s//\1/; q; }
Chris@0 2126 /^X\(\/\).*/{ s//\1/; q; }
Chris@0 2127 s/.*/./; q'`
Chris@0 2128 done
Chris@0 2129 test ! -n "$as_dirs" || mkdir $as_dirs
Chris@0 2130 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
Chris@0 2131 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
Chris@0 2132 { (exit 1); exit 1; }; }; }
Chris@0 2133
Chris@0 2134 ac_builddir=.
Chris@0 2135
Chris@0 2136 if test "$ac_dir" != .; then
Chris@0 2137 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
Chris@0 2138 # A "../" for each directory in $ac_dir_suffix.
Chris@0 2139 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
Chris@0 2140 else
Chris@0 2141 ac_dir_suffix= ac_top_builddir=
Chris@0 2142 fi
Chris@0 2143
Chris@0 2144 case $srcdir in
Chris@0 2145 .) # No --srcdir option. We are building in place.
Chris@0 2146 ac_srcdir=.
Chris@0 2147 if test -z "$ac_top_builddir"; then
Chris@0 2148 ac_top_srcdir=.
Chris@0 2149 else
Chris@0 2150 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
Chris@0 2151 fi ;;
Chris@0 2152 [\\/]* | ?:[\\/]* ) # Absolute path.
Chris@0 2153 ac_srcdir=$srcdir$ac_dir_suffix;
Chris@0 2154 ac_top_srcdir=$srcdir ;;
Chris@0 2155 *) # Relative path.
Chris@0 2156 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
Chris@0 2157 ac_top_srcdir=$ac_top_builddir$srcdir ;;
Chris@0 2158 esac
Chris@0 2159 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
Chris@0 2160 # absolute.
Chris@0 2161 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
Chris@0 2162 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
Chris@0 2163 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
Chris@0 2164 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
Chris@0 2165
Chris@0 2166
Chris@0 2167 case $INSTALL in
Chris@0 2168 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
Chris@0 2169 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
Chris@0 2170 esac
Chris@0 2171
Chris@0 2172 if test x"$ac_file" != x-; then
Chris@0 2173 { echo "$as_me:$LINENO: creating $ac_file" >&5
Chris@0 2174 echo "$as_me: creating $ac_file" >&6;}
Chris@0 2175 rm -f "$ac_file"
Chris@0 2176 fi
Chris@0 2177 # Let's still pretend it is `configure' which instantiates (i.e., don't
Chris@0 2178 # use $as_me), people would be surprised to read:
Chris@0 2179 # /* config.h. Generated by config.status. */
Chris@0 2180 if test x"$ac_file" = x-; then
Chris@0 2181 configure_input=
Chris@0 2182 else
Chris@0 2183 configure_input="$ac_file. "
Chris@0 2184 fi
Chris@0 2185 configure_input=$configure_input"Generated from `echo $ac_file_in |
Chris@0 2186 sed 's,.*/,,'` by configure."
Chris@0 2187
Chris@0 2188 # First look for the input files in the build tree, otherwise in the
Chris@0 2189 # src tree.
Chris@0 2190 ac_file_inputs=`IFS=:
Chris@0 2191 for f in $ac_file_in; do
Chris@0 2192 case $f in
Chris@0 2193 -) echo $tmp/stdin ;;
Chris@0 2194 [\\/$]*)
Chris@0 2195 # Absolute (can't be DOS-style, as IFS=:)
Chris@0 2196 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
Chris@0 2197 echo "$as_me: error: cannot find input file: $f" >&2;}
Chris@0 2198 { (exit 1); exit 1; }; }
Chris@0 2199 echo $f;;
Chris@0 2200 *) # Relative
Chris@0 2201 if test -f "$f"; then
Chris@0 2202 # Build tree
Chris@0 2203 echo $f
Chris@0 2204 elif test -f "$srcdir/$f"; then
Chris@0 2205 # Source tree
Chris@0 2206 echo $srcdir/$f
Chris@0 2207 else
Chris@0 2208 # /dev/null tree
Chris@0 2209 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
Chris@0 2210 echo "$as_me: error: cannot find input file: $f" >&2;}
Chris@0 2211 { (exit 1); exit 1; }; }
Chris@0 2212 fi;;
Chris@0 2213 esac
Chris@0 2214 done` || { (exit 1); exit 1; }
Chris@0 2215 _ACEOF
Chris@0 2216 cat >>$CONFIG_STATUS <<_ACEOF
Chris@0 2217 sed "$ac_vpsub
Chris@0 2218 $extrasub
Chris@0 2219 _ACEOF
Chris@0 2220 cat >>$CONFIG_STATUS <<\_ACEOF
Chris@0 2221 :t
Chris@0 2222 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
Chris@0 2223 s,@configure_input@,$configure_input,;t t
Chris@0 2224 s,@srcdir@,$ac_srcdir,;t t
Chris@0 2225 s,@abs_srcdir@,$ac_abs_srcdir,;t t
Chris@0 2226 s,@top_srcdir@,$ac_top_srcdir,;t t
Chris@0 2227 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
Chris@0 2228 s,@builddir@,$ac_builddir,;t t
Chris@0 2229 s,@abs_builddir@,$ac_abs_builddir,;t t
Chris@0 2230 s,@top_builddir@,$ac_top_builddir,;t t
Chris@0 2231 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
Chris@0 2232 s,@INSTALL@,$ac_INSTALL,;t t
Chris@0 2233 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
Chris@0 2234 rm -f $tmp/stdin
Chris@0 2235 if test x"$ac_file" != x-; then
Chris@0 2236 mv $tmp/out $ac_file
Chris@0 2237 else
Chris@0 2238 cat $tmp/out
Chris@0 2239 rm -f $tmp/out
Chris@0 2240 fi
Chris@0 2241
Chris@0 2242 done
Chris@0 2243 _ACEOF
Chris@0 2244
Chris@0 2245 cat >>$CONFIG_STATUS <<\_ACEOF
Chris@0 2246
Chris@0 2247 { (exit 0); exit 0; }
Chris@0 2248 _ACEOF
Chris@0 2249 chmod +x $CONFIG_STATUS
Chris@0 2250 ac_clean_files=$ac_clean_files_save
Chris@0 2251
Chris@0 2252
Chris@0 2253 # configure is writing to config.log, and then calls config.status.
Chris@0 2254 # config.status does its own redirection, appending to config.log.
Chris@0 2255 # Unfortunately, on DOS this fails, as config.log is still kept open
Chris@0 2256 # by configure, so config.status won't be able to write to it; its
Chris@0 2257 # output is simply discarded. So we exec the FD to /dev/null,
Chris@0 2258 # effectively closing config.log, so it can be properly (re)opened and
Chris@0 2259 # appended to by config.status. When coming back to configure, we
Chris@0 2260 # need to make the FD available again.
Chris@0 2261 if test "$no_create" != yes; then
Chris@0 2262 ac_cs_success=:
Chris@0 2263 ac_config_status_args=
Chris@0 2264 test "$silent" = yes &&
Chris@0 2265 ac_config_status_args="$ac_config_status_args --quiet"
Chris@0 2266 exec 5>/dev/null
Chris@0 2267 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
Chris@0 2268 exec 5>>config.log
Chris@0 2269 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
Chris@0 2270 # would make configure fail if this is the last instruction.
Chris@0 2271 $ac_cs_success || { (exit 1); exit 1; }
Chris@0 2272 fi
Chris@0 2273