1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.57 for eif 1.3.4. 4# 5# Report bugs to <marcolz@stack.nl>. 6# 7# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 8# Free Software Foundation, Inc. 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## --------------------- ## 12## M4sh Initialization. ## 13## --------------------- ## 14 15# Be Bourne compatible 16if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 17 emulate sh 18 NULLCMD=: 19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 20 # is contrary to our usage. Disable this feature. 21 alias -g '${1+"$@"}'='"$@"' 22elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 23 set -o posix 24fi 25 26# Support unset when possible. 27if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 28 as_unset=unset 29else 30 as_unset=false 31fi 32 33 34# Work around bugs in pre-3.0 UWIN ksh. 35$as_unset ENV MAIL MAILPATH 36PS1='$ ' 37PS2='> ' 38PS4='+ ' 39 40# NLS nuisances. 41for as_var in \ 42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 44 LC_TELEPHONE LC_TIME 45do 46 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then 47 eval $as_var=C; export $as_var 48 else 49 $as_unset $as_var 50 fi 51done 52 53# Required to use basename. 54if expr a : '\(a\)' >/dev/null 2>&1; then 55 as_expr=expr 56else 57 as_expr=false 58fi 59 60if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 61 as_basename=basename 62else 63 as_basename=false 64fi 65 66 67# Name of the executable. 68as_me=`$as_basename "$0" || 69$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 70 X"$0" : 'X\(//\)$' \| \ 71 X"$0" : 'X\(/\)$' \| \ 72 . : '\(.\)' 2>/dev/null || 73echo X/"$0" | 74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 75 /^X\/\(\/\/\)$/{ s//\1/; q; } 76 /^X\/\(\/\).*/{ s//\1/; q; } 77 s/.*/./; q'` 78 79 80# PATH needs CR, and LINENO needs CR and PATH. 81# Avoid depending upon Character Ranges. 82as_cr_letters='abcdefghijklmnopqrstuvwxyz' 83as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 84as_cr_Letters=$as_cr_letters$as_cr_LETTERS 85as_cr_digits='0123456789' 86as_cr_alnum=$as_cr_Letters$as_cr_digits 87 88# The user is always right. 89if test "${PATH_SEPARATOR+set}" != set; then 90 echo "#! /bin/sh" >conf$$.sh 91 echo "exit 0" >>conf$$.sh 92 chmod +x conf$$.sh 93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 94 PATH_SEPARATOR=';' 95 else 96 PATH_SEPARATOR=: 97 fi 98 rm -f conf$$.sh 99fi 100 101 102 as_lineno_1=$LINENO 103 as_lineno_2=$LINENO 104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 105 test "x$as_lineno_1" != "x$as_lineno_2" && 106 test "x$as_lineno_3" = "x$as_lineno_2" || { 107 # Find who we are. Look in the path if we contain no path at all 108 # relative or not. 109 case $0 in 110 *[\\/]* ) as_myself=$0 ;; 111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 112for as_dir in $PATH 113do 114 IFS=$as_save_IFS 115 test -z "$as_dir" && as_dir=. 116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 117done 118 119 ;; 120 esac 121 # We did not find ourselves, most probably we were run as `sh COMMAND' 122 # in which case we are not to be found in the path. 123 if test "x$as_myself" = x; then 124 as_myself=$0 125 fi 126 if test ! -f "$as_myself"; then 127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 128 { (exit 1); exit 1; }; } 129 fi 130 case $CONFIG_SHELL in 131 '') 132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 133for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 134do 135 IFS=$as_save_IFS 136 test -z "$as_dir" && as_dir=. 137 for as_base in sh bash ksh sh5; do 138 case $as_dir in 139 /*) 140 if ("$as_dir/$as_base" -c ' 141 as_lineno_1=$LINENO 142 as_lineno_2=$LINENO 143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 144 test "x$as_lineno_1" != "x$as_lineno_2" && 145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 148 CONFIG_SHELL=$as_dir/$as_base 149 export CONFIG_SHELL 150 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 151 fi;; 152 esac 153 done 154done 155;; 156 esac 157 158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 159 # uniformly replaced by the line number. The first 'sed' inserts a 160 # line-number line before each line; the second 'sed' does the real 161 # work. The second script uses 'N' to pair each line-number line 162 # with the numbered line, and appends trailing '-' during 163 # substitution so that $LINENO is not a special case at line end. 164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 166 sed '=' <$as_myself | 167 sed ' 168 N 169 s,$,-, 170 : loop 171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 172 t loop 173 s,-$,, 174 s,^['$as_cr_digits']*\n,, 175 ' >$as_me.lineno && 176 chmod +x $as_me.lineno || 177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 178 { (exit 1); exit 1; }; } 179 180 # Don't try to exec as it changes $[0], causing all sort of problems 181 # (the dirname of $[0] is not the place where we might find the 182 # original and so on. Autoconf is especially sensible to this). 183 . ./$as_me.lineno 184 # Exit status is that of the last command. 185 exit 186} 187 188 189case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 190 *c*,-n*) ECHO_N= ECHO_C=' 191' ECHO_T=' ' ;; 192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 194esac 195 196if expr a : '\(a\)' >/dev/null 2>&1; then 197 as_expr=expr 198else 199 as_expr=false 200fi 201 202rm -f conf$$ conf$$.exe conf$$.file 203echo >conf$$.file 204if ln -s conf$$.file conf$$ 2>/dev/null; then 205 # We could just check for DJGPP; but this test a) works b) is more generic 206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 207 if test -f conf$$.exe; then 208 # Don't use ln at all; we don't have any links 209 as_ln_s='cp -p' 210 else 211 as_ln_s='ln -s' 212 fi 213elif ln conf$$.file conf$$ 2>/dev/null; then 214 as_ln_s=ln 215else 216 as_ln_s='cp -p' 217fi 218rm -f conf$$ conf$$.exe conf$$.file 219 220if mkdir -p . 2>/dev/null; then 221 as_mkdir_p=: 222else 223 as_mkdir_p=false 224fi 225 226as_executable_p="test -f" 227 228# Sed expression to map a string onto a valid CPP name. 229as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 230 231# Sed expression to map a string onto a valid variable name. 232as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 233 234 235# IFS 236# We need space, tab and new line, in precisely that order. 237as_nl=' 238' 239IFS=" $as_nl" 240 241# CDPATH. 242$as_unset CDPATH 243 244 245# Name of the host. 246# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 247# so uname gets run too. 248ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 249 250exec 6>&1 251 252# 253# Initializations. 254# 255ac_default_prefix=/usr/local 256ac_config_libobj_dir=. 257cross_compiling=no 258subdirs= 259MFLAGS= 260MAKEFLAGS= 261SHELL=${CONFIG_SHELL-/bin/sh} 262 263# Maximum number of lines to put in a shell here document. 264# This variable seems obsolete. It should probably be removed, and 265# only ac_max_sed_lines should be used. 266: ${ac_max_here_lines=38} 267 268# Identity of this package. 269PACKAGE_NAME='eif' 270PACKAGE_TARNAME='eif' 271PACKAGE_VERSION='1.3.4' 272PACKAGE_STRING='eif 1.3.4' 273PACKAGE_BUGREPORT='marcolz@stack.nl' 274 275ac_unique_file="src/eif.c" 276# Factoring default headers for most tests. 277ac_includes_default="\ 278#include <stdio.h> 279#if HAVE_SYS_TYPES_H 280# include <sys/types.h> 281#endif 282#if HAVE_SYS_STAT_H 283# include <sys/stat.h> 284#endif 285#if STDC_HEADERS 286# include <stdlib.h> 287# include <stddef.h> 288#else 289# if HAVE_STDLIB_H 290# include <stdlib.h> 291# endif 292#endif 293#if HAVE_STRING_H 294# if !STDC_HEADERS && HAVE_MEMORY_H 295# include <memory.h> 296# endif 297# include <string.h> 298#endif 299#if HAVE_STRINGS_H 300# include <strings.h> 301#endif 302#if HAVE_INTTYPES_H 303# include <inttypes.h> 304#else 305# if HAVE_STDINT_H 306# include <stdint.h> 307# endif 308#endif 309#if HAVE_UNISTD_H 310# include <unistd.h> 311#endif" 312 313ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S CPP EGREP RANLIB ac_ct_RANLIB ALLOCA AM_CFLAGS LIBOBJS LTLIBOBJS' 314ac_subst_files='' 315 316# Initialize some variables set by options. 317ac_init_help= 318ac_init_version=false 319# The variables have the same names as the options, with 320# dashes changed to underlines. 321cache_file=/dev/null 322exec_prefix=NONE 323no_create= 324no_recursion= 325prefix=NONE 326program_prefix=NONE 327program_suffix=NONE 328program_transform_name=s,x,x, 329silent= 330site= 331srcdir= 332verbose= 333x_includes=NONE 334x_libraries=NONE 335 336# Installation directory options. 337# These are left unexpanded so users can "make install exec_prefix=/foo" 338# and all the variables that are supposed to be based on exec_prefix 339# by default will actually change. 340# Use braces instead of parens because sh, perl, etc. also accept them. 341bindir='${exec_prefix}/bin' 342sbindir='${exec_prefix}/sbin' 343libexecdir='${exec_prefix}/libexec' 344datadir='${prefix}/share' 345sysconfdir='${prefix}/etc' 346sharedstatedir='${prefix}/com' 347localstatedir='${prefix}/var' 348libdir='${exec_prefix}/lib' 349includedir='${prefix}/include' 350oldincludedir='/usr/include' 351infodir='${prefix}/info' 352mandir='${prefix}/man' 353 354ac_prev= 355for ac_option 356do 357 # If the previous option needs an argument, assign it. 358 if test -n "$ac_prev"; then 359 eval "$ac_prev=\$ac_option" 360 ac_prev= 361 continue 362 fi 363 364 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 365 366 # Accept the important Cygnus configure options, so we can diagnose typos. 367 368 case $ac_option in 369 370 -bindir | --bindir | --bindi | --bind | --bin | --bi) 371 ac_prev=bindir ;; 372 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 373 bindir=$ac_optarg ;; 374 375 -build | --build | --buil | --bui | --bu) 376 ac_prev=build_alias ;; 377 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 378 build_alias=$ac_optarg ;; 379 380 -cache-file | --cache-file | --cache-fil | --cache-fi \ 381 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 382 ac_prev=cache_file ;; 383 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 384 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 385 cache_file=$ac_optarg ;; 386 387 --config-cache | -C) 388 cache_file=config.cache ;; 389 390 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 391 ac_prev=datadir ;; 392 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 393 | --da=*) 394 datadir=$ac_optarg ;; 395 396 -disable-* | --disable-*) 397 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 398 # Reject names that are not valid shell variable names. 399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 401 { (exit 1); exit 1; }; } 402 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 403 eval "enable_$ac_feature=no" ;; 404 405 -enable-* | --enable-*) 406 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 407 # Reject names that are not valid shell variable names. 408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 410 { (exit 1); exit 1; }; } 411 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 412 case $ac_option in 413 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 414 *) ac_optarg=yes ;; 415 esac 416 eval "enable_$ac_feature='$ac_optarg'" ;; 417 418 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 419 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 420 | --exec | --exe | --ex) 421 ac_prev=exec_prefix ;; 422 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 423 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 424 | --exec=* | --exe=* | --ex=*) 425 exec_prefix=$ac_optarg ;; 426 427 -gas | --gas | --ga | --g) 428 # Obsolete; use --with-gas. 429 with_gas=yes ;; 430 431 -help | --help | --hel | --he | -h) 432 ac_init_help=long ;; 433 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 434 ac_init_help=recursive ;; 435 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 436 ac_init_help=short ;; 437 438 -host | --host | --hos | --ho) 439 ac_prev=host_alias ;; 440 -host=* | --host=* | --hos=* | --ho=*) 441 host_alias=$ac_optarg ;; 442 443 -includedir | --includedir | --includedi | --included | --include \ 444 | --includ | --inclu | --incl | --inc) 445 ac_prev=includedir ;; 446 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 447 | --includ=* | --inclu=* | --incl=* | --inc=*) 448 includedir=$ac_optarg ;; 449 450 -infodir | --infodir | --infodi | --infod | --info | --inf) 451 ac_prev=infodir ;; 452 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 453 infodir=$ac_optarg ;; 454 455 -libdir | --libdir | --libdi | --libd) 456 ac_prev=libdir ;; 457 -libdir=* | --libdir=* | --libdi=* | --libd=*) 458 libdir=$ac_optarg ;; 459 460 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 461 | --libexe | --libex | --libe) 462 ac_prev=libexecdir ;; 463 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 464 | --libexe=* | --libex=* | --libe=*) 465 libexecdir=$ac_optarg ;; 466 467 -localstatedir | --localstatedir | --localstatedi | --localstated \ 468 | --localstate | --localstat | --localsta | --localst \ 469 | --locals | --local | --loca | --loc | --lo) 470 ac_prev=localstatedir ;; 471 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 472 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 473 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 474 localstatedir=$ac_optarg ;; 475 476 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 477 ac_prev=mandir ;; 478 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 479 mandir=$ac_optarg ;; 480 481 -nfp | --nfp | --nf) 482 # Obsolete; use --without-fp. 483 with_fp=no ;; 484 485 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 486 | --no-cr | --no-c | -n) 487 no_create=yes ;; 488 489 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 490 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 491 no_recursion=yes ;; 492 493 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 494 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 495 | --oldin | --oldi | --old | --ol | --o) 496 ac_prev=oldincludedir ;; 497 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 498 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 499 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 500 oldincludedir=$ac_optarg ;; 501 502 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 503 ac_prev=prefix ;; 504 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 505 prefix=$ac_optarg ;; 506 507 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 508 | --program-pre | --program-pr | --program-p) 509 ac_prev=program_prefix ;; 510 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 511 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 512 program_prefix=$ac_optarg ;; 513 514 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 515 | --program-suf | --program-su | --program-s) 516 ac_prev=program_suffix ;; 517 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 518 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 519 program_suffix=$ac_optarg ;; 520 521 -program-transform-name | --program-transform-name \ 522 | --program-transform-nam | --program-transform-na \ 523 | --program-transform-n | --program-transform- \ 524 | --program-transform | --program-transfor \ 525 | --program-transfo | --program-transf \ 526 | --program-trans | --program-tran \ 527 | --progr-tra | --program-tr | --program-t) 528 ac_prev=program_transform_name ;; 529 -program-transform-name=* | --program-transform-name=* \ 530 | --program-transform-nam=* | --program-transform-na=* \ 531 | --program-transform-n=* | --program-transform-=* \ 532 | --program-transform=* | --program-transfor=* \ 533 | --program-transfo=* | --program-transf=* \ 534 | --program-trans=* | --program-tran=* \ 535 | --progr-tra=* | --program-tr=* | --program-t=*) 536 program_transform_name=$ac_optarg ;; 537 538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 539 | -silent | --silent | --silen | --sile | --sil) 540 silent=yes ;; 541 542 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 543 ac_prev=sbindir ;; 544 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 545 | --sbi=* | --sb=*) 546 sbindir=$ac_optarg ;; 547 548 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 549 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 550 | --sharedst | --shareds | --shared | --share | --shar \ 551 | --sha | --sh) 552 ac_prev=sharedstatedir ;; 553 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 554 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 555 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 556 | --sha=* | --sh=*) 557 sharedstatedir=$ac_optarg ;; 558 559 -site | --site | --sit) 560 ac_prev=site ;; 561 -site=* | --site=* | --sit=*) 562 site=$ac_optarg ;; 563 564 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 565 ac_prev=srcdir ;; 566 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 567 srcdir=$ac_optarg ;; 568 569 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 570 | --syscon | --sysco | --sysc | --sys | --sy) 571 ac_prev=sysconfdir ;; 572 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 573 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 574 sysconfdir=$ac_optarg ;; 575 576 -target | --target | --targe | --targ | --tar | --ta | --t) 577 ac_prev=target_alias ;; 578 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 579 target_alias=$ac_optarg ;; 580 581 -v | -verbose | --verbose | --verbos | --verbo | --verb) 582 verbose=yes ;; 583 584 -version | --version | --versio | --versi | --vers | -V) 585 ac_init_version=: ;; 586 587 -with-* | --with-*) 588 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 589 # Reject names that are not valid shell variable names. 590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 591 { echo "$as_me: error: invalid package name: $ac_package" >&2 592 { (exit 1); exit 1; }; } 593 ac_package=`echo $ac_package| sed 's/-/_/g'` 594 case $ac_option in 595 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 596 *) ac_optarg=yes ;; 597 esac 598 eval "with_$ac_package='$ac_optarg'" ;; 599 600 -without-* | --without-*) 601 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 602 # Reject names that are not valid shell variable names. 603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 604 { echo "$as_me: error: invalid package name: $ac_package" >&2 605 { (exit 1); exit 1; }; } 606 ac_package=`echo $ac_package | sed 's/-/_/g'` 607 eval "with_$ac_package=no" ;; 608 609 --x) 610 # Obsolete; use --with-x. 611 with_x=yes ;; 612 613 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 614 | --x-incl | --x-inc | --x-in | --x-i) 615 ac_prev=x_includes ;; 616 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 617 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 618 x_includes=$ac_optarg ;; 619 620 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 621 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 622 ac_prev=x_libraries ;; 623 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 624 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 625 x_libraries=$ac_optarg ;; 626 627 -*) { echo "$as_me: error: unrecognized option: $ac_option 628Try \`$0 --help' for more information." >&2 629 { (exit 1); exit 1; }; } 630 ;; 631 632 *=*) 633 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 634 # Reject names that are not valid shell variable names. 635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 637 { (exit 1); exit 1; }; } 638 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 639 eval "$ac_envvar='$ac_optarg'" 640 export $ac_envvar ;; 641 642 *) 643 # FIXME: should be removed in autoconf 3.0. 644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 648 ;; 649 650 esac 651done 652 653if test -n "$ac_prev"; then 654 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 655 { echo "$as_me: error: missing argument to $ac_option" >&2 656 { (exit 1); exit 1; }; } 657fi 658 659# Be sure to have absolute paths. 660for ac_var in exec_prefix prefix 661do 662 eval ac_val=$`echo $ac_var` 663 case $ac_val in 664 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 666 { (exit 1); exit 1; }; };; 667 esac 668done 669 670# Be sure to have absolute paths. 671for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 672 localstatedir libdir includedir oldincludedir infodir mandir 673do 674 eval ac_val=$`echo $ac_var` 675 case $ac_val in 676 [\\/$]* | ?:[\\/]* ) ;; 677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 678 { (exit 1); exit 1; }; };; 679 esac 680done 681 682# There might be people who depend on the old broken behavior: `$host' 683# used to hold the argument of --host etc. 684# FIXME: To remove some day. 685build=$build_alias 686host=$host_alias 687target=$target_alias 688 689# FIXME: To remove some day. 690if test "x$host_alias" != x; then 691 if test "x$build_alias" = x; then 692 cross_compiling=maybe 693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 694 If a cross compiler is detected then cross compile mode will be used." >&2 695 elif test "x$build_alias" != "x$host_alias"; then 696 cross_compiling=yes 697 fi 698fi 699 700ac_tool_prefix= 701test -n "$host_alias" && ac_tool_prefix=$host_alias- 702 703test "$silent" = yes && exec 6>/dev/null 704 705 706# Find the source files, if location was not specified. 707if test -z "$srcdir"; then 708 ac_srcdir_defaulted=yes 709 # Try the directory containing this script, then its parent. 710 ac_confdir=`(dirname "$0") 2>/dev/null || 711$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 712 X"$0" : 'X\(//\)[^/]' \| \ 713 X"$0" : 'X\(//\)$' \| \ 714 X"$0" : 'X\(/\)' \| \ 715 . : '\(.\)' 2>/dev/null || 716echo X"$0" | 717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 718 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 719 /^X\(\/\/\)$/{ s//\1/; q; } 720 /^X\(\/\).*/{ s//\1/; q; } 721 s/.*/./; q'` 722 srcdir=$ac_confdir 723 if test ! -r $srcdir/$ac_unique_file; then 724 srcdir=.. 725 fi 726else 727 ac_srcdir_defaulted=no 728fi 729if test ! -r $srcdir/$ac_unique_file; then 730 if test "$ac_srcdir_defaulted" = yes; then 731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 732 { (exit 1); exit 1; }; } 733 else 734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 735 { (exit 1); exit 1; }; } 736 fi 737fi 738(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 740 { (exit 1); exit 1; }; } 741srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 742ac_env_build_alias_set=${build_alias+set} 743ac_env_build_alias_value=$build_alias 744ac_cv_env_build_alias_set=${build_alias+set} 745ac_cv_env_build_alias_value=$build_alias 746ac_env_host_alias_set=${host_alias+set} 747ac_env_host_alias_value=$host_alias 748ac_cv_env_host_alias_set=${host_alias+set} 749ac_cv_env_host_alias_value=$host_alias 750ac_env_target_alias_set=${target_alias+set} 751ac_env_target_alias_value=$target_alias 752ac_cv_env_target_alias_set=${target_alias+set} 753ac_cv_env_target_alias_value=$target_alias 754ac_env_CC_set=${CC+set} 755ac_env_CC_value=$CC 756ac_cv_env_CC_set=${CC+set} 757ac_cv_env_CC_value=$CC 758ac_env_CFLAGS_set=${CFLAGS+set} 759ac_env_CFLAGS_value=$CFLAGS 760ac_cv_env_CFLAGS_set=${CFLAGS+set} 761ac_cv_env_CFLAGS_value=$CFLAGS 762ac_env_LDFLAGS_set=${LDFLAGS+set} 763ac_env_LDFLAGS_value=$LDFLAGS 764ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 765ac_cv_env_LDFLAGS_value=$LDFLAGS 766ac_env_CPPFLAGS_set=${CPPFLAGS+set} 767ac_env_CPPFLAGS_value=$CPPFLAGS 768ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 769ac_cv_env_CPPFLAGS_value=$CPPFLAGS 770ac_env_CPP_set=${CPP+set} 771ac_env_CPP_value=$CPP 772ac_cv_env_CPP_set=${CPP+set} 773ac_cv_env_CPP_value=$CPP 774 775# 776# Report the --help message. 777# 778if test "$ac_init_help" = "long"; then 779 # Omit some internal or obsolete options to make the list less imposing. 780 # This message is too long to be a string in the A/UX 3.1 sh. 781 cat <<_ACEOF 782\`configure' configures eif 1.3.4 to adapt to many kinds of systems. 783 784Usage: $0 [OPTION]... [VAR=VALUE]... 785 786To assign environment variables (e.g., CC, CFLAGS...), specify them as 787VAR=VALUE. See below for descriptions of some of the useful variables. 788 789Defaults for the options are specified in brackets. 790 791Configuration: 792 -h, --help display this help and exit 793 --help=short display options specific to this package 794 --help=recursive display the short help of all the included packages 795 -V, --version display version information and exit 796 -q, --quiet, --silent do not print \`checking...' messages 797 --cache-file=FILE cache test results in FILE [disabled] 798 -C, --config-cache alias for \`--cache-file=config.cache' 799 -n, --no-create do not create output files 800 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 801 802_ACEOF 803 804 cat <<_ACEOF 805Installation directories: 806 --prefix=PREFIX install architecture-independent files in PREFIX 807 [$ac_default_prefix] 808 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 809 [PREFIX] 810 811By default, \`make install' will install all the files in 812\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 813an installation prefix other than \`$ac_default_prefix' using \`--prefix', 814for instance \`--prefix=\$HOME'. 815 816For better control, use the options below. 817 818Fine tuning of the installation directories: 819 --bindir=DIR user executables [EPREFIX/bin] 820 --sbindir=DIR system admin executables [EPREFIX/sbin] 821 --libexecdir=DIR program executables [EPREFIX/libexec] 822 --datadir=DIR read-only architecture-independent data [PREFIX/share] 823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 825 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 826 --libdir=DIR object code libraries [EPREFIX/lib] 827 --includedir=DIR C header files [PREFIX/include] 828 --oldincludedir=DIR C header files for non-gcc [/usr/include] 829 --infodir=DIR info documentation [PREFIX/info] 830 --mandir=DIR man documentation [PREFIX/man] 831_ACEOF 832 833 cat <<\_ACEOF 834 835Program names: 836 --program-prefix=PREFIX prepend PREFIX to installed program names 837 --program-suffix=SUFFIX append SUFFIX to installed program names 838 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 839_ACEOF 840fi 841 842if test -n "$ac_init_help"; then 843 case $ac_init_help in 844 short | recursive ) echo "Configuration of eif 1.3.4:";; 845 esac 846 cat <<\_ACEOF 847 848Optional Features: 849 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 850 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 851 --disable-dependency-tracking Speeds up one-time builds 852 --enable-dependency-tracking Do not reject slow dependency extractors 853 854Some influential environment variables: 855 CC C compiler command 856 CFLAGS C compiler flags 857 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 858 nonstandard directory <lib dir> 859 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 860 headers in a nonstandard directory <include dir> 861 CPP C preprocessor 862 863Use these variables to override the choices made by `configure' or to help 864it to find libraries and programs with nonstandard names/locations. 865 866Report bugs to <marcolz@stack.nl>. 867_ACEOF 868fi 869 870if test "$ac_init_help" = "recursive"; then 871 # If there are subdirs, report their specific --help. 872 ac_popdir=`pwd` 873 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 874 test -d $ac_dir || continue 875 ac_builddir=. 876 877if test "$ac_dir" != .; then 878 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 879 # A "../" for each directory in $ac_dir_suffix. 880 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 881else 882 ac_dir_suffix= ac_top_builddir= 883fi 884 885case $srcdir in 886 .) # No --srcdir option. We are building in place. 887 ac_srcdir=. 888 if test -z "$ac_top_builddir"; then 889 ac_top_srcdir=. 890 else 891 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 892 fi ;; 893 [\\/]* | ?:[\\/]* ) # Absolute path. 894 ac_srcdir=$srcdir$ac_dir_suffix; 895 ac_top_srcdir=$srcdir ;; 896 *) # Relative path. 897 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 898 ac_top_srcdir=$ac_top_builddir$srcdir ;; 899esac 900# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 901# absolute. 902ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 903ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 904ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 905ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 906 907 cd $ac_dir 908 # Check for guested configure; otherwise get Cygnus style configure. 909 if test -f $ac_srcdir/configure.gnu; then 910 echo 911 $SHELL $ac_srcdir/configure.gnu --help=recursive 912 elif test -f $ac_srcdir/configure; then 913 echo 914 $SHELL $ac_srcdir/configure --help=recursive 915 elif test -f $ac_srcdir/configure.ac || 916 test -f $ac_srcdir/configure.in; then 917 echo 918 $ac_configure --help 919 else 920 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 921 fi 922 cd $ac_popdir 923 done 924fi 925 926test -n "$ac_init_help" && exit 0 927if $ac_init_version; then 928 cat <<\_ACEOF 929eif configure 1.3.4 930generated by GNU Autoconf 2.57 931 932Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 933Free Software Foundation, Inc. 934This configure script is free software; the Free Software Foundation 935gives unlimited permission to copy, distribute and modify it. 936_ACEOF 937 exit 0 938fi 939exec 5>config.log 940cat >&5 <<_ACEOF 941This file contains any messages produced by compilers while 942running configure, to aid debugging if configure makes a mistake. 943 944It was created by eif $as_me 1.3.4, which was 945generated by GNU Autoconf 2.57. Invocation command line was 946 947 $ $0 $@ 948 949_ACEOF 950{ 951cat <<_ASUNAME 952## --------- ## 953## Platform. ## 954## --------- ## 955 956hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 957uname -m = `(uname -m) 2>/dev/null || echo unknown` 958uname -r = `(uname -r) 2>/dev/null || echo unknown` 959uname -s = `(uname -s) 2>/dev/null || echo unknown` 960uname -v = `(uname -v) 2>/dev/null || echo unknown` 961 962/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 963/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 964 965/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 966/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 967/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 968hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 969/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 970/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 971/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 972 973_ASUNAME 974 975as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 976for as_dir in $PATH 977do 978 IFS=$as_save_IFS 979 test -z "$as_dir" && as_dir=. 980 echo "PATH: $as_dir" 981done 982 983} >&5 984 985cat >&5 <<_ACEOF 986 987 988## ----------- ## 989## Core tests. ## 990## ----------- ## 991 992_ACEOF 993 994 995# Keep a trace of the command line. 996# Strip out --no-create and --no-recursion so they do not pile up. 997# Strip out --silent because we don't want to record it for future runs. 998# Also quote any args containing shell meta-characters. 999# Make two passes to allow for proper duplicate-argument suppression. 1000ac_configure_args= 1001ac_configure_args0= 1002ac_configure_args1= 1003ac_sep= 1004ac_must_keep_next=false 1005for ac_pass in 1 2 1006do 1007 for ac_arg 1008 do 1009 case $ac_arg in 1010 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1011 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1012 | -silent | --silent | --silen | --sile | --sil) 1013 continue ;; 1014 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1015 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1016 esac 1017 case $ac_pass in 1018 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1019 2) 1020 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1021 if test $ac_must_keep_next = true; then 1022 ac_must_keep_next=false # Got value, back to normal. 1023 else 1024 case $ac_arg in 1025 *=* | --config-cache | -C | -disable-* | --disable-* \ 1026 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1027 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1028 | -with-* | --with-* | -without-* | --without-* | --x) 1029 case "$ac_configure_args0 " in 1030 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1031 esac 1032 ;; 1033 -* ) ac_must_keep_next=true ;; 1034 esac 1035 fi 1036 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1037 # Get rid of the leading space. 1038 ac_sep=" " 1039 ;; 1040 esac 1041 done 1042done 1043$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1044$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1045 1046# When interrupted or exit'd, cleanup temporary files, and complete 1047# config.log. We remove comments because anyway the quotes in there 1048# would cause problems or look ugly. 1049# WARNING: Be sure not to use single quotes in there, as some shells, 1050# such as our DU 5.0 friend, will then `close' the trap. 1051trap 'exit_status=$? 1052 # Save into config.log some information that might help in debugging. 1053 { 1054 echo 1055 1056 cat <<\_ASBOX 1057## ---------------- ## 1058## Cache variables. ## 1059## ---------------- ## 1060_ASBOX 1061 echo 1062 # The following way of writing the cache mishandles newlines in values, 1063{ 1064 (set) 2>&1 | 1065 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1066 *ac_space=\ *) 1067 sed -n \ 1068 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1069 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1070 ;; 1071 *) 1072 sed -n \ 1073 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1074 ;; 1075 esac; 1076} 1077 echo 1078 1079 cat <<\_ASBOX 1080## ----------------- ## 1081## Output variables. ## 1082## ----------------- ## 1083_ASBOX 1084 echo 1085 for ac_var in $ac_subst_vars 1086 do 1087 eval ac_val=$`echo $ac_var` 1088 echo "$ac_var='"'"'$ac_val'"'"'" 1089 done | sort 1090 echo 1091 1092 if test -n "$ac_subst_files"; then 1093 cat <<\_ASBOX 1094## ------------- ## 1095## Output files. ## 1096## ------------- ## 1097_ASBOX 1098 echo 1099 for ac_var in $ac_subst_files 1100 do 1101 eval ac_val=$`echo $ac_var` 1102 echo "$ac_var='"'"'$ac_val'"'"'" 1103 done | sort 1104 echo 1105 fi 1106 1107 if test -s confdefs.h; then 1108 cat <<\_ASBOX 1109## ----------- ## 1110## confdefs.h. ## 1111## ----------- ## 1112_ASBOX 1113 echo 1114 sed "/^$/d" confdefs.h | sort 1115 echo 1116 fi 1117 test "$ac_signal" != 0 && 1118 echo "$as_me: caught signal $ac_signal" 1119 echo "$as_me: exit $exit_status" 1120 } >&5 1121 rm -f core core.* *.core && 1122 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1123 exit $exit_status 1124 ' 0 1125for ac_signal in 1 2 13 15; do 1126 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1127done 1128ac_signal=0 1129 1130# confdefs.h avoids OS command line length limits that DEFS can exceed. 1131rm -rf conftest* confdefs.h 1132# AIX cpp loses on an empty file, so make sure it contains at least a newline. 1133echo >confdefs.h 1134 1135# Predefined preprocessor variables. 1136 1137cat >>confdefs.h <<_ACEOF 1138#define PACKAGE_NAME "$PACKAGE_NAME" 1139_ACEOF 1140 1141 1142cat >>confdefs.h <<_ACEOF 1143#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1144_ACEOF 1145 1146 1147cat >>confdefs.h <<_ACEOF 1148#define PACKAGE_VERSION "$PACKAGE_VERSION" 1149_ACEOF 1150 1151 1152cat >>confdefs.h <<_ACEOF 1153#define PACKAGE_STRING "$PACKAGE_STRING" 1154_ACEOF 1155 1156 1157cat >>confdefs.h <<_ACEOF 1158#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1159_ACEOF 1160 1161 1162# Let the site file select an alternate cache file if it wants to. 1163# Prefer explicitly selected file to automatically selected ones. 1164if test -z "$CONFIG_SITE"; then 1165 if test "x$prefix" != xNONE; then 1166 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1167 else 1168 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1169 fi 1170fi 1171for ac_site_file in $CONFIG_SITE; do 1172 if test -r "$ac_site_file"; then 1173 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1174echo "$as_me: loading site script $ac_site_file" >&6;} 1175 sed 's/^/| /' "$ac_site_file" >&5 1176 . "$ac_site_file" 1177 fi 1178done 1179 1180if test -r "$cache_file"; then 1181 # Some versions of bash will fail to source /dev/null (special 1182 # files actually), so we avoid doing that. 1183 if test -f "$cache_file"; then 1184 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1185echo "$as_me: loading cache $cache_file" >&6;} 1186 case $cache_file in 1187 [\\/]* | ?:[\\/]* ) . $cache_file;; 1188 *) . ./$cache_file;; 1189 esac 1190 fi 1191else 1192 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1193echo "$as_me: creating cache $cache_file" >&6;} 1194 >$cache_file 1195fi 1196 1197# Check that the precious variables saved in the cache have kept the same 1198# value. 1199ac_cache_corrupted=false 1200for ac_var in `(set) 2>&1 | 1201 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1202 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1203 eval ac_new_set=\$ac_env_${ac_var}_set 1204 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1205 eval ac_new_val="\$ac_env_${ac_var}_value" 1206 case $ac_old_set,$ac_new_set in 1207 set,) 1208 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1209echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1210 ac_cache_corrupted=: ;; 1211 ,set) 1212 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1213echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1214 ac_cache_corrupted=: ;; 1215 ,);; 1216 *) 1217 if test "x$ac_old_val" != "x$ac_new_val"; then 1218 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1219echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1220 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1221echo "$as_me: former value: $ac_old_val" >&2;} 1222 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1223echo "$as_me: current value: $ac_new_val" >&2;} 1224 ac_cache_corrupted=: 1225 fi;; 1226 esac 1227 # Pass precious variables to config.status. 1228 if test "$ac_new_set" = set; then 1229 case $ac_new_val in 1230 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1231 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1232 *) ac_arg=$ac_var=$ac_new_val ;; 1233 esac 1234 case " $ac_configure_args " in 1235 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1236 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1237 esac 1238 fi 1239done 1240if $ac_cache_corrupted; then 1241 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1242echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1243 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1244echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1245 { (exit 1); exit 1; }; } 1246fi 1247 1248ac_ext=c 1249ac_cpp='$CPP $CPPFLAGS' 1250ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1251ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1252ac_compiler_gnu=$ac_cv_c_compiler_gnu 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281am__api_version="1.7" 1282ac_aux_dir= 1283for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1284 if test -f $ac_dir/install-sh; then 1285 ac_aux_dir=$ac_dir 1286 ac_install_sh="$ac_aux_dir/install-sh -c" 1287 break 1288 elif test -f $ac_dir/install.sh; then 1289 ac_aux_dir=$ac_dir 1290 ac_install_sh="$ac_aux_dir/install.sh -c" 1291 break 1292 elif test -f $ac_dir/shtool; then 1293 ac_aux_dir=$ac_dir 1294 ac_install_sh="$ac_aux_dir/shtool install -c" 1295 break 1296 fi 1297done 1298if test -z "$ac_aux_dir"; then 1299 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1300echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1301 { (exit 1); exit 1; }; } 1302fi 1303ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1304ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1305ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1306 1307# Find a good install program. We prefer a C program (faster), 1308# so one script is as good as another. But avoid the broken or 1309# incompatible versions: 1310# SysV /etc/install, /usr/sbin/install 1311# SunOS /usr/etc/install 1312# IRIX /sbin/install 1313# AIX /bin/install 1314# AmigaOS /C/install, which installs bootblocks on floppy discs 1315# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1316# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1317# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1318# ./install, which can be erroneously created by make from ./install.sh. 1319echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1320echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 1321if test -z "$INSTALL"; then 1322if test "${ac_cv_path_install+set}" = set; then 1323 echo $ECHO_N "(cached) $ECHO_C" >&6 1324else 1325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1326for as_dir in $PATH 1327do 1328 IFS=$as_save_IFS 1329 test -z "$as_dir" && as_dir=. 1330 # Account for people who put trailing slashes in PATH elements. 1331case $as_dir/ in 1332 ./ | .// | /cC/* | \ 1333 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1334 /usr/ucb/* ) ;; 1335 *) 1336 # OSF1 and SCO ODT 3.0 have their own names for install. 1337 # Don't use installbsd from OSF since it installs stuff as root 1338 # by default. 1339 for ac_prog in ginstall scoinst install; do 1340 for ac_exec_ext in '' $ac_executable_extensions; do 1341 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1342 if test $ac_prog = install && 1343 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1344 # AIX install. It has an incompatible calling convention. 1345 : 1346 elif test $ac_prog = install && 1347 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1348 # program-specific install script used by HP pwplus--don't use. 1349 : 1350 else 1351 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1352 break 3 1353 fi 1354 fi 1355 done 1356 done 1357 ;; 1358esac 1359done 1360 1361 1362fi 1363 if test "${ac_cv_path_install+set}" = set; then 1364 INSTALL=$ac_cv_path_install 1365 else 1366 # As a last resort, use the slow shell script. We don't cache a 1367 # path for INSTALL within a source directory, because that will 1368 # break other packages using the cache if that directory is 1369 # removed, or if the path is relative. 1370 INSTALL=$ac_install_sh 1371 fi 1372fi 1373echo "$as_me:$LINENO: result: $INSTALL" >&5 1374echo "${ECHO_T}$INSTALL" >&6 1375 1376# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1377# It thinks the first close brace ends the variable substitution. 1378test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1379 1380test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1381 1382test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1383 1384echo "$as_me:$LINENO: checking whether build environment is sane" >&5 1385echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 1386# Just in case 1387sleep 1 1388echo timestamp > conftest.file 1389# Do `set' in a subshell so we don't clobber the current shell's 1390# arguments. Must try -L first in case configure is actually a 1391# symlink; some systems play weird games with the mod time of symlinks 1392# (eg FreeBSD returns the mod time of the symlink's containing 1393# directory). 1394if ( 1395 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1396 if test "$*" = "X"; then 1397 # -L didn't work. 1398 set X `ls -t $srcdir/configure conftest.file` 1399 fi 1400 rm -f conftest.file 1401 if test "$*" != "X $srcdir/configure conftest.file" \ 1402 && test "$*" != "X conftest.file $srcdir/configure"; then 1403 1404 # If neither matched, then we have a broken ls. This can happen 1405 # if, for instance, CONFIG_SHELL is bash and it inherits a 1406 # broken ls alias from the environment. This has actually 1407 # happened. Such a system could not be considered "sane". 1408 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 1409alias in your environment" >&5 1410echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1411alias in your environment" >&2;} 1412 { (exit 1); exit 1; }; } 1413 fi 1414 1415 test "$2" = conftest.file 1416 ) 1417then 1418 # Ok. 1419 : 1420else 1421 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 1422Check your system clock" >&5 1423echo "$as_me: error: newly created file is older than distributed files! 1424Check your system clock" >&2;} 1425 { (exit 1); exit 1; }; } 1426fi 1427echo "$as_me:$LINENO: result: yes" >&5 1428echo "${ECHO_T}yes" >&6 1429test "$program_prefix" != NONE && 1430 program_transform_name="s,^,$program_prefix,;$program_transform_name" 1431# Use a double $ so make ignores it. 1432test "$program_suffix" != NONE && 1433 program_transform_name="s,\$,$program_suffix,;$program_transform_name" 1434# Double any \ or $. echo might interpret backslashes. 1435# By default was `s,x,x', remove it if useless. 1436cat <<\_ACEOF >conftest.sed 1437s/[\\$]/&&/g;s/;s,x,x,$// 1438_ACEOF 1439program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1440rm conftest.sed 1441 1442 1443# expand $ac_aux_dir to an absolute path 1444am_aux_dir=`cd $ac_aux_dir && pwd` 1445 1446test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1447# Use eval to expand $SHELL 1448if eval "$MISSING --run true"; then 1449 am_missing_run="$MISSING --run " 1450else 1451 am_missing_run= 1452 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1453echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1454fi 1455 1456for ac_prog in gawk mawk nawk awk 1457do 1458 # Extract the first word of "$ac_prog", so it can be a program name with args. 1459set dummy $ac_prog; ac_word=$2 1460echo "$as_me:$LINENO: checking for $ac_word" >&5 1461echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1462if test "${ac_cv_prog_AWK+set}" = set; then 1463 echo $ECHO_N "(cached) $ECHO_C" >&6 1464else 1465 if test -n "$AWK"; then 1466 ac_cv_prog_AWK="$AWK" # Let the user override the test. 1467else 1468as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1469for as_dir in $PATH 1470do 1471 IFS=$as_save_IFS 1472 test -z "$as_dir" && as_dir=. 1473 for ac_exec_ext in '' $ac_executable_extensions; do 1474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1475 ac_cv_prog_AWK="$ac_prog" 1476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1477 break 2 1478 fi 1479done 1480done 1481 1482fi 1483fi 1484AWK=$ac_cv_prog_AWK 1485if test -n "$AWK"; then 1486 echo "$as_me:$LINENO: result: $AWK" >&5 1487echo "${ECHO_T}$AWK" >&6 1488else 1489 echo "$as_me:$LINENO: result: no" >&5 1490echo "${ECHO_T}no" >&6 1491fi 1492 1493 test -n "$AWK" && break 1494done 1495 1496echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1497echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 1498set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 1499if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1500 echo $ECHO_N "(cached) $ECHO_C" >&6 1501else 1502 cat >conftest.make <<\_ACEOF 1503all: 1504 @echo 'ac_maketemp="$(MAKE)"' 1505_ACEOF 1506# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1507eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 1508if test -n "$ac_maketemp"; then 1509 eval ac_cv_prog_make_${ac_make}_set=yes 1510else 1511 eval ac_cv_prog_make_${ac_make}_set=no 1512fi 1513rm -f conftest.make 1514fi 1515if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 1516 echo "$as_me:$LINENO: result: yes" >&5 1517echo "${ECHO_T}yes" >&6 1518 SET_MAKE= 1519else 1520 echo "$as_me:$LINENO: result: no" >&5 1521echo "${ECHO_T}no" >&6 1522 SET_MAKE="MAKE=${MAKE-make}" 1523fi 1524 1525rm -rf .tst 2>/dev/null 1526mkdir .tst 2>/dev/null 1527if test -d .tst; then 1528 am__leading_dot=. 1529else 1530 am__leading_dot=_ 1531fi 1532rmdir .tst 2>/dev/null 1533 1534 # test to see if srcdir already configured 1535if test "`cd $srcdir && pwd`" != "`pwd`" && 1536 test -f $srcdir/config.status; then 1537 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 1538echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 1539 { (exit 1); exit 1; }; } 1540fi 1541 1542# test whether we have cygpath 1543if test -z "$CYGPATH_W"; then 1544 if (cygpath --version) >/dev/null 2>/dev/null; then 1545 CYGPATH_W='cygpath -w' 1546 else 1547 CYGPATH_W=echo 1548 fi 1549fi 1550 1551 1552# Define the identity of the package. 1553 PACKAGE='eif' 1554 VERSION='1.3.4' 1555 1556 1557cat >>confdefs.h <<_ACEOF 1558#define PACKAGE "$PACKAGE" 1559_ACEOF 1560 1561 1562cat >>confdefs.h <<_ACEOF 1563#define VERSION "$VERSION" 1564_ACEOF 1565 1566# Some tools Automake needs. 1567 1568ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 1569 1570 1571AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 1572 1573 1574AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 1575 1576 1577AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 1578 1579 1580MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 1581 1582 1583AMTAR=${AMTAR-"${am_missing_run}tar"} 1584 1585install_sh=${install_sh-"$am_aux_dir/install-sh"} 1586 1587# Installed binaries are usually stripped using `strip' when the user 1588# run `make install-strip'. However `strip' might not be the right 1589# tool to use in cross-compilation environments, therefore Automake 1590# will honor the `STRIP' environment variable to overrule this program. 1591if test "$cross_compiling" != no; then 1592 if test -n "$ac_tool_prefix"; then 1593 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 1594set dummy ${ac_tool_prefix}strip; ac_word=$2 1595echo "$as_me:$LINENO: checking for $ac_word" >&5 1596echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1597if test "${ac_cv_prog_STRIP+set}" = set; then 1598 echo $ECHO_N "(cached) $ECHO_C" >&6 1599else 1600 if test -n "$STRIP"; then 1601 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 1602else 1603as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1604for as_dir in $PATH 1605do 1606 IFS=$as_save_IFS 1607 test -z "$as_dir" && as_dir=. 1608 for ac_exec_ext in '' $ac_executable_extensions; do 1609 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1610 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 1611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1612 break 2 1613 fi 1614done 1615done 1616 1617fi 1618fi 1619STRIP=$ac_cv_prog_STRIP 1620if test -n "$STRIP"; then 1621 echo "$as_me:$LINENO: result: $STRIP" >&5 1622echo "${ECHO_T}$STRIP" >&6 1623else 1624 echo "$as_me:$LINENO: result: no" >&5 1625echo "${ECHO_T}no" >&6 1626fi 1627 1628fi 1629if test -z "$ac_cv_prog_STRIP"; then 1630 ac_ct_STRIP=$STRIP 1631 # Extract the first word of "strip", so it can be a program name with args. 1632set dummy strip; ac_word=$2 1633echo "$as_me:$LINENO: checking for $ac_word" >&5 1634echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1635if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 1636 echo $ECHO_N "(cached) $ECHO_C" >&6 1637else 1638 if test -n "$ac_ct_STRIP"; then 1639 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 1640else 1641as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1642for as_dir in $PATH 1643do 1644 IFS=$as_save_IFS 1645 test -z "$as_dir" && as_dir=. 1646 for ac_exec_ext in '' $ac_executable_extensions; do 1647 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1648 ac_cv_prog_ac_ct_STRIP="strip" 1649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1650 break 2 1651 fi 1652done 1653done 1654 1655 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 1656fi 1657fi 1658ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 1659if test -n "$ac_ct_STRIP"; then 1660 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 1661echo "${ECHO_T}$ac_ct_STRIP" >&6 1662else 1663 echo "$as_me:$LINENO: result: no" >&5 1664echo "${ECHO_T}no" >&6 1665fi 1666 1667 STRIP=$ac_ct_STRIP 1668else 1669 STRIP="$ac_cv_prog_STRIP" 1670fi 1671 1672fi 1673INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 1674 1675# We need awk for the "check" target. The system "awk" is bad on 1676# some platforms. 1677 1678 1679 1680 ac_config_headers="$ac_config_headers config.h" 1681 1682 1683 1684 1685if test x$includedir != x 1686then 1687 CPPFLAGS="${CPPFLAGS} -I${includedir}" 1688fi 1689 1690if test x$oldincludedir != x 1691then 1692 CPPFLAGS="${CPPFLAGS} -I${oldincludedir}" 1693fi 1694 1695CPPFLAGS="${CPPFLAGS} -I/usr/local/include -I/usr/pkg/include" 1696LDFLAGS="${LDFLAGS} -L/usr/local/lib -L/usr/pkg/lib" 1697 1698if test x$libdir != x 1699then 1700 LDFLAGS="${LDFLAGS} -L${libdir}" 1701fi 1702 1703if test x$GCC != x 1704then 1705 CFLAGS="${CFLAGS} -Wall -W -Wshadow -Wbad-function-cast -Wcast-qual -Wwrite-strings" 1706fi 1707 1708 1709ac_ext=c 1710ac_cpp='$CPP $CPPFLAGS' 1711ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1712ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1713ac_compiler_gnu=$ac_cv_c_compiler_gnu 1714if test -n "$ac_tool_prefix"; then 1715 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1716set dummy ${ac_tool_prefix}gcc; ac_word=$2 1717echo "$as_me:$LINENO: checking for $ac_word" >&5 1718echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1719if test "${ac_cv_prog_CC+set}" = set; then 1720 echo $ECHO_N "(cached) $ECHO_C" >&6 1721else 1722 if test -n "$CC"; then 1723 ac_cv_prog_CC="$CC" # Let the user override the test. 1724else 1725as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1726for as_dir in $PATH 1727do 1728 IFS=$as_save_IFS 1729 test -z "$as_dir" && as_dir=. 1730 for ac_exec_ext in '' $ac_executable_extensions; do 1731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1732 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1734 break 2 1735 fi 1736done 1737done 1738 1739fi 1740fi 1741CC=$ac_cv_prog_CC 1742if test -n "$CC"; then 1743 echo "$as_me:$LINENO: result: $CC" >&5 1744echo "${ECHO_T}$CC" >&6 1745else 1746 echo "$as_me:$LINENO: result: no" >&5 1747echo "${ECHO_T}no" >&6 1748fi 1749 1750fi 1751if test -z "$ac_cv_prog_CC"; then 1752 ac_ct_CC=$CC 1753 # Extract the first word of "gcc", so it can be a program name with args. 1754set dummy gcc; ac_word=$2 1755echo "$as_me:$LINENO: checking for $ac_word" >&5 1756echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1757if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1758 echo $ECHO_N "(cached) $ECHO_C" >&6 1759else 1760 if test -n "$ac_ct_CC"; then 1761 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1762else 1763as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1764for as_dir in $PATH 1765do 1766 IFS=$as_save_IFS 1767 test -z "$as_dir" && as_dir=. 1768 for ac_exec_ext in '' $ac_executable_extensions; do 1769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1770 ac_cv_prog_ac_ct_CC="gcc" 1771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1772 break 2 1773 fi 1774done 1775done 1776 1777fi 1778fi 1779ac_ct_CC=$ac_cv_prog_ac_ct_CC 1780if test -n "$ac_ct_CC"; then 1781 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1782echo "${ECHO_T}$ac_ct_CC" >&6 1783else 1784 echo "$as_me:$LINENO: result: no" >&5 1785echo "${ECHO_T}no" >&6 1786fi 1787 1788 CC=$ac_ct_CC 1789else 1790 CC="$ac_cv_prog_CC" 1791fi 1792 1793if test -z "$CC"; then 1794 if test -n "$ac_tool_prefix"; then 1795 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1796set dummy ${ac_tool_prefix}cc; ac_word=$2 1797echo "$as_me:$LINENO: checking for $ac_word" >&5 1798echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1799if test "${ac_cv_prog_CC+set}" = set; then 1800 echo $ECHO_N "(cached) $ECHO_C" >&6 1801else 1802 if test -n "$CC"; then 1803 ac_cv_prog_CC="$CC" # Let the user override the test. 1804else 1805as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1806for as_dir in $PATH 1807do 1808 IFS=$as_save_IFS 1809 test -z "$as_dir" && as_dir=. 1810 for ac_exec_ext in '' $ac_executable_extensions; do 1811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1812 ac_cv_prog_CC="${ac_tool_prefix}cc" 1813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1814 break 2 1815 fi 1816done 1817done 1818 1819fi 1820fi 1821CC=$ac_cv_prog_CC 1822if test -n "$CC"; then 1823 echo "$as_me:$LINENO: result: $CC" >&5 1824echo "${ECHO_T}$CC" >&6 1825else 1826 echo "$as_me:$LINENO: result: no" >&5 1827echo "${ECHO_T}no" >&6 1828fi 1829 1830fi 1831if test -z "$ac_cv_prog_CC"; then 1832 ac_ct_CC=$CC 1833 # Extract the first word of "cc", so it can be a program name with args. 1834set dummy cc; ac_word=$2 1835echo "$as_me:$LINENO: checking for $ac_word" >&5 1836echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1837if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1838 echo $ECHO_N "(cached) $ECHO_C" >&6 1839else 1840 if test -n "$ac_ct_CC"; then 1841 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1842else 1843as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1844for as_dir in $PATH 1845do 1846 IFS=$as_save_IFS 1847 test -z "$as_dir" && as_dir=. 1848 for ac_exec_ext in '' $ac_executable_extensions; do 1849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1850 ac_cv_prog_ac_ct_CC="cc" 1851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1852 break 2 1853 fi 1854done 1855done 1856 1857fi 1858fi 1859ac_ct_CC=$ac_cv_prog_ac_ct_CC 1860if test -n "$ac_ct_CC"; then 1861 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1862echo "${ECHO_T}$ac_ct_CC" >&6 1863else 1864 echo "$as_me:$LINENO: result: no" >&5 1865echo "${ECHO_T}no" >&6 1866fi 1867 1868 CC=$ac_ct_CC 1869else 1870 CC="$ac_cv_prog_CC" 1871fi 1872 1873fi 1874if test -z "$CC"; then 1875 # Extract the first word of "cc", so it can be a program name with args. 1876set dummy cc; ac_word=$2 1877echo "$as_me:$LINENO: checking for $ac_word" >&5 1878echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1879if test "${ac_cv_prog_CC+set}" = set; then 1880 echo $ECHO_N "(cached) $ECHO_C" >&6 1881else 1882 if test -n "$CC"; then 1883 ac_cv_prog_CC="$CC" # Let the user override the test. 1884else 1885 ac_prog_rejected=no 1886as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1887for as_dir in $PATH 1888do 1889 IFS=$as_save_IFS 1890 test -z "$as_dir" && as_dir=. 1891 for ac_exec_ext in '' $ac_executable_extensions; do 1892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1893 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1894 ac_prog_rejected=yes 1895 continue 1896 fi 1897 ac_cv_prog_CC="cc" 1898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1899 break 2 1900 fi 1901done 1902done 1903 1904if test $ac_prog_rejected = yes; then 1905 # We found a bogon in the path, so make sure we never use it. 1906 set dummy $ac_cv_prog_CC 1907 shift 1908 if test $# != 0; then 1909 # We chose a different compiler from the bogus one. 1910 # However, it has the same basename, so the bogon will be chosen 1911 # first if we set CC to just the basename; use the full file name. 1912 shift 1913 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 1914 fi 1915fi 1916fi 1917fi 1918CC=$ac_cv_prog_CC 1919if test -n "$CC"; then 1920 echo "$as_me:$LINENO: result: $CC" >&5 1921echo "${ECHO_T}$CC" >&6 1922else 1923 echo "$as_me:$LINENO: result: no" >&5 1924echo "${ECHO_T}no" >&6 1925fi 1926 1927fi 1928if test -z "$CC"; then 1929 if test -n "$ac_tool_prefix"; then 1930 for ac_prog in cl 1931 do 1932 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1933set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1934echo "$as_me:$LINENO: checking for $ac_word" >&5 1935echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1936if test "${ac_cv_prog_CC+set}" = set; then 1937 echo $ECHO_N "(cached) $ECHO_C" >&6 1938else 1939 if test -n "$CC"; then 1940 ac_cv_prog_CC="$CC" # Let the user override the test. 1941else 1942as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1943for as_dir in $PATH 1944do 1945 IFS=$as_save_IFS 1946 test -z "$as_dir" && as_dir=. 1947 for ac_exec_ext in '' $ac_executable_extensions; do 1948 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1949 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1951 break 2 1952 fi 1953done 1954done 1955 1956fi 1957fi 1958CC=$ac_cv_prog_CC 1959if test -n "$CC"; then 1960 echo "$as_me:$LINENO: result: $CC" >&5 1961echo "${ECHO_T}$CC" >&6 1962else 1963 echo "$as_me:$LINENO: result: no" >&5 1964echo "${ECHO_T}no" >&6 1965fi 1966 1967 test -n "$CC" && break 1968 done 1969fi 1970if test -z "$CC"; then 1971 ac_ct_CC=$CC 1972 for ac_prog in cl 1973do 1974 # Extract the first word of "$ac_prog", so it can be a program name with args. 1975set dummy $ac_prog; ac_word=$2 1976echo "$as_me:$LINENO: checking for $ac_word" >&5 1977echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1978if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1979 echo $ECHO_N "(cached) $ECHO_C" >&6 1980else 1981 if test -n "$ac_ct_CC"; then 1982 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1983else 1984as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1985for as_dir in $PATH 1986do 1987 IFS=$as_save_IFS 1988 test -z "$as_dir" && as_dir=. 1989 for ac_exec_ext in '' $ac_executable_extensions; do 1990 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1991 ac_cv_prog_ac_ct_CC="$ac_prog" 1992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1993 break 2 1994 fi 1995done 1996done 1997 1998fi 1999fi 2000ac_ct_CC=$ac_cv_prog_ac_ct_CC 2001if test -n "$ac_ct_CC"; then 2002 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2003echo "${ECHO_T}$ac_ct_CC" >&6 2004else 2005 echo "$as_me:$LINENO: result: no" >&5 2006echo "${ECHO_T}no" >&6 2007fi 2008 2009 test -n "$ac_ct_CC" && break 2010done 2011 2012 CC=$ac_ct_CC 2013fi 2014 2015fi 2016 2017 2018test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2019See \`config.log' for more details." >&5 2020echo "$as_me: error: no acceptable C compiler found in \$PATH 2021See \`config.log' for more details." >&2;} 2022 { (exit 1); exit 1; }; } 2023 2024# Provide some information about the compiler. 2025echo "$as_me:$LINENO:" \ 2026 "checking for C compiler version" >&5 2027ac_compiler=`set X $ac_compile; echo $2` 2028{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2029 (eval $ac_compiler --version </dev/null >&5) 2>&5 2030 ac_status=$? 2031 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2032 (exit $ac_status); } 2033{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2034 (eval $ac_compiler -v </dev/null >&5) 2>&5 2035 ac_status=$? 2036 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2037 (exit $ac_status); } 2038{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2039 (eval $ac_compiler -V </dev/null >&5) 2>&5 2040 ac_status=$? 2041 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2042 (exit $ac_status); } 2043 2044cat >conftest.$ac_ext <<_ACEOF 2045#line $LINENO "configure" 2046/* confdefs.h. */ 2047_ACEOF 2048cat confdefs.h >>conftest.$ac_ext 2049cat >>conftest.$ac_ext <<_ACEOF 2050/* end confdefs.h. */ 2051 2052int 2053main () 2054{ 2055 2056 ; 2057 return 0; 2058} 2059_ACEOF 2060ac_clean_files_save=$ac_clean_files 2061ac_clean_files="$ac_clean_files a.out a.exe b.out" 2062# Try to create an executable without -o first, disregard a.out. 2063# It will help us diagnose broken compilers, and finding out an intuition 2064# of exeext. 2065echo "$as_me:$LINENO: checking for C compiler default output" >&5 2066echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 2067ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2068if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 2069 (eval $ac_link_default) 2>&5 2070 ac_status=$? 2071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2072 (exit $ac_status); }; then 2073 # Find the output, starting from the most likely. This scheme is 2074# not robust to junk in `.', hence go to wildcards (a.*) only as a last 2075# resort. 2076 2077# Be careful to initialize this variable, since it used to be cached. 2078# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 2079ac_cv_exeext= 2080# b.out is created by i960 compilers. 2081for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2082do 2083 test -f "$ac_file" || continue 2084 case $ac_file in 2085 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 2086 ;; 2087 conftest.$ac_ext ) 2088 # This is the source file. 2089 ;; 2090 [ab].out ) 2091 # We found the default executable, but exeext='' is most 2092 # certainly right. 2093 break;; 2094 *.* ) 2095 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2096 # FIXME: I believe we export ac_cv_exeext for Libtool, 2097 # but it would be cool to find out if it's true. Does anybody 2098 # maintain Libtool? --akim. 2099 export ac_cv_exeext 2100 break;; 2101 * ) 2102 break;; 2103 esac 2104done 2105else 2106 echo "$as_me: failed program was:" >&5 2107sed 's/^/| /' conftest.$ac_ext >&5 2108 2109{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 2110See \`config.log' for more details." >&5 2111echo "$as_me: error: C compiler cannot create executables 2112See \`config.log' for more details." >&2;} 2113 { (exit 77); exit 77; }; } 2114fi 2115 2116ac_exeext=$ac_cv_exeext 2117echo "$as_me:$LINENO: result: $ac_file" >&5 2118echo "${ECHO_T}$ac_file" >&6 2119 2120# Check the compiler produces executables we can run. If not, either 2121# the compiler is broken, or we cross compile. 2122echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2123echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2124# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2125# If not cross compiling, check that we can run a simple program. 2126if test "$cross_compiling" != yes; then 2127 if { ac_try='./$ac_file' 2128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2129 (eval $ac_try) 2>&5 2130 ac_status=$? 2131 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2132 (exit $ac_status); }; }; then 2133 cross_compiling=no 2134 else 2135 if test "$cross_compiling" = maybe; then 2136 cross_compiling=yes 2137 else 2138 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2139If you meant to cross compile, use \`--host'. 2140See \`config.log' for more details." >&5 2141echo "$as_me: error: cannot run C compiled programs. 2142If you meant to cross compile, use \`--host'. 2143See \`config.log' for more details." >&2;} 2144 { (exit 1); exit 1; }; } 2145 fi 2146 fi 2147fi 2148echo "$as_me:$LINENO: result: yes" >&5 2149echo "${ECHO_T}yes" >&6 2150 2151rm -f a.out a.exe conftest$ac_cv_exeext b.out 2152ac_clean_files=$ac_clean_files_save 2153# Check the compiler produces executables we can run. If not, either 2154# the compiler is broken, or we cross compile. 2155echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2156echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2157echo "$as_me:$LINENO: result: $cross_compiling" >&5 2158echo "${ECHO_T}$cross_compiling" >&6 2159 2160echo "$as_me:$LINENO: checking for suffix of executables" >&5 2161echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2162if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2163 (eval $ac_link) 2>&5 2164 ac_status=$? 2165 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2166 (exit $ac_status); }; then 2167 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2168# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2169# work properly (i.e., refer to `conftest.exe'), while it won't with 2170# `rm'. 2171for ac_file in conftest.exe conftest conftest.*; do 2172 test -f "$ac_file" || continue 2173 case $ac_file in 2174 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2175 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2176 export ac_cv_exeext 2177 break;; 2178 * ) break;; 2179 esac 2180done 2181else 2182 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2183See \`config.log' for more details." >&5 2184echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2185See \`config.log' for more details." >&2;} 2186 { (exit 1); exit 1; }; } 2187fi 2188 2189rm -f conftest$ac_cv_exeext 2190echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2191echo "${ECHO_T}$ac_cv_exeext" >&6 2192 2193rm -f conftest.$ac_ext 2194EXEEXT=$ac_cv_exeext 2195ac_exeext=$EXEEXT 2196echo "$as_me:$LINENO: checking for suffix of object files" >&5 2197echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2198if test "${ac_cv_objext+set}" = set; then 2199 echo $ECHO_N "(cached) $ECHO_C" >&6 2200else 2201 cat >conftest.$ac_ext <<_ACEOF 2202#line $LINENO "configure" 2203/* confdefs.h. */ 2204_ACEOF 2205cat confdefs.h >>conftest.$ac_ext 2206cat >>conftest.$ac_ext <<_ACEOF 2207/* end confdefs.h. */ 2208 2209int 2210main () 2211{ 2212 2213 ; 2214 return 0; 2215} 2216_ACEOF 2217rm -f conftest.o conftest.obj 2218if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2219 (eval $ac_compile) 2>&5 2220 ac_status=$? 2221 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2222 (exit $ac_status); }; then 2223 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2224 case $ac_file in 2225 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 2226 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2227 break;; 2228 esac 2229done 2230else 2231 echo "$as_me: failed program was:" >&5 2232sed 's/^/| /' conftest.$ac_ext >&5 2233 2234{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2235See \`config.log' for more details." >&5 2236echo "$as_me: error: cannot compute suffix of object files: cannot compile 2237See \`config.log' for more details." >&2;} 2238 { (exit 1); exit 1; }; } 2239fi 2240 2241rm -f conftest.$ac_cv_objext conftest.$ac_ext 2242fi 2243echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2244echo "${ECHO_T}$ac_cv_objext" >&6 2245OBJEXT=$ac_cv_objext 2246ac_objext=$OBJEXT 2247echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2248echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2249if test "${ac_cv_c_compiler_gnu+set}" = set; then 2250 echo $ECHO_N "(cached) $ECHO_C" >&6 2251else 2252 cat >conftest.$ac_ext <<_ACEOF 2253#line $LINENO "configure" 2254/* confdefs.h. */ 2255_ACEOF 2256cat confdefs.h >>conftest.$ac_ext 2257cat >>conftest.$ac_ext <<_ACEOF 2258/* end confdefs.h. */ 2259 2260int 2261main () 2262{ 2263#ifndef __GNUC__ 2264 choke me 2265#endif 2266 2267 ; 2268 return 0; 2269} 2270_ACEOF 2271rm -f conftest.$ac_objext 2272if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2273 (eval $ac_compile) 2>&5 2274 ac_status=$? 2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2276 (exit $ac_status); } && 2277 { ac_try='test -s conftest.$ac_objext' 2278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2279 (eval $ac_try) 2>&5 2280 ac_status=$? 2281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2282 (exit $ac_status); }; }; then 2283 ac_compiler_gnu=yes 2284else 2285 echo "$as_me: failed program was:" >&5 2286sed 's/^/| /' conftest.$ac_ext >&5 2287 2288ac_compiler_gnu=no 2289fi 2290rm -f conftest.$ac_objext conftest.$ac_ext 2291ac_cv_c_compiler_gnu=$ac_compiler_gnu 2292 2293fi 2294echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2295echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2296GCC=`test $ac_compiler_gnu = yes && echo yes` 2297ac_test_CFLAGS=${CFLAGS+set} 2298ac_save_CFLAGS=$CFLAGS 2299CFLAGS="-g" 2300echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2301echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2302if test "${ac_cv_prog_cc_g+set}" = set; then 2303 echo $ECHO_N "(cached) $ECHO_C" >&6 2304else 2305 cat >conftest.$ac_ext <<_ACEOF 2306#line $LINENO "configure" 2307/* confdefs.h. */ 2308_ACEOF 2309cat confdefs.h >>conftest.$ac_ext 2310cat >>conftest.$ac_ext <<_ACEOF 2311/* end confdefs.h. */ 2312 2313int 2314main () 2315{ 2316 2317 ; 2318 return 0; 2319} 2320_ACEOF 2321rm -f conftest.$ac_objext 2322if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2323 (eval $ac_compile) 2>&5 2324 ac_status=$? 2325 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2326 (exit $ac_status); } && 2327 { ac_try='test -s conftest.$ac_objext' 2328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2329 (eval $ac_try) 2>&5 2330 ac_status=$? 2331 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2332 (exit $ac_status); }; }; then 2333 ac_cv_prog_cc_g=yes 2334else 2335 echo "$as_me: failed program was:" >&5 2336sed 's/^/| /' conftest.$ac_ext >&5 2337 2338ac_cv_prog_cc_g=no 2339fi 2340rm -f conftest.$ac_objext conftest.$ac_ext 2341fi 2342echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2343echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2344if test "$ac_test_CFLAGS" = set; then 2345 CFLAGS=$ac_save_CFLAGS 2346elif test $ac_cv_prog_cc_g = yes; then 2347 if test "$GCC" = yes; then 2348 CFLAGS="-g -O2" 2349 else 2350 CFLAGS="-g" 2351 fi 2352else 2353 if test "$GCC" = yes; then 2354 CFLAGS="-O2" 2355 else 2356 CFLAGS= 2357 fi 2358fi 2359echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2360echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2361if test "${ac_cv_prog_cc_stdc+set}" = set; then 2362 echo $ECHO_N "(cached) $ECHO_C" >&6 2363else 2364 ac_cv_prog_cc_stdc=no 2365ac_save_CC=$CC 2366cat >conftest.$ac_ext <<_ACEOF 2367#line $LINENO "configure" 2368/* confdefs.h. */ 2369_ACEOF 2370cat confdefs.h >>conftest.$ac_ext 2371cat >>conftest.$ac_ext <<_ACEOF 2372/* end confdefs.h. */ 2373#include <stdarg.h> 2374#include <stdio.h> 2375#include <sys/types.h> 2376#include <sys/stat.h> 2377/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2378struct buf { int x; }; 2379FILE * (*rcsopen) (struct buf *, struct stat *, int); 2380static char *e (p, i) 2381 char **p; 2382 int i; 2383{ 2384 return p[i]; 2385} 2386static char *f (char * (*g) (char **, int), char **p, ...) 2387{ 2388 char *s; 2389 va_list v; 2390 va_start (v,p); 2391 s = g (p, va_arg (v,int)); 2392 va_end (v); 2393 return s; 2394} 2395int test (int i, double x); 2396struct s1 {int (*f) (int a);}; 2397struct s2 {int (*f) (double a);}; 2398int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2399int argc; 2400char **argv; 2401int 2402main () 2403{ 2404return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2405 ; 2406 return 0; 2407} 2408_ACEOF 2409# Don't try gcc -ansi; that turns off useful extensions and 2410# breaks some systems' header files. 2411# AIX -qlanglvl=ansi 2412# Ultrix and OSF/1 -std1 2413# HP-UX 10.20 and later -Ae 2414# HP-UX older versions -Aa -D_HPUX_SOURCE 2415# SVR4 -Xc -D__EXTENSIONS__ 2416for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2417do 2418 CC="$ac_save_CC $ac_arg" 2419 rm -f conftest.$ac_objext 2420if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2421 (eval $ac_compile) 2>&5 2422 ac_status=$? 2423 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2424 (exit $ac_status); } && 2425 { ac_try='test -s conftest.$ac_objext' 2426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2427 (eval $ac_try) 2>&5 2428 ac_status=$? 2429 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2430 (exit $ac_status); }; }; then 2431 ac_cv_prog_cc_stdc=$ac_arg 2432break 2433else 2434 echo "$as_me: failed program was:" >&5 2435sed 's/^/| /' conftest.$ac_ext >&5 2436 2437fi 2438rm -f conftest.$ac_objext 2439done 2440rm -f conftest.$ac_ext conftest.$ac_objext 2441CC=$ac_save_CC 2442 2443fi 2444 2445case "x$ac_cv_prog_cc_stdc" in 2446 x|xno) 2447 echo "$as_me:$LINENO: result: none needed" >&5 2448echo "${ECHO_T}none needed" >&6 ;; 2449 *) 2450 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2451echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2452 CC="$CC $ac_cv_prog_cc_stdc" ;; 2453esac 2454 2455# Some people use a C++ compiler to compile C. Since we use `exit', 2456# in C++ we need to declare it. In case someone uses the same compiler 2457# for both compiling C and C++ we need to have the C++ compiler decide 2458# the declaration of exit, since it's the most demanding environment. 2459cat >conftest.$ac_ext <<_ACEOF 2460#ifndef __cplusplus 2461 choke me 2462#endif 2463_ACEOF 2464rm -f conftest.$ac_objext 2465if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2466 (eval $ac_compile) 2>&5 2467 ac_status=$? 2468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2469 (exit $ac_status); } && 2470 { ac_try='test -s conftest.$ac_objext' 2471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2472 (eval $ac_try) 2>&5 2473 ac_status=$? 2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2475 (exit $ac_status); }; }; then 2476 for ac_declaration in \ 2477 ''\ 2478 '#include <stdlib.h>' \ 2479 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2480 'extern "C" void std::exit (int); using std::exit;' \ 2481 'extern "C" void exit (int) throw ();' \ 2482 'extern "C" void exit (int);' \ 2483 'void exit (int);' 2484do 2485 cat >conftest.$ac_ext <<_ACEOF 2486#line $LINENO "configure" 2487/* confdefs.h. */ 2488_ACEOF 2489cat confdefs.h >>conftest.$ac_ext 2490cat >>conftest.$ac_ext <<_ACEOF 2491/* end confdefs.h. */ 2492#include <stdlib.h> 2493$ac_declaration 2494int 2495main () 2496{ 2497exit (42); 2498 ; 2499 return 0; 2500} 2501_ACEOF 2502rm -f conftest.$ac_objext 2503if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2504 (eval $ac_compile) 2>&5 2505 ac_status=$? 2506 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2507 (exit $ac_status); } && 2508 { ac_try='test -s conftest.$ac_objext' 2509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2510 (eval $ac_try) 2>&5 2511 ac_status=$? 2512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2513 (exit $ac_status); }; }; then 2514 : 2515else 2516 echo "$as_me: failed program was:" >&5 2517sed 's/^/| /' conftest.$ac_ext >&5 2518 2519continue 2520fi 2521rm -f conftest.$ac_objext conftest.$ac_ext 2522 cat >conftest.$ac_ext <<_ACEOF 2523#line $LINENO "configure" 2524/* confdefs.h. */ 2525_ACEOF 2526cat confdefs.h >>conftest.$ac_ext 2527cat >>conftest.$ac_ext <<_ACEOF 2528/* end confdefs.h. */ 2529$ac_declaration 2530int 2531main () 2532{ 2533exit (42); 2534 ; 2535 return 0; 2536} 2537_ACEOF 2538rm -f conftest.$ac_objext 2539if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2540 (eval $ac_compile) 2>&5 2541 ac_status=$? 2542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2543 (exit $ac_status); } && 2544 { ac_try='test -s conftest.$ac_objext' 2545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2546 (eval $ac_try) 2>&5 2547 ac_status=$? 2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2549 (exit $ac_status); }; }; then 2550 break 2551else 2552 echo "$as_me: failed program was:" >&5 2553sed 's/^/| /' conftest.$ac_ext >&5 2554 2555fi 2556rm -f conftest.$ac_objext conftest.$ac_ext 2557done 2558rm -f conftest* 2559if test -n "$ac_declaration"; then 2560 echo '#ifdef __cplusplus' >>confdefs.h 2561 echo $ac_declaration >>confdefs.h 2562 echo '#endif' >>confdefs.h 2563fi 2564 2565else 2566 echo "$as_me: failed program was:" >&5 2567sed 's/^/| /' conftest.$ac_ext >&5 2568 2569fi 2570rm -f conftest.$ac_objext conftest.$ac_ext 2571ac_ext=c 2572ac_cpp='$CPP $CPPFLAGS' 2573ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2574ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2575ac_compiler_gnu=$ac_cv_c_compiler_gnu 2576DEPDIR="${am__leading_dot}deps" 2577 2578 ac_config_commands="$ac_config_commands depfiles" 2579 2580 2581am_make=${MAKE-make} 2582cat > confinc << 'END' 2583am__doit: 2584 @echo done 2585.PHONY: am__doit 2586END 2587# If we don't find an include directive, just comment out the code. 2588echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 2589echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 2590am__include="#" 2591am__quote= 2592_am_result=none 2593# First try GNU make style include. 2594echo "include confinc" > confmf 2595# We grep out `Entering directory' and `Leaving directory' 2596# messages which can occur if `w' ends up in MAKEFLAGS. 2597# In particular we don't look at `^make:' because GNU make might 2598# be invoked under some other name (usually "gmake"), in which 2599# case it prints its new name instead of `make'. 2600if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 2601 am__include=include 2602 am__quote= 2603 _am_result=GNU 2604fi 2605# Now try BSD make style include. 2606if test "$am__include" = "#"; then 2607 echo '.include "confinc"' > confmf 2608 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 2609 am__include=.include 2610 am__quote="\"" 2611 _am_result=BSD 2612 fi 2613fi 2614 2615 2616echo "$as_me:$LINENO: result: $_am_result" >&5 2617echo "${ECHO_T}$_am_result" >&6 2618rm -f confinc confmf 2619 2620# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. 2621if test "${enable_dependency_tracking+set}" = set; then 2622 enableval="$enable_dependency_tracking" 2623 2624fi; 2625if test "x$enable_dependency_tracking" != xno; then 2626 am_depcomp="$ac_aux_dir/depcomp" 2627 AMDEPBACKSLASH='\' 2628fi 2629 2630 2631if test "x$enable_dependency_tracking" != xno; then 2632 AMDEP_TRUE= 2633 AMDEP_FALSE='#' 2634else 2635 AMDEP_TRUE='#' 2636 AMDEP_FALSE= 2637fi 2638 2639 2640 2641 2642depcc="$CC" am_compiler_list= 2643 2644echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 2645echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 2646if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 2647 echo $ECHO_N "(cached) $ECHO_C" >&6 2648else 2649 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 2650 # We make a subdir and do the tests there. Otherwise we can end up 2651 # making bogus files that we don't know about and never remove. For 2652 # instance it was reported that on HP-UX the gcc test will end up 2653 # making a dummy file named `D' -- because `-MD' means `put the output 2654 # in D'. 2655 mkdir conftest.dir 2656 # Copy depcomp to subdir because otherwise we won't find it if we're 2657 # using a relative directory. 2658 cp "$am_depcomp" conftest.dir 2659 cd conftest.dir 2660 2661 am_cv_CC_dependencies_compiler_type=none 2662 if test "$am_compiler_list" = ""; then 2663 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 2664 fi 2665 for depmode in $am_compiler_list; do 2666 # We need to recreate these files for each test, as the compiler may 2667 # overwrite some of them when testing with obscure command lines. 2668 # This happens at least with the AIX C compiler. 2669 echo '#include "conftest.h"' > conftest.c 2670 echo 'int i;' > conftest.h 2671 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf 2672 2673 case $depmode in 2674 nosideeffect) 2675 # after this tag, mechanisms are not by side-effect, so they'll 2676 # only be used when explicitly requested 2677 if test "x$enable_dependency_tracking" = xyes; then 2678 continue 2679 else 2680 break 2681 fi 2682 ;; 2683 none) break ;; 2684 esac 2685 # We check with `-c' and `-o' for the sake of the "dashmstdout" 2686 # mode. It turns out that the SunPro C++ compiler does not properly 2687 # handle `-M -o', and we need to detect this. 2688 if depmode=$depmode \ 2689 source=conftest.c object=conftest.o \ 2690 depfile=conftest.Po tmpdepfile=conftest.TPo \ 2691 $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ 2692 >/dev/null 2>conftest.err && 2693 grep conftest.h conftest.Po > /dev/null 2>&1 && 2694 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 2695 # icc doesn't choke on unknown options, it will just issue warnings 2696 # (even with -Werror). So we grep stderr for any message 2697 # that says an option was ignored. 2698 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 2699 am_cv_CC_dependencies_compiler_type=$depmode 2700 break 2701 fi 2702 fi 2703 done 2704 2705 cd .. 2706 rm -rf conftest.dir 2707else 2708 am_cv_CC_dependencies_compiler_type=none 2709fi 2710 2711fi 2712echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 2713echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 2714CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 2715 2716 2717 2718if 2719 test "x$enable_dependency_tracking" != xno \ 2720 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 2721 am__fastdepCC_TRUE= 2722 am__fastdepCC_FALSE='#' 2723else 2724 am__fastdepCC_TRUE='#' 2725 am__fastdepCC_FALSE= 2726fi 2727 2728 2729echo "$as_me:$LINENO: checking whether ln -s works" >&5 2730echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 2731LN_S=$as_ln_s 2732if test "$LN_S" = "ln -s"; then 2733 echo "$as_me:$LINENO: result: yes" >&5 2734echo "${ECHO_T}yes" >&6 2735else 2736 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 2737echo "${ECHO_T}no, using $LN_S" >&6 2738fi 2739 2740 2741ac_ext=c 2742ac_cpp='$CPP $CPPFLAGS' 2743ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2744ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2745ac_compiler_gnu=$ac_cv_c_compiler_gnu 2746echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 2747echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 2748# On Suns, sometimes $CPP names a directory. 2749if test -n "$CPP" && test -d "$CPP"; then 2750 CPP= 2751fi 2752if test -z "$CPP"; then 2753 if test "${ac_cv_prog_CPP+set}" = set; then 2754 echo $ECHO_N "(cached) $ECHO_C" >&6 2755else 2756 # Double quotes because CPP needs to be expanded 2757 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 2758 do 2759 ac_preproc_ok=false 2760for ac_c_preproc_warn_flag in '' yes 2761do 2762 # Use a header file that comes with gcc, so configuring glibc 2763 # with a fresh cross-compiler works. 2764 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2765 # <limits.h> exists even on freestanding compilers. 2766 # On the NeXT, cc -E runs the code through the compiler's parser, 2767 # not just through cpp. "Syntax error" is here to catch this case. 2768 cat >conftest.$ac_ext <<_ACEOF 2769#line $LINENO "configure" 2770/* confdefs.h. */ 2771_ACEOF 2772cat confdefs.h >>conftest.$ac_ext 2773cat >>conftest.$ac_ext <<_ACEOF 2774/* end confdefs.h. */ 2775#ifdef __STDC__ 2776# include <limits.h> 2777#else 2778# include <assert.h> 2779#endif 2780 Syntax error 2781_ACEOF 2782if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2783 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2784 ac_status=$? 2785 grep -v '^ *+' conftest.er1 >conftest.err 2786 rm -f conftest.er1 2787 cat conftest.err >&5 2788 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2789 (exit $ac_status); } >/dev/null; then 2790 if test -s conftest.err; then 2791 ac_cpp_err=$ac_c_preproc_warn_flag 2792 else 2793 ac_cpp_err= 2794 fi 2795else 2796 ac_cpp_err=yes 2797fi 2798if test -z "$ac_cpp_err"; then 2799 : 2800else 2801 echo "$as_me: failed program was:" >&5 2802sed 's/^/| /' conftest.$ac_ext >&5 2803 2804 # Broken: fails on valid input. 2805continue 2806fi 2807rm -f conftest.err conftest.$ac_ext 2808 2809 # OK, works on sane cases. Now check whether non-existent headers 2810 # can be detected and how. 2811 cat >conftest.$ac_ext <<_ACEOF 2812#line $LINENO "configure" 2813/* confdefs.h. */ 2814_ACEOF 2815cat confdefs.h >>conftest.$ac_ext 2816cat >>conftest.$ac_ext <<_ACEOF 2817/* end confdefs.h. */ 2818#include <ac_nonexistent.h> 2819_ACEOF 2820if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2821 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2822 ac_status=$? 2823 grep -v '^ *+' conftest.er1 >conftest.err 2824 rm -f conftest.er1 2825 cat conftest.err >&5 2826 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2827 (exit $ac_status); } >/dev/null; then 2828 if test -s conftest.err; then 2829 ac_cpp_err=$ac_c_preproc_warn_flag 2830 else 2831 ac_cpp_err= 2832 fi 2833else 2834 ac_cpp_err=yes 2835fi 2836if test -z "$ac_cpp_err"; then 2837 # Broken: success on invalid input. 2838continue 2839else 2840 echo "$as_me: failed program was:" >&5 2841sed 's/^/| /' conftest.$ac_ext >&5 2842 2843 # Passes both tests. 2844ac_preproc_ok=: 2845break 2846fi 2847rm -f conftest.err conftest.$ac_ext 2848 2849done 2850# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2851rm -f conftest.err conftest.$ac_ext 2852if $ac_preproc_ok; then 2853 break 2854fi 2855 2856 done 2857 ac_cv_prog_CPP=$CPP 2858 2859fi 2860 CPP=$ac_cv_prog_CPP 2861else 2862 ac_cv_prog_CPP=$CPP 2863fi 2864echo "$as_me:$LINENO: result: $CPP" >&5 2865echo "${ECHO_T}$CPP" >&6 2866ac_preproc_ok=false 2867for ac_c_preproc_warn_flag in '' yes 2868do 2869 # Use a header file that comes with gcc, so configuring glibc 2870 # with a fresh cross-compiler works. 2871 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2872 # <limits.h> exists even on freestanding compilers. 2873 # On the NeXT, cc -E runs the code through the compiler's parser, 2874 # not just through cpp. "Syntax error" is here to catch this case. 2875 cat >conftest.$ac_ext <<_ACEOF 2876#line $LINENO "configure" 2877/* confdefs.h. */ 2878_ACEOF 2879cat confdefs.h >>conftest.$ac_ext 2880cat >>conftest.$ac_ext <<_ACEOF 2881/* end confdefs.h. */ 2882#ifdef __STDC__ 2883# include <limits.h> 2884#else 2885# include <assert.h> 2886#endif 2887 Syntax error 2888_ACEOF 2889if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2890 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2891 ac_status=$? 2892 grep -v '^ *+' conftest.er1 >conftest.err 2893 rm -f conftest.er1 2894 cat conftest.err >&5 2895 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2896 (exit $ac_status); } >/dev/null; then 2897 if test -s conftest.err; then 2898 ac_cpp_err=$ac_c_preproc_warn_flag 2899 else 2900 ac_cpp_err= 2901 fi 2902else 2903 ac_cpp_err=yes 2904fi 2905if test -z "$ac_cpp_err"; then 2906 : 2907else 2908 echo "$as_me: failed program was:" >&5 2909sed 's/^/| /' conftest.$ac_ext >&5 2910 2911 # Broken: fails on valid input. 2912continue 2913fi 2914rm -f conftest.err conftest.$ac_ext 2915 2916 # OK, works on sane cases. Now check whether non-existent headers 2917 # can be detected and how. 2918 cat >conftest.$ac_ext <<_ACEOF 2919#line $LINENO "configure" 2920/* confdefs.h. */ 2921_ACEOF 2922cat confdefs.h >>conftest.$ac_ext 2923cat >>conftest.$ac_ext <<_ACEOF 2924/* end confdefs.h. */ 2925#include <ac_nonexistent.h> 2926_ACEOF 2927if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2928 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2929 ac_status=$? 2930 grep -v '^ *+' conftest.er1 >conftest.err 2931 rm -f conftest.er1 2932 cat conftest.err >&5 2933 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2934 (exit $ac_status); } >/dev/null; then 2935 if test -s conftest.err; then 2936 ac_cpp_err=$ac_c_preproc_warn_flag 2937 else 2938 ac_cpp_err= 2939 fi 2940else 2941 ac_cpp_err=yes 2942fi 2943if test -z "$ac_cpp_err"; then 2944 # Broken: success on invalid input. 2945continue 2946else 2947 echo "$as_me: failed program was:" >&5 2948sed 's/^/| /' conftest.$ac_ext >&5 2949 2950 # Passes both tests. 2951ac_preproc_ok=: 2952break 2953fi 2954rm -f conftest.err conftest.$ac_ext 2955 2956done 2957# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2958rm -f conftest.err conftest.$ac_ext 2959if $ac_preproc_ok; then 2960 : 2961else 2962 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 2963See \`config.log' for more details." >&5 2964echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 2965See \`config.log' for more details." >&2;} 2966 { (exit 1); exit 1; }; } 2967fi 2968 2969ac_ext=c 2970ac_cpp='$CPP $CPPFLAGS' 2971ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2972ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2973ac_compiler_gnu=$ac_cv_c_compiler_gnu 2974 2975 2976echo "$as_me:$LINENO: checking for egrep" >&5 2977echo $ECHO_N "checking for egrep... $ECHO_C" >&6 2978if test "${ac_cv_prog_egrep+set}" = set; then 2979 echo $ECHO_N "(cached) $ECHO_C" >&6 2980else 2981 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 2982 then ac_cv_prog_egrep='grep -E' 2983 else ac_cv_prog_egrep='egrep' 2984 fi 2985fi 2986echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 2987echo "${ECHO_T}$ac_cv_prog_egrep" >&6 2988 EGREP=$ac_cv_prog_egrep 2989 2990 2991if test $ac_cv_c_compiler_gnu = yes; then 2992 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 2993echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 2994if test "${ac_cv_prog_gcc_traditional+set}" = set; then 2995 echo $ECHO_N "(cached) $ECHO_C" >&6 2996else 2997 ac_pattern="Autoconf.*'x'" 2998 cat >conftest.$ac_ext <<_ACEOF 2999#line $LINENO "configure" 3000/* confdefs.h. */ 3001_ACEOF 3002cat confdefs.h >>conftest.$ac_ext 3003cat >>conftest.$ac_ext <<_ACEOF 3004/* end confdefs.h. */ 3005#include <sgtty.h> 3006Autoconf TIOCGETP 3007_ACEOF 3008if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3009 $EGREP "$ac_pattern" >/dev/null 2>&1; then 3010 ac_cv_prog_gcc_traditional=yes 3011else 3012 ac_cv_prog_gcc_traditional=no 3013fi 3014rm -f conftest* 3015 3016 3017 if test $ac_cv_prog_gcc_traditional = no; then 3018 cat >conftest.$ac_ext <<_ACEOF 3019#line $LINENO "configure" 3020/* confdefs.h. */ 3021_ACEOF 3022cat confdefs.h >>conftest.$ac_ext 3023cat >>conftest.$ac_ext <<_ACEOF 3024/* end confdefs.h. */ 3025#include <termio.h> 3026Autoconf TCGETA 3027_ACEOF 3028if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3029 $EGREP "$ac_pattern" >/dev/null 2>&1; then 3030 ac_cv_prog_gcc_traditional=yes 3031fi 3032rm -f conftest* 3033 3034 fi 3035fi 3036echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 3037echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 3038 if test $ac_cv_prog_gcc_traditional = yes; then 3039 CC="$CC -traditional" 3040 fi 3041fi 3042 3043if test -n "$ac_tool_prefix"; then 3044 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3045set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3046echo "$as_me:$LINENO: checking for $ac_word" >&5 3047echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3048if test "${ac_cv_prog_RANLIB+set}" = set; then 3049 echo $ECHO_N "(cached) $ECHO_C" >&6 3050else 3051 if test -n "$RANLIB"; then 3052 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 3053else 3054as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3055for as_dir in $PATH 3056do 3057 IFS=$as_save_IFS 3058 test -z "$as_dir" && as_dir=. 3059 for ac_exec_ext in '' $ac_executable_extensions; do 3060 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3061 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3063 break 2 3064 fi 3065done 3066done 3067 3068fi 3069fi 3070RANLIB=$ac_cv_prog_RANLIB 3071if test -n "$RANLIB"; then 3072 echo "$as_me:$LINENO: result: $RANLIB" >&5 3073echo "${ECHO_T}$RANLIB" >&6 3074else 3075 echo "$as_me:$LINENO: result: no" >&5 3076echo "${ECHO_T}no" >&6 3077fi 3078 3079fi 3080if test -z "$ac_cv_prog_RANLIB"; then 3081 ac_ct_RANLIB=$RANLIB 3082 # Extract the first word of "ranlib", so it can be a program name with args. 3083set dummy ranlib; ac_word=$2 3084echo "$as_me:$LINENO: checking for $ac_word" >&5 3085echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3086if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3087 echo $ECHO_N "(cached) $ECHO_C" >&6 3088else 3089 if test -n "$ac_ct_RANLIB"; then 3090 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 3091else 3092as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3093for as_dir in $PATH 3094do 3095 IFS=$as_save_IFS 3096 test -z "$as_dir" && as_dir=. 3097 for ac_exec_ext in '' $ac_executable_extensions; do 3098 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3099 ac_cv_prog_ac_ct_RANLIB="ranlib" 3100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3101 break 2 3102 fi 3103done 3104done 3105 3106 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 3107fi 3108fi 3109ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3110if test -n "$ac_ct_RANLIB"; then 3111 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3112echo "${ECHO_T}$ac_ct_RANLIB" >&6 3113else 3114 echo "$as_me:$LINENO: result: no" >&5 3115echo "${ECHO_T}no" >&6 3116fi 3117 3118 RANLIB=$ac_ct_RANLIB 3119else 3120 RANLIB="$ac_cv_prog_RANLIB" 3121fi 3122 3123 3124 3125 3126echo "$as_me:$LINENO: checking for bsd_ioctl in -lbsd" >&5 3127echo $ECHO_N "checking for bsd_ioctl in -lbsd... $ECHO_C" >&6 3128if test "${ac_cv_lib_bsd_bsd_ioctl+set}" = set; then 3129 echo $ECHO_N "(cached) $ECHO_C" >&6 3130else 3131 ac_check_lib_save_LIBS=$LIBS 3132LIBS="-lbsd $LIBS" 3133cat >conftest.$ac_ext <<_ACEOF 3134#line $LINENO "configure" 3135/* confdefs.h. */ 3136_ACEOF 3137cat confdefs.h >>conftest.$ac_ext 3138cat >>conftest.$ac_ext <<_ACEOF 3139/* end confdefs.h. */ 3140 3141/* Override any gcc2 internal prototype to avoid an error. */ 3142#ifdef __cplusplus 3143extern "C" 3144#endif 3145/* We use char because int might match the return type of a gcc2 3146 builtin and then its argument prototype would still apply. */ 3147char bsd_ioctl (); 3148int 3149main () 3150{ 3151bsd_ioctl (); 3152 ; 3153 return 0; 3154} 3155_ACEOF 3156rm -f conftest.$ac_objext conftest$ac_exeext 3157if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3158 (eval $ac_link) 2>&5 3159 ac_status=$? 3160 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3161 (exit $ac_status); } && 3162 { ac_try='test -s conftest$ac_exeext' 3163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3164 (eval $ac_try) 2>&5 3165 ac_status=$? 3166 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3167 (exit $ac_status); }; }; then 3168 ac_cv_lib_bsd_bsd_ioctl=yes 3169else 3170 echo "$as_me: failed program was:" >&5 3171sed 's/^/| /' conftest.$ac_ext >&5 3172 3173ac_cv_lib_bsd_bsd_ioctl=no 3174fi 3175rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3176LIBS=$ac_check_lib_save_LIBS 3177fi 3178echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_bsd_ioctl" >&5 3179echo "${ECHO_T}$ac_cv_lib_bsd_bsd_ioctl" >&6 3180if test $ac_cv_lib_bsd_bsd_ioctl = yes; then 3181 cat >>confdefs.h <<_ACEOF 3182#define HAVE_LIBBSD 1 3183_ACEOF 3184 3185 LIBS="-lbsd $LIBS" 3186 3187fi 3188 3189 3190echo "$as_me:$LINENO: checking for tgetent in -lncurses" >&5 3191echo $ECHO_N "checking for tgetent in -lncurses... $ECHO_C" >&6 3192if test "${ac_cv_lib_curses_tgetent+set}" = set; then 3193 echo $ECHO_N "(cached) $ECHO_C" >&6 3194else 3195 ac_check_lib_save_LIBS=$LIBS 3196LIBS="-lncurses $LIBS" 3197cat >conftest.$ac_ext <<_ACEOF 3198#line $LINENO "configure" 3199/* confdefs.h. */ 3200_ACEOF 3201cat confdefs.h >>conftest.$ac_ext 3202cat >>conftest.$ac_ext <<_ACEOF 3203/* end confdefs.h. */ 3204 3205/* Override any gcc2 internal prototype to avoid an error. */ 3206#ifdef __cplusplus 3207extern "C" 3208#endif 3209/* We use char because int might match the return type of a gcc2 3210 builtin and then its argument prototype would still apply. */ 3211char tgetent (); 3212int 3213main () 3214{ 3215tgetent (); 3216 ; 3217 return 0; 3218} 3219_ACEOF 3220rm -f conftest.$ac_objext conftest$ac_exeext 3221if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3222 (eval $ac_link) 2>&5 3223 ac_status=$? 3224 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3225 (exit $ac_status); } && 3226 { ac_try='test -s conftest$ac_exeext' 3227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3228 (eval $ac_try) 2>&5 3229 ac_status=$? 3230 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3231 (exit $ac_status); }; }; then 3232 ac_cv_lib_curses_tgetent=yes 3233else 3234 echo "$as_me: failed program was:" >&5 3235sed 's/^/| /' conftest.$ac_ext >&5 3236 3237ac_cv_lib_curses_tgetent=no 3238fi 3239rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3240LIBS=$ac_check_lib_save_LIBS 3241fi 3242echo "$as_me:$LINENO: result: $ac_cv_lib_curses_tgetent" >&5 3243echo "${ECHO_T}$ac_cv_lib_curses_tgetent" >&6 3244if test $ac_cv_lib_curses_tgetent = yes; then 3245 cat >>confdefs.h <<_ACEOF 3246#define HAVE_LIBCURSES 1 3247_ACEOF 3248 3249 LIBS="-lncurses $LIBS" 3250 3251fi 3252 3253 3254 3255 3256echo "$as_me:$LINENO: checking for rl_unbind_key in -lreadline" >&5 3257echo $ECHO_N "checking for rl_unbind_key in -lreadline... $ECHO_C" >&6 3258if test "${ac_cv_lib_readline_rl_unbind_key+set}" = set; then 3259 echo $ECHO_N "(cached) $ECHO_C" >&6 3260else 3261 ac_check_lib_save_LIBS=$LIBS 3262LIBS="-lreadline $LIBS" 3263cat >conftest.$ac_ext <<_ACEOF 3264#line $LINENO "configure" 3265/* confdefs.h. */ 3266_ACEOF 3267cat confdefs.h >>conftest.$ac_ext 3268cat >>conftest.$ac_ext <<_ACEOF 3269/* end confdefs.h. */ 3270 3271/* Override any gcc2 internal prototype to avoid an error. */ 3272#ifdef __cplusplus 3273extern "C" 3274#endif 3275/* We use char because int might match the return type of a gcc2 3276 builtin and then its argument prototype would still apply. */ 3277char rl_unbind_key (); 3278int 3279main () 3280{ 3281rl_unbind_key (); 3282 ; 3283 return 0; 3284} 3285_ACEOF 3286rm -f conftest.$ac_objext conftest$ac_exeext 3287if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3288 (eval $ac_link) 2>&5 3289 ac_status=$? 3290 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3291 (exit $ac_status); } && 3292 { ac_try='test -s conftest$ac_exeext' 3293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3294 (eval $ac_try) 2>&5 3295 ac_status=$? 3296 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3297 (exit $ac_status); }; }; then 3298 ac_cv_lib_readline_rl_unbind_key=yes 3299else 3300 echo "$as_me: failed program was:" >&5 3301sed 's/^/| /' conftest.$ac_ext >&5 3302 3303ac_cv_lib_readline_rl_unbind_key=no 3304fi 3305rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3306LIBS=$ac_check_lib_save_LIBS 3307fi 3308echo "$as_me:$LINENO: result: $ac_cv_lib_readline_rl_unbind_key" >&5 3309echo "${ECHO_T}$ac_cv_lib_readline_rl_unbind_key" >&6 3310if test $ac_cv_lib_readline_rl_unbind_key = yes; then 3311 cat >>confdefs.h <<_ACEOF 3312#define HAVE_LIBREADLINE 1 3313_ACEOF 3314 3315 LIBS="-lreadline $LIBS" 3316 3317else 3318 { { echo "$as_me:$LINENO: error: You really need this one !." >&5 3319echo "$as_me: error: You really need this one !." >&2;} 3320 { (exit 1); exit 1; }; } 3321fi 3322 3323 3324 3325echo "$as_me:$LINENO: checking for main in -ltermcap" >&5 3326echo $ECHO_N "checking for main in -ltermcap... $ECHO_C" >&6 3327if test "${ac_cv_lib_termcap_main+set}" = set; then 3328 echo $ECHO_N "(cached) $ECHO_C" >&6 3329else 3330 ac_check_lib_save_LIBS=$LIBS 3331LIBS="-ltermcap $LIBS" 3332cat >conftest.$ac_ext <<_ACEOF 3333#line $LINENO "configure" 3334/* confdefs.h. */ 3335_ACEOF 3336cat confdefs.h >>conftest.$ac_ext 3337cat >>conftest.$ac_ext <<_ACEOF 3338/* end confdefs.h. */ 3339 3340 3341int 3342main () 3343{ 3344main (); 3345 ; 3346 return 0; 3347} 3348_ACEOF 3349rm -f conftest.$ac_objext conftest$ac_exeext 3350if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3351 (eval $ac_link) 2>&5 3352 ac_status=$? 3353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3354 (exit $ac_status); } && 3355 { ac_try='test -s conftest$ac_exeext' 3356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3357 (eval $ac_try) 2>&5 3358 ac_status=$? 3359 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3360 (exit $ac_status); }; }; then 3361 ac_cv_lib_termcap_main=yes 3362else 3363 echo "$as_me: failed program was:" >&5 3364sed 's/^/| /' conftest.$ac_ext >&5 3365 3366ac_cv_lib_termcap_main=no 3367fi 3368rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3369LIBS=$ac_check_lib_save_LIBS 3370fi 3371echo "$as_me:$LINENO: result: $ac_cv_lib_termcap_main" >&5 3372echo "${ECHO_T}$ac_cv_lib_termcap_main" >&6 3373if test $ac_cv_lib_termcap_main = yes; then 3374 cat >>confdefs.h <<_ACEOF 3375#define HAVE_LIBTERMCAP 1 3376_ACEOF 3377 3378 LIBS="-ltermcap $LIBS" 3379 3380fi 3381 3382 3383 3384 3385 3386 3387 3388ac_header_dirent=no 3389for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 3390 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 3391echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 3392echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 3393if eval "test \"\${$as_ac_Header+set}\" = set"; then 3394 echo $ECHO_N "(cached) $ECHO_C" >&6 3395else 3396 cat >conftest.$ac_ext <<_ACEOF 3397#line $LINENO "configure" 3398/* confdefs.h. */ 3399_ACEOF 3400cat confdefs.h >>conftest.$ac_ext 3401cat >>conftest.$ac_ext <<_ACEOF 3402/* end confdefs.h. */ 3403#include <sys/types.h> 3404#include <$ac_hdr> 3405 3406int 3407main () 3408{ 3409if ((DIR *) 0) 3410return 0; 3411 ; 3412 return 0; 3413} 3414_ACEOF 3415rm -f conftest.$ac_objext 3416if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3417 (eval $ac_compile) 2>&5 3418 ac_status=$? 3419 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3420 (exit $ac_status); } && 3421 { ac_try='test -s conftest.$ac_objext' 3422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3423 (eval $ac_try) 2>&5 3424 ac_status=$? 3425 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3426 (exit $ac_status); }; }; then 3427 eval "$as_ac_Header=yes" 3428else 3429 echo "$as_me: failed program was:" >&5 3430sed 's/^/| /' conftest.$ac_ext >&5 3431 3432eval "$as_ac_Header=no" 3433fi 3434rm -f conftest.$ac_objext conftest.$ac_ext 3435fi 3436echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3437echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3438if test `eval echo '${'$as_ac_Header'}'` = yes; then 3439 cat >>confdefs.h <<_ACEOF 3440#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 3441_ACEOF 3442 3443ac_header_dirent=$ac_hdr; break 3444fi 3445 3446done 3447# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 3448if test $ac_header_dirent = dirent.h; then 3449 echo "$as_me:$LINENO: checking for library containing opendir" >&5 3450echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 3451if test "${ac_cv_search_opendir+set}" = set; then 3452 echo $ECHO_N "(cached) $ECHO_C" >&6 3453else 3454 ac_func_search_save_LIBS=$LIBS 3455ac_cv_search_opendir=no 3456cat >conftest.$ac_ext <<_ACEOF 3457#line $LINENO "configure" 3458/* confdefs.h. */ 3459_ACEOF 3460cat confdefs.h >>conftest.$ac_ext 3461cat >>conftest.$ac_ext <<_ACEOF 3462/* end confdefs.h. */ 3463 3464/* Override any gcc2 internal prototype to avoid an error. */ 3465#ifdef __cplusplus 3466extern "C" 3467#endif 3468/* We use char because int might match the return type of a gcc2 3469 builtin and then its argument prototype would still apply. */ 3470char opendir (); 3471int 3472main () 3473{ 3474opendir (); 3475 ; 3476 return 0; 3477} 3478_ACEOF 3479rm -f conftest.$ac_objext conftest$ac_exeext 3480if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3481 (eval $ac_link) 2>&5 3482 ac_status=$? 3483 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3484 (exit $ac_status); } && 3485 { ac_try='test -s conftest$ac_exeext' 3486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3487 (eval $ac_try) 2>&5 3488 ac_status=$? 3489 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3490 (exit $ac_status); }; }; then 3491 ac_cv_search_opendir="none required" 3492else 3493 echo "$as_me: failed program was:" >&5 3494sed 's/^/| /' conftest.$ac_ext >&5 3495 3496fi 3497rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3498if test "$ac_cv_search_opendir" = no; then 3499 for ac_lib in dir; do 3500 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3501 cat >conftest.$ac_ext <<_ACEOF 3502#line $LINENO "configure" 3503/* confdefs.h. */ 3504_ACEOF 3505cat confdefs.h >>conftest.$ac_ext 3506cat >>conftest.$ac_ext <<_ACEOF 3507/* end confdefs.h. */ 3508 3509/* Override any gcc2 internal prototype to avoid an error. */ 3510#ifdef __cplusplus 3511extern "C" 3512#endif 3513/* We use char because int might match the return type of a gcc2 3514 builtin and then its argument prototype would still apply. */ 3515char opendir (); 3516int 3517main () 3518{ 3519opendir (); 3520 ; 3521 return 0; 3522} 3523_ACEOF 3524rm -f conftest.$ac_objext conftest$ac_exeext 3525if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3526 (eval $ac_link) 2>&5 3527 ac_status=$? 3528 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3529 (exit $ac_status); } && 3530 { ac_try='test -s conftest$ac_exeext' 3531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3532 (eval $ac_try) 2>&5 3533 ac_status=$? 3534 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3535 (exit $ac_status); }; }; then 3536 ac_cv_search_opendir="-l$ac_lib" 3537break 3538else 3539 echo "$as_me: failed program was:" >&5 3540sed 's/^/| /' conftest.$ac_ext >&5 3541 3542fi 3543rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3544 done 3545fi 3546LIBS=$ac_func_search_save_LIBS 3547fi 3548echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 3549echo "${ECHO_T}$ac_cv_search_opendir" >&6 3550if test "$ac_cv_search_opendir" != no; then 3551 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 3552 3553fi 3554 3555else 3556 echo "$as_me:$LINENO: checking for library containing opendir" >&5 3557echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 3558if test "${ac_cv_search_opendir+set}" = set; then 3559 echo $ECHO_N "(cached) $ECHO_C" >&6 3560else 3561 ac_func_search_save_LIBS=$LIBS 3562ac_cv_search_opendir=no 3563cat >conftest.$ac_ext <<_ACEOF 3564#line $LINENO "configure" 3565/* confdefs.h. */ 3566_ACEOF 3567cat confdefs.h >>conftest.$ac_ext 3568cat >>conftest.$ac_ext <<_ACEOF 3569/* end confdefs.h. */ 3570 3571/* Override any gcc2 internal prototype to avoid an error. */ 3572#ifdef __cplusplus 3573extern "C" 3574#endif 3575/* We use char because int might match the return type of a gcc2 3576 builtin and then its argument prototype would still apply. */ 3577char opendir (); 3578int 3579main () 3580{ 3581opendir (); 3582 ; 3583 return 0; 3584} 3585_ACEOF 3586rm -f conftest.$ac_objext conftest$ac_exeext 3587if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3588 (eval $ac_link) 2>&5 3589 ac_status=$? 3590 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3591 (exit $ac_status); } && 3592 { ac_try='test -s conftest$ac_exeext' 3593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3594 (eval $ac_try) 2>&5 3595 ac_status=$? 3596 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3597 (exit $ac_status); }; }; then 3598 ac_cv_search_opendir="none required" 3599else 3600 echo "$as_me: failed program was:" >&5 3601sed 's/^/| /' conftest.$ac_ext >&5 3602 3603fi 3604rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3605if test "$ac_cv_search_opendir" = no; then 3606 for ac_lib in x; do 3607 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3608 cat >conftest.$ac_ext <<_ACEOF 3609#line $LINENO "configure" 3610/* confdefs.h. */ 3611_ACEOF 3612cat confdefs.h >>conftest.$ac_ext 3613cat >>conftest.$ac_ext <<_ACEOF 3614/* end confdefs.h. */ 3615 3616/* Override any gcc2 internal prototype to avoid an error. */ 3617#ifdef __cplusplus 3618extern "C" 3619#endif 3620/* We use char because int might match the return type of a gcc2 3621 builtin and then its argument prototype would still apply. */ 3622char opendir (); 3623int 3624main () 3625{ 3626opendir (); 3627 ; 3628 return 0; 3629} 3630_ACEOF 3631rm -f conftest.$ac_objext conftest$ac_exeext 3632if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3633 (eval $ac_link) 2>&5 3634 ac_status=$? 3635 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3636 (exit $ac_status); } && 3637 { ac_try='test -s conftest$ac_exeext' 3638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3639 (eval $ac_try) 2>&5 3640 ac_status=$? 3641 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3642 (exit $ac_status); }; }; then 3643 ac_cv_search_opendir="-l$ac_lib" 3644break 3645else 3646 echo "$as_me: failed program was:" >&5 3647sed 's/^/| /' conftest.$ac_ext >&5 3648 3649fi 3650rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3651 done 3652fi 3653LIBS=$ac_func_search_save_LIBS 3654fi 3655echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 3656echo "${ECHO_T}$ac_cv_search_opendir" >&6 3657if test "$ac_cv_search_opendir" != no; then 3658 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 3659 3660fi 3661 3662fi 3663 3664echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3665echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3666if test "${ac_cv_header_stdc+set}" = set; then 3667 echo $ECHO_N "(cached) $ECHO_C" >&6 3668else 3669 cat >conftest.$ac_ext <<_ACEOF 3670#line $LINENO "configure" 3671/* confdefs.h. */ 3672_ACEOF 3673cat confdefs.h >>conftest.$ac_ext 3674cat >>conftest.$ac_ext <<_ACEOF 3675/* end confdefs.h. */ 3676#include <stdlib.h> 3677#include <stdarg.h> 3678#include <string.h> 3679#include <float.h> 3680 3681int 3682main () 3683{ 3684 3685 ; 3686 return 0; 3687} 3688_ACEOF 3689rm -f conftest.$ac_objext 3690if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3691 (eval $ac_compile) 2>&5 3692 ac_status=$? 3693 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3694 (exit $ac_status); } && 3695 { ac_try='test -s conftest.$ac_objext' 3696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3697 (eval $ac_try) 2>&5 3698 ac_status=$? 3699 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3700 (exit $ac_status); }; }; then 3701 ac_cv_header_stdc=yes 3702else 3703 echo "$as_me: failed program was:" >&5 3704sed 's/^/| /' conftest.$ac_ext >&5 3705 3706ac_cv_header_stdc=no 3707fi 3708rm -f conftest.$ac_objext conftest.$ac_ext 3709 3710if test $ac_cv_header_stdc = yes; then 3711 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3712 cat >conftest.$ac_ext <<_ACEOF 3713#line $LINENO "configure" 3714/* confdefs.h. */ 3715_ACEOF 3716cat confdefs.h >>conftest.$ac_ext 3717cat >>conftest.$ac_ext <<_ACEOF 3718/* end confdefs.h. */ 3719#include <string.h> 3720 3721_ACEOF 3722if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3723 $EGREP "memchr" >/dev/null 2>&1; then 3724 : 3725else 3726 ac_cv_header_stdc=no 3727fi 3728rm -f conftest* 3729 3730fi 3731 3732if test $ac_cv_header_stdc = yes; then 3733 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3734 cat >conftest.$ac_ext <<_ACEOF 3735#line $LINENO "configure" 3736/* confdefs.h. */ 3737_ACEOF 3738cat confdefs.h >>conftest.$ac_ext 3739cat >>conftest.$ac_ext <<_ACEOF 3740/* end confdefs.h. */ 3741#include <stdlib.h> 3742 3743_ACEOF 3744if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3745 $EGREP "free" >/dev/null 2>&1; then 3746 : 3747else 3748 ac_cv_header_stdc=no 3749fi 3750rm -f conftest* 3751 3752fi 3753 3754if test $ac_cv_header_stdc = yes; then 3755 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3756 if test "$cross_compiling" = yes; then 3757 : 3758else 3759 cat >conftest.$ac_ext <<_ACEOF 3760#line $LINENO "configure" 3761/* confdefs.h. */ 3762_ACEOF 3763cat confdefs.h >>conftest.$ac_ext 3764cat >>conftest.$ac_ext <<_ACEOF 3765/* end confdefs.h. */ 3766#include <ctype.h> 3767#if ((' ' & 0x0FF) == 0x020) 3768# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3769# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3770#else 3771# define ISLOWER(c) \ 3772 (('a' <= (c) && (c) <= 'i') \ 3773 || ('j' <= (c) && (c) <= 'r') \ 3774 || ('s' <= (c) && (c) <= 'z')) 3775# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3776#endif 3777 3778#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3779int 3780main () 3781{ 3782 int i; 3783 for (i = 0; i < 256; i++) 3784 if (XOR (islower (i), ISLOWER (i)) 3785 || toupper (i) != TOUPPER (i)) 3786 exit(2); 3787 exit (0); 3788} 3789_ACEOF 3790rm -f conftest$ac_exeext 3791if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3792 (eval $ac_link) 2>&5 3793 ac_status=$? 3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3795 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3797 (eval $ac_try) 2>&5 3798 ac_status=$? 3799 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3800 (exit $ac_status); }; }; then 3801 : 3802else 3803 echo "$as_me: program exited with status $ac_status" >&5 3804echo "$as_me: failed program was:" >&5 3805sed 's/^/| /' conftest.$ac_ext >&5 3806 3807( exit $ac_status ) 3808ac_cv_header_stdc=no 3809fi 3810rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3811fi 3812fi 3813fi 3814echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3815echo "${ECHO_T}$ac_cv_header_stdc" >&6 3816if test $ac_cv_header_stdc = yes; then 3817 3818cat >>confdefs.h <<\_ACEOF 3819#define STDC_HEADERS 1 3820_ACEOF 3821 3822fi 3823 3824# On IRIX 5.3, sys/types and inttypes.h are conflicting. 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3835 inttypes.h stdint.h unistd.h 3836do 3837as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3838echo "$as_me:$LINENO: checking for $ac_header" >&5 3839echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3840if eval "test \"\${$as_ac_Header+set}\" = set"; then 3841 echo $ECHO_N "(cached) $ECHO_C" >&6 3842else 3843 cat >conftest.$ac_ext <<_ACEOF 3844#line $LINENO "configure" 3845/* confdefs.h. */ 3846_ACEOF 3847cat confdefs.h >>conftest.$ac_ext 3848cat >>conftest.$ac_ext <<_ACEOF 3849/* end confdefs.h. */ 3850$ac_includes_default 3851 3852#include <$ac_header> 3853_ACEOF 3854rm -f conftest.$ac_objext 3855if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3856 (eval $ac_compile) 2>&5 3857 ac_status=$? 3858 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3859 (exit $ac_status); } && 3860 { ac_try='test -s conftest.$ac_objext' 3861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3862 (eval $ac_try) 2>&5 3863 ac_status=$? 3864 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3865 (exit $ac_status); }; }; then 3866 eval "$as_ac_Header=yes" 3867else 3868 echo "$as_me: failed program was:" >&5 3869sed 's/^/| /' conftest.$ac_ext >&5 3870 3871eval "$as_ac_Header=no" 3872fi 3873rm -f conftest.$ac_objext conftest.$ac_ext 3874fi 3875echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3876echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3877if test `eval echo '${'$as_ac_Header'}'` = yes; then 3878 cat >>confdefs.h <<_ACEOF 3879#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3880_ACEOF 3881 3882fi 3883 3884done 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900for ac_header in fcntl.h malloc.h stdlib.h string.h strings.h sys/file.h sys/ioctl.h sys/select.h sys/time.h termcap.h termio.h unistd.h readline/tilde.h 3901do 3902as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3903if eval "test \"\${$as_ac_Header+set}\" = set"; then 3904 echo "$as_me:$LINENO: checking for $ac_header" >&5 3905echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3906if eval "test \"\${$as_ac_Header+set}\" = set"; then 3907 echo $ECHO_N "(cached) $ECHO_C" >&6 3908fi 3909echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3910echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3911else 3912 # Is the header compilable? 3913echo "$as_me:$LINENO: checking $ac_header usability" >&5 3914echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 3915cat >conftest.$ac_ext <<_ACEOF 3916#line $LINENO "configure" 3917/* confdefs.h. */ 3918_ACEOF 3919cat confdefs.h >>conftest.$ac_ext 3920cat >>conftest.$ac_ext <<_ACEOF 3921/* end confdefs.h. */ 3922$ac_includes_default 3923#include <$ac_header> 3924_ACEOF 3925rm -f conftest.$ac_objext 3926if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3927 (eval $ac_compile) 2>&5 3928 ac_status=$? 3929 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3930 (exit $ac_status); } && 3931 { ac_try='test -s conftest.$ac_objext' 3932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3933 (eval $ac_try) 2>&5 3934 ac_status=$? 3935 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3936 (exit $ac_status); }; }; then 3937 ac_header_compiler=yes 3938else 3939 echo "$as_me: failed program was:" >&5 3940sed 's/^/| /' conftest.$ac_ext >&5 3941 3942ac_header_compiler=no 3943fi 3944rm -f conftest.$ac_objext conftest.$ac_ext 3945echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3946echo "${ECHO_T}$ac_header_compiler" >&6 3947 3948# Is the header present? 3949echo "$as_me:$LINENO: checking $ac_header presence" >&5 3950echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 3951cat >conftest.$ac_ext <<_ACEOF 3952#line $LINENO "configure" 3953/* confdefs.h. */ 3954_ACEOF 3955cat confdefs.h >>conftest.$ac_ext 3956cat >>conftest.$ac_ext <<_ACEOF 3957/* end confdefs.h. */ 3958#include <$ac_header> 3959_ACEOF 3960if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3961 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3962 ac_status=$? 3963 grep -v '^ *+' conftest.er1 >conftest.err 3964 rm -f conftest.er1 3965 cat conftest.err >&5 3966 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3967 (exit $ac_status); } >/dev/null; then 3968 if test -s conftest.err; then 3969 ac_cpp_err=$ac_c_preproc_warn_flag 3970 else 3971 ac_cpp_err= 3972 fi 3973else 3974 ac_cpp_err=yes 3975fi 3976if test -z "$ac_cpp_err"; then 3977 ac_header_preproc=yes 3978else 3979 echo "$as_me: failed program was:" >&5 3980sed 's/^/| /' conftest.$ac_ext >&5 3981 3982 ac_header_preproc=no 3983fi 3984rm -f conftest.err conftest.$ac_ext 3985echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3986echo "${ECHO_T}$ac_header_preproc" >&6 3987 3988# So? What about this header? 3989case $ac_header_compiler:$ac_header_preproc in 3990 yes:no ) 3991 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3992echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3993 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3994echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3995 ( 3996 cat <<\_ASBOX 3997## ------------------------------------ ## 3998## Report this to bug-autoconf@gnu.org. ## 3999## ------------------------------------ ## 4000_ASBOX 4001 ) | 4002 sed "s/^/$as_me: WARNING: /" >&2 4003 ;; 4004 no:yes ) 4005 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4006echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4007 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4008echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4009 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4010echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4011 ( 4012 cat <<\_ASBOX 4013## ------------------------------------ ## 4014## Report this to bug-autoconf@gnu.org. ## 4015## ------------------------------------ ## 4016_ASBOX 4017 ) | 4018 sed "s/^/$as_me: WARNING: /" >&2 4019 ;; 4020esac 4021echo "$as_me:$LINENO: checking for $ac_header" >&5 4022echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4023if eval "test \"\${$as_ac_Header+set}\" = set"; then 4024 echo $ECHO_N "(cached) $ECHO_C" >&6 4025else 4026 eval "$as_ac_Header=$ac_header_preproc" 4027fi 4028echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4029echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4030 4031fi 4032if test `eval echo '${'$as_ac_Header'}'` = yes; then 4033 cat >>confdefs.h <<_ACEOF 4034#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4035_ACEOF 4036 4037fi 4038 4039done 4040 4041 4042for ac_header in readline/readline.h 4043do 4044as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4045if eval "test \"\${$as_ac_Header+set}\" = set"; then 4046 echo "$as_me:$LINENO: checking for $ac_header" >&5 4047echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4048if eval "test \"\${$as_ac_Header+set}\" = set"; then 4049 echo $ECHO_N "(cached) $ECHO_C" >&6 4050fi 4051echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4052echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4053else 4054 # Is the header compilable? 4055echo "$as_me:$LINENO: checking $ac_header usability" >&5 4056echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4057cat >conftest.$ac_ext <<_ACEOF 4058#line $LINENO "configure" 4059/* confdefs.h. */ 4060_ACEOF 4061cat confdefs.h >>conftest.$ac_ext 4062cat >>conftest.$ac_ext <<_ACEOF 4063/* end confdefs.h. */ 4064$ac_includes_default 4065#include <$ac_header> 4066_ACEOF 4067rm -f conftest.$ac_objext 4068if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4069 (eval $ac_compile) 2>&5 4070 ac_status=$? 4071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4072 (exit $ac_status); } && 4073 { ac_try='test -s conftest.$ac_objext' 4074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4075 (eval $ac_try) 2>&5 4076 ac_status=$? 4077 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4078 (exit $ac_status); }; }; then 4079 ac_header_compiler=yes 4080else 4081 echo "$as_me: failed program was:" >&5 4082sed 's/^/| /' conftest.$ac_ext >&5 4083 4084ac_header_compiler=no 4085fi 4086rm -f conftest.$ac_objext conftest.$ac_ext 4087echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4088echo "${ECHO_T}$ac_header_compiler" >&6 4089 4090# Is the header present? 4091echo "$as_me:$LINENO: checking $ac_header presence" >&5 4092echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4093cat >conftest.$ac_ext <<_ACEOF 4094#line $LINENO "configure" 4095/* confdefs.h. */ 4096_ACEOF 4097cat confdefs.h >>conftest.$ac_ext 4098cat >>conftest.$ac_ext <<_ACEOF 4099/* end confdefs.h. */ 4100#include <$ac_header> 4101_ACEOF 4102if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4103 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4104 ac_status=$? 4105 grep -v '^ *+' conftest.er1 >conftest.err 4106 rm -f conftest.er1 4107 cat conftest.err >&5 4108 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4109 (exit $ac_status); } >/dev/null; then 4110 if test -s conftest.err; then 4111 ac_cpp_err=$ac_c_preproc_warn_flag 4112 else 4113 ac_cpp_err= 4114 fi 4115else 4116 ac_cpp_err=yes 4117fi 4118if test -z "$ac_cpp_err"; then 4119 ac_header_preproc=yes 4120else 4121 echo "$as_me: failed program was:" >&5 4122sed 's/^/| /' conftest.$ac_ext >&5 4123 4124 ac_header_preproc=no 4125fi 4126rm -f conftest.err conftest.$ac_ext 4127echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4128echo "${ECHO_T}$ac_header_preproc" >&6 4129 4130# So? What about this header? 4131case $ac_header_compiler:$ac_header_preproc in 4132 yes:no ) 4133 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4134echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4135 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4136echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4137 ( 4138 cat <<\_ASBOX 4139## ------------------------------------ ## 4140## Report this to bug-autoconf@gnu.org. ## 4141## ------------------------------------ ## 4142_ASBOX 4143 ) | 4144 sed "s/^/$as_me: WARNING: /" >&2 4145 ;; 4146 no:yes ) 4147 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4148echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4149 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4150echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4151 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4152echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4153 ( 4154 cat <<\_ASBOX 4155## ------------------------------------ ## 4156## Report this to bug-autoconf@gnu.org. ## 4157## ------------------------------------ ## 4158_ASBOX 4159 ) | 4160 sed "s/^/$as_me: WARNING: /" >&2 4161 ;; 4162esac 4163echo "$as_me:$LINENO: checking for $ac_header" >&5 4164echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4165if eval "test \"\${$as_ac_Header+set}\" = set"; then 4166 echo $ECHO_N "(cached) $ECHO_C" >&6 4167else 4168 eval "$as_ac_Header=$ac_header_preproc" 4169fi 4170echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4171echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4172 4173fi 4174if test `eval echo '${'$as_ac_Header'}'` = yes; then 4175 cat >>confdefs.h <<_ACEOF 4176#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4177_ACEOF 4178 4179else 4180 { { echo "$as_me:$LINENO: error: You really need this one !." >&5 4181echo "$as_me: error: You really need this one !." >&2;} 4182 { (exit 1); exit 1; }; } 4183fi 4184 4185done 4186 4187 4188echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 4189echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 4190if test "${ac_cv_c_const+set}" = set; then 4191 echo $ECHO_N "(cached) $ECHO_C" >&6 4192else 4193 cat >conftest.$ac_ext <<_ACEOF 4194#line $LINENO "configure" 4195/* confdefs.h. */ 4196_ACEOF 4197cat confdefs.h >>conftest.$ac_ext 4198cat >>conftest.$ac_ext <<_ACEOF 4199/* end confdefs.h. */ 4200 4201int 4202main () 4203{ 4204/* FIXME: Include the comments suggested by Paul. */ 4205#ifndef __cplusplus 4206 /* Ultrix mips cc rejects this. */ 4207 typedef int charset[2]; 4208 const charset x; 4209 /* SunOS 4.1.1 cc rejects this. */ 4210 char const *const *ccp; 4211 char **p; 4212 /* NEC SVR4.0.2 mips cc rejects this. */ 4213 struct point {int x, y;}; 4214 static struct point const zero = {0,0}; 4215 /* AIX XL C 1.02.0.0 rejects this. 4216 It does not let you subtract one const X* pointer from another in 4217 an arm of an if-expression whose if-part is not a constant 4218 expression */ 4219 const char *g = "string"; 4220 ccp = &g + (g ? g-g : 0); 4221 /* HPUX 7.0 cc rejects these. */ 4222 ++ccp; 4223 p = (char**) ccp; 4224 ccp = (char const *const *) p; 4225 { /* SCO 3.2v4 cc rejects this. */ 4226 char *t; 4227 char const *s = 0 ? (char *) 0 : (char const *) 0; 4228 4229 *t++ = 0; 4230 } 4231 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 4232 int x[] = {25, 17}; 4233 const int *foo = &x[0]; 4234 ++foo; 4235 } 4236 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 4237 typedef const int *iptr; 4238 iptr p = 0; 4239 ++p; 4240 } 4241 { /* AIX XL C 1.02.0.0 rejects this saying 4242 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 4243 struct s { int j; const int *ap[3]; }; 4244 struct s *b; b->j = 5; 4245 } 4246 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 4247 const int foo = 10; 4248 } 4249#endif 4250 4251 ; 4252 return 0; 4253} 4254_ACEOF 4255rm -f conftest.$ac_objext 4256if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4257 (eval $ac_compile) 2>&5 4258 ac_status=$? 4259 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4260 (exit $ac_status); } && 4261 { ac_try='test -s conftest.$ac_objext' 4262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4263 (eval $ac_try) 2>&5 4264 ac_status=$? 4265 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4266 (exit $ac_status); }; }; then 4267 ac_cv_c_const=yes 4268else 4269 echo "$as_me: failed program was:" >&5 4270sed 's/^/| /' conftest.$ac_ext >&5 4271 4272ac_cv_c_const=no 4273fi 4274rm -f conftest.$ac_objext conftest.$ac_ext 4275fi 4276echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4277echo "${ECHO_T}$ac_cv_c_const" >&6 4278if test $ac_cv_c_const = no; then 4279 4280cat >>confdefs.h <<\_ACEOF 4281#define const 4282_ACEOF 4283 4284fi 4285 4286echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 4287echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 4288if test "${ac_cv_header_time+set}" = set; then 4289 echo $ECHO_N "(cached) $ECHO_C" >&6 4290else 4291 cat >conftest.$ac_ext <<_ACEOF 4292#line $LINENO "configure" 4293/* confdefs.h. */ 4294_ACEOF 4295cat confdefs.h >>conftest.$ac_ext 4296cat >>conftest.$ac_ext <<_ACEOF 4297/* end confdefs.h. */ 4298#include <sys/types.h> 4299#include <sys/time.h> 4300#include <time.h> 4301 4302int 4303main () 4304{ 4305if ((struct tm *) 0) 4306return 0; 4307 ; 4308 return 0; 4309} 4310_ACEOF 4311rm -f conftest.$ac_objext 4312if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4313 (eval $ac_compile) 2>&5 4314 ac_status=$? 4315 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4316 (exit $ac_status); } && 4317 { ac_try='test -s conftest.$ac_objext' 4318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4319 (eval $ac_try) 2>&5 4320 ac_status=$? 4321 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4322 (exit $ac_status); }; }; then 4323 ac_cv_header_time=yes 4324else 4325 echo "$as_me: failed program was:" >&5 4326sed 's/^/| /' conftest.$ac_ext >&5 4327 4328ac_cv_header_time=no 4329fi 4330rm -f conftest.$ac_objext conftest.$ac_ext 4331fi 4332echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 4333echo "${ECHO_T}$ac_cv_header_time" >&6 4334if test $ac_cv_header_time = yes; then 4335 4336cat >>confdefs.h <<\_ACEOF 4337#define TIME_WITH_SYS_TIME 1 4338_ACEOF 4339 4340fi 4341 4342 4343# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 4344# for constant arguments. Useless! 4345echo "$as_me:$LINENO: checking for working alloca.h" >&5 4346echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 4347if test "${ac_cv_working_alloca_h+set}" = set; then 4348 echo $ECHO_N "(cached) $ECHO_C" >&6 4349else 4350 cat >conftest.$ac_ext <<_ACEOF 4351#line $LINENO "configure" 4352/* confdefs.h. */ 4353_ACEOF 4354cat confdefs.h >>conftest.$ac_ext 4355cat >>conftest.$ac_ext <<_ACEOF 4356/* end confdefs.h. */ 4357#include <alloca.h> 4358int 4359main () 4360{ 4361char *p = (char *) alloca (2 * sizeof (int)); 4362 ; 4363 return 0; 4364} 4365_ACEOF 4366rm -f conftest.$ac_objext conftest$ac_exeext 4367if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4368 (eval $ac_link) 2>&5 4369 ac_status=$? 4370 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4371 (exit $ac_status); } && 4372 { ac_try='test -s conftest$ac_exeext' 4373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4374 (eval $ac_try) 2>&5 4375 ac_status=$? 4376 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4377 (exit $ac_status); }; }; then 4378 ac_cv_working_alloca_h=yes 4379else 4380 echo "$as_me: failed program was:" >&5 4381sed 's/^/| /' conftest.$ac_ext >&5 4382 4383ac_cv_working_alloca_h=no 4384fi 4385rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4386fi 4387echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 4388echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 4389if test $ac_cv_working_alloca_h = yes; then 4390 4391cat >>confdefs.h <<\_ACEOF 4392#define HAVE_ALLOCA_H 1 4393_ACEOF 4394 4395fi 4396 4397echo "$as_me:$LINENO: checking for alloca" >&5 4398echo $ECHO_N "checking for alloca... $ECHO_C" >&6 4399if test "${ac_cv_func_alloca_works+set}" = set; then 4400 echo $ECHO_N "(cached) $ECHO_C" >&6 4401else 4402 cat >conftest.$ac_ext <<_ACEOF 4403#line $LINENO "configure" 4404/* confdefs.h. */ 4405_ACEOF 4406cat confdefs.h >>conftest.$ac_ext 4407cat >>conftest.$ac_ext <<_ACEOF 4408/* end confdefs.h. */ 4409#ifdef __GNUC__ 4410# define alloca __builtin_alloca 4411#else 4412# ifdef _MSC_VER 4413# include <malloc.h> 4414# define alloca _alloca 4415# else 4416# if HAVE_ALLOCA_H 4417# include <alloca.h> 4418# else 4419# ifdef _AIX 4420 #pragma alloca 4421# else 4422# ifndef alloca /* predefined by HP cc +Olibcalls */ 4423char *alloca (); 4424# endif 4425# endif 4426# endif 4427# endif 4428#endif 4429 4430int 4431main () 4432{ 4433char *p = (char *) alloca (1); 4434 ; 4435 return 0; 4436} 4437_ACEOF 4438rm -f conftest.$ac_objext conftest$ac_exeext 4439if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4440 (eval $ac_link) 2>&5 4441 ac_status=$? 4442 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4443 (exit $ac_status); } && 4444 { ac_try='test -s conftest$ac_exeext' 4445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4446 (eval $ac_try) 2>&5 4447 ac_status=$? 4448 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4449 (exit $ac_status); }; }; then 4450 ac_cv_func_alloca_works=yes 4451else 4452 echo "$as_me: failed program was:" >&5 4453sed 's/^/| /' conftest.$ac_ext >&5 4454 4455ac_cv_func_alloca_works=no 4456fi 4457rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4458fi 4459echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 4460echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 4461 4462if test $ac_cv_func_alloca_works = yes; then 4463 4464cat >>confdefs.h <<\_ACEOF 4465#define HAVE_ALLOCA 1 4466_ACEOF 4467 4468else 4469 # The SVR3 libPW and SVR4 libucb both contain incompatible functions 4470# that cause trouble. Some versions do not even contain alloca or 4471# contain a buggy version. If you still want to use their alloca, 4472# use ar to extract alloca.o from them instead of compiling alloca.c. 4473 4474ALLOCA=alloca.$ac_objext 4475 4476cat >>confdefs.h <<\_ACEOF 4477#define C_ALLOCA 1 4478_ACEOF 4479 4480 4481echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 4482echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 4483if test "${ac_cv_os_cray+set}" = set; then 4484 echo $ECHO_N "(cached) $ECHO_C" >&6 4485else 4486 cat >conftest.$ac_ext <<_ACEOF 4487#line $LINENO "configure" 4488/* confdefs.h. */ 4489_ACEOF 4490cat confdefs.h >>conftest.$ac_ext 4491cat >>conftest.$ac_ext <<_ACEOF 4492/* end confdefs.h. */ 4493#if defined(CRAY) && ! defined(CRAY2) 4494webecray 4495#else 4496wenotbecray 4497#endif 4498 4499_ACEOF 4500if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4501 $EGREP "webecray" >/dev/null 2>&1; then 4502 ac_cv_os_cray=yes 4503else 4504 ac_cv_os_cray=no 4505fi 4506rm -f conftest* 4507 4508fi 4509echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 4510echo "${ECHO_T}$ac_cv_os_cray" >&6 4511if test $ac_cv_os_cray = yes; then 4512 for ac_func in _getb67 GETB67 getb67; do 4513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4514echo "$as_me:$LINENO: checking for $ac_func" >&5 4515echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4516if eval "test \"\${$as_ac_var+set}\" = set"; then 4517 echo $ECHO_N "(cached) $ECHO_C" >&6 4518else 4519 cat >conftest.$ac_ext <<_ACEOF 4520#line $LINENO "configure" 4521/* confdefs.h. */ 4522_ACEOF 4523cat confdefs.h >>conftest.$ac_ext 4524cat >>conftest.$ac_ext <<_ACEOF 4525/* end confdefs.h. */ 4526/* System header to define __stub macros and hopefully few prototypes, 4527 which can conflict with char $ac_func (); below. 4528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4529 <limits.h> exists even on freestanding compilers. */ 4530#ifdef __STDC__ 4531# include <limits.h> 4532#else 4533# include <assert.h> 4534#endif 4535/* Override any gcc2 internal prototype to avoid an error. */ 4536#ifdef __cplusplus 4537extern "C" 4538{ 4539#endif 4540/* We use char because int might match the return type of a gcc2 4541 builtin and then its argument prototype would still apply. */ 4542char $ac_func (); 4543/* The GNU C library defines this for functions which it implements 4544 to always fail with ENOSYS. Some functions are actually named 4545 something starting with __ and the normal name is an alias. */ 4546#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 4547choke me 4548#else 4549char (*f) () = $ac_func; 4550#endif 4551#ifdef __cplusplus 4552} 4553#endif 4554 4555int 4556main () 4557{ 4558return f != $ac_func; 4559 ; 4560 return 0; 4561} 4562_ACEOF 4563rm -f conftest.$ac_objext conftest$ac_exeext 4564if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4565 (eval $ac_link) 2>&5 4566 ac_status=$? 4567 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4568 (exit $ac_status); } && 4569 { ac_try='test -s conftest$ac_exeext' 4570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4571 (eval $ac_try) 2>&5 4572 ac_status=$? 4573 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4574 (exit $ac_status); }; }; then 4575 eval "$as_ac_var=yes" 4576else 4577 echo "$as_me: failed program was:" >&5 4578sed 's/^/| /' conftest.$ac_ext >&5 4579 4580eval "$as_ac_var=no" 4581fi 4582rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4583fi 4584echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 4585echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 4586if test `eval echo '${'$as_ac_var'}'` = yes; then 4587 4588cat >>confdefs.h <<_ACEOF 4589#define CRAY_STACKSEG_END $ac_func 4590_ACEOF 4591 4592 break 4593fi 4594 4595 done 4596fi 4597 4598echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 4599echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 4600if test "${ac_cv_c_stack_direction+set}" = set; then 4601 echo $ECHO_N "(cached) $ECHO_C" >&6 4602else 4603 if test "$cross_compiling" = yes; then 4604 ac_cv_c_stack_direction=0 4605else 4606 cat >conftest.$ac_ext <<_ACEOF 4607#line $LINENO "configure" 4608/* confdefs.h. */ 4609_ACEOF 4610cat confdefs.h >>conftest.$ac_ext 4611cat >>conftest.$ac_ext <<_ACEOF 4612/* end confdefs.h. */ 4613int 4614find_stack_direction () 4615{ 4616 static char *addr = 0; 4617 auto char dummy; 4618 if (addr == 0) 4619 { 4620 addr = &dummy; 4621 return find_stack_direction (); 4622 } 4623 else 4624 return (&dummy > addr) ? 1 : -1; 4625} 4626 4627int 4628main () 4629{ 4630 exit (find_stack_direction () < 0); 4631} 4632_ACEOF 4633rm -f conftest$ac_exeext 4634if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4635 (eval $ac_link) 2>&5 4636 ac_status=$? 4637 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4638 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4640 (eval $ac_try) 2>&5 4641 ac_status=$? 4642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4643 (exit $ac_status); }; }; then 4644 ac_cv_c_stack_direction=1 4645else 4646 echo "$as_me: program exited with status $ac_status" >&5 4647echo "$as_me: failed program was:" >&5 4648sed 's/^/| /' conftest.$ac_ext >&5 4649 4650( exit $ac_status ) 4651ac_cv_c_stack_direction=-1 4652fi 4653rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4654fi 4655fi 4656echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 4657echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 4658 4659cat >>confdefs.h <<_ACEOF 4660#define STACK_DIRECTION $ac_cv_c_stack_direction 4661_ACEOF 4662 4663 4664fi 4665 4666echo "$as_me:$LINENO: checking return type of signal handlers" >&5 4667echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 4668if test "${ac_cv_type_signal+set}" = set; then 4669 echo $ECHO_N "(cached) $ECHO_C" >&6 4670else 4671 cat >conftest.$ac_ext <<_ACEOF 4672#line $LINENO "configure" 4673/* confdefs.h. */ 4674_ACEOF 4675cat confdefs.h >>conftest.$ac_ext 4676cat >>conftest.$ac_ext <<_ACEOF 4677/* end confdefs.h. */ 4678#include <sys/types.h> 4679#include <signal.h> 4680#ifdef signal 4681# undef signal 4682#endif 4683#ifdef __cplusplus 4684extern "C" void (*signal (int, void (*)(int)))(int); 4685#else 4686void (*signal ()) (); 4687#endif 4688 4689int 4690main () 4691{ 4692int i; 4693 ; 4694 return 0; 4695} 4696_ACEOF 4697rm -f conftest.$ac_objext 4698if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4699 (eval $ac_compile) 2>&5 4700 ac_status=$? 4701 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4702 (exit $ac_status); } && 4703 { ac_try='test -s conftest.$ac_objext' 4704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4705 (eval $ac_try) 2>&5 4706 ac_status=$? 4707 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4708 (exit $ac_status); }; }; then 4709 ac_cv_type_signal=void 4710else 4711 echo "$as_me: failed program was:" >&5 4712sed 's/^/| /' conftest.$ac_ext >&5 4713 4714ac_cv_type_signal=int 4715fi 4716rm -f conftest.$ac_objext conftest.$ac_ext 4717fi 4718echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 4719echo "${ECHO_T}$ac_cv_type_signal" >&6 4720 4721cat >>confdefs.h <<_ACEOF 4722#define RETSIGTYPE $ac_cv_type_signal 4723_ACEOF 4724 4725 4726 4727for ac_func in vprintf 4728do 4729as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4730echo "$as_me:$LINENO: checking for $ac_func" >&5 4731echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4732if eval "test \"\${$as_ac_var+set}\" = set"; then 4733 echo $ECHO_N "(cached) $ECHO_C" >&6 4734else 4735 cat >conftest.$ac_ext <<_ACEOF 4736#line $LINENO "configure" 4737/* confdefs.h. */ 4738_ACEOF 4739cat confdefs.h >>conftest.$ac_ext 4740cat >>conftest.$ac_ext <<_ACEOF 4741/* end confdefs.h. */ 4742/* System header to define __stub macros and hopefully few prototypes, 4743 which can conflict with char $ac_func (); below. 4744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4745 <limits.h> exists even on freestanding compilers. */ 4746#ifdef __STDC__ 4747# include <limits.h> 4748#else 4749# include <assert.h> 4750#endif 4751/* Override any gcc2 internal prototype to avoid an error. */ 4752#ifdef __cplusplus 4753extern "C" 4754{ 4755#endif 4756/* We use char because int might match the return type of a gcc2 4757 builtin and then its argument prototype would still apply. */ 4758char $ac_func (); 4759/* The GNU C library defines this for functions which it implements 4760 to always fail with ENOSYS. Some functions are actually named 4761 something starting with __ and the normal name is an alias. */ 4762#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 4763choke me 4764#else 4765char (*f) () = $ac_func; 4766#endif 4767#ifdef __cplusplus 4768} 4769#endif 4770 4771int 4772main () 4773{ 4774return f != $ac_func; 4775 ; 4776 return 0; 4777} 4778_ACEOF 4779rm -f conftest.$ac_objext conftest$ac_exeext 4780if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4781 (eval $ac_link) 2>&5 4782 ac_status=$? 4783 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4784 (exit $ac_status); } && 4785 { ac_try='test -s conftest$ac_exeext' 4786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4787 (eval $ac_try) 2>&5 4788 ac_status=$? 4789 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4790 (exit $ac_status); }; }; then 4791 eval "$as_ac_var=yes" 4792else 4793 echo "$as_me: failed program was:" >&5 4794sed 's/^/| /' conftest.$ac_ext >&5 4795 4796eval "$as_ac_var=no" 4797fi 4798rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4799fi 4800echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 4801echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 4802if test `eval echo '${'$as_ac_var'}'` = yes; then 4803 cat >>confdefs.h <<_ACEOF 4804#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4805_ACEOF 4806 4807echo "$as_me:$LINENO: checking for _doprnt" >&5 4808echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 4809if test "${ac_cv_func__doprnt+set}" = set; then 4810 echo $ECHO_N "(cached) $ECHO_C" >&6 4811else 4812 cat >conftest.$ac_ext <<_ACEOF 4813#line $LINENO "configure" 4814/* confdefs.h. */ 4815_ACEOF 4816cat confdefs.h >>conftest.$ac_ext 4817cat >>conftest.$ac_ext <<_ACEOF 4818/* end confdefs.h. */ 4819/* System header to define __stub macros and hopefully few prototypes, 4820 which can conflict with char _doprnt (); below. 4821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4822 <limits.h> exists even on freestanding compilers. */ 4823#ifdef __STDC__ 4824# include <limits.h> 4825#else 4826# include <assert.h> 4827#endif 4828/* Override any gcc2 internal prototype to avoid an error. */ 4829#ifdef __cplusplus 4830extern "C" 4831{ 4832#endif 4833/* We use char because int might match the return type of a gcc2 4834 builtin and then its argument prototype would still apply. */ 4835char _doprnt (); 4836/* The GNU C library defines this for functions which it implements 4837 to always fail with ENOSYS. Some functions are actually named 4838 something starting with __ and the normal name is an alias. */ 4839#if defined (__stub__doprnt) || defined (__stub____doprnt) 4840choke me 4841#else 4842char (*f) () = _doprnt; 4843#endif 4844#ifdef __cplusplus 4845} 4846#endif 4847 4848int 4849main () 4850{ 4851return f != _doprnt; 4852 ; 4853 return 0; 4854} 4855_ACEOF 4856rm -f conftest.$ac_objext conftest$ac_exeext 4857if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4858 (eval $ac_link) 2>&5 4859 ac_status=$? 4860 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4861 (exit $ac_status); } && 4862 { ac_try='test -s conftest$ac_exeext' 4863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4864 (eval $ac_try) 2>&5 4865 ac_status=$? 4866 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4867 (exit $ac_status); }; }; then 4868 ac_cv_func__doprnt=yes 4869else 4870 echo "$as_me: failed program was:" >&5 4871sed 's/^/| /' conftest.$ac_ext >&5 4872 4873ac_cv_func__doprnt=no 4874fi 4875rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4876fi 4877echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 4878echo "${ECHO_T}$ac_cv_func__doprnt" >&6 4879if test $ac_cv_func__doprnt = yes; then 4880 4881cat >>confdefs.h <<\_ACEOF 4882#define HAVE_DOPRNT 1 4883_ACEOF 4884 4885fi 4886 4887fi 4888done 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899for ac_func in getaddrinfo getnameinfo getwd select setenv socket strdup unsetenv 4900do 4901as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4902echo "$as_me:$LINENO: checking for $ac_func" >&5 4903echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4904if eval "test \"\${$as_ac_var+set}\" = set"; then 4905 echo $ECHO_N "(cached) $ECHO_C" >&6 4906else 4907 cat >conftest.$ac_ext <<_ACEOF 4908#line $LINENO "configure" 4909/* confdefs.h. */ 4910_ACEOF 4911cat confdefs.h >>conftest.$ac_ext 4912cat >>conftest.$ac_ext <<_ACEOF 4913/* end confdefs.h. */ 4914/* System header to define __stub macros and hopefully few prototypes, 4915 which can conflict with char $ac_func (); below. 4916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4917 <limits.h> exists even on freestanding compilers. */ 4918#ifdef __STDC__ 4919# include <limits.h> 4920#else 4921# include <assert.h> 4922#endif 4923/* Override any gcc2 internal prototype to avoid an error. */ 4924#ifdef __cplusplus 4925extern "C" 4926{ 4927#endif 4928/* We use char because int might match the return type of a gcc2 4929 builtin and then its argument prototype would still apply. */ 4930char $ac_func (); 4931/* The GNU C library defines this for functions which it implements 4932 to always fail with ENOSYS. Some functions are actually named 4933 something starting with __ and the normal name is an alias. */ 4934#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 4935choke me 4936#else 4937char (*f) () = $ac_func; 4938#endif 4939#ifdef __cplusplus 4940} 4941#endif 4942 4943int 4944main () 4945{ 4946return f != $ac_func; 4947 ; 4948 return 0; 4949} 4950_ACEOF 4951rm -f conftest.$ac_objext conftest$ac_exeext 4952if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4953 (eval $ac_link) 2>&5 4954 ac_status=$? 4955 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4956 (exit $ac_status); } && 4957 { ac_try='test -s conftest$ac_exeext' 4958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4959 (eval $ac_try) 2>&5 4960 ac_status=$? 4961 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4962 (exit $ac_status); }; }; then 4963 eval "$as_ac_var=yes" 4964else 4965 echo "$as_me: failed program was:" >&5 4966sed 's/^/| /' conftest.$ac_ext >&5 4967 4968eval "$as_ac_var=no" 4969fi 4970rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4971fi 4972echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 4973echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 4974if test `eval echo '${'$as_ac_var'}'` = yes; then 4975 cat >>confdefs.h <<_ACEOF 4976#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4977_ACEOF 4978 4979fi 4980done 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 echo "$as_me:$LINENO: checking whether fd_set needs 'struct'" >&5 5006echo $ECHO_N "checking whether fd_set needs 'struct'... $ECHO_C" >&6 5007if test "${ac_cv_fd_set_needs_struct+set}" = set; then 5008 echo $ECHO_N "(cached) $ECHO_C" >&6 5009else 5010 5011 cat >conftest.$ac_ext <<_ACEOF 5012#line $LINENO "configure" 5013/* confdefs.h. */ 5014_ACEOF 5015cat confdefs.h >>conftest.$ac_ext 5016cat >>conftest.$ac_ext <<_ACEOF 5017/* end confdefs.h. */ 5018 5019 #ifdef HAVE_SYS_SELECT_H 5020 #include <sys/select.h> 5021 #endif 5022 #ifdef HAVE_SYS_TIME_H 5023 #include <sys/time.h> 5024 #endif 5025 #include <sys/types.h> 5026 5027int 5028main () 5029{ 5030 5031 fd_set a; 5032 5033 ; 5034 return 0; 5035} 5036_ACEOF 5037rm -f conftest.$ac_objext 5038if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5039 (eval $ac_compile) 2>&5 5040 ac_status=$? 5041 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5042 (exit $ac_status); } && 5043 { ac_try='test -s conftest.$ac_objext' 5044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5045 (eval $ac_try) 2>&5 5046 ac_status=$? 5047 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5048 (exit $ac_status); }; }; then 5049 ac_cv_fd_set_needs_struct=no 5050else 5051 echo "$as_me: failed program was:" >&5 5052sed 's/^/| /' conftest.$ac_ext >&5 5053 5054cat >conftest.$ac_ext <<_ACEOF 5055#line $LINENO "configure" 5056/* confdefs.h. */ 5057_ACEOF 5058cat confdefs.h >>conftest.$ac_ext 5059cat >>conftest.$ac_ext <<_ACEOF 5060/* end confdefs.h. */ 5061 5062 #ifdef HAVE_SYS_SELECT_H 5063 #include <sys/select.h> 5064 #endif 5065 #ifdef HAVE_SYS_TIME_H 5066 #include <sys/time.h> 5067 #endif 5068 #include <sys/types.h> 5069 5070int 5071main () 5072{ 5073 5074 struct fd_set a; 5075 5076 ; 5077 return 0; 5078} 5079_ACEOF 5080rm -f conftest.$ac_objext 5081if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5082 (eval $ac_compile) 2>&5 5083 ac_status=$? 5084 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5085 (exit $ac_status); } && 5086 { ac_try='test -s conftest.$ac_objext' 5087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5088 (eval $ac_try) 2>&5 5089 ac_status=$? 5090 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5091 (exit $ac_status); }; }; then 5092 ac_cv_fd_set_needs_struct=yes 5093else 5094 echo "$as_me: failed program was:" >&5 5095sed 's/^/| /' conftest.$ac_ext >&5 5096 5097ac_cv_fd_set_needs_struct=no 5098fi 5099rm -f conftest.$ac_objext conftest.$ac_ext 5100fi 5101rm -f conftest.$ac_objext conftest.$ac_ext 5102 5103fi 5104echo "$as_me:$LINENO: result: $ac_cv_fd_set_needs_struct" >&5 5105echo "${ECHO_T}$ac_cv_fd_set_needs_struct" >&6 5106 if test "$ac_cv_fd_set_needs_struct" = "yes"; then 5107 cat >>confdefs.h <<\_ACEOF 5108#define FD_SET_NEEDS_STRUCT struct 5109_ACEOF 5110 5111 else 5112 cat >>confdefs.h <<\_ACEOF 5113#define FD_SET_NEEDS_STRUCT 5114_ACEOF 5115 5116 fi 5117 5118 5119 SAVE_CFLAGS="${SAVE_CFLAGS}" 5120 CFLAGS="${CFLAGS} -Werror" 5121 echo "$as_me:$LINENO: checking whether readline handles 'const char *'" >&5 5122echo $ECHO_N "checking whether readline handles 'const char *'... $ECHO_C" >&6 5123if test "${ac_cv_readline_uses_const+set}" = set; then 5124 echo $ECHO_N "(cached) $ECHO_C" >&6 5125else 5126 5127 cat >conftest.$ac_ext <<_ACEOF 5128#line $LINENO "configure" 5129/* confdefs.h. */ 5130_ACEOF 5131cat confdefs.h >>conftest.$ac_ext 5132cat >>conftest.$ac_ext <<_ACEOF 5133/* end confdefs.h. */ 5134 5135 #include <readline/history.h> 5136 5137int 5138main () 5139{ 5140 5141 write_history("/dev/tty"); 5142 5143 ; 5144 return 0; 5145} 5146_ACEOF 5147rm -f conftest.$ac_objext 5148if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5149 (eval $ac_compile) 2>&5 5150 ac_status=$? 5151 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5152 (exit $ac_status); } && 5153 { ac_try='test -s conftest.$ac_objext' 5154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5155 (eval $ac_try) 2>&5 5156 ac_status=$? 5157 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5158 (exit $ac_status); }; }; then 5159 ac_cv_readline_uses_const=yes 5160else 5161 echo "$as_me: failed program was:" >&5 5162sed 's/^/| /' conftest.$ac_ext >&5 5163 5164ac_cv_readline_uses_const=no 5165fi 5166rm -f conftest.$ac_objext conftest.$ac_ext 5167 5168fi 5169echo "$as_me:$LINENO: result: $ac_cv_readline_uses_const" >&5 5170echo "${ECHO_T}$ac_cv_readline_uses_const" >&6 5171 CFLAGS="${SAVE_CFLAGS}" 5172 if test "$ac_cv_readline_uses_const" = "yes"; then 5173 cat >>confdefs.h <<\_ACEOF 5174#define READLINE_HANDLES_CONST 1 5175_ACEOF 5176 5177 fi 5178 5179 5180 SAVE_CFLAGS="${SAVE_CFLAGS}" 5181 CFLAGS="${CFLAGS} -Wimplicit-function-declaration -Werror" 5182 echo "$as_me:$LINENO: checking whether readline.h prototypes 'rl_unbind_key'" >&5 5183echo $ECHO_N "checking whether readline.h prototypes 'rl_unbind_key'... $ECHO_C" >&6 5184if test "${ac_cv_readline_unbind_key+set}" = set; then 5185 echo $ECHO_N "(cached) $ECHO_C" >&6 5186else 5187 5188 cat >conftest.$ac_ext <<_ACEOF 5189#line $LINENO "configure" 5190/* confdefs.h. */ 5191_ACEOF 5192cat confdefs.h >>conftest.$ac_ext 5193cat >>conftest.$ac_ext <<_ACEOF 5194/* end confdefs.h. */ 5195 5196 #include <stdio.h> 5197 #include <readline/readline.h> 5198 5199int 5200main () 5201{ 5202 5203 rl_unbind_key(1); 5204 5205 ; 5206 return 0; 5207} 5208_ACEOF 5209rm -f conftest.$ac_objext 5210if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5211 (eval $ac_compile) 2>&5 5212 ac_status=$? 5213 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5214 (exit $ac_status); } && 5215 { ac_try='test -s conftest.$ac_objext' 5216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5217 (eval $ac_try) 2>&5 5218 ac_status=$? 5219 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5220 (exit $ac_status); }; }; then 5221 ac_cv_readline_unbind_key=yes 5222else 5223 echo "$as_me: failed program was:" >&5 5224sed 's/^/| /' conftest.$ac_ext >&5 5225 5226ac_cv_readline_unbind_key=no 5227fi 5228rm -f conftest.$ac_objext conftest.$ac_ext 5229 5230fi 5231echo "$as_me:$LINENO: result: $ac_cv_readline_unbind_key" >&5 5232echo "${ECHO_T}$ac_cv_readline_unbind_key" >&6 5233 CFLAGS="${SAVE_CFLAGS}" 5234 if test "$ac_cv_readline_unbind_key" = "yes"; then 5235 cat >>confdefs.h <<\_ACEOF 5236#define READLINE_UNBIND_KEY 1 5237_ACEOF 5238 5239 fi 5240 5241 5242 5243 5244 ac_config_files="$ac_config_files Makefile src/Makefile src/connect/Makefile contrib/Makefile doc/Makefile" 5245 5246cat >confcache <<\_ACEOF 5247# This file is a shell script that caches the results of configure 5248# tests run on this system so they can be shared between configure 5249# scripts and configure runs, see configure's option --config-cache. 5250# It is not useful on other systems. If it contains results you don't 5251# want to keep, you may remove or edit it. 5252# 5253# config.status only pays attention to the cache file if you give it 5254# the --recheck option to rerun configure. 5255# 5256# `ac_cv_env_foo' variables (set or unset) will be overridden when 5257# loading this file, other *unset* `ac_cv_foo' will be assigned the 5258# following values. 5259 5260_ACEOF 5261 5262# The following way of writing the cache mishandles newlines in values, 5263# but we know of no workaround that is simple, portable, and efficient. 5264# So, don't put newlines in cache variables' values. 5265# Ultrix sh set writes to stderr and can't be redirected directly, 5266# and sets the high bit in the cache file unless we assign to the vars. 5267{ 5268 (set) 2>&1 | 5269 case `(ac_space=' '; set | grep ac_space) 2>&1` in 5270 *ac_space=\ *) 5271 # `set' does not quote correctly, so add quotes (double-quote 5272 # substitution turns \\\\ into \\, and sed turns \\ into \). 5273 sed -n \ 5274 "s/'/'\\\\''/g; 5275 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 5276 ;; 5277 *) 5278 # `set' quotes correctly as required by POSIX, so do not add quotes. 5279 sed -n \ 5280 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 5281 ;; 5282 esac; 5283} | 5284 sed ' 5285 t clear 5286 : clear 5287 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 5288 t end 5289 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 5290 : end' >>confcache 5291if diff $cache_file confcache >/dev/null 2>&1; then :; else 5292 if test -w $cache_file; then 5293 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 5294 cat confcache >$cache_file 5295 else 5296 echo "not updating unwritable cache $cache_file" 5297 fi 5298fi 5299rm -f confcache 5300 5301test "x$prefix" = xNONE && prefix=$ac_default_prefix 5302# Let make expand exec_prefix. 5303test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 5304 5305# VPATH may cause trouble with some makes, so we remove $(srcdir), 5306# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 5307# trailing colons and then remove the whole line if VPATH becomes empty 5308# (actually we leave an empty line to preserve line numbers). 5309if test "x$srcdir" = x.; then 5310 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 5311s/:*\$(srcdir):*/:/; 5312s/:*\${srcdir}:*/:/; 5313s/:*@srcdir@:*/:/; 5314s/^\([^=]*=[ ]*\):*/\1/; 5315s/:*$//; 5316s/^[^=]*=[ ]*$//; 5317}' 5318fi 5319 5320DEFS=-DHAVE_CONFIG_H 5321 5322ac_libobjs= 5323ac_ltlibobjs= 5324for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 5325 # 1. Remove the extension, and $U if already installed. 5326 ac_i=`echo "$ac_i" | 5327 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 5328 # 2. Add them. 5329 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 5330 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 5331done 5332LIBOBJS=$ac_libobjs 5333 5334LTLIBOBJS=$ac_ltlibobjs 5335 5336 5337if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 5338 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 5339Usually this means the macro was only invoked conditionally." >&5 5340echo "$as_me: error: conditional \"AMDEP\" was never defined. 5341Usually this means the macro was only invoked conditionally." >&2;} 5342 { (exit 1); exit 1; }; } 5343fi 5344if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 5345 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 5346Usually this means the macro was only invoked conditionally." >&5 5347echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 5348Usually this means the macro was only invoked conditionally." >&2;} 5349 { (exit 1); exit 1; }; } 5350fi 5351 5352: ${CONFIG_STATUS=./config.status} 5353ac_clean_files_save=$ac_clean_files 5354ac_clean_files="$ac_clean_files $CONFIG_STATUS" 5355{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 5356echo "$as_me: creating $CONFIG_STATUS" >&6;} 5357cat >$CONFIG_STATUS <<_ACEOF 5358#! $SHELL 5359# Generated by $as_me. 5360# Run this file to recreate the current configuration. 5361# Compiler output produced by configure, useful for debugging 5362# configure, is in config.log if it exists. 5363 5364debug=false 5365ac_cs_recheck=false 5366ac_cs_silent=false 5367SHELL=\${CONFIG_SHELL-$SHELL} 5368_ACEOF 5369 5370cat >>$CONFIG_STATUS <<\_ACEOF 5371## --------------------- ## 5372## M4sh Initialization. ## 5373## --------------------- ## 5374 5375# Be Bourne compatible 5376if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 5377 emulate sh 5378 NULLCMD=: 5379 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 5380 # is contrary to our usage. Disable this feature. 5381 alias -g '${1+"$@"}'='"$@"' 5382elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 5383 set -o posix 5384fi 5385 5386# Support unset when possible. 5387if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 5388 as_unset=unset 5389else 5390 as_unset=false 5391fi 5392 5393 5394# Work around bugs in pre-3.0 UWIN ksh. 5395$as_unset ENV MAIL MAILPATH 5396PS1='$ ' 5397PS2='> ' 5398PS4='+ ' 5399 5400# NLS nuisances. 5401for as_var in \ 5402 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 5403 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 5404 LC_TELEPHONE LC_TIME 5405do 5406 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then 5407 eval $as_var=C; export $as_var 5408 else 5409 $as_unset $as_var 5410 fi 5411done 5412 5413# Required to use basename. 5414if expr a : '\(a\)' >/dev/null 2>&1; then 5415 as_expr=expr 5416else 5417 as_expr=false 5418fi 5419 5420if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 5421 as_basename=basename 5422else 5423 as_basename=false 5424fi 5425 5426 5427# Name of the executable. 5428as_me=`$as_basename "$0" || 5429$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5430 X"$0" : 'X\(//\)$' \| \ 5431 X"$0" : 'X\(/\)$' \| \ 5432 . : '\(.\)' 2>/dev/null || 5433echo X/"$0" | 5434 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 5435 /^X\/\(\/\/\)$/{ s//\1/; q; } 5436 /^X\/\(\/\).*/{ s//\1/; q; } 5437 s/.*/./; q'` 5438 5439 5440# PATH needs CR, and LINENO needs CR and PATH. 5441# Avoid depending upon Character Ranges. 5442as_cr_letters='abcdefghijklmnopqrstuvwxyz' 5443as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5444as_cr_Letters=$as_cr_letters$as_cr_LETTERS 5445as_cr_digits='0123456789' 5446as_cr_alnum=$as_cr_Letters$as_cr_digits 5447 5448# The user is always right. 5449if test "${PATH_SEPARATOR+set}" != set; then 5450 echo "#! /bin/sh" >conf$$.sh 5451 echo "exit 0" >>conf$$.sh 5452 chmod +x conf$$.sh 5453 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 5454 PATH_SEPARATOR=';' 5455 else 5456 PATH_SEPARATOR=: 5457 fi 5458 rm -f conf$$.sh 5459fi 5460 5461 5462 as_lineno_1=$LINENO 5463 as_lineno_2=$LINENO 5464 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 5465 test "x$as_lineno_1" != "x$as_lineno_2" && 5466 test "x$as_lineno_3" = "x$as_lineno_2" || { 5467 # Find who we are. Look in the path if we contain no path at all 5468 # relative or not. 5469 case $0 in 5470 *[\\/]* ) as_myself=$0 ;; 5471 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5472for as_dir in $PATH 5473do 5474 IFS=$as_save_IFS 5475 test -z "$as_dir" && as_dir=. 5476 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5477done 5478 5479 ;; 5480 esac 5481 # We did not find ourselves, most probably we were run as `sh COMMAND' 5482 # in which case we are not to be found in the path. 5483 if test "x$as_myself" = x; then 5484 as_myself=$0 5485 fi 5486 if test ! -f "$as_myself"; then 5487 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 5488echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 5489 { (exit 1); exit 1; }; } 5490 fi 5491 case $CONFIG_SHELL in 5492 '') 5493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5494for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 5495do 5496 IFS=$as_save_IFS 5497 test -z "$as_dir" && as_dir=. 5498 for as_base in sh bash ksh sh5; do 5499 case $as_dir in 5500 /*) 5501 if ("$as_dir/$as_base" -c ' 5502 as_lineno_1=$LINENO 5503 as_lineno_2=$LINENO 5504 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 5505 test "x$as_lineno_1" != "x$as_lineno_2" && 5506 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 5507 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 5508 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 5509 CONFIG_SHELL=$as_dir/$as_base 5510 export CONFIG_SHELL 5511 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 5512 fi;; 5513 esac 5514 done 5515done 5516;; 5517 esac 5518 5519 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 5520 # uniformly replaced by the line number. The first 'sed' inserts a 5521 # line-number line before each line; the second 'sed' does the real 5522 # work. The second script uses 'N' to pair each line-number line 5523 # with the numbered line, and appends trailing '-' during 5524 # substitution so that $LINENO is not a special case at line end. 5525 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 5526 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 5527 sed '=' <$as_myself | 5528 sed ' 5529 N 5530 s,$,-, 5531 : loop 5532 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 5533 t loop 5534 s,-$,, 5535 s,^['$as_cr_digits']*\n,, 5536 ' >$as_me.lineno && 5537 chmod +x $as_me.lineno || 5538 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 5539echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 5540 { (exit 1); exit 1; }; } 5541 5542 # Don't try to exec as it changes $[0], causing all sort of problems 5543 # (the dirname of $[0] is not the place where we might find the 5544 # original and so on. Autoconf is especially sensible to this). 5545 . ./$as_me.lineno 5546 # Exit status is that of the last command. 5547 exit 5548} 5549 5550 5551case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 5552 *c*,-n*) ECHO_N= ECHO_C=' 5553' ECHO_T=' ' ;; 5554 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 5555 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 5556esac 5557 5558if expr a : '\(a\)' >/dev/null 2>&1; then 5559 as_expr=expr 5560else 5561 as_expr=false 5562fi 5563 5564rm -f conf$$ conf$$.exe conf$$.file 5565echo >conf$$.file 5566if ln -s conf$$.file conf$$ 2>/dev/null; then 5567 # We could just check for DJGPP; but this test a) works b) is more generic 5568 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 5569 if test -f conf$$.exe; then 5570 # Don't use ln at all; we don't have any links 5571 as_ln_s='cp -p' 5572 else 5573 as_ln_s='ln -s' 5574 fi 5575elif ln conf$$.file conf$$ 2>/dev/null; then 5576 as_ln_s=ln 5577else 5578 as_ln_s='cp -p' 5579fi 5580rm -f conf$$ conf$$.exe conf$$.file 5581 5582if mkdir -p . 2>/dev/null; then 5583 as_mkdir_p=: 5584else 5585 as_mkdir_p=false 5586fi 5587 5588as_executable_p="test -f" 5589 5590# Sed expression to map a string onto a valid CPP name. 5591as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 5592 5593# Sed expression to map a string onto a valid variable name. 5594as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 5595 5596 5597# IFS 5598# We need space, tab and new line, in precisely that order. 5599as_nl=' 5600' 5601IFS=" $as_nl" 5602 5603# CDPATH. 5604$as_unset CDPATH 5605 5606exec 6>&1 5607 5608# Open the log real soon, to keep \$[0] and so on meaningful, and to 5609# report actual input values of CONFIG_FILES etc. instead of their 5610# values after options handling. Logging --version etc. is OK. 5611exec 5>>config.log 5612{ 5613 echo 5614 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 5615## Running $as_me. ## 5616_ASBOX 5617} >&5 5618cat >&5 <<_CSEOF 5619 5620This file was extended by eif $as_me 1.3.4, which was 5621generated by GNU Autoconf 2.57. Invocation command line was 5622 5623 CONFIG_FILES = $CONFIG_FILES 5624 CONFIG_HEADERS = $CONFIG_HEADERS 5625 CONFIG_LINKS = $CONFIG_LINKS 5626 CONFIG_COMMANDS = $CONFIG_COMMANDS 5627 $ $0 $@ 5628 5629_CSEOF 5630echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 5631echo >&5 5632_ACEOF 5633 5634# Files that config.status was made for. 5635if test -n "$ac_config_files"; then 5636 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 5637fi 5638 5639if test -n "$ac_config_headers"; then 5640 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 5641fi 5642 5643if test -n "$ac_config_links"; then 5644 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 5645fi 5646 5647if test -n "$ac_config_commands"; then 5648 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 5649fi 5650 5651cat >>$CONFIG_STATUS <<\_ACEOF 5652 5653ac_cs_usage="\ 5654\`$as_me' instantiates files from templates according to the 5655current configuration. 5656 5657Usage: $0 [OPTIONS] [FILE]... 5658 5659 -h, --help print this help, then exit 5660 -V, --version print version number, then exit 5661 -q, --quiet do not print progress messages 5662 -d, --debug don't remove temporary files 5663 --recheck update $as_me by reconfiguring in the same conditions 5664 --file=FILE[:TEMPLATE] 5665 instantiate the configuration file FILE 5666 --header=FILE[:TEMPLATE] 5667 instantiate the configuration header FILE 5668 5669Configuration files: 5670$config_files 5671 5672Configuration headers: 5673$config_headers 5674 5675Configuration commands: 5676$config_commands 5677 5678Report bugs to <bug-autoconf@gnu.org>." 5679_ACEOF 5680 5681cat >>$CONFIG_STATUS <<_ACEOF 5682ac_cs_version="\\ 5683eif config.status 1.3.4 5684configured by $0, generated by GNU Autoconf 2.57, 5685 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 5686 5687Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 5688Free Software Foundation, Inc. 5689This config.status script is free software; the Free Software Foundation 5690gives unlimited permission to copy, distribute and modify it." 5691srcdir=$srcdir 5692INSTALL="$INSTALL" 5693_ACEOF 5694 5695cat >>$CONFIG_STATUS <<\_ACEOF 5696# If no file are specified by the user, then we need to provide default 5697# value. By we need to know if files were specified by the user. 5698ac_need_defaults=: 5699while test $# != 0 5700do 5701 case $1 in 5702 --*=*) 5703 ac_option=`expr "x$1" : 'x\([^=]*\)='` 5704 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 5705 ac_shift=: 5706 ;; 5707 -*) 5708 ac_option=$1 5709 ac_optarg=$2 5710 ac_shift=shift 5711 ;; 5712 *) # This is not an option, so the user has probably given explicit 5713 # arguments. 5714 ac_option=$1 5715 ac_need_defaults=false;; 5716 esac 5717 5718 case $ac_option in 5719 # Handling of the options. 5720_ACEOF 5721cat >>$CONFIG_STATUS <<\_ACEOF 5722 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5723 ac_cs_recheck=: ;; 5724 --version | --vers* | -V ) 5725 echo "$ac_cs_version"; exit 0 ;; 5726 --he | --h) 5727 # Conflict between --help and --header 5728 { { echo "$as_me:$LINENO: error: ambiguous option: $1 5729Try \`$0 --help' for more information." >&5 5730echo "$as_me: error: ambiguous option: $1 5731Try \`$0 --help' for more information." >&2;} 5732 { (exit 1); exit 1; }; };; 5733 --help | --hel | -h ) 5734 echo "$ac_cs_usage"; exit 0 ;; 5735 --debug | --d* | -d ) 5736 debug=: ;; 5737 --file | --fil | --fi | --f ) 5738 $ac_shift 5739 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 5740 ac_need_defaults=false;; 5741 --header | --heade | --head | --hea ) 5742 $ac_shift 5743 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 5744 ac_need_defaults=false;; 5745 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5746 | -silent | --silent | --silen | --sile | --sil | --si | --s) 5747 ac_cs_silent=: ;; 5748 5749 # This is an error. 5750 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 5751Try \`$0 --help' for more information." >&5 5752echo "$as_me: error: unrecognized option: $1 5753Try \`$0 --help' for more information." >&2;} 5754 { (exit 1); exit 1; }; } ;; 5755 5756 *) ac_config_targets="$ac_config_targets $1" ;; 5757 5758 esac 5759 shift 5760done 5761 5762ac_configure_extra_args= 5763 5764if $ac_cs_silent; then 5765 exec 6>/dev/null 5766 ac_configure_extra_args="$ac_configure_extra_args --silent" 5767fi 5768 5769_ACEOF 5770cat >>$CONFIG_STATUS <<_ACEOF 5771if \$ac_cs_recheck; then 5772 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 5773 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 5774fi 5775 5776_ACEOF 5777 5778cat >>$CONFIG_STATUS <<_ACEOF 5779# 5780# INIT-COMMANDS section. 5781# 5782 5783AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 5784 5785_ACEOF 5786 5787 5788 5789cat >>$CONFIG_STATUS <<\_ACEOF 5790for ac_config_target in $ac_config_targets 5791do 5792 case "$ac_config_target" in 5793 # Handling of arguments. 5794 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5795 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 5796 "src/connect/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/connect/Makefile" ;; 5797 "contrib/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;; 5798 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 5799 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 5800 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 5801 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 5802echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 5803 { (exit 1); exit 1; }; };; 5804 esac 5805done 5806 5807# If the user did not use the arguments to specify the items to instantiate, 5808# then the envvar interface is used. Set only those that are not. 5809# We use the long form for the default assignment because of an extremely 5810# bizarre bug on SunOS 4.1.3. 5811if $ac_need_defaults; then 5812 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5813 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 5814 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 5815fi 5816 5817# Have a temporary directory for convenience. Make it in the build tree 5818# simply because there is no reason to put it here, and in addition, 5819# creating and moving files from /tmp can sometimes cause problems. 5820# Create a temporary directory, and hook for its removal unless debugging. 5821$debug || 5822{ 5823 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 5824 trap '{ (exit 1); exit 1; }' 1 2 13 15 5825} 5826 5827# Create a (secure) tmp directory for tmp files. 5828 5829{ 5830 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 5831 test -n "$tmp" && test -d "$tmp" 5832} || 5833{ 5834 tmp=./confstat$$-$RANDOM 5835 (umask 077 && mkdir $tmp) 5836} || 5837{ 5838 echo "$me: cannot create a temporary directory in ." >&2 5839 { (exit 1); exit 1; } 5840} 5841 5842_ACEOF 5843 5844cat >>$CONFIG_STATUS <<_ACEOF 5845 5846# 5847# CONFIG_FILES section. 5848# 5849 5850# No need to generate the scripts if there are no CONFIG_FILES. 5851# This happens for instance when ./config.status config.h 5852if test -n "\$CONFIG_FILES"; then 5853 # Protect against being on the right side of a sed subst in config.status. 5854 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 5855 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 5856s,@SHELL@,$SHELL,;t t 5857s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 5858s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 5859s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 5860s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 5861s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 5862s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 5863s,@exec_prefix@,$exec_prefix,;t t 5864s,@prefix@,$prefix,;t t 5865s,@program_transform_name@,$program_transform_name,;t t 5866s,@bindir@,$bindir,;t t 5867s,@sbindir@,$sbindir,;t t 5868s,@libexecdir@,$libexecdir,;t t 5869s,@datadir@,$datadir,;t t 5870s,@sysconfdir@,$sysconfdir,;t t 5871s,@sharedstatedir@,$sharedstatedir,;t t 5872s,@localstatedir@,$localstatedir,;t t 5873s,@libdir@,$libdir,;t t 5874s,@includedir@,$includedir,;t t 5875s,@oldincludedir@,$oldincludedir,;t t 5876s,@infodir@,$infodir,;t t 5877s,@mandir@,$mandir,;t t 5878s,@build_alias@,$build_alias,;t t 5879s,@host_alias@,$host_alias,;t t 5880s,@target_alias@,$target_alias,;t t 5881s,@DEFS@,$DEFS,;t t 5882s,@ECHO_C@,$ECHO_C,;t t 5883s,@ECHO_N@,$ECHO_N,;t t 5884s,@ECHO_T@,$ECHO_T,;t t 5885s,@LIBS@,$LIBS,;t t 5886s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 5887s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 5888s,@INSTALL_DATA@,$INSTALL_DATA,;t t 5889s,@CYGPATH_W@,$CYGPATH_W,;t t 5890s,@PACKAGE@,$PACKAGE,;t t 5891s,@VERSION@,$VERSION,;t t 5892s,@ACLOCAL@,$ACLOCAL,;t t 5893s,@AUTOCONF@,$AUTOCONF,;t t 5894s,@AUTOMAKE@,$AUTOMAKE,;t t 5895s,@AUTOHEADER@,$AUTOHEADER,;t t 5896s,@MAKEINFO@,$MAKEINFO,;t t 5897s,@AMTAR@,$AMTAR,;t t 5898s,@install_sh@,$install_sh,;t t 5899s,@STRIP@,$STRIP,;t t 5900s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 5901s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 5902s,@AWK@,$AWK,;t t 5903s,@SET_MAKE@,$SET_MAKE,;t t 5904s,@am__leading_dot@,$am__leading_dot,;t t 5905s,@CC@,$CC,;t t 5906s,@CFLAGS@,$CFLAGS,;t t 5907s,@LDFLAGS@,$LDFLAGS,;t t 5908s,@CPPFLAGS@,$CPPFLAGS,;t t 5909s,@ac_ct_CC@,$ac_ct_CC,;t t 5910s,@EXEEXT@,$EXEEXT,;t t 5911s,@OBJEXT@,$OBJEXT,;t t 5912s,@DEPDIR@,$DEPDIR,;t t 5913s,@am__include@,$am__include,;t t 5914s,@am__quote@,$am__quote,;t t 5915s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t 5916s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t 5917s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t 5918s,@CCDEPMODE@,$CCDEPMODE,;t t 5919s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t 5920s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t 5921s,@LN_S@,$LN_S,;t t 5922s,@CPP@,$CPP,;t t 5923s,@EGREP@,$EGREP,;t t 5924s,@RANLIB@,$RANLIB,;t t 5925s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 5926s,@ALLOCA@,$ALLOCA,;t t 5927s,@AM_CFLAGS@,$AM_CFLAGS,;t t 5928s,@LIBOBJS@,$LIBOBJS,;t t 5929s,@LTLIBOBJS@,$LTLIBOBJS,;t t 5930CEOF 5931 5932_ACEOF 5933 5934 cat >>$CONFIG_STATUS <<\_ACEOF 5935 # Split the substitutions into bite-sized pieces for seds with 5936 # small command number limits, like on Digital OSF/1 and HP-UX. 5937 ac_max_sed_lines=48 5938 ac_sed_frag=1 # Number of current file. 5939 ac_beg=1 # First line for current file. 5940 ac_end=$ac_max_sed_lines # Line after last line for current file. 5941 ac_more_lines=: 5942 ac_sed_cmds= 5943 while $ac_more_lines; do 5944 if test $ac_beg -gt 1; then 5945 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 5946 else 5947 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 5948 fi 5949 if test ! -s $tmp/subs.frag; then 5950 ac_more_lines=false 5951 else 5952 # The purpose of the label and of the branching condition is to 5953 # speed up the sed processing (if there are no `@' at all, there 5954 # is no need to browse any of the substitutions). 5955 # These are the two extra sed commands mentioned above. 5956 (echo ':t 5957 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 5958 if test -z "$ac_sed_cmds"; then 5959 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 5960 else 5961 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 5962 fi 5963 ac_sed_frag=`expr $ac_sed_frag + 1` 5964 ac_beg=$ac_end 5965 ac_end=`expr $ac_end + $ac_max_sed_lines` 5966 fi 5967 done 5968 if test -z "$ac_sed_cmds"; then 5969 ac_sed_cmds=cat 5970 fi 5971fi # test -n "$CONFIG_FILES" 5972 5973_ACEOF 5974cat >>$CONFIG_STATUS <<\_ACEOF 5975for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 5976 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 5977 case $ac_file in 5978 - | *:- | *:-:* ) # input from stdin 5979 cat >$tmp/stdin 5980 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 5981 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 5982 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 5983 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 5984 * ) ac_file_in=$ac_file.in ;; 5985 esac 5986 5987 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 5988 ac_dir=`(dirname "$ac_file") 2>/dev/null || 5989$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5990 X"$ac_file" : 'X\(//\)[^/]' \| \ 5991 X"$ac_file" : 'X\(//\)$' \| \ 5992 X"$ac_file" : 'X\(/\)' \| \ 5993 . : '\(.\)' 2>/dev/null || 5994echo X"$ac_file" | 5995 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 5996 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 5997 /^X\(\/\/\)$/{ s//\1/; q; } 5998 /^X\(\/\).*/{ s//\1/; q; } 5999 s/.*/./; q'` 6000 { if $as_mkdir_p; then 6001 mkdir -p "$ac_dir" 6002 else 6003 as_dir="$ac_dir" 6004 as_dirs= 6005 while test ! -d "$as_dir"; do 6006 as_dirs="$as_dir $as_dirs" 6007 as_dir=`(dirname "$as_dir") 2>/dev/null || 6008$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6009 X"$as_dir" : 'X\(//\)[^/]' \| \ 6010 X"$as_dir" : 'X\(//\)$' \| \ 6011 X"$as_dir" : 'X\(/\)' \| \ 6012 . : '\(.\)' 2>/dev/null || 6013echo X"$as_dir" | 6014 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6015 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6016 /^X\(\/\/\)$/{ s//\1/; q; } 6017 /^X\(\/\).*/{ s//\1/; q; } 6018 s/.*/./; q'` 6019 done 6020 test ! -n "$as_dirs" || mkdir $as_dirs 6021 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 6022echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 6023 { (exit 1); exit 1; }; }; } 6024 6025 ac_builddir=. 6026 6027if test "$ac_dir" != .; then 6028 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 6029 # A "../" for each directory in $ac_dir_suffix. 6030 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 6031else 6032 ac_dir_suffix= ac_top_builddir= 6033fi 6034 6035case $srcdir in 6036 .) # No --srcdir option. We are building in place. 6037 ac_srcdir=. 6038 if test -z "$ac_top_builddir"; then 6039 ac_top_srcdir=. 6040 else 6041 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 6042 fi ;; 6043 [\\/]* | ?:[\\/]* ) # Absolute path. 6044 ac_srcdir=$srcdir$ac_dir_suffix; 6045 ac_top_srcdir=$srcdir ;; 6046 *) # Relative path. 6047 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 6048 ac_top_srcdir=$ac_top_builddir$srcdir ;; 6049esac 6050# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 6051# absolute. 6052ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 6053ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 6054ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 6055ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 6056 6057 6058 case $INSTALL in 6059 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 6060 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 6061 esac 6062 6063 if test x"$ac_file" != x-; then 6064 { echo "$as_me:$LINENO: creating $ac_file" >&5 6065echo "$as_me: creating $ac_file" >&6;} 6066 rm -f "$ac_file" 6067 fi 6068 # Let's still pretend it is `configure' which instantiates (i.e., don't 6069 # use $as_me), people would be surprised to read: 6070 # /* config.h. Generated by config.status. */ 6071 if test x"$ac_file" = x-; then 6072 configure_input= 6073 else 6074 configure_input="$ac_file. " 6075 fi 6076 configure_input=$configure_input"Generated from `echo $ac_file_in | 6077 sed 's,.*/,,'` by configure." 6078 6079 # First look for the input files in the build tree, otherwise in the 6080 # src tree. 6081 ac_file_inputs=`IFS=: 6082 for f in $ac_file_in; do 6083 case $f in 6084 -) echo $tmp/stdin ;; 6085 [\\/$]*) 6086 # Absolute (can't be DOS-style, as IFS=:) 6087 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 6088echo "$as_me: error: cannot find input file: $f" >&2;} 6089 { (exit 1); exit 1; }; } 6090 echo $f;; 6091 *) # Relative 6092 if test -f "$f"; then 6093 # Build tree 6094 echo $f 6095 elif test -f "$srcdir/$f"; then 6096 # Source tree 6097 echo $srcdir/$f 6098 else 6099 # /dev/null tree 6100 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 6101echo "$as_me: error: cannot find input file: $f" >&2;} 6102 { (exit 1); exit 1; }; } 6103 fi;; 6104 esac 6105 done` || { (exit 1); exit 1; } 6106_ACEOF 6107cat >>$CONFIG_STATUS <<_ACEOF 6108 sed "$ac_vpsub 6109$extrasub 6110_ACEOF 6111cat >>$CONFIG_STATUS <<\_ACEOF 6112:t 6113/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 6114s,@configure_input@,$configure_input,;t t 6115s,@srcdir@,$ac_srcdir,;t t 6116s,@abs_srcdir@,$ac_abs_srcdir,;t t 6117s,@top_srcdir@,$ac_top_srcdir,;t t 6118s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 6119s,@builddir@,$ac_builddir,;t t 6120s,@abs_builddir@,$ac_abs_builddir,;t t 6121s,@top_builddir@,$ac_top_builddir,;t t 6122s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 6123s,@INSTALL@,$ac_INSTALL,;t t 6124" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 6125 rm -f $tmp/stdin 6126 if test x"$ac_file" != x-; then 6127 mv $tmp/out $ac_file 6128 else 6129 cat $tmp/out 6130 rm -f $tmp/out 6131 fi 6132 6133done 6134_ACEOF 6135cat >>$CONFIG_STATUS <<\_ACEOF 6136 6137# 6138# CONFIG_HEADER section. 6139# 6140 6141# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 6142# NAME is the cpp macro being defined and VALUE is the value it is being given. 6143# 6144# ac_d sets the value in "#define NAME VALUE" lines. 6145ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 6146ac_dB='[ ].*$,\1#\2' 6147ac_dC=' ' 6148ac_dD=',;t' 6149# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 6150ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 6151ac_uB='$,\1#\2define\3' 6152ac_uC=' ' 6153ac_uD=',;t' 6154 6155for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 6156 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 6157 case $ac_file in 6158 - | *:- | *:-:* ) # input from stdin 6159 cat >$tmp/stdin 6160 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 6161 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 6162 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 6163 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 6164 * ) ac_file_in=$ac_file.in ;; 6165 esac 6166 6167 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 6168echo "$as_me: creating $ac_file" >&6;} 6169 6170 # First look for the input files in the build tree, otherwise in the 6171 # src tree. 6172 ac_file_inputs=`IFS=: 6173 for f in $ac_file_in; do 6174 case $f in 6175 -) echo $tmp/stdin ;; 6176 [\\/$]*) 6177 # Absolute (can't be DOS-style, as IFS=:) 6178 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 6179echo "$as_me: error: cannot find input file: $f" >&2;} 6180 { (exit 1); exit 1; }; } 6181 echo $f;; 6182 *) # Relative 6183 if test -f "$f"; then 6184 # Build tree 6185 echo $f 6186 elif test -f "$srcdir/$f"; then 6187 # Source tree 6188 echo $srcdir/$f 6189 else 6190 # /dev/null tree 6191 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 6192echo "$as_me: error: cannot find input file: $f" >&2;} 6193 { (exit 1); exit 1; }; } 6194 fi;; 6195 esac 6196 done` || { (exit 1); exit 1; } 6197 # Remove the trailing spaces. 6198 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 6199 6200_ACEOF 6201 6202# Transform confdefs.h into two sed scripts, `conftest.defines' and 6203# `conftest.undefs', that substitutes the proper values into 6204# config.h.in to produce config.h. The first handles `#define' 6205# templates, and the second `#undef' templates. 6206# And first: Protect against being on the right side of a sed subst in 6207# config.status. Protect against being in an unquoted here document 6208# in config.status. 6209rm -f conftest.defines conftest.undefs 6210# Using a here document instead of a string reduces the quoting nightmare. 6211# Putting comments in sed scripts is not portable. 6212# 6213# `end' is used to avoid that the second main sed command (meant for 6214# 0-ary CPP macros) applies to n-ary macro definitions. 6215# See the Autoconf documentation for `clear'. 6216cat >confdef2sed.sed <<\_ACEOF 6217s/[\\&,]/\\&/g 6218s,[\\$`],\\&,g 6219t clear 6220: clear 6221s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 6222t end 6223s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 6224: end 6225_ACEOF 6226# If some macros were called several times there might be several times 6227# the same #defines, which is useless. Nevertheless, we may not want to 6228# sort them, since we want the *last* AC-DEFINE to be honored. 6229uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 6230sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 6231rm -f confdef2sed.sed 6232 6233# This sed command replaces #undef with comments. This is necessary, for 6234# example, in the case of _POSIX_SOURCE, which is predefined and required 6235# on some systems where configure will not decide to define it. 6236cat >>conftest.undefs <<\_ACEOF 6237s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 6238_ACEOF 6239 6240# Break up conftest.defines because some shells have a limit on the size 6241# of here documents, and old seds have small limits too (100 cmds). 6242echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 6243echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 6244echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 6245echo ' :' >>$CONFIG_STATUS 6246rm -f conftest.tail 6247while grep . conftest.defines >/dev/null 6248do 6249 # Write a limited-size here document to $tmp/defines.sed. 6250 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 6251 # Speed up: don't consider the non `#define' lines. 6252 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 6253 # Work around the forget-to-reset-the-flag bug. 6254 echo 't clr' >>$CONFIG_STATUS 6255 echo ': clr' >>$CONFIG_STATUS 6256 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 6257 echo 'CEOF 6258 sed -f $tmp/defines.sed $tmp/in >$tmp/out 6259 rm -f $tmp/in 6260 mv $tmp/out $tmp/in 6261' >>$CONFIG_STATUS 6262 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 6263 rm -f conftest.defines 6264 mv conftest.tail conftest.defines 6265done 6266rm -f conftest.defines 6267echo ' fi # grep' >>$CONFIG_STATUS 6268echo >>$CONFIG_STATUS 6269 6270# Break up conftest.undefs because some shells have a limit on the size 6271# of here documents, and old seds have small limits too (100 cmds). 6272echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 6273rm -f conftest.tail 6274while grep . conftest.undefs >/dev/null 6275do 6276 # Write a limited-size here document to $tmp/undefs.sed. 6277 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 6278 # Speed up: don't consider the non `#undef' 6279 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 6280 # Work around the forget-to-reset-the-flag bug. 6281 echo 't clr' >>$CONFIG_STATUS 6282 echo ': clr' >>$CONFIG_STATUS 6283 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 6284 echo 'CEOF 6285 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 6286 rm -f $tmp/in 6287 mv $tmp/out $tmp/in 6288' >>$CONFIG_STATUS 6289 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 6290 rm -f conftest.undefs 6291 mv conftest.tail conftest.undefs 6292done 6293rm -f conftest.undefs 6294 6295cat >>$CONFIG_STATUS <<\_ACEOF 6296 # Let's still pretend it is `configure' which instantiates (i.e., don't 6297 # use $as_me), people would be surprised to read: 6298 # /* config.h. Generated by config.status. */ 6299 if test x"$ac_file" = x-; then 6300 echo "/* Generated by configure. */" >$tmp/config.h 6301 else 6302 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 6303 fi 6304 cat $tmp/in >>$tmp/config.h 6305 rm -f $tmp/in 6306 if test x"$ac_file" != x-; then 6307 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 6308 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 6309echo "$as_me: $ac_file is unchanged" >&6;} 6310 else 6311 ac_dir=`(dirname "$ac_file") 2>/dev/null || 6312$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6313 X"$ac_file" : 'X\(//\)[^/]' \| \ 6314 X"$ac_file" : 'X\(//\)$' \| \ 6315 X"$ac_file" : 'X\(/\)' \| \ 6316 . : '\(.\)' 2>/dev/null || 6317echo X"$ac_file" | 6318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6319 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6320 /^X\(\/\/\)$/{ s//\1/; q; } 6321 /^X\(\/\).*/{ s//\1/; q; } 6322 s/.*/./; q'` 6323 { if $as_mkdir_p; then 6324 mkdir -p "$ac_dir" 6325 else 6326 as_dir="$ac_dir" 6327 as_dirs= 6328 while test ! -d "$as_dir"; do 6329 as_dirs="$as_dir $as_dirs" 6330 as_dir=`(dirname "$as_dir") 2>/dev/null || 6331$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6332 X"$as_dir" : 'X\(//\)[^/]' \| \ 6333 X"$as_dir" : 'X\(//\)$' \| \ 6334 X"$as_dir" : 'X\(/\)' \| \ 6335 . : '\(.\)' 2>/dev/null || 6336echo X"$as_dir" | 6337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6338 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6339 /^X\(\/\/\)$/{ s//\1/; q; } 6340 /^X\(\/\).*/{ s//\1/; q; } 6341 s/.*/./; q'` 6342 done 6343 test ! -n "$as_dirs" || mkdir $as_dirs 6344 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 6345echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 6346 { (exit 1); exit 1; }; }; } 6347 6348 rm -f $ac_file 6349 mv $tmp/config.h $ac_file 6350 fi 6351 else 6352 cat $tmp/config.h 6353 rm -f $tmp/config.h 6354 fi 6355# Compute $ac_file's index in $config_headers. 6356_am_stamp_count=1 6357for _am_header in $config_headers :; do 6358 case $_am_header in 6359 $ac_file | $ac_file:* ) 6360 break ;; 6361 * ) 6362 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 6363 esac 6364done 6365echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || 6366$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6367 X$ac_file : 'X\(//\)[^/]' \| \ 6368 X$ac_file : 'X\(//\)$' \| \ 6369 X$ac_file : 'X\(/\)' \| \ 6370 . : '\(.\)' 2>/dev/null || 6371echo X$ac_file | 6372 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6373 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6374 /^X\(\/\/\)$/{ s//\1/; q; } 6375 /^X\(\/\).*/{ s//\1/; q; } 6376 s/.*/./; q'`/stamp-h$_am_stamp_count 6377done 6378_ACEOF 6379cat >>$CONFIG_STATUS <<\_ACEOF 6380 6381# 6382# CONFIG_COMMANDS section. 6383# 6384for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 6385 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 6386 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 6387 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 6388$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6389 X"$ac_dest" : 'X\(//\)[^/]' \| \ 6390 X"$ac_dest" : 'X\(//\)$' \| \ 6391 X"$ac_dest" : 'X\(/\)' \| \ 6392 . : '\(.\)' 2>/dev/null || 6393echo X"$ac_dest" | 6394 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6395 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6396 /^X\(\/\/\)$/{ s//\1/; q; } 6397 /^X\(\/\).*/{ s//\1/; q; } 6398 s/.*/./; q'` 6399 ac_builddir=. 6400 6401if test "$ac_dir" != .; then 6402 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 6403 # A "../" for each directory in $ac_dir_suffix. 6404 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 6405else 6406 ac_dir_suffix= ac_top_builddir= 6407fi 6408 6409case $srcdir in 6410 .) # No --srcdir option. We are building in place. 6411 ac_srcdir=. 6412 if test -z "$ac_top_builddir"; then 6413 ac_top_srcdir=. 6414 else 6415 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 6416 fi ;; 6417 [\\/]* | ?:[\\/]* ) # Absolute path. 6418 ac_srcdir=$srcdir$ac_dir_suffix; 6419 ac_top_srcdir=$srcdir ;; 6420 *) # Relative path. 6421 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 6422 ac_top_srcdir=$ac_top_builddir$srcdir ;; 6423esac 6424# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 6425# absolute. 6426ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 6427ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 6428ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 6429ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 6430 6431 6432 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 6433echo "$as_me: executing $ac_dest commands" >&6;} 6434 case $ac_dest in 6435 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 6436 # Strip MF so we end up with the name of the file. 6437 mf=`echo "$mf" | sed -e 's/:.*$//'` 6438 # Check whether this is an Automake generated Makefile or not. 6439 # We used to match only the files named `Makefile.in', but 6440 # some people rename them; so instead we look at the file content. 6441 # Grep'ing the first line is not enough: some people post-process 6442 # each Makefile.in and add a new line on top of each file to say so. 6443 # So let's grep whole file. 6444 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 6445 dirpart=`(dirname "$mf") 2>/dev/null || 6446$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6447 X"$mf" : 'X\(//\)[^/]' \| \ 6448 X"$mf" : 'X\(//\)$' \| \ 6449 X"$mf" : 'X\(/\)' \| \ 6450 . : '\(.\)' 2>/dev/null || 6451echo X"$mf" | 6452 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6453 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6454 /^X\(\/\/\)$/{ s//\1/; q; } 6455 /^X\(\/\).*/{ s//\1/; q; } 6456 s/.*/./; q'` 6457 else 6458 continue 6459 fi 6460 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue 6461 # Extract the definition of DEP_FILES from the Makefile without 6462 # running `make'. 6463 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 6464 test -z "$DEPDIR" && continue 6465 # When using ansi2knr, U may be empty or an underscore; expand it 6466 U=`sed -n -e '/^U = / s///p' < "$mf"` 6467 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 6468 # We invoke sed twice because it is the simplest approach to 6469 # changing $(DEPDIR) to its actual value in the expansion. 6470 for file in `sed -n -e ' 6471 /^DEP_FILES = .*\\\\$/ { 6472 s/^DEP_FILES = // 6473 :loop 6474 s/\\\\$// 6475 p 6476 n 6477 /\\\\$/ b loop 6478 p 6479 } 6480 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ 6481 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 6482 # Make sure the directory exists. 6483 test -f "$dirpart/$file" && continue 6484 fdir=`(dirname "$file") 2>/dev/null || 6485$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6486 X"$file" : 'X\(//\)[^/]' \| \ 6487 X"$file" : 'X\(//\)$' \| \ 6488 X"$file" : 'X\(/\)' \| \ 6489 . : '\(.\)' 2>/dev/null || 6490echo X"$file" | 6491 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6492 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6493 /^X\(\/\/\)$/{ s//\1/; q; } 6494 /^X\(\/\).*/{ s//\1/; q; } 6495 s/.*/./; q'` 6496 { if $as_mkdir_p; then 6497 mkdir -p $dirpart/$fdir 6498 else 6499 as_dir=$dirpart/$fdir 6500 as_dirs= 6501 while test ! -d "$as_dir"; do 6502 as_dirs="$as_dir $as_dirs" 6503 as_dir=`(dirname "$as_dir") 2>/dev/null || 6504$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6505 X"$as_dir" : 'X\(//\)[^/]' \| \ 6506 X"$as_dir" : 'X\(//\)$' \| \ 6507 X"$as_dir" : 'X\(/\)' \| \ 6508 . : '\(.\)' 2>/dev/null || 6509echo X"$as_dir" | 6510 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6511 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6512 /^X\(\/\/\)$/{ s//\1/; q; } 6513 /^X\(\/\).*/{ s//\1/; q; } 6514 s/.*/./; q'` 6515 done 6516 test ! -n "$as_dirs" || mkdir $as_dirs 6517 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 6518echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} 6519 { (exit 1); exit 1; }; }; } 6520 6521 # echo "creating $dirpart/$file" 6522 echo '# dummy' > "$dirpart/$file" 6523 done 6524done 6525 ;; 6526 esac 6527done 6528_ACEOF 6529 6530cat >>$CONFIG_STATUS <<\_ACEOF 6531 6532{ (exit 0); exit 0; } 6533_ACEOF 6534chmod +x $CONFIG_STATUS 6535ac_clean_files=$ac_clean_files_save 6536 6537 6538# configure is writing to config.log, and then calls config.status. 6539# config.status does its own redirection, appending to config.log. 6540# Unfortunately, on DOS this fails, as config.log is still kept open 6541# by configure, so config.status won't be able to write to it; its 6542# output is simply discarded. So we exec the FD to /dev/null, 6543# effectively closing config.log, so it can be properly (re)opened and 6544# appended to by config.status. When coming back to configure, we 6545# need to make the FD available again. 6546if test "$no_create" != yes; then 6547 ac_cs_success=: 6548 ac_config_status_args= 6549 test "$silent" = yes && 6550 ac_config_status_args="$ac_config_status_args --quiet" 6551 exec 5>/dev/null 6552 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6553 exec 5>>config.log 6554 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6555 # would make configure fail if this is the last instruction. 6556 $ac_cs_success || { (exit 1); exit 1; } 6557fi 6558 6559