OLD | NEW |
(Empty) | |
| 1 #! /bin/sh |
| 2 # Guess values for system-dependent variables and create Makefiles. |
| 3 # Generated by GNU Autoconf 2.57. |
| 4 # |
| 5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
| 6 # Free Software Foundation, Inc. |
| 7 # This configure script is free software; the Free Software Foundation |
| 8 # gives unlimited permission to copy, distribute and modify it. |
| 9 ## --------------------- ## |
| 10 ## M4sh Initialization. ## |
| 11 ## --------------------- ## |
| 12 |
| 13 # Be Bourne compatible |
| 14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 15 emulate sh |
| 16 NULLCMD=: |
| 17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
| 18 # is contrary to our usage. Disable this feature. |
| 19 alias -g '${1+"$@"}'='"$@"' |
| 20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
| 21 set -o posix |
| 22 fi |
| 23 |
| 24 # Support unset when possible. |
| 25 if (FOO=FOO; unset FOO) >/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 -n "`(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 as_mkdir_p=false |
| 222 fi |
| 223 |
| 224 as_executable_p="test -f" |
| 225 |
| 226 # Sed expression to map a string onto a valid CPP name. |
| 227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
| 228 |
| 229 # Sed expression to map a string onto a valid variable name. |
| 230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
| 231 |
| 232 |
| 233 # IFS |
| 234 # We need space, tab and new line, in precisely that order. |
| 235 as_nl=' |
| 236 ' |
| 237 IFS=" $as_nl" |
| 238 |
| 239 # CDPATH. |
| 240 $as_unset CDPATH |
| 241 |
| 242 |
| 243 # Name of the host. |
| 244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
| 245 # so uname gets run too. |
| 246 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
| 247 |
| 248 exec 6>&1 |
| 249 |
| 250 # |
| 251 # Initializations. |
| 252 # |
| 253 ac_default_prefix=/usr/local |
| 254 ac_config_libobj_dir=. |
| 255 cross_compiling=no |
| 256 subdirs= |
| 257 MFLAGS= |
| 258 MAKEFLAGS= |
| 259 SHELL=${CONFIG_SHELL-/bin/sh} |
| 260 |
| 261 # Maximum number of lines to put in a shell here document. |
| 262 # This variable seems obsolete. It should probably be removed, and |
| 263 # only ac_max_sed_lines should be used. |
| 264 : ${ac_max_here_lines=38} |
| 265 |
| 266 # Identity of this package. |
| 267 PACKAGE_NAME= |
| 268 PACKAGE_TARNAME= |
| 269 PACKAGE_VERSION= |
| 270 PACKAGE_STRING= |
| 271 PACKAGE_BUGREPORT= |
| 272 |
| 273 ac_unique_file="hash.cc" |
| 274 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION
PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bind
ir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir inc
ludedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS EC
HO_C ECHO_N ECHO_T LIBS SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJE
XT CPP CXX CXXFLAGS ac_ct_CXX CXXCPP RANLIB INSTALL INSTALL_PROGRAM INSTALL_DATA
LIBOBJS LTLIBOBJS' |
| 275 ac_subst_files='' |
| 276 |
| 277 # Initialize some variables set by options. |
| 278 ac_init_help= |
| 279 ac_init_version=false |
| 280 # The variables have the same names as the options, with |
| 281 # dashes changed to underlines. |
| 282 cache_file=/dev/null |
| 283 exec_prefix=NONE |
| 284 no_create= |
| 285 no_recursion= |
| 286 prefix=NONE |
| 287 program_prefix=NONE |
| 288 program_suffix=NONE |
| 289 program_transform_name=s,x,x, |
| 290 silent= |
| 291 site= |
| 292 srcdir= |
| 293 verbose= |
| 294 x_includes=NONE |
| 295 x_libraries=NONE |
| 296 |
| 297 # Installation directory options. |
| 298 # These are left unexpanded so users can "make install exec_prefix=/foo" |
| 299 # and all the variables that are supposed to be based on exec_prefix |
| 300 # by default will actually change. |
| 301 # Use braces instead of parens because sh, perl, etc. also accept them. |
| 302 bindir='${exec_prefix}/bin' |
| 303 sbindir='${exec_prefix}/sbin' |
| 304 libexecdir='${exec_prefix}/libexec' |
| 305 datadir='${prefix}/share' |
| 306 sysconfdir='${prefix}/etc' |
| 307 sharedstatedir='${prefix}/com' |
| 308 localstatedir='${prefix}/var' |
| 309 libdir='${exec_prefix}/lib' |
| 310 includedir='${prefix}/include' |
| 311 oldincludedir='/usr/include' |
| 312 infodir='${prefix}/info' |
| 313 mandir='${prefix}/man' |
| 314 |
| 315 ac_prev= |
| 316 for ac_option |
| 317 do |
| 318 # If the previous option needs an argument, assign it. |
| 319 if test -n "$ac_prev"; then |
| 320 eval "$ac_prev=\$ac_option" |
| 321 ac_prev= |
| 322 continue |
| 323 fi |
| 324 |
| 325 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
| 326 |
| 327 # Accept the important Cygnus configure options, so we can diagnose typos. |
| 328 |
| 329 case $ac_option in |
| 330 |
| 331 -bindir | --bindir | --bindi | --bind | --bin | --bi) |
| 332 ac_prev=bindir ;; |
| 333 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
| 334 bindir=$ac_optarg ;; |
| 335 |
| 336 -build | --build | --buil | --bui | --bu) |
| 337 ac_prev=build_alias ;; |
| 338 -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
| 339 build_alias=$ac_optarg ;; |
| 340 |
| 341 -cache-file | --cache-file | --cache-fil | --cache-fi \ |
| 342 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
| 343 ac_prev=cache_file ;; |
| 344 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
| 345 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
| 346 cache_file=$ac_optarg ;; |
| 347 |
| 348 --config-cache | -C) |
| 349 cache_file=config.cache ;; |
| 350 |
| 351 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
| 352 ac_prev=datadir ;; |
| 353 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
| 354 | --da=*) |
| 355 datadir=$ac_optarg ;; |
| 356 |
| 357 -disable-* | --disable-*) |
| 358 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| 359 # Reject names that are not valid shell variable names. |
| 360 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| 361 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
| 362 { (exit 1); exit 1; }; } |
| 363 ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
| 364 eval "enable_$ac_feature=no" ;; |
| 365 |
| 366 -enable-* | --enable-*) |
| 367 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 368 # Reject names that are not valid shell variable names. |
| 369 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| 370 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
| 371 { (exit 1); exit 1; }; } |
| 372 ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
| 373 case $ac_option in |
| 374 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
| 375 *) ac_optarg=yes ;; |
| 376 esac |
| 377 eval "enable_$ac_feature='$ac_optarg'" ;; |
| 378 |
| 379 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
| 380 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
| 381 | --exec | --exe | --ex) |
| 382 ac_prev=exec_prefix ;; |
| 383 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
| 384 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
| 385 | --exec=* | --exe=* | --ex=*) |
| 386 exec_prefix=$ac_optarg ;; |
| 387 |
| 388 -gas | --gas | --ga | --g) |
| 389 # Obsolete; use --with-gas. |
| 390 with_gas=yes ;; |
| 391 |
| 392 -help | --help | --hel | --he | -h) |
| 393 ac_init_help=long ;; |
| 394 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
| 395 ac_init_help=recursive ;; |
| 396 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
| 397 ac_init_help=short ;; |
| 398 |
| 399 -host | --host | --hos | --ho) |
| 400 ac_prev=host_alias ;; |
| 401 -host=* | --host=* | --hos=* | --ho=*) |
| 402 host_alias=$ac_optarg ;; |
| 403 |
| 404 -includedir | --includedir | --includedi | --included | --include \ |
| 405 | --includ | --inclu | --incl | --inc) |
| 406 ac_prev=includedir ;; |
| 407 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
| 408 | --includ=* | --inclu=* | --incl=* | --inc=*) |
| 409 includedir=$ac_optarg ;; |
| 410 |
| 411 -infodir | --infodir | --infodi | --infod | --info | --inf) |
| 412 ac_prev=infodir ;; |
| 413 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
| 414 infodir=$ac_optarg ;; |
| 415 |
| 416 -libdir | --libdir | --libdi | --libd) |
| 417 ac_prev=libdir ;; |
| 418 -libdir=* | --libdir=* | --libdi=* | --libd=*) |
| 419 libdir=$ac_optarg ;; |
| 420 |
| 421 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
| 422 | --libexe | --libex | --libe) |
| 423 ac_prev=libexecdir ;; |
| 424 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
| 425 | --libexe=* | --libex=* | --libe=*) |
| 426 libexecdir=$ac_optarg ;; |
| 427 |
| 428 -localstatedir | --localstatedir | --localstatedi | --localstated \ |
| 429 | --localstate | --localstat | --localsta | --localst \ |
| 430 | --locals | --local | --loca | --loc | --lo) |
| 431 ac_prev=localstatedir ;; |
| 432 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
| 433 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
| 434 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
| 435 localstatedir=$ac_optarg ;; |
| 436 |
| 437 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
| 438 ac_prev=mandir ;; |
| 439 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
| 440 mandir=$ac_optarg ;; |
| 441 |
| 442 -nfp | --nfp | --nf) |
| 443 # Obsolete; use --without-fp. |
| 444 with_fp=no ;; |
| 445 |
| 446 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
| 447 | --no-cr | --no-c | -n) |
| 448 no_create=yes ;; |
| 449 |
| 450 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
| 451 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
| 452 no_recursion=yes ;; |
| 453 |
| 454 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
| 455 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
| 456 | --oldin | --oldi | --old | --ol | --o) |
| 457 ac_prev=oldincludedir ;; |
| 458 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
| 459 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
| 460 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
| 461 oldincludedir=$ac_optarg ;; |
| 462 |
| 463 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
| 464 ac_prev=prefix ;; |
| 465 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
| 466 prefix=$ac_optarg ;; |
| 467 |
| 468 -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
| 469 | --program-pre | --program-pr | --program-p) |
| 470 ac_prev=program_prefix ;; |
| 471 -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
| 472 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
| 473 program_prefix=$ac_optarg ;; |
| 474 |
| 475 -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
| 476 | --program-suf | --program-su | --program-s) |
| 477 ac_prev=program_suffix ;; |
| 478 -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
| 479 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
| 480 program_suffix=$ac_optarg ;; |
| 481 |
| 482 -program-transform-name | --program-transform-name \ |
| 483 | --program-transform-nam | --program-transform-na \ |
| 484 | --program-transform-n | --program-transform- \ |
| 485 | --program-transform | --program-transfor \ |
| 486 | --program-transfo | --program-transf \ |
| 487 | --program-trans | --program-tran \ |
| 488 | --progr-tra | --program-tr | --program-t) |
| 489 ac_prev=program_transform_name ;; |
| 490 -program-transform-name=* | --program-transform-name=* \ |
| 491 | --program-transform-nam=* | --program-transform-na=* \ |
| 492 | --program-transform-n=* | --program-transform-=* \ |
| 493 | --program-transform=* | --program-transfor=* \ |
| 494 | --program-transfo=* | --program-transf=* \ |
| 495 | --program-trans=* | --program-tran=* \ |
| 496 | --progr-tra=* | --program-tr=* | --program-t=*) |
| 497 program_transform_name=$ac_optarg ;; |
| 498 |
| 499 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 500 | -silent | --silent | --silen | --sile | --sil) |
| 501 silent=yes ;; |
| 502 |
| 503 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
| 504 ac_prev=sbindir ;; |
| 505 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
| 506 | --sbi=* | --sb=*) |
| 507 sbindir=$ac_optarg ;; |
| 508 |
| 509 -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
| 510 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
| 511 | --sharedst | --shareds | --shared | --share | --shar \ |
| 512 | --sha | --sh) |
| 513 ac_prev=sharedstatedir ;; |
| 514 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
| 515 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
| 516 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
| 517 | --sha=* | --sh=*) |
| 518 sharedstatedir=$ac_optarg ;; |
| 519 |
| 520 -site | --site | --sit) |
| 521 ac_prev=site ;; |
| 522 -site=* | --site=* | --sit=*) |
| 523 site=$ac_optarg ;; |
| 524 |
| 525 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
| 526 ac_prev=srcdir ;; |
| 527 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
| 528 srcdir=$ac_optarg ;; |
| 529 |
| 530 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
| 531 | --syscon | --sysco | --sysc | --sys | --sy) |
| 532 ac_prev=sysconfdir ;; |
| 533 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
| 534 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
| 535 sysconfdir=$ac_optarg ;; |
| 536 |
| 537 -target | --target | --targe | --targ | --tar | --ta | --t) |
| 538 ac_prev=target_alias ;; |
| 539 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
| 540 target_alias=$ac_optarg ;; |
| 541 |
| 542 -v | -verbose | --verbose | --verbos | --verbo | --verb) |
| 543 verbose=yes ;; |
| 544 |
| 545 -version | --version | --versio | --versi | --vers | -V) |
| 546 ac_init_version=: ;; |
| 547 |
| 548 -with-* | --with-*) |
| 549 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 550 # Reject names that are not valid shell variable names. |
| 551 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| 552 { echo "$as_me: error: invalid package name: $ac_package" >&2 |
| 553 { (exit 1); exit 1; }; } |
| 554 ac_package=`echo $ac_package| sed 's/-/_/g'` |
| 555 case $ac_option in |
| 556 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
| 557 *) ac_optarg=yes ;; |
| 558 esac |
| 559 eval "with_$ac_package='$ac_optarg'" ;; |
| 560 |
| 561 -without-* | --without-*) |
| 562 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| 563 # Reject names that are not valid shell variable names. |
| 564 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| 565 { echo "$as_me: error: invalid package name: $ac_package" >&2 |
| 566 { (exit 1); exit 1; }; } |
| 567 ac_package=`echo $ac_package | sed 's/-/_/g'` |
| 568 eval "with_$ac_package=no" ;; |
| 569 |
| 570 --x) |
| 571 # Obsolete; use --with-x. |
| 572 with_x=yes ;; |
| 573 |
| 574 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
| 575 | --x-incl | --x-inc | --x-in | --x-i) |
| 576 ac_prev=x_includes ;; |
| 577 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
| 578 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
| 579 x_includes=$ac_optarg ;; |
| 580 |
| 581 -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
| 582 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
| 583 ac_prev=x_libraries ;; |
| 584 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
| 585 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| 586 x_libraries=$ac_optarg ;; |
| 587 |
| 588 -*) { echo "$as_me: error: unrecognized option: $ac_option |
| 589 Try \`$0 --help' for more information." >&2 |
| 590 { (exit 1); exit 1; }; } |
| 591 ;; |
| 592 |
| 593 *=*) |
| 594 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
| 595 # Reject names that are not valid shell variable names. |
| 596 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
| 597 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
| 598 { (exit 1); exit 1; }; } |
| 599 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
| 600 eval "$ac_envvar='$ac_optarg'" |
| 601 export $ac_envvar ;; |
| 602 |
| 603 *) |
| 604 # FIXME: should be removed in autoconf 3.0. |
| 605 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
| 606 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 607 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
| 608 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_opti
on} |
| 609 ;; |
| 610 |
| 611 esac |
| 612 done |
| 613 |
| 614 if test -n "$ac_prev"; then |
| 615 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
| 616 { echo "$as_me: error: missing argument to $ac_option" >&2 |
| 617 { (exit 1); exit 1; }; } |
| 618 fi |
| 619 |
| 620 # Be sure to have absolute paths. |
| 621 for ac_var in exec_prefix prefix |
| 622 do |
| 623 eval ac_val=$`echo $ac_var` |
| 624 case $ac_val in |
| 625 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
| 626 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var
: $ac_val" >&2 |
| 627 { (exit 1); exit 1; }; };; |
| 628 esac |
| 629 done |
| 630 |
| 631 # Be sure to have absolute paths. |
| 632 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
| 633 localstatedir libdir includedir oldincludedir infodir mandir |
| 634 do |
| 635 eval ac_val=$`echo $ac_var` |
| 636 case $ac_val in |
| 637 [\\/$]* | ?:[\\/]* ) ;; |
| 638 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var
: $ac_val" >&2 |
| 639 { (exit 1); exit 1; }; };; |
| 640 esac |
| 641 done |
| 642 |
| 643 # There might be people who depend on the old broken behavior: `$host' |
| 644 # used to hold the argument of --host etc. |
| 645 # FIXME: To remove some day. |
| 646 build=$build_alias |
| 647 host=$host_alias |
| 648 target=$target_alias |
| 649 |
| 650 # FIXME: To remove some day. |
| 651 if test "x$host_alias" != x; then |
| 652 if test "x$build_alias" = x; then |
| 653 cross_compiling=maybe |
| 654 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --ho
st. |
| 655 If a cross compiler is detected then cross compile mode will be used." >&2 |
| 656 elif test "x$build_alias" != "x$host_alias"; then |
| 657 cross_compiling=yes |
| 658 fi |
| 659 fi |
| 660 |
| 661 ac_tool_prefix= |
| 662 test -n "$host_alias" && ac_tool_prefix=$host_alias- |
| 663 |
| 664 test "$silent" = yes && exec 6>/dev/null |
| 665 |
| 666 |
| 667 # Find the source files, if location was not specified. |
| 668 if test -z "$srcdir"; then |
| 669 ac_srcdir_defaulted=yes |
| 670 # Try the directory containing this script, then its parent. |
| 671 ac_confdir=`(dirname "$0") 2>/dev/null || |
| 672 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 673 X"$0" : 'X\(//\)[^/]' \| \ |
| 674 X"$0" : 'X\(//\)$' \| \ |
| 675 X"$0" : 'X\(/\)' \| \ |
| 676 . : '\(.\)' 2>/dev/null || |
| 677 echo X"$0" | |
| 678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 679 /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 680 /^X\(\/\/\)$/{ s//\1/; q; } |
| 681 /^X\(\/\).*/{ s//\1/; q; } |
| 682 s/.*/./; q'` |
| 683 srcdir=$ac_confdir |
| 684 if test ! -r $srcdir/$ac_unique_file; then |
| 685 srcdir=.. |
| 686 fi |
| 687 else |
| 688 ac_srcdir_defaulted=no |
| 689 fi |
| 690 if test ! -r $srcdir/$ac_unique_file; then |
| 691 if test "$ac_srcdir_defaulted" = yes; then |
| 692 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir
or .." >&2 |
| 693 { (exit 1); exit 1; }; } |
| 694 else |
| 695 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
| 696 { (exit 1); exit 1; }; } |
| 697 fi |
| 698 fi |
| 699 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
| 700 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work
" >&2 |
| 701 { (exit 1); exit 1; }; } |
| 702 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
| 703 ac_env_build_alias_set=${build_alias+set} |
| 704 ac_env_build_alias_value=$build_alias |
| 705 ac_cv_env_build_alias_set=${build_alias+set} |
| 706 ac_cv_env_build_alias_value=$build_alias |
| 707 ac_env_host_alias_set=${host_alias+set} |
| 708 ac_env_host_alias_value=$host_alias |
| 709 ac_cv_env_host_alias_set=${host_alias+set} |
| 710 ac_cv_env_host_alias_value=$host_alias |
| 711 ac_env_target_alias_set=${target_alias+set} |
| 712 ac_env_target_alias_value=$target_alias |
| 713 ac_cv_env_target_alias_set=${target_alias+set} |
| 714 ac_cv_env_target_alias_value=$target_alias |
| 715 ac_env_CC_set=${CC+set} |
| 716 ac_env_CC_value=$CC |
| 717 ac_cv_env_CC_set=${CC+set} |
| 718 ac_cv_env_CC_value=$CC |
| 719 ac_env_CFLAGS_set=${CFLAGS+set} |
| 720 ac_env_CFLAGS_value=$CFLAGS |
| 721 ac_cv_env_CFLAGS_set=${CFLAGS+set} |
| 722 ac_cv_env_CFLAGS_value=$CFLAGS |
| 723 ac_env_LDFLAGS_set=${LDFLAGS+set} |
| 724 ac_env_LDFLAGS_value=$LDFLAGS |
| 725 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
| 726 ac_cv_env_LDFLAGS_value=$LDFLAGS |
| 727 ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
| 728 ac_env_CPPFLAGS_value=$CPPFLAGS |
| 729 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
| 730 ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
| 731 ac_env_CPP_set=${CPP+set} |
| 732 ac_env_CPP_value=$CPP |
| 733 ac_cv_env_CPP_set=${CPP+set} |
| 734 ac_cv_env_CPP_value=$CPP |
| 735 ac_env_CXX_set=${CXX+set} |
| 736 ac_env_CXX_value=$CXX |
| 737 ac_cv_env_CXX_set=${CXX+set} |
| 738 ac_cv_env_CXX_value=$CXX |
| 739 ac_env_CXXFLAGS_set=${CXXFLAGS+set} |
| 740 ac_env_CXXFLAGS_value=$CXXFLAGS |
| 741 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} |
| 742 ac_cv_env_CXXFLAGS_value=$CXXFLAGS |
| 743 ac_env_CXXCPP_set=${CXXCPP+set} |
| 744 ac_env_CXXCPP_value=$CXXCPP |
| 745 ac_cv_env_CXXCPP_set=${CXXCPP+set} |
| 746 ac_cv_env_CXXCPP_value=$CXXCPP |
| 747 |
| 748 # |
| 749 # Report the --help message. |
| 750 # |
| 751 if test "$ac_init_help" = "long"; then |
| 752 # Omit some internal or obsolete options to make the list less imposing. |
| 753 # This message is too long to be a string in the A/UX 3.1 sh. |
| 754 cat <<_ACEOF |
| 755 \`configure' configures this package to adapt to many kinds of systems. |
| 756 |
| 757 Usage: $0 [OPTION]... [VAR=VALUE]... |
| 758 |
| 759 To assign environment variables (e.g., CC, CFLAGS...), specify them as |
| 760 VAR=VALUE. See below for descriptions of some of the useful variables. |
| 761 |
| 762 Defaults for the options are specified in brackets. |
| 763 |
| 764 Configuration: |
| 765 -h, --help display this help and exit |
| 766 --help=short display options specific to this package |
| 767 --help=recursive display the short help of all the included packages |
| 768 -V, --version display version information and exit |
| 769 -q, --quiet, --silent do not print \`checking...' messages |
| 770 --cache-file=FILE cache test results in FILE [disabled] |
| 771 -C, --config-cache alias for \`--cache-file=config.cache' |
| 772 -n, --no-create do not create output files |
| 773 --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
| 774 |
| 775 _ACEOF |
| 776 |
| 777 cat <<_ACEOF |
| 778 Installation directories: |
| 779 --prefix=PREFIX install architecture-independent files in PREFIX |
| 780 [$ac_default_prefix] |
| 781 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
| 782 [PREFIX] |
| 783 |
| 784 By default, \`make install' will install all the files in |
| 785 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
| 786 an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
| 787 for instance \`--prefix=\$HOME'. |
| 788 |
| 789 For better control, use the options below. |
| 790 |
| 791 Fine tuning of the installation directories: |
| 792 --bindir=DIR user executables [EPREFIX/bin] |
| 793 --sbindir=DIR system admin executables [EPREFIX/sbin] |
| 794 --libexecdir=DIR program executables [EPREFIX/libexec] |
| 795 --datadir=DIR read-only architecture-independent data [PREFIX/share] |
| 796 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
| 797 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
| 798 --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
| 799 --libdir=DIR object code libraries [EPREFIX/lib] |
| 800 --includedir=DIR C header files [PREFIX/include] |
| 801 --oldincludedir=DIR C header files for non-gcc [/usr/include] |
| 802 --infodir=DIR info documentation [PREFIX/info] |
| 803 --mandir=DIR man documentation [PREFIX/man] |
| 804 _ACEOF |
| 805 |
| 806 cat <<\_ACEOF |
| 807 _ACEOF |
| 808 fi |
| 809 |
| 810 if test -n "$ac_init_help"; then |
| 811 |
| 812 cat <<\_ACEOF |
| 813 |
| 814 Some influential environment variables: |
| 815 CC C compiler command |
| 816 CFLAGS C compiler flags |
| 817 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
| 818 nonstandard directory <lib dir> |
| 819 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
| 820 headers in a nonstandard directory <include dir> |
| 821 CPP C preprocessor |
| 822 CXX C++ compiler command |
| 823 CXXFLAGS C++ compiler flags |
| 824 CXXCPP C++ preprocessor |
| 825 |
| 826 Use these variables to override the choices made by `configure' or to help |
| 827 it to find libraries and programs with nonstandard names/locations. |
| 828 |
| 829 _ACEOF |
| 830 fi |
| 831 |
| 832 if test "$ac_init_help" = "recursive"; then |
| 833 # If there are subdirs, report their specific --help. |
| 834 ac_popdir=`pwd` |
| 835 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
| 836 test -d $ac_dir || continue |
| 837 ac_builddir=. |
| 838 |
| 839 if test "$ac_dir" != .; then |
| 840 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
| 841 # A "../" for each directory in $ac_dir_suffix. |
| 842 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
| 843 else |
| 844 ac_dir_suffix= ac_top_builddir= |
| 845 fi |
| 846 |
| 847 case $srcdir in |
| 848 .) # No --srcdir option. We are building in place. |
| 849 ac_srcdir=. |
| 850 if test -z "$ac_top_builddir"; then |
| 851 ac_top_srcdir=. |
| 852 else |
| 853 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
| 854 fi ;; |
| 855 [\\/]* | ?:[\\/]* ) # Absolute path. |
| 856 ac_srcdir=$srcdir$ac_dir_suffix; |
| 857 ac_top_srcdir=$srcdir ;; |
| 858 *) # Relative path. |
| 859 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
| 860 ac_top_srcdir=$ac_top_builddir$srcdir ;; |
| 861 esac |
| 862 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
| 863 # absolute. |
| 864 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
| 865 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
| 866 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
| 867 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
| 868 |
| 869 cd $ac_dir |
| 870 # Check for guested configure; otherwise get Cygnus style configure. |
| 871 if test -f $ac_srcdir/configure.gnu; then |
| 872 echo |
| 873 $SHELL $ac_srcdir/configure.gnu --help=recursive |
| 874 elif test -f $ac_srcdir/configure; then |
| 875 echo |
| 876 $SHELL $ac_srcdir/configure --help=recursive |
| 877 elif test -f $ac_srcdir/configure.ac || |
| 878 test -f $ac_srcdir/configure.in; then |
| 879 echo |
| 880 $ac_configure --help |
| 881 else |
| 882 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
| 883 fi |
| 884 cd $ac_popdir |
| 885 done |
| 886 fi |
| 887 |
| 888 test -n "$ac_init_help" && exit 0 |
| 889 if $ac_init_version; then |
| 890 cat <<\_ACEOF |
| 891 |
| 892 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
| 893 Free Software Foundation, Inc. |
| 894 This configure script is free software; the Free Software Foundation |
| 895 gives unlimited permission to copy, distribute and modify it. |
| 896 _ACEOF |
| 897 exit 0 |
| 898 fi |
| 899 exec 5>config.log |
| 900 cat >&5 <<_ACEOF |
| 901 This file contains any messages produced by compilers while |
| 902 running configure, to aid debugging if configure makes a mistake. |
| 903 |
| 904 It was created by $as_me, which was |
| 905 generated by GNU Autoconf 2.57. Invocation command line was |
| 906 |
| 907 $ $0 $@ |
| 908 |
| 909 _ACEOF |
| 910 { |
| 911 cat <<_ASUNAME |
| 912 ## --------- ## |
| 913 ## Platform. ## |
| 914 ## --------- ## |
| 915 |
| 916 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
| 917 uname -m = `(uname -m) 2>/dev/null || echo unknown` |
| 918 uname -r = `(uname -r) 2>/dev/null || echo unknown` |
| 919 uname -s = `(uname -s) 2>/dev/null || echo unknown` |
| 920 uname -v = `(uname -v) 2>/dev/null || echo unknown` |
| 921 |
| 922 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
| 923 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
| 924 |
| 925 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
| 926 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
| 927 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
| 928 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
| 929 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
| 930 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
| 931 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
| 932 |
| 933 _ASUNAME |
| 934 |
| 935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 936 for as_dir in $PATH |
| 937 do |
| 938 IFS=$as_save_IFS |
| 939 test -z "$as_dir" && as_dir=. |
| 940 echo "PATH: $as_dir" |
| 941 done |
| 942 |
| 943 } >&5 |
| 944 |
| 945 cat >&5 <<_ACEOF |
| 946 |
| 947 |
| 948 ## ----------- ## |
| 949 ## Core tests. ## |
| 950 ## ----------- ## |
| 951 |
| 952 _ACEOF |
| 953 |
| 954 |
| 955 # Keep a trace of the command line. |
| 956 # Strip out --no-create and --no-recursion so they do not pile up. |
| 957 # Strip out --silent because we don't want to record it for future runs. |
| 958 # Also quote any args containing shell meta-characters. |
| 959 # Make two passes to allow for proper duplicate-argument suppression. |
| 960 ac_configure_args= |
| 961 ac_configure_args0= |
| 962 ac_configure_args1= |
| 963 ac_sep= |
| 964 ac_must_keep_next=false |
| 965 for ac_pass in 1 2 |
| 966 do |
| 967 for ac_arg |
| 968 do |
| 969 case $ac_arg in |
| 970 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
| 971 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 972 | -silent | --silent | --silen | --sile | --sil) |
| 973 continue ;; |
| 974 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
| 975 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 976 esac |
| 977 case $ac_pass in |
| 978 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
| 979 2) |
| 980 ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
| 981 if test $ac_must_keep_next = true; then |
| 982 ac_must_keep_next=false # Got value, back to normal. |
| 983 else |
| 984 case $ac_arg in |
| 985 *=* | --config-cache | -C | -disable-* | --disable-* \ |
| 986 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
| 987 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
| 988 | -with-* | --with-* | -without-* | --without-* | --x) |
| 989 case "$ac_configure_args0 " in |
| 990 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
| 991 esac |
| 992 ;; |
| 993 -* ) ac_must_keep_next=true ;; |
| 994 esac |
| 995 fi |
| 996 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
| 997 # Get rid of the leading space. |
| 998 ac_sep=" " |
| 999 ;; |
| 1000 esac |
| 1001 done |
| 1002 done |
| 1003 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_
configure_args0=; export ac_configure_args0; } |
| 1004 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_
configure_args1=; export ac_configure_args1; } |
| 1005 |
| 1006 # When interrupted or exit'd, cleanup temporary files, and complete |
| 1007 # config.log. We remove comments because anyway the quotes in there |
| 1008 # would cause problems or look ugly. |
| 1009 # WARNING: Be sure not to use single quotes in there, as some shells, |
| 1010 # such as our DU 5.0 friend, will then `close' the trap. |
| 1011 trap 'exit_status=$? |
| 1012 # Save into config.log some information that might help in debugging. |
| 1013 { |
| 1014 echo |
| 1015 |
| 1016 cat <<\_ASBOX |
| 1017 ## ---------------- ## |
| 1018 ## Cache variables. ## |
| 1019 ## ---------------- ## |
| 1020 _ASBOX |
| 1021 echo |
| 1022 # The following way of writing the cache mishandles newlines in values, |
| 1023 { |
| 1024 (set) 2>&1 | |
| 1025 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
| 1026 *ac_space=\ *) |
| 1027 sed -n \ |
| 1028 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
| 1029 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'
"'/p" |
| 1030 ;; |
| 1031 *) |
| 1032 sed -n \ |
| 1033 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| 1034 ;; |
| 1035 esac; |
| 1036 } |
| 1037 echo |
| 1038 |
| 1039 cat <<\_ASBOX |
| 1040 ## ----------------- ## |
| 1041 ## Output variables. ## |
| 1042 ## ----------------- ## |
| 1043 _ASBOX |
| 1044 echo |
| 1045 for ac_var in $ac_subst_vars |
| 1046 do |
| 1047 eval ac_val=$`echo $ac_var` |
| 1048 echo "$ac_var='"'"'$ac_val'"'"'" |
| 1049 done | sort |
| 1050 echo |
| 1051 |
| 1052 if test -n "$ac_subst_files"; then |
| 1053 cat <<\_ASBOX |
| 1054 ## ------------- ## |
| 1055 ## Output files. ## |
| 1056 ## ------------- ## |
| 1057 _ASBOX |
| 1058 echo |
| 1059 for ac_var in $ac_subst_files |
| 1060 do |
| 1061 eval ac_val=$`echo $ac_var` |
| 1062 echo "$ac_var='"'"'$ac_val'"'"'" |
| 1063 done | sort |
| 1064 echo |
| 1065 fi |
| 1066 |
| 1067 if test -s confdefs.h; then |
| 1068 cat <<\_ASBOX |
| 1069 ## ----------- ## |
| 1070 ## confdefs.h. ## |
| 1071 ## ----------- ## |
| 1072 _ASBOX |
| 1073 echo |
| 1074 sed "/^$/d" confdefs.h | sort |
| 1075 echo |
| 1076 fi |
| 1077 test "$ac_signal" != 0 && |
| 1078 echo "$as_me: caught signal $ac_signal" |
| 1079 echo "$as_me: exit $exit_status" |
| 1080 } >&5 |
| 1081 rm -f core core.* *.core && |
| 1082 rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
| 1083 exit $exit_status |
| 1084 ' 0 |
| 1085 for ac_signal in 1 2 13 15; do |
| 1086 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
| 1087 done |
| 1088 ac_signal=0 |
| 1089 |
| 1090 # confdefs.h avoids OS command line length limits that DEFS can exceed. |
| 1091 rm -rf conftest* confdefs.h |
| 1092 # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
| 1093 echo >confdefs.h |
| 1094 |
| 1095 # Predefined preprocessor variables. |
| 1096 |
| 1097 cat >>confdefs.h <<_ACEOF |
| 1098 #define PACKAGE_NAME "$PACKAGE_NAME" |
| 1099 _ACEOF |
| 1100 |
| 1101 |
| 1102 cat >>confdefs.h <<_ACEOF |
| 1103 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
| 1104 _ACEOF |
| 1105 |
| 1106 |
| 1107 cat >>confdefs.h <<_ACEOF |
| 1108 #define PACKAGE_VERSION "$PACKAGE_VERSION" |
| 1109 _ACEOF |
| 1110 |
| 1111 |
| 1112 cat >>confdefs.h <<_ACEOF |
| 1113 #define PACKAGE_STRING "$PACKAGE_STRING" |
| 1114 _ACEOF |
| 1115 |
| 1116 |
| 1117 cat >>confdefs.h <<_ACEOF |
| 1118 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
| 1119 _ACEOF |
| 1120 |
| 1121 |
| 1122 # Let the site file select an alternate cache file if it wants to. |
| 1123 # Prefer explicitly selected file to automatically selected ones. |
| 1124 if test -z "$CONFIG_SITE"; then |
| 1125 if test "x$prefix" != xNONE; then |
| 1126 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
| 1127 else |
| 1128 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/con
fig.site" |
| 1129 fi |
| 1130 fi |
| 1131 for ac_site_file in $CONFIG_SITE; do |
| 1132 if test -r "$ac_site_file"; then |
| 1133 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
| 1134 echo "$as_me: loading site script $ac_site_file" >&6;} |
| 1135 sed 's/^/| /' "$ac_site_file" >&5 |
| 1136 . "$ac_site_file" |
| 1137 fi |
| 1138 done |
| 1139 |
| 1140 if test -r "$cache_file"; then |
| 1141 # Some versions of bash will fail to source /dev/null (special |
| 1142 # files actually), so we avoid doing that. |
| 1143 if test -f "$cache_file"; then |
| 1144 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
| 1145 echo "$as_me: loading cache $cache_file" >&6;} |
| 1146 case $cache_file in |
| 1147 [\\/]* | ?:[\\/]* ) . $cache_file;; |
| 1148 *) . ./$cache_file;; |
| 1149 esac |
| 1150 fi |
| 1151 else |
| 1152 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
| 1153 echo "$as_me: creating cache $cache_file" >&6;} |
| 1154 >$cache_file |
| 1155 fi |
| 1156 |
| 1157 # Check that the precious variables saved in the cache have kept the same |
| 1158 # value. |
| 1159 ac_cache_corrupted=false |
| 1160 for ac_var in `(set) 2>&1 | |
| 1161 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
| 1162 eval ac_old_set=\$ac_cv_env_${ac_var}_set |
| 1163 eval ac_new_set=\$ac_env_${ac_var}_set |
| 1164 eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
| 1165 eval ac_new_val="\$ac_env_${ac_var}_value" |
| 1166 case $ac_old_set,$ac_new_set in |
| 1167 set,) |
| 1168 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the
previous run" >&5 |
| 1169 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >
&2;} |
| 1170 ac_cache_corrupted=: ;; |
| 1171 ,set) |
| 1172 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run"
>&5 |
| 1173 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
| 1174 ac_cache_corrupted=: ;; |
| 1175 ,);; |
| 1176 *) |
| 1177 if test "x$ac_old_val" != "x$ac_new_val"; then |
| 1178 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous
run:" >&5 |
| 1179 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
| 1180 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
| 1181 echo "$as_me: former value: $ac_old_val" >&2;} |
| 1182 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
| 1183 echo "$as_me: current value: $ac_new_val" >&2;} |
| 1184 ac_cache_corrupted=: |
| 1185 fi;; |
| 1186 esac |
| 1187 # Pass precious variables to config.status. |
| 1188 if test "$ac_new_set" = set; then |
| 1189 case $ac_new_val in |
| 1190 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
| 1191 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1192 *) ac_arg=$ac_var=$ac_new_val ;; |
| 1193 esac |
| 1194 case " $ac_configure_args " in |
| 1195 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
| 1196 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
| 1197 esac |
| 1198 fi |
| 1199 done |
| 1200 if $ac_cache_corrupted; then |
| 1201 { echo "$as_me:$LINENO: error: changes in the environment can compromise the b
uild" >&5 |
| 1202 echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
| 1203 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file
' and start over" >&5 |
| 1204 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start ov
er" >&2;} |
| 1205 { (exit 1); exit 1; }; } |
| 1206 fi |
| 1207 |
| 1208 ac_ext=c |
| 1209 ac_cpp='$CPP $CPPFLAGS' |
| 1210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 1211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
| 1212 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 1213 |
| 1214 |
| 1215 |
| 1216 |
| 1217 |
| 1218 |
| 1219 |
| 1220 |
| 1221 |
| 1222 |
| 1223 |
| 1224 |
| 1225 |
| 1226 |
| 1227 |
| 1228 |
| 1229 |
| 1230 |
| 1231 |
| 1232 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 1233 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
| 1234 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
| 1235 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
| 1236 echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1237 else |
| 1238 cat >conftest.make <<\_ACEOF |
| 1239 all: |
| 1240 @echo 'ac_maketemp="$(MAKE)"' |
| 1241 _ACEOF |
| 1242 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
| 1243 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
| 1244 if test -n "$ac_maketemp"; then |
| 1245 eval ac_cv_prog_make_${ac_make}_set=yes |
| 1246 else |
| 1247 eval ac_cv_prog_make_${ac_make}_set=no |
| 1248 fi |
| 1249 rm -f conftest.make |
| 1250 fi |
| 1251 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
| 1252 echo "$as_me:$LINENO: result: yes" >&5 |
| 1253 echo "${ECHO_T}yes" >&6 |
| 1254 SET_MAKE= |
| 1255 else |
| 1256 echo "$as_me:$LINENO: result: no" >&5 |
| 1257 echo "${ECHO_T}no" >&6 |
| 1258 SET_MAKE="MAKE=${MAKE-make}" |
| 1259 fi |
| 1260 |
| 1261 ac_ext=c |
| 1262 ac_cpp='$CPP $CPPFLAGS' |
| 1263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 1264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
| 1265 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 1266 if test -n "$ac_tool_prefix"; then |
| 1267 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program nam
e with args. |
| 1268 set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| 1269 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1271 if test "${ac_cv_prog_CC+set}" = set; then |
| 1272 echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1273 else |
| 1274 if test -n "$CC"; then |
| 1275 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1276 else |
| 1277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1278 for as_dir in $PATH |
| 1279 do |
| 1280 IFS=$as_save_IFS |
| 1281 test -z "$as_dir" && as_dir=. |
| 1282 for ac_exec_ext in '' $ac_executable_extensions; do |
| 1283 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1284 ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 1285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1286 break 2 |
| 1287 fi |
| 1288 done |
| 1289 done |
| 1290 |
| 1291 fi |
| 1292 fi |
| 1293 CC=$ac_cv_prog_CC |
| 1294 if test -n "$CC"; then |
| 1295 echo "$as_me:$LINENO: result: $CC" >&5 |
| 1296 echo "${ECHO_T}$CC" >&6 |
| 1297 else |
| 1298 echo "$as_me:$LINENO: result: no" >&5 |
| 1299 echo "${ECHO_T}no" >&6 |
| 1300 fi |
| 1301 |
| 1302 fi |
| 1303 if test -z "$ac_cv_prog_CC"; then |
| 1304 ac_ct_CC=$CC |
| 1305 # Extract the first word of "gcc", so it can be a program name with args. |
| 1306 set dummy gcc; ac_word=$2 |
| 1307 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1309 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 1310 echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1311 else |
| 1312 if test -n "$ac_ct_CC"; then |
| 1313 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 1314 else |
| 1315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1316 for as_dir in $PATH |
| 1317 do |
| 1318 IFS=$as_save_IFS |
| 1319 test -z "$as_dir" && as_dir=. |
| 1320 for ac_exec_ext in '' $ac_executable_extensions; do |
| 1321 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1322 ac_cv_prog_ac_ct_CC="gcc" |
| 1323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1324 break 2 |
| 1325 fi |
| 1326 done |
| 1327 done |
| 1328 |
| 1329 fi |
| 1330 fi |
| 1331 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 1332 if test -n "$ac_ct_CC"; then |
| 1333 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 1334 echo "${ECHO_T}$ac_ct_CC" >&6 |
| 1335 else |
| 1336 echo "$as_me:$LINENO: result: no" >&5 |
| 1337 echo "${ECHO_T}no" >&6 |
| 1338 fi |
| 1339 |
| 1340 CC=$ac_ct_CC |
| 1341 else |
| 1342 CC="$ac_cv_prog_CC" |
| 1343 fi |
| 1344 |
| 1345 if test -z "$CC"; then |
| 1346 if test -n "$ac_tool_prefix"; then |
| 1347 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name
with args. |
| 1348 set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| 1349 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1351 if test "${ac_cv_prog_CC+set}" = set; then |
| 1352 echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1353 else |
| 1354 if test -n "$CC"; then |
| 1355 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1356 else |
| 1357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1358 for as_dir in $PATH |
| 1359 do |
| 1360 IFS=$as_save_IFS |
| 1361 test -z "$as_dir" && as_dir=. |
| 1362 for ac_exec_ext in '' $ac_executable_extensions; do |
| 1363 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1364 ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 1365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1366 break 2 |
| 1367 fi |
| 1368 done |
| 1369 done |
| 1370 |
| 1371 fi |
| 1372 fi |
| 1373 CC=$ac_cv_prog_CC |
| 1374 if test -n "$CC"; then |
| 1375 echo "$as_me:$LINENO: result: $CC" >&5 |
| 1376 echo "${ECHO_T}$CC" >&6 |
| 1377 else |
| 1378 echo "$as_me:$LINENO: result: no" >&5 |
| 1379 echo "${ECHO_T}no" >&6 |
| 1380 fi |
| 1381 |
| 1382 fi |
| 1383 if test -z "$ac_cv_prog_CC"; then |
| 1384 ac_ct_CC=$CC |
| 1385 # Extract the first word of "cc", so it can be a program name with args. |
| 1386 set dummy cc; ac_word=$2 |
| 1387 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1389 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 1390 echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1391 else |
| 1392 if test -n "$ac_ct_CC"; then |
| 1393 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 1394 else |
| 1395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1396 for as_dir in $PATH |
| 1397 do |
| 1398 IFS=$as_save_IFS |
| 1399 test -z "$as_dir" && as_dir=. |
| 1400 for ac_exec_ext in '' $ac_executable_extensions; do |
| 1401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1402 ac_cv_prog_ac_ct_CC="cc" |
| 1403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1404 break 2 |
| 1405 fi |
| 1406 done |
| 1407 done |
| 1408 |
| 1409 fi |
| 1410 fi |
| 1411 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 1412 if test -n "$ac_ct_CC"; then |
| 1413 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 1414 echo "${ECHO_T}$ac_ct_CC" >&6 |
| 1415 else |
| 1416 echo "$as_me:$LINENO: result: no" >&5 |
| 1417 echo "${ECHO_T}no" >&6 |
| 1418 fi |
| 1419 |
| 1420 CC=$ac_ct_CC |
| 1421 else |
| 1422 CC="$ac_cv_prog_CC" |
| 1423 fi |
| 1424 |
| 1425 fi |
| 1426 if test -z "$CC"; then |
| 1427 # Extract the first word of "cc", so it can be a program name with args. |
| 1428 set dummy cc; ac_word=$2 |
| 1429 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1431 if test "${ac_cv_prog_CC+set}" = set; then |
| 1432 echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1433 else |
| 1434 if test -n "$CC"; then |
| 1435 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1436 else |
| 1437 ac_prog_rejected=no |
| 1438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1439 for as_dir in $PATH |
| 1440 do |
| 1441 IFS=$as_save_IFS |
| 1442 test -z "$as_dir" && as_dir=. |
| 1443 for ac_exec_ext in '' $ac_executable_extensions; do |
| 1444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1445 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 1446 ac_prog_rejected=yes |
| 1447 continue |
| 1448 fi |
| 1449 ac_cv_prog_CC="cc" |
| 1450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1451 break 2 |
| 1452 fi |
| 1453 done |
| 1454 done |
| 1455 |
| 1456 if test $ac_prog_rejected = yes; then |
| 1457 # We found a bogon in the path, so make sure we never use it. |
| 1458 set dummy $ac_cv_prog_CC |
| 1459 shift |
| 1460 if test $# != 0; then |
| 1461 # We chose a different compiler from the bogus one. |
| 1462 # However, it has the same basename, so the bogon will be chosen |
| 1463 # first if we set CC to just the basename; use the full file name. |
| 1464 shift |
| 1465 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
| 1466 fi |
| 1467 fi |
| 1468 fi |
| 1469 fi |
| 1470 CC=$ac_cv_prog_CC |
| 1471 if test -n "$CC"; then |
| 1472 echo "$as_me:$LINENO: result: $CC" >&5 |
| 1473 echo "${ECHO_T}$CC" >&6 |
| 1474 else |
| 1475 echo "$as_me:$LINENO: result: no" >&5 |
| 1476 echo "${ECHO_T}no" >&6 |
| 1477 fi |
| 1478 |
| 1479 fi |
| 1480 if test -z "$CC"; then |
| 1481 if test -n "$ac_tool_prefix"; then |
| 1482 for ac_prog in cl |
| 1483 do |
| 1484 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra
m name with args. |
| 1485 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 1486 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1488 if test "${ac_cv_prog_CC+set}" = set; then |
| 1489 echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1490 else |
| 1491 if test -n "$CC"; then |
| 1492 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1493 else |
| 1494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1495 for as_dir in $PATH |
| 1496 do |
| 1497 IFS=$as_save_IFS |
| 1498 test -z "$as_dir" && as_dir=. |
| 1499 for ac_exec_ext in '' $ac_executable_extensions; do |
| 1500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1501 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 1502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1503 break 2 |
| 1504 fi |
| 1505 done |
| 1506 done |
| 1507 |
| 1508 fi |
| 1509 fi |
| 1510 CC=$ac_cv_prog_CC |
| 1511 if test -n "$CC"; then |
| 1512 echo "$as_me:$LINENO: result: $CC" >&5 |
| 1513 echo "${ECHO_T}$CC" >&6 |
| 1514 else |
| 1515 echo "$as_me:$LINENO: result: no" >&5 |
| 1516 echo "${ECHO_T}no" >&6 |
| 1517 fi |
| 1518 |
| 1519 test -n "$CC" && break |
| 1520 done |
| 1521 fi |
| 1522 if test -z "$CC"; then |
| 1523 ac_ct_CC=$CC |
| 1524 for ac_prog in cl |
| 1525 do |
| 1526 # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 1527 set dummy $ac_prog; ac_word=$2 |
| 1528 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1530 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 1531 echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1532 else |
| 1533 if test -n "$ac_ct_CC"; then |
| 1534 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 1535 else |
| 1536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1537 for as_dir in $PATH |
| 1538 do |
| 1539 IFS=$as_save_IFS |
| 1540 test -z "$as_dir" && as_dir=. |
| 1541 for ac_exec_ext in '' $ac_executable_extensions; do |
| 1542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1543 ac_cv_prog_ac_ct_CC="$ac_prog" |
| 1544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1545 break 2 |
| 1546 fi |
| 1547 done |
| 1548 done |
| 1549 |
| 1550 fi |
| 1551 fi |
| 1552 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 1553 if test -n "$ac_ct_CC"; then |
| 1554 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 1555 echo "${ECHO_T}$ac_ct_CC" >&6 |
| 1556 else |
| 1557 echo "$as_me:$LINENO: result: no" >&5 |
| 1558 echo "${ECHO_T}no" >&6 |
| 1559 fi |
| 1560 |
| 1561 test -n "$ac_ct_CC" && break |
| 1562 done |
| 1563 |
| 1564 CC=$ac_ct_CC |
| 1565 fi |
| 1566 |
| 1567 fi |
| 1568 |
| 1569 |
| 1570 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found
in \$PATH |
| 1571 See \`config.log' for more details." >&5 |
| 1572 echo "$as_me: error: no acceptable C compiler found in \$PATH |
| 1573 See \`config.log' for more details." >&2;} |
| 1574 { (exit 1); exit 1; }; } |
| 1575 |
| 1576 # Provide some information about the compiler. |
| 1577 echo "$as_me:$LINENO:" \ |
| 1578 "checking for C compiler version" >&5 |
| 1579 ac_compiler=`set X $ac_compile; echo $2` |
| 1580 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
| 1581 (eval $ac_compiler --version </dev/null >&5) 2>&5 |
| 1582 ac_status=$? |
| 1583 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1584 (exit $ac_status); } |
| 1585 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
| 1586 (eval $ac_compiler -v </dev/null >&5) 2>&5 |
| 1587 ac_status=$? |
| 1588 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1589 (exit $ac_status); } |
| 1590 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
| 1591 (eval $ac_compiler -V </dev/null >&5) 2>&5 |
| 1592 ac_status=$? |
| 1593 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1594 (exit $ac_status); } |
| 1595 |
| 1596 cat >conftest.$ac_ext <<_ACEOF |
| 1597 #line $LINENO "configure" |
| 1598 /* confdefs.h. */ |
| 1599 _ACEOF |
| 1600 cat confdefs.h >>conftest.$ac_ext |
| 1601 cat >>conftest.$ac_ext <<_ACEOF |
| 1602 /* end confdefs.h. */ |
| 1603 |
| 1604 int |
| 1605 main () |
| 1606 { |
| 1607 |
| 1608 ; |
| 1609 return 0; |
| 1610 } |
| 1611 _ACEOF |
| 1612 ac_clean_files_save=$ac_clean_files |
| 1613 ac_clean_files="$ac_clean_files a.out a.exe b.out" |
| 1614 # Try to create an executable without -o first, disregard a.out. |
| 1615 # It will help us diagnose broken compilers, and finding out an intuition |
| 1616 # of exeext. |
| 1617 echo "$as_me:$LINENO: checking for C compiler default output" >&5 |
| 1618 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
| 1619 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 1620 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
| 1621 (eval $ac_link_default) 2>&5 |
| 1622 ac_status=$? |
| 1623 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1624 (exit $ac_status); }; then |
| 1625 # Find the output, starting from the most likely. This scheme is |
| 1626 # not robust to junk in `.', hence go to wildcards (a.*) only as a last |
| 1627 # resort. |
| 1628 |
| 1629 # Be careful to initialize this variable, since it used to be cached. |
| 1630 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
| 1631 ac_cv_exeext= |
| 1632 # b.out is created by i960 compilers. |
| 1633 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
| 1634 do |
| 1635 test -f "$ac_file" || continue |
| 1636 case $ac_file in |
| 1637 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.
obj ) |
| 1638 ;; |
| 1639 conftest.$ac_ext ) |
| 1640 # This is the source file. |
| 1641 ;; |
| 1642 [ab].out ) |
| 1643 # We found the default executable, but exeext='' is most |
| 1644 # certainly right. |
| 1645 break;; |
| 1646 *.* ) |
| 1647 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 1648 # FIXME: I believe we export ac_cv_exeext for Libtool, |
| 1649 # but it would be cool to find out if it's true. Does anybody |
| 1650 # maintain Libtool? --akim. |
| 1651 export ac_cv_exeext |
| 1652 break;; |
| 1653 * ) |
| 1654 break;; |
| 1655 esac |
| 1656 done |
| 1657 else |
| 1658 echo "$as_me: failed program was:" >&5 |
| 1659 sed 's/^/| /' conftest.$ac_ext >&5 |
| 1660 |
| 1661 { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
| 1662 See \`config.log' for more details." >&5 |
| 1663 echo "$as_me: error: C compiler cannot create executables |
| 1664 See \`config.log' for more details." >&2;} |
| 1665 { (exit 77); exit 77; }; } |
| 1666 fi |
| 1667 |
| 1668 ac_exeext=$ac_cv_exeext |
| 1669 echo "$as_me:$LINENO: result: $ac_file" >&5 |
| 1670 echo "${ECHO_T}$ac_file" >&6 |
| 1671 |
| 1672 # Check the compiler produces executables we can run. If not, either |
| 1673 # the compiler is broken, or we cross compile. |
| 1674 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
| 1675 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
| 1676 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
| 1677 # If not cross compiling, check that we can run a simple program. |
| 1678 if test "$cross_compiling" != yes; then |
| 1679 if { ac_try='./$ac_file' |
| 1680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 1681 (eval $ac_try) 2>&5 |
| 1682 ac_status=$? |
| 1683 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1684 (exit $ac_status); }; }; then |
| 1685 cross_compiling=no |
| 1686 else |
| 1687 if test "$cross_compiling" = maybe; then |
| 1688 cross_compiling=yes |
| 1689 else |
| 1690 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
| 1691 If you meant to cross compile, use \`--host'. |
| 1692 See \`config.log' for more details." >&5 |
| 1693 echo "$as_me: error: cannot run C compiled programs. |
| 1694 If you meant to cross compile, use \`--host'. |
| 1695 See \`config.log' for more details." >&2;} |
| 1696 { (exit 1); exit 1; }; } |
| 1697 fi |
| 1698 fi |
| 1699 fi |
| 1700 echo "$as_me:$LINENO: result: yes" >&5 |
| 1701 echo "${ECHO_T}yes" >&6 |
| 1702 |
| 1703 rm -f a.out a.exe conftest$ac_cv_exeext b.out |
| 1704 ac_clean_files=$ac_clean_files_save |
| 1705 # Check the compiler produces executables we can run. If not, either |
| 1706 # the compiler is broken, or we cross compile. |
| 1707 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
| 1708 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
| 1709 echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
| 1710 echo "${ECHO_T}$cross_compiling" >&6 |
| 1711 |
| 1712 echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
| 1713 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
| 1714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 1715 (eval $ac_link) 2>&5 |
| 1716 ac_status=$? |
| 1717 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1718 (exit $ac_status); }; then |
| 1719 # If both `conftest.exe' and `conftest' are `present' (well, observable) |
| 1720 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
| 1721 # work properly (i.e., refer to `conftest.exe'), while it won't with |
| 1722 # `rm'. |
| 1723 for ac_file in conftest.exe conftest conftest.*; do |
| 1724 test -f "$ac_file" || continue |
| 1725 case $ac_file in |
| 1726 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.
obj ) ;; |
| 1727 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 1728 export ac_cv_exeext |
| 1729 break;; |
| 1730 * ) break;; |
| 1731 esac |
| 1732 done |
| 1733 else |
| 1734 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot
compile and link |
| 1735 See \`config.log' for more details." >&5 |
| 1736 echo "$as_me: error: cannot compute suffix of executables: cannot compile and li
nk |
| 1737 See \`config.log' for more details." >&2;} |
| 1738 { (exit 1); exit 1; }; } |
| 1739 fi |
| 1740 |
| 1741 rm -f conftest$ac_cv_exeext |
| 1742 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
| 1743 echo "${ECHO_T}$ac_cv_exeext" >&6 |
| 1744 |
| 1745 rm -f conftest.$ac_ext |
| 1746 EXEEXT=$ac_cv_exeext |
| 1747 ac_exeext=$EXEEXT |
| 1748 echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
| 1749 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
| 1750 if test "${ac_cv_objext+set}" = set; then |
| 1751 echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1752 else |
| 1753 cat >conftest.$ac_ext <<_ACEOF |
| 1754 #line $LINENO "configure" |
| 1755 /* confdefs.h. */ |
| 1756 _ACEOF |
| 1757 cat confdefs.h >>conftest.$ac_ext |
| 1758 cat >>conftest.$ac_ext <<_ACEOF |
| 1759 /* end confdefs.h. */ |
| 1760 |
| 1761 int |
| 1762 main () |
| 1763 { |
| 1764 |
| 1765 ; |
| 1766 return 0; |
| 1767 } |
| 1768 _ACEOF |
| 1769 rm -f conftest.o conftest.obj |
| 1770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 1771 (eval $ac_compile) 2>&5 |
| 1772 ac_status=$? |
| 1773 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1774 (exit $ac_status); }; then |
| 1775 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
| 1776 case $ac_file in |
| 1777 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
| 1778 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
| 1779 break;; |
| 1780 esac |
| 1781 done |
| 1782 else |
| 1783 echo "$as_me: failed program was:" >&5 |
| 1784 sed 's/^/| /' conftest.$ac_ext >&5 |
| 1785 |
| 1786 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot c
ompile |
| 1787 See \`config.log' for more details." >&5 |
| 1788 echo "$as_me: error: cannot compute suffix of object files: cannot compile |
| 1789 See \`config.log' for more details." >&2;} |
| 1790 { (exit 1); exit 1; }; } |
| 1791 fi |
| 1792 |
| 1793 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
| 1794 fi |
| 1795 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
| 1796 echo "${ECHO_T}$ac_cv_objext" >&6 |
| 1797 OBJEXT=$ac_cv_objext |
| 1798 ac_objext=$OBJEXT |
| 1799 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
| 1800 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
| 1801 if test "${ac_cv_c_compiler_gnu+set}" = set; then |
| 1802 echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1803 else |
| 1804 cat >conftest.$ac_ext <<_ACEOF |
| 1805 #line $LINENO "configure" |
| 1806 /* confdefs.h. */ |
| 1807 _ACEOF |
| 1808 cat confdefs.h >>conftest.$ac_ext |
| 1809 cat >>conftest.$ac_ext <<_ACEOF |
| 1810 /* end confdefs.h. */ |
| 1811 |
| 1812 int |
| 1813 main () |
| 1814 { |
| 1815 #ifndef __GNUC__ |
| 1816 choke me |
| 1817 #endif |
| 1818 |
| 1819 ; |
| 1820 return 0; |
| 1821 } |
| 1822 _ACEOF |
| 1823 rm -f conftest.$ac_objext |
| 1824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 1825 (eval $ac_compile) 2>&5 |
| 1826 ac_status=$? |
| 1827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1828 (exit $ac_status); } && |
| 1829 { ac_try='test -s conftest.$ac_objext' |
| 1830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 1831 (eval $ac_try) 2>&5 |
| 1832 ac_status=$? |
| 1833 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1834 (exit $ac_status); }; }; then |
| 1835 ac_compiler_gnu=yes |
| 1836 else |
| 1837 echo "$as_me: failed program was:" >&5 |
| 1838 sed 's/^/| /' conftest.$ac_ext >&5 |
| 1839 |
| 1840 ac_compiler_gnu=no |
| 1841 fi |
| 1842 rm -f conftest.$ac_objext conftest.$ac_ext |
| 1843 ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 1844 |
| 1845 fi |
| 1846 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
| 1847 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
| 1848 GCC=`test $ac_compiler_gnu = yes && echo yes` |
| 1849 ac_test_CFLAGS=${CFLAGS+set} |
| 1850 ac_save_CFLAGS=$CFLAGS |
| 1851 CFLAGS="-g" |
| 1852 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
| 1853 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
| 1854 if test "${ac_cv_prog_cc_g+set}" = set; then |
| 1855 echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1856 else |
| 1857 cat >conftest.$ac_ext <<_ACEOF |
| 1858 #line $LINENO "configure" |
| 1859 /* confdefs.h. */ |
| 1860 _ACEOF |
| 1861 cat confdefs.h >>conftest.$ac_ext |
| 1862 cat >>conftest.$ac_ext <<_ACEOF |
| 1863 /* end confdefs.h. */ |
| 1864 |
| 1865 int |
| 1866 main () |
| 1867 { |
| 1868 |
| 1869 ; |
| 1870 return 0; |
| 1871 } |
| 1872 _ACEOF |
| 1873 rm -f conftest.$ac_objext |
| 1874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 1875 (eval $ac_compile) 2>&5 |
| 1876 ac_status=$? |
| 1877 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1878 (exit $ac_status); } && |
| 1879 { ac_try='test -s conftest.$ac_objext' |
| 1880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 1881 (eval $ac_try) 2>&5 |
| 1882 ac_status=$? |
| 1883 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1884 (exit $ac_status); }; }; then |
| 1885 ac_cv_prog_cc_g=yes |
| 1886 else |
| 1887 echo "$as_me: failed program was:" >&5 |
| 1888 sed 's/^/| /' conftest.$ac_ext >&5 |
| 1889 |
| 1890 ac_cv_prog_cc_g=no |
| 1891 fi |
| 1892 rm -f conftest.$ac_objext conftest.$ac_ext |
| 1893 fi |
| 1894 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
| 1895 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
| 1896 if test "$ac_test_CFLAGS" = set; then |
| 1897 CFLAGS=$ac_save_CFLAGS |
| 1898 elif test $ac_cv_prog_cc_g = yes; then |
| 1899 if test "$GCC" = yes; then |
| 1900 CFLAGS="-g -O2" |
| 1901 else |
| 1902 CFLAGS="-g" |
| 1903 fi |
| 1904 else |
| 1905 if test "$GCC" = yes; then |
| 1906 CFLAGS="-O2" |
| 1907 else |
| 1908 CFLAGS= |
| 1909 fi |
| 1910 fi |
| 1911 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
| 1912 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
| 1913 if test "${ac_cv_prog_cc_stdc+set}" = set; then |
| 1914 echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1915 else |
| 1916 ac_cv_prog_cc_stdc=no |
| 1917 ac_save_CC=$CC |
| 1918 cat >conftest.$ac_ext <<_ACEOF |
| 1919 #line $LINENO "configure" |
| 1920 /* confdefs.h. */ |
| 1921 _ACEOF |
| 1922 cat confdefs.h >>conftest.$ac_ext |
| 1923 cat >>conftest.$ac_ext <<_ACEOF |
| 1924 /* end confdefs.h. */ |
| 1925 #include <stdarg.h> |
| 1926 #include <stdio.h> |
| 1927 #include <sys/types.h> |
| 1928 #include <sys/stat.h> |
| 1929 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
| 1930 struct buf { int x; }; |
| 1931 FILE * (*rcsopen) (struct buf *, struct stat *, int); |
| 1932 static char *e (p, i) |
| 1933 char **p; |
| 1934 int i; |
| 1935 { |
| 1936 return p[i]; |
| 1937 } |
| 1938 static char *f (char * (*g) (char **, int), char **p, ...) |
| 1939 { |
| 1940 char *s; |
| 1941 va_list v; |
| 1942 va_start (v,p); |
| 1943 s = g (p, va_arg (v,int)); |
| 1944 va_end (v); |
| 1945 return s; |
| 1946 } |
| 1947 int test (int i, double x); |
| 1948 struct s1 {int (*f) (int a);}; |
| 1949 struct s2 {int (*f) (double a);}; |
| 1950 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, i
nt); |
| 1951 int argc; |
| 1952 char **argv; |
| 1953 int |
| 1954 main () |
| 1955 { |
| 1956 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
| 1957 ; |
| 1958 return 0; |
| 1959 } |
| 1960 _ACEOF |
| 1961 # Don't try gcc -ansi; that turns off useful extensions and |
| 1962 # breaks some systems' header files. |
| 1963 # AIX -qlanglvl=ansi |
| 1964 # Ultrix and OSF/1 -std1 |
| 1965 # HP-UX 10.20 and later -Ae |
| 1966 # HP-UX older versions -Aa -D_HPUX_SOURCE |
| 1967 # SVR4 -Xc -D__EXTENSIONS__ |
| 1968 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIO
NS__" |
| 1969 do |
| 1970 CC="$ac_save_CC $ac_arg" |
| 1971 rm -f conftest.$ac_objext |
| 1972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 1973 (eval $ac_compile) 2>&5 |
| 1974 ac_status=$? |
| 1975 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1976 (exit $ac_status); } && |
| 1977 { ac_try='test -s conftest.$ac_objext' |
| 1978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 1979 (eval $ac_try) 2>&5 |
| 1980 ac_status=$? |
| 1981 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1982 (exit $ac_status); }; }; then |
| 1983 ac_cv_prog_cc_stdc=$ac_arg |
| 1984 break |
| 1985 else |
| 1986 echo "$as_me: failed program was:" >&5 |
| 1987 sed 's/^/| /' conftest.$ac_ext >&5 |
| 1988 |
| 1989 fi |
| 1990 rm -f conftest.$ac_objext |
| 1991 done |
| 1992 rm -f conftest.$ac_ext conftest.$ac_objext |
| 1993 CC=$ac_save_CC |
| 1994 |
| 1995 fi |
| 1996 |
| 1997 case "x$ac_cv_prog_cc_stdc" in |
| 1998 x|xno) |
| 1999 echo "$as_me:$LINENO: result: none needed" >&5 |
| 2000 echo "${ECHO_T}none needed" >&6 ;; |
| 2001 *) |
| 2002 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
| 2003 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
| 2004 CC="$CC $ac_cv_prog_cc_stdc" ;; |
| 2005 esac |
| 2006 |
| 2007 # Some people use a C++ compiler to compile C. Since we use `exit', |
| 2008 # in C++ we need to declare it. In case someone uses the same compiler |
| 2009 # for both compiling C and C++ we need to have the C++ compiler decide |
| 2010 # the declaration of exit, since it's the most demanding environment. |
| 2011 cat >conftest.$ac_ext <<_ACEOF |
| 2012 #ifndef __cplusplus |
| 2013 choke me |
| 2014 #endif |
| 2015 _ACEOF |
| 2016 rm -f conftest.$ac_objext |
| 2017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2018 (eval $ac_compile) 2>&5 |
| 2019 ac_status=$? |
| 2020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2021 (exit $ac_status); } && |
| 2022 { ac_try='test -s conftest.$ac_objext' |
| 2023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2024 (eval $ac_try) 2>&5 |
| 2025 ac_status=$? |
| 2026 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2027 (exit $ac_status); }; }; then |
| 2028 for ac_declaration in \ |
| 2029 ''\ |
| 2030 '#include <stdlib.h>' \ |
| 2031 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
| 2032 'extern "C" void std::exit (int); using std::exit;' \ |
| 2033 'extern "C" void exit (int) throw ();' \ |
| 2034 'extern "C" void exit (int);' \ |
| 2035 'void exit (int);' |
| 2036 do |
| 2037 cat >conftest.$ac_ext <<_ACEOF |
| 2038 #line $LINENO "configure" |
| 2039 /* confdefs.h. */ |
| 2040 _ACEOF |
| 2041 cat confdefs.h >>conftest.$ac_ext |
| 2042 cat >>conftest.$ac_ext <<_ACEOF |
| 2043 /* end confdefs.h. */ |
| 2044 #include <stdlib.h> |
| 2045 $ac_declaration |
| 2046 int |
| 2047 main () |
| 2048 { |
| 2049 exit (42); |
| 2050 ; |
| 2051 return 0; |
| 2052 } |
| 2053 _ACEOF |
| 2054 rm -f conftest.$ac_objext |
| 2055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2056 (eval $ac_compile) 2>&5 |
| 2057 ac_status=$? |
| 2058 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2059 (exit $ac_status); } && |
| 2060 { ac_try='test -s conftest.$ac_objext' |
| 2061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2062 (eval $ac_try) 2>&5 |
| 2063 ac_status=$? |
| 2064 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2065 (exit $ac_status); }; }; then |
| 2066 : |
| 2067 else |
| 2068 echo "$as_me: failed program was:" >&5 |
| 2069 sed 's/^/| /' conftest.$ac_ext >&5 |
| 2070 |
| 2071 continue |
| 2072 fi |
| 2073 rm -f conftest.$ac_objext conftest.$ac_ext |
| 2074 cat >conftest.$ac_ext <<_ACEOF |
| 2075 #line $LINENO "configure" |
| 2076 /* confdefs.h. */ |
| 2077 _ACEOF |
| 2078 cat confdefs.h >>conftest.$ac_ext |
| 2079 cat >>conftest.$ac_ext <<_ACEOF |
| 2080 /* end confdefs.h. */ |
| 2081 $ac_declaration |
| 2082 int |
| 2083 main () |
| 2084 { |
| 2085 exit (42); |
| 2086 ; |
| 2087 return 0; |
| 2088 } |
| 2089 _ACEOF |
| 2090 rm -f conftest.$ac_objext |
| 2091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2092 (eval $ac_compile) 2>&5 |
| 2093 ac_status=$? |
| 2094 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2095 (exit $ac_status); } && |
| 2096 { ac_try='test -s conftest.$ac_objext' |
| 2097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2098 (eval $ac_try) 2>&5 |
| 2099 ac_status=$? |
| 2100 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2101 (exit $ac_status); }; }; then |
| 2102 break |
| 2103 else |
| 2104 echo "$as_me: failed program was:" >&5 |
| 2105 sed 's/^/| /' conftest.$ac_ext >&5 |
| 2106 |
| 2107 fi |
| 2108 rm -f conftest.$ac_objext conftest.$ac_ext |
| 2109 done |
| 2110 rm -f conftest* |
| 2111 if test -n "$ac_declaration"; then |
| 2112 echo '#ifdef __cplusplus' >>confdefs.h |
| 2113 echo $ac_declaration >>confdefs.h |
| 2114 echo '#endif' >>confdefs.h |
| 2115 fi |
| 2116 |
| 2117 else |
| 2118 echo "$as_me: failed program was:" >&5 |
| 2119 sed 's/^/| /' conftest.$ac_ext >&5 |
| 2120 |
| 2121 fi |
| 2122 rm -f conftest.$ac_objext conftest.$ac_ext |
| 2123 ac_ext=c |
| 2124 ac_cpp='$CPP $CPPFLAGS' |
| 2125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
| 2127 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2128 |
| 2129 ac_ext=c |
| 2130 ac_cpp='$CPP $CPPFLAGS' |
| 2131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
| 2133 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2134 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
| 2135 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
| 2136 # On Suns, sometimes $CPP names a directory. |
| 2137 if test -n "$CPP" && test -d "$CPP"; then |
| 2138 CPP= |
| 2139 fi |
| 2140 if test -z "$CPP"; then |
| 2141 if test "${ac_cv_prog_CPP+set}" = set; then |
| 2142 echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2143 else |
| 2144 # Double quotes because CPP needs to be expanded |
| 2145 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
| 2146 do |
| 2147 ac_preproc_ok=false |
| 2148 for ac_c_preproc_warn_flag in '' yes |
| 2149 do |
| 2150 # Use a header file that comes with gcc, so configuring glibc |
| 2151 # with a fresh cross-compiler works. |
| 2152 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 2153 # <limits.h> exists even on freestanding compilers. |
| 2154 # On the NeXT, cc -E runs the code through the compiler's parser, |
| 2155 # not just through cpp. "Syntax error" is here to catch this case. |
| 2156 cat >conftest.$ac_ext <<_ACEOF |
| 2157 #line $LINENO "configure" |
| 2158 /* confdefs.h. */ |
| 2159 _ACEOF |
| 2160 cat confdefs.h >>conftest.$ac_ext |
| 2161 cat >>conftest.$ac_ext <<_ACEOF |
| 2162 /* end confdefs.h. */ |
| 2163 #ifdef __STDC__ |
| 2164 # include <limits.h> |
| 2165 #else |
| 2166 # include <assert.h> |
| 2167 #endif |
| 2168 Syntax error |
| 2169 _ACEOF |
| 2170 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 2171 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 2172 ac_status=$? |
| 2173 grep -v '^ *+' conftest.er1 >conftest.err |
| 2174 rm -f conftest.er1 |
| 2175 cat conftest.err >&5 |
| 2176 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2177 (exit $ac_status); } >/dev/null; then |
| 2178 if test -s conftest.err; then |
| 2179 ac_cpp_err=$ac_c_preproc_warn_flag |
| 2180 else |
| 2181 ac_cpp_err= |
| 2182 fi |
| 2183 else |
| 2184 ac_cpp_err=yes |
| 2185 fi |
| 2186 if test -z "$ac_cpp_err"; then |
| 2187 : |
| 2188 else |
| 2189 echo "$as_me: failed program was:" >&5 |
| 2190 sed 's/^/| /' conftest.$ac_ext >&5 |
| 2191 |
| 2192 # Broken: fails on valid input. |
| 2193 continue |
| 2194 fi |
| 2195 rm -f conftest.err conftest.$ac_ext |
| 2196 |
| 2197 # OK, works on sane cases. Now check whether non-existent headers |
| 2198 # can be detected and how. |
| 2199 cat >conftest.$ac_ext <<_ACEOF |
| 2200 #line $LINENO "configure" |
| 2201 /* confdefs.h. */ |
| 2202 _ACEOF |
| 2203 cat confdefs.h >>conftest.$ac_ext |
| 2204 cat >>conftest.$ac_ext <<_ACEOF |
| 2205 /* end confdefs.h. */ |
| 2206 #include <ac_nonexistent.h> |
| 2207 _ACEOF |
| 2208 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 2209 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 2210 ac_status=$? |
| 2211 grep -v '^ *+' conftest.er1 >conftest.err |
| 2212 rm -f conftest.er1 |
| 2213 cat conftest.err >&5 |
| 2214 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2215 (exit $ac_status); } >/dev/null; then |
| 2216 if test -s conftest.err; then |
| 2217 ac_cpp_err=$ac_c_preproc_warn_flag |
| 2218 else |
| 2219 ac_cpp_err= |
| 2220 fi |
| 2221 else |
| 2222 ac_cpp_err=yes |
| 2223 fi |
| 2224 if test -z "$ac_cpp_err"; then |
| 2225 # Broken: success on invalid input. |
| 2226 continue |
| 2227 else |
| 2228 echo "$as_me: failed program was:" >&5 |
| 2229 sed 's/^/| /' conftest.$ac_ext >&5 |
| 2230 |
| 2231 # Passes both tests. |
| 2232 ac_preproc_ok=: |
| 2233 break |
| 2234 fi |
| 2235 rm -f conftest.err conftest.$ac_ext |
| 2236 |
| 2237 done |
| 2238 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 2239 rm -f conftest.err conftest.$ac_ext |
| 2240 if $ac_preproc_ok; then |
| 2241 break |
| 2242 fi |
| 2243 |
| 2244 done |
| 2245 ac_cv_prog_CPP=$CPP |
| 2246 |
| 2247 fi |
| 2248 CPP=$ac_cv_prog_CPP |
| 2249 else |
| 2250 ac_cv_prog_CPP=$CPP |
| 2251 fi |
| 2252 echo "$as_me:$LINENO: result: $CPP" >&5 |
| 2253 echo "${ECHO_T}$CPP" >&6 |
| 2254 ac_preproc_ok=false |
| 2255 for ac_c_preproc_warn_flag in '' yes |
| 2256 do |
| 2257 # Use a header file that comes with gcc, so configuring glibc |
| 2258 # with a fresh cross-compiler works. |
| 2259 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 2260 # <limits.h> exists even on freestanding compilers. |
| 2261 # On the NeXT, cc -E runs the code through the compiler's parser, |
| 2262 # not just through cpp. "Syntax error" is here to catch this case. |
| 2263 cat >conftest.$ac_ext <<_ACEOF |
| 2264 #line $LINENO "configure" |
| 2265 /* confdefs.h. */ |
| 2266 _ACEOF |
| 2267 cat confdefs.h >>conftest.$ac_ext |
| 2268 cat >>conftest.$ac_ext <<_ACEOF |
| 2269 /* end confdefs.h. */ |
| 2270 #ifdef __STDC__ |
| 2271 # include <limits.h> |
| 2272 #else |
| 2273 # include <assert.h> |
| 2274 #endif |
| 2275 Syntax error |
| 2276 _ACEOF |
| 2277 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 2278 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 2279 ac_status=$? |
| 2280 grep -v '^ *+' conftest.er1 >conftest.err |
| 2281 rm -f conftest.er1 |
| 2282 cat conftest.err >&5 |
| 2283 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2284 (exit $ac_status); } >/dev/null; then |
| 2285 if test -s conftest.err; then |
| 2286 ac_cpp_err=$ac_c_preproc_warn_flag |
| 2287 else |
| 2288 ac_cpp_err= |
| 2289 fi |
| 2290 else |
| 2291 ac_cpp_err=yes |
| 2292 fi |
| 2293 if test -z "$ac_cpp_err"; then |
| 2294 : |
| 2295 else |
| 2296 echo "$as_me: failed program was:" >&5 |
| 2297 sed 's/^/| /' conftest.$ac_ext >&5 |
| 2298 |
| 2299 # Broken: fails on valid input. |
| 2300 continue |
| 2301 fi |
| 2302 rm -f conftest.err conftest.$ac_ext |
| 2303 |
| 2304 # OK, works on sane cases. Now check whether non-existent headers |
| 2305 # can be detected and how. |
| 2306 cat >conftest.$ac_ext <<_ACEOF |
| 2307 #line $LINENO "configure" |
| 2308 /* confdefs.h. */ |
| 2309 _ACEOF |
| 2310 cat confdefs.h >>conftest.$ac_ext |
| 2311 cat >>conftest.$ac_ext <<_ACEOF |
| 2312 /* end confdefs.h. */ |
| 2313 #include <ac_nonexistent.h> |
| 2314 _ACEOF |
| 2315 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 2316 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 2317 ac_status=$? |
| 2318 grep -v '^ *+' conftest.er1 >conftest.err |
| 2319 rm -f conftest.er1 |
| 2320 cat conftest.err >&5 |
| 2321 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2322 (exit $ac_status); } >/dev/null; then |
| 2323 if test -s conftest.err; then |
| 2324 ac_cpp_err=$ac_c_preproc_warn_flag |
| 2325 else |
| 2326 ac_cpp_err= |
| 2327 fi |
| 2328 else |
| 2329 ac_cpp_err=yes |
| 2330 fi |
| 2331 if test -z "$ac_cpp_err"; then |
| 2332 # Broken: success on invalid input. |
| 2333 continue |
| 2334 else |
| 2335 echo "$as_me: failed program was:" >&5 |
| 2336 sed 's/^/| /' conftest.$ac_ext >&5 |
| 2337 |
| 2338 # Passes both tests. |
| 2339 ac_preproc_ok=: |
| 2340 break |
| 2341 fi |
| 2342 rm -f conftest.err conftest.$ac_ext |
| 2343 |
| 2344 done |
| 2345 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 2346 rm -f conftest.err conftest.$ac_ext |
| 2347 if $ac_preproc_ok; then |
| 2348 : |
| 2349 else |
| 2350 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
| 2351 See \`config.log' for more details." >&5 |
| 2352 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
| 2353 See \`config.log' for more details." >&2;} |
| 2354 { (exit 1); exit 1; }; } |
| 2355 fi |
| 2356 |
| 2357 ac_ext=c |
| 2358 ac_cpp='$CPP $CPPFLAGS' |
| 2359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
| 2361 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2362 |
| 2363 ac_ext=cc |
| 2364 ac_cpp='$CXXCPP $CPPFLAGS' |
| 2365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex
t $LIBS >&5' |
| 2367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 2368 if test -n "$ac_tool_prefix"; then |
| 2369 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
| 2370 do |
| 2371 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra
m name with args. |
| 2372 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 2373 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2375 if test "${ac_cv_prog_CXX+set}" = set; then |
| 2376 echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2377 else |
| 2378 if test -n "$CXX"; then |
| 2379 ac_cv_prog_CXX="$CXX" # Let the user override the test. |
| 2380 else |
| 2381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2382 for as_dir in $PATH |
| 2383 do |
| 2384 IFS=$as_save_IFS |
| 2385 test -z "$as_dir" && as_dir=. |
| 2386 for ac_exec_ext in '' $ac_executable_extensions; do |
| 2387 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2388 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
| 2389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2390 break 2 |
| 2391 fi |
| 2392 done |
| 2393 done |
| 2394 |
| 2395 fi |
| 2396 fi |
| 2397 CXX=$ac_cv_prog_CXX |
| 2398 if test -n "$CXX"; then |
| 2399 echo "$as_me:$LINENO: result: $CXX" >&5 |
| 2400 echo "${ECHO_T}$CXX" >&6 |
| 2401 else |
| 2402 echo "$as_me:$LINENO: result: no" >&5 |
| 2403 echo "${ECHO_T}no" >&6 |
| 2404 fi |
| 2405 |
| 2406 test -n "$CXX" && break |
| 2407 done |
| 2408 fi |
| 2409 if test -z "$CXX"; then |
| 2410 ac_ct_CXX=$CXX |
| 2411 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
| 2412 do |
| 2413 # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2414 set dummy $ac_prog; ac_word=$2 |
| 2415 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2417 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
| 2418 echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2419 else |
| 2420 if test -n "$ac_ct_CXX"; then |
| 2421 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
| 2422 else |
| 2423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2424 for as_dir in $PATH |
| 2425 do |
| 2426 IFS=$as_save_IFS |
| 2427 test -z "$as_dir" && as_dir=. |
| 2428 for ac_exec_ext in '' $ac_executable_extensions; do |
| 2429 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2430 ac_cv_prog_ac_ct_CXX="$ac_prog" |
| 2431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2432 break 2 |
| 2433 fi |
| 2434 done |
| 2435 done |
| 2436 |
| 2437 fi |
| 2438 fi |
| 2439 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
| 2440 if test -n "$ac_ct_CXX"; then |
| 2441 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
| 2442 echo "${ECHO_T}$ac_ct_CXX" >&6 |
| 2443 else |
| 2444 echo "$as_me:$LINENO: result: no" >&5 |
| 2445 echo "${ECHO_T}no" >&6 |
| 2446 fi |
| 2447 |
| 2448 test -n "$ac_ct_CXX" && break |
| 2449 done |
| 2450 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" |
| 2451 |
| 2452 CXX=$ac_ct_CXX |
| 2453 fi |
| 2454 |
| 2455 |
| 2456 # Provide some information about the compiler. |
| 2457 echo "$as_me:$LINENO:" \ |
| 2458 "checking for C++ compiler version" >&5 |
| 2459 ac_compiler=`set X $ac_compile; echo $2` |
| 2460 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
| 2461 (eval $ac_compiler --version </dev/null >&5) 2>&5 |
| 2462 ac_status=$? |
| 2463 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2464 (exit $ac_status); } |
| 2465 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
| 2466 (eval $ac_compiler -v </dev/null >&5) 2>&5 |
| 2467 ac_status=$? |
| 2468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2469 (exit $ac_status); } |
| 2470 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
| 2471 (eval $ac_compiler -V </dev/null >&5) 2>&5 |
| 2472 ac_status=$? |
| 2473 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2474 (exit $ac_status); } |
| 2475 |
| 2476 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
| 2477 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 |
| 2478 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
| 2479 echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2480 else |
| 2481 cat >conftest.$ac_ext <<_ACEOF |
| 2482 #line $LINENO "configure" |
| 2483 /* confdefs.h. */ |
| 2484 _ACEOF |
| 2485 cat confdefs.h >>conftest.$ac_ext |
| 2486 cat >>conftest.$ac_ext <<_ACEOF |
| 2487 /* end confdefs.h. */ |
| 2488 |
| 2489 int |
| 2490 main () |
| 2491 { |
| 2492 #ifndef __GNUC__ |
| 2493 choke me |
| 2494 #endif |
| 2495 |
| 2496 ; |
| 2497 return 0; |
| 2498 } |
| 2499 _ACEOF |
| 2500 rm -f conftest.$ac_objext |
| 2501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2502 (eval $ac_compile) 2>&5 |
| 2503 ac_status=$? |
| 2504 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2505 (exit $ac_status); } && |
| 2506 { ac_try='test -s conftest.$ac_objext' |
| 2507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2508 (eval $ac_try) 2>&5 |
| 2509 ac_status=$? |
| 2510 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2511 (exit $ac_status); }; }; then |
| 2512 ac_compiler_gnu=yes |
| 2513 else |
| 2514 echo "$as_me: failed program was:" >&5 |
| 2515 sed 's/^/| /' conftest.$ac_ext >&5 |
| 2516 |
| 2517 ac_compiler_gnu=no |
| 2518 fi |
| 2519 rm -f conftest.$ac_objext conftest.$ac_ext |
| 2520 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
| 2521 |
| 2522 fi |
| 2523 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
| 2524 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 |
| 2525 GXX=`test $ac_compiler_gnu = yes && echo yes` |
| 2526 ac_test_CXXFLAGS=${CXXFLAGS+set} |
| 2527 ac_save_CXXFLAGS=$CXXFLAGS |
| 2528 CXXFLAGS="-g" |
| 2529 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
| 2530 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 |
| 2531 if test "${ac_cv_prog_cxx_g+set}" = set; then |
| 2532 echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2533 else |
| 2534 cat >conftest.$ac_ext <<_ACEOF |
| 2535 #line $LINENO "configure" |
| 2536 /* confdefs.h. */ |
| 2537 _ACEOF |
| 2538 cat confdefs.h >>conftest.$ac_ext |
| 2539 cat >>conftest.$ac_ext <<_ACEOF |
| 2540 /* end confdefs.h. */ |
| 2541 |
| 2542 int |
| 2543 main () |
| 2544 { |
| 2545 |
| 2546 ; |
| 2547 return 0; |
| 2548 } |
| 2549 _ACEOF |
| 2550 rm -f conftest.$ac_objext |
| 2551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2552 (eval $ac_compile) 2>&5 |
| 2553 ac_status=$? |
| 2554 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2555 (exit $ac_status); } && |
| 2556 { ac_try='test -s conftest.$ac_objext' |
| 2557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2558 (eval $ac_try) 2>&5 |
| 2559 ac_status=$? |
| 2560 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2561 (exit $ac_status); }; }; then |
| 2562 ac_cv_prog_cxx_g=yes |
| 2563 else |
| 2564 echo "$as_me: failed program was:" >&5 |
| 2565 sed 's/^/| /' conftest.$ac_ext >&5 |
| 2566 |
| 2567 ac_cv_prog_cxx_g=no |
| 2568 fi |
| 2569 rm -f conftest.$ac_objext conftest.$ac_ext |
| 2570 fi |
| 2571 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
| 2572 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
| 2573 if test "$ac_test_CXXFLAGS" = set; then |
| 2574 CXXFLAGS=$ac_save_CXXFLAGS |
| 2575 elif test $ac_cv_prog_cxx_g = yes; then |
| 2576 if test "$GXX" = yes; then |
| 2577 CXXFLAGS="-g -O2" |
| 2578 else |
| 2579 CXXFLAGS="-g" |
| 2580 fi |
| 2581 else |
| 2582 if test "$GXX" = yes; then |
| 2583 CXXFLAGS="-O2" |
| 2584 else |
| 2585 CXXFLAGS= |
| 2586 fi |
| 2587 fi |
| 2588 for ac_declaration in \ |
| 2589 ''\ |
| 2590 '#include <stdlib.h>' \ |
| 2591 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
| 2592 'extern "C" void std::exit (int); using std::exit;' \ |
| 2593 'extern "C" void exit (int) throw ();' \ |
| 2594 'extern "C" void exit (int);' \ |
| 2595 'void exit (int);' |
| 2596 do |
| 2597 cat >conftest.$ac_ext <<_ACEOF |
| 2598 #line $LINENO "configure" |
| 2599 /* confdefs.h. */ |
| 2600 _ACEOF |
| 2601 cat confdefs.h >>conftest.$ac_ext |
| 2602 cat >>conftest.$ac_ext <<_ACEOF |
| 2603 /* end confdefs.h. */ |
| 2604 #include <stdlib.h> |
| 2605 $ac_declaration |
| 2606 int |
| 2607 main () |
| 2608 { |
| 2609 exit (42); |
| 2610 ; |
| 2611 return 0; |
| 2612 } |
| 2613 _ACEOF |
| 2614 rm -f conftest.$ac_objext |
| 2615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2616 (eval $ac_compile) 2>&5 |
| 2617 ac_status=$? |
| 2618 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2619 (exit $ac_status); } && |
| 2620 { ac_try='test -s conftest.$ac_objext' |
| 2621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2622 (eval $ac_try) 2>&5 |
| 2623 ac_status=$? |
| 2624 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2625 (exit $ac_status); }; }; then |
| 2626 : |
| 2627 else |
| 2628 echo "$as_me: failed program was:" >&5 |
| 2629 sed 's/^/| /' conftest.$ac_ext >&5 |
| 2630 |
| 2631 continue |
| 2632 fi |
| 2633 rm -f conftest.$ac_objext conftest.$ac_ext |
| 2634 cat >conftest.$ac_ext <<_ACEOF |
| 2635 #line $LINENO "configure" |
| 2636 /* confdefs.h. */ |
| 2637 _ACEOF |
| 2638 cat confdefs.h >>conftest.$ac_ext |
| 2639 cat >>conftest.$ac_ext <<_ACEOF |
| 2640 /* end confdefs.h. */ |
| 2641 $ac_declaration |
| 2642 int |
| 2643 main () |
| 2644 { |
| 2645 exit (42); |
| 2646 ; |
| 2647 return 0; |
| 2648 } |
| 2649 _ACEOF |
| 2650 rm -f conftest.$ac_objext |
| 2651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2652 (eval $ac_compile) 2>&5 |
| 2653 ac_status=$? |
| 2654 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2655 (exit $ac_status); } && |
| 2656 { ac_try='test -s conftest.$ac_objext' |
| 2657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2658 (eval $ac_try) 2>&5 |
| 2659 ac_status=$? |
| 2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2661 (exit $ac_status); }; }; then |
| 2662 break |
| 2663 else |
| 2664 echo "$as_me: failed program was:" >&5 |
| 2665 sed 's/^/| /' conftest.$ac_ext >&5 |
| 2666 |
| 2667 fi |
| 2668 rm -f conftest.$ac_objext conftest.$ac_ext |
| 2669 done |
| 2670 rm -f conftest* |
| 2671 if test -n "$ac_declaration"; then |
| 2672 echo '#ifdef __cplusplus' >>confdefs.h |
| 2673 echo $ac_declaration >>confdefs.h |
| 2674 echo '#endif' >>confdefs.h |
| 2675 fi |
| 2676 |
| 2677 ac_ext=c |
| 2678 ac_cpp='$CPP $CPPFLAGS' |
| 2679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
| 2681 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2682 |
| 2683 ac_ext=cc |
| 2684 ac_cpp='$CXXCPP $CPPFLAGS' |
| 2685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex
t $LIBS >&5' |
| 2687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 2688 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
| 2689 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 |
| 2690 if test -z "$CXXCPP"; then |
| 2691 if test "${ac_cv_prog_CXXCPP+set}" = set; then |
| 2692 echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2693 else |
| 2694 # Double quotes because CXXCPP needs to be expanded |
| 2695 for CXXCPP in "$CXX -E" "/lib/cpp" |
| 2696 do |
| 2697 ac_preproc_ok=false |
| 2698 for ac_cxx_preproc_warn_flag in '' yes |
| 2699 do |
| 2700 # Use a header file that comes with gcc, so configuring glibc |
| 2701 # with a fresh cross-compiler works. |
| 2702 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 2703 # <limits.h> exists even on freestanding compilers. |
| 2704 # On the NeXT, cc -E runs the code through the compiler's parser, |
| 2705 # not just through cpp. "Syntax error" is here to catch this case. |
| 2706 cat >conftest.$ac_ext <<_ACEOF |
| 2707 #line $LINENO "configure" |
| 2708 /* confdefs.h. */ |
| 2709 _ACEOF |
| 2710 cat confdefs.h >>conftest.$ac_ext |
| 2711 cat >>conftest.$ac_ext <<_ACEOF |
| 2712 /* end confdefs.h. */ |
| 2713 #ifdef __STDC__ |
| 2714 # include <limits.h> |
| 2715 #else |
| 2716 # include <assert.h> |
| 2717 #endif |
| 2718 Syntax error |
| 2719 _ACEOF |
| 2720 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 2721 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 2722 ac_status=$? |
| 2723 grep -v '^ *+' conftest.er1 >conftest.err |
| 2724 rm -f conftest.er1 |
| 2725 cat conftest.err >&5 |
| 2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2727 (exit $ac_status); } >/dev/null; then |
| 2728 if test -s conftest.err; then |
| 2729 ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 2730 else |
| 2731 ac_cpp_err= |
| 2732 fi |
| 2733 else |
| 2734 ac_cpp_err=yes |
| 2735 fi |
| 2736 if test -z "$ac_cpp_err"; then |
| 2737 : |
| 2738 else |
| 2739 echo "$as_me: failed program was:" >&5 |
| 2740 sed 's/^/| /' conftest.$ac_ext >&5 |
| 2741 |
| 2742 # Broken: fails on valid input. |
| 2743 continue |
| 2744 fi |
| 2745 rm -f conftest.err conftest.$ac_ext |
| 2746 |
| 2747 # OK, works on sane cases. Now check whether non-existent headers |
| 2748 # can be detected and how. |
| 2749 cat >conftest.$ac_ext <<_ACEOF |
| 2750 #line $LINENO "configure" |
| 2751 /* confdefs.h. */ |
| 2752 _ACEOF |
| 2753 cat confdefs.h >>conftest.$ac_ext |
| 2754 cat >>conftest.$ac_ext <<_ACEOF |
| 2755 /* end confdefs.h. */ |
| 2756 #include <ac_nonexistent.h> |
| 2757 _ACEOF |
| 2758 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 2759 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 2760 ac_status=$? |
| 2761 grep -v '^ *+' conftest.er1 >conftest.err |
| 2762 rm -f conftest.er1 |
| 2763 cat conftest.err >&5 |
| 2764 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2765 (exit $ac_status); } >/dev/null; then |
| 2766 if test -s conftest.err; then |
| 2767 ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 2768 else |
| 2769 ac_cpp_err= |
| 2770 fi |
| 2771 else |
| 2772 ac_cpp_err=yes |
| 2773 fi |
| 2774 if test -z "$ac_cpp_err"; then |
| 2775 # Broken: success on invalid input. |
| 2776 continue |
| 2777 else |
| 2778 echo "$as_me: failed program was:" >&5 |
| 2779 sed 's/^/| /' conftest.$ac_ext >&5 |
| 2780 |
| 2781 # Passes both tests. |
| 2782 ac_preproc_ok=: |
| 2783 break |
| 2784 fi |
| 2785 rm -f conftest.err conftest.$ac_ext |
| 2786 |
| 2787 done |
| 2788 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 2789 rm -f conftest.err conftest.$ac_ext |
| 2790 if $ac_preproc_ok; then |
| 2791 break |
| 2792 fi |
| 2793 |
| 2794 done |
| 2795 ac_cv_prog_CXXCPP=$CXXCPP |
| 2796 |
| 2797 fi |
| 2798 CXXCPP=$ac_cv_prog_CXXCPP |
| 2799 else |
| 2800 ac_cv_prog_CXXCPP=$CXXCPP |
| 2801 fi |
| 2802 echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
| 2803 echo "${ECHO_T}$CXXCPP" >&6 |
| 2804 ac_preproc_ok=false |
| 2805 for ac_cxx_preproc_warn_flag in '' yes |
| 2806 do |
| 2807 # Use a header file that comes with gcc, so configuring glibc |
| 2808 # with a fresh cross-compiler works. |
| 2809 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 2810 # <limits.h> exists even on freestanding compilers. |
| 2811 # On the NeXT, cc -E runs the code through the compiler's parser, |
| 2812 # not just through cpp. "Syntax error" is here to catch this case. |
| 2813 cat >conftest.$ac_ext <<_ACEOF |
| 2814 #line $LINENO "configure" |
| 2815 /* confdefs.h. */ |
| 2816 _ACEOF |
| 2817 cat confdefs.h >>conftest.$ac_ext |
| 2818 cat >>conftest.$ac_ext <<_ACEOF |
| 2819 /* end confdefs.h. */ |
| 2820 #ifdef __STDC__ |
| 2821 # include <limits.h> |
| 2822 #else |
| 2823 # include <assert.h> |
| 2824 #endif |
| 2825 Syntax error |
| 2826 _ACEOF |
| 2827 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 2828 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 2829 ac_status=$? |
| 2830 grep -v '^ *+' conftest.er1 >conftest.err |
| 2831 rm -f conftest.er1 |
| 2832 cat conftest.err >&5 |
| 2833 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2834 (exit $ac_status); } >/dev/null; then |
| 2835 if test -s conftest.err; then |
| 2836 ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 2837 else |
| 2838 ac_cpp_err= |
| 2839 fi |
| 2840 else |
| 2841 ac_cpp_err=yes |
| 2842 fi |
| 2843 if test -z "$ac_cpp_err"; then |
| 2844 : |
| 2845 else |
| 2846 echo "$as_me: failed program was:" >&5 |
| 2847 sed 's/^/| /' conftest.$ac_ext >&5 |
| 2848 |
| 2849 # Broken: fails on valid input. |
| 2850 continue |
| 2851 fi |
| 2852 rm -f conftest.err conftest.$ac_ext |
| 2853 |
| 2854 # OK, works on sane cases. Now check whether non-existent headers |
| 2855 # can be detected and how. |
| 2856 cat >conftest.$ac_ext <<_ACEOF |
| 2857 #line $LINENO "configure" |
| 2858 /* confdefs.h. */ |
| 2859 _ACEOF |
| 2860 cat confdefs.h >>conftest.$ac_ext |
| 2861 cat >>conftest.$ac_ext <<_ACEOF |
| 2862 /* end confdefs.h. */ |
| 2863 #include <ac_nonexistent.h> |
| 2864 _ACEOF |
| 2865 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 2866 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 2867 ac_status=$? |
| 2868 grep -v '^ *+' conftest.er1 >conftest.err |
| 2869 rm -f conftest.er1 |
| 2870 cat conftest.err >&5 |
| 2871 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2872 (exit $ac_status); } >/dev/null; then |
| 2873 if test -s conftest.err; then |
| 2874 ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 2875 else |
| 2876 ac_cpp_err= |
| 2877 fi |
| 2878 else |
| 2879 ac_cpp_err=yes |
| 2880 fi |
| 2881 if test -z "$ac_cpp_err"; then |
| 2882 # Broken: success on invalid input. |
| 2883 continue |
| 2884 else |
| 2885 echo "$as_me: failed program was:" >&5 |
| 2886 sed 's/^/| /' conftest.$ac_ext >&5 |
| 2887 |
| 2888 # Passes both tests. |
| 2889 ac_preproc_ok=: |
| 2890 break |
| 2891 fi |
| 2892 rm -f conftest.err conftest.$ac_ext |
| 2893 |
| 2894 done |
| 2895 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 2896 rm -f conftest.err conftest.$ac_ext |
| 2897 if $ac_preproc_ok; then |
| 2898 : |
| 2899 else |
| 2900 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity che
ck |
| 2901 See \`config.log' for more details." >&5 |
| 2902 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
| 2903 See \`config.log' for more details." >&2;} |
| 2904 { (exit 1); exit 1; }; } |
| 2905 fi |
| 2906 |
| 2907 ac_ext=c |
| 2908 ac_cpp='$CPP $CPPFLAGS' |
| 2909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
| 2911 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2912 |
| 2913 # Extract the first word of "ranlib", so it can be a progr
am name with args. |
| 2914 set dummy ranlib; ac_word=$2 |
| 2915 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2917 if test "${ac_cv_prog_RANLIB+set}" = set; then |
| 2918 echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2919 else |
| 2920 if test -n "$RANLIB"; then |
| 2921 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 2922 else |
| 2923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2924 for as_dir in $PATH |
| 2925 do |
| 2926 IFS=$as_save_IFS |
| 2927 test -z "$as_dir" && as_dir=. |
| 2928 for ac_exec_ext in '' $ac_executable_extensions; do |
| 2929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2930 ac_cv_prog_RANLIB="ranlib" |
| 2931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2932 break 2 |
| 2933 fi |
| 2934 done |
| 2935 done |
| 2936 |
| 2937 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="true" |
| 2938 fi |
| 2939 fi |
| 2940 RANLIB=$ac_cv_prog_RANLIB |
| 2941 if test -n "$RANLIB"; then |
| 2942 echo "$as_me:$LINENO: result: $RANLIB" >&5 |
| 2943 echo "${ECHO_T}$RANLIB" >&6 |
| 2944 else |
| 2945 echo "$as_me:$LINENO: result: no" >&5 |
| 2946 echo "${ECHO_T}no" >&6 |
| 2947 fi |
| 2948 |
| 2949 # Find a good install program. We prefer a C program (fas
ter), |
| 2950 # so one script is as good as another. But avoid the broken or |
| 2951 # incompatible versions: |
| 2952 # SysV /etc/install, /usr/sbin/install |
| 2953 # SunOS /usr/etc/install |
| 2954 # IRIX /sbin/install |
| 2955 # AIX /bin/install |
| 2956 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 2957 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 2958 # ./install, which can be erroneously created by make from ./install.sh. |
| 2959 echo "$as_me:$LINENO: checking for a BSD compatible install" >&5 |
| 2960 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 |
| 2961 if test -z "$INSTALL"; then |
| 2962 if test "${cl_cv_path_install+set}" = set; then |
| 2963 echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2964 else |
| 2965 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 2966 for ac_dir in $PATH; do |
| 2967 # Account for people who put trailing slashes in PATH elements. |
| 2968 case "$ac_dir/" in |
| 2969 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*)
;; |
| 2970 *) |
| 2971 # OSF1 and SCO ODT 3.0 have their own names for install. |
| 2972 for ac_prog in ginstall installbsd scoinst install; do |
| 2973 if test -f $ac_dir/$ac_prog; then |
| 2974 if test $ac_prog = install && |
| 2975 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then |
| 2976 # AIX install. It has an incompatible calling convention. |
| 2977 # OSF/1 installbsd also uses dspmsg, but is usable. |
| 2978 : |
| 2979 else |
| 2980 if test $ac_prog = installbsd && |
| 2981 grep src/bos $ac_dir/$ac_prog >/dev/null 2>&1; then |
| 2982 # AIX installbsd doesn't work without option "-g". |
| 2983 : |
| 2984 else |
| 2985 cl_cv_path_install="$ac_dir/$ac_prog -c" |
| 2986 break 2 |
| 2987 fi |
| 2988 fi |
| 2989 fi |
| 2990 done |
| 2991 ;; |
| 2992 esac |
| 2993 done |
| 2994 IFS="$ac_save_ifs" |
| 2995 # As a last resort, use cp. |
| 2996 test -z "$cl_cv_path_install" && cl_cv_path_install="cp" |
| 2997 |
| 2998 fi |
| 2999 INSTALL="$cl_cv_path_install" |
| 3000 fi |
| 3001 echo "$as_me:$LINENO: result: $INSTALL" >&5 |
| 3002 echo "${ECHO_T}$INSTALL" >&6 |
| 3003 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| 3004 # It thinks the first close brace ends the variable substitution. |
| 3005 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='$(INSTALL)' |
| 3006 if test -z "$INSTALL_DATA"; then |
| 3007 case "$INSTALL" in |
| 3008 cp | */cp ) INSTALL_DATA='$(INSTALL)' ;; |
| 3009 * ) INSTALL_DATA='$(INSTALL) -m 644' ;; |
| 3010 esac |
| 3011 fi |
| 3012 |
| 3013 ac_config_files="$ac_config_files Makefile" |
| 3014 cat >confcache <<\_ACEOF |
| 3015 # This file is a shell script that caches the results of configure |
| 3016 # tests run on this system so they can be shared between configure |
| 3017 # scripts and configure runs, see configure's option --config-cache. |
| 3018 # It is not useful on other systems. If it contains results you don't |
| 3019 # want to keep, you may remove or edit it. |
| 3020 # |
| 3021 # config.status only pays attention to the cache file if you give it |
| 3022 # the --recheck option to rerun configure. |
| 3023 # |
| 3024 # `ac_cv_env_foo' variables (set or unset) will be overridden when |
| 3025 # loading this file, other *unset* `ac_cv_foo' will be assigned the |
| 3026 # following values. |
| 3027 |
| 3028 _ACEOF |
| 3029 |
| 3030 # The following way of writing the cache mishandles newlines in values, |
| 3031 # but we know of no workaround that is simple, portable, and efficient. |
| 3032 # So, don't put newlines in cache variables' values. |
| 3033 # Ultrix sh set writes to stderr and can't be redirected directly, |
| 3034 # and sets the high bit in the cache file unless we assign to the vars. |
| 3035 { |
| 3036 (set) 2>&1 | |
| 3037 case `(ac_space=' '; set | grep ac_space) 2>&1` in |
| 3038 *ac_space=\ *) |
| 3039 # `set' does not quote correctly, so add quotes (double-quote |
| 3040 # substitution turns \\\\ into \\, and sed turns \\ into \). |
| 3041 sed -n \ |
| 3042 "s/'/'\\\\''/g; |
| 3043 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 3044 ;; |
| 3045 *) |
| 3046 # `set' quotes correctly as required by POSIX, so do not add quotes. |
| 3047 sed -n \ |
| 3048 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| 3049 ;; |
| 3050 esac; |
| 3051 } | |
| 3052 sed ' |
| 3053 t clear |
| 3054 : clear |
| 3055 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
| 3056 t end |
| 3057 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
| 3058 : end' >>confcache |
| 3059 if diff $cache_file confcache >/dev/null 2>&1; then :; else |
| 3060 if test -w $cache_file; then |
| 3061 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
| 3062 cat confcache >$cache_file |
| 3063 else |
| 3064 echo "not updating unwritable cache $cache_file" |
| 3065 fi |
| 3066 fi |
| 3067 rm -f confcache |
| 3068 |
| 3069 test "x$prefix" = xNONE && prefix=$ac_default_prefix |
| 3070 # Let make expand exec_prefix. |
| 3071 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
| 3072 |
| 3073 # VPATH may cause trouble with some makes, so we remove $(srcdir), |
| 3074 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
| 3075 # trailing colons and then remove the whole line if VPATH becomes empty |
| 3076 # (actually we leave an empty line to preserve line numbers). |
| 3077 if test "x$srcdir" = x.; then |
| 3078 ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
| 3079 s/:*\$(srcdir):*/:/; |
| 3080 s/:*\${srcdir}:*/:/; |
| 3081 s/:*@srcdir@:*/:/; |
| 3082 s/^\([^=]*=[ ]*\):*/\1/; |
| 3083 s/:*$//; |
| 3084 s/^[^=]*=[ ]*$//; |
| 3085 }' |
| 3086 fi |
| 3087 |
| 3088 # Transform confdefs.h into DEFS. |
| 3089 # Protect against shell expansion while executing Makefile rules. |
| 3090 # Protect against Makefile macro expansion. |
| 3091 # |
| 3092 # If the first sed substitution is executed (which looks for macros that |
| 3093 # take arguments), then we branch to the quote section. Otherwise, |
| 3094 # look for a macro that doesn't take arguments. |
| 3095 cat >confdef2opt.sed <<\_ACEOF |
| 3096 t clear |
| 3097 : clear |
| 3098 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)
,-D\1=\2,g |
| 3099 t quote |
| 3100 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2
,g |
| 3101 t quote |
| 3102 d |
| 3103 : quote |
| 3104 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g |
| 3105 s,\[,\\&,g |
| 3106 s,\],\\&,g |
| 3107 s,\$,$$,g |
| 3108 p |
| 3109 _ACEOF |
| 3110 # We use echo to avoid assuming a particular line-breaking character. |
| 3111 # The extra dot is to prevent the shell from consuming trailing |
| 3112 # line-breaks from the sub-command output. A line-break within |
| 3113 # single-quotes doesn't work because, if this script is created in a |
| 3114 # platform that uses two characters for line-breaks (e.g., DOS), tr |
| 3115 # would break. |
| 3116 ac_LF_and_DOT=`echo; echo .` |
| 3117 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` |
| 3118 rm -f confdef2opt.sed |
| 3119 |
| 3120 |
| 3121 ac_libobjs= |
| 3122 ac_ltlibobjs= |
| 3123 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
| 3124 # 1. Remove the extension, and $U if already installed. |
| 3125 ac_i=`echo "$ac_i" | |
| 3126 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
| 3127 # 2. Add them. |
| 3128 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
| 3129 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
| 3130 done |
| 3131 LIBOBJS=$ac_libobjs |
| 3132 |
| 3133 LTLIBOBJS=$ac_ltlibobjs |
| 3134 |
| 3135 |
| 3136 |
| 3137 : ${CONFIG_STATUS=./config.status} |
| 3138 ac_clean_files_save=$ac_clean_files |
| 3139 ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
| 3140 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
| 3141 echo "$as_me: creating $CONFIG_STATUS" >&6;} |
| 3142 cat >$CONFIG_STATUS <<_ACEOF |
| 3143 #! $SHELL |
| 3144 # Generated by $as_me. |
| 3145 # Run this file to recreate the current configuration. |
| 3146 # Compiler output produced by configure, useful for debugging |
| 3147 # configure, is in config.log if it exists. |
| 3148 |
| 3149 debug=false |
| 3150 ac_cs_recheck=false |
| 3151 ac_cs_silent=false |
| 3152 SHELL=\${CONFIG_SHELL-$SHELL} |
| 3153 _ACEOF |
| 3154 |
| 3155 cat >>$CONFIG_STATUS <<\_ACEOF |
| 3156 ## --------------------- ## |
| 3157 ## M4sh Initialization. ## |
| 3158 ## --------------------- ## |
| 3159 |
| 3160 # Be Bourne compatible |
| 3161 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 3162 emulate sh |
| 3163 NULLCMD=: |
| 3164 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
| 3165 # is contrary to our usage. Disable this feature. |
| 3166 alias -g '${1+"$@"}'='"$@"' |
| 3167 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
| 3168 set -o posix |
| 3169 fi |
| 3170 |
| 3171 # Support unset when possible. |
| 3172 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
| 3173 as_unset=unset |
| 3174 else |
| 3175 as_unset=false |
| 3176 fi |
| 3177 |
| 3178 |
| 3179 # Work around bugs in pre-3.0 UWIN ksh. |
| 3180 $as_unset ENV MAIL MAILPATH |
| 3181 PS1='$ ' |
| 3182 PS2='> ' |
| 3183 PS4='+ ' |
| 3184 |
| 3185 # NLS nuisances. |
| 3186 for as_var in \ |
| 3187 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
| 3188 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
| 3189 LC_TELEPHONE LC_TIME |
| 3190 do |
| 3191 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| 3192 eval $as_var=C; export $as_var |
| 3193 else |
| 3194 $as_unset $as_var |
| 3195 fi |
| 3196 done |
| 3197 |
| 3198 # Required to use basename. |
| 3199 if expr a : '\(a\)' >/dev/null 2>&1; then |
| 3200 as_expr=expr |
| 3201 else |
| 3202 as_expr=false |
| 3203 fi |
| 3204 |
| 3205 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
| 3206 as_basename=basename |
| 3207 else |
| 3208 as_basename=false |
| 3209 fi |
| 3210 |
| 3211 |
| 3212 # Name of the executable. |
| 3213 as_me=`$as_basename "$0" || |
| 3214 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 3215 X"$0" : 'X\(//\)$' \| \ |
| 3216 X"$0" : 'X\(/\)$' \| \ |
| 3217 . : '\(.\)' 2>/dev/null || |
| 3218 echo X/"$0" | |
| 3219 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
| 3220 /^X\/\(\/\/\)$/{ s//\1/; q; } |
| 3221 /^X\/\(\/\).*/{ s//\1/; q; } |
| 3222 s/.*/./; q'` |
| 3223 |
| 3224 |
| 3225 # PATH needs CR, and LINENO needs CR and PATH. |
| 3226 # Avoid depending upon Character Ranges. |
| 3227 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 3228 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 3229 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 3230 as_cr_digits='0123456789' |
| 3231 as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 3232 |
| 3233 # The user is always right. |
| 3234 if test "${PATH_SEPARATOR+set}" != set; then |
| 3235 echo "#! /bin/sh" >conf$$.sh |
| 3236 echo "exit 0" >>conf$$.sh |
| 3237 chmod +x conf$$.sh |
| 3238 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
| 3239 PATH_SEPARATOR=';' |
| 3240 else |
| 3241 PATH_SEPARATOR=: |
| 3242 fi |
| 3243 rm -f conf$$.sh |
| 3244 fi |
| 3245 |
| 3246 |
| 3247 as_lineno_1=$LINENO |
| 3248 as_lineno_2=$LINENO |
| 3249 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
| 3250 test "x$as_lineno_1" != "x$as_lineno_2" && |
| 3251 test "x$as_lineno_3" = "x$as_lineno_2" || { |
| 3252 # Find who we are. Look in the path if we contain no path at all |
| 3253 # relative or not. |
| 3254 case $0 in |
| 3255 *[\\/]* ) as_myself=$0 ;; |
| 3256 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3257 for as_dir in $PATH |
| 3258 do |
| 3259 IFS=$as_save_IFS |
| 3260 test -z "$as_dir" && as_dir=. |
| 3261 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 3262 done |
| 3263 |
| 3264 ;; |
| 3265 esac |
| 3266 # We did not find ourselves, most probably we were run as `sh COMMAND' |
| 3267 # in which case we are not to be found in the path. |
| 3268 if test "x$as_myself" = x; then |
| 3269 as_myself=$0 |
| 3270 fi |
| 3271 if test ! -f "$as_myself"; then |
| 3272 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute
path" >&5 |
| 3273 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
| 3274 { (exit 1); exit 1; }; } |
| 3275 fi |
| 3276 case $CONFIG_SHELL in |
| 3277 '') |
| 3278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3279 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
| 3280 do |
| 3281 IFS=$as_save_IFS |
| 3282 test -z "$as_dir" && as_dir=. |
| 3283 for as_base in sh bash ksh sh5; do |
| 3284 case $as_dir in |
| 3285 /*) |
| 3286 if ("$as_dir/$as_base" -c ' |
| 3287 as_lineno_1=$LINENO |
| 3288 as_lineno_2=$LINENO |
| 3289 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
| 3290 test "x$as_lineno_1" != "x$as_lineno_2" && |
| 3291 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
| 3292 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=;
export BASH_ENV; } |
| 3293 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
| 3294 CONFIG_SHELL=$as_dir/$as_base |
| 3295 export CONFIG_SHELL |
| 3296 exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
| 3297 fi;; |
| 3298 esac |
| 3299 done |
| 3300 done |
| 3301 ;; |
| 3302 esac |
| 3303 |
| 3304 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
| 3305 # uniformly replaced by the line number. The first 'sed' inserts a |
| 3306 # line-number line before each line; the second 'sed' does the real |
| 3307 # work. The second script uses 'N' to pair each line-number line |
| 3308 # with the numbered line, and appends trailing '-' during |
| 3309 # substitution so that $LINENO is not a special case at line end. |
| 3310 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
| 3311 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
| 3312 sed '=' <$as_myself | |
| 3313 sed ' |
| 3314 N |
| 3315 s,$,-, |
| 3316 : loop |
| 3317 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
| 3318 t loop |
| 3319 s,-$,, |
| 3320 s,^['$as_cr_digits']*\n,, |
| 3321 ' >$as_me.lineno && |
| 3322 chmod +x $as_me.lineno || |
| 3323 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a P
OSIX shell" >&5 |
| 3324 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;
} |
| 3325 { (exit 1); exit 1; }; } |
| 3326 |
| 3327 # Don't try to exec as it changes $[0], causing all sort of problems |
| 3328 # (the dirname of $[0] is not the place where we might find the |
| 3329 # original and so on. Autoconf is especially sensible to this). |
| 3330 . ./$as_me.lineno |
| 3331 # Exit status is that of the last command. |
| 3332 exit |
| 3333 } |
| 3334 |
| 3335 |
| 3336 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
| 3337 *c*,-n*) ECHO_N= ECHO_C=' |
| 3338 ' ECHO_T=' ' ;; |
| 3339 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
| 3340 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
| 3341 esac |
| 3342 |
| 3343 if expr a : '\(a\)' >/dev/null 2>&1; then |
| 3344 as_expr=expr |
| 3345 else |
| 3346 as_expr=false |
| 3347 fi |
| 3348 |
| 3349 rm -f conf$$ conf$$.exe conf$$.file |
| 3350 echo >conf$$.file |
| 3351 if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 3352 # We could just check for DJGPP; but this test a) works b) is more generic |
| 3353 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
| 3354 if test -f conf$$.exe; then |
| 3355 # Don't use ln at all; we don't have any links |
| 3356 as_ln_s='cp -p' |
| 3357 else |
| 3358 as_ln_s='ln -s' |
| 3359 fi |
| 3360 elif ln conf$$.file conf$$ 2>/dev/null; then |
| 3361 as_ln_s=ln |
| 3362 else |
| 3363 as_ln_s='cp -p' |
| 3364 fi |
| 3365 rm -f conf$$ conf$$.exe conf$$.file |
| 3366 |
| 3367 if mkdir -p . 2>/dev/null; then |
| 3368 as_mkdir_p=: |
| 3369 else |
| 3370 as_mkdir_p=false |
| 3371 fi |
| 3372 |
| 3373 as_executable_p="test -f" |
| 3374 |
| 3375 # Sed expression to map a string onto a valid CPP name. |
| 3376 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
| 3377 |
| 3378 # Sed expression to map a string onto a valid variable name. |
| 3379 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
| 3380 |
| 3381 |
| 3382 # IFS |
| 3383 # We need space, tab and new line, in precisely that order. |
| 3384 as_nl=' |
| 3385 ' |
| 3386 IFS=" $as_nl" |
| 3387 |
| 3388 # CDPATH. |
| 3389 $as_unset CDPATH |
| 3390 |
| 3391 exec 6>&1 |
| 3392 |
| 3393 # Open the log real soon, to keep \$[0] and so on meaningful, and to |
| 3394 # report actual input values of CONFIG_FILES etc. instead of their |
| 3395 # values after options handling. Logging --version etc. is OK. |
| 3396 exec 5>>config.log |
| 3397 { |
| 3398 echo |
| 3399 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
| 3400 ## Running $as_me. ## |
| 3401 _ASBOX |
| 3402 } >&5 |
| 3403 cat >&5 <<_CSEOF |
| 3404 |
| 3405 This file was extended by $as_me, which was |
| 3406 generated by GNU Autoconf 2.57. Invocation command line was |
| 3407 |
| 3408 CONFIG_FILES = $CONFIG_FILES |
| 3409 CONFIG_HEADERS = $CONFIG_HEADERS |
| 3410 CONFIG_LINKS = $CONFIG_LINKS |
| 3411 CONFIG_COMMANDS = $CONFIG_COMMANDS |
| 3412 $ $0 $@ |
| 3413 |
| 3414 _CSEOF |
| 3415 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
| 3416 echo >&5 |
| 3417 _ACEOF |
| 3418 |
| 3419 # Files that config.status was made for. |
| 3420 if test -n "$ac_config_files"; then |
| 3421 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
| 3422 fi |
| 3423 |
| 3424 if test -n "$ac_config_headers"; then |
| 3425 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
| 3426 fi |
| 3427 |
| 3428 if test -n "$ac_config_links"; then |
| 3429 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
| 3430 fi |
| 3431 |
| 3432 if test -n "$ac_config_commands"; then |
| 3433 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
| 3434 fi |
| 3435 |
| 3436 cat >>$CONFIG_STATUS <<\_ACEOF |
| 3437 |
| 3438 ac_cs_usage="\ |
| 3439 \`$as_me' instantiates files from templates according to the |
| 3440 current configuration. |
| 3441 |
| 3442 Usage: $0 [OPTIONS] [FILE]... |
| 3443 |
| 3444 -h, --help print this help, then exit |
| 3445 -V, --version print version number, then exit |
| 3446 -q, --quiet do not print progress messages |
| 3447 -d, --debug don't remove temporary files |
| 3448 --recheck update $as_me by reconfiguring in the same conditions |
| 3449 --file=FILE[:TEMPLATE] |
| 3450 instantiate the configuration file FILE |
| 3451 |
| 3452 Configuration files: |
| 3453 $config_files |
| 3454 |
| 3455 Report bugs to <bug-autoconf@gnu.org>." |
| 3456 _ACEOF |
| 3457 |
| 3458 cat >>$CONFIG_STATUS <<_ACEOF |
| 3459 ac_cs_version="\\ |
| 3460 config.status |
| 3461 configured by $0, generated by GNU Autoconf 2.57, |
| 3462 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
| 3463 |
| 3464 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
| 3465 Free Software Foundation, Inc. |
| 3466 This config.status script is free software; the Free Software Foundation |
| 3467 gives unlimited permission to copy, distribute and modify it." |
| 3468 srcdir=$srcdir |
| 3469 _ACEOF |
| 3470 |
| 3471 cat >>$CONFIG_STATUS <<\_ACEOF |
| 3472 # If no file are specified by the user, then we need to provide default |
| 3473 # value. By we need to know if files were specified by the user. |
| 3474 ac_need_defaults=: |
| 3475 while test $# != 0 |
| 3476 do |
| 3477 case $1 in |
| 3478 --*=*) |
| 3479 ac_option=`expr "x$1" : 'x\([^=]*\)='` |
| 3480 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
| 3481 ac_shift=: |
| 3482 ;; |
| 3483 -*) |
| 3484 ac_option=$1 |
| 3485 ac_optarg=$2 |
| 3486 ac_shift=shift |
| 3487 ;; |
| 3488 *) # This is not an option, so the user has probably given explicit |
| 3489 # arguments. |
| 3490 ac_option=$1 |
| 3491 ac_need_defaults=false;; |
| 3492 esac |
| 3493 |
| 3494 case $ac_option in |
| 3495 # Handling of the options. |
| 3496 _ACEOF |
| 3497 cat >>$CONFIG_STATUS <<\_ACEOF |
| 3498 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
| 3499 ac_cs_recheck=: ;; |
| 3500 --version | --vers* | -V ) |
| 3501 echo "$ac_cs_version"; exit 0 ;; |
| 3502 --he | --h) |
| 3503 # Conflict between --help and --header |
| 3504 { { echo "$as_me:$LINENO: error: ambiguous option: $1 |
| 3505 Try \`$0 --help' for more information." >&5 |
| 3506 echo "$as_me: error: ambiguous option: $1 |
| 3507 Try \`$0 --help' for more information." >&2;} |
| 3508 { (exit 1); exit 1; }; };; |
| 3509 --help | --hel | -h ) |
| 3510 echo "$ac_cs_usage"; exit 0 ;; |
| 3511 --debug | --d* | -d ) |
| 3512 debug=: ;; |
| 3513 --file | --fil | --fi | --f ) |
| 3514 $ac_shift |
| 3515 CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
| 3516 ac_need_defaults=false;; |
| 3517 --header | --heade | --head | --hea ) |
| 3518 $ac_shift |
| 3519 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
| 3520 ac_need_defaults=false;; |
| 3521 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 3522 | -silent | --silent | --silen | --sile | --sil | --si | --s) |
| 3523 ac_cs_silent=: ;; |
| 3524 |
| 3525 # This is an error. |
| 3526 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
| 3527 Try \`$0 --help' for more information." >&5 |
| 3528 echo "$as_me: error: unrecognized option: $1 |
| 3529 Try \`$0 --help' for more information." >&2;} |
| 3530 { (exit 1); exit 1; }; } ;; |
| 3531 |
| 3532 *) ac_config_targets="$ac_config_targets $1" ;; |
| 3533 |
| 3534 esac |
| 3535 shift |
| 3536 done |
| 3537 |
| 3538 ac_configure_extra_args= |
| 3539 |
| 3540 if $ac_cs_silent; then |
| 3541 exec 6>/dev/null |
| 3542 ac_configure_extra_args="$ac_configure_extra_args --silent" |
| 3543 fi |
| 3544 |
| 3545 _ACEOF |
| 3546 cat >>$CONFIG_STATUS <<_ACEOF |
| 3547 if \$ac_cs_recheck; then |
| 3548 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-
create --no-recursion" >&6 |
| 3549 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-r
ecursion |
| 3550 fi |
| 3551 |
| 3552 _ACEOF |
| 3553 |
| 3554 |
| 3555 |
| 3556 |
| 3557 |
| 3558 cat >>$CONFIG_STATUS <<\_ACEOF |
| 3559 for ac_config_target in $ac_config_targets |
| 3560 do |
| 3561 case "$ac_config_target" in |
| 3562 # Handling of arguments. |
| 3563 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 3564 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
| 3565 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
| 3566 { (exit 1); exit 1; }; };; |
| 3567 esac |
| 3568 done |
| 3569 |
| 3570 # If the user did not use the arguments to specify the items to instantiate, |
| 3571 # then the envvar interface is used. Set only those that are not. |
| 3572 # We use the long form for the default assignment because of an extremely |
| 3573 # bizarre bug on SunOS 4.1.3. |
| 3574 if $ac_need_defaults; then |
| 3575 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
| 3576 fi |
| 3577 |
| 3578 # Have a temporary directory for convenience. Make it in the build tree |
| 3579 # simply because there is no reason to put it here, and in addition, |
| 3580 # creating and moving files from /tmp can sometimes cause problems. |
| 3581 # Create a temporary directory, and hook for its removal unless debugging. |
| 3582 $debug || |
| 3583 { |
| 3584 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
| 3585 trap '{ (exit 1); exit 1; }' 1 2 13 15 |
| 3586 } |
| 3587 |
| 3588 # Create a (secure) tmp directory for tmp files. |
| 3589 |
| 3590 { |
| 3591 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
| 3592 test -n "$tmp" && test -d "$tmp" |
| 3593 } || |
| 3594 { |
| 3595 tmp=./confstat$$-$RANDOM |
| 3596 (umask 077 && mkdir $tmp) |
| 3597 } || |
| 3598 { |
| 3599 echo "$me: cannot create a temporary directory in ." >&2 |
| 3600 { (exit 1); exit 1; } |
| 3601 } |
| 3602 |
| 3603 _ACEOF |
| 3604 |
| 3605 cat >>$CONFIG_STATUS <<_ACEOF |
| 3606 |
| 3607 # |
| 3608 # CONFIG_FILES section. |
| 3609 # |
| 3610 |
| 3611 # No need to generate the scripts if there are no CONFIG_FILES. |
| 3612 # This happens for instance when ./config.status config.h |
| 3613 if test -n "\$CONFIG_FILES"; then |
| 3614 # Protect against being on the right side of a sed subst in config.status. |
| 3615 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
| 3616 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
| 3617 s,@SHELL@,$SHELL,;t t |
| 3618 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
| 3619 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
| 3620 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
| 3621 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
| 3622 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
| 3623 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
| 3624 s,@exec_prefix@,$exec_prefix,;t t |
| 3625 s,@prefix@,$prefix,;t t |
| 3626 s,@program_transform_name@,$program_transform_name,;t t |
| 3627 s,@bindir@,$bindir,;t t |
| 3628 s,@sbindir@,$sbindir,;t t |
| 3629 s,@libexecdir@,$libexecdir,;t t |
| 3630 s,@datadir@,$datadir,;t t |
| 3631 s,@sysconfdir@,$sysconfdir,;t t |
| 3632 s,@sharedstatedir@,$sharedstatedir,;t t |
| 3633 s,@localstatedir@,$localstatedir,;t t |
| 3634 s,@libdir@,$libdir,;t t |
| 3635 s,@includedir@,$includedir,;t t |
| 3636 s,@oldincludedir@,$oldincludedir,;t t |
| 3637 s,@infodir@,$infodir,;t t |
| 3638 s,@mandir@,$mandir,;t t |
| 3639 s,@build_alias@,$build_alias,;t t |
| 3640 s,@host_alias@,$host_alias,;t t |
| 3641 s,@target_alias@,$target_alias,;t t |
| 3642 s,@DEFS@,$DEFS,;t t |
| 3643 s,@ECHO_C@,$ECHO_C,;t t |
| 3644 s,@ECHO_N@,$ECHO_N,;t t |
| 3645 s,@ECHO_T@,$ECHO_T,;t t |
| 3646 s,@LIBS@,$LIBS,;t t |
| 3647 s,@SET_MAKE@,$SET_MAKE,;t t |
| 3648 s,@CC@,$CC,;t t |
| 3649 s,@CFLAGS@,$CFLAGS,;t t |
| 3650 s,@LDFLAGS@,$LDFLAGS,;t t |
| 3651 s,@CPPFLAGS@,$CPPFLAGS,;t t |
| 3652 s,@ac_ct_CC@,$ac_ct_CC,;t t |
| 3653 s,@EXEEXT@,$EXEEXT,;t t |
| 3654 s,@OBJEXT@,$OBJEXT,;t t |
| 3655 s,@CPP@,$CPP,;t t |
| 3656 s,@CXX@,$CXX,;t t |
| 3657 s,@CXXFLAGS@,$CXXFLAGS,;t t |
| 3658 s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
| 3659 s,@CXXCPP@,$CXXCPP,;t t |
| 3660 s,@RANLIB@,$RANLIB,;t t |
| 3661 s,@INSTALL@,$INSTALL,;t t |
| 3662 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
| 3663 s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
| 3664 s,@LIBOBJS@,$LIBOBJS,;t t |
| 3665 s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
| 3666 CEOF |
| 3667 |
| 3668 _ACEOF |
| 3669 |
| 3670 cat >>$CONFIG_STATUS <<\_ACEOF |
| 3671 # Split the substitutions into bite-sized pieces for seds with |
| 3672 # small command number limits, like on Digital OSF/1 and HP-UX. |
| 3673 ac_max_sed_lines=48 |
| 3674 ac_sed_frag=1 # Number of current file. |
| 3675 ac_beg=1 # First line for current file. |
| 3676 ac_end=$ac_max_sed_lines # Line after last line for current file. |
| 3677 ac_more_lines=: |
| 3678 ac_sed_cmds= |
| 3679 while $ac_more_lines; do |
| 3680 if test $ac_beg -gt 1; then |
| 3681 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
| 3682 else |
| 3683 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
| 3684 fi |
| 3685 if test ! -s $tmp/subs.frag; then |
| 3686 ac_more_lines=false |
| 3687 else |
| 3688 # The purpose of the label and of the branching condition is to |
| 3689 # speed up the sed processing (if there are no `@' at all, there |
| 3690 # is no need to browse any of the substitutions). |
| 3691 # These are the two extra sed commands mentioned above. |
| 3692 (echo ':t |
| 3693 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.s
ed |
| 3694 if test -z "$ac_sed_cmds"; then |
| 3695 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
| 3696 else |
| 3697 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
| 3698 fi |
| 3699 ac_sed_frag=`expr $ac_sed_frag + 1` |
| 3700 ac_beg=$ac_end |
| 3701 ac_end=`expr $ac_end + $ac_max_sed_lines` |
| 3702 fi |
| 3703 done |
| 3704 if test -z "$ac_sed_cmds"; then |
| 3705 ac_sed_cmds=cat |
| 3706 fi |
| 3707 fi # test -n "$CONFIG_FILES" |
| 3708 |
| 3709 _ACEOF |
| 3710 cat >>$CONFIG_STATUS <<\_ACEOF |
| 3711 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
| 3712 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
| 3713 case $ac_file in |
| 3714 - | *:- | *:-:* ) # input from stdin |
| 3715 cat >$tmp/stdin |
| 3716 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 3717 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 3718 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 3719 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 3720 * ) ac_file_in=$ac_file.in ;; |
| 3721 esac |
| 3722 |
| 3723 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
| 3724 ac_dir=`(dirname "$ac_file") 2>/dev/null || |
| 3725 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 3726 X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 3727 X"$ac_file" : 'X\(//\)$' \| \ |
| 3728 X"$ac_file" : 'X\(/\)' \| \ |
| 3729 . : '\(.\)' 2>/dev/null || |
| 3730 echo X"$ac_file" | |
| 3731 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 3732 /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 3733 /^X\(\/\/\)$/{ s//\1/; q; } |
| 3734 /^X\(\/\).*/{ s//\1/; q; } |
| 3735 s/.*/./; q'` |
| 3736 { if $as_mkdir_p; then |
| 3737 mkdir -p "$ac_dir" |
| 3738 else |
| 3739 as_dir="$ac_dir" |
| 3740 as_dirs= |
| 3741 while test ! -d "$as_dir"; do |
| 3742 as_dirs="$as_dir $as_dirs" |
| 3743 as_dir=`(dirname "$as_dir") 2>/dev/null || |
| 3744 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 3745 X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 3746 X"$as_dir" : 'X\(//\)$' \| \ |
| 3747 X"$as_dir" : 'X\(/\)' \| \ |
| 3748 . : '\(.\)' 2>/dev/null || |
| 3749 echo X"$as_dir" | |
| 3750 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 3751 /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 3752 /^X\(\/\/\)$/{ s//\1/; q; } |
| 3753 /^X\(\/\).*/{ s//\1/; q; } |
| 3754 s/.*/./; q'` |
| 3755 done |
| 3756 test ! -n "$as_dirs" || mkdir $as_dirs |
| 3757 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&
5 |
| 3758 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
| 3759 { (exit 1); exit 1; }; }; } |
| 3760 |
| 3761 ac_builddir=. |
| 3762 |
| 3763 if test "$ac_dir" != .; then |
| 3764 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
| 3765 # A "../" for each directory in $ac_dir_suffix. |
| 3766 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
| 3767 else |
| 3768 ac_dir_suffix= ac_top_builddir= |
| 3769 fi |
| 3770 |
| 3771 case $srcdir in |
| 3772 .) # No --srcdir option. We are building in place. |
| 3773 ac_srcdir=. |
| 3774 if test -z "$ac_top_builddir"; then |
| 3775 ac_top_srcdir=. |
| 3776 else |
| 3777 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
| 3778 fi ;; |
| 3779 [\\/]* | ?:[\\/]* ) # Absolute path. |
| 3780 ac_srcdir=$srcdir$ac_dir_suffix; |
| 3781 ac_top_srcdir=$srcdir ;; |
| 3782 *) # Relative path. |
| 3783 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
| 3784 ac_top_srcdir=$ac_top_builddir$srcdir ;; |
| 3785 esac |
| 3786 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
| 3787 # absolute. |
| 3788 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
| 3789 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
| 3790 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
| 3791 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
| 3792 |
| 3793 |
| 3794 |
| 3795 if test x"$ac_file" != x-; then |
| 3796 { echo "$as_me:$LINENO: creating $ac_file" >&5 |
| 3797 echo "$as_me: creating $ac_file" >&6;} |
| 3798 rm -f "$ac_file" |
| 3799 fi |
| 3800 # Let's still pretend it is `configure' which instantiates (i.e., don't |
| 3801 # use $as_me), people would be surprised to read: |
| 3802 # /* config.h. Generated by config.status. */ |
| 3803 if test x"$ac_file" = x-; then |
| 3804 configure_input= |
| 3805 else |
| 3806 configure_input="$ac_file. " |
| 3807 fi |
| 3808 configure_input=$configure_input"Generated from `echo $ac_file_in | |
| 3809 sed 's,.*/,,'` by configure." |
| 3810 |
| 3811 # First look for the input files in the build tree, otherwise in the |
| 3812 # src tree. |
| 3813 ac_file_inputs=`IFS=: |
| 3814 for f in $ac_file_in; do |
| 3815 case $f in |
| 3816 -) echo $tmp/stdin ;; |
| 3817 [\\/$]*) |
| 3818 # Absolute (can't be DOS-style, as IFS=:) |
| 3819 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file
: $f" >&5 |
| 3820 echo "$as_me: error: cannot find input file: $f" >&2;} |
| 3821 { (exit 1); exit 1; }; } |
| 3822 echo $f;; |
| 3823 *) # Relative |
| 3824 if test -f "$f"; then |
| 3825 # Build tree |
| 3826 echo $f |
| 3827 elif test -f "$srcdir/$f"; then |
| 3828 # Source tree |
| 3829 echo $srcdir/$f |
| 3830 else |
| 3831 # /dev/null tree |
| 3832 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 3833 echo "$as_me: error: cannot find input file: $f" >&2;} |
| 3834 { (exit 1); exit 1; }; } |
| 3835 fi;; |
| 3836 esac |
| 3837 done` || { (exit 1); exit 1; } |
| 3838 _ACEOF |
| 3839 cat >>$CONFIG_STATUS <<_ACEOF |
| 3840 sed "$ac_vpsub |
| 3841 $extrasub |
| 3842 _ACEOF |
| 3843 cat >>$CONFIG_STATUS <<\_ACEOF |
| 3844 :t |
| 3845 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
| 3846 s,@configure_input@,$configure_input,;t t |
| 3847 s,@srcdir@,$ac_srcdir,;t t |
| 3848 s,@abs_srcdir@,$ac_abs_srcdir,;t t |
| 3849 s,@top_srcdir@,$ac_top_srcdir,;t t |
| 3850 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
| 3851 s,@builddir@,$ac_builddir,;t t |
| 3852 s,@abs_builddir@,$ac_abs_builddir,;t t |
| 3853 s,@top_builddir@,$ac_top_builddir,;t t |
| 3854 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
| 3855 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
| 3856 rm -f $tmp/stdin |
| 3857 if test x"$ac_file" != x-; then |
| 3858 mv $tmp/out $ac_file |
| 3859 else |
| 3860 cat $tmp/out |
| 3861 rm -f $tmp/out |
| 3862 fi |
| 3863 |
| 3864 done |
| 3865 _ACEOF |
| 3866 |
| 3867 cat >>$CONFIG_STATUS <<\_ACEOF |
| 3868 |
| 3869 { (exit 0); exit 0; } |
| 3870 _ACEOF |
| 3871 chmod +x $CONFIG_STATUS |
| 3872 ac_clean_files=$ac_clean_files_save |
| 3873 |
| 3874 |
| 3875 # configure is writing to config.log, and then calls config.status. |
| 3876 # config.status does its own redirection, appending to config.log. |
| 3877 # Unfortunately, on DOS this fails, as config.log is still kept open |
| 3878 # by configure, so config.status won't be able to write to it; its |
| 3879 # output is simply discarded. So we exec the FD to /dev/null, |
| 3880 # effectively closing config.log, so it can be properly (re)opened and |
| 3881 # appended to by config.status. When coming back to configure, we |
| 3882 # need to make the FD available again. |
| 3883 if test "$no_create" != yes; then |
| 3884 ac_cs_success=: |
| 3885 ac_config_status_args= |
| 3886 test "$silent" = yes && |
| 3887 ac_config_status_args="$ac_config_status_args --quiet" |
| 3888 exec 5>/dev/null |
| 3889 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
| 3890 exec 5>>config.log |
| 3891 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
| 3892 # would make configure fail if this is the last instruction. |
| 3893 $ac_cs_success || { (exit 1); exit 1; } |
| 3894 fi |
| 3895 |
OLD | NEW |