1#! /bin/sh 2# From configure.in Revision: 1.1 . 3# Guess values for system-dependent variables and create Makefiles. 4# Generated by GNU Autoconf 2.60 for dnshistory 1.3. 5# 6# Report bugs to <spm@stedee.id.au>. 7# 8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 10# This configure script is free software; the Free Software Foundation 11# gives unlimited permission to copy, distribute and modify it. 12## --------------------- ## 13## M4sh Initialization. ## 14## --------------------- ## 15 16# Be Bourne compatible 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 18 emulate sh 19 NULLCMD=: 20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 26fi 27BIN_SH=xpg4; export BIN_SH # for Tru64 28DUALCASE=1; export DUALCASE # for MKS sh 29 30 31# PATH needs CR 32# Avoid depending upon Character Ranges. 33as_cr_letters='abcdefghijklmnopqrstuvwxyz' 34as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 35as_cr_Letters=$as_cr_letters$as_cr_LETTERS 36as_cr_digits='0123456789' 37as_cr_alnum=$as_cr_Letters$as_cr_digits 38 39# The user is always right. 40if test "${PATH_SEPARATOR+set}" != set; then 41 echo "#! /bin/sh" >conf$$.sh 42 echo "exit 0" >>conf$$.sh 43 chmod +x conf$$.sh 44 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 45 PATH_SEPARATOR=';' 46 else 47 PATH_SEPARATOR=: 48 fi 49 rm -f conf$$.sh 50fi 51 52# Support unset when possible. 53if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 54 as_unset=unset 55else 56 as_unset=false 57fi 58 59 60# IFS 61# We need space, tab and new line, in precisely that order. Quoting is 62# there to prevent editors from complaining about space-tab. 63# (If _AS_PATH_WALK were called with IFS unset, it would disable word 64# splitting by setting IFS to empty value.) 65as_nl=' 66' 67IFS=" "" $as_nl" 68 69# Find who we are. Look in the path if we contain no directory separator. 70case $0 in 71 *[\\/]* ) as_myself=$0 ;; 72 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 73for as_dir in $PATH 74do 75 IFS=$as_save_IFS 76 test -z "$as_dir" && as_dir=. 77 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 78done 79IFS=$as_save_IFS 80 81 ;; 82esac 83# We did not find ourselves, most probably we were run as `sh COMMAND' 84# in which case we are not to be found in the path. 85if test "x$as_myself" = x; then 86 as_myself=$0 87fi 88if test ! -f "$as_myself"; then 89 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 90 { (exit 1); exit 1; } 91fi 92 93# Work around bugs in pre-3.0 UWIN ksh. 94for as_var in ENV MAIL MAILPATH 95do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 96done 97PS1='$ ' 98PS2='> ' 99PS4='+ ' 100 101# NLS nuisances. 102for as_var in \ 103 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 104 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 105 LC_TELEPHONE LC_TIME 106do 107 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 108 eval $as_var=C; export $as_var 109 else 110 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 111 fi 112done 113 114# Required to use basename. 115if expr a : '\(a\)' >/dev/null 2>&1 && 116 test "X`expr 00001 : '.*\(...\)'`" = X001; then 117 as_expr=expr 118else 119 as_expr=false 120fi 121 122if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 123 as_basename=basename 124else 125 as_basename=false 126fi 127 128 129# Name of the executable. 130as_me=`$as_basename -- "$0" || 131$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 132 X"$0" : 'X\(//\)$' \| \ 133 X"$0" : 'X\(/\)' \| . 2>/dev/null || 134echo X/"$0" | 135 sed '/^.*\/\([^/][^/]*\)\/*$/{ 136 s//\1/ 137 q 138 } 139 /^X\/\(\/\/\)$/{ 140 s//\1/ 141 q 142 } 143 /^X\/\(\/\).*/{ 144 s//\1/ 145 q 146 } 147 s/.*/./; q'` 148 149# CDPATH. 150$as_unset CDPATH 151 152 153if test "x$CONFIG_SHELL" = x; then 154 if (eval ":") 2>/dev/null; then 155 as_have_required=yes 156else 157 as_have_required=no 158fi 159 160 if test $as_have_required = yes && (eval ": 161(as_func_return () { 162 (exit \$1) 163} 164as_func_success () { 165 as_func_return 0 166} 167as_func_failure () { 168 as_func_return 1 169} 170as_func_ret_success () { 171 return 0 172} 173as_func_ret_failure () { 174 return 1 175} 176 177exitcode=0 178if as_func_success; then 179 : 180else 181 exitcode=1 182 echo as_func_success failed. 183fi 184 185if as_func_failure; then 186 exitcode=1 187 echo as_func_failure succeeded. 188fi 189 190if as_func_ret_success; then 191 : 192else 193 exitcode=1 194 echo as_func_ret_success failed. 195fi 196 197if as_func_ret_failure; then 198 exitcode=1 199 echo as_func_ret_failure succeeded. 200fi 201 202if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 203 : 204else 205 exitcode=1 206 echo positional parameters were not saved. 207fi 208 209test \$exitcode = 0) || { (exit 1); exit 1; } 210 211( 212 as_lineno_1=\$LINENO 213 as_lineno_2=\$LINENO 214 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 215 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 216") 2> /dev/null; then 217 : 218else 219 as_candidate_shells= 220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 221for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 222do 223 IFS=$as_save_IFS 224 test -z "$as_dir" && as_dir=. 225 case $as_dir in 226 /*) 227 for as_base in sh bash ksh sh5; do 228 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 229 done;; 230 esac 231done 232IFS=$as_save_IFS 233 234 235 for as_shell in $as_candidate_shells $SHELL; do 236 # Try only shells that exist, to save several forks. 237 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 238 { ("$as_shell") 2> /dev/null <<\_ASEOF 239# Be Bourne compatible 240if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 241 emulate sh 242 NULLCMD=: 243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 244 # is contrary to our usage. Disable this feature. 245 alias -g '${1+"$@"}'='"$@"' 246 setopt NO_GLOB_SUBST 247else 248 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 249fi 250BIN_SH=xpg4; export BIN_SH # for Tru64 251DUALCASE=1; export DUALCASE # for MKS sh 252 253: 254_ASEOF 255}; then 256 CONFIG_SHELL=$as_shell 257 as_have_required=yes 258 if { "$as_shell" 2> /dev/null <<\_ASEOF 259# Be Bourne compatible 260if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 261 emulate sh 262 NULLCMD=: 263 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 264 # is contrary to our usage. Disable this feature. 265 alias -g '${1+"$@"}'='"$@"' 266 setopt NO_GLOB_SUBST 267else 268 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 269fi 270BIN_SH=xpg4; export BIN_SH # for Tru64 271DUALCASE=1; export DUALCASE # for MKS sh 272 273: 274(as_func_return () { 275 (exit $1) 276} 277as_func_success () { 278 as_func_return 0 279} 280as_func_failure () { 281 as_func_return 1 282} 283as_func_ret_success () { 284 return 0 285} 286as_func_ret_failure () { 287 return 1 288} 289 290exitcode=0 291if as_func_success; then 292 : 293else 294 exitcode=1 295 echo as_func_success failed. 296fi 297 298if as_func_failure; then 299 exitcode=1 300 echo as_func_failure succeeded. 301fi 302 303if as_func_ret_success; then 304 : 305else 306 exitcode=1 307 echo as_func_ret_success failed. 308fi 309 310if as_func_ret_failure; then 311 exitcode=1 312 echo as_func_ret_failure succeeded. 313fi 314 315if ( set x; as_func_ret_success y && test x = "$1" ); then 316 : 317else 318 exitcode=1 319 echo positional parameters were not saved. 320fi 321 322test $exitcode = 0) || { (exit 1); exit 1; } 323 324( 325 as_lineno_1=$LINENO 326 as_lineno_2=$LINENO 327 test "x$as_lineno_1" != "x$as_lineno_2" && 328 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 329 330_ASEOF 331}; then 332 break 333fi 334 335fi 336 337 done 338 339 if test "x$CONFIG_SHELL" != x; then 340 for as_var in BASH_ENV ENV 341 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 342 done 343 export CONFIG_SHELL 344 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 345fi 346 347 348 if test $as_have_required = no; then 349 echo This script requires a shell more modern than all the 350 echo shells that I found on your system. Please install a 351 echo modern shell, or manually run the script under such a 352 echo shell if you do have one. 353 { (exit 1); exit 1; } 354fi 355 356 357fi 358 359fi 360 361 362 363(eval "as_func_return () { 364 (exit \$1) 365} 366as_func_success () { 367 as_func_return 0 368} 369as_func_failure () { 370 as_func_return 1 371} 372as_func_ret_success () { 373 return 0 374} 375as_func_ret_failure () { 376 return 1 377} 378 379exitcode=0 380if as_func_success; then 381 : 382else 383 exitcode=1 384 echo as_func_success failed. 385fi 386 387if as_func_failure; then 388 exitcode=1 389 echo as_func_failure succeeded. 390fi 391 392if as_func_ret_success; then 393 : 394else 395 exitcode=1 396 echo as_func_ret_success failed. 397fi 398 399if as_func_ret_failure; then 400 exitcode=1 401 echo as_func_ret_failure succeeded. 402fi 403 404if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 405 : 406else 407 exitcode=1 408 echo positional parameters were not saved. 409fi 410 411test \$exitcode = 0") || { 412 echo No shell found that supports shell functions. 413 echo Please tell autoconf@gnu.org about your system, 414 echo including any error possibly output before this 415 echo message 416} 417 418 419 420 as_lineno_1=$LINENO 421 as_lineno_2=$LINENO 422 test "x$as_lineno_1" != "x$as_lineno_2" && 423 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 424 425 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 426 # uniformly replaced by the line number. The first 'sed' inserts a 427 # line-number line after each line using $LINENO; the second 'sed' 428 # does the real work. The second script uses 'N' to pair each 429 # line-number line with the line containing $LINENO, and appends 430 # trailing '-' during substitution so that $LINENO is not a special 431 # case at line end. 432 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 433 # scripts with optimization help from Paolo Bonzini. Blame Lee 434 # E. McMahon (1931-1989) for sed's syntax. :-) 435 sed -n ' 436 p 437 /[$]LINENO/= 438 ' <$as_myself | 439 sed ' 440 s/[$]LINENO.*/&-/ 441 t lineno 442 b 443 :lineno 444 N 445 :loop 446 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 447 t loop 448 s/-\n.*// 449 ' >$as_me.lineno && 450 chmod +x "$as_me.lineno" || 451 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 452 { (exit 1); exit 1; }; } 453 454 # Don't try to exec as it changes $[0], causing all sort of problems 455 # (the dirname of $[0] is not the place where we might find the 456 # original and so on. Autoconf is especially sensitive to this). 457 . "./$as_me.lineno" 458 # Exit status is that of the last command. 459 exit 460} 461 462 463if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 464 as_dirname=dirname 465else 466 as_dirname=false 467fi 468 469ECHO_C= ECHO_N= ECHO_T= 470case `echo -n x` in 471-n*) 472 case `echo 'x\c'` in 473 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 474 *) ECHO_C='\c';; 475 esac;; 476*) 477 ECHO_N='-n';; 478esac 479 480if expr a : '\(a\)' >/dev/null 2>&1 && 481 test "X`expr 00001 : '.*\(...\)'`" = X001; then 482 as_expr=expr 483else 484 as_expr=false 485fi 486 487rm -f conf$$ conf$$.exe conf$$.file 488if test -d conf$$.dir; then 489 rm -f conf$$.dir/conf$$.file 490else 491 rm -f conf$$.dir 492 mkdir conf$$.dir 493fi 494echo >conf$$.file 495if ln -s conf$$.file conf$$ 2>/dev/null; then 496 as_ln_s='ln -s' 497 # ... but there are two gotchas: 498 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 499 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 500 # In both cases, we have to default to `cp -p'. 501 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 502 as_ln_s='cp -p' 503elif ln conf$$.file conf$$ 2>/dev/null; then 504 as_ln_s=ln 505else 506 as_ln_s='cp -p' 507fi 508rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 509rmdir conf$$.dir 2>/dev/null 510 511if mkdir -p . 2>/dev/null; then 512 as_mkdir_p=: 513else 514 test -d ./-p && rmdir ./-p 515 as_mkdir_p=false 516fi 517 518# Find out whether ``test -x'' works. Don't use a zero-byte file, as 519# systems may use methods other than mode bits to determine executability. 520cat >conf$$.file <<_ASEOF 521#! /bin/sh 522exit 0 523_ASEOF 524chmod +x conf$$.file 525if test -x conf$$.file >/dev/null 2>&1; then 526 as_executable_p="test -x" 527else 528 as_executable_p=: 529fi 530rm -f conf$$.file 531 532# Sed expression to map a string onto a valid CPP name. 533as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 534 535# Sed expression to map a string onto a valid variable name. 536as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 537 538 539 540exec 7<&0 </dev/null 6>&1 541 542# Name of the host. 543# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 544# so uname gets run too. 545ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 546 547# 548# Initializations. 549# 550ac_default_prefix=/usr/local 551ac_clean_files= 552ac_config_libobj_dir=. 553LIBOBJS= 554cross_compiling=no 555subdirs= 556MFLAGS= 557MAKEFLAGS= 558SHELL=${CONFIG_SHELL-/bin/sh} 559 560# Identity of this package. 561PACKAGE_NAME='dnshistory' 562PACKAGE_TARNAME='dnshistory' 563PACKAGE_VERSION='1.3' 564PACKAGE_STRING='dnshistory 1.3' 565PACKAGE_BUGREPORT='spm@stedee.id.au' 566 567ac_unique_file="src/dnshistory.c" 568# Factoring default headers for most tests. 569ac_includes_default="\ 570#include <stdio.h> 571#if HAVE_SYS_TYPES_H 572# include <sys/types.h> 573#endif 574#if HAVE_SYS_STAT_H 575# include <sys/stat.h> 576#endif 577#if STDC_HEADERS 578# include <stdlib.h> 579# include <stddef.h> 580#else 581# if HAVE_STDLIB_H 582# include <stdlib.h> 583# endif 584#endif 585#if HAVE_STRING_H 586# if !STDC_HEADERS && HAVE_MEMORY_H 587# include <memory.h> 588# endif 589# include <string.h> 590#endif 591#if HAVE_STRINGS_H 592# include <strings.h> 593#endif 594#if HAVE_INTTYPES_H 595# include <inttypes.h> 596#endif 597#if HAVE_STDINT_H 598# include <stdint.h> 599#endif 600#if HAVE_UNISTD_H 601# include <unistd.h> 602#endif" 603 604ac_subst_vars='SHELL 605PATH_SEPARATOR 606PACKAGE_NAME 607PACKAGE_TARNAME 608PACKAGE_VERSION 609PACKAGE_STRING 610PACKAGE_BUGREPORT 611exec_prefix 612prefix 613program_transform_name 614bindir 615sbindir 616libexecdir 617datarootdir 618datadir 619sysconfdir 620sharedstatedir 621localstatedir 622includedir 623oldincludedir 624docdir 625infodir 626htmldir 627dvidir 628pdfdir 629psdir 630libdir 631localedir 632mandir 633DEFS 634ECHO_C 635ECHO_N 636ECHO_T 637LIBS 638build_alias 639host_alias 640target_alias 641INSTALL_PROGRAM 642INSTALL_SCRIPT 643INSTALL_DATA 644CYGPATH_W 645PACKAGE 646VERSION 647ACLOCAL 648AUTOCONF 649AUTOMAKE 650AUTOHEADER 651MAKEINFO 652install_sh 653STRIP 654INSTALL_STRIP_PROGRAM 655mkdir_p 656AWK 657SET_MAKE 658am__leading_dot 659AMTAR 660am__tar 661am__untar 662CC 663CFLAGS 664LDFLAGS 665CPPFLAGS 666ac_ct_CC 667EXEEXT 668OBJEXT 669DEPDIR 670am__include 671am__quote 672AMDEP_TRUE 673AMDEP_FALSE 674AMDEPBACKSLASH 675CCDEPMODE 676am__fastdepCC_TRUE 677am__fastdepCC_FALSE 678ac_cv_dbname 679ac_cv_dbdir 680RANLIB 681CPP 682GREP 683EGREP 684LIBOBJS 685LTLIBOBJS' 686ac_subst_files='' 687 ac_precious_vars='build_alias 688host_alias 689target_alias 690CC 691CFLAGS 692LDFLAGS 693CPPFLAGS 694CPP' 695 696 697# Initialize some variables set by options. 698ac_init_help= 699ac_init_version=false 700# The variables have the same names as the options, with 701# dashes changed to underlines. 702cache_file=/dev/null 703exec_prefix=NONE 704no_create= 705no_recursion= 706prefix=NONE 707program_prefix=NONE 708program_suffix=NONE 709program_transform_name=s,x,x, 710silent= 711site= 712srcdir= 713verbose= 714x_includes=NONE 715x_libraries=NONE 716 717# Installation directory options. 718# These are left unexpanded so users can "make install exec_prefix=/foo" 719# and all the variables that are supposed to be based on exec_prefix 720# by default will actually change. 721# Use braces instead of parens because sh, perl, etc. also accept them. 722# (The list follows the same order as the GNU Coding Standards.) 723bindir='${exec_prefix}/bin' 724sbindir='${exec_prefix}/sbin' 725libexecdir='${exec_prefix}/libexec' 726datarootdir='${prefix}/share' 727datadir='${datarootdir}' 728sysconfdir='${prefix}/etc' 729sharedstatedir='${prefix}/com' 730localstatedir='${prefix}/var' 731includedir='${prefix}/include' 732oldincludedir='/usr/include' 733docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 734infodir='${datarootdir}/info' 735htmldir='${docdir}' 736dvidir='${docdir}' 737pdfdir='${docdir}' 738psdir='${docdir}' 739libdir='${exec_prefix}/lib' 740localedir='${datarootdir}/locale' 741mandir='${datarootdir}/man' 742 743ac_prev= 744ac_dashdash= 745for ac_option 746do 747 # If the previous option needs an argument, assign it. 748 if test -n "$ac_prev"; then 749 eval $ac_prev=\$ac_option 750 ac_prev= 751 continue 752 fi 753 754 case $ac_option in 755 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 756 *) ac_optarg=yes ;; 757 esac 758 759 # Accept the important Cygnus configure options, so we can diagnose typos. 760 761 case $ac_dashdash$ac_option in 762 --) 763 ac_dashdash=yes ;; 764 765 -bindir | --bindir | --bindi | --bind | --bin | --bi) 766 ac_prev=bindir ;; 767 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 768 bindir=$ac_optarg ;; 769 770 -build | --build | --buil | --bui | --bu) 771 ac_prev=build_alias ;; 772 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 773 build_alias=$ac_optarg ;; 774 775 -cache-file | --cache-file | --cache-fil | --cache-fi \ 776 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 777 ac_prev=cache_file ;; 778 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 779 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 780 cache_file=$ac_optarg ;; 781 782 --config-cache | -C) 783 cache_file=config.cache ;; 784 785 -datadir | --datadir | --datadi | --datad) 786 ac_prev=datadir ;; 787 -datadir=* | --datadir=* | --datadi=* | --datad=*) 788 datadir=$ac_optarg ;; 789 790 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 791 | --dataroo | --dataro | --datar) 792 ac_prev=datarootdir ;; 793 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 794 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 795 datarootdir=$ac_optarg ;; 796 797 -disable-* | --disable-*) 798 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 799 # Reject names that are not valid shell variable names. 800 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 801 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 802 { (exit 1); exit 1; }; } 803 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 804 eval enable_$ac_feature=no ;; 805 806 -docdir | --docdir | --docdi | --doc | --do) 807 ac_prev=docdir ;; 808 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 809 docdir=$ac_optarg ;; 810 811 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 812 ac_prev=dvidir ;; 813 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 814 dvidir=$ac_optarg ;; 815 816 -enable-* | --enable-*) 817 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 818 # Reject names that are not valid shell variable names. 819 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 820 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 821 { (exit 1); exit 1; }; } 822 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 823 eval enable_$ac_feature=\$ac_optarg ;; 824 825 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 826 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 827 | --exec | --exe | --ex) 828 ac_prev=exec_prefix ;; 829 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 830 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 831 | --exec=* | --exe=* | --ex=*) 832 exec_prefix=$ac_optarg ;; 833 834 -gas | --gas | --ga | --g) 835 # Obsolete; use --with-gas. 836 with_gas=yes ;; 837 838 -help | --help | --hel | --he | -h) 839 ac_init_help=long ;; 840 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 841 ac_init_help=recursive ;; 842 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 843 ac_init_help=short ;; 844 845 -host | --host | --hos | --ho) 846 ac_prev=host_alias ;; 847 -host=* | --host=* | --hos=* | --ho=*) 848 host_alias=$ac_optarg ;; 849 850 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 851 ac_prev=htmldir ;; 852 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 853 | --ht=*) 854 htmldir=$ac_optarg ;; 855 856 -includedir | --includedir | --includedi | --included | --include \ 857 | --includ | --inclu | --incl | --inc) 858 ac_prev=includedir ;; 859 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 860 | --includ=* | --inclu=* | --incl=* | --inc=*) 861 includedir=$ac_optarg ;; 862 863 -infodir | --infodir | --infodi | --infod | --info | --inf) 864 ac_prev=infodir ;; 865 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 866 infodir=$ac_optarg ;; 867 868 -libdir | --libdir | --libdi | --libd) 869 ac_prev=libdir ;; 870 -libdir=* | --libdir=* | --libdi=* | --libd=*) 871 libdir=$ac_optarg ;; 872 873 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 874 | --libexe | --libex | --libe) 875 ac_prev=libexecdir ;; 876 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 877 | --libexe=* | --libex=* | --libe=*) 878 libexecdir=$ac_optarg ;; 879 880 -localedir | --localedir | --localedi | --localed | --locale) 881 ac_prev=localedir ;; 882 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 883 localedir=$ac_optarg ;; 884 885 -localstatedir | --localstatedir | --localstatedi | --localstated \ 886 | --localstate | --localstat | --localsta | --localst | --locals) 887 ac_prev=localstatedir ;; 888 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 889 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 890 localstatedir=$ac_optarg ;; 891 892 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 893 ac_prev=mandir ;; 894 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 895 mandir=$ac_optarg ;; 896 897 -nfp | --nfp | --nf) 898 # Obsolete; use --without-fp. 899 with_fp=no ;; 900 901 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 902 | --no-cr | --no-c | -n) 903 no_create=yes ;; 904 905 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 906 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 907 no_recursion=yes ;; 908 909 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 910 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 911 | --oldin | --oldi | --old | --ol | --o) 912 ac_prev=oldincludedir ;; 913 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 914 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 915 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 916 oldincludedir=$ac_optarg ;; 917 918 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 919 ac_prev=prefix ;; 920 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 921 prefix=$ac_optarg ;; 922 923 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 924 | --program-pre | --program-pr | --program-p) 925 ac_prev=program_prefix ;; 926 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 927 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 928 program_prefix=$ac_optarg ;; 929 930 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 931 | --program-suf | --program-su | --program-s) 932 ac_prev=program_suffix ;; 933 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 934 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 935 program_suffix=$ac_optarg ;; 936 937 -program-transform-name | --program-transform-name \ 938 | --program-transform-nam | --program-transform-na \ 939 | --program-transform-n | --program-transform- \ 940 | --program-transform | --program-transfor \ 941 | --program-transfo | --program-transf \ 942 | --program-trans | --program-tran \ 943 | --progr-tra | --program-tr | --program-t) 944 ac_prev=program_transform_name ;; 945 -program-transform-name=* | --program-transform-name=* \ 946 | --program-transform-nam=* | --program-transform-na=* \ 947 | --program-transform-n=* | --program-transform-=* \ 948 | --program-transform=* | --program-transfor=* \ 949 | --program-transfo=* | --program-transf=* \ 950 | --program-trans=* | --program-tran=* \ 951 | --progr-tra=* | --program-tr=* | --program-t=*) 952 program_transform_name=$ac_optarg ;; 953 954 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 955 ac_prev=pdfdir ;; 956 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 957 pdfdir=$ac_optarg ;; 958 959 -psdir | --psdir | --psdi | --psd | --ps) 960 ac_prev=psdir ;; 961 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 962 psdir=$ac_optarg ;; 963 964 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 965 | -silent | --silent | --silen | --sile | --sil) 966 silent=yes ;; 967 968 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 969 ac_prev=sbindir ;; 970 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 971 | --sbi=* | --sb=*) 972 sbindir=$ac_optarg ;; 973 974 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 975 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 976 | --sharedst | --shareds | --shared | --share | --shar \ 977 | --sha | --sh) 978 ac_prev=sharedstatedir ;; 979 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 980 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 981 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 982 | --sha=* | --sh=*) 983 sharedstatedir=$ac_optarg ;; 984 985 -site | --site | --sit) 986 ac_prev=site ;; 987 -site=* | --site=* | --sit=*) 988 site=$ac_optarg ;; 989 990 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 991 ac_prev=srcdir ;; 992 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 993 srcdir=$ac_optarg ;; 994 995 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 996 | --syscon | --sysco | --sysc | --sys | --sy) 997 ac_prev=sysconfdir ;; 998 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 999 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1000 sysconfdir=$ac_optarg ;; 1001 1002 -target | --target | --targe | --targ | --tar | --ta | --t) 1003 ac_prev=target_alias ;; 1004 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1005 target_alias=$ac_optarg ;; 1006 1007 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1008 verbose=yes ;; 1009 1010 -version | --version | --versio | --versi | --vers | -V) 1011 ac_init_version=: ;; 1012 1013 -with-* | --with-*) 1014 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1015 # Reject names that are not valid shell variable names. 1016 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 1017 { echo "$as_me: error: invalid package name: $ac_package" >&2 1018 { (exit 1); exit 1; }; } 1019 ac_package=`echo $ac_package| sed 's/-/_/g'` 1020 eval with_$ac_package=\$ac_optarg ;; 1021 1022 -without-* | --without-*) 1023 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1024 # Reject names that are not valid shell variable names. 1025 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 1026 { echo "$as_me: error: invalid package name: $ac_package" >&2 1027 { (exit 1); exit 1; }; } 1028 ac_package=`echo $ac_package | sed 's/-/_/g'` 1029 eval with_$ac_package=no ;; 1030 1031 --x) 1032 # Obsolete; use --with-x. 1033 with_x=yes ;; 1034 1035 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1036 | --x-incl | --x-inc | --x-in | --x-i) 1037 ac_prev=x_includes ;; 1038 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1039 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1040 x_includes=$ac_optarg ;; 1041 1042 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1043 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1044 ac_prev=x_libraries ;; 1045 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1046 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1047 x_libraries=$ac_optarg ;; 1048 1049 -*) { echo "$as_me: error: unrecognized option: $ac_option 1050Try \`$0 --help' for more information." >&2 1051 { (exit 1); exit 1; }; } 1052 ;; 1053 1054 *=*) 1055 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1056 # Reject names that are not valid shell variable names. 1057 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1058 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1059 { (exit 1); exit 1; }; } 1060 eval $ac_envvar=\$ac_optarg 1061 export $ac_envvar ;; 1062 1063 *) 1064 # FIXME: should be removed in autoconf 3.0. 1065 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1066 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1067 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1068 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1069 ;; 1070 1071 esac 1072done 1073 1074if test -n "$ac_prev"; then 1075 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1076 { echo "$as_me: error: missing argument to $ac_option" >&2 1077 { (exit 1); exit 1; }; } 1078fi 1079 1080# Be sure to have absolute directory names. 1081for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1082 datadir sysconfdir sharedstatedir localstatedir includedir \ 1083 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1084 libdir localedir mandir 1085do 1086 eval ac_val=\$$ac_var 1087 case $ac_val in 1088 [\\/$]* | ?:[\\/]* ) continue;; 1089 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1090 esac 1091 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1092 { (exit 1); exit 1; }; } 1093done 1094 1095# There might be people who depend on the old broken behavior: `$host' 1096# used to hold the argument of --host etc. 1097# FIXME: To remove some day. 1098build=$build_alias 1099host=$host_alias 1100target=$target_alias 1101 1102# FIXME: To remove some day. 1103if test "x$host_alias" != x; then 1104 if test "x$build_alias" = x; then 1105 cross_compiling=maybe 1106 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1107 If a cross compiler is detected then cross compile mode will be used." >&2 1108 elif test "x$build_alias" != "x$host_alias"; then 1109 cross_compiling=yes 1110 fi 1111fi 1112 1113ac_tool_prefix= 1114test -n "$host_alias" && ac_tool_prefix=$host_alias- 1115 1116test "$silent" = yes && exec 6>/dev/null 1117 1118 1119ac_pwd=`pwd` && test -n "$ac_pwd" && 1120ac_ls_di=`ls -di .` && 1121ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1122 { echo "$as_me: error: Working directory cannot be determined" >&2 1123 { (exit 1); exit 1; }; } 1124test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1125 { echo "$as_me: error: pwd does not report name of working directory" >&2 1126 { (exit 1); exit 1; }; } 1127 1128 1129# Find the source files, if location was not specified. 1130if test -z "$srcdir"; then 1131 ac_srcdir_defaulted=yes 1132 # Try the directory containing this script, then the parent directory. 1133 ac_confdir=`$as_dirname -- "$0" || 1134$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1135 X"$0" : 'X\(//\)[^/]' \| \ 1136 X"$0" : 'X\(//\)$' \| \ 1137 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1138echo X"$0" | 1139 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1140 s//\1/ 1141 q 1142 } 1143 /^X\(\/\/\)[^/].*/{ 1144 s//\1/ 1145 q 1146 } 1147 /^X\(\/\/\)$/{ 1148 s//\1/ 1149 q 1150 } 1151 /^X\(\/\).*/{ 1152 s//\1/ 1153 q 1154 } 1155 s/.*/./; q'` 1156 srcdir=$ac_confdir 1157 if test ! -r "$srcdir/$ac_unique_file"; then 1158 srcdir=.. 1159 fi 1160else 1161 ac_srcdir_defaulted=no 1162fi 1163if test ! -r "$srcdir/$ac_unique_file"; then 1164 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1165 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1166 { (exit 1); exit 1; }; } 1167fi 1168ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1169ac_abs_confdir=`( 1170 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1171 { (exit 1); exit 1; }; } 1172 pwd)` 1173# When building in place, set srcdir=. 1174if test "$ac_abs_confdir" = "$ac_pwd"; then 1175 srcdir=. 1176fi 1177# Remove unnecessary trailing slashes from srcdir. 1178# Double slashes in file names in object file debugging info 1179# mess up M-x gdb in Emacs. 1180case $srcdir in 1181*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1182esac 1183for ac_var in $ac_precious_vars; do 1184 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1185 eval ac_env_${ac_var}_value=\$${ac_var} 1186 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1187 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1188done 1189 1190# 1191# Report the --help message. 1192# 1193if test "$ac_init_help" = "long"; then 1194 # Omit some internal or obsolete options to make the list less imposing. 1195 # This message is too long to be a string in the A/UX 3.1 sh. 1196 cat <<_ACEOF 1197\`configure' configures dnshistory 1.3 to adapt to many kinds of systems. 1198 1199Usage: $0 [OPTION]... [VAR=VALUE]... 1200 1201To assign environment variables (e.g., CC, CFLAGS...), specify them as 1202VAR=VALUE. See below for descriptions of some of the useful variables. 1203 1204Defaults for the options are specified in brackets. 1205 1206Configuration: 1207 -h, --help display this help and exit 1208 --help=short display options specific to this package 1209 --help=recursive display the short help of all the included packages 1210 -V, --version display version information and exit 1211 -q, --quiet, --silent do not print \`checking...' messages 1212 --cache-file=FILE cache test results in FILE [disabled] 1213 -C, --config-cache alias for \`--cache-file=config.cache' 1214 -n, --no-create do not create output files 1215 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1216 1217Installation directories: 1218 --prefix=PREFIX install architecture-independent files in PREFIX 1219 [$ac_default_prefix] 1220 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1221 [PREFIX] 1222 1223By default, \`make install' will install all the files in 1224\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1225an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1226for instance \`--prefix=\$HOME'. 1227 1228For better control, use the options below. 1229 1230Fine tuning of the installation directories: 1231 --bindir=DIR user executables [EPREFIX/bin] 1232 --sbindir=DIR system admin executables [EPREFIX/sbin] 1233 --libexecdir=DIR program executables [EPREFIX/libexec] 1234 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1235 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1236 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1237 --libdir=DIR object code libraries [EPREFIX/lib] 1238 --includedir=DIR C header files [PREFIX/include] 1239 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1240 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1241 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1242 --infodir=DIR info documentation [DATAROOTDIR/info] 1243 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1244 --mandir=DIR man documentation [DATAROOTDIR/man] 1245 --docdir=DIR documentation root [DATAROOTDIR/doc/dnshistory] 1246 --htmldir=DIR html documentation [DOCDIR] 1247 --dvidir=DIR dvi documentation [DOCDIR] 1248 --pdfdir=DIR pdf documentation [DOCDIR] 1249 --psdir=DIR ps documentation [DOCDIR] 1250_ACEOF 1251 1252 cat <<\_ACEOF 1253 1254Program names: 1255 --program-prefix=PREFIX prepend PREFIX to installed program names 1256 --program-suffix=SUFFIX append SUFFIX to installed program names 1257 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1258_ACEOF 1259fi 1260 1261if test -n "$ac_init_help"; then 1262 case $ac_init_help in 1263 short | recursive ) echo "Configuration of dnshistory 1.3:";; 1264 esac 1265 cat <<\_ACEOF 1266 1267Optional Features: 1268 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1269 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1270 --disable-dependency-tracking speeds up one-time build 1271 --enable-dependency-tracking do not reject slow dependency extractors 1272 --enable-debug Turn on compiler debugging information (default=no) 1273 --enable-developer Turn on developer warnings and debugging 1274 (default=no) 1275 --enable-database-name=FILE 1276 Set the database name to use (default is 1277 dnshistory.db) 1278 --enable-database-dir=DIR 1279 Set the database directory to use (default is 1280 $localstatedir/lib/dnshistory) 1281 1282Optional Packages: 1283 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1284 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1285 --with-berkeley-db=DIR Alternate location for the Berkeley DB 1286 1287Some influential environment variables: 1288 CC C compiler command 1289 CFLAGS C compiler flags 1290 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1291 nonstandard directory <lib dir> 1292 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1293 you have headers in a nonstandard directory <include dir> 1294 CPP C preprocessor 1295 1296Use these variables to override the choices made by `configure' or to help 1297it to find libraries and programs with nonstandard names/locations. 1298 1299Report bugs to <spm@stedee.id.au>. 1300_ACEOF 1301ac_status=$? 1302fi 1303 1304if test "$ac_init_help" = "recursive"; then 1305 # If there are subdirs, report their specific --help. 1306 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1307 test -d "$ac_dir" || continue 1308 ac_builddir=. 1309 1310case "$ac_dir" in 1311.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1312*) 1313 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1314 # A ".." for each directory in $ac_dir_suffix. 1315 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1316 case $ac_top_builddir_sub in 1317 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1318 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1319 esac ;; 1320esac 1321ac_abs_top_builddir=$ac_pwd 1322ac_abs_builddir=$ac_pwd$ac_dir_suffix 1323# for backward compatibility: 1324ac_top_builddir=$ac_top_build_prefix 1325 1326case $srcdir in 1327 .) # We are building in place. 1328 ac_srcdir=. 1329 ac_top_srcdir=$ac_top_builddir_sub 1330 ac_abs_top_srcdir=$ac_pwd ;; 1331 [\\/]* | ?:[\\/]* ) # Absolute name. 1332 ac_srcdir=$srcdir$ac_dir_suffix; 1333 ac_top_srcdir=$srcdir 1334 ac_abs_top_srcdir=$srcdir ;; 1335 *) # Relative name. 1336 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1337 ac_top_srcdir=$ac_top_build_prefix$srcdir 1338 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1339esac 1340ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1341 1342 cd "$ac_dir" || { ac_status=$?; continue; } 1343 # Check for guested configure. 1344 if test -f "$ac_srcdir/configure.gnu"; then 1345 echo && 1346 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1347 elif test -f "$ac_srcdir/configure"; then 1348 echo && 1349 $SHELL "$ac_srcdir/configure" --help=recursive 1350 else 1351 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1352 fi || ac_status=$? 1353 cd "$ac_pwd" || { ac_status=$?; break; } 1354 done 1355fi 1356 1357test -n "$ac_init_help" && exit $ac_status 1358if $ac_init_version; then 1359 cat <<\_ACEOF 1360dnshistory configure 1.3 1361generated by GNU Autoconf 2.60 1362 1363Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 13642002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1365This configure script is free software; the Free Software Foundation 1366gives unlimited permission to copy, distribute and modify it. 1367_ACEOF 1368 exit 1369fi 1370cat >config.log <<_ACEOF 1371This file contains any messages produced by compilers while 1372running configure, to aid debugging if configure makes a mistake. 1373 1374It was created by dnshistory $as_me 1.3, which was 1375generated by GNU Autoconf 2.60. Invocation command line was 1376 1377 $ $0 $@ 1378 1379_ACEOF 1380exec 5>>config.log 1381{ 1382cat <<_ASUNAME 1383## --------- ## 1384## Platform. ## 1385## --------- ## 1386 1387hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1388uname -m = `(uname -m) 2>/dev/null || echo unknown` 1389uname -r = `(uname -r) 2>/dev/null || echo unknown` 1390uname -s = `(uname -s) 2>/dev/null || echo unknown` 1391uname -v = `(uname -v) 2>/dev/null || echo unknown` 1392 1393/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1394/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1395 1396/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1397/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1398/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1399/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1400/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1401/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1402/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1403 1404_ASUNAME 1405 1406as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1407for as_dir in $PATH 1408do 1409 IFS=$as_save_IFS 1410 test -z "$as_dir" && as_dir=. 1411 echo "PATH: $as_dir" 1412done 1413IFS=$as_save_IFS 1414 1415} >&5 1416 1417cat >&5 <<_ACEOF 1418 1419 1420## ----------- ## 1421## Core tests. ## 1422## ----------- ## 1423 1424_ACEOF 1425 1426 1427# Keep a trace of the command line. 1428# Strip out --no-create and --no-recursion so they do not pile up. 1429# Strip out --silent because we don't want to record it for future runs. 1430# Also quote any args containing shell meta-characters. 1431# Make two passes to allow for proper duplicate-argument suppression. 1432ac_configure_args= 1433ac_configure_args0= 1434ac_configure_args1= 1435ac_must_keep_next=false 1436for ac_pass in 1 2 1437do 1438 for ac_arg 1439 do 1440 case $ac_arg in 1441 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1442 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1443 | -silent | --silent | --silen | --sile | --sil) 1444 continue ;; 1445 *\'*) 1446 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1447 esac 1448 case $ac_pass in 1449 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1450 2) 1451 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1452 if test $ac_must_keep_next = true; then 1453 ac_must_keep_next=false # Got value, back to normal. 1454 else 1455 case $ac_arg in 1456 *=* | --config-cache | -C | -disable-* | --disable-* \ 1457 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1458 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1459 | -with-* | --with-* | -without-* | --without-* | --x) 1460 case "$ac_configure_args0 " in 1461 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1462 esac 1463 ;; 1464 -* ) ac_must_keep_next=true ;; 1465 esac 1466 fi 1467 ac_configure_args="$ac_configure_args '$ac_arg'" 1468 ;; 1469 esac 1470 done 1471done 1472$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1473$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1474 1475# When interrupted or exit'd, cleanup temporary files, and complete 1476# config.log. We remove comments because anyway the quotes in there 1477# would cause problems or look ugly. 1478# WARNING: Use '\'' to represent an apostrophe within the trap. 1479# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1480trap 'exit_status=$? 1481 # Save into config.log some information that might help in debugging. 1482 { 1483 echo 1484 1485 cat <<\_ASBOX 1486## ---------------- ## 1487## Cache variables. ## 1488## ---------------- ## 1489_ASBOX 1490 echo 1491 # The following way of writing the cache mishandles newlines in values, 1492( 1493 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1494 eval ac_val=\$$ac_var 1495 case $ac_val in #( 1496 *${as_nl}*) 1497 case $ac_var in #( 1498 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1499echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1500 esac 1501 case $ac_var in #( 1502 _ | IFS | as_nl) ;; #( 1503 *) $as_unset $ac_var ;; 1504 esac ;; 1505 esac 1506 done 1507 (set) 2>&1 | 1508 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1509 *${as_nl}ac_space=\ *) 1510 sed -n \ 1511 "s/'\''/'\''\\\\'\'''\''/g; 1512 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1513 ;; #( 1514 *) 1515 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1516 ;; 1517 esac | 1518 sort 1519) 1520 echo 1521 1522 cat <<\_ASBOX 1523## ----------------- ## 1524## Output variables. ## 1525## ----------------- ## 1526_ASBOX 1527 echo 1528 for ac_var in $ac_subst_vars 1529 do 1530 eval ac_val=\$$ac_var 1531 case $ac_val in 1532 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1533 esac 1534 echo "$ac_var='\''$ac_val'\''" 1535 done | sort 1536 echo 1537 1538 if test -n "$ac_subst_files"; then 1539 cat <<\_ASBOX 1540## ------------------- ## 1541## File substitutions. ## 1542## ------------------- ## 1543_ASBOX 1544 echo 1545 for ac_var in $ac_subst_files 1546 do 1547 eval ac_val=\$$ac_var 1548 case $ac_val in 1549 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1550 esac 1551 echo "$ac_var='\''$ac_val'\''" 1552 done | sort 1553 echo 1554 fi 1555 1556 if test -s confdefs.h; then 1557 cat <<\_ASBOX 1558## ----------- ## 1559## confdefs.h. ## 1560## ----------- ## 1561_ASBOX 1562 echo 1563 cat confdefs.h 1564 echo 1565 fi 1566 test "$ac_signal" != 0 && 1567 echo "$as_me: caught signal $ac_signal" 1568 echo "$as_me: exit $exit_status" 1569 } >&5 1570 rm -f core *.core core.conftest.* && 1571 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1572 exit $exit_status 1573' 0 1574for ac_signal in 1 2 13 15; do 1575 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1576done 1577ac_signal=0 1578 1579# confdefs.h avoids OS command line length limits that DEFS can exceed. 1580rm -f -r conftest* confdefs.h 1581 1582# Predefined preprocessor variables. 1583 1584cat >>confdefs.h <<_ACEOF 1585#define PACKAGE_NAME "$PACKAGE_NAME" 1586_ACEOF 1587 1588 1589cat >>confdefs.h <<_ACEOF 1590#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1591_ACEOF 1592 1593 1594cat >>confdefs.h <<_ACEOF 1595#define PACKAGE_VERSION "$PACKAGE_VERSION" 1596_ACEOF 1597 1598 1599cat >>confdefs.h <<_ACEOF 1600#define PACKAGE_STRING "$PACKAGE_STRING" 1601_ACEOF 1602 1603 1604cat >>confdefs.h <<_ACEOF 1605#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1606_ACEOF 1607 1608 1609# Let the site file select an alternate cache file if it wants to. 1610# Prefer explicitly selected file to automatically selected ones. 1611if test -n "$CONFIG_SITE"; then 1612 set x "$CONFIG_SITE" 1613elif test "x$prefix" != xNONE; then 1614 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1615else 1616 set x "$ac_default_prefix/share/config.site" \ 1617 "$ac_default_prefix/etc/config.site" 1618fi 1619shift 1620for ac_site_file 1621do 1622 if test -r "$ac_site_file"; then 1623 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1624echo "$as_me: loading site script $ac_site_file" >&6;} 1625 sed 's/^/| /' "$ac_site_file" >&5 1626 . "$ac_site_file" 1627 fi 1628done 1629 1630if test -r "$cache_file"; then 1631 # Some versions of bash will fail to source /dev/null (special 1632 # files actually), so we avoid doing that. 1633 if test -f "$cache_file"; then 1634 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1635echo "$as_me: loading cache $cache_file" >&6;} 1636 case $cache_file in 1637 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1638 *) . "./$cache_file";; 1639 esac 1640 fi 1641else 1642 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1643echo "$as_me: creating cache $cache_file" >&6;} 1644 >$cache_file 1645fi 1646 1647# Check that the precious variables saved in the cache have kept the same 1648# value. 1649ac_cache_corrupted=false 1650for ac_var in $ac_precious_vars; do 1651 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1652 eval ac_new_set=\$ac_env_${ac_var}_set 1653 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1654 eval ac_new_val=\$ac_env_${ac_var}_value 1655 case $ac_old_set,$ac_new_set in 1656 set,) 1657 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1658echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1659 ac_cache_corrupted=: ;; 1660 ,set) 1661 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1662echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1663 ac_cache_corrupted=: ;; 1664 ,);; 1665 *) 1666 if test "x$ac_old_val" != "x$ac_new_val"; then 1667 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1668echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1669 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1670echo "$as_me: former value: $ac_old_val" >&2;} 1671 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1672echo "$as_me: current value: $ac_new_val" >&2;} 1673 ac_cache_corrupted=: 1674 fi;; 1675 esac 1676 # Pass precious variables to config.status. 1677 if test "$ac_new_set" = set; then 1678 case $ac_new_val in 1679 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1680 *) ac_arg=$ac_var=$ac_new_val ;; 1681 esac 1682 case " $ac_configure_args " in 1683 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1684 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1685 esac 1686 fi 1687done 1688if $ac_cache_corrupted; then 1689 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1690echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1691 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1692echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1693 { (exit 1); exit 1; }; } 1694fi 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720ac_ext=c 1721ac_cpp='$CPP $CPPFLAGS' 1722ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1723ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1724ac_compiler_gnu=$ac_cv_c_compiler_gnu 1725 1726 1727 1728ac_aux_dir= 1729for ac_dir in config "$srcdir"/config; do 1730 if test -f "$ac_dir/install-sh"; then 1731 ac_aux_dir=$ac_dir 1732 ac_install_sh="$ac_aux_dir/install-sh -c" 1733 break 1734 elif test -f "$ac_dir/install.sh"; then 1735 ac_aux_dir=$ac_dir 1736 ac_install_sh="$ac_aux_dir/install.sh -c" 1737 break 1738 elif test -f "$ac_dir/shtool"; then 1739 ac_aux_dir=$ac_dir 1740 ac_install_sh="$ac_aux_dir/shtool install -c" 1741 break 1742 fi 1743done 1744if test -z "$ac_aux_dir"; then 1745 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5 1746echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;} 1747 { (exit 1); exit 1; }; } 1748fi 1749 1750# These three variables are undocumented and unsupported, 1751# and are intended to be withdrawn in a future Autoconf release. 1752# They can cause serious problems if a builder's source tree is in a directory 1753# whose full name contains unusual characters. 1754ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1755ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1756ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1757 1758 1759ac_config_headers="$ac_config_headers src/config.h:src/config-h.in" 1760 1761am__api_version="1.9" 1762# Find a good install program. We prefer a C program (faster), 1763# so one script is as good as another. But avoid the broken or 1764# incompatible versions: 1765# SysV /etc/install, /usr/sbin/install 1766# SunOS /usr/etc/install 1767# IRIX /sbin/install 1768# AIX /bin/install 1769# AmigaOS /C/install, which installs bootblocks on floppy discs 1770# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1771# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1772# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1773# OS/2's system install, which has a completely different semantic 1774# ./install, which can be erroneously created by make from ./install.sh. 1775{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1776echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 1777if test -z "$INSTALL"; then 1778if test "${ac_cv_path_install+set}" = set; then 1779 echo $ECHO_N "(cached) $ECHO_C" >&6 1780else 1781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1782for as_dir in $PATH 1783do 1784 IFS=$as_save_IFS 1785 test -z "$as_dir" && as_dir=. 1786 # Account for people who put trailing slashes in PATH elements. 1787case $as_dir/ in 1788 ./ | .// | /cC/* | \ 1789 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1790 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1791 /usr/ucb/* ) ;; 1792 *) 1793 # OSF1 and SCO ODT 3.0 have their own names for install. 1794 # Don't use installbsd from OSF since it installs stuff as root 1795 # by default. 1796 for ac_prog in ginstall scoinst install; do 1797 for ac_exec_ext in '' $ac_executable_extensions; do 1798 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then 1799 if test $ac_prog = install && 1800 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1801 # AIX install. It has an incompatible calling convention. 1802 : 1803 elif test $ac_prog = install && 1804 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1805 # program-specific install script used by HP pwplus--don't use. 1806 : 1807 else 1808 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1809 break 3 1810 fi 1811 fi 1812 done 1813 done 1814 ;; 1815esac 1816done 1817IFS=$as_save_IFS 1818 1819 1820fi 1821 if test "${ac_cv_path_install+set}" = set; then 1822 INSTALL=$ac_cv_path_install 1823 else 1824 # As a last resort, use the slow shell script. Don't cache a 1825 # value for INSTALL within a source directory, because that will 1826 # break other packages using the cache if that directory is 1827 # removed, or if the value is a relative name. 1828 INSTALL=$ac_install_sh 1829 fi 1830fi 1831{ echo "$as_me:$LINENO: result: $INSTALL" >&5 1832echo "${ECHO_T}$INSTALL" >&6; } 1833 1834# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1835# It thinks the first close brace ends the variable substitution. 1836test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1837 1838test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1839 1840test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1841 1842{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 1843echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } 1844# Just in case 1845sleep 1 1846echo timestamp > conftest.file 1847# Do `set' in a subshell so we don't clobber the current shell's 1848# arguments. Must try -L first in case configure is actually a 1849# symlink; some systems play weird games with the mod time of symlinks 1850# (eg FreeBSD returns the mod time of the symlink's containing 1851# directory). 1852if ( 1853 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1854 if test "$*" = "X"; then 1855 # -L didn't work. 1856 set X `ls -t $srcdir/configure conftest.file` 1857 fi 1858 rm -f conftest.file 1859 if test "$*" != "X $srcdir/configure conftest.file" \ 1860 && test "$*" != "X conftest.file $srcdir/configure"; then 1861 1862 # If neither matched, then we have a broken ls. This can happen 1863 # if, for instance, CONFIG_SHELL is bash and it inherits a 1864 # broken ls alias from the environment. This has actually 1865 # happened. Such a system could not be considered "sane". 1866 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 1867alias in your environment" >&5 1868echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1869alias in your environment" >&2;} 1870 { (exit 1); exit 1; }; } 1871 fi 1872 1873 test "$2" = conftest.file 1874 ) 1875then 1876 # Ok. 1877 : 1878else 1879 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 1880Check your system clock" >&5 1881echo "$as_me: error: newly created file is older than distributed files! 1882Check your system clock" >&2;} 1883 { (exit 1); exit 1; }; } 1884fi 1885{ echo "$as_me:$LINENO: result: yes" >&5 1886echo "${ECHO_T}yes" >&6; } 1887test "$program_prefix" != NONE && 1888 program_transform_name="s&^&$program_prefix&;$program_transform_name" 1889# Use a double $ so make ignores it. 1890test "$program_suffix" != NONE && 1891 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 1892# Double any \ or $. echo might interpret backslashes. 1893# By default was `s,x,x', remove it if useless. 1894cat <<\_ACEOF >conftest.sed 1895s/[\\$]/&&/g;s/;s,x,x,$// 1896_ACEOF 1897program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1898rm -f conftest.sed 1899 1900# expand $ac_aux_dir to an absolute path 1901am_aux_dir=`cd $ac_aux_dir && pwd` 1902 1903test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1904# Use eval to expand $SHELL 1905if eval "$MISSING --run true"; then 1906 am_missing_run="$MISSING --run " 1907else 1908 am_missing_run= 1909 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1910echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1911fi 1912 1913if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 1914 # We used to keeping the `.' as first argument, in order to 1915 # allow $(mkdir_p) to be used without argument. As in 1916 # $(mkdir_p) $(somedir) 1917 # where $(somedir) is conditionally defined. However this is wrong 1918 # for two reasons: 1919 # 1. if the package is installed by a user who cannot write `.' 1920 # make install will fail, 1921 # 2. the above comment should most certainly read 1922 # $(mkdir_p) $(DESTDIR)$(somedir) 1923 # so it does not work when $(somedir) is undefined and 1924 # $(DESTDIR) is not. 1925 # To support the latter case, we have to write 1926 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), 1927 # so the `.' trick is pointless. 1928 mkdir_p='mkdir -p --' 1929else 1930 # On NextStep and OpenStep, the `mkdir' command does not 1931 # recognize any option. It will interpret all options as 1932 # directories to create, and then abort because `.' already 1933 # exists. 1934 for d in ./-p ./--version; 1935 do 1936 test -d $d && rmdir $d 1937 done 1938 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 1939 if test -f "$ac_aux_dir/mkinstalldirs"; then 1940 mkdir_p='$(mkinstalldirs)' 1941 else 1942 mkdir_p='$(install_sh) -d' 1943 fi 1944fi 1945 1946for ac_prog in gawk mawk nawk awk 1947do 1948 # Extract the first word of "$ac_prog", so it can be a program name with args. 1949set dummy $ac_prog; ac_word=$2 1950{ echo "$as_me:$LINENO: checking for $ac_word" >&5 1951echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1952if test "${ac_cv_prog_AWK+set}" = set; then 1953 echo $ECHO_N "(cached) $ECHO_C" >&6 1954else 1955 if test -n "$AWK"; then 1956 ac_cv_prog_AWK="$AWK" # Let the user override the test. 1957else 1958as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1959for as_dir in $PATH 1960do 1961 IFS=$as_save_IFS 1962 test -z "$as_dir" && as_dir=. 1963 for ac_exec_ext in '' $ac_executable_extensions; do 1964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 1965 ac_cv_prog_AWK="$ac_prog" 1966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1967 break 2 1968 fi 1969done 1970done 1971IFS=$as_save_IFS 1972 1973fi 1974fi 1975AWK=$ac_cv_prog_AWK 1976if test -n "$AWK"; then 1977 { echo "$as_me:$LINENO: result: $AWK" >&5 1978echo "${ECHO_T}$AWK" >&6; } 1979else 1980 { echo "$as_me:$LINENO: result: no" >&5 1981echo "${ECHO_T}no" >&6; } 1982fi 1983 1984 1985 test -n "$AWK" && break 1986done 1987 1988{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1989echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 1990set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 1991if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 1992 echo $ECHO_N "(cached) $ECHO_C" >&6 1993else 1994 cat >conftest.make <<\_ACEOF 1995SHELL = /bin/sh 1996all: 1997 @echo '@@@%%%=$(MAKE)=@@@%%%' 1998_ACEOF 1999# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2000case `${MAKE-make} -f conftest.make 2>/dev/null` in 2001 *@@@%%%=?*=@@@%%%*) 2002 eval ac_cv_prog_make_${ac_make}_set=yes;; 2003 *) 2004 eval ac_cv_prog_make_${ac_make}_set=no;; 2005esac 2006rm -f conftest.make 2007fi 2008if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2009 { echo "$as_me:$LINENO: result: yes" >&5 2010echo "${ECHO_T}yes" >&6; } 2011 SET_MAKE= 2012else 2013 { echo "$as_me:$LINENO: result: no" >&5 2014echo "${ECHO_T}no" >&6; } 2015 SET_MAKE="MAKE=${MAKE-make}" 2016fi 2017 2018rm -rf .tst 2>/dev/null 2019mkdir .tst 2>/dev/null 2020if test -d .tst; then 2021 am__leading_dot=. 2022else 2023 am__leading_dot=_ 2024fi 2025rmdir .tst 2>/dev/null 2026 2027# test to see if srcdir already configured 2028if test "`cd $srcdir && pwd`" != "`pwd`" && 2029 test -f $srcdir/config.status; then 2030 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2031echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2032 { (exit 1); exit 1; }; } 2033fi 2034 2035# test whether we have cygpath 2036if test -z "$CYGPATH_W"; then 2037 if (cygpath --version) >/dev/null 2>/dev/null; then 2038 CYGPATH_W='cygpath -w' 2039 else 2040 CYGPATH_W=echo 2041 fi 2042fi 2043 2044 2045# Define the identity of the package. 2046 PACKAGE='dnshistory' 2047 VERSION='1.3' 2048 2049 2050cat >>confdefs.h <<_ACEOF 2051#define PACKAGE "$PACKAGE" 2052_ACEOF 2053 2054 2055cat >>confdefs.h <<_ACEOF 2056#define VERSION "$VERSION" 2057_ACEOF 2058 2059# Some tools Automake needs. 2060 2061ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2062 2063 2064AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2065 2066 2067AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2068 2069 2070AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2071 2072 2073MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2074 2075install_sh=${install_sh-"$am_aux_dir/install-sh"} 2076 2077# Installed binaries are usually stripped using `strip' when the user 2078# run `make install-strip'. However `strip' might not be the right 2079# tool to use in cross-compilation environments, therefore Automake 2080# will honor the `STRIP' environment variable to overrule this program. 2081if test "$cross_compiling" != no; then 2082 if test -n "$ac_tool_prefix"; then 2083 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2084set dummy ${ac_tool_prefix}strip; ac_word=$2 2085{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2086echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2087if test "${ac_cv_prog_STRIP+set}" = set; then 2088 echo $ECHO_N "(cached) $ECHO_C" >&6 2089else 2090 if test -n "$STRIP"; then 2091 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2092else 2093as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2094for as_dir in $PATH 2095do 2096 IFS=$as_save_IFS 2097 test -z "$as_dir" && as_dir=. 2098 for ac_exec_ext in '' $ac_executable_extensions; do 2099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2100 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2102 break 2 2103 fi 2104done 2105done 2106IFS=$as_save_IFS 2107 2108fi 2109fi 2110STRIP=$ac_cv_prog_STRIP 2111if test -n "$STRIP"; then 2112 { echo "$as_me:$LINENO: result: $STRIP" >&5 2113echo "${ECHO_T}$STRIP" >&6; } 2114else 2115 { echo "$as_me:$LINENO: result: no" >&5 2116echo "${ECHO_T}no" >&6; } 2117fi 2118 2119 2120fi 2121if test -z "$ac_cv_prog_STRIP"; then 2122 ac_ct_STRIP=$STRIP 2123 # Extract the first word of "strip", so it can be a program name with args. 2124set dummy strip; ac_word=$2 2125{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2126echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2127if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2128 echo $ECHO_N "(cached) $ECHO_C" >&6 2129else 2130 if test -n "$ac_ct_STRIP"; then 2131 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2132else 2133as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2134for as_dir in $PATH 2135do 2136 IFS=$as_save_IFS 2137 test -z "$as_dir" && as_dir=. 2138 for ac_exec_ext in '' $ac_executable_extensions; do 2139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2140 ac_cv_prog_ac_ct_STRIP="strip" 2141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2142 break 2 2143 fi 2144done 2145done 2146IFS=$as_save_IFS 2147 2148fi 2149fi 2150ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2151if test -n "$ac_ct_STRIP"; then 2152 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2153echo "${ECHO_T}$ac_ct_STRIP" >&6; } 2154else 2155 { echo "$as_me:$LINENO: result: no" >&5 2156echo "${ECHO_T}no" >&6; } 2157fi 2158 2159 if test "x$ac_ct_STRIP" = x; then 2160 STRIP=":" 2161 else 2162 case $cross_compiling:$ac_tool_warned in 2163yes:) 2164{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2165whose name does not start with the host triplet. If you think this 2166configuration is useful to you, please write to autoconf@gnu.org." >&5 2167echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2168whose name does not start with the host triplet. If you think this 2169configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2170ac_tool_warned=yes ;; 2171esac 2172 STRIP=$ac_ct_STRIP 2173 fi 2174else 2175 STRIP="$ac_cv_prog_STRIP" 2176fi 2177 2178fi 2179INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 2180 2181# We need awk for the "check" target. The system "awk" is bad on 2182# some platforms. 2183# Always define AMTAR for backward compatibility. 2184 2185AMTAR=${AMTAR-"${am_missing_run}tar"} 2186 2187am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2188 2189 2190 2191 2192 2193 2194 2195 2196OLD_CFLAGS=${CFLAGS} 2197ac_ext=c 2198ac_cpp='$CPP $CPPFLAGS' 2199ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2200ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2201ac_compiler_gnu=$ac_cv_c_compiler_gnu 2202if test -n "$ac_tool_prefix"; then 2203 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2204set dummy ${ac_tool_prefix}gcc; ac_word=$2 2205{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2206echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2207if test "${ac_cv_prog_CC+set}" = set; then 2208 echo $ECHO_N "(cached) $ECHO_C" >&6 2209else 2210 if test -n "$CC"; then 2211 ac_cv_prog_CC="$CC" # Let the user override the test. 2212else 2213as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2214for as_dir in $PATH 2215do 2216 IFS=$as_save_IFS 2217 test -z "$as_dir" && as_dir=. 2218 for ac_exec_ext in '' $ac_executable_extensions; do 2219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2220 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2222 break 2 2223 fi 2224done 2225done 2226IFS=$as_save_IFS 2227 2228fi 2229fi 2230CC=$ac_cv_prog_CC 2231if test -n "$CC"; then 2232 { echo "$as_me:$LINENO: result: $CC" >&5 2233echo "${ECHO_T}$CC" >&6; } 2234else 2235 { echo "$as_me:$LINENO: result: no" >&5 2236echo "${ECHO_T}no" >&6; } 2237fi 2238 2239 2240fi 2241if test -z "$ac_cv_prog_CC"; then 2242 ac_ct_CC=$CC 2243 # Extract the first word of "gcc", so it can be a program name with args. 2244set dummy gcc; ac_word=$2 2245{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2246echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2247if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2248 echo $ECHO_N "(cached) $ECHO_C" >&6 2249else 2250 if test -n "$ac_ct_CC"; then 2251 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2252else 2253as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2254for as_dir in $PATH 2255do 2256 IFS=$as_save_IFS 2257 test -z "$as_dir" && as_dir=. 2258 for ac_exec_ext in '' $ac_executable_extensions; do 2259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2260 ac_cv_prog_ac_ct_CC="gcc" 2261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2262 break 2 2263 fi 2264done 2265done 2266IFS=$as_save_IFS 2267 2268fi 2269fi 2270ac_ct_CC=$ac_cv_prog_ac_ct_CC 2271if test -n "$ac_ct_CC"; then 2272 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2273echo "${ECHO_T}$ac_ct_CC" >&6; } 2274else 2275 { echo "$as_me:$LINENO: result: no" >&5 2276echo "${ECHO_T}no" >&6; } 2277fi 2278 2279 if test "x$ac_ct_CC" = x; then 2280 CC="" 2281 else 2282 case $cross_compiling:$ac_tool_warned in 2283yes:) 2284{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2285whose name does not start with the host triplet. If you think this 2286configuration is useful to you, please write to autoconf@gnu.org." >&5 2287echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2288whose name does not start with the host triplet. If you think this 2289configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2290ac_tool_warned=yes ;; 2291esac 2292 CC=$ac_ct_CC 2293 fi 2294else 2295 CC="$ac_cv_prog_CC" 2296fi 2297 2298if test -z "$CC"; then 2299 if test -n "$ac_tool_prefix"; then 2300 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2301set dummy ${ac_tool_prefix}cc; ac_word=$2 2302{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2303echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2304if test "${ac_cv_prog_CC+set}" = set; then 2305 echo $ECHO_N "(cached) $ECHO_C" >&6 2306else 2307 if test -n "$CC"; then 2308 ac_cv_prog_CC="$CC" # Let the user override the test. 2309else 2310as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2311for as_dir in $PATH 2312do 2313 IFS=$as_save_IFS 2314 test -z "$as_dir" && as_dir=. 2315 for ac_exec_ext in '' $ac_executable_extensions; do 2316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2317 ac_cv_prog_CC="${ac_tool_prefix}cc" 2318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2319 break 2 2320 fi 2321done 2322done 2323IFS=$as_save_IFS 2324 2325fi 2326fi 2327CC=$ac_cv_prog_CC 2328if test -n "$CC"; then 2329 { echo "$as_me:$LINENO: result: $CC" >&5 2330echo "${ECHO_T}$CC" >&6; } 2331else 2332 { echo "$as_me:$LINENO: result: no" >&5 2333echo "${ECHO_T}no" >&6; } 2334fi 2335 2336 2337 fi 2338fi 2339if test -z "$CC"; then 2340 # Extract the first word of "cc", so it can be a program name with args. 2341set dummy cc; ac_word=$2 2342{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2343echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2344if test "${ac_cv_prog_CC+set}" = set; then 2345 echo $ECHO_N "(cached) $ECHO_C" >&6 2346else 2347 if test -n "$CC"; then 2348 ac_cv_prog_CC="$CC" # Let the user override the test. 2349else 2350 ac_prog_rejected=no 2351as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2352for as_dir in $PATH 2353do 2354 IFS=$as_save_IFS 2355 test -z "$as_dir" && as_dir=. 2356 for ac_exec_ext in '' $ac_executable_extensions; do 2357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2358 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2359 ac_prog_rejected=yes 2360 continue 2361 fi 2362 ac_cv_prog_CC="cc" 2363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2364 break 2 2365 fi 2366done 2367done 2368IFS=$as_save_IFS 2369 2370if test $ac_prog_rejected = yes; then 2371 # We found a bogon in the path, so make sure we never use it. 2372 set dummy $ac_cv_prog_CC 2373 shift 2374 if test $# != 0; then 2375 # We chose a different compiler from the bogus one. 2376 # However, it has the same basename, so the bogon will be chosen 2377 # first if we set CC to just the basename; use the full file name. 2378 shift 2379 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2380 fi 2381fi 2382fi 2383fi 2384CC=$ac_cv_prog_CC 2385if test -n "$CC"; then 2386 { echo "$as_me:$LINENO: result: $CC" >&5 2387echo "${ECHO_T}$CC" >&6; } 2388else 2389 { echo "$as_me:$LINENO: result: no" >&5 2390echo "${ECHO_T}no" >&6; } 2391fi 2392 2393 2394fi 2395if test -z "$CC"; then 2396 if test -n "$ac_tool_prefix"; then 2397 for ac_prog in cl.exe 2398 do 2399 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2400set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2401{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2402echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2403if test "${ac_cv_prog_CC+set}" = set; then 2404 echo $ECHO_N "(cached) $ECHO_C" >&6 2405else 2406 if test -n "$CC"; then 2407 ac_cv_prog_CC="$CC" # Let the user override the test. 2408else 2409as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2410for as_dir in $PATH 2411do 2412 IFS=$as_save_IFS 2413 test -z "$as_dir" && as_dir=. 2414 for ac_exec_ext in '' $ac_executable_extensions; do 2415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2416 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2418 break 2 2419 fi 2420done 2421done 2422IFS=$as_save_IFS 2423 2424fi 2425fi 2426CC=$ac_cv_prog_CC 2427if test -n "$CC"; then 2428 { echo "$as_me:$LINENO: result: $CC" >&5 2429echo "${ECHO_T}$CC" >&6; } 2430else 2431 { echo "$as_me:$LINENO: result: no" >&5 2432echo "${ECHO_T}no" >&6; } 2433fi 2434 2435 2436 test -n "$CC" && break 2437 done 2438fi 2439if test -z "$CC"; then 2440 ac_ct_CC=$CC 2441 for ac_prog in cl.exe 2442do 2443 # Extract the first word of "$ac_prog", so it can be a program name with args. 2444set dummy $ac_prog; ac_word=$2 2445{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2446echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2447if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2448 echo $ECHO_N "(cached) $ECHO_C" >&6 2449else 2450 if test -n "$ac_ct_CC"; then 2451 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2452else 2453as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2454for as_dir in $PATH 2455do 2456 IFS=$as_save_IFS 2457 test -z "$as_dir" && as_dir=. 2458 for ac_exec_ext in '' $ac_executable_extensions; do 2459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2460 ac_cv_prog_ac_ct_CC="$ac_prog" 2461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2462 break 2 2463 fi 2464done 2465done 2466IFS=$as_save_IFS 2467 2468fi 2469fi 2470ac_ct_CC=$ac_cv_prog_ac_ct_CC 2471if test -n "$ac_ct_CC"; then 2472 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2473echo "${ECHO_T}$ac_ct_CC" >&6; } 2474else 2475 { echo "$as_me:$LINENO: result: no" >&5 2476echo "${ECHO_T}no" >&6; } 2477fi 2478 2479 2480 test -n "$ac_ct_CC" && break 2481done 2482 2483 if test "x$ac_ct_CC" = x; then 2484 CC="" 2485 else 2486 case $cross_compiling:$ac_tool_warned in 2487yes:) 2488{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2489whose name does not start with the host triplet. If you think this 2490configuration is useful to you, please write to autoconf@gnu.org." >&5 2491echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2492whose name does not start with the host triplet. If you think this 2493configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2494ac_tool_warned=yes ;; 2495esac 2496 CC=$ac_ct_CC 2497 fi 2498fi 2499 2500fi 2501 2502 2503test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2504See \`config.log' for more details." >&5 2505echo "$as_me: error: no acceptable C compiler found in \$PATH 2506See \`config.log' for more details." >&2;} 2507 { (exit 1); exit 1; }; } 2508 2509# Provide some information about the compiler. 2510echo "$as_me:$LINENO: checking for C compiler version" >&5 2511ac_compiler=`set X $ac_compile; echo $2` 2512{ (ac_try="$ac_compiler --version >&5" 2513case "(($ac_try" in 2514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2515 *) ac_try_echo=$ac_try;; 2516esac 2517eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2518 (eval "$ac_compiler --version >&5") 2>&5 2519 ac_status=$? 2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2521 (exit $ac_status); } 2522{ (ac_try="$ac_compiler -v >&5" 2523case "(($ac_try" in 2524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2525 *) ac_try_echo=$ac_try;; 2526esac 2527eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2528 (eval "$ac_compiler -v >&5") 2>&5 2529 ac_status=$? 2530 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2531 (exit $ac_status); } 2532{ (ac_try="$ac_compiler -V >&5" 2533case "(($ac_try" in 2534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2535 *) ac_try_echo=$ac_try;; 2536esac 2537eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2538 (eval "$ac_compiler -V >&5") 2>&5 2539 ac_status=$? 2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2541 (exit $ac_status); } 2542 2543cat >conftest.$ac_ext <<_ACEOF 2544/* confdefs.h. */ 2545_ACEOF 2546cat confdefs.h >>conftest.$ac_ext 2547cat >>conftest.$ac_ext <<_ACEOF 2548/* end confdefs.h. */ 2549 2550int 2551main () 2552{ 2553 2554 ; 2555 return 0; 2556} 2557_ACEOF 2558ac_clean_files_save=$ac_clean_files 2559ac_clean_files="$ac_clean_files a.out a.exe b.out" 2560# Try to create an executable without -o first, disregard a.out. 2561# It will help us diagnose broken compilers, and finding out an intuition 2562# of exeext. 2563{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2564echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2565ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2566# 2567# List of possible output files, starting from the most likely. 2568# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2569# only as a last resort. b.out is created by i960 compilers. 2570ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2571# 2572# The IRIX 6 linker writes into existing files which may not be 2573# executable, retaining their permissions. Remove them first so a 2574# subsequent execution test works. 2575ac_rmfiles= 2576for ac_file in $ac_files 2577do 2578 case $ac_file in 2579 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2580 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2581 esac 2582done 2583rm -f $ac_rmfiles 2584 2585if { (ac_try="$ac_link_default" 2586case "(($ac_try" in 2587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2588 *) ac_try_echo=$ac_try;; 2589esac 2590eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2591 (eval "$ac_link_default") 2>&5 2592 ac_status=$? 2593 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2594 (exit $ac_status); }; then 2595 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2596# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2597# in a Makefile. We should not override ac_cv_exeext if it was cached, 2598# so that the user can short-circuit this test for compilers unknown to 2599# Autoconf. 2600for ac_file in $ac_files 2601do 2602 test -f "$ac_file" || continue 2603 case $ac_file in 2604 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 2605 ;; 2606 [ab].out ) 2607 # We found the default executable, but exeext='' is most 2608 # certainly right. 2609 break;; 2610 *.* ) 2611 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2612 then :; else 2613 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2614 fi 2615 # We set ac_cv_exeext here because the later test for it is not 2616 # safe: cross compilers may not add the suffix if given an `-o' 2617 # argument, so we may need to know it at that point already. 2618 # Even if this section looks crufty: it has the advantage of 2619 # actually working. 2620 break;; 2621 * ) 2622 break;; 2623 esac 2624done 2625test "$ac_cv_exeext" = no && ac_cv_exeext= 2626 2627else 2628 echo "$as_me: failed program was:" >&5 2629sed 's/^/| /' conftest.$ac_ext >&5 2630 2631{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 2632See \`config.log' for more details." >&5 2633echo "$as_me: error: C compiler cannot create executables 2634See \`config.log' for more details." >&2;} 2635 { (exit 77); exit 77; }; } 2636fi 2637 2638ac_exeext=$ac_cv_exeext 2639{ echo "$as_me:$LINENO: result: $ac_file" >&5 2640echo "${ECHO_T}$ac_file" >&6; } 2641 2642# Check that the compiler produces executables we can run. If not, either 2643# the compiler is broken, or we cross compile. 2644{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2645echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2646# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2647# If not cross compiling, check that we can run a simple program. 2648if test "$cross_compiling" != yes; then 2649 if { ac_try='./$ac_file' 2650 { (case "(($ac_try" in 2651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2652 *) ac_try_echo=$ac_try;; 2653esac 2654eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2655 (eval "$ac_try") 2>&5 2656 ac_status=$? 2657 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2658 (exit $ac_status); }; }; then 2659 cross_compiling=no 2660 else 2661 if test "$cross_compiling" = maybe; then 2662 cross_compiling=yes 2663 else 2664 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2665If you meant to cross compile, use \`--host'. 2666See \`config.log' for more details." >&5 2667echo "$as_me: error: cannot run C compiled programs. 2668If you meant to cross compile, use \`--host'. 2669See \`config.log' for more details." >&2;} 2670 { (exit 1); exit 1; }; } 2671 fi 2672 fi 2673fi 2674{ echo "$as_me:$LINENO: result: yes" >&5 2675echo "${ECHO_T}yes" >&6; } 2676 2677rm -f a.out a.exe conftest$ac_cv_exeext b.out 2678ac_clean_files=$ac_clean_files_save 2679# Check that the compiler produces executables we can run. If not, either 2680# the compiler is broken, or we cross compile. 2681{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2682echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2683{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 2684echo "${ECHO_T}$cross_compiling" >&6; } 2685 2686{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 2687echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2688if { (ac_try="$ac_link" 2689case "(($ac_try" in 2690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2691 *) ac_try_echo=$ac_try;; 2692esac 2693eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2694 (eval "$ac_link") 2>&5 2695 ac_status=$? 2696 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2697 (exit $ac_status); }; then 2698 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2699# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2700# work properly (i.e., refer to `conftest.exe'), while it won't with 2701# `rm'. 2702for ac_file in conftest.exe conftest conftest.*; do 2703 test -f "$ac_file" || continue 2704 case $ac_file in 2705 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2706 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2707 break;; 2708 * ) break;; 2709 esac 2710done 2711else 2712 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2713See \`config.log' for more details." >&5 2714echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2715See \`config.log' for more details." >&2;} 2716 { (exit 1); exit 1; }; } 2717fi 2718 2719rm -f conftest$ac_cv_exeext 2720{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2721echo "${ECHO_T}$ac_cv_exeext" >&6; } 2722 2723rm -f conftest.$ac_ext 2724EXEEXT=$ac_cv_exeext 2725ac_exeext=$EXEEXT 2726{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 2727echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2728if test "${ac_cv_objext+set}" = set; then 2729 echo $ECHO_N "(cached) $ECHO_C" >&6 2730else 2731 cat >conftest.$ac_ext <<_ACEOF 2732/* confdefs.h. */ 2733_ACEOF 2734cat confdefs.h >>conftest.$ac_ext 2735cat >>conftest.$ac_ext <<_ACEOF 2736/* end confdefs.h. */ 2737 2738int 2739main () 2740{ 2741 2742 ; 2743 return 0; 2744} 2745_ACEOF 2746rm -f conftest.o conftest.obj 2747if { (ac_try="$ac_compile" 2748case "(($ac_try" in 2749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2750 *) ac_try_echo=$ac_try;; 2751esac 2752eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2753 (eval "$ac_compile") 2>&5 2754 ac_status=$? 2755 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2756 (exit $ac_status); }; then 2757 for ac_file in conftest.o conftest.obj conftest.*; do 2758 test -f "$ac_file" || continue; 2759 case $ac_file in 2760 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 2761 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2762 break;; 2763 esac 2764done 2765else 2766 echo "$as_me: failed program was:" >&5 2767sed 's/^/| /' conftest.$ac_ext >&5 2768 2769{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2770See \`config.log' for more details." >&5 2771echo "$as_me: error: cannot compute suffix of object files: cannot compile 2772See \`config.log' for more details." >&2;} 2773 { (exit 1); exit 1; }; } 2774fi 2775 2776rm -f conftest.$ac_cv_objext conftest.$ac_ext 2777fi 2778{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2779echo "${ECHO_T}$ac_cv_objext" >&6; } 2780OBJEXT=$ac_cv_objext 2781ac_objext=$OBJEXT 2782{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2783echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2784if test "${ac_cv_c_compiler_gnu+set}" = set; then 2785 echo $ECHO_N "(cached) $ECHO_C" >&6 2786else 2787 cat >conftest.$ac_ext <<_ACEOF 2788/* confdefs.h. */ 2789_ACEOF 2790cat confdefs.h >>conftest.$ac_ext 2791cat >>conftest.$ac_ext <<_ACEOF 2792/* end confdefs.h. */ 2793 2794int 2795main () 2796{ 2797#ifndef __GNUC__ 2798 choke me 2799#endif 2800 2801 ; 2802 return 0; 2803} 2804_ACEOF 2805rm -f conftest.$ac_objext 2806if { (ac_try="$ac_compile" 2807case "(($ac_try" in 2808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2809 *) ac_try_echo=$ac_try;; 2810esac 2811eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2812 (eval "$ac_compile") 2>conftest.er1 2813 ac_status=$? 2814 grep -v '^ *+' conftest.er1 >conftest.err 2815 rm -f conftest.er1 2816 cat conftest.err >&5 2817 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2818 (exit $ac_status); } && 2819 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2820 { (case "(($ac_try" in 2821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2822 *) ac_try_echo=$ac_try;; 2823esac 2824eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2825 (eval "$ac_try") 2>&5 2826 ac_status=$? 2827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2828 (exit $ac_status); }; } && 2829 { ac_try='test -s conftest.$ac_objext' 2830 { (case "(($ac_try" in 2831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2832 *) ac_try_echo=$ac_try;; 2833esac 2834eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2835 (eval "$ac_try") 2>&5 2836 ac_status=$? 2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2838 (exit $ac_status); }; }; then 2839 ac_compiler_gnu=yes 2840else 2841 echo "$as_me: failed program was:" >&5 2842sed 's/^/| /' conftest.$ac_ext >&5 2843 2844 ac_compiler_gnu=no 2845fi 2846 2847rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2848ac_cv_c_compiler_gnu=$ac_compiler_gnu 2849 2850fi 2851{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2852echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2853GCC=`test $ac_compiler_gnu = yes && echo yes` 2854ac_test_CFLAGS=${CFLAGS+set} 2855ac_save_CFLAGS=$CFLAGS 2856{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2857echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2858if test "${ac_cv_prog_cc_g+set}" = set; then 2859 echo $ECHO_N "(cached) $ECHO_C" >&6 2860else 2861 ac_save_c_werror_flag=$ac_c_werror_flag 2862 ac_c_werror_flag=yes 2863 ac_cv_prog_cc_g=no 2864 CFLAGS="-g" 2865 cat >conftest.$ac_ext <<_ACEOF 2866/* confdefs.h. */ 2867_ACEOF 2868cat confdefs.h >>conftest.$ac_ext 2869cat >>conftest.$ac_ext <<_ACEOF 2870/* end confdefs.h. */ 2871 2872int 2873main () 2874{ 2875 2876 ; 2877 return 0; 2878} 2879_ACEOF 2880rm -f conftest.$ac_objext 2881if { (ac_try="$ac_compile" 2882case "(($ac_try" in 2883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2884 *) ac_try_echo=$ac_try;; 2885esac 2886eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2887 (eval "$ac_compile") 2>conftest.er1 2888 ac_status=$? 2889 grep -v '^ *+' conftest.er1 >conftest.err 2890 rm -f conftest.er1 2891 cat conftest.err >&5 2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2893 (exit $ac_status); } && 2894 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2895 { (case "(($ac_try" in 2896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2897 *) ac_try_echo=$ac_try;; 2898esac 2899eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2900 (eval "$ac_try") 2>&5 2901 ac_status=$? 2902 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2903 (exit $ac_status); }; } && 2904 { ac_try='test -s conftest.$ac_objext' 2905 { (case "(($ac_try" in 2906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2907 *) ac_try_echo=$ac_try;; 2908esac 2909eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2910 (eval "$ac_try") 2>&5 2911 ac_status=$? 2912 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2913 (exit $ac_status); }; }; then 2914 ac_cv_prog_cc_g=yes 2915else 2916 echo "$as_me: failed program was:" >&5 2917sed 's/^/| /' conftest.$ac_ext >&5 2918 2919 CFLAGS="" 2920 cat >conftest.$ac_ext <<_ACEOF 2921/* confdefs.h. */ 2922_ACEOF 2923cat confdefs.h >>conftest.$ac_ext 2924cat >>conftest.$ac_ext <<_ACEOF 2925/* end confdefs.h. */ 2926 2927int 2928main () 2929{ 2930 2931 ; 2932 return 0; 2933} 2934_ACEOF 2935rm -f conftest.$ac_objext 2936if { (ac_try="$ac_compile" 2937case "(($ac_try" in 2938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2939 *) ac_try_echo=$ac_try;; 2940esac 2941eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2942 (eval "$ac_compile") 2>conftest.er1 2943 ac_status=$? 2944 grep -v '^ *+' conftest.er1 >conftest.err 2945 rm -f conftest.er1 2946 cat conftest.err >&5 2947 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2948 (exit $ac_status); } && 2949 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2950 { (case "(($ac_try" in 2951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2952 *) ac_try_echo=$ac_try;; 2953esac 2954eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2955 (eval "$ac_try") 2>&5 2956 ac_status=$? 2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2958 (exit $ac_status); }; } && 2959 { ac_try='test -s conftest.$ac_objext' 2960 { (case "(($ac_try" in 2961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2962 *) ac_try_echo=$ac_try;; 2963esac 2964eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2965 (eval "$ac_try") 2>&5 2966 ac_status=$? 2967 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2968 (exit $ac_status); }; }; then 2969 : 2970else 2971 echo "$as_me: failed program was:" >&5 2972sed 's/^/| /' conftest.$ac_ext >&5 2973 2974 ac_c_werror_flag=$ac_save_c_werror_flag 2975 CFLAGS="-g" 2976 cat >conftest.$ac_ext <<_ACEOF 2977/* confdefs.h. */ 2978_ACEOF 2979cat confdefs.h >>conftest.$ac_ext 2980cat >>conftest.$ac_ext <<_ACEOF 2981/* end confdefs.h. */ 2982 2983int 2984main () 2985{ 2986 2987 ; 2988 return 0; 2989} 2990_ACEOF 2991rm -f conftest.$ac_objext 2992if { (ac_try="$ac_compile" 2993case "(($ac_try" in 2994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2995 *) ac_try_echo=$ac_try;; 2996esac 2997eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2998 (eval "$ac_compile") 2>conftest.er1 2999 ac_status=$? 3000 grep -v '^ *+' conftest.er1 >conftest.err 3001 rm -f conftest.er1 3002 cat conftest.err >&5 3003 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3004 (exit $ac_status); } && 3005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3006 { (case "(($ac_try" in 3007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3008 *) ac_try_echo=$ac_try;; 3009esac 3010eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3011 (eval "$ac_try") 2>&5 3012 ac_status=$? 3013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3014 (exit $ac_status); }; } && 3015 { ac_try='test -s conftest.$ac_objext' 3016 { (case "(($ac_try" in 3017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3018 *) ac_try_echo=$ac_try;; 3019esac 3020eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3021 (eval "$ac_try") 2>&5 3022 ac_status=$? 3023 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3024 (exit $ac_status); }; }; then 3025 ac_cv_prog_cc_g=yes 3026else 3027 echo "$as_me: failed program was:" >&5 3028sed 's/^/| /' conftest.$ac_ext >&5 3029 3030 3031fi 3032 3033rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3034fi 3035 3036rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3037fi 3038 3039rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3040 ac_c_werror_flag=$ac_save_c_werror_flag 3041fi 3042{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3043echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 3044if test "$ac_test_CFLAGS" = set; then 3045 CFLAGS=$ac_save_CFLAGS 3046elif test $ac_cv_prog_cc_g = yes; then 3047 if test "$GCC" = yes; then 3048 CFLAGS="-g -O2" 3049 else 3050 CFLAGS="-g" 3051 fi 3052else 3053 if test "$GCC" = yes; then 3054 CFLAGS="-O2" 3055 else 3056 CFLAGS= 3057 fi 3058fi 3059{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3060echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 3061if test "${ac_cv_prog_cc_c89+set}" = set; then 3062 echo $ECHO_N "(cached) $ECHO_C" >&6 3063else 3064 ac_cv_prog_cc_c89=no 3065ac_save_CC=$CC 3066cat >conftest.$ac_ext <<_ACEOF 3067/* confdefs.h. */ 3068_ACEOF 3069cat confdefs.h >>conftest.$ac_ext 3070cat >>conftest.$ac_ext <<_ACEOF 3071/* end confdefs.h. */ 3072#include <stdarg.h> 3073#include <stdio.h> 3074#include <sys/types.h> 3075#include <sys/stat.h> 3076/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3077struct buf { int x; }; 3078FILE * (*rcsopen) (struct buf *, struct stat *, int); 3079static char *e (p, i) 3080 char **p; 3081 int i; 3082{ 3083 return p[i]; 3084} 3085static char *f (char * (*g) (char **, int), char **p, ...) 3086{ 3087 char *s; 3088 va_list v; 3089 va_start (v,p); 3090 s = g (p, va_arg (v,int)); 3091 va_end (v); 3092 return s; 3093} 3094 3095/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3096 function prototypes and stuff, but not '\xHH' hex character constants. 3097 These don't provoke an error unfortunately, instead are silently treated 3098 as 'x'. The following induces an error, until -std is added to get 3099 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3100 array size at least. It's necessary to write '\x00'==0 to get something 3101 that's true only with -std. */ 3102int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3103 3104/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3105 inside strings and character constants. */ 3106#define FOO(x) 'x' 3107int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3108 3109int test (int i, double x); 3110struct s1 {int (*f) (int a);}; 3111struct s2 {int (*f) (double a);}; 3112int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3113int argc; 3114char **argv; 3115int 3116main () 3117{ 3118return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3119 ; 3120 return 0; 3121} 3122_ACEOF 3123for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3124 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3125do 3126 CC="$ac_save_CC $ac_arg" 3127 rm -f conftest.$ac_objext 3128if { (ac_try="$ac_compile" 3129case "(($ac_try" in 3130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3131 *) ac_try_echo=$ac_try;; 3132esac 3133eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3134 (eval "$ac_compile") 2>conftest.er1 3135 ac_status=$? 3136 grep -v '^ *+' conftest.er1 >conftest.err 3137 rm -f conftest.er1 3138 cat conftest.err >&5 3139 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3140 (exit $ac_status); } && 3141 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3142 { (case "(($ac_try" in 3143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3144 *) ac_try_echo=$ac_try;; 3145esac 3146eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3147 (eval "$ac_try") 2>&5 3148 ac_status=$? 3149 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3150 (exit $ac_status); }; } && 3151 { ac_try='test -s conftest.$ac_objext' 3152 { (case "(($ac_try" in 3153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3154 *) ac_try_echo=$ac_try;; 3155esac 3156eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3157 (eval "$ac_try") 2>&5 3158 ac_status=$? 3159 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3160 (exit $ac_status); }; }; then 3161 ac_cv_prog_cc_c89=$ac_arg 3162else 3163 echo "$as_me: failed program was:" >&5 3164sed 's/^/| /' conftest.$ac_ext >&5 3165 3166 3167fi 3168 3169rm -f core conftest.err conftest.$ac_objext 3170 test "x$ac_cv_prog_cc_c89" != "xno" && break 3171done 3172rm -f conftest.$ac_ext 3173CC=$ac_save_CC 3174 3175fi 3176# AC_CACHE_VAL 3177case "x$ac_cv_prog_cc_c89" in 3178 x) 3179 { echo "$as_me:$LINENO: result: none needed" >&5 3180echo "${ECHO_T}none needed" >&6; } ;; 3181 xno) 3182 { echo "$as_me:$LINENO: result: unsupported" >&5 3183echo "${ECHO_T}unsupported" >&6; } ;; 3184 *) 3185 CC="$CC $ac_cv_prog_cc_c89" 3186 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3187echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 3188esac 3189 3190 3191ac_ext=c 3192ac_cpp='$CPP $CPPFLAGS' 3193ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3194ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3195ac_compiler_gnu=$ac_cv_c_compiler_gnu 3196DEPDIR="${am__leading_dot}deps" 3197 3198ac_config_commands="$ac_config_commands depfiles" 3199 3200 3201am_make=${MAKE-make} 3202cat > confinc << 'END' 3203am__doit: 3204 @echo done 3205.PHONY: am__doit 3206END 3207# If we don't find an include directive, just comment out the code. 3208{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 3209echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } 3210am__include="#" 3211am__quote= 3212_am_result=none 3213# First try GNU make style include. 3214echo "include confinc" > confmf 3215# We grep out `Entering directory' and `Leaving directory' 3216# messages which can occur if `w' ends up in MAKEFLAGS. 3217# In particular we don't look at `^make:' because GNU make might 3218# be invoked under some other name (usually "gmake"), in which 3219# case it prints its new name instead of `make'. 3220if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 3221 am__include=include 3222 am__quote= 3223 _am_result=GNU 3224fi 3225# Now try BSD make style include. 3226if test "$am__include" = "#"; then 3227 echo '.include "confinc"' > confmf 3228 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 3229 am__include=.include 3230 am__quote="\"" 3231 _am_result=BSD 3232 fi 3233fi 3234 3235 3236{ echo "$as_me:$LINENO: result: $_am_result" >&5 3237echo "${ECHO_T}$_am_result" >&6; } 3238rm -f confinc confmf 3239 3240# Check whether --enable-dependency-tracking was given. 3241if test "${enable_dependency_tracking+set}" = set; then 3242 enableval=$enable_dependency_tracking; 3243fi 3244 3245if test "x$enable_dependency_tracking" != xno; then 3246 am_depcomp="$ac_aux_dir/depcomp" 3247 AMDEPBACKSLASH='\' 3248fi 3249 3250 3251if test "x$enable_dependency_tracking" != xno; then 3252 AMDEP_TRUE= 3253 AMDEP_FALSE='#' 3254else 3255 AMDEP_TRUE='#' 3256 AMDEP_FALSE= 3257fi 3258 3259 3260 3261 3262depcc="$CC" am_compiler_list= 3263 3264{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3265echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 3266if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3267 echo $ECHO_N "(cached) $ECHO_C" >&6 3268else 3269 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3270 # We make a subdir and do the tests there. Otherwise we can end up 3271 # making bogus files that we don't know about and never remove. For 3272 # instance it was reported that on HP-UX the gcc test will end up 3273 # making a dummy file named `D' -- because `-MD' means `put the output 3274 # in D'. 3275 mkdir conftest.dir 3276 # Copy depcomp to subdir because otherwise we won't find it if we're 3277 # using a relative directory. 3278 cp "$am_depcomp" conftest.dir 3279 cd conftest.dir 3280 # We will build objects and dependencies in a subdirectory because 3281 # it helps to detect inapplicable dependency modes. For instance 3282 # both Tru64's cc and ICC support -MD to output dependencies as a 3283 # side effect of compilation, but ICC will put the dependencies in 3284 # the current directory while Tru64 will put them in the object 3285 # directory. 3286 mkdir sub 3287 3288 am_cv_CC_dependencies_compiler_type=none 3289 if test "$am_compiler_list" = ""; then 3290 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3291 fi 3292 for depmode in $am_compiler_list; do 3293 # Setup a source with many dependencies, because some compilers 3294 # like to wrap large dependency lists on column 80 (with \), and 3295 # we should not choose a depcomp mode which is confused by this. 3296 # 3297 # We need to recreate these files for each test, as the compiler may 3298 # overwrite some of them when testing with obscure command lines. 3299 # This happens at least with the AIX C compiler. 3300 : > sub/conftest.c 3301 for i in 1 2 3 4 5 6; do 3302 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3303 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3304 # Solaris 8's {/usr,}/bin/sh. 3305 touch sub/conftst$i.h 3306 done 3307 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3308 3309 case $depmode in 3310 nosideeffect) 3311 # after this tag, mechanisms are not by side-effect, so they'll 3312 # only be used when explicitly requested 3313 if test "x$enable_dependency_tracking" = xyes; then 3314 continue 3315 else 3316 break 3317 fi 3318 ;; 3319 none) break ;; 3320 esac 3321 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3322 # mode. It turns out that the SunPro C++ compiler does not properly 3323 # handle `-M -o', and we need to detect this. 3324 if depmode=$depmode \ 3325 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3326 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3327 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3328 >/dev/null 2>conftest.err && 3329 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3330 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3331 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3332 # icc doesn't choke on unknown options, it will just issue warnings 3333 # or remarks (even with -Werror). So we grep stderr for any message 3334 # that says an option was ignored or not supported. 3335 # When given -MP, icc 7.0 and 7.1 complain thusly: 3336 # icc: Command line warning: ignoring option '-M'; no argument required 3337 # The diagnosis changed in icc 8.0: 3338 # icc: Command line remark: option '-MP' not supported 3339 if (grep 'ignoring option' conftest.err || 3340 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3341 am_cv_CC_dependencies_compiler_type=$depmode 3342 break 3343 fi 3344 fi 3345 done 3346 3347 cd .. 3348 rm -rf conftest.dir 3349else 3350 am_cv_CC_dependencies_compiler_type=none 3351fi 3352 3353fi 3354{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3355echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } 3356CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3357 3358 3359 3360if 3361 test "x$enable_dependency_tracking" != xno \ 3362 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3363 am__fastdepCC_TRUE= 3364 am__fastdepCC_FALSE='#' 3365else 3366 am__fastdepCC_TRUE='#' 3367 am__fastdepCC_FALSE= 3368fi 3369 3370 3371 3372if test "$OLD_CFLAGS" = ""; then 3373 if test "$GCC" = "yes"; then 3374 CFLAGS="-Wall -Winline -O3 -fexpensive-optimizations" 3375 else 3376 CFLAGS="-Wall -O3" 3377 fi 3378fi 3379 3380# Check whether --enable-debug was given. 3381if test "${enable_debug+set}" = set; then 3382 enableval=$enable_debug; if eval "test x$enable_debug = xyes"; then 3383 CFLAGS="${OLD_CFLAGS} -Wall -g" 3384 fi 3385fi 3386 3387 3388# Check whether --enable-developer was given. 3389if test "${enable_developer+set}" = set; then 3390 enableval=$enable_developer; if eval "test x$enable_developer = xyes"; then 3391 CFLAGS="${OLD_CFLAGS} -g -pg -Wall -W -Wshadow -Wstrict-prototypes -Wcast-qual -Wcast-align -Wwrite-strings -DDEVELOPER" 3392 fi 3393fi 3394 3395 3396 3397 3398# Check whether --with-berkeley-db was given. 3399if test "${with_berkeley_db+set}" = set; then 3400 withval=$with_berkeley_db; CFLAGS="-I${withval}/include ${CFLAGS}" LDFLAGS="-L${withval}/lib ${LDFLAGS}" 3401fi 3402 3403 3404 3405# Check whether --enable-database-name was given. 3406if test "${enable_database_name+set}" = set; then 3407 enableval=$enable_database_name; ac_cv_dbname="$enableval" 3408else 3409 ac_cv_dbname="dnshistory.db" 3410fi 3411 3412{ echo "$as_me:$LINENO: checking database name change" >&5 3413echo $ECHO_N "checking database name change... $ECHO_C" >&6; } 3414if test "${ac_cv_dbname+set}" = set; then 3415 echo $ECHO_N "(cached) $ECHO_C" >&6 3416else 3417 ac_cv_dbname=dnshistory.db 3418fi 3419{ echo "$as_me:$LINENO: result: $ac_cv_dbname" >&5 3420echo "${ECHO_T}$ac_cv_dbname" >&6; } 3421 3422 3423# Check whether --enable-database-dir was given. 3424if test "${enable_database_dir+set}" = set; then 3425 enableval=$enable_database_dir; ac_cv_dbdir="$enableval" 3426else 3427 ac_cv_dbdir="$localstatedir/lib/dnshistory" 3428fi 3429 3430{ echo "$as_me:$LINENO: checking database directory change" >&5 3431echo $ECHO_N "checking database directory change... $ECHO_C" >&6; } 3432if test "${ac_cv_dbdir+set}" = set; then 3433 echo $ECHO_N "(cached) $ECHO_C" >&6 3434else 3435 ac_cv_dbdir=$localstatedir/lib/dnshistory 3436fi 3437{ echo "$as_me:$LINENO: result: $ac_cv_dbdir" >&5 3438echo "${ECHO_T}$ac_cv_dbdir" >&6; } 3439 3440 3441 3442if test -n "$ac_tool_prefix"; then 3443 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3444set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3445{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3446echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3447if test "${ac_cv_prog_RANLIB+set}" = set; then 3448 echo $ECHO_N "(cached) $ECHO_C" >&6 3449else 3450 if test -n "$RANLIB"; then 3451 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 3452else 3453as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3454for as_dir in $PATH 3455do 3456 IFS=$as_save_IFS 3457 test -z "$as_dir" && as_dir=. 3458 for ac_exec_ext in '' $ac_executable_extensions; do 3459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 3460 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3462 break 2 3463 fi 3464done 3465done 3466IFS=$as_save_IFS 3467 3468fi 3469fi 3470RANLIB=$ac_cv_prog_RANLIB 3471if test -n "$RANLIB"; then 3472 { echo "$as_me:$LINENO: result: $RANLIB" >&5 3473echo "${ECHO_T}$RANLIB" >&6; } 3474else 3475 { echo "$as_me:$LINENO: result: no" >&5 3476echo "${ECHO_T}no" >&6; } 3477fi 3478 3479 3480fi 3481if test -z "$ac_cv_prog_RANLIB"; then 3482 ac_ct_RANLIB=$RANLIB 3483 # Extract the first word of "ranlib", so it can be a program name with args. 3484set dummy ranlib; ac_word=$2 3485{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3486echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3487if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3488 echo $ECHO_N "(cached) $ECHO_C" >&6 3489else 3490 if test -n "$ac_ct_RANLIB"; then 3491 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 3492else 3493as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3494for as_dir in $PATH 3495do 3496 IFS=$as_save_IFS 3497 test -z "$as_dir" && as_dir=. 3498 for ac_exec_ext in '' $ac_executable_extensions; do 3499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 3500 ac_cv_prog_ac_ct_RANLIB="ranlib" 3501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3502 break 2 3503 fi 3504done 3505done 3506IFS=$as_save_IFS 3507 3508fi 3509fi 3510ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3511if test -n "$ac_ct_RANLIB"; then 3512 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3513echo "${ECHO_T}$ac_ct_RANLIB" >&6; } 3514else 3515 { echo "$as_me:$LINENO: result: no" >&5 3516echo "${ECHO_T}no" >&6; } 3517fi 3518 3519 if test "x$ac_ct_RANLIB" = x; then 3520 RANLIB=":" 3521 else 3522 case $cross_compiling:$ac_tool_warned in 3523yes:) 3524{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3525whose name does not start with the host triplet. If you think this 3526configuration is useful to you, please write to autoconf@gnu.org." >&5 3527echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3528whose name does not start with the host triplet. If you think this 3529configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3530ac_tool_warned=yes ;; 3531esac 3532 RANLIB=$ac_ct_RANLIB 3533 fi 3534else 3535 RANLIB="$ac_cv_prog_RANLIB" 3536fi 3537 3538 3539 3540{ echo "$as_me:$LINENO: checking for main in -lpcre" >&5 3541echo $ECHO_N "checking for main in -lpcre... $ECHO_C" >&6; } 3542if test "${ac_cv_lib_pcre_main+set}" = set; then 3543 echo $ECHO_N "(cached) $ECHO_C" >&6 3544else 3545 ac_check_lib_save_LIBS=$LIBS 3546LIBS="-lpcre $LIBS" 3547cat >conftest.$ac_ext <<_ACEOF 3548/* confdefs.h. */ 3549_ACEOF 3550cat confdefs.h >>conftest.$ac_ext 3551cat >>conftest.$ac_ext <<_ACEOF 3552/* end confdefs.h. */ 3553 3554 3555int 3556main () 3557{ 3558return main (); 3559 ; 3560 return 0; 3561} 3562_ACEOF 3563rm -f conftest.$ac_objext conftest$ac_exeext 3564if { (ac_try="$ac_link" 3565case "(($ac_try" in 3566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3567 *) ac_try_echo=$ac_try;; 3568esac 3569eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3570 (eval "$ac_link") 2>conftest.er1 3571 ac_status=$? 3572 grep -v '^ *+' conftest.er1 >conftest.err 3573 rm -f conftest.er1 3574 cat conftest.err >&5 3575 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3576 (exit $ac_status); } && 3577 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3578 { (case "(($ac_try" in 3579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3580 *) ac_try_echo=$ac_try;; 3581esac 3582eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3583 (eval "$ac_try") 2>&5 3584 ac_status=$? 3585 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3586 (exit $ac_status); }; } && 3587 { ac_try='test -s conftest$ac_exeext' 3588 { (case "(($ac_try" in 3589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3590 *) ac_try_echo=$ac_try;; 3591esac 3592eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3593 (eval "$ac_try") 2>&5 3594 ac_status=$? 3595 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3596 (exit $ac_status); }; }; then 3597 ac_cv_lib_pcre_main=yes 3598else 3599 echo "$as_me: failed program was:" >&5 3600sed 's/^/| /' conftest.$ac_ext >&5 3601 3602 ac_cv_lib_pcre_main=no 3603fi 3604 3605rm -f core conftest.err conftest.$ac_objext \ 3606 conftest$ac_exeext conftest.$ac_ext 3607LIBS=$ac_check_lib_save_LIBS 3608fi 3609{ echo "$as_me:$LINENO: result: $ac_cv_lib_pcre_main" >&5 3610echo "${ECHO_T}$ac_cv_lib_pcre_main" >&6; } 3611if test $ac_cv_lib_pcre_main = yes; then 3612 cat >>confdefs.h <<_ACEOF 3613#define HAVE_LIBPCRE 1 3614_ACEOF 3615 3616 LIBS="-lpcre $LIBS" 3617 3618else 3619 echo "Missing Perl Regular Expressions Library" ; exit 3620fi 3621 3622 3623{ echo "$as_me:$LINENO: checking for main in -ldb" >&5 3624echo $ECHO_N "checking for main in -ldb... $ECHO_C" >&6; } 3625if test "${ac_cv_lib_db_main+set}" = set; then 3626 echo $ECHO_N "(cached) $ECHO_C" >&6 3627else 3628 ac_check_lib_save_LIBS=$LIBS 3629LIBS="-ldb $LIBS" 3630cat >conftest.$ac_ext <<_ACEOF 3631/* confdefs.h. */ 3632_ACEOF 3633cat confdefs.h >>conftest.$ac_ext 3634cat >>conftest.$ac_ext <<_ACEOF 3635/* end confdefs.h. */ 3636 3637 3638int 3639main () 3640{ 3641return main (); 3642 ; 3643 return 0; 3644} 3645_ACEOF 3646rm -f conftest.$ac_objext conftest$ac_exeext 3647if { (ac_try="$ac_link" 3648case "(($ac_try" in 3649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3650 *) ac_try_echo=$ac_try;; 3651esac 3652eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3653 (eval "$ac_link") 2>conftest.er1 3654 ac_status=$? 3655 grep -v '^ *+' conftest.er1 >conftest.err 3656 rm -f conftest.er1 3657 cat conftest.err >&5 3658 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3659 (exit $ac_status); } && 3660 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3661 { (case "(($ac_try" in 3662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3663 *) ac_try_echo=$ac_try;; 3664esac 3665eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3666 (eval "$ac_try") 2>&5 3667 ac_status=$? 3668 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3669 (exit $ac_status); }; } && 3670 { ac_try='test -s conftest$ac_exeext' 3671 { (case "(($ac_try" in 3672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3673 *) ac_try_echo=$ac_try;; 3674esac 3675eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3676 (eval "$ac_try") 2>&5 3677 ac_status=$? 3678 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3679 (exit $ac_status); }; }; then 3680 ac_cv_lib_db_main=yes 3681else 3682 echo "$as_me: failed program was:" >&5 3683sed 's/^/| /' conftest.$ac_ext >&5 3684 3685 ac_cv_lib_db_main=no 3686fi 3687 3688rm -f core conftest.err conftest.$ac_objext \ 3689 conftest$ac_exeext conftest.$ac_ext 3690LIBS=$ac_check_lib_save_LIBS 3691fi 3692{ echo "$as_me:$LINENO: result: $ac_cv_lib_db_main" >&5 3693echo "${ECHO_T}$ac_cv_lib_db_main" >&6; } 3694if test $ac_cv_lib_db_main = yes; then 3695 cat >>confdefs.h <<_ACEOF 3696#define HAVE_LIBDB 1 3697_ACEOF 3698 3699 LIBS="-ldb $LIBS" 3700 3701else 3702 echo "Missing Berkeley DB Library" ; exit 3703fi 3704 3705 3706{ echo "$as_me:$LINENO: checking for main in -lm" >&5 3707echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; } 3708if test "${ac_cv_lib_m_main+set}" = set; then 3709 echo $ECHO_N "(cached) $ECHO_C" >&6 3710else 3711 ac_check_lib_save_LIBS=$LIBS 3712LIBS="-lm $LIBS" 3713cat >conftest.$ac_ext <<_ACEOF 3714/* confdefs.h. */ 3715_ACEOF 3716cat confdefs.h >>conftest.$ac_ext 3717cat >>conftest.$ac_ext <<_ACEOF 3718/* end confdefs.h. */ 3719 3720 3721int 3722main () 3723{ 3724return main (); 3725 ; 3726 return 0; 3727} 3728_ACEOF 3729rm -f conftest.$ac_objext conftest$ac_exeext 3730if { (ac_try="$ac_link" 3731case "(($ac_try" in 3732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3733 *) ac_try_echo=$ac_try;; 3734esac 3735eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3736 (eval "$ac_link") 2>conftest.er1 3737 ac_status=$? 3738 grep -v '^ *+' conftest.er1 >conftest.err 3739 rm -f conftest.er1 3740 cat conftest.err >&5 3741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3742 (exit $ac_status); } && 3743 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3744 { (case "(($ac_try" in 3745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3746 *) ac_try_echo=$ac_try;; 3747esac 3748eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3749 (eval "$ac_try") 2>&5 3750 ac_status=$? 3751 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3752 (exit $ac_status); }; } && 3753 { ac_try='test -s conftest$ac_exeext' 3754 { (case "(($ac_try" in 3755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3756 *) ac_try_echo=$ac_try;; 3757esac 3758eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3759 (eval "$ac_try") 2>&5 3760 ac_status=$? 3761 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3762 (exit $ac_status); }; }; then 3763 ac_cv_lib_m_main=yes 3764else 3765 echo "$as_me: failed program was:" >&5 3766sed 's/^/| /' conftest.$ac_ext >&5 3767 3768 ac_cv_lib_m_main=no 3769fi 3770 3771rm -f core conftest.err conftest.$ac_objext \ 3772 conftest$ac_exeext conftest.$ac_ext 3773LIBS=$ac_check_lib_save_LIBS 3774fi 3775{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 3776echo "${ECHO_T}$ac_cv_lib_m_main" >&6; } 3777if test $ac_cv_lib_m_main = yes; then 3778 cat >>confdefs.h <<_ACEOF 3779#define HAVE_LIBM 1 3780_ACEOF 3781 3782 LIBS="-lm $LIBS" 3783 3784else 3785 echo "Missing Math Library" ; exit 3786fi 3787 3788 3789{ echo "$as_me:$LINENO: checking for main in -lz" >&5 3790echo $ECHO_N "checking for main in -lz... $ECHO_C" >&6; } 3791if test "${ac_cv_lib_z_main+set}" = set; then 3792 echo $ECHO_N "(cached) $ECHO_C" >&6 3793else 3794 ac_check_lib_save_LIBS=$LIBS 3795LIBS="-lz $LIBS" 3796cat >conftest.$ac_ext <<_ACEOF 3797/* confdefs.h. */ 3798_ACEOF 3799cat confdefs.h >>conftest.$ac_ext 3800cat >>conftest.$ac_ext <<_ACEOF 3801/* end confdefs.h. */ 3802 3803 3804int 3805main () 3806{ 3807return main (); 3808 ; 3809 return 0; 3810} 3811_ACEOF 3812rm -f conftest.$ac_objext conftest$ac_exeext 3813if { (ac_try="$ac_link" 3814case "(($ac_try" in 3815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3816 *) ac_try_echo=$ac_try;; 3817esac 3818eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3819 (eval "$ac_link") 2>conftest.er1 3820 ac_status=$? 3821 grep -v '^ *+' conftest.er1 >conftest.err 3822 rm -f conftest.er1 3823 cat conftest.err >&5 3824 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3825 (exit $ac_status); } && 3826 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3827 { (case "(($ac_try" in 3828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3829 *) ac_try_echo=$ac_try;; 3830esac 3831eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3832 (eval "$ac_try") 2>&5 3833 ac_status=$? 3834 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3835 (exit $ac_status); }; } && 3836 { ac_try='test -s conftest$ac_exeext' 3837 { (case "(($ac_try" in 3838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3839 *) ac_try_echo=$ac_try;; 3840esac 3841eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3842 (eval "$ac_try") 2>&5 3843 ac_status=$? 3844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3845 (exit $ac_status); }; }; then 3846 ac_cv_lib_z_main=yes 3847else 3848 echo "$as_me: failed program was:" >&5 3849sed 's/^/| /' conftest.$ac_ext >&5 3850 3851 ac_cv_lib_z_main=no 3852fi 3853 3854rm -f core conftest.err conftest.$ac_objext \ 3855 conftest$ac_exeext conftest.$ac_ext 3856LIBS=$ac_check_lib_save_LIBS 3857fi 3858{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_main" >&5 3859echo "${ECHO_T}$ac_cv_lib_z_main" >&6; } 3860if test $ac_cv_lib_z_main = yes; then 3861 cat >>confdefs.h <<_ACEOF 3862#define HAVE_LIBZ 1 3863_ACEOF 3864 3865 LIBS="-lz $LIBS" 3866 3867else 3868 echo "Missing Zlib Compression Library" ; exit 3869fi 3870 3871 3872{ echo "$as_me:$LINENO: checking for main in -lpthread" >&5 3873echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6; } 3874if test "${ac_cv_lib_pthread_main+set}" = set; then 3875 echo $ECHO_N "(cached) $ECHO_C" >&6 3876else 3877 ac_check_lib_save_LIBS=$LIBS 3878LIBS="-lpthread $LIBS" 3879cat >conftest.$ac_ext <<_ACEOF 3880/* confdefs.h. */ 3881_ACEOF 3882cat confdefs.h >>conftest.$ac_ext 3883cat >>conftest.$ac_ext <<_ACEOF 3884/* end confdefs.h. */ 3885 3886 3887int 3888main () 3889{ 3890return main (); 3891 ; 3892 return 0; 3893} 3894_ACEOF 3895rm -f conftest.$ac_objext conftest$ac_exeext 3896if { (ac_try="$ac_link" 3897case "(($ac_try" in 3898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3899 *) ac_try_echo=$ac_try;; 3900esac 3901eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3902 (eval "$ac_link") 2>conftest.er1 3903 ac_status=$? 3904 grep -v '^ *+' conftest.er1 >conftest.err 3905 rm -f conftest.er1 3906 cat conftest.err >&5 3907 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3908 (exit $ac_status); } && 3909 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3910 { (case "(($ac_try" in 3911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3912 *) ac_try_echo=$ac_try;; 3913esac 3914eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3915 (eval "$ac_try") 2>&5 3916 ac_status=$? 3917 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3918 (exit $ac_status); }; } && 3919 { ac_try='test -s conftest$ac_exeext' 3920 { (case "(($ac_try" in 3921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3922 *) ac_try_echo=$ac_try;; 3923esac 3924eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3925 (eval "$ac_try") 2>&5 3926 ac_status=$? 3927 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3928 (exit $ac_status); }; }; then 3929 ac_cv_lib_pthread_main=yes 3930else 3931 echo "$as_me: failed program was:" >&5 3932sed 's/^/| /' conftest.$ac_ext >&5 3933 3934 ac_cv_lib_pthread_main=no 3935fi 3936 3937rm -f core conftest.err conftest.$ac_objext \ 3938 conftest$ac_exeext conftest.$ac_ext 3939LIBS=$ac_check_lib_save_LIBS 3940fi 3941{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5 3942echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6; } 3943if test $ac_cv_lib_pthread_main = yes; then 3944 cat >>confdefs.h <<_ACEOF 3945#define HAVE_LIBPTHREAD 1 3946_ACEOF 3947 3948 LIBS="-lpthread $LIBS" 3949 3950else 3951 echo "Missing pthread Library" ; exit 3952fi 3953 3954 3955{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 3956echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } 3957if test "${ac_cv_header_time+set}" = set; then 3958 echo $ECHO_N "(cached) $ECHO_C" >&6 3959else 3960 cat >conftest.$ac_ext <<_ACEOF 3961/* confdefs.h. */ 3962_ACEOF 3963cat confdefs.h >>conftest.$ac_ext 3964cat >>conftest.$ac_ext <<_ACEOF 3965/* end confdefs.h. */ 3966#include <sys/types.h> 3967#include <sys/time.h> 3968#include <time.h> 3969 3970int 3971main () 3972{ 3973if ((struct tm *) 0) 3974return 0; 3975 ; 3976 return 0; 3977} 3978_ACEOF 3979rm -f conftest.$ac_objext 3980if { (ac_try="$ac_compile" 3981case "(($ac_try" in 3982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3983 *) ac_try_echo=$ac_try;; 3984esac 3985eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3986 (eval "$ac_compile") 2>conftest.er1 3987 ac_status=$? 3988 grep -v '^ *+' conftest.er1 >conftest.err 3989 rm -f conftest.er1 3990 cat conftest.err >&5 3991 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3992 (exit $ac_status); } && 3993 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3994 { (case "(($ac_try" in 3995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3996 *) ac_try_echo=$ac_try;; 3997esac 3998eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3999 (eval "$ac_try") 2>&5 4000 ac_status=$? 4001 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4002 (exit $ac_status); }; } && 4003 { ac_try='test -s conftest.$ac_objext' 4004 { (case "(($ac_try" in 4005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4006 *) ac_try_echo=$ac_try;; 4007esac 4008eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4009 (eval "$ac_try") 2>&5 4010 ac_status=$? 4011 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4012 (exit $ac_status); }; }; then 4013 ac_cv_header_time=yes 4014else 4015 echo "$as_me: failed program was:" >&5 4016sed 's/^/| /' conftest.$ac_ext >&5 4017 4018 ac_cv_header_time=no 4019fi 4020 4021rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4022fi 4023{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 4024echo "${ECHO_T}$ac_cv_header_time" >&6; } 4025if test $ac_cv_header_time = yes; then 4026 4027cat >>confdefs.h <<\_ACEOF 4028#define TIME_WITH_SYS_TIME 1 4029_ACEOF 4030 4031fi 4032 4033ac_ext=c 4034ac_cpp='$CPP $CPPFLAGS' 4035ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4036ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4037ac_compiler_gnu=$ac_cv_c_compiler_gnu 4038{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4039echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 4040# On Suns, sometimes $CPP names a directory. 4041if test -n "$CPP" && test -d "$CPP"; then 4042 CPP= 4043fi 4044if test -z "$CPP"; then 4045 if test "${ac_cv_prog_CPP+set}" = set; then 4046 echo $ECHO_N "(cached) $ECHO_C" >&6 4047else 4048 # Double quotes because CPP needs to be expanded 4049 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4050 do 4051 ac_preproc_ok=false 4052for ac_c_preproc_warn_flag in '' yes 4053do 4054 # Use a header file that comes with gcc, so configuring glibc 4055 # with a fresh cross-compiler works. 4056 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4057 # <limits.h> exists even on freestanding compilers. 4058 # On the NeXT, cc -E runs the code through the compiler's parser, 4059 # not just through cpp. "Syntax error" is here to catch this case. 4060 cat >conftest.$ac_ext <<_ACEOF 4061/* confdefs.h. */ 4062_ACEOF 4063cat confdefs.h >>conftest.$ac_ext 4064cat >>conftest.$ac_ext <<_ACEOF 4065/* end confdefs.h. */ 4066#ifdef __STDC__ 4067# include <limits.h> 4068#else 4069# include <assert.h> 4070#endif 4071 Syntax error 4072_ACEOF 4073if { (ac_try="$ac_cpp conftest.$ac_ext" 4074case "(($ac_try" in 4075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4076 *) ac_try_echo=$ac_try;; 4077esac 4078eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4079 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4080 ac_status=$? 4081 grep -v '^ *+' conftest.er1 >conftest.err 4082 rm -f conftest.er1 4083 cat conftest.err >&5 4084 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4085 (exit $ac_status); } >/dev/null; then 4086 if test -s conftest.err; then 4087 ac_cpp_err=$ac_c_preproc_warn_flag 4088 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4089 else 4090 ac_cpp_err= 4091 fi 4092else 4093 ac_cpp_err=yes 4094fi 4095if test -z "$ac_cpp_err"; then 4096 : 4097else 4098 echo "$as_me: failed program was:" >&5 4099sed 's/^/| /' conftest.$ac_ext >&5 4100 4101 # Broken: fails on valid input. 4102continue 4103fi 4104 4105rm -f conftest.err conftest.$ac_ext 4106 4107 # OK, works on sane cases. Now check whether nonexistent headers 4108 # can be detected and how. 4109 cat >conftest.$ac_ext <<_ACEOF 4110/* confdefs.h. */ 4111_ACEOF 4112cat confdefs.h >>conftest.$ac_ext 4113cat >>conftest.$ac_ext <<_ACEOF 4114/* end confdefs.h. */ 4115#include <ac_nonexistent.h> 4116_ACEOF 4117if { (ac_try="$ac_cpp conftest.$ac_ext" 4118case "(($ac_try" in 4119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4120 *) ac_try_echo=$ac_try;; 4121esac 4122eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4123 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4124 ac_status=$? 4125 grep -v '^ *+' conftest.er1 >conftest.err 4126 rm -f conftest.er1 4127 cat conftest.err >&5 4128 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4129 (exit $ac_status); } >/dev/null; then 4130 if test -s conftest.err; then 4131 ac_cpp_err=$ac_c_preproc_warn_flag 4132 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4133 else 4134 ac_cpp_err= 4135 fi 4136else 4137 ac_cpp_err=yes 4138fi 4139if test -z "$ac_cpp_err"; then 4140 # Broken: success on invalid input. 4141continue 4142else 4143 echo "$as_me: failed program was:" >&5 4144sed 's/^/| /' conftest.$ac_ext >&5 4145 4146 # Passes both tests. 4147ac_preproc_ok=: 4148break 4149fi 4150 4151rm -f conftest.err conftest.$ac_ext 4152 4153done 4154# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4155rm -f conftest.err conftest.$ac_ext 4156if $ac_preproc_ok; then 4157 break 4158fi 4159 4160 done 4161 ac_cv_prog_CPP=$CPP 4162 4163fi 4164 CPP=$ac_cv_prog_CPP 4165else 4166 ac_cv_prog_CPP=$CPP 4167fi 4168{ echo "$as_me:$LINENO: result: $CPP" >&5 4169echo "${ECHO_T}$CPP" >&6; } 4170ac_preproc_ok=false 4171for ac_c_preproc_warn_flag in '' yes 4172do 4173 # Use a header file that comes with gcc, so configuring glibc 4174 # with a fresh cross-compiler works. 4175 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4176 # <limits.h> exists even on freestanding compilers. 4177 # On the NeXT, cc -E runs the code through the compiler's parser, 4178 # not just through cpp. "Syntax error" is here to catch this case. 4179 cat >conftest.$ac_ext <<_ACEOF 4180/* confdefs.h. */ 4181_ACEOF 4182cat confdefs.h >>conftest.$ac_ext 4183cat >>conftest.$ac_ext <<_ACEOF 4184/* end confdefs.h. */ 4185#ifdef __STDC__ 4186# include <limits.h> 4187#else 4188# include <assert.h> 4189#endif 4190 Syntax error 4191_ACEOF 4192if { (ac_try="$ac_cpp conftest.$ac_ext" 4193case "(($ac_try" in 4194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4195 *) ac_try_echo=$ac_try;; 4196esac 4197eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4198 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4199 ac_status=$? 4200 grep -v '^ *+' conftest.er1 >conftest.err 4201 rm -f conftest.er1 4202 cat conftest.err >&5 4203 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4204 (exit $ac_status); } >/dev/null; then 4205 if test -s conftest.err; then 4206 ac_cpp_err=$ac_c_preproc_warn_flag 4207 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4208 else 4209 ac_cpp_err= 4210 fi 4211else 4212 ac_cpp_err=yes 4213fi 4214if test -z "$ac_cpp_err"; then 4215 : 4216else 4217 echo "$as_me: failed program was:" >&5 4218sed 's/^/| /' conftest.$ac_ext >&5 4219 4220 # Broken: fails on valid input. 4221continue 4222fi 4223 4224rm -f conftest.err conftest.$ac_ext 4225 4226 # OK, works on sane cases. Now check whether nonexistent headers 4227 # can be detected and how. 4228 cat >conftest.$ac_ext <<_ACEOF 4229/* confdefs.h. */ 4230_ACEOF 4231cat confdefs.h >>conftest.$ac_ext 4232cat >>conftest.$ac_ext <<_ACEOF 4233/* end confdefs.h. */ 4234#include <ac_nonexistent.h> 4235_ACEOF 4236if { (ac_try="$ac_cpp conftest.$ac_ext" 4237case "(($ac_try" in 4238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4239 *) ac_try_echo=$ac_try;; 4240esac 4241eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4242 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4243 ac_status=$? 4244 grep -v '^ *+' conftest.er1 >conftest.err 4245 rm -f conftest.er1 4246 cat conftest.err >&5 4247 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4248 (exit $ac_status); } >/dev/null; then 4249 if test -s conftest.err; then 4250 ac_cpp_err=$ac_c_preproc_warn_flag 4251 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4252 else 4253 ac_cpp_err= 4254 fi 4255else 4256 ac_cpp_err=yes 4257fi 4258if test -z "$ac_cpp_err"; then 4259 # Broken: success on invalid input. 4260continue 4261else 4262 echo "$as_me: failed program was:" >&5 4263sed 's/^/| /' conftest.$ac_ext >&5 4264 4265 # Passes both tests. 4266ac_preproc_ok=: 4267break 4268fi 4269 4270rm -f conftest.err conftest.$ac_ext 4271 4272done 4273# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4274rm -f conftest.err conftest.$ac_ext 4275if $ac_preproc_ok; then 4276 : 4277else 4278 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4279See \`config.log' for more details." >&5 4280echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4281See \`config.log' for more details." >&2;} 4282 { (exit 1); exit 1; }; } 4283fi 4284 4285ac_ext=c 4286ac_cpp='$CPP $CPPFLAGS' 4287ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4288ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4289ac_compiler_gnu=$ac_cv_c_compiler_gnu 4290 4291 4292{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4293echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4294if test "${ac_cv_path_GREP+set}" = set; then 4295 echo $ECHO_N "(cached) $ECHO_C" >&6 4296else 4297 # Extract the first word of "grep ggrep" to use in msg output 4298if test -z "$GREP"; then 4299set dummy grep ggrep; ac_prog_name=$2 4300if test "${ac_cv_path_GREP+set}" = set; then 4301 echo $ECHO_N "(cached) $ECHO_C" >&6 4302else 4303 ac_path_GREP_found=false 4304# Loop through the user's path and test for each of PROGNAME-LIST 4305as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4306for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4307do 4308 IFS=$as_save_IFS 4309 test -z "$as_dir" && as_dir=. 4310 for ac_prog in grep ggrep; do 4311 for ac_exec_ext in '' $ac_executable_extensions; do 4312 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4313 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue 4314 # Check for GNU ac_path_GREP and select it if it is found. 4315 # Check for GNU $ac_path_GREP 4316case `"$ac_path_GREP" --version 2>&1` in 4317*GNU*) 4318 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4319*) 4320 ac_count=0 4321 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4322 while : 4323 do 4324 cat "conftest.in" "conftest.in" >"conftest.tmp" 4325 mv "conftest.tmp" "conftest.in" 4326 cp "conftest.in" "conftest.nl" 4327 echo 'GREP' >> "conftest.nl" 4328 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4329 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4330 ac_count=`expr $ac_count + 1` 4331 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4332 # Best one so far, save it but keep looking for a better one 4333 ac_cv_path_GREP="$ac_path_GREP" 4334 ac_path_GREP_max=$ac_count 4335 fi 4336 # 10*(2^10) chars as input seems more than enough 4337 test $ac_count -gt 10 && break 4338 done 4339 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4340esac 4341 4342 4343 $ac_path_GREP_found && break 3 4344 done 4345done 4346 4347done 4348IFS=$as_save_IFS 4349 4350 4351fi 4352 4353GREP="$ac_cv_path_GREP" 4354if test -z "$GREP"; then 4355 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4356echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4357 { (exit 1); exit 1; }; } 4358fi 4359 4360else 4361 ac_cv_path_GREP=$GREP 4362fi 4363 4364 4365fi 4366{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4367echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4368 GREP="$ac_cv_path_GREP" 4369 4370 4371{ echo "$as_me:$LINENO: checking for egrep" >&5 4372echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 4373if test "${ac_cv_path_EGREP+set}" = set; then 4374 echo $ECHO_N "(cached) $ECHO_C" >&6 4375else 4376 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4377 then ac_cv_path_EGREP="$GREP -E" 4378 else 4379 # Extract the first word of "egrep" to use in msg output 4380if test -z "$EGREP"; then 4381set dummy egrep; ac_prog_name=$2 4382if test "${ac_cv_path_EGREP+set}" = set; then 4383 echo $ECHO_N "(cached) $ECHO_C" >&6 4384else 4385 ac_path_EGREP_found=false 4386# Loop through the user's path and test for each of PROGNAME-LIST 4387as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4388for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4389do 4390 IFS=$as_save_IFS 4391 test -z "$as_dir" && as_dir=. 4392 for ac_prog in egrep; do 4393 for ac_exec_ext in '' $ac_executable_extensions; do 4394 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4395 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue 4396 # Check for GNU ac_path_EGREP and select it if it is found. 4397 # Check for GNU $ac_path_EGREP 4398case `"$ac_path_EGREP" --version 2>&1` in 4399*GNU*) 4400 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4401*) 4402 ac_count=0 4403 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4404 while : 4405 do 4406 cat "conftest.in" "conftest.in" >"conftest.tmp" 4407 mv "conftest.tmp" "conftest.in" 4408 cp "conftest.in" "conftest.nl" 4409 echo 'EGREP' >> "conftest.nl" 4410 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4411 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4412 ac_count=`expr $ac_count + 1` 4413 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4414 # Best one so far, save it but keep looking for a better one 4415 ac_cv_path_EGREP="$ac_path_EGREP" 4416 ac_path_EGREP_max=$ac_count 4417 fi 4418 # 10*(2^10) chars as input seems more than enough 4419 test $ac_count -gt 10 && break 4420 done 4421 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4422esac 4423 4424 4425 $ac_path_EGREP_found && break 3 4426 done 4427done 4428 4429done 4430IFS=$as_save_IFS 4431 4432 4433fi 4434 4435EGREP="$ac_cv_path_EGREP" 4436if test -z "$EGREP"; then 4437 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4438echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4439 { (exit 1); exit 1; }; } 4440fi 4441 4442else 4443 ac_cv_path_EGREP=$EGREP 4444fi 4445 4446 4447 fi 4448fi 4449{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4450echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 4451 EGREP="$ac_cv_path_EGREP" 4452 4453 4454{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4455echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4456if test "${ac_cv_header_stdc+set}" = set; then 4457 echo $ECHO_N "(cached) $ECHO_C" >&6 4458else 4459 cat >conftest.$ac_ext <<_ACEOF 4460/* confdefs.h. */ 4461_ACEOF 4462cat confdefs.h >>conftest.$ac_ext 4463cat >>conftest.$ac_ext <<_ACEOF 4464/* end confdefs.h. */ 4465#include <stdlib.h> 4466#include <stdarg.h> 4467#include <string.h> 4468#include <float.h> 4469 4470int 4471main () 4472{ 4473 4474 ; 4475 return 0; 4476} 4477_ACEOF 4478rm -f conftest.$ac_objext 4479if { (ac_try="$ac_compile" 4480case "(($ac_try" in 4481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4482 *) ac_try_echo=$ac_try;; 4483esac 4484eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4485 (eval "$ac_compile") 2>conftest.er1 4486 ac_status=$? 4487 grep -v '^ *+' conftest.er1 >conftest.err 4488 rm -f conftest.er1 4489 cat conftest.err >&5 4490 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4491 (exit $ac_status); } && 4492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4493 { (case "(($ac_try" in 4494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4495 *) ac_try_echo=$ac_try;; 4496esac 4497eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4498 (eval "$ac_try") 2>&5 4499 ac_status=$? 4500 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4501 (exit $ac_status); }; } && 4502 { ac_try='test -s conftest.$ac_objext' 4503 { (case "(($ac_try" in 4504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4505 *) ac_try_echo=$ac_try;; 4506esac 4507eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4508 (eval "$ac_try") 2>&5 4509 ac_status=$? 4510 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4511 (exit $ac_status); }; }; then 4512 ac_cv_header_stdc=yes 4513else 4514 echo "$as_me: failed program was:" >&5 4515sed 's/^/| /' conftest.$ac_ext >&5 4516 4517 ac_cv_header_stdc=no 4518fi 4519 4520rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4521 4522if test $ac_cv_header_stdc = yes; then 4523 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4524 cat >conftest.$ac_ext <<_ACEOF 4525/* confdefs.h. */ 4526_ACEOF 4527cat confdefs.h >>conftest.$ac_ext 4528cat >>conftest.$ac_ext <<_ACEOF 4529/* end confdefs.h. */ 4530#include <string.h> 4531 4532_ACEOF 4533if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4534 $EGREP "memchr" >/dev/null 2>&1; then 4535 : 4536else 4537 ac_cv_header_stdc=no 4538fi 4539rm -f conftest* 4540 4541fi 4542 4543if test $ac_cv_header_stdc = yes; then 4544 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4545 cat >conftest.$ac_ext <<_ACEOF 4546/* confdefs.h. */ 4547_ACEOF 4548cat confdefs.h >>conftest.$ac_ext 4549cat >>conftest.$ac_ext <<_ACEOF 4550/* end confdefs.h. */ 4551#include <stdlib.h> 4552 4553_ACEOF 4554if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4555 $EGREP "free" >/dev/null 2>&1; then 4556 : 4557else 4558 ac_cv_header_stdc=no 4559fi 4560rm -f conftest* 4561 4562fi 4563 4564if test $ac_cv_header_stdc = yes; then 4565 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4566 if test "$cross_compiling" = yes; then 4567 : 4568else 4569 cat >conftest.$ac_ext <<_ACEOF 4570/* confdefs.h. */ 4571_ACEOF 4572cat confdefs.h >>conftest.$ac_ext 4573cat >>conftest.$ac_ext <<_ACEOF 4574/* end confdefs.h. */ 4575#include <ctype.h> 4576#include <stdlib.h> 4577#if ((' ' & 0x0FF) == 0x020) 4578# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4579# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4580#else 4581# define ISLOWER(c) \ 4582 (('a' <= (c) && (c) <= 'i') \ 4583 || ('j' <= (c) && (c) <= 'r') \ 4584 || ('s' <= (c) && (c) <= 'z')) 4585# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4586#endif 4587 4588#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4589int 4590main () 4591{ 4592 int i; 4593 for (i = 0; i < 256; i++) 4594 if (XOR (islower (i), ISLOWER (i)) 4595 || toupper (i) != TOUPPER (i)) 4596 return 2; 4597 return 0; 4598} 4599_ACEOF 4600rm -f conftest$ac_exeext 4601if { (ac_try="$ac_link" 4602case "(($ac_try" in 4603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4604 *) ac_try_echo=$ac_try;; 4605esac 4606eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4607 (eval "$ac_link") 2>&5 4608 ac_status=$? 4609 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4610 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4611 { (case "(($ac_try" in 4612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4613 *) ac_try_echo=$ac_try;; 4614esac 4615eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4616 (eval "$ac_try") 2>&5 4617 ac_status=$? 4618 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4619 (exit $ac_status); }; }; then 4620 : 4621else 4622 echo "$as_me: program exited with status $ac_status" >&5 4623echo "$as_me: failed program was:" >&5 4624sed 's/^/| /' conftest.$ac_ext >&5 4625 4626( exit $ac_status ) 4627ac_cv_header_stdc=no 4628fi 4629rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4630fi 4631 4632 4633fi 4634fi 4635{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4636echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4637if test $ac_cv_header_stdc = yes; then 4638 4639cat >>confdefs.h <<\_ACEOF 4640#define STDC_HEADERS 1 4641_ACEOF 4642 4643fi 4644 4645# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4656 inttypes.h stdint.h unistd.h 4657do 4658as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4659{ echo "$as_me:$LINENO: checking for $ac_header" >&5 4660echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4661if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4662 echo $ECHO_N "(cached) $ECHO_C" >&6 4663else 4664 cat >conftest.$ac_ext <<_ACEOF 4665/* confdefs.h. */ 4666_ACEOF 4667cat confdefs.h >>conftest.$ac_ext 4668cat >>conftest.$ac_ext <<_ACEOF 4669/* end confdefs.h. */ 4670$ac_includes_default 4671 4672#include <$ac_header> 4673_ACEOF 4674rm -f conftest.$ac_objext 4675if { (ac_try="$ac_compile" 4676case "(($ac_try" in 4677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4678 *) ac_try_echo=$ac_try;; 4679esac 4680eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4681 (eval "$ac_compile") 2>conftest.er1 4682 ac_status=$? 4683 grep -v '^ *+' conftest.er1 >conftest.err 4684 rm -f conftest.er1 4685 cat conftest.err >&5 4686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4687 (exit $ac_status); } && 4688 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4689 { (case "(($ac_try" in 4690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4691 *) ac_try_echo=$ac_try;; 4692esac 4693eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4694 (eval "$ac_try") 2>&5 4695 ac_status=$? 4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4697 (exit $ac_status); }; } && 4698 { ac_try='test -s conftest.$ac_objext' 4699 { (case "(($ac_try" in 4700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4701 *) ac_try_echo=$ac_try;; 4702esac 4703eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4704 (eval "$ac_try") 2>&5 4705 ac_status=$? 4706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4707 (exit $ac_status); }; }; then 4708 eval "$as_ac_Header=yes" 4709else 4710 echo "$as_me: failed program was:" >&5 4711sed 's/^/| /' conftest.$ac_ext >&5 4712 4713 eval "$as_ac_Header=no" 4714fi 4715 4716rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4717fi 4718ac_res=`eval echo '${'$as_ac_Header'}'` 4719 { echo "$as_me:$LINENO: result: $ac_res" >&5 4720echo "${ECHO_T}$ac_res" >&6; } 4721if test `eval echo '${'$as_ac_Header'}'` = yes; then 4722 cat >>confdefs.h <<_ACEOF 4723#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4724_ACEOF 4725 4726fi 4727 4728done 4729 4730 4731 4732 4733 4734for ac_header in stdlib.h sys/time.h unistd.h 4735do 4736as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4737if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4738 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4739echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4740if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4741 echo $ECHO_N "(cached) $ECHO_C" >&6 4742fi 4743ac_res=`eval echo '${'$as_ac_Header'}'` 4744 { echo "$as_me:$LINENO: result: $ac_res" >&5 4745echo "${ECHO_T}$ac_res" >&6; } 4746else 4747 # Is the header compilable? 4748{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 4749echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 4750cat >conftest.$ac_ext <<_ACEOF 4751/* confdefs.h. */ 4752_ACEOF 4753cat confdefs.h >>conftest.$ac_ext 4754cat >>conftest.$ac_ext <<_ACEOF 4755/* end confdefs.h. */ 4756$ac_includes_default 4757#include <$ac_header> 4758_ACEOF 4759rm -f conftest.$ac_objext 4760if { (ac_try="$ac_compile" 4761case "(($ac_try" in 4762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4763 *) ac_try_echo=$ac_try;; 4764esac 4765eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4766 (eval "$ac_compile") 2>conftest.er1 4767 ac_status=$? 4768 grep -v '^ *+' conftest.er1 >conftest.err 4769 rm -f conftest.er1 4770 cat conftest.err >&5 4771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4772 (exit $ac_status); } && 4773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4774 { (case "(($ac_try" in 4775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4776 *) ac_try_echo=$ac_try;; 4777esac 4778eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4779 (eval "$ac_try") 2>&5 4780 ac_status=$? 4781 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4782 (exit $ac_status); }; } && 4783 { ac_try='test -s conftest.$ac_objext' 4784 { (case "(($ac_try" in 4785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4786 *) ac_try_echo=$ac_try;; 4787esac 4788eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4789 (eval "$ac_try") 2>&5 4790 ac_status=$? 4791 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4792 (exit $ac_status); }; }; then 4793 ac_header_compiler=yes 4794else 4795 echo "$as_me: failed program was:" >&5 4796sed 's/^/| /' conftest.$ac_ext >&5 4797 4798 ac_header_compiler=no 4799fi 4800 4801rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4802{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4803echo "${ECHO_T}$ac_header_compiler" >&6; } 4804 4805# Is the header present? 4806{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 4807echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 4808cat >conftest.$ac_ext <<_ACEOF 4809/* confdefs.h. */ 4810_ACEOF 4811cat confdefs.h >>conftest.$ac_ext 4812cat >>conftest.$ac_ext <<_ACEOF 4813/* end confdefs.h. */ 4814#include <$ac_header> 4815_ACEOF 4816if { (ac_try="$ac_cpp conftest.$ac_ext" 4817case "(($ac_try" in 4818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4819 *) ac_try_echo=$ac_try;; 4820esac 4821eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4822 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4823 ac_status=$? 4824 grep -v '^ *+' conftest.er1 >conftest.err 4825 rm -f conftest.er1 4826 cat conftest.err >&5 4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4828 (exit $ac_status); } >/dev/null; then 4829 if test -s conftest.err; then 4830 ac_cpp_err=$ac_c_preproc_warn_flag 4831 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4832 else 4833 ac_cpp_err= 4834 fi 4835else 4836 ac_cpp_err=yes 4837fi 4838if test -z "$ac_cpp_err"; then 4839 ac_header_preproc=yes 4840else 4841 echo "$as_me: failed program was:" >&5 4842sed 's/^/| /' conftest.$ac_ext >&5 4843 4844 ac_header_preproc=no 4845fi 4846 4847rm -f conftest.err conftest.$ac_ext 4848{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4849echo "${ECHO_T}$ac_header_preproc" >&6; } 4850 4851# So? What about this header? 4852case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4853 yes:no: ) 4854 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4855echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4856 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4857echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4858 ac_header_preproc=yes 4859 ;; 4860 no:yes:* ) 4861 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4862echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4863 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4864echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4865 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4866echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4867 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4868echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4869 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4870echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4871 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4872echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4873 ( cat <<\_ASBOX 4874## ------------------------------- ## 4875## Report this to spm@stedee.id.au ## 4876## ------------------------------- ## 4877_ASBOX 4878 ) | sed "s/^/$as_me: WARNING: /" >&2 4879 ;; 4880esac 4881{ echo "$as_me:$LINENO: checking for $ac_header" >&5 4882echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4883if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4884 echo $ECHO_N "(cached) $ECHO_C" >&6 4885else 4886 eval "$as_ac_Header=\$ac_header_preproc" 4887fi 4888ac_res=`eval echo '${'$as_ac_Header'}'` 4889 { echo "$as_me:$LINENO: result: $ac_res" >&5 4890echo "${ECHO_T}$ac_res" >&6; } 4891 4892fi 4893if test `eval echo '${'$as_ac_Header'}'` = yes; then 4894 cat >>confdefs.h <<_ACEOF 4895#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4896_ACEOF 4897 4898fi 4899 4900done 4901 4902 4903for ac_func in alarm 4904do 4905as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4906{ echo "$as_me:$LINENO: checking for $ac_func" >&5 4907echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 4908if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 4909 echo $ECHO_N "(cached) $ECHO_C" >&6 4910else 4911 cat >conftest.$ac_ext <<_ACEOF 4912/* confdefs.h. */ 4913_ACEOF 4914cat confdefs.h >>conftest.$ac_ext 4915cat >>conftest.$ac_ext <<_ACEOF 4916/* end confdefs.h. */ 4917/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4918 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4919#define $ac_func innocuous_$ac_func 4920 4921/* System header to define __stub macros and hopefully few prototypes, 4922 which can conflict with char $ac_func (); below. 4923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4924 <limits.h> exists even on freestanding compilers. */ 4925 4926#ifdef __STDC__ 4927# include <limits.h> 4928#else 4929# include <assert.h> 4930#endif 4931 4932#undef $ac_func 4933 4934/* Override any GCC internal prototype to avoid an error. 4935 Use char because int might match the return type of a GCC 4936 builtin and then its argument prototype would still apply. */ 4937#ifdef __cplusplus 4938extern "C" 4939#endif 4940char $ac_func (); 4941/* The GNU C library defines this for functions which it implements 4942 to always fail with ENOSYS. Some functions are actually named 4943 something starting with __ and the normal name is an alias. */ 4944#if defined __stub_$ac_func || defined __stub___$ac_func 4945choke me 4946#endif 4947 4948int 4949main () 4950{ 4951return $ac_func (); 4952 ; 4953 return 0; 4954} 4955_ACEOF 4956rm -f conftest.$ac_objext conftest$ac_exeext 4957if { (ac_try="$ac_link" 4958case "(($ac_try" in 4959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4960 *) ac_try_echo=$ac_try;; 4961esac 4962eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4963 (eval "$ac_link") 2>conftest.er1 4964 ac_status=$? 4965 grep -v '^ *+' conftest.er1 >conftest.err 4966 rm -f conftest.er1 4967 cat conftest.err >&5 4968 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4969 (exit $ac_status); } && 4970 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4971 { (case "(($ac_try" in 4972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4973 *) ac_try_echo=$ac_try;; 4974esac 4975eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4976 (eval "$ac_try") 2>&5 4977 ac_status=$? 4978 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4979 (exit $ac_status); }; } && 4980 { ac_try='test -s conftest$ac_exeext' 4981 { (case "(($ac_try" in 4982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4983 *) ac_try_echo=$ac_try;; 4984esac 4985eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4986 (eval "$ac_try") 2>&5 4987 ac_status=$? 4988 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4989 (exit $ac_status); }; }; then 4990 eval "$as_ac_var=yes" 4991else 4992 echo "$as_me: failed program was:" >&5 4993sed 's/^/| /' conftest.$ac_ext >&5 4994 4995 eval "$as_ac_var=no" 4996fi 4997 4998rm -f core conftest.err conftest.$ac_objext \ 4999 conftest$ac_exeext conftest.$ac_ext 5000fi 5001ac_res=`eval echo '${'$as_ac_var'}'` 5002 { echo "$as_me:$LINENO: result: $ac_res" >&5 5003echo "${ECHO_T}$ac_res" >&6; } 5004if test `eval echo '${'$as_ac_var'}'` = yes; then 5005 cat >>confdefs.h <<_ACEOF 5006#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 5007_ACEOF 5008 5009fi 5010done 5011 5012{ echo "$as_me:$LINENO: checking for working mktime" >&5 5013echo $ECHO_N "checking for working mktime... $ECHO_C" >&6; } 5014if test "${ac_cv_func_working_mktime+set}" = set; then 5015 echo $ECHO_N "(cached) $ECHO_C" >&6 5016else 5017 if test "$cross_compiling" = yes; then 5018 ac_cv_func_working_mktime=no 5019else 5020 cat >conftest.$ac_ext <<_ACEOF 5021/* confdefs.h. */ 5022_ACEOF 5023cat confdefs.h >>conftest.$ac_ext 5024cat >>conftest.$ac_ext <<_ACEOF 5025/* end confdefs.h. */ 5026/* Test program from Paul Eggert and Tony Leneis. */ 5027#if TIME_WITH_SYS_TIME 5028# include <sys/time.h> 5029# include <time.h> 5030#else 5031# if HAVE_SYS_TIME_H 5032# include <sys/time.h> 5033# else 5034# include <time.h> 5035# endif 5036#endif 5037 5038#if HAVE_STDLIB_H 5039# include <stdlib.h> 5040#endif 5041 5042#if HAVE_UNISTD_H 5043# include <unistd.h> 5044#endif 5045 5046#if !HAVE_ALARM 5047# define alarm(X) /* empty */ 5048#endif 5049 5050/* Work around redefinition to rpl_putenv by other config tests. */ 5051#undef putenv 5052 5053static time_t time_t_max; 5054static time_t time_t_min; 5055 5056/* Values we'll use to set the TZ environment variable. */ 5057static char *tz_strings[] = { 5058 (char *) 0, "TZ=GMT0", "TZ=JST-9", 5059 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" 5060}; 5061#define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) 5062 5063/* Return 0 if mktime fails to convert a date in the spring-forward gap. 5064 Based on a problem report from Andreas Jaeger. */ 5065static int 5066spring_forward_gap () 5067{ 5068 /* glibc (up to about 1998-10-07) failed this test. */ 5069 struct tm tm; 5070 5071 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" 5072 instead of "TZ=America/Vancouver" in order to detect the bug even 5073 on systems that don't support the Olson extension, or don't have the 5074 full zoneinfo tables installed. */ 5075 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); 5076 5077 tm.tm_year = 98; 5078 tm.tm_mon = 3; 5079 tm.tm_mday = 5; 5080 tm.tm_hour = 2; 5081 tm.tm_min = 0; 5082 tm.tm_sec = 0; 5083 tm.tm_isdst = -1; 5084 return mktime (&tm) != (time_t) -1; 5085} 5086 5087static int 5088mktime_test1 (now) 5089 time_t now; 5090{ 5091 struct tm *lt; 5092 return ! (lt = localtime (&now)) || mktime (lt) == now; 5093} 5094 5095static int 5096mktime_test (now) 5097 time_t now; 5098{ 5099 return (mktime_test1 (now) 5100 && mktime_test1 ((time_t) (time_t_max - now)) 5101 && mktime_test1 ((time_t) (time_t_min + now))); 5102} 5103 5104static int 5105irix_6_4_bug () 5106{ 5107 /* Based on code from Ariel Faigon. */ 5108 struct tm tm; 5109 tm.tm_year = 96; 5110 tm.tm_mon = 3; 5111 tm.tm_mday = 0; 5112 tm.tm_hour = 0; 5113 tm.tm_min = 0; 5114 tm.tm_sec = 0; 5115 tm.tm_isdst = -1; 5116 mktime (&tm); 5117 return tm.tm_mon == 2 && tm.tm_mday == 31; 5118} 5119 5120static int 5121bigtime_test (j) 5122 int j; 5123{ 5124 struct tm tm; 5125 time_t now; 5126 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j; 5127 now = mktime (&tm); 5128 if (now != (time_t) -1) 5129 { 5130 struct tm *lt = localtime (&now); 5131 if (! (lt 5132 && lt->tm_year == tm.tm_year 5133 && lt->tm_mon == tm.tm_mon 5134 && lt->tm_mday == tm.tm_mday 5135 && lt->tm_hour == tm.tm_hour 5136 && lt->tm_min == tm.tm_min 5137 && lt->tm_sec == tm.tm_sec 5138 && lt->tm_yday == tm.tm_yday 5139 && lt->tm_wday == tm.tm_wday 5140 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst) 5141 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst)))) 5142 return 0; 5143 } 5144 return 1; 5145} 5146 5147int 5148main () 5149{ 5150 time_t t, delta; 5151 int i, j; 5152 5153 /* This test makes some buggy mktime implementations loop. 5154 Give up after 60 seconds; a mktime slower than that 5155 isn't worth using anyway. */ 5156 alarm (60); 5157 5158 for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2) 5159 continue; 5160 time_t_max--; 5161 if ((time_t) -1 < 0) 5162 for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2) 5163 continue; 5164 delta = time_t_max / 997; /* a suitable prime number */ 5165 for (i = 0; i < N_STRINGS; i++) 5166 { 5167 if (tz_strings[i]) 5168 putenv (tz_strings[i]); 5169 5170 for (t = 0; t <= time_t_max - delta; t += delta) 5171 if (! mktime_test (t)) 5172 return 1; 5173 if (! (mktime_test ((time_t) 1) 5174 && mktime_test ((time_t) (60 * 60)) 5175 && mktime_test ((time_t) (60 * 60 * 24)))) 5176 return 1; 5177 5178 for (j = 1; 0 < j; j *= 2) 5179 if (! bigtime_test (j)) 5180 return 1; 5181 if (! bigtime_test (j - 1)) 5182 return 1; 5183 } 5184 return ! (irix_6_4_bug () && spring_forward_gap ()); 5185} 5186_ACEOF 5187rm -f conftest$ac_exeext 5188if { (ac_try="$ac_link" 5189case "(($ac_try" in 5190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5191 *) ac_try_echo=$ac_try;; 5192esac 5193eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5194 (eval "$ac_link") 2>&5 5195 ac_status=$? 5196 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5197 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5198 { (case "(($ac_try" in 5199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5200 *) ac_try_echo=$ac_try;; 5201esac 5202eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5203 (eval "$ac_try") 2>&5 5204 ac_status=$? 5205 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5206 (exit $ac_status); }; }; then 5207 ac_cv_func_working_mktime=yes 5208else 5209 echo "$as_me: program exited with status $ac_status" >&5 5210echo "$as_me: failed program was:" >&5 5211sed 's/^/| /' conftest.$ac_ext >&5 5212 5213( exit $ac_status ) 5214ac_cv_func_working_mktime=no 5215fi 5216rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5217fi 5218 5219 5220fi 5221{ echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5 5222echo "${ECHO_T}$ac_cv_func_working_mktime" >&6; } 5223if test $ac_cv_func_working_mktime = no; then 5224 case " $LIBOBJS " in 5225 *" mktime.$ac_objext "* ) ;; 5226 *) LIBOBJS="$LIBOBJS mktime.$ac_objext" 5227 ;; 5228esac 5229 5230fi 5231 5232 5233 5234 5235for ac_func in floor memset memcpy 5236do 5237as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5238{ echo "$as_me:$LINENO: checking for $ac_func" >&5 5239echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 5240if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 5241 echo $ECHO_N "(cached) $ECHO_C" >&6 5242else 5243 cat >conftest.$ac_ext <<_ACEOF 5244/* confdefs.h. */ 5245_ACEOF 5246cat confdefs.h >>conftest.$ac_ext 5247cat >>conftest.$ac_ext <<_ACEOF 5248/* end confdefs.h. */ 5249/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 5250 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 5251#define $ac_func innocuous_$ac_func 5252 5253/* System header to define __stub macros and hopefully few prototypes, 5254 which can conflict with char $ac_func (); below. 5255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5256 <limits.h> exists even on freestanding compilers. */ 5257 5258#ifdef __STDC__ 5259# include <limits.h> 5260#else 5261# include <assert.h> 5262#endif 5263 5264#undef $ac_func 5265 5266/* Override any GCC internal prototype to avoid an error. 5267 Use char because int might match the return type of a GCC 5268 builtin and then its argument prototype would still apply. */ 5269#ifdef __cplusplus 5270extern "C" 5271#endif 5272char $ac_func (); 5273/* The GNU C library defines this for functions which it implements 5274 to always fail with ENOSYS. Some functions are actually named 5275 something starting with __ and the normal name is an alias. */ 5276#if defined __stub_$ac_func || defined __stub___$ac_func 5277choke me 5278#endif 5279 5280int 5281main () 5282{ 5283return $ac_func (); 5284 ; 5285 return 0; 5286} 5287_ACEOF 5288rm -f conftest.$ac_objext conftest$ac_exeext 5289if { (ac_try="$ac_link" 5290case "(($ac_try" in 5291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5292 *) ac_try_echo=$ac_try;; 5293esac 5294eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5295 (eval "$ac_link") 2>conftest.er1 5296 ac_status=$? 5297 grep -v '^ *+' conftest.er1 >conftest.err 5298 rm -f conftest.er1 5299 cat conftest.err >&5 5300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5301 (exit $ac_status); } && 5302 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5303 { (case "(($ac_try" in 5304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5305 *) ac_try_echo=$ac_try;; 5306esac 5307eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5308 (eval "$ac_try") 2>&5 5309 ac_status=$? 5310 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5311 (exit $ac_status); }; } && 5312 { ac_try='test -s conftest$ac_exeext' 5313 { (case "(($ac_try" in 5314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5315 *) ac_try_echo=$ac_try;; 5316esac 5317eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5318 (eval "$ac_try") 2>&5 5319 ac_status=$? 5320 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5321 (exit $ac_status); }; }; then 5322 eval "$as_ac_var=yes" 5323else 5324 echo "$as_me: failed program was:" >&5 5325sed 's/^/| /' conftest.$ac_ext >&5 5326 5327 eval "$as_ac_var=no" 5328fi 5329 5330rm -f core conftest.err conftest.$ac_objext \ 5331 conftest$ac_exeext conftest.$ac_ext 5332fi 5333ac_res=`eval echo '${'$as_ac_var'}'` 5334 { echo "$as_me:$LINENO: result: $ac_res" >&5 5335echo "${ECHO_T}$ac_res" >&6; } 5336if test `eval echo '${'$as_ac_var'}'` = yes; then 5337 cat >>confdefs.h <<_ACEOF 5338#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 5339_ACEOF 5340 5341fi 5342done 5343 5344 5345 5346{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5347echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 5348if test "${ac_cv_header_stdc+set}" = set; then 5349 echo $ECHO_N "(cached) $ECHO_C" >&6 5350else 5351 cat >conftest.$ac_ext <<_ACEOF 5352/* confdefs.h. */ 5353_ACEOF 5354cat confdefs.h >>conftest.$ac_ext 5355cat >>conftest.$ac_ext <<_ACEOF 5356/* end confdefs.h. */ 5357#include <stdlib.h> 5358#include <stdarg.h> 5359#include <string.h> 5360#include <float.h> 5361 5362int 5363main () 5364{ 5365 5366 ; 5367 return 0; 5368} 5369_ACEOF 5370rm -f conftest.$ac_objext 5371if { (ac_try="$ac_compile" 5372case "(($ac_try" in 5373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5374 *) ac_try_echo=$ac_try;; 5375esac 5376eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5377 (eval "$ac_compile") 2>conftest.er1 5378 ac_status=$? 5379 grep -v '^ *+' conftest.er1 >conftest.err 5380 rm -f conftest.er1 5381 cat conftest.err >&5 5382 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5383 (exit $ac_status); } && 5384 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5385 { (case "(($ac_try" in 5386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5387 *) ac_try_echo=$ac_try;; 5388esac 5389eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5390 (eval "$ac_try") 2>&5 5391 ac_status=$? 5392 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5393 (exit $ac_status); }; } && 5394 { ac_try='test -s conftest.$ac_objext' 5395 { (case "(($ac_try" in 5396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5397 *) ac_try_echo=$ac_try;; 5398esac 5399eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5400 (eval "$ac_try") 2>&5 5401 ac_status=$? 5402 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5403 (exit $ac_status); }; }; then 5404 ac_cv_header_stdc=yes 5405else 5406 echo "$as_me: failed program was:" >&5 5407sed 's/^/| /' conftest.$ac_ext >&5 5408 5409 ac_cv_header_stdc=no 5410fi 5411 5412rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5413 5414if test $ac_cv_header_stdc = yes; then 5415 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 5416 cat >conftest.$ac_ext <<_ACEOF 5417/* confdefs.h. */ 5418_ACEOF 5419cat confdefs.h >>conftest.$ac_ext 5420cat >>conftest.$ac_ext <<_ACEOF 5421/* end confdefs.h. */ 5422#include <string.h> 5423 5424_ACEOF 5425if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5426 $EGREP "memchr" >/dev/null 2>&1; then 5427 : 5428else 5429 ac_cv_header_stdc=no 5430fi 5431rm -f conftest* 5432 5433fi 5434 5435if test $ac_cv_header_stdc = yes; then 5436 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 5437 cat >conftest.$ac_ext <<_ACEOF 5438/* confdefs.h. */ 5439_ACEOF 5440cat confdefs.h >>conftest.$ac_ext 5441cat >>conftest.$ac_ext <<_ACEOF 5442/* end confdefs.h. */ 5443#include <stdlib.h> 5444 5445_ACEOF 5446if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5447 $EGREP "free" >/dev/null 2>&1; then 5448 : 5449else 5450 ac_cv_header_stdc=no 5451fi 5452rm -f conftest* 5453 5454fi 5455 5456if test $ac_cv_header_stdc = yes; then 5457 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 5458 if test "$cross_compiling" = yes; then 5459 : 5460else 5461 cat >conftest.$ac_ext <<_ACEOF 5462/* confdefs.h. */ 5463_ACEOF 5464cat confdefs.h >>conftest.$ac_ext 5465cat >>conftest.$ac_ext <<_ACEOF 5466/* end confdefs.h. */ 5467#include <ctype.h> 5468#include <stdlib.h> 5469#if ((' ' & 0x0FF) == 0x020) 5470# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 5471# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 5472#else 5473# define ISLOWER(c) \ 5474 (('a' <= (c) && (c) <= 'i') \ 5475 || ('j' <= (c) && (c) <= 'r') \ 5476 || ('s' <= (c) && (c) <= 'z')) 5477# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 5478#endif 5479 5480#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 5481int 5482main () 5483{ 5484 int i; 5485 for (i = 0; i < 256; i++) 5486 if (XOR (islower (i), ISLOWER (i)) 5487 || toupper (i) != TOUPPER (i)) 5488 return 2; 5489 return 0; 5490} 5491_ACEOF 5492rm -f conftest$ac_exeext 5493if { (ac_try="$ac_link" 5494case "(($ac_try" in 5495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5496 *) ac_try_echo=$ac_try;; 5497esac 5498eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5499 (eval "$ac_link") 2>&5 5500 ac_status=$? 5501 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5502 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5503 { (case "(($ac_try" in 5504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5505 *) ac_try_echo=$ac_try;; 5506esac 5507eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5508 (eval "$ac_try") 2>&5 5509 ac_status=$? 5510 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5511 (exit $ac_status); }; }; then 5512 : 5513else 5514 echo "$as_me: program exited with status $ac_status" >&5 5515echo "$as_me: failed program was:" >&5 5516sed 's/^/| /' conftest.$ac_ext >&5 5517 5518( exit $ac_status ) 5519ac_cv_header_stdc=no 5520fi 5521rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5522fi 5523 5524 5525fi 5526fi 5527{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5528echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 5529if test $ac_cv_header_stdc = yes; then 5530 5531cat >>confdefs.h <<\_ACEOF 5532#define STDC_HEADERS 1 5533_ACEOF 5534 5535fi 5536 5537{ echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 5538echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; } 5539if test "${ac_cv_header_stdbool_h+set}" = set; then 5540 echo $ECHO_N "(cached) $ECHO_C" >&6 5541else 5542 cat >conftest.$ac_ext <<_ACEOF 5543/* confdefs.h. */ 5544_ACEOF 5545cat confdefs.h >>conftest.$ac_ext 5546cat >>conftest.$ac_ext <<_ACEOF 5547/* end confdefs.h. */ 5548 5549#include <stdbool.h> 5550#ifndef bool 5551 "error: bool is not defined" 5552#endif 5553#ifndef false 5554 "error: false is not defined" 5555#endif 5556#if false 5557 "error: false is not 0" 5558#endif 5559#ifndef true 5560 "error: true is not defined" 5561#endif 5562#if true != 1 5563 "error: true is not 1" 5564#endif 5565#ifndef __bool_true_false_are_defined 5566 "error: __bool_true_false_are_defined is not defined" 5567#endif 5568 5569 struct s { _Bool s: 1; _Bool t; } s; 5570 5571 char a[true == 1 ? 1 : -1]; 5572 char b[false == 0 ? 1 : -1]; 5573 char c[__bool_true_false_are_defined == 1 ? 1 : -1]; 5574 char d[(bool) 0.5 == true ? 1 : -1]; 5575 bool e = &s; 5576 char f[(_Bool) 0.0 == false ? 1 : -1]; 5577 char g[true]; 5578 char h[sizeof (_Bool)]; 5579 char i[sizeof s.t]; 5580 enum { j = false, k = true, l = false * true, m = true * 256 }; 5581 _Bool n[m]; 5582 char o[sizeof n == m * sizeof n[0] ? 1 : -1]; 5583 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; 5584# if defined __xlc__ || defined __GNUC__ 5585 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0 5586 reported by James Lemley on 2005-10-05; see 5587 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html 5588 This test is not quite right, since xlc is allowed to 5589 reject this program, as the initializer for xlcbug is 5590 not one of the forms that C requires support for. 5591 However, doing the test right would require a runtime 5592 test, and that would make cross-compilation harder. 5593 Let us hope that IBM fixes the xlc bug, and also adds 5594 support for this kind of constant expression. In the 5595 meantime, this test will reject xlc, which is OK, since 5596 our stdbool.h substitute should suffice. We also test 5597 this with GCC, where it should work, to detect more 5598 quickly whether someone messes up the test in the 5599 future. */ 5600 char digs[] = "0123456789"; 5601 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1); 5602# endif 5603 /* Catch a bug in an HP-UX C compiler. See 5604 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html 5605 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html 5606 */ 5607 _Bool q = true; 5608 _Bool *pq = &q; 5609 5610int 5611main () 5612{ 5613 5614 *pq |= q; 5615 *pq |= ! q; 5616 /* Refer to every declared value, to avoid compiler optimizations. */ 5617 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l 5618 + !m + !n + !o + !p + !q + !pq); 5619 5620 ; 5621 return 0; 5622} 5623_ACEOF 5624rm -f conftest.$ac_objext 5625if { (ac_try="$ac_compile" 5626case "(($ac_try" in 5627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5628 *) ac_try_echo=$ac_try;; 5629esac 5630eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5631 (eval "$ac_compile") 2>conftest.er1 5632 ac_status=$? 5633 grep -v '^ *+' conftest.er1 >conftest.err 5634 rm -f conftest.er1 5635 cat conftest.err >&5 5636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5637 (exit $ac_status); } && 5638 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5639 { (case "(($ac_try" in 5640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5641 *) ac_try_echo=$ac_try;; 5642esac 5643eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5644 (eval "$ac_try") 2>&5 5645 ac_status=$? 5646 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5647 (exit $ac_status); }; } && 5648 { ac_try='test -s conftest.$ac_objext' 5649 { (case "(($ac_try" in 5650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5651 *) ac_try_echo=$ac_try;; 5652esac 5653eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5654 (eval "$ac_try") 2>&5 5655 ac_status=$? 5656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5657 (exit $ac_status); }; }; then 5658 ac_cv_header_stdbool_h=yes 5659else 5660 echo "$as_me: failed program was:" >&5 5661sed 's/^/| /' conftest.$ac_ext >&5 5662 5663 ac_cv_header_stdbool_h=no 5664fi 5665 5666rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5667fi 5668{ echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 5669echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; } 5670{ echo "$as_me:$LINENO: checking for _Bool" >&5 5671echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; } 5672if test "${ac_cv_type__Bool+set}" = set; then 5673 echo $ECHO_N "(cached) $ECHO_C" >&6 5674else 5675 cat >conftest.$ac_ext <<_ACEOF 5676/* confdefs.h. */ 5677_ACEOF 5678cat confdefs.h >>conftest.$ac_ext 5679cat >>conftest.$ac_ext <<_ACEOF 5680/* end confdefs.h. */ 5681$ac_includes_default 5682typedef _Bool ac__type_new_; 5683int 5684main () 5685{ 5686if ((ac__type_new_ *) 0) 5687 return 0; 5688if (sizeof (ac__type_new_)) 5689 return 0; 5690 ; 5691 return 0; 5692} 5693_ACEOF 5694rm -f conftest.$ac_objext 5695if { (ac_try="$ac_compile" 5696case "(($ac_try" in 5697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5698 *) ac_try_echo=$ac_try;; 5699esac 5700eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5701 (eval "$ac_compile") 2>conftest.er1 5702 ac_status=$? 5703 grep -v '^ *+' conftest.er1 >conftest.err 5704 rm -f conftest.er1 5705 cat conftest.err >&5 5706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5707 (exit $ac_status); } && 5708 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5709 { (case "(($ac_try" in 5710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5711 *) ac_try_echo=$ac_try;; 5712esac 5713eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5714 (eval "$ac_try") 2>&5 5715 ac_status=$? 5716 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5717 (exit $ac_status); }; } && 5718 { ac_try='test -s conftest.$ac_objext' 5719 { (case "(($ac_try" in 5720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5721 *) ac_try_echo=$ac_try;; 5722esac 5723eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5724 (eval "$ac_try") 2>&5 5725 ac_status=$? 5726 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5727 (exit $ac_status); }; }; then 5728 ac_cv_type__Bool=yes 5729else 5730 echo "$as_me: failed program was:" >&5 5731sed 's/^/| /' conftest.$ac_ext >&5 5732 5733 ac_cv_type__Bool=no 5734fi 5735 5736rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5737fi 5738{ echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 5739echo "${ECHO_T}$ac_cv_type__Bool" >&6; } 5740if test $ac_cv_type__Bool = yes; then 5741 5742cat >>confdefs.h <<_ACEOF 5743#define HAVE__BOOL 1 5744_ACEOF 5745 5746 5747fi 5748 5749if test $ac_cv_header_stdbool_h = yes; then 5750 5751cat >>confdefs.h <<\_ACEOF 5752#define HAVE_STDBOOL_H 1 5753_ACEOF 5754 5755fi 5756 5757{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 5758echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } 5759if test "${ac_cv_header_time+set}" = set; then 5760 echo $ECHO_N "(cached) $ECHO_C" >&6 5761else 5762 cat >conftest.$ac_ext <<_ACEOF 5763/* confdefs.h. */ 5764_ACEOF 5765cat confdefs.h >>conftest.$ac_ext 5766cat >>conftest.$ac_ext <<_ACEOF 5767/* end confdefs.h. */ 5768#include <sys/types.h> 5769#include <sys/time.h> 5770#include <time.h> 5771 5772int 5773main () 5774{ 5775if ((struct tm *) 0) 5776return 0; 5777 ; 5778 return 0; 5779} 5780_ACEOF 5781rm -f conftest.$ac_objext 5782if { (ac_try="$ac_compile" 5783case "(($ac_try" in 5784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5785 *) ac_try_echo=$ac_try;; 5786esac 5787eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5788 (eval "$ac_compile") 2>conftest.er1 5789 ac_status=$? 5790 grep -v '^ *+' conftest.er1 >conftest.err 5791 rm -f conftest.er1 5792 cat conftest.err >&5 5793 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5794 (exit $ac_status); } && 5795 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5796 { (case "(($ac_try" in 5797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5798 *) ac_try_echo=$ac_try;; 5799esac 5800eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5801 (eval "$ac_try") 2>&5 5802 ac_status=$? 5803 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5804 (exit $ac_status); }; } && 5805 { ac_try='test -s conftest.$ac_objext' 5806 { (case "(($ac_try" in 5807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5808 *) ac_try_echo=$ac_try;; 5809esac 5810eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5811 (eval "$ac_try") 2>&5 5812 ac_status=$? 5813 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5814 (exit $ac_status); }; }; then 5815 ac_cv_header_time=yes 5816else 5817 echo "$as_me: failed program was:" >&5 5818sed 's/^/| /' conftest.$ac_ext >&5 5819 5820 ac_cv_header_time=no 5821fi 5822 5823rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5824fi 5825{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 5826echo "${ECHO_T}$ac_cv_header_time" >&6; } 5827if test $ac_cv_header_time = yes; then 5828 5829cat >>confdefs.h <<\_ACEOF 5830#define TIME_WITH_SYS_TIME 1 5831_ACEOF 5832 5833fi 5834 5835 5836for ac_header in db.h 5837do 5838as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5839if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5840 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5841echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5842if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5843 echo $ECHO_N "(cached) $ECHO_C" >&6 5844fi 5845ac_res=`eval echo '${'$as_ac_Header'}'` 5846 { echo "$as_me:$LINENO: result: $ac_res" >&5 5847echo "${ECHO_T}$ac_res" >&6; } 5848else 5849 # Is the header compilable? 5850{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 5851echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5852cat >conftest.$ac_ext <<_ACEOF 5853/* confdefs.h. */ 5854_ACEOF 5855cat confdefs.h >>conftest.$ac_ext 5856cat >>conftest.$ac_ext <<_ACEOF 5857/* end confdefs.h. */ 5858$ac_includes_default 5859#include <$ac_header> 5860_ACEOF 5861rm -f conftest.$ac_objext 5862if { (ac_try="$ac_compile" 5863case "(($ac_try" in 5864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5865 *) ac_try_echo=$ac_try;; 5866esac 5867eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5868 (eval "$ac_compile") 2>conftest.er1 5869 ac_status=$? 5870 grep -v '^ *+' conftest.er1 >conftest.err 5871 rm -f conftest.er1 5872 cat conftest.err >&5 5873 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5874 (exit $ac_status); } && 5875 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5876 { (case "(($ac_try" in 5877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5878 *) ac_try_echo=$ac_try;; 5879esac 5880eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5881 (eval "$ac_try") 2>&5 5882 ac_status=$? 5883 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5884 (exit $ac_status); }; } && 5885 { ac_try='test -s conftest.$ac_objext' 5886 { (case "(($ac_try" in 5887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5888 *) ac_try_echo=$ac_try;; 5889esac 5890eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5891 (eval "$ac_try") 2>&5 5892 ac_status=$? 5893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5894 (exit $ac_status); }; }; then 5895 ac_header_compiler=yes 5896else 5897 echo "$as_me: failed program was:" >&5 5898sed 's/^/| /' conftest.$ac_ext >&5 5899 5900 ac_header_compiler=no 5901fi 5902 5903rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5904{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5905echo "${ECHO_T}$ac_header_compiler" >&6; } 5906 5907# Is the header present? 5908{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 5909echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5910cat >conftest.$ac_ext <<_ACEOF 5911/* confdefs.h. */ 5912_ACEOF 5913cat confdefs.h >>conftest.$ac_ext 5914cat >>conftest.$ac_ext <<_ACEOF 5915/* end confdefs.h. */ 5916#include <$ac_header> 5917_ACEOF 5918if { (ac_try="$ac_cpp conftest.$ac_ext" 5919case "(($ac_try" in 5920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5921 *) ac_try_echo=$ac_try;; 5922esac 5923eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5924 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5925 ac_status=$? 5926 grep -v '^ *+' conftest.er1 >conftest.err 5927 rm -f conftest.er1 5928 cat conftest.err >&5 5929 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5930 (exit $ac_status); } >/dev/null; then 5931 if test -s conftest.err; then 5932 ac_cpp_err=$ac_c_preproc_warn_flag 5933 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5934 else 5935 ac_cpp_err= 5936 fi 5937else 5938 ac_cpp_err=yes 5939fi 5940if test -z "$ac_cpp_err"; then 5941 ac_header_preproc=yes 5942else 5943 echo "$as_me: failed program was:" >&5 5944sed 's/^/| /' conftest.$ac_ext >&5 5945 5946 ac_header_preproc=no 5947fi 5948 5949rm -f conftest.err conftest.$ac_ext 5950{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5951echo "${ECHO_T}$ac_header_preproc" >&6; } 5952 5953# So? What about this header? 5954case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5955 yes:no: ) 5956 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5957echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5958 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5959echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5960 ac_header_preproc=yes 5961 ;; 5962 no:yes:* ) 5963 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5964echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5965 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5966echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5967 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5968echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5969 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5970echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5971 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5972echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5973 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5974echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5975 ( cat <<\_ASBOX 5976## ------------------------------- ## 5977## Report this to spm@stedee.id.au ## 5978## ------------------------------- ## 5979_ASBOX 5980 ) | sed "s/^/$as_me: WARNING: /" >&2 5981 ;; 5982esac 5983{ echo "$as_me:$LINENO: checking for $ac_header" >&5 5984echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5985if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5986 echo $ECHO_N "(cached) $ECHO_C" >&6 5987else 5988 eval "$as_ac_Header=\$ac_header_preproc" 5989fi 5990ac_res=`eval echo '${'$as_ac_Header'}'` 5991 { echo "$as_me:$LINENO: result: $ac_res" >&5 5992echo "${ECHO_T}$ac_res" >&6; } 5993 5994fi 5995if test `eval echo '${'$as_ac_Header'}'` = yes; then 5996 cat >>confdefs.h <<_ACEOF 5997#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5998_ACEOF 5999 6000else 6001 echo "Missing db.h" ; exit 6002fi 6003 6004done 6005 6006 6007for ac_header in pcre.h 6008do 6009as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6010if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6011 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6012echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6013if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6014 echo $ECHO_N "(cached) $ECHO_C" >&6 6015fi 6016ac_res=`eval echo '${'$as_ac_Header'}'` 6017 { echo "$as_me:$LINENO: result: $ac_res" >&5 6018echo "${ECHO_T}$ac_res" >&6; } 6019else 6020 # Is the header compilable? 6021{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 6022echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6023cat >conftest.$ac_ext <<_ACEOF 6024/* confdefs.h. */ 6025_ACEOF 6026cat confdefs.h >>conftest.$ac_ext 6027cat >>conftest.$ac_ext <<_ACEOF 6028/* end confdefs.h. */ 6029$ac_includes_default 6030#include <$ac_header> 6031_ACEOF 6032rm -f conftest.$ac_objext 6033if { (ac_try="$ac_compile" 6034case "(($ac_try" in 6035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6036 *) ac_try_echo=$ac_try;; 6037esac 6038eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6039 (eval "$ac_compile") 2>conftest.er1 6040 ac_status=$? 6041 grep -v '^ *+' conftest.er1 >conftest.err 6042 rm -f conftest.er1 6043 cat conftest.err >&5 6044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6045 (exit $ac_status); } && 6046 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6047 { (case "(($ac_try" in 6048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6049 *) ac_try_echo=$ac_try;; 6050esac 6051eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6052 (eval "$ac_try") 2>&5 6053 ac_status=$? 6054 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6055 (exit $ac_status); }; } && 6056 { ac_try='test -s conftest.$ac_objext' 6057 { (case "(($ac_try" in 6058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6059 *) ac_try_echo=$ac_try;; 6060esac 6061eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6062 (eval "$ac_try") 2>&5 6063 ac_status=$? 6064 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6065 (exit $ac_status); }; }; then 6066 ac_header_compiler=yes 6067else 6068 echo "$as_me: failed program was:" >&5 6069sed 's/^/| /' conftest.$ac_ext >&5 6070 6071 ac_header_compiler=no 6072fi 6073 6074rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6075{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6076echo "${ECHO_T}$ac_header_compiler" >&6; } 6077 6078# Is the header present? 6079{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 6080echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6081cat >conftest.$ac_ext <<_ACEOF 6082/* confdefs.h. */ 6083_ACEOF 6084cat confdefs.h >>conftest.$ac_ext 6085cat >>conftest.$ac_ext <<_ACEOF 6086/* end confdefs.h. */ 6087#include <$ac_header> 6088_ACEOF 6089if { (ac_try="$ac_cpp conftest.$ac_ext" 6090case "(($ac_try" in 6091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6092 *) ac_try_echo=$ac_try;; 6093esac 6094eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6095 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6096 ac_status=$? 6097 grep -v '^ *+' conftest.er1 >conftest.err 6098 rm -f conftest.er1 6099 cat conftest.err >&5 6100 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6101 (exit $ac_status); } >/dev/null; then 6102 if test -s conftest.err; then 6103 ac_cpp_err=$ac_c_preproc_warn_flag 6104 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6105 else 6106 ac_cpp_err= 6107 fi 6108else 6109 ac_cpp_err=yes 6110fi 6111if test -z "$ac_cpp_err"; then 6112 ac_header_preproc=yes 6113else 6114 echo "$as_me: failed program was:" >&5 6115sed 's/^/| /' conftest.$ac_ext >&5 6116 6117 ac_header_preproc=no 6118fi 6119 6120rm -f conftest.err conftest.$ac_ext 6121{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6122echo "${ECHO_T}$ac_header_preproc" >&6; } 6123 6124# So? What about this header? 6125case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6126 yes:no: ) 6127 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6128echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6129 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6130echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6131 ac_header_preproc=yes 6132 ;; 6133 no:yes:* ) 6134 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6135echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6136 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6137echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6138 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6139echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6140 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6141echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6142 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6143echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6144 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6145echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6146 ( cat <<\_ASBOX 6147## ------------------------------- ## 6148## Report this to spm@stedee.id.au ## 6149## ------------------------------- ## 6150_ASBOX 6151 ) | sed "s/^/$as_me: WARNING: /" >&2 6152 ;; 6153esac 6154{ echo "$as_me:$LINENO: checking for $ac_header" >&5 6155echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6156if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6157 echo $ECHO_N "(cached) $ECHO_C" >&6 6158else 6159 eval "$as_ac_Header=\$ac_header_preproc" 6160fi 6161ac_res=`eval echo '${'$as_ac_Header'}'` 6162 { echo "$as_me:$LINENO: result: $ac_res" >&5 6163echo "${ECHO_T}$ac_res" >&6; } 6164 6165fi 6166if test `eval echo '${'$as_ac_Header'}'` = yes; then 6167 cat >>confdefs.h <<_ACEOF 6168#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6169_ACEOF 6170 6171else 6172 6173for ac_header in pcre/pcre.h 6174do 6175as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6176if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6177 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6178echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6179if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6180 echo $ECHO_N "(cached) $ECHO_C" >&6 6181fi 6182ac_res=`eval echo '${'$as_ac_Header'}'` 6183 { echo "$as_me:$LINENO: result: $ac_res" >&5 6184echo "${ECHO_T}$ac_res" >&6; } 6185else 6186 # Is the header compilable? 6187{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 6188echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6189cat >conftest.$ac_ext <<_ACEOF 6190/* confdefs.h. */ 6191_ACEOF 6192cat confdefs.h >>conftest.$ac_ext 6193cat >>conftest.$ac_ext <<_ACEOF 6194/* end confdefs.h. */ 6195$ac_includes_default 6196#include <$ac_header> 6197_ACEOF 6198rm -f conftest.$ac_objext 6199if { (ac_try="$ac_compile" 6200case "(($ac_try" in 6201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6202 *) ac_try_echo=$ac_try;; 6203esac 6204eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6205 (eval "$ac_compile") 2>conftest.er1 6206 ac_status=$? 6207 grep -v '^ *+' conftest.er1 >conftest.err 6208 rm -f conftest.er1 6209 cat conftest.err >&5 6210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6211 (exit $ac_status); } && 6212 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6213 { (case "(($ac_try" in 6214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6215 *) ac_try_echo=$ac_try;; 6216esac 6217eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6218 (eval "$ac_try") 2>&5 6219 ac_status=$? 6220 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6221 (exit $ac_status); }; } && 6222 { ac_try='test -s conftest.$ac_objext' 6223 { (case "(($ac_try" in 6224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6225 *) ac_try_echo=$ac_try;; 6226esac 6227eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6228 (eval "$ac_try") 2>&5 6229 ac_status=$? 6230 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6231 (exit $ac_status); }; }; then 6232 ac_header_compiler=yes 6233else 6234 echo "$as_me: failed program was:" >&5 6235sed 's/^/| /' conftest.$ac_ext >&5 6236 6237 ac_header_compiler=no 6238fi 6239 6240rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6241{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6242echo "${ECHO_T}$ac_header_compiler" >&6; } 6243 6244# Is the header present? 6245{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 6246echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6247cat >conftest.$ac_ext <<_ACEOF 6248/* confdefs.h. */ 6249_ACEOF 6250cat confdefs.h >>conftest.$ac_ext 6251cat >>conftest.$ac_ext <<_ACEOF 6252/* end confdefs.h. */ 6253#include <$ac_header> 6254_ACEOF 6255if { (ac_try="$ac_cpp conftest.$ac_ext" 6256case "(($ac_try" in 6257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6258 *) ac_try_echo=$ac_try;; 6259esac 6260eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6261 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6262 ac_status=$? 6263 grep -v '^ *+' conftest.er1 >conftest.err 6264 rm -f conftest.er1 6265 cat conftest.err >&5 6266 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6267 (exit $ac_status); } >/dev/null; then 6268 if test -s conftest.err; then 6269 ac_cpp_err=$ac_c_preproc_warn_flag 6270 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6271 else 6272 ac_cpp_err= 6273 fi 6274else 6275 ac_cpp_err=yes 6276fi 6277if test -z "$ac_cpp_err"; then 6278 ac_header_preproc=yes 6279else 6280 echo "$as_me: failed program was:" >&5 6281sed 's/^/| /' conftest.$ac_ext >&5 6282 6283 ac_header_preproc=no 6284fi 6285 6286rm -f conftest.err conftest.$ac_ext 6287{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6288echo "${ECHO_T}$ac_header_preproc" >&6; } 6289 6290# So? What about this header? 6291case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6292 yes:no: ) 6293 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6294echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6295 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6296echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6297 ac_header_preproc=yes 6298 ;; 6299 no:yes:* ) 6300 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6301echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6302 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6303echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6304 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6305echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6306 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6307echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6308 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6309echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6310 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6311echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6312 ( cat <<\_ASBOX 6313## ------------------------------- ## 6314## Report this to spm@stedee.id.au ## 6315## ------------------------------- ## 6316_ASBOX 6317 ) | sed "s/^/$as_me: WARNING: /" >&2 6318 ;; 6319esac 6320{ echo "$as_me:$LINENO: checking for $ac_header" >&5 6321echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6322if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6323 echo $ECHO_N "(cached) $ECHO_C" >&6 6324else 6325 eval "$as_ac_Header=\$ac_header_preproc" 6326fi 6327ac_res=`eval echo '${'$as_ac_Header'}'` 6328 { echo "$as_me:$LINENO: result: $ac_res" >&5 6329echo "${ECHO_T}$ac_res" >&6; } 6330 6331fi 6332if test `eval echo '${'$as_ac_Header'}'` = yes; then 6333 cat >>confdefs.h <<_ACEOF 6334#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6335_ACEOF 6336 6337else 6338 echo "Missing pcre.h" ; exit 6339fi 6340 6341done 6342 6343 6344fi 6345 6346done 6347 6348 6349for ac_header in getopt.h 6350do 6351as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6352if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6353 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6354echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6355if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6356 echo $ECHO_N "(cached) $ECHO_C" >&6 6357fi 6358ac_res=`eval echo '${'$as_ac_Header'}'` 6359 { echo "$as_me:$LINENO: result: $ac_res" >&5 6360echo "${ECHO_T}$ac_res" >&6; } 6361else 6362 # Is the header compilable? 6363{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 6364echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6365cat >conftest.$ac_ext <<_ACEOF 6366/* confdefs.h. */ 6367_ACEOF 6368cat confdefs.h >>conftest.$ac_ext 6369cat >>conftest.$ac_ext <<_ACEOF 6370/* end confdefs.h. */ 6371$ac_includes_default 6372#include <$ac_header> 6373_ACEOF 6374rm -f conftest.$ac_objext 6375if { (ac_try="$ac_compile" 6376case "(($ac_try" in 6377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6378 *) ac_try_echo=$ac_try;; 6379esac 6380eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6381 (eval "$ac_compile") 2>conftest.er1 6382 ac_status=$? 6383 grep -v '^ *+' conftest.er1 >conftest.err 6384 rm -f conftest.er1 6385 cat conftest.err >&5 6386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6387 (exit $ac_status); } && 6388 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6389 { (case "(($ac_try" in 6390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6391 *) ac_try_echo=$ac_try;; 6392esac 6393eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6394 (eval "$ac_try") 2>&5 6395 ac_status=$? 6396 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6397 (exit $ac_status); }; } && 6398 { ac_try='test -s conftest.$ac_objext' 6399 { (case "(($ac_try" in 6400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6401 *) ac_try_echo=$ac_try;; 6402esac 6403eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6404 (eval "$ac_try") 2>&5 6405 ac_status=$? 6406 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6407 (exit $ac_status); }; }; then 6408 ac_header_compiler=yes 6409else 6410 echo "$as_me: failed program was:" >&5 6411sed 's/^/| /' conftest.$ac_ext >&5 6412 6413 ac_header_compiler=no 6414fi 6415 6416rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6417{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6418echo "${ECHO_T}$ac_header_compiler" >&6; } 6419 6420# Is the header present? 6421{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 6422echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6423cat >conftest.$ac_ext <<_ACEOF 6424/* confdefs.h. */ 6425_ACEOF 6426cat confdefs.h >>conftest.$ac_ext 6427cat >>conftest.$ac_ext <<_ACEOF 6428/* end confdefs.h. */ 6429#include <$ac_header> 6430_ACEOF 6431if { (ac_try="$ac_cpp conftest.$ac_ext" 6432case "(($ac_try" in 6433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6434 *) ac_try_echo=$ac_try;; 6435esac 6436eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6437 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6438 ac_status=$? 6439 grep -v '^ *+' conftest.er1 >conftest.err 6440 rm -f conftest.er1 6441 cat conftest.err >&5 6442 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6443 (exit $ac_status); } >/dev/null; then 6444 if test -s conftest.err; then 6445 ac_cpp_err=$ac_c_preproc_warn_flag 6446 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6447 else 6448 ac_cpp_err= 6449 fi 6450else 6451 ac_cpp_err=yes 6452fi 6453if test -z "$ac_cpp_err"; then 6454 ac_header_preproc=yes 6455else 6456 echo "$as_me: failed program was:" >&5 6457sed 's/^/| /' conftest.$ac_ext >&5 6458 6459 ac_header_preproc=no 6460fi 6461 6462rm -f conftest.err conftest.$ac_ext 6463{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6464echo "${ECHO_T}$ac_header_preproc" >&6; } 6465 6466# So? What about this header? 6467case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6468 yes:no: ) 6469 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6470echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6471 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6472echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6473 ac_header_preproc=yes 6474 ;; 6475 no:yes:* ) 6476 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6477echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6478 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6479echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6480 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6481echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6482 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6483echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6485echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6486 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6487echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6488 ( cat <<\_ASBOX 6489## ------------------------------- ## 6490## Report this to spm@stedee.id.au ## 6491## ------------------------------- ## 6492_ASBOX 6493 ) | sed "s/^/$as_me: WARNING: /" >&2 6494 ;; 6495esac 6496{ echo "$as_me:$LINENO: checking for $ac_header" >&5 6497echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6498if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6499 echo $ECHO_N "(cached) $ECHO_C" >&6 6500else 6501 eval "$as_ac_Header=\$ac_header_preproc" 6502fi 6503ac_res=`eval echo '${'$as_ac_Header'}'` 6504 { echo "$as_me:$LINENO: result: $ac_res" >&5 6505echo "${ECHO_T}$ac_res" >&6; } 6506 6507fi 6508if test `eval echo '${'$as_ac_Header'}'` = yes; then 6509 cat >>confdefs.h <<_ACEOF 6510#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6511_ACEOF 6512 6513else 6514 echo "Missing getopt.h" ; exit 6515fi 6516 6517done 6518 6519 6520for ac_header in zlib.h 6521do 6522as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6523if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6524 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6525echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6526if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6527 echo $ECHO_N "(cached) $ECHO_C" >&6 6528fi 6529ac_res=`eval echo '${'$as_ac_Header'}'` 6530 { echo "$as_me:$LINENO: result: $ac_res" >&5 6531echo "${ECHO_T}$ac_res" >&6; } 6532else 6533 # Is the header compilable? 6534{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 6535echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6536cat >conftest.$ac_ext <<_ACEOF 6537/* confdefs.h. */ 6538_ACEOF 6539cat confdefs.h >>conftest.$ac_ext 6540cat >>conftest.$ac_ext <<_ACEOF 6541/* end confdefs.h. */ 6542$ac_includes_default 6543#include <$ac_header> 6544_ACEOF 6545rm -f conftest.$ac_objext 6546if { (ac_try="$ac_compile" 6547case "(($ac_try" in 6548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6549 *) ac_try_echo=$ac_try;; 6550esac 6551eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6552 (eval "$ac_compile") 2>conftest.er1 6553 ac_status=$? 6554 grep -v '^ *+' conftest.er1 >conftest.err 6555 rm -f conftest.er1 6556 cat conftest.err >&5 6557 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6558 (exit $ac_status); } && 6559 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6560 { (case "(($ac_try" in 6561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6562 *) ac_try_echo=$ac_try;; 6563esac 6564eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6565 (eval "$ac_try") 2>&5 6566 ac_status=$? 6567 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6568 (exit $ac_status); }; } && 6569 { ac_try='test -s conftest.$ac_objext' 6570 { (case "(($ac_try" in 6571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6572 *) ac_try_echo=$ac_try;; 6573esac 6574eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6575 (eval "$ac_try") 2>&5 6576 ac_status=$? 6577 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6578 (exit $ac_status); }; }; then 6579 ac_header_compiler=yes 6580else 6581 echo "$as_me: failed program was:" >&5 6582sed 's/^/| /' conftest.$ac_ext >&5 6583 6584 ac_header_compiler=no 6585fi 6586 6587rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6588{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6589echo "${ECHO_T}$ac_header_compiler" >&6; } 6590 6591# Is the header present? 6592{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 6593echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6594cat >conftest.$ac_ext <<_ACEOF 6595/* confdefs.h. */ 6596_ACEOF 6597cat confdefs.h >>conftest.$ac_ext 6598cat >>conftest.$ac_ext <<_ACEOF 6599/* end confdefs.h. */ 6600#include <$ac_header> 6601_ACEOF 6602if { (ac_try="$ac_cpp conftest.$ac_ext" 6603case "(($ac_try" in 6604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6605 *) ac_try_echo=$ac_try;; 6606esac 6607eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6608 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6609 ac_status=$? 6610 grep -v '^ *+' conftest.er1 >conftest.err 6611 rm -f conftest.er1 6612 cat conftest.err >&5 6613 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6614 (exit $ac_status); } >/dev/null; then 6615 if test -s conftest.err; then 6616 ac_cpp_err=$ac_c_preproc_warn_flag 6617 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6618 else 6619 ac_cpp_err= 6620 fi 6621else 6622 ac_cpp_err=yes 6623fi 6624if test -z "$ac_cpp_err"; then 6625 ac_header_preproc=yes 6626else 6627 echo "$as_me: failed program was:" >&5 6628sed 's/^/| /' conftest.$ac_ext >&5 6629 6630 ac_header_preproc=no 6631fi 6632 6633rm -f conftest.err conftest.$ac_ext 6634{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6635echo "${ECHO_T}$ac_header_preproc" >&6; } 6636 6637# So? What about this header? 6638case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6639 yes:no: ) 6640 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6641echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6642 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6643echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6644 ac_header_preproc=yes 6645 ;; 6646 no:yes:* ) 6647 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6648echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6649 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6650echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6651 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6652echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6653 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6654echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6655 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6656echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6657 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6658echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6659 ( cat <<\_ASBOX 6660## ------------------------------- ## 6661## Report this to spm@stedee.id.au ## 6662## ------------------------------- ## 6663_ASBOX 6664 ) | sed "s/^/$as_me: WARNING: /" >&2 6665 ;; 6666esac 6667{ echo "$as_me:$LINENO: checking for $ac_header" >&5 6668echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6669if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6670 echo $ECHO_N "(cached) $ECHO_C" >&6 6671else 6672 eval "$as_ac_Header=\$ac_header_preproc" 6673fi 6674ac_res=`eval echo '${'$as_ac_Header'}'` 6675 { echo "$as_me:$LINENO: result: $ac_res" >&5 6676echo "${ECHO_T}$ac_res" >&6; } 6677 6678fi 6679if test `eval echo '${'$as_ac_Header'}'` = yes; then 6680 cat >>confdefs.h <<_ACEOF 6681#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6682_ACEOF 6683 6684else 6685 echo "Missing zlib.h" ; exit 6686fi 6687 6688done 6689 6690 6691for ac_header in math.h 6692do 6693as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6694if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6695 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6696echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6697if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6698 echo $ECHO_N "(cached) $ECHO_C" >&6 6699fi 6700ac_res=`eval echo '${'$as_ac_Header'}'` 6701 { echo "$as_me:$LINENO: result: $ac_res" >&5 6702echo "${ECHO_T}$ac_res" >&6; } 6703else 6704 # Is the header compilable? 6705{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 6706echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6707cat >conftest.$ac_ext <<_ACEOF 6708/* confdefs.h. */ 6709_ACEOF 6710cat confdefs.h >>conftest.$ac_ext 6711cat >>conftest.$ac_ext <<_ACEOF 6712/* end confdefs.h. */ 6713$ac_includes_default 6714#include <$ac_header> 6715_ACEOF 6716rm -f conftest.$ac_objext 6717if { (ac_try="$ac_compile" 6718case "(($ac_try" in 6719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6720 *) ac_try_echo=$ac_try;; 6721esac 6722eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6723 (eval "$ac_compile") 2>conftest.er1 6724 ac_status=$? 6725 grep -v '^ *+' conftest.er1 >conftest.err 6726 rm -f conftest.er1 6727 cat conftest.err >&5 6728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6729 (exit $ac_status); } && 6730 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6731 { (case "(($ac_try" in 6732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6733 *) ac_try_echo=$ac_try;; 6734esac 6735eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6736 (eval "$ac_try") 2>&5 6737 ac_status=$? 6738 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6739 (exit $ac_status); }; } && 6740 { ac_try='test -s conftest.$ac_objext' 6741 { (case "(($ac_try" in 6742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6743 *) ac_try_echo=$ac_try;; 6744esac 6745eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6746 (eval "$ac_try") 2>&5 6747 ac_status=$? 6748 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6749 (exit $ac_status); }; }; then 6750 ac_header_compiler=yes 6751else 6752 echo "$as_me: failed program was:" >&5 6753sed 's/^/| /' conftest.$ac_ext >&5 6754 6755 ac_header_compiler=no 6756fi 6757 6758rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6759{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6760echo "${ECHO_T}$ac_header_compiler" >&6; } 6761 6762# Is the header present? 6763{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 6764echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6765cat >conftest.$ac_ext <<_ACEOF 6766/* confdefs.h. */ 6767_ACEOF 6768cat confdefs.h >>conftest.$ac_ext 6769cat >>conftest.$ac_ext <<_ACEOF 6770/* end confdefs.h. */ 6771#include <$ac_header> 6772_ACEOF 6773if { (ac_try="$ac_cpp conftest.$ac_ext" 6774case "(($ac_try" in 6775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6776 *) ac_try_echo=$ac_try;; 6777esac 6778eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6779 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6780 ac_status=$? 6781 grep -v '^ *+' conftest.er1 >conftest.err 6782 rm -f conftest.er1 6783 cat conftest.err >&5 6784 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6785 (exit $ac_status); } >/dev/null; then 6786 if test -s conftest.err; then 6787 ac_cpp_err=$ac_c_preproc_warn_flag 6788 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6789 else 6790 ac_cpp_err= 6791 fi 6792else 6793 ac_cpp_err=yes 6794fi 6795if test -z "$ac_cpp_err"; then 6796 ac_header_preproc=yes 6797else 6798 echo "$as_me: failed program was:" >&5 6799sed 's/^/| /' conftest.$ac_ext >&5 6800 6801 ac_header_preproc=no 6802fi 6803 6804rm -f conftest.err conftest.$ac_ext 6805{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6806echo "${ECHO_T}$ac_header_preproc" >&6; } 6807 6808# So? What about this header? 6809case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6810 yes:no: ) 6811 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6812echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6813 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6814echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6815 ac_header_preproc=yes 6816 ;; 6817 no:yes:* ) 6818 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6819echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6820 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6821echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6822 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6823echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6824 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6825echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6826 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6827echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6828 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6829echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6830 ( cat <<\_ASBOX 6831## ------------------------------- ## 6832## Report this to spm@stedee.id.au ## 6833## ------------------------------- ## 6834_ASBOX 6835 ) | sed "s/^/$as_me: WARNING: /" >&2 6836 ;; 6837esac 6838{ echo "$as_me:$LINENO: checking for $ac_header" >&5 6839echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6840if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6841 echo $ECHO_N "(cached) $ECHO_C" >&6 6842else 6843 eval "$as_ac_Header=\$ac_header_preproc" 6844fi 6845ac_res=`eval echo '${'$as_ac_Header'}'` 6846 { echo "$as_me:$LINENO: result: $ac_res" >&5 6847echo "${ECHO_T}$ac_res" >&6; } 6848 6849fi 6850if test `eval echo '${'$as_ac_Header'}'` = yes; then 6851 cat >>confdefs.h <<_ACEOF 6852#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6853_ACEOF 6854 6855else 6856 echo "Missing math.h" ; exit 6857fi 6858 6859done 6860 6861 6862for ac_header in unistd.h 6863do 6864as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6865if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6866 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6867echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6868if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6869 echo $ECHO_N "(cached) $ECHO_C" >&6 6870fi 6871ac_res=`eval echo '${'$as_ac_Header'}'` 6872 { echo "$as_me:$LINENO: result: $ac_res" >&5 6873echo "${ECHO_T}$ac_res" >&6; } 6874else 6875 # Is the header compilable? 6876{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 6877echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6878cat >conftest.$ac_ext <<_ACEOF 6879/* confdefs.h. */ 6880_ACEOF 6881cat confdefs.h >>conftest.$ac_ext 6882cat >>conftest.$ac_ext <<_ACEOF 6883/* end confdefs.h. */ 6884$ac_includes_default 6885#include <$ac_header> 6886_ACEOF 6887rm -f conftest.$ac_objext 6888if { (ac_try="$ac_compile" 6889case "(($ac_try" in 6890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6891 *) ac_try_echo=$ac_try;; 6892esac 6893eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6894 (eval "$ac_compile") 2>conftest.er1 6895 ac_status=$? 6896 grep -v '^ *+' conftest.er1 >conftest.err 6897 rm -f conftest.er1 6898 cat conftest.err >&5 6899 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6900 (exit $ac_status); } && 6901 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6902 { (case "(($ac_try" in 6903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6904 *) ac_try_echo=$ac_try;; 6905esac 6906eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6907 (eval "$ac_try") 2>&5 6908 ac_status=$? 6909 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6910 (exit $ac_status); }; } && 6911 { ac_try='test -s conftest.$ac_objext' 6912 { (case "(($ac_try" in 6913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6914 *) ac_try_echo=$ac_try;; 6915esac 6916eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6917 (eval "$ac_try") 2>&5 6918 ac_status=$? 6919 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6920 (exit $ac_status); }; }; then 6921 ac_header_compiler=yes 6922else 6923 echo "$as_me: failed program was:" >&5 6924sed 's/^/| /' conftest.$ac_ext >&5 6925 6926 ac_header_compiler=no 6927fi 6928 6929rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6930{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6931echo "${ECHO_T}$ac_header_compiler" >&6; } 6932 6933# Is the header present? 6934{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 6935echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6936cat >conftest.$ac_ext <<_ACEOF 6937/* confdefs.h. */ 6938_ACEOF 6939cat confdefs.h >>conftest.$ac_ext 6940cat >>conftest.$ac_ext <<_ACEOF 6941/* end confdefs.h. */ 6942#include <$ac_header> 6943_ACEOF 6944if { (ac_try="$ac_cpp conftest.$ac_ext" 6945case "(($ac_try" in 6946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6947 *) ac_try_echo=$ac_try;; 6948esac 6949eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6950 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6951 ac_status=$? 6952 grep -v '^ *+' conftest.er1 >conftest.err 6953 rm -f conftest.er1 6954 cat conftest.err >&5 6955 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6956 (exit $ac_status); } >/dev/null; then 6957 if test -s conftest.err; then 6958 ac_cpp_err=$ac_c_preproc_warn_flag 6959 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6960 else 6961 ac_cpp_err= 6962 fi 6963else 6964 ac_cpp_err=yes 6965fi 6966if test -z "$ac_cpp_err"; then 6967 ac_header_preproc=yes 6968else 6969 echo "$as_me: failed program was:" >&5 6970sed 's/^/| /' conftest.$ac_ext >&5 6971 6972 ac_header_preproc=no 6973fi 6974 6975rm -f conftest.err conftest.$ac_ext 6976{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6977echo "${ECHO_T}$ac_header_preproc" >&6; } 6978 6979# So? What about this header? 6980case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6981 yes:no: ) 6982 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6983echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6984 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6985echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6986 ac_header_preproc=yes 6987 ;; 6988 no:yes:* ) 6989 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6990echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6991 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6992echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6993 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6994echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6995 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6996echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6997 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6998echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6999 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7000echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7001 ( cat <<\_ASBOX 7002## ------------------------------- ## 7003## Report this to spm@stedee.id.au ## 7004## ------------------------------- ## 7005_ASBOX 7006 ) | sed "s/^/$as_me: WARNING: /" >&2 7007 ;; 7008esac 7009{ echo "$as_me:$LINENO: checking for $ac_header" >&5 7010echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7011if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7012 echo $ECHO_N "(cached) $ECHO_C" >&6 7013else 7014 eval "$as_ac_Header=\$ac_header_preproc" 7015fi 7016ac_res=`eval echo '${'$as_ac_Header'}'` 7017 { echo "$as_me:$LINENO: result: $ac_res" >&5 7018echo "${ECHO_T}$ac_res" >&6; } 7019 7020fi 7021if test `eval echo '${'$as_ac_Header'}'` = yes; then 7022 cat >>confdefs.h <<_ACEOF 7023#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7024_ACEOF 7025 7026else 7027 echo "Missing unistd.h" ; exit 7028fi 7029 7030done 7031 7032 7033for ac_header in sys/socket.h 7034do 7035as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7036if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7037 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7038echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7039if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7040 echo $ECHO_N "(cached) $ECHO_C" >&6 7041fi 7042ac_res=`eval echo '${'$as_ac_Header'}'` 7043 { echo "$as_me:$LINENO: result: $ac_res" >&5 7044echo "${ECHO_T}$ac_res" >&6; } 7045else 7046 # Is the header compilable? 7047{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 7048echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7049cat >conftest.$ac_ext <<_ACEOF 7050/* confdefs.h. */ 7051_ACEOF 7052cat confdefs.h >>conftest.$ac_ext 7053cat >>conftest.$ac_ext <<_ACEOF 7054/* end confdefs.h. */ 7055$ac_includes_default 7056#include <$ac_header> 7057_ACEOF 7058rm -f conftest.$ac_objext 7059if { (ac_try="$ac_compile" 7060case "(($ac_try" in 7061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7062 *) ac_try_echo=$ac_try;; 7063esac 7064eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7065 (eval "$ac_compile") 2>conftest.er1 7066 ac_status=$? 7067 grep -v '^ *+' conftest.er1 >conftest.err 7068 rm -f conftest.er1 7069 cat conftest.err >&5 7070 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7071 (exit $ac_status); } && 7072 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7073 { (case "(($ac_try" in 7074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7075 *) ac_try_echo=$ac_try;; 7076esac 7077eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7078 (eval "$ac_try") 2>&5 7079 ac_status=$? 7080 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7081 (exit $ac_status); }; } && 7082 { ac_try='test -s conftest.$ac_objext' 7083 { (case "(($ac_try" in 7084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7085 *) ac_try_echo=$ac_try;; 7086esac 7087eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7088 (eval "$ac_try") 2>&5 7089 ac_status=$? 7090 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7091 (exit $ac_status); }; }; then 7092 ac_header_compiler=yes 7093else 7094 echo "$as_me: failed program was:" >&5 7095sed 's/^/| /' conftest.$ac_ext >&5 7096 7097 ac_header_compiler=no 7098fi 7099 7100rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7101{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7102echo "${ECHO_T}$ac_header_compiler" >&6; } 7103 7104# Is the header present? 7105{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 7106echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7107cat >conftest.$ac_ext <<_ACEOF 7108/* confdefs.h. */ 7109_ACEOF 7110cat confdefs.h >>conftest.$ac_ext 7111cat >>conftest.$ac_ext <<_ACEOF 7112/* end confdefs.h. */ 7113#include <$ac_header> 7114_ACEOF 7115if { (ac_try="$ac_cpp conftest.$ac_ext" 7116case "(($ac_try" in 7117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7118 *) ac_try_echo=$ac_try;; 7119esac 7120eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7121 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7122 ac_status=$? 7123 grep -v '^ *+' conftest.er1 >conftest.err 7124 rm -f conftest.er1 7125 cat conftest.err >&5 7126 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7127 (exit $ac_status); } >/dev/null; then 7128 if test -s conftest.err; then 7129 ac_cpp_err=$ac_c_preproc_warn_flag 7130 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 7131 else 7132 ac_cpp_err= 7133 fi 7134else 7135 ac_cpp_err=yes 7136fi 7137if test -z "$ac_cpp_err"; then 7138 ac_header_preproc=yes 7139else 7140 echo "$as_me: failed program was:" >&5 7141sed 's/^/| /' conftest.$ac_ext >&5 7142 7143 ac_header_preproc=no 7144fi 7145 7146rm -f conftest.err conftest.$ac_ext 7147{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7148echo "${ECHO_T}$ac_header_preproc" >&6; } 7149 7150# So? What about this header? 7151case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7152 yes:no: ) 7153 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7154echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7155 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7156echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7157 ac_header_preproc=yes 7158 ;; 7159 no:yes:* ) 7160 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7161echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7162 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7163echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7164 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7165echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7166 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7167echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7168 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7169echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7170 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7171echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7172 ( cat <<\_ASBOX 7173## ------------------------------- ## 7174## Report this to spm@stedee.id.au ## 7175## ------------------------------- ## 7176_ASBOX 7177 ) | sed "s/^/$as_me: WARNING: /" >&2 7178 ;; 7179esac 7180{ echo "$as_me:$LINENO: checking for $ac_header" >&5 7181echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7182if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7183 echo $ECHO_N "(cached) $ECHO_C" >&6 7184else 7185 eval "$as_ac_Header=\$ac_header_preproc" 7186fi 7187ac_res=`eval echo '${'$as_ac_Header'}'` 7188 { echo "$as_me:$LINENO: result: $ac_res" >&5 7189echo "${ECHO_T}$ac_res" >&6; } 7190 7191fi 7192if test `eval echo '${'$as_ac_Header'}'` = yes; then 7193 cat >>confdefs.h <<_ACEOF 7194#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7195_ACEOF 7196 7197else 7198 echo "Missing sys/socket.h" ; exit 7199fi 7200 7201done 7202 7203 7204for ac_header in netinet/in.h 7205do 7206as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7207if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7208 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7209echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7210if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7211 echo $ECHO_N "(cached) $ECHO_C" >&6 7212fi 7213ac_res=`eval echo '${'$as_ac_Header'}'` 7214 { echo "$as_me:$LINENO: result: $ac_res" >&5 7215echo "${ECHO_T}$ac_res" >&6; } 7216else 7217 # Is the header compilable? 7218{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 7219echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7220cat >conftest.$ac_ext <<_ACEOF 7221/* confdefs.h. */ 7222_ACEOF 7223cat confdefs.h >>conftest.$ac_ext 7224cat >>conftest.$ac_ext <<_ACEOF 7225/* end confdefs.h. */ 7226$ac_includes_default 7227#include <$ac_header> 7228_ACEOF 7229rm -f conftest.$ac_objext 7230if { (ac_try="$ac_compile" 7231case "(($ac_try" in 7232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7233 *) ac_try_echo=$ac_try;; 7234esac 7235eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7236 (eval "$ac_compile") 2>conftest.er1 7237 ac_status=$? 7238 grep -v '^ *+' conftest.er1 >conftest.err 7239 rm -f conftest.er1 7240 cat conftest.err >&5 7241 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7242 (exit $ac_status); } && 7243 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7244 { (case "(($ac_try" in 7245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7246 *) ac_try_echo=$ac_try;; 7247esac 7248eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7249 (eval "$ac_try") 2>&5 7250 ac_status=$? 7251 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7252 (exit $ac_status); }; } && 7253 { ac_try='test -s conftest.$ac_objext' 7254 { (case "(($ac_try" in 7255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7256 *) ac_try_echo=$ac_try;; 7257esac 7258eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7259 (eval "$ac_try") 2>&5 7260 ac_status=$? 7261 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7262 (exit $ac_status); }; }; then 7263 ac_header_compiler=yes 7264else 7265 echo "$as_me: failed program was:" >&5 7266sed 's/^/| /' conftest.$ac_ext >&5 7267 7268 ac_header_compiler=no 7269fi 7270 7271rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7272{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7273echo "${ECHO_T}$ac_header_compiler" >&6; } 7274 7275# Is the header present? 7276{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 7277echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7278cat >conftest.$ac_ext <<_ACEOF 7279/* confdefs.h. */ 7280_ACEOF 7281cat confdefs.h >>conftest.$ac_ext 7282cat >>conftest.$ac_ext <<_ACEOF 7283/* end confdefs.h. */ 7284#include <$ac_header> 7285_ACEOF 7286if { (ac_try="$ac_cpp conftest.$ac_ext" 7287case "(($ac_try" in 7288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7289 *) ac_try_echo=$ac_try;; 7290esac 7291eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7292 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7293 ac_status=$? 7294 grep -v '^ *+' conftest.er1 >conftest.err 7295 rm -f conftest.er1 7296 cat conftest.err >&5 7297 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7298 (exit $ac_status); } >/dev/null; then 7299 if test -s conftest.err; then 7300 ac_cpp_err=$ac_c_preproc_warn_flag 7301 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 7302 else 7303 ac_cpp_err= 7304 fi 7305else 7306 ac_cpp_err=yes 7307fi 7308if test -z "$ac_cpp_err"; then 7309 ac_header_preproc=yes 7310else 7311 echo "$as_me: failed program was:" >&5 7312sed 's/^/| /' conftest.$ac_ext >&5 7313 7314 ac_header_preproc=no 7315fi 7316 7317rm -f conftest.err conftest.$ac_ext 7318{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7319echo "${ECHO_T}$ac_header_preproc" >&6; } 7320 7321# So? What about this header? 7322case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7323 yes:no: ) 7324 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7325echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7326 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7327echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7328 ac_header_preproc=yes 7329 ;; 7330 no:yes:* ) 7331 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7332echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7333 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7334echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7335 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7336echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7337 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7338echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7339 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7340echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7341 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7342echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7343 ( cat <<\_ASBOX 7344## ------------------------------- ## 7345## Report this to spm@stedee.id.au ## 7346## ------------------------------- ## 7347_ASBOX 7348 ) | sed "s/^/$as_me: WARNING: /" >&2 7349 ;; 7350esac 7351{ echo "$as_me:$LINENO: checking for $ac_header" >&5 7352echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7353if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7354 echo $ECHO_N "(cached) $ECHO_C" >&6 7355else 7356 eval "$as_ac_Header=\$ac_header_preproc" 7357fi 7358ac_res=`eval echo '${'$as_ac_Header'}'` 7359 { echo "$as_me:$LINENO: result: $ac_res" >&5 7360echo "${ECHO_T}$ac_res" >&6; } 7361 7362fi 7363if test `eval echo '${'$as_ac_Header'}'` = yes; then 7364 cat >>confdefs.h <<_ACEOF 7365#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7366_ACEOF 7367 7368else 7369 echo "Missing netinet/in.h" ; exit 7370fi 7371 7372done 7373 7374 7375for ac_header in arpa/inet.h 7376do 7377as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7378if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7379 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7380echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7381if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7382 echo $ECHO_N "(cached) $ECHO_C" >&6 7383fi 7384ac_res=`eval echo '${'$as_ac_Header'}'` 7385 { echo "$as_me:$LINENO: result: $ac_res" >&5 7386echo "${ECHO_T}$ac_res" >&6; } 7387else 7388 # Is the header compilable? 7389{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 7390echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7391cat >conftest.$ac_ext <<_ACEOF 7392/* confdefs.h. */ 7393_ACEOF 7394cat confdefs.h >>conftest.$ac_ext 7395cat >>conftest.$ac_ext <<_ACEOF 7396/* end confdefs.h. */ 7397$ac_includes_default 7398#include <$ac_header> 7399_ACEOF 7400rm -f conftest.$ac_objext 7401if { (ac_try="$ac_compile" 7402case "(($ac_try" in 7403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7404 *) ac_try_echo=$ac_try;; 7405esac 7406eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7407 (eval "$ac_compile") 2>conftest.er1 7408 ac_status=$? 7409 grep -v '^ *+' conftest.er1 >conftest.err 7410 rm -f conftest.er1 7411 cat conftest.err >&5 7412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7413 (exit $ac_status); } && 7414 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7415 { (case "(($ac_try" in 7416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7417 *) ac_try_echo=$ac_try;; 7418esac 7419eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7420 (eval "$ac_try") 2>&5 7421 ac_status=$? 7422 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7423 (exit $ac_status); }; } && 7424 { ac_try='test -s conftest.$ac_objext' 7425 { (case "(($ac_try" in 7426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7427 *) ac_try_echo=$ac_try;; 7428esac 7429eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7430 (eval "$ac_try") 2>&5 7431 ac_status=$? 7432 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7433 (exit $ac_status); }; }; then 7434 ac_header_compiler=yes 7435else 7436 echo "$as_me: failed program was:" >&5 7437sed 's/^/| /' conftest.$ac_ext >&5 7438 7439 ac_header_compiler=no 7440fi 7441 7442rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7443{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7444echo "${ECHO_T}$ac_header_compiler" >&6; } 7445 7446# Is the header present? 7447{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 7448echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7449cat >conftest.$ac_ext <<_ACEOF 7450/* confdefs.h. */ 7451_ACEOF 7452cat confdefs.h >>conftest.$ac_ext 7453cat >>conftest.$ac_ext <<_ACEOF 7454/* end confdefs.h. */ 7455#include <$ac_header> 7456_ACEOF 7457if { (ac_try="$ac_cpp conftest.$ac_ext" 7458case "(($ac_try" in 7459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7460 *) ac_try_echo=$ac_try;; 7461esac 7462eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7463 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7464 ac_status=$? 7465 grep -v '^ *+' conftest.er1 >conftest.err 7466 rm -f conftest.er1 7467 cat conftest.err >&5 7468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7469 (exit $ac_status); } >/dev/null; then 7470 if test -s conftest.err; then 7471 ac_cpp_err=$ac_c_preproc_warn_flag 7472 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 7473 else 7474 ac_cpp_err= 7475 fi 7476else 7477 ac_cpp_err=yes 7478fi 7479if test -z "$ac_cpp_err"; then 7480 ac_header_preproc=yes 7481else 7482 echo "$as_me: failed program was:" >&5 7483sed 's/^/| /' conftest.$ac_ext >&5 7484 7485 ac_header_preproc=no 7486fi 7487 7488rm -f conftest.err conftest.$ac_ext 7489{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7490echo "${ECHO_T}$ac_header_preproc" >&6; } 7491 7492# So? What about this header? 7493case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7494 yes:no: ) 7495 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7496echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7497 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7498echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7499 ac_header_preproc=yes 7500 ;; 7501 no:yes:* ) 7502 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7503echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7504 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7505echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7506 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7507echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7508 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7509echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7510 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7511echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7512 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7513echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7514 ( cat <<\_ASBOX 7515## ------------------------------- ## 7516## Report this to spm@stedee.id.au ## 7517## ------------------------------- ## 7518_ASBOX 7519 ) | sed "s/^/$as_me: WARNING: /" >&2 7520 ;; 7521esac 7522{ echo "$as_me:$LINENO: checking for $ac_header" >&5 7523echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7524if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7525 echo $ECHO_N "(cached) $ECHO_C" >&6 7526else 7527 eval "$as_ac_Header=\$ac_header_preproc" 7528fi 7529ac_res=`eval echo '${'$as_ac_Header'}'` 7530 { echo "$as_me:$LINENO: result: $ac_res" >&5 7531echo "${ECHO_T}$ac_res" >&6; } 7532 7533fi 7534if test `eval echo '${'$as_ac_Header'}'` = yes; then 7535 cat >>confdefs.h <<_ACEOF 7536#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7537_ACEOF 7538 7539else 7540 echo "Missing arpa/inet.h" ; exit 7541fi 7542 7543done 7544 7545 7546for ac_header in netdb.h 7547do 7548as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7549if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7550 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7551echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7552if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7553 echo $ECHO_N "(cached) $ECHO_C" >&6 7554fi 7555ac_res=`eval echo '${'$as_ac_Header'}'` 7556 { echo "$as_me:$LINENO: result: $ac_res" >&5 7557echo "${ECHO_T}$ac_res" >&6; } 7558else 7559 # Is the header compilable? 7560{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 7561echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7562cat >conftest.$ac_ext <<_ACEOF 7563/* confdefs.h. */ 7564_ACEOF 7565cat confdefs.h >>conftest.$ac_ext 7566cat >>conftest.$ac_ext <<_ACEOF 7567/* end confdefs.h. */ 7568$ac_includes_default 7569#include <$ac_header> 7570_ACEOF 7571rm -f conftest.$ac_objext 7572if { (ac_try="$ac_compile" 7573case "(($ac_try" in 7574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7575 *) ac_try_echo=$ac_try;; 7576esac 7577eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7578 (eval "$ac_compile") 2>conftest.er1 7579 ac_status=$? 7580 grep -v '^ *+' conftest.er1 >conftest.err 7581 rm -f conftest.er1 7582 cat conftest.err >&5 7583 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7584 (exit $ac_status); } && 7585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7586 { (case "(($ac_try" in 7587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7588 *) ac_try_echo=$ac_try;; 7589esac 7590eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7591 (eval "$ac_try") 2>&5 7592 ac_status=$? 7593 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7594 (exit $ac_status); }; } && 7595 { ac_try='test -s conftest.$ac_objext' 7596 { (case "(($ac_try" in 7597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7598 *) ac_try_echo=$ac_try;; 7599esac 7600eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7601 (eval "$ac_try") 2>&5 7602 ac_status=$? 7603 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7604 (exit $ac_status); }; }; then 7605 ac_header_compiler=yes 7606else 7607 echo "$as_me: failed program was:" >&5 7608sed 's/^/| /' conftest.$ac_ext >&5 7609 7610 ac_header_compiler=no 7611fi 7612 7613rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7614{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7615echo "${ECHO_T}$ac_header_compiler" >&6; } 7616 7617# Is the header present? 7618{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 7619echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7620cat >conftest.$ac_ext <<_ACEOF 7621/* confdefs.h. */ 7622_ACEOF 7623cat confdefs.h >>conftest.$ac_ext 7624cat >>conftest.$ac_ext <<_ACEOF 7625/* end confdefs.h. */ 7626#include <$ac_header> 7627_ACEOF 7628if { (ac_try="$ac_cpp conftest.$ac_ext" 7629case "(($ac_try" in 7630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7631 *) ac_try_echo=$ac_try;; 7632esac 7633eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7634 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7635 ac_status=$? 7636 grep -v '^ *+' conftest.er1 >conftest.err 7637 rm -f conftest.er1 7638 cat conftest.err >&5 7639 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7640 (exit $ac_status); } >/dev/null; then 7641 if test -s conftest.err; then 7642 ac_cpp_err=$ac_c_preproc_warn_flag 7643 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 7644 else 7645 ac_cpp_err= 7646 fi 7647else 7648 ac_cpp_err=yes 7649fi 7650if test -z "$ac_cpp_err"; then 7651 ac_header_preproc=yes 7652else 7653 echo "$as_me: failed program was:" >&5 7654sed 's/^/| /' conftest.$ac_ext >&5 7655 7656 ac_header_preproc=no 7657fi 7658 7659rm -f conftest.err conftest.$ac_ext 7660{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7661echo "${ECHO_T}$ac_header_preproc" >&6; } 7662 7663# So? What about this header? 7664case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7665 yes:no: ) 7666 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7667echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7668 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7669echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7670 ac_header_preproc=yes 7671 ;; 7672 no:yes:* ) 7673 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7674echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7675 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7676echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7677 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7678echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7679 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7680echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7681 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7682echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7683 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7684echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7685 ( cat <<\_ASBOX 7686## ------------------------------- ## 7687## Report this to spm@stedee.id.au ## 7688## ------------------------------- ## 7689_ASBOX 7690 ) | sed "s/^/$as_me: WARNING: /" >&2 7691 ;; 7692esac 7693{ echo "$as_me:$LINENO: checking for $ac_header" >&5 7694echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7695if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7696 echo $ECHO_N "(cached) $ECHO_C" >&6 7697else 7698 eval "$as_ac_Header=\$ac_header_preproc" 7699fi 7700ac_res=`eval echo '${'$as_ac_Header'}'` 7701 { echo "$as_me:$LINENO: result: $ac_res" >&5 7702echo "${ECHO_T}$ac_res" >&6; } 7703 7704fi 7705if test `eval echo '${'$as_ac_Header'}'` = yes; then 7706 cat >>confdefs.h <<_ACEOF 7707#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7708_ACEOF 7709 7710else 7711 echo "Missing netdb.h" ; exit 7712fi 7713 7714done 7715 7716 7717for ac_header in pthread.h 7718do 7719as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7720if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7721 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7722echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7723if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7724 echo $ECHO_N "(cached) $ECHO_C" >&6 7725fi 7726ac_res=`eval echo '${'$as_ac_Header'}'` 7727 { echo "$as_me:$LINENO: result: $ac_res" >&5 7728echo "${ECHO_T}$ac_res" >&6; } 7729else 7730 # Is the header compilable? 7731{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 7732echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7733cat >conftest.$ac_ext <<_ACEOF 7734/* confdefs.h. */ 7735_ACEOF 7736cat confdefs.h >>conftest.$ac_ext 7737cat >>conftest.$ac_ext <<_ACEOF 7738/* end confdefs.h. */ 7739$ac_includes_default 7740#include <$ac_header> 7741_ACEOF 7742rm -f conftest.$ac_objext 7743if { (ac_try="$ac_compile" 7744case "(($ac_try" in 7745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7746 *) ac_try_echo=$ac_try;; 7747esac 7748eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7749 (eval "$ac_compile") 2>conftest.er1 7750 ac_status=$? 7751 grep -v '^ *+' conftest.er1 >conftest.err 7752 rm -f conftest.er1 7753 cat conftest.err >&5 7754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7755 (exit $ac_status); } && 7756 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7757 { (case "(($ac_try" in 7758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7759 *) ac_try_echo=$ac_try;; 7760esac 7761eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7762 (eval "$ac_try") 2>&5 7763 ac_status=$? 7764 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7765 (exit $ac_status); }; } && 7766 { ac_try='test -s conftest.$ac_objext' 7767 { (case "(($ac_try" in 7768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7769 *) ac_try_echo=$ac_try;; 7770esac 7771eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7772 (eval "$ac_try") 2>&5 7773 ac_status=$? 7774 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7775 (exit $ac_status); }; }; then 7776 ac_header_compiler=yes 7777else 7778 echo "$as_me: failed program was:" >&5 7779sed 's/^/| /' conftest.$ac_ext >&5 7780 7781 ac_header_compiler=no 7782fi 7783 7784rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7785{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7786echo "${ECHO_T}$ac_header_compiler" >&6; } 7787 7788# Is the header present? 7789{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 7790echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7791cat >conftest.$ac_ext <<_ACEOF 7792/* confdefs.h. */ 7793_ACEOF 7794cat confdefs.h >>conftest.$ac_ext 7795cat >>conftest.$ac_ext <<_ACEOF 7796/* end confdefs.h. */ 7797#include <$ac_header> 7798_ACEOF 7799if { (ac_try="$ac_cpp conftest.$ac_ext" 7800case "(($ac_try" in 7801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7802 *) ac_try_echo=$ac_try;; 7803esac 7804eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7805 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7806 ac_status=$? 7807 grep -v '^ *+' conftest.er1 >conftest.err 7808 rm -f conftest.er1 7809 cat conftest.err >&5 7810 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7811 (exit $ac_status); } >/dev/null; then 7812 if test -s conftest.err; then 7813 ac_cpp_err=$ac_c_preproc_warn_flag 7814 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 7815 else 7816 ac_cpp_err= 7817 fi 7818else 7819 ac_cpp_err=yes 7820fi 7821if test -z "$ac_cpp_err"; then 7822 ac_header_preproc=yes 7823else 7824 echo "$as_me: failed program was:" >&5 7825sed 's/^/| /' conftest.$ac_ext >&5 7826 7827 ac_header_preproc=no 7828fi 7829 7830rm -f conftest.err conftest.$ac_ext 7831{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7832echo "${ECHO_T}$ac_header_preproc" >&6; } 7833 7834# So? What about this header? 7835case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7836 yes:no: ) 7837 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7838echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7840echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7841 ac_header_preproc=yes 7842 ;; 7843 no:yes:* ) 7844 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7845echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7846 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7847echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7848 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7849echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7850 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7851echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7852 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7853echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7854 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7855echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7856 ( cat <<\_ASBOX 7857## ------------------------------- ## 7858## Report this to spm@stedee.id.au ## 7859## ------------------------------- ## 7860_ASBOX 7861 ) | sed "s/^/$as_me: WARNING: /" >&2 7862 ;; 7863esac 7864{ echo "$as_me:$LINENO: checking for $ac_header" >&5 7865echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7866if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7867 echo $ECHO_N "(cached) $ECHO_C" >&6 7868else 7869 eval "$as_ac_Header=\$ac_header_preproc" 7870fi 7871ac_res=`eval echo '${'$as_ac_Header'}'` 7872 { echo "$as_me:$LINENO: result: $ac_res" >&5 7873echo "${ECHO_T}$ac_res" >&6; } 7874 7875fi 7876if test `eval echo '${'$as_ac_Header'}'` = yes; then 7877 cat >>confdefs.h <<_ACEOF 7878#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7879_ACEOF 7880 7881else 7882 echo "Missing pthread.h" ; exit 7883fi 7884 7885done 7886 7887 7888 7889{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 7890echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } 7891if test "${ac_cv_c_const+set}" = set; then 7892 echo $ECHO_N "(cached) $ECHO_C" >&6 7893else 7894 cat >conftest.$ac_ext <<_ACEOF 7895/* confdefs.h. */ 7896_ACEOF 7897cat confdefs.h >>conftest.$ac_ext 7898cat >>conftest.$ac_ext <<_ACEOF 7899/* end confdefs.h. */ 7900 7901int 7902main () 7903{ 7904/* FIXME: Include the comments suggested by Paul. */ 7905#ifndef __cplusplus 7906 /* Ultrix mips cc rejects this. */ 7907 typedef int charset[2]; 7908 const charset x; 7909 /* SunOS 4.1.1 cc rejects this. */ 7910 char const *const *ccp; 7911 char **p; 7912 /* NEC SVR4.0.2 mips cc rejects this. */ 7913 struct point {int x, y;}; 7914 static struct point const zero = {0,0}; 7915 /* AIX XL C 1.02.0.0 rejects this. 7916 It does not let you subtract one const X* pointer from another in 7917 an arm of an if-expression whose if-part is not a constant 7918 expression */ 7919 const char *g = "string"; 7920 ccp = &g + (g ? g-g : 0); 7921 /* HPUX 7.0 cc rejects these. */ 7922 ++ccp; 7923 p = (char**) ccp; 7924 ccp = (char const *const *) p; 7925 { /* SCO 3.2v4 cc rejects this. */ 7926 char *t; 7927 char const *s = 0 ? (char *) 0 : (char const *) 0; 7928 7929 *t++ = 0; 7930 if (s) return 0; 7931 } 7932 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 7933 int x[] = {25, 17}; 7934 const int *foo = &x[0]; 7935 ++foo; 7936 } 7937 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 7938 typedef const int *iptr; 7939 iptr p = 0; 7940 ++p; 7941 } 7942 { /* AIX XL C 1.02.0.0 rejects this saying 7943 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 7944 struct s { int j; const int *ap[3]; }; 7945 struct s *b; b->j = 5; 7946 } 7947 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 7948 const int foo = 10; 7949 if (!foo) return 0; 7950 } 7951 return !x[0] && !zero.x; 7952#endif 7953 7954 ; 7955 return 0; 7956} 7957_ACEOF 7958rm -f conftest.$ac_objext 7959if { (ac_try="$ac_compile" 7960case "(($ac_try" in 7961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7962 *) ac_try_echo=$ac_try;; 7963esac 7964eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7965 (eval "$ac_compile") 2>conftest.er1 7966 ac_status=$? 7967 grep -v '^ *+' conftest.er1 >conftest.err 7968 rm -f conftest.er1 7969 cat conftest.err >&5 7970 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7971 (exit $ac_status); } && 7972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7973 { (case "(($ac_try" in 7974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7975 *) ac_try_echo=$ac_try;; 7976esac 7977eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7978 (eval "$ac_try") 2>&5 7979 ac_status=$? 7980 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7981 (exit $ac_status); }; } && 7982 { ac_try='test -s conftest.$ac_objext' 7983 { (case "(($ac_try" in 7984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7985 *) ac_try_echo=$ac_try;; 7986esac 7987eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7988 (eval "$ac_try") 2>&5 7989 ac_status=$? 7990 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7991 (exit $ac_status); }; }; then 7992 ac_cv_c_const=yes 7993else 7994 echo "$as_me: failed program was:" >&5 7995sed 's/^/| /' conftest.$ac_ext >&5 7996 7997 ac_cv_c_const=no 7998fi 7999 8000rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8001fi 8002{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 8003echo "${ECHO_T}$ac_cv_c_const" >&6; } 8004if test $ac_cv_c_const = no; then 8005 8006cat >>confdefs.h <<\_ACEOF 8007#define const 8008_ACEOF 8009 8010fi 8011 8012{ echo "$as_me:$LINENO: checking for inline" >&5 8013echo $ECHO_N "checking for inline... $ECHO_C" >&6; } 8014if test "${ac_cv_c_inline+set}" = set; then 8015 echo $ECHO_N "(cached) $ECHO_C" >&6 8016else 8017 ac_cv_c_inline=no 8018for ac_kw in inline __inline__ __inline; do 8019 cat >conftest.$ac_ext <<_ACEOF 8020/* confdefs.h. */ 8021_ACEOF 8022cat confdefs.h >>conftest.$ac_ext 8023cat >>conftest.$ac_ext <<_ACEOF 8024/* end confdefs.h. */ 8025#ifndef __cplusplus 8026typedef int foo_t; 8027static $ac_kw foo_t static_foo () {return 0; } 8028$ac_kw foo_t foo () {return 0; } 8029#endif 8030 8031_ACEOF 8032rm -f conftest.$ac_objext 8033if { (ac_try="$ac_compile" 8034case "(($ac_try" in 8035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8036 *) ac_try_echo=$ac_try;; 8037esac 8038eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8039 (eval "$ac_compile") 2>conftest.er1 8040 ac_status=$? 8041 grep -v '^ *+' conftest.er1 >conftest.err 8042 rm -f conftest.er1 8043 cat conftest.err >&5 8044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8045 (exit $ac_status); } && 8046 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8047 { (case "(($ac_try" in 8048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8049 *) ac_try_echo=$ac_try;; 8050esac 8051eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8052 (eval "$ac_try") 2>&5 8053 ac_status=$? 8054 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8055 (exit $ac_status); }; } && 8056 { ac_try='test -s conftest.$ac_objext' 8057 { (case "(($ac_try" in 8058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8059 *) ac_try_echo=$ac_try;; 8060esac 8061eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8062 (eval "$ac_try") 2>&5 8063 ac_status=$? 8064 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8065 (exit $ac_status); }; }; then 8066 ac_cv_c_inline=$ac_kw 8067else 8068 echo "$as_me: failed program was:" >&5 8069sed 's/^/| /' conftest.$ac_ext >&5 8070 8071 8072fi 8073 8074rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8075 test "$ac_cv_c_inline" != no && break 8076done 8077 8078fi 8079{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 8080echo "${ECHO_T}$ac_cv_c_inline" >&6; } 8081 8082 8083case $ac_cv_c_inline in 8084 inline | yes) ;; 8085 *) 8086 case $ac_cv_c_inline in 8087 no) ac_val=;; 8088 *) ac_val=$ac_cv_c_inline;; 8089 esac 8090 cat >>confdefs.h <<_ACEOF 8091#ifndef __cplusplus 8092#define inline $ac_val 8093#endif 8094_ACEOF 8095 ;; 8096esac 8097 8098{ echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 8099echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; } 8100if test "${ac_cv_struct_tm+set}" = set; then 8101 echo $ECHO_N "(cached) $ECHO_C" >&6 8102else 8103 cat >conftest.$ac_ext <<_ACEOF 8104/* confdefs.h. */ 8105_ACEOF 8106cat confdefs.h >>conftest.$ac_ext 8107cat >>conftest.$ac_ext <<_ACEOF 8108/* end confdefs.h. */ 8109#include <sys/types.h> 8110#include <time.h> 8111 8112int 8113main () 8114{ 8115struct tm *tp; tp->tm_sec; 8116 ; 8117 return 0; 8118} 8119_ACEOF 8120rm -f conftest.$ac_objext 8121if { (ac_try="$ac_compile" 8122case "(($ac_try" in 8123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8124 *) ac_try_echo=$ac_try;; 8125esac 8126eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8127 (eval "$ac_compile") 2>conftest.er1 8128 ac_status=$? 8129 grep -v '^ *+' conftest.er1 >conftest.err 8130 rm -f conftest.er1 8131 cat conftest.err >&5 8132 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8133 (exit $ac_status); } && 8134 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8135 { (case "(($ac_try" in 8136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8137 *) ac_try_echo=$ac_try;; 8138esac 8139eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8140 (eval "$ac_try") 2>&5 8141 ac_status=$? 8142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8143 (exit $ac_status); }; } && 8144 { ac_try='test -s conftest.$ac_objext' 8145 { (case "(($ac_try" in 8146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8147 *) ac_try_echo=$ac_try;; 8148esac 8149eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8150 (eval "$ac_try") 2>&5 8151 ac_status=$? 8152 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8153 (exit $ac_status); }; }; then 8154 ac_cv_struct_tm=time.h 8155else 8156 echo "$as_me: failed program was:" >&5 8157sed 's/^/| /' conftest.$ac_ext >&5 8158 8159 ac_cv_struct_tm=sys/time.h 8160fi 8161 8162rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8163fi 8164{ echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 8165echo "${ECHO_T}$ac_cv_struct_tm" >&6; } 8166if test $ac_cv_struct_tm = sys/time.h; then 8167 8168cat >>confdefs.h <<\_ACEOF 8169#define TM_IN_SYS_TIME 1 8170_ACEOF 8171 8172fi 8173 8174{ echo "$as_me:$LINENO: checking for size_t" >&5 8175echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } 8176if test "${ac_cv_type_size_t+set}" = set; then 8177 echo $ECHO_N "(cached) $ECHO_C" >&6 8178else 8179 cat >conftest.$ac_ext <<_ACEOF 8180/* confdefs.h. */ 8181_ACEOF 8182cat confdefs.h >>conftest.$ac_ext 8183cat >>conftest.$ac_ext <<_ACEOF 8184/* end confdefs.h. */ 8185$ac_includes_default 8186typedef size_t ac__type_new_; 8187int 8188main () 8189{ 8190if ((ac__type_new_ *) 0) 8191 return 0; 8192if (sizeof (ac__type_new_)) 8193 return 0; 8194 ; 8195 return 0; 8196} 8197_ACEOF 8198rm -f conftest.$ac_objext 8199if { (ac_try="$ac_compile" 8200case "(($ac_try" in 8201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8202 *) ac_try_echo=$ac_try;; 8203esac 8204eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8205 (eval "$ac_compile") 2>conftest.er1 8206 ac_status=$? 8207 grep -v '^ *+' conftest.er1 >conftest.err 8208 rm -f conftest.er1 8209 cat conftest.err >&5 8210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8211 (exit $ac_status); } && 8212 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8213 { (case "(($ac_try" in 8214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8215 *) ac_try_echo=$ac_try;; 8216esac 8217eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8218 (eval "$ac_try") 2>&5 8219 ac_status=$? 8220 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8221 (exit $ac_status); }; } && 8222 { ac_try='test -s conftest.$ac_objext' 8223 { (case "(($ac_try" in 8224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8225 *) ac_try_echo=$ac_try;; 8226esac 8227eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8228 (eval "$ac_try") 2>&5 8229 ac_status=$? 8230 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8231 (exit $ac_status); }; }; then 8232 ac_cv_type_size_t=yes 8233else 8234 echo "$as_me: failed program was:" >&5 8235sed 's/^/| /' conftest.$ac_ext >&5 8236 8237 ac_cv_type_size_t=no 8238fi 8239 8240rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8241fi 8242{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 8243echo "${ECHO_T}$ac_cv_type_size_t" >&6; } 8244if test $ac_cv_type_size_t = yes; then 8245 : 8246else 8247 8248cat >>confdefs.h <<_ACEOF 8249#define size_t unsigned int 8250_ACEOF 8251 8252fi 8253 8254 8255 8256ac_config_files="$ac_config_files Makefile src/Makefile doc/Makefile" 8257 8258cat >confcache <<\_ACEOF 8259# This file is a shell script that caches the results of configure 8260# tests run on this system so they can be shared between configure 8261# scripts and configure runs, see configure's option --config-cache. 8262# It is not useful on other systems. If it contains results you don't 8263# want to keep, you may remove or edit it. 8264# 8265# config.status only pays attention to the cache file if you give it 8266# the --recheck option to rerun configure. 8267# 8268# `ac_cv_env_foo' variables (set or unset) will be overridden when 8269# loading this file, other *unset* `ac_cv_foo' will be assigned the 8270# following values. 8271 8272_ACEOF 8273 8274# The following way of writing the cache mishandles newlines in values, 8275# but we know of no workaround that is simple, portable, and efficient. 8276# So, we kill variables containing newlines. 8277# Ultrix sh set writes to stderr and can't be redirected directly, 8278# and sets the high bit in the cache file unless we assign to the vars. 8279( 8280 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 8281 eval ac_val=\$$ac_var 8282 case $ac_val in #( 8283 *${as_nl}*) 8284 case $ac_var in #( 8285 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 8286echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 8287 esac 8288 case $ac_var in #( 8289 _ | IFS | as_nl) ;; #( 8290 *) $as_unset $ac_var ;; 8291 esac ;; 8292 esac 8293 done 8294 8295 (set) 2>&1 | 8296 case $as_nl`(ac_space=' '; set) 2>&1` in #( 8297 *${as_nl}ac_space=\ *) 8298 # `set' does not quote correctly, so add quotes (double-quote 8299 # substitution turns \\\\ into \\, and sed turns \\ into \). 8300 sed -n \ 8301 "s/'/'\\\\''/g; 8302 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 8303 ;; #( 8304 *) 8305 # `set' quotes correctly as required by POSIX, so do not add quotes. 8306 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 8307 ;; 8308 esac | 8309 sort 8310) | 8311 sed ' 8312 /^ac_cv_env_/b end 8313 t clear 8314 :clear 8315 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 8316 t end 8317 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 8318 :end' >>confcache 8319if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 8320 if test -w "$cache_file"; then 8321 test "x$cache_file" != "x/dev/null" && 8322 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 8323echo "$as_me: updating cache $cache_file" >&6;} 8324 cat confcache >$cache_file 8325 else 8326 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 8327echo "$as_me: not updating unwritable cache $cache_file" >&6;} 8328 fi 8329fi 8330rm -f confcache 8331 8332test "x$prefix" = xNONE && prefix=$ac_default_prefix 8333# Let make expand exec_prefix. 8334test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 8335 8336DEFS=-DHAVE_CONFIG_H 8337 8338ac_libobjs= 8339ac_ltlibobjs= 8340for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 8341 # 1. Remove the extension, and $U if already installed. 8342 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 8343 ac_i=`echo "$ac_i" | sed "$ac_script"` 8344 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 8345 # will be set to the directory where LIBOBJS objects are built. 8346 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 8347 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 8348done 8349LIBOBJS=$ac_libobjs 8350 8351LTLIBOBJS=$ac_ltlibobjs 8352 8353 8354if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 8355 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 8356Usually this means the macro was only invoked conditionally." >&5 8357echo "$as_me: error: conditional \"AMDEP\" was never defined. 8358Usually this means the macro was only invoked conditionally." >&2;} 8359 { (exit 1); exit 1; }; } 8360fi 8361if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 8362 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 8363Usually this means the macro was only invoked conditionally." >&5 8364echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 8365Usually this means the macro was only invoked conditionally." >&2;} 8366 { (exit 1); exit 1; }; } 8367fi 8368 8369: ${CONFIG_STATUS=./config.status} 8370ac_clean_files_save=$ac_clean_files 8371ac_clean_files="$ac_clean_files $CONFIG_STATUS" 8372{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 8373echo "$as_me: creating $CONFIG_STATUS" >&6;} 8374cat >$CONFIG_STATUS <<_ACEOF 8375#! $SHELL 8376# Generated by $as_me. 8377# Run this file to recreate the current configuration. 8378# Compiler output produced by configure, useful for debugging 8379# configure, is in config.log if it exists. 8380 8381debug=false 8382ac_cs_recheck=false 8383ac_cs_silent=false 8384SHELL=\${CONFIG_SHELL-$SHELL} 8385_ACEOF 8386 8387cat >>$CONFIG_STATUS <<\_ACEOF 8388## --------------------- ## 8389## M4sh Initialization. ## 8390## --------------------- ## 8391 8392# Be Bourne compatible 8393if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 8394 emulate sh 8395 NULLCMD=: 8396 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 8397 # is contrary to our usage. Disable this feature. 8398 alias -g '${1+"$@"}'='"$@"' 8399 setopt NO_GLOB_SUBST 8400else 8401 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 8402fi 8403BIN_SH=xpg4; export BIN_SH # for Tru64 8404DUALCASE=1; export DUALCASE # for MKS sh 8405 8406 8407# PATH needs CR 8408# Avoid depending upon Character Ranges. 8409as_cr_letters='abcdefghijklmnopqrstuvwxyz' 8410as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 8411as_cr_Letters=$as_cr_letters$as_cr_LETTERS 8412as_cr_digits='0123456789' 8413as_cr_alnum=$as_cr_Letters$as_cr_digits 8414 8415# The user is always right. 8416if test "${PATH_SEPARATOR+set}" != set; then 8417 echo "#! /bin/sh" >conf$$.sh 8418 echo "exit 0" >>conf$$.sh 8419 chmod +x conf$$.sh 8420 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 8421 PATH_SEPARATOR=';' 8422 else 8423 PATH_SEPARATOR=: 8424 fi 8425 rm -f conf$$.sh 8426fi 8427 8428# Support unset when possible. 8429if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 8430 as_unset=unset 8431else 8432 as_unset=false 8433fi 8434 8435 8436# IFS 8437# We need space, tab and new line, in precisely that order. Quoting is 8438# there to prevent editors from complaining about space-tab. 8439# (If _AS_PATH_WALK were called with IFS unset, it would disable word 8440# splitting by setting IFS to empty value.) 8441as_nl=' 8442' 8443IFS=" "" $as_nl" 8444 8445# Find who we are. Look in the path if we contain no directory separator. 8446case $0 in 8447 *[\\/]* ) as_myself=$0 ;; 8448 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8449for as_dir in $PATH 8450do 8451 IFS=$as_save_IFS 8452 test -z "$as_dir" && as_dir=. 8453 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 8454done 8455IFS=$as_save_IFS 8456 8457 ;; 8458esac 8459# We did not find ourselves, most probably we were run as `sh COMMAND' 8460# in which case we are not to be found in the path. 8461if test "x$as_myself" = x; then 8462 as_myself=$0 8463fi 8464if test ! -f "$as_myself"; then 8465 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 8466 { (exit 1); exit 1; } 8467fi 8468 8469# Work around bugs in pre-3.0 UWIN ksh. 8470for as_var in ENV MAIL MAILPATH 8471do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 8472done 8473PS1='$ ' 8474PS2='> ' 8475PS4='+ ' 8476 8477# NLS nuisances. 8478for as_var in \ 8479 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 8480 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 8481 LC_TELEPHONE LC_TIME 8482do 8483 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 8484 eval $as_var=C; export $as_var 8485 else 8486 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 8487 fi 8488done 8489 8490# Required to use basename. 8491if expr a : '\(a\)' >/dev/null 2>&1 && 8492 test "X`expr 00001 : '.*\(...\)'`" = X001; then 8493 as_expr=expr 8494else 8495 as_expr=false 8496fi 8497 8498if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 8499 as_basename=basename 8500else 8501 as_basename=false 8502fi 8503 8504 8505# Name of the executable. 8506as_me=`$as_basename -- "$0" || 8507$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 8508 X"$0" : 'X\(//\)$' \| \ 8509 X"$0" : 'X\(/\)' \| . 2>/dev/null || 8510echo X/"$0" | 8511 sed '/^.*\/\([^/][^/]*\)\/*$/{ 8512 s//\1/ 8513 q 8514 } 8515 /^X\/\(\/\/\)$/{ 8516 s//\1/ 8517 q 8518 } 8519 /^X\/\(\/\).*/{ 8520 s//\1/ 8521 q 8522 } 8523 s/.*/./; q'` 8524 8525# CDPATH. 8526$as_unset CDPATH 8527 8528 8529 8530 as_lineno_1=$LINENO 8531 as_lineno_2=$LINENO 8532 test "x$as_lineno_1" != "x$as_lineno_2" && 8533 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 8534 8535 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 8536 # uniformly replaced by the line number. The first 'sed' inserts a 8537 # line-number line after each line using $LINENO; the second 'sed' 8538 # does the real work. The second script uses 'N' to pair each 8539 # line-number line with the line containing $LINENO, and appends 8540 # trailing '-' during substitution so that $LINENO is not a special 8541 # case at line end. 8542 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 8543 # scripts with optimization help from Paolo Bonzini. Blame Lee 8544 # E. McMahon (1931-1989) for sed's syntax. :-) 8545 sed -n ' 8546 p 8547 /[$]LINENO/= 8548 ' <$as_myself | 8549 sed ' 8550 s/[$]LINENO.*/&-/ 8551 t lineno 8552 b 8553 :lineno 8554 N 8555 :loop 8556 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 8557 t loop 8558 s/-\n.*// 8559 ' >$as_me.lineno && 8560 chmod +x "$as_me.lineno" || 8561 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 8562 { (exit 1); exit 1; }; } 8563 8564 # Don't try to exec as it changes $[0], causing all sort of problems 8565 # (the dirname of $[0] is not the place where we might find the 8566 # original and so on. Autoconf is especially sensitive to this). 8567 . "./$as_me.lineno" 8568 # Exit status is that of the last command. 8569 exit 8570} 8571 8572 8573if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 8574 as_dirname=dirname 8575else 8576 as_dirname=false 8577fi 8578 8579ECHO_C= ECHO_N= ECHO_T= 8580case `echo -n x` in 8581-n*) 8582 case `echo 'x\c'` in 8583 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 8584 *) ECHO_C='\c';; 8585 esac;; 8586*) 8587 ECHO_N='-n';; 8588esac 8589 8590if expr a : '\(a\)' >/dev/null 2>&1 && 8591 test "X`expr 00001 : '.*\(...\)'`" = X001; then 8592 as_expr=expr 8593else 8594 as_expr=false 8595fi 8596 8597rm -f conf$$ conf$$.exe conf$$.file 8598if test -d conf$$.dir; then 8599 rm -f conf$$.dir/conf$$.file 8600else 8601 rm -f conf$$.dir 8602 mkdir conf$$.dir 8603fi 8604echo >conf$$.file 8605if ln -s conf$$.file conf$$ 2>/dev/null; then 8606 as_ln_s='ln -s' 8607 # ... but there are two gotchas: 8608 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 8609 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 8610 # In both cases, we have to default to `cp -p'. 8611 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 8612 as_ln_s='cp -p' 8613elif ln conf$$.file conf$$ 2>/dev/null; then 8614 as_ln_s=ln 8615else 8616 as_ln_s='cp -p' 8617fi 8618rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 8619rmdir conf$$.dir 2>/dev/null 8620 8621if mkdir -p . 2>/dev/null; then 8622 as_mkdir_p=: 8623else 8624 test -d ./-p && rmdir ./-p 8625 as_mkdir_p=false 8626fi 8627 8628# Find out whether ``test -x'' works. Don't use a zero-byte file, as 8629# systems may use methods other than mode bits to determine executability. 8630cat >conf$$.file <<_ASEOF 8631#! /bin/sh 8632exit 0 8633_ASEOF 8634chmod +x conf$$.file 8635if test -x conf$$.file >/dev/null 2>&1; then 8636 as_executable_p="test -x" 8637else 8638 as_executable_p=: 8639fi 8640rm -f conf$$.file 8641 8642# Sed expression to map a string onto a valid CPP name. 8643as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 8644 8645# Sed expression to map a string onto a valid variable name. 8646as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 8647 8648 8649exec 6>&1 8650 8651# Save the log message, to keep $[0] and so on meaningful, and to 8652# report actual input values of CONFIG_FILES etc. instead of their 8653# values after options handling. 8654ac_log=" 8655This file was extended by dnshistory $as_me 1.3, which was 8656generated by GNU Autoconf 2.60. Invocation command line was 8657 8658 CONFIG_FILES = $CONFIG_FILES 8659 CONFIG_HEADERS = $CONFIG_HEADERS 8660 CONFIG_LINKS = $CONFIG_LINKS 8661 CONFIG_COMMANDS = $CONFIG_COMMANDS 8662 $ $0 $@ 8663 8664on `(hostname || uname -n) 2>/dev/null | sed 1q` 8665" 8666 8667_ACEOF 8668 8669cat >>$CONFIG_STATUS <<_ACEOF 8670# Files that config.status was made for. 8671config_files="$ac_config_files" 8672config_headers="$ac_config_headers" 8673config_commands="$ac_config_commands" 8674 8675_ACEOF 8676 8677cat >>$CONFIG_STATUS <<\_ACEOF 8678ac_cs_usage="\ 8679\`$as_me' instantiates files from templates according to the 8680current configuration. 8681 8682Usage: $0 [OPTIONS] [FILE]... 8683 8684 -h, --help print this help, then exit 8685 -V, --version print version number, then exit 8686 -q, --quiet do not print progress messages 8687 -d, --debug don't remove temporary files 8688 --recheck update $as_me by reconfiguring in the same conditions 8689 --file=FILE[:TEMPLATE] 8690 instantiate the configuration file FILE 8691 --header=FILE[:TEMPLATE] 8692 instantiate the configuration header FILE 8693 8694Configuration files: 8695$config_files 8696 8697Configuration headers: 8698$config_headers 8699 8700Configuration commands: 8701$config_commands 8702 8703Report bugs to <bug-autoconf@gnu.org>." 8704 8705_ACEOF 8706cat >>$CONFIG_STATUS <<_ACEOF 8707ac_cs_version="\\ 8708dnshistory config.status 1.3 8709configured by $0, generated by GNU Autoconf 2.60, 8710 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 8711 8712Copyright (C) 2006 Free Software Foundation, Inc. 8713This config.status script is free software; the Free Software Foundation 8714gives unlimited permission to copy, distribute and modify it." 8715 8716ac_pwd='$ac_pwd' 8717srcdir='$srcdir' 8718INSTALL='$INSTALL' 8719_ACEOF 8720 8721cat >>$CONFIG_STATUS <<\_ACEOF 8722# If no file are specified by the user, then we need to provide default 8723# value. By we need to know if files were specified by the user. 8724ac_need_defaults=: 8725while test $# != 0 8726do 8727 case $1 in 8728 --*=*) 8729 ac_option=`expr "X$1" : 'X\([^=]*\)='` 8730 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 8731 ac_shift=: 8732 ;; 8733 *) 8734 ac_option=$1 8735 ac_optarg=$2 8736 ac_shift=shift 8737 ;; 8738 esac 8739 8740 case $ac_option in 8741 # Handling of the options. 8742 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 8743 ac_cs_recheck=: ;; 8744 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 8745 echo "$ac_cs_version"; exit ;; 8746 --debug | --debu | --deb | --de | --d | -d ) 8747 debug=: ;; 8748 --file | --fil | --fi | --f ) 8749 $ac_shift 8750 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 8751 ac_need_defaults=false;; 8752 --header | --heade | --head | --hea ) 8753 $ac_shift 8754 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 8755 ac_need_defaults=false;; 8756 --he | --h) 8757 # Conflict between --help and --header 8758 { echo "$as_me: error: ambiguous option: $1 8759Try \`$0 --help' for more information." >&2 8760 { (exit 1); exit 1; }; };; 8761 --help | --hel | -h ) 8762 echo "$ac_cs_usage"; exit ;; 8763 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 8764 | -silent | --silent | --silen | --sile | --sil | --si | --s) 8765 ac_cs_silent=: ;; 8766 8767 # This is an error. 8768 -*) { echo "$as_me: error: unrecognized option: $1 8769Try \`$0 --help' for more information." >&2 8770 { (exit 1); exit 1; }; } ;; 8771 8772 *) ac_config_targets="$ac_config_targets $1" 8773 ac_need_defaults=false ;; 8774 8775 esac 8776 shift 8777done 8778 8779ac_configure_extra_args= 8780 8781if $ac_cs_silent; then 8782 exec 6>/dev/null 8783 ac_configure_extra_args="$ac_configure_extra_args --silent" 8784fi 8785 8786_ACEOF 8787cat >>$CONFIG_STATUS <<_ACEOF 8788if \$ac_cs_recheck; then 8789 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 8790 CONFIG_SHELL=$SHELL 8791 export CONFIG_SHELL 8792 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8793fi 8794 8795_ACEOF 8796cat >>$CONFIG_STATUS <<\_ACEOF 8797exec 5>>config.log 8798{ 8799 echo 8800 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 8801## Running $as_me. ## 8802_ASBOX 8803 echo "$ac_log" 8804} >&5 8805 8806_ACEOF 8807cat >>$CONFIG_STATUS <<_ACEOF 8808# 8809# INIT-COMMANDS 8810# 8811AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 8812 8813_ACEOF 8814 8815cat >>$CONFIG_STATUS <<\_ACEOF 8816 8817# Handling of arguments. 8818for ac_config_target in $ac_config_targets 8819do 8820 case $ac_config_target in 8821 "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config-h.in" ;; 8822 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 8823 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 8824 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 8825 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 8826 8827 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 8828echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 8829 { (exit 1); exit 1; }; };; 8830 esac 8831done 8832 8833 8834# If the user did not use the arguments to specify the items to instantiate, 8835# then the envvar interface is used. Set only those that are not. 8836# We use the long form for the default assignment because of an extremely 8837# bizarre bug on SunOS 4.1.3. 8838if $ac_need_defaults; then 8839 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 8840 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 8841 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 8842fi 8843 8844# Have a temporary directory for convenience. Make it in the build tree 8845# simply because there is no reason against having it here, and in addition, 8846# creating and moving files from /tmp can sometimes cause problems. 8847# Hook for its removal unless debugging. 8848# Note that there is a small window in which the directory will not be cleaned: 8849# after its creation but before its name has been assigned to `$tmp'. 8850$debug || 8851{ 8852 tmp= 8853 trap 'exit_status=$? 8854 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 8855' 0 8856 trap '{ (exit 1); exit 1; }' 1 2 13 15 8857} 8858# Create a (secure) tmp directory for tmp files. 8859 8860{ 8861 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 8862 test -n "$tmp" && test -d "$tmp" 8863} || 8864{ 8865 tmp=./conf$$-$RANDOM 8866 (umask 077 && mkdir "$tmp") 8867} || 8868{ 8869 echo "$me: cannot create a temporary directory in ." >&2 8870 { (exit 1); exit 1; } 8871} 8872 8873# 8874# Set up the sed scripts for CONFIG_FILES section. 8875# 8876 8877# No need to generate the scripts if there are no CONFIG_FILES. 8878# This happens for instance when ./config.status config.h 8879if test -n "$CONFIG_FILES"; then 8880 8881_ACEOF 8882 8883 8884 8885ac_delim='%!_!# ' 8886for ac_last_try in false false false false false :; do 8887 cat >conf$$subs.sed <<_ACEOF 8888SHELL!$SHELL$ac_delim 8889PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 8890PACKAGE_NAME!$PACKAGE_NAME$ac_delim 8891PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 8892PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 8893PACKAGE_STRING!$PACKAGE_STRING$ac_delim 8894PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 8895exec_prefix!$exec_prefix$ac_delim 8896prefix!$prefix$ac_delim 8897program_transform_name!$program_transform_name$ac_delim 8898bindir!$bindir$ac_delim 8899sbindir!$sbindir$ac_delim 8900libexecdir!$libexecdir$ac_delim 8901datarootdir!$datarootdir$ac_delim 8902datadir!$datadir$ac_delim 8903sysconfdir!$sysconfdir$ac_delim 8904sharedstatedir!$sharedstatedir$ac_delim 8905localstatedir!$localstatedir$ac_delim 8906includedir!$includedir$ac_delim 8907oldincludedir!$oldincludedir$ac_delim 8908docdir!$docdir$ac_delim 8909infodir!$infodir$ac_delim 8910htmldir!$htmldir$ac_delim 8911dvidir!$dvidir$ac_delim 8912pdfdir!$pdfdir$ac_delim 8913psdir!$psdir$ac_delim 8914libdir!$libdir$ac_delim 8915localedir!$localedir$ac_delim 8916mandir!$mandir$ac_delim 8917DEFS!$DEFS$ac_delim 8918ECHO_C!$ECHO_C$ac_delim 8919ECHO_N!$ECHO_N$ac_delim 8920ECHO_T!$ECHO_T$ac_delim 8921LIBS!$LIBS$ac_delim 8922build_alias!$build_alias$ac_delim 8923host_alias!$host_alias$ac_delim 8924target_alias!$target_alias$ac_delim 8925INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 8926INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 8927INSTALL_DATA!$INSTALL_DATA$ac_delim 8928CYGPATH_W!$CYGPATH_W$ac_delim 8929PACKAGE!$PACKAGE$ac_delim 8930VERSION!$VERSION$ac_delim 8931ACLOCAL!$ACLOCAL$ac_delim 8932AUTOCONF!$AUTOCONF$ac_delim 8933AUTOMAKE!$AUTOMAKE$ac_delim 8934AUTOHEADER!$AUTOHEADER$ac_delim 8935MAKEINFO!$MAKEINFO$ac_delim 8936install_sh!$install_sh$ac_delim 8937STRIP!$STRIP$ac_delim 8938INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim 8939mkdir_p!$mkdir_p$ac_delim 8940AWK!$AWK$ac_delim 8941SET_MAKE!$SET_MAKE$ac_delim 8942am__leading_dot!$am__leading_dot$ac_delim 8943AMTAR!$AMTAR$ac_delim 8944am__tar!$am__tar$ac_delim 8945am__untar!$am__untar$ac_delim 8946CC!$CC$ac_delim 8947CFLAGS!$CFLAGS$ac_delim 8948LDFLAGS!$LDFLAGS$ac_delim 8949CPPFLAGS!$CPPFLAGS$ac_delim 8950ac_ct_CC!$ac_ct_CC$ac_delim 8951EXEEXT!$EXEEXT$ac_delim 8952OBJEXT!$OBJEXT$ac_delim 8953DEPDIR!$DEPDIR$ac_delim 8954am__include!$am__include$ac_delim 8955am__quote!$am__quote$ac_delim 8956AMDEP_TRUE!$AMDEP_TRUE$ac_delim 8957AMDEP_FALSE!$AMDEP_FALSE$ac_delim 8958AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim 8959CCDEPMODE!$CCDEPMODE$ac_delim 8960am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim 8961am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim 8962ac_cv_dbname!$ac_cv_dbname$ac_delim 8963ac_cv_dbdir!$ac_cv_dbdir$ac_delim 8964RANLIB!$RANLIB$ac_delim 8965CPP!$CPP$ac_delim 8966GREP!$GREP$ac_delim 8967EGREP!$EGREP$ac_delim 8968LIBOBJS!$LIBOBJS$ac_delim 8969LTLIBOBJS!$LTLIBOBJS$ac_delim 8970_ACEOF 8971 8972 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then 8973 break 8974 elif $ac_last_try; then 8975 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 8976echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 8977 { (exit 1); exit 1; }; } 8978 else 8979 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 8980 fi 8981done 8982 8983ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 8984if test -n "$ac_eof"; then 8985 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 8986 ac_eof=`expr $ac_eof + 1` 8987fi 8988 8989cat >>$CONFIG_STATUS <<_ACEOF 8990cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 8991/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 8992_ACEOF 8993sed ' 8994s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 8995s/^/s,@/; s/!/@,|#_!!_#|/ 8996:n 8997t n 8998s/'"$ac_delim"'$/,g/; t 8999s/$/\\/; p 9000N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 9001' >>$CONFIG_STATUS <conf$$subs.sed 9002rm -f conf$$subs.sed 9003cat >>$CONFIG_STATUS <<_ACEOF 9004:end 9005s/|#_!!_#|//g 9006CEOF$ac_eof 9007_ACEOF 9008 9009 9010# VPATH may cause trouble with some makes, so we remove $(srcdir), 9011# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 9012# trailing colons and then remove the whole line if VPATH becomes empty 9013# (actually we leave an empty line to preserve line numbers). 9014if test "x$srcdir" = x.; then 9015 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 9016s/:*\$(srcdir):*/:/ 9017s/:*\${srcdir}:*/:/ 9018s/:*@srcdir@:*/:/ 9019s/^\([^=]*=[ ]*\):*/\1/ 9020s/:*$// 9021s/^[^=]*=[ ]*$// 9022}' 9023fi 9024 9025cat >>$CONFIG_STATUS <<\_ACEOF 9026fi # test -n "$CONFIG_FILES" 9027 9028 9029for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS 9030do 9031 case $ac_tag in 9032 :[FHLC]) ac_mode=$ac_tag; continue;; 9033 esac 9034 case $ac_mode$ac_tag in 9035 :[FHL]*:*);; 9036 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 9037echo "$as_me: error: Invalid tag $ac_tag." >&2;} 9038 { (exit 1); exit 1; }; };; 9039 :[FH]-) ac_tag=-:-;; 9040 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 9041 esac 9042 ac_save_IFS=$IFS 9043 IFS=: 9044 set x $ac_tag 9045 IFS=$ac_save_IFS 9046 shift 9047 ac_file=$1 9048 shift 9049 9050 case $ac_mode in 9051 :L) ac_source=$1;; 9052 :[FH]) 9053 ac_file_inputs= 9054 for ac_f 9055 do 9056 case $ac_f in 9057 -) ac_f="$tmp/stdin";; 9058 *) # Look for the file first in the build tree, then in the source tree 9059 # (if the path is not absolute). The absolute path cannot be DOS-style, 9060 # because $ac_f cannot contain `:'. 9061 test -f "$ac_f" || 9062 case $ac_f in 9063 [\\/$]*) false;; 9064 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 9065 esac || 9066 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 9067echo "$as_me: error: cannot find input file: $ac_f" >&2;} 9068 { (exit 1); exit 1; }; };; 9069 esac 9070 ac_file_inputs="$ac_file_inputs $ac_f" 9071 done 9072 9073 # Let's still pretend it is `configure' which instantiates (i.e., don't 9074 # use $as_me), people would be surprised to read: 9075 # /* config.h. Generated by config.status. */ 9076 configure_input="Generated from "`IFS=: 9077 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 9078 if test x"$ac_file" != x-; then 9079 configure_input="$ac_file. $configure_input" 9080 { echo "$as_me:$LINENO: creating $ac_file" >&5 9081echo "$as_me: creating $ac_file" >&6;} 9082 fi 9083 9084 case $ac_tag in 9085 *:-:* | *:-) cat >"$tmp/stdin";; 9086 esac 9087 ;; 9088 esac 9089 9090 ac_dir=`$as_dirname -- "$ac_file" || 9091$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9092 X"$ac_file" : 'X\(//\)[^/]' \| \ 9093 X"$ac_file" : 'X\(//\)$' \| \ 9094 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 9095echo X"$ac_file" | 9096 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9097 s//\1/ 9098 q 9099 } 9100 /^X\(\/\/\)[^/].*/{ 9101 s//\1/ 9102 q 9103 } 9104 /^X\(\/\/\)$/{ 9105 s//\1/ 9106 q 9107 } 9108 /^X\(\/\).*/{ 9109 s//\1/ 9110 q 9111 } 9112 s/.*/./; q'` 9113 { as_dir="$ac_dir" 9114 case $as_dir in #( 9115 -*) as_dir=./$as_dir;; 9116 esac 9117 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 9118 as_dirs= 9119 while :; do 9120 case $as_dir in #( 9121 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 9122 *) as_qdir=$as_dir;; 9123 esac 9124 as_dirs="'$as_qdir' $as_dirs" 9125 as_dir=`$as_dirname -- "$as_dir" || 9126$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9127 X"$as_dir" : 'X\(//\)[^/]' \| \ 9128 X"$as_dir" : 'X\(//\)$' \| \ 9129 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 9130echo X"$as_dir" | 9131 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9132 s//\1/ 9133 q 9134 } 9135 /^X\(\/\/\)[^/].*/{ 9136 s//\1/ 9137 q 9138 } 9139 /^X\(\/\/\)$/{ 9140 s//\1/ 9141 q 9142 } 9143 /^X\(\/\).*/{ 9144 s//\1/ 9145 q 9146 } 9147 s/.*/./; q'` 9148 test -d "$as_dir" && break 9149 done 9150 test -z "$as_dirs" || eval "mkdir $as_dirs" 9151 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 9152echo "$as_me: error: cannot create directory $as_dir" >&2;} 9153 { (exit 1); exit 1; }; }; } 9154 ac_builddir=. 9155 9156case "$ac_dir" in 9157.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 9158*) 9159 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 9160 # A ".." for each directory in $ac_dir_suffix. 9161 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 9162 case $ac_top_builddir_sub in 9163 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 9164 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 9165 esac ;; 9166esac 9167ac_abs_top_builddir=$ac_pwd 9168ac_abs_builddir=$ac_pwd$ac_dir_suffix 9169# for backward compatibility: 9170ac_top_builddir=$ac_top_build_prefix 9171 9172case $srcdir in 9173 .) # We are building in place. 9174 ac_srcdir=. 9175 ac_top_srcdir=$ac_top_builddir_sub 9176 ac_abs_top_srcdir=$ac_pwd ;; 9177 [\\/]* | ?:[\\/]* ) # Absolute name. 9178 ac_srcdir=$srcdir$ac_dir_suffix; 9179 ac_top_srcdir=$srcdir 9180 ac_abs_top_srcdir=$srcdir ;; 9181 *) # Relative name. 9182 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 9183 ac_top_srcdir=$ac_top_build_prefix$srcdir 9184 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 9185esac 9186ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 9187 9188 9189 case $ac_mode in 9190 :F) 9191 # 9192 # CONFIG_FILE 9193 # 9194 9195 case $INSTALL in 9196 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 9197 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 9198 esac 9199_ACEOF 9200 9201cat >>$CONFIG_STATUS <<\_ACEOF 9202# If the template does not know about datarootdir, expand it. 9203# FIXME: This hack should be removed a few years after 2.60. 9204ac_datarootdir_hack=; ac_datarootdir_seen= 9205 9206case `sed -n '/datarootdir/ { 9207 p 9208 q 9209} 9210/@datadir@/p 9211/@docdir@/p 9212/@infodir@/p 9213/@localedir@/p 9214/@mandir@/p 9215' $ac_file_inputs` in 9216*datarootdir*) ac_datarootdir_seen=yes;; 9217*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 9218 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 9219echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 9220_ACEOF 9221cat >>$CONFIG_STATUS <<_ACEOF 9222 ac_datarootdir_hack=' 9223 s&@datadir@&$datadir&g 9224 s&@docdir@&$docdir&g 9225 s&@infodir@&$infodir&g 9226 s&@localedir@&$localedir&g 9227 s&@mandir@&$mandir&g 9228 s&\\\${datarootdir}&$datarootdir&g' ;; 9229esac 9230_ACEOF 9231 9232# Neutralize VPATH when `$srcdir' = `.'. 9233# Shell code in configure.ac might set extrasub. 9234# FIXME: do we really want to maintain this feature? 9235cat >>$CONFIG_STATUS <<_ACEOF 9236 sed "$ac_vpsub 9237$extrasub 9238_ACEOF 9239cat >>$CONFIG_STATUS <<\_ACEOF 9240:t 9241/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 9242s&@configure_input@&$configure_input&;t t 9243s&@top_builddir@&$ac_top_builddir_sub&;t t 9244s&@srcdir@&$ac_srcdir&;t t 9245s&@abs_srcdir@&$ac_abs_srcdir&;t t 9246s&@top_srcdir@&$ac_top_srcdir&;t t 9247s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 9248s&@builddir@&$ac_builddir&;t t 9249s&@abs_builddir@&$ac_abs_builddir&;t t 9250s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9251s&@INSTALL@&$ac_INSTALL&;t t 9252$ac_datarootdir_hack 9253" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out 9254 9255test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9256 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 9257 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 9258 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9259which seems to be undefined. Please make sure it is defined." >&5 9260echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9261which seems to be undefined. Please make sure it is defined." >&2;} 9262 9263 rm -f "$tmp/stdin" 9264 case $ac_file in 9265 -) cat "$tmp/out"; rm -f "$tmp/out";; 9266 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 9267 esac 9268 ;; 9269 :H) 9270 # 9271 # CONFIG_HEADER 9272 # 9273_ACEOF 9274 9275# Transform confdefs.h into a sed script `conftest.defines', that 9276# substitutes the proper values into config.h.in to produce config.h. 9277rm -f conftest.defines conftest.tail 9278# First, append a space to every undef/define line, to ease matching. 9279echo 's/$/ /' >conftest.defines 9280# Then, protect against being on the right side of a sed subst, or in 9281# an unquoted here document, in config.status. If some macros were 9282# called several times there might be several #defines for the same 9283# symbol, which is useless. But do not sort them, since the last 9284# AC_DEFINE must be honored. 9285ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 9286# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 9287# NAME is the cpp macro being defined, VALUE is the value it is being given. 9288# PARAMS is the parameter list in the macro definition--in most cases, it's 9289# just an empty string. 9290ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 9291ac_dB='\\)[ (].*,\\1define\\2' 9292ac_dC=' ' 9293ac_dD=' ,' 9294 9295uniq confdefs.h | 9296 sed -n ' 9297 t rset 9298 :rset 9299 s/^[ ]*#[ ]*define[ ][ ]*// 9300 t ok 9301 d 9302 :ok 9303 s/[\\&,]/\\&/g 9304 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 9305 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 9306 ' >>conftest.defines 9307 9308# Remove the space that was appended to ease matching. 9309# Then replace #undef with comments. This is necessary, for 9310# example, in the case of _POSIX_SOURCE, which is predefined and required 9311# on some systems where configure will not decide to define it. 9312# (The regexp can be short, since the line contains either #define or #undef.) 9313echo 's/ $// 9314s,^[ #]*u.*,/* & */,' >>conftest.defines 9315 9316# Break up conftest.defines: 9317ac_max_sed_lines=50 9318 9319# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" 9320# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" 9321# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" 9322# et cetera. 9323ac_in='$ac_file_inputs' 9324ac_out='"$tmp/out1"' 9325ac_nxt='"$tmp/out2"' 9326 9327while : 9328do 9329 # Write a here document: 9330 cat >>$CONFIG_STATUS <<_ACEOF 9331 # First, check the format of the line: 9332 cat >"\$tmp/defines.sed" <<\\CEOF 9333/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def 9334/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 9335b 9336:def 9337_ACEOF 9338 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 9339 echo 'CEOF 9340 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 9341 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 9342 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 9343 grep . conftest.tail >/dev/null || break 9344 rm -f conftest.defines 9345 mv conftest.tail conftest.defines 9346done 9347rm -f conftest.defines conftest.tail 9348 9349echo "ac_result=$ac_in" >>$CONFIG_STATUS 9350cat >>$CONFIG_STATUS <<\_ACEOF 9351 if test x"$ac_file" != x-; then 9352 echo "/* $configure_input */" >"$tmp/config.h" 9353 cat "$ac_result" >>"$tmp/config.h" 9354 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 9355 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 9356echo "$as_me: $ac_file is unchanged" >&6;} 9357 else 9358 rm -f $ac_file 9359 mv "$tmp/config.h" $ac_file 9360 fi 9361 else 9362 echo "/* $configure_input */" 9363 cat "$ac_result" 9364 fi 9365 rm -f "$tmp/out12" 9366# Compute $ac_file's index in $config_headers. 9367_am_stamp_count=1 9368for _am_header in $config_headers :; do 9369 case $_am_header in 9370 $ac_file | $ac_file:* ) 9371 break ;; 9372 * ) 9373 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 9374 esac 9375done 9376echo "timestamp for $ac_file" >`$as_dirname -- $ac_file || 9377$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9378 X$ac_file : 'X\(//\)[^/]' \| \ 9379 X$ac_file : 'X\(//\)$' \| \ 9380 X$ac_file : 'X\(/\)' \| . 2>/dev/null || 9381echo X$ac_file | 9382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9383 s//\1/ 9384 q 9385 } 9386 /^X\(\/\/\)[^/].*/{ 9387 s//\1/ 9388 q 9389 } 9390 /^X\(\/\/\)$/{ 9391 s//\1/ 9392 q 9393 } 9394 /^X\(\/\).*/{ 9395 s//\1/ 9396 q 9397 } 9398 s/.*/./; q'`/stamp-h$_am_stamp_count 9399 ;; 9400 9401 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 9402echo "$as_me: executing $ac_file commands" >&6;} 9403 ;; 9404 esac 9405 9406 9407 case $ac_file$ac_mode in 9408 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 9409 # Strip MF so we end up with the name of the file. 9410 mf=`echo "$mf" | sed -e 's/:.*$//'` 9411 # Check whether this is an Automake generated Makefile or not. 9412 # We used to match only the files named `Makefile.in', but 9413 # some people rename them; so instead we look at the file content. 9414 # Grep'ing the first line is not enough: some people post-process 9415 # each Makefile.in and add a new line on top of each file to say so. 9416 # So let's grep whole file. 9417 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 9418 dirpart=`$as_dirname -- "$mf" || 9419$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9420 X"$mf" : 'X\(//\)[^/]' \| \ 9421 X"$mf" : 'X\(//\)$' \| \ 9422 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 9423echo X"$mf" | 9424 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9425 s//\1/ 9426 q 9427 } 9428 /^X\(\/\/\)[^/].*/{ 9429 s//\1/ 9430 q 9431 } 9432 /^X\(\/\/\)$/{ 9433 s//\1/ 9434 q 9435 } 9436 /^X\(\/\).*/{ 9437 s//\1/ 9438 q 9439 } 9440 s/.*/./; q'` 9441 else 9442 continue 9443 fi 9444 # Extract the definition of DEPDIR, am__include, and am__quote 9445 # from the Makefile without running `make'. 9446 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 9447 test -z "$DEPDIR" && continue 9448 am__include=`sed -n 's/^am__include = //p' < "$mf"` 9449 test -z "am__include" && continue 9450 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 9451 # When using ansi2knr, U may be empty or an underscore; expand it 9452 U=`sed -n 's/^U = //p' < "$mf"` 9453 # Find all dependency output files, they are included files with 9454 # $(DEPDIR) in their names. We invoke sed twice because it is the 9455 # simplest approach to changing $(DEPDIR) to its actual value in the 9456 # expansion. 9457 for file in `sed -n " 9458 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 9459 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 9460 # Make sure the directory exists. 9461 test -f "$dirpart/$file" && continue 9462 fdir=`$as_dirname -- "$file" || 9463$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9464 X"$file" : 'X\(//\)[^/]' \| \ 9465 X"$file" : 'X\(//\)$' \| \ 9466 X"$file" : 'X\(/\)' \| . 2>/dev/null || 9467echo X"$file" | 9468 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9469 s//\1/ 9470 q 9471 } 9472 /^X\(\/\/\)[^/].*/{ 9473 s//\1/ 9474 q 9475 } 9476 /^X\(\/\/\)$/{ 9477 s//\1/ 9478 q 9479 } 9480 /^X\(\/\).*/{ 9481 s//\1/ 9482 q 9483 } 9484 s/.*/./; q'` 9485 { as_dir=$dirpart/$fdir 9486 case $as_dir in #( 9487 -*) as_dir=./$as_dir;; 9488 esac 9489 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 9490 as_dirs= 9491 while :; do 9492 case $as_dir in #( 9493 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 9494 *) as_qdir=$as_dir;; 9495 esac 9496 as_dirs="'$as_qdir' $as_dirs" 9497 as_dir=`$as_dirname -- "$as_dir" || 9498$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9499 X"$as_dir" : 'X\(//\)[^/]' \| \ 9500 X"$as_dir" : 'X\(//\)$' \| \ 9501 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 9502echo X"$as_dir" | 9503 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9504 s//\1/ 9505 q 9506 } 9507 /^X\(\/\/\)[^/].*/{ 9508 s//\1/ 9509 q 9510 } 9511 /^X\(\/\/\)$/{ 9512 s//\1/ 9513 q 9514 } 9515 /^X\(\/\).*/{ 9516 s//\1/ 9517 q 9518 } 9519 s/.*/./; q'` 9520 test -d "$as_dir" && break 9521 done 9522 test -z "$as_dirs" || eval "mkdir $as_dirs" 9523 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 9524echo "$as_me: error: cannot create directory $as_dir" >&2;} 9525 { (exit 1); exit 1; }; }; } 9526 # echo "creating $dirpart/$file" 9527 echo '# dummy' > "$dirpart/$file" 9528 done 9529done 9530 ;; 9531 9532 esac 9533done # for ac_tag 9534 9535 9536{ (exit 0); exit 0; } 9537_ACEOF 9538chmod +x $CONFIG_STATUS 9539ac_clean_files=$ac_clean_files_save 9540 9541 9542# configure is writing to config.log, and then calls config.status. 9543# config.status does its own redirection, appending to config.log. 9544# Unfortunately, on DOS this fails, as config.log is still kept open 9545# by configure, so config.status won't be able to write to it; its 9546# output is simply discarded. So we exec the FD to /dev/null, 9547# effectively closing config.log, so it can be properly (re)opened and 9548# appended to by config.status. When coming back to configure, we 9549# need to make the FD available again. 9550if test "$no_create" != yes; then 9551 ac_cs_success=: 9552 ac_config_status_args= 9553 test "$silent" = yes && 9554 ac_config_status_args="$ac_config_status_args --quiet" 9555 exec 5>/dev/null 9556 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 9557 exec 5>>config.log 9558 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 9559 # would make configure fail if this is the last instruction. 9560 $ac_cs_success || { (exit 1); exit 1; } 9561fi 9562 9563 9564