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