1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.61 for webalizer V2.23. 4# 5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 7# This configure script is free software; the Free Software Foundation 8# gives unlimited permission to copy, distribute and modify it. 9## --------------------- ## 10## M4sh Initialization. ## 11## --------------------- ## 12 13# Be more Bourne compatible 14DUALCASE=1; export DUALCASE # for MKS sh 15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 16 emulate sh 17 NULLCMD=: 18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 19 # is contrary to our usage. Disable this feature. 20 alias -g '${1+"$@"}'='"$@"' 21 setopt NO_GLOB_SUBST 22else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25esac 26 27fi 28 29 30 31 32# PATH needs CR 33# Avoid depending upon Character Ranges. 34as_cr_letters='abcdefghijklmnopqrstuvwxyz' 35as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 36as_cr_Letters=$as_cr_letters$as_cr_LETTERS 37as_cr_digits='0123456789' 38as_cr_alnum=$as_cr_Letters$as_cr_digits 39 40# The user is always right. 41if test "${PATH_SEPARATOR+set}" != set; then 42 echo "#! /bin/sh" >conf$$.sh 43 echo "exit 0" >>conf$$.sh 44 chmod +x conf$$.sh 45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 46 PATH_SEPARATOR=';' 47 else 48 PATH_SEPARATOR=: 49 fi 50 rm -f conf$$.sh 51fi 52 53# Support unset when possible. 54if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 55 as_unset=unset 56else 57 as_unset=false 58fi 59 60 61# IFS 62# We need space, tab and new line, in precisely that order. Quoting is 63# there to prevent editors from complaining about space-tab. 64# (If _AS_PATH_WALK were called with IFS unset, it would disable word 65# splitting by setting IFS to empty value.) 66as_nl=' 67' 68IFS=" "" $as_nl" 69 70# Find who we are. Look in the path if we contain no directory separator. 71case $0 in 72 *[\\/]* ) as_myself=$0 ;; 73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 74for as_dir in $PATH 75do 76 IFS=$as_save_IFS 77 test -z "$as_dir" && as_dir=. 78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 79done 80IFS=$as_save_IFS 81 82 ;; 83esac 84# We did not find ourselves, most probably we were run as `sh COMMAND' 85# in which case we are not to be found in the path. 86if test "x$as_myself" = x; then 87 as_myself=$0 88fi 89if test ! -f "$as_myself"; then 90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 91 { (exit 1); exit 1; } 92fi 93 94# Work around bugs in pre-3.0 UWIN ksh. 95for as_var in ENV MAIL MAILPATH 96do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 97done 98PS1='$ ' 99PS2='> ' 100PS4='+ ' 101 102# NLS nuisances. 103for as_var in \ 104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 106 LC_TELEPHONE LC_TIME 107do 108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 109 eval $as_var=C; export $as_var 110 else 111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 112 fi 113done 114 115# Required to use basename. 116if expr a : '\(a\)' >/dev/null 2>&1 && 117 test "X`expr 00001 : '.*\(...\)'`" = X001; then 118 as_expr=expr 119else 120 as_expr=false 121fi 122 123if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 124 as_basename=basename 125else 126 as_basename=false 127fi 128 129 130# Name of the executable. 131as_me=`$as_basename -- "$0" || 132$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 133 X"$0" : 'X\(//\)$' \| \ 134 X"$0" : 'X\(/\)' \| . 2>/dev/null || 135echo X/"$0" | 136 sed '/^.*\/\([^/][^/]*\)\/*$/{ 137 s//\1/ 138 q 139 } 140 /^X\/\(\/\/\)$/{ 141 s//\1/ 142 q 143 } 144 /^X\/\(\/\).*/{ 145 s//\1/ 146 q 147 } 148 s/.*/./; q'` 149 150# CDPATH. 151$as_unset CDPATH 152 153 154if test "x$CONFIG_SHELL" = x; then 155 if (eval ":") 2>/dev/null; then 156 as_have_required=yes 157else 158 as_have_required=no 159fi 160 161 if test $as_have_required = yes && (eval ": 162(as_func_return () { 163 (exit \$1) 164} 165as_func_success () { 166 as_func_return 0 167} 168as_func_failure () { 169 as_func_return 1 170} 171as_func_ret_success () { 172 return 0 173} 174as_func_ret_failure () { 175 return 1 176} 177 178exitcode=0 179if as_func_success; then 180 : 181else 182 exitcode=1 183 echo as_func_success failed. 184fi 185 186if as_func_failure; then 187 exitcode=1 188 echo as_func_failure succeeded. 189fi 190 191if as_func_ret_success; then 192 : 193else 194 exitcode=1 195 echo as_func_ret_success failed. 196fi 197 198if as_func_ret_failure; then 199 exitcode=1 200 echo as_func_ret_failure succeeded. 201fi 202 203if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 204 : 205else 206 exitcode=1 207 echo positional parameters were not saved. 208fi 209 210test \$exitcode = 0) || { (exit 1); exit 1; } 211 212( 213 as_lineno_1=\$LINENO 214 as_lineno_2=\$LINENO 215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 217") 2> /dev/null; then 218 : 219else 220 as_candidate_shells= 221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 222for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 223do 224 IFS=$as_save_IFS 225 test -z "$as_dir" && as_dir=. 226 case $as_dir in 227 /*) 228 for as_base in sh bash ksh sh5; do 229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 230 done;; 231 esac 232done 233IFS=$as_save_IFS 234 235 236 for as_shell in $as_candidate_shells $SHELL; do 237 # Try only shells that exist, to save several forks. 238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 239 { ("$as_shell") 2> /dev/null <<\_ASEOF 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 249 *posix*) set -o posix ;; 250esac 251 252fi 253 254 255: 256_ASEOF 257}; then 258 CONFIG_SHELL=$as_shell 259 as_have_required=yes 260 if { "$as_shell" 2> /dev/null <<\_ASEOF 261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271esac 272 273fi 274 275 276: 277(as_func_return () { 278 (exit $1) 279} 280as_func_success () { 281 as_func_return 0 282} 283as_func_failure () { 284 as_func_return 1 285} 286as_func_ret_success () { 287 return 0 288} 289as_func_ret_failure () { 290 return 1 291} 292 293exitcode=0 294if as_func_success; then 295 : 296else 297 exitcode=1 298 echo as_func_success failed. 299fi 300 301if as_func_failure; then 302 exitcode=1 303 echo as_func_failure succeeded. 304fi 305 306if as_func_ret_success; then 307 : 308else 309 exitcode=1 310 echo as_func_ret_success failed. 311fi 312 313if as_func_ret_failure; then 314 exitcode=1 315 echo as_func_ret_failure succeeded. 316fi 317 318if ( set x; as_func_ret_success y && test x = "$1" ); then 319 : 320else 321 exitcode=1 322 echo positional parameters were not saved. 323fi 324 325test $exitcode = 0) || { (exit 1); exit 1; } 326 327( 328 as_lineno_1=$LINENO 329 as_lineno_2=$LINENO 330 test "x$as_lineno_1" != "x$as_lineno_2" && 331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 332 333_ASEOF 334}; then 335 break 336fi 337 338fi 339 340 done 341 342 if test "x$CONFIG_SHELL" != x; then 343 for as_var in BASH_ENV ENV 344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 345 done 346 export CONFIG_SHELL 347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 348fi 349 350 351 if test $as_have_required = no; then 352 echo This script requires a shell more modern than all the 353 echo shells that I found on your system. Please install a 354 echo modern shell, or manually run the script under such a 355 echo shell if you do have one. 356 { (exit 1); exit 1; } 357fi 358 359 360fi 361 362fi 363 364 365 366(eval "as_func_return () { 367 (exit \$1) 368} 369as_func_success () { 370 as_func_return 0 371} 372as_func_failure () { 373 as_func_return 1 374} 375as_func_ret_success () { 376 return 0 377} 378as_func_ret_failure () { 379 return 1 380} 381 382exitcode=0 383if as_func_success; then 384 : 385else 386 exitcode=1 387 echo as_func_success failed. 388fi 389 390if as_func_failure; then 391 exitcode=1 392 echo as_func_failure succeeded. 393fi 394 395if as_func_ret_success; then 396 : 397else 398 exitcode=1 399 echo as_func_ret_success failed. 400fi 401 402if as_func_ret_failure; then 403 exitcode=1 404 echo as_func_ret_failure succeeded. 405fi 406 407if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 408 : 409else 410 exitcode=1 411 echo positional parameters were not saved. 412fi 413 414test \$exitcode = 0") || { 415 echo No shell found that supports shell functions. 416 echo Please tell autoconf@gnu.org about your system, 417 echo including any error possibly output before this 418 echo message 419} 420 421 422 423 as_lineno_1=$LINENO 424 as_lineno_2=$LINENO 425 test "x$as_lineno_1" != "x$as_lineno_2" && 426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 427 428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 429 # uniformly replaced by the line number. The first 'sed' inserts a 430 # line-number line after each line using $LINENO; the second 'sed' 431 # does the real work. The second script uses 'N' to pair each 432 # line-number line with the line containing $LINENO, and appends 433 # trailing '-' during substitution so that $LINENO is not a special 434 # case at line end. 435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 436 # scripts with optimization help from Paolo Bonzini. Blame Lee 437 # E. McMahon (1931-1989) for sed's syntax. :-) 438 sed -n ' 439 p 440 /[$]LINENO/= 441 ' <$as_myself | 442 sed ' 443 s/[$]LINENO.*/&-/ 444 t lineno 445 b 446 :lineno 447 N 448 :loop 449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 450 t loop 451 s/-\n.*// 452 ' >$as_me.lineno && 453 chmod +x "$as_me.lineno" || 454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 455 { (exit 1); exit 1; }; } 456 457 # Don't try to exec as it changes $[0], causing all sort of problems 458 # (the dirname of $[0] is not the place where we might find the 459 # original and so on. Autoconf is especially sensitive to this). 460 . "./$as_me.lineno" 461 # Exit status is that of the last command. 462 exit 463} 464 465 466if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 467 as_dirname=dirname 468else 469 as_dirname=false 470fi 471 472ECHO_C= ECHO_N= ECHO_T= 473case `echo -n x` in 474-n*) 475 case `echo 'x\c'` in 476 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 477 *) ECHO_C='\c';; 478 esac;; 479*) 480 ECHO_N='-n';; 481esac 482 483if expr a : '\(a\)' >/dev/null 2>&1 && 484 test "X`expr 00001 : '.*\(...\)'`" = X001; then 485 as_expr=expr 486else 487 as_expr=false 488fi 489 490rm -f conf$$ conf$$.exe conf$$.file 491if test -d conf$$.dir; then 492 rm -f conf$$.dir/conf$$.file 493else 494 rm -f conf$$.dir 495 mkdir conf$$.dir 496fi 497echo >conf$$.file 498if ln -s conf$$.file conf$$ 2>/dev/null; then 499 as_ln_s='ln -s' 500 # ... but there are two gotchas: 501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 503 # In both cases, we have to default to `cp -p'. 504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 505 as_ln_s='cp -p' 506elif ln conf$$.file conf$$ 2>/dev/null; then 507 as_ln_s=ln 508else 509 as_ln_s='cp -p' 510fi 511rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 512rmdir conf$$.dir 2>/dev/null 513 514if mkdir -p . 2>/dev/null; then 515 as_mkdir_p=: 516else 517 test -d ./-p && rmdir ./-p 518 as_mkdir_p=false 519fi 520 521if test -x / >/dev/null 2>&1; then 522 as_test_x='test -x' 523else 524 if ls -dL / >/dev/null 2>&1; then 525 as_ls_L_option=L 526 else 527 as_ls_L_option= 528 fi 529 as_test_x=' 530 eval sh -c '\'' 531 if test -d "$1"; then 532 test -d "$1/."; 533 else 534 case $1 in 535 -*)set "./$1";; 536 esac; 537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 538 ???[sx]*):;;*)false;;esac;fi 539 '\'' sh 540 ' 541fi 542as_executable_p=$as_test_x 543 544# Sed expression to map a string onto a valid CPP name. 545as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 546 547# Sed expression to map a string onto a valid variable name. 548as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 549 550 551 552exec 7<&0 </dev/null 6>&1 553 554# Name of the host. 555# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 556# so uname gets run too. 557ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 558 559# 560# Initializations. 561# 562ac_default_prefix=/usr/local 563ac_clean_files= 564ac_config_libobj_dir=. 565LIBOBJS= 566cross_compiling=no 567subdirs= 568MFLAGS= 569MAKEFLAGS= 570SHELL=${CONFIG_SHELL-/bin/sh} 571 572# Identity of this package. 573PACKAGE_NAME='webalizer' 574PACKAGE_TARNAME='webalizer' 575PACKAGE_VERSION='V2.23' 576PACKAGE_STRING='webalizer V2.23' 577PACKAGE_BUGREPORT='' 578 579# Factoring default headers for most tests. 580ac_includes_default="\ 581#include <stdio.h> 582#ifdef HAVE_SYS_TYPES_H 583# include <sys/types.h> 584#endif 585#ifdef HAVE_SYS_STAT_H 586# include <sys/stat.h> 587#endif 588#ifdef STDC_HEADERS 589# include <stdlib.h> 590# include <stddef.h> 591#else 592# ifdef HAVE_STDLIB_H 593# include <stdlib.h> 594# endif 595#endif 596#ifdef HAVE_STRING_H 597# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 598# include <memory.h> 599# endif 600# include <string.h> 601#endif 602#ifdef HAVE_STRINGS_H 603# include <strings.h> 604#endif 605#ifdef HAVE_INTTYPES_H 606# include <inttypes.h> 607#endif 608#ifdef HAVE_STDINT_H 609# include <stdint.h> 610#endif 611#ifdef HAVE_UNISTD_H 612# include <unistd.h> 613#endif" 614 615ac_subst_vars='SHELL 616PATH_SEPARATOR 617PACKAGE_NAME 618PACKAGE_TARNAME 619PACKAGE_VERSION 620PACKAGE_STRING 621PACKAGE_BUGREPORT 622exec_prefix 623prefix 624program_transform_name 625bindir 626sbindir 627libexecdir 628datarootdir 629datadir 630sysconfdir 631sharedstatedir 632localstatedir 633includedir 634oldincludedir 635docdir 636infodir 637htmldir 638dvidir 639pdfdir 640psdir 641libdir 642localedir 643mandir 644DEFS 645ECHO_C 646ECHO_N 647ECHO_T 648LIBS 649build_alias 650host_alias 651target_alias 652OPTS 653WCMGR_LIBS 654DEFAULT_LANG 655CC 656CFLAGS 657LDFLAGS 658CPPFLAGS 659ac_ct_CC 660EXEEXT 661OBJEXT 662LN_S 663INSTALL_PROGRAM 664INSTALL_SCRIPT 665INSTALL_DATA 666CPP 667GREP 668EGREP 669GEODB_LOC 670LIBOBJS 671LTLIBOBJS' 672ac_subst_files='' 673 ac_precious_vars='build_alias 674host_alias 675target_alias 676CC 677CFLAGS 678LDFLAGS 679LIBS 680CPPFLAGS 681CPP' 682 683 684# Initialize some variables set by options. 685ac_init_help= 686ac_init_version=false 687# The variables have the same names as the options, with 688# dashes changed to underlines. 689cache_file=/dev/null 690exec_prefix=NONE 691no_create= 692no_recursion= 693prefix=NONE 694program_prefix=NONE 695program_suffix=NONE 696program_transform_name=s,x,x, 697silent= 698site= 699srcdir= 700verbose= 701x_includes=NONE 702x_libraries=NONE 703 704# Installation directory options. 705# These are left unexpanded so users can "make install exec_prefix=/foo" 706# and all the variables that are supposed to be based on exec_prefix 707# by default will actually change. 708# Use braces instead of parens because sh, perl, etc. also accept them. 709# (The list follows the same order as the GNU Coding Standards.) 710bindir='${exec_prefix}/bin' 711sbindir='${exec_prefix}/sbin' 712libexecdir='${exec_prefix}/libexec' 713datarootdir='${prefix}/share' 714datadir='${datarootdir}' 715sysconfdir='${prefix}/etc' 716sharedstatedir='${prefix}/com' 717localstatedir='${prefix}/var' 718includedir='${prefix}/include' 719oldincludedir='/usr/include' 720docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 721infodir='${datarootdir}/info' 722htmldir='${docdir}' 723dvidir='${docdir}' 724pdfdir='${docdir}' 725psdir='${docdir}' 726libdir='${exec_prefix}/lib' 727localedir='${datarootdir}/locale' 728mandir='${datarootdir}/man' 729 730ac_prev= 731ac_dashdash= 732for ac_option 733do 734 # If the previous option needs an argument, assign it. 735 if test -n "$ac_prev"; then 736 eval $ac_prev=\$ac_option 737 ac_prev= 738 continue 739 fi 740 741 case $ac_option in 742 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 743 *) ac_optarg=yes ;; 744 esac 745 746 # Accept the important Cygnus configure options, so we can diagnose typos. 747 748 case $ac_dashdash$ac_option in 749 --) 750 ac_dashdash=yes ;; 751 752 -bindir | --bindir | --bindi | --bind | --bin | --bi) 753 ac_prev=bindir ;; 754 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 755 bindir=$ac_optarg ;; 756 757 -build | --build | --buil | --bui | --bu) 758 ac_prev=build_alias ;; 759 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 760 build_alias=$ac_optarg ;; 761 762 -cache-file | --cache-file | --cache-fil | --cache-fi \ 763 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 764 ac_prev=cache_file ;; 765 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 766 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 767 cache_file=$ac_optarg ;; 768 769 --config-cache | -C) 770 cache_file=config.cache ;; 771 772 -datadir | --datadir | --datadi | --datad) 773 ac_prev=datadir ;; 774 -datadir=* | --datadir=* | --datadi=* | --datad=*) 775 datadir=$ac_optarg ;; 776 777 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 778 | --dataroo | --dataro | --datar) 779 ac_prev=datarootdir ;; 780 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 781 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 782 datarootdir=$ac_optarg ;; 783 784 -disable-* | --disable-*) 785 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 786 # Reject names that are not valid shell variable names. 787 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 788 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 789 { (exit 1); exit 1; }; } 790 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 791 eval enable_$ac_feature=no ;; 792 793 -docdir | --docdir | --docdi | --doc | --do) 794 ac_prev=docdir ;; 795 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 796 docdir=$ac_optarg ;; 797 798 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 799 ac_prev=dvidir ;; 800 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 801 dvidir=$ac_optarg ;; 802 803 -enable-* | --enable-*) 804 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 805 # Reject names that are not valid shell variable names. 806 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 807 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 808 { (exit 1); exit 1; }; } 809 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 810 eval enable_$ac_feature=\$ac_optarg ;; 811 812 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 813 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 814 | --exec | --exe | --ex) 815 ac_prev=exec_prefix ;; 816 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 817 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 818 | --exec=* | --exe=* | --ex=*) 819 exec_prefix=$ac_optarg ;; 820 821 -gas | --gas | --ga | --g) 822 # Obsolete; use --with-gas. 823 with_gas=yes ;; 824 825 -help | --help | --hel | --he | -h) 826 ac_init_help=long ;; 827 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 828 ac_init_help=recursive ;; 829 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 830 ac_init_help=short ;; 831 832 -host | --host | --hos | --ho) 833 ac_prev=host_alias ;; 834 -host=* | --host=* | --hos=* | --ho=*) 835 host_alias=$ac_optarg ;; 836 837 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 838 ac_prev=htmldir ;; 839 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 840 | --ht=*) 841 htmldir=$ac_optarg ;; 842 843 -includedir | --includedir | --includedi | --included | --include \ 844 | --includ | --inclu | --incl | --inc) 845 ac_prev=includedir ;; 846 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 847 | --includ=* | --inclu=* | --incl=* | --inc=*) 848 includedir=$ac_optarg ;; 849 850 -infodir | --infodir | --infodi | --infod | --info | --inf) 851 ac_prev=infodir ;; 852 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 853 infodir=$ac_optarg ;; 854 855 -libdir | --libdir | --libdi | --libd) 856 ac_prev=libdir ;; 857 -libdir=* | --libdir=* | --libdi=* | --libd=*) 858 libdir=$ac_optarg ;; 859 860 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 861 | --libexe | --libex | --libe) 862 ac_prev=libexecdir ;; 863 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 864 | --libexe=* | --libex=* | --libe=*) 865 libexecdir=$ac_optarg ;; 866 867 -localedir | --localedir | --localedi | --localed | --locale) 868 ac_prev=localedir ;; 869 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 870 localedir=$ac_optarg ;; 871 872 -localstatedir | --localstatedir | --localstatedi | --localstated \ 873 | --localstate | --localstat | --localsta | --localst | --locals) 874 ac_prev=localstatedir ;; 875 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 876 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 877 localstatedir=$ac_optarg ;; 878 879 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 880 ac_prev=mandir ;; 881 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 882 mandir=$ac_optarg ;; 883 884 -nfp | --nfp | --nf) 885 # Obsolete; use --without-fp. 886 with_fp=no ;; 887 888 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 889 | --no-cr | --no-c | -n) 890 no_create=yes ;; 891 892 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 893 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 894 no_recursion=yes ;; 895 896 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 897 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 898 | --oldin | --oldi | --old | --ol | --o) 899 ac_prev=oldincludedir ;; 900 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 901 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 902 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 903 oldincludedir=$ac_optarg ;; 904 905 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 906 ac_prev=prefix ;; 907 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 908 prefix=$ac_optarg ;; 909 910 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 911 | --program-pre | --program-pr | --program-p) 912 ac_prev=program_prefix ;; 913 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 914 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 915 program_prefix=$ac_optarg ;; 916 917 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 918 | --program-suf | --program-su | --program-s) 919 ac_prev=program_suffix ;; 920 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 921 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 922 program_suffix=$ac_optarg ;; 923 924 -program-transform-name | --program-transform-name \ 925 | --program-transform-nam | --program-transform-na \ 926 | --program-transform-n | --program-transform- \ 927 | --program-transform | --program-transfor \ 928 | --program-transfo | --program-transf \ 929 | --program-trans | --program-tran \ 930 | --progr-tra | --program-tr | --program-t) 931 ac_prev=program_transform_name ;; 932 -program-transform-name=* | --program-transform-name=* \ 933 | --program-transform-nam=* | --program-transform-na=* \ 934 | --program-transform-n=* | --program-transform-=* \ 935 | --program-transform=* | --program-transfor=* \ 936 | --program-transfo=* | --program-transf=* \ 937 | --program-trans=* | --program-tran=* \ 938 | --progr-tra=* | --program-tr=* | --program-t=*) 939 program_transform_name=$ac_optarg ;; 940 941 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 942 ac_prev=pdfdir ;; 943 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 944 pdfdir=$ac_optarg ;; 945 946 -psdir | --psdir | --psdi | --psd | --ps) 947 ac_prev=psdir ;; 948 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 949 psdir=$ac_optarg ;; 950 951 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 952 | -silent | --silent | --silen | --sile | --sil) 953 silent=yes ;; 954 955 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 956 ac_prev=sbindir ;; 957 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 958 | --sbi=* | --sb=*) 959 sbindir=$ac_optarg ;; 960 961 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 962 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 963 | --sharedst | --shareds | --shared | --share | --shar \ 964 | --sha | --sh) 965 ac_prev=sharedstatedir ;; 966 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 967 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 968 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 969 | --sha=* | --sh=*) 970 sharedstatedir=$ac_optarg ;; 971 972 -site | --site | --sit) 973 ac_prev=site ;; 974 -site=* | --site=* | --sit=*) 975 site=$ac_optarg ;; 976 977 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 978 ac_prev=srcdir ;; 979 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 980 srcdir=$ac_optarg ;; 981 982 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 983 | --syscon | --sysco | --sysc | --sys | --sy) 984 ac_prev=sysconfdir ;; 985 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 986 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 987 sysconfdir=$ac_optarg ;; 988 989 -target | --target | --targe | --targ | --tar | --ta | --t) 990 ac_prev=target_alias ;; 991 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 992 target_alias=$ac_optarg ;; 993 994 -v | -verbose | --verbose | --verbos | --verbo | --verb) 995 verbose=yes ;; 996 997 -version | --version | --versio | --versi | --vers | -V) 998 ac_init_version=: ;; 999 1000 -with-* | --with-*) 1001 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1002 # Reject names that are not valid shell variable names. 1003 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1004 { echo "$as_me: error: invalid package name: $ac_package" >&2 1005 { (exit 1); exit 1; }; } 1006 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1007 eval with_$ac_package=\$ac_optarg ;; 1008 1009 -without-* | --without-*) 1010 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1011 # Reject names that are not valid shell variable names. 1012 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1013 { echo "$as_me: error: invalid package name: $ac_package" >&2 1014 { (exit 1); exit 1; }; } 1015 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1016 eval with_$ac_package=no ;; 1017 1018 --x) 1019 # Obsolete; use --with-x. 1020 with_x=yes ;; 1021 1022 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1023 | --x-incl | --x-inc | --x-in | --x-i) 1024 ac_prev=x_includes ;; 1025 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1026 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1027 x_includes=$ac_optarg ;; 1028 1029 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1030 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1031 ac_prev=x_libraries ;; 1032 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1033 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1034 x_libraries=$ac_optarg ;; 1035 1036 -*) { echo "$as_me: error: unrecognized option: $ac_option 1037Try \`$0 --help' for more information." >&2 1038 { (exit 1); exit 1; }; } 1039 ;; 1040 1041 *=*) 1042 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1043 # Reject names that are not valid shell variable names. 1044 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1045 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1046 { (exit 1); exit 1; }; } 1047 eval $ac_envvar=\$ac_optarg 1048 export $ac_envvar ;; 1049 1050 *) 1051 # FIXME: should be removed in autoconf 3.0. 1052 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1053 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1054 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1055 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1056 ;; 1057 1058 esac 1059done 1060 1061if test -n "$ac_prev"; then 1062 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1063 { echo "$as_me: error: missing argument to $ac_option" >&2 1064 { (exit 1); exit 1; }; } 1065fi 1066 1067# Be sure to have absolute directory names. 1068for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1069 datadir sysconfdir sharedstatedir localstatedir includedir \ 1070 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1071 libdir localedir mandir 1072do 1073 eval ac_val=\$$ac_var 1074 case $ac_val in 1075 [\\/$]* | ?:[\\/]* ) continue;; 1076 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1077 esac 1078 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1079 { (exit 1); exit 1; }; } 1080done 1081 1082# There might be people who depend on the old broken behavior: `$host' 1083# used to hold the argument of --host etc. 1084# FIXME: To remove some day. 1085build=$build_alias 1086host=$host_alias 1087target=$target_alias 1088 1089# FIXME: To remove some day. 1090if test "x$host_alias" != x; then 1091 if test "x$build_alias" = x; then 1092 cross_compiling=maybe 1093 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1094 If a cross compiler is detected then cross compile mode will be used." >&2 1095 elif test "x$build_alias" != "x$host_alias"; then 1096 cross_compiling=yes 1097 fi 1098fi 1099 1100ac_tool_prefix= 1101test -n "$host_alias" && ac_tool_prefix=$host_alias- 1102 1103test "$silent" = yes && exec 6>/dev/null 1104 1105 1106ac_pwd=`pwd` && test -n "$ac_pwd" && 1107ac_ls_di=`ls -di .` && 1108ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1109 { echo "$as_me: error: Working directory cannot be determined" >&2 1110 { (exit 1); exit 1; }; } 1111test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1112 { echo "$as_me: error: pwd does not report name of working directory" >&2 1113 { (exit 1); exit 1; }; } 1114 1115 1116# Find the source files, if location was not specified. 1117if test -z "$srcdir"; then 1118 ac_srcdir_defaulted=yes 1119 # Try the directory containing this script, then the parent directory. 1120 ac_confdir=`$as_dirname -- "$0" || 1121$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1122 X"$0" : 'X\(//\)[^/]' \| \ 1123 X"$0" : 'X\(//\)$' \| \ 1124 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1125echo X"$0" | 1126 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1127 s//\1/ 1128 q 1129 } 1130 /^X\(\/\/\)[^/].*/{ 1131 s//\1/ 1132 q 1133 } 1134 /^X\(\/\/\)$/{ 1135 s//\1/ 1136 q 1137 } 1138 /^X\(\/\).*/{ 1139 s//\1/ 1140 q 1141 } 1142 s/.*/./; q'` 1143 srcdir=$ac_confdir 1144 if test ! -r "$srcdir/$ac_unique_file"; then 1145 srcdir=.. 1146 fi 1147else 1148 ac_srcdir_defaulted=no 1149fi 1150if test ! -r "$srcdir/$ac_unique_file"; then 1151 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1152 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1153 { (exit 1); exit 1; }; } 1154fi 1155ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1156ac_abs_confdir=`( 1157 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1158 { (exit 1); exit 1; }; } 1159 pwd)` 1160# When building in place, set srcdir=. 1161if test "$ac_abs_confdir" = "$ac_pwd"; then 1162 srcdir=. 1163fi 1164# Remove unnecessary trailing slashes from srcdir. 1165# Double slashes in file names in object file debugging info 1166# mess up M-x gdb in Emacs. 1167case $srcdir in 1168*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1169esac 1170for ac_var in $ac_precious_vars; do 1171 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1172 eval ac_env_${ac_var}_value=\$${ac_var} 1173 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1174 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1175done 1176 1177# 1178# Report the --help message. 1179# 1180if test "$ac_init_help" = "long"; then 1181 # Omit some internal or obsolete options to make the list less imposing. 1182 # This message is too long to be a string in the A/UX 3.1 sh. 1183 cat <<_ACEOF 1184\`configure' configures webalizer V2.23 to adapt to many kinds of systems. 1185 1186Usage: $0 [OPTION]... [VAR=VALUE]... 1187 1188To assign environment variables (e.g., CC, CFLAGS...), specify them as 1189VAR=VALUE. See below for descriptions of some of the useful variables. 1190 1191Defaults for the options are specified in brackets. 1192 1193Configuration: 1194 -h, --help display this help and exit 1195 --help=short display options specific to this package 1196 --help=recursive display the short help of all the included packages 1197 -V, --version display version information and exit 1198 -q, --quiet, --silent do not print \`checking...' messages 1199 --cache-file=FILE cache test results in FILE [disabled] 1200 -C, --config-cache alias for \`--cache-file=config.cache' 1201 -n, --no-create do not create output files 1202 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1203 1204Installation directories: 1205 --prefix=PREFIX install architecture-independent files in PREFIX 1206 [$ac_default_prefix] 1207 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1208 [PREFIX] 1209 1210By default, \`make install' will install all the files in 1211\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1212an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1213for instance \`--prefix=\$HOME'. 1214 1215For better control, use the options below. 1216 1217Fine tuning of the installation directories: 1218 --bindir=DIR user executables [EPREFIX/bin] 1219 --sbindir=DIR system admin executables [EPREFIX/sbin] 1220 --libexecdir=DIR program executables [EPREFIX/libexec] 1221 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1222 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1223 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1224 --libdir=DIR object code libraries [EPREFIX/lib] 1225 --includedir=DIR C header files [PREFIX/include] 1226 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1227 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1228 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1229 --infodir=DIR info documentation [DATAROOTDIR/info] 1230 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1231 --mandir=DIR man documentation [DATAROOTDIR/man] 1232 --docdir=DIR documentation root [DATAROOTDIR/doc/webalizer] 1233 --htmldir=DIR html documentation [DOCDIR] 1234 --dvidir=DIR dvi documentation [DOCDIR] 1235 --pdfdir=DIR pdf documentation [DOCDIR] 1236 --psdir=DIR ps documentation [DOCDIR] 1237_ACEOF 1238 1239 cat <<\_ACEOF 1240_ACEOF 1241fi 1242 1243if test -n "$ac_init_help"; then 1244 case $ac_init_help in 1245 short | recursive ) echo "Configuration of webalizer V2.23:";; 1246 esac 1247 cat <<\_ACEOF 1248 1249Optional Features: 1250 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1251 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1252 --disable-largefile omit support for large files 1253 --enable-static Build as static executable [default=no] 1254 --enable-debug Compile with debugging code [default=no] 1255 --enable-dns Enable DNS/GeoDB lookup code [default=yes] 1256 --enable-bz2 Enable BZip2 decompression code [default=no] 1257 --enable-geoip Enable GeoIP geolocation code [default=no] 1258 --enable-oldhash Use old hash function (slower) [default=no] 1259 1260Optional Packages: 1261 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1262 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1263 --with-gd=DIR Alternate location for gd header files 1264 --with-gdlib=DIR Alternate location for gd library 1265 --with-png=DIR Alternate location for png header files 1266 --with-pnglib=DIR Alternate location for png library 1267 --with-z=DIR Alternate location for libz header files 1268 --with-zlib=DIR Alternate location for z library 1269 --with-db=DIR Alternate location for libdb header files 1270 --with-dblib=DIR Alternate location for db library 1271 --with-bz2=DIR Alternate location for bz2 header files 1272 --with-bz2lib=DIR Alternate location for bz2 library 1273 --with-geoip=DIR Alternate location for libGeoIP header files 1274 --with-geoiplib=DIR Alternate location for geoip library 1275 --with-geodb=DIR Default GeoDB data dir [/usr/share/GeoDB] 1276 --with-language=name Use language 'name' (default is english) 1277 1278Some influential environment variables: 1279 CC C compiler command 1280 CFLAGS C compiler flags 1281 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1282 nonstandard directory <lib dir> 1283 LIBS libraries to pass to the linker, e.g. -l<library> 1284 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1285 you have headers in a nonstandard directory <include dir> 1286 CPP C preprocessor 1287 1288Use these variables to override the choices made by `configure' or to help 1289it to find libraries and programs with nonstandard names/locations. 1290 1291_ACEOF 1292ac_status=$? 1293fi 1294 1295if test "$ac_init_help" = "recursive"; then 1296 # If there are subdirs, report their specific --help. 1297 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1298 test -d "$ac_dir" || continue 1299 ac_builddir=. 1300 1301case "$ac_dir" in 1302.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1303*) 1304 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1305 # A ".." for each directory in $ac_dir_suffix. 1306 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1307 case $ac_top_builddir_sub in 1308 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1309 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1310 esac ;; 1311esac 1312ac_abs_top_builddir=$ac_pwd 1313ac_abs_builddir=$ac_pwd$ac_dir_suffix 1314# for backward compatibility: 1315ac_top_builddir=$ac_top_build_prefix 1316 1317case $srcdir in 1318 .) # We are building in place. 1319 ac_srcdir=. 1320 ac_top_srcdir=$ac_top_builddir_sub 1321 ac_abs_top_srcdir=$ac_pwd ;; 1322 [\\/]* | ?:[\\/]* ) # Absolute name. 1323 ac_srcdir=$srcdir$ac_dir_suffix; 1324 ac_top_srcdir=$srcdir 1325 ac_abs_top_srcdir=$srcdir ;; 1326 *) # Relative name. 1327 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1328 ac_top_srcdir=$ac_top_build_prefix$srcdir 1329 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1330esac 1331ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1332 1333 cd "$ac_dir" || { ac_status=$?; continue; } 1334 # Check for guested configure. 1335 if test -f "$ac_srcdir/configure.gnu"; then 1336 echo && 1337 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1338 elif test -f "$ac_srcdir/configure"; then 1339 echo && 1340 $SHELL "$ac_srcdir/configure" --help=recursive 1341 else 1342 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1343 fi || ac_status=$? 1344 cd "$ac_pwd" || { ac_status=$?; break; } 1345 done 1346fi 1347 1348test -n "$ac_init_help" && exit $ac_status 1349if $ac_init_version; then 1350 cat <<\_ACEOF 1351webalizer configure V2.23 1352generated by GNU Autoconf 2.61 1353 1354Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 13552002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1356This configure script is free software; the Free Software Foundation 1357gives unlimited permission to copy, distribute and modify it. 1358_ACEOF 1359 exit 1360fi 1361cat >config.log <<_ACEOF 1362This file contains any messages produced by compilers while 1363running configure, to aid debugging if configure makes a mistake. 1364 1365It was created by webalizer $as_me V2.23, which was 1366generated by GNU Autoconf 2.61. Invocation command line was 1367 1368 $ $0 $@ 1369 1370_ACEOF 1371exec 5>>config.log 1372{ 1373cat <<_ASUNAME 1374## --------- ## 1375## Platform. ## 1376## --------- ## 1377 1378hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1379uname -m = `(uname -m) 2>/dev/null || echo unknown` 1380uname -r = `(uname -r) 2>/dev/null || echo unknown` 1381uname -s = `(uname -s) 2>/dev/null || echo unknown` 1382uname -v = `(uname -v) 2>/dev/null || echo unknown` 1383 1384/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1385/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1386 1387/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1388/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1389/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1390/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1391/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1392/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1393/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1394 1395_ASUNAME 1396 1397as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1398for as_dir in $PATH 1399do 1400 IFS=$as_save_IFS 1401 test -z "$as_dir" && as_dir=. 1402 echo "PATH: $as_dir" 1403done 1404IFS=$as_save_IFS 1405 1406} >&5 1407 1408cat >&5 <<_ACEOF 1409 1410 1411## ----------- ## 1412## Core tests. ## 1413## ----------- ## 1414 1415_ACEOF 1416 1417 1418# Keep a trace of the command line. 1419# Strip out --no-create and --no-recursion so they do not pile up. 1420# Strip out --silent because we don't want to record it for future runs. 1421# Also quote any args containing shell meta-characters. 1422# Make two passes to allow for proper duplicate-argument suppression. 1423ac_configure_args= 1424ac_configure_args0= 1425ac_configure_args1= 1426ac_must_keep_next=false 1427for ac_pass in 1 2 1428do 1429 for ac_arg 1430 do 1431 case $ac_arg in 1432 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1433 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1434 | -silent | --silent | --silen | --sile | --sil) 1435 continue ;; 1436 *\'*) 1437 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1438 esac 1439 case $ac_pass in 1440 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1441 2) 1442 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1443 if test $ac_must_keep_next = true; then 1444 ac_must_keep_next=false # Got value, back to normal. 1445 else 1446 case $ac_arg in 1447 *=* | --config-cache | -C | -disable-* | --disable-* \ 1448 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1449 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1450 | -with-* | --with-* | -without-* | --without-* | --x) 1451 case "$ac_configure_args0 " in 1452 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1453 esac 1454 ;; 1455 -* ) ac_must_keep_next=true ;; 1456 esac 1457 fi 1458 ac_configure_args="$ac_configure_args '$ac_arg'" 1459 ;; 1460 esac 1461 done 1462done 1463$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1464$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1465 1466# When interrupted or exit'd, cleanup temporary files, and complete 1467# config.log. We remove comments because anyway the quotes in there 1468# would cause problems or look ugly. 1469# WARNING: Use '\'' to represent an apostrophe within the trap. 1470# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1471trap 'exit_status=$? 1472 # Save into config.log some information that might help in debugging. 1473 { 1474 echo 1475 1476 cat <<\_ASBOX 1477## ---------------- ## 1478## Cache variables. ## 1479## ---------------- ## 1480_ASBOX 1481 echo 1482 # The following way of writing the cache mishandles newlines in values, 1483( 1484 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1485 eval ac_val=\$$ac_var 1486 case $ac_val in #( 1487 *${as_nl}*) 1488 case $ac_var in #( 1489 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1490echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1491 esac 1492 case $ac_var in #( 1493 _ | IFS | as_nl) ;; #( 1494 *) $as_unset $ac_var ;; 1495 esac ;; 1496 esac 1497 done 1498 (set) 2>&1 | 1499 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1500 *${as_nl}ac_space=\ *) 1501 sed -n \ 1502 "s/'\''/'\''\\\\'\'''\''/g; 1503 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1504 ;; #( 1505 *) 1506 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1507 ;; 1508 esac | 1509 sort 1510) 1511 echo 1512 1513 cat <<\_ASBOX 1514## ----------------- ## 1515## Output variables. ## 1516## ----------------- ## 1517_ASBOX 1518 echo 1519 for ac_var in $ac_subst_vars 1520 do 1521 eval ac_val=\$$ac_var 1522 case $ac_val in 1523 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1524 esac 1525 echo "$ac_var='\''$ac_val'\''" 1526 done | sort 1527 echo 1528 1529 if test -n "$ac_subst_files"; then 1530 cat <<\_ASBOX 1531## ------------------- ## 1532## File substitutions. ## 1533## ------------------- ## 1534_ASBOX 1535 echo 1536 for ac_var in $ac_subst_files 1537 do 1538 eval ac_val=\$$ac_var 1539 case $ac_val in 1540 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1541 esac 1542 echo "$ac_var='\''$ac_val'\''" 1543 done | sort 1544 echo 1545 fi 1546 1547 if test -s confdefs.h; then 1548 cat <<\_ASBOX 1549## ----------- ## 1550## confdefs.h. ## 1551## ----------- ## 1552_ASBOX 1553 echo 1554 cat confdefs.h 1555 echo 1556 fi 1557 test "$ac_signal" != 0 && 1558 echo "$as_me: caught signal $ac_signal" 1559 echo "$as_me: exit $exit_status" 1560 } >&5 1561 rm -f core *.core core.conftest.* && 1562 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1563 exit $exit_status 1564' 0 1565for ac_signal in 1 2 13 15; do 1566 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1567done 1568ac_signal=0 1569 1570# confdefs.h avoids OS command line length limits that DEFS can exceed. 1571rm -f -r conftest* confdefs.h 1572 1573# Predefined preprocessor variables. 1574 1575cat >>confdefs.h <<_ACEOF 1576#define PACKAGE_NAME "$PACKAGE_NAME" 1577_ACEOF 1578 1579 1580cat >>confdefs.h <<_ACEOF 1581#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1582_ACEOF 1583 1584 1585cat >>confdefs.h <<_ACEOF 1586#define PACKAGE_VERSION "$PACKAGE_VERSION" 1587_ACEOF 1588 1589 1590cat >>confdefs.h <<_ACEOF 1591#define PACKAGE_STRING "$PACKAGE_STRING" 1592_ACEOF 1593 1594 1595cat >>confdefs.h <<_ACEOF 1596#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1597_ACEOF 1598 1599 1600# Let the site file select an alternate cache file if it wants to. 1601# Prefer explicitly selected file to automatically selected ones. 1602if test -n "$CONFIG_SITE"; then 1603 set x "$CONFIG_SITE" 1604elif test "x$prefix" != xNONE; then 1605 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1606else 1607 set x "$ac_default_prefix/share/config.site" \ 1608 "$ac_default_prefix/etc/config.site" 1609fi 1610shift 1611for ac_site_file 1612do 1613 if test -r "$ac_site_file"; then 1614 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1615echo "$as_me: loading site script $ac_site_file" >&6;} 1616 sed 's/^/| /' "$ac_site_file" >&5 1617 . "$ac_site_file" 1618 fi 1619done 1620 1621if test -r "$cache_file"; then 1622 # Some versions of bash will fail to source /dev/null (special 1623 # files actually), so we avoid doing that. 1624 if test -f "$cache_file"; then 1625 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1626echo "$as_me: loading cache $cache_file" >&6;} 1627 case $cache_file in 1628 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1629 *) . "./$cache_file";; 1630 esac 1631 fi 1632else 1633 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1634echo "$as_me: creating cache $cache_file" >&6;} 1635 >$cache_file 1636fi 1637 1638# Check that the precious variables saved in the cache have kept the same 1639# value. 1640ac_cache_corrupted=false 1641for ac_var in $ac_precious_vars; do 1642 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1643 eval ac_new_set=\$ac_env_${ac_var}_set 1644 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1645 eval ac_new_val=\$ac_env_${ac_var}_value 1646 case $ac_old_set,$ac_new_set in 1647 set,) 1648 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1649echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1650 ac_cache_corrupted=: ;; 1651 ,set) 1652 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1653echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1654 ac_cache_corrupted=: ;; 1655 ,);; 1656 *) 1657 if test "x$ac_old_val" != "x$ac_new_val"; then 1658 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1659echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1660 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1661echo "$as_me: former value: $ac_old_val" >&2;} 1662 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1663echo "$as_me: current value: $ac_new_val" >&2;} 1664 ac_cache_corrupted=: 1665 fi;; 1666 esac 1667 # Pass precious variables to config.status. 1668 if test "$ac_new_set" = set; then 1669 case $ac_new_val in 1670 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1671 *) ac_arg=$ac_var=$ac_new_val ;; 1672 esac 1673 case " $ac_configure_args " in 1674 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1675 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1676 esac 1677 fi 1678done 1679if $ac_cache_corrupted; then 1680 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1681echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1682 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1683echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1684 { (exit 1); exit 1; }; } 1685fi 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711ac_ext=c 1712ac_cpp='$CPP $CPPFLAGS' 1713ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1714ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1715ac_compiler_gnu=$ac_cv_c_compiler_gnu 1716 1717 1718 1719OPTS=${DEFS} 1720LIBS=${LIBS} 1721 1722 1723 1724 1725DEFAULT_LANG="english" 1726 1727 1728 1729IN_CFLAGS=${CFLAGS} 1730ac_ext=c 1731ac_cpp='$CPP $CPPFLAGS' 1732ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1733ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1734ac_compiler_gnu=$ac_cv_c_compiler_gnu 1735if test -n "$ac_tool_prefix"; then 1736 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1737set dummy ${ac_tool_prefix}gcc; ac_word=$2 1738{ echo "$as_me:$LINENO: checking for $ac_word" >&5 1739echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1740if test "${ac_cv_prog_CC+set}" = set; then 1741 echo $ECHO_N "(cached) $ECHO_C" >&6 1742else 1743 if test -n "$CC"; then 1744 ac_cv_prog_CC="$CC" # Let the user override the test. 1745else 1746as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1747for as_dir in $PATH 1748do 1749 IFS=$as_save_IFS 1750 test -z "$as_dir" && as_dir=. 1751 for ac_exec_ext in '' $ac_executable_extensions; do 1752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1753 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1755 break 2 1756 fi 1757done 1758done 1759IFS=$as_save_IFS 1760 1761fi 1762fi 1763CC=$ac_cv_prog_CC 1764if test -n "$CC"; then 1765 { echo "$as_me:$LINENO: result: $CC" >&5 1766echo "${ECHO_T}$CC" >&6; } 1767else 1768 { echo "$as_me:$LINENO: result: no" >&5 1769echo "${ECHO_T}no" >&6; } 1770fi 1771 1772 1773fi 1774if test -z "$ac_cv_prog_CC"; then 1775 ac_ct_CC=$CC 1776 # Extract the first word of "gcc", so it can be a program name with args. 1777set dummy gcc; ac_word=$2 1778{ echo "$as_me:$LINENO: checking for $ac_word" >&5 1779echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1780if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1781 echo $ECHO_N "(cached) $ECHO_C" >&6 1782else 1783 if test -n "$ac_ct_CC"; then 1784 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1785else 1786as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1787for as_dir in $PATH 1788do 1789 IFS=$as_save_IFS 1790 test -z "$as_dir" && as_dir=. 1791 for ac_exec_ext in '' $ac_executable_extensions; do 1792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1793 ac_cv_prog_ac_ct_CC="gcc" 1794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1795 break 2 1796 fi 1797done 1798done 1799IFS=$as_save_IFS 1800 1801fi 1802fi 1803ac_ct_CC=$ac_cv_prog_ac_ct_CC 1804if test -n "$ac_ct_CC"; then 1805 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1806echo "${ECHO_T}$ac_ct_CC" >&6; } 1807else 1808 { echo "$as_me:$LINENO: result: no" >&5 1809echo "${ECHO_T}no" >&6; } 1810fi 1811 1812 if test "x$ac_ct_CC" = x; then 1813 CC="" 1814 else 1815 case $cross_compiling:$ac_tool_warned in 1816yes:) 1817{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 1818whose name does not start with the host triplet. If you think this 1819configuration is useful to you, please write to autoconf@gnu.org." >&5 1820echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 1821whose name does not start with the host triplet. If you think this 1822configuration is useful to you, please write to autoconf@gnu.org." >&2;} 1823ac_tool_warned=yes ;; 1824esac 1825 CC=$ac_ct_CC 1826 fi 1827else 1828 CC="$ac_cv_prog_CC" 1829fi 1830 1831if test -z "$CC"; then 1832 if test -n "$ac_tool_prefix"; then 1833 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1834set dummy ${ac_tool_prefix}cc; ac_word=$2 1835{ echo "$as_me:$LINENO: checking for $ac_word" >&5 1836echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1837if test "${ac_cv_prog_CC+set}" = set; then 1838 echo $ECHO_N "(cached) $ECHO_C" >&6 1839else 1840 if test -n "$CC"; then 1841 ac_cv_prog_CC="$CC" # Let the user override the test. 1842else 1843as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1844for as_dir in $PATH 1845do 1846 IFS=$as_save_IFS 1847 test -z "$as_dir" && as_dir=. 1848 for ac_exec_ext in '' $ac_executable_extensions; do 1849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1850 ac_cv_prog_CC="${ac_tool_prefix}cc" 1851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1852 break 2 1853 fi 1854done 1855done 1856IFS=$as_save_IFS 1857 1858fi 1859fi 1860CC=$ac_cv_prog_CC 1861if test -n "$CC"; then 1862 { echo "$as_me:$LINENO: result: $CC" >&5 1863echo "${ECHO_T}$CC" >&6; } 1864else 1865 { echo "$as_me:$LINENO: result: no" >&5 1866echo "${ECHO_T}no" >&6; } 1867fi 1868 1869 1870 fi 1871fi 1872if test -z "$CC"; then 1873 # Extract the first word of "cc", so it can be a program name with args. 1874set dummy cc; ac_word=$2 1875{ echo "$as_me:$LINENO: checking for $ac_word" >&5 1876echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1877if test "${ac_cv_prog_CC+set}" = set; then 1878 echo $ECHO_N "(cached) $ECHO_C" >&6 1879else 1880 if test -n "$CC"; then 1881 ac_cv_prog_CC="$CC" # Let the user override the test. 1882else 1883 ac_prog_rejected=no 1884as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1885for as_dir in $PATH 1886do 1887 IFS=$as_save_IFS 1888 test -z "$as_dir" && as_dir=. 1889 for ac_exec_ext in '' $ac_executable_extensions; do 1890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1891 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1892 ac_prog_rejected=yes 1893 continue 1894 fi 1895 ac_cv_prog_CC="cc" 1896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1897 break 2 1898 fi 1899done 1900done 1901IFS=$as_save_IFS 1902 1903if test $ac_prog_rejected = yes; then 1904 # We found a bogon in the path, so make sure we never use it. 1905 set dummy $ac_cv_prog_CC 1906 shift 1907 if test $# != 0; then 1908 # We chose a different compiler from the bogus one. 1909 # However, it has the same basename, so the bogon will be chosen 1910 # first if we set CC to just the basename; use the full file name. 1911 shift 1912 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 1913 fi 1914fi 1915fi 1916fi 1917CC=$ac_cv_prog_CC 1918if test -n "$CC"; then 1919 { echo "$as_me:$LINENO: result: $CC" >&5 1920echo "${ECHO_T}$CC" >&6; } 1921else 1922 { echo "$as_me:$LINENO: result: no" >&5 1923echo "${ECHO_T}no" >&6; } 1924fi 1925 1926 1927fi 1928if test -z "$CC"; then 1929 if test -n "$ac_tool_prefix"; then 1930 for ac_prog in cl.exe 1931 do 1932 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1933set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1934{ echo "$as_me:$LINENO: checking for $ac_word" >&5 1935echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1936if test "${ac_cv_prog_CC+set}" = set; then 1937 echo $ECHO_N "(cached) $ECHO_C" >&6 1938else 1939 if test -n "$CC"; then 1940 ac_cv_prog_CC="$CC" # Let the user override the test. 1941else 1942as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1943for as_dir in $PATH 1944do 1945 IFS=$as_save_IFS 1946 test -z "$as_dir" && as_dir=. 1947 for ac_exec_ext in '' $ac_executable_extensions; do 1948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1949 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1951 break 2 1952 fi 1953done 1954done 1955IFS=$as_save_IFS 1956 1957fi 1958fi 1959CC=$ac_cv_prog_CC 1960if test -n "$CC"; then 1961 { echo "$as_me:$LINENO: result: $CC" >&5 1962echo "${ECHO_T}$CC" >&6; } 1963else 1964 { echo "$as_me:$LINENO: result: no" >&5 1965echo "${ECHO_T}no" >&6; } 1966fi 1967 1968 1969 test -n "$CC" && break 1970 done 1971fi 1972if test -z "$CC"; then 1973 ac_ct_CC=$CC 1974 for ac_prog in cl.exe 1975do 1976 # Extract the first word of "$ac_prog", so it can be a program name with args. 1977set dummy $ac_prog; ac_word=$2 1978{ echo "$as_me:$LINENO: checking for $ac_word" >&5 1979echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1980if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1981 echo $ECHO_N "(cached) $ECHO_C" >&6 1982else 1983 if test -n "$ac_ct_CC"; then 1984 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1985else 1986as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1987for as_dir in $PATH 1988do 1989 IFS=$as_save_IFS 1990 test -z "$as_dir" && as_dir=. 1991 for ac_exec_ext in '' $ac_executable_extensions; do 1992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1993 ac_cv_prog_ac_ct_CC="$ac_prog" 1994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1995 break 2 1996 fi 1997done 1998done 1999IFS=$as_save_IFS 2000 2001fi 2002fi 2003ac_ct_CC=$ac_cv_prog_ac_ct_CC 2004if test -n "$ac_ct_CC"; then 2005 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2006echo "${ECHO_T}$ac_ct_CC" >&6; } 2007else 2008 { echo "$as_me:$LINENO: result: no" >&5 2009echo "${ECHO_T}no" >&6; } 2010fi 2011 2012 2013 test -n "$ac_ct_CC" && break 2014done 2015 2016 if test "x$ac_ct_CC" = x; then 2017 CC="" 2018 else 2019 case $cross_compiling:$ac_tool_warned in 2020yes:) 2021{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2022whose name does not start with the host triplet. If you think this 2023configuration is useful to you, please write to autoconf@gnu.org." >&5 2024echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2025whose name does not start with the host triplet. If you think this 2026configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2027ac_tool_warned=yes ;; 2028esac 2029 CC=$ac_ct_CC 2030 fi 2031fi 2032 2033fi 2034 2035 2036test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2037See \`config.log' for more details." >&5 2038echo "$as_me: error: no acceptable C compiler found in \$PATH 2039See \`config.log' for more details." >&2;} 2040 { (exit 1); exit 1; }; } 2041 2042# Provide some information about the compiler. 2043echo "$as_me:$LINENO: checking for C compiler version" >&5 2044ac_compiler=`set X $ac_compile; echo $2` 2045{ (ac_try="$ac_compiler --version >&5" 2046case "(($ac_try" in 2047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2048 *) ac_try_echo=$ac_try;; 2049esac 2050eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2051 (eval "$ac_compiler --version >&5") 2>&5 2052 ac_status=$? 2053 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2054 (exit $ac_status); } 2055{ (ac_try="$ac_compiler -v >&5" 2056case "(($ac_try" in 2057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2058 *) ac_try_echo=$ac_try;; 2059esac 2060eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2061 (eval "$ac_compiler -v >&5") 2>&5 2062 ac_status=$? 2063 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2064 (exit $ac_status); } 2065{ (ac_try="$ac_compiler -V >&5" 2066case "(($ac_try" in 2067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2068 *) ac_try_echo=$ac_try;; 2069esac 2070eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2071 (eval "$ac_compiler -V >&5") 2>&5 2072 ac_status=$? 2073 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2074 (exit $ac_status); } 2075 2076cat >conftest.$ac_ext <<_ACEOF 2077/* confdefs.h. */ 2078_ACEOF 2079cat confdefs.h >>conftest.$ac_ext 2080cat >>conftest.$ac_ext <<_ACEOF 2081/* end confdefs.h. */ 2082 2083int 2084main () 2085{ 2086 2087 ; 2088 return 0; 2089} 2090_ACEOF 2091ac_clean_files_save=$ac_clean_files 2092ac_clean_files="$ac_clean_files a.out a.exe b.out" 2093# Try to create an executable without -o first, disregard a.out. 2094# It will help us diagnose broken compilers, and finding out an intuition 2095# of exeext. 2096{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2097echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2098ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2099# 2100# List of possible output files, starting from the most likely. 2101# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2102# only as a last resort. b.out is created by i960 compilers. 2103ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2104# 2105# The IRIX 6 linker writes into existing files which may not be 2106# executable, retaining their permissions. Remove them first so a 2107# subsequent execution test works. 2108ac_rmfiles= 2109for ac_file in $ac_files 2110do 2111 case $ac_file in 2112 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2113 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2114 esac 2115done 2116rm -f $ac_rmfiles 2117 2118if { (ac_try="$ac_link_default" 2119case "(($ac_try" in 2120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2121 *) ac_try_echo=$ac_try;; 2122esac 2123eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2124 (eval "$ac_link_default") 2>&5 2125 ac_status=$? 2126 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2127 (exit $ac_status); }; then 2128 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2129# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2130# in a Makefile. We should not override ac_cv_exeext if it was cached, 2131# so that the user can short-circuit this test for compilers unknown to 2132# Autoconf. 2133for ac_file in $ac_files '' 2134do 2135 test -f "$ac_file" || continue 2136 case $ac_file in 2137 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 2138 ;; 2139 [ab].out ) 2140 # We found the default executable, but exeext='' is most 2141 # certainly right. 2142 break;; 2143 *.* ) 2144 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2145 then :; else 2146 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2147 fi 2148 # We set ac_cv_exeext here because the later test for it is not 2149 # safe: cross compilers may not add the suffix if given an `-o' 2150 # argument, so we may need to know it at that point already. 2151 # Even if this section looks crufty: it has the advantage of 2152 # actually working. 2153 break;; 2154 * ) 2155 break;; 2156 esac 2157done 2158test "$ac_cv_exeext" = no && ac_cv_exeext= 2159 2160else 2161 ac_file='' 2162fi 2163 2164{ echo "$as_me:$LINENO: result: $ac_file" >&5 2165echo "${ECHO_T}$ac_file" >&6; } 2166if test -z "$ac_file"; then 2167 echo "$as_me: failed program was:" >&5 2168sed 's/^/| /' conftest.$ac_ext >&5 2169 2170{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 2171See \`config.log' for more details." >&5 2172echo "$as_me: error: C compiler cannot create executables 2173See \`config.log' for more details." >&2;} 2174 { (exit 77); exit 77; }; } 2175fi 2176 2177ac_exeext=$ac_cv_exeext 2178 2179# Check that the compiler produces executables we can run. If not, either 2180# the compiler is broken, or we cross compile. 2181{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2182echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2183# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2184# If not cross compiling, check that we can run a simple program. 2185if test "$cross_compiling" != yes; then 2186 if { ac_try='./$ac_file' 2187 { (case "(($ac_try" in 2188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2189 *) ac_try_echo=$ac_try;; 2190esac 2191eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2192 (eval "$ac_try") 2>&5 2193 ac_status=$? 2194 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2195 (exit $ac_status); }; }; then 2196 cross_compiling=no 2197 else 2198 if test "$cross_compiling" = maybe; then 2199 cross_compiling=yes 2200 else 2201 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2202If you meant to cross compile, use \`--host'. 2203See \`config.log' for more details." >&5 2204echo "$as_me: error: cannot run C compiled programs. 2205If you meant to cross compile, use \`--host'. 2206See \`config.log' for more details." >&2;} 2207 { (exit 1); exit 1; }; } 2208 fi 2209 fi 2210fi 2211{ echo "$as_me:$LINENO: result: yes" >&5 2212echo "${ECHO_T}yes" >&6; } 2213 2214rm -f a.out a.exe conftest$ac_cv_exeext b.out 2215ac_clean_files=$ac_clean_files_save 2216# Check that the compiler produces executables we can run. If not, either 2217# the compiler is broken, or we cross compile. 2218{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2219echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2220{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 2221echo "${ECHO_T}$cross_compiling" >&6; } 2222 2223{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 2224echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2225if { (ac_try="$ac_link" 2226case "(($ac_try" in 2227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2228 *) ac_try_echo=$ac_try;; 2229esac 2230eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2231 (eval "$ac_link") 2>&5 2232 ac_status=$? 2233 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2234 (exit $ac_status); }; then 2235 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2236# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2237# work properly (i.e., refer to `conftest.exe'), while it won't with 2238# `rm'. 2239for ac_file in conftest.exe conftest conftest.*; do 2240 test -f "$ac_file" || continue 2241 case $ac_file in 2242 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2243 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2244 break;; 2245 * ) break;; 2246 esac 2247done 2248else 2249 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2250See \`config.log' for more details." >&5 2251echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2252See \`config.log' for more details." >&2;} 2253 { (exit 1); exit 1; }; } 2254fi 2255 2256rm -f conftest$ac_cv_exeext 2257{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2258echo "${ECHO_T}$ac_cv_exeext" >&6; } 2259 2260rm -f conftest.$ac_ext 2261EXEEXT=$ac_cv_exeext 2262ac_exeext=$EXEEXT 2263{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 2264echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2265if test "${ac_cv_objext+set}" = set; then 2266 echo $ECHO_N "(cached) $ECHO_C" >&6 2267else 2268 cat >conftest.$ac_ext <<_ACEOF 2269/* confdefs.h. */ 2270_ACEOF 2271cat confdefs.h >>conftest.$ac_ext 2272cat >>conftest.$ac_ext <<_ACEOF 2273/* end confdefs.h. */ 2274 2275int 2276main () 2277{ 2278 2279 ; 2280 return 0; 2281} 2282_ACEOF 2283rm -f conftest.o conftest.obj 2284if { (ac_try="$ac_compile" 2285case "(($ac_try" in 2286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2287 *) ac_try_echo=$ac_try;; 2288esac 2289eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2290 (eval "$ac_compile") 2>&5 2291 ac_status=$? 2292 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2293 (exit $ac_status); }; then 2294 for ac_file in conftest.o conftest.obj conftest.*; do 2295 test -f "$ac_file" || continue; 2296 case $ac_file in 2297 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 2298 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2299 break;; 2300 esac 2301done 2302else 2303 echo "$as_me: failed program was:" >&5 2304sed 's/^/| /' conftest.$ac_ext >&5 2305 2306{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2307See \`config.log' for more details." >&5 2308echo "$as_me: error: cannot compute suffix of object files: cannot compile 2309See \`config.log' for more details." >&2;} 2310 { (exit 1); exit 1; }; } 2311fi 2312 2313rm -f conftest.$ac_cv_objext conftest.$ac_ext 2314fi 2315{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2316echo "${ECHO_T}$ac_cv_objext" >&6; } 2317OBJEXT=$ac_cv_objext 2318ac_objext=$OBJEXT 2319{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2320echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2321if test "${ac_cv_c_compiler_gnu+set}" = set; then 2322 echo $ECHO_N "(cached) $ECHO_C" >&6 2323else 2324 cat >conftest.$ac_ext <<_ACEOF 2325/* confdefs.h. */ 2326_ACEOF 2327cat confdefs.h >>conftest.$ac_ext 2328cat >>conftest.$ac_ext <<_ACEOF 2329/* end confdefs.h. */ 2330 2331int 2332main () 2333{ 2334#ifndef __GNUC__ 2335 choke me 2336#endif 2337 2338 ; 2339 return 0; 2340} 2341_ACEOF 2342rm -f conftest.$ac_objext 2343if { (ac_try="$ac_compile" 2344case "(($ac_try" in 2345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2346 *) ac_try_echo=$ac_try;; 2347esac 2348eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2349 (eval "$ac_compile") 2>conftest.er1 2350 ac_status=$? 2351 grep -v '^ *+' conftest.er1 >conftest.err 2352 rm -f conftest.er1 2353 cat conftest.err >&5 2354 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2355 (exit $ac_status); } && { 2356 test -z "$ac_c_werror_flag" || 2357 test ! -s conftest.err 2358 } && test -s conftest.$ac_objext; then 2359 ac_compiler_gnu=yes 2360else 2361 echo "$as_me: failed program was:" >&5 2362sed 's/^/| /' conftest.$ac_ext >&5 2363 2364 ac_compiler_gnu=no 2365fi 2366 2367rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2368ac_cv_c_compiler_gnu=$ac_compiler_gnu 2369 2370fi 2371{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2372echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2373GCC=`test $ac_compiler_gnu = yes && echo yes` 2374ac_test_CFLAGS=${CFLAGS+set} 2375ac_save_CFLAGS=$CFLAGS 2376{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2377echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2378if test "${ac_cv_prog_cc_g+set}" = set; then 2379 echo $ECHO_N "(cached) $ECHO_C" >&6 2380else 2381 ac_save_c_werror_flag=$ac_c_werror_flag 2382 ac_c_werror_flag=yes 2383 ac_cv_prog_cc_g=no 2384 CFLAGS="-g" 2385 cat >conftest.$ac_ext <<_ACEOF 2386/* confdefs.h. */ 2387_ACEOF 2388cat confdefs.h >>conftest.$ac_ext 2389cat >>conftest.$ac_ext <<_ACEOF 2390/* end confdefs.h. */ 2391 2392int 2393main () 2394{ 2395 2396 ; 2397 return 0; 2398} 2399_ACEOF 2400rm -f conftest.$ac_objext 2401if { (ac_try="$ac_compile" 2402case "(($ac_try" in 2403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2404 *) ac_try_echo=$ac_try;; 2405esac 2406eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2407 (eval "$ac_compile") 2>conftest.er1 2408 ac_status=$? 2409 grep -v '^ *+' conftest.er1 >conftest.err 2410 rm -f conftest.er1 2411 cat conftest.err >&5 2412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2413 (exit $ac_status); } && { 2414 test -z "$ac_c_werror_flag" || 2415 test ! -s conftest.err 2416 } && test -s conftest.$ac_objext; then 2417 ac_cv_prog_cc_g=yes 2418else 2419 echo "$as_me: failed program was:" >&5 2420sed 's/^/| /' conftest.$ac_ext >&5 2421 2422 CFLAGS="" 2423 cat >conftest.$ac_ext <<_ACEOF 2424/* confdefs.h. */ 2425_ACEOF 2426cat confdefs.h >>conftest.$ac_ext 2427cat >>conftest.$ac_ext <<_ACEOF 2428/* end confdefs.h. */ 2429 2430int 2431main () 2432{ 2433 2434 ; 2435 return 0; 2436} 2437_ACEOF 2438rm -f conftest.$ac_objext 2439if { (ac_try="$ac_compile" 2440case "(($ac_try" in 2441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2442 *) ac_try_echo=$ac_try;; 2443esac 2444eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2445 (eval "$ac_compile") 2>conftest.er1 2446 ac_status=$? 2447 grep -v '^ *+' conftest.er1 >conftest.err 2448 rm -f conftest.er1 2449 cat conftest.err >&5 2450 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2451 (exit $ac_status); } && { 2452 test -z "$ac_c_werror_flag" || 2453 test ! -s conftest.err 2454 } && test -s conftest.$ac_objext; then 2455 : 2456else 2457 echo "$as_me: failed program was:" >&5 2458sed 's/^/| /' conftest.$ac_ext >&5 2459 2460 ac_c_werror_flag=$ac_save_c_werror_flag 2461 CFLAGS="-g" 2462 cat >conftest.$ac_ext <<_ACEOF 2463/* confdefs.h. */ 2464_ACEOF 2465cat confdefs.h >>conftest.$ac_ext 2466cat >>conftest.$ac_ext <<_ACEOF 2467/* end confdefs.h. */ 2468 2469int 2470main () 2471{ 2472 2473 ; 2474 return 0; 2475} 2476_ACEOF 2477rm -f conftest.$ac_objext 2478if { (ac_try="$ac_compile" 2479case "(($ac_try" in 2480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2481 *) ac_try_echo=$ac_try;; 2482esac 2483eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2484 (eval "$ac_compile") 2>conftest.er1 2485 ac_status=$? 2486 grep -v '^ *+' conftest.er1 >conftest.err 2487 rm -f conftest.er1 2488 cat conftest.err >&5 2489 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2490 (exit $ac_status); } && { 2491 test -z "$ac_c_werror_flag" || 2492 test ! -s conftest.err 2493 } && test -s conftest.$ac_objext; then 2494 ac_cv_prog_cc_g=yes 2495else 2496 echo "$as_me: failed program was:" >&5 2497sed 's/^/| /' conftest.$ac_ext >&5 2498 2499 2500fi 2501 2502rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2503fi 2504 2505rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2506fi 2507 2508rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2509 ac_c_werror_flag=$ac_save_c_werror_flag 2510fi 2511{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2512echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 2513if test "$ac_test_CFLAGS" = set; then 2514 CFLAGS=$ac_save_CFLAGS 2515elif test $ac_cv_prog_cc_g = yes; then 2516 if test "$GCC" = yes; then 2517 CFLAGS="-g -O2" 2518 else 2519 CFLAGS="-g" 2520 fi 2521else 2522 if test "$GCC" = yes; then 2523 CFLAGS="-O2" 2524 else 2525 CFLAGS= 2526 fi 2527fi 2528{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2529echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 2530if test "${ac_cv_prog_cc_c89+set}" = set; then 2531 echo $ECHO_N "(cached) $ECHO_C" >&6 2532else 2533 ac_cv_prog_cc_c89=no 2534ac_save_CC=$CC 2535cat >conftest.$ac_ext <<_ACEOF 2536/* confdefs.h. */ 2537_ACEOF 2538cat confdefs.h >>conftest.$ac_ext 2539cat >>conftest.$ac_ext <<_ACEOF 2540/* end confdefs.h. */ 2541#include <stdarg.h> 2542#include <stdio.h> 2543#include <sys/types.h> 2544#include <sys/stat.h> 2545/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2546struct buf { int x; }; 2547FILE * (*rcsopen) (struct buf *, struct stat *, int); 2548static char *e (p, i) 2549 char **p; 2550 int i; 2551{ 2552 return p[i]; 2553} 2554static char *f (char * (*g) (char **, int), char **p, ...) 2555{ 2556 char *s; 2557 va_list v; 2558 va_start (v,p); 2559 s = g (p, va_arg (v,int)); 2560 va_end (v); 2561 return s; 2562} 2563 2564/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2565 function prototypes and stuff, but not '\xHH' hex character constants. 2566 These don't provoke an error unfortunately, instead are silently treated 2567 as 'x'. The following induces an error, until -std is added to get 2568 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2569 array size at least. It's necessary to write '\x00'==0 to get something 2570 that's true only with -std. */ 2571int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2572 2573/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2574 inside strings and character constants. */ 2575#define FOO(x) 'x' 2576int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2577 2578int test (int i, double x); 2579struct s1 {int (*f) (int a);}; 2580struct s2 {int (*f) (double a);}; 2581int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2582int argc; 2583char **argv; 2584int 2585main () 2586{ 2587return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2588 ; 2589 return 0; 2590} 2591_ACEOF 2592for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2593 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2594do 2595 CC="$ac_save_CC $ac_arg" 2596 rm -f conftest.$ac_objext 2597if { (ac_try="$ac_compile" 2598case "(($ac_try" in 2599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2600 *) ac_try_echo=$ac_try;; 2601esac 2602eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2603 (eval "$ac_compile") 2>conftest.er1 2604 ac_status=$? 2605 grep -v '^ *+' conftest.er1 >conftest.err 2606 rm -f conftest.er1 2607 cat conftest.err >&5 2608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2609 (exit $ac_status); } && { 2610 test -z "$ac_c_werror_flag" || 2611 test ! -s conftest.err 2612 } && test -s conftest.$ac_objext; then 2613 ac_cv_prog_cc_c89=$ac_arg 2614else 2615 echo "$as_me: failed program was:" >&5 2616sed 's/^/| /' conftest.$ac_ext >&5 2617 2618 2619fi 2620 2621rm -f core conftest.err conftest.$ac_objext 2622 test "x$ac_cv_prog_cc_c89" != "xno" && break 2623done 2624rm -f conftest.$ac_ext 2625CC=$ac_save_CC 2626 2627fi 2628# AC_CACHE_VAL 2629case "x$ac_cv_prog_cc_c89" in 2630 x) 2631 { echo "$as_me:$LINENO: result: none needed" >&5 2632echo "${ECHO_T}none needed" >&6; } ;; 2633 xno) 2634 { echo "$as_me:$LINENO: result: unsupported" >&5 2635echo "${ECHO_T}unsupported" >&6; } ;; 2636 *) 2637 CC="$CC $ac_cv_prog_cc_c89" 2638 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 2639echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 2640esac 2641 2642 2643ac_ext=c 2644ac_cpp='$CPP $CPPFLAGS' 2645ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2646ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2647ac_compiler_gnu=$ac_cv_c_compiler_gnu 2648 2649{ echo "$as_me:$LINENO: checking whether ln -s works" >&5 2650echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } 2651LN_S=$as_ln_s 2652if test "$LN_S" = "ln -s"; then 2653 { echo "$as_me:$LINENO: result: yes" >&5 2654echo "${ECHO_T}yes" >&6; } 2655else 2656 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 2657echo "${ECHO_T}no, using $LN_S" >&6; } 2658fi 2659 2660ac_aux_dir= 2661for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2662 if test -f "$ac_dir/install-sh"; then 2663 ac_aux_dir=$ac_dir 2664 ac_install_sh="$ac_aux_dir/install-sh -c" 2665 break 2666 elif test -f "$ac_dir/install.sh"; then 2667 ac_aux_dir=$ac_dir 2668 ac_install_sh="$ac_aux_dir/install.sh -c" 2669 break 2670 elif test -f "$ac_dir/shtool"; then 2671 ac_aux_dir=$ac_dir 2672 ac_install_sh="$ac_aux_dir/shtool install -c" 2673 break 2674 fi 2675done 2676if test -z "$ac_aux_dir"; then 2677 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 2678echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 2679 { (exit 1); exit 1; }; } 2680fi 2681 2682# These three variables are undocumented and unsupported, 2683# and are intended to be withdrawn in a future Autoconf release. 2684# They can cause serious problems if a builder's source tree is in a directory 2685# whose full name contains unusual characters. 2686ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2687ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2688ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2689 2690 2691# Find a good install program. We prefer a C program (faster), 2692# so one script is as good as another. But avoid the broken or 2693# incompatible versions: 2694# SysV /etc/install, /usr/sbin/install 2695# SunOS /usr/etc/install 2696# IRIX /sbin/install 2697# AIX /bin/install 2698# AmigaOS /C/install, which installs bootblocks on floppy discs 2699# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2700# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2701# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2702# OS/2's system install, which has a completely different semantic 2703# ./install, which can be erroneously created by make from ./install.sh. 2704{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2705echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 2706if test -z "$INSTALL"; then 2707if test "${ac_cv_path_install+set}" = set; then 2708 echo $ECHO_N "(cached) $ECHO_C" >&6 2709else 2710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2711for as_dir in $PATH 2712do 2713 IFS=$as_save_IFS 2714 test -z "$as_dir" && as_dir=. 2715 # Account for people who put trailing slashes in PATH elements. 2716case $as_dir/ in 2717 ./ | .// | /cC/* | \ 2718 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2719 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2720 /usr/ucb/* ) ;; 2721 *) 2722 # OSF1 and SCO ODT 3.0 have their own names for install. 2723 # Don't use installbsd from OSF since it installs stuff as root 2724 # by default. 2725 for ac_prog in ginstall scoinst install; do 2726 for ac_exec_ext in '' $ac_executable_extensions; do 2727 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2728 if test $ac_prog = install && 2729 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2730 # AIX install. It has an incompatible calling convention. 2731 : 2732 elif test $ac_prog = install && 2733 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2734 # program-specific install script used by HP pwplus--don't use. 2735 : 2736 else 2737 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2738 break 3 2739 fi 2740 fi 2741 done 2742 done 2743 ;; 2744esac 2745done 2746IFS=$as_save_IFS 2747 2748 2749fi 2750 if test "${ac_cv_path_install+set}" = set; then 2751 INSTALL=$ac_cv_path_install 2752 else 2753 # As a last resort, use the slow shell script. Don't cache a 2754 # value for INSTALL within a source directory, because that will 2755 # break other packages using the cache if that directory is 2756 # removed, or if the value is a relative name. 2757 INSTALL=$ac_install_sh 2758 fi 2759fi 2760{ echo "$as_me:$LINENO: result: $INSTALL" >&5 2761echo "${ECHO_T}$INSTALL" >&6; } 2762 2763# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2764# It thinks the first close brace ends the variable substitution. 2765test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2766 2767test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2768 2769test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2770 2771 2772 2773 2774# Check whether --enable-largefile was given. 2775if test "${enable_largefile+set}" = set; then 2776 enableval=$enable_largefile; 2777fi 2778 2779if test "$enable_largefile" != no; then 2780 2781 { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 2782echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; } 2783if test "${ac_cv_sys_largefile_CC+set}" = set; then 2784 echo $ECHO_N "(cached) $ECHO_C" >&6 2785else 2786 ac_cv_sys_largefile_CC=no 2787 if test "$GCC" != yes; then 2788 ac_save_CC=$CC 2789 while :; do 2790 # IRIX 6.2 and later do not support large files by default, 2791 # so use the C compiler's -n32 option if that helps. 2792 cat >conftest.$ac_ext <<_ACEOF 2793/* confdefs.h. */ 2794_ACEOF 2795cat confdefs.h >>conftest.$ac_ext 2796cat >>conftest.$ac_ext <<_ACEOF 2797/* end confdefs.h. */ 2798#include <sys/types.h> 2799 /* Check that off_t can represent 2**63 - 1 correctly. 2800 We can't simply define LARGE_OFF_T to be 9223372036854775807, 2801 since some C++ compilers masquerading as C compilers 2802 incorrectly reject 9223372036854775807. */ 2803#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 2804 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 2805 && LARGE_OFF_T % 2147483647 == 1) 2806 ? 1 : -1]; 2807int 2808main () 2809{ 2810 2811 ; 2812 return 0; 2813} 2814_ACEOF 2815 rm -f conftest.$ac_objext 2816if { (ac_try="$ac_compile" 2817case "(($ac_try" in 2818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2819 *) ac_try_echo=$ac_try;; 2820esac 2821eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2822 (eval "$ac_compile") 2>conftest.er1 2823 ac_status=$? 2824 grep -v '^ *+' conftest.er1 >conftest.err 2825 rm -f conftest.er1 2826 cat conftest.err >&5 2827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2828 (exit $ac_status); } && { 2829 test -z "$ac_c_werror_flag" || 2830 test ! -s conftest.err 2831 } && test -s conftest.$ac_objext; then 2832 break 2833else 2834 echo "$as_me: failed program was:" >&5 2835sed 's/^/| /' conftest.$ac_ext >&5 2836 2837 2838fi 2839 2840rm -f core conftest.err conftest.$ac_objext 2841 CC="$CC -n32" 2842 rm -f conftest.$ac_objext 2843if { (ac_try="$ac_compile" 2844case "(($ac_try" in 2845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2846 *) ac_try_echo=$ac_try;; 2847esac 2848eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2849 (eval "$ac_compile") 2>conftest.er1 2850 ac_status=$? 2851 grep -v '^ *+' conftest.er1 >conftest.err 2852 rm -f conftest.er1 2853 cat conftest.err >&5 2854 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2855 (exit $ac_status); } && { 2856 test -z "$ac_c_werror_flag" || 2857 test ! -s conftest.err 2858 } && test -s conftest.$ac_objext; then 2859 ac_cv_sys_largefile_CC=' -n32'; break 2860else 2861 echo "$as_me: failed program was:" >&5 2862sed 's/^/| /' conftest.$ac_ext >&5 2863 2864 2865fi 2866 2867rm -f core conftest.err conftest.$ac_objext 2868 break 2869 done 2870 CC=$ac_save_CC 2871 rm -f conftest.$ac_ext 2872 fi 2873fi 2874{ echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 2875echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; } 2876 if test "$ac_cv_sys_largefile_CC" != no; then 2877 CC=$CC$ac_cv_sys_largefile_CC 2878 fi 2879 2880 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 2881echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; } 2882if test "${ac_cv_sys_file_offset_bits+set}" = set; then 2883 echo $ECHO_N "(cached) $ECHO_C" >&6 2884else 2885 while :; do 2886 cat >conftest.$ac_ext <<_ACEOF 2887/* confdefs.h. */ 2888_ACEOF 2889cat confdefs.h >>conftest.$ac_ext 2890cat >>conftest.$ac_ext <<_ACEOF 2891/* end confdefs.h. */ 2892#include <sys/types.h> 2893 /* Check that off_t can represent 2**63 - 1 correctly. 2894 We can't simply define LARGE_OFF_T to be 9223372036854775807, 2895 since some C++ compilers masquerading as C compilers 2896 incorrectly reject 9223372036854775807. */ 2897#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 2898 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 2899 && LARGE_OFF_T % 2147483647 == 1) 2900 ? 1 : -1]; 2901int 2902main () 2903{ 2904 2905 ; 2906 return 0; 2907} 2908_ACEOF 2909rm -f conftest.$ac_objext 2910if { (ac_try="$ac_compile" 2911case "(($ac_try" in 2912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2913 *) ac_try_echo=$ac_try;; 2914esac 2915eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2916 (eval "$ac_compile") 2>conftest.er1 2917 ac_status=$? 2918 grep -v '^ *+' conftest.er1 >conftest.err 2919 rm -f conftest.er1 2920 cat conftest.err >&5 2921 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2922 (exit $ac_status); } && { 2923 test -z "$ac_c_werror_flag" || 2924 test ! -s conftest.err 2925 } && test -s conftest.$ac_objext; then 2926 ac_cv_sys_file_offset_bits=no; break 2927else 2928 echo "$as_me: failed program was:" >&5 2929sed 's/^/| /' conftest.$ac_ext >&5 2930 2931 2932fi 2933 2934rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2935 cat >conftest.$ac_ext <<_ACEOF 2936/* confdefs.h. */ 2937_ACEOF 2938cat confdefs.h >>conftest.$ac_ext 2939cat >>conftest.$ac_ext <<_ACEOF 2940/* end confdefs.h. */ 2941#define _FILE_OFFSET_BITS 64 2942#include <sys/types.h> 2943 /* Check that off_t can represent 2**63 - 1 correctly. 2944 We can't simply define LARGE_OFF_T to be 9223372036854775807, 2945 since some C++ compilers masquerading as C compilers 2946 incorrectly reject 9223372036854775807. */ 2947#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 2948 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 2949 && LARGE_OFF_T % 2147483647 == 1) 2950 ? 1 : -1]; 2951int 2952main () 2953{ 2954 2955 ; 2956 return 0; 2957} 2958_ACEOF 2959rm -f conftest.$ac_objext 2960if { (ac_try="$ac_compile" 2961case "(($ac_try" in 2962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2963 *) ac_try_echo=$ac_try;; 2964esac 2965eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2966 (eval "$ac_compile") 2>conftest.er1 2967 ac_status=$? 2968 grep -v '^ *+' conftest.er1 >conftest.err 2969 rm -f conftest.er1 2970 cat conftest.err >&5 2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2972 (exit $ac_status); } && { 2973 test -z "$ac_c_werror_flag" || 2974 test ! -s conftest.err 2975 } && test -s conftest.$ac_objext; then 2976 ac_cv_sys_file_offset_bits=64; break 2977else 2978 echo "$as_me: failed program was:" >&5 2979sed 's/^/| /' conftest.$ac_ext >&5 2980 2981 2982fi 2983 2984rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2985 ac_cv_sys_file_offset_bits=unknown 2986 break 2987done 2988fi 2989{ echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 2990echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; } 2991case $ac_cv_sys_file_offset_bits in #( 2992 no | unknown) ;; 2993 *) 2994cat >>confdefs.h <<_ACEOF 2995#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 2996_ACEOF 2997;; 2998esac 2999rm -f conftest* 3000 if test $ac_cv_sys_file_offset_bits = unknown; then 3001 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 3002echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; } 3003if test "${ac_cv_sys_large_files+set}" = set; then 3004 echo $ECHO_N "(cached) $ECHO_C" >&6 3005else 3006 while :; do 3007 cat >conftest.$ac_ext <<_ACEOF 3008/* confdefs.h. */ 3009_ACEOF 3010cat confdefs.h >>conftest.$ac_ext 3011cat >>conftest.$ac_ext <<_ACEOF 3012/* end confdefs.h. */ 3013#include <sys/types.h> 3014 /* Check that off_t can represent 2**63 - 1 correctly. 3015 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3016 since some C++ compilers masquerading as C compilers 3017 incorrectly reject 9223372036854775807. */ 3018#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 3019 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 3020 && LARGE_OFF_T % 2147483647 == 1) 3021 ? 1 : -1]; 3022int 3023main () 3024{ 3025 3026 ; 3027 return 0; 3028} 3029_ACEOF 3030rm -f conftest.$ac_objext 3031if { (ac_try="$ac_compile" 3032case "(($ac_try" in 3033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3034 *) ac_try_echo=$ac_try;; 3035esac 3036eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3037 (eval "$ac_compile") 2>conftest.er1 3038 ac_status=$? 3039 grep -v '^ *+' conftest.er1 >conftest.err 3040 rm -f conftest.er1 3041 cat conftest.err >&5 3042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3043 (exit $ac_status); } && { 3044 test -z "$ac_c_werror_flag" || 3045 test ! -s conftest.err 3046 } && test -s conftest.$ac_objext; then 3047 ac_cv_sys_large_files=no; break 3048else 3049 echo "$as_me: failed program was:" >&5 3050sed 's/^/| /' conftest.$ac_ext >&5 3051 3052 3053fi 3054 3055rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3056 cat >conftest.$ac_ext <<_ACEOF 3057/* confdefs.h. */ 3058_ACEOF 3059cat confdefs.h >>conftest.$ac_ext 3060cat >>conftest.$ac_ext <<_ACEOF 3061/* end confdefs.h. */ 3062#define _LARGE_FILES 1 3063#include <sys/types.h> 3064 /* Check that off_t can represent 2**63 - 1 correctly. 3065 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3066 since some C++ compilers masquerading as C compilers 3067 incorrectly reject 9223372036854775807. */ 3068#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 3069 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 3070 && LARGE_OFF_T % 2147483647 == 1) 3071 ? 1 : -1]; 3072int 3073main () 3074{ 3075 3076 ; 3077 return 0; 3078} 3079_ACEOF 3080rm -f conftest.$ac_objext 3081if { (ac_try="$ac_compile" 3082case "(($ac_try" in 3083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3084 *) ac_try_echo=$ac_try;; 3085esac 3086eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3087 (eval "$ac_compile") 2>conftest.er1 3088 ac_status=$? 3089 grep -v '^ *+' conftest.er1 >conftest.err 3090 rm -f conftest.er1 3091 cat conftest.err >&5 3092 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3093 (exit $ac_status); } && { 3094 test -z "$ac_c_werror_flag" || 3095 test ! -s conftest.err 3096 } && test -s conftest.$ac_objext; then 3097 ac_cv_sys_large_files=1; break 3098else 3099 echo "$as_me: failed program was:" >&5 3100sed 's/^/| /' conftest.$ac_ext >&5 3101 3102 3103fi 3104 3105rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3106 ac_cv_sys_large_files=unknown 3107 break 3108done 3109fi 3110{ echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 3111echo "${ECHO_T}$ac_cv_sys_large_files" >&6; } 3112case $ac_cv_sys_large_files in #( 3113 no | unknown) ;; 3114 *) 3115cat >>confdefs.h <<_ACEOF 3116#define _LARGE_FILES $ac_cv_sys_large_files 3117_ACEOF 3118;; 3119esac 3120rm -f conftest* 3121 fi 3122fi 3123 3124ac_ext=c 3125ac_cpp='$CPP $CPPFLAGS' 3126ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3127ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3128ac_compiler_gnu=$ac_cv_c_compiler_gnu 3129{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3130echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3131# On Suns, sometimes $CPP names a directory. 3132if test -n "$CPP" && test -d "$CPP"; then 3133 CPP= 3134fi 3135if test -z "$CPP"; then 3136 if test "${ac_cv_prog_CPP+set}" = set; then 3137 echo $ECHO_N "(cached) $ECHO_C" >&6 3138else 3139 # Double quotes because CPP needs to be expanded 3140 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3141 do 3142 ac_preproc_ok=false 3143for ac_c_preproc_warn_flag in '' yes 3144do 3145 # Use a header file that comes with gcc, so configuring glibc 3146 # with a fresh cross-compiler works. 3147 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3148 # <limits.h> exists even on freestanding compilers. 3149 # On the NeXT, cc -E runs the code through the compiler's parser, 3150 # not just through cpp. "Syntax error" is here to catch this case. 3151 cat >conftest.$ac_ext <<_ACEOF 3152/* confdefs.h. */ 3153_ACEOF 3154cat confdefs.h >>conftest.$ac_ext 3155cat >>conftest.$ac_ext <<_ACEOF 3156/* end confdefs.h. */ 3157#ifdef __STDC__ 3158# include <limits.h> 3159#else 3160# include <assert.h> 3161#endif 3162 Syntax error 3163_ACEOF 3164if { (ac_try="$ac_cpp conftest.$ac_ext" 3165case "(($ac_try" in 3166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3167 *) ac_try_echo=$ac_try;; 3168esac 3169eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3170 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3171 ac_status=$? 3172 grep -v '^ *+' conftest.er1 >conftest.err 3173 rm -f conftest.er1 3174 cat conftest.err >&5 3175 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3176 (exit $ac_status); } >/dev/null && { 3177 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3178 test ! -s conftest.err 3179 }; then 3180 : 3181else 3182 echo "$as_me: failed program was:" >&5 3183sed 's/^/| /' conftest.$ac_ext >&5 3184 3185 # Broken: fails on valid input. 3186continue 3187fi 3188 3189rm -f conftest.err conftest.$ac_ext 3190 3191 # OK, works on sane cases. Now check whether nonexistent headers 3192 # can be detected and how. 3193 cat >conftest.$ac_ext <<_ACEOF 3194/* confdefs.h. */ 3195_ACEOF 3196cat confdefs.h >>conftest.$ac_ext 3197cat >>conftest.$ac_ext <<_ACEOF 3198/* end confdefs.h. */ 3199#include <ac_nonexistent.h> 3200_ACEOF 3201if { (ac_try="$ac_cpp conftest.$ac_ext" 3202case "(($ac_try" in 3203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3204 *) ac_try_echo=$ac_try;; 3205esac 3206eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3207 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3208 ac_status=$? 3209 grep -v '^ *+' conftest.er1 >conftest.err 3210 rm -f conftest.er1 3211 cat conftest.err >&5 3212 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3213 (exit $ac_status); } >/dev/null && { 3214 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3215 test ! -s conftest.err 3216 }; then 3217 # Broken: success on invalid input. 3218continue 3219else 3220 echo "$as_me: failed program was:" >&5 3221sed 's/^/| /' conftest.$ac_ext >&5 3222 3223 # Passes both tests. 3224ac_preproc_ok=: 3225break 3226fi 3227 3228rm -f conftest.err conftest.$ac_ext 3229 3230done 3231# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3232rm -f conftest.err conftest.$ac_ext 3233if $ac_preproc_ok; then 3234 break 3235fi 3236 3237 done 3238 ac_cv_prog_CPP=$CPP 3239 3240fi 3241 CPP=$ac_cv_prog_CPP 3242else 3243 ac_cv_prog_CPP=$CPP 3244fi 3245{ echo "$as_me:$LINENO: result: $CPP" >&5 3246echo "${ECHO_T}$CPP" >&6; } 3247ac_preproc_ok=false 3248for ac_c_preproc_warn_flag in '' yes 3249do 3250 # Use a header file that comes with gcc, so configuring glibc 3251 # with a fresh cross-compiler works. 3252 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3253 # <limits.h> exists even on freestanding compilers. 3254 # On the NeXT, cc -E runs the code through the compiler's parser, 3255 # not just through cpp. "Syntax error" is here to catch this case. 3256 cat >conftest.$ac_ext <<_ACEOF 3257/* confdefs.h. */ 3258_ACEOF 3259cat confdefs.h >>conftest.$ac_ext 3260cat >>conftest.$ac_ext <<_ACEOF 3261/* end confdefs.h. */ 3262#ifdef __STDC__ 3263# include <limits.h> 3264#else 3265# include <assert.h> 3266#endif 3267 Syntax error 3268_ACEOF 3269if { (ac_try="$ac_cpp conftest.$ac_ext" 3270case "(($ac_try" in 3271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3272 *) ac_try_echo=$ac_try;; 3273esac 3274eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3275 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3276 ac_status=$? 3277 grep -v '^ *+' conftest.er1 >conftest.err 3278 rm -f conftest.er1 3279 cat conftest.err >&5 3280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3281 (exit $ac_status); } >/dev/null && { 3282 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3283 test ! -s conftest.err 3284 }; then 3285 : 3286else 3287 echo "$as_me: failed program was:" >&5 3288sed 's/^/| /' conftest.$ac_ext >&5 3289 3290 # Broken: fails on valid input. 3291continue 3292fi 3293 3294rm -f conftest.err conftest.$ac_ext 3295 3296 # OK, works on sane cases. Now check whether nonexistent headers 3297 # can be detected and how. 3298 cat >conftest.$ac_ext <<_ACEOF 3299/* confdefs.h. */ 3300_ACEOF 3301cat confdefs.h >>conftest.$ac_ext 3302cat >>conftest.$ac_ext <<_ACEOF 3303/* end confdefs.h. */ 3304#include <ac_nonexistent.h> 3305_ACEOF 3306if { (ac_try="$ac_cpp conftest.$ac_ext" 3307case "(($ac_try" in 3308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3309 *) ac_try_echo=$ac_try;; 3310esac 3311eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3312 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3313 ac_status=$? 3314 grep -v '^ *+' conftest.er1 >conftest.err 3315 rm -f conftest.er1 3316 cat conftest.err >&5 3317 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3318 (exit $ac_status); } >/dev/null && { 3319 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3320 test ! -s conftest.err 3321 }; then 3322 # Broken: success on invalid input. 3323continue 3324else 3325 echo "$as_me: failed program was:" >&5 3326sed 's/^/| /' conftest.$ac_ext >&5 3327 3328 # Passes both tests. 3329ac_preproc_ok=: 3330break 3331fi 3332 3333rm -f conftest.err conftest.$ac_ext 3334 3335done 3336# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3337rm -f conftest.err conftest.$ac_ext 3338if $ac_preproc_ok; then 3339 : 3340else 3341 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3342See \`config.log' for more details." >&5 3343echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3344See \`config.log' for more details." >&2;} 3345 { (exit 1); exit 1; }; } 3346fi 3347 3348ac_ext=c 3349ac_cpp='$CPP $CPPFLAGS' 3350ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3351ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3352ac_compiler_gnu=$ac_cv_c_compiler_gnu 3353 3354 3355{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3356echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 3357if test "${ac_cv_path_GREP+set}" = set; then 3358 echo $ECHO_N "(cached) $ECHO_C" >&6 3359else 3360 # Extract the first word of "grep ggrep" to use in msg output 3361if test -z "$GREP"; then 3362set dummy grep ggrep; ac_prog_name=$2 3363if test "${ac_cv_path_GREP+set}" = set; then 3364 echo $ECHO_N "(cached) $ECHO_C" >&6 3365else 3366 ac_path_GREP_found=false 3367# Loop through the user's path and test for each of PROGNAME-LIST 3368as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3369for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3370do 3371 IFS=$as_save_IFS 3372 test -z "$as_dir" && as_dir=. 3373 for ac_prog in grep ggrep; do 3374 for ac_exec_ext in '' $ac_executable_extensions; do 3375 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3376 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3377 # Check for GNU ac_path_GREP and select it if it is found. 3378 # Check for GNU $ac_path_GREP 3379case `"$ac_path_GREP" --version 2>&1` in 3380*GNU*) 3381 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3382*) 3383 ac_count=0 3384 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3385 while : 3386 do 3387 cat "conftest.in" "conftest.in" >"conftest.tmp" 3388 mv "conftest.tmp" "conftest.in" 3389 cp "conftest.in" "conftest.nl" 3390 echo 'GREP' >> "conftest.nl" 3391 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3392 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3393 ac_count=`expr $ac_count + 1` 3394 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3395 # Best one so far, save it but keep looking for a better one 3396 ac_cv_path_GREP="$ac_path_GREP" 3397 ac_path_GREP_max=$ac_count 3398 fi 3399 # 10*(2^10) chars as input seems more than enough 3400 test $ac_count -gt 10 && break 3401 done 3402 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3403esac 3404 3405 3406 $ac_path_GREP_found && break 3 3407 done 3408done 3409 3410done 3411IFS=$as_save_IFS 3412 3413 3414fi 3415 3416GREP="$ac_cv_path_GREP" 3417if test -z "$GREP"; then 3418 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3419echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3420 { (exit 1); exit 1; }; } 3421fi 3422 3423else 3424 ac_cv_path_GREP=$GREP 3425fi 3426 3427 3428fi 3429{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3430echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 3431 GREP="$ac_cv_path_GREP" 3432 3433 3434{ echo "$as_me:$LINENO: checking for egrep" >&5 3435echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 3436if test "${ac_cv_path_EGREP+set}" = set; then 3437 echo $ECHO_N "(cached) $ECHO_C" >&6 3438else 3439 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3440 then ac_cv_path_EGREP="$GREP -E" 3441 else 3442 # Extract the first word of "egrep" to use in msg output 3443if test -z "$EGREP"; then 3444set dummy egrep; ac_prog_name=$2 3445if test "${ac_cv_path_EGREP+set}" = set; then 3446 echo $ECHO_N "(cached) $ECHO_C" >&6 3447else 3448 ac_path_EGREP_found=false 3449# Loop through the user's path and test for each of PROGNAME-LIST 3450as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3451for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3452do 3453 IFS=$as_save_IFS 3454 test -z "$as_dir" && as_dir=. 3455 for ac_prog in egrep; do 3456 for ac_exec_ext in '' $ac_executable_extensions; do 3457 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3458 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3459 # Check for GNU ac_path_EGREP and select it if it is found. 3460 # Check for GNU $ac_path_EGREP 3461case `"$ac_path_EGREP" --version 2>&1` in 3462*GNU*) 3463 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3464*) 3465 ac_count=0 3466 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3467 while : 3468 do 3469 cat "conftest.in" "conftest.in" >"conftest.tmp" 3470 mv "conftest.tmp" "conftest.in" 3471 cp "conftest.in" "conftest.nl" 3472 echo 'EGREP' >> "conftest.nl" 3473 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3474 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3475 ac_count=`expr $ac_count + 1` 3476 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3477 # Best one so far, save it but keep looking for a better one 3478 ac_cv_path_EGREP="$ac_path_EGREP" 3479 ac_path_EGREP_max=$ac_count 3480 fi 3481 # 10*(2^10) chars as input seems more than enough 3482 test $ac_count -gt 10 && break 3483 done 3484 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3485esac 3486 3487 3488 $ac_path_EGREP_found && break 3 3489 done 3490done 3491 3492done 3493IFS=$as_save_IFS 3494 3495 3496fi 3497 3498EGREP="$ac_cv_path_EGREP" 3499if test -z "$EGREP"; then 3500 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3501echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3502 { (exit 1); exit 1; }; } 3503fi 3504 3505else 3506 ac_cv_path_EGREP=$EGREP 3507fi 3508 3509 3510 fi 3511fi 3512{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 3513echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 3514 EGREP="$ac_cv_path_EGREP" 3515 3516 3517{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3518echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 3519if test "${ac_cv_header_stdc+set}" = set; then 3520 echo $ECHO_N "(cached) $ECHO_C" >&6 3521else 3522 cat >conftest.$ac_ext <<_ACEOF 3523/* confdefs.h. */ 3524_ACEOF 3525cat confdefs.h >>conftest.$ac_ext 3526cat >>conftest.$ac_ext <<_ACEOF 3527/* end confdefs.h. */ 3528#include <stdlib.h> 3529#include <stdarg.h> 3530#include <string.h> 3531#include <float.h> 3532 3533int 3534main () 3535{ 3536 3537 ; 3538 return 0; 3539} 3540_ACEOF 3541rm -f conftest.$ac_objext 3542if { (ac_try="$ac_compile" 3543case "(($ac_try" in 3544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3545 *) ac_try_echo=$ac_try;; 3546esac 3547eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3548 (eval "$ac_compile") 2>conftest.er1 3549 ac_status=$? 3550 grep -v '^ *+' conftest.er1 >conftest.err 3551 rm -f conftest.er1 3552 cat conftest.err >&5 3553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3554 (exit $ac_status); } && { 3555 test -z "$ac_c_werror_flag" || 3556 test ! -s conftest.err 3557 } && test -s conftest.$ac_objext; then 3558 ac_cv_header_stdc=yes 3559else 3560 echo "$as_me: failed program was:" >&5 3561sed 's/^/| /' conftest.$ac_ext >&5 3562 3563 ac_cv_header_stdc=no 3564fi 3565 3566rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3567 3568if test $ac_cv_header_stdc = yes; then 3569 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3570 cat >conftest.$ac_ext <<_ACEOF 3571/* confdefs.h. */ 3572_ACEOF 3573cat confdefs.h >>conftest.$ac_ext 3574cat >>conftest.$ac_ext <<_ACEOF 3575/* end confdefs.h. */ 3576#include <string.h> 3577 3578_ACEOF 3579if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3580 $EGREP "memchr" >/dev/null 2>&1; then 3581 : 3582else 3583 ac_cv_header_stdc=no 3584fi 3585rm -f conftest* 3586 3587fi 3588 3589if test $ac_cv_header_stdc = yes; then 3590 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3591 cat >conftest.$ac_ext <<_ACEOF 3592/* confdefs.h. */ 3593_ACEOF 3594cat confdefs.h >>conftest.$ac_ext 3595cat >>conftest.$ac_ext <<_ACEOF 3596/* end confdefs.h. */ 3597#include <stdlib.h> 3598 3599_ACEOF 3600if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3601 $EGREP "free" >/dev/null 2>&1; then 3602 : 3603else 3604 ac_cv_header_stdc=no 3605fi 3606rm -f conftest* 3607 3608fi 3609 3610if test $ac_cv_header_stdc = yes; then 3611 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3612 if test "$cross_compiling" = yes; then 3613 : 3614else 3615 cat >conftest.$ac_ext <<_ACEOF 3616/* confdefs.h. */ 3617_ACEOF 3618cat confdefs.h >>conftest.$ac_ext 3619cat >>conftest.$ac_ext <<_ACEOF 3620/* end confdefs.h. */ 3621#include <ctype.h> 3622#include <stdlib.h> 3623#if ((' ' & 0x0FF) == 0x020) 3624# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3625# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3626#else 3627# define ISLOWER(c) \ 3628 (('a' <= (c) && (c) <= 'i') \ 3629 || ('j' <= (c) && (c) <= 'r') \ 3630 || ('s' <= (c) && (c) <= 'z')) 3631# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3632#endif 3633 3634#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3635int 3636main () 3637{ 3638 int i; 3639 for (i = 0; i < 256; i++) 3640 if (XOR (islower (i), ISLOWER (i)) 3641 || toupper (i) != TOUPPER (i)) 3642 return 2; 3643 return 0; 3644} 3645_ACEOF 3646rm -f 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>&5 3654 ac_status=$? 3655 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3656 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3657 { (case "(($ac_try" in 3658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3659 *) ac_try_echo=$ac_try;; 3660esac 3661eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3662 (eval "$ac_try") 2>&5 3663 ac_status=$? 3664 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3665 (exit $ac_status); }; }; then 3666 : 3667else 3668 echo "$as_me: program exited with status $ac_status" >&5 3669echo "$as_me: failed program was:" >&5 3670sed 's/^/| /' conftest.$ac_ext >&5 3671 3672( exit $ac_status ) 3673ac_cv_header_stdc=no 3674fi 3675rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3676fi 3677 3678 3679fi 3680fi 3681{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3682echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 3683if test $ac_cv_header_stdc = yes; then 3684 3685cat >>confdefs.h <<\_ACEOF 3686#define STDC_HEADERS 1 3687_ACEOF 3688 3689fi 3690 3691# On IRIX 5.3, sys/types and inttypes.h are conflicting. 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3702 inttypes.h stdint.h unistd.h 3703do 3704as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3705{ echo "$as_me:$LINENO: checking for $ac_header" >&5 3706echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 3707if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3708 echo $ECHO_N "(cached) $ECHO_C" >&6 3709else 3710 cat >conftest.$ac_ext <<_ACEOF 3711/* confdefs.h. */ 3712_ACEOF 3713cat confdefs.h >>conftest.$ac_ext 3714cat >>conftest.$ac_ext <<_ACEOF 3715/* end confdefs.h. */ 3716$ac_includes_default 3717 3718#include <$ac_header> 3719_ACEOF 3720rm -f conftest.$ac_objext 3721if { (ac_try="$ac_compile" 3722case "(($ac_try" in 3723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3724 *) ac_try_echo=$ac_try;; 3725esac 3726eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3727 (eval "$ac_compile") 2>conftest.er1 3728 ac_status=$? 3729 grep -v '^ *+' conftest.er1 >conftest.err 3730 rm -f conftest.er1 3731 cat conftest.err >&5 3732 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3733 (exit $ac_status); } && { 3734 test -z "$ac_c_werror_flag" || 3735 test ! -s conftest.err 3736 } && test -s conftest.$ac_objext; then 3737 eval "$as_ac_Header=yes" 3738else 3739 echo "$as_me: failed program was:" >&5 3740sed 's/^/| /' conftest.$ac_ext >&5 3741 3742 eval "$as_ac_Header=no" 3743fi 3744 3745rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3746fi 3747ac_res=`eval echo '${'$as_ac_Header'}'` 3748 { echo "$as_me:$LINENO: result: $ac_res" >&5 3749echo "${ECHO_T}$ac_res" >&6; } 3750if test `eval echo '${'$as_ac_Header'}'` = yes; then 3751 cat >>confdefs.h <<_ACEOF 3752#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3753_ACEOF 3754 3755fi 3756 3757done 3758 3759 3760 3761{ echo "$as_me:$LINENO: checking whether char is unsigned" >&5 3762echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6; } 3763if test "${ac_cv_c_char_unsigned+set}" = set; then 3764 echo $ECHO_N "(cached) $ECHO_C" >&6 3765else 3766 cat >conftest.$ac_ext <<_ACEOF 3767/* confdefs.h. */ 3768_ACEOF 3769cat confdefs.h >>conftest.$ac_ext 3770cat >>conftest.$ac_ext <<_ACEOF 3771/* end confdefs.h. */ 3772$ac_includes_default 3773int 3774main () 3775{ 3776static int test_array [1 - 2 * !(((char) -1) < 0)]; 3777test_array [0] = 0 3778 3779 ; 3780 return 0; 3781} 3782_ACEOF 3783rm -f conftest.$ac_objext 3784if { (ac_try="$ac_compile" 3785case "(($ac_try" in 3786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3787 *) ac_try_echo=$ac_try;; 3788esac 3789eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3790 (eval "$ac_compile") 2>conftest.er1 3791 ac_status=$? 3792 grep -v '^ *+' conftest.er1 >conftest.err 3793 rm -f conftest.er1 3794 cat conftest.err >&5 3795 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3796 (exit $ac_status); } && { 3797 test -z "$ac_c_werror_flag" || 3798 test ! -s conftest.err 3799 } && test -s conftest.$ac_objext; then 3800 ac_cv_c_char_unsigned=no 3801else 3802 echo "$as_me: failed program was:" >&5 3803sed 's/^/| /' conftest.$ac_ext >&5 3804 3805 ac_cv_c_char_unsigned=yes 3806fi 3807 3808rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3809fi 3810{ echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5 3811echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6; } 3812if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then 3813 cat >>confdefs.h <<\_ACEOF 3814#define __CHAR_UNSIGNED__ 1 3815_ACEOF 3816 3817fi 3818 3819{ echo "$as_me:$LINENO: checking for u_int64_t" >&5 3820echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6; } 3821if test "${ac_cv_type_u_int64_t+set}" = set; then 3822 echo $ECHO_N "(cached) $ECHO_C" >&6 3823else 3824 cat >conftest.$ac_ext <<_ACEOF 3825/* confdefs.h. */ 3826_ACEOF 3827cat confdefs.h >>conftest.$ac_ext 3828cat >>conftest.$ac_ext <<_ACEOF 3829/* end confdefs.h. */ 3830$ac_includes_default 3831typedef u_int64_t ac__type_new_; 3832int 3833main () 3834{ 3835if ((ac__type_new_ *) 0) 3836 return 0; 3837if (sizeof (ac__type_new_)) 3838 return 0; 3839 ; 3840 return 0; 3841} 3842_ACEOF 3843rm -f conftest.$ac_objext 3844if { (ac_try="$ac_compile" 3845case "(($ac_try" in 3846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3847 *) ac_try_echo=$ac_try;; 3848esac 3849eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3850 (eval "$ac_compile") 2>conftest.er1 3851 ac_status=$? 3852 grep -v '^ *+' conftest.er1 >conftest.err 3853 rm -f conftest.er1 3854 cat conftest.err >&5 3855 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3856 (exit $ac_status); } && { 3857 test -z "$ac_c_werror_flag" || 3858 test ! -s conftest.err 3859 } && test -s conftest.$ac_objext; then 3860 ac_cv_type_u_int64_t=yes 3861else 3862 echo "$as_me: failed program was:" >&5 3863sed 's/^/| /' conftest.$ac_ext >&5 3864 3865 ac_cv_type_u_int64_t=no 3866fi 3867 3868rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3869fi 3870{ echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5 3871echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; } 3872if test $ac_cv_type_u_int64_t = yes; then 3873 : 3874else 3875 3876cat >>confdefs.h <<_ACEOF 3877#define u_int64_t unsigned long long 3878_ACEOF 3879 3880fi 3881 3882{ echo "$as_me:$LINENO: checking whether altzone is declared" >&5 3883echo $ECHO_N "checking whether altzone is declared... $ECHO_C" >&6; } 3884if test "${ac_cv_have_decl_altzone+set}" = set; then 3885 echo $ECHO_N "(cached) $ECHO_C" >&6 3886else 3887 cat >conftest.$ac_ext <<_ACEOF 3888/* confdefs.h. */ 3889_ACEOF 3890cat confdefs.h >>conftest.$ac_ext 3891cat >>conftest.$ac_ext <<_ACEOF 3892/* end confdefs.h. */ 3893#include <time.h> 3894 3895int 3896main () 3897{ 3898#ifndef altzone 3899 (void) altzone; 3900#endif 3901 3902 ; 3903 return 0; 3904} 3905_ACEOF 3906rm -f conftest.$ac_objext 3907if { (ac_try="$ac_compile" 3908case "(($ac_try" in 3909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3910 *) ac_try_echo=$ac_try;; 3911esac 3912eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3913 (eval "$ac_compile") 2>conftest.er1 3914 ac_status=$? 3915 grep -v '^ *+' conftest.er1 >conftest.err 3916 rm -f conftest.er1 3917 cat conftest.err >&5 3918 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3919 (exit $ac_status); } && { 3920 test -z "$ac_c_werror_flag" || 3921 test ! -s conftest.err 3922 } && test -s conftest.$ac_objext; then 3923 ac_cv_have_decl_altzone=yes 3924else 3925 echo "$as_me: failed program was:" >&5 3926sed 's/^/| /' conftest.$ac_ext >&5 3927 3928 ac_cv_have_decl_altzone=no 3929fi 3930 3931rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3932fi 3933{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_altzone" >&5 3934echo "${ECHO_T}$ac_cv_have_decl_altzone" >&6; } 3935if test $ac_cv_have_decl_altzone = yes; then 3936 OPTS="-DHAVE_ALTZONE ${OPTS}" 3937fi 3938 3939 3940 3941if test "$GCC" = "yes"; then 3942 3943 # Check whether --enable-static was given. 3944if test "${enable_static+set}" = set; then 3945 enableval=$enable_static; LDFLAGS="--static ${LDFLAGS}" 3946fi 3947 3948 3949 if test "$IN_CFLAGS" = ""; then 3950 CFLAGS="-Wall -O2" 3951 fi 3952 if test "$ac_cv_c_char_unsigned" = "yes"; then 3953 CFLAGS="-fsigned-char ${CFLAGS}" 3954 fi 3955 3956 # Check whether --enable-debug was given. 3957if test "${enable_debug+set}" = set; then 3958 enableval=$enable_debug; CFLAGS="-g ${CFLAGS}" 3959fi 3960 3961 3962else 3963 if test "$IN_CFLAGS" = ""; then 3964 CFLAGS="-g" 3965 fi 3966fi 3967 3968 3969 3970# Check whether --with-gd was given. 3971if test "${with_gd+set}" = set; then 3972 withval=$with_gd; S_GD="${withval}"; CPPFLAGS="${CPPFLAGS} -I${withval}" 3973fi 3974 3975 3976# Check whether --with-gdlib was given. 3977if test "${with_gdlib+set}" = set; then 3978 withval=$with_gdlib; S_GDLIB="${withval}"; LDFLAGS="-L${withval} ${LDFLAGS}" 3979fi 3980 3981 3982# Check whether --with-png was given. 3983if test "${with_png+set}" = set; then 3984 withval=$with_png; S_PNG="${withval}"; CPPFLAGS="${CPPFLAGS} -I${withval}" 3985fi 3986 3987 3988# Check whether --with-pnglib was given. 3989if test "${with_pnglib+set}" = set; then 3990 withval=$with_pnglib; S_PNGLIB="${withval}"; LDFLAGS="-L${withval} ${LDFLAGS}" 3991fi 3992 3993 3994# Check whether --with-z was given. 3995if test "${with_z+set}" = set; then 3996 withval=$with_z; S_Z="${withval}"; CPPFLAGS="${CPPFLAGS} -I${withval}" 3997fi 3998 3999 4000# Check whether --with-zlib was given. 4001if test "${with_zlib+set}" = set; then 4002 withval=$with_zlib; S_ZLIB="${withval}"; LDFLAGS="-L${withval} ${LDFLAGS}" 4003fi 4004 4005 4006# Check whether --with-db was given. 4007if test "${with_db+set}" = set; then 4008 withval=$with_db; S_DB="${withval}"; CPPFLAGS="${CPPFLAGS} -I${withval}" 4009fi 4010 4011 4012# Check whether --with-dblib was given. 4013if test "${with_dblib+set}" = set; then 4014 withval=$with_dblib; S_DBLIB="${withval}"; LDFLAGS="-L${withval} ${LDFLAGS}" 4015fi 4016 4017 4018 4019{ echo "$as_me:$LINENO: checking for main in -l44bsd" >&5 4020echo $ECHO_N "checking for main in -l44bsd... $ECHO_C" >&6; } 4021if test "${ac_cv_lib_44bsd_main+set}" = set; then 4022 echo $ECHO_N "(cached) $ECHO_C" >&6 4023else 4024 ac_check_lib_save_LIBS=$LIBS 4025LIBS="-l44bsd $LIBS" 4026cat >conftest.$ac_ext <<_ACEOF 4027/* confdefs.h. */ 4028_ACEOF 4029cat confdefs.h >>conftest.$ac_ext 4030cat >>conftest.$ac_ext <<_ACEOF 4031/* end confdefs.h. */ 4032 4033 4034int 4035main () 4036{ 4037return main (); 4038 ; 4039 return 0; 4040} 4041_ACEOF 4042rm -f conftest.$ac_objext conftest$ac_exeext 4043if { (ac_try="$ac_link" 4044case "(($ac_try" in 4045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4046 *) ac_try_echo=$ac_try;; 4047esac 4048eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4049 (eval "$ac_link") 2>conftest.er1 4050 ac_status=$? 4051 grep -v '^ *+' conftest.er1 >conftest.err 4052 rm -f conftest.er1 4053 cat conftest.err >&5 4054 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4055 (exit $ac_status); } && { 4056 test -z "$ac_c_werror_flag" || 4057 test ! -s conftest.err 4058 } && test -s conftest$ac_exeext && 4059 $as_test_x conftest$ac_exeext; then 4060 ac_cv_lib_44bsd_main=yes 4061else 4062 echo "$as_me: failed program was:" >&5 4063sed 's/^/| /' conftest.$ac_ext >&5 4064 4065 ac_cv_lib_44bsd_main=no 4066fi 4067 4068rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4069 conftest$ac_exeext conftest.$ac_ext 4070LIBS=$ac_check_lib_save_LIBS 4071fi 4072{ echo "$as_me:$LINENO: result: $ac_cv_lib_44bsd_main" >&5 4073echo "${ECHO_T}$ac_cv_lib_44bsd_main" >&6; } 4074if test $ac_cv_lib_44bsd_main = yes; then 4075 LIBS="-l44bsd ${LIBS}" 4076fi 4077 4078 4079for ac_header in getopt.h 4080do 4081as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4082if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4083 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4084echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4085if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4086 echo $ECHO_N "(cached) $ECHO_C" >&6 4087fi 4088ac_res=`eval echo '${'$as_ac_Header'}'` 4089 { echo "$as_me:$LINENO: result: $ac_res" >&5 4090echo "${ECHO_T}$ac_res" >&6; } 4091else 4092 # Is the header compilable? 4093{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 4094echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 4095cat >conftest.$ac_ext <<_ACEOF 4096/* confdefs.h. */ 4097_ACEOF 4098cat confdefs.h >>conftest.$ac_ext 4099cat >>conftest.$ac_ext <<_ACEOF 4100/* end confdefs.h. */ 4101$ac_includes_default 4102#include <$ac_header> 4103_ACEOF 4104rm -f conftest.$ac_objext 4105if { (ac_try="$ac_compile" 4106case "(($ac_try" in 4107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4108 *) ac_try_echo=$ac_try;; 4109esac 4110eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4111 (eval "$ac_compile") 2>conftest.er1 4112 ac_status=$? 4113 grep -v '^ *+' conftest.er1 >conftest.err 4114 rm -f conftest.er1 4115 cat conftest.err >&5 4116 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4117 (exit $ac_status); } && { 4118 test -z "$ac_c_werror_flag" || 4119 test ! -s conftest.err 4120 } && test -s conftest.$ac_objext; then 4121 ac_header_compiler=yes 4122else 4123 echo "$as_me: failed program was:" >&5 4124sed 's/^/| /' conftest.$ac_ext >&5 4125 4126 ac_header_compiler=no 4127fi 4128 4129rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4130{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4131echo "${ECHO_T}$ac_header_compiler" >&6; } 4132 4133# Is the header present? 4134{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 4135echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 4136cat >conftest.$ac_ext <<_ACEOF 4137/* confdefs.h. */ 4138_ACEOF 4139cat confdefs.h >>conftest.$ac_ext 4140cat >>conftest.$ac_ext <<_ACEOF 4141/* end confdefs.h. */ 4142#include <$ac_header> 4143_ACEOF 4144if { (ac_try="$ac_cpp conftest.$ac_ext" 4145case "(($ac_try" in 4146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4147 *) ac_try_echo=$ac_try;; 4148esac 4149eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4150 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4151 ac_status=$? 4152 grep -v '^ *+' conftest.er1 >conftest.err 4153 rm -f conftest.er1 4154 cat conftest.err >&5 4155 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4156 (exit $ac_status); } >/dev/null && { 4157 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4158 test ! -s conftest.err 4159 }; then 4160 ac_header_preproc=yes 4161else 4162 echo "$as_me: failed program was:" >&5 4163sed 's/^/| /' conftest.$ac_ext >&5 4164 4165 ac_header_preproc=no 4166fi 4167 4168rm -f conftest.err conftest.$ac_ext 4169{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4170echo "${ECHO_T}$ac_header_preproc" >&6; } 4171 4172# So? What about this header? 4173case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4174 yes:no: ) 4175 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4176echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4177 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4178echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4179 ac_header_preproc=yes 4180 ;; 4181 no:yes:* ) 4182 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4183echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4184 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4185echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4186 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4187echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4188 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4189echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4190 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4191echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4192 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4193echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4194 4195 ;; 4196esac 4197{ echo "$as_me:$LINENO: checking for $ac_header" >&5 4198echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4199if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4200 echo $ECHO_N "(cached) $ECHO_C" >&6 4201else 4202 eval "$as_ac_Header=\$ac_header_preproc" 4203fi 4204ac_res=`eval echo '${'$as_ac_Header'}'` 4205 { echo "$as_me:$LINENO: result: $ac_res" >&5 4206echo "${ECHO_T}$ac_res" >&6; } 4207 4208fi 4209if test `eval echo '${'$as_ac_Header'}'` = yes; then 4210 cat >>confdefs.h <<_ACEOF 4211#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4212_ACEOF 4213 4214fi 4215 4216done 4217 4218{ echo "$as_me:$LINENO: checking for main in -lm" >&5 4219echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; } 4220if test "${ac_cv_lib_m_main+set}" = set; then 4221 echo $ECHO_N "(cached) $ECHO_C" >&6 4222else 4223 ac_check_lib_save_LIBS=$LIBS 4224LIBS="-lm $LIBS" 4225cat >conftest.$ac_ext <<_ACEOF 4226/* confdefs.h. */ 4227_ACEOF 4228cat confdefs.h >>conftest.$ac_ext 4229cat >>conftest.$ac_ext <<_ACEOF 4230/* end confdefs.h. */ 4231 4232 4233int 4234main () 4235{ 4236return main (); 4237 ; 4238 return 0; 4239} 4240_ACEOF 4241rm -f conftest.$ac_objext conftest$ac_exeext 4242if { (ac_try="$ac_link" 4243case "(($ac_try" in 4244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4245 *) ac_try_echo=$ac_try;; 4246esac 4247eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4248 (eval "$ac_link") 2>conftest.er1 4249 ac_status=$? 4250 grep -v '^ *+' conftest.er1 >conftest.err 4251 rm -f conftest.er1 4252 cat conftest.err >&5 4253 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4254 (exit $ac_status); } && { 4255 test -z "$ac_c_werror_flag" || 4256 test ! -s conftest.err 4257 } && test -s conftest$ac_exeext && 4258 $as_test_x conftest$ac_exeext; then 4259 ac_cv_lib_m_main=yes 4260else 4261 echo "$as_me: failed program was:" >&5 4262sed 's/^/| /' conftest.$ac_ext >&5 4263 4264 ac_cv_lib_m_main=no 4265fi 4266 4267rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4268 conftest$ac_exeext conftest.$ac_ext 4269LIBS=$ac_check_lib_save_LIBS 4270fi 4271{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 4272echo "${ECHO_T}$ac_cv_lib_m_main" >&6; } 4273if test $ac_cv_lib_m_main = yes; then 4274 LIBS="-lm ${LIBS}"; HAVE_LIBM="1" 4275fi 4276 4277if test "${HAVE_LIBM}" = "1"; then 4278 4279for ac_header in math.h 4280do 4281as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4282if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4283 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4284echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4285if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4286 echo $ECHO_N "(cached) $ECHO_C" >&6 4287fi 4288ac_res=`eval echo '${'$as_ac_Header'}'` 4289 { echo "$as_me:$LINENO: result: $ac_res" >&5 4290echo "${ECHO_T}$ac_res" >&6; } 4291else 4292 # Is the header compilable? 4293{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 4294echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 4295cat >conftest.$ac_ext <<_ACEOF 4296/* confdefs.h. */ 4297_ACEOF 4298cat confdefs.h >>conftest.$ac_ext 4299cat >>conftest.$ac_ext <<_ACEOF 4300/* end confdefs.h. */ 4301$ac_includes_default 4302#include <$ac_header> 4303_ACEOF 4304rm -f conftest.$ac_objext 4305if { (ac_try="$ac_compile" 4306case "(($ac_try" in 4307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4308 *) ac_try_echo=$ac_try;; 4309esac 4310eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4311 (eval "$ac_compile") 2>conftest.er1 4312 ac_status=$? 4313 grep -v '^ *+' conftest.er1 >conftest.err 4314 rm -f conftest.er1 4315 cat conftest.err >&5 4316 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4317 (exit $ac_status); } && { 4318 test -z "$ac_c_werror_flag" || 4319 test ! -s conftest.err 4320 } && test -s conftest.$ac_objext; then 4321 ac_header_compiler=yes 4322else 4323 echo "$as_me: failed program was:" >&5 4324sed 's/^/| /' conftest.$ac_ext >&5 4325 4326 ac_header_compiler=no 4327fi 4328 4329rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4330{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4331echo "${ECHO_T}$ac_header_compiler" >&6; } 4332 4333# Is the header present? 4334{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 4335echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 4336cat >conftest.$ac_ext <<_ACEOF 4337/* confdefs.h. */ 4338_ACEOF 4339cat confdefs.h >>conftest.$ac_ext 4340cat >>conftest.$ac_ext <<_ACEOF 4341/* end confdefs.h. */ 4342#include <$ac_header> 4343_ACEOF 4344if { (ac_try="$ac_cpp conftest.$ac_ext" 4345case "(($ac_try" in 4346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4347 *) ac_try_echo=$ac_try;; 4348esac 4349eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4350 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4351 ac_status=$? 4352 grep -v '^ *+' conftest.er1 >conftest.err 4353 rm -f conftest.er1 4354 cat conftest.err >&5 4355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4356 (exit $ac_status); } >/dev/null && { 4357 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4358 test ! -s conftest.err 4359 }; then 4360 ac_header_preproc=yes 4361else 4362 echo "$as_me: failed program was:" >&5 4363sed 's/^/| /' conftest.$ac_ext >&5 4364 4365 ac_header_preproc=no 4366fi 4367 4368rm -f conftest.err conftest.$ac_ext 4369{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4370echo "${ECHO_T}$ac_header_preproc" >&6; } 4371 4372# So? What about this header? 4373case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4374 yes:no: ) 4375 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4376echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4377 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4378echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4379 ac_header_preproc=yes 4380 ;; 4381 no:yes:* ) 4382 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4383echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4384 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4385echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4386 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4387echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4388 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4389echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4390 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4391echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4392 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4393echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4394 4395 ;; 4396esac 4397{ echo "$as_me:$LINENO: checking for $ac_header" >&5 4398echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4399if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4400 echo $ECHO_N "(cached) $ECHO_C" >&6 4401else 4402 eval "$as_ac_Header=\$ac_header_preproc" 4403fi 4404ac_res=`eval echo '${'$as_ac_Header'}'` 4405 { echo "$as_me:$LINENO: result: $ac_res" >&5 4406echo "${ECHO_T}$ac_res" >&6; } 4407 4408fi 4409if test `eval echo '${'$as_ac_Header'}'` = yes; then 4410 cat >>confdefs.h <<_ACEOF 4411#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4412_ACEOF 4413 4414fi 4415 4416done 4417 4418fi 4419 4420 4421{ echo "$as_me:$LINENO: checking for main in -lz" >&5 4422echo $ECHO_N "checking for main in -lz... $ECHO_C" >&6; } 4423if test "${ac_cv_lib_z_main+set}" = set; then 4424 echo $ECHO_N "(cached) $ECHO_C" >&6 4425else 4426 ac_check_lib_save_LIBS=$LIBS 4427LIBS="-lz $LIBS" 4428cat >conftest.$ac_ext <<_ACEOF 4429/* confdefs.h. */ 4430_ACEOF 4431cat confdefs.h >>conftest.$ac_ext 4432cat >>conftest.$ac_ext <<_ACEOF 4433/* end confdefs.h. */ 4434 4435 4436int 4437main () 4438{ 4439return main (); 4440 ; 4441 return 0; 4442} 4443_ACEOF 4444rm -f conftest.$ac_objext conftest$ac_exeext 4445if { (ac_try="$ac_link" 4446case "(($ac_try" in 4447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4448 *) ac_try_echo=$ac_try;; 4449esac 4450eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4451 (eval "$ac_link") 2>conftest.er1 4452 ac_status=$? 4453 grep -v '^ *+' conftest.er1 >conftest.err 4454 rm -f conftest.er1 4455 cat conftest.err >&5 4456 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4457 (exit $ac_status); } && { 4458 test -z "$ac_c_werror_flag" || 4459 test ! -s conftest.err 4460 } && test -s conftest$ac_exeext && 4461 $as_test_x conftest$ac_exeext; then 4462 ac_cv_lib_z_main=yes 4463else 4464 echo "$as_me: failed program was:" >&5 4465sed 's/^/| /' conftest.$ac_ext >&5 4466 4467 ac_cv_lib_z_main=no 4468fi 4469 4470rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4471 conftest$ac_exeext conftest.$ac_ext 4472LIBS=$ac_check_lib_save_LIBS 4473fi 4474{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_main" >&5 4475echo "${ECHO_T}$ac_cv_lib_z_main" >&6; } 4476if test $ac_cv_lib_z_main = yes; then 4477 LIBZ="yes"; LIBS="-lz ${LIBS}" 4478fi 4479 4480if test "${LIBZ}" = "yes"; then 4481 { echo "$as_me:$LINENO: checking for gzrewind in -lz" >&5 4482echo $ECHO_N "checking for gzrewind in -lz... $ECHO_C" >&6; } 4483if test "${ac_cv_lib_z_gzrewind+set}" = set; then 4484 echo $ECHO_N "(cached) $ECHO_C" >&6 4485else 4486 ac_check_lib_save_LIBS=$LIBS 4487LIBS="-lz $LIBS" 4488cat >conftest.$ac_ext <<_ACEOF 4489/* confdefs.h. */ 4490_ACEOF 4491cat confdefs.h >>conftest.$ac_ext 4492cat >>conftest.$ac_ext <<_ACEOF 4493/* end confdefs.h. */ 4494 4495/* Override any GCC internal prototype to avoid an error. 4496 Use char because int might match the return type of a GCC 4497 builtin and then its argument prototype would still apply. */ 4498#ifdef __cplusplus 4499extern "C" 4500#endif 4501char gzrewind (); 4502int 4503main () 4504{ 4505return gzrewind (); 4506 ; 4507 return 0; 4508} 4509_ACEOF 4510rm -f conftest.$ac_objext conftest$ac_exeext 4511if { (ac_try="$ac_link" 4512case "(($ac_try" in 4513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4514 *) ac_try_echo=$ac_try;; 4515esac 4516eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4517 (eval "$ac_link") 2>conftest.er1 4518 ac_status=$? 4519 grep -v '^ *+' conftest.er1 >conftest.err 4520 rm -f conftest.er1 4521 cat conftest.err >&5 4522 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4523 (exit $ac_status); } && { 4524 test -z "$ac_c_werror_flag" || 4525 test ! -s conftest.err 4526 } && test -s conftest$ac_exeext && 4527 $as_test_x conftest$ac_exeext; then 4528 ac_cv_lib_z_gzrewind=yes 4529else 4530 echo "$as_me: failed program was:" >&5 4531sed 's/^/| /' conftest.$ac_ext >&5 4532 4533 ac_cv_lib_z_gzrewind=no 4534fi 4535 4536rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4537 conftest$ac_exeext conftest.$ac_ext 4538LIBS=$ac_check_lib_save_LIBS 4539fi 4540{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzrewind" >&5 4541echo "${ECHO_T}$ac_cv_lib_z_gzrewind" >&6; } 4542if test $ac_cv_lib_z_gzrewind = yes; then 4543 LIBZ="yes" 4544else 4545 LIBZ="no" 4546fi 4547 4548 if test "${LIBZ}" = "no"; then 4549 { { echo "$as_me:$LINENO: error: Old version of libz found.. please upgrade!" >&5 4550echo "$as_me: error: Old version of libz found.. please upgrade!" >&2;} 4551 { (exit 1); exit 1; }; } 4552 fi 4553else 4554 { { echo "$as_me:$LINENO: error: z library not found.. please install libz" >&5 4555echo "$as_me: error: z library not found.. please install libz" >&2;} 4556 { (exit 1); exit 1; }; } 4557fi 4558 4559if test "${ac_cv_header_zlib_h+set}" = set; then 4560 { echo "$as_me:$LINENO: checking for zlib.h" >&5 4561echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; } 4562if test "${ac_cv_header_zlib_h+set}" = set; then 4563 echo $ECHO_N "(cached) $ECHO_C" >&6 4564fi 4565{ echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 4566echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; } 4567else 4568 # Is the header compilable? 4569{ echo "$as_me:$LINENO: checking zlib.h usability" >&5 4570echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; } 4571cat >conftest.$ac_ext <<_ACEOF 4572/* confdefs.h. */ 4573_ACEOF 4574cat confdefs.h >>conftest.$ac_ext 4575cat >>conftest.$ac_ext <<_ACEOF 4576/* end confdefs.h. */ 4577$ac_includes_default 4578#include <zlib.h> 4579_ACEOF 4580rm -f conftest.$ac_objext 4581if { (ac_try="$ac_compile" 4582case "(($ac_try" in 4583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4584 *) ac_try_echo=$ac_try;; 4585esac 4586eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4587 (eval "$ac_compile") 2>conftest.er1 4588 ac_status=$? 4589 grep -v '^ *+' conftest.er1 >conftest.err 4590 rm -f conftest.er1 4591 cat conftest.err >&5 4592 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4593 (exit $ac_status); } && { 4594 test -z "$ac_c_werror_flag" || 4595 test ! -s conftest.err 4596 } && test -s conftest.$ac_objext; then 4597 ac_header_compiler=yes 4598else 4599 echo "$as_me: failed program was:" >&5 4600sed 's/^/| /' conftest.$ac_ext >&5 4601 4602 ac_header_compiler=no 4603fi 4604 4605rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4606{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4607echo "${ECHO_T}$ac_header_compiler" >&6; } 4608 4609# Is the header present? 4610{ echo "$as_me:$LINENO: checking zlib.h presence" >&5 4611echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; } 4612cat >conftest.$ac_ext <<_ACEOF 4613/* confdefs.h. */ 4614_ACEOF 4615cat confdefs.h >>conftest.$ac_ext 4616cat >>conftest.$ac_ext <<_ACEOF 4617/* end confdefs.h. */ 4618#include <zlib.h> 4619_ACEOF 4620if { (ac_try="$ac_cpp conftest.$ac_ext" 4621case "(($ac_try" in 4622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4623 *) ac_try_echo=$ac_try;; 4624esac 4625eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4626 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4627 ac_status=$? 4628 grep -v '^ *+' conftest.er1 >conftest.err 4629 rm -f conftest.er1 4630 cat conftest.err >&5 4631 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4632 (exit $ac_status); } >/dev/null && { 4633 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4634 test ! -s conftest.err 4635 }; then 4636 ac_header_preproc=yes 4637else 4638 echo "$as_me: failed program was:" >&5 4639sed 's/^/| /' conftest.$ac_ext >&5 4640 4641 ac_header_preproc=no 4642fi 4643 4644rm -f conftest.err conftest.$ac_ext 4645{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4646echo "${ECHO_T}$ac_header_preproc" >&6; } 4647 4648# So? What about this header? 4649case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4650 yes:no: ) 4651 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 4652echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4653 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5 4654echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;} 4655 ac_header_preproc=yes 4656 ;; 4657 no:yes:* ) 4658 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5 4659echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;} 4660 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5 4661echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;} 4662 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5 4663echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;} 4664 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5 4665echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;} 4666 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5 4667echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;} 4668 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5 4669echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;} 4670 4671 ;; 4672esac 4673{ echo "$as_me:$LINENO: checking for zlib.h" >&5 4674echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; } 4675if test "${ac_cv_header_zlib_h+set}" = set; then 4676 echo $ECHO_N "(cached) $ECHO_C" >&6 4677else 4678 ac_cv_header_zlib_h=$ac_header_preproc 4679fi 4680{ echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 4681echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; } 4682 4683fi 4684if test $ac_cv_header_zlib_h = yes; then 4685 HDR="yes" 4686else 4687 HDR="no" 4688fi 4689 4690 4691if test "${HDR}" = "no"; then 4692 { { echo "$as_me:$LINENO: error: zlib.h header not found.. please install" >&5 4693echo "$as_me: error: zlib.h header not found.. please install" >&2;} 4694 { (exit 1); exit 1; }; } 4695fi 4696 4697 4698{ echo "$as_me:$LINENO: checking for main in -lpng" >&5 4699echo $ECHO_N "checking for main in -lpng... $ECHO_C" >&6; } 4700if test "${ac_cv_lib_png_main+set}" = set; then 4701 echo $ECHO_N "(cached) $ECHO_C" >&6 4702else 4703 ac_check_lib_save_LIBS=$LIBS 4704LIBS="-lpng $LIBS" 4705cat >conftest.$ac_ext <<_ACEOF 4706/* confdefs.h. */ 4707_ACEOF 4708cat confdefs.h >>conftest.$ac_ext 4709cat >>conftest.$ac_ext <<_ACEOF 4710/* end confdefs.h. */ 4711 4712 4713int 4714main () 4715{ 4716return main (); 4717 ; 4718 return 0; 4719} 4720_ACEOF 4721rm -f conftest.$ac_objext conftest$ac_exeext 4722if { (ac_try="$ac_link" 4723case "(($ac_try" in 4724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4725 *) ac_try_echo=$ac_try;; 4726esac 4727eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4728 (eval "$ac_link") 2>conftest.er1 4729 ac_status=$? 4730 grep -v '^ *+' conftest.er1 >conftest.err 4731 rm -f conftest.er1 4732 cat conftest.err >&5 4733 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4734 (exit $ac_status); } && { 4735 test -z "$ac_c_werror_flag" || 4736 test ! -s conftest.err 4737 } && test -s conftest$ac_exeext && 4738 $as_test_x conftest$ac_exeext; then 4739 ac_cv_lib_png_main=yes 4740else 4741 echo "$as_me: failed program was:" >&5 4742sed 's/^/| /' conftest.$ac_ext >&5 4743 4744 ac_cv_lib_png_main=no 4745fi 4746 4747rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4748 conftest$ac_exeext conftest.$ac_ext 4749LIBS=$ac_check_lib_save_LIBS 4750fi 4751{ echo "$as_me:$LINENO: result: $ac_cv_lib_png_main" >&5 4752echo "${ECHO_T}$ac_cv_lib_png_main" >&6; } 4753if test $ac_cv_lib_png_main = yes; then 4754 LIBPNG="yes"; LIBS="-lpng ${LIBS}" 4755else 4756 LIBPNG="no" 4757fi 4758 4759if test "${LIBPNG}" = "no"; then 4760 { { echo "$as_me:$LINENO: error: png library not found.. please install libpng" >&5 4761echo "$as_me: error: png library not found.. please install libpng" >&2;} 4762 { (exit 1); exit 1; }; } 4763fi 4764 4765 4766{ echo "$as_me:$LINENO: checking for main in -lgd" >&5 4767echo $ECHO_N "checking for main in -lgd... $ECHO_C" >&6; } 4768if test "${ac_cv_lib_gd_main+set}" = set; then 4769 echo $ECHO_N "(cached) $ECHO_C" >&6 4770else 4771 ac_check_lib_save_LIBS=$LIBS 4772LIBS="-lgd $LIBS" 4773cat >conftest.$ac_ext <<_ACEOF 4774/* confdefs.h. */ 4775_ACEOF 4776cat confdefs.h >>conftest.$ac_ext 4777cat >>conftest.$ac_ext <<_ACEOF 4778/* end confdefs.h. */ 4779 4780 4781int 4782main () 4783{ 4784return main (); 4785 ; 4786 return 0; 4787} 4788_ACEOF 4789rm -f conftest.$ac_objext conftest$ac_exeext 4790if { (ac_try="$ac_link" 4791case "(($ac_try" in 4792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4793 *) ac_try_echo=$ac_try;; 4794esac 4795eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4796 (eval "$ac_link") 2>conftest.er1 4797 ac_status=$? 4798 grep -v '^ *+' conftest.er1 >conftest.err 4799 rm -f conftest.er1 4800 cat conftest.err >&5 4801 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4802 (exit $ac_status); } && { 4803 test -z "$ac_c_werror_flag" || 4804 test ! -s conftest.err 4805 } && test -s conftest$ac_exeext && 4806 $as_test_x conftest$ac_exeext; then 4807 ac_cv_lib_gd_main=yes 4808else 4809 echo "$as_me: failed program was:" >&5 4810sed 's/^/| /' conftest.$ac_ext >&5 4811 4812 ac_cv_lib_gd_main=no 4813fi 4814 4815rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4816 conftest$ac_exeext conftest.$ac_ext 4817LIBS=$ac_check_lib_save_LIBS 4818fi 4819{ echo "$as_me:$LINENO: result: $ac_cv_lib_gd_main" >&5 4820echo "${ECHO_T}$ac_cv_lib_gd_main" >&6; } 4821if test $ac_cv_lib_gd_main = yes; then 4822 LIBGD="yes"; LIBS="-lgd ${LIBS}" 4823fi 4824 4825if test "${LIBGD}" = "yes"; then 4826 { echo "$as_me:$LINENO: checking for gdImagePng in -lgd" >&5 4827echo $ECHO_N "checking for gdImagePng in -lgd... $ECHO_C" >&6; } 4828if test "${ac_cv_lib_gd_gdImagePng+set}" = set; then 4829 echo $ECHO_N "(cached) $ECHO_C" >&6 4830else 4831 ac_check_lib_save_LIBS=$LIBS 4832LIBS="-lgd $LIBS" 4833cat >conftest.$ac_ext <<_ACEOF 4834/* confdefs.h. */ 4835_ACEOF 4836cat confdefs.h >>conftest.$ac_ext 4837cat >>conftest.$ac_ext <<_ACEOF 4838/* end confdefs.h. */ 4839 4840/* Override any GCC internal prototype to avoid an error. 4841 Use char because int might match the return type of a GCC 4842 builtin and then its argument prototype would still apply. */ 4843#ifdef __cplusplus 4844extern "C" 4845#endif 4846char gdImagePng (); 4847int 4848main () 4849{ 4850return gdImagePng (); 4851 ; 4852 return 0; 4853} 4854_ACEOF 4855rm -f conftest.$ac_objext conftest$ac_exeext 4856if { (ac_try="$ac_link" 4857case "(($ac_try" in 4858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4859 *) ac_try_echo=$ac_try;; 4860esac 4861eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4862 (eval "$ac_link") 2>conftest.er1 4863 ac_status=$? 4864 grep -v '^ *+' conftest.er1 >conftest.err 4865 rm -f conftest.er1 4866 cat conftest.err >&5 4867 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4868 (exit $ac_status); } && { 4869 test -z "$ac_c_werror_flag" || 4870 test ! -s conftest.err 4871 } && test -s conftest$ac_exeext && 4872 $as_test_x conftest$ac_exeext; then 4873 ac_cv_lib_gd_gdImagePng=yes 4874else 4875 echo "$as_me: failed program was:" >&5 4876sed 's/^/| /' conftest.$ac_ext >&5 4877 4878 ac_cv_lib_gd_gdImagePng=no 4879fi 4880 4881rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4882 conftest$ac_exeext conftest.$ac_ext 4883LIBS=$ac_check_lib_save_LIBS 4884fi 4885{ echo "$as_me:$LINENO: result: $ac_cv_lib_gd_gdImagePng" >&5 4886echo "${ECHO_T}$ac_cv_lib_gd_gdImagePng" >&6; } 4887if test $ac_cv_lib_gd_gdImagePng = yes; then 4888 LIBGD="yes" 4889else 4890 LIBGD="no" 4891fi 4892 4893 if test "${LIBGD}" = "no"; then 4894 { { echo "$as_me:$LINENO: error: Old version of libgd found.. please upgrade!" >&5 4895echo "$as_me: error: Old version of libgd found.. please upgrade!" >&2;} 4896 { (exit 1); exit 1; }; } 4897 fi 4898else 4899 { { echo "$as_me:$LINENO: error: gd library not found.. please install libgd" >&5 4900echo "$as_me: error: gd library not found.. please install libgd" >&2;} 4901 { (exit 1); exit 1; }; } 4902fi 4903 4904if test "${ac_cv_header_gd_h+set}" = set; then 4905 { echo "$as_me:$LINENO: checking for gd.h" >&5 4906echo $ECHO_N "checking for gd.h... $ECHO_C" >&6; } 4907if test "${ac_cv_header_gd_h+set}" = set; then 4908 echo $ECHO_N "(cached) $ECHO_C" >&6 4909fi 4910{ echo "$as_me:$LINENO: result: $ac_cv_header_gd_h" >&5 4911echo "${ECHO_T}$ac_cv_header_gd_h" >&6; } 4912else 4913 # Is the header compilable? 4914{ echo "$as_me:$LINENO: checking gd.h usability" >&5 4915echo $ECHO_N "checking gd.h usability... $ECHO_C" >&6; } 4916cat >conftest.$ac_ext <<_ACEOF 4917/* confdefs.h. */ 4918_ACEOF 4919cat confdefs.h >>conftest.$ac_ext 4920cat >>conftest.$ac_ext <<_ACEOF 4921/* end confdefs.h. */ 4922$ac_includes_default 4923#include <gd.h> 4924_ACEOF 4925rm -f conftest.$ac_objext 4926if { (ac_try="$ac_compile" 4927case "(($ac_try" in 4928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4929 *) ac_try_echo=$ac_try;; 4930esac 4931eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4932 (eval "$ac_compile") 2>conftest.er1 4933 ac_status=$? 4934 grep -v '^ *+' conftest.er1 >conftest.err 4935 rm -f conftest.er1 4936 cat conftest.err >&5 4937 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4938 (exit $ac_status); } && { 4939 test -z "$ac_c_werror_flag" || 4940 test ! -s conftest.err 4941 } && test -s conftest.$ac_objext; then 4942 ac_header_compiler=yes 4943else 4944 echo "$as_me: failed program was:" >&5 4945sed 's/^/| /' conftest.$ac_ext >&5 4946 4947 ac_header_compiler=no 4948fi 4949 4950rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4951{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4952echo "${ECHO_T}$ac_header_compiler" >&6; } 4953 4954# Is the header present? 4955{ echo "$as_me:$LINENO: checking gd.h presence" >&5 4956echo $ECHO_N "checking gd.h presence... $ECHO_C" >&6; } 4957cat >conftest.$ac_ext <<_ACEOF 4958/* confdefs.h. */ 4959_ACEOF 4960cat confdefs.h >>conftest.$ac_ext 4961cat >>conftest.$ac_ext <<_ACEOF 4962/* end confdefs.h. */ 4963#include <gd.h> 4964_ACEOF 4965if { (ac_try="$ac_cpp conftest.$ac_ext" 4966case "(($ac_try" in 4967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4968 *) ac_try_echo=$ac_try;; 4969esac 4970eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4971 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4972 ac_status=$? 4973 grep -v '^ *+' conftest.er1 >conftest.err 4974 rm -f conftest.er1 4975 cat conftest.err >&5 4976 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4977 (exit $ac_status); } >/dev/null && { 4978 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4979 test ! -s conftest.err 4980 }; then 4981 ac_header_preproc=yes 4982else 4983 echo "$as_me: failed program was:" >&5 4984sed 's/^/| /' conftest.$ac_ext >&5 4985 4986 ac_header_preproc=no 4987fi 4988 4989rm -f conftest.err conftest.$ac_ext 4990{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4991echo "${ECHO_T}$ac_header_preproc" >&6; } 4992 4993# So? What about this header? 4994case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4995 yes:no: ) 4996 { echo "$as_me:$LINENO: WARNING: gd.h: accepted by the compiler, rejected by the preprocessor!" >&5 4997echo "$as_me: WARNING: gd.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4998 { echo "$as_me:$LINENO: WARNING: gd.h: proceeding with the compiler's result" >&5 4999echo "$as_me: WARNING: gd.h: proceeding with the compiler's result" >&2;} 5000 ac_header_preproc=yes 5001 ;; 5002 no:yes:* ) 5003 { echo "$as_me:$LINENO: WARNING: gd.h: present but cannot be compiled" >&5 5004echo "$as_me: WARNING: gd.h: present but cannot be compiled" >&2;} 5005 { echo "$as_me:$LINENO: WARNING: gd.h: check for missing prerequisite headers?" >&5 5006echo "$as_me: WARNING: gd.h: check for missing prerequisite headers?" >&2;} 5007 { echo "$as_me:$LINENO: WARNING: gd.h: see the Autoconf documentation" >&5 5008echo "$as_me: WARNING: gd.h: see the Autoconf documentation" >&2;} 5009 { echo "$as_me:$LINENO: WARNING: gd.h: section \"Present But Cannot Be Compiled\"" >&5 5010echo "$as_me: WARNING: gd.h: section \"Present But Cannot Be Compiled\"" >&2;} 5011 { echo "$as_me:$LINENO: WARNING: gd.h: proceeding with the preprocessor's result" >&5 5012echo "$as_me: WARNING: gd.h: proceeding with the preprocessor's result" >&2;} 5013 { echo "$as_me:$LINENO: WARNING: gd.h: in the future, the compiler will take precedence" >&5 5014echo "$as_me: WARNING: gd.h: in the future, the compiler will take precedence" >&2;} 5015 5016 ;; 5017esac 5018{ echo "$as_me:$LINENO: checking for gd.h" >&5 5019echo $ECHO_N "checking for gd.h... $ECHO_C" >&6; } 5020if test "${ac_cv_header_gd_h+set}" = set; then 5021 echo $ECHO_N "(cached) $ECHO_C" >&6 5022else 5023 ac_cv_header_gd_h=$ac_header_preproc 5024fi 5025{ echo "$as_me:$LINENO: result: $ac_cv_header_gd_h" >&5 5026echo "${ECHO_T}$ac_cv_header_gd_h" >&6; } 5027 5028fi 5029if test $ac_cv_header_gd_h = yes; then 5030 HDR="yes" 5031else 5032 HDR="no" 5033fi 5034 5035 5036if test "${HDR}" = "no"; then 5037 { { echo "$as_me:$LINENO: error: gd.h header not found.. please install" >&5 5038echo "$as_me: error: gd.h header not found.. please install" >&2;} 5039 { (exit 1); exit 1; }; } 5040fi 5041 5042 5043# Check whether --enable-dns was given. 5044if test "${enable_dns+set}" = set; then 5045 enableval=$enable_dns; USE_DNS="${enableval}" 5046else 5047 USE_DNS="yes" 5048fi 5049 5050 5051if test "${USE_DNS}" = "yes"; then 5052 { echo "$as_me:$LINENO: checking for main in -ldb" >&5 5053echo $ECHO_N "checking for main in -ldb... $ECHO_C" >&6; } 5054if test "${ac_cv_lib_db_main+set}" = set; then 5055 echo $ECHO_N "(cached) $ECHO_C" >&6 5056else 5057 ac_check_lib_save_LIBS=$LIBS 5058LIBS="-ldb $LIBS" 5059cat >conftest.$ac_ext <<_ACEOF 5060/* confdefs.h. */ 5061_ACEOF 5062cat confdefs.h >>conftest.$ac_ext 5063cat >>conftest.$ac_ext <<_ACEOF 5064/* end confdefs.h. */ 5065 5066 5067int 5068main () 5069{ 5070return main (); 5071 ; 5072 return 0; 5073} 5074_ACEOF 5075rm -f conftest.$ac_objext conftest$ac_exeext 5076if { (ac_try="$ac_link" 5077case "(($ac_try" in 5078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5079 *) ac_try_echo=$ac_try;; 5080esac 5081eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5082 (eval "$ac_link") 2>conftest.er1 5083 ac_status=$? 5084 grep -v '^ *+' conftest.er1 >conftest.err 5085 rm -f conftest.er1 5086 cat conftest.err >&5 5087 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5088 (exit $ac_status); } && { 5089 test -z "$ac_c_werror_flag" || 5090 test ! -s conftest.err 5091 } && test -s conftest$ac_exeext && 5092 $as_test_x conftest$ac_exeext; then 5093 ac_cv_lib_db_main=yes 5094else 5095 echo "$as_me: failed program was:" >&5 5096sed 's/^/| /' conftest.$ac_ext >&5 5097 5098 ac_cv_lib_db_main=no 5099fi 5100 5101rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5102 conftest$ac_exeext conftest.$ac_ext 5103LIBS=$ac_check_lib_save_LIBS 5104fi 5105{ echo "$as_me:$LINENO: result: $ac_cv_lib_db_main" >&5 5106echo "${ECHO_T}$ac_cv_lib_db_main" >&6; } 5107if test $ac_cv_lib_db_main = yes; then 5108 USE_DNS="yes" 5109else 5110 USE_DNS="no"; { echo "$as_me:$LINENO: WARNING: libdb not found.. DNS/GeoDB code disabled!" >&5 5111echo "$as_me: WARNING: libdb not found.. DNS/GeoDB code disabled!" >&2;} 5112fi 5113 5114fi 5115 5116if test "${USE_DNS}" = "yes"; then 5117 if test "${ac_cv_header_db_h+set}" = set; then 5118 { echo "$as_me:$LINENO: checking for db.h" >&5 5119echo $ECHO_N "checking for db.h... $ECHO_C" >&6; } 5120if test "${ac_cv_header_db_h+set}" = set; then 5121 echo $ECHO_N "(cached) $ECHO_C" >&6 5122fi 5123{ echo "$as_me:$LINENO: result: $ac_cv_header_db_h" >&5 5124echo "${ECHO_T}$ac_cv_header_db_h" >&6; } 5125else 5126 # Is the header compilable? 5127{ echo "$as_me:$LINENO: checking db.h usability" >&5 5128echo $ECHO_N "checking db.h usability... $ECHO_C" >&6; } 5129cat >conftest.$ac_ext <<_ACEOF 5130/* confdefs.h. */ 5131_ACEOF 5132cat confdefs.h >>conftest.$ac_ext 5133cat >>conftest.$ac_ext <<_ACEOF 5134/* end confdefs.h. */ 5135$ac_includes_default 5136#include <db.h> 5137_ACEOF 5138rm -f conftest.$ac_objext 5139if { (ac_try="$ac_compile" 5140case "(($ac_try" in 5141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5142 *) ac_try_echo=$ac_try;; 5143esac 5144eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5145 (eval "$ac_compile") 2>conftest.er1 5146 ac_status=$? 5147 grep -v '^ *+' conftest.er1 >conftest.err 5148 rm -f conftest.er1 5149 cat conftest.err >&5 5150 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5151 (exit $ac_status); } && { 5152 test -z "$ac_c_werror_flag" || 5153 test ! -s conftest.err 5154 } && test -s conftest.$ac_objext; then 5155 ac_header_compiler=yes 5156else 5157 echo "$as_me: failed program was:" >&5 5158sed 's/^/| /' conftest.$ac_ext >&5 5159 5160 ac_header_compiler=no 5161fi 5162 5163rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5164{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5165echo "${ECHO_T}$ac_header_compiler" >&6; } 5166 5167# Is the header present? 5168{ echo "$as_me:$LINENO: checking db.h presence" >&5 5169echo $ECHO_N "checking db.h presence... $ECHO_C" >&6; } 5170cat >conftest.$ac_ext <<_ACEOF 5171/* confdefs.h. */ 5172_ACEOF 5173cat confdefs.h >>conftest.$ac_ext 5174cat >>conftest.$ac_ext <<_ACEOF 5175/* end confdefs.h. */ 5176#include <db.h> 5177_ACEOF 5178if { (ac_try="$ac_cpp conftest.$ac_ext" 5179case "(($ac_try" in 5180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5181 *) ac_try_echo=$ac_try;; 5182esac 5183eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5184 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5185 ac_status=$? 5186 grep -v '^ *+' conftest.er1 >conftest.err 5187 rm -f conftest.er1 5188 cat conftest.err >&5 5189 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5190 (exit $ac_status); } >/dev/null && { 5191 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5192 test ! -s conftest.err 5193 }; then 5194 ac_header_preproc=yes 5195else 5196 echo "$as_me: failed program was:" >&5 5197sed 's/^/| /' conftest.$ac_ext >&5 5198 5199 ac_header_preproc=no 5200fi 5201 5202rm -f conftest.err conftest.$ac_ext 5203{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5204echo "${ECHO_T}$ac_header_preproc" >&6; } 5205 5206# So? What about this header? 5207case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5208 yes:no: ) 5209 { echo "$as_me:$LINENO: WARNING: db.h: accepted by the compiler, rejected by the preprocessor!" >&5 5210echo "$as_me: WARNING: db.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5211 { echo "$as_me:$LINENO: WARNING: db.h: proceeding with the compiler's result" >&5 5212echo "$as_me: WARNING: db.h: proceeding with the compiler's result" >&2;} 5213 ac_header_preproc=yes 5214 ;; 5215 no:yes:* ) 5216 { echo "$as_me:$LINENO: WARNING: db.h: present but cannot be compiled" >&5 5217echo "$as_me: WARNING: db.h: present but cannot be compiled" >&2;} 5218 { echo "$as_me:$LINENO: WARNING: db.h: check for missing prerequisite headers?" >&5 5219echo "$as_me: WARNING: db.h: check for missing prerequisite headers?" >&2;} 5220 { echo "$as_me:$LINENO: WARNING: db.h: see the Autoconf documentation" >&5 5221echo "$as_me: WARNING: db.h: see the Autoconf documentation" >&2;} 5222 { echo "$as_me:$LINENO: WARNING: db.h: section \"Present But Cannot Be Compiled\"" >&5 5223echo "$as_me: WARNING: db.h: section \"Present But Cannot Be Compiled\"" >&2;} 5224 { echo "$as_me:$LINENO: WARNING: db.h: proceeding with the preprocessor's result" >&5 5225echo "$as_me: WARNING: db.h: proceeding with the preprocessor's result" >&2;} 5226 { echo "$as_me:$LINENO: WARNING: db.h: in the future, the compiler will take precedence" >&5 5227echo "$as_me: WARNING: db.h: in the future, the compiler will take precedence" >&2;} 5228 5229 ;; 5230esac 5231{ echo "$as_me:$LINENO: checking for db.h" >&5 5232echo $ECHO_N "checking for db.h... $ECHO_C" >&6; } 5233if test "${ac_cv_header_db_h+set}" = set; then 5234 echo $ECHO_N "(cached) $ECHO_C" >&6 5235else 5236 ac_cv_header_db_h=$ac_header_preproc 5237fi 5238{ echo "$as_me:$LINENO: result: $ac_cv_header_db_h" >&5 5239echo "${ECHO_T}$ac_cv_header_db_h" >&6; } 5240 5241fi 5242if test $ac_cv_header_db_h = yes; then 5243 USE_DNS="yes" 5244else 5245 USE_DNS="no"; { echo "$as_me:$LINENO: WARNING: db.h not found.. DNS/GeoDB code disabled!" >&5 5246echo "$as_me: WARNING: db.h not found.. DNS/GeoDB code disabled!" >&2;} 5247fi 5248 5249 5250fi 5251 5252if test "${USE_DNS}" = "yes"; then 5253 OPTS="-DUSE_DNS ${OPTS}" 5254 LIBS="-ldb ${LIBS}" 5255 WCMGR_LIBS="-ldb" 5256 { echo "$as_me:$LINENO: checking for fdatasync" >&5 5257echo $ECHO_N "checking for fdatasync... $ECHO_C" >&6; } 5258if test "${ac_cv_func_fdatasync+set}" = set; then 5259 echo $ECHO_N "(cached) $ECHO_C" >&6 5260else 5261 cat >conftest.$ac_ext <<_ACEOF 5262/* confdefs.h. */ 5263_ACEOF 5264cat confdefs.h >>conftest.$ac_ext 5265cat >>conftest.$ac_ext <<_ACEOF 5266/* end confdefs.h. */ 5267/* Define fdatasync to an innocuous variant, in case <limits.h> declares fdatasync. 5268 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 5269#define fdatasync innocuous_fdatasync 5270 5271/* System header to define __stub macros and hopefully few prototypes, 5272 which can conflict with char fdatasync (); below. 5273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5274 <limits.h> exists even on freestanding compilers. */ 5275 5276#ifdef __STDC__ 5277# include <limits.h> 5278#else 5279# include <assert.h> 5280#endif 5281 5282#undef fdatasync 5283 5284/* Override any GCC internal prototype to avoid an error. 5285 Use char because int might match the return type of a GCC 5286 builtin and then its argument prototype would still apply. */ 5287#ifdef __cplusplus 5288extern "C" 5289#endif 5290char fdatasync (); 5291/* The GNU C library defines this for functions which it implements 5292 to always fail with ENOSYS. Some functions are actually named 5293 something starting with __ and the normal name is an alias. */ 5294#if defined __stub_fdatasync || defined __stub___fdatasync 5295choke me 5296#endif 5297 5298int 5299main () 5300{ 5301return fdatasync (); 5302 ; 5303 return 0; 5304} 5305_ACEOF 5306rm -f conftest.$ac_objext conftest$ac_exeext 5307if { (ac_try="$ac_link" 5308case "(($ac_try" in 5309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5310 *) ac_try_echo=$ac_try;; 5311esac 5312eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5313 (eval "$ac_link") 2>conftest.er1 5314 ac_status=$? 5315 grep -v '^ *+' conftest.er1 >conftest.err 5316 rm -f conftest.er1 5317 cat conftest.err >&5 5318 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5319 (exit $ac_status); } && { 5320 test -z "$ac_c_werror_flag" || 5321 test ! -s conftest.err 5322 } && test -s conftest$ac_exeext && 5323 $as_test_x conftest$ac_exeext; then 5324 ac_cv_func_fdatasync=yes 5325else 5326 echo "$as_me: failed program was:" >&5 5327sed 's/^/| /' conftest.$ac_ext >&5 5328 5329 ac_cv_func_fdatasync=no 5330fi 5331 5332rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5333 conftest$ac_exeext conftest.$ac_ext 5334fi 5335{ echo "$as_me:$LINENO: result: $ac_cv_func_fdatasync" >&5 5336echo "${ECHO_T}$ac_cv_func_fdatasync" >&6; } 5337if test $ac_cv_func_fdatasync = yes; then 5338 DUMMY="" 5339fi 5340 5341 if test "$ac_cv_func_fdatasync" = "no"; then 5342 { echo "$as_me:$LINENO: checking for fdatasync in -lrt" >&5 5343echo $ECHO_N "checking for fdatasync in -lrt... $ECHO_C" >&6; } 5344if test "${ac_cv_lib_rt_fdatasync+set}" = set; then 5345 echo $ECHO_N "(cached) $ECHO_C" >&6 5346else 5347 ac_check_lib_save_LIBS=$LIBS 5348LIBS="-lrt $LIBS" 5349cat >conftest.$ac_ext <<_ACEOF 5350/* confdefs.h. */ 5351_ACEOF 5352cat confdefs.h >>conftest.$ac_ext 5353cat >>conftest.$ac_ext <<_ACEOF 5354/* end confdefs.h. */ 5355 5356/* Override any GCC internal prototype to avoid an error. 5357 Use char because int might match the return type of a GCC 5358 builtin and then its argument prototype would still apply. */ 5359#ifdef __cplusplus 5360extern "C" 5361#endif 5362char fdatasync (); 5363int 5364main () 5365{ 5366return fdatasync (); 5367 ; 5368 return 0; 5369} 5370_ACEOF 5371rm -f conftest.$ac_objext conftest$ac_exeext 5372if { (ac_try="$ac_link" 5373case "(($ac_try" in 5374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5375 *) ac_try_echo=$ac_try;; 5376esac 5377eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5378 (eval "$ac_link") 2>conftest.er1 5379 ac_status=$? 5380 grep -v '^ *+' conftest.er1 >conftest.err 5381 rm -f conftest.er1 5382 cat conftest.err >&5 5383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5384 (exit $ac_status); } && { 5385 test -z "$ac_c_werror_flag" || 5386 test ! -s conftest.err 5387 } && test -s conftest$ac_exeext && 5388 $as_test_x conftest$ac_exeext; then 5389 ac_cv_lib_rt_fdatasync=yes 5390else 5391 echo "$as_me: failed program was:" >&5 5392sed 's/^/| /' conftest.$ac_ext >&5 5393 5394 ac_cv_lib_rt_fdatasync=no 5395fi 5396 5397rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5398 conftest$ac_exeext conftest.$ac_ext 5399LIBS=$ac_check_lib_save_LIBS 5400fi 5401{ echo "$as_me:$LINENO: result: $ac_cv_lib_rt_fdatasync" >&5 5402echo "${ECHO_T}$ac_cv_lib_rt_fdatasync" >&6; } 5403if test $ac_cv_lib_rt_fdatasync = yes; then 5404 LIBS="-lrt ${LIBS}";WCMGR_LIBS="-lrt ${WCMGR_LIBS}" 5405fi 5406 5407 fi 5408 { echo "$as_me:$LINENO: checking for socket" >&5 5409echo $ECHO_N "checking for socket... $ECHO_C" >&6; } 5410if test "${ac_cv_func_socket+set}" = set; then 5411 echo $ECHO_N "(cached) $ECHO_C" >&6 5412else 5413 cat >conftest.$ac_ext <<_ACEOF 5414/* confdefs.h. */ 5415_ACEOF 5416cat confdefs.h >>conftest.$ac_ext 5417cat >>conftest.$ac_ext <<_ACEOF 5418/* end confdefs.h. */ 5419/* Define socket to an innocuous variant, in case <limits.h> declares socket. 5420 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 5421#define socket innocuous_socket 5422 5423/* System header to define __stub macros and hopefully few prototypes, 5424 which can conflict with char socket (); below. 5425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5426 <limits.h> exists even on freestanding compilers. */ 5427 5428#ifdef __STDC__ 5429# include <limits.h> 5430#else 5431# include <assert.h> 5432#endif 5433 5434#undef socket 5435 5436/* Override any GCC internal prototype to avoid an error. 5437 Use char because int might match the return type of a GCC 5438 builtin and then its argument prototype would still apply. */ 5439#ifdef __cplusplus 5440extern "C" 5441#endif 5442char socket (); 5443/* The GNU C library defines this for functions which it implements 5444 to always fail with ENOSYS. Some functions are actually named 5445 something starting with __ and the normal name is an alias. */ 5446#if defined __stub_socket || defined __stub___socket 5447choke me 5448#endif 5449 5450int 5451main () 5452{ 5453return socket (); 5454 ; 5455 return 0; 5456} 5457_ACEOF 5458rm -f conftest.$ac_objext conftest$ac_exeext 5459if { (ac_try="$ac_link" 5460case "(($ac_try" in 5461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5462 *) ac_try_echo=$ac_try;; 5463esac 5464eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5465 (eval "$ac_link") 2>conftest.er1 5466 ac_status=$? 5467 grep -v '^ *+' conftest.er1 >conftest.err 5468 rm -f conftest.er1 5469 cat conftest.err >&5 5470 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5471 (exit $ac_status); } && { 5472 test -z "$ac_c_werror_flag" || 5473 test ! -s conftest.err 5474 } && test -s conftest$ac_exeext && 5475 $as_test_x conftest$ac_exeext; then 5476 ac_cv_func_socket=yes 5477else 5478 echo "$as_me: failed program was:" >&5 5479sed 's/^/| /' conftest.$ac_ext >&5 5480 5481 ac_cv_func_socket=no 5482fi 5483 5484rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5485 conftest$ac_exeext conftest.$ac_ext 5486fi 5487{ echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 5488echo "${ECHO_T}$ac_cv_func_socket" >&6; } 5489if test $ac_cv_func_socket = yes; then 5490 DUMMY="" 5491else 5492 DUMMY="" 5493fi 5494 5495 if test "$ac_cv_func_socket" = "no"; then 5496 { echo "$as_me:$LINENO: checking for main in -lsocket" >&5 5497echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6; } 5498if test "${ac_cv_lib_socket_main+set}" = set; then 5499 echo $ECHO_N "(cached) $ECHO_C" >&6 5500else 5501 ac_check_lib_save_LIBS=$LIBS 5502LIBS="-lsocket $LIBS" 5503cat >conftest.$ac_ext <<_ACEOF 5504/* confdefs.h. */ 5505_ACEOF 5506cat confdefs.h >>conftest.$ac_ext 5507cat >>conftest.$ac_ext <<_ACEOF 5508/* end confdefs.h. */ 5509 5510 5511int 5512main () 5513{ 5514return main (); 5515 ; 5516 return 0; 5517} 5518_ACEOF 5519rm -f conftest.$ac_objext conftest$ac_exeext 5520if { (ac_try="$ac_link" 5521case "(($ac_try" in 5522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5523 *) ac_try_echo=$ac_try;; 5524esac 5525eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5526 (eval "$ac_link") 2>conftest.er1 5527 ac_status=$? 5528 grep -v '^ *+' conftest.er1 >conftest.err 5529 rm -f conftest.er1 5530 cat conftest.err >&5 5531 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5532 (exit $ac_status); } && { 5533 test -z "$ac_c_werror_flag" || 5534 test ! -s conftest.err 5535 } && test -s conftest$ac_exeext && 5536 $as_test_x conftest$ac_exeext; then 5537 ac_cv_lib_socket_main=yes 5538else 5539 echo "$as_me: failed program was:" >&5 5540sed 's/^/| /' conftest.$ac_ext >&5 5541 5542 ac_cv_lib_socket_main=no 5543fi 5544 5545rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5546 conftest$ac_exeext conftest.$ac_ext 5547LIBS=$ac_check_lib_save_LIBS 5548fi 5549{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5 5550echo "${ECHO_T}$ac_cv_lib_socket_main" >&6; } 5551if test $ac_cv_lib_socket_main = yes; then 5552 LIBS="-lsocket ${LIBS}" 5553fi 5554 5555 fi 5556 5557for ac_header in sys/socket.h 5558do 5559as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5560if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5561 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5562echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5563if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5564 echo $ECHO_N "(cached) $ECHO_C" >&6 5565fi 5566ac_res=`eval echo '${'$as_ac_Header'}'` 5567 { echo "$as_me:$LINENO: result: $ac_res" >&5 5568echo "${ECHO_T}$ac_res" >&6; } 5569else 5570 # Is the header compilable? 5571{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 5572echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5573cat >conftest.$ac_ext <<_ACEOF 5574/* confdefs.h. */ 5575_ACEOF 5576cat confdefs.h >>conftest.$ac_ext 5577cat >>conftest.$ac_ext <<_ACEOF 5578/* end confdefs.h. */ 5579$ac_includes_default 5580#include <$ac_header> 5581_ACEOF 5582rm -f conftest.$ac_objext 5583if { (ac_try="$ac_compile" 5584case "(($ac_try" in 5585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5586 *) ac_try_echo=$ac_try;; 5587esac 5588eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5589 (eval "$ac_compile") 2>conftest.er1 5590 ac_status=$? 5591 grep -v '^ *+' conftest.er1 >conftest.err 5592 rm -f conftest.er1 5593 cat conftest.err >&5 5594 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5595 (exit $ac_status); } && { 5596 test -z "$ac_c_werror_flag" || 5597 test ! -s conftest.err 5598 } && test -s conftest.$ac_objext; then 5599 ac_header_compiler=yes 5600else 5601 echo "$as_me: failed program was:" >&5 5602sed 's/^/| /' conftest.$ac_ext >&5 5603 5604 ac_header_compiler=no 5605fi 5606 5607rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5608{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5609echo "${ECHO_T}$ac_header_compiler" >&6; } 5610 5611# Is the header present? 5612{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 5613echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5614cat >conftest.$ac_ext <<_ACEOF 5615/* confdefs.h. */ 5616_ACEOF 5617cat confdefs.h >>conftest.$ac_ext 5618cat >>conftest.$ac_ext <<_ACEOF 5619/* end confdefs.h. */ 5620#include <$ac_header> 5621_ACEOF 5622if { (ac_try="$ac_cpp conftest.$ac_ext" 5623case "(($ac_try" in 5624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5625 *) ac_try_echo=$ac_try;; 5626esac 5627eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5628 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5629 ac_status=$? 5630 grep -v '^ *+' conftest.er1 >conftest.err 5631 rm -f conftest.er1 5632 cat conftest.err >&5 5633 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5634 (exit $ac_status); } >/dev/null && { 5635 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5636 test ! -s conftest.err 5637 }; then 5638 ac_header_preproc=yes 5639else 5640 echo "$as_me: failed program was:" >&5 5641sed 's/^/| /' conftest.$ac_ext >&5 5642 5643 ac_header_preproc=no 5644fi 5645 5646rm -f conftest.err conftest.$ac_ext 5647{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5648echo "${ECHO_T}$ac_header_preproc" >&6; } 5649 5650# So? What about this header? 5651case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5652 yes:no: ) 5653 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5654echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5655 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5656echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5657 ac_header_preproc=yes 5658 ;; 5659 no:yes:* ) 5660 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5661echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5662 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5663echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5664 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5665echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5666 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5667echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5668 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5669echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5670 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5671echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5672 5673 ;; 5674esac 5675{ echo "$as_me:$LINENO: checking for $ac_header" >&5 5676echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5677if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5678 echo $ECHO_N "(cached) $ECHO_C" >&6 5679else 5680 eval "$as_ac_Header=\$ac_header_preproc" 5681fi 5682ac_res=`eval echo '${'$as_ac_Header'}'` 5683 { echo "$as_me:$LINENO: result: $ac_res" >&5 5684echo "${ECHO_T}$ac_res" >&6; } 5685 5686fi 5687if test `eval echo '${'$as_ac_Header'}'` = yes; then 5688 cat >>confdefs.h <<_ACEOF 5689#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5690_ACEOF 5691 5692fi 5693 5694done 5695 5696 { echo "$as_me:$LINENO: checking for inet_pton" >&5 5697echo $ECHO_N "checking for inet_pton... $ECHO_C" >&6; } 5698if test "${ac_cv_func_inet_pton+set}" = set; then 5699 echo $ECHO_N "(cached) $ECHO_C" >&6 5700else 5701 cat >conftest.$ac_ext <<_ACEOF 5702/* confdefs.h. */ 5703_ACEOF 5704cat confdefs.h >>conftest.$ac_ext 5705cat >>conftest.$ac_ext <<_ACEOF 5706/* end confdefs.h. */ 5707/* Define inet_pton to an innocuous variant, in case <limits.h> declares inet_pton. 5708 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 5709#define inet_pton innocuous_inet_pton 5710 5711/* System header to define __stub macros and hopefully few prototypes, 5712 which can conflict with char inet_pton (); below. 5713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5714 <limits.h> exists even on freestanding compilers. */ 5715 5716#ifdef __STDC__ 5717# include <limits.h> 5718#else 5719# include <assert.h> 5720#endif 5721 5722#undef inet_pton 5723 5724/* Override any GCC internal prototype to avoid an error. 5725 Use char because int might match the return type of a GCC 5726 builtin and then its argument prototype would still apply. */ 5727#ifdef __cplusplus 5728extern "C" 5729#endif 5730char inet_pton (); 5731/* The GNU C library defines this for functions which it implements 5732 to always fail with ENOSYS. Some functions are actually named 5733 something starting with __ and the normal name is an alias. */ 5734#if defined __stub_inet_pton || defined __stub___inet_pton 5735choke me 5736#endif 5737 5738int 5739main () 5740{ 5741return inet_pton (); 5742 ; 5743 return 0; 5744} 5745_ACEOF 5746rm -f conftest.$ac_objext conftest$ac_exeext 5747if { (ac_try="$ac_link" 5748case "(($ac_try" in 5749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5750 *) ac_try_echo=$ac_try;; 5751esac 5752eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5753 (eval "$ac_link") 2>conftest.er1 5754 ac_status=$? 5755 grep -v '^ *+' conftest.er1 >conftest.err 5756 rm -f conftest.er1 5757 cat conftest.err >&5 5758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5759 (exit $ac_status); } && { 5760 test -z "$ac_c_werror_flag" || 5761 test ! -s conftest.err 5762 } && test -s conftest$ac_exeext && 5763 $as_test_x conftest$ac_exeext; then 5764 ac_cv_func_inet_pton=yes 5765else 5766 echo "$as_me: failed program was:" >&5 5767sed 's/^/| /' conftest.$ac_ext >&5 5768 5769 ac_cv_func_inet_pton=no 5770fi 5771 5772rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5773 conftest$ac_exeext conftest.$ac_ext 5774fi 5775{ echo "$as_me:$LINENO: result: $ac_cv_func_inet_pton" >&5 5776echo "${ECHO_T}$ac_cv_func_inet_pton" >&6; } 5777if test $ac_cv_func_inet_pton = yes; then 5778 DUMMY="" 5779else 5780 DUMMY="" 5781fi 5782 5783 if test "$ac_cv_func_inet_pton" = "no"; then 5784 { echo "$as_me:$LINENO: checking for inet_pton in -lnsl" >&5 5785echo $ECHO_N "checking for inet_pton in -lnsl... $ECHO_C" >&6; } 5786if test "${ac_cv_lib_nsl_inet_pton+set}" = set; then 5787 echo $ECHO_N "(cached) $ECHO_C" >&6 5788else 5789 ac_check_lib_save_LIBS=$LIBS 5790LIBS="-lnsl $LIBS" 5791cat >conftest.$ac_ext <<_ACEOF 5792/* confdefs.h. */ 5793_ACEOF 5794cat confdefs.h >>conftest.$ac_ext 5795cat >>conftest.$ac_ext <<_ACEOF 5796/* end confdefs.h. */ 5797 5798/* Override any GCC internal prototype to avoid an error. 5799 Use char because int might match the return type of a GCC 5800 builtin and then its argument prototype would still apply. */ 5801#ifdef __cplusplus 5802extern "C" 5803#endif 5804char inet_pton (); 5805int 5806main () 5807{ 5808return inet_pton (); 5809 ; 5810 return 0; 5811} 5812_ACEOF 5813rm -f conftest.$ac_objext conftest$ac_exeext 5814if { (ac_try="$ac_link" 5815case "(($ac_try" in 5816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5817 *) ac_try_echo=$ac_try;; 5818esac 5819eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5820 (eval "$ac_link") 2>conftest.er1 5821 ac_status=$? 5822 grep -v '^ *+' conftest.er1 >conftest.err 5823 rm -f conftest.er1 5824 cat conftest.err >&5 5825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5826 (exit $ac_status); } && { 5827 test -z "$ac_c_werror_flag" || 5828 test ! -s conftest.err 5829 } && test -s conftest$ac_exeext && 5830 $as_test_x conftest$ac_exeext; then 5831 ac_cv_lib_nsl_inet_pton=yes 5832else 5833 echo "$as_me: failed program was:" >&5 5834sed 's/^/| /' conftest.$ac_ext >&5 5835 5836 ac_cv_lib_nsl_inet_pton=no 5837fi 5838 5839rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5840 conftest$ac_exeext conftest.$ac_ext 5841LIBS=$ac_check_lib_save_LIBS 5842fi 5843{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_pton" >&5 5844echo "${ECHO_T}$ac_cv_lib_nsl_inet_pton" >&6; } 5845if test $ac_cv_lib_nsl_inet_pton = yes; then 5846 LIBS="-lnsl ${LIBS}" 5847fi 5848 5849 fi 5850fi 5851 5852 5853# Check whether --enable-bz2 was given. 5854if test "${enable_bz2+set}" = set; then 5855 enableval=$enable_bz2; USE_BZIP="${enableval}" 5856else 5857 USE_BZIP="no" 5858fi 5859 5860 5861 5862# Check whether --with-bz2 was given. 5863if test "${with_bz2+set}" = set; then 5864 withval=$with_bz2; S_BZ2="${withval}"; CPPFLAGS="${CPPFLAGS} -I${withval}" 5865fi 5866 5867 5868# Check whether --with-bz2lib was given. 5869if test "${with_bz2lib+set}" = set; then 5870 withval=$with_bz2lib; S_BZ2LIB="${withval}"; LDFLAGS="-L${withval} ${LDFLAGS}" 5871fi 5872 5873 5874if test "${USE_BZIP}" = "yes"; then 5875 { echo "$as_me:$LINENO: checking for main in -lbz2" >&5 5876echo $ECHO_N "checking for main in -lbz2... $ECHO_C" >&6; } 5877if test "${ac_cv_lib_bz2_main+set}" = set; then 5878 echo $ECHO_N "(cached) $ECHO_C" >&6 5879else 5880 ac_check_lib_save_LIBS=$LIBS 5881LIBS="-lbz2 $LIBS" 5882cat >conftest.$ac_ext <<_ACEOF 5883/* confdefs.h. */ 5884_ACEOF 5885cat confdefs.h >>conftest.$ac_ext 5886cat >>conftest.$ac_ext <<_ACEOF 5887/* end confdefs.h. */ 5888 5889 5890int 5891main () 5892{ 5893return main (); 5894 ; 5895 return 0; 5896} 5897_ACEOF 5898rm -f conftest.$ac_objext conftest$ac_exeext 5899if { (ac_try="$ac_link" 5900case "(($ac_try" in 5901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5902 *) ac_try_echo=$ac_try;; 5903esac 5904eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5905 (eval "$ac_link") 2>conftest.er1 5906 ac_status=$? 5907 grep -v '^ *+' conftest.er1 >conftest.err 5908 rm -f conftest.er1 5909 cat conftest.err >&5 5910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5911 (exit $ac_status); } && { 5912 test -z "$ac_c_werror_flag" || 5913 test ! -s conftest.err 5914 } && test -s conftest$ac_exeext && 5915 $as_test_x conftest$ac_exeext; then 5916 ac_cv_lib_bz2_main=yes 5917else 5918 echo "$as_me: failed program was:" >&5 5919sed 's/^/| /' conftest.$ac_ext >&5 5920 5921 ac_cv_lib_bz2_main=no 5922fi 5923 5924rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5925 conftest$ac_exeext conftest.$ac_ext 5926LIBS=$ac_check_lib_save_LIBS 5927fi 5928{ echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_main" >&5 5929echo "${ECHO_T}$ac_cv_lib_bz2_main" >&6; } 5930if test $ac_cv_lib_bz2_main = yes; then 5931 USE_BZIP="yes" 5932else 5933 USE_BZIP="no"; { echo "$as_me:$LINENO: WARNING: libbz2 not found.. bzip2 code will will be disabled!" >&5 5934echo "$as_me: WARNING: libbz2 not found.. bzip2 code will will be disabled!" >&2;} 5935fi 5936 5937fi 5938 5939if test "${USE_BZIP}" = "yes"; then 5940 { echo "$as_me:$LINENO: checking for BZ2_bzopen in -lbz2" >&5 5941echo $ECHO_N "checking for BZ2_bzopen in -lbz2... $ECHO_C" >&6; } 5942if test "${ac_cv_lib_bz2_BZ2_bzopen+set}" = set; then 5943 echo $ECHO_N "(cached) $ECHO_C" >&6 5944else 5945 ac_check_lib_save_LIBS=$LIBS 5946LIBS="-lbz2 $LIBS" 5947cat >conftest.$ac_ext <<_ACEOF 5948/* confdefs.h. */ 5949_ACEOF 5950cat confdefs.h >>conftest.$ac_ext 5951cat >>conftest.$ac_ext <<_ACEOF 5952/* end confdefs.h. */ 5953 5954/* Override any GCC internal prototype to avoid an error. 5955 Use char because int might match the return type of a GCC 5956 builtin and then its argument prototype would still apply. */ 5957#ifdef __cplusplus 5958extern "C" 5959#endif 5960char BZ2_bzopen (); 5961int 5962main () 5963{ 5964return BZ2_bzopen (); 5965 ; 5966 return 0; 5967} 5968_ACEOF 5969rm -f conftest.$ac_objext conftest$ac_exeext 5970if { (ac_try="$ac_link" 5971case "(($ac_try" in 5972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5973 *) ac_try_echo=$ac_try;; 5974esac 5975eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5976 (eval "$ac_link") 2>conftest.er1 5977 ac_status=$? 5978 grep -v '^ *+' conftest.er1 >conftest.err 5979 rm -f conftest.er1 5980 cat conftest.err >&5 5981 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5982 (exit $ac_status); } && { 5983 test -z "$ac_c_werror_flag" || 5984 test ! -s conftest.err 5985 } && test -s conftest$ac_exeext && 5986 $as_test_x conftest$ac_exeext; then 5987 ac_cv_lib_bz2_BZ2_bzopen=yes 5988else 5989 echo "$as_me: failed program was:" >&5 5990sed 's/^/| /' conftest.$ac_ext >&5 5991 5992 ac_cv_lib_bz2_BZ2_bzopen=no 5993fi 5994 5995rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5996 conftest$ac_exeext conftest.$ac_ext 5997LIBS=$ac_check_lib_save_LIBS 5998fi 5999{ echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_BZ2_bzopen" >&5 6000echo "${ECHO_T}$ac_cv_lib_bz2_BZ2_bzopen" >&6; } 6001if test $ac_cv_lib_bz2_BZ2_bzopen = yes; then 6002 USE_BZIP="yes" 6003else 6004 USE_BZIP="no"; { echo "$as_me:$LINENO: WARNING: Old bz2 library found.. bzip2 code will be disabled!" >&5 6005echo "$as_me: WARNING: Old bz2 library found.. bzip2 code will be disabled!" >&2;} 6006fi 6007 6008fi 6009 6010if test "${USE_BZIP}" = "yes"; then 6011 if test "${ac_cv_header_bzlib_h+set}" = set; then 6012 { echo "$as_me:$LINENO: checking for bzlib.h" >&5 6013echo $ECHO_N "checking for bzlib.h... $ECHO_C" >&6; } 6014if test "${ac_cv_header_bzlib_h+set}" = set; then 6015 echo $ECHO_N "(cached) $ECHO_C" >&6 6016fi 6017{ echo "$as_me:$LINENO: result: $ac_cv_header_bzlib_h" >&5 6018echo "${ECHO_T}$ac_cv_header_bzlib_h" >&6; } 6019else 6020 # Is the header compilable? 6021{ echo "$as_me:$LINENO: checking bzlib.h usability" >&5 6022echo $ECHO_N "checking bzlib.h 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 <bzlib.h> 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 test -z "$ac_c_werror_flag" || 6047 test ! -s conftest.err 6048 } && test -s conftest.$ac_objext; then 6049 ac_header_compiler=yes 6050else 6051 echo "$as_me: failed program was:" >&5 6052sed 's/^/| /' conftest.$ac_ext >&5 6053 6054 ac_header_compiler=no 6055fi 6056 6057rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6058{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6059echo "${ECHO_T}$ac_header_compiler" >&6; } 6060 6061# Is the header present? 6062{ echo "$as_me:$LINENO: checking bzlib.h presence" >&5 6063echo $ECHO_N "checking bzlib.h presence... $ECHO_C" >&6; } 6064cat >conftest.$ac_ext <<_ACEOF 6065/* confdefs.h. */ 6066_ACEOF 6067cat confdefs.h >>conftest.$ac_ext 6068cat >>conftest.$ac_ext <<_ACEOF 6069/* end confdefs.h. */ 6070#include <bzlib.h> 6071_ACEOF 6072if { (ac_try="$ac_cpp conftest.$ac_ext" 6073case "(($ac_try" in 6074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6075 *) ac_try_echo=$ac_try;; 6076esac 6077eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6078 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6079 ac_status=$? 6080 grep -v '^ *+' conftest.er1 >conftest.err 6081 rm -f conftest.er1 6082 cat conftest.err >&5 6083 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6084 (exit $ac_status); } >/dev/null && { 6085 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6086 test ! -s conftest.err 6087 }; then 6088 ac_header_preproc=yes 6089else 6090 echo "$as_me: failed program was:" >&5 6091sed 's/^/| /' conftest.$ac_ext >&5 6092 6093 ac_header_preproc=no 6094fi 6095 6096rm -f conftest.err conftest.$ac_ext 6097{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6098echo "${ECHO_T}$ac_header_preproc" >&6; } 6099 6100# So? What about this header? 6101case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6102 yes:no: ) 6103 { echo "$as_me:$LINENO: WARNING: bzlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 6104echo "$as_me: WARNING: bzlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6105 { echo "$as_me:$LINENO: WARNING: bzlib.h: proceeding with the compiler's result" >&5 6106echo "$as_me: WARNING: bzlib.h: proceeding with the compiler's result" >&2;} 6107 ac_header_preproc=yes 6108 ;; 6109 no:yes:* ) 6110 { echo "$as_me:$LINENO: WARNING: bzlib.h: present but cannot be compiled" >&5 6111echo "$as_me: WARNING: bzlib.h: present but cannot be compiled" >&2;} 6112 { echo "$as_me:$LINENO: WARNING: bzlib.h: check for missing prerequisite headers?" >&5 6113echo "$as_me: WARNING: bzlib.h: check for missing prerequisite headers?" >&2;} 6114 { echo "$as_me:$LINENO: WARNING: bzlib.h: see the Autoconf documentation" >&5 6115echo "$as_me: WARNING: bzlib.h: see the Autoconf documentation" >&2;} 6116 { echo "$as_me:$LINENO: WARNING: bzlib.h: section \"Present But Cannot Be Compiled\"" >&5 6117echo "$as_me: WARNING: bzlib.h: section \"Present But Cannot Be Compiled\"" >&2;} 6118 { echo "$as_me:$LINENO: WARNING: bzlib.h: proceeding with the preprocessor's result" >&5 6119echo "$as_me: WARNING: bzlib.h: proceeding with the preprocessor's result" >&2;} 6120 { echo "$as_me:$LINENO: WARNING: bzlib.h: in the future, the compiler will take precedence" >&5 6121echo "$as_me: WARNING: bzlib.h: in the future, the compiler will take precedence" >&2;} 6122 6123 ;; 6124esac 6125{ echo "$as_me:$LINENO: checking for bzlib.h" >&5 6126echo $ECHO_N "checking for bzlib.h... $ECHO_C" >&6; } 6127if test "${ac_cv_header_bzlib_h+set}" = set; then 6128 echo $ECHO_N "(cached) $ECHO_C" >&6 6129else 6130 ac_cv_header_bzlib_h=$ac_header_preproc 6131fi 6132{ echo "$as_me:$LINENO: result: $ac_cv_header_bzlib_h" >&5 6133echo "${ECHO_T}$ac_cv_header_bzlib_h" >&6; } 6134 6135fi 6136if test $ac_cv_header_bzlib_h = yes; then 6137 USE_BZIP="yes" 6138else 6139 USE_BZIP="no"; { echo "$as_me:$LINENO: WARNING: bzlib.h not found.. bzip2 code will be disabled!" >&5 6140echo "$as_me: WARNING: bzlib.h not found.. bzip2 code will be disabled!" >&2;} 6141fi 6142 6143 6144fi 6145 6146if test "${USE_BZIP}" = "yes"; then 6147 OPTS="-DUSE_BZIP ${OPTS}" 6148 LIBS="-lbz2 ${LIBS}" 6149fi 6150 6151 6152# Check whether --enable-geoip was given. 6153if test "${enable_geoip+set}" = set; then 6154 enableval=$enable_geoip; USE_GEOIP="${enableval}" 6155else 6156 USE_GEOIP="no" 6157fi 6158 6159 6160 6161# Check whether --with-geoip was given. 6162if test "${with_geoip+set}" = set; then 6163 withval=$with_geoip; S_GEOIP="${withval}"; CPPFLAGS="${CPPFLAGS} -I${withval}" 6164fi 6165 6166 6167# Check whether --with-geoiplib was given. 6168if test "${with_geoiplib+set}" = set; then 6169 withval=$with_geoiplib; S_GEOIPLIB="${withval}"; LDFLAGS="-L${withval} ${LDFLAGS}" 6170fi 6171 6172 6173if test "${USE_GEOIP}" = "yes"; then 6174 { echo "$as_me:$LINENO: checking for main in -lGeoIP" >&5 6175echo $ECHO_N "checking for main in -lGeoIP... $ECHO_C" >&6; } 6176if test "${ac_cv_lib_GeoIP_main+set}" = set; then 6177 echo $ECHO_N "(cached) $ECHO_C" >&6 6178else 6179 ac_check_lib_save_LIBS=$LIBS 6180LIBS="-lGeoIP $LIBS" 6181cat >conftest.$ac_ext <<_ACEOF 6182/* confdefs.h. */ 6183_ACEOF 6184cat confdefs.h >>conftest.$ac_ext 6185cat >>conftest.$ac_ext <<_ACEOF 6186/* end confdefs.h. */ 6187 6188 6189int 6190main () 6191{ 6192return main (); 6193 ; 6194 return 0; 6195} 6196_ACEOF 6197rm -f conftest.$ac_objext conftest$ac_exeext 6198if { (ac_try="$ac_link" 6199case "(($ac_try" in 6200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6201 *) ac_try_echo=$ac_try;; 6202esac 6203eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6204 (eval "$ac_link") 2>conftest.er1 6205 ac_status=$? 6206 grep -v '^ *+' conftest.er1 >conftest.err 6207 rm -f conftest.er1 6208 cat conftest.err >&5 6209 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6210 (exit $ac_status); } && { 6211 test -z "$ac_c_werror_flag" || 6212 test ! -s conftest.err 6213 } && test -s conftest$ac_exeext && 6214 $as_test_x conftest$ac_exeext; then 6215 ac_cv_lib_GeoIP_main=yes 6216else 6217 echo "$as_me: failed program was:" >&5 6218sed 's/^/| /' conftest.$ac_ext >&5 6219 6220 ac_cv_lib_GeoIP_main=no 6221fi 6222 6223rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6224 conftest$ac_exeext conftest.$ac_ext 6225LIBS=$ac_check_lib_save_LIBS 6226fi 6227{ echo "$as_me:$LINENO: result: $ac_cv_lib_GeoIP_main" >&5 6228echo "${ECHO_T}$ac_cv_lib_GeoIP_main" >&6; } 6229if test $ac_cv_lib_GeoIP_main = yes; then 6230 USE_GEOIP="yes" 6231else 6232 USE_GEOIP="no"; { echo "$as_me:$LINENO: WARNING: libGeoIP not found.. GeoIP code will be disabled!" >&5 6233echo "$as_me: WARNING: libGeoIP not found.. GeoIP code will be disabled!" >&2;} 6234fi 6235 6236fi 6237 6238if test "${USE_GEOIP}" = "yes"; then 6239 if test "${ac_cv_header_GeoIP_h+set}" = set; then 6240 { echo "$as_me:$LINENO: checking for GeoIP.h" >&5 6241echo $ECHO_N "checking for GeoIP.h... $ECHO_C" >&6; } 6242if test "${ac_cv_header_GeoIP_h+set}" = set; then 6243 echo $ECHO_N "(cached) $ECHO_C" >&6 6244fi 6245{ echo "$as_me:$LINENO: result: $ac_cv_header_GeoIP_h" >&5 6246echo "${ECHO_T}$ac_cv_header_GeoIP_h" >&6; } 6247else 6248 # Is the header compilable? 6249{ echo "$as_me:$LINENO: checking GeoIP.h usability" >&5 6250echo $ECHO_N "checking GeoIP.h usability... $ECHO_C" >&6; } 6251cat >conftest.$ac_ext <<_ACEOF 6252/* confdefs.h. */ 6253_ACEOF 6254cat confdefs.h >>conftest.$ac_ext 6255cat >>conftest.$ac_ext <<_ACEOF 6256/* end confdefs.h. */ 6257$ac_includes_default 6258#include <GeoIP.h> 6259_ACEOF 6260rm -f conftest.$ac_objext 6261if { (ac_try="$ac_compile" 6262case "(($ac_try" in 6263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6264 *) ac_try_echo=$ac_try;; 6265esac 6266eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6267 (eval "$ac_compile") 2>conftest.er1 6268 ac_status=$? 6269 grep -v '^ *+' conftest.er1 >conftest.err 6270 rm -f conftest.er1 6271 cat conftest.err >&5 6272 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6273 (exit $ac_status); } && { 6274 test -z "$ac_c_werror_flag" || 6275 test ! -s conftest.err 6276 } && test -s conftest.$ac_objext; then 6277 ac_header_compiler=yes 6278else 6279 echo "$as_me: failed program was:" >&5 6280sed 's/^/| /' conftest.$ac_ext >&5 6281 6282 ac_header_compiler=no 6283fi 6284 6285rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6286{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6287echo "${ECHO_T}$ac_header_compiler" >&6; } 6288 6289# Is the header present? 6290{ echo "$as_me:$LINENO: checking GeoIP.h presence" >&5 6291echo $ECHO_N "checking GeoIP.h presence... $ECHO_C" >&6; } 6292cat >conftest.$ac_ext <<_ACEOF 6293/* confdefs.h. */ 6294_ACEOF 6295cat confdefs.h >>conftest.$ac_ext 6296cat >>conftest.$ac_ext <<_ACEOF 6297/* end confdefs.h. */ 6298#include <GeoIP.h> 6299_ACEOF 6300if { (ac_try="$ac_cpp conftest.$ac_ext" 6301case "(($ac_try" in 6302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6303 *) ac_try_echo=$ac_try;; 6304esac 6305eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6306 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6307 ac_status=$? 6308 grep -v '^ *+' conftest.er1 >conftest.err 6309 rm -f conftest.er1 6310 cat conftest.err >&5 6311 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6312 (exit $ac_status); } >/dev/null && { 6313 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6314 test ! -s conftest.err 6315 }; then 6316 ac_header_preproc=yes 6317else 6318 echo "$as_me: failed program was:" >&5 6319sed 's/^/| /' conftest.$ac_ext >&5 6320 6321 ac_header_preproc=no 6322fi 6323 6324rm -f conftest.err conftest.$ac_ext 6325{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6326echo "${ECHO_T}$ac_header_preproc" >&6; } 6327 6328# So? What about this header? 6329case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6330 yes:no: ) 6331 { echo "$as_me:$LINENO: WARNING: GeoIP.h: accepted by the compiler, rejected by the preprocessor!" >&5 6332echo "$as_me: WARNING: GeoIP.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6333 { echo "$as_me:$LINENO: WARNING: GeoIP.h: proceeding with the compiler's result" >&5 6334echo "$as_me: WARNING: GeoIP.h: proceeding with the compiler's result" >&2;} 6335 ac_header_preproc=yes 6336 ;; 6337 no:yes:* ) 6338 { echo "$as_me:$LINENO: WARNING: GeoIP.h: present but cannot be compiled" >&5 6339echo "$as_me: WARNING: GeoIP.h: present but cannot be compiled" >&2;} 6340 { echo "$as_me:$LINENO: WARNING: GeoIP.h: check for missing prerequisite headers?" >&5 6341echo "$as_me: WARNING: GeoIP.h: check for missing prerequisite headers?" >&2;} 6342 { echo "$as_me:$LINENO: WARNING: GeoIP.h: see the Autoconf documentation" >&5 6343echo "$as_me: WARNING: GeoIP.h: see the Autoconf documentation" >&2;} 6344 { echo "$as_me:$LINENO: WARNING: GeoIP.h: section \"Present But Cannot Be Compiled\"" >&5 6345echo "$as_me: WARNING: GeoIP.h: section \"Present But Cannot Be Compiled\"" >&2;} 6346 { echo "$as_me:$LINENO: WARNING: GeoIP.h: proceeding with the preprocessor's result" >&5 6347echo "$as_me: WARNING: GeoIP.h: proceeding with the preprocessor's result" >&2;} 6348 { echo "$as_me:$LINENO: WARNING: GeoIP.h: in the future, the compiler will take precedence" >&5 6349echo "$as_me: WARNING: GeoIP.h: in the future, the compiler will take precedence" >&2;} 6350 6351 ;; 6352esac 6353{ echo "$as_me:$LINENO: checking for GeoIP.h" >&5 6354echo $ECHO_N "checking for GeoIP.h... $ECHO_C" >&6; } 6355if test "${ac_cv_header_GeoIP_h+set}" = set; then 6356 echo $ECHO_N "(cached) $ECHO_C" >&6 6357else 6358 ac_cv_header_GeoIP_h=$ac_header_preproc 6359fi 6360{ echo "$as_me:$LINENO: result: $ac_cv_header_GeoIP_h" >&5 6361echo "${ECHO_T}$ac_cv_header_GeoIP_h" >&6; } 6362 6363fi 6364if test $ac_cv_header_GeoIP_h = yes; then 6365 USE_GEOIP="yes" 6366else 6367 USE_GEOIP="no"; { echo "$as_me:$LINENO: WARNING: GeoIP.h not found.. GeoIP code will be disabled!" >&5 6368echo "$as_me: WARNING: GeoIP.h not found.. GeoIP code will be disabled!" >&2;} 6369fi 6370 6371 6372fi 6373 6374if test "${USE_GEOIP}" = "yes"; then 6375 OPTS="-DUSE_GEOIP ${OPTS}" 6376 LIBS="-lGeoIP ${LIBS}" 6377fi 6378 6379 6380 6381# Check whether --with-geodb was given. 6382if test "${with_geodb+set}" = set; then 6383 withval=$with_geodb; GEODB_LOC="${withval}" 6384else 6385 GEODB_LOC="/usr/share/GeoDB" 6386fi 6387 6388 6389 6390# Check whether --enable-oldhash was given. 6391if test "${enable_oldhash+set}" = set; then 6392 enableval=$enable_oldhash; OLDHASH=${enableval} 6393else 6394 OLDHASH="no" 6395fi 6396 6397 if test "$OLDHASH" = "yes"; then OPTS="-DUSE_OLDHASH"; fi 6398 6399 6400LANG_CACHE=yes 6401 6402# Check whether --with-language was given. 6403if test "${with_language+set}" = set; then 6404 withval=$with_language; WEBALIZER_LANG="${withval}"; LANG_CACHE=no 6405else 6406 LANG_CACHE=yes 6407fi 6408 6409if test "$WEBALIZER_LANG" = "no"; then WEBALIZER_LANG=english; fi 6410 6411 6412{ echo "$as_me:$LINENO: checking for language file" >&5 6413echo $ECHO_N "checking for language file... $ECHO_C" >&6; } 6414if test "$LANG_CACHE" = "yes"; then 6415 if test "${ac_cv_language+set}" = set; then 6416 echo $ECHO_N "(cached) $ECHO_C" >&6 6417else 6418 ac_cv_language=$DEFAULT_LANG 6419fi 6420 6421 WEBALIZER_LANG=$ac_cv_language 6422fi 6423 6424if test -f lang/webalizer_lang.${WEBALIZER_LANG}; then 6425{ echo "$as_me:$LINENO: result: yes - ${WEBALIZER_LANG}" >&5 6426echo "${ECHO_T}yes - ${WEBALIZER_LANG}" >&6; } 6427else 6428 if test -f lang/webalizer_lang.${DEFAULT_LANG}; then 6429 { echo "$as_me:$LINENO: result: '${WEBALIZER_LANG}' not found - using ${DEFAULT_LANG}" >&5 6430echo "${ECHO_T}'${WEBALIZER_LANG}' not found - using ${DEFAULT_LANG}" >&6; } 6431 WEBALIZER_LANG=${DEFAULT_LANG} 6432 else 6433 { echo "$as_me:$LINENO: result: no" >&5 6434echo "${ECHO_T}no" >&6; } 6435 { { echo "$as_me:$LINENO: error: language files not found... fix before continuing" >&5 6436echo "$as_me: error: language files not found... fix before continuing" >&2;} 6437 { (exit 1); exit 1; }; } 6438 fi 6439fi 6440ac_cv_language=${WEBALIZER_LANG} 6441 6442 6443ac_sources="lang/webalizer_lang.${WEBALIZER_LANG}" 6444ac_dests="webalizer_lang.h" 6445while test -n "$ac_sources"; do 6446 set $ac_dests; ac_dest=$1; shift; ac_dests=$* 6447 set $ac_sources; ac_source=$1; shift; ac_sources=$* 6448 ac_config_links_1="$ac_config_links_1 $ac_dest:$ac_source" 6449done 6450ac_config_links="$ac_config_links $ac_config_links_1" 6451 6452 6453 6454ac_config_files="$ac_config_files Makefile" 6455 6456cat >confcache <<\_ACEOF 6457# This file is a shell script that caches the results of configure 6458# tests run on this system so they can be shared between configure 6459# scripts and configure runs, see configure's option --config-cache. 6460# It is not useful on other systems. If it contains results you don't 6461# want to keep, you may remove or edit it. 6462# 6463# config.status only pays attention to the cache file if you give it 6464# the --recheck option to rerun configure. 6465# 6466# `ac_cv_env_foo' variables (set or unset) will be overridden when 6467# loading this file, other *unset* `ac_cv_foo' will be assigned the 6468# following values. 6469 6470_ACEOF 6471 6472# The following way of writing the cache mishandles newlines in values, 6473# but we know of no workaround that is simple, portable, and efficient. 6474# So, we kill variables containing newlines. 6475# Ultrix sh set writes to stderr and can't be redirected directly, 6476# and sets the high bit in the cache file unless we assign to the vars. 6477( 6478 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 6479 eval ac_val=\$$ac_var 6480 case $ac_val in #( 6481 *${as_nl}*) 6482 case $ac_var in #( 6483 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 6484echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 6485 esac 6486 case $ac_var in #( 6487 _ | IFS | as_nl) ;; #( 6488 *) $as_unset $ac_var ;; 6489 esac ;; 6490 esac 6491 done 6492 6493 (set) 2>&1 | 6494 case $as_nl`(ac_space=' '; set) 2>&1` in #( 6495 *${as_nl}ac_space=\ *) 6496 # `set' does not quote correctly, so add quotes (double-quote 6497 # substitution turns \\\\ into \\, and sed turns \\ into \). 6498 sed -n \ 6499 "s/'/'\\\\''/g; 6500 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 6501 ;; #( 6502 *) 6503 # `set' quotes correctly as required by POSIX, so do not add quotes. 6504 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 6505 ;; 6506 esac | 6507 sort 6508) | 6509 sed ' 6510 /^ac_cv_env_/b end 6511 t clear 6512 :clear 6513 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 6514 t end 6515 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6516 :end' >>confcache 6517if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 6518 if test -w "$cache_file"; then 6519 test "x$cache_file" != "x/dev/null" && 6520 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 6521echo "$as_me: updating cache $cache_file" >&6;} 6522 cat confcache >$cache_file 6523 else 6524 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 6525echo "$as_me: not updating unwritable cache $cache_file" >&6;} 6526 fi 6527fi 6528rm -f confcache 6529 6530test "x$prefix" = xNONE && prefix=$ac_default_prefix 6531# Let make expand exec_prefix. 6532test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 6533 6534# Transform confdefs.h into DEFS. 6535# Protect against shell expansion while executing Makefile rules. 6536# Protect against Makefile macro expansion. 6537# 6538# If the first sed substitution is executed (which looks for macros that 6539# take arguments), then branch to the quote section. Otherwise, 6540# look for a macro that doesn't take arguments. 6541ac_script=' 6542t clear 6543:clear 6544s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 6545t quote 6546s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 6547t quote 6548b any 6549:quote 6550s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 6551s/\[/\\&/g 6552s/\]/\\&/g 6553s/\$/$$/g 6554H 6555:any 6556${ 6557 g 6558 s/^\n// 6559 s/\n/ /g 6560 p 6561} 6562' 6563DEFS=`sed -n "$ac_script" confdefs.h` 6564 6565 6566ac_libobjs= 6567ac_ltlibobjs= 6568for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 6569 # 1. Remove the extension, and $U if already installed. 6570 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 6571 ac_i=`echo "$ac_i" | sed "$ac_script"` 6572 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 6573 # will be set to the directory where LIBOBJS objects are built. 6574 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 6575 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 6576done 6577LIBOBJS=$ac_libobjs 6578 6579LTLIBOBJS=$ac_ltlibobjs 6580 6581 6582 6583: ${CONFIG_STATUS=./config.status} 6584ac_clean_files_save=$ac_clean_files 6585ac_clean_files="$ac_clean_files $CONFIG_STATUS" 6586{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 6587echo "$as_me: creating $CONFIG_STATUS" >&6;} 6588cat >$CONFIG_STATUS <<_ACEOF 6589#! $SHELL 6590# Generated by $as_me. 6591# Run this file to recreate the current configuration. 6592# Compiler output produced by configure, useful for debugging 6593# configure, is in config.log if it exists. 6594 6595debug=false 6596ac_cs_recheck=false 6597ac_cs_silent=false 6598SHELL=\${CONFIG_SHELL-$SHELL} 6599_ACEOF 6600 6601cat >>$CONFIG_STATUS <<\_ACEOF 6602## --------------------- ## 6603## M4sh Initialization. ## 6604## --------------------- ## 6605 6606# Be more Bourne compatible 6607DUALCASE=1; export DUALCASE # for MKS sh 6608if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 6609 emulate sh 6610 NULLCMD=: 6611 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 6612 # is contrary to our usage. Disable this feature. 6613 alias -g '${1+"$@"}'='"$@"' 6614 setopt NO_GLOB_SUBST 6615else 6616 case `(set -o) 2>/dev/null` in 6617 *posix*) set -o posix ;; 6618esac 6619 6620fi 6621 6622 6623 6624 6625# PATH needs CR 6626# Avoid depending upon Character Ranges. 6627as_cr_letters='abcdefghijklmnopqrstuvwxyz' 6628as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 6629as_cr_Letters=$as_cr_letters$as_cr_LETTERS 6630as_cr_digits='0123456789' 6631as_cr_alnum=$as_cr_Letters$as_cr_digits 6632 6633# The user is always right. 6634if test "${PATH_SEPARATOR+set}" != set; then 6635 echo "#! /bin/sh" >conf$$.sh 6636 echo "exit 0" >>conf$$.sh 6637 chmod +x conf$$.sh 6638 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 6639 PATH_SEPARATOR=';' 6640 else 6641 PATH_SEPARATOR=: 6642 fi 6643 rm -f conf$$.sh 6644fi 6645 6646# Support unset when possible. 6647if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6648 as_unset=unset 6649else 6650 as_unset=false 6651fi 6652 6653 6654# IFS 6655# We need space, tab and new line, in precisely that order. Quoting is 6656# there to prevent editors from complaining about space-tab. 6657# (If _AS_PATH_WALK were called with IFS unset, it would disable word 6658# splitting by setting IFS to empty value.) 6659as_nl=' 6660' 6661IFS=" "" $as_nl" 6662 6663# Find who we are. Look in the path if we contain no directory separator. 6664case $0 in 6665 *[\\/]* ) as_myself=$0 ;; 6666 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6667for as_dir in $PATH 6668do 6669 IFS=$as_save_IFS 6670 test -z "$as_dir" && as_dir=. 6671 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 6672done 6673IFS=$as_save_IFS 6674 6675 ;; 6676esac 6677# We did not find ourselves, most probably we were run as `sh COMMAND' 6678# in which case we are not to be found in the path. 6679if test "x$as_myself" = x; then 6680 as_myself=$0 6681fi 6682if test ! -f "$as_myself"; then 6683 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 6684 { (exit 1); exit 1; } 6685fi 6686 6687# Work around bugs in pre-3.0 UWIN ksh. 6688for as_var in ENV MAIL MAILPATH 6689do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 6690done 6691PS1='$ ' 6692PS2='> ' 6693PS4='+ ' 6694 6695# NLS nuisances. 6696for as_var in \ 6697 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 6698 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 6699 LC_TELEPHONE LC_TIME 6700do 6701 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 6702 eval $as_var=C; export $as_var 6703 else 6704 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 6705 fi 6706done 6707 6708# Required to use basename. 6709if expr a : '\(a\)' >/dev/null 2>&1 && 6710 test "X`expr 00001 : '.*\(...\)'`" = X001; then 6711 as_expr=expr 6712else 6713 as_expr=false 6714fi 6715 6716if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 6717 as_basename=basename 6718else 6719 as_basename=false 6720fi 6721 6722 6723# Name of the executable. 6724as_me=`$as_basename -- "$0" || 6725$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 6726 X"$0" : 'X\(//\)$' \| \ 6727 X"$0" : 'X\(/\)' \| . 2>/dev/null || 6728echo X/"$0" | 6729 sed '/^.*\/\([^/][^/]*\)\/*$/{ 6730 s//\1/ 6731 q 6732 } 6733 /^X\/\(\/\/\)$/{ 6734 s//\1/ 6735 q 6736 } 6737 /^X\/\(\/\).*/{ 6738 s//\1/ 6739 q 6740 } 6741 s/.*/./; q'` 6742 6743# CDPATH. 6744$as_unset CDPATH 6745 6746 6747 6748 as_lineno_1=$LINENO 6749 as_lineno_2=$LINENO 6750 test "x$as_lineno_1" != "x$as_lineno_2" && 6751 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 6752 6753 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 6754 # uniformly replaced by the line number. The first 'sed' inserts a 6755 # line-number line after each line using $LINENO; the second 'sed' 6756 # does the real work. The second script uses 'N' to pair each 6757 # line-number line with the line containing $LINENO, and appends 6758 # trailing '-' during substitution so that $LINENO is not a special 6759 # case at line end. 6760 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 6761 # scripts with optimization help from Paolo Bonzini. Blame Lee 6762 # E. McMahon (1931-1989) for sed's syntax. :-) 6763 sed -n ' 6764 p 6765 /[$]LINENO/= 6766 ' <$as_myself | 6767 sed ' 6768 s/[$]LINENO.*/&-/ 6769 t lineno 6770 b 6771 :lineno 6772 N 6773 :loop 6774 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 6775 t loop 6776 s/-\n.*// 6777 ' >$as_me.lineno && 6778 chmod +x "$as_me.lineno" || 6779 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 6780 { (exit 1); exit 1; }; } 6781 6782 # Don't try to exec as it changes $[0], causing all sort of problems 6783 # (the dirname of $[0] is not the place where we might find the 6784 # original and so on. Autoconf is especially sensitive to this). 6785 . "./$as_me.lineno" 6786 # Exit status is that of the last command. 6787 exit 6788} 6789 6790 6791if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 6792 as_dirname=dirname 6793else 6794 as_dirname=false 6795fi 6796 6797ECHO_C= ECHO_N= ECHO_T= 6798case `echo -n x` in 6799-n*) 6800 case `echo 'x\c'` in 6801 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 6802 *) ECHO_C='\c';; 6803 esac;; 6804*) 6805 ECHO_N='-n';; 6806esac 6807 6808if expr a : '\(a\)' >/dev/null 2>&1 && 6809 test "X`expr 00001 : '.*\(...\)'`" = X001; then 6810 as_expr=expr 6811else 6812 as_expr=false 6813fi 6814 6815rm -f conf$$ conf$$.exe conf$$.file 6816if test -d conf$$.dir; then 6817 rm -f conf$$.dir/conf$$.file 6818else 6819 rm -f conf$$.dir 6820 mkdir conf$$.dir 6821fi 6822echo >conf$$.file 6823if ln -s conf$$.file conf$$ 2>/dev/null; then 6824 as_ln_s='ln -s' 6825 # ... but there are two gotchas: 6826 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 6827 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 6828 # In both cases, we have to default to `cp -p'. 6829 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 6830 as_ln_s='cp -p' 6831elif ln conf$$.file conf$$ 2>/dev/null; then 6832 as_ln_s=ln 6833else 6834 as_ln_s='cp -p' 6835fi 6836rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 6837rmdir conf$$.dir 2>/dev/null 6838 6839if mkdir -p . 2>/dev/null; then 6840 as_mkdir_p=: 6841else 6842 test -d ./-p && rmdir ./-p 6843 as_mkdir_p=false 6844fi 6845 6846if test -x / >/dev/null 2>&1; then 6847 as_test_x='test -x' 6848else 6849 if ls -dL / >/dev/null 2>&1; then 6850 as_ls_L_option=L 6851 else 6852 as_ls_L_option= 6853 fi 6854 as_test_x=' 6855 eval sh -c '\'' 6856 if test -d "$1"; then 6857 test -d "$1/."; 6858 else 6859 case $1 in 6860 -*)set "./$1";; 6861 esac; 6862 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 6863 ???[sx]*):;;*)false;;esac;fi 6864 '\'' sh 6865 ' 6866fi 6867as_executable_p=$as_test_x 6868 6869# Sed expression to map a string onto a valid CPP name. 6870as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 6871 6872# Sed expression to map a string onto a valid variable name. 6873as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 6874 6875 6876exec 6>&1 6877 6878# Save the log message, to keep $[0] and so on meaningful, and to 6879# report actual input values of CONFIG_FILES etc. instead of their 6880# values after options handling. 6881ac_log=" 6882This file was extended by webalizer $as_me V2.23, which was 6883generated by GNU Autoconf 2.61. Invocation command line was 6884 6885 CONFIG_FILES = $CONFIG_FILES 6886 CONFIG_HEADERS = $CONFIG_HEADERS 6887 CONFIG_LINKS = $CONFIG_LINKS 6888 CONFIG_COMMANDS = $CONFIG_COMMANDS 6889 $ $0 $@ 6890 6891on `(hostname || uname -n) 2>/dev/null | sed 1q` 6892" 6893 6894_ACEOF 6895 6896cat >>$CONFIG_STATUS <<_ACEOF 6897# Files that config.status was made for. 6898config_files="$ac_config_files" 6899config_links="$ac_config_links" 6900 6901_ACEOF 6902 6903cat >>$CONFIG_STATUS <<\_ACEOF 6904ac_cs_usage="\ 6905\`$as_me' instantiates files from templates according to the 6906current configuration. 6907 6908Usage: $0 [OPTIONS] [FILE]... 6909 6910 -h, --help print this help, then exit 6911 -V, --version print version number and configuration settings, then exit 6912 -q, --quiet do not print progress messages 6913 -d, --debug don't remove temporary files 6914 --recheck update $as_me by reconfiguring in the same conditions 6915 --file=FILE[:TEMPLATE] 6916 instantiate the configuration file FILE 6917 6918Configuration files: 6919$config_files 6920 6921Configuration links: 6922$config_links 6923 6924Report bugs to <bug-autoconf@gnu.org>." 6925 6926_ACEOF 6927cat >>$CONFIG_STATUS <<_ACEOF 6928ac_cs_version="\\ 6929webalizer config.status V2.23 6930configured by $0, generated by GNU Autoconf 2.61, 6931 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 6932 6933Copyright (C) 2006 Free Software Foundation, Inc. 6934This config.status script is free software; the Free Software Foundation 6935gives unlimited permission to copy, distribute and modify it." 6936 6937ac_pwd='$ac_pwd' 6938srcdir='$srcdir' 6939INSTALL='$INSTALL' 6940_ACEOF 6941 6942cat >>$CONFIG_STATUS <<\_ACEOF 6943# If no file are specified by the user, then we need to provide default 6944# value. By we need to know if files were specified by the user. 6945ac_need_defaults=: 6946while test $# != 0 6947do 6948 case $1 in 6949 --*=*) 6950 ac_option=`expr "X$1" : 'X\([^=]*\)='` 6951 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 6952 ac_shift=: 6953 ;; 6954 *) 6955 ac_option=$1 6956 ac_optarg=$2 6957 ac_shift=shift 6958 ;; 6959 esac 6960 6961 case $ac_option in 6962 # Handling of the options. 6963 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 6964 ac_cs_recheck=: ;; 6965 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 6966 echo "$ac_cs_version"; exit ;; 6967 --debug | --debu | --deb | --de | --d | -d ) 6968 debug=: ;; 6969 --file | --fil | --fi | --f ) 6970 $ac_shift 6971 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 6972 ac_need_defaults=false;; 6973 --he | --h | --help | --hel | -h ) 6974 echo "$ac_cs_usage"; exit ;; 6975 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 6976 | -silent | --silent | --silen | --sile | --sil | --si | --s) 6977 ac_cs_silent=: ;; 6978 6979 # This is an error. 6980 -*) { echo "$as_me: error: unrecognized option: $1 6981Try \`$0 --help' for more information." >&2 6982 { (exit 1); exit 1; }; } ;; 6983 6984 *) ac_config_targets="$ac_config_targets $1" 6985 ac_need_defaults=false ;; 6986 6987 esac 6988 shift 6989done 6990 6991ac_configure_extra_args= 6992 6993if $ac_cs_silent; then 6994 exec 6>/dev/null 6995 ac_configure_extra_args="$ac_configure_extra_args --silent" 6996fi 6997 6998_ACEOF 6999cat >>$CONFIG_STATUS <<_ACEOF 7000if \$ac_cs_recheck; then 7001 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 7002 CONFIG_SHELL=$SHELL 7003 export CONFIG_SHELL 7004 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7005fi 7006 7007_ACEOF 7008cat >>$CONFIG_STATUS <<\_ACEOF 7009exec 5>>config.log 7010{ 7011 echo 7012 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 7013## Running $as_me. ## 7014_ASBOX 7015 echo "$ac_log" 7016} >&5 7017 7018_ACEOF 7019cat >>$CONFIG_STATUS <<_ACEOF 7020_ACEOF 7021 7022cat >>$CONFIG_STATUS <<\_ACEOF 7023 7024# Handling of arguments. 7025for ac_config_target in $ac_config_targets 7026do 7027 case $ac_config_target in 7028 "$ac_config_links_1") CONFIG_LINKS="$CONFIG_LINKS $ac_config_links_1" ;; 7029 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 7030 7031 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 7032echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 7033 { (exit 1); exit 1; }; };; 7034 esac 7035done 7036 7037 7038# If the user did not use the arguments to specify the items to instantiate, 7039# then the envvar interface is used. Set only those that are not. 7040# We use the long form for the default assignment because of an extremely 7041# bizarre bug on SunOS 4.1.3. 7042if $ac_need_defaults; then 7043 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 7044 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links 7045fi 7046 7047# Have a temporary directory for convenience. Make it in the build tree 7048# simply because there is no reason against having it here, and in addition, 7049# creating and moving files from /tmp can sometimes cause problems. 7050# Hook for its removal unless debugging. 7051# Note that there is a small window in which the directory will not be cleaned: 7052# after its creation but before its name has been assigned to `$tmp'. 7053$debug || 7054{ 7055 tmp= 7056 trap 'exit_status=$? 7057 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 7058' 0 7059 trap '{ (exit 1); exit 1; }' 1 2 13 15 7060} 7061# Create a (secure) tmp directory for tmp files. 7062 7063{ 7064 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 7065 test -n "$tmp" && test -d "$tmp" 7066} || 7067{ 7068 tmp=./conf$$-$RANDOM 7069 (umask 077 && mkdir "$tmp") 7070} || 7071{ 7072 echo "$me: cannot create a temporary directory in ." >&2 7073 { (exit 1); exit 1; } 7074} 7075 7076# 7077# Set up the sed scripts for CONFIG_FILES section. 7078# 7079 7080# No need to generate the scripts if there are no CONFIG_FILES. 7081# This happens for instance when ./config.status config.h 7082if test -n "$CONFIG_FILES"; then 7083 7084_ACEOF 7085 7086 7087 7088ac_delim='%!_!# ' 7089for ac_last_try in false false false false false :; do 7090 cat >conf$$subs.sed <<_ACEOF 7091SHELL!$SHELL$ac_delim 7092PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 7093PACKAGE_NAME!$PACKAGE_NAME$ac_delim 7094PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 7095PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 7096PACKAGE_STRING!$PACKAGE_STRING$ac_delim 7097PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 7098exec_prefix!$exec_prefix$ac_delim 7099prefix!$prefix$ac_delim 7100program_transform_name!$program_transform_name$ac_delim 7101bindir!$bindir$ac_delim 7102sbindir!$sbindir$ac_delim 7103libexecdir!$libexecdir$ac_delim 7104datarootdir!$datarootdir$ac_delim 7105datadir!$datadir$ac_delim 7106sysconfdir!$sysconfdir$ac_delim 7107sharedstatedir!$sharedstatedir$ac_delim 7108localstatedir!$localstatedir$ac_delim 7109includedir!$includedir$ac_delim 7110oldincludedir!$oldincludedir$ac_delim 7111docdir!$docdir$ac_delim 7112infodir!$infodir$ac_delim 7113htmldir!$htmldir$ac_delim 7114dvidir!$dvidir$ac_delim 7115pdfdir!$pdfdir$ac_delim 7116psdir!$psdir$ac_delim 7117libdir!$libdir$ac_delim 7118localedir!$localedir$ac_delim 7119mandir!$mandir$ac_delim 7120DEFS!$DEFS$ac_delim 7121ECHO_C!$ECHO_C$ac_delim 7122ECHO_N!$ECHO_N$ac_delim 7123ECHO_T!$ECHO_T$ac_delim 7124LIBS!$LIBS$ac_delim 7125build_alias!$build_alias$ac_delim 7126host_alias!$host_alias$ac_delim 7127target_alias!$target_alias$ac_delim 7128OPTS!$OPTS$ac_delim 7129WCMGR_LIBS!$WCMGR_LIBS$ac_delim 7130DEFAULT_LANG!$DEFAULT_LANG$ac_delim 7131CC!$CC$ac_delim 7132CFLAGS!$CFLAGS$ac_delim 7133LDFLAGS!$LDFLAGS$ac_delim 7134CPPFLAGS!$CPPFLAGS$ac_delim 7135ac_ct_CC!$ac_ct_CC$ac_delim 7136EXEEXT!$EXEEXT$ac_delim 7137OBJEXT!$OBJEXT$ac_delim 7138LN_S!$LN_S$ac_delim 7139INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 7140INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 7141INSTALL_DATA!$INSTALL_DATA$ac_delim 7142CPP!$CPP$ac_delim 7143GREP!$GREP$ac_delim 7144EGREP!$EGREP$ac_delim 7145GEODB_LOC!$GEODB_LOC$ac_delim 7146LIBOBJS!$LIBOBJS$ac_delim 7147LTLIBOBJS!$LTLIBOBJS$ac_delim 7148_ACEOF 7149 7150 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 57; then 7151 break 7152 elif $ac_last_try; then 7153 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 7154echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 7155 { (exit 1); exit 1; }; } 7156 else 7157 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7158 fi 7159done 7160 7161ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 7162if test -n "$ac_eof"; then 7163 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 7164 ac_eof=`expr $ac_eof + 1` 7165fi 7166 7167cat >>$CONFIG_STATUS <<_ACEOF 7168cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 7169/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 7170_ACEOF 7171sed ' 7172s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 7173s/^/s,@/; s/!/@,|#_!!_#|/ 7174:n 7175t n 7176s/'"$ac_delim"'$/,g/; t 7177s/$/\\/; p 7178N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 7179' >>$CONFIG_STATUS <conf$$subs.sed 7180rm -f conf$$subs.sed 7181cat >>$CONFIG_STATUS <<_ACEOF 7182:end 7183s/|#_!!_#|//g 7184CEOF$ac_eof 7185_ACEOF 7186 7187 7188# VPATH may cause trouble with some makes, so we remove $(srcdir), 7189# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 7190# trailing colons and then remove the whole line if VPATH becomes empty 7191# (actually we leave an empty line to preserve line numbers). 7192if test "x$srcdir" = x.; then 7193 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 7194s/:*\$(srcdir):*/:/ 7195s/:*\${srcdir}:*/:/ 7196s/:*@srcdir@:*/:/ 7197s/^\([^=]*=[ ]*\):*/\1/ 7198s/:*$// 7199s/^[^=]*=[ ]*$// 7200}' 7201fi 7202 7203cat >>$CONFIG_STATUS <<\_ACEOF 7204fi # test -n "$CONFIG_FILES" 7205 7206 7207for ac_tag in :F $CONFIG_FILES :L $CONFIG_LINKS 7208do 7209 case $ac_tag in 7210 :[FHLC]) ac_mode=$ac_tag; continue;; 7211 esac 7212 case $ac_mode$ac_tag in 7213 :[FHL]*:*);; 7214 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 7215echo "$as_me: error: Invalid tag $ac_tag." >&2;} 7216 { (exit 1); exit 1; }; };; 7217 :[FH]-) ac_tag=-:-;; 7218 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 7219 esac 7220 ac_save_IFS=$IFS 7221 IFS=: 7222 set x $ac_tag 7223 IFS=$ac_save_IFS 7224 shift 7225 ac_file=$1 7226 shift 7227 7228 case $ac_mode in 7229 :L) ac_source=$1;; 7230 :[FH]) 7231 ac_file_inputs= 7232 for ac_f 7233 do 7234 case $ac_f in 7235 -) ac_f="$tmp/stdin";; 7236 *) # Look for the file first in the build tree, then in the source tree 7237 # (if the path is not absolute). The absolute path cannot be DOS-style, 7238 # because $ac_f cannot contain `:'. 7239 test -f "$ac_f" || 7240 case $ac_f in 7241 [\\/$]*) false;; 7242 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 7243 esac || 7244 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 7245echo "$as_me: error: cannot find input file: $ac_f" >&2;} 7246 { (exit 1); exit 1; }; };; 7247 esac 7248 ac_file_inputs="$ac_file_inputs $ac_f" 7249 done 7250 7251 # Let's still pretend it is `configure' which instantiates (i.e., don't 7252 # use $as_me), people would be surprised to read: 7253 # /* config.h. Generated by config.status. */ 7254 configure_input="Generated from "`IFS=: 7255 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 7256 if test x"$ac_file" != x-; then 7257 configure_input="$ac_file. $configure_input" 7258 { echo "$as_me:$LINENO: creating $ac_file" >&5 7259echo "$as_me: creating $ac_file" >&6;} 7260 fi 7261 7262 case $ac_tag in 7263 *:-:* | *:-) cat >"$tmp/stdin";; 7264 esac 7265 ;; 7266 esac 7267 7268 ac_dir=`$as_dirname -- "$ac_file" || 7269$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7270 X"$ac_file" : 'X\(//\)[^/]' \| \ 7271 X"$ac_file" : 'X\(//\)$' \| \ 7272 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 7273echo X"$ac_file" | 7274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7275 s//\1/ 7276 q 7277 } 7278 /^X\(\/\/\)[^/].*/{ 7279 s//\1/ 7280 q 7281 } 7282 /^X\(\/\/\)$/{ 7283 s//\1/ 7284 q 7285 } 7286 /^X\(\/\).*/{ 7287 s//\1/ 7288 q 7289 } 7290 s/.*/./; q'` 7291 { as_dir="$ac_dir" 7292 case $as_dir in #( 7293 -*) as_dir=./$as_dir;; 7294 esac 7295 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 7296 as_dirs= 7297 while :; do 7298 case $as_dir in #( 7299 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 7300 *) as_qdir=$as_dir;; 7301 esac 7302 as_dirs="'$as_qdir' $as_dirs" 7303 as_dir=`$as_dirname -- "$as_dir" || 7304$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7305 X"$as_dir" : 'X\(//\)[^/]' \| \ 7306 X"$as_dir" : 'X\(//\)$' \| \ 7307 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 7308echo X"$as_dir" | 7309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7310 s//\1/ 7311 q 7312 } 7313 /^X\(\/\/\)[^/].*/{ 7314 s//\1/ 7315 q 7316 } 7317 /^X\(\/\/\)$/{ 7318 s//\1/ 7319 q 7320 } 7321 /^X\(\/\).*/{ 7322 s//\1/ 7323 q 7324 } 7325 s/.*/./; q'` 7326 test -d "$as_dir" && break 7327 done 7328 test -z "$as_dirs" || eval "mkdir $as_dirs" 7329 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 7330echo "$as_me: error: cannot create directory $as_dir" >&2;} 7331 { (exit 1); exit 1; }; }; } 7332 ac_builddir=. 7333 7334case "$ac_dir" in 7335.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 7336*) 7337 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 7338 # A ".." for each directory in $ac_dir_suffix. 7339 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 7340 case $ac_top_builddir_sub in 7341 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 7342 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 7343 esac ;; 7344esac 7345ac_abs_top_builddir=$ac_pwd 7346ac_abs_builddir=$ac_pwd$ac_dir_suffix 7347# for backward compatibility: 7348ac_top_builddir=$ac_top_build_prefix 7349 7350case $srcdir in 7351 .) # We are building in place. 7352 ac_srcdir=. 7353 ac_top_srcdir=$ac_top_builddir_sub 7354 ac_abs_top_srcdir=$ac_pwd ;; 7355 [\\/]* | ?:[\\/]* ) # Absolute name. 7356 ac_srcdir=$srcdir$ac_dir_suffix; 7357 ac_top_srcdir=$srcdir 7358 ac_abs_top_srcdir=$srcdir ;; 7359 *) # Relative name. 7360 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 7361 ac_top_srcdir=$ac_top_build_prefix$srcdir 7362 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 7363esac 7364ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 7365 7366 7367 case $ac_mode in 7368 :F) 7369 # 7370 # CONFIG_FILE 7371 # 7372 7373 case $INSTALL in 7374 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 7375 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 7376 esac 7377_ACEOF 7378 7379cat >>$CONFIG_STATUS <<\_ACEOF 7380# If the template does not know about datarootdir, expand it. 7381# FIXME: This hack should be removed a few years after 2.60. 7382ac_datarootdir_hack=; ac_datarootdir_seen= 7383 7384case `sed -n '/datarootdir/ { 7385 p 7386 q 7387} 7388/@datadir@/p 7389/@docdir@/p 7390/@infodir@/p 7391/@localedir@/p 7392/@mandir@/p 7393' $ac_file_inputs` in 7394*datarootdir*) ac_datarootdir_seen=yes;; 7395*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 7396 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 7397echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 7398_ACEOF 7399cat >>$CONFIG_STATUS <<_ACEOF 7400 ac_datarootdir_hack=' 7401 s&@datadir@&$datadir&g 7402 s&@docdir@&$docdir&g 7403 s&@infodir@&$infodir&g 7404 s&@localedir@&$localedir&g 7405 s&@mandir@&$mandir&g 7406 s&\\\${datarootdir}&$datarootdir&g' ;; 7407esac 7408_ACEOF 7409 7410# Neutralize VPATH when `$srcdir' = `.'. 7411# Shell code in configure.ac might set extrasub. 7412# FIXME: do we really want to maintain this feature? 7413cat >>$CONFIG_STATUS <<_ACEOF 7414 sed "$ac_vpsub 7415$extrasub 7416_ACEOF 7417cat >>$CONFIG_STATUS <<\_ACEOF 7418:t 7419/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 7420s&@configure_input@&$configure_input&;t t 7421s&@top_builddir@&$ac_top_builddir_sub&;t t 7422s&@srcdir@&$ac_srcdir&;t t 7423s&@abs_srcdir@&$ac_abs_srcdir&;t t 7424s&@top_srcdir@&$ac_top_srcdir&;t t 7425s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 7426s&@builddir@&$ac_builddir&;t t 7427s&@abs_builddir@&$ac_abs_builddir&;t t 7428s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 7429s&@INSTALL@&$ac_INSTALL&;t t 7430$ac_datarootdir_hack 7431" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out 7432 7433test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 7434 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 7435 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 7436 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7437which seems to be undefined. Please make sure it is defined." >&5 7438echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7439which seems to be undefined. Please make sure it is defined." >&2;} 7440 7441 rm -f "$tmp/stdin" 7442 case $ac_file in 7443 -) cat "$tmp/out"; rm -f "$tmp/out";; 7444 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 7445 esac 7446 ;; 7447 7448 :L) 7449 # 7450 # CONFIG_LINK 7451 # 7452 7453 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_file" >&5 7454echo "$as_me: linking $srcdir/$ac_source to $ac_file" >&6;} 7455 7456 if test ! -r "$srcdir/$ac_source"; then 7457 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5 7458echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;} 7459 { (exit 1); exit 1; }; } 7460 fi 7461 rm -f "$ac_file" 7462 7463 # Try a relative symlink, then a hard link, then a copy. 7464 case $srcdir in 7465 [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;; 7466 *) ac_rel_source=$ac_top_build_prefix$srcdir/$ac_source ;; 7467 esac 7468 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null || 7469 ln "$srcdir/$ac_source" "$ac_file" 2>/dev/null || 7470 cp -p "$srcdir/$ac_source" "$ac_file" || 7471 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_file" >&5 7472echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_file" >&2;} 7473 { (exit 1); exit 1; }; } 7474 ;; 7475 7476 esac 7477 7478done # for ac_tag 7479 7480 7481{ (exit 0); exit 0; } 7482_ACEOF 7483chmod +x $CONFIG_STATUS 7484ac_clean_files=$ac_clean_files_save 7485 7486 7487# configure is writing to config.log, and then calls config.status. 7488# config.status does its own redirection, appending to config.log. 7489# Unfortunately, on DOS this fails, as config.log is still kept open 7490# by configure, so config.status won't be able to write to it; its 7491# output is simply discarded. So we exec the FD to /dev/null, 7492# effectively closing config.log, so it can be properly (re)opened and 7493# appended to by config.status. When coming back to configure, we 7494# need to make the FD available again. 7495if test "$no_create" != yes; then 7496 ac_cs_success=: 7497 ac_config_status_args= 7498 test "$silent" = yes && 7499 ac_config_status_args="$ac_config_status_args --quiet" 7500 exec 5>/dev/null 7501 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 7502 exec 5>>config.log 7503 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 7504 # would make configure fail if this is the last instruction. 7505 $ac_cs_success || { (exit 1); exit 1; } 7506fi 7507 7508{ echo "$as_me:$LINENO: Done. Type 'make' to continue with build." >&5 7509echo "$as_me: Done. Type 'make' to continue with build." >&6;} 7510