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