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