1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.59. 4# 5# Copyright (C) 2003 Free Software Foundation, Inc. 6# This configure script is free software; the Free Software Foundation 7# gives unlimited permission to copy, distribute and modify it. 8## --------------------- ## 9## M4sh Initialization. ## 10## --------------------- ## 11 12# Be Bourne compatible 13if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14 emulate sh 15 NULLCMD=: 16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 17 # is contrary to our usage. Disable this feature. 18 alias -g '${1+"$@"}'='"$@"' 19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21fi 22DUALCASE=1; export DUALCASE # for MKS sh 23 24# Support unset when possible. 25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27else 28 as_unset=false 29fi 30 31 32# Work around bugs in pre-3.0 UWIN ksh. 33$as_unset ENV MAIL MAILPATH 34PS1='$ ' 35PS2='> ' 36PS4='+ ' 37 38# NLS nuisances. 39for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49done 50 51# Required to use basename. 52if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54else 55 as_expr=false 56fi 57 58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60else 61 as_basename=false 62fi 63 64 65# Name of the executable. 66as_me=`$as_basename "$0" || 67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78# PATH needs CR, and LINENO needs CR and PATH. 79# Avoid depending upon Character Ranges. 80as_cr_letters='abcdefghijklmnopqrstuvwxyz' 81as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 82as_cr_Letters=$as_cr_letters$as_cr_LETTERS 83as_cr_digits='0123456789' 84as_cr_alnum=$as_cr_Letters$as_cr_digits 85 86# The user is always right. 87if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110for as_dir in $PATH 111do 112 IFS=$as_save_IFS 113 test -z "$as_dir" && as_dir=. 114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 132do 133 IFS=$as_save_IFS 134 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 137 /*) 138 if ("$as_dir/$as_base" -c ' 139 as_lineno_1=$LINENO 140 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 142 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152done 153;; 154 esac 155 156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 165 sed ' 166 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 170 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 173 ' >$as_me.lineno && 174 chmod +x $as_me.lineno || 175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 { (exit 1); exit 1; }; } 177 178 # Don't try to exec as it changes $[0], causing all sort of problems 179 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensible to this). 181 . ./$as_me.lineno 182 # Exit status is that of the last command. 183 exit 184} 185 186 187case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 192esac 193 194if expr a : '\(a\)' >/dev/null 2>&1; then 195 as_expr=expr 196else 197 as_expr=false 198fi 199 200rm -f conf$$ conf$$.exe conf$$.file 201echo >conf$$.file 202if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 207 as_ln_s='cp -p' 208 else 209 as_ln_s='ln -s' 210 fi 211elif ln conf$$.file conf$$ 2>/dev/null; then 212 as_ln_s=ln 213else 214 as_ln_s='cp -p' 215fi 216rm -f conf$$ conf$$.exe conf$$.file 217 218if mkdir -p . 2>/dev/null; then 219 as_mkdir_p=: 220else 221 test -d ./-p && rmdir ./-p 222 as_mkdir_p=false 223fi 224 225as_executable_p="test -f" 226 227# Sed expression to map a string onto a valid CPP name. 228as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 229 230# Sed expression to map a string onto a valid variable name. 231as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 232 233 234# IFS 235# We need space, tab and new line, in precisely that order. 236as_nl=' 237' 238IFS=" $as_nl" 239 240# CDPATH. 241$as_unset CDPATH 242 243 244# Name of the host. 245# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 246# so uname gets run too. 247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248 249exec 6>&1 250 251# 252# Initializations. 253# 254ac_default_prefix=/usr/local 255ac_config_libobj_dir=. 256cross_compiling=no 257subdirs= 258MFLAGS= 259MAKEFLAGS= 260SHELL=${CONFIG_SHELL-/bin/sh} 261 262# Maximum number of lines to put in a shell here document. 263# This variable seems obsolete. It should probably be removed, and 264# only ac_max_sed_lines should be used. 265: ${ac_max_here_lines=38} 266 267# Identity of this package. 268PACKAGE_NAME= 269PACKAGE_TARNAME= 270PACKAGE_VERSION= 271PACKAGE_STRING= 272PACKAGE_BUGREPORT= 273 274ac_unique_file="lib/libtlen.h" 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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RANLIB ac_ct_RANLIB LN_S GMAKE MAKE AR CFLAGS_LIBTLEN LIBS_LIBTLEN shared install_shared static install_static 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 732 733# 734# Report the --help message. 735# 736if test "$ac_init_help" = "long"; then 737 # Omit some internal or obsolete options to make the list less imposing. 738 # This message is too long to be a string in the A/UX 3.1 sh. 739 cat <<_ACEOF 740\`configure' configures this package to adapt to many kinds of systems. 741 742Usage: $0 [OPTION]... [VAR=VALUE]... 743 744To assign environment variables (e.g., CC, CFLAGS...), specify them as 745VAR=VALUE. See below for descriptions of some of the useful variables. 746 747Defaults for the options are specified in brackets. 748 749Configuration: 750 -h, --help display this help and exit 751 --help=short display options specific to this package 752 --help=recursive display the short help of all the included packages 753 -V, --version display version information and exit 754 -q, --quiet, --silent do not print \`checking...' messages 755 --cache-file=FILE cache test results in FILE [disabled] 756 -C, --config-cache alias for \`--cache-file=config.cache' 757 -n, --no-create do not create output files 758 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 759 760_ACEOF 761 762 cat <<_ACEOF 763Installation directories: 764 --prefix=PREFIX install architecture-independent files in PREFIX 765 [$ac_default_prefix] 766 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 767 [PREFIX] 768 769By default, \`make install' will install all the files in 770\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 771an installation prefix other than \`$ac_default_prefix' using \`--prefix', 772for instance \`--prefix=\$HOME'. 773 774For better control, use the options below. 775 776Fine tuning of the installation directories: 777 --bindir=DIR user executables [EPREFIX/bin] 778 --sbindir=DIR system admin executables [EPREFIX/sbin] 779 --libexecdir=DIR program executables [EPREFIX/libexec] 780 --datadir=DIR read-only architecture-independent data [PREFIX/share] 781 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 782 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 783 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 784 --libdir=DIR object code libraries [EPREFIX/lib] 785 --includedir=DIR C header files [PREFIX/include] 786 --oldincludedir=DIR C header files for non-gcc [/usr/include] 787 --infodir=DIR info documentation [PREFIX/info] 788 --mandir=DIR man documentation [PREFIX/man] 789_ACEOF 790 791 cat <<\_ACEOF 792_ACEOF 793fi 794 795if test -n "$ac_init_help"; then 796 797 cat <<\_ACEOF 798 799Some influential environment variables: 800 CC C compiler command 801 CFLAGS C compiler flags 802 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 803 nonstandard directory <lib dir> 804 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 805 headers in a nonstandard directory <include dir> 806 807Use these variables to override the choices made by `configure' or to help 808it to find libraries and programs with nonstandard names/locations. 809 810_ACEOF 811fi 812 813if test "$ac_init_help" = "recursive"; then 814 # If there are subdirs, report their specific --help. 815 ac_popdir=`pwd` 816 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 817 test -d $ac_dir || continue 818 ac_builddir=. 819 820if test "$ac_dir" != .; then 821 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 822 # A "../" for each directory in $ac_dir_suffix. 823 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 824else 825 ac_dir_suffix= ac_top_builddir= 826fi 827 828case $srcdir in 829 .) # No --srcdir option. We are building in place. 830 ac_srcdir=. 831 if test -z "$ac_top_builddir"; then 832 ac_top_srcdir=. 833 else 834 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 835 fi ;; 836 [\\/]* | ?:[\\/]* ) # Absolute path. 837 ac_srcdir=$srcdir$ac_dir_suffix; 838 ac_top_srcdir=$srcdir ;; 839 *) # Relative path. 840 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 841 ac_top_srcdir=$ac_top_builddir$srcdir ;; 842esac 843 844# Do not use `cd foo && pwd` to compute absolute paths, because 845# the directories may not exist. 846case `pwd` in 847.) ac_abs_builddir="$ac_dir";; 848*) 849 case "$ac_dir" in 850 .) ac_abs_builddir=`pwd`;; 851 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 852 *) ac_abs_builddir=`pwd`/"$ac_dir";; 853 esac;; 854esac 855case $ac_abs_builddir in 856.) ac_abs_top_builddir=${ac_top_builddir}.;; 857*) 858 case ${ac_top_builddir}. in 859 .) ac_abs_top_builddir=$ac_abs_builddir;; 860 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 861 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 862 esac;; 863esac 864case $ac_abs_builddir in 865.) ac_abs_srcdir=$ac_srcdir;; 866*) 867 case $ac_srcdir in 868 .) ac_abs_srcdir=$ac_abs_builddir;; 869 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 870 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 871 esac;; 872esac 873case $ac_abs_builddir in 874.) ac_abs_top_srcdir=$ac_top_srcdir;; 875*) 876 case $ac_top_srcdir in 877 .) ac_abs_top_srcdir=$ac_abs_builddir;; 878 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 879 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 880 esac;; 881esac 882 883 cd $ac_dir 884 # Check for guested configure; otherwise get Cygnus style configure. 885 if test -f $ac_srcdir/configure.gnu; then 886 echo 887 $SHELL $ac_srcdir/configure.gnu --help=recursive 888 elif test -f $ac_srcdir/configure; then 889 echo 890 $SHELL $ac_srcdir/configure --help=recursive 891 elif test -f $ac_srcdir/configure.ac || 892 test -f $ac_srcdir/configure.in; then 893 echo 894 $ac_configure --help 895 else 896 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 897 fi 898 cd $ac_popdir 899 done 900fi 901 902test -n "$ac_init_help" && exit 0 903if $ac_init_version; then 904 cat <<\_ACEOF 905 906Copyright (C) 2003 Free Software Foundation, Inc. 907This configure script is free software; the Free Software Foundation 908gives unlimited permission to copy, distribute and modify it. 909_ACEOF 910 exit 0 911fi 912exec 5>config.log 913cat >&5 <<_ACEOF 914This file contains any messages produced by compilers while 915running configure, to aid debugging if configure makes a mistake. 916 917It was created by $as_me, which was 918generated by GNU Autoconf 2.59. Invocation command line was 919 920 $ $0 $@ 921 922_ACEOF 923{ 924cat <<_ASUNAME 925## --------- ## 926## Platform. ## 927## --------- ## 928 929hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 930uname -m = `(uname -m) 2>/dev/null || echo unknown` 931uname -r = `(uname -r) 2>/dev/null || echo unknown` 932uname -s = `(uname -s) 2>/dev/null || echo unknown` 933uname -v = `(uname -v) 2>/dev/null || echo unknown` 934 935/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 936/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 937 938/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 939/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 940/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 941hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 942/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 943/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 944/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 945 946_ASUNAME 947 948as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 949for as_dir in $PATH 950do 951 IFS=$as_save_IFS 952 test -z "$as_dir" && as_dir=. 953 echo "PATH: $as_dir" 954done 955 956} >&5 957 958cat >&5 <<_ACEOF 959 960 961## ----------- ## 962## Core tests. ## 963## ----------- ## 964 965_ACEOF 966 967 968# Keep a trace of the command line. 969# Strip out --no-create and --no-recursion so they do not pile up. 970# Strip out --silent because we don't want to record it for future runs. 971# Also quote any args containing shell meta-characters. 972# Make two passes to allow for proper duplicate-argument suppression. 973ac_configure_args= 974ac_configure_args0= 975ac_configure_args1= 976ac_sep= 977ac_must_keep_next=false 978for ac_pass in 1 2 979do 980 for ac_arg 981 do 982 case $ac_arg in 983 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 984 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 985 | -silent | --silent | --silen | --sile | --sil) 986 continue ;; 987 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 988 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 989 esac 990 case $ac_pass in 991 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 992 2) 993 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 994 if test $ac_must_keep_next = true; then 995 ac_must_keep_next=false # Got value, back to normal. 996 else 997 case $ac_arg in 998 *=* | --config-cache | -C | -disable-* | --disable-* \ 999 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1000 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1001 | -with-* | --with-* | -without-* | --without-* | --x) 1002 case "$ac_configure_args0 " in 1003 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1004 esac 1005 ;; 1006 -* ) ac_must_keep_next=true ;; 1007 esac 1008 fi 1009 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1010 # Get rid of the leading space. 1011 ac_sep=" " 1012 ;; 1013 esac 1014 done 1015done 1016$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1017$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1018 1019# When interrupted or exit'd, cleanup temporary files, and complete 1020# config.log. We remove comments because anyway the quotes in there 1021# would cause problems or look ugly. 1022# WARNING: Be sure not to use single quotes in there, as some shells, 1023# such as our DU 5.0 friend, will then `close' the trap. 1024trap 'exit_status=$? 1025 # Save into config.log some information that might help in debugging. 1026 { 1027 echo 1028 1029 cat <<\_ASBOX 1030## ---------------- ## 1031## Cache variables. ## 1032## ---------------- ## 1033_ASBOX 1034 echo 1035 # The following way of writing the cache mishandles newlines in values, 1036{ 1037 (set) 2>&1 | 1038 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1039 *ac_space=\ *) 1040 sed -n \ 1041 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1042 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1043 ;; 1044 *) 1045 sed -n \ 1046 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1047 ;; 1048 esac; 1049} 1050 echo 1051 1052 cat <<\_ASBOX 1053## ----------------- ## 1054## Output variables. ## 1055## ----------------- ## 1056_ASBOX 1057 echo 1058 for ac_var in $ac_subst_vars 1059 do 1060 eval ac_val=$`echo $ac_var` 1061 echo "$ac_var='"'"'$ac_val'"'"'" 1062 done | sort 1063 echo 1064 1065 if test -n "$ac_subst_files"; then 1066 cat <<\_ASBOX 1067## ------------- ## 1068## Output files. ## 1069## ------------- ## 1070_ASBOX 1071 echo 1072 for ac_var in $ac_subst_files 1073 do 1074 eval ac_val=$`echo $ac_var` 1075 echo "$ac_var='"'"'$ac_val'"'"'" 1076 done | sort 1077 echo 1078 fi 1079 1080 if test -s confdefs.h; then 1081 cat <<\_ASBOX 1082## ----------- ## 1083## confdefs.h. ## 1084## ----------- ## 1085_ASBOX 1086 echo 1087 sed "/^$/d" confdefs.h | sort 1088 echo 1089 fi 1090 test "$ac_signal" != 0 && 1091 echo "$as_me: caught signal $ac_signal" 1092 echo "$as_me: exit $exit_status" 1093 } >&5 1094 rm -f core *.core && 1095 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1096 exit $exit_status 1097 ' 0 1098for ac_signal in 1 2 13 15; do 1099 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1100done 1101ac_signal=0 1102 1103# confdefs.h avoids OS command line length limits that DEFS can exceed. 1104rm -rf conftest* confdefs.h 1105# AIX cpp loses on an empty file, so make sure it contains at least a newline. 1106echo >confdefs.h 1107 1108# Predefined preprocessor variables. 1109 1110cat >>confdefs.h <<_ACEOF 1111#define PACKAGE_NAME "$PACKAGE_NAME" 1112_ACEOF 1113 1114 1115cat >>confdefs.h <<_ACEOF 1116#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1117_ACEOF 1118 1119 1120cat >>confdefs.h <<_ACEOF 1121#define PACKAGE_VERSION "$PACKAGE_VERSION" 1122_ACEOF 1123 1124 1125cat >>confdefs.h <<_ACEOF 1126#define PACKAGE_STRING "$PACKAGE_STRING" 1127_ACEOF 1128 1129 1130cat >>confdefs.h <<_ACEOF 1131#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1132_ACEOF 1133 1134 1135# Let the site file select an alternate cache file if it wants to. 1136# Prefer explicitly selected file to automatically selected ones. 1137if test -z "$CONFIG_SITE"; then 1138 if test "x$prefix" != xNONE; then 1139 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1140 else 1141 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1142 fi 1143fi 1144for ac_site_file in $CONFIG_SITE; do 1145 if test -r "$ac_site_file"; then 1146 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1147echo "$as_me: loading site script $ac_site_file" >&6;} 1148 sed 's/^/| /' "$ac_site_file" >&5 1149 . "$ac_site_file" 1150 fi 1151done 1152 1153if test -r "$cache_file"; then 1154 # Some versions of bash will fail to source /dev/null (special 1155 # files actually), so we avoid doing that. 1156 if test -f "$cache_file"; then 1157 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1158echo "$as_me: loading cache $cache_file" >&6;} 1159 case $cache_file in 1160 [\\/]* | ?:[\\/]* ) . $cache_file;; 1161 *) . ./$cache_file;; 1162 esac 1163 fi 1164else 1165 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1166echo "$as_me: creating cache $cache_file" >&6;} 1167 >$cache_file 1168fi 1169 1170# Check that the precious variables saved in the cache have kept the same 1171# value. 1172ac_cache_corrupted=false 1173for ac_var in `(set) 2>&1 | 1174 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1175 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1176 eval ac_new_set=\$ac_env_${ac_var}_set 1177 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1178 eval ac_new_val="\$ac_env_${ac_var}_value" 1179 case $ac_old_set,$ac_new_set in 1180 set,) 1181 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1182echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1183 ac_cache_corrupted=: ;; 1184 ,set) 1185 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1186echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1187 ac_cache_corrupted=: ;; 1188 ,);; 1189 *) 1190 if test "x$ac_old_val" != "x$ac_new_val"; then 1191 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1192echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1193 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1194echo "$as_me: former value: $ac_old_val" >&2;} 1195 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1196echo "$as_me: current value: $ac_new_val" >&2;} 1197 ac_cache_corrupted=: 1198 fi;; 1199 esac 1200 # Pass precious variables to config.status. 1201 if test "$ac_new_set" = set; then 1202 case $ac_new_val in 1203 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1204 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1205 *) ac_arg=$ac_var=$ac_new_val ;; 1206 esac 1207 case " $ac_configure_args " in 1208 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1209 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1210 esac 1211 fi 1212done 1213if $ac_cache_corrupted; then 1214 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1215echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1216 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1217echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1218 { (exit 1); exit 1; }; } 1219fi 1220 1221ac_ext=c 1222ac_cpp='$CPP $CPPFLAGS' 1223ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1224ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1225ac_compiler_gnu=$ac_cv_c_compiler_gnu 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246ac_ext=c 1247ac_cpp='$CPP $CPPFLAGS' 1248ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1249ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1250ac_compiler_gnu=$ac_cv_c_compiler_gnu 1251if test -n "$ac_tool_prefix"; then 1252 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1253set dummy ${ac_tool_prefix}gcc; ac_word=$2 1254echo "$as_me:$LINENO: checking for $ac_word" >&5 1255echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1256if test "${ac_cv_prog_CC+set}" = set; then 1257 echo $ECHO_N "(cached) $ECHO_C" >&6 1258else 1259 if test -n "$CC"; then 1260 ac_cv_prog_CC="$CC" # Let the user override the test. 1261else 1262as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1263for as_dir in $PATH 1264do 1265 IFS=$as_save_IFS 1266 test -z "$as_dir" && as_dir=. 1267 for ac_exec_ext in '' $ac_executable_extensions; do 1268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1269 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1271 break 2 1272 fi 1273done 1274done 1275 1276fi 1277fi 1278CC=$ac_cv_prog_CC 1279if test -n "$CC"; then 1280 echo "$as_me:$LINENO: result: $CC" >&5 1281echo "${ECHO_T}$CC" >&6 1282else 1283 echo "$as_me:$LINENO: result: no" >&5 1284echo "${ECHO_T}no" >&6 1285fi 1286 1287fi 1288if test -z "$ac_cv_prog_CC"; then 1289 ac_ct_CC=$CC 1290 # Extract the first word of "gcc", so it can be a program name with args. 1291set dummy gcc; ac_word=$2 1292echo "$as_me:$LINENO: checking for $ac_word" >&5 1293echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1294if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1295 echo $ECHO_N "(cached) $ECHO_C" >&6 1296else 1297 if test -n "$ac_ct_CC"; then 1298 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1299else 1300as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1301for as_dir in $PATH 1302do 1303 IFS=$as_save_IFS 1304 test -z "$as_dir" && as_dir=. 1305 for ac_exec_ext in '' $ac_executable_extensions; do 1306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1307 ac_cv_prog_ac_ct_CC="gcc" 1308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1309 break 2 1310 fi 1311done 1312done 1313 1314fi 1315fi 1316ac_ct_CC=$ac_cv_prog_ac_ct_CC 1317if test -n "$ac_ct_CC"; then 1318 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1319echo "${ECHO_T}$ac_ct_CC" >&6 1320else 1321 echo "$as_me:$LINENO: result: no" >&5 1322echo "${ECHO_T}no" >&6 1323fi 1324 1325 CC=$ac_ct_CC 1326else 1327 CC="$ac_cv_prog_CC" 1328fi 1329 1330if test -z "$CC"; then 1331 if test -n "$ac_tool_prefix"; then 1332 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1333set dummy ${ac_tool_prefix}cc; ac_word=$2 1334echo "$as_me:$LINENO: checking for $ac_word" >&5 1335echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1336if test "${ac_cv_prog_CC+set}" = set; then 1337 echo $ECHO_N "(cached) $ECHO_C" >&6 1338else 1339 if test -n "$CC"; then 1340 ac_cv_prog_CC="$CC" # Let the user override the test. 1341else 1342as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1343for as_dir in $PATH 1344do 1345 IFS=$as_save_IFS 1346 test -z "$as_dir" && as_dir=. 1347 for ac_exec_ext in '' $ac_executable_extensions; do 1348 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1349 ac_cv_prog_CC="${ac_tool_prefix}cc" 1350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1351 break 2 1352 fi 1353done 1354done 1355 1356fi 1357fi 1358CC=$ac_cv_prog_CC 1359if test -n "$CC"; then 1360 echo "$as_me:$LINENO: result: $CC" >&5 1361echo "${ECHO_T}$CC" >&6 1362else 1363 echo "$as_me:$LINENO: result: no" >&5 1364echo "${ECHO_T}no" >&6 1365fi 1366 1367fi 1368if test -z "$ac_cv_prog_CC"; then 1369 ac_ct_CC=$CC 1370 # Extract the first word of "cc", so it can be a program name with args. 1371set dummy cc; ac_word=$2 1372echo "$as_me:$LINENO: checking for $ac_word" >&5 1373echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1374if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1375 echo $ECHO_N "(cached) $ECHO_C" >&6 1376else 1377 if test -n "$ac_ct_CC"; then 1378 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1379else 1380as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1381for as_dir in $PATH 1382do 1383 IFS=$as_save_IFS 1384 test -z "$as_dir" && as_dir=. 1385 for ac_exec_ext in '' $ac_executable_extensions; do 1386 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1387 ac_cv_prog_ac_ct_CC="cc" 1388 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1389 break 2 1390 fi 1391done 1392done 1393 1394fi 1395fi 1396ac_ct_CC=$ac_cv_prog_ac_ct_CC 1397if test -n "$ac_ct_CC"; then 1398 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1399echo "${ECHO_T}$ac_ct_CC" >&6 1400else 1401 echo "$as_me:$LINENO: result: no" >&5 1402echo "${ECHO_T}no" >&6 1403fi 1404 1405 CC=$ac_ct_CC 1406else 1407 CC="$ac_cv_prog_CC" 1408fi 1409 1410fi 1411if test -z "$CC"; then 1412 # Extract the first word of "cc", so it can be a program name with args. 1413set dummy cc; ac_word=$2 1414echo "$as_me:$LINENO: checking for $ac_word" >&5 1415echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1416if test "${ac_cv_prog_CC+set}" = set; then 1417 echo $ECHO_N "(cached) $ECHO_C" >&6 1418else 1419 if test -n "$CC"; then 1420 ac_cv_prog_CC="$CC" # Let the user override the test. 1421else 1422 ac_prog_rejected=no 1423as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1424for as_dir in $PATH 1425do 1426 IFS=$as_save_IFS 1427 test -z "$as_dir" && as_dir=. 1428 for ac_exec_ext in '' $ac_executable_extensions; do 1429 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1430 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1431 ac_prog_rejected=yes 1432 continue 1433 fi 1434 ac_cv_prog_CC="cc" 1435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1436 break 2 1437 fi 1438done 1439done 1440 1441if test $ac_prog_rejected = yes; then 1442 # We found a bogon in the path, so make sure we never use it. 1443 set dummy $ac_cv_prog_CC 1444 shift 1445 if test $# != 0; then 1446 # We chose a different compiler from the bogus one. 1447 # However, it has the same basename, so the bogon will be chosen 1448 # first if we set CC to just the basename; use the full file name. 1449 shift 1450 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 1451 fi 1452fi 1453fi 1454fi 1455CC=$ac_cv_prog_CC 1456if test -n "$CC"; then 1457 echo "$as_me:$LINENO: result: $CC" >&5 1458echo "${ECHO_T}$CC" >&6 1459else 1460 echo "$as_me:$LINENO: result: no" >&5 1461echo "${ECHO_T}no" >&6 1462fi 1463 1464fi 1465if test -z "$CC"; then 1466 if test -n "$ac_tool_prefix"; then 1467 for ac_prog in cl 1468 do 1469 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1470set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1471echo "$as_me:$LINENO: checking for $ac_word" >&5 1472echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1473if test "${ac_cv_prog_CC+set}" = set; then 1474 echo $ECHO_N "(cached) $ECHO_C" >&6 1475else 1476 if test -n "$CC"; then 1477 ac_cv_prog_CC="$CC" # Let the user override the test. 1478else 1479as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1480for as_dir in $PATH 1481do 1482 IFS=$as_save_IFS 1483 test -z "$as_dir" && as_dir=. 1484 for ac_exec_ext in '' $ac_executable_extensions; do 1485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1486 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1488 break 2 1489 fi 1490done 1491done 1492 1493fi 1494fi 1495CC=$ac_cv_prog_CC 1496if test -n "$CC"; then 1497 echo "$as_me:$LINENO: result: $CC" >&5 1498echo "${ECHO_T}$CC" >&6 1499else 1500 echo "$as_me:$LINENO: result: no" >&5 1501echo "${ECHO_T}no" >&6 1502fi 1503 1504 test -n "$CC" && break 1505 done 1506fi 1507if test -z "$CC"; then 1508 ac_ct_CC=$CC 1509 for ac_prog in cl 1510do 1511 # Extract the first word of "$ac_prog", so it can be a program name with args. 1512set dummy $ac_prog; ac_word=$2 1513echo "$as_me:$LINENO: checking for $ac_word" >&5 1514echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1515if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1516 echo $ECHO_N "(cached) $ECHO_C" >&6 1517else 1518 if test -n "$ac_ct_CC"; then 1519 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1520else 1521as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1522for as_dir in $PATH 1523do 1524 IFS=$as_save_IFS 1525 test -z "$as_dir" && as_dir=. 1526 for ac_exec_ext in '' $ac_executable_extensions; do 1527 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1528 ac_cv_prog_ac_ct_CC="$ac_prog" 1529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1530 break 2 1531 fi 1532done 1533done 1534 1535fi 1536fi 1537ac_ct_CC=$ac_cv_prog_ac_ct_CC 1538if test -n "$ac_ct_CC"; then 1539 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1540echo "${ECHO_T}$ac_ct_CC" >&6 1541else 1542 echo "$as_me:$LINENO: result: no" >&5 1543echo "${ECHO_T}no" >&6 1544fi 1545 1546 test -n "$ac_ct_CC" && break 1547done 1548 1549 CC=$ac_ct_CC 1550fi 1551 1552fi 1553 1554 1555test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1556See \`config.log' for more details." >&5 1557echo "$as_me: error: no acceptable C compiler found in \$PATH 1558See \`config.log' for more details." >&2;} 1559 { (exit 1); exit 1; }; } 1560 1561# Provide some information about the compiler. 1562echo "$as_me:$LINENO:" \ 1563 "checking for C compiler version" >&5 1564ac_compiler=`set X $ac_compile; echo $2` 1565{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1566 (eval $ac_compiler --version </dev/null >&5) 2>&5 1567 ac_status=$? 1568 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1569 (exit $ac_status); } 1570{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1571 (eval $ac_compiler -v </dev/null >&5) 2>&5 1572 ac_status=$? 1573 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1574 (exit $ac_status); } 1575{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1576 (eval $ac_compiler -V </dev/null >&5) 2>&5 1577 ac_status=$? 1578 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1579 (exit $ac_status); } 1580 1581cat >conftest.$ac_ext <<_ACEOF 1582/* confdefs.h. */ 1583_ACEOF 1584cat confdefs.h >>conftest.$ac_ext 1585cat >>conftest.$ac_ext <<_ACEOF 1586/* end confdefs.h. */ 1587 1588int 1589main () 1590{ 1591 1592 ; 1593 return 0; 1594} 1595_ACEOF 1596ac_clean_files_save=$ac_clean_files 1597ac_clean_files="$ac_clean_files a.out a.exe b.out" 1598# Try to create an executable without -o first, disregard a.out. 1599# It will help us diagnose broken compilers, and finding out an intuition 1600# of exeext. 1601echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1602echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 1603ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1604if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1605 (eval $ac_link_default) 2>&5 1606 ac_status=$? 1607 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1608 (exit $ac_status); }; then 1609 # Find the output, starting from the most likely. This scheme is 1610# not robust to junk in `.', hence go to wildcards (a.*) only as a last 1611# resort. 1612 1613# Be careful to initialize this variable, since it used to be cached. 1614# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1615ac_cv_exeext= 1616# b.out is created by i960 compilers. 1617for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 1618do 1619 test -f "$ac_file" || continue 1620 case $ac_file in 1621 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1622 ;; 1623 conftest.$ac_ext ) 1624 # This is the source file. 1625 ;; 1626 [ab].out ) 1627 # We found the default executable, but exeext='' is most 1628 # certainly right. 1629 break;; 1630 *.* ) 1631 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1632 # FIXME: I believe we export ac_cv_exeext for Libtool, 1633 # but it would be cool to find out if it's true. Does anybody 1634 # maintain Libtool? --akim. 1635 export ac_cv_exeext 1636 break;; 1637 * ) 1638 break;; 1639 esac 1640done 1641else 1642 echo "$as_me: failed program was:" >&5 1643sed 's/^/| /' conftest.$ac_ext >&5 1644 1645{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 1646See \`config.log' for more details." >&5 1647echo "$as_me: error: C compiler cannot create executables 1648See \`config.log' for more details." >&2;} 1649 { (exit 77); exit 77; }; } 1650fi 1651 1652ac_exeext=$ac_cv_exeext 1653echo "$as_me:$LINENO: result: $ac_file" >&5 1654echo "${ECHO_T}$ac_file" >&6 1655 1656# Check the compiler produces executables we can run. If not, either 1657# the compiler is broken, or we cross compile. 1658echo "$as_me:$LINENO: checking whether the C compiler works" >&5 1659echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 1660# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1661# If not cross compiling, check that we can run a simple program. 1662if test "$cross_compiling" != yes; then 1663 if { ac_try='./$ac_file' 1664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1665 (eval $ac_try) 2>&5 1666 ac_status=$? 1667 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1668 (exit $ac_status); }; }; then 1669 cross_compiling=no 1670 else 1671 if test "$cross_compiling" = maybe; then 1672 cross_compiling=yes 1673 else 1674 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 1675If you meant to cross compile, use \`--host'. 1676See \`config.log' for more details." >&5 1677echo "$as_me: error: cannot run C compiled programs. 1678If you meant to cross compile, use \`--host'. 1679See \`config.log' for more details." >&2;} 1680 { (exit 1); exit 1; }; } 1681 fi 1682 fi 1683fi 1684echo "$as_me:$LINENO: result: yes" >&5 1685echo "${ECHO_T}yes" >&6 1686 1687rm -f a.out a.exe conftest$ac_cv_exeext b.out 1688ac_clean_files=$ac_clean_files_save 1689# Check the compiler produces executables we can run. If not, either 1690# the compiler is broken, or we cross compile. 1691echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1692echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1693echo "$as_me:$LINENO: result: $cross_compiling" >&5 1694echo "${ECHO_T}$cross_compiling" >&6 1695 1696echo "$as_me:$LINENO: checking for suffix of executables" >&5 1697echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1698if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1699 (eval $ac_link) 2>&5 1700 ac_status=$? 1701 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1702 (exit $ac_status); }; then 1703 # If both `conftest.exe' and `conftest' are `present' (well, observable) 1704# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 1705# work properly (i.e., refer to `conftest.exe'), while it won't with 1706# `rm'. 1707for ac_file in conftest.exe conftest conftest.*; do 1708 test -f "$ac_file" || continue 1709 case $ac_file in 1710 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 1711 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1712 export ac_cv_exeext 1713 break;; 1714 * ) break;; 1715 esac 1716done 1717else 1718 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 1719See \`config.log' for more details." >&5 1720echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 1721See \`config.log' for more details." >&2;} 1722 { (exit 1); exit 1; }; } 1723fi 1724 1725rm -f conftest$ac_cv_exeext 1726echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 1727echo "${ECHO_T}$ac_cv_exeext" >&6 1728 1729rm -f conftest.$ac_ext 1730EXEEXT=$ac_cv_exeext 1731ac_exeext=$EXEEXT 1732echo "$as_me:$LINENO: checking for suffix of object files" >&5 1733echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 1734if test "${ac_cv_objext+set}" = set; then 1735 echo $ECHO_N "(cached) $ECHO_C" >&6 1736else 1737 cat >conftest.$ac_ext <<_ACEOF 1738/* confdefs.h. */ 1739_ACEOF 1740cat confdefs.h >>conftest.$ac_ext 1741cat >>conftest.$ac_ext <<_ACEOF 1742/* end confdefs.h. */ 1743 1744int 1745main () 1746{ 1747 1748 ; 1749 return 0; 1750} 1751_ACEOF 1752rm -f conftest.o conftest.obj 1753if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1754 (eval $ac_compile) 2>&5 1755 ac_status=$? 1756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1757 (exit $ac_status); }; then 1758 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 1759 case $ac_file in 1760 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 1761 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1762 break;; 1763 esac 1764done 1765else 1766 echo "$as_me: failed program was:" >&5 1767sed 's/^/| /' conftest.$ac_ext >&5 1768 1769{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 1770See \`config.log' for more details." >&5 1771echo "$as_me: error: cannot compute suffix of object files: cannot compile 1772See \`config.log' for more details." >&2;} 1773 { (exit 1); exit 1; }; } 1774fi 1775 1776rm -f conftest.$ac_cv_objext conftest.$ac_ext 1777fi 1778echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 1779echo "${ECHO_T}$ac_cv_objext" >&6 1780OBJEXT=$ac_cv_objext 1781ac_objext=$OBJEXT 1782echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 1783echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 1784if test "${ac_cv_c_compiler_gnu+set}" = set; then 1785 echo $ECHO_N "(cached) $ECHO_C" >&6 1786else 1787 cat >conftest.$ac_ext <<_ACEOF 1788/* confdefs.h. */ 1789_ACEOF 1790cat confdefs.h >>conftest.$ac_ext 1791cat >>conftest.$ac_ext <<_ACEOF 1792/* end confdefs.h. */ 1793 1794int 1795main () 1796{ 1797#ifndef __GNUC__ 1798 choke me 1799#endif 1800 1801 ; 1802 return 0; 1803} 1804_ACEOF 1805rm -f conftest.$ac_objext 1806if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1807 (eval $ac_compile) 2>conftest.er1 1808 ac_status=$? 1809 grep -v '^ *+' conftest.er1 >conftest.err 1810 rm -f conftest.er1 1811 cat conftest.err >&5 1812 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1813 (exit $ac_status); } && 1814 { ac_try='test -z "$ac_c_werror_flag" 1815 || test ! -s conftest.err' 1816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1817 (eval $ac_try) 2>&5 1818 ac_status=$? 1819 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1820 (exit $ac_status); }; } && 1821 { ac_try='test -s conftest.$ac_objext' 1822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1823 (eval $ac_try) 2>&5 1824 ac_status=$? 1825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1826 (exit $ac_status); }; }; then 1827 ac_compiler_gnu=yes 1828else 1829 echo "$as_me: failed program was:" >&5 1830sed 's/^/| /' conftest.$ac_ext >&5 1831 1832ac_compiler_gnu=no 1833fi 1834rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1835ac_cv_c_compiler_gnu=$ac_compiler_gnu 1836 1837fi 1838echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 1839echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 1840GCC=`test $ac_compiler_gnu = yes && echo yes` 1841ac_test_CFLAGS=${CFLAGS+set} 1842ac_save_CFLAGS=$CFLAGS 1843CFLAGS="-g" 1844echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 1845echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 1846if test "${ac_cv_prog_cc_g+set}" = set; then 1847 echo $ECHO_N "(cached) $ECHO_C" >&6 1848else 1849 cat >conftest.$ac_ext <<_ACEOF 1850/* confdefs.h. */ 1851_ACEOF 1852cat confdefs.h >>conftest.$ac_ext 1853cat >>conftest.$ac_ext <<_ACEOF 1854/* end confdefs.h. */ 1855 1856int 1857main () 1858{ 1859 1860 ; 1861 return 0; 1862} 1863_ACEOF 1864rm -f conftest.$ac_objext 1865if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1866 (eval $ac_compile) 2>conftest.er1 1867 ac_status=$? 1868 grep -v '^ *+' conftest.er1 >conftest.err 1869 rm -f conftest.er1 1870 cat conftest.err >&5 1871 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1872 (exit $ac_status); } && 1873 { ac_try='test -z "$ac_c_werror_flag" 1874 || test ! -s conftest.err' 1875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1876 (eval $ac_try) 2>&5 1877 ac_status=$? 1878 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1879 (exit $ac_status); }; } && 1880 { ac_try='test -s conftest.$ac_objext' 1881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1882 (eval $ac_try) 2>&5 1883 ac_status=$? 1884 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1885 (exit $ac_status); }; }; then 1886 ac_cv_prog_cc_g=yes 1887else 1888 echo "$as_me: failed program was:" >&5 1889sed 's/^/| /' conftest.$ac_ext >&5 1890 1891ac_cv_prog_cc_g=no 1892fi 1893rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1894fi 1895echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 1896echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 1897if test "$ac_test_CFLAGS" = set; then 1898 CFLAGS=$ac_save_CFLAGS 1899elif test $ac_cv_prog_cc_g = yes; then 1900 if test "$GCC" = yes; then 1901 CFLAGS="-g -O2" 1902 else 1903 CFLAGS="-g" 1904 fi 1905else 1906 if test "$GCC" = yes; then 1907 CFLAGS="-O2" 1908 else 1909 CFLAGS= 1910 fi 1911fi 1912echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 1913echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 1914if test "${ac_cv_prog_cc_stdc+set}" = set; then 1915 echo $ECHO_N "(cached) $ECHO_C" >&6 1916else 1917 ac_cv_prog_cc_stdc=no 1918ac_save_CC=$CC 1919cat >conftest.$ac_ext <<_ACEOF 1920/* confdefs.h. */ 1921_ACEOF 1922cat confdefs.h >>conftest.$ac_ext 1923cat >>conftest.$ac_ext <<_ACEOF 1924/* end confdefs.h. */ 1925#include <stdarg.h> 1926#include <stdio.h> 1927#include <sys/types.h> 1928#include <sys/stat.h> 1929/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 1930struct buf { int x; }; 1931FILE * (*rcsopen) (struct buf *, struct stat *, int); 1932static char *e (p, i) 1933 char **p; 1934 int i; 1935{ 1936 return p[i]; 1937} 1938static char *f (char * (*g) (char **, int), char **p, ...) 1939{ 1940 char *s; 1941 va_list v; 1942 va_start (v,p); 1943 s = g (p, va_arg (v,int)); 1944 va_end (v); 1945 return s; 1946} 1947 1948/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 1949 function prototypes and stuff, but not '\xHH' hex character constants. 1950 These don't provoke an error unfortunately, instead are silently treated 1951 as 'x'. The following induces an error, until -std1 is added to get 1952 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 1953 array size at least. It's necessary to write '\x00'==0 to get something 1954 that's true only with -std1. */ 1955int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 1956 1957int test (int i, double x); 1958struct s1 {int (*f) (int a);}; 1959struct s2 {int (*f) (double a);}; 1960int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 1961int argc; 1962char **argv; 1963int 1964main () 1965{ 1966return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 1967 ; 1968 return 0; 1969} 1970_ACEOF 1971# Don't try gcc -ansi; that turns off useful extensions and 1972# breaks some systems' header files. 1973# AIX -qlanglvl=ansi 1974# Ultrix and OSF/1 -std1 1975# HP-UX 10.20 and later -Ae 1976# HP-UX older versions -Aa -D_HPUX_SOURCE 1977# SVR4 -Xc -D__EXTENSIONS__ 1978for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 1979do 1980 CC="$ac_save_CC $ac_arg" 1981 rm -f conftest.$ac_objext 1982if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1983 (eval $ac_compile) 2>conftest.er1 1984 ac_status=$? 1985 grep -v '^ *+' conftest.er1 >conftest.err 1986 rm -f conftest.er1 1987 cat conftest.err >&5 1988 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1989 (exit $ac_status); } && 1990 { ac_try='test -z "$ac_c_werror_flag" 1991 || test ! -s conftest.err' 1992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1993 (eval $ac_try) 2>&5 1994 ac_status=$? 1995 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1996 (exit $ac_status); }; } && 1997 { ac_try='test -s conftest.$ac_objext' 1998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1999 (eval $ac_try) 2>&5 2000 ac_status=$? 2001 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2002 (exit $ac_status); }; }; then 2003 ac_cv_prog_cc_stdc=$ac_arg 2004break 2005else 2006 echo "$as_me: failed program was:" >&5 2007sed 's/^/| /' conftest.$ac_ext >&5 2008 2009fi 2010rm -f conftest.err conftest.$ac_objext 2011done 2012rm -f conftest.$ac_ext conftest.$ac_objext 2013CC=$ac_save_CC 2014 2015fi 2016 2017case "x$ac_cv_prog_cc_stdc" in 2018 x|xno) 2019 echo "$as_me:$LINENO: result: none needed" >&5 2020echo "${ECHO_T}none needed" >&6 ;; 2021 *) 2022 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2023echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2024 CC="$CC $ac_cv_prog_cc_stdc" ;; 2025esac 2026 2027# Some people use a C++ compiler to compile C. Since we use `exit', 2028# in C++ we need to declare it. In case someone uses the same compiler 2029# for both compiling C and C++ we need to have the C++ compiler decide 2030# the declaration of exit, since it's the most demanding environment. 2031cat >conftest.$ac_ext <<_ACEOF 2032#ifndef __cplusplus 2033 choke me 2034#endif 2035_ACEOF 2036rm -f conftest.$ac_objext 2037if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2038 (eval $ac_compile) 2>conftest.er1 2039 ac_status=$? 2040 grep -v '^ *+' conftest.er1 >conftest.err 2041 rm -f conftest.er1 2042 cat conftest.err >&5 2043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2044 (exit $ac_status); } && 2045 { ac_try='test -z "$ac_c_werror_flag" 2046 || test ! -s conftest.err' 2047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2048 (eval $ac_try) 2>&5 2049 ac_status=$? 2050 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2051 (exit $ac_status); }; } && 2052 { ac_try='test -s conftest.$ac_objext' 2053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2054 (eval $ac_try) 2>&5 2055 ac_status=$? 2056 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2057 (exit $ac_status); }; }; then 2058 for ac_declaration in \ 2059 '' \ 2060 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2061 'extern "C" void std::exit (int); using std::exit;' \ 2062 'extern "C" void exit (int) throw ();' \ 2063 'extern "C" void exit (int);' \ 2064 'void exit (int);' 2065do 2066 cat >conftest.$ac_ext <<_ACEOF 2067/* confdefs.h. */ 2068_ACEOF 2069cat confdefs.h >>conftest.$ac_ext 2070cat >>conftest.$ac_ext <<_ACEOF 2071/* end confdefs.h. */ 2072$ac_declaration 2073#include <stdlib.h> 2074int 2075main () 2076{ 2077exit (42); 2078 ; 2079 return 0; 2080} 2081_ACEOF 2082rm -f conftest.$ac_objext 2083if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2084 (eval $ac_compile) 2>conftest.er1 2085 ac_status=$? 2086 grep -v '^ *+' conftest.er1 >conftest.err 2087 rm -f conftest.er1 2088 cat conftest.err >&5 2089 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2090 (exit $ac_status); } && 2091 { ac_try='test -z "$ac_c_werror_flag" 2092 || test ! -s conftest.err' 2093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2094 (eval $ac_try) 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 : 2105else 2106 echo "$as_me: failed program was:" >&5 2107sed 's/^/| /' conftest.$ac_ext >&5 2108 2109continue 2110fi 2111rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2112 cat >conftest.$ac_ext <<_ACEOF 2113/* confdefs.h. */ 2114_ACEOF 2115cat confdefs.h >>conftest.$ac_ext 2116cat >>conftest.$ac_ext <<_ACEOF 2117/* end confdefs.h. */ 2118$ac_declaration 2119int 2120main () 2121{ 2122exit (42); 2123 ; 2124 return 0; 2125} 2126_ACEOF 2127rm -f conftest.$ac_objext 2128if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2129 (eval $ac_compile) 2>conftest.er1 2130 ac_status=$? 2131 grep -v '^ *+' conftest.er1 >conftest.err 2132 rm -f conftest.er1 2133 cat conftest.err >&5 2134 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2135 (exit $ac_status); } && 2136 { ac_try='test -z "$ac_c_werror_flag" 2137 || test ! -s conftest.err' 2138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2139 (eval $ac_try) 2>&5 2140 ac_status=$? 2141 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2142 (exit $ac_status); }; } && 2143 { ac_try='test -s conftest.$ac_objext' 2144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2145 (eval $ac_try) 2>&5 2146 ac_status=$? 2147 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2148 (exit $ac_status); }; }; then 2149 break 2150else 2151 echo "$as_me: failed program was:" >&5 2152sed 's/^/| /' conftest.$ac_ext >&5 2153 2154fi 2155rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2156done 2157rm -f conftest* 2158if test -n "$ac_declaration"; then 2159 echo '#ifdef __cplusplus' >>confdefs.h 2160 echo $ac_declaration >>confdefs.h 2161 echo '#endif' >>confdefs.h 2162fi 2163 2164else 2165 echo "$as_me: failed program was:" >&5 2166sed 's/^/| /' conftest.$ac_ext >&5 2167 2168fi 2169rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2170ac_ext=c 2171ac_cpp='$CPP $CPPFLAGS' 2172ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2173ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2174ac_compiler_gnu=$ac_cv_c_compiler_gnu 2175 2176ac_aux_dir= 2177for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 2178 if test -f $ac_dir/install-sh; then 2179 ac_aux_dir=$ac_dir 2180 ac_install_sh="$ac_aux_dir/install-sh -c" 2181 break 2182 elif test -f $ac_dir/install.sh; then 2183 ac_aux_dir=$ac_dir 2184 ac_install_sh="$ac_aux_dir/install.sh -c" 2185 break 2186 elif test -f $ac_dir/shtool; then 2187 ac_aux_dir=$ac_dir 2188 ac_install_sh="$ac_aux_dir/shtool install -c" 2189 break 2190 fi 2191done 2192if test -z "$ac_aux_dir"; then 2193 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 2194echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 2195 { (exit 1); exit 1; }; } 2196fi 2197ac_config_guess="$SHELL $ac_aux_dir/config.guess" 2198ac_config_sub="$SHELL $ac_aux_dir/config.sub" 2199ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 2200 2201# Find a good install program. We prefer a C program (faster), 2202# so one script is as good as another. But avoid the broken or 2203# incompatible versions: 2204# SysV /etc/install, /usr/sbin/install 2205# SunOS /usr/etc/install 2206# IRIX /sbin/install 2207# AIX /bin/install 2208# AmigaOS /C/install, which installs bootblocks on floppy discs 2209# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2210# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2211# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2212# OS/2's system install, which has a completely different semantic 2213# ./install, which can be erroneously created by make from ./install.sh. 2214echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2215echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 2216if test -z "$INSTALL"; then 2217if test "${ac_cv_path_install+set}" = set; then 2218 echo $ECHO_N "(cached) $ECHO_C" >&6 2219else 2220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2221for as_dir in $PATH 2222do 2223 IFS=$as_save_IFS 2224 test -z "$as_dir" && as_dir=. 2225 # Account for people who put trailing slashes in PATH elements. 2226case $as_dir/ in 2227 ./ | .// | /cC/* | \ 2228 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2229 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2230 /usr/ucb/* ) ;; 2231 *) 2232 # OSF1 and SCO ODT 3.0 have their own names for install. 2233 # Don't use installbsd from OSF since it installs stuff as root 2234 # by default. 2235 for ac_prog in ginstall scoinst install; do 2236 for ac_exec_ext in '' $ac_executable_extensions; do 2237 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2238 if test $ac_prog = install && 2239 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2240 # AIX install. It has an incompatible calling convention. 2241 : 2242 elif test $ac_prog = install && 2243 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2244 # program-specific install script used by HP pwplus--don't use. 2245 : 2246 else 2247 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2248 break 3 2249 fi 2250 fi 2251 done 2252 done 2253 ;; 2254esac 2255done 2256 2257 2258fi 2259 if test "${ac_cv_path_install+set}" = set; then 2260 INSTALL=$ac_cv_path_install 2261 else 2262 # As a last resort, use the slow shell script. We don't cache a 2263 # path for INSTALL within a source directory, because that will 2264 # break other packages using the cache if that directory is 2265 # removed, or if the path is relative. 2266 INSTALL=$ac_install_sh 2267 fi 2268fi 2269echo "$as_me:$LINENO: result: $INSTALL" >&5 2270echo "${ECHO_T}$INSTALL" >&6 2271 2272# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2273# It thinks the first close brace ends the variable substitution. 2274test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2275 2276test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2277 2278test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2279 2280if test -n "$ac_tool_prefix"; then 2281 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 2282set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2283echo "$as_me:$LINENO: checking for $ac_word" >&5 2284echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2285if test "${ac_cv_prog_RANLIB+set}" = set; then 2286 echo $ECHO_N "(cached) $ECHO_C" >&6 2287else 2288 if test -n "$RANLIB"; then 2289 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 2290else 2291as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2292for as_dir in $PATH 2293do 2294 IFS=$as_save_IFS 2295 test -z "$as_dir" && as_dir=. 2296 for ac_exec_ext in '' $ac_executable_extensions; do 2297 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2298 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 2299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2300 break 2 2301 fi 2302done 2303done 2304 2305fi 2306fi 2307RANLIB=$ac_cv_prog_RANLIB 2308if test -n "$RANLIB"; then 2309 echo "$as_me:$LINENO: result: $RANLIB" >&5 2310echo "${ECHO_T}$RANLIB" >&6 2311else 2312 echo "$as_me:$LINENO: result: no" >&5 2313echo "${ECHO_T}no" >&6 2314fi 2315 2316fi 2317if test -z "$ac_cv_prog_RANLIB"; then 2318 ac_ct_RANLIB=$RANLIB 2319 # Extract the first word of "ranlib", so it can be a program name with args. 2320set dummy ranlib; ac_word=$2 2321echo "$as_me:$LINENO: checking for $ac_word" >&5 2322echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2323if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 2324 echo $ECHO_N "(cached) $ECHO_C" >&6 2325else 2326 if test -n "$ac_ct_RANLIB"; then 2327 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 2328else 2329as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2330for as_dir in $PATH 2331do 2332 IFS=$as_save_IFS 2333 test -z "$as_dir" && as_dir=. 2334 for ac_exec_ext in '' $ac_executable_extensions; do 2335 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2336 ac_cv_prog_ac_ct_RANLIB="ranlib" 2337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2338 break 2 2339 fi 2340done 2341done 2342 2343 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 2344fi 2345fi 2346ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 2347if test -n "$ac_ct_RANLIB"; then 2348 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 2349echo "${ECHO_T}$ac_ct_RANLIB" >&6 2350else 2351 echo "$as_me:$LINENO: result: no" >&5 2352echo "${ECHO_T}no" >&6 2353fi 2354 2355 RANLIB=$ac_ct_RANLIB 2356else 2357 RANLIB="$ac_cv_prog_RANLIB" 2358fi 2359 2360echo "$as_me:$LINENO: checking whether ln -s works" >&5 2361echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 2362LN_S=$as_ln_s 2363if test "$LN_S" = "ln -s"; then 2364 echo "$as_me:$LINENO: result: yes" >&5 2365echo "${ECHO_T}yes" >&6 2366else 2367 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 2368echo "${ECHO_T}no, using $LN_S" >&6 2369fi 2370 2371 2372# Extract the first word of "gmake", so it can be a program name with args. 2373set dummy gmake; ac_word=$2 2374echo "$as_me:$LINENO: checking for $ac_word" >&5 2375echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2376if test "${ac_cv_path_GMAKE+set}" = set; then 2377 echo $ECHO_N "(cached) $ECHO_C" >&6 2378else 2379 case $GMAKE in 2380 [\\/]* | ?:[\\/]*) 2381 ac_cv_path_GMAKE="$GMAKE" # Let the user override the test with a path. 2382 ;; 2383 *) 2384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2385for as_dir in $PATH 2386do 2387 IFS=$as_save_IFS 2388 test -z "$as_dir" && as_dir=. 2389 for ac_exec_ext in '' $ac_executable_extensions; do 2390 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2391 ac_cv_path_GMAKE="$as_dir/$ac_word$ac_exec_ext" 2392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2393 break 2 2394 fi 2395done 2396done 2397 2398 test -z "$ac_cv_path_GMAKE" && ac_cv_path_GMAKE="no" 2399 ;; 2400esac 2401fi 2402GMAKE=$ac_cv_path_GMAKE 2403 2404if test -n "$GMAKE"; then 2405 echo "$as_me:$LINENO: result: $GMAKE" >&5 2406echo "${ECHO_T}$GMAKE" >&6 2407else 2408 echo "$as_me:$LINENO: result: no" >&5 2409echo "${ECHO_T}no" >&6 2410fi 2411 2412if test "x$GMAKE" = "xno"; then 2413 # Extract the first word of "make", so it can be a program name with args. 2414set dummy make; ac_word=$2 2415echo "$as_me:$LINENO: checking for $ac_word" >&5 2416echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2417if test "${ac_cv_path_MAKE+set}" = set; then 2418 echo $ECHO_N "(cached) $ECHO_C" >&6 2419else 2420 case $MAKE in 2421 [\\/]* | ?:[\\/]*) 2422 ac_cv_path_MAKE="$MAKE" # Let the user override the test with a path. 2423 ;; 2424 *) 2425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2426for as_dir in $PATH 2427do 2428 IFS=$as_save_IFS 2429 test -z "$as_dir" && as_dir=. 2430 for ac_exec_ext in '' $ac_executable_extensions; do 2431 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2432 ac_cv_path_MAKE="$as_dir/$ac_word$ac_exec_ext" 2433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2434 break 2 2435 fi 2436done 2437done 2438 2439 test -z "$ac_cv_path_MAKE" && ac_cv_path_MAKE="no" 2440 ;; 2441esac 2442fi 2443MAKE=$ac_cv_path_MAKE 2444 2445if test -n "$MAKE"; then 2446 echo "$as_me:$LINENO: result: $MAKE" >&5 2447echo "${ECHO_T}$MAKE" >&6 2448else 2449 echo "$as_me:$LINENO: result: no" >&5 2450echo "${ECHO_T}no" >&6 2451fi 2452 2453 if test "x$MAKE" = "xno"; then 2454 { { echo "$as_me:$LINENO: error: make " >&5 2455echo "$as_me: error: make " >&2;} 2456 { (exit 1); exit 1; }; } 2457 fi 2458else 2459 MAKE="$GMAKE" 2460fi 2461 2462# Extract the first word of "ar", so it can be a program name with args. 2463set dummy ar; ac_word=$2 2464echo "$as_me:$LINENO: checking for $ac_word" >&5 2465echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2466if test "${ac_cv_path_AR+set}" = set; then 2467 echo $ECHO_N "(cached) $ECHO_C" >&6 2468else 2469 case $AR in 2470 [\\/]* | ?:[\\/]*) 2471 ac_cv_path_AR="$AR" # Let the user override the test with a path. 2472 ;; 2473 *) 2474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2475for as_dir in $PATH 2476do 2477 IFS=$as_save_IFS 2478 test -z "$as_dir" && as_dir=. 2479 for ac_exec_ext in '' $ac_executable_extensions; do 2480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2481 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext" 2482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2483 break 2 2484 fi 2485done 2486done 2487 2488 test -z "$ac_cv_path_AR" && ac_cv_path_AR="no" 2489 ;; 2490esac 2491fi 2492AR=$ac_cv_path_AR 2493 2494if test -n "$AR"; then 2495 echo "$as_me:$LINENO: result: $AR" >&5 2496echo "${ECHO_T}$AR" >&6 2497else 2498 echo "$as_me:$LINENO: result: no" >&5 2499echo "${ECHO_T}no" >&6 2500fi 2501 2502if test "x$AR" = "xno"; then 2503 { { echo "$as_me:$LINENO: error: ar " >&5 2504echo "$as_me: error: ar " >&2;} 2505 { (exit 1); exit 1; }; } 2506fi 2507 2508 2509echo "$as_me:$LINENO: checking for uintXX_t types" >&5 2510echo $ECHO_N "checking for uintXX_t types... $ECHO_C" >&6 2511 2512 if test "x" = "x"; then 2513 ac_stdint_h="stdint.h" 2514 else 2515 ac_stdint_h="" 2516 fi 2517 2518 rm -f $ac_stdint_h 2519 2520 ac_header_stdint="" 2521 for i in stdint.h inttypes.h sys/inttypes.h sys/int_types.h sys/types.h; do 2522 if test "x$ac_header_stdint" = "x"; then 2523 cat >conftest.$ac_ext <<_ACEOF 2524/* confdefs.h. */ 2525_ACEOF 2526cat confdefs.h >>conftest.$ac_ext 2527cat >>conftest.$ac_ext <<_ACEOF 2528/* end confdefs.h. */ 2529#include <$i> 2530int 2531main () 2532{ 2533uint32_t foo 2534 ; 2535 return 0; 2536} 2537_ACEOF 2538rm -f conftest.$ac_objext 2539if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2540 (eval $ac_compile) 2>conftest.er1 2541 ac_status=$? 2542 grep -v '^ *+' conftest.er1 >conftest.err 2543 rm -f conftest.er1 2544 cat conftest.err >&5 2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2546 (exit $ac_status); } && 2547 { ac_try='test -z "$ac_c_werror_flag" 2548 || test ! -s conftest.err' 2549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2550 (eval $ac_try) 2>&5 2551 ac_status=$? 2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2553 (exit $ac_status); }; } && 2554 { ac_try='test -s conftest.$ac_objext' 2555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2556 (eval $ac_try) 2>&5 2557 ac_status=$? 2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2559 (exit $ac_status); }; }; then 2560 ac_header_stdint=$i 2561else 2562 echo "$as_me: failed program was:" >&5 2563sed 's/^/| /' conftest.$ac_ext >&5 2564 2565fi 2566rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2567 fi 2568 done 2569 2570 if test "x$ac_header_stdint" != "x" ; then 2571 echo "$as_me:$LINENO: result: found in <$ac_header_stdint>" >&5 2572echo "${ECHO_T}found in <$ac_header_stdint>" >&6 2573 if test "x$ac_header_stdint" != "xstdint.h" ; then 2574 echo "#include <$ac_header_stdint>" > $ac_stdint_h 2575 fi 2576 else 2577 echo "$as_me:$LINENO: result: not found, using reasonable defaults" >&5 2578echo "${ECHO_T}not found, using reasonable defaults" >&6 2579 2580 stdint_h_foobar=define 2581 2582 2583 2584 cat > $ac_stdint_h << EOF 2585#ifndef __AC_STDINT_H 2586#$stdint_h_foobar __AC_STDINT_H 1 2587 2588/* ISO C 9X: 7.18 Integer types <stdint.h> */ 2589 2590#define __int8_t_defined 2591typedef signed char int8_t; 2592typedef unsigned char uint8_t; 2593typedef signed short int16_t; 2594typedef unsigned short uint16_t; 2595typedef signed int int32_t; 2596typedef unsigned int uint32_t; 2597 2598#endif /* __AC_STDINT_H */ 2599EOF 2600 fi 2601 2602echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 2603echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 2604if test "${ac_cv_c_bigendian+set}" = set; then 2605 echo $ECHO_N "(cached) $ECHO_C" >&6 2606else 2607 # See if sys/param.h defines the BYTE_ORDER macro. 2608cat >conftest.$ac_ext <<_ACEOF 2609/* confdefs.h. */ 2610_ACEOF 2611cat confdefs.h >>conftest.$ac_ext 2612cat >>conftest.$ac_ext <<_ACEOF 2613/* end confdefs.h. */ 2614#include <sys/types.h> 2615#include <sys/param.h> 2616 2617int 2618main () 2619{ 2620#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 2621 bogus endian macros 2622#endif 2623 2624 ; 2625 return 0; 2626} 2627_ACEOF 2628rm -f conftest.$ac_objext 2629if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2630 (eval $ac_compile) 2>conftest.er1 2631 ac_status=$? 2632 grep -v '^ *+' conftest.er1 >conftest.err 2633 rm -f conftest.er1 2634 cat conftest.err >&5 2635 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2636 (exit $ac_status); } && 2637 { ac_try='test -z "$ac_c_werror_flag" 2638 || test ! -s conftest.err' 2639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2640 (eval $ac_try) 2>&5 2641 ac_status=$? 2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2643 (exit $ac_status); }; } && 2644 { ac_try='test -s conftest.$ac_objext' 2645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2646 (eval $ac_try) 2>&5 2647 ac_status=$? 2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2649 (exit $ac_status); }; }; then 2650 # It does; now see whether it defined to BIG_ENDIAN or not. 2651cat >conftest.$ac_ext <<_ACEOF 2652/* confdefs.h. */ 2653_ACEOF 2654cat confdefs.h >>conftest.$ac_ext 2655cat >>conftest.$ac_ext <<_ACEOF 2656/* end confdefs.h. */ 2657#include <sys/types.h> 2658#include <sys/param.h> 2659 2660int 2661main () 2662{ 2663#if BYTE_ORDER != BIG_ENDIAN 2664 not big endian 2665#endif 2666 2667 ; 2668 return 0; 2669} 2670_ACEOF 2671rm -f conftest.$ac_objext 2672if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2673 (eval $ac_compile) 2>conftest.er1 2674 ac_status=$? 2675 grep -v '^ *+' conftest.er1 >conftest.err 2676 rm -f conftest.er1 2677 cat conftest.err >&5 2678 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2679 (exit $ac_status); } && 2680 { ac_try='test -z "$ac_c_werror_flag" 2681 || test ! -s conftest.err' 2682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2683 (eval $ac_try) 2>&5 2684 ac_status=$? 2685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2686 (exit $ac_status); }; } && 2687 { ac_try='test -s conftest.$ac_objext' 2688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2689 (eval $ac_try) 2>&5 2690 ac_status=$? 2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2692 (exit $ac_status); }; }; then 2693 ac_cv_c_bigendian=yes 2694else 2695 echo "$as_me: failed program was:" >&5 2696sed 's/^/| /' conftest.$ac_ext >&5 2697 2698ac_cv_c_bigendian=no 2699fi 2700rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2701else 2702 echo "$as_me: failed program was:" >&5 2703sed 's/^/| /' conftest.$ac_ext >&5 2704 2705# It does not; compile a test program. 2706if test "$cross_compiling" = yes; then 2707 # try to guess the endianness by grepping values into an object file 2708 ac_cv_c_bigendian=unknown 2709 cat >conftest.$ac_ext <<_ACEOF 2710/* confdefs.h. */ 2711_ACEOF 2712cat confdefs.h >>conftest.$ac_ext 2713cat >>conftest.$ac_ext <<_ACEOF 2714/* end confdefs.h. */ 2715short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 2716short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 2717void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 2718short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 2719short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 2720void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 2721int 2722main () 2723{ 2724 _ascii (); _ebcdic (); 2725 ; 2726 return 0; 2727} 2728_ACEOF 2729rm -f conftest.$ac_objext 2730if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2731 (eval $ac_compile) 2>conftest.er1 2732 ac_status=$? 2733 grep -v '^ *+' conftest.er1 >conftest.err 2734 rm -f conftest.er1 2735 cat conftest.err >&5 2736 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2737 (exit $ac_status); } && 2738 { ac_try='test -z "$ac_c_werror_flag" 2739 || test ! -s conftest.err' 2740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2741 (eval $ac_try) 2>&5 2742 ac_status=$? 2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2744 (exit $ac_status); }; } && 2745 { ac_try='test -s conftest.$ac_objext' 2746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2747 (eval $ac_try) 2>&5 2748 ac_status=$? 2749 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2750 (exit $ac_status); }; }; then 2751 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 2752 ac_cv_c_bigendian=yes 2753fi 2754if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 2755 if test "$ac_cv_c_bigendian" = unknown; then 2756 ac_cv_c_bigendian=no 2757 else 2758 # finding both strings is unlikely to happen, but who knows? 2759 ac_cv_c_bigendian=unknown 2760 fi 2761fi 2762else 2763 echo "$as_me: failed program was:" >&5 2764sed 's/^/| /' conftest.$ac_ext >&5 2765 2766fi 2767rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2768else 2769 cat >conftest.$ac_ext <<_ACEOF 2770/* confdefs.h. */ 2771_ACEOF 2772cat confdefs.h >>conftest.$ac_ext 2773cat >>conftest.$ac_ext <<_ACEOF 2774/* end confdefs.h. */ 2775int 2776main () 2777{ 2778 /* Are we little or big endian? From Harbison&Steele. */ 2779 union 2780 { 2781 long l; 2782 char c[sizeof (long)]; 2783 } u; 2784 u.l = 1; 2785 exit (u.c[sizeof (long) - 1] == 1); 2786} 2787_ACEOF 2788rm -f conftest$ac_exeext 2789if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2790 (eval $ac_link) 2>&5 2791 ac_status=$? 2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2793 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 2794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2795 (eval $ac_try) 2>&5 2796 ac_status=$? 2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2798 (exit $ac_status); }; }; then 2799 ac_cv_c_bigendian=no 2800else 2801 echo "$as_me: program exited with status $ac_status" >&5 2802echo "$as_me: failed program was:" >&5 2803sed 's/^/| /' conftest.$ac_ext >&5 2804 2805( exit $ac_status ) 2806ac_cv_c_bigendian=yes 2807fi 2808rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 2809fi 2810fi 2811rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2812fi 2813echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 2814echo "${ECHO_T}$ac_cv_c_bigendian" >&6 2815case $ac_cv_c_bigendian in 2816 yes) 2817 2818cat >>confdefs.h <<\_ACEOF 2819#define WORDS_BIGENDIAN 1 2820_ACEOF 2821 ;; 2822 no) 2823 ;; 2824 *) 2825 { { echo "$as_me:$LINENO: error: unknown endianness 2826presetting ac_cv_c_bigendian=no (or yes) will help" >&5 2827echo "$as_me: error: unknown endianness 2828presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 2829 { (exit 1); exit 1; }; } ;; 2830esac 2831 2832 2833 2834 2835 2836shared="shared" 2837 2838install_shared="install-shared" 2839 2840 2841static="static" 2842 2843install_static="install-static" 2844 2845 2846echo "$as_me:$LINENO: checking for t_accept in -lnsl" >&5 2847echo $ECHO_N "checking for t_accept in -lnsl... $ECHO_C" >&6 2848if test "${ac_cv_lib_nsl_t_accept+set}" = set; then 2849 echo $ECHO_N "(cached) $ECHO_C" >&6 2850else 2851 ac_check_lib_save_LIBS=$LIBS 2852LIBS="-lnsl $LIBS" 2853cat >conftest.$ac_ext <<_ACEOF 2854/* confdefs.h. */ 2855_ACEOF 2856cat confdefs.h >>conftest.$ac_ext 2857cat >>conftest.$ac_ext <<_ACEOF 2858/* end confdefs.h. */ 2859 2860/* Override any gcc2 internal prototype to avoid an error. */ 2861#ifdef __cplusplus 2862extern "C" 2863#endif 2864/* We use char because int might match the return type of a gcc2 2865 builtin and then its argument prototype would still apply. */ 2866char t_accept (); 2867int 2868main () 2869{ 2870t_accept (); 2871 ; 2872 return 0; 2873} 2874_ACEOF 2875rm -f conftest.$ac_objext conftest$ac_exeext 2876if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2877 (eval $ac_link) 2>conftest.er1 2878 ac_status=$? 2879 grep -v '^ *+' conftest.er1 >conftest.err 2880 rm -f conftest.er1 2881 cat conftest.err >&5 2882 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2883 (exit $ac_status); } && 2884 { ac_try='test -z "$ac_c_werror_flag" 2885 || test ! -s conftest.err' 2886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2887 (eval $ac_try) 2>&5 2888 ac_status=$? 2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2890 (exit $ac_status); }; } && 2891 { ac_try='test -s conftest$ac_exeext' 2892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2893 (eval $ac_try) 2>&5 2894 ac_status=$? 2895 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2896 (exit $ac_status); }; }; then 2897 ac_cv_lib_nsl_t_accept=yes 2898else 2899 echo "$as_me: failed program was:" >&5 2900sed 's/^/| /' conftest.$ac_ext >&5 2901 2902ac_cv_lib_nsl_t_accept=no 2903fi 2904rm -f conftest.err conftest.$ac_objext \ 2905 conftest$ac_exeext conftest.$ac_ext 2906LIBS=$ac_check_lib_save_LIBS 2907fi 2908echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_t_accept" >&5 2909echo "${ECHO_T}$ac_cv_lib_nsl_t_accept" >&6 2910if test $ac_cv_lib_nsl_t_accept = yes; then 2911 LIBS="$LIBS -lnsl" 2912fi 2913 2914echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 2915echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 2916if test "${ac_cv_lib_socket_socket+set}" = set; then 2917 echo $ECHO_N "(cached) $ECHO_C" >&6 2918else 2919 ac_check_lib_save_LIBS=$LIBS 2920LIBS="-lsocket $LIBS" 2921cat >conftest.$ac_ext <<_ACEOF 2922/* confdefs.h. */ 2923_ACEOF 2924cat confdefs.h >>conftest.$ac_ext 2925cat >>conftest.$ac_ext <<_ACEOF 2926/* end confdefs.h. */ 2927 2928/* Override any gcc2 internal prototype to avoid an error. */ 2929#ifdef __cplusplus 2930extern "C" 2931#endif 2932/* We use char because int might match the return type of a gcc2 2933 builtin and then its argument prototype would still apply. */ 2934char socket (); 2935int 2936main () 2937{ 2938socket (); 2939 ; 2940 return 0; 2941} 2942_ACEOF 2943rm -f conftest.$ac_objext conftest$ac_exeext 2944if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2945 (eval $ac_link) 2>conftest.er1 2946 ac_status=$? 2947 grep -v '^ *+' conftest.er1 >conftest.err 2948 rm -f conftest.er1 2949 cat conftest.err >&5 2950 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2951 (exit $ac_status); } && 2952 { ac_try='test -z "$ac_c_werror_flag" 2953 || test ! -s conftest.err' 2954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2955 (eval $ac_try) 2>&5 2956 ac_status=$? 2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2958 (exit $ac_status); }; } && 2959 { ac_try='test -s conftest$ac_exeext' 2960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2961 (eval $ac_try) 2>&5 2962 ac_status=$? 2963 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2964 (exit $ac_status); }; }; then 2965 ac_cv_lib_socket_socket=yes 2966else 2967 echo "$as_me: failed program was:" >&5 2968sed 's/^/| /' conftest.$ac_ext >&5 2969 2970ac_cv_lib_socket_socket=no 2971fi 2972rm -f conftest.err conftest.$ac_objext \ 2973 conftest$ac_exeext conftest.$ac_ext 2974LIBS=$ac_check_lib_save_LIBS 2975fi 2976echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 2977echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 2978if test $ac_cv_lib_socket_socket = yes; then 2979 LIBS="$LIBS -lsocket" 2980fi 2981 2982echo "$as_me:$LINENO: checking for floor in -lm" >&5 2983echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6 2984if test "${ac_cv_lib_m_floor+set}" = set; then 2985 echo $ECHO_N "(cached) $ECHO_C" >&6 2986else 2987 ac_check_lib_save_LIBS=$LIBS 2988LIBS="-lm $LIBS" 2989cat >conftest.$ac_ext <<_ACEOF 2990/* confdefs.h. */ 2991_ACEOF 2992cat confdefs.h >>conftest.$ac_ext 2993cat >>conftest.$ac_ext <<_ACEOF 2994/* end confdefs.h. */ 2995 2996/* Override any gcc2 internal prototype to avoid an error. */ 2997#ifdef __cplusplus 2998extern "C" 2999#endif 3000/* We use char because int might match the return type of a gcc2 3001 builtin and then its argument prototype would still apply. */ 3002char floor (); 3003int 3004main () 3005{ 3006floor (); 3007 ; 3008 return 0; 3009} 3010_ACEOF 3011rm -f conftest.$ac_objext conftest$ac_exeext 3012if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3013 (eval $ac_link) 2>conftest.er1 3014 ac_status=$? 3015 grep -v '^ *+' conftest.er1 >conftest.err 3016 rm -f conftest.er1 3017 cat conftest.err >&5 3018 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3019 (exit $ac_status); } && 3020 { ac_try='test -z "$ac_c_werror_flag" 3021 || test ! -s conftest.err' 3022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3023 (eval $ac_try) 2>&5 3024 ac_status=$? 3025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3026 (exit $ac_status); }; } && 3027 { ac_try='test -s conftest$ac_exeext' 3028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3029 (eval $ac_try) 2>&5 3030 ac_status=$? 3031 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3032 (exit $ac_status); }; }; then 3033 ac_cv_lib_m_floor=yes 3034else 3035 echo "$as_me: failed program was:" >&5 3036sed 's/^/| /' conftest.$ac_ext >&5 3037 3038ac_cv_lib_m_floor=no 3039fi 3040rm -f conftest.err conftest.$ac_objext \ 3041 conftest$ac_exeext conftest.$ac_ext 3042LIBS=$ac_check_lib_save_LIBS 3043fi 3044echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5 3045echo "${ECHO_T}$ac_cv_lib_m_floor" >&6 3046if test $ac_cv_lib_m_floor = yes; then 3047 LIBS="$LIBS -lm" 3048fi 3049 3050 3051CFLAGS_LIBTLEN="$CFLAGS" 3052LIBS_LIBTLEN="$LIBS" 3053 3054 ac_config_files="$ac_config_files Makefile lib/Makefile docs/Makefile examples/Makefile" 3055 3056 3057cat >confcache <<\_ACEOF 3058# This file is a shell script that caches the results of configure 3059# tests run on this system so they can be shared between configure 3060# scripts and configure runs, see configure's option --config-cache. 3061# It is not useful on other systems. If it contains results you don't 3062# want to keep, you may remove or edit it. 3063# 3064# config.status only pays attention to the cache file if you give it 3065# the --recheck option to rerun configure. 3066# 3067# `ac_cv_env_foo' variables (set or unset) will be overridden when 3068# loading this file, other *unset* `ac_cv_foo' will be assigned the 3069# following values. 3070 3071_ACEOF 3072 3073# The following way of writing the cache mishandles newlines in values, 3074# but we know of no workaround that is simple, portable, and efficient. 3075# So, don't put newlines in cache variables' values. 3076# Ultrix sh set writes to stderr and can't be redirected directly, 3077# and sets the high bit in the cache file unless we assign to the vars. 3078{ 3079 (set) 2>&1 | 3080 case `(ac_space=' '; set | grep ac_space) 2>&1` in 3081 *ac_space=\ *) 3082 # `set' does not quote correctly, so add quotes (double-quote 3083 # substitution turns \\\\ into \\, and sed turns \\ into \). 3084 sed -n \ 3085 "s/'/'\\\\''/g; 3086 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 3087 ;; 3088 *) 3089 # `set' quotes correctly as required by POSIX, so do not add quotes. 3090 sed -n \ 3091 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 3092 ;; 3093 esac; 3094} | 3095 sed ' 3096 t clear 3097 : clear 3098 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 3099 t end 3100 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 3101 : end' >>confcache 3102if diff $cache_file confcache >/dev/null 2>&1; then :; else 3103 if test -w $cache_file; then 3104 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 3105 cat confcache >$cache_file 3106 else 3107 echo "not updating unwritable cache $cache_file" 3108 fi 3109fi 3110rm -f confcache 3111 3112test "x$prefix" = xNONE && prefix=$ac_default_prefix 3113# Let make expand exec_prefix. 3114test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3115 3116# VPATH may cause trouble with some makes, so we remove $(srcdir), 3117# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 3118# trailing colons and then remove the whole line if VPATH becomes empty 3119# (actually we leave an empty line to preserve line numbers). 3120if test "x$srcdir" = x.; then 3121 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 3122s/:*\$(srcdir):*/:/; 3123s/:*\${srcdir}:*/:/; 3124s/:*@srcdir@:*/:/; 3125s/^\([^=]*=[ ]*\):*/\1/; 3126s/:*$//; 3127s/^[^=]*=[ ]*$//; 3128}' 3129fi 3130 3131# Transform confdefs.h into DEFS. 3132# Protect against shell expansion while executing Makefile rules. 3133# Protect against Makefile macro expansion. 3134# 3135# If the first sed substitution is executed (which looks for macros that 3136# take arguments), then we branch to the quote section. Otherwise, 3137# look for a macro that doesn't take arguments. 3138cat >confdef2opt.sed <<\_ACEOF 3139t clear 3140: clear 3141s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g 3142t quote 3143s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g 3144t quote 3145d 3146: quote 3147s,[ `~#$^&*(){}\\|;'"<>?],\\&,g 3148s,\[,\\&,g 3149s,\],\\&,g 3150s,\$,$$,g 3151p 3152_ACEOF 3153# We use echo to avoid assuming a particular line-breaking character. 3154# The extra dot is to prevent the shell from consuming trailing 3155# line-breaks from the sub-command output. A line-break within 3156# single-quotes doesn't work because, if this script is created in a 3157# platform that uses two characters for line-breaks (e.g., DOS), tr 3158# would break. 3159ac_LF_and_DOT=`echo; echo .` 3160DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` 3161rm -f confdef2opt.sed 3162 3163 3164ac_libobjs= 3165ac_ltlibobjs= 3166for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 3167 # 1. Remove the extension, and $U if already installed. 3168 ac_i=`echo "$ac_i" | 3169 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 3170 # 2. Add them. 3171 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 3172 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 3173done 3174LIBOBJS=$ac_libobjs 3175 3176LTLIBOBJS=$ac_ltlibobjs 3177 3178 3179 3180: ${CONFIG_STATUS=./config.status} 3181ac_clean_files_save=$ac_clean_files 3182ac_clean_files="$ac_clean_files $CONFIG_STATUS" 3183{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 3184echo "$as_me: creating $CONFIG_STATUS" >&6;} 3185cat >$CONFIG_STATUS <<_ACEOF 3186#! $SHELL 3187# Generated by $as_me. 3188# Run this file to recreate the current configuration. 3189# Compiler output produced by configure, useful for debugging 3190# configure, is in config.log if it exists. 3191 3192debug=false 3193ac_cs_recheck=false 3194ac_cs_silent=false 3195SHELL=\${CONFIG_SHELL-$SHELL} 3196_ACEOF 3197 3198cat >>$CONFIG_STATUS <<\_ACEOF 3199## --------------------- ## 3200## M4sh Initialization. ## 3201## --------------------- ## 3202 3203# Be Bourne compatible 3204if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 3205 emulate sh 3206 NULLCMD=: 3207 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 3208 # is contrary to our usage. Disable this feature. 3209 alias -g '${1+"$@"}'='"$@"' 3210elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 3211 set -o posix 3212fi 3213DUALCASE=1; export DUALCASE # for MKS sh 3214 3215# Support unset when possible. 3216if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 3217 as_unset=unset 3218else 3219 as_unset=false 3220fi 3221 3222 3223# Work around bugs in pre-3.0 UWIN ksh. 3224$as_unset ENV MAIL MAILPATH 3225PS1='$ ' 3226PS2='> ' 3227PS4='+ ' 3228 3229# NLS nuisances. 3230for as_var in \ 3231 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 3232 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 3233 LC_TELEPHONE LC_TIME 3234do 3235 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 3236 eval $as_var=C; export $as_var 3237 else 3238 $as_unset $as_var 3239 fi 3240done 3241 3242# Required to use basename. 3243if expr a : '\(a\)' >/dev/null 2>&1; then 3244 as_expr=expr 3245else 3246 as_expr=false 3247fi 3248 3249if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 3250 as_basename=basename 3251else 3252 as_basename=false 3253fi 3254 3255 3256# Name of the executable. 3257as_me=`$as_basename "$0" || 3258$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3259 X"$0" : 'X\(//\)$' \| \ 3260 X"$0" : 'X\(/\)$' \| \ 3261 . : '\(.\)' 2>/dev/null || 3262echo X/"$0" | 3263 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 3264 /^X\/\(\/\/\)$/{ s//\1/; q; } 3265 /^X\/\(\/\).*/{ s//\1/; q; } 3266 s/.*/./; q'` 3267 3268 3269# PATH needs CR, and LINENO needs CR and PATH. 3270# Avoid depending upon Character Ranges. 3271as_cr_letters='abcdefghijklmnopqrstuvwxyz' 3272as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3273as_cr_Letters=$as_cr_letters$as_cr_LETTERS 3274as_cr_digits='0123456789' 3275as_cr_alnum=$as_cr_Letters$as_cr_digits 3276 3277# The user is always right. 3278if test "${PATH_SEPARATOR+set}" != set; then 3279 echo "#! /bin/sh" >conf$$.sh 3280 echo "exit 0" >>conf$$.sh 3281 chmod +x conf$$.sh 3282 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 3283 PATH_SEPARATOR=';' 3284 else 3285 PATH_SEPARATOR=: 3286 fi 3287 rm -f conf$$.sh 3288fi 3289 3290 3291 as_lineno_1=$LINENO 3292 as_lineno_2=$LINENO 3293 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 3294 test "x$as_lineno_1" != "x$as_lineno_2" && 3295 test "x$as_lineno_3" = "x$as_lineno_2" || { 3296 # Find who we are. Look in the path if we contain no path at all 3297 # relative or not. 3298 case $0 in 3299 *[\\/]* ) as_myself=$0 ;; 3300 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3301for as_dir in $PATH 3302do 3303 IFS=$as_save_IFS 3304 test -z "$as_dir" && as_dir=. 3305 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 3306done 3307 3308 ;; 3309 esac 3310 # We did not find ourselves, most probably we were run as `sh COMMAND' 3311 # in which case we are not to be found in the path. 3312 if test "x$as_myself" = x; then 3313 as_myself=$0 3314 fi 3315 if test ! -f "$as_myself"; then 3316 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 3317echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 3318 { (exit 1); exit 1; }; } 3319 fi 3320 case $CONFIG_SHELL in 3321 '') 3322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3323for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 3324do 3325 IFS=$as_save_IFS 3326 test -z "$as_dir" && as_dir=. 3327 for as_base in sh bash ksh sh5; do 3328 case $as_dir in 3329 /*) 3330 if ("$as_dir/$as_base" -c ' 3331 as_lineno_1=$LINENO 3332 as_lineno_2=$LINENO 3333 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 3334 test "x$as_lineno_1" != "x$as_lineno_2" && 3335 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 3336 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 3337 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 3338 CONFIG_SHELL=$as_dir/$as_base 3339 export CONFIG_SHELL 3340 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 3341 fi;; 3342 esac 3343 done 3344done 3345;; 3346 esac 3347 3348 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 3349 # uniformly replaced by the line number. The first 'sed' inserts a 3350 # line-number line before each line; the second 'sed' does the real 3351 # work. The second script uses 'N' to pair each line-number line 3352 # with the numbered line, and appends trailing '-' during 3353 # substitution so that $LINENO is not a special case at line end. 3354 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 3355 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 3356 sed '=' <$as_myself | 3357 sed ' 3358 N 3359 s,$,-, 3360 : loop 3361 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 3362 t loop 3363 s,-$,, 3364 s,^['$as_cr_digits']*\n,, 3365 ' >$as_me.lineno && 3366 chmod +x $as_me.lineno || 3367 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 3368echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 3369 { (exit 1); exit 1; }; } 3370 3371 # Don't try to exec as it changes $[0], causing all sort of problems 3372 # (the dirname of $[0] is not the place where we might find the 3373 # original and so on. Autoconf is especially sensible to this). 3374 . ./$as_me.lineno 3375 # Exit status is that of the last command. 3376 exit 3377} 3378 3379 3380case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 3381 *c*,-n*) ECHO_N= ECHO_C=' 3382' ECHO_T=' ' ;; 3383 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 3384 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 3385esac 3386 3387if expr a : '\(a\)' >/dev/null 2>&1; then 3388 as_expr=expr 3389else 3390 as_expr=false 3391fi 3392 3393rm -f conf$$ conf$$.exe conf$$.file 3394echo >conf$$.file 3395if ln -s conf$$.file conf$$ 2>/dev/null; then 3396 # We could just check for DJGPP; but this test a) works b) is more generic 3397 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 3398 if test -f conf$$.exe; then 3399 # Don't use ln at all; we don't have any links 3400 as_ln_s='cp -p' 3401 else 3402 as_ln_s='ln -s' 3403 fi 3404elif ln conf$$.file conf$$ 2>/dev/null; then 3405 as_ln_s=ln 3406else 3407 as_ln_s='cp -p' 3408fi 3409rm -f conf$$ conf$$.exe conf$$.file 3410 3411if mkdir -p . 2>/dev/null; then 3412 as_mkdir_p=: 3413else 3414 test -d ./-p && rmdir ./-p 3415 as_mkdir_p=false 3416fi 3417 3418as_executable_p="test -f" 3419 3420# Sed expression to map a string onto a valid CPP name. 3421as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 3422 3423# Sed expression to map a string onto a valid variable name. 3424as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 3425 3426 3427# IFS 3428# We need space, tab and new line, in precisely that order. 3429as_nl=' 3430' 3431IFS=" $as_nl" 3432 3433# CDPATH. 3434$as_unset CDPATH 3435 3436exec 6>&1 3437 3438# Open the log real soon, to keep \$[0] and so on meaningful, and to 3439# report actual input values of CONFIG_FILES etc. instead of their 3440# values after options handling. Logging --version etc. is OK. 3441exec 5>>config.log 3442{ 3443 echo 3444 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 3445## Running $as_me. ## 3446_ASBOX 3447} >&5 3448cat >&5 <<_CSEOF 3449 3450This file was extended by $as_me, which was 3451generated by GNU Autoconf 2.59. Invocation command line was 3452 3453 CONFIG_FILES = $CONFIG_FILES 3454 CONFIG_HEADERS = $CONFIG_HEADERS 3455 CONFIG_LINKS = $CONFIG_LINKS 3456 CONFIG_COMMANDS = $CONFIG_COMMANDS 3457 $ $0 $@ 3458 3459_CSEOF 3460echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 3461echo >&5 3462_ACEOF 3463 3464# Files that config.status was made for. 3465if test -n "$ac_config_files"; then 3466 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 3467fi 3468 3469if test -n "$ac_config_headers"; then 3470 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 3471fi 3472 3473if test -n "$ac_config_links"; then 3474 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 3475fi 3476 3477if test -n "$ac_config_commands"; then 3478 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 3479fi 3480 3481cat >>$CONFIG_STATUS <<\_ACEOF 3482 3483ac_cs_usage="\ 3484\`$as_me' instantiates files from templates according to the 3485current configuration. 3486 3487Usage: $0 [OPTIONS] [FILE]... 3488 3489 -h, --help print this help, then exit 3490 -V, --version print version number, then exit 3491 -q, --quiet do not print progress messages 3492 -d, --debug don't remove temporary files 3493 --recheck update $as_me by reconfiguring in the same conditions 3494 --file=FILE[:TEMPLATE] 3495 instantiate the configuration file FILE 3496 3497Configuration files: 3498$config_files 3499 3500Report bugs to <bug-autoconf@gnu.org>." 3501_ACEOF 3502 3503cat >>$CONFIG_STATUS <<_ACEOF 3504ac_cs_version="\\ 3505config.status 3506configured by $0, generated by GNU Autoconf 2.59, 3507 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 3508 3509Copyright (C) 2003 Free Software Foundation, Inc. 3510This config.status script is free software; the Free Software Foundation 3511gives unlimited permission to copy, distribute and modify it." 3512srcdir=$srcdir 3513INSTALL="$INSTALL" 3514_ACEOF 3515 3516cat >>$CONFIG_STATUS <<\_ACEOF 3517# If no file are specified by the user, then we need to provide default 3518# value. By we need to know if files were specified by the user. 3519ac_need_defaults=: 3520while test $# != 0 3521do 3522 case $1 in 3523 --*=*) 3524 ac_option=`expr "x$1" : 'x\([^=]*\)='` 3525 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 3526 ac_shift=: 3527 ;; 3528 -*) 3529 ac_option=$1 3530 ac_optarg=$2 3531 ac_shift=shift 3532 ;; 3533 *) # This is not an option, so the user has probably given explicit 3534 # arguments. 3535 ac_option=$1 3536 ac_need_defaults=false;; 3537 esac 3538 3539 case $ac_option in 3540 # Handling of the options. 3541_ACEOF 3542cat >>$CONFIG_STATUS <<\_ACEOF 3543 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 3544 ac_cs_recheck=: ;; 3545 --version | --vers* | -V ) 3546 echo "$ac_cs_version"; exit 0 ;; 3547 --he | --h) 3548 # Conflict between --help and --header 3549 { { echo "$as_me:$LINENO: error: ambiguous option: $1 3550Try \`$0 --help' for more information." >&5 3551echo "$as_me: error: ambiguous option: $1 3552Try \`$0 --help' for more information." >&2;} 3553 { (exit 1); exit 1; }; };; 3554 --help | --hel | -h ) 3555 echo "$ac_cs_usage"; exit 0 ;; 3556 --debug | --d* | -d ) 3557 debug=: ;; 3558 --file | --fil | --fi | --f ) 3559 $ac_shift 3560 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 3561 ac_need_defaults=false;; 3562 --header | --heade | --head | --hea ) 3563 $ac_shift 3564 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 3565 ac_need_defaults=false;; 3566 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 3567 | -silent | --silent | --silen | --sile | --sil | --si | --s) 3568 ac_cs_silent=: ;; 3569 3570 # This is an error. 3571 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 3572Try \`$0 --help' for more information." >&5 3573echo "$as_me: error: unrecognized option: $1 3574Try \`$0 --help' for more information." >&2;} 3575 { (exit 1); exit 1; }; } ;; 3576 3577 *) ac_config_targets="$ac_config_targets $1" ;; 3578 3579 esac 3580 shift 3581done 3582 3583ac_configure_extra_args= 3584 3585if $ac_cs_silent; then 3586 exec 6>/dev/null 3587 ac_configure_extra_args="$ac_configure_extra_args --silent" 3588fi 3589 3590_ACEOF 3591cat >>$CONFIG_STATUS <<_ACEOF 3592if \$ac_cs_recheck; then 3593 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 3594 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 3595fi 3596 3597_ACEOF 3598 3599 3600 3601 3602 3603cat >>$CONFIG_STATUS <<\_ACEOF 3604for ac_config_target in $ac_config_targets 3605do 3606 case "$ac_config_target" in 3607 # Handling of arguments. 3608 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 3609 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 3610 "docs/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; 3611 "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; 3612 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 3613echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 3614 { (exit 1); exit 1; }; };; 3615 esac 3616done 3617 3618# If the user did not use the arguments to specify the items to instantiate, 3619# then the envvar interface is used. Set only those that are not. 3620# We use the long form for the default assignment because of an extremely 3621# bizarre bug on SunOS 4.1.3. 3622if $ac_need_defaults; then 3623 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 3624fi 3625 3626# Have a temporary directory for convenience. Make it in the build tree 3627# simply because there is no reason to put it here, and in addition, 3628# creating and moving files from /tmp can sometimes cause problems. 3629# Create a temporary directory, and hook for its removal unless debugging. 3630$debug || 3631{ 3632 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 3633 trap '{ (exit 1); exit 1; }' 1 2 13 15 3634} 3635 3636# Create a (secure) tmp directory for tmp files. 3637 3638{ 3639 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 3640 test -n "$tmp" && test -d "$tmp" 3641} || 3642{ 3643 tmp=./confstat$$-$RANDOM 3644 (umask 077 && mkdir $tmp) 3645} || 3646{ 3647 echo "$me: cannot create a temporary directory in ." >&2 3648 { (exit 1); exit 1; } 3649} 3650 3651_ACEOF 3652 3653cat >>$CONFIG_STATUS <<_ACEOF 3654 3655# 3656# CONFIG_FILES section. 3657# 3658 3659# No need to generate the scripts if there are no CONFIG_FILES. 3660# This happens for instance when ./config.status config.h 3661if test -n "\$CONFIG_FILES"; then 3662 # Protect against being on the right side of a sed subst in config.status. 3663 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 3664 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 3665s,@SHELL@,$SHELL,;t t 3666s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 3667s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 3668s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 3669s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 3670s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 3671s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 3672s,@exec_prefix@,$exec_prefix,;t t 3673s,@prefix@,$prefix,;t t 3674s,@program_transform_name@,$program_transform_name,;t t 3675s,@bindir@,$bindir,;t t 3676s,@sbindir@,$sbindir,;t t 3677s,@libexecdir@,$libexecdir,;t t 3678s,@datadir@,$datadir,;t t 3679s,@sysconfdir@,$sysconfdir,;t t 3680s,@sharedstatedir@,$sharedstatedir,;t t 3681s,@localstatedir@,$localstatedir,;t t 3682s,@libdir@,$libdir,;t t 3683s,@includedir@,$includedir,;t t 3684s,@oldincludedir@,$oldincludedir,;t t 3685s,@infodir@,$infodir,;t t 3686s,@mandir@,$mandir,;t t 3687s,@build_alias@,$build_alias,;t t 3688s,@host_alias@,$host_alias,;t t 3689s,@target_alias@,$target_alias,;t t 3690s,@DEFS@,$DEFS,;t t 3691s,@ECHO_C@,$ECHO_C,;t t 3692s,@ECHO_N@,$ECHO_N,;t t 3693s,@ECHO_T@,$ECHO_T,;t t 3694s,@LIBS@,$LIBS,;t t 3695s,@CC@,$CC,;t t 3696s,@CFLAGS@,$CFLAGS,;t t 3697s,@LDFLAGS@,$LDFLAGS,;t t 3698s,@CPPFLAGS@,$CPPFLAGS,;t t 3699s,@ac_ct_CC@,$ac_ct_CC,;t t 3700s,@EXEEXT@,$EXEEXT,;t t 3701s,@OBJEXT@,$OBJEXT,;t t 3702s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 3703s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 3704s,@INSTALL_DATA@,$INSTALL_DATA,;t t 3705s,@RANLIB@,$RANLIB,;t t 3706s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 3707s,@LN_S@,$LN_S,;t t 3708s,@GMAKE@,$GMAKE,;t t 3709s,@MAKE@,$MAKE,;t t 3710s,@AR@,$AR,;t t 3711s,@CFLAGS_LIBTLEN@,$CFLAGS_LIBTLEN,;t t 3712s,@LIBS_LIBTLEN@,$LIBS_LIBTLEN,;t t 3713s,@shared@,$shared,;t t 3714s,@install_shared@,$install_shared,;t t 3715s,@static@,$static,;t t 3716s,@install_static@,$install_static,;t t 3717s,@LIBOBJS@,$LIBOBJS,;t t 3718s,@LTLIBOBJS@,$LTLIBOBJS,;t t 3719CEOF 3720 3721_ACEOF 3722 3723 cat >>$CONFIG_STATUS <<\_ACEOF 3724 # Split the substitutions into bite-sized pieces for seds with 3725 # small command number limits, like on Digital OSF/1 and HP-UX. 3726 ac_max_sed_lines=48 3727 ac_sed_frag=1 # Number of current file. 3728 ac_beg=1 # First line for current file. 3729 ac_end=$ac_max_sed_lines # Line after last line for current file. 3730 ac_more_lines=: 3731 ac_sed_cmds= 3732 while $ac_more_lines; do 3733 if test $ac_beg -gt 1; then 3734 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 3735 else 3736 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 3737 fi 3738 if test ! -s $tmp/subs.frag; then 3739 ac_more_lines=false 3740 else 3741 # The purpose of the label and of the branching condition is to 3742 # speed up the sed processing (if there are no `@' at all, there 3743 # is no need to browse any of the substitutions). 3744 # These are the two extra sed commands mentioned above. 3745 (echo ':t 3746 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 3747 if test -z "$ac_sed_cmds"; then 3748 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 3749 else 3750 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 3751 fi 3752 ac_sed_frag=`expr $ac_sed_frag + 1` 3753 ac_beg=$ac_end 3754 ac_end=`expr $ac_end + $ac_max_sed_lines` 3755 fi 3756 done 3757 if test -z "$ac_sed_cmds"; then 3758 ac_sed_cmds=cat 3759 fi 3760fi # test -n "$CONFIG_FILES" 3761 3762_ACEOF 3763cat >>$CONFIG_STATUS <<\_ACEOF 3764for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 3765 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 3766 case $ac_file in 3767 - | *:- | *:-:* ) # input from stdin 3768 cat >$tmp/stdin 3769 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 3770 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 3771 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 3772 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 3773 * ) ac_file_in=$ac_file.in ;; 3774 esac 3775 3776 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 3777 ac_dir=`(dirname "$ac_file") 2>/dev/null || 3778$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3779 X"$ac_file" : 'X\(//\)[^/]' \| \ 3780 X"$ac_file" : 'X\(//\)$' \| \ 3781 X"$ac_file" : 'X\(/\)' \| \ 3782 . : '\(.\)' 2>/dev/null || 3783echo X"$ac_file" | 3784 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 3785 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 3786 /^X\(\/\/\)$/{ s//\1/; q; } 3787 /^X\(\/\).*/{ s//\1/; q; } 3788 s/.*/./; q'` 3789 { if $as_mkdir_p; then 3790 mkdir -p "$ac_dir" 3791 else 3792 as_dir="$ac_dir" 3793 as_dirs= 3794 while test ! -d "$as_dir"; do 3795 as_dirs="$as_dir $as_dirs" 3796 as_dir=`(dirname "$as_dir") 2>/dev/null || 3797$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3798 X"$as_dir" : 'X\(//\)[^/]' \| \ 3799 X"$as_dir" : 'X\(//\)$' \| \ 3800 X"$as_dir" : 'X\(/\)' \| \ 3801 . : '\(.\)' 2>/dev/null || 3802echo X"$as_dir" | 3803 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 3804 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 3805 /^X\(\/\/\)$/{ s//\1/; q; } 3806 /^X\(\/\).*/{ s//\1/; q; } 3807 s/.*/./; q'` 3808 done 3809 test ! -n "$as_dirs" || mkdir $as_dirs 3810 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 3811echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 3812 { (exit 1); exit 1; }; }; } 3813 3814 ac_builddir=. 3815 3816if test "$ac_dir" != .; then 3817 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 3818 # A "../" for each directory in $ac_dir_suffix. 3819 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 3820else 3821 ac_dir_suffix= ac_top_builddir= 3822fi 3823 3824case $srcdir in 3825 .) # No --srcdir option. We are building in place. 3826 ac_srcdir=. 3827 if test -z "$ac_top_builddir"; then 3828 ac_top_srcdir=. 3829 else 3830 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 3831 fi ;; 3832 [\\/]* | ?:[\\/]* ) # Absolute path. 3833 ac_srcdir=$srcdir$ac_dir_suffix; 3834 ac_top_srcdir=$srcdir ;; 3835 *) # Relative path. 3836 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 3837 ac_top_srcdir=$ac_top_builddir$srcdir ;; 3838esac 3839 3840# Do not use `cd foo && pwd` to compute absolute paths, because 3841# the directories may not exist. 3842case `pwd` in 3843.) ac_abs_builddir="$ac_dir";; 3844*) 3845 case "$ac_dir" in 3846 .) ac_abs_builddir=`pwd`;; 3847 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 3848 *) ac_abs_builddir=`pwd`/"$ac_dir";; 3849 esac;; 3850esac 3851case $ac_abs_builddir in 3852.) ac_abs_top_builddir=${ac_top_builddir}.;; 3853*) 3854 case ${ac_top_builddir}. in 3855 .) ac_abs_top_builddir=$ac_abs_builddir;; 3856 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 3857 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 3858 esac;; 3859esac 3860case $ac_abs_builddir in 3861.) ac_abs_srcdir=$ac_srcdir;; 3862*) 3863 case $ac_srcdir in 3864 .) ac_abs_srcdir=$ac_abs_builddir;; 3865 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 3866 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 3867 esac;; 3868esac 3869case $ac_abs_builddir in 3870.) ac_abs_top_srcdir=$ac_top_srcdir;; 3871*) 3872 case $ac_top_srcdir in 3873 .) ac_abs_top_srcdir=$ac_abs_builddir;; 3874 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 3875 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 3876 esac;; 3877esac 3878 3879 3880 case $INSTALL in 3881 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 3882 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 3883 esac 3884 3885 if test x"$ac_file" != x-; then 3886 { echo "$as_me:$LINENO: creating $ac_file" >&5 3887echo "$as_me: creating $ac_file" >&6;} 3888 rm -f "$ac_file" 3889 fi 3890 # Let's still pretend it is `configure' which instantiates (i.e., don't 3891 # use $as_me), people would be surprised to read: 3892 # /* config.h. Generated by config.status. */ 3893 if test x"$ac_file" = x-; then 3894 configure_input= 3895 else 3896 configure_input="$ac_file. " 3897 fi 3898 configure_input=$configure_input"Generated from `echo $ac_file_in | 3899 sed 's,.*/,,'` by configure." 3900 3901 # First look for the input files in the build tree, otherwise in the 3902 # src tree. 3903 ac_file_inputs=`IFS=: 3904 for f in $ac_file_in; do 3905 case $f in 3906 -) echo $tmp/stdin ;; 3907 [\\/$]*) 3908 # Absolute (can't be DOS-style, as IFS=:) 3909 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 3910echo "$as_me: error: cannot find input file: $f" >&2;} 3911 { (exit 1); exit 1; }; } 3912 echo "$f";; 3913 *) # Relative 3914 if test -f "$f"; then 3915 # Build tree 3916 echo "$f" 3917 elif test -f "$srcdir/$f"; then 3918 # Source tree 3919 echo "$srcdir/$f" 3920 else 3921 # /dev/null tree 3922 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 3923echo "$as_me: error: cannot find input file: $f" >&2;} 3924 { (exit 1); exit 1; }; } 3925 fi;; 3926 esac 3927 done` || { (exit 1); exit 1; } 3928_ACEOF 3929cat >>$CONFIG_STATUS <<_ACEOF 3930 sed "$ac_vpsub 3931$extrasub 3932_ACEOF 3933cat >>$CONFIG_STATUS <<\_ACEOF 3934:t 3935/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 3936s,@configure_input@,$configure_input,;t t 3937s,@srcdir@,$ac_srcdir,;t t 3938s,@abs_srcdir@,$ac_abs_srcdir,;t t 3939s,@top_srcdir@,$ac_top_srcdir,;t t 3940s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 3941s,@builddir@,$ac_builddir,;t t 3942s,@abs_builddir@,$ac_abs_builddir,;t t 3943s,@top_builddir@,$ac_top_builddir,;t t 3944s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 3945s,@INSTALL@,$ac_INSTALL,;t t 3946" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 3947 rm -f $tmp/stdin 3948 if test x"$ac_file" != x-; then 3949 mv $tmp/out $ac_file 3950 else 3951 cat $tmp/out 3952 rm -f $tmp/out 3953 fi 3954 3955done 3956_ACEOF 3957 3958cat >>$CONFIG_STATUS <<\_ACEOF 3959 3960{ (exit 0); exit 0; } 3961_ACEOF 3962chmod +x $CONFIG_STATUS 3963ac_clean_files=$ac_clean_files_save 3964 3965 3966# configure is writing to config.log, and then calls config.status. 3967# config.status does its own redirection, appending to config.log. 3968# Unfortunately, on DOS this fails, as config.log is still kept open 3969# by configure, so config.status won't be able to write to it; its 3970# output is simply discarded. So we exec the FD to /dev/null, 3971# effectively closing config.log, so it can be properly (re)opened and 3972# appended to by config.status. When coming back to configure, we 3973# need to make the FD available again. 3974if test "$no_create" != yes; then 3975 ac_cs_success=: 3976 ac_config_status_args= 3977 test "$silent" = yes && 3978 ac_config_status_args="$ac_config_status_args --quiet" 3979 exec 5>/dev/null 3980 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 3981 exec 5>>config.log 3982 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 3983 # would make configure fail if this is the last instruction. 3984 $ac_cs_success || { (exit 1); exit 1; } 3985fi 3986 3987