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