[29] | 1 | #! /bin/sh |
---|
| 2 | # Guess values for system-dependent variables and create Makefiles. |
---|
| 3 | # Generated by GNU Autoconf 2.59. |
---|
| 4 | # |
---|
| 5 | # Copyright (C) 2003 Free Software Foundation, Inc. |
---|
| 6 | # This configure script is free software; the Free Software Foundation |
---|
| 7 | # gives unlimited permission to copy, distribute and modify it. |
---|
| 8 | ## --------------------- ## |
---|
| 9 | ## M4sh Initialization. ## |
---|
| 10 | ## --------------------- ## |
---|
| 11 | |
---|
| 12 | # Be Bourne compatible |
---|
| 13 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
| 14 | emulate sh |
---|
| 15 | NULLCMD=: |
---|
| 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+"$@"}'='"$@"' |
---|
| 19 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
---|
| 20 | set -o posix |
---|
| 21 | fi |
---|
| 22 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
| 23 | |
---|
| 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 | |
---|
| 65 | # Name of the executable. |
---|
| 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'` |
---|
| 76 | |
---|
| 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 | |
---|
| 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 | |
---|
| 218 | if mkdir -p . 2>/dev/null; then |
---|
| 219 | as_mkdir_p=: |
---|
| 220 | else |
---|
| 221 | test -d ./-p && rmdir ./-p |
---|
| 222 | as_mkdir_p=false |
---|
| 223 | fi |
---|
| 224 | |
---|
| 225 | as_executable_p="test -f" |
---|
| 226 | |
---|
| 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 | |
---|
| 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. |
---|
| 241 | $as_unset CDPATH |
---|
| 242 | |
---|
| 243 | |
---|
| 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 |
---|
| 255 | ac_config_libobj_dir=. |
---|
| 256 | cross_compiling=no |
---|
| 257 | subdirs= |
---|
| 258 | MFLAGS= |
---|
| 259 | MAKEFLAGS= |
---|
| 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 | |
---|
| 267 | # Identity of this package. |
---|
| 268 | PACKAGE_NAME= |
---|
| 269 | PACKAGE_TARNAME= |
---|
| 270 | PACKAGE_VERSION= |
---|
| 271 | PACKAGE_STRING= |
---|
| 272 | PACKAGE_BUGREPORT= |
---|
| 273 | |
---|
| 274 | ac_unique_file="./tools/configure.in" |
---|
| 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 LIBOBJS LTLIBOBJS' |
---|
| 276 | ac_subst_files='' |
---|
| 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. |
---|
| 361 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
| 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. |
---|
| 370 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
| 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 \ |
---|
| 448 | | --no-cr | --no-c | -n) |
---|
| 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. |
---|
| 552 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
| 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. |
---|
| 565 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
| 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. |
---|
| 597 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
---|
| 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 |
---|
| 607 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
| 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. |
---|
| 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. |
---|
| 633 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
---|
| 634 | localstatedir libdir includedir oldincludedir infodir mandir |
---|
| 635 | do |
---|
| 636 | eval ac_val=$`echo $ac_var` |
---|
| 637 | case $ac_val in |
---|
| 638 | [\\/$]* | ?:[\\/]* ) ;; |
---|
| 639 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
---|
| 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. |
---|
| 646 | # FIXME: To remove some day. |
---|
| 647 | build=$build_alias |
---|
| 648 | host=$host_alias |
---|
| 649 | target=$target_alias |
---|
| 650 | |
---|
| 651 | # FIXME: To remove some day. |
---|
| 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 | |
---|
| 667 | |
---|
| 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. |
---|
| 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'` |
---|
| 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 |
---|
| 693 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
---|
| 694 | { (exit 1); exit 1; }; } |
---|
| 695 | else |
---|
| 696 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
---|
| 697 | { (exit 1); exit 1; }; } |
---|
| 698 | fi |
---|
| 699 | fi |
---|
| 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; }; } |
---|
| 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. |
---|
| 739 | cat <<_ACEOF |
---|
| 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 | |
---|
| 760 | _ACEOF |
---|
| 761 | |
---|
| 762 | cat <<_ACEOF |
---|
| 763 | Installation directories: |
---|
| 764 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
| 765 | [$ac_default_prefix] |
---|
| 766 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
| 767 | [PREFIX] |
---|
| 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] |
---|
| 789 | _ACEOF |
---|
| 790 | |
---|
| 791 | cat <<\_ACEOF |
---|
| 792 | _ACEOF |
---|
| 793 | fi |
---|
| 794 | |
---|
| 795 | if test -n "$ac_init_help"; then |
---|
| 796 | |
---|
| 797 | cat <<\_ACEOF |
---|
| 798 | |
---|
| 799 | Optional Features: |
---|
| 800 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
---|
| 801 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
---|
| 802 | --enable-test tests current settings rather than defining new ones |
---|
| 803 | --enable-extension=<ext> |
---|
| 804 | |
---|
| 805 | Optional Packages: |
---|
| 806 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
---|
| 807 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
---|
| 808 | --with-boost=DIR path to the boost main tree |
---|
| 809 | |
---|
| 810 | Some influential environment variables: |
---|
| 811 | CXX C++ compiler command |
---|
| 812 | CXXFLAGS C++ compiler flags |
---|
| 813 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
---|
| 814 | nonstandard directory <lib dir> |
---|
| 815 | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
---|
| 816 | headers in a nonstandard directory <include dir> |
---|
| 817 | |
---|
| 818 | Use these variables to override the choices made by `configure' or to help |
---|
| 819 | it to find libraries and programs with nonstandard names/locations. |
---|
| 820 | |
---|
| 821 | _ACEOF |
---|
| 822 | fi |
---|
| 823 | |
---|
| 824 | if test "$ac_init_help" = "recursive"; then |
---|
| 825 | # If there are subdirs, report their specific --help. |
---|
| 826 | ac_popdir=`pwd` |
---|
| 827 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
---|
| 828 | test -d $ac_dir || continue |
---|
| 829 | ac_builddir=. |
---|
| 830 | |
---|
| 831 | if test "$ac_dir" != .; then |
---|
| 832 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
| 833 | # A "../" for each directory in $ac_dir_suffix. |
---|
| 834 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
---|
| 835 | else |
---|
| 836 | ac_dir_suffix= ac_top_builddir= |
---|
| 837 | fi |
---|
| 838 | |
---|
| 839 | case $srcdir in |
---|
| 840 | .) # No --srcdir option. We are building in place. |
---|
| 841 | ac_srcdir=. |
---|
| 842 | if test -z "$ac_top_builddir"; then |
---|
| 843 | ac_top_srcdir=. |
---|
| 844 | else |
---|
| 845 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
---|
| 846 | fi ;; |
---|
| 847 | [\\/]* | ?:[\\/]* ) # Absolute path. |
---|
| 848 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
| 849 | ac_top_srcdir=$srcdir ;; |
---|
| 850 | *) # Relative path. |
---|
| 851 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
---|
| 852 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
---|
| 853 | esac |
---|
| 854 | |
---|
| 855 | # Do not use `cd foo && pwd` to compute absolute paths, because |
---|
| 856 | # the directories may not exist. |
---|
| 857 | case `pwd` in |
---|
| 858 | .) ac_abs_builddir="$ac_dir";; |
---|
| 859 | *) |
---|
| 860 | case "$ac_dir" in |
---|
| 861 | .) ac_abs_builddir=`pwd`;; |
---|
| 862 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
---|
| 863 | *) ac_abs_builddir=`pwd`/"$ac_dir";; |
---|
| 864 | esac;; |
---|
| 865 | esac |
---|
| 866 | case $ac_abs_builddir in |
---|
| 867 | .) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
| 868 | *) |
---|
| 869 | case ${ac_top_builddir}. in |
---|
| 870 | .) ac_abs_top_builddir=$ac_abs_builddir;; |
---|
| 871 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
| 872 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
---|
| 873 | esac;; |
---|
| 874 | esac |
---|
| 875 | case $ac_abs_builddir in |
---|
| 876 | .) ac_abs_srcdir=$ac_srcdir;; |
---|
| 877 | *) |
---|
| 878 | case $ac_srcdir in |
---|
| 879 | .) ac_abs_srcdir=$ac_abs_builddir;; |
---|
| 880 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
---|
| 881 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
---|
| 882 | esac;; |
---|
| 883 | esac |
---|
| 884 | case $ac_abs_builddir in |
---|
| 885 | .) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
| 886 | *) |
---|
| 887 | case $ac_top_srcdir in |
---|
| 888 | .) ac_abs_top_srcdir=$ac_abs_builddir;; |
---|
| 889 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
| 890 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
---|
| 891 | esac;; |
---|
| 892 | esac |
---|
| 893 | |
---|
| 894 | cd $ac_dir |
---|
| 895 | # Check for guested configure; otherwise get Cygnus style configure. |
---|
| 896 | if test -f $ac_srcdir/configure.gnu; then |
---|
| 897 | echo |
---|
| 898 | $SHELL $ac_srcdir/configure.gnu --help=recursive |
---|
| 899 | elif test -f $ac_srcdir/configure; then |
---|
| 900 | echo |
---|
| 901 | $SHELL $ac_srcdir/configure --help=recursive |
---|
| 902 | elif test -f $ac_srcdir/configure.ac || |
---|
| 903 | test -f $ac_srcdir/configure.in; then |
---|
| 904 | echo |
---|
| 905 | $ac_configure --help |
---|
| 906 | else |
---|
| 907 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
---|
| 908 | fi |
---|
| 909 | cd $ac_popdir |
---|
| 910 | done |
---|
| 911 | fi |
---|
| 912 | |
---|
| 913 | test -n "$ac_init_help" && exit 0 |
---|
| 914 | if $ac_init_version; then |
---|
| 915 | cat <<\_ACEOF |
---|
| 916 | |
---|
| 917 | Copyright (C) 2003 Free Software Foundation, Inc. |
---|
| 918 | This configure script is free software; the Free Software Foundation |
---|
| 919 | gives unlimited permission to copy, distribute and modify it. |
---|
| 920 | _ACEOF |
---|
| 921 | exit 0 |
---|
| 922 | fi |
---|
| 923 | exec 5>config.log |
---|
| 924 | cat >&5 <<_ACEOF |
---|
| 925 | This file contains any messages produced by compilers while |
---|
| 926 | running configure, to aid debugging if configure makes a mistake. |
---|
| 927 | |
---|
| 928 | It was created by $as_me, which was |
---|
| 929 | generated by GNU Autoconf 2.59. Invocation command line was |
---|
| 930 | |
---|
| 931 | $ $0 $@ |
---|
| 932 | |
---|
| 933 | _ACEOF |
---|
| 934 | { |
---|
| 935 | cat <<_ASUNAME |
---|
| 936 | ## --------- ## |
---|
| 937 | ## Platform. ## |
---|
| 938 | ## --------- ## |
---|
| 939 | |
---|
| 940 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 941 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
---|
| 942 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
---|
| 943 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
---|
| 944 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
---|
| 945 | |
---|
| 946 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
---|
| 947 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
---|
| 948 | |
---|
| 949 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
---|
| 950 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
---|
| 951 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
---|
| 952 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
---|
| 953 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
---|
| 954 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
---|
| 955 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
---|
| 956 | |
---|
| 957 | _ASUNAME |
---|
| 958 | |
---|
| 959 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 960 | for as_dir in $PATH |
---|
| 961 | do |
---|
| 962 | IFS=$as_save_IFS |
---|
| 963 | test -z "$as_dir" && as_dir=. |
---|
| 964 | echo "PATH: $as_dir" |
---|
| 965 | done |
---|
| 966 | |
---|
| 967 | } >&5 |
---|
| 968 | |
---|
| 969 | cat >&5 <<_ACEOF |
---|
| 970 | |
---|
| 971 | |
---|
| 972 | ## ----------- ## |
---|
| 973 | ## Core tests. ## |
---|
| 974 | ## ----------- ## |
---|
| 975 | |
---|
| 976 | _ACEOF |
---|
| 977 | |
---|
| 978 | |
---|
| 979 | # Keep a trace of the command line. |
---|
| 980 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
| 981 | # Strip out --silent because we don't want to record it for future runs. |
---|
| 982 | # Also quote any args containing shell meta-characters. |
---|
| 983 | # Make two passes to allow for proper duplicate-argument suppression. |
---|
| 984 | ac_configure_args= |
---|
| 985 | ac_configure_args0= |
---|
| 986 | ac_configure_args1= |
---|
| 987 | ac_sep= |
---|
| 988 | ac_must_keep_next=false |
---|
| 989 | for ac_pass in 1 2 |
---|
| 990 | do |
---|
| 991 | for ac_arg |
---|
| 992 | do |
---|
| 993 | case $ac_arg in |
---|
| 994 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
---|
| 995 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 996 | | -silent | --silent | --silen | --sile | --sil) |
---|
| 997 | continue ;; |
---|
| 998 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
---|
| 999 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 1000 | esac |
---|
| 1001 | case $ac_pass in |
---|
| 1002 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
---|
| 1003 | 2) |
---|
| 1004 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
---|
| 1005 | if test $ac_must_keep_next = true; then |
---|
| 1006 | ac_must_keep_next=false # Got value, back to normal. |
---|
| 1007 | else |
---|
| 1008 | case $ac_arg in |
---|
| 1009 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
---|
| 1010 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
---|
| 1011 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
---|
| 1012 | | -with-* | --with-* | -without-* | --without-* | --x) |
---|
| 1013 | case "$ac_configure_args0 " in |
---|
| 1014 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
---|
| 1015 | esac |
---|
| 1016 | ;; |
---|
| 1017 | -* ) ac_must_keep_next=true ;; |
---|
| 1018 | esac |
---|
| 1019 | fi |
---|
| 1020 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
---|
| 1021 | # Get rid of the leading space. |
---|
| 1022 | ac_sep=" " |
---|
| 1023 | ;; |
---|
| 1024 | esac |
---|
| 1025 | done |
---|
| 1026 | done |
---|
| 1027 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
---|
| 1028 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
---|
| 1029 | |
---|
| 1030 | # When interrupted or exit'd, cleanup temporary files, and complete |
---|
| 1031 | # config.log. We remove comments because anyway the quotes in there |
---|
| 1032 | # would cause problems or look ugly. |
---|
| 1033 | # WARNING: Be sure not to use single quotes in there, as some shells, |
---|
| 1034 | # such as our DU 5.0 friend, will then `close' the trap. |
---|
| 1035 | trap 'exit_status=$? |
---|
| 1036 | # Save into config.log some information that might help in debugging. |
---|
| 1037 | { |
---|
| 1038 | echo |
---|
| 1039 | |
---|
| 1040 | cat <<\_ASBOX |
---|
| 1041 | ## ---------------- ## |
---|
| 1042 | ## Cache variables. ## |
---|
| 1043 | ## ---------------- ## |
---|
| 1044 | _ASBOX |
---|
| 1045 | echo |
---|
| 1046 | # The following way of writing the cache mishandles newlines in values, |
---|
| 1047 | { |
---|
| 1048 | (set) 2>&1 | |
---|
| 1049 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
---|
| 1050 | *ac_space=\ *) |
---|
| 1051 | sed -n \ |
---|
| 1052 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
---|
| 1053 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
---|
| 1054 | ;; |
---|
| 1055 | *) |
---|
| 1056 | sed -n \ |
---|
| 1057 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
---|
| 1058 | ;; |
---|
| 1059 | esac; |
---|
| 1060 | } |
---|
| 1061 | echo |
---|
| 1062 | |
---|
| 1063 | cat <<\_ASBOX |
---|
| 1064 | ## ----------------- ## |
---|
| 1065 | ## Output variables. ## |
---|
| 1066 | ## ----------------- ## |
---|
| 1067 | _ASBOX |
---|
| 1068 | echo |
---|
| 1069 | for ac_var in $ac_subst_vars |
---|
| 1070 | do |
---|
| 1071 | eval ac_val=$`echo $ac_var` |
---|
| 1072 | echo "$ac_var='"'"'$ac_val'"'"'" |
---|
| 1073 | done | sort |
---|
| 1074 | echo |
---|
| 1075 | |
---|
| 1076 | if test -n "$ac_subst_files"; then |
---|
| 1077 | cat <<\_ASBOX |
---|
| 1078 | ## ------------- ## |
---|
| 1079 | ## Output files. ## |
---|
| 1080 | ## ------------- ## |
---|
| 1081 | _ASBOX |
---|
| 1082 | echo |
---|
| 1083 | for ac_var in $ac_subst_files |
---|
| 1084 | do |
---|
| 1085 | eval ac_val=$`echo $ac_var` |
---|
| 1086 | echo "$ac_var='"'"'$ac_val'"'"'" |
---|
| 1087 | done | sort |
---|
| 1088 | echo |
---|
| 1089 | fi |
---|
| 1090 | |
---|
| 1091 | if test -s confdefs.h; then |
---|
| 1092 | cat <<\_ASBOX |
---|
| 1093 | ## ----------- ## |
---|
| 1094 | ## confdefs.h. ## |
---|
| 1095 | ## ----------- ## |
---|
| 1096 | _ASBOX |
---|
| 1097 | echo |
---|
| 1098 | sed "/^$/d" confdefs.h | sort |
---|
| 1099 | echo |
---|
| 1100 | fi |
---|
| 1101 | test "$ac_signal" != 0 && |
---|
| 1102 | echo "$as_me: caught signal $ac_signal" |
---|
| 1103 | echo "$as_me: exit $exit_status" |
---|
| 1104 | } >&5 |
---|
| 1105 | rm -f core *.core && |
---|
| 1106 | rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
---|
| 1107 | exit $exit_status |
---|
| 1108 | ' 0 |
---|
| 1109 | for ac_signal in 1 2 13 15; do |
---|
| 1110 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
---|
| 1111 | done |
---|
| 1112 | ac_signal=0 |
---|
| 1113 | |
---|
| 1114 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
| 1115 | rm -rf conftest* confdefs.h |
---|
| 1116 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
---|
| 1117 | echo >confdefs.h |
---|
| 1118 | |
---|
| 1119 | # Predefined preprocessor variables. |
---|
| 1120 | |
---|
| 1121 | cat >>confdefs.h <<_ACEOF |
---|
| 1122 | #define PACKAGE_NAME "$PACKAGE_NAME" |
---|
| 1123 | _ACEOF |
---|
| 1124 | |
---|
| 1125 | |
---|
| 1126 | cat >>confdefs.h <<_ACEOF |
---|
| 1127 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
---|
| 1128 | _ACEOF |
---|
| 1129 | |
---|
| 1130 | |
---|
| 1131 | cat >>confdefs.h <<_ACEOF |
---|
| 1132 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
---|
| 1133 | _ACEOF |
---|
| 1134 | |
---|
| 1135 | |
---|
| 1136 | cat >>confdefs.h <<_ACEOF |
---|
| 1137 | #define PACKAGE_STRING "$PACKAGE_STRING" |
---|
| 1138 | _ACEOF |
---|
| 1139 | |
---|
| 1140 | |
---|
| 1141 | cat >>confdefs.h <<_ACEOF |
---|
| 1142 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
---|
| 1143 | _ACEOF |
---|
| 1144 | |
---|
| 1145 | |
---|
| 1146 | # Let the site file select an alternate cache file if it wants to. |
---|
| 1147 | # Prefer explicitly selected file to automatically selected ones. |
---|
| 1148 | if test -z "$CONFIG_SITE"; then |
---|
| 1149 | if test "x$prefix" != xNONE; then |
---|
| 1150 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
---|
| 1151 | else |
---|
| 1152 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
---|
| 1153 | fi |
---|
| 1154 | fi |
---|
| 1155 | for ac_site_file in $CONFIG_SITE; do |
---|
| 1156 | if test -r "$ac_site_file"; then |
---|
| 1157 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
---|
| 1158 | echo "$as_me: loading site script $ac_site_file" >&6;} |
---|
| 1159 | sed 's/^/| /' "$ac_site_file" >&5 |
---|
| 1160 | . "$ac_site_file" |
---|
| 1161 | fi |
---|
| 1162 | done |
---|
| 1163 | |
---|
| 1164 | |
---|
| 1165 | # Check that the precious variables saved in the cache have kept the same |
---|
| 1166 | # value. |
---|
| 1167 | ac_cache_corrupted=false |
---|
| 1168 | for ac_var in `(set) 2>&1 | |
---|
| 1169 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
---|
| 1170 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
---|
| 1171 | eval ac_new_set=\$ac_env_${ac_var}_set |
---|
| 1172 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
---|
| 1173 | eval ac_new_val="\$ac_env_${ac_var}_value" |
---|
| 1174 | case $ac_old_set,$ac_new_set in |
---|
| 1175 | set,) |
---|
| 1176 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
---|
| 1177 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
---|
| 1178 | ac_cache_corrupted=: ;; |
---|
| 1179 | ,set) |
---|
| 1180 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
---|
| 1181 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
---|
| 1182 | ac_cache_corrupted=: ;; |
---|
| 1183 | ,);; |
---|
| 1184 | *) |
---|
| 1185 | if test "x$ac_old_val" != "x$ac_new_val"; then |
---|
| 1186 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
---|
| 1187 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
---|
| 1188 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
---|
| 1189 | echo "$as_me: former value: $ac_old_val" >&2;} |
---|
| 1190 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
---|
| 1191 | echo "$as_me: current value: $ac_new_val" >&2;} |
---|
| 1192 | ac_cache_corrupted=: |
---|
| 1193 | fi;; |
---|
| 1194 | esac |
---|
| 1195 | # Pass precious variables to config.status. |
---|
| 1196 | if test "$ac_new_set" = set; then |
---|
| 1197 | case $ac_new_val in |
---|
| 1198 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
---|
| 1199 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 1200 | *) ac_arg=$ac_var=$ac_new_val ;; |
---|
| 1201 | esac |
---|
| 1202 | case " $ac_configure_args " in |
---|
| 1203 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
---|
| 1204 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
---|
| 1205 | esac |
---|
| 1206 | fi |
---|
| 1207 | done |
---|
| 1208 | if $ac_cache_corrupted; then |
---|
| 1209 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
---|
| 1210 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
---|
| 1211 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
---|
| 1212 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
---|
| 1213 | { (exit 1); exit 1; }; } |
---|
| 1214 | fi |
---|
| 1215 | |
---|
| 1216 | ac_ext=c |
---|
| 1217 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 1218 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 1219 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 1220 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 1221 | |
---|
| 1222 | |
---|
| 1223 | |
---|
| 1224 | |
---|
| 1225 | |
---|
| 1226 | |
---|
| 1227 | |
---|
| 1228 | |
---|
| 1229 | |
---|
| 1230 | |
---|
| 1231 | |
---|
| 1232 | |
---|
| 1233 | |
---|
| 1234 | |
---|
| 1235 | |
---|
| 1236 | |
---|
| 1237 | |
---|
| 1238 | |
---|
| 1239 | |
---|
| 1240 | |
---|
| 1241 | |
---|
| 1242 | # Check whether --enable-test or --disable-test was given. |
---|
| 1243 | if test "${enable_test+set}" = set; then |
---|
| 1244 | enableval="$enable_test" |
---|
| 1245 | |
---|
| 1246 | fi; |
---|
| 1247 | |
---|
| 1248 | if test "foo"$enable_test = "foo"; then |
---|
| 1249 | enable_test="no" |
---|
| 1250 | fi |
---|
| 1251 | |
---|
| 1252 | cat << EOF |
---|
| 1253 | *** $0: boost configuration utility *** |
---|
| 1254 | |
---|
| 1255 | Please stand by while exploring compiler capabilities... |
---|
| 1256 | Be patient - this could take some time... |
---|
| 1257 | |
---|
| 1258 | Note that this test script only gives an approximate |
---|
| 1259 | configuration - you will need to test the results carefully |
---|
| 1260 | using the boost regression test suite before using the results. |
---|
| 1261 | EOF |
---|
| 1262 | |
---|
| 1263 | if test $enable_test = 'yes'; then |
---|
| 1264 | |
---|
| 1265 | cat << EOF |
---|
| 1266 | |
---|
| 1267 | This script reports only the difference between the detected |
---|
| 1268 | configuration, and the existing boost configuration. Its |
---|
| 1269 | primary aim is to quickly report how well boost is configured |
---|
| 1270 | for one compiler. |
---|
| 1271 | |
---|
| 1272 | *** |
---|
| 1273 | |
---|
| 1274 | EOF |
---|
| 1275 | |
---|
| 1276 | else |
---|
| 1277 | |
---|
| 1278 | cat << EOF |
---|
| 1279 | |
---|
| 1280 | *** |
---|
| 1281 | |
---|
| 1282 | EOF |
---|
| 1283 | fi |
---|
| 1284 | |
---|
| 1285 | # Check whether --enable-extension or --disable-extension was given. |
---|
| 1286 | if test "${enable_extension+set}" = set; then |
---|
| 1287 | enableval="$enable_extension" |
---|
| 1288 | |
---|
| 1289 | case "$enableval" in |
---|
| 1290 | no) echo "$as_me:$LINENO: result: Info :.cpp used as extension for tests" >&5 |
---|
| 1291 | echo "${ECHO_T}Info :.cpp used as extension for tests" >&6 |
---|
| 1292 | ac_ext=cpp |
---|
| 1293 | ;; |
---|
| 1294 | *) echo "$as_me:$LINENO: result: Argument : .$enableval used as extension" >&5 |
---|
| 1295 | echo "${ECHO_T}Argument : .$enableval used as extension" >&6 |
---|
| 1296 | ac_ext=$enableval |
---|
| 1297 | esac |
---|
| 1298 | |
---|
| 1299 | else |
---|
| 1300 | echo "$as_me:$LINENO: result: Info : .cpp used as extension for tests" >&5 |
---|
| 1301 | echo "${ECHO_T}Info : .cpp used as extension for tests" >&6 |
---|
| 1302 | ac_ext=cpp |
---|
| 1303 | |
---|
| 1304 | |
---|
| 1305 | fi; |
---|
| 1306 | |
---|
| 1307 | |
---|
| 1308 | if test -f /bin/sed ; then |
---|
| 1309 | SED=/bin/sed |
---|
| 1310 | else |
---|
| 1311 | if test -f /usr/bin/sed ; then |
---|
| 1312 | SED=/usr/bin/sed |
---|
| 1313 | else |
---|
| 1314 | SED=sed |
---|
| 1315 | fi |
---|
| 1316 | fi |
---|
| 1317 | |
---|
| 1318 | echo "$as_me:$LINENO: checking for boost main tree" >&5 |
---|
| 1319 | echo $ECHO_N "checking for boost main tree... $ECHO_C" >&6 |
---|
| 1320 | boost_base= |
---|
| 1321 | |
---|
| 1322 | # Check whether --with-boost or --without-boost was given. |
---|
| 1323 | if test "${with_boost+set}" = set; then |
---|
| 1324 | withval="$with_boost" |
---|
| 1325 | |
---|
| 1326 | #echo "--with boost is set" |
---|
| 1327 | if test "x$withval" != "x"; then |
---|
| 1328 | if test "x$withval" != no; then |
---|
| 1329 | boost_base=`echo "$withval" | $SED 's,//*,/,g' | $SED 's,/$,,'` |
---|
| 1330 | #echo boost_base=$boost_base |
---|
| 1331 | if test -f "$boost_base/boost/config.hpp"; then |
---|
| 1332 | if test -f "$boost_base/libs/config/configure"; then :; else |
---|
| 1333 | boost_base= |
---|
| 1334 | #echo "$boost_base/libs/config/configure" not found |
---|
| 1335 | fi |
---|
| 1336 | else |
---|
| 1337 | #echo "$boost_base/boost/config.hpp" not found |
---|
| 1338 | boost_base= |
---|
| 1339 | fi |
---|
| 1340 | fi |
---|
| 1341 | fi |
---|
| 1342 | |
---|
| 1343 | |
---|
| 1344 | fi; |
---|
| 1345 | if test "x$boost_base" = "x"; then |
---|
| 1346 | #echo '$0 = ' $0 |
---|
| 1347 | boost_base=`expr "x$0" : 'x\(.*\)/[/]*' \| '.'` |
---|
| 1348 | boost_base="$boost_base/../.." |
---|
| 1349 | #echo boost_base=$boost_base |
---|
| 1350 | if test -f "$boost_base/boost/config.hpp"; then |
---|
| 1351 | if test -f "$boost_base/libs/config/configure"; then :; else |
---|
| 1352 | boost_base= |
---|
| 1353 | fi |
---|
| 1354 | else |
---|
| 1355 | boost_base= |
---|
| 1356 | fi |
---|
| 1357 | fi |
---|
| 1358 | if test "x$boost_base" != "x"; then |
---|
| 1359 | echo "$as_me:$LINENO: result: $boost_base" >&5 |
---|
| 1360 | echo "${ECHO_T}$boost_base" >&6 |
---|
| 1361 | else |
---|
| 1362 | echo "$as_me:$LINENO: result: not found" >&5 |
---|
| 1363 | echo "${ECHO_T}not found" >&6 |
---|
| 1364 | { { echo "$as_me:$LINENO: error: The boost main tree was not found. |
---|
| 1365 | Specify its location by the --with-boost option." >&5 |
---|
| 1366 | echo "$as_me: error: The boost main tree was not found. |
---|
| 1367 | Specify its location by the --with-boost option." >&2;} |
---|
| 1368 | { (exit 1); exit 1; }; } |
---|
| 1369 | fi |
---|
| 1370 | |
---|
| 1371 | |
---|
| 1372 | |
---|
| 1373 | # Save that, as it is being redefined several times |
---|
| 1374 | use_ac_ext=$ac_ext |
---|
| 1375 | |
---|
| 1376 | ac_ext=cc |
---|
| 1377 | ac_cpp='$CXXCPP $CPPFLAGS' |
---|
| 1378 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 1379 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 1380 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
---|
| 1381 | if test -n "$ac_tool_prefix"; then |
---|
| 1382 | for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
---|
| 1383 | do |
---|
| 1384 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
---|
| 1385 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
---|
| 1386 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1387 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
| 1388 | if test "${ac_cv_prog_CXX+set}" = set; then |
---|
| 1389 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1390 | else |
---|
| 1391 | if test -n "$CXX"; then |
---|
| 1392 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
---|
| 1393 | else |
---|
| 1394 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1395 | for as_dir in $PATH |
---|
| 1396 | do |
---|
| 1397 | IFS=$as_save_IFS |
---|
| 1398 | test -z "$as_dir" && as_dir=. |
---|
| 1399 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 1400 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
| 1401 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
---|
| 1402 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 1403 | break 2 |
---|
| 1404 | fi |
---|
| 1405 | done |
---|
| 1406 | done |
---|
| 1407 | |
---|
| 1408 | fi |
---|
| 1409 | fi |
---|
| 1410 | CXX=$ac_cv_prog_CXX |
---|
| 1411 | if test -n "$CXX"; then |
---|
| 1412 | echo "$as_me:$LINENO: result: $CXX" >&5 |
---|
| 1413 | echo "${ECHO_T}$CXX" >&6 |
---|
| 1414 | else |
---|
| 1415 | echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1416 | echo "${ECHO_T}no" >&6 |
---|
| 1417 | fi |
---|
| 1418 | |
---|
| 1419 | test -n "$CXX" && break |
---|
| 1420 | done |
---|
| 1421 | fi |
---|
| 1422 | if test -z "$CXX"; then |
---|
| 1423 | ac_ct_CXX=$CXX |
---|
| 1424 | for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
---|
| 1425 | do |
---|
| 1426 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
| 1427 | set dummy $ac_prog; ac_word=$2 |
---|
| 1428 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1429 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
| 1430 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
---|
| 1431 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1432 | else |
---|
| 1433 | if test -n "$ac_ct_CXX"; then |
---|
| 1434 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
---|
| 1435 | else |
---|
| 1436 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1437 | for as_dir in $PATH |
---|
| 1438 | do |
---|
| 1439 | IFS=$as_save_IFS |
---|
| 1440 | test -z "$as_dir" && as_dir=. |
---|
| 1441 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 1442 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
| 1443 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
---|
| 1444 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 1445 | break 2 |
---|
| 1446 | fi |
---|
| 1447 | done |
---|
| 1448 | done |
---|
| 1449 | |
---|
| 1450 | fi |
---|
| 1451 | fi |
---|
| 1452 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
---|
| 1453 | if test -n "$ac_ct_CXX"; then |
---|
| 1454 | echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
---|
| 1455 | echo "${ECHO_T}$ac_ct_CXX" >&6 |
---|
| 1456 | else |
---|
| 1457 | echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1458 | echo "${ECHO_T}no" >&6 |
---|
| 1459 | fi |
---|
| 1460 | |
---|
| 1461 | test -n "$ac_ct_CXX" && break |
---|
| 1462 | done |
---|
| 1463 | test -n "$ac_ct_CXX" || ac_ct_CXX="g++" |
---|
| 1464 | |
---|
| 1465 | CXX=$ac_ct_CXX |
---|
| 1466 | fi |
---|
| 1467 | |
---|
| 1468 | |
---|
| 1469 | # Provide some information about the compiler. |
---|
| 1470 | echo "$as_me:$LINENO:" \ |
---|
| 1471 | "checking for C++ compiler version" >&5 |
---|
| 1472 | ac_compiler=`set X $ac_compile; echo $2` |
---|
| 1473 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
---|
| 1474 | (eval $ac_compiler --version </dev/null >&5) 2>&5 |
---|
| 1475 | ac_status=$? |
---|
| 1476 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1477 | (exit $ac_status); } |
---|
| 1478 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
---|
| 1479 | (eval $ac_compiler -v </dev/null >&5) 2>&5 |
---|
| 1480 | ac_status=$? |
---|
| 1481 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1482 | (exit $ac_status); } |
---|
| 1483 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
---|
| 1484 | (eval $ac_compiler -V </dev/null >&5) 2>&5 |
---|
| 1485 | ac_status=$? |
---|
| 1486 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1487 | (exit $ac_status); } |
---|
| 1488 | |
---|
| 1489 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 1490 | /* confdefs.h. */ |
---|
| 1491 | _ACEOF |
---|
| 1492 | cat confdefs.h >>conftest.$ac_ext |
---|
| 1493 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 1494 | /* end confdefs.h. */ |
---|
| 1495 | |
---|
| 1496 | int |
---|
| 1497 | main () |
---|
| 1498 | { |
---|
| 1499 | |
---|
| 1500 | ; |
---|
| 1501 | return 0; |
---|
| 1502 | } |
---|
| 1503 | _ACEOF |
---|
| 1504 | ac_clean_files_save=$ac_clean_files |
---|
| 1505 | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
---|
| 1506 | # Try to create an executable without -o first, disregard a.out. |
---|
| 1507 | # It will help us diagnose broken compilers, and finding out an intuition |
---|
| 1508 | # of exeext. |
---|
| 1509 | echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 |
---|
| 1510 | echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6 |
---|
| 1511 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
---|
| 1512 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
---|
| 1513 | (eval $ac_link_default) 2>&5 |
---|
| 1514 | ac_status=$? |
---|
| 1515 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1516 | (exit $ac_status); }; then |
---|
| 1517 | # Find the output, starting from the most likely. This scheme is |
---|
| 1518 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last |
---|
| 1519 | # resort. |
---|
| 1520 | |
---|
| 1521 | # Be careful to initialize this variable, since it used to be cached. |
---|
| 1522 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
---|
| 1523 | ac_cv_exeext= |
---|
| 1524 | # b.out is created by i960 compilers. |
---|
| 1525 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
---|
| 1526 | do |
---|
| 1527 | test -f "$ac_file" || continue |
---|
| 1528 | case $ac_file in |
---|
| 1529 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
---|
| 1530 | ;; |
---|
| 1531 | conftest.$ac_ext ) |
---|
| 1532 | # This is the source file. |
---|
| 1533 | ;; |
---|
| 1534 | [ab].out ) |
---|
| 1535 | # We found the default executable, but exeext='' is most |
---|
| 1536 | # certainly right. |
---|
| 1537 | break;; |
---|
| 1538 | *.* ) |
---|
| 1539 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
| 1540 | # FIXME: I believe we export ac_cv_exeext for Libtool, |
---|
| 1541 | # but it would be cool to find out if it's true. Does anybody |
---|
| 1542 | # maintain Libtool? --akim. |
---|
| 1543 | export ac_cv_exeext |
---|
| 1544 | break;; |
---|
| 1545 | * ) |
---|
| 1546 | break;; |
---|
| 1547 | esac |
---|
| 1548 | done |
---|
| 1549 | else |
---|
| 1550 | echo "$as_me: failed program was:" >&5 |
---|
| 1551 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 1552 | |
---|
| 1553 | { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables |
---|
| 1554 | See \`config.log' for more details." >&5 |
---|
| 1555 | echo "$as_me: error: C++ compiler cannot create executables |
---|
| 1556 | See \`config.log' for more details." >&2;} |
---|
| 1557 | { (exit 77); exit 77; }; } |
---|
| 1558 | fi |
---|
| 1559 | |
---|
| 1560 | ac_exeext=$ac_cv_exeext |
---|
| 1561 | echo "$as_me:$LINENO: result: $ac_file" >&5 |
---|
| 1562 | echo "${ECHO_T}$ac_file" >&6 |
---|
| 1563 | |
---|
| 1564 | # Check the compiler produces executables we can run. If not, either |
---|
| 1565 | # the compiler is broken, or we cross compile. |
---|
| 1566 | echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 |
---|
| 1567 | echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 |
---|
| 1568 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
---|
| 1569 | # If not cross compiling, check that we can run a simple program. |
---|
| 1570 | if test "$cross_compiling" != yes; then |
---|
| 1571 | if { ac_try='./$ac_file' |
---|
| 1572 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 1573 | (eval $ac_try) 2>&5 |
---|
| 1574 | ac_status=$? |
---|
| 1575 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1576 | (exit $ac_status); }; }; then |
---|
| 1577 | cross_compiling=no |
---|
| 1578 | else |
---|
| 1579 | if test "$cross_compiling" = maybe; then |
---|
| 1580 | cross_compiling=yes |
---|
| 1581 | else |
---|
| 1582 | { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. |
---|
| 1583 | If you meant to cross compile, use \`--host'. |
---|
| 1584 | See \`config.log' for more details." >&5 |
---|
| 1585 | echo "$as_me: error: cannot run C++ compiled programs. |
---|
| 1586 | If you meant to cross compile, use \`--host'. |
---|
| 1587 | See \`config.log' for more details." >&2;} |
---|
| 1588 | { (exit 1); exit 1; }; } |
---|
| 1589 | fi |
---|
| 1590 | fi |
---|
| 1591 | fi |
---|
| 1592 | echo "$as_me:$LINENO: result: yes" >&5 |
---|
| 1593 | echo "${ECHO_T}yes" >&6 |
---|
| 1594 | |
---|
| 1595 | rm -f a.out a.exe conftest$ac_cv_exeext b.out |
---|
| 1596 | ac_clean_files=$ac_clean_files_save |
---|
| 1597 | # Check the compiler produces executables we can run. If not, either |
---|
| 1598 | # the compiler is broken, or we cross compile. |
---|
| 1599 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
---|
| 1600 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
---|
| 1601 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
---|
| 1602 | echo "${ECHO_T}$cross_compiling" >&6 |
---|
| 1603 | |
---|
| 1604 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
---|
| 1605 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
---|
| 1606 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
| 1607 | (eval $ac_link) 2>&5 |
---|
| 1608 | ac_status=$? |
---|
| 1609 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1610 | (exit $ac_status); }; then |
---|
| 1611 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
---|
| 1612 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
---|
| 1613 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
---|
| 1614 | # `rm'. |
---|
| 1615 | for ac_file in conftest.exe conftest conftest.*; do |
---|
| 1616 | test -f "$ac_file" || continue |
---|
| 1617 | case $ac_file in |
---|
| 1618 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
---|
| 1619 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
| 1620 | export ac_cv_exeext |
---|
| 1621 | break;; |
---|
| 1622 | * ) break;; |
---|
| 1623 | esac |
---|
| 1624 | done |
---|
| 1625 | else |
---|
| 1626 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
---|
| 1627 | See \`config.log' for more details." >&5 |
---|
| 1628 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
---|
| 1629 | See \`config.log' for more details." >&2;} |
---|
| 1630 | { (exit 1); exit 1; }; } |
---|
| 1631 | fi |
---|
| 1632 | |
---|
| 1633 | rm -f conftest$ac_cv_exeext |
---|
| 1634 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
---|
| 1635 | echo "${ECHO_T}$ac_cv_exeext" >&6 |
---|
| 1636 | |
---|
| 1637 | rm -f conftest.$ac_ext |
---|
| 1638 | EXEEXT=$ac_cv_exeext |
---|
| 1639 | ac_exeext=$EXEEXT |
---|
| 1640 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
---|
| 1641 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
---|
| 1642 | if test "${ac_cv_objext+set}" = set; then |
---|
| 1643 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1644 | else |
---|
| 1645 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 1646 | /* confdefs.h. */ |
---|
| 1647 | _ACEOF |
---|
| 1648 | cat confdefs.h >>conftest.$ac_ext |
---|
| 1649 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 1650 | /* end confdefs.h. */ |
---|
| 1651 | |
---|
| 1652 | int |
---|
| 1653 | main () |
---|
| 1654 | { |
---|
| 1655 | |
---|
| 1656 | ; |
---|
| 1657 | return 0; |
---|
| 1658 | } |
---|
| 1659 | _ACEOF |
---|
| 1660 | rm -f conftest.o conftest.obj |
---|
| 1661 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
| 1662 | (eval $ac_compile) 2>&5 |
---|
| 1663 | ac_status=$? |
---|
| 1664 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1665 | (exit $ac_status); }; then |
---|
| 1666 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
---|
| 1667 | case $ac_file in |
---|
| 1668 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
---|
| 1669 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
---|
| 1670 | break;; |
---|
| 1671 | esac |
---|
| 1672 | done |
---|
| 1673 | else |
---|
| 1674 | echo "$as_me: failed program was:" >&5 |
---|
| 1675 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 1676 | |
---|
| 1677 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
---|
| 1678 | See \`config.log' for more details." >&5 |
---|
| 1679 | echo "$as_me: error: cannot compute suffix of object files: cannot compile |
---|
| 1680 | See \`config.log' for more details." >&2;} |
---|
| 1681 | { (exit 1); exit 1; }; } |
---|
| 1682 | fi |
---|
| 1683 | |
---|
| 1684 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
---|
| 1685 | fi |
---|
| 1686 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
---|
| 1687 | echo "${ECHO_T}$ac_cv_objext" >&6 |
---|
| 1688 | OBJEXT=$ac_cv_objext |
---|
| 1689 | ac_objext=$OBJEXT |
---|
| 1690 | echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
---|
| 1691 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 |
---|
| 1692 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
---|
| 1693 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1694 | else |
---|
| 1695 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 1696 | /* confdefs.h. */ |
---|
| 1697 | _ACEOF |
---|
| 1698 | cat confdefs.h >>conftest.$ac_ext |
---|
| 1699 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 1700 | /* end confdefs.h. */ |
---|
| 1701 | |
---|
| 1702 | int |
---|
| 1703 | main () |
---|
| 1704 | { |
---|
| 1705 | #ifndef __GNUC__ |
---|
| 1706 | choke me |
---|
| 1707 | #endif |
---|
| 1708 | |
---|
| 1709 | ; |
---|
| 1710 | return 0; |
---|
| 1711 | } |
---|
| 1712 | _ACEOF |
---|
| 1713 | rm -f conftest.$ac_objext |
---|
| 1714 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
| 1715 | (eval $ac_compile) 2>conftest.er1 |
---|
| 1716 | ac_status=$? |
---|
| 1717 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 1718 | rm -f conftest.er1 |
---|
| 1719 | cat conftest.err >&5 |
---|
| 1720 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1721 | (exit $ac_status); } && |
---|
| 1722 | { ac_try='test -z "$ac_cxx_werror_flag" |
---|
| 1723 | || test ! -s conftest.err' |
---|
| 1724 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 1725 | (eval $ac_try) 2>&5 |
---|
| 1726 | ac_status=$? |
---|
| 1727 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1728 | (exit $ac_status); }; } && |
---|
| 1729 | { ac_try='test -s conftest.$ac_objext' |
---|
| 1730 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 1731 | (eval $ac_try) 2>&5 |
---|
| 1732 | ac_status=$? |
---|
| 1733 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1734 | (exit $ac_status); }; }; then |
---|
| 1735 | ac_compiler_gnu=yes |
---|
| 1736 | else |
---|
| 1737 | echo "$as_me: failed program was:" >&5 |
---|
| 1738 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 1739 | |
---|
| 1740 | ac_compiler_gnu=no |
---|
| 1741 | fi |
---|
| 1742 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 1743 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
---|
| 1744 | |
---|
| 1745 | fi |
---|
| 1746 | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
---|
| 1747 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 |
---|
| 1748 | GXX=`test $ac_compiler_gnu = yes && echo yes` |
---|
| 1749 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
---|
| 1750 | ac_save_CXXFLAGS=$CXXFLAGS |
---|
| 1751 | CXXFLAGS="-g" |
---|
| 1752 | echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
---|
| 1753 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 |
---|
| 1754 | if test "${ac_cv_prog_cxx_g+set}" = set; then |
---|
| 1755 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1756 | else |
---|
| 1757 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 1758 | /* confdefs.h. */ |
---|
| 1759 | _ACEOF |
---|
| 1760 | cat confdefs.h >>conftest.$ac_ext |
---|
| 1761 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 1762 | /* end confdefs.h. */ |
---|
| 1763 | |
---|
| 1764 | int |
---|
| 1765 | main () |
---|
| 1766 | { |
---|
| 1767 | |
---|
| 1768 | ; |
---|
| 1769 | return 0; |
---|
| 1770 | } |
---|
| 1771 | _ACEOF |
---|
| 1772 | rm -f conftest.$ac_objext |
---|
| 1773 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
| 1774 | (eval $ac_compile) 2>conftest.er1 |
---|
| 1775 | ac_status=$? |
---|
| 1776 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 1777 | rm -f conftest.er1 |
---|
| 1778 | cat conftest.err >&5 |
---|
| 1779 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1780 | (exit $ac_status); } && |
---|
| 1781 | { ac_try='test -z "$ac_cxx_werror_flag" |
---|
| 1782 | || test ! -s conftest.err' |
---|
| 1783 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 1784 | (eval $ac_try) 2>&5 |
---|
| 1785 | ac_status=$? |
---|
| 1786 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1787 | (exit $ac_status); }; } && |
---|
| 1788 | { ac_try='test -s conftest.$ac_objext' |
---|
| 1789 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 1790 | (eval $ac_try) 2>&5 |
---|
| 1791 | ac_status=$? |
---|
| 1792 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1793 | (exit $ac_status); }; }; then |
---|
| 1794 | ac_cv_prog_cxx_g=yes |
---|
| 1795 | else |
---|
| 1796 | echo "$as_me: failed program was:" >&5 |
---|
| 1797 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 1798 | |
---|
| 1799 | ac_cv_prog_cxx_g=no |
---|
| 1800 | fi |
---|
| 1801 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 1802 | fi |
---|
| 1803 | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
---|
| 1804 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
---|
| 1805 | if test "$ac_test_CXXFLAGS" = set; then |
---|
| 1806 | CXXFLAGS=$ac_save_CXXFLAGS |
---|
| 1807 | elif test $ac_cv_prog_cxx_g = yes; then |
---|
| 1808 | if test "$GXX" = yes; then |
---|
| 1809 | CXXFLAGS="-g -O2" |
---|
| 1810 | else |
---|
| 1811 | CXXFLAGS="-g" |
---|
| 1812 | fi |
---|
| 1813 | else |
---|
| 1814 | if test "$GXX" = yes; then |
---|
| 1815 | CXXFLAGS="-O2" |
---|
| 1816 | else |
---|
| 1817 | CXXFLAGS= |
---|
| 1818 | fi |
---|
| 1819 | fi |
---|
| 1820 | for ac_declaration in \ |
---|
| 1821 | '' \ |
---|
| 1822 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
---|
| 1823 | 'extern "C" void std::exit (int); using std::exit;' \ |
---|
| 1824 | 'extern "C" void exit (int) throw ();' \ |
---|
| 1825 | 'extern "C" void exit (int);' \ |
---|
| 1826 | 'void exit (int);' |
---|
| 1827 | do |
---|
| 1828 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 1829 | /* confdefs.h. */ |
---|
| 1830 | _ACEOF |
---|
| 1831 | cat confdefs.h >>conftest.$ac_ext |
---|
| 1832 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 1833 | /* end confdefs.h. */ |
---|
| 1834 | $ac_declaration |
---|
| 1835 | #include <stdlib.h> |
---|
| 1836 | int |
---|
| 1837 | main () |
---|
| 1838 | { |
---|
| 1839 | exit (42); |
---|
| 1840 | ; |
---|
| 1841 | return 0; |
---|
| 1842 | } |
---|
| 1843 | _ACEOF |
---|
| 1844 | rm -f conftest.$ac_objext |
---|
| 1845 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
| 1846 | (eval $ac_compile) 2>conftest.er1 |
---|
| 1847 | ac_status=$? |
---|
| 1848 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 1849 | rm -f conftest.er1 |
---|
| 1850 | cat conftest.err >&5 |
---|
| 1851 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1852 | (exit $ac_status); } && |
---|
| 1853 | { ac_try='test -z "$ac_cxx_werror_flag" |
---|
| 1854 | || test ! -s conftest.err' |
---|
| 1855 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 1856 | (eval $ac_try) 2>&5 |
---|
| 1857 | ac_status=$? |
---|
| 1858 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1859 | (exit $ac_status); }; } && |
---|
| 1860 | { ac_try='test -s conftest.$ac_objext' |
---|
| 1861 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 1862 | (eval $ac_try) 2>&5 |
---|
| 1863 | ac_status=$? |
---|
| 1864 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1865 | (exit $ac_status); }; }; then |
---|
| 1866 | : |
---|
| 1867 | else |
---|
| 1868 | echo "$as_me: failed program was:" >&5 |
---|
| 1869 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 1870 | |
---|
| 1871 | continue |
---|
| 1872 | fi |
---|
| 1873 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 1874 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 1875 | /* confdefs.h. */ |
---|
| 1876 | _ACEOF |
---|
| 1877 | cat confdefs.h >>conftest.$ac_ext |
---|
| 1878 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 1879 | /* end confdefs.h. */ |
---|
| 1880 | $ac_declaration |
---|
| 1881 | int |
---|
| 1882 | main () |
---|
| 1883 | { |
---|
| 1884 | exit (42); |
---|
| 1885 | ; |
---|
| 1886 | return 0; |
---|
| 1887 | } |
---|
| 1888 | _ACEOF |
---|
| 1889 | rm -f conftest.$ac_objext |
---|
| 1890 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
| 1891 | (eval $ac_compile) 2>conftest.er1 |
---|
| 1892 | ac_status=$? |
---|
| 1893 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 1894 | rm -f conftest.er1 |
---|
| 1895 | cat conftest.err >&5 |
---|
| 1896 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1897 | (exit $ac_status); } && |
---|
| 1898 | { ac_try='test -z "$ac_cxx_werror_flag" |
---|
| 1899 | || test ! -s conftest.err' |
---|
| 1900 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 1901 | (eval $ac_try) 2>&5 |
---|
| 1902 | ac_status=$? |
---|
| 1903 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1904 | (exit $ac_status); }; } && |
---|
| 1905 | { ac_try='test -s conftest.$ac_objext' |
---|
| 1906 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 1907 | (eval $ac_try) 2>&5 |
---|
| 1908 | ac_status=$? |
---|
| 1909 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1910 | (exit $ac_status); }; }; then |
---|
| 1911 | break |
---|
| 1912 | else |
---|
| 1913 | echo "$as_me: failed program was:" >&5 |
---|
| 1914 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 1915 | |
---|
| 1916 | fi |
---|
| 1917 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 1918 | done |
---|
| 1919 | rm -f conftest* |
---|
| 1920 | if test -n "$ac_declaration"; then |
---|
| 1921 | echo '#ifdef __cplusplus' >>confdefs.h |
---|
| 1922 | echo $ac_declaration >>confdefs.h |
---|
| 1923 | echo '#endif' >>confdefs.h |
---|
| 1924 | fi |
---|
| 1925 | |
---|
| 1926 | ac_ext=c |
---|
| 1927 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 1928 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 1929 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 1930 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 1931 | |
---|
| 1932 | ac_ext=$use_ac_ext |
---|
| 1933 | |
---|
| 1934 | ac_ext=cc |
---|
| 1935 | ac_cpp='$CXXCPP $CPPFLAGS' |
---|
| 1936 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 1937 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 1938 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
---|
| 1939 | |
---|
| 1940 | |
---|
| 1941 | OLD_CXXFLAGS="$CXXFLAGS" |
---|
| 1942 | |
---|
| 1943 | |
---|
| 1944 | if test $enable_test = 'yes'; then |
---|
| 1945 | CXXFLAGS="-I$boost_base -I$boost_base/libs/config/test $CXXFLAGS" |
---|
| 1946 | else |
---|
| 1947 | CXXFLAGS="-I$boost_base -I$boost_base/libs/config/test $CXXFLAGS -DBOOST_NO_CONFIG" |
---|
| 1948 | fi |
---|
| 1949 | |
---|
| 1950 | # add the -AA conformance option to CXXFLAGS for HP aCC only |
---|
| 1951 | if test $CXX = 'aCC'; then |
---|
| 1952 | CXXFLAGS="-AA $CXXFLAGS" |
---|
| 1953 | fi |
---|
| 1954 | |
---|
| 1955 | |
---|
| 1956 | |
---|
| 1957 | |
---|
| 1958 | echo "$as_me:$LINENO: checking for pthread_exit in -lpthread" >&5 |
---|
| 1959 | echo $ECHO_N "checking for pthread_exit in -lpthread... $ECHO_C" >&6 |
---|
| 1960 | if test "${ac_cv_lib_pthread_pthread_exit+set}" = set; then |
---|
| 1961 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1962 | else |
---|
| 1963 | ac_check_lib_save_LIBS=$LIBS |
---|
| 1964 | LIBS="-lpthread $LIBS" |
---|
| 1965 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 1966 | /* confdefs.h. */ |
---|
| 1967 | _ACEOF |
---|
| 1968 | cat confdefs.h >>conftest.$ac_ext |
---|
| 1969 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 1970 | /* end confdefs.h. */ |
---|
| 1971 | |
---|
| 1972 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
| 1973 | #ifdef __cplusplus |
---|
| 1974 | extern "C" |
---|
| 1975 | #endif |
---|
| 1976 | /* We use char because int might match the return type of a gcc2 |
---|
| 1977 | builtin and then its argument prototype would still apply. */ |
---|
| 1978 | char pthread_exit (); |
---|
| 1979 | int |
---|
| 1980 | main () |
---|
| 1981 | { |
---|
| 1982 | pthread_exit (); |
---|
| 1983 | ; |
---|
| 1984 | return 0; |
---|
| 1985 | } |
---|
| 1986 | _ACEOF |
---|
| 1987 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
| 1988 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
| 1989 | (eval $ac_link) 2>conftest.er1 |
---|
| 1990 | ac_status=$? |
---|
| 1991 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 1992 | rm -f conftest.er1 |
---|
| 1993 | cat conftest.err >&5 |
---|
| 1994 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1995 | (exit $ac_status); } && |
---|
| 1996 | { ac_try='test -z "$ac_cxx_werror_flag" |
---|
| 1997 | || test ! -s conftest.err' |
---|
| 1998 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 1999 | (eval $ac_try) 2>&5 |
---|
| 2000 | ac_status=$? |
---|
| 2001 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2002 | (exit $ac_status); }; } && |
---|
| 2003 | { ac_try='test -s conftest$ac_exeext' |
---|
| 2004 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 2005 | (eval $ac_try) 2>&5 |
---|
| 2006 | ac_status=$? |
---|
| 2007 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2008 | (exit $ac_status); }; }; then |
---|
| 2009 | ac_cv_lib_pthread_pthread_exit=yes |
---|
| 2010 | else |
---|
| 2011 | echo "$as_me: failed program was:" >&5 |
---|
| 2012 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2013 | |
---|
| 2014 | ac_cv_lib_pthread_pthread_exit=no |
---|
| 2015 | fi |
---|
| 2016 | rm -f conftest.err conftest.$ac_objext \ |
---|
| 2017 | conftest$ac_exeext conftest.$ac_ext |
---|
| 2018 | LIBS=$ac_check_lib_save_LIBS |
---|
| 2019 | fi |
---|
| 2020 | echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_exit" >&5 |
---|
| 2021 | echo "${ECHO_T}$ac_cv_lib_pthread_pthread_exit" >&6 |
---|
| 2022 | if test $ac_cv_lib_pthread_pthread_exit = yes; then |
---|
| 2023 | cat >>confdefs.h <<_ACEOF |
---|
| 2024 | #define HAVE_LIBPTHREAD 1 |
---|
| 2025 | _ACEOF |
---|
| 2026 | |
---|
| 2027 | LIBS="-lpthread $LIBS" |
---|
| 2028 | |
---|
| 2029 | fi |
---|
| 2030 | |
---|
| 2031 | |
---|
| 2032 | echo "$as_me:$LINENO: checking for cos in -lm" >&5 |
---|
| 2033 | echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6 |
---|
| 2034 | if test "${ac_cv_lib_m_cos+set}" = set; then |
---|
| 2035 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 2036 | else |
---|
| 2037 | ac_check_lib_save_LIBS=$LIBS |
---|
| 2038 | LIBS="-lm $LIBS" |
---|
| 2039 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2040 | /* confdefs.h. */ |
---|
| 2041 | _ACEOF |
---|
| 2042 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2043 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2044 | /* end confdefs.h. */ |
---|
| 2045 | |
---|
| 2046 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
| 2047 | #ifdef __cplusplus |
---|
| 2048 | extern "C" |
---|
| 2049 | #endif |
---|
| 2050 | /* We use char because int might match the return type of a gcc2 |
---|
| 2051 | builtin and then its argument prototype would still apply. */ |
---|
| 2052 | char cos (); |
---|
| 2053 | int |
---|
| 2054 | main () |
---|
| 2055 | { |
---|
| 2056 | cos (); |
---|
| 2057 | ; |
---|
| 2058 | return 0; |
---|
| 2059 | } |
---|
| 2060 | _ACEOF |
---|
| 2061 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
| 2062 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
| 2063 | (eval $ac_link) 2>conftest.er1 |
---|
| 2064 | ac_status=$? |
---|
| 2065 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2066 | rm -f conftest.er1 |
---|
| 2067 | cat conftest.err >&5 |
---|
| 2068 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2069 | (exit $ac_status); } && |
---|
| 2070 | { ac_try='test -z "$ac_cxx_werror_flag" |
---|
| 2071 | || test ! -s conftest.err' |
---|
| 2072 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 2073 | (eval $ac_try) 2>&5 |
---|
| 2074 | ac_status=$? |
---|
| 2075 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2076 | (exit $ac_status); }; } && |
---|
| 2077 | { ac_try='test -s conftest$ac_exeext' |
---|
| 2078 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 2079 | (eval $ac_try) 2>&5 |
---|
| 2080 | ac_status=$? |
---|
| 2081 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2082 | (exit $ac_status); }; }; then |
---|
| 2083 | ac_cv_lib_m_cos=yes |
---|
| 2084 | else |
---|
| 2085 | echo "$as_me: failed program was:" >&5 |
---|
| 2086 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2087 | |
---|
| 2088 | ac_cv_lib_m_cos=no |
---|
| 2089 | fi |
---|
| 2090 | rm -f conftest.err conftest.$ac_objext \ |
---|
| 2091 | conftest$ac_exeext conftest.$ac_ext |
---|
| 2092 | LIBS=$ac_check_lib_save_LIBS |
---|
| 2093 | fi |
---|
| 2094 | echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5 |
---|
| 2095 | echo "${ECHO_T}$ac_cv_lib_m_cos" >&6 |
---|
| 2096 | if test $ac_cv_lib_m_cos = yes; then |
---|
| 2097 | cat >>confdefs.h <<_ACEOF |
---|
| 2098 | #define HAVE_LIBM 1 |
---|
| 2099 | _ACEOF |
---|
| 2100 | |
---|
| 2101 | LIBS="-lm $LIBS" |
---|
| 2102 | |
---|
| 2103 | fi |
---|
| 2104 | |
---|
| 2105 | |
---|
| 2106 | echo "$as_me:$LINENO: checking for clock in -lrt" >&5 |
---|
| 2107 | echo $ECHO_N "checking for clock in -lrt... $ECHO_C" >&6 |
---|
| 2108 | if test "${ac_cv_lib_rt_clock+set}" = set; then |
---|
| 2109 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 2110 | else |
---|
| 2111 | ac_check_lib_save_LIBS=$LIBS |
---|
| 2112 | LIBS="-lrt $LIBS" |
---|
| 2113 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2114 | /* confdefs.h. */ |
---|
| 2115 | _ACEOF |
---|
| 2116 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2117 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2118 | /* end confdefs.h. */ |
---|
| 2119 | |
---|
| 2120 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
| 2121 | #ifdef __cplusplus |
---|
| 2122 | extern "C" |
---|
| 2123 | #endif |
---|
| 2124 | /* We use char because int might match the return type of a gcc2 |
---|
| 2125 | builtin and then its argument prototype would still apply. */ |
---|
| 2126 | char clock (); |
---|
| 2127 | int |
---|
| 2128 | main () |
---|
| 2129 | { |
---|
| 2130 | clock (); |
---|
| 2131 | ; |
---|
| 2132 | return 0; |
---|
| 2133 | } |
---|
| 2134 | _ACEOF |
---|
| 2135 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
| 2136 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
| 2137 | (eval $ac_link) 2>conftest.er1 |
---|
| 2138 | ac_status=$? |
---|
| 2139 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2140 | rm -f conftest.er1 |
---|
| 2141 | cat conftest.err >&5 |
---|
| 2142 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2143 | (exit $ac_status); } && |
---|
| 2144 | { ac_try='test -z "$ac_cxx_werror_flag" |
---|
| 2145 | || test ! -s conftest.err' |
---|
| 2146 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 2147 | (eval $ac_try) 2>&5 |
---|
| 2148 | ac_status=$? |
---|
| 2149 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2150 | (exit $ac_status); }; } && |
---|
| 2151 | { ac_try='test -s conftest$ac_exeext' |
---|
| 2152 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 2153 | (eval $ac_try) 2>&5 |
---|
| 2154 | ac_status=$? |
---|
| 2155 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2156 | (exit $ac_status); }; }; then |
---|
| 2157 | ac_cv_lib_rt_clock=yes |
---|
| 2158 | else |
---|
| 2159 | echo "$as_me: failed program was:" >&5 |
---|
| 2160 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2161 | |
---|
| 2162 | ac_cv_lib_rt_clock=no |
---|
| 2163 | fi |
---|
| 2164 | rm -f conftest.err conftest.$ac_objext \ |
---|
| 2165 | conftest$ac_exeext conftest.$ac_ext |
---|
| 2166 | LIBS=$ac_check_lib_save_LIBS |
---|
| 2167 | fi |
---|
| 2168 | echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock" >&5 |
---|
| 2169 | echo "${ECHO_T}$ac_cv_lib_rt_clock" >&6 |
---|
| 2170 | if test $ac_cv_lib_rt_clock = yes; then |
---|
| 2171 | cat >>confdefs.h <<_ACEOF |
---|
| 2172 | #define HAVE_LIBRT 1 |
---|
| 2173 | _ACEOF |
---|
| 2174 | |
---|
| 2175 | LIBS="-lrt $LIBS" |
---|
| 2176 | |
---|
| 2177 | fi |
---|
| 2178 | |
---|
| 2179 | |
---|
| 2180 | # |
---|
| 2181 | # enumerate test files and test each one: |
---|
| 2182 | # |
---|
| 2183 | for file in $boost_base/libs/config/test/boost_no*.ipp; do |
---|
| 2184 | |
---|
| 2185 | basename=`echo $file | $SED 's/.*boost_\(.*\)\.ipp/\1/'` |
---|
| 2186 | macroname=`cat $file | grep '^//[ ]*MACRO:' | $SED 's/.*MACRO:[ ]*\([_A-Z0-9]*\).*/\1/'` |
---|
| 2187 | title=`cat $file | grep '^//[ ]*TITLE:' | $SED 's/.*TITLE:[ ]*\([^ ].*\)/\1/'` |
---|
| 2188 | namespace=`echo $macroname | tr [A-Z] [a-z]` |
---|
| 2189 | |
---|
| 2190 | #echo file = $file |
---|
| 2191 | #echo basename = $basename |
---|
| 2192 | #echo macroname = $macroname |
---|
| 2193 | #echo title = $title |
---|
| 2194 | #echo namespace = $namespace |
---|
| 2195 | |
---|
| 2196 | ac_ext=$use_ac_ext |
---|
| 2197 | if test $enable_test = 'yes'; then |
---|
| 2198 | echo "$as_me:$LINENO: checking $title (pass expected) " >&5 |
---|
| 2199 | echo $ECHO_N "checking $title (pass expected) ... $ECHO_C" >&6 |
---|
| 2200 | else |
---|
| 2201 | echo "$as_me:$LINENO: checking $title " >&5 |
---|
| 2202 | echo $ECHO_N "checking $title ... $ECHO_C" >&6 |
---|
| 2203 | fi |
---|
| 2204 | if test "$cross_compiling" = yes; then |
---|
| 2205 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
---|
| 2206 | See \`config.log' for more details." >&5 |
---|
| 2207 | echo "$as_me: error: cannot run test program while cross compiling |
---|
| 2208 | See \`config.log' for more details." >&2;} |
---|
| 2209 | { (exit 1); exit 1; }; } |
---|
| 2210 | else |
---|
| 2211 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2212 | /* confdefs.h. */ |
---|
| 2213 | _ACEOF |
---|
| 2214 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2215 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2216 | /* end confdefs.h. */ |
---|
| 2217 | |
---|
| 2218 | #include <boost/config.hpp> |
---|
| 2219 | #include "test.hpp" |
---|
| 2220 | |
---|
| 2221 | #if !defined($macroname) || defined(BOOST_NO_CONFIG) |
---|
| 2222 | #include "boost_$basename.ipp" |
---|
| 2223 | #else |
---|
| 2224 | namespace ${namespace} = empty_boost; |
---|
| 2225 | #endif |
---|
| 2226 | |
---|
| 2227 | int main(){ return ${namespace}::test(); } |
---|
| 2228 | |
---|
| 2229 | _ACEOF |
---|
| 2230 | rm -f conftest$ac_exeext |
---|
| 2231 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
| 2232 | (eval $ac_link) 2>&5 |
---|
| 2233 | ac_status=$? |
---|
| 2234 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2235 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
---|
| 2236 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 2237 | (eval $ac_try) 2>&5 |
---|
| 2238 | ac_status=$? |
---|
| 2239 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2240 | (exit $ac_status); }; }; then |
---|
| 2241 | echo "$as_me:$LINENO: result: OK" >&5 |
---|
| 2242 | echo "${ECHO_T}OK" >&6 |
---|
| 2243 | |
---|
| 2244 | else |
---|
| 2245 | echo "$as_me: program exited with status $ac_status" >&5 |
---|
| 2246 | echo "$as_me: failed program was:" >&5 |
---|
| 2247 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2248 | |
---|
| 2249 | ( exit $ac_status ) |
---|
| 2250 | echo "$as_me:$LINENO: result: Failed" >&5 |
---|
| 2251 | echo "${ECHO_T}Failed" >&6 |
---|
| 2252 | required_defs="$macroname $required_defs" |
---|
| 2253 | |
---|
| 2254 | fi |
---|
| 2255 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
---|
| 2256 | fi |
---|
| 2257 | |
---|
| 2258 | if test $enable_test = 'yes'; then |
---|
| 2259 | |
---|
| 2260 | ac_ext=$use_ac_ext |
---|
| 2261 | echo "$as_me:$LINENO: checking $title (fail expected) " >&5 |
---|
| 2262 | echo $ECHO_N "checking $title (fail expected) ... $ECHO_C" >&6 |
---|
| 2263 | if test "$cross_compiling" = yes; then |
---|
| 2264 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
---|
| 2265 | See \`config.log' for more details." >&5 |
---|
| 2266 | echo "$as_me: error: cannot run test program while cross compiling |
---|
| 2267 | See \`config.log' for more details." >&2;} |
---|
| 2268 | { (exit 1); exit 1; }; } |
---|
| 2269 | else |
---|
| 2270 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2271 | /* confdefs.h. */ |
---|
| 2272 | _ACEOF |
---|
| 2273 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2274 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2275 | /* end confdefs.h. */ |
---|
| 2276 | |
---|
| 2277 | #include <boost/config.hpp> |
---|
| 2278 | #include "test.hpp" |
---|
| 2279 | |
---|
| 2280 | #ifdef $macroname |
---|
| 2281 | #include "boost_$basename.ipp" |
---|
| 2282 | #else |
---|
| 2283 | #error "this file should not compile" |
---|
| 2284 | #endif |
---|
| 2285 | |
---|
| 2286 | int main() { return ${namespace}::test(); } |
---|
| 2287 | |
---|
| 2288 | _ACEOF |
---|
| 2289 | rm -f conftest$ac_exeext |
---|
| 2290 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
| 2291 | (eval $ac_link) 2>&5 |
---|
| 2292 | ac_status=$? |
---|
| 2293 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2294 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
---|
| 2295 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 2296 | (eval $ac_try) 2>&5 |
---|
| 2297 | ac_status=$? |
---|
| 2298 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2299 | (exit $ac_status); }; }; then |
---|
| 2300 | echo "$as_me:$LINENO: result: failed" >&5 |
---|
| 2301 | echo "${ECHO_T}failed" >&6 |
---|
| 2302 | required_undefs="$macroname $required_undefs" |
---|
| 2303 | |
---|
| 2304 | else |
---|
| 2305 | echo "$as_me: program exited with status $ac_status" >&5 |
---|
| 2306 | echo "$as_me: failed program was:" >&5 |
---|
| 2307 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2308 | |
---|
| 2309 | ( exit $ac_status ) |
---|
| 2310 | echo "$as_me:$LINENO: result: OK" >&5 |
---|
| 2311 | echo "${ECHO_T}OK" >&6 |
---|
| 2312 | |
---|
| 2313 | fi |
---|
| 2314 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
---|
| 2315 | fi |
---|
| 2316 | |
---|
| 2317 | fi |
---|
| 2318 | |
---|
| 2319 | done |
---|
| 2320 | |
---|
| 2321 | # |
---|
| 2322 | # enumerate optional test files and test each one: |
---|
| 2323 | # |
---|
| 2324 | for file in $boost_base/libs/config/test/boost_has*.ipp; do |
---|
| 2325 | |
---|
| 2326 | basename=`echo $file | $SED 's/.*boost_\(.*\)\.ipp/\1/'` |
---|
| 2327 | macroname=`cat $file | grep '^//[ ]*MACRO:' | $SED 's/.*MACRO:[ ]*\([_A-Z0-9]*\).*/\1/'` |
---|
| 2328 | title=`cat $file | grep '^//[ ]*TITLE:' | $SED 's/.*TITLE:[ ]*\([^ ].*\)/\1/'` |
---|
| 2329 | namespace=`echo $macroname | tr [A-Z] [a-z]` |
---|
| 2330 | |
---|
| 2331 | # echo $file |
---|
| 2332 | # echo $basename |
---|
| 2333 | # echo $macroname |
---|
| 2334 | # echo $title |
---|
| 2335 | |
---|
| 2336 | ac_ext=$use_ac_ext |
---|
| 2337 | if test $enable_test = 'yes'; then |
---|
| 2338 | echo "$as_me:$LINENO: checking $title (pass expected) " >&5 |
---|
| 2339 | echo $ECHO_N "checking $title (pass expected) ... $ECHO_C" >&6 |
---|
| 2340 | if test "$cross_compiling" = yes; then |
---|
| 2341 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
---|
| 2342 | See \`config.log' for more details." >&5 |
---|
| 2343 | echo "$as_me: error: cannot run test program while cross compiling |
---|
| 2344 | See \`config.log' for more details." >&2;} |
---|
| 2345 | { (exit 1); exit 1; }; } |
---|
| 2346 | else |
---|
| 2347 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2348 | /* confdefs.h. */ |
---|
| 2349 | _ACEOF |
---|
| 2350 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2351 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2352 | /* end confdefs.h. */ |
---|
| 2353 | |
---|
| 2354 | #include <boost/config.hpp> |
---|
| 2355 | #include "test.hpp" |
---|
| 2356 | |
---|
| 2357 | #ifdef $macroname |
---|
| 2358 | #include "boost_$basename.ipp" |
---|
| 2359 | #else |
---|
| 2360 | namespace ${namespace} = empty_boost; |
---|
| 2361 | #endif |
---|
| 2362 | |
---|
| 2363 | int main(){ return ${namespace}::test(); } |
---|
| 2364 | |
---|
| 2365 | _ACEOF |
---|
| 2366 | rm -f conftest$ac_exeext |
---|
| 2367 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
| 2368 | (eval $ac_link) 2>&5 |
---|
| 2369 | ac_status=$? |
---|
| 2370 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2371 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
---|
| 2372 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 2373 | (eval $ac_try) 2>&5 |
---|
| 2374 | ac_status=$? |
---|
| 2375 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2376 | (exit $ac_status); }; }; then |
---|
| 2377 | echo "$as_me:$LINENO: result: OK" >&5 |
---|
| 2378 | echo "${ECHO_T}OK" >&6 |
---|
| 2379 | |
---|
| 2380 | else |
---|
| 2381 | echo "$as_me: program exited with status $ac_status" >&5 |
---|
| 2382 | echo "$as_me: failed program was:" >&5 |
---|
| 2383 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2384 | |
---|
| 2385 | ( exit $ac_status ) |
---|
| 2386 | echo "$as_me:$LINENO: result: Failed" >&5 |
---|
| 2387 | echo "${ECHO_T}Failed" >&6 |
---|
| 2388 | required_undefs="$macroname $required_undefs" |
---|
| 2389 | |
---|
| 2390 | fi |
---|
| 2391 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
---|
| 2392 | fi |
---|
| 2393 | |
---|
| 2394 | echo "$as_me:$LINENO: checking $title (fail expected) " >&5 |
---|
| 2395 | echo $ECHO_N "checking $title (fail expected) ... $ECHO_C" >&6 |
---|
| 2396 | if test "$cross_compiling" = yes; then |
---|
| 2397 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
---|
| 2398 | See \`config.log' for more details." >&5 |
---|
| 2399 | echo "$as_me: error: cannot run test program while cross compiling |
---|
| 2400 | See \`config.log' for more details." >&2;} |
---|
| 2401 | { (exit 1); exit 1; }; } |
---|
| 2402 | else |
---|
| 2403 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2404 | /* confdefs.h. */ |
---|
| 2405 | _ACEOF |
---|
| 2406 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2407 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2408 | /* end confdefs.h. */ |
---|
| 2409 | |
---|
| 2410 | #include <boost/config.hpp> |
---|
| 2411 | #include "test.hpp" |
---|
| 2412 | |
---|
| 2413 | #ifndef $macroname |
---|
| 2414 | #include "boost_$basename.ipp" |
---|
| 2415 | #else |
---|
| 2416 | #error "this file should not compile" |
---|
| 2417 | #endif |
---|
| 2418 | |
---|
| 2419 | int main(){ return ${namespace}::test(); } |
---|
| 2420 | |
---|
| 2421 | _ACEOF |
---|
| 2422 | rm -f conftest$ac_exeext |
---|
| 2423 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
| 2424 | (eval $ac_link) 2>&5 |
---|
| 2425 | ac_status=$? |
---|
| 2426 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2427 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
---|
| 2428 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 2429 | (eval $ac_try) 2>&5 |
---|
| 2430 | ac_status=$? |
---|
| 2431 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2432 | (exit $ac_status); }; }; then |
---|
| 2433 | |
---|
| 2434 | echo "$as_me:$LINENO: result: failed" >&5 |
---|
| 2435 | echo "${ECHO_T}failed" >&6 |
---|
| 2436 | required_defs="$macroname $required_defs" |
---|
| 2437 | |
---|
| 2438 | |
---|
| 2439 | else |
---|
| 2440 | echo "$as_me: program exited with status $ac_status" >&5 |
---|
| 2441 | echo "$as_me: failed program was:" >&5 |
---|
| 2442 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2443 | |
---|
| 2444 | ( exit $ac_status ) |
---|
| 2445 | |
---|
| 2446 | echo "$as_me:$LINENO: result: OK" >&5 |
---|
| 2447 | echo "${ECHO_T}OK" >&6 |
---|
| 2448 | |
---|
| 2449 | |
---|
| 2450 | fi |
---|
| 2451 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
---|
| 2452 | fi |
---|
| 2453 | |
---|
| 2454 | else |
---|
| 2455 | |
---|
| 2456 | ac_ext=$use_ac_ext |
---|
| 2457 | echo "$as_me:$LINENO: checking $title" >&5 |
---|
| 2458 | echo $ECHO_N "checking $title... $ECHO_C" >&6 |
---|
| 2459 | if test "$cross_compiling" = yes; then |
---|
| 2460 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
---|
| 2461 | See \`config.log' for more details." >&5 |
---|
| 2462 | echo "$as_me: error: cannot run test program while cross compiling |
---|
| 2463 | See \`config.log' for more details." >&2;} |
---|
| 2464 | { (exit 1); exit 1; }; } |
---|
| 2465 | else |
---|
| 2466 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2467 | /* confdefs.h. */ |
---|
| 2468 | _ACEOF |
---|
| 2469 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2470 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2471 | /* end confdefs.h. */ |
---|
| 2472 | |
---|
| 2473 | #include <boost/config.hpp> |
---|
| 2474 | #include "test.hpp" |
---|
| 2475 | |
---|
| 2476 | #include "boost_$basename.ipp" |
---|
| 2477 | |
---|
| 2478 | int main(){ return ${namespace}::test(); } |
---|
| 2479 | |
---|
| 2480 | _ACEOF |
---|
| 2481 | rm -f conftest$ac_exeext |
---|
| 2482 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
| 2483 | (eval $ac_link) 2>&5 |
---|
| 2484 | ac_status=$? |
---|
| 2485 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2486 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
---|
| 2487 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 2488 | (eval $ac_try) 2>&5 |
---|
| 2489 | ac_status=$? |
---|
| 2490 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2491 | (exit $ac_status); }; }; then |
---|
| 2492 | |
---|
| 2493 | echo "$as_me:$LINENO: result: Yes" >&5 |
---|
| 2494 | echo "${ECHO_T}Yes" >&6 |
---|
| 2495 | required_defs="$macroname $required_defs" |
---|
| 2496 | |
---|
| 2497 | |
---|
| 2498 | else |
---|
| 2499 | echo "$as_me: program exited with status $ac_status" >&5 |
---|
| 2500 | echo "$as_me: failed program was:" >&5 |
---|
| 2501 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2502 | |
---|
| 2503 | ( exit $ac_status ) |
---|
| 2504 | |
---|
| 2505 | echo "$as_me:$LINENO: result: no" >&5 |
---|
| 2506 | echo "${ECHO_T}no" >&6 |
---|
| 2507 | |
---|
| 2508 | |
---|
| 2509 | fi |
---|
| 2510 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
---|
| 2511 | fi |
---|
| 2512 | |
---|
| 2513 | fi |
---|
| 2514 | |
---|
| 2515 | done |
---|
| 2516 | |
---|
| 2517 | |
---|
| 2518 | #echo $required_defs |
---|
| 2519 | #echo $required_undefs |
---|
| 2520 | |
---|
| 2521 | if test $enable_test = 'yes'; then |
---|
| 2522 | |
---|
| 2523 | if test "$required_defs" = ""; then |
---|
| 2524 | echo no boost macros need to be defined |
---|
| 2525 | echo no boost macros need to be defined >&5 |
---|
| 2526 | else |
---|
| 2527 | echo the following macros need to be defined |
---|
| 2528 | echo $required_defs |
---|
| 2529 | echo the following macros need to be defined >&5 |
---|
| 2530 | echo $required_defs >&5 |
---|
| 2531 | fi |
---|
| 2532 | if test "$required_undefs" = ""; then |
---|
| 2533 | echo no boost macros need to be undefined |
---|
| 2534 | echo no boost macros need to be undefined >&5 |
---|
| 2535 | else |
---|
| 2536 | echo "the following macros need to be undef'ed" |
---|
| 2537 | echo $required_undefs |
---|
| 2538 | echo "the following macros need to be undef'ed" >&5 |
---|
| 2539 | echo $required_undefs >&5 |
---|
| 2540 | fi |
---|
| 2541 | |
---|
| 2542 | else |
---|
| 2543 | |
---|
| 2544 | date_string=`date` |
---|
| 2545 | |
---|
| 2546 | echo boost_base=$boost_base |
---|
| 2547 | |
---|
| 2548 | cat > user.hpp << EOF |
---|
| 2549 | // (C) Copyright Boost.org 2001. |
---|
| 2550 | // Do not check in modified versions of this file, |
---|
| 2551 | // This file may be customised by the end user, but not by boost. |
---|
| 2552 | |
---|
| 2553 | // |
---|
| 2554 | // Use this file to define a site and compiler specific |
---|
| 2555 | // configuration policy, this version was auto-generated by |
---|
| 2556 | // configure on ${date_string} |
---|
| 2557 | // With the following options: |
---|
| 2558 | // CXX = ${CXX} |
---|
| 2559 | // CXXFLAGS = ${CXXFLAGS} |
---|
| 2560 | // LDFLAGS = ${LDFLAGS} |
---|
| 2561 | // LIBS = ${LIBS} |
---|
| 2562 | // |
---|
| 2563 | |
---|
| 2564 | // define this to disable all config options, |
---|
| 2565 | // excluding the user config. Use if your |
---|
| 2566 | // setup is fully ISO complient, and has no |
---|
| 2567 | // useful extentions, or for autoconf generated |
---|
| 2568 | // setups: |
---|
| 2569 | #ifndef BOOST_NO_CONFIG |
---|
| 2570 | # define BOOST_NO_CONFIG |
---|
| 2571 | #endif |
---|
| 2572 | |
---|
| 2573 | |
---|
| 2574 | // define if you want to disable threading support, even |
---|
| 2575 | // when available: |
---|
| 2576 | // #define BOOST_DISABLE_THREADS |
---|
| 2577 | |
---|
| 2578 | // define if you want the regex library to use the C locale |
---|
| 2579 | // even on Win32: |
---|
| 2580 | // #define BOOST_REGEX_USE_C_LOCALE |
---|
| 2581 | |
---|
| 2582 | // define this is you want the regex library to use the C++ |
---|
| 2583 | // locale: |
---|
| 2584 | // #define BOOST_REGEX_USE_CPP_LOCALE |
---|
| 2585 | |
---|
| 2586 | |
---|
| 2587 | // |
---|
| 2588 | // options added by configure: |
---|
| 2589 | // |
---|
| 2590 | EOF |
---|
| 2591 | |
---|
| 2592 | for name in $required_defs; do |
---|
| 2593 | echo '#define '"$name" >> user.hpp |
---|
| 2594 | done |
---|
| 2595 | |
---|
| 2596 | cat_conts=`cat user.hpp` |
---|
| 2597 | |
---|
| 2598 | # |
---|
| 2599 | # post configuration step: |
---|
| 2600 | # |
---|
| 2601 | echo "$as_me:$LINENO: checking original configuration " >&5 |
---|
| 2602 | echo $ECHO_N "checking original configuration ... $ECHO_C" >&6 |
---|
| 2603 | rm -f conftest$ac_exeext |
---|
| 2604 | $CXX -I$boost_base $OLD_CXXFLAGS -DBOOST_NO_USER_CONFIG -o conftest$ac_exeext $LDFLAGS $boost_base/libs/config/test/config_info.cpp $LIBS >&5 2>&1 |
---|
| 2605 | ./conftest >&5 2>&1 |
---|
| 2606 | echo "$as_me:$LINENO: result: done" >&5 |
---|
| 2607 | echo "${ECHO_T}done" >&6 |
---|
| 2608 | echo "$as_me:$LINENO: checking new configuration " >&5 |
---|
| 2609 | echo $ECHO_N "checking new configuration ... $ECHO_C" >&6 |
---|
| 2610 | rm -f conftest$ac_exeext |
---|
| 2611 | $CXX -I$boost_base -I$boost_base/libs/config $OLD_CXXFLAGS -DBOOST_USER_CONFIG='"user.hpp"' -o conftest$ac_exeext $LDFLAGS $boost_base/libs/config/test/config_info.cpp $LIBS >&5 2>&1 |
---|
| 2612 | ./conftest >&5 2>&1 |
---|
| 2613 | echo "$as_me:$LINENO: result: done" >&5 |
---|
| 2614 | echo "${ECHO_T}done" >&6 |
---|
| 2615 | |
---|
| 2616 | ac_config_commands="$ac_config_commands default" |
---|
| 2617 | |
---|
| 2618 | |
---|
| 2619 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
| 2620 | # Let make expand exec_prefix. |
---|
| 2621 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
| 2622 | |
---|
| 2623 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
---|
| 2624 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
---|
| 2625 | # trailing colons and then remove the whole line if VPATH becomes empty |
---|
| 2626 | # (actually we leave an empty line to preserve line numbers). |
---|
| 2627 | if test "x$srcdir" = x.; then |
---|
| 2628 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
---|
| 2629 | s/:*\$(srcdir):*/:/; |
---|
| 2630 | s/:*\${srcdir}:*/:/; |
---|
| 2631 | s/:*@srcdir@:*/:/; |
---|
| 2632 | s/^\([^=]*=[ ]*\):*/\1/; |
---|
| 2633 | s/:*$//; |
---|
| 2634 | s/^[^=]*=[ ]*$//; |
---|
| 2635 | }' |
---|
| 2636 | fi |
---|
| 2637 | |
---|
| 2638 | # Transform confdefs.h into DEFS. |
---|
| 2639 | # Protect against shell expansion while executing Makefile rules. |
---|
| 2640 | # Protect against Makefile macro expansion. |
---|
| 2641 | # |
---|
| 2642 | # If the first sed substitution is executed (which looks for macros that |
---|
| 2643 | # take arguments), then we branch to the quote section. Otherwise, |
---|
| 2644 | # look for a macro that doesn't take arguments. |
---|
| 2645 | cat >confdef2opt.sed <<\_ACEOF |
---|
| 2646 | t clear |
---|
| 2647 | : clear |
---|
| 2648 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g |
---|
| 2649 | t quote |
---|
| 2650 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g |
---|
| 2651 | t quote |
---|
| 2652 | d |
---|
| 2653 | : quote |
---|
| 2654 | s,[ `~#$^&*(){}\\|;'"<>?],\\&,g |
---|
| 2655 | s,\[,\\&,g |
---|
| 2656 | s,\],\\&,g |
---|
| 2657 | s,\$,$$,g |
---|
| 2658 | p |
---|
| 2659 | _ACEOF |
---|
| 2660 | # We use echo to avoid assuming a particular line-breaking character. |
---|
| 2661 | # The extra dot is to prevent the shell from consuming trailing |
---|
| 2662 | # line-breaks from the sub-command output. A line-break within |
---|
| 2663 | # single-quotes doesn't work because, if this script is created in a |
---|
| 2664 | # platform that uses two characters for line-breaks (e.g., DOS), tr |
---|
| 2665 | # would break. |
---|
| 2666 | ac_LF_and_DOT=`echo; echo .` |
---|
| 2667 | DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` |
---|
| 2668 | rm -f confdef2opt.sed |
---|
| 2669 | |
---|
| 2670 | |
---|
| 2671 | ac_libobjs= |
---|
| 2672 | ac_ltlibobjs= |
---|
| 2673 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
---|
| 2674 | # 1. Remove the extension, and $U if already installed. |
---|
| 2675 | ac_i=`echo "$ac_i" | |
---|
| 2676 | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
---|
| 2677 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
---|
| 2678 | # will be set to the directory where LIBOBJS objects are built. |
---|
| 2679 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
---|
| 2680 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
---|
| 2681 | done |
---|
| 2682 | LIBOBJS=$ac_libobjs |
---|
| 2683 | |
---|
| 2684 | LTLIBOBJS=$ac_ltlibobjs |
---|
| 2685 | |
---|
| 2686 | |
---|
| 2687 | |
---|
| 2688 | : ${CONFIG_STATUS=./config.status} |
---|
| 2689 | ac_clean_files_save=$ac_clean_files |
---|
| 2690 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
---|
| 2691 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
---|
| 2692 | echo "$as_me: creating $CONFIG_STATUS" >&6;} |
---|
| 2693 | cat >$CONFIG_STATUS <<_ACEOF |
---|
| 2694 | #! $SHELL |
---|
| 2695 | # Generated by $as_me. |
---|
| 2696 | # Run this file to recreate the current configuration. |
---|
| 2697 | # Compiler output produced by configure, useful for debugging |
---|
| 2698 | # configure, is in config.log if it exists. |
---|
| 2699 | |
---|
| 2700 | debug=false |
---|
| 2701 | ac_cs_recheck=false |
---|
| 2702 | ac_cs_silent=false |
---|
| 2703 | SHELL=\${CONFIG_SHELL-$SHELL} |
---|
| 2704 | _ACEOF |
---|
| 2705 | |
---|
| 2706 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 2707 | ## --------------------- ## |
---|
| 2708 | ## M4sh Initialization. ## |
---|
| 2709 | ## --------------------- ## |
---|
| 2710 | |
---|
| 2711 | # Be Bourne compatible |
---|
| 2712 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
| 2713 | emulate sh |
---|
| 2714 | NULLCMD=: |
---|
| 2715 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
---|
| 2716 | # is contrary to our usage. Disable this feature. |
---|
| 2717 | alias -g '${1+"$@"}'='"$@"' |
---|
| 2718 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
---|
| 2719 | set -o posix |
---|
| 2720 | fi |
---|
| 2721 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
| 2722 | |
---|
| 2723 | # Support unset when possible. |
---|
| 2724 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
---|
| 2725 | as_unset=unset |
---|
| 2726 | else |
---|
| 2727 | as_unset=false |
---|
| 2728 | fi |
---|
| 2729 | |
---|
| 2730 | |
---|
| 2731 | # Work around bugs in pre-3.0 UWIN ksh. |
---|
| 2732 | $as_unset ENV MAIL MAILPATH |
---|
| 2733 | PS1='$ ' |
---|
| 2734 | PS2='> ' |
---|
| 2735 | PS4='+ ' |
---|
| 2736 | |
---|
| 2737 | # NLS nuisances. |
---|
| 2738 | for as_var in \ |
---|
| 2739 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
---|
| 2740 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
---|
| 2741 | LC_TELEPHONE LC_TIME |
---|
| 2742 | do |
---|
| 2743 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
---|
| 2744 | eval $as_var=C; export $as_var |
---|
| 2745 | else |
---|
| 2746 | $as_unset $as_var |
---|
| 2747 | fi |
---|
| 2748 | done |
---|
| 2749 | |
---|
| 2750 | # Required to use basename. |
---|
| 2751 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
| 2752 | as_expr=expr |
---|
| 2753 | else |
---|
| 2754 | as_expr=false |
---|
| 2755 | fi |
---|
| 2756 | |
---|
| 2757 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
---|
| 2758 | as_basename=basename |
---|
| 2759 | else |
---|
| 2760 | as_basename=false |
---|
| 2761 | fi |
---|
| 2762 | |
---|
| 2763 | |
---|
| 2764 | # Name of the executable. |
---|
| 2765 | as_me=`$as_basename "$0" || |
---|
| 2766 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
| 2767 | X"$0" : 'X\(//\)$' \| \ |
---|
| 2768 | X"$0" : 'X\(/\)$' \| \ |
---|
| 2769 | . : '\(.\)' 2>/dev/null || |
---|
| 2770 | echo X/"$0" | |
---|
| 2771 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
---|
| 2772 | /^X\/\(\/\/\)$/{ s//\1/; q; } |
---|
| 2773 | /^X\/\(\/\).*/{ s//\1/; q; } |
---|
| 2774 | s/.*/./; q'` |
---|
| 2775 | |
---|
| 2776 | |
---|
| 2777 | # PATH needs CR, and LINENO needs CR and PATH. |
---|
| 2778 | # Avoid depending upon Character Ranges. |
---|
| 2779 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
| 2780 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
| 2781 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
| 2782 | as_cr_digits='0123456789' |
---|
| 2783 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
| 2784 | |
---|
| 2785 | # The user is always right. |
---|
| 2786 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
| 2787 | echo "#! /bin/sh" >conf$$.sh |
---|
| 2788 | echo "exit 0" >>conf$$.sh |
---|
| 2789 | chmod +x conf$$.sh |
---|
| 2790 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
---|
| 2791 | PATH_SEPARATOR=';' |
---|
| 2792 | else |
---|
| 2793 | PATH_SEPARATOR=: |
---|
| 2794 | fi |
---|
| 2795 | rm -f conf$$.sh |
---|
| 2796 | fi |
---|
| 2797 | |
---|
| 2798 | |
---|
| 2799 | as_lineno_1=$LINENO |
---|
| 2800 | as_lineno_2=$LINENO |
---|
| 2801 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
| 2802 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
| 2803 | test "x$as_lineno_3" = "x$as_lineno_2" || { |
---|
| 2804 | # Find who we are. Look in the path if we contain no path at all |
---|
| 2805 | # relative or not. |
---|
| 2806 | case $0 in |
---|
| 2807 | *[\\/]* ) as_myself=$0 ;; |
---|
| 2808 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2809 | for as_dir in $PATH |
---|
| 2810 | do |
---|
| 2811 | IFS=$as_save_IFS |
---|
| 2812 | test -z "$as_dir" && as_dir=. |
---|
| 2813 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
| 2814 | done |
---|
| 2815 | |
---|
| 2816 | ;; |
---|
| 2817 | esac |
---|
| 2818 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
| 2819 | # in which case we are not to be found in the path. |
---|
| 2820 | if test "x$as_myself" = x; then |
---|
| 2821 | as_myself=$0 |
---|
| 2822 | fi |
---|
| 2823 | if test ! -f "$as_myself"; then |
---|
| 2824 | { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
---|
| 2825 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
---|
| 2826 | { (exit 1); exit 1; }; } |
---|
| 2827 | fi |
---|
| 2828 | case $CONFIG_SHELL in |
---|
| 2829 | '') |
---|
| 2830 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2831 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
| 2832 | do |
---|
| 2833 | IFS=$as_save_IFS |
---|
| 2834 | test -z "$as_dir" && as_dir=. |
---|
| 2835 | for as_base in sh bash ksh sh5; do |
---|
| 2836 | case $as_dir in |
---|
| 2837 | /*) |
---|
| 2838 | if ("$as_dir/$as_base" -c ' |
---|
| 2839 | as_lineno_1=$LINENO |
---|
| 2840 | as_lineno_2=$LINENO |
---|
| 2841 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
| 2842 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
| 2843 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
---|
| 2844 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
---|
| 2845 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
---|
| 2846 | CONFIG_SHELL=$as_dir/$as_base |
---|
| 2847 | export CONFIG_SHELL |
---|
| 2848 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
---|
| 2849 | fi;; |
---|
| 2850 | esac |
---|
| 2851 | done |
---|
| 2852 | done |
---|
| 2853 | ;; |
---|
| 2854 | esac |
---|
| 2855 | |
---|
| 2856 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
---|
| 2857 | # uniformly replaced by the line number. The first 'sed' inserts a |
---|
| 2858 | # line-number line before each line; the second 'sed' does the real |
---|
| 2859 | # work. The second script uses 'N' to pair each line-number line |
---|
| 2860 | # with the numbered line, and appends trailing '-' during |
---|
| 2861 | # substitution so that $LINENO is not a special case at line end. |
---|
| 2862 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
---|
| 2863 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
---|
| 2864 | sed '=' <$as_myself | |
---|
| 2865 | sed ' |
---|
| 2866 | N |
---|
| 2867 | s,$,-, |
---|
| 2868 | : loop |
---|
| 2869 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
---|
| 2870 | t loop |
---|
| 2871 | s,-$,, |
---|
| 2872 | s,^['$as_cr_digits']*\n,, |
---|
| 2873 | ' >$as_me.lineno && |
---|
| 2874 | chmod +x $as_me.lineno || |
---|
| 2875 | { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
---|
| 2876 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
---|
| 2877 | { (exit 1); exit 1; }; } |
---|
| 2878 | |
---|
| 2879 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
| 2880 | # (the dirname of $[0] is not the place where we might find the |
---|
| 2881 | # original and so on. Autoconf is especially sensible to this). |
---|
| 2882 | . ./$as_me.lineno |
---|
| 2883 | # Exit status is that of the last command. |
---|
| 2884 | exit |
---|
| 2885 | } |
---|
| 2886 | |
---|
| 2887 | |
---|
| 2888 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
---|
| 2889 | *c*,-n*) ECHO_N= ECHO_C=' |
---|
| 2890 | ' ECHO_T=' ' ;; |
---|
| 2891 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
---|
| 2892 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
---|
| 2893 | esac |
---|
| 2894 | |
---|
| 2895 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
| 2896 | as_expr=expr |
---|
| 2897 | else |
---|
| 2898 | as_expr=false |
---|
| 2899 | fi |
---|
| 2900 | |
---|
| 2901 | rm -f conf$$ conf$$.exe conf$$.file |
---|
| 2902 | echo >conf$$.file |
---|
| 2903 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
| 2904 | # We could just check for DJGPP; but this test a) works b) is more generic |
---|
| 2905 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
---|
| 2906 | if test -f conf$$.exe; then |
---|
| 2907 | # Don't use ln at all; we don't have any links |
---|
| 2908 | as_ln_s='cp -p' |
---|
| 2909 | else |
---|
| 2910 | as_ln_s='ln -s' |
---|
| 2911 | fi |
---|
| 2912 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
| 2913 | as_ln_s=ln |
---|
| 2914 | else |
---|
| 2915 | as_ln_s='cp -p' |
---|
| 2916 | fi |
---|
| 2917 | rm -f conf$$ conf$$.exe conf$$.file |
---|
| 2918 | |
---|
| 2919 | if mkdir -p . 2>/dev/null; then |
---|
| 2920 | as_mkdir_p=: |
---|
| 2921 | else |
---|
| 2922 | test -d ./-p && rmdir ./-p |
---|
| 2923 | as_mkdir_p=false |
---|
| 2924 | fi |
---|
| 2925 | |
---|
| 2926 | as_executable_p="test -f" |
---|
| 2927 | |
---|
| 2928 | # Sed expression to map a string onto a valid CPP name. |
---|
| 2929 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 2930 | |
---|
| 2931 | # Sed expression to map a string onto a valid variable name. |
---|
| 2932 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 2933 | |
---|
| 2934 | |
---|
| 2935 | # IFS |
---|
| 2936 | # We need space, tab and new line, in precisely that order. |
---|
| 2937 | as_nl=' |
---|
| 2938 | ' |
---|
| 2939 | IFS=" $as_nl" |
---|
| 2940 | |
---|
| 2941 | # CDPATH. |
---|
| 2942 | $as_unset CDPATH |
---|
| 2943 | |
---|
| 2944 | exec 6>&1 |
---|
| 2945 | |
---|
| 2946 | # Open the log real soon, to keep \$[0] and so on meaningful, and to |
---|
| 2947 | # report actual input values of CONFIG_FILES etc. instead of their |
---|
| 2948 | # values after options handling. Logging --version etc. is OK. |
---|
| 2949 | exec 5>>config.log |
---|
| 2950 | { |
---|
| 2951 | echo |
---|
| 2952 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
---|
| 2953 | ## Running $as_me. ## |
---|
| 2954 | _ASBOX |
---|
| 2955 | } >&5 |
---|
| 2956 | cat >&5 <<_CSEOF |
---|
| 2957 | |
---|
| 2958 | This file was extended by $as_me, which was |
---|
| 2959 | generated by GNU Autoconf 2.59. Invocation command line was |
---|
| 2960 | |
---|
| 2961 | CONFIG_FILES = $CONFIG_FILES |
---|
| 2962 | CONFIG_HEADERS = $CONFIG_HEADERS |
---|
| 2963 | CONFIG_LINKS = $CONFIG_LINKS |
---|
| 2964 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
---|
| 2965 | $ $0 $@ |
---|
| 2966 | |
---|
| 2967 | _CSEOF |
---|
| 2968 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
---|
| 2969 | echo >&5 |
---|
| 2970 | _ACEOF |
---|
| 2971 | |
---|
| 2972 | # Files that config.status was made for. |
---|
| 2973 | if test -n "$ac_config_files"; then |
---|
| 2974 | echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
---|
| 2975 | fi |
---|
| 2976 | |
---|
| 2977 | if test -n "$ac_config_headers"; then |
---|
| 2978 | echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
---|
| 2979 | fi |
---|
| 2980 | |
---|
| 2981 | if test -n "$ac_config_links"; then |
---|
| 2982 | echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
---|
| 2983 | fi |
---|
| 2984 | |
---|
| 2985 | if test -n "$ac_config_commands"; then |
---|
| 2986 | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
---|
| 2987 | fi |
---|
| 2988 | |
---|
| 2989 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 2990 | |
---|
| 2991 | ac_cs_usage="\ |
---|
| 2992 | \`$as_me' instantiates files from templates according to the |
---|
| 2993 | current configuration. |
---|
| 2994 | |
---|
| 2995 | Usage: $0 [OPTIONS] [FILE]... |
---|
| 2996 | |
---|
| 2997 | -h, --help print this help, then exit |
---|
| 2998 | -V, --version print version number, then exit |
---|
| 2999 | -q, --quiet do not print progress messages |
---|
| 3000 | -d, --debug don't remove temporary files |
---|
| 3001 | --recheck update $as_me by reconfiguring in the same conditions |
---|
| 3002 | |
---|
| 3003 | Configuration commands: |
---|
| 3004 | $config_commands |
---|
| 3005 | |
---|
| 3006 | Report bugs to <bug-autoconf@gnu.org>." |
---|
| 3007 | _ACEOF |
---|
| 3008 | |
---|
| 3009 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 3010 | ac_cs_version="\\ |
---|
| 3011 | config.status |
---|
| 3012 | configured by $0, generated by GNU Autoconf 2.59, |
---|
| 3013 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
---|
| 3014 | |
---|
| 3015 | Copyright (C) 2003 Free Software Foundation, Inc. |
---|
| 3016 | This config.status script is free software; the Free Software Foundation |
---|
| 3017 | gives unlimited permission to copy, distribute and modify it." |
---|
| 3018 | srcdir=$srcdir |
---|
| 3019 | _ACEOF |
---|
| 3020 | |
---|
| 3021 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 3022 | # If no file are specified by the user, then we need to provide default |
---|
| 3023 | # value. By we need to know if files were specified by the user. |
---|
| 3024 | ac_need_defaults=: |
---|
| 3025 | while test $# != 0 |
---|
| 3026 | do |
---|
| 3027 | case $1 in |
---|
| 3028 | --*=*) |
---|
| 3029 | ac_option=`expr "x$1" : 'x\([^=]*\)='` |
---|
| 3030 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
---|
| 3031 | ac_shift=: |
---|
| 3032 | ;; |
---|
| 3033 | -*) |
---|
| 3034 | ac_option=$1 |
---|
| 3035 | ac_optarg=$2 |
---|
| 3036 | ac_shift=shift |
---|
| 3037 | ;; |
---|
| 3038 | *) # This is not an option, so the user has probably given explicit |
---|
| 3039 | # arguments. |
---|
| 3040 | ac_option=$1 |
---|
| 3041 | ac_need_defaults=false;; |
---|
| 3042 | esac |
---|
| 3043 | |
---|
| 3044 | case $ac_option in |
---|
| 3045 | # Handling of the options. |
---|
| 3046 | _ACEOF |
---|
| 3047 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 3048 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
| 3049 | ac_cs_recheck=: ;; |
---|
| 3050 | --version | --vers* | -V ) |
---|
| 3051 | echo "$ac_cs_version"; exit 0 ;; |
---|
| 3052 | --he | --h) |
---|
| 3053 | # Conflict between --help and --header |
---|
| 3054 | { { echo "$as_me:$LINENO: error: ambiguous option: $1 |
---|
| 3055 | Try \`$0 --help' for more information." >&5 |
---|
| 3056 | echo "$as_me: error: ambiguous option: $1 |
---|
| 3057 | Try \`$0 --help' for more information." >&2;} |
---|
| 3058 | { (exit 1); exit 1; }; };; |
---|
| 3059 | --help | --hel | -h ) |
---|
| 3060 | echo "$ac_cs_usage"; exit 0 ;; |
---|
| 3061 | --debug | --d* | -d ) |
---|
| 3062 | debug=: ;; |
---|
| 3063 | --file | --fil | --fi | --f ) |
---|
| 3064 | $ac_shift |
---|
| 3065 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
---|
| 3066 | ac_need_defaults=false;; |
---|
| 3067 | --header | --heade | --head | --hea ) |
---|
| 3068 | $ac_shift |
---|
| 3069 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
---|
| 3070 | ac_need_defaults=false;; |
---|
| 3071 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 3072 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
---|
| 3073 | ac_cs_silent=: ;; |
---|
| 3074 | |
---|
| 3075 | # This is an error. |
---|
| 3076 | -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
---|
| 3077 | Try \`$0 --help' for more information." >&5 |
---|
| 3078 | echo "$as_me: error: unrecognized option: $1 |
---|
| 3079 | Try \`$0 --help' for more information." >&2;} |
---|
| 3080 | { (exit 1); exit 1; }; } ;; |
---|
| 3081 | |
---|
| 3082 | *) ac_config_targets="$ac_config_targets $1" ;; |
---|
| 3083 | |
---|
| 3084 | esac |
---|
| 3085 | shift |
---|
| 3086 | done |
---|
| 3087 | |
---|
| 3088 | ac_configure_extra_args= |
---|
| 3089 | |
---|
| 3090 | if $ac_cs_silent; then |
---|
| 3091 | exec 6>/dev/null |
---|
| 3092 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
---|
| 3093 | fi |
---|
| 3094 | |
---|
| 3095 | _ACEOF |
---|
| 3096 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 3097 | if \$ac_cs_recheck; then |
---|
| 3098 | echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
---|
| 3099 | exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
---|
| 3100 | fi |
---|
| 3101 | |
---|
| 3102 | _ACEOF |
---|
| 3103 | |
---|
| 3104 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 3105 | # |
---|
| 3106 | # INIT-COMMANDS section. |
---|
| 3107 | # |
---|
| 3108 | |
---|
| 3109 | |
---|
| 3110 | cat_conts="$cat_conts" |
---|
| 3111 | |
---|
| 3112 | |
---|
| 3113 | |
---|
| 3114 | _ACEOF |
---|
| 3115 | |
---|
| 3116 | |
---|
| 3117 | |
---|
| 3118 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 3119 | for ac_config_target in $ac_config_targets |
---|
| 3120 | do |
---|
| 3121 | case "$ac_config_target" in |
---|
| 3122 | # Handling of arguments. |
---|
| 3123 | "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; |
---|
| 3124 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
---|
| 3125 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
---|
| 3126 | { (exit 1); exit 1; }; };; |
---|
| 3127 | esac |
---|
| 3128 | done |
---|
| 3129 | |
---|
| 3130 | # If the user did not use the arguments to specify the items to instantiate, |
---|
| 3131 | # then the envvar interface is used. Set only those that are not. |
---|
| 3132 | # We use the long form for the default assignment because of an extremely |
---|
| 3133 | # bizarre bug on SunOS 4.1.3. |
---|
| 3134 | if $ac_need_defaults; then |
---|
| 3135 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
---|
| 3136 | fi |
---|
| 3137 | |
---|
| 3138 | # Have a temporary directory for convenience. Make it in the build tree |
---|
| 3139 | # simply because there is no reason to put it here, and in addition, |
---|
| 3140 | # creating and moving files from /tmp can sometimes cause problems. |
---|
| 3141 | # Create a temporary directory, and hook for its removal unless debugging. |
---|
| 3142 | $debug || |
---|
| 3143 | { |
---|
| 3144 | trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
---|
| 3145 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
---|
| 3146 | } |
---|
| 3147 | |
---|
| 3148 | # Create a (secure) tmp directory for tmp files. |
---|
| 3149 | |
---|
| 3150 | { |
---|
| 3151 | tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
---|
| 3152 | test -n "$tmp" && test -d "$tmp" |
---|
| 3153 | } || |
---|
| 3154 | { |
---|
| 3155 | tmp=./confstat$$-$RANDOM |
---|
| 3156 | (umask 077 && mkdir $tmp) |
---|
| 3157 | } || |
---|
| 3158 | { |
---|
| 3159 | echo "$me: cannot create a temporary directory in ." >&2 |
---|
| 3160 | { (exit 1); exit 1; } |
---|
| 3161 | } |
---|
| 3162 | |
---|
| 3163 | _ACEOF |
---|
| 3164 | |
---|
| 3165 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 3166 | |
---|
| 3167 | # |
---|
| 3168 | # CONFIG_COMMANDS section. |
---|
| 3169 | # |
---|
| 3170 | for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue |
---|
| 3171 | ac_dest=`echo "$ac_file" | sed 's,:.*,,'` |
---|
| 3172 | ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
| 3173 | ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
---|
| 3174 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 3175 | X"$ac_dest" : 'X\(//\)[^/]' \| \ |
---|
| 3176 | X"$ac_dest" : 'X\(//\)$' \| \ |
---|
| 3177 | X"$ac_dest" : 'X\(/\)' \| \ |
---|
| 3178 | . : '\(.\)' 2>/dev/null || |
---|
| 3179 | echo X"$ac_dest" | |
---|
| 3180 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
| 3181 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
| 3182 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
| 3183 | /^X\(\/\).*/{ s//\1/; q; } |
---|
| 3184 | s/.*/./; q'` |
---|
| 3185 | { if $as_mkdir_p; then |
---|
| 3186 | mkdir -p "$ac_dir" |
---|
| 3187 | else |
---|
| 3188 | as_dir="$ac_dir" |
---|
| 3189 | as_dirs= |
---|
| 3190 | while test ! -d "$as_dir"; do |
---|
| 3191 | as_dirs="$as_dir $as_dirs" |
---|
| 3192 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
---|
| 3193 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 3194 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
| 3195 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
| 3196 | X"$as_dir" : 'X\(/\)' \| \ |
---|
| 3197 | . : '\(.\)' 2>/dev/null || |
---|
| 3198 | echo X"$as_dir" | |
---|
| 3199 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
| 3200 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
| 3201 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
| 3202 | /^X\(\/\).*/{ s//\1/; q; } |
---|
| 3203 | s/.*/./; q'` |
---|
| 3204 | done |
---|
| 3205 | test ! -n "$as_dirs" || mkdir $as_dirs |
---|
| 3206 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
---|
| 3207 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
---|
| 3208 | { (exit 1); exit 1; }; }; } |
---|
| 3209 | |
---|
| 3210 | ac_builddir=. |
---|
| 3211 | |
---|
| 3212 | if test "$ac_dir" != .; then |
---|
| 3213 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
| 3214 | # A "../" for each directory in $ac_dir_suffix. |
---|
| 3215 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
---|
| 3216 | else |
---|
| 3217 | ac_dir_suffix= ac_top_builddir= |
---|
| 3218 | fi |
---|
| 3219 | |
---|
| 3220 | case $srcdir in |
---|
| 3221 | .) # No --srcdir option. We are building in place. |
---|
| 3222 | ac_srcdir=. |
---|
| 3223 | if test -z "$ac_top_builddir"; then |
---|
| 3224 | ac_top_srcdir=. |
---|
| 3225 | else |
---|
| 3226 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
---|
| 3227 | fi ;; |
---|
| 3228 | [\\/]* | ?:[\\/]* ) # Absolute path. |
---|
| 3229 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
| 3230 | ac_top_srcdir=$srcdir ;; |
---|
| 3231 | *) # Relative path. |
---|
| 3232 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
---|
| 3233 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
---|
| 3234 | esac |
---|
| 3235 | |
---|
| 3236 | # Do not use `cd foo && pwd` to compute absolute paths, because |
---|
| 3237 | # the directories may not exist. |
---|
| 3238 | case `pwd` in |
---|
| 3239 | .) ac_abs_builddir="$ac_dir";; |
---|
| 3240 | *) |
---|
| 3241 | case "$ac_dir" in |
---|
| 3242 | .) ac_abs_builddir=`pwd`;; |
---|
| 3243 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
---|
| 3244 | *) ac_abs_builddir=`pwd`/"$ac_dir";; |
---|
| 3245 | esac;; |
---|
| 3246 | esac |
---|
| 3247 | case $ac_abs_builddir in |
---|
| 3248 | .) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
| 3249 | *) |
---|
| 3250 | case ${ac_top_builddir}. in |
---|
| 3251 | .) ac_abs_top_builddir=$ac_abs_builddir;; |
---|
| 3252 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
| 3253 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
---|
| 3254 | esac;; |
---|
| 3255 | esac |
---|
| 3256 | case $ac_abs_builddir in |
---|
| 3257 | .) ac_abs_srcdir=$ac_srcdir;; |
---|
| 3258 | *) |
---|
| 3259 | case $ac_srcdir in |
---|
| 3260 | .) ac_abs_srcdir=$ac_abs_builddir;; |
---|
| 3261 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
---|
| 3262 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
---|
| 3263 | esac;; |
---|
| 3264 | esac |
---|
| 3265 | case $ac_abs_builddir in |
---|
| 3266 | .) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
| 3267 | *) |
---|
| 3268 | case $ac_top_srcdir in |
---|
| 3269 | .) ac_abs_top_srcdir=$ac_abs_builddir;; |
---|
| 3270 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
| 3271 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
---|
| 3272 | esac;; |
---|
| 3273 | esac |
---|
| 3274 | |
---|
| 3275 | |
---|
| 3276 | { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
---|
| 3277 | echo "$as_me: executing $ac_dest commands" >&6;} |
---|
| 3278 | case $ac_dest in |
---|
| 3279 | default ) |
---|
| 3280 | cat > user.hpp << EEEOF |
---|
| 3281 | ${cat_conts} |
---|
| 3282 | EEEOF |
---|
| 3283 | cat << EEEOF |
---|
| 3284 | |
---|
| 3285 | Adjustments to boost configuration have been written to |
---|
| 3286 | user.hpp. Copy this to boost/config/user.hpp to use "as is", |
---|
| 3287 | or define BOOST_SITE_CONFIG to point to its location. |
---|
| 3288 | |
---|
| 3289 | TREAT THIS FILE WITH CARE. |
---|
| 3290 | Autoconf generated options are not infallible! |
---|
| 3291 | |
---|
| 3292 | EEEOF |
---|
| 3293 | ;; |
---|
| 3294 | esac |
---|
| 3295 | done |
---|
| 3296 | _ACEOF |
---|
| 3297 | |
---|
| 3298 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 3299 | |
---|
| 3300 | { (exit 0); exit 0; } |
---|
| 3301 | _ACEOF |
---|
| 3302 | chmod +x $CONFIG_STATUS |
---|
| 3303 | ac_clean_files=$ac_clean_files_save |
---|
| 3304 | |
---|
| 3305 | |
---|
| 3306 | # configure is writing to config.log, and then calls config.status. |
---|
| 3307 | # config.status does its own redirection, appending to config.log. |
---|
| 3308 | # Unfortunately, on DOS this fails, as config.log is still kept open |
---|
| 3309 | # by configure, so config.status won't be able to write to it; its |
---|
| 3310 | # output is simply discarded. So we exec the FD to /dev/null, |
---|
| 3311 | # effectively closing config.log, so it can be properly (re)opened and |
---|
| 3312 | # appended to by config.status. When coming back to configure, we |
---|
| 3313 | # need to make the FD available again. |
---|
| 3314 | if test "$no_create" != yes; then |
---|
| 3315 | ac_cs_success=: |
---|
| 3316 | ac_config_status_args= |
---|
| 3317 | test "$silent" = yes && |
---|
| 3318 | ac_config_status_args="$ac_config_status_args --quiet" |
---|
| 3319 | exec 5>/dev/null |
---|
| 3320 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
---|
| 3321 | exec 5>>config.log |
---|
| 3322 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
---|
| 3323 | # would make configure fail if this is the last instruction. |
---|
| 3324 | $ac_cs_success || { (exit 1); exit 1; } |
---|
| 3325 | fi |
---|
| 3326 | |
---|
| 3327 | |
---|
| 3328 | fi |
---|
| 3329 | |
---|
| 3330 | |
---|
| 3331 | |
---|
| 3332 | |
---|
| 3333 | |
---|
| 3334 | |
---|
| 3335 | |
---|
| 3336 | |
---|
| 3337 | |
---|
| 3338 | |
---|
| 3339 | |
---|
| 3340 | |
---|
| 3341 | |
---|
| 3342 | |
---|
| 3343 | |
---|
| 3344 | |
---|
| 3345 | |
---|
| 3346 | |
---|
| 3347 | |
---|
| 3348 | |
---|
| 3349 | |
---|
| 3350 | |
---|
| 3351 | |
---|
| 3352 | |
---|
| 3353 | |
---|
| 3354 | |
---|
| 3355 | |
---|
| 3356 | |
---|