1#! /bin/sh 2# From configure.ac Revision: 1.1 . 3# Guess values for system-dependent variables and create Makefiles. 4# Generated by GNU Autoconf 2.61 for awffull 3.10.2. 5# 6# Report bugs to <spm@stedee.id.au>. 7# 8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 10# This configure script is free software; the Free Software Foundation 11# gives unlimited permission to copy, distribute and modify it. 12## --------------------- ## 13## M4sh Initialization. ## 14## --------------------- ## 15 16# Be more Bourne compatible 17DUALCASE=1; export DUALCASE # for MKS sh 18if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 19 emulate sh 20 NULLCMD=: 21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 22 # is contrary to our usage. Disable this feature. 23 alias -g '${1+"$@"}'='"$@"' 24 setopt NO_GLOB_SUBST 25else 26 case `(set -o) 2>/dev/null` in 27 *posix*) set -o posix ;; 28esac 29 30fi 31 32 33 34 35# PATH needs CR 36# Avoid depending upon Character Ranges. 37as_cr_letters='abcdefghijklmnopqrstuvwxyz' 38as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 39as_cr_Letters=$as_cr_letters$as_cr_LETTERS 40as_cr_digits='0123456789' 41as_cr_alnum=$as_cr_Letters$as_cr_digits 42 43# The user is always right. 44if test "${PATH_SEPARATOR+set}" != set; then 45 echo "#! /bin/sh" >conf$$.sh 46 echo "exit 0" >>conf$$.sh 47 chmod +x conf$$.sh 48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 49 PATH_SEPARATOR=';' 50 else 51 PATH_SEPARATOR=: 52 fi 53 rm -f conf$$.sh 54fi 55 56# Support unset when possible. 57if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 58 as_unset=unset 59else 60 as_unset=false 61fi 62 63 64# IFS 65# We need space, tab and new line, in precisely that order. Quoting is 66# there to prevent editors from complaining about space-tab. 67# (If _AS_PATH_WALK were called with IFS unset, it would disable word 68# splitting by setting IFS to empty value.) 69as_nl=' 70' 71IFS=" "" $as_nl" 72 73# Find who we are. Look in the path if we contain no directory separator. 74case $0 in 75 *[\\/]* ) as_myself=$0 ;; 76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 77for as_dir in $PATH 78do 79 IFS=$as_save_IFS 80 test -z "$as_dir" && as_dir=. 81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 82done 83IFS=$as_save_IFS 84 85 ;; 86esac 87# We did not find ourselves, most probably we were run as `sh COMMAND' 88# in which case we are not to be found in the path. 89if test "x$as_myself" = x; then 90 as_myself=$0 91fi 92if test ! -f "$as_myself"; then 93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 94 { (exit 1); exit 1; } 95fi 96 97# Work around bugs in pre-3.0 UWIN ksh. 98for as_var in ENV MAIL MAILPATH 99do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 100done 101PS1='$ ' 102PS2='> ' 103PS4='+ ' 104 105# NLS nuisances. 106for as_var in \ 107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 109 LC_TELEPHONE LC_TIME 110do 111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 112 eval $as_var=C; export $as_var 113 else 114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 115 fi 116done 117 118# Required to use basename. 119if expr a : '\(a\)' >/dev/null 2>&1 && 120 test "X`expr 00001 : '.*\(...\)'`" = X001; then 121 as_expr=expr 122else 123 as_expr=false 124fi 125 126if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 127 as_basename=basename 128else 129 as_basename=false 130fi 131 132 133# Name of the executable. 134as_me=`$as_basename -- "$0" || 135$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 136 X"$0" : 'X\(//\)$' \| \ 137 X"$0" : 'X\(/\)' \| . 2>/dev/null || 138echo X/"$0" | 139 sed '/^.*\/\([^/][^/]*\)\/*$/{ 140 s//\1/ 141 q 142 } 143 /^X\/\(\/\/\)$/{ 144 s//\1/ 145 q 146 } 147 /^X\/\(\/\).*/{ 148 s//\1/ 149 q 150 } 151 s/.*/./; q'` 152 153# CDPATH. 154$as_unset CDPATH 155 156 157if test "x$CONFIG_SHELL" = x; then 158 if (eval ":") 2>/dev/null; then 159 as_have_required=yes 160else 161 as_have_required=no 162fi 163 164 if test $as_have_required = yes && (eval ": 165(as_func_return () { 166 (exit \$1) 167} 168as_func_success () { 169 as_func_return 0 170} 171as_func_failure () { 172 as_func_return 1 173} 174as_func_ret_success () { 175 return 0 176} 177as_func_ret_failure () { 178 return 1 179} 180 181exitcode=0 182if as_func_success; then 183 : 184else 185 exitcode=1 186 echo as_func_success failed. 187fi 188 189if as_func_failure; then 190 exitcode=1 191 echo as_func_failure succeeded. 192fi 193 194if as_func_ret_success; then 195 : 196else 197 exitcode=1 198 echo as_func_ret_success failed. 199fi 200 201if as_func_ret_failure; then 202 exitcode=1 203 echo as_func_ret_failure succeeded. 204fi 205 206if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 207 : 208else 209 exitcode=1 210 echo positional parameters were not saved. 211fi 212 213test \$exitcode = 0) || { (exit 1); exit 1; } 214 215( 216 as_lineno_1=\$LINENO 217 as_lineno_2=\$LINENO 218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 220") 2> /dev/null; then 221 : 222else 223 as_candidate_shells= 224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 225for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 226do 227 IFS=$as_save_IFS 228 test -z "$as_dir" && as_dir=. 229 case $as_dir in 230 /*) 231 for as_base in sh bash ksh sh5; do 232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 233 done;; 234 esac 235done 236IFS=$as_save_IFS 237 238 239 for as_shell in $as_candidate_shells $SHELL; do 240 # Try only shells that exist, to save several forks. 241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 242 { ("$as_shell") 2> /dev/null <<\_ASEOF 243if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 244 emulate sh 245 NULLCMD=: 246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 247 # is contrary to our usage. Disable this feature. 248 alias -g '${1+"$@"}'='"$@"' 249 setopt NO_GLOB_SUBST 250else 251 case `(set -o) 2>/dev/null` in 252 *posix*) set -o posix ;; 253esac 254 255fi 256 257 258: 259_ASEOF 260}; then 261 CONFIG_SHELL=$as_shell 262 as_have_required=yes 263 if { "$as_shell" 2> /dev/null <<\_ASEOF 264if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 265 emulate sh 266 NULLCMD=: 267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 268 # is contrary to our usage. Disable this feature. 269 alias -g '${1+"$@"}'='"$@"' 270 setopt NO_GLOB_SUBST 271else 272 case `(set -o) 2>/dev/null` in 273 *posix*) set -o posix ;; 274esac 275 276fi 277 278 279: 280(as_func_return () { 281 (exit $1) 282} 283as_func_success () { 284 as_func_return 0 285} 286as_func_failure () { 287 as_func_return 1 288} 289as_func_ret_success () { 290 return 0 291} 292as_func_ret_failure () { 293 return 1 294} 295 296exitcode=0 297if as_func_success; then 298 : 299else 300 exitcode=1 301 echo as_func_success failed. 302fi 303 304if as_func_failure; then 305 exitcode=1 306 echo as_func_failure succeeded. 307fi 308 309if as_func_ret_success; then 310 : 311else 312 exitcode=1 313 echo as_func_ret_success failed. 314fi 315 316if as_func_ret_failure; then 317 exitcode=1 318 echo as_func_ret_failure succeeded. 319fi 320 321if ( set x; as_func_ret_success y && test x = "$1" ); then 322 : 323else 324 exitcode=1 325 echo positional parameters were not saved. 326fi 327 328test $exitcode = 0) || { (exit 1); exit 1; } 329 330( 331 as_lineno_1=$LINENO 332 as_lineno_2=$LINENO 333 test "x$as_lineno_1" != "x$as_lineno_2" && 334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 335 336_ASEOF 337}; then 338 break 339fi 340 341fi 342 343 done 344 345 if test "x$CONFIG_SHELL" != x; then 346 for as_var in BASH_ENV ENV 347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 348 done 349 export CONFIG_SHELL 350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 351fi 352 353 354 if test $as_have_required = no; then 355 echo This script requires a shell more modern than all the 356 echo shells that I found on your system. Please install a 357 echo modern shell, or manually run the script under such a 358 echo shell if you do have one. 359 { (exit 1); exit 1; } 360fi 361 362 363fi 364 365fi 366 367 368 369(eval "as_func_return () { 370 (exit \$1) 371} 372as_func_success () { 373 as_func_return 0 374} 375as_func_failure () { 376 as_func_return 1 377} 378as_func_ret_success () { 379 return 0 380} 381as_func_ret_failure () { 382 return 1 383} 384 385exitcode=0 386if as_func_success; then 387 : 388else 389 exitcode=1 390 echo as_func_success failed. 391fi 392 393if as_func_failure; then 394 exitcode=1 395 echo as_func_failure succeeded. 396fi 397 398if as_func_ret_success; then 399 : 400else 401 exitcode=1 402 echo as_func_ret_success failed. 403fi 404 405if as_func_ret_failure; then 406 exitcode=1 407 echo as_func_ret_failure succeeded. 408fi 409 410if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 411 : 412else 413 exitcode=1 414 echo positional parameters were not saved. 415fi 416 417test \$exitcode = 0") || { 418 echo No shell found that supports shell functions. 419 echo Please tell autoconf@gnu.org about your system, 420 echo including any error possibly output before this 421 echo message 422} 423 424 425 426 as_lineno_1=$LINENO 427 as_lineno_2=$LINENO 428 test "x$as_lineno_1" != "x$as_lineno_2" && 429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 430 431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 432 # uniformly replaced by the line number. The first 'sed' inserts a 433 # line-number line after each line using $LINENO; the second 'sed' 434 # does the real work. The second script uses 'N' to pair each 435 # line-number line with the line containing $LINENO, and appends 436 # trailing '-' during substitution so that $LINENO is not a special 437 # case at line end. 438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 439 # scripts with optimization help from Paolo Bonzini. Blame Lee 440 # E. McMahon (1931-1989) for sed's syntax. :-) 441 sed -n ' 442 p 443 /[$]LINENO/= 444 ' <$as_myself | 445 sed ' 446 s/[$]LINENO.*/&-/ 447 t lineno 448 b 449 :lineno 450 N 451 :loop 452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 453 t loop 454 s/-\n.*// 455 ' >$as_me.lineno && 456 chmod +x "$as_me.lineno" || 457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 458 { (exit 1); exit 1; }; } 459 460 # Don't try to exec as it changes $[0], causing all sort of problems 461 # (the dirname of $[0] is not the place where we might find the 462 # original and so on. Autoconf is especially sensitive to this). 463 . "./$as_me.lineno" 464 # Exit status is that of the last command. 465 exit 466} 467 468 469if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 470 as_dirname=dirname 471else 472 as_dirname=false 473fi 474 475ECHO_C= ECHO_N= ECHO_T= 476case `echo -n x` in 477-n*) 478 case `echo 'x\c'` in 479 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 480 *) ECHO_C='\c';; 481 esac;; 482*) 483 ECHO_N='-n';; 484esac 485 486if expr a : '\(a\)' >/dev/null 2>&1 && 487 test "X`expr 00001 : '.*\(...\)'`" = X001; then 488 as_expr=expr 489else 490 as_expr=false 491fi 492 493rm -f conf$$ conf$$.exe conf$$.file 494if test -d conf$$.dir; then 495 rm -f conf$$.dir/conf$$.file 496else 497 rm -f conf$$.dir 498 mkdir conf$$.dir 499fi 500echo >conf$$.file 501if ln -s conf$$.file conf$$ 2>/dev/null; then 502 as_ln_s='ln -s' 503 # ... but there are two gotchas: 504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 506 # In both cases, we have to default to `cp -p'. 507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 508 as_ln_s='cp -p' 509elif ln conf$$.file conf$$ 2>/dev/null; then 510 as_ln_s=ln 511else 512 as_ln_s='cp -p' 513fi 514rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 515rmdir conf$$.dir 2>/dev/null 516 517if mkdir -p . 2>/dev/null; then 518 as_mkdir_p=: 519else 520 test -d ./-p && rmdir ./-p 521 as_mkdir_p=false 522fi 523 524if test -x / >/dev/null 2>&1; then 525 as_test_x='test -x' 526else 527 if ls -dL / >/dev/null 2>&1; then 528 as_ls_L_option=L 529 else 530 as_ls_L_option= 531 fi 532 as_test_x=' 533 eval sh -c '\'' 534 if test -d "$1"; then 535 test -d "$1/."; 536 else 537 case $1 in 538 -*)set "./$1";; 539 esac; 540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 541 ???[sx]*):;;*)false;;esac;fi 542 '\'' sh 543 ' 544fi 545as_executable_p=$as_test_x 546 547# Sed expression to map a string onto a valid CPP name. 548as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 549 550# Sed expression to map a string onto a valid variable name. 551as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 552 553 554 555exec 7<&0 </dev/null 6>&1 556 557# Name of the host. 558# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 559# so uname gets run too. 560ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 561 562# 563# Initializations. 564# 565ac_default_prefix=/usr/local 566ac_clean_files= 567ac_config_libobj_dir=. 568LIBOBJS= 569cross_compiling=no 570subdirs= 571MFLAGS= 572MAKEFLAGS= 573SHELL=${CONFIG_SHELL-/bin/sh} 574 575# Identity of this package. 576PACKAGE_NAME='awffull' 577PACKAGE_TARNAME='awffull' 578PACKAGE_VERSION='3.10.2' 579PACKAGE_STRING='awffull 3.10.2' 580PACKAGE_BUGREPORT='spm@stedee.id.au' 581 582ac_unique_file="src/awffull.c" 583gt_needs= 584ac_header_list= 585# Factoring default headers for most tests. 586ac_includes_default="\ 587#include <stdio.h> 588#ifdef HAVE_SYS_TYPES_H 589# include <sys/types.h> 590#endif 591#ifdef HAVE_SYS_STAT_H 592# include <sys/stat.h> 593#endif 594#ifdef STDC_HEADERS 595# include <stdlib.h> 596# include <stddef.h> 597#else 598# ifdef HAVE_STDLIB_H 599# include <stdlib.h> 600# endif 601#endif 602#ifdef HAVE_STRING_H 603# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 604# include <memory.h> 605# endif 606# include <string.h> 607#endif 608#ifdef HAVE_STRINGS_H 609# include <strings.h> 610#endif 611#ifdef HAVE_INTTYPES_H 612# include <inttypes.h> 613#endif 614#ifdef HAVE_STDINT_H 615# include <stdint.h> 616#endif 617#ifdef HAVE_UNISTD_H 618# include <unistd.h> 619#endif" 620 621ac_func_list= 622ac_subst_vars='SHELL 623PATH_SEPARATOR 624PACKAGE_NAME 625PACKAGE_TARNAME 626PACKAGE_VERSION 627PACKAGE_STRING 628PACKAGE_BUGREPORT 629exec_prefix 630prefix 631program_transform_name 632bindir 633sbindir 634libexecdir 635datarootdir 636datadir 637sysconfdir 638sharedstatedir 639localstatedir 640includedir 641oldincludedir 642docdir 643infodir 644htmldir 645dvidir 646pdfdir 647psdir 648libdir 649localedir 650mandir 651DEFS 652ECHO_C 653ECHO_N 654ECHO_T 655LIBS 656build_alias 657host_alias 658target_alias 659INSTALL_PROGRAM 660INSTALL_SCRIPT 661INSTALL_DATA 662am__isrc 663CYGPATH_W 664PACKAGE 665VERSION 666ACLOCAL 667AUTOCONF 668AUTOMAKE 669AUTOHEADER 670MAKEINFO 671install_sh 672STRIP 673INSTALL_STRIP_PROGRAM 674mkdir_p 675AWK 676SET_MAKE 677am__leading_dot 678AMTAR 679am__tar 680am__untar 681USE_NLS 682GETTEXT_MACRO_VERSION 683MSGFMT 684GMSGFMT 685MSGFMT_015 686GMSGFMT_015 687XGETTEXT 688XGETTEXT_015 689MSGMERGE 690XGETTEXT_EXTRA_OPTIONS 691CC 692CFLAGS 693LDFLAGS 694CPPFLAGS 695ac_ct_CC 696EXEEXT 697OBJEXT 698DEPDIR 699am__include 700am__quote 701AMDEP_TRUE 702AMDEP_FALSE 703AMDEPBACKSLASH 704CCDEPMODE 705am__fastdepCC_TRUE 706am__fastdepCC_FALSE 707build 708build_cpu 709build_vendor 710build_os 711host 712host_cpu 713host_vendor 714host_os 715INTL_MACOSX_LIBS 716LIBICONV 717LTLIBICONV 718INTLLIBS 719LIBINTL 720LTLIBINTL 721POSUB 722OPTS 723RANLIB 724CPP 725GREP 726EGREP 727LIBOBJS 728ETCDIR 729LTLIBOBJS' 730ac_subst_files='' 731 ac_precious_vars='build_alias 732host_alias 733target_alias 734CC 735CFLAGS 736LDFLAGS 737LIBS 738CPPFLAGS 739CPP' 740 741 742# Initialize some variables set by options. 743ac_init_help= 744ac_init_version=false 745# The variables have the same names as the options, with 746# dashes changed to underlines. 747cache_file=/dev/null 748exec_prefix=NONE 749no_create= 750no_recursion= 751prefix=NONE 752program_prefix=NONE 753program_suffix=NONE 754program_transform_name=s,x,x, 755silent= 756site= 757srcdir= 758verbose= 759x_includes=NONE 760x_libraries=NONE 761 762# Installation directory options. 763# These are left unexpanded so users can "make install exec_prefix=/foo" 764# and all the variables that are supposed to be based on exec_prefix 765# by default will actually change. 766# Use braces instead of parens because sh, perl, etc. also accept them. 767# (The list follows the same order as the GNU Coding Standards.) 768bindir='${exec_prefix}/bin' 769sbindir='${exec_prefix}/sbin' 770libexecdir='${exec_prefix}/libexec' 771datarootdir='${prefix}/share' 772datadir='${datarootdir}' 773sysconfdir='${prefix}/etc' 774sharedstatedir='${prefix}/com' 775localstatedir='${prefix}/var' 776includedir='${prefix}/include' 777oldincludedir='/usr/include' 778docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 779infodir='${datarootdir}/info' 780htmldir='${docdir}' 781dvidir='${docdir}' 782pdfdir='${docdir}' 783psdir='${docdir}' 784libdir='${exec_prefix}/lib' 785localedir='${datarootdir}/locale' 786mandir='${datarootdir}/man' 787 788ac_prev= 789ac_dashdash= 790for ac_option 791do 792 # If the previous option needs an argument, assign it. 793 if test -n "$ac_prev"; then 794 eval $ac_prev=\$ac_option 795 ac_prev= 796 continue 797 fi 798 799 case $ac_option in 800 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 801 *) ac_optarg=yes ;; 802 esac 803 804 # Accept the important Cygnus configure options, so we can diagnose typos. 805 806 case $ac_dashdash$ac_option in 807 --) 808 ac_dashdash=yes ;; 809 810 -bindir | --bindir | --bindi | --bind | --bin | --bi) 811 ac_prev=bindir ;; 812 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 813 bindir=$ac_optarg ;; 814 815 -build | --build | --buil | --bui | --bu) 816 ac_prev=build_alias ;; 817 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 818 build_alias=$ac_optarg ;; 819 820 -cache-file | --cache-file | --cache-fil | --cache-fi \ 821 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 822 ac_prev=cache_file ;; 823 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 824 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 825 cache_file=$ac_optarg ;; 826 827 --config-cache | -C) 828 cache_file=config.cache ;; 829 830 -datadir | --datadir | --datadi | --datad) 831 ac_prev=datadir ;; 832 -datadir=* | --datadir=* | --datadi=* | --datad=*) 833 datadir=$ac_optarg ;; 834 835 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 836 | --dataroo | --dataro | --datar) 837 ac_prev=datarootdir ;; 838 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 839 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 840 datarootdir=$ac_optarg ;; 841 842 -disable-* | --disable-*) 843 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 844 # Reject names that are not valid shell variable names. 845 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 846 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 847 { (exit 1); exit 1; }; } 848 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 849 eval enable_$ac_feature=no ;; 850 851 -docdir | --docdir | --docdi | --doc | --do) 852 ac_prev=docdir ;; 853 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 854 docdir=$ac_optarg ;; 855 856 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 857 ac_prev=dvidir ;; 858 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 859 dvidir=$ac_optarg ;; 860 861 -enable-* | --enable-*) 862 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 863 # Reject names that are not valid shell variable names. 864 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 865 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 866 { (exit 1); exit 1; }; } 867 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 868 eval enable_$ac_feature=\$ac_optarg ;; 869 870 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 871 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 872 | --exec | --exe | --ex) 873 ac_prev=exec_prefix ;; 874 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 875 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 876 | --exec=* | --exe=* | --ex=*) 877 exec_prefix=$ac_optarg ;; 878 879 -gas | --gas | --ga | --g) 880 # Obsolete; use --with-gas. 881 with_gas=yes ;; 882 883 -help | --help | --hel | --he | -h) 884 ac_init_help=long ;; 885 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 886 ac_init_help=recursive ;; 887 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 888 ac_init_help=short ;; 889 890 -host | --host | --hos | --ho) 891 ac_prev=host_alias ;; 892 -host=* | --host=* | --hos=* | --ho=*) 893 host_alias=$ac_optarg ;; 894 895 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 896 ac_prev=htmldir ;; 897 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 898 | --ht=*) 899 htmldir=$ac_optarg ;; 900 901 -includedir | --includedir | --includedi | --included | --include \ 902 | --includ | --inclu | --incl | --inc) 903 ac_prev=includedir ;; 904 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 905 | --includ=* | --inclu=* | --incl=* | --inc=*) 906 includedir=$ac_optarg ;; 907 908 -infodir | --infodir | --infodi | --infod | --info | --inf) 909 ac_prev=infodir ;; 910 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 911 infodir=$ac_optarg ;; 912 913 -libdir | --libdir | --libdi | --libd) 914 ac_prev=libdir ;; 915 -libdir=* | --libdir=* | --libdi=* | --libd=*) 916 libdir=$ac_optarg ;; 917 918 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 919 | --libexe | --libex | --libe) 920 ac_prev=libexecdir ;; 921 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 922 | --libexe=* | --libex=* | --libe=*) 923 libexecdir=$ac_optarg ;; 924 925 -localedir | --localedir | --localedi | --localed | --locale) 926 ac_prev=localedir ;; 927 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 928 localedir=$ac_optarg ;; 929 930 -localstatedir | --localstatedir | --localstatedi | --localstated \ 931 | --localstate | --localstat | --localsta | --localst | --locals) 932 ac_prev=localstatedir ;; 933 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 934 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 935 localstatedir=$ac_optarg ;; 936 937 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 938 ac_prev=mandir ;; 939 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 940 mandir=$ac_optarg ;; 941 942 -nfp | --nfp | --nf) 943 # Obsolete; use --without-fp. 944 with_fp=no ;; 945 946 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 947 | --no-cr | --no-c | -n) 948 no_create=yes ;; 949 950 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 951 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 952 no_recursion=yes ;; 953 954 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 955 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 956 | --oldin | --oldi | --old | --ol | --o) 957 ac_prev=oldincludedir ;; 958 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 959 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 960 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 961 oldincludedir=$ac_optarg ;; 962 963 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 964 ac_prev=prefix ;; 965 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 966 prefix=$ac_optarg ;; 967 968 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 969 | --program-pre | --program-pr | --program-p) 970 ac_prev=program_prefix ;; 971 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 972 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 973 program_prefix=$ac_optarg ;; 974 975 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 976 | --program-suf | --program-su | --program-s) 977 ac_prev=program_suffix ;; 978 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 979 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 980 program_suffix=$ac_optarg ;; 981 982 -program-transform-name | --program-transform-name \ 983 | --program-transform-nam | --program-transform-na \ 984 | --program-transform-n | --program-transform- \ 985 | --program-transform | --program-transfor \ 986 | --program-transfo | --program-transf \ 987 | --program-trans | --program-tran \ 988 | --progr-tra | --program-tr | --program-t) 989 ac_prev=program_transform_name ;; 990 -program-transform-name=* | --program-transform-name=* \ 991 | --program-transform-nam=* | --program-transform-na=* \ 992 | --program-transform-n=* | --program-transform-=* \ 993 | --program-transform=* | --program-transfor=* \ 994 | --program-transfo=* | --program-transf=* \ 995 | --program-trans=* | --program-tran=* \ 996 | --progr-tra=* | --program-tr=* | --program-t=*) 997 program_transform_name=$ac_optarg ;; 998 999 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1000 ac_prev=pdfdir ;; 1001 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1002 pdfdir=$ac_optarg ;; 1003 1004 -psdir | --psdir | --psdi | --psd | --ps) 1005 ac_prev=psdir ;; 1006 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1007 psdir=$ac_optarg ;; 1008 1009 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1010 | -silent | --silent | --silen | --sile | --sil) 1011 silent=yes ;; 1012 1013 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1014 ac_prev=sbindir ;; 1015 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1016 | --sbi=* | --sb=*) 1017 sbindir=$ac_optarg ;; 1018 1019 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1020 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1021 | --sharedst | --shareds | --shared | --share | --shar \ 1022 | --sha | --sh) 1023 ac_prev=sharedstatedir ;; 1024 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1025 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1026 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1027 | --sha=* | --sh=*) 1028 sharedstatedir=$ac_optarg ;; 1029 1030 -site | --site | --sit) 1031 ac_prev=site ;; 1032 -site=* | --site=* | --sit=*) 1033 site=$ac_optarg ;; 1034 1035 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1036 ac_prev=srcdir ;; 1037 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1038 srcdir=$ac_optarg ;; 1039 1040 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1041 | --syscon | --sysco | --sysc | --sys | --sy) 1042 ac_prev=sysconfdir ;; 1043 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1044 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1045 sysconfdir=$ac_optarg ;; 1046 1047 -target | --target | --targe | --targ | --tar | --ta | --t) 1048 ac_prev=target_alias ;; 1049 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1050 target_alias=$ac_optarg ;; 1051 1052 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1053 verbose=yes ;; 1054 1055 -version | --version | --versio | --versi | --vers | -V) 1056 ac_init_version=: ;; 1057 1058 -with-* | --with-*) 1059 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1060 # Reject names that are not valid shell variable names. 1061 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1062 { echo "$as_me: error: invalid package name: $ac_package" >&2 1063 { (exit 1); exit 1; }; } 1064 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1065 eval with_$ac_package=\$ac_optarg ;; 1066 1067 -without-* | --without-*) 1068 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1069 # Reject names that are not valid shell variable names. 1070 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1071 { echo "$as_me: error: invalid package name: $ac_package" >&2 1072 { (exit 1); exit 1; }; } 1073 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1074 eval with_$ac_package=no ;; 1075 1076 --x) 1077 # Obsolete; use --with-x. 1078 with_x=yes ;; 1079 1080 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1081 | --x-incl | --x-inc | --x-in | --x-i) 1082 ac_prev=x_includes ;; 1083 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1084 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1085 x_includes=$ac_optarg ;; 1086 1087 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1088 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1089 ac_prev=x_libraries ;; 1090 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1091 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1092 x_libraries=$ac_optarg ;; 1093 1094 -*) { echo "$as_me: error: unrecognized option: $ac_option 1095Try \`$0 --help' for more information." >&2 1096 { (exit 1); exit 1; }; } 1097 ;; 1098 1099 *=*) 1100 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1101 # Reject names that are not valid shell variable names. 1102 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1103 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1104 { (exit 1); exit 1; }; } 1105 eval $ac_envvar=\$ac_optarg 1106 export $ac_envvar ;; 1107 1108 *) 1109 # FIXME: should be removed in autoconf 3.0. 1110 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1111 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1112 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1113 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1114 ;; 1115 1116 esac 1117done 1118 1119if test -n "$ac_prev"; then 1120 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1121 { echo "$as_me: error: missing argument to $ac_option" >&2 1122 { (exit 1); exit 1; }; } 1123fi 1124 1125# Be sure to have absolute directory names. 1126for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1127 datadir sysconfdir sharedstatedir localstatedir includedir \ 1128 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1129 libdir localedir mandir 1130do 1131 eval ac_val=\$$ac_var 1132 case $ac_val in 1133 [\\/$]* | ?:[\\/]* ) continue;; 1134 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1135 esac 1136 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1137 { (exit 1); exit 1; }; } 1138done 1139 1140# There might be people who depend on the old broken behavior: `$host' 1141# used to hold the argument of --host etc. 1142# FIXME: To remove some day. 1143build=$build_alias 1144host=$host_alias 1145target=$target_alias 1146 1147# FIXME: To remove some day. 1148if test "x$host_alias" != x; then 1149 if test "x$build_alias" = x; then 1150 cross_compiling=maybe 1151 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1152 If a cross compiler is detected then cross compile mode will be used." >&2 1153 elif test "x$build_alias" != "x$host_alias"; then 1154 cross_compiling=yes 1155 fi 1156fi 1157 1158ac_tool_prefix= 1159test -n "$host_alias" && ac_tool_prefix=$host_alias- 1160 1161test "$silent" = yes && exec 6>/dev/null 1162 1163 1164ac_pwd=`pwd` && test -n "$ac_pwd" && 1165ac_ls_di=`ls -di .` && 1166ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1167 { echo "$as_me: error: Working directory cannot be determined" >&2 1168 { (exit 1); exit 1; }; } 1169test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1170 { echo "$as_me: error: pwd does not report name of working directory" >&2 1171 { (exit 1); exit 1; }; } 1172 1173 1174# Find the source files, if location was not specified. 1175if test -z "$srcdir"; then 1176 ac_srcdir_defaulted=yes 1177 # Try the directory containing this script, then the parent directory. 1178 ac_confdir=`$as_dirname -- "$0" || 1179$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1180 X"$0" : 'X\(//\)[^/]' \| \ 1181 X"$0" : 'X\(//\)$' \| \ 1182 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1183echo X"$0" | 1184 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1185 s//\1/ 1186 q 1187 } 1188 /^X\(\/\/\)[^/].*/{ 1189 s//\1/ 1190 q 1191 } 1192 /^X\(\/\/\)$/{ 1193 s//\1/ 1194 q 1195 } 1196 /^X\(\/\).*/{ 1197 s//\1/ 1198 q 1199 } 1200 s/.*/./; q'` 1201 srcdir=$ac_confdir 1202 if test ! -r "$srcdir/$ac_unique_file"; then 1203 srcdir=.. 1204 fi 1205else 1206 ac_srcdir_defaulted=no 1207fi 1208if test ! -r "$srcdir/$ac_unique_file"; then 1209 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1210 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1211 { (exit 1); exit 1; }; } 1212fi 1213ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1214ac_abs_confdir=`( 1215 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1216 { (exit 1); exit 1; }; } 1217 pwd)` 1218# When building in place, set srcdir=. 1219if test "$ac_abs_confdir" = "$ac_pwd"; then 1220 srcdir=. 1221fi 1222# Remove unnecessary trailing slashes from srcdir. 1223# Double slashes in file names in object file debugging info 1224# mess up M-x gdb in Emacs. 1225case $srcdir in 1226*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1227esac 1228for ac_var in $ac_precious_vars; do 1229 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1230 eval ac_env_${ac_var}_value=\$${ac_var} 1231 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1232 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1233done 1234 1235# 1236# Report the --help message. 1237# 1238if test "$ac_init_help" = "long"; then 1239 # Omit some internal or obsolete options to make the list less imposing. 1240 # This message is too long to be a string in the A/UX 3.1 sh. 1241 cat <<_ACEOF 1242\`configure' configures awffull 3.10.2 to adapt to many kinds of systems. 1243 1244Usage: $0 [OPTION]... [VAR=VALUE]... 1245 1246To assign environment variables (e.g., CC, CFLAGS...), specify them as 1247VAR=VALUE. See below for descriptions of some of the useful variables. 1248 1249Defaults for the options are specified in brackets. 1250 1251Configuration: 1252 -h, --help display this help and exit 1253 --help=short display options specific to this package 1254 --help=recursive display the short help of all the included packages 1255 -V, --version display version information and exit 1256 -q, --quiet, --silent do not print \`checking...' messages 1257 --cache-file=FILE cache test results in FILE [disabled] 1258 -C, --config-cache alias for \`--cache-file=config.cache' 1259 -n, --no-create do not create output files 1260 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1261 1262Installation directories: 1263 --prefix=PREFIX install architecture-independent files in PREFIX 1264 [$ac_default_prefix] 1265 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1266 [PREFIX] 1267 1268By default, \`make install' will install all the files in 1269\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1270an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1271for instance \`--prefix=\$HOME'. 1272 1273For better control, use the options below. 1274 1275Fine tuning of the installation directories: 1276 --bindir=DIR user executables [EPREFIX/bin] 1277 --sbindir=DIR system admin executables [EPREFIX/sbin] 1278 --libexecdir=DIR program executables [EPREFIX/libexec] 1279 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1280 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1281 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1282 --libdir=DIR object code libraries [EPREFIX/lib] 1283 --includedir=DIR C header files [PREFIX/include] 1284 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1285 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1286 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1287 --infodir=DIR info documentation [DATAROOTDIR/info] 1288 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1289 --mandir=DIR man documentation [DATAROOTDIR/man] 1290 --docdir=DIR documentation root [DATAROOTDIR/doc/awffull] 1291 --htmldir=DIR html documentation [DOCDIR] 1292 --dvidir=DIR dvi documentation [DOCDIR] 1293 --pdfdir=DIR pdf documentation [DOCDIR] 1294 --psdir=DIR ps documentation [DOCDIR] 1295_ACEOF 1296 1297 cat <<\_ACEOF 1298 1299Program names: 1300 --program-prefix=PREFIX prepend PREFIX to installed program names 1301 --program-suffix=SUFFIX append SUFFIX to installed program names 1302 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1303 1304System types: 1305 --build=BUILD configure for building on BUILD [guessed] 1306 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1307_ACEOF 1308fi 1309 1310if test -n "$ac_init_help"; then 1311 case $ac_init_help in 1312 short | recursive ) echo "Configuration of awffull 3.10.2:";; 1313 esac 1314 cat <<\_ACEOF 1315 1316Optional Features: 1317 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1318 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1319 --disable-nls do not use Native Language Support 1320 --disable-dependency-tracking speeds up one-time build 1321 --enable-dependency-tracking do not reject slow dependency extractors 1322 --disable-rpath do not hardcode runtime library paths 1323 --enable-debug Turn on compiler debugging information (default=no) 1324 --enable-developer Turn on developer warnings and debugging 1325 (default=no) 1326 --enable-coverage Turn on compiler coverage testing: gcov (default=no) 1327 --enable-static Build as static executable (default=no) 1328 --disable-geoip Disable GeoIP (default=no) 1329 --disable-ttf Disable TrueType Fonts (default=no) 1330 1331Optional Packages: 1332 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1333 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1334 --with-gnu-ld assume the C compiler uses GNU ld default=no 1335 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib 1336 --without-libiconv-prefix don't search for libiconv in includedir and libdir 1337 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib 1338 --without-libintl-prefix don't search for libintl in includedir and libdir 1339 --with-etcdir=DIR Where to look for default config file (default=/etc) 1340 --with-gd=DIR Where to additionally look for gd header files 1341 --with-gdlib=DIR Alternate location for libgd library 1342 --with-z=DIR Alternate location for libz header files 1343 --with-zlib=DIR Alternate location for libz library 1344 --with-png=DIR Alternate location of png header files 1345 --with-pnglib=DIR Alternate location for libpng library 1346 --with-pcre=DIR Alternate location of pcre header files 1347 --with-pcrelib=DIR Alternate location for libpcre library 1348 --with-geoip=DIR Alternate location of geoip header files 1349 --with-geoiplib=DIR Alternate location for libGeoIP library 1350 --with-font-default=FILE 1351 Where to look for the Default TrueType Font 1352 --with-font-label=FILE Where to look for the Default Label TrueType Font 1353 --with-generated-by=HTML 1354 Override HTML for the "Generated By" footer. 1355 1356Some influential environment variables: 1357 CC C compiler command 1358 CFLAGS C compiler flags 1359 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1360 nonstandard directory <lib dir> 1361 LIBS libraries to pass to the linker, e.g. -l<library> 1362 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1363 you have headers in a nonstandard directory <include dir> 1364 CPP C preprocessor 1365 1366Use these variables to override the choices made by `configure' or to help 1367it to find libraries and programs with nonstandard names/locations. 1368 1369Report bugs to <spm@stedee.id.au>. 1370_ACEOF 1371ac_status=$? 1372fi 1373 1374if test "$ac_init_help" = "recursive"; then 1375 # If there are subdirs, report their specific --help. 1376 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1377 test -d "$ac_dir" || continue 1378 ac_builddir=. 1379 1380case "$ac_dir" in 1381.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1382*) 1383 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1384 # A ".." for each directory in $ac_dir_suffix. 1385 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1386 case $ac_top_builddir_sub in 1387 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1388 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1389 esac ;; 1390esac 1391ac_abs_top_builddir=$ac_pwd 1392ac_abs_builddir=$ac_pwd$ac_dir_suffix 1393# for backward compatibility: 1394ac_top_builddir=$ac_top_build_prefix 1395 1396case $srcdir in 1397 .) # We are building in place. 1398 ac_srcdir=. 1399 ac_top_srcdir=$ac_top_builddir_sub 1400 ac_abs_top_srcdir=$ac_pwd ;; 1401 [\\/]* | ?:[\\/]* ) # Absolute name. 1402 ac_srcdir=$srcdir$ac_dir_suffix; 1403 ac_top_srcdir=$srcdir 1404 ac_abs_top_srcdir=$srcdir ;; 1405 *) # Relative name. 1406 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1407 ac_top_srcdir=$ac_top_build_prefix$srcdir 1408 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1409esac 1410ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1411 1412 cd "$ac_dir" || { ac_status=$?; continue; } 1413 # Check for guested configure. 1414 if test -f "$ac_srcdir/configure.gnu"; then 1415 echo && 1416 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1417 elif test -f "$ac_srcdir/configure"; then 1418 echo && 1419 $SHELL "$ac_srcdir/configure" --help=recursive 1420 else 1421 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1422 fi || ac_status=$? 1423 cd "$ac_pwd" || { ac_status=$?; break; } 1424 done 1425fi 1426 1427test -n "$ac_init_help" && exit $ac_status 1428if $ac_init_version; then 1429 cat <<\_ACEOF 1430awffull configure 3.10.2 1431generated by GNU Autoconf 2.61 1432 1433Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 14342002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1435This configure script is free software; the Free Software Foundation 1436gives unlimited permission to copy, distribute and modify it. 1437_ACEOF 1438 exit 1439fi 1440cat >config.log <<_ACEOF 1441This file contains any messages produced by compilers while 1442running configure, to aid debugging if configure makes a mistake. 1443 1444It was created by awffull $as_me 3.10.2, which was 1445generated by GNU Autoconf 2.61. Invocation command line was 1446 1447 $ $0 $@ 1448 1449_ACEOF 1450exec 5>>config.log 1451{ 1452cat <<_ASUNAME 1453## --------- ## 1454## Platform. ## 1455## --------- ## 1456 1457hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1458uname -m = `(uname -m) 2>/dev/null || echo unknown` 1459uname -r = `(uname -r) 2>/dev/null || echo unknown` 1460uname -s = `(uname -s) 2>/dev/null || echo unknown` 1461uname -v = `(uname -v) 2>/dev/null || echo unknown` 1462 1463/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1464/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1465 1466/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1467/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1468/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1469/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1470/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1471/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1472/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1473 1474_ASUNAME 1475 1476as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1477for as_dir in $PATH 1478do 1479 IFS=$as_save_IFS 1480 test -z "$as_dir" && as_dir=. 1481 echo "PATH: $as_dir" 1482done 1483IFS=$as_save_IFS 1484 1485} >&5 1486 1487cat >&5 <<_ACEOF 1488 1489 1490## ----------- ## 1491## Core tests. ## 1492## ----------- ## 1493 1494_ACEOF 1495 1496 1497# Keep a trace of the command line. 1498# Strip out --no-create and --no-recursion so they do not pile up. 1499# Strip out --silent because we don't want to record it for future runs. 1500# Also quote any args containing shell meta-characters. 1501# Make two passes to allow for proper duplicate-argument suppression. 1502ac_configure_args= 1503ac_configure_args0= 1504ac_configure_args1= 1505ac_must_keep_next=false 1506for ac_pass in 1 2 1507do 1508 for ac_arg 1509 do 1510 case $ac_arg in 1511 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1512 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1513 | -silent | --silent | --silen | --sile | --sil) 1514 continue ;; 1515 *\'*) 1516 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1517 esac 1518 case $ac_pass in 1519 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1520 2) 1521 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1522 if test $ac_must_keep_next = true; then 1523 ac_must_keep_next=false # Got value, back to normal. 1524 else 1525 case $ac_arg in 1526 *=* | --config-cache | -C | -disable-* | --disable-* \ 1527 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1528 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1529 | -with-* | --with-* | -without-* | --without-* | --x) 1530 case "$ac_configure_args0 " in 1531 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1532 esac 1533 ;; 1534 -* ) ac_must_keep_next=true ;; 1535 esac 1536 fi 1537 ac_configure_args="$ac_configure_args '$ac_arg'" 1538 ;; 1539 esac 1540 done 1541done 1542$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1543$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1544 1545# When interrupted or exit'd, cleanup temporary files, and complete 1546# config.log. We remove comments because anyway the quotes in there 1547# would cause problems or look ugly. 1548# WARNING: Use '\'' to represent an apostrophe within the trap. 1549# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1550trap 'exit_status=$? 1551 # Save into config.log some information that might help in debugging. 1552 { 1553 echo 1554 1555 cat <<\_ASBOX 1556## ---------------- ## 1557## Cache variables. ## 1558## ---------------- ## 1559_ASBOX 1560 echo 1561 # The following way of writing the cache mishandles newlines in values, 1562( 1563 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1564 eval ac_val=\$$ac_var 1565 case $ac_val in #( 1566 *${as_nl}*) 1567 case $ac_var in #( 1568 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1569echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1570 esac 1571 case $ac_var in #( 1572 _ | IFS | as_nl) ;; #( 1573 *) $as_unset $ac_var ;; 1574 esac ;; 1575 esac 1576 done 1577 (set) 2>&1 | 1578 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1579 *${as_nl}ac_space=\ *) 1580 sed -n \ 1581 "s/'\''/'\''\\\\'\'''\''/g; 1582 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1583 ;; #( 1584 *) 1585 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1586 ;; 1587 esac | 1588 sort 1589) 1590 echo 1591 1592 cat <<\_ASBOX 1593## ----------------- ## 1594## Output variables. ## 1595## ----------------- ## 1596_ASBOX 1597 echo 1598 for ac_var in $ac_subst_vars 1599 do 1600 eval ac_val=\$$ac_var 1601 case $ac_val in 1602 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1603 esac 1604 echo "$ac_var='\''$ac_val'\''" 1605 done | sort 1606 echo 1607 1608 if test -n "$ac_subst_files"; then 1609 cat <<\_ASBOX 1610## ------------------- ## 1611## File substitutions. ## 1612## ------------------- ## 1613_ASBOX 1614 echo 1615 for ac_var in $ac_subst_files 1616 do 1617 eval ac_val=\$$ac_var 1618 case $ac_val in 1619 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1620 esac 1621 echo "$ac_var='\''$ac_val'\''" 1622 done | sort 1623 echo 1624 fi 1625 1626 if test -s confdefs.h; then 1627 cat <<\_ASBOX 1628## ----------- ## 1629## confdefs.h. ## 1630## ----------- ## 1631_ASBOX 1632 echo 1633 cat confdefs.h 1634 echo 1635 fi 1636 test "$ac_signal" != 0 && 1637 echo "$as_me: caught signal $ac_signal" 1638 echo "$as_me: exit $exit_status" 1639 } >&5 1640 rm -f core *.core core.conftest.* && 1641 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1642 exit $exit_status 1643' 0 1644for ac_signal in 1 2 13 15; do 1645 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1646done 1647ac_signal=0 1648 1649# confdefs.h avoids OS command line length limits that DEFS can exceed. 1650rm -f -r conftest* confdefs.h 1651 1652# Predefined preprocessor variables. 1653 1654cat >>confdefs.h <<_ACEOF 1655#define PACKAGE_NAME "$PACKAGE_NAME" 1656_ACEOF 1657 1658 1659cat >>confdefs.h <<_ACEOF 1660#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1661_ACEOF 1662 1663 1664cat >>confdefs.h <<_ACEOF 1665#define PACKAGE_VERSION "$PACKAGE_VERSION" 1666_ACEOF 1667 1668 1669cat >>confdefs.h <<_ACEOF 1670#define PACKAGE_STRING "$PACKAGE_STRING" 1671_ACEOF 1672 1673 1674cat >>confdefs.h <<_ACEOF 1675#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1676_ACEOF 1677 1678 1679# Let the site file select an alternate cache file if it wants to. 1680# Prefer explicitly selected file to automatically selected ones. 1681if test -n "$CONFIG_SITE"; then 1682 set x "$CONFIG_SITE" 1683elif test "x$prefix" != xNONE; then 1684 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1685else 1686 set x "$ac_default_prefix/share/config.site" \ 1687 "$ac_default_prefix/etc/config.site" 1688fi 1689shift 1690for ac_site_file 1691do 1692 if test -r "$ac_site_file"; then 1693 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1694echo "$as_me: loading site script $ac_site_file" >&6;} 1695 sed 's/^/| /' "$ac_site_file" >&5 1696 . "$ac_site_file" 1697 fi 1698done 1699 1700if test -r "$cache_file"; then 1701 # Some versions of bash will fail to source /dev/null (special 1702 # files actually), so we avoid doing that. 1703 if test -f "$cache_file"; then 1704 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1705echo "$as_me: loading cache $cache_file" >&6;} 1706 case $cache_file in 1707 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1708 *) . "./$cache_file";; 1709 esac 1710 fi 1711else 1712 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1713echo "$as_me: creating cache $cache_file" >&6;} 1714 >$cache_file 1715fi 1716 1717gt_needs="$gt_needs " 1718ac_header_list="$ac_header_list sys/time.h" 1719ac_header_list="$ac_header_list unistd.h" 1720ac_func_list="$ac_func_list alarm" 1721# Check that the precious variables saved in the cache have kept the same 1722# value. 1723ac_cache_corrupted=false 1724for ac_var in $ac_precious_vars; do 1725 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1726 eval ac_new_set=\$ac_env_${ac_var}_set 1727 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1728 eval ac_new_val=\$ac_env_${ac_var}_value 1729 case $ac_old_set,$ac_new_set in 1730 set,) 1731 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1732echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1733 ac_cache_corrupted=: ;; 1734 ,set) 1735 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1736echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1737 ac_cache_corrupted=: ;; 1738 ,);; 1739 *) 1740 if test "x$ac_old_val" != "x$ac_new_val"; then 1741 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1742echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1743 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1744echo "$as_me: former value: $ac_old_val" >&2;} 1745 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1746echo "$as_me: current value: $ac_new_val" >&2;} 1747 ac_cache_corrupted=: 1748 fi;; 1749 esac 1750 # Pass precious variables to config.status. 1751 if test "$ac_new_set" = set; then 1752 case $ac_new_val in 1753 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1754 *) ac_arg=$ac_var=$ac_new_val ;; 1755 esac 1756 case " $ac_configure_args " in 1757 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1758 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1759 esac 1760 fi 1761done 1762if $ac_cache_corrupted; then 1763 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1764echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1765 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1766echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1767 { (exit 1); exit 1; }; } 1768fi 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794ac_ext=c 1795ac_cpp='$CPP $CPPFLAGS' 1796ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1797ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1798ac_compiler_gnu=$ac_cv_c_compiler_gnu 1799 1800 1801 1802 1803ac_aux_dir= 1804for ac_dir in config "$srcdir"/config; do 1805 if test -f "$ac_dir/install-sh"; then 1806 ac_aux_dir=$ac_dir 1807 ac_install_sh="$ac_aux_dir/install-sh -c" 1808 break 1809 elif test -f "$ac_dir/install.sh"; then 1810 ac_aux_dir=$ac_dir 1811 ac_install_sh="$ac_aux_dir/install.sh -c" 1812 break 1813 elif test -f "$ac_dir/shtool"; then 1814 ac_aux_dir=$ac_dir 1815 ac_install_sh="$ac_aux_dir/shtool install -c" 1816 break 1817 fi 1818done 1819if test -z "$ac_aux_dir"; then 1820 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5 1821echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;} 1822 { (exit 1); exit 1; }; } 1823fi 1824 1825# These three variables are undocumented and unsupported, 1826# and are intended to be withdrawn in a future Autoconf release. 1827# They can cause serious problems if a builder's source tree is in a directory 1828# whose full name contains unusual characters. 1829ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1830ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1831ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1832 1833 1834ac_config_headers="$ac_config_headers src/config.h:src/config-h.in" 1835 1836am__api_version='1.10' 1837 1838# Find a good install program. We prefer a C program (faster), 1839# so one script is as good as another. But avoid the broken or 1840# incompatible versions: 1841# SysV /etc/install, /usr/sbin/install 1842# SunOS /usr/etc/install 1843# IRIX /sbin/install 1844# AIX /bin/install 1845# AmigaOS /C/install, which installs bootblocks on floppy discs 1846# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1847# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1848# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1849# OS/2's system install, which has a completely different semantic 1850# ./install, which can be erroneously created by make from ./install.sh. 1851{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1852echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 1853if test -z "$INSTALL"; then 1854if test "${ac_cv_path_install+set}" = set; then 1855 echo $ECHO_N "(cached) $ECHO_C" >&6 1856else 1857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1858for as_dir in $PATH 1859do 1860 IFS=$as_save_IFS 1861 test -z "$as_dir" && as_dir=. 1862 # Account for people who put trailing slashes in PATH elements. 1863case $as_dir/ in 1864 ./ | .// | /cC/* | \ 1865 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1866 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1867 /usr/ucb/* ) ;; 1868 *) 1869 # OSF1 and SCO ODT 3.0 have their own names for install. 1870 # Don't use installbsd from OSF since it installs stuff as root 1871 # by default. 1872 for ac_prog in ginstall scoinst install; do 1873 for ac_exec_ext in '' $ac_executable_extensions; do 1874 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 1875 if test $ac_prog = install && 1876 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1877 # AIX install. It has an incompatible calling convention. 1878 : 1879 elif test $ac_prog = install && 1880 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1881 # program-specific install script used by HP pwplus--don't use. 1882 : 1883 else 1884 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1885 break 3 1886 fi 1887 fi 1888 done 1889 done 1890 ;; 1891esac 1892done 1893IFS=$as_save_IFS 1894 1895 1896fi 1897 if test "${ac_cv_path_install+set}" = set; then 1898 INSTALL=$ac_cv_path_install 1899 else 1900 # As a last resort, use the slow shell script. Don't cache a 1901 # value for INSTALL within a source directory, because that will 1902 # break other packages using the cache if that directory is 1903 # removed, or if the value is a relative name. 1904 INSTALL=$ac_install_sh 1905 fi 1906fi 1907{ echo "$as_me:$LINENO: result: $INSTALL" >&5 1908echo "${ECHO_T}$INSTALL" >&6; } 1909 1910# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1911# It thinks the first close brace ends the variable substitution. 1912test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1913 1914test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1915 1916test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1917 1918{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 1919echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } 1920# Just in case 1921sleep 1 1922echo timestamp > conftest.file 1923# Do `set' in a subshell so we don't clobber the current shell's 1924# arguments. Must try -L first in case configure is actually a 1925# symlink; some systems play weird games with the mod time of symlinks 1926# (eg FreeBSD returns the mod time of the symlink's containing 1927# directory). 1928if ( 1929 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1930 if test "$*" = "X"; then 1931 # -L didn't work. 1932 set X `ls -t $srcdir/configure conftest.file` 1933 fi 1934 rm -f conftest.file 1935 if test "$*" != "X $srcdir/configure conftest.file" \ 1936 && test "$*" != "X conftest.file $srcdir/configure"; then 1937 1938 # If neither matched, then we have a broken ls. This can happen 1939 # if, for instance, CONFIG_SHELL is bash and it inherits a 1940 # broken ls alias from the environment. This has actually 1941 # happened. Such a system could not be considered "sane". 1942 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 1943alias in your environment" >&5 1944echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1945alias in your environment" >&2;} 1946 { (exit 1); exit 1; }; } 1947 fi 1948 1949 test "$2" = conftest.file 1950 ) 1951then 1952 # Ok. 1953 : 1954else 1955 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 1956Check your system clock" >&5 1957echo "$as_me: error: newly created file is older than distributed files! 1958Check your system clock" >&2;} 1959 { (exit 1); exit 1; }; } 1960fi 1961{ echo "$as_me:$LINENO: result: yes" >&5 1962echo "${ECHO_T}yes" >&6; } 1963test "$program_prefix" != NONE && 1964 program_transform_name="s&^&$program_prefix&;$program_transform_name" 1965# Use a double $ so make ignores it. 1966test "$program_suffix" != NONE && 1967 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 1968# Double any \ or $. echo might interpret backslashes. 1969# By default was `s,x,x', remove it if useless. 1970cat <<\_ACEOF >conftest.sed 1971s/[\\$]/&&/g;s/;s,x,x,$// 1972_ACEOF 1973program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1974rm -f conftest.sed 1975 1976# expand $ac_aux_dir to an absolute path 1977am_aux_dir=`cd $ac_aux_dir && pwd` 1978 1979test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1980# Use eval to expand $SHELL 1981if eval "$MISSING --run true"; then 1982 am_missing_run="$MISSING --run " 1983else 1984 am_missing_run= 1985 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1986echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1987fi 1988 1989{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 1990echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } 1991if test -z "$MKDIR_P"; then 1992 if test "${ac_cv_path_mkdir+set}" = set; then 1993 echo $ECHO_N "(cached) $ECHO_C" >&6 1994else 1995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1996for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 1997do 1998 IFS=$as_save_IFS 1999 test -z "$as_dir" && as_dir=. 2000 for ac_prog in mkdir gmkdir; do 2001 for ac_exec_ext in '' $ac_executable_extensions; do 2002 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2003 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2004 'mkdir (GNU coreutils) '* | \ 2005 'mkdir (coreutils) '* | \ 2006 'mkdir (fileutils) '4.1*) 2007 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2008 break 3;; 2009 esac 2010 done 2011 done 2012done 2013IFS=$as_save_IFS 2014 2015fi 2016 2017 if test "${ac_cv_path_mkdir+set}" = set; then 2018 MKDIR_P="$ac_cv_path_mkdir -p" 2019 else 2020 # As a last resort, use the slow shell script. Don't cache a 2021 # value for MKDIR_P within a source directory, because that will 2022 # break other packages using the cache if that directory is 2023 # removed, or if the value is a relative name. 2024 test -d ./--version && rmdir ./--version 2025 MKDIR_P="$ac_install_sh -d" 2026 fi 2027fi 2028{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5 2029echo "${ECHO_T}$MKDIR_P" >&6; } 2030 2031mkdir_p="$MKDIR_P" 2032case $mkdir_p in 2033 [\\/$]* | ?:[\\/]*) ;; 2034 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2035esac 2036 2037for ac_prog in gawk mawk nawk awk 2038do 2039 # Extract the first word of "$ac_prog", so it can be a program name with args. 2040set dummy $ac_prog; ac_word=$2 2041{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2042echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2043if test "${ac_cv_prog_AWK+set}" = set; then 2044 echo $ECHO_N "(cached) $ECHO_C" >&6 2045else 2046 if test -n "$AWK"; then 2047 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2048else 2049as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2050for as_dir in $PATH 2051do 2052 IFS=$as_save_IFS 2053 test -z "$as_dir" && as_dir=. 2054 for ac_exec_ext in '' $ac_executable_extensions; do 2055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2056 ac_cv_prog_AWK="$ac_prog" 2057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2058 break 2 2059 fi 2060done 2061done 2062IFS=$as_save_IFS 2063 2064fi 2065fi 2066AWK=$ac_cv_prog_AWK 2067if test -n "$AWK"; then 2068 { echo "$as_me:$LINENO: result: $AWK" >&5 2069echo "${ECHO_T}$AWK" >&6; } 2070else 2071 { echo "$as_me:$LINENO: result: no" >&5 2072echo "${ECHO_T}no" >&6; } 2073fi 2074 2075 2076 test -n "$AWK" && break 2077done 2078 2079{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2080echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 2081set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2082if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2083 echo $ECHO_N "(cached) $ECHO_C" >&6 2084else 2085 cat >conftest.make <<\_ACEOF 2086SHELL = /bin/sh 2087all: 2088 @echo '@@@%%%=$(MAKE)=@@@%%%' 2089_ACEOF 2090# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2091case `${MAKE-make} -f conftest.make 2>/dev/null` in 2092 *@@@%%%=?*=@@@%%%*) 2093 eval ac_cv_prog_make_${ac_make}_set=yes;; 2094 *) 2095 eval ac_cv_prog_make_${ac_make}_set=no;; 2096esac 2097rm -f conftest.make 2098fi 2099if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2100 { echo "$as_me:$LINENO: result: yes" >&5 2101echo "${ECHO_T}yes" >&6; } 2102 SET_MAKE= 2103else 2104 { echo "$as_me:$LINENO: result: no" >&5 2105echo "${ECHO_T}no" >&6; } 2106 SET_MAKE="MAKE=${MAKE-make}" 2107fi 2108 2109rm -rf .tst 2>/dev/null 2110mkdir .tst 2>/dev/null 2111if test -d .tst; then 2112 am__leading_dot=. 2113else 2114 am__leading_dot=_ 2115fi 2116rmdir .tst 2>/dev/null 2117 2118if test "`cd $srcdir && pwd`" != "`pwd`"; then 2119 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2120 # is not polluted with repeated "-I." 2121 am__isrc=' -I$(srcdir)' 2122 # test to see if srcdir already configured 2123 if test -f $srcdir/config.status; then 2124 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2125echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2126 { (exit 1); exit 1; }; } 2127 fi 2128fi 2129 2130# test whether we have cygpath 2131if test -z "$CYGPATH_W"; then 2132 if (cygpath --version) >/dev/null 2>/dev/null; then 2133 CYGPATH_W='cygpath -w' 2134 else 2135 CYGPATH_W=echo 2136 fi 2137fi 2138 2139 2140# Define the identity of the package. 2141 PACKAGE='awffull' 2142 VERSION='3.10.2' 2143 2144 2145cat >>confdefs.h <<_ACEOF 2146#define PACKAGE "$PACKAGE" 2147_ACEOF 2148 2149 2150cat >>confdefs.h <<_ACEOF 2151#define VERSION "$VERSION" 2152_ACEOF 2153 2154# Some tools Automake needs. 2155 2156ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2157 2158 2159AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2160 2161 2162AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2163 2164 2165AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2166 2167 2168MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2169 2170install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} 2171 2172# Installed binaries are usually stripped using `strip' when the user 2173# run `make install-strip'. However `strip' might not be the right 2174# tool to use in cross-compilation environments, therefore Automake 2175# will honor the `STRIP' environment variable to overrule this program. 2176if test "$cross_compiling" != no; then 2177 if test -n "$ac_tool_prefix"; then 2178 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2179set dummy ${ac_tool_prefix}strip; ac_word=$2 2180{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2181echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2182if test "${ac_cv_prog_STRIP+set}" = set; then 2183 echo $ECHO_N "(cached) $ECHO_C" >&6 2184else 2185 if test -n "$STRIP"; then 2186 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2187else 2188as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2189for as_dir in $PATH 2190do 2191 IFS=$as_save_IFS 2192 test -z "$as_dir" && as_dir=. 2193 for ac_exec_ext in '' $ac_executable_extensions; do 2194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2195 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2197 break 2 2198 fi 2199done 2200done 2201IFS=$as_save_IFS 2202 2203fi 2204fi 2205STRIP=$ac_cv_prog_STRIP 2206if test -n "$STRIP"; then 2207 { echo "$as_me:$LINENO: result: $STRIP" >&5 2208echo "${ECHO_T}$STRIP" >&6; } 2209else 2210 { echo "$as_me:$LINENO: result: no" >&5 2211echo "${ECHO_T}no" >&6; } 2212fi 2213 2214 2215fi 2216if test -z "$ac_cv_prog_STRIP"; then 2217 ac_ct_STRIP=$STRIP 2218 # Extract the first word of "strip", so it can be a program name with args. 2219set dummy strip; ac_word=$2 2220{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2221echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2222if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2223 echo $ECHO_N "(cached) $ECHO_C" >&6 2224else 2225 if test -n "$ac_ct_STRIP"; then 2226 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2227else 2228as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2229for as_dir in $PATH 2230do 2231 IFS=$as_save_IFS 2232 test -z "$as_dir" && as_dir=. 2233 for ac_exec_ext in '' $ac_executable_extensions; do 2234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2235 ac_cv_prog_ac_ct_STRIP="strip" 2236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2237 break 2 2238 fi 2239done 2240done 2241IFS=$as_save_IFS 2242 2243fi 2244fi 2245ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2246if test -n "$ac_ct_STRIP"; then 2247 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2248echo "${ECHO_T}$ac_ct_STRIP" >&6; } 2249else 2250 { echo "$as_me:$LINENO: result: no" >&5 2251echo "${ECHO_T}no" >&6; } 2252fi 2253 2254 if test "x$ac_ct_STRIP" = x; then 2255 STRIP=":" 2256 else 2257 case $cross_compiling:$ac_tool_warned in 2258yes:) 2259{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2260whose name does not start with the host triplet. If you think this 2261configuration is useful to you, please write to autoconf@gnu.org." >&5 2262echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2263whose name does not start with the host triplet. If you think this 2264configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2265ac_tool_warned=yes ;; 2266esac 2267 STRIP=$ac_ct_STRIP 2268 fi 2269else 2270 STRIP="$ac_cv_prog_STRIP" 2271fi 2272 2273fi 2274INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2275 2276# We need awk for the "check" target. The system "awk" is bad on 2277# some platforms. 2278# Always define AMTAR for backward compatibility. 2279 2280AMTAR=${AMTAR-"${am_missing_run}tar"} 2281 2282am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2283 2284 2285 2286 2287 2288 2289OLD_CFLAGS=${CFLAGS} 2290if test "x$CFLAGS" = "x"; then 2291 CFLAGS="-O2" 2292fi 2293 2294 2295 2296 { echo "$as_me:$LINENO: checking whether NLS is requested" >&5 2297echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; } 2298 # Check whether --enable-nls was given. 2299if test "${enable_nls+set}" = set; then 2300 enableval=$enable_nls; USE_NLS=$enableval 2301else 2302 USE_NLS=yes 2303fi 2304 2305 { echo "$as_me:$LINENO: result: $USE_NLS" >&5 2306echo "${ECHO_T}$USE_NLS" >&6; } 2307 2308 2309 2310 2311 GETTEXT_MACRO_VERSION=0.17 2312 2313 2314 2315 2316# Prepare PATH_SEPARATOR. 2317# The user is always right. 2318if test "${PATH_SEPARATOR+set}" != set; then 2319 echo "#! /bin/sh" >conf$$.sh 2320 echo "exit 0" >>conf$$.sh 2321 chmod +x conf$$.sh 2322 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 2323 PATH_SEPARATOR=';' 2324 else 2325 PATH_SEPARATOR=: 2326 fi 2327 rm -f conf$$.sh 2328fi 2329 2330# Find out how to test for executable files. Don't use a zero-byte file, 2331# as systems may use methods other than mode bits to determine executability. 2332cat >conf$$.file <<_ASEOF 2333#! /bin/sh 2334exit 0 2335_ASEOF 2336chmod +x conf$$.file 2337if test -x conf$$.file >/dev/null 2>&1; then 2338 ac_executable_p="test -x" 2339else 2340 ac_executable_p="test -f" 2341fi 2342rm -f conf$$.file 2343 2344# Extract the first word of "msgfmt", so it can be a program name with args. 2345set dummy msgfmt; ac_word=$2 2346{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2347echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2348if test "${ac_cv_path_MSGFMT+set}" = set; then 2349 echo $ECHO_N "(cached) $ECHO_C" >&6 2350else 2351 case "$MSGFMT" in 2352 [\\/]* | ?:[\\/]*) 2353 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 2354 ;; 2355 *) 2356 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 2357 for ac_dir in $PATH; do 2358 IFS="$ac_save_IFS" 2359 test -z "$ac_dir" && ac_dir=. 2360 for ac_exec_ext in '' $ac_executable_extensions; do 2361 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 2362 echo "$as_me: trying $ac_dir/$ac_word..." >&5 2363 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && 2364 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 2365 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" 2366 break 2 2367 fi 2368 fi 2369 done 2370 done 2371 IFS="$ac_save_IFS" 2372 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" 2373 ;; 2374esac 2375fi 2376MSGFMT="$ac_cv_path_MSGFMT" 2377if test "$MSGFMT" != ":"; then 2378 { echo "$as_me:$LINENO: result: $MSGFMT" >&5 2379echo "${ECHO_T}$MSGFMT" >&6; } 2380else 2381 { echo "$as_me:$LINENO: result: no" >&5 2382echo "${ECHO_T}no" >&6; } 2383fi 2384 2385 # Extract the first word of "gmsgfmt", so it can be a program name with args. 2386set dummy gmsgfmt; ac_word=$2 2387{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2388echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2389if test "${ac_cv_path_GMSGFMT+set}" = set; then 2390 echo $ECHO_N "(cached) $ECHO_C" >&6 2391else 2392 case $GMSGFMT in 2393 [\\/]* | ?:[\\/]*) 2394 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 2395 ;; 2396 *) 2397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2398for as_dir in $PATH 2399do 2400 IFS=$as_save_IFS 2401 test -z "$as_dir" && as_dir=. 2402 for ac_exec_ext in '' $ac_executable_extensions; do 2403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2404 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 2405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2406 break 2 2407 fi 2408done 2409done 2410IFS=$as_save_IFS 2411 2412 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 2413 ;; 2414esac 2415fi 2416GMSGFMT=$ac_cv_path_GMSGFMT 2417if test -n "$GMSGFMT"; then 2418 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5 2419echo "${ECHO_T}$GMSGFMT" >&6; } 2420else 2421 { echo "$as_me:$LINENO: result: no" >&5 2422echo "${ECHO_T}no" >&6; } 2423fi 2424 2425 2426 2427 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 2428 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; 2429 *) MSGFMT_015=$MSGFMT ;; 2430 esac 2431 2432 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 2433 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; 2434 *) GMSGFMT_015=$GMSGFMT ;; 2435 esac 2436 2437 2438 2439# Prepare PATH_SEPARATOR. 2440# The user is always right. 2441if test "${PATH_SEPARATOR+set}" != set; then 2442 echo "#! /bin/sh" >conf$$.sh 2443 echo "exit 0" >>conf$$.sh 2444 chmod +x conf$$.sh 2445 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 2446 PATH_SEPARATOR=';' 2447 else 2448 PATH_SEPARATOR=: 2449 fi 2450 rm -f conf$$.sh 2451fi 2452 2453# Find out how to test for executable files. Don't use a zero-byte file, 2454# as systems may use methods other than mode bits to determine executability. 2455cat >conf$$.file <<_ASEOF 2456#! /bin/sh 2457exit 0 2458_ASEOF 2459chmod +x conf$$.file 2460if test -x conf$$.file >/dev/null 2>&1; then 2461 ac_executable_p="test -x" 2462else 2463 ac_executable_p="test -f" 2464fi 2465rm -f conf$$.file 2466 2467# Extract the first word of "xgettext", so it can be a program name with args. 2468set dummy xgettext; ac_word=$2 2469{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2470echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2471if test "${ac_cv_path_XGETTEXT+set}" = set; then 2472 echo $ECHO_N "(cached) $ECHO_C" >&6 2473else 2474 case "$XGETTEXT" in 2475 [\\/]* | ?:[\\/]*) 2476 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 2477 ;; 2478 *) 2479 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 2480 for ac_dir in $PATH; do 2481 IFS="$ac_save_IFS" 2482 test -z "$ac_dir" && ac_dir=. 2483 for ac_exec_ext in '' $ac_executable_extensions; do 2484 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 2485 echo "$as_me: trying $ac_dir/$ac_word..." >&5 2486 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && 2487 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 2488 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" 2489 break 2 2490 fi 2491 fi 2492 done 2493 done 2494 IFS="$ac_save_IFS" 2495 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 2496 ;; 2497esac 2498fi 2499XGETTEXT="$ac_cv_path_XGETTEXT" 2500if test "$XGETTEXT" != ":"; then 2501 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5 2502echo "${ECHO_T}$XGETTEXT" >&6; } 2503else 2504 { echo "$as_me:$LINENO: result: no" >&5 2505echo "${ECHO_T}no" >&6; } 2506fi 2507 2508 rm -f messages.po 2509 2510 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 2511 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; 2512 *) XGETTEXT_015=$XGETTEXT ;; 2513 esac 2514 2515 2516 2517# Prepare PATH_SEPARATOR. 2518# The user is always right. 2519if test "${PATH_SEPARATOR+set}" != set; then 2520 echo "#! /bin/sh" >conf$$.sh 2521 echo "exit 0" >>conf$$.sh 2522 chmod +x conf$$.sh 2523 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 2524 PATH_SEPARATOR=';' 2525 else 2526 PATH_SEPARATOR=: 2527 fi 2528 rm -f conf$$.sh 2529fi 2530 2531# Find out how to test for executable files. Don't use a zero-byte file, 2532# as systems may use methods other than mode bits to determine executability. 2533cat >conf$$.file <<_ASEOF 2534#! /bin/sh 2535exit 0 2536_ASEOF 2537chmod +x conf$$.file 2538if test -x conf$$.file >/dev/null 2>&1; then 2539 ac_executable_p="test -x" 2540else 2541 ac_executable_p="test -f" 2542fi 2543rm -f conf$$.file 2544 2545# Extract the first word of "msgmerge", so it can be a program name with args. 2546set dummy msgmerge; ac_word=$2 2547{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2548echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2549if test "${ac_cv_path_MSGMERGE+set}" = set; then 2550 echo $ECHO_N "(cached) $ECHO_C" >&6 2551else 2552 case "$MSGMERGE" in 2553 [\\/]* | ?:[\\/]*) 2554 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 2555 ;; 2556 *) 2557 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 2558 for ac_dir in $PATH; do 2559 IFS="$ac_save_IFS" 2560 test -z "$ac_dir" && ac_dir=. 2561 for ac_exec_ext in '' $ac_executable_extensions; do 2562 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 2563 echo "$as_me: trying $ac_dir/$ac_word..." >&5 2564 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then 2565 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" 2566 break 2 2567 fi 2568 fi 2569 done 2570 done 2571 IFS="$ac_save_IFS" 2572 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" 2573 ;; 2574esac 2575fi 2576MSGMERGE="$ac_cv_path_MSGMERGE" 2577if test "$MSGMERGE" != ":"; then 2578 { echo "$as_me:$LINENO: result: $MSGMERGE" >&5 2579echo "${ECHO_T}$MSGMERGE" >&6; } 2580else 2581 { echo "$as_me:$LINENO: result: no" >&5 2582echo "${ECHO_T}no" >&6; } 2583fi 2584 2585 2586 test -n "$localedir" || localedir='${datadir}/locale' 2587 2588 2589 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= 2590 2591 2592 ac_config_commands="$ac_config_commands po-directories" 2593 2594 2595 2596 if test "X$prefix" = "XNONE"; then 2597 acl_final_prefix="$ac_default_prefix" 2598 else 2599 acl_final_prefix="$prefix" 2600 fi 2601 if test "X$exec_prefix" = "XNONE"; then 2602 acl_final_exec_prefix='${prefix}' 2603 else 2604 acl_final_exec_prefix="$exec_prefix" 2605 fi 2606 acl_save_prefix="$prefix" 2607 prefix="$acl_final_prefix" 2608 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 2609 prefix="$acl_save_prefix" 2610 2611DEPDIR="${am__leading_dot}deps" 2612 2613ac_config_commands="$ac_config_commands depfiles" 2614 2615 2616am_make=${MAKE-make} 2617cat > confinc << 'END' 2618am__doit: 2619 @echo done 2620.PHONY: am__doit 2621END 2622# If we don't find an include directive, just comment out the code. 2623{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 2624echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } 2625am__include="#" 2626am__quote= 2627_am_result=none 2628# First try GNU make style include. 2629echo "include confinc" > confmf 2630# We grep out `Entering directory' and `Leaving directory' 2631# messages which can occur if `w' ends up in MAKEFLAGS. 2632# In particular we don't look at `^make:' because GNU make might 2633# be invoked under some other name (usually "gmake"), in which 2634# case it prints its new name instead of `make'. 2635if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 2636 am__include=include 2637 am__quote= 2638 _am_result=GNU 2639fi 2640# Now try BSD make style include. 2641if test "$am__include" = "#"; then 2642 echo '.include "confinc"' > confmf 2643 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 2644 am__include=.include 2645 am__quote="\"" 2646 _am_result=BSD 2647 fi 2648fi 2649 2650 2651{ echo "$as_me:$LINENO: result: $_am_result" >&5 2652echo "${ECHO_T}$_am_result" >&6; } 2653rm -f confinc confmf 2654 2655# Check whether --enable-dependency-tracking was given. 2656if test "${enable_dependency_tracking+set}" = set; then 2657 enableval=$enable_dependency_tracking; 2658fi 2659 2660if test "x$enable_dependency_tracking" != xno; then 2661 am_depcomp="$ac_aux_dir/depcomp" 2662 AMDEPBACKSLASH='\' 2663fi 2664 if test "x$enable_dependency_tracking" != xno; then 2665 AMDEP_TRUE= 2666 AMDEP_FALSE='#' 2667else 2668 AMDEP_TRUE='#' 2669 AMDEP_FALSE= 2670fi 2671 2672 2673ac_ext=c 2674ac_cpp='$CPP $CPPFLAGS' 2675ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2676ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2677ac_compiler_gnu=$ac_cv_c_compiler_gnu 2678if test -n "$ac_tool_prefix"; then 2679 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2680set dummy ${ac_tool_prefix}gcc; ac_word=$2 2681{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2682echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2683if test "${ac_cv_prog_CC+set}" = set; then 2684 echo $ECHO_N "(cached) $ECHO_C" >&6 2685else 2686 if test -n "$CC"; then 2687 ac_cv_prog_CC="$CC" # Let the user override the test. 2688else 2689as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2690for as_dir in $PATH 2691do 2692 IFS=$as_save_IFS 2693 test -z "$as_dir" && as_dir=. 2694 for ac_exec_ext in '' $ac_executable_extensions; do 2695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2696 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2698 break 2 2699 fi 2700done 2701done 2702IFS=$as_save_IFS 2703 2704fi 2705fi 2706CC=$ac_cv_prog_CC 2707if test -n "$CC"; then 2708 { echo "$as_me:$LINENO: result: $CC" >&5 2709echo "${ECHO_T}$CC" >&6; } 2710else 2711 { echo "$as_me:$LINENO: result: no" >&5 2712echo "${ECHO_T}no" >&6; } 2713fi 2714 2715 2716fi 2717if test -z "$ac_cv_prog_CC"; then 2718 ac_ct_CC=$CC 2719 # Extract the first word of "gcc", so it can be a program name with args. 2720set dummy gcc; ac_word=$2 2721{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2722echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2723if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2724 echo $ECHO_N "(cached) $ECHO_C" >&6 2725else 2726 if test -n "$ac_ct_CC"; then 2727 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2728else 2729as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2730for as_dir in $PATH 2731do 2732 IFS=$as_save_IFS 2733 test -z "$as_dir" && as_dir=. 2734 for ac_exec_ext in '' $ac_executable_extensions; do 2735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2736 ac_cv_prog_ac_ct_CC="gcc" 2737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2738 break 2 2739 fi 2740done 2741done 2742IFS=$as_save_IFS 2743 2744fi 2745fi 2746ac_ct_CC=$ac_cv_prog_ac_ct_CC 2747if test -n "$ac_ct_CC"; then 2748 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2749echo "${ECHO_T}$ac_ct_CC" >&6; } 2750else 2751 { echo "$as_me:$LINENO: result: no" >&5 2752echo "${ECHO_T}no" >&6; } 2753fi 2754 2755 if test "x$ac_ct_CC" = x; then 2756 CC="" 2757 else 2758 case $cross_compiling:$ac_tool_warned in 2759yes:) 2760{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2761whose name does not start with the host triplet. If you think this 2762configuration is useful to you, please write to autoconf@gnu.org." >&5 2763echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2764whose name does not start with the host triplet. If you think this 2765configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2766ac_tool_warned=yes ;; 2767esac 2768 CC=$ac_ct_CC 2769 fi 2770else 2771 CC="$ac_cv_prog_CC" 2772fi 2773 2774if test -z "$CC"; then 2775 if test -n "$ac_tool_prefix"; then 2776 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2777set dummy ${ac_tool_prefix}cc; ac_word=$2 2778{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2779echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2780if test "${ac_cv_prog_CC+set}" = set; then 2781 echo $ECHO_N "(cached) $ECHO_C" >&6 2782else 2783 if test -n "$CC"; then 2784 ac_cv_prog_CC="$CC" # Let the user override the test. 2785else 2786as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2787for as_dir in $PATH 2788do 2789 IFS=$as_save_IFS 2790 test -z "$as_dir" && as_dir=. 2791 for ac_exec_ext in '' $ac_executable_extensions; do 2792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2793 ac_cv_prog_CC="${ac_tool_prefix}cc" 2794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2795 break 2 2796 fi 2797done 2798done 2799IFS=$as_save_IFS 2800 2801fi 2802fi 2803CC=$ac_cv_prog_CC 2804if test -n "$CC"; then 2805 { echo "$as_me:$LINENO: result: $CC" >&5 2806echo "${ECHO_T}$CC" >&6; } 2807else 2808 { echo "$as_me:$LINENO: result: no" >&5 2809echo "${ECHO_T}no" >&6; } 2810fi 2811 2812 2813 fi 2814fi 2815if test -z "$CC"; then 2816 # Extract the first word of "cc", so it can be a program name with args. 2817set dummy cc; ac_word=$2 2818{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2819echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2820if test "${ac_cv_prog_CC+set}" = set; then 2821 echo $ECHO_N "(cached) $ECHO_C" >&6 2822else 2823 if test -n "$CC"; then 2824 ac_cv_prog_CC="$CC" # Let the user override the test. 2825else 2826 ac_prog_rejected=no 2827as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2828for as_dir in $PATH 2829do 2830 IFS=$as_save_IFS 2831 test -z "$as_dir" && as_dir=. 2832 for ac_exec_ext in '' $ac_executable_extensions; do 2833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2834 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2835 ac_prog_rejected=yes 2836 continue 2837 fi 2838 ac_cv_prog_CC="cc" 2839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2840 break 2 2841 fi 2842done 2843done 2844IFS=$as_save_IFS 2845 2846if test $ac_prog_rejected = yes; then 2847 # We found a bogon in the path, so make sure we never use it. 2848 set dummy $ac_cv_prog_CC 2849 shift 2850 if test $# != 0; then 2851 # We chose a different compiler from the bogus one. 2852 # However, it has the same basename, so the bogon will be chosen 2853 # first if we set CC to just the basename; use the full file name. 2854 shift 2855 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2856 fi 2857fi 2858fi 2859fi 2860CC=$ac_cv_prog_CC 2861if test -n "$CC"; then 2862 { echo "$as_me:$LINENO: result: $CC" >&5 2863echo "${ECHO_T}$CC" >&6; } 2864else 2865 { echo "$as_me:$LINENO: result: no" >&5 2866echo "${ECHO_T}no" >&6; } 2867fi 2868 2869 2870fi 2871if test -z "$CC"; then 2872 if test -n "$ac_tool_prefix"; then 2873 for ac_prog in cl.exe 2874 do 2875 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2876set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2877{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2878echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2879if test "${ac_cv_prog_CC+set}" = set; then 2880 echo $ECHO_N "(cached) $ECHO_C" >&6 2881else 2882 if test -n "$CC"; then 2883 ac_cv_prog_CC="$CC" # Let the user override the test. 2884else 2885as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2886for as_dir in $PATH 2887do 2888 IFS=$as_save_IFS 2889 test -z "$as_dir" && as_dir=. 2890 for ac_exec_ext in '' $ac_executable_extensions; do 2891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2892 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2894 break 2 2895 fi 2896done 2897done 2898IFS=$as_save_IFS 2899 2900fi 2901fi 2902CC=$ac_cv_prog_CC 2903if test -n "$CC"; then 2904 { echo "$as_me:$LINENO: result: $CC" >&5 2905echo "${ECHO_T}$CC" >&6; } 2906else 2907 { echo "$as_me:$LINENO: result: no" >&5 2908echo "${ECHO_T}no" >&6; } 2909fi 2910 2911 2912 test -n "$CC" && break 2913 done 2914fi 2915if test -z "$CC"; then 2916 ac_ct_CC=$CC 2917 for ac_prog in cl.exe 2918do 2919 # Extract the first word of "$ac_prog", so it can be a program name with args. 2920set dummy $ac_prog; ac_word=$2 2921{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2922echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2923if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2924 echo $ECHO_N "(cached) $ECHO_C" >&6 2925else 2926 if test -n "$ac_ct_CC"; then 2927 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2928else 2929as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2930for as_dir in $PATH 2931do 2932 IFS=$as_save_IFS 2933 test -z "$as_dir" && as_dir=. 2934 for ac_exec_ext in '' $ac_executable_extensions; do 2935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2936 ac_cv_prog_ac_ct_CC="$ac_prog" 2937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2938 break 2 2939 fi 2940done 2941done 2942IFS=$as_save_IFS 2943 2944fi 2945fi 2946ac_ct_CC=$ac_cv_prog_ac_ct_CC 2947if test -n "$ac_ct_CC"; then 2948 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2949echo "${ECHO_T}$ac_ct_CC" >&6; } 2950else 2951 { echo "$as_me:$LINENO: result: no" >&5 2952echo "${ECHO_T}no" >&6; } 2953fi 2954 2955 2956 test -n "$ac_ct_CC" && break 2957done 2958 2959 if test "x$ac_ct_CC" = x; then 2960 CC="" 2961 else 2962 case $cross_compiling:$ac_tool_warned in 2963yes:) 2964{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2965whose name does not start with the host triplet. If you think this 2966configuration is useful to you, please write to autoconf@gnu.org." >&5 2967echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2968whose name does not start with the host triplet. If you think this 2969configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2970ac_tool_warned=yes ;; 2971esac 2972 CC=$ac_ct_CC 2973 fi 2974fi 2975 2976fi 2977 2978 2979test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2980See \`config.log' for more details." >&5 2981echo "$as_me: error: no acceptable C compiler found in \$PATH 2982See \`config.log' for more details." >&2;} 2983 { (exit 1); exit 1; }; } 2984 2985# Provide some information about the compiler. 2986echo "$as_me:$LINENO: checking for C compiler version" >&5 2987ac_compiler=`set X $ac_compile; echo $2` 2988{ (ac_try="$ac_compiler --version >&5" 2989case "(($ac_try" in 2990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2991 *) ac_try_echo=$ac_try;; 2992esac 2993eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2994 (eval "$ac_compiler --version >&5") 2>&5 2995 ac_status=$? 2996 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2997 (exit $ac_status); } 2998{ (ac_try="$ac_compiler -v >&5" 2999case "(($ac_try" in 3000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3001 *) ac_try_echo=$ac_try;; 3002esac 3003eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3004 (eval "$ac_compiler -v >&5") 2>&5 3005 ac_status=$? 3006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3007 (exit $ac_status); } 3008{ (ac_try="$ac_compiler -V >&5" 3009case "(($ac_try" in 3010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3011 *) ac_try_echo=$ac_try;; 3012esac 3013eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3014 (eval "$ac_compiler -V >&5") 2>&5 3015 ac_status=$? 3016 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3017 (exit $ac_status); } 3018 3019cat >conftest.$ac_ext <<_ACEOF 3020/* confdefs.h. */ 3021_ACEOF 3022cat confdefs.h >>conftest.$ac_ext 3023cat >>conftest.$ac_ext <<_ACEOF 3024/* end confdefs.h. */ 3025 3026int 3027main () 3028{ 3029 3030 ; 3031 return 0; 3032} 3033_ACEOF 3034ac_clean_files_save=$ac_clean_files 3035ac_clean_files="$ac_clean_files a.out a.exe b.out" 3036# Try to create an executable without -o first, disregard a.out. 3037# It will help us diagnose broken compilers, and finding out an intuition 3038# of exeext. 3039{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 3040echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 3041ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3042# 3043# List of possible output files, starting from the most likely. 3044# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 3045# only as a last resort. b.out is created by i960 compilers. 3046ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 3047# 3048# The IRIX 6 linker writes into existing files which may not be 3049# executable, retaining their permissions. Remove them first so a 3050# subsequent execution test works. 3051ac_rmfiles= 3052for ac_file in $ac_files 3053do 3054 case $ac_file in 3055 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 3056 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3057 esac 3058done 3059rm -f $ac_rmfiles 3060 3061if { (ac_try="$ac_link_default" 3062case "(($ac_try" in 3063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3064 *) ac_try_echo=$ac_try;; 3065esac 3066eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3067 (eval "$ac_link_default") 2>&5 3068 ac_status=$? 3069 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3070 (exit $ac_status); }; then 3071 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3072# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3073# in a Makefile. We should not override ac_cv_exeext if it was cached, 3074# so that the user can short-circuit this test for compilers unknown to 3075# Autoconf. 3076for ac_file in $ac_files '' 3077do 3078 test -f "$ac_file" || continue 3079 case $ac_file in 3080 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 3081 ;; 3082 [ab].out ) 3083 # We found the default executable, but exeext='' is most 3084 # certainly right. 3085 break;; 3086 *.* ) 3087 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3088 then :; else 3089 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3090 fi 3091 # We set ac_cv_exeext here because the later test for it is not 3092 # safe: cross compilers may not add the suffix if given an `-o' 3093 # argument, so we may need to know it at that point already. 3094 # Even if this section looks crufty: it has the advantage of 3095 # actually working. 3096 break;; 3097 * ) 3098 break;; 3099 esac 3100done 3101test "$ac_cv_exeext" = no && ac_cv_exeext= 3102 3103else 3104 ac_file='' 3105fi 3106 3107{ echo "$as_me:$LINENO: result: $ac_file" >&5 3108echo "${ECHO_T}$ac_file" >&6; } 3109if test -z "$ac_file"; then 3110 echo "$as_me: failed program was:" >&5 3111sed 's/^/| /' conftest.$ac_ext >&5 3112 3113{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 3114See \`config.log' for more details." >&5 3115echo "$as_me: error: C compiler cannot create executables 3116See \`config.log' for more details." >&2;} 3117 { (exit 77); exit 77; }; } 3118fi 3119 3120ac_exeext=$ac_cv_exeext 3121 3122# Check that the compiler produces executables we can run. If not, either 3123# the compiler is broken, or we cross compile. 3124{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 3125echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 3126# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 3127# If not cross compiling, check that we can run a simple program. 3128if test "$cross_compiling" != yes; then 3129 if { ac_try='./$ac_file' 3130 { (case "(($ac_try" in 3131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3132 *) ac_try_echo=$ac_try;; 3133esac 3134eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3135 (eval "$ac_try") 2>&5 3136 ac_status=$? 3137 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3138 (exit $ac_status); }; }; then 3139 cross_compiling=no 3140 else 3141 if test "$cross_compiling" = maybe; then 3142 cross_compiling=yes 3143 else 3144 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 3145If you meant to cross compile, use \`--host'. 3146See \`config.log' for more details." >&5 3147echo "$as_me: error: cannot run C compiled programs. 3148If you meant to cross compile, use \`--host'. 3149See \`config.log' for more details." >&2;} 3150 { (exit 1); exit 1; }; } 3151 fi 3152 fi 3153fi 3154{ echo "$as_me:$LINENO: result: yes" >&5 3155echo "${ECHO_T}yes" >&6; } 3156 3157rm -f a.out a.exe conftest$ac_cv_exeext b.out 3158ac_clean_files=$ac_clean_files_save 3159# Check that the compiler produces executables we can run. If not, either 3160# the compiler is broken, or we cross compile. 3161{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 3162echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 3163{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 3164echo "${ECHO_T}$cross_compiling" >&6; } 3165 3166{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 3167echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 3168if { (ac_try="$ac_link" 3169case "(($ac_try" in 3170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3171 *) ac_try_echo=$ac_try;; 3172esac 3173eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3174 (eval "$ac_link") 2>&5 3175 ac_status=$? 3176 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3177 (exit $ac_status); }; then 3178 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3179# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3180# work properly (i.e., refer to `conftest.exe'), while it won't with 3181# `rm'. 3182for ac_file in conftest.exe conftest conftest.*; do 3183 test -f "$ac_file" || continue 3184 case $ac_file in 3185 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 3186 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3187 break;; 3188 * ) break;; 3189 esac 3190done 3191else 3192 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 3193See \`config.log' for more details." >&5 3194echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 3195See \`config.log' for more details." >&2;} 3196 { (exit 1); exit 1; }; } 3197fi 3198 3199rm -f conftest$ac_cv_exeext 3200{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3201echo "${ECHO_T}$ac_cv_exeext" >&6; } 3202 3203rm -f conftest.$ac_ext 3204EXEEXT=$ac_cv_exeext 3205ac_exeext=$EXEEXT 3206{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 3207echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 3208if test "${ac_cv_objext+set}" = set; then 3209 echo $ECHO_N "(cached) $ECHO_C" >&6 3210else 3211 cat >conftest.$ac_ext <<_ACEOF 3212/* confdefs.h. */ 3213_ACEOF 3214cat confdefs.h >>conftest.$ac_ext 3215cat >>conftest.$ac_ext <<_ACEOF 3216/* end confdefs.h. */ 3217 3218int 3219main () 3220{ 3221 3222 ; 3223 return 0; 3224} 3225_ACEOF 3226rm -f conftest.o conftest.obj 3227if { (ac_try="$ac_compile" 3228case "(($ac_try" in 3229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3230 *) ac_try_echo=$ac_try;; 3231esac 3232eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3233 (eval "$ac_compile") 2>&5 3234 ac_status=$? 3235 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3236 (exit $ac_status); }; then 3237 for ac_file in conftest.o conftest.obj conftest.*; do 3238 test -f "$ac_file" || continue; 3239 case $ac_file in 3240 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 3241 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3242 break;; 3243 esac 3244done 3245else 3246 echo "$as_me: failed program was:" >&5 3247sed 's/^/| /' conftest.$ac_ext >&5 3248 3249{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 3250See \`config.log' for more details." >&5 3251echo "$as_me: error: cannot compute suffix of object files: cannot compile 3252See \`config.log' for more details." >&2;} 3253 { (exit 1); exit 1; }; } 3254fi 3255 3256rm -f conftest.$ac_cv_objext conftest.$ac_ext 3257fi 3258{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3259echo "${ECHO_T}$ac_cv_objext" >&6; } 3260OBJEXT=$ac_cv_objext 3261ac_objext=$OBJEXT 3262{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3263echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 3264if test "${ac_cv_c_compiler_gnu+set}" = set; then 3265 echo $ECHO_N "(cached) $ECHO_C" >&6 3266else 3267 cat >conftest.$ac_ext <<_ACEOF 3268/* confdefs.h. */ 3269_ACEOF 3270cat confdefs.h >>conftest.$ac_ext 3271cat >>conftest.$ac_ext <<_ACEOF 3272/* end confdefs.h. */ 3273 3274int 3275main () 3276{ 3277#ifndef __GNUC__ 3278 choke me 3279#endif 3280 3281 ; 3282 return 0; 3283} 3284_ACEOF 3285rm -f conftest.$ac_objext 3286if { (ac_try="$ac_compile" 3287case "(($ac_try" in 3288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3289 *) ac_try_echo=$ac_try;; 3290esac 3291eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3292 (eval "$ac_compile") 2>conftest.er1 3293 ac_status=$? 3294 grep -v '^ *+' conftest.er1 >conftest.err 3295 rm -f conftest.er1 3296 cat conftest.err >&5 3297 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3298 (exit $ac_status); } && { 3299 test -z "$ac_c_werror_flag" || 3300 test ! -s conftest.err 3301 } && test -s conftest.$ac_objext; then 3302 ac_compiler_gnu=yes 3303else 3304 echo "$as_me: failed program was:" >&5 3305sed 's/^/| /' conftest.$ac_ext >&5 3306 3307 ac_compiler_gnu=no 3308fi 3309 3310rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3311ac_cv_c_compiler_gnu=$ac_compiler_gnu 3312 3313fi 3314{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3315echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 3316GCC=`test $ac_compiler_gnu = yes && echo yes` 3317ac_test_CFLAGS=${CFLAGS+set} 3318ac_save_CFLAGS=$CFLAGS 3319{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3320echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 3321if test "${ac_cv_prog_cc_g+set}" = set; then 3322 echo $ECHO_N "(cached) $ECHO_C" >&6 3323else 3324 ac_save_c_werror_flag=$ac_c_werror_flag 3325 ac_c_werror_flag=yes 3326 ac_cv_prog_cc_g=no 3327 CFLAGS="-g" 3328 cat >conftest.$ac_ext <<_ACEOF 3329/* confdefs.h. */ 3330_ACEOF 3331cat confdefs.h >>conftest.$ac_ext 3332cat >>conftest.$ac_ext <<_ACEOF 3333/* end confdefs.h. */ 3334 3335int 3336main () 3337{ 3338 3339 ; 3340 return 0; 3341} 3342_ACEOF 3343rm -f conftest.$ac_objext 3344if { (ac_try="$ac_compile" 3345case "(($ac_try" in 3346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3347 *) ac_try_echo=$ac_try;; 3348esac 3349eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3350 (eval "$ac_compile") 2>conftest.er1 3351 ac_status=$? 3352 grep -v '^ *+' conftest.er1 >conftest.err 3353 rm -f conftest.er1 3354 cat conftest.err >&5 3355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3356 (exit $ac_status); } && { 3357 test -z "$ac_c_werror_flag" || 3358 test ! -s conftest.err 3359 } && test -s conftest.$ac_objext; then 3360 ac_cv_prog_cc_g=yes 3361else 3362 echo "$as_me: failed program was:" >&5 3363sed 's/^/| /' conftest.$ac_ext >&5 3364 3365 CFLAGS="" 3366 cat >conftest.$ac_ext <<_ACEOF 3367/* confdefs.h. */ 3368_ACEOF 3369cat confdefs.h >>conftest.$ac_ext 3370cat >>conftest.$ac_ext <<_ACEOF 3371/* end confdefs.h. */ 3372 3373int 3374main () 3375{ 3376 3377 ; 3378 return 0; 3379} 3380_ACEOF 3381rm -f conftest.$ac_objext 3382if { (ac_try="$ac_compile" 3383case "(($ac_try" in 3384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3385 *) ac_try_echo=$ac_try;; 3386esac 3387eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3388 (eval "$ac_compile") 2>conftest.er1 3389 ac_status=$? 3390 grep -v '^ *+' conftest.er1 >conftest.err 3391 rm -f conftest.er1 3392 cat conftest.err >&5 3393 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3394 (exit $ac_status); } && { 3395 test -z "$ac_c_werror_flag" || 3396 test ! -s conftest.err 3397 } && test -s conftest.$ac_objext; then 3398 : 3399else 3400 echo "$as_me: failed program was:" >&5 3401sed 's/^/| /' conftest.$ac_ext >&5 3402 3403 ac_c_werror_flag=$ac_save_c_werror_flag 3404 CFLAGS="-g" 3405 cat >conftest.$ac_ext <<_ACEOF 3406/* confdefs.h. */ 3407_ACEOF 3408cat confdefs.h >>conftest.$ac_ext 3409cat >>conftest.$ac_ext <<_ACEOF 3410/* end confdefs.h. */ 3411 3412int 3413main () 3414{ 3415 3416 ; 3417 return 0; 3418} 3419_ACEOF 3420rm -f conftest.$ac_objext 3421if { (ac_try="$ac_compile" 3422case "(($ac_try" in 3423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3424 *) ac_try_echo=$ac_try;; 3425esac 3426eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3427 (eval "$ac_compile") 2>conftest.er1 3428 ac_status=$? 3429 grep -v '^ *+' conftest.er1 >conftest.err 3430 rm -f conftest.er1 3431 cat conftest.err >&5 3432 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3433 (exit $ac_status); } && { 3434 test -z "$ac_c_werror_flag" || 3435 test ! -s conftest.err 3436 } && test -s conftest.$ac_objext; then 3437 ac_cv_prog_cc_g=yes 3438else 3439 echo "$as_me: failed program was:" >&5 3440sed 's/^/| /' conftest.$ac_ext >&5 3441 3442 3443fi 3444 3445rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3446fi 3447 3448rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3449fi 3450 3451rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3452 ac_c_werror_flag=$ac_save_c_werror_flag 3453fi 3454{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3455echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 3456if test "$ac_test_CFLAGS" = set; then 3457 CFLAGS=$ac_save_CFLAGS 3458elif test $ac_cv_prog_cc_g = yes; then 3459 if test "$GCC" = yes; then 3460 CFLAGS="-g -O2" 3461 else 3462 CFLAGS="-g" 3463 fi 3464else 3465 if test "$GCC" = yes; then 3466 CFLAGS="-O2" 3467 else 3468 CFLAGS= 3469 fi 3470fi 3471{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3472echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 3473if test "${ac_cv_prog_cc_c89+set}" = set; then 3474 echo $ECHO_N "(cached) $ECHO_C" >&6 3475else 3476 ac_cv_prog_cc_c89=no 3477ac_save_CC=$CC 3478cat >conftest.$ac_ext <<_ACEOF 3479/* confdefs.h. */ 3480_ACEOF 3481cat confdefs.h >>conftest.$ac_ext 3482cat >>conftest.$ac_ext <<_ACEOF 3483/* end confdefs.h. */ 3484#include <stdarg.h> 3485#include <stdio.h> 3486#include <sys/types.h> 3487#include <sys/stat.h> 3488/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3489struct buf { int x; }; 3490FILE * (*rcsopen) (struct buf *, struct stat *, int); 3491static char *e (p, i) 3492 char **p; 3493 int i; 3494{ 3495 return p[i]; 3496} 3497static char *f (char * (*g) (char **, int), char **p, ...) 3498{ 3499 char *s; 3500 va_list v; 3501 va_start (v,p); 3502 s = g (p, va_arg (v,int)); 3503 va_end (v); 3504 return s; 3505} 3506 3507/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3508 function prototypes and stuff, but not '\xHH' hex character constants. 3509 These don't provoke an error unfortunately, instead are silently treated 3510 as 'x'. The following induces an error, until -std is added to get 3511 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3512 array size at least. It's necessary to write '\x00'==0 to get something 3513 that's true only with -std. */ 3514int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3515 3516/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3517 inside strings and character constants. */ 3518#define FOO(x) 'x' 3519int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3520 3521int test (int i, double x); 3522struct s1 {int (*f) (int a);}; 3523struct s2 {int (*f) (double a);}; 3524int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3525int argc; 3526char **argv; 3527int 3528main () 3529{ 3530return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3531 ; 3532 return 0; 3533} 3534_ACEOF 3535for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3536 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3537do 3538 CC="$ac_save_CC $ac_arg" 3539 rm -f conftest.$ac_objext 3540if { (ac_try="$ac_compile" 3541case "(($ac_try" in 3542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3543 *) ac_try_echo=$ac_try;; 3544esac 3545eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3546 (eval "$ac_compile") 2>conftest.er1 3547 ac_status=$? 3548 grep -v '^ *+' conftest.er1 >conftest.err 3549 rm -f conftest.er1 3550 cat conftest.err >&5 3551 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3552 (exit $ac_status); } && { 3553 test -z "$ac_c_werror_flag" || 3554 test ! -s conftest.err 3555 } && test -s conftest.$ac_objext; then 3556 ac_cv_prog_cc_c89=$ac_arg 3557else 3558 echo "$as_me: failed program was:" >&5 3559sed 's/^/| /' conftest.$ac_ext >&5 3560 3561 3562fi 3563 3564rm -f core conftest.err conftest.$ac_objext 3565 test "x$ac_cv_prog_cc_c89" != "xno" && break 3566done 3567rm -f conftest.$ac_ext 3568CC=$ac_save_CC 3569 3570fi 3571# AC_CACHE_VAL 3572case "x$ac_cv_prog_cc_c89" in 3573 x) 3574 { echo "$as_me:$LINENO: result: none needed" >&5 3575echo "${ECHO_T}none needed" >&6; } ;; 3576 xno) 3577 { echo "$as_me:$LINENO: result: unsupported" >&5 3578echo "${ECHO_T}unsupported" >&6; } ;; 3579 *) 3580 CC="$CC $ac_cv_prog_cc_c89" 3581 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3582echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 3583esac 3584 3585 3586ac_ext=c 3587ac_cpp='$CPP $CPPFLAGS' 3588ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3589ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3590ac_compiler_gnu=$ac_cv_c_compiler_gnu 3591 3592depcc="$CC" am_compiler_list= 3593 3594{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3595echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 3596if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3597 echo $ECHO_N "(cached) $ECHO_C" >&6 3598else 3599 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3600 # We make a subdir and do the tests there. Otherwise we can end up 3601 # making bogus files that we don't know about and never remove. For 3602 # instance it was reported that on HP-UX the gcc test will end up 3603 # making a dummy file named `D' -- because `-MD' means `put the output 3604 # in D'. 3605 mkdir conftest.dir 3606 # Copy depcomp to subdir because otherwise we won't find it if we're 3607 # using a relative directory. 3608 cp "$am_depcomp" conftest.dir 3609 cd conftest.dir 3610 # We will build objects and dependencies in a subdirectory because 3611 # it helps to detect inapplicable dependency modes. For instance 3612 # both Tru64's cc and ICC support -MD to output dependencies as a 3613 # side effect of compilation, but ICC will put the dependencies in 3614 # the current directory while Tru64 will put them in the object 3615 # directory. 3616 mkdir sub 3617 3618 am_cv_CC_dependencies_compiler_type=none 3619 if test "$am_compiler_list" = ""; then 3620 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3621 fi 3622 for depmode in $am_compiler_list; do 3623 # Setup a source with many dependencies, because some compilers 3624 # like to wrap large dependency lists on column 80 (with \), and 3625 # we should not choose a depcomp mode which is confused by this. 3626 # 3627 # We need to recreate these files for each test, as the compiler may 3628 # overwrite some of them when testing with obscure command lines. 3629 # This happens at least with the AIX C compiler. 3630 : > sub/conftest.c 3631 for i in 1 2 3 4 5 6; do 3632 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3633 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3634 # Solaris 8's {/usr,}/bin/sh. 3635 touch sub/conftst$i.h 3636 done 3637 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3638 3639 case $depmode in 3640 nosideeffect) 3641 # after this tag, mechanisms are not by side-effect, so they'll 3642 # only be used when explicitly requested 3643 if test "x$enable_dependency_tracking" = xyes; then 3644 continue 3645 else 3646 break 3647 fi 3648 ;; 3649 none) break ;; 3650 esac 3651 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3652 # mode. It turns out that the SunPro C++ compiler does not properly 3653 # handle `-M -o', and we need to detect this. 3654 if depmode=$depmode \ 3655 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3656 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3657 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3658 >/dev/null 2>conftest.err && 3659 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3660 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3661 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3662 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3663 # icc doesn't choke on unknown options, it will just issue warnings 3664 # or remarks (even with -Werror). So we grep stderr for any message 3665 # that says an option was ignored or not supported. 3666 # When given -MP, icc 7.0 and 7.1 complain thusly: 3667 # icc: Command line warning: ignoring option '-M'; no argument required 3668 # The diagnosis changed in icc 8.0: 3669 # icc: Command line remark: option '-MP' not supported 3670 if (grep 'ignoring option' conftest.err || 3671 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3672 am_cv_CC_dependencies_compiler_type=$depmode 3673 break 3674 fi 3675 fi 3676 done 3677 3678 cd .. 3679 rm -rf conftest.dir 3680else 3681 am_cv_CC_dependencies_compiler_type=none 3682fi 3683 3684fi 3685{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3686echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } 3687CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3688 3689 if 3690 test "x$enable_dependency_tracking" != xno \ 3691 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3692 am__fastdepCC_TRUE= 3693 am__fastdepCC_FALSE='#' 3694else 3695 am__fastdepCC_TRUE='#' 3696 am__fastdepCC_FALSE= 3697fi 3698 3699 3700# Make sure we can run config.sub. 3701$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3702 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 3703echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 3704 { (exit 1); exit 1; }; } 3705 3706{ echo "$as_me:$LINENO: checking build system type" >&5 3707echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 3708if test "${ac_cv_build+set}" = set; then 3709 echo $ECHO_N "(cached) $ECHO_C" >&6 3710else 3711 ac_build_alias=$build_alias 3712test "x$ac_build_alias" = x && 3713 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3714test "x$ac_build_alias" = x && 3715 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 3716echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 3717 { (exit 1); exit 1; }; } 3718ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3719 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 3720echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 3721 { (exit 1); exit 1; }; } 3722 3723fi 3724{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3725echo "${ECHO_T}$ac_cv_build" >&6; } 3726case $ac_cv_build in 3727*-*-*) ;; 3728*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 3729echo "$as_me: error: invalid value of canonical build" >&2;} 3730 { (exit 1); exit 1; }; };; 3731esac 3732build=$ac_cv_build 3733ac_save_IFS=$IFS; IFS='-' 3734set x $ac_cv_build 3735shift 3736build_cpu=$1 3737build_vendor=$2 3738shift; shift 3739# Remember, the first character of IFS is used to create $*, 3740# except with old shells: 3741build_os=$* 3742IFS=$ac_save_IFS 3743case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3744 3745 3746{ echo "$as_me:$LINENO: checking host system type" >&5 3747echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 3748if test "${ac_cv_host+set}" = set; then 3749 echo $ECHO_N "(cached) $ECHO_C" >&6 3750else 3751 if test "x$host_alias" = x; then 3752 ac_cv_host=$ac_cv_build 3753else 3754 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3755 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 3756echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 3757 { (exit 1); exit 1; }; } 3758fi 3759 3760fi 3761{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3762echo "${ECHO_T}$ac_cv_host" >&6; } 3763case $ac_cv_host in 3764*-*-*) ;; 3765*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 3766echo "$as_me: error: invalid value of canonical host" >&2;} 3767 { (exit 1); exit 1; }; };; 3768esac 3769host=$ac_cv_host 3770ac_save_IFS=$IFS; IFS='-' 3771set x $ac_cv_host 3772shift 3773host_cpu=$1 3774host_vendor=$2 3775shift; shift 3776# Remember, the first character of IFS is used to create $*, 3777# except with old shells: 3778host_os=$* 3779IFS=$ac_save_IFS 3780case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3781 3782 3783 3784# Check whether --with-gnu-ld was given. 3785if test "${with_gnu_ld+set}" = set; then 3786 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 3787else 3788 with_gnu_ld=no 3789fi 3790 3791# Prepare PATH_SEPARATOR. 3792# The user is always right. 3793if test "${PATH_SEPARATOR+set}" != set; then 3794 echo "#! /bin/sh" >conf$$.sh 3795 echo "exit 0" >>conf$$.sh 3796 chmod +x conf$$.sh 3797 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 3798 PATH_SEPARATOR=';' 3799 else 3800 PATH_SEPARATOR=: 3801 fi 3802 rm -f conf$$.sh 3803fi 3804ac_prog=ld 3805if test "$GCC" = yes; then 3806 # Check if gcc -print-prog-name=ld gives a path. 3807 { echo "$as_me:$LINENO: checking for ld used by GCC" >&5 3808echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; } 3809 case $host in 3810 *-*-mingw*) 3811 # gcc leaves a trailing carriage return which upsets mingw 3812 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 3813 *) 3814 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 3815 esac 3816 case $ac_prog in 3817 # Accept absolute paths. 3818 [\\/]* | [A-Za-z]:[\\/]*) 3819 re_direlt='/[^/][^/]*/\.\./' 3820 # Canonicalize the path of ld 3821 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` 3822 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do 3823 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 3824 done 3825 test -z "$LD" && LD="$ac_prog" 3826 ;; 3827 "") 3828 # If it fails, then pretend we aren't using GCC. 3829 ac_prog=ld 3830 ;; 3831 *) 3832 # If it is relative, then search for the first ld in PATH. 3833 with_gnu_ld=unknown 3834 ;; 3835 esac 3836elif test "$with_gnu_ld" = yes; then 3837 { echo "$as_me:$LINENO: checking for GNU ld" >&5 3838echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } 3839else 3840 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 3841echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } 3842fi 3843if test "${acl_cv_path_LD+set}" = set; then 3844 echo $ECHO_N "(cached) $ECHO_C" >&6 3845else 3846 if test -z "$LD"; then 3847 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 3848 for ac_dir in $PATH; do 3849 test -z "$ac_dir" && ac_dir=. 3850 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 3851 acl_cv_path_LD="$ac_dir/$ac_prog" 3852 # Check to see if the program is GNU ld. I'd rather use --version, 3853 # but apparently some GNU ld's only accept -v. 3854 # Break only if it was the GNU/non-GNU ld that we prefer. 3855 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in 3856 *GNU* | *'with BFD'*) 3857 test "$with_gnu_ld" != no && break ;; 3858 *) 3859 test "$with_gnu_ld" != yes && break ;; 3860 esac 3861 fi 3862 done 3863 IFS="$ac_save_ifs" 3864else 3865 acl_cv_path_LD="$LD" # Let the user override the test with a path. 3866fi 3867fi 3868 3869LD="$acl_cv_path_LD" 3870if test -n "$LD"; then 3871 { echo "$as_me:$LINENO: result: $LD" >&5 3872echo "${ECHO_T}$LD" >&6; } 3873else 3874 { echo "$as_me:$LINENO: result: no" >&5 3875echo "${ECHO_T}no" >&6; } 3876fi 3877test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 3878echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 3879 { (exit 1); exit 1; }; } 3880{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 3881echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } 3882if test "${acl_cv_prog_gnu_ld+set}" = set; then 3883 echo $ECHO_N "(cached) $ECHO_C" >&6 3884else 3885 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 3886case `$LD -v 2>&1 </dev/null` in 3887*GNU* | *'with BFD'*) 3888 acl_cv_prog_gnu_ld=yes ;; 3889*) 3890 acl_cv_prog_gnu_ld=no ;; 3891esac 3892fi 3893{ echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5 3894echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; } 3895with_gnu_ld=$acl_cv_prog_gnu_ld 3896 3897 3898 3899 3900 { echo "$as_me:$LINENO: checking for shared library run path origin" >&5 3901echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; } 3902if test "${acl_cv_rpath+set}" = set; then 3903 echo $ECHO_N "(cached) $ECHO_C" >&6 3904else 3905 3906 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 3907 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 3908 . ./conftest.sh 3909 rm -f ./conftest.sh 3910 acl_cv_rpath=done 3911 3912fi 3913{ echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5 3914echo "${ECHO_T}$acl_cv_rpath" >&6; } 3915 wl="$acl_cv_wl" 3916 acl_libext="$acl_cv_libext" 3917 acl_shlibext="$acl_cv_shlibext" 3918 acl_libname_spec="$acl_cv_libname_spec" 3919 acl_library_names_spec="$acl_cv_library_names_spec" 3920 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 3921 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 3922 acl_hardcode_direct="$acl_cv_hardcode_direct" 3923 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" 3924 # Check whether --enable-rpath was given. 3925if test "${enable_rpath+set}" = set; then 3926 enableval=$enable_rpath; : 3927else 3928 enable_rpath=yes 3929fi 3930 3931 3932 3933 acl_libdirstem=lib 3934 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` 3935 if test -n "$searchpath"; then 3936 acl_save_IFS="${IFS= }"; IFS=":" 3937 for searchdir in $searchpath; do 3938 if test -d "$searchdir"; then 3939 case "$searchdir" in 3940 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; 3941 *) searchdir=`cd "$searchdir" && pwd` 3942 case "$searchdir" in 3943 */lib64 ) acl_libdirstem=lib64 ;; 3944 esac ;; 3945 esac 3946 fi 3947 done 3948 IFS="$acl_save_IFS" 3949 fi 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 use_additional=yes 3960 3961 acl_save_prefix="$prefix" 3962 prefix="$acl_final_prefix" 3963 acl_save_exec_prefix="$exec_prefix" 3964 exec_prefix="$acl_final_exec_prefix" 3965 3966 eval additional_includedir=\"$includedir\" 3967 eval additional_libdir=\"$libdir\" 3968 3969 exec_prefix="$acl_save_exec_prefix" 3970 prefix="$acl_save_prefix" 3971 3972 3973# Check whether --with-libiconv-prefix was given. 3974if test "${with_libiconv_prefix+set}" = set; then 3975 withval=$with_libiconv_prefix; 3976 if test "X$withval" = "Xno"; then 3977 use_additional=no 3978 else 3979 if test "X$withval" = "X"; then 3980 3981 acl_save_prefix="$prefix" 3982 prefix="$acl_final_prefix" 3983 acl_save_exec_prefix="$exec_prefix" 3984 exec_prefix="$acl_final_exec_prefix" 3985 3986 eval additional_includedir=\"$includedir\" 3987 eval additional_libdir=\"$libdir\" 3988 3989 exec_prefix="$acl_save_exec_prefix" 3990 prefix="$acl_save_prefix" 3991 3992 else 3993 additional_includedir="$withval/include" 3994 additional_libdir="$withval/$acl_libdirstem" 3995 fi 3996 fi 3997 3998fi 3999 4000 LIBICONV= 4001 LTLIBICONV= 4002 INCICONV= 4003 LIBICONV_PREFIX= 4004 rpathdirs= 4005 ltrpathdirs= 4006 names_already_handled= 4007 names_next_round='iconv ' 4008 while test -n "$names_next_round"; do 4009 names_this_round="$names_next_round" 4010 names_next_round= 4011 for name in $names_this_round; do 4012 already_handled= 4013 for n in $names_already_handled; do 4014 if test "$n" = "$name"; then 4015 already_handled=yes 4016 break 4017 fi 4018 done 4019 if test -z "$already_handled"; then 4020 names_already_handled="$names_already_handled $name" 4021 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 4022 eval value=\"\$HAVE_LIB$uppername\" 4023 if test -n "$value"; then 4024 if test "$value" = yes; then 4025 eval value=\"\$LIB$uppername\" 4026 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" 4027 eval value=\"\$LTLIB$uppername\" 4028 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" 4029 else 4030 : 4031 fi 4032 else 4033 found_dir= 4034 found_la= 4035 found_so= 4036 found_a= 4037 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 4038 if test -n "$acl_shlibext"; then 4039 shrext=".$acl_shlibext" # typically: shrext=.so 4040 else 4041 shrext= 4042 fi 4043 if test $use_additional = yes; then 4044 dir="$additional_libdir" 4045 if test -n "$acl_shlibext"; then 4046 if test -f "$dir/$libname$shrext"; then 4047 found_dir="$dir" 4048 found_so="$dir/$libname$shrext" 4049 else 4050 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 4051 ver=`(cd "$dir" && \ 4052 for f in "$libname$shrext".*; do echo "$f"; done \ 4053 | sed -e "s,^$libname$shrext\\\\.,," \ 4054 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 4055 | sed 1q ) 2>/dev/null` 4056 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 4057 found_dir="$dir" 4058 found_so="$dir/$libname$shrext.$ver" 4059 fi 4060 else 4061 eval library_names=\"$acl_library_names_spec\" 4062 for f in $library_names; do 4063 if test -f "$dir/$f"; then 4064 found_dir="$dir" 4065 found_so="$dir/$f" 4066 break 4067 fi 4068 done 4069 fi 4070 fi 4071 fi 4072 if test "X$found_dir" = "X"; then 4073 if test -f "$dir/$libname.$acl_libext"; then 4074 found_dir="$dir" 4075 found_a="$dir/$libname.$acl_libext" 4076 fi 4077 fi 4078 if test "X$found_dir" != "X"; then 4079 if test -f "$dir/$libname.la"; then 4080 found_la="$dir/$libname.la" 4081 fi 4082 fi 4083 fi 4084 if test "X$found_dir" = "X"; then 4085 for x in $LDFLAGS $LTLIBICONV; do 4086 4087 acl_save_prefix="$prefix" 4088 prefix="$acl_final_prefix" 4089 acl_save_exec_prefix="$exec_prefix" 4090 exec_prefix="$acl_final_exec_prefix" 4091 eval x=\"$x\" 4092 exec_prefix="$acl_save_exec_prefix" 4093 prefix="$acl_save_prefix" 4094 4095 case "$x" in 4096 -L*) 4097 dir=`echo "X$x" | sed -e 's/^X-L//'` 4098 if test -n "$acl_shlibext"; then 4099 if test -f "$dir/$libname$shrext"; then 4100 found_dir="$dir" 4101 found_so="$dir/$libname$shrext" 4102 else 4103 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 4104 ver=`(cd "$dir" && \ 4105 for f in "$libname$shrext".*; do echo "$f"; done \ 4106 | sed -e "s,^$libname$shrext\\\\.,," \ 4107 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 4108 | sed 1q ) 2>/dev/null` 4109 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 4110 found_dir="$dir" 4111 found_so="$dir/$libname$shrext.$ver" 4112 fi 4113 else 4114 eval library_names=\"$acl_library_names_spec\" 4115 for f in $library_names; do 4116 if test -f "$dir/$f"; then 4117 found_dir="$dir" 4118 found_so="$dir/$f" 4119 break 4120 fi 4121 done 4122 fi 4123 fi 4124 fi 4125 if test "X$found_dir" = "X"; then 4126 if test -f "$dir/$libname.$acl_libext"; then 4127 found_dir="$dir" 4128 found_a="$dir/$libname.$acl_libext" 4129 fi 4130 fi 4131 if test "X$found_dir" != "X"; then 4132 if test -f "$dir/$libname.la"; then 4133 found_la="$dir/$libname.la" 4134 fi 4135 fi 4136 ;; 4137 esac 4138 if test "X$found_dir" != "X"; then 4139 break 4140 fi 4141 done 4142 fi 4143 if test "X$found_dir" != "X"; then 4144 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" 4145 if test "X$found_so" != "X"; then 4146 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then 4147 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 4148 else 4149 haveit= 4150 for x in $ltrpathdirs; do 4151 if test "X$x" = "X$found_dir"; then 4152 haveit=yes 4153 break 4154 fi 4155 done 4156 if test -z "$haveit"; then 4157 ltrpathdirs="$ltrpathdirs $found_dir" 4158 fi 4159 if test "$acl_hardcode_direct" = yes; then 4160 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 4161 else 4162 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 4163 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 4164 haveit= 4165 for x in $rpathdirs; do 4166 if test "X$x" = "X$found_dir"; then 4167 haveit=yes 4168 break 4169 fi 4170 done 4171 if test -z "$haveit"; then 4172 rpathdirs="$rpathdirs $found_dir" 4173 fi 4174 else 4175 haveit= 4176 for x in $LDFLAGS $LIBICONV; do 4177 4178 acl_save_prefix="$prefix" 4179 prefix="$acl_final_prefix" 4180 acl_save_exec_prefix="$exec_prefix" 4181 exec_prefix="$acl_final_exec_prefix" 4182 eval x=\"$x\" 4183 exec_prefix="$acl_save_exec_prefix" 4184 prefix="$acl_save_prefix" 4185 4186 if test "X$x" = "X-L$found_dir"; then 4187 haveit=yes 4188 break 4189 fi 4190 done 4191 if test -z "$haveit"; then 4192 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" 4193 fi 4194 if test "$acl_hardcode_minus_L" != no; then 4195 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 4196 else 4197 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 4198 fi 4199 fi 4200 fi 4201 fi 4202 else 4203 if test "X$found_a" != "X"; then 4204 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" 4205 else 4206 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" 4207 fi 4208 fi 4209 additional_includedir= 4210 case "$found_dir" in 4211 */$acl_libdirstem | */$acl_libdirstem/) 4212 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 4213 LIBICONV_PREFIX="$basedir" 4214 additional_includedir="$basedir/include" 4215 ;; 4216 esac 4217 if test "X$additional_includedir" != "X"; then 4218 if test "X$additional_includedir" != "X/usr/include"; then 4219 haveit= 4220 if test "X$additional_includedir" = "X/usr/local/include"; then 4221 if test -n "$GCC"; then 4222 case $host_os in 4223 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 4224 esac 4225 fi 4226 fi 4227 if test -z "$haveit"; then 4228 for x in $CPPFLAGS $INCICONV; do 4229 4230 acl_save_prefix="$prefix" 4231 prefix="$acl_final_prefix" 4232 acl_save_exec_prefix="$exec_prefix" 4233 exec_prefix="$acl_final_exec_prefix" 4234 eval x=\"$x\" 4235 exec_prefix="$acl_save_exec_prefix" 4236 prefix="$acl_save_prefix" 4237 4238 if test "X$x" = "X-I$additional_includedir"; then 4239 haveit=yes 4240 break 4241 fi 4242 done 4243 if test -z "$haveit"; then 4244 if test -d "$additional_includedir"; then 4245 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" 4246 fi 4247 fi 4248 fi 4249 fi 4250 fi 4251 if test -n "$found_la"; then 4252 save_libdir="$libdir" 4253 case "$found_la" in 4254 */* | *\\*) . "$found_la" ;; 4255 *) . "./$found_la" ;; 4256 esac 4257 libdir="$save_libdir" 4258 for dep in $dependency_libs; do 4259 case "$dep" in 4260 -L*) 4261 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 4262 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then 4263 haveit= 4264 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then 4265 if test -n "$GCC"; then 4266 case $host_os in 4267 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 4268 esac 4269 fi 4270 fi 4271 if test -z "$haveit"; then 4272 haveit= 4273 for x in $LDFLAGS $LIBICONV; do 4274 4275 acl_save_prefix="$prefix" 4276 prefix="$acl_final_prefix" 4277 acl_save_exec_prefix="$exec_prefix" 4278 exec_prefix="$acl_final_exec_prefix" 4279 eval x=\"$x\" 4280 exec_prefix="$acl_save_exec_prefix" 4281 prefix="$acl_save_prefix" 4282 4283 if test "X$x" = "X-L$additional_libdir"; then 4284 haveit=yes 4285 break 4286 fi 4287 done 4288 if test -z "$haveit"; then 4289 if test -d "$additional_libdir"; then 4290 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" 4291 fi 4292 fi 4293 haveit= 4294 for x in $LDFLAGS $LTLIBICONV; do 4295 4296 acl_save_prefix="$prefix" 4297 prefix="$acl_final_prefix" 4298 acl_save_exec_prefix="$exec_prefix" 4299 exec_prefix="$acl_final_exec_prefix" 4300 eval x=\"$x\" 4301 exec_prefix="$acl_save_exec_prefix" 4302 prefix="$acl_save_prefix" 4303 4304 if test "X$x" = "X-L$additional_libdir"; then 4305 haveit=yes 4306 break 4307 fi 4308 done 4309 if test -z "$haveit"; then 4310 if test -d "$additional_libdir"; then 4311 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" 4312 fi 4313 fi 4314 fi 4315 fi 4316 ;; 4317 -R*) 4318 dir=`echo "X$dep" | sed -e 's/^X-R//'` 4319 if test "$enable_rpath" != no; then 4320 haveit= 4321 for x in $rpathdirs; do 4322 if test "X$x" = "X$dir"; then 4323 haveit=yes 4324 break 4325 fi 4326 done 4327 if test -z "$haveit"; then 4328 rpathdirs="$rpathdirs $dir" 4329 fi 4330 haveit= 4331 for x in $ltrpathdirs; do 4332 if test "X$x" = "X$dir"; then 4333 haveit=yes 4334 break 4335 fi 4336 done 4337 if test -z "$haveit"; then 4338 ltrpathdirs="$ltrpathdirs $dir" 4339 fi 4340 fi 4341 ;; 4342 -l*) 4343 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 4344 ;; 4345 *.la) 4346 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 4347 ;; 4348 *) 4349 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" 4350 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" 4351 ;; 4352 esac 4353 done 4354 fi 4355 else 4356 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 4357 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" 4358 fi 4359 fi 4360 fi 4361 done 4362 done 4363 if test "X$rpathdirs" != "X"; then 4364 if test -n "$acl_hardcode_libdir_separator"; then 4365 alldirs= 4366 for found_dir in $rpathdirs; do 4367 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 4368 done 4369 acl_save_libdir="$libdir" 4370 libdir="$alldirs" 4371 eval flag=\"$acl_hardcode_libdir_flag_spec\" 4372 libdir="$acl_save_libdir" 4373 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 4374 else 4375 for found_dir in $rpathdirs; do 4376 acl_save_libdir="$libdir" 4377 libdir="$found_dir" 4378 eval flag=\"$acl_hardcode_libdir_flag_spec\" 4379 libdir="$acl_save_libdir" 4380 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 4381 done 4382 fi 4383 fi 4384 if test "X$ltrpathdirs" != "X"; then 4385 for found_dir in $ltrpathdirs; do 4386 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" 4387 done 4388 fi 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 { echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5 4416echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6; } 4417if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then 4418 echo $ECHO_N "(cached) $ECHO_C" >&6 4419else 4420 gt_save_LIBS="$LIBS" 4421 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 4422 cat >conftest.$ac_ext <<_ACEOF 4423/* confdefs.h. */ 4424_ACEOF 4425cat confdefs.h >>conftest.$ac_ext 4426cat >>conftest.$ac_ext <<_ACEOF 4427/* end confdefs.h. */ 4428#include <CoreFoundation/CFPreferences.h> 4429int 4430main () 4431{ 4432CFPreferencesCopyAppValue(NULL, NULL) 4433 ; 4434 return 0; 4435} 4436_ACEOF 4437rm -f conftest.$ac_objext conftest$ac_exeext 4438if { (ac_try="$ac_link" 4439case "(($ac_try" in 4440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4441 *) ac_try_echo=$ac_try;; 4442esac 4443eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4444 (eval "$ac_link") 2>conftest.er1 4445 ac_status=$? 4446 grep -v '^ *+' conftest.er1 >conftest.err 4447 rm -f conftest.er1 4448 cat conftest.err >&5 4449 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4450 (exit $ac_status); } && { 4451 test -z "$ac_c_werror_flag" || 4452 test ! -s conftest.err 4453 } && test -s conftest$ac_exeext && 4454 $as_test_x conftest$ac_exeext; then 4455 gt_cv_func_CFPreferencesCopyAppValue=yes 4456else 4457 echo "$as_me: failed program was:" >&5 4458sed 's/^/| /' conftest.$ac_ext >&5 4459 4460 gt_cv_func_CFPreferencesCopyAppValue=no 4461fi 4462 4463rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4464 conftest$ac_exeext conftest.$ac_ext 4465 LIBS="$gt_save_LIBS" 4466fi 4467{ echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 4468echo "${ECHO_T}$gt_cv_func_CFPreferencesCopyAppValue" >&6; } 4469 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 4470 4471cat >>confdefs.h <<\_ACEOF 4472#define HAVE_CFPREFERENCESCOPYAPPVALUE 1 4473_ACEOF 4474 4475 fi 4476 { echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5 4477echo $ECHO_N "checking for CFLocaleCopyCurrent... $ECHO_C" >&6; } 4478if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then 4479 echo $ECHO_N "(cached) $ECHO_C" >&6 4480else 4481 gt_save_LIBS="$LIBS" 4482 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 4483 cat >conftest.$ac_ext <<_ACEOF 4484/* confdefs.h. */ 4485_ACEOF 4486cat confdefs.h >>conftest.$ac_ext 4487cat >>conftest.$ac_ext <<_ACEOF 4488/* end confdefs.h. */ 4489#include <CoreFoundation/CFLocale.h> 4490int 4491main () 4492{ 4493CFLocaleCopyCurrent(); 4494 ; 4495 return 0; 4496} 4497_ACEOF 4498rm -f conftest.$ac_objext conftest$ac_exeext 4499if { (ac_try="$ac_link" 4500case "(($ac_try" in 4501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4502 *) ac_try_echo=$ac_try;; 4503esac 4504eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4505 (eval "$ac_link") 2>conftest.er1 4506 ac_status=$? 4507 grep -v '^ *+' conftest.er1 >conftest.err 4508 rm -f conftest.er1 4509 cat conftest.err >&5 4510 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4511 (exit $ac_status); } && { 4512 test -z "$ac_c_werror_flag" || 4513 test ! -s conftest.err 4514 } && test -s conftest$ac_exeext && 4515 $as_test_x conftest$ac_exeext; then 4516 gt_cv_func_CFLocaleCopyCurrent=yes 4517else 4518 echo "$as_me: failed program was:" >&5 4519sed 's/^/| /' conftest.$ac_ext >&5 4520 4521 gt_cv_func_CFLocaleCopyCurrent=no 4522fi 4523 4524rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4525 conftest$ac_exeext conftest.$ac_ext 4526 LIBS="$gt_save_LIBS" 4527fi 4528{ echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 4529echo "${ECHO_T}$gt_cv_func_CFLocaleCopyCurrent" >&6; } 4530 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then 4531 4532cat >>confdefs.h <<\_ACEOF 4533#define HAVE_CFLOCALECOPYCURRENT 1 4534_ACEOF 4535 4536 fi 4537 INTL_MACOSX_LIBS= 4538 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then 4539 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 4540 fi 4541 4542 4543 4544 4545 4546 4547 LIBINTL= 4548 LTLIBINTL= 4549 POSUB= 4550 4551 case " $gt_needs " in 4552 *" need-formatstring-macros "*) gt_api_version=3 ;; 4553 *" need-ngettext "*) gt_api_version=2 ;; 4554 *) gt_api_version=1 ;; 4555 esac 4556 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" 4557 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" 4558 4559 if test "$USE_NLS" = "yes"; then 4560 gt_use_preinstalled_gnugettext=no 4561 4562 4563 if test $gt_api_version -ge 3; then 4564 gt_revision_test_code=' 4565#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 4566#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) 4567#endif 4568typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; 4569' 4570 else 4571 gt_revision_test_code= 4572 fi 4573 if test $gt_api_version -ge 2; then 4574 gt_expression_test_code=' + * ngettext ("", "", 0)' 4575 else 4576 gt_expression_test_code= 4577 fi 4578 4579 { echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5 4580echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6; } 4581if { as_var=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; }; then 4582 echo $ECHO_N "(cached) $ECHO_C" >&6 4583else 4584 cat >conftest.$ac_ext <<_ACEOF 4585/* confdefs.h. */ 4586_ACEOF 4587cat confdefs.h >>conftest.$ac_ext 4588cat >>conftest.$ac_ext <<_ACEOF 4589/* end confdefs.h. */ 4590#include <libintl.h> 4591$gt_revision_test_code 4592extern int _nl_msg_cat_cntr; 4593extern int *_nl_domain_bindings; 4594int 4595main () 4596{ 4597bindtextdomain ("", ""); 4598return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings 4599 ; 4600 return 0; 4601} 4602_ACEOF 4603rm -f conftest.$ac_objext conftest$ac_exeext 4604if { (ac_try="$ac_link" 4605case "(($ac_try" in 4606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4607 *) ac_try_echo=$ac_try;; 4608esac 4609eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4610 (eval "$ac_link") 2>conftest.er1 4611 ac_status=$? 4612 grep -v '^ *+' conftest.er1 >conftest.err 4613 rm -f conftest.er1 4614 cat conftest.err >&5 4615 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4616 (exit $ac_status); } && { 4617 test -z "$ac_c_werror_flag" || 4618 test ! -s conftest.err 4619 } && test -s conftest$ac_exeext && 4620 $as_test_x conftest$ac_exeext; then 4621 eval "$gt_func_gnugettext_libc=yes" 4622else 4623 echo "$as_me: failed program was:" >&5 4624sed 's/^/| /' conftest.$ac_ext >&5 4625 4626 eval "$gt_func_gnugettext_libc=no" 4627fi 4628 4629rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4630 conftest$ac_exeext conftest.$ac_ext 4631fi 4632ac_res=`eval echo '${'$gt_func_gnugettext_libc'}'` 4633 { echo "$as_me:$LINENO: result: $ac_res" >&5 4634echo "${ECHO_T}$ac_res" >&6; } 4635 4636 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then 4637 4638 4639 4640 4641 4642 am_save_CPPFLAGS="$CPPFLAGS" 4643 4644 for element in $INCICONV; do 4645 haveit= 4646 for x in $CPPFLAGS; do 4647 4648 acl_save_prefix="$prefix" 4649 prefix="$acl_final_prefix" 4650 acl_save_exec_prefix="$exec_prefix" 4651 exec_prefix="$acl_final_exec_prefix" 4652 eval x=\"$x\" 4653 exec_prefix="$acl_save_exec_prefix" 4654 prefix="$acl_save_prefix" 4655 4656 if test "X$x" = "X$element"; then 4657 haveit=yes 4658 break 4659 fi 4660 done 4661 if test -z "$haveit"; then 4662 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 4663 fi 4664 done 4665 4666 4667 { echo "$as_me:$LINENO: checking for iconv" >&5 4668echo $ECHO_N "checking for iconv... $ECHO_C" >&6; } 4669if test "${am_cv_func_iconv+set}" = set; then 4670 echo $ECHO_N "(cached) $ECHO_C" >&6 4671else 4672 4673 am_cv_func_iconv="no, consider installing GNU libiconv" 4674 am_cv_lib_iconv=no 4675 cat >conftest.$ac_ext <<_ACEOF 4676/* confdefs.h. */ 4677_ACEOF 4678cat confdefs.h >>conftest.$ac_ext 4679cat >>conftest.$ac_ext <<_ACEOF 4680/* end confdefs.h. */ 4681#include <stdlib.h> 4682#include <iconv.h> 4683int 4684main () 4685{ 4686iconv_t cd = iconv_open("",""); 4687 iconv(cd,NULL,NULL,NULL,NULL); 4688 iconv_close(cd); 4689 ; 4690 return 0; 4691} 4692_ACEOF 4693rm -f conftest.$ac_objext conftest$ac_exeext 4694if { (ac_try="$ac_link" 4695case "(($ac_try" in 4696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4697 *) ac_try_echo=$ac_try;; 4698esac 4699eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4700 (eval "$ac_link") 2>conftest.er1 4701 ac_status=$? 4702 grep -v '^ *+' conftest.er1 >conftest.err 4703 rm -f conftest.er1 4704 cat conftest.err >&5 4705 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4706 (exit $ac_status); } && { 4707 test -z "$ac_c_werror_flag" || 4708 test ! -s conftest.err 4709 } && test -s conftest$ac_exeext && 4710 $as_test_x conftest$ac_exeext; then 4711 am_cv_func_iconv=yes 4712else 4713 echo "$as_me: failed program was:" >&5 4714sed 's/^/| /' conftest.$ac_ext >&5 4715 4716 4717fi 4718 4719rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4720 conftest$ac_exeext conftest.$ac_ext 4721 if test "$am_cv_func_iconv" != yes; then 4722 am_save_LIBS="$LIBS" 4723 LIBS="$LIBS $LIBICONV" 4724 cat >conftest.$ac_ext <<_ACEOF 4725/* confdefs.h. */ 4726_ACEOF 4727cat confdefs.h >>conftest.$ac_ext 4728cat >>conftest.$ac_ext <<_ACEOF 4729/* end confdefs.h. */ 4730#include <stdlib.h> 4731#include <iconv.h> 4732int 4733main () 4734{ 4735iconv_t cd = iconv_open("",""); 4736 iconv(cd,NULL,NULL,NULL,NULL); 4737 iconv_close(cd); 4738 ; 4739 return 0; 4740} 4741_ACEOF 4742rm -f conftest.$ac_objext conftest$ac_exeext 4743if { (ac_try="$ac_link" 4744case "(($ac_try" in 4745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4746 *) ac_try_echo=$ac_try;; 4747esac 4748eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4749 (eval "$ac_link") 2>conftest.er1 4750 ac_status=$? 4751 grep -v '^ *+' conftest.er1 >conftest.err 4752 rm -f conftest.er1 4753 cat conftest.err >&5 4754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4755 (exit $ac_status); } && { 4756 test -z "$ac_c_werror_flag" || 4757 test ! -s conftest.err 4758 } && test -s conftest$ac_exeext && 4759 $as_test_x conftest$ac_exeext; then 4760 am_cv_lib_iconv=yes 4761 am_cv_func_iconv=yes 4762else 4763 echo "$as_me: failed program was:" >&5 4764sed 's/^/| /' conftest.$ac_ext >&5 4765 4766 4767fi 4768 4769rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4770 conftest$ac_exeext conftest.$ac_ext 4771 LIBS="$am_save_LIBS" 4772 fi 4773 4774fi 4775{ echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 4776echo "${ECHO_T}$am_cv_func_iconv" >&6; } 4777 if test "$am_cv_func_iconv" = yes; then 4778 { echo "$as_me:$LINENO: checking for working iconv" >&5 4779echo $ECHO_N "checking for working iconv... $ECHO_C" >&6; } 4780if test "${am_cv_func_iconv_works+set}" = set; then 4781 echo $ECHO_N "(cached) $ECHO_C" >&6 4782else 4783 4784 am_save_LIBS="$LIBS" 4785 if test $am_cv_lib_iconv = yes; then 4786 LIBS="$LIBS $LIBICONV" 4787 fi 4788 if test "$cross_compiling" = yes; then 4789 case "$host_os" in 4790 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; 4791 *) am_cv_func_iconv_works="guessing yes" ;; 4792 esac 4793else 4794 cat >conftest.$ac_ext <<_ACEOF 4795/* confdefs.h. */ 4796_ACEOF 4797cat confdefs.h >>conftest.$ac_ext 4798cat >>conftest.$ac_ext <<_ACEOF 4799/* end confdefs.h. */ 4800 4801#include <iconv.h> 4802#include <string.h> 4803int main () 4804{ 4805 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful 4806 returns. */ 4807 { 4808 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); 4809 if (cd_utf8_to_88591 != (iconv_t)(-1)) 4810 { 4811 static const char input[] = "\342\202\254"; /* EURO SIGN */ 4812 char buf[10]; 4813 const char *inptr = input; 4814 size_t inbytesleft = strlen (input); 4815 char *outptr = buf; 4816 size_t outbytesleft = sizeof (buf); 4817 size_t res = iconv (cd_utf8_to_88591, 4818 (char **) &inptr, &inbytesleft, 4819 &outptr, &outbytesleft); 4820 if (res == 0) 4821 return 1; 4822 } 4823 } 4824#if 0 /* This bug could be worked around by the caller. */ 4825 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ 4826 { 4827 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); 4828 if (cd_88591_to_utf8 != (iconv_t)(-1)) 4829 { 4830 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; 4831 char buf[50]; 4832 const char *inptr = input; 4833 size_t inbytesleft = strlen (input); 4834 char *outptr = buf; 4835 size_t outbytesleft = sizeof (buf); 4836 size_t res = iconv (cd_88591_to_utf8, 4837 (char **) &inptr, &inbytesleft, 4838 &outptr, &outbytesleft); 4839 if ((int)res > 0) 4840 return 1; 4841 } 4842 } 4843#endif 4844 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is 4845 provided. */ 4846 if (/* Try standardized names. */ 4847 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) 4848 /* Try IRIX, OSF/1 names. */ 4849 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) 4850 /* Try AIX names. */ 4851 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) 4852 /* Try HP-UX names. */ 4853 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) 4854 return 1; 4855 return 0; 4856} 4857_ACEOF 4858rm -f conftest$ac_exeext 4859if { (ac_try="$ac_link" 4860case "(($ac_try" in 4861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4862 *) ac_try_echo=$ac_try;; 4863esac 4864eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4865 (eval "$ac_link") 2>&5 4866 ac_status=$? 4867 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4868 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4869 { (case "(($ac_try" in 4870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4871 *) ac_try_echo=$ac_try;; 4872esac 4873eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4874 (eval "$ac_try") 2>&5 4875 ac_status=$? 4876 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4877 (exit $ac_status); }; }; then 4878 am_cv_func_iconv_works=yes 4879else 4880 echo "$as_me: program exited with status $ac_status" >&5 4881echo "$as_me: failed program was:" >&5 4882sed 's/^/| /' conftest.$ac_ext >&5 4883 4884( exit $ac_status ) 4885am_cv_func_iconv_works=no 4886fi 4887rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4888fi 4889 4890 4891 LIBS="$am_save_LIBS" 4892 4893fi 4894{ echo "$as_me:$LINENO: result: $am_cv_func_iconv_works" >&5 4895echo "${ECHO_T}$am_cv_func_iconv_works" >&6; } 4896 case "$am_cv_func_iconv_works" in 4897 *no) am_func_iconv=no am_cv_lib_iconv=no ;; 4898 *) am_func_iconv=yes ;; 4899 esac 4900 else 4901 am_func_iconv=no am_cv_lib_iconv=no 4902 fi 4903 if test "$am_func_iconv" = yes; then 4904 4905cat >>confdefs.h <<\_ACEOF 4906#define HAVE_ICONV 1 4907_ACEOF 4908 4909 fi 4910 if test "$am_cv_lib_iconv" = yes; then 4911 { echo "$as_me:$LINENO: checking how to link with libiconv" >&5 4912echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; } 4913 { echo "$as_me:$LINENO: result: $LIBICONV" >&5 4914echo "${ECHO_T}$LIBICONV" >&6; } 4915 else 4916 CPPFLAGS="$am_save_CPPFLAGS" 4917 LIBICONV= 4918 LTLIBICONV= 4919 fi 4920 4921 4922 4923 4924 4925 4926 4927 4928 use_additional=yes 4929 4930 acl_save_prefix="$prefix" 4931 prefix="$acl_final_prefix" 4932 acl_save_exec_prefix="$exec_prefix" 4933 exec_prefix="$acl_final_exec_prefix" 4934 4935 eval additional_includedir=\"$includedir\" 4936 eval additional_libdir=\"$libdir\" 4937 4938 exec_prefix="$acl_save_exec_prefix" 4939 prefix="$acl_save_prefix" 4940 4941 4942# Check whether --with-libintl-prefix was given. 4943if test "${with_libintl_prefix+set}" = set; then 4944 withval=$with_libintl_prefix; 4945 if test "X$withval" = "Xno"; then 4946 use_additional=no 4947 else 4948 if test "X$withval" = "X"; then 4949 4950 acl_save_prefix="$prefix" 4951 prefix="$acl_final_prefix" 4952 acl_save_exec_prefix="$exec_prefix" 4953 exec_prefix="$acl_final_exec_prefix" 4954 4955 eval additional_includedir=\"$includedir\" 4956 eval additional_libdir=\"$libdir\" 4957 4958 exec_prefix="$acl_save_exec_prefix" 4959 prefix="$acl_save_prefix" 4960 4961 else 4962 additional_includedir="$withval/include" 4963 additional_libdir="$withval/$acl_libdirstem" 4964 fi 4965 fi 4966 4967fi 4968 4969 LIBINTL= 4970 LTLIBINTL= 4971 INCINTL= 4972 LIBINTL_PREFIX= 4973 rpathdirs= 4974 ltrpathdirs= 4975 names_already_handled= 4976 names_next_round='intl ' 4977 while test -n "$names_next_round"; do 4978 names_this_round="$names_next_round" 4979 names_next_round= 4980 for name in $names_this_round; do 4981 already_handled= 4982 for n in $names_already_handled; do 4983 if test "$n" = "$name"; then 4984 already_handled=yes 4985 break 4986 fi 4987 done 4988 if test -z "$already_handled"; then 4989 names_already_handled="$names_already_handled $name" 4990 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 4991 eval value=\"\$HAVE_LIB$uppername\" 4992 if test -n "$value"; then 4993 if test "$value" = yes; then 4994 eval value=\"\$LIB$uppername\" 4995 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" 4996 eval value=\"\$LTLIB$uppername\" 4997 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" 4998 else 4999 : 5000 fi 5001 else 5002 found_dir= 5003 found_la= 5004 found_so= 5005 found_a= 5006 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 5007 if test -n "$acl_shlibext"; then 5008 shrext=".$acl_shlibext" # typically: shrext=.so 5009 else 5010 shrext= 5011 fi 5012 if test $use_additional = yes; then 5013 dir="$additional_libdir" 5014 if test -n "$acl_shlibext"; then 5015 if test -f "$dir/$libname$shrext"; then 5016 found_dir="$dir" 5017 found_so="$dir/$libname$shrext" 5018 else 5019 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 5020 ver=`(cd "$dir" && \ 5021 for f in "$libname$shrext".*; do echo "$f"; done \ 5022 | sed -e "s,^$libname$shrext\\\\.,," \ 5023 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 5024 | sed 1q ) 2>/dev/null` 5025 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 5026 found_dir="$dir" 5027 found_so="$dir/$libname$shrext.$ver" 5028 fi 5029 else 5030 eval library_names=\"$acl_library_names_spec\" 5031 for f in $library_names; do 5032 if test -f "$dir/$f"; then 5033 found_dir="$dir" 5034 found_so="$dir/$f" 5035 break 5036 fi 5037 done 5038 fi 5039 fi 5040 fi 5041 if test "X$found_dir" = "X"; then 5042 if test -f "$dir/$libname.$acl_libext"; then 5043 found_dir="$dir" 5044 found_a="$dir/$libname.$acl_libext" 5045 fi 5046 fi 5047 if test "X$found_dir" != "X"; then 5048 if test -f "$dir/$libname.la"; then 5049 found_la="$dir/$libname.la" 5050 fi 5051 fi 5052 fi 5053 if test "X$found_dir" = "X"; then 5054 for x in $LDFLAGS $LTLIBINTL; do 5055 5056 acl_save_prefix="$prefix" 5057 prefix="$acl_final_prefix" 5058 acl_save_exec_prefix="$exec_prefix" 5059 exec_prefix="$acl_final_exec_prefix" 5060 eval x=\"$x\" 5061 exec_prefix="$acl_save_exec_prefix" 5062 prefix="$acl_save_prefix" 5063 5064 case "$x" in 5065 -L*) 5066 dir=`echo "X$x" | sed -e 's/^X-L//'` 5067 if test -n "$acl_shlibext"; then 5068 if test -f "$dir/$libname$shrext"; then 5069 found_dir="$dir" 5070 found_so="$dir/$libname$shrext" 5071 else 5072 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 5073 ver=`(cd "$dir" && \ 5074 for f in "$libname$shrext".*; do echo "$f"; done \ 5075 | sed -e "s,^$libname$shrext\\\\.,," \ 5076 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 5077 | sed 1q ) 2>/dev/null` 5078 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 5079 found_dir="$dir" 5080 found_so="$dir/$libname$shrext.$ver" 5081 fi 5082 else 5083 eval library_names=\"$acl_library_names_spec\" 5084 for f in $library_names; do 5085 if test -f "$dir/$f"; then 5086 found_dir="$dir" 5087 found_so="$dir/$f" 5088 break 5089 fi 5090 done 5091 fi 5092 fi 5093 fi 5094 if test "X$found_dir" = "X"; then 5095 if test -f "$dir/$libname.$acl_libext"; then 5096 found_dir="$dir" 5097 found_a="$dir/$libname.$acl_libext" 5098 fi 5099 fi 5100 if test "X$found_dir" != "X"; then 5101 if test -f "$dir/$libname.la"; then 5102 found_la="$dir/$libname.la" 5103 fi 5104 fi 5105 ;; 5106 esac 5107 if test "X$found_dir" != "X"; then 5108 break 5109 fi 5110 done 5111 fi 5112 if test "X$found_dir" != "X"; then 5113 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" 5114 if test "X$found_so" != "X"; then 5115 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then 5116 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 5117 else 5118 haveit= 5119 for x in $ltrpathdirs; do 5120 if test "X$x" = "X$found_dir"; then 5121 haveit=yes 5122 break 5123 fi 5124 done 5125 if test -z "$haveit"; then 5126 ltrpathdirs="$ltrpathdirs $found_dir" 5127 fi 5128 if test "$acl_hardcode_direct" = yes; then 5129 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 5130 else 5131 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 5132 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 5133 haveit= 5134 for x in $rpathdirs; do 5135 if test "X$x" = "X$found_dir"; then 5136 haveit=yes 5137 break 5138 fi 5139 done 5140 if test -z "$haveit"; then 5141 rpathdirs="$rpathdirs $found_dir" 5142 fi 5143 else 5144 haveit= 5145 for x in $LDFLAGS $LIBINTL; do 5146 5147 acl_save_prefix="$prefix" 5148 prefix="$acl_final_prefix" 5149 acl_save_exec_prefix="$exec_prefix" 5150 exec_prefix="$acl_final_exec_prefix" 5151 eval x=\"$x\" 5152 exec_prefix="$acl_save_exec_prefix" 5153 prefix="$acl_save_prefix" 5154 5155 if test "X$x" = "X-L$found_dir"; then 5156 haveit=yes 5157 break 5158 fi 5159 done 5160 if test -z "$haveit"; then 5161 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" 5162 fi 5163 if test "$acl_hardcode_minus_L" != no; then 5164 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 5165 else 5166 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 5167 fi 5168 fi 5169 fi 5170 fi 5171 else 5172 if test "X$found_a" != "X"; then 5173 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" 5174 else 5175 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" 5176 fi 5177 fi 5178 additional_includedir= 5179 case "$found_dir" in 5180 */$acl_libdirstem | */$acl_libdirstem/) 5181 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 5182 LIBINTL_PREFIX="$basedir" 5183 additional_includedir="$basedir/include" 5184 ;; 5185 esac 5186 if test "X$additional_includedir" != "X"; then 5187 if test "X$additional_includedir" != "X/usr/include"; then 5188 haveit= 5189 if test "X$additional_includedir" = "X/usr/local/include"; then 5190 if test -n "$GCC"; then 5191 case $host_os in 5192 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 5193 esac 5194 fi 5195 fi 5196 if test -z "$haveit"; then 5197 for x in $CPPFLAGS $INCINTL; do 5198 5199 acl_save_prefix="$prefix" 5200 prefix="$acl_final_prefix" 5201 acl_save_exec_prefix="$exec_prefix" 5202 exec_prefix="$acl_final_exec_prefix" 5203 eval x=\"$x\" 5204 exec_prefix="$acl_save_exec_prefix" 5205 prefix="$acl_save_prefix" 5206 5207 if test "X$x" = "X-I$additional_includedir"; then 5208 haveit=yes 5209 break 5210 fi 5211 done 5212 if test -z "$haveit"; then 5213 if test -d "$additional_includedir"; then 5214 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" 5215 fi 5216 fi 5217 fi 5218 fi 5219 fi 5220 if test -n "$found_la"; then 5221 save_libdir="$libdir" 5222 case "$found_la" in 5223 */* | *\\*) . "$found_la" ;; 5224 *) . "./$found_la" ;; 5225 esac 5226 libdir="$save_libdir" 5227 for dep in $dependency_libs; do 5228 case "$dep" in 5229 -L*) 5230 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 5231 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then 5232 haveit= 5233 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then 5234 if test -n "$GCC"; then 5235 case $host_os in 5236 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 5237 esac 5238 fi 5239 fi 5240 if test -z "$haveit"; then 5241 haveit= 5242 for x in $LDFLAGS $LIBINTL; do 5243 5244 acl_save_prefix="$prefix" 5245 prefix="$acl_final_prefix" 5246 acl_save_exec_prefix="$exec_prefix" 5247 exec_prefix="$acl_final_exec_prefix" 5248 eval x=\"$x\" 5249 exec_prefix="$acl_save_exec_prefix" 5250 prefix="$acl_save_prefix" 5251 5252 if test "X$x" = "X-L$additional_libdir"; then 5253 haveit=yes 5254 break 5255 fi 5256 done 5257 if test -z "$haveit"; then 5258 if test -d "$additional_libdir"; then 5259 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" 5260 fi 5261 fi 5262 haveit= 5263 for x in $LDFLAGS $LTLIBINTL; do 5264 5265 acl_save_prefix="$prefix" 5266 prefix="$acl_final_prefix" 5267 acl_save_exec_prefix="$exec_prefix" 5268 exec_prefix="$acl_final_exec_prefix" 5269 eval x=\"$x\" 5270 exec_prefix="$acl_save_exec_prefix" 5271 prefix="$acl_save_prefix" 5272 5273 if test "X$x" = "X-L$additional_libdir"; then 5274 haveit=yes 5275 break 5276 fi 5277 done 5278 if test -z "$haveit"; then 5279 if test -d "$additional_libdir"; then 5280 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" 5281 fi 5282 fi 5283 fi 5284 fi 5285 ;; 5286 -R*) 5287 dir=`echo "X$dep" | sed -e 's/^X-R//'` 5288 if test "$enable_rpath" != no; then 5289 haveit= 5290 for x in $rpathdirs; do 5291 if test "X$x" = "X$dir"; then 5292 haveit=yes 5293 break 5294 fi 5295 done 5296 if test -z "$haveit"; then 5297 rpathdirs="$rpathdirs $dir" 5298 fi 5299 haveit= 5300 for x in $ltrpathdirs; do 5301 if test "X$x" = "X$dir"; then 5302 haveit=yes 5303 break 5304 fi 5305 done 5306 if test -z "$haveit"; then 5307 ltrpathdirs="$ltrpathdirs $dir" 5308 fi 5309 fi 5310 ;; 5311 -l*) 5312 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 5313 ;; 5314 *.la) 5315 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 5316 ;; 5317 *) 5318 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" 5319 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" 5320 ;; 5321 esac 5322 done 5323 fi 5324 else 5325 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 5326 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" 5327 fi 5328 fi 5329 fi 5330 done 5331 done 5332 if test "X$rpathdirs" != "X"; then 5333 if test -n "$acl_hardcode_libdir_separator"; then 5334 alldirs= 5335 for found_dir in $rpathdirs; do 5336 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 5337 done 5338 acl_save_libdir="$libdir" 5339 libdir="$alldirs" 5340 eval flag=\"$acl_hardcode_libdir_flag_spec\" 5341 libdir="$acl_save_libdir" 5342 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 5343 else 5344 for found_dir in $rpathdirs; do 5345 acl_save_libdir="$libdir" 5346 libdir="$found_dir" 5347 eval flag=\"$acl_hardcode_libdir_flag_spec\" 5348 libdir="$acl_save_libdir" 5349 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 5350 done 5351 fi 5352 fi 5353 if test "X$ltrpathdirs" != "X"; then 5354 for found_dir in $ltrpathdirs; do 5355 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" 5356 done 5357 fi 5358 5359 { echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5 5360echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6; } 5361if { as_var=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set"; }; then 5362 echo $ECHO_N "(cached) $ECHO_C" >&6 5363else 5364 gt_save_CPPFLAGS="$CPPFLAGS" 5365 CPPFLAGS="$CPPFLAGS $INCINTL" 5366 gt_save_LIBS="$LIBS" 5367 LIBS="$LIBS $LIBINTL" 5368 cat >conftest.$ac_ext <<_ACEOF 5369/* confdefs.h. */ 5370_ACEOF 5371cat confdefs.h >>conftest.$ac_ext 5372cat >>conftest.$ac_ext <<_ACEOF 5373/* end confdefs.h. */ 5374#include <libintl.h> 5375$gt_revision_test_code 5376extern int _nl_msg_cat_cntr; 5377extern 5378#ifdef __cplusplus 5379"C" 5380#endif 5381const char *_nl_expand_alias (const char *); 5382int 5383main () 5384{ 5385bindtextdomain ("", ""); 5386return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 5387 ; 5388 return 0; 5389} 5390_ACEOF 5391rm -f conftest.$ac_objext conftest$ac_exeext 5392if { (ac_try="$ac_link" 5393case "(($ac_try" in 5394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5395 *) ac_try_echo=$ac_try;; 5396esac 5397eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5398 (eval "$ac_link") 2>conftest.er1 5399 ac_status=$? 5400 grep -v '^ *+' conftest.er1 >conftest.err 5401 rm -f conftest.er1 5402 cat conftest.err >&5 5403 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5404 (exit $ac_status); } && { 5405 test -z "$ac_c_werror_flag" || 5406 test ! -s conftest.err 5407 } && test -s conftest$ac_exeext && 5408 $as_test_x conftest$ac_exeext; then 5409 eval "$gt_func_gnugettext_libintl=yes" 5410else 5411 echo "$as_me: failed program was:" >&5 5412sed 's/^/| /' conftest.$ac_ext >&5 5413 5414 eval "$gt_func_gnugettext_libintl=no" 5415fi 5416 5417rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5418 conftest$ac_exeext conftest.$ac_ext 5419 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then 5420 LIBS="$LIBS $LIBICONV" 5421 cat >conftest.$ac_ext <<_ACEOF 5422/* confdefs.h. */ 5423_ACEOF 5424cat confdefs.h >>conftest.$ac_ext 5425cat >>conftest.$ac_ext <<_ACEOF 5426/* end confdefs.h. */ 5427#include <libintl.h> 5428$gt_revision_test_code 5429extern int _nl_msg_cat_cntr; 5430extern 5431#ifdef __cplusplus 5432"C" 5433#endif 5434const char *_nl_expand_alias (const char *); 5435int 5436main () 5437{ 5438bindtextdomain ("", ""); 5439return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 5440 ; 5441 return 0; 5442} 5443_ACEOF 5444rm -f conftest.$ac_objext conftest$ac_exeext 5445if { (ac_try="$ac_link" 5446case "(($ac_try" in 5447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5448 *) ac_try_echo=$ac_try;; 5449esac 5450eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5451 (eval "$ac_link") 2>conftest.er1 5452 ac_status=$? 5453 grep -v '^ *+' conftest.er1 >conftest.err 5454 rm -f conftest.er1 5455 cat conftest.err >&5 5456 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5457 (exit $ac_status); } && { 5458 test -z "$ac_c_werror_flag" || 5459 test ! -s conftest.err 5460 } && test -s conftest$ac_exeext && 5461 $as_test_x conftest$ac_exeext; then 5462 LIBINTL="$LIBINTL $LIBICONV" 5463 LTLIBINTL="$LTLIBINTL $LTLIBICONV" 5464 eval "$gt_func_gnugettext_libintl=yes" 5465 5466else 5467 echo "$as_me: failed program was:" >&5 5468sed 's/^/| /' conftest.$ac_ext >&5 5469 5470 5471fi 5472 5473rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5474 conftest$ac_exeext conftest.$ac_ext 5475 fi 5476 CPPFLAGS="$gt_save_CPPFLAGS" 5477 LIBS="$gt_save_LIBS" 5478fi 5479ac_res=`eval echo '${'$gt_func_gnugettext_libintl'}'` 5480 { echo "$as_me:$LINENO: result: $ac_res" >&5 5481echo "${ECHO_T}$ac_res" >&6; } 5482 fi 5483 5484 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ 5485 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ 5486 && test "$PACKAGE" != gettext-runtime \ 5487 && test "$PACKAGE" != gettext-tools; }; then 5488 gt_use_preinstalled_gnugettext=yes 5489 else 5490 LIBINTL= 5491 LTLIBINTL= 5492 INCINTL= 5493 fi 5494 5495 5496 5497 if test -n "$INTL_MACOSX_LIBS"; then 5498 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 5499 || test "$nls_cv_use_gnu_gettext" = "yes"; then 5500 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" 5501 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" 5502 fi 5503 fi 5504 5505 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 5506 || test "$nls_cv_use_gnu_gettext" = "yes"; then 5507 5508cat >>confdefs.h <<\_ACEOF 5509#define ENABLE_NLS 1 5510_ACEOF 5511 5512 else 5513 USE_NLS=no 5514 fi 5515 fi 5516 5517 { echo "$as_me:$LINENO: checking whether to use NLS" >&5 5518echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6; } 5519 { echo "$as_me:$LINENO: result: $USE_NLS" >&5 5520echo "${ECHO_T}$USE_NLS" >&6; } 5521 if test "$USE_NLS" = "yes"; then 5522 { echo "$as_me:$LINENO: checking where the gettext function comes from" >&5 5523echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6; } 5524 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 5525 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 5526 gt_source="external libintl" 5527 else 5528 gt_source="libc" 5529 fi 5530 else 5531 gt_source="included intl directory" 5532 fi 5533 { echo "$as_me:$LINENO: result: $gt_source" >&5 5534echo "${ECHO_T}$gt_source" >&6; } 5535 fi 5536 5537 if test "$USE_NLS" = "yes"; then 5538 5539 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 5540 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 5541 { echo "$as_me:$LINENO: checking how to link with libintl" >&5 5542echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6; } 5543 { echo "$as_me:$LINENO: result: $LIBINTL" >&5 5544echo "${ECHO_T}$LIBINTL" >&6; } 5545 5546 for element in $INCINTL; do 5547 haveit= 5548 for x in $CPPFLAGS; do 5549 5550 acl_save_prefix="$prefix" 5551 prefix="$acl_final_prefix" 5552 acl_save_exec_prefix="$exec_prefix" 5553 exec_prefix="$acl_final_exec_prefix" 5554 eval x=\"$x\" 5555 exec_prefix="$acl_save_exec_prefix" 5556 prefix="$acl_save_prefix" 5557 5558 if test "X$x" = "X$element"; then 5559 haveit=yes 5560 break 5561 fi 5562 done 5563 if test -z "$haveit"; then 5564 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 5565 fi 5566 done 5567 5568 fi 5569 5570 5571cat >>confdefs.h <<\_ACEOF 5572#define HAVE_GETTEXT 1 5573_ACEOF 5574 5575 5576cat >>confdefs.h <<\_ACEOF 5577#define HAVE_DCGETTEXT 1 5578_ACEOF 5579 5580 fi 5581 5582 POSUB=po 5583 fi 5584 5585 5586 5587 INTLLIBS="$LIBINTL" 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597ac_ext=c 5598ac_cpp='$CPP $CPPFLAGS' 5599ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5600ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5601ac_compiler_gnu=$ac_cv_c_compiler_gnu 5602if test -n "$ac_tool_prefix"; then 5603 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 5604set dummy ${ac_tool_prefix}gcc; ac_word=$2 5605{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5606echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5607if test "${ac_cv_prog_CC+set}" = set; then 5608 echo $ECHO_N "(cached) $ECHO_C" >&6 5609else 5610 if test -n "$CC"; then 5611 ac_cv_prog_CC="$CC" # Let the user override the test. 5612else 5613as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5614for as_dir in $PATH 5615do 5616 IFS=$as_save_IFS 5617 test -z "$as_dir" && as_dir=. 5618 for ac_exec_ext in '' $ac_executable_extensions; do 5619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5620 ac_cv_prog_CC="${ac_tool_prefix}gcc" 5621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5622 break 2 5623 fi 5624done 5625done 5626IFS=$as_save_IFS 5627 5628fi 5629fi 5630CC=$ac_cv_prog_CC 5631if test -n "$CC"; then 5632 { echo "$as_me:$LINENO: result: $CC" >&5 5633echo "${ECHO_T}$CC" >&6; } 5634else 5635 { echo "$as_me:$LINENO: result: no" >&5 5636echo "${ECHO_T}no" >&6; } 5637fi 5638 5639 5640fi 5641if test -z "$ac_cv_prog_CC"; then 5642 ac_ct_CC=$CC 5643 # Extract the first word of "gcc", so it can be a program name with args. 5644set dummy gcc; ac_word=$2 5645{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5646echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5647if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 5648 echo $ECHO_N "(cached) $ECHO_C" >&6 5649else 5650 if test -n "$ac_ct_CC"; then 5651 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 5652else 5653as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5654for as_dir in $PATH 5655do 5656 IFS=$as_save_IFS 5657 test -z "$as_dir" && as_dir=. 5658 for ac_exec_ext in '' $ac_executable_extensions; do 5659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5660 ac_cv_prog_ac_ct_CC="gcc" 5661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5662 break 2 5663 fi 5664done 5665done 5666IFS=$as_save_IFS 5667 5668fi 5669fi 5670ac_ct_CC=$ac_cv_prog_ac_ct_CC 5671if test -n "$ac_ct_CC"; then 5672 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 5673echo "${ECHO_T}$ac_ct_CC" >&6; } 5674else 5675 { echo "$as_me:$LINENO: result: no" >&5 5676echo "${ECHO_T}no" >&6; } 5677fi 5678 5679 if test "x$ac_ct_CC" = x; then 5680 CC="" 5681 else 5682 case $cross_compiling:$ac_tool_warned in 5683yes:) 5684{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 5685whose name does not start with the host triplet. If you think this 5686configuration is useful to you, please write to autoconf@gnu.org." >&5 5687echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 5688whose name does not start with the host triplet. If you think this 5689configuration is useful to you, please write to autoconf@gnu.org." >&2;} 5690ac_tool_warned=yes ;; 5691esac 5692 CC=$ac_ct_CC 5693 fi 5694else 5695 CC="$ac_cv_prog_CC" 5696fi 5697 5698if test -z "$CC"; then 5699 if test -n "$ac_tool_prefix"; then 5700 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 5701set dummy ${ac_tool_prefix}cc; ac_word=$2 5702{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5703echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5704if test "${ac_cv_prog_CC+set}" = set; then 5705 echo $ECHO_N "(cached) $ECHO_C" >&6 5706else 5707 if test -n "$CC"; then 5708 ac_cv_prog_CC="$CC" # Let the user override the test. 5709else 5710as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5711for as_dir in $PATH 5712do 5713 IFS=$as_save_IFS 5714 test -z "$as_dir" && as_dir=. 5715 for ac_exec_ext in '' $ac_executable_extensions; do 5716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5717 ac_cv_prog_CC="${ac_tool_prefix}cc" 5718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5719 break 2 5720 fi 5721done 5722done 5723IFS=$as_save_IFS 5724 5725fi 5726fi 5727CC=$ac_cv_prog_CC 5728if test -n "$CC"; then 5729 { echo "$as_me:$LINENO: result: $CC" >&5 5730echo "${ECHO_T}$CC" >&6; } 5731else 5732 { echo "$as_me:$LINENO: result: no" >&5 5733echo "${ECHO_T}no" >&6; } 5734fi 5735 5736 5737 fi 5738fi 5739if test -z "$CC"; then 5740 # Extract the first word of "cc", so it can be a program name with args. 5741set dummy cc; ac_word=$2 5742{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5743echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5744if test "${ac_cv_prog_CC+set}" = set; then 5745 echo $ECHO_N "(cached) $ECHO_C" >&6 5746else 5747 if test -n "$CC"; then 5748 ac_cv_prog_CC="$CC" # Let the user override the test. 5749else 5750 ac_prog_rejected=no 5751as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5752for as_dir in $PATH 5753do 5754 IFS=$as_save_IFS 5755 test -z "$as_dir" && as_dir=. 5756 for ac_exec_ext in '' $ac_executable_extensions; do 5757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5758 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 5759 ac_prog_rejected=yes 5760 continue 5761 fi 5762 ac_cv_prog_CC="cc" 5763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5764 break 2 5765 fi 5766done 5767done 5768IFS=$as_save_IFS 5769 5770if test $ac_prog_rejected = yes; then 5771 # We found a bogon in the path, so make sure we never use it. 5772 set dummy $ac_cv_prog_CC 5773 shift 5774 if test $# != 0; then 5775 # We chose a different compiler from the bogus one. 5776 # However, it has the same basename, so the bogon will be chosen 5777 # first if we set CC to just the basename; use the full file name. 5778 shift 5779 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 5780 fi 5781fi 5782fi 5783fi 5784CC=$ac_cv_prog_CC 5785if test -n "$CC"; then 5786 { echo "$as_me:$LINENO: result: $CC" >&5 5787echo "${ECHO_T}$CC" >&6; } 5788else 5789 { echo "$as_me:$LINENO: result: no" >&5 5790echo "${ECHO_T}no" >&6; } 5791fi 5792 5793 5794fi 5795if test -z "$CC"; then 5796 if test -n "$ac_tool_prefix"; then 5797 for ac_prog in cl.exe 5798 do 5799 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5800set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5801{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5802echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5803if test "${ac_cv_prog_CC+set}" = set; then 5804 echo $ECHO_N "(cached) $ECHO_C" >&6 5805else 5806 if test -n "$CC"; then 5807 ac_cv_prog_CC="$CC" # Let the user override the test. 5808else 5809as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5810for as_dir in $PATH 5811do 5812 IFS=$as_save_IFS 5813 test -z "$as_dir" && as_dir=. 5814 for ac_exec_ext in '' $ac_executable_extensions; do 5815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5816 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 5817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5818 break 2 5819 fi 5820done 5821done 5822IFS=$as_save_IFS 5823 5824fi 5825fi 5826CC=$ac_cv_prog_CC 5827if test -n "$CC"; then 5828 { echo "$as_me:$LINENO: result: $CC" >&5 5829echo "${ECHO_T}$CC" >&6; } 5830else 5831 { echo "$as_me:$LINENO: result: no" >&5 5832echo "${ECHO_T}no" >&6; } 5833fi 5834 5835 5836 test -n "$CC" && break 5837 done 5838fi 5839if test -z "$CC"; then 5840 ac_ct_CC=$CC 5841 for ac_prog in cl.exe 5842do 5843 # Extract the first word of "$ac_prog", so it can be a program name with args. 5844set dummy $ac_prog; ac_word=$2 5845{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5846echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5847if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 5848 echo $ECHO_N "(cached) $ECHO_C" >&6 5849else 5850 if test -n "$ac_ct_CC"; then 5851 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 5852else 5853as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5854for as_dir in $PATH 5855do 5856 IFS=$as_save_IFS 5857 test -z "$as_dir" && as_dir=. 5858 for ac_exec_ext in '' $ac_executable_extensions; do 5859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5860 ac_cv_prog_ac_ct_CC="$ac_prog" 5861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5862 break 2 5863 fi 5864done 5865done 5866IFS=$as_save_IFS 5867 5868fi 5869fi 5870ac_ct_CC=$ac_cv_prog_ac_ct_CC 5871if test -n "$ac_ct_CC"; then 5872 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 5873echo "${ECHO_T}$ac_ct_CC" >&6; } 5874else 5875 { echo "$as_me:$LINENO: result: no" >&5 5876echo "${ECHO_T}no" >&6; } 5877fi 5878 5879 5880 test -n "$ac_ct_CC" && break 5881done 5882 5883 if test "x$ac_ct_CC" = x; then 5884 CC="" 5885 else 5886 case $cross_compiling:$ac_tool_warned in 5887yes:) 5888{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 5889whose name does not start with the host triplet. If you think this 5890configuration is useful to you, please write to autoconf@gnu.org." >&5 5891echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 5892whose name does not start with the host triplet. If you think this 5893configuration is useful to you, please write to autoconf@gnu.org." >&2;} 5894ac_tool_warned=yes ;; 5895esac 5896 CC=$ac_ct_CC 5897 fi 5898fi 5899 5900fi 5901 5902 5903test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 5904See \`config.log' for more details." >&5 5905echo "$as_me: error: no acceptable C compiler found in \$PATH 5906See \`config.log' for more details." >&2;} 5907 { (exit 1); exit 1; }; } 5908 5909# Provide some information about the compiler. 5910echo "$as_me:$LINENO: checking for C compiler version" >&5 5911ac_compiler=`set X $ac_compile; echo $2` 5912{ (ac_try="$ac_compiler --version >&5" 5913case "(($ac_try" in 5914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5915 *) ac_try_echo=$ac_try;; 5916esac 5917eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5918 (eval "$ac_compiler --version >&5") 2>&5 5919 ac_status=$? 5920 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5921 (exit $ac_status); } 5922{ (ac_try="$ac_compiler -v >&5" 5923case "(($ac_try" in 5924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5925 *) ac_try_echo=$ac_try;; 5926esac 5927eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5928 (eval "$ac_compiler -v >&5") 2>&5 5929 ac_status=$? 5930 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5931 (exit $ac_status); } 5932{ (ac_try="$ac_compiler -V >&5" 5933case "(($ac_try" in 5934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5935 *) ac_try_echo=$ac_try;; 5936esac 5937eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5938 (eval "$ac_compiler -V >&5") 2>&5 5939 ac_status=$? 5940 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5941 (exit $ac_status); } 5942 5943{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 5944echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 5945if test "${ac_cv_c_compiler_gnu+set}" = set; then 5946 echo $ECHO_N "(cached) $ECHO_C" >&6 5947else 5948 cat >conftest.$ac_ext <<_ACEOF 5949/* confdefs.h. */ 5950_ACEOF 5951cat confdefs.h >>conftest.$ac_ext 5952cat >>conftest.$ac_ext <<_ACEOF 5953/* end confdefs.h. */ 5954 5955int 5956main () 5957{ 5958#ifndef __GNUC__ 5959 choke me 5960#endif 5961 5962 ; 5963 return 0; 5964} 5965_ACEOF 5966rm -f conftest.$ac_objext 5967if { (ac_try="$ac_compile" 5968case "(($ac_try" in 5969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5970 *) ac_try_echo=$ac_try;; 5971esac 5972eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5973 (eval "$ac_compile") 2>conftest.er1 5974 ac_status=$? 5975 grep -v '^ *+' conftest.er1 >conftest.err 5976 rm -f conftest.er1 5977 cat conftest.err >&5 5978 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5979 (exit $ac_status); } && { 5980 test -z "$ac_c_werror_flag" || 5981 test ! -s conftest.err 5982 } && test -s conftest.$ac_objext; then 5983 ac_compiler_gnu=yes 5984else 5985 echo "$as_me: failed program was:" >&5 5986sed 's/^/| /' conftest.$ac_ext >&5 5987 5988 ac_compiler_gnu=no 5989fi 5990 5991rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5992ac_cv_c_compiler_gnu=$ac_compiler_gnu 5993 5994fi 5995{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 5996echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 5997GCC=`test $ac_compiler_gnu = yes && echo yes` 5998ac_test_CFLAGS=${CFLAGS+set} 5999ac_save_CFLAGS=$CFLAGS 6000{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 6001echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 6002if test "${ac_cv_prog_cc_g+set}" = set; then 6003 echo $ECHO_N "(cached) $ECHO_C" >&6 6004else 6005 ac_save_c_werror_flag=$ac_c_werror_flag 6006 ac_c_werror_flag=yes 6007 ac_cv_prog_cc_g=no 6008 CFLAGS="-g" 6009 cat >conftest.$ac_ext <<_ACEOF 6010/* confdefs.h. */ 6011_ACEOF 6012cat confdefs.h >>conftest.$ac_ext 6013cat >>conftest.$ac_ext <<_ACEOF 6014/* end confdefs.h. */ 6015 6016int 6017main () 6018{ 6019 6020 ; 6021 return 0; 6022} 6023_ACEOF 6024rm -f conftest.$ac_objext 6025if { (ac_try="$ac_compile" 6026case "(($ac_try" in 6027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6028 *) ac_try_echo=$ac_try;; 6029esac 6030eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6031 (eval "$ac_compile") 2>conftest.er1 6032 ac_status=$? 6033 grep -v '^ *+' conftest.er1 >conftest.err 6034 rm -f conftest.er1 6035 cat conftest.err >&5 6036 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6037 (exit $ac_status); } && { 6038 test -z "$ac_c_werror_flag" || 6039 test ! -s conftest.err 6040 } && test -s conftest.$ac_objext; then 6041 ac_cv_prog_cc_g=yes 6042else 6043 echo "$as_me: failed program was:" >&5 6044sed 's/^/| /' conftest.$ac_ext >&5 6045 6046 CFLAGS="" 6047 cat >conftest.$ac_ext <<_ACEOF 6048/* confdefs.h. */ 6049_ACEOF 6050cat confdefs.h >>conftest.$ac_ext 6051cat >>conftest.$ac_ext <<_ACEOF 6052/* end confdefs.h. */ 6053 6054int 6055main () 6056{ 6057 6058 ; 6059 return 0; 6060} 6061_ACEOF 6062rm -f conftest.$ac_objext 6063if { (ac_try="$ac_compile" 6064case "(($ac_try" in 6065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6066 *) ac_try_echo=$ac_try;; 6067esac 6068eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6069 (eval "$ac_compile") 2>conftest.er1 6070 ac_status=$? 6071 grep -v '^ *+' conftest.er1 >conftest.err 6072 rm -f conftest.er1 6073 cat conftest.err >&5 6074 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6075 (exit $ac_status); } && { 6076 test -z "$ac_c_werror_flag" || 6077 test ! -s conftest.err 6078 } && test -s conftest.$ac_objext; then 6079 : 6080else 6081 echo "$as_me: failed program was:" >&5 6082sed 's/^/| /' conftest.$ac_ext >&5 6083 6084 ac_c_werror_flag=$ac_save_c_werror_flag 6085 CFLAGS="-g" 6086 cat >conftest.$ac_ext <<_ACEOF 6087/* confdefs.h. */ 6088_ACEOF 6089cat confdefs.h >>conftest.$ac_ext 6090cat >>conftest.$ac_ext <<_ACEOF 6091/* end confdefs.h. */ 6092 6093int 6094main () 6095{ 6096 6097 ; 6098 return 0; 6099} 6100_ACEOF 6101rm -f conftest.$ac_objext 6102if { (ac_try="$ac_compile" 6103case "(($ac_try" in 6104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6105 *) ac_try_echo=$ac_try;; 6106esac 6107eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6108 (eval "$ac_compile") 2>conftest.er1 6109 ac_status=$? 6110 grep -v '^ *+' conftest.er1 >conftest.err 6111 rm -f conftest.er1 6112 cat conftest.err >&5 6113 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6114 (exit $ac_status); } && { 6115 test -z "$ac_c_werror_flag" || 6116 test ! -s conftest.err 6117 } && test -s conftest.$ac_objext; then 6118 ac_cv_prog_cc_g=yes 6119else 6120 echo "$as_me: failed program was:" >&5 6121sed 's/^/| /' conftest.$ac_ext >&5 6122 6123 6124fi 6125 6126rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6127fi 6128 6129rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6130fi 6131 6132rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6133 ac_c_werror_flag=$ac_save_c_werror_flag 6134fi 6135{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 6136echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 6137if test "$ac_test_CFLAGS" = set; then 6138 CFLAGS=$ac_save_CFLAGS 6139elif test $ac_cv_prog_cc_g = yes; then 6140 if test "$GCC" = yes; then 6141 CFLAGS="-g -O2" 6142 else 6143 CFLAGS="-g" 6144 fi 6145else 6146 if test "$GCC" = yes; then 6147 CFLAGS="-O2" 6148 else 6149 CFLAGS= 6150 fi 6151fi 6152{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 6153echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 6154if test "${ac_cv_prog_cc_c89+set}" = set; then 6155 echo $ECHO_N "(cached) $ECHO_C" >&6 6156else 6157 ac_cv_prog_cc_c89=no 6158ac_save_CC=$CC 6159cat >conftest.$ac_ext <<_ACEOF 6160/* confdefs.h. */ 6161_ACEOF 6162cat confdefs.h >>conftest.$ac_ext 6163cat >>conftest.$ac_ext <<_ACEOF 6164/* end confdefs.h. */ 6165#include <stdarg.h> 6166#include <stdio.h> 6167#include <sys/types.h> 6168#include <sys/stat.h> 6169/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 6170struct buf { int x; }; 6171FILE * (*rcsopen) (struct buf *, struct stat *, int); 6172static char *e (p, i) 6173 char **p; 6174 int i; 6175{ 6176 return p[i]; 6177} 6178static char *f (char * (*g) (char **, int), char **p, ...) 6179{ 6180 char *s; 6181 va_list v; 6182 va_start (v,p); 6183 s = g (p, va_arg (v,int)); 6184 va_end (v); 6185 return s; 6186} 6187 6188/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 6189 function prototypes and stuff, but not '\xHH' hex character constants. 6190 These don't provoke an error unfortunately, instead are silently treated 6191 as 'x'. The following induces an error, until -std is added to get 6192 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 6193 array size at least. It's necessary to write '\x00'==0 to get something 6194 that's true only with -std. */ 6195int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 6196 6197/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 6198 inside strings and character constants. */ 6199#define FOO(x) 'x' 6200int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 6201 6202int test (int i, double x); 6203struct s1 {int (*f) (int a);}; 6204struct s2 {int (*f) (double a);}; 6205int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 6206int argc; 6207char **argv; 6208int 6209main () 6210{ 6211return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 6212 ; 6213 return 0; 6214} 6215_ACEOF 6216for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 6217 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 6218do 6219 CC="$ac_save_CC $ac_arg" 6220 rm -f conftest.$ac_objext 6221if { (ac_try="$ac_compile" 6222case "(($ac_try" in 6223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6224 *) ac_try_echo=$ac_try;; 6225esac 6226eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6227 (eval "$ac_compile") 2>conftest.er1 6228 ac_status=$? 6229 grep -v '^ *+' conftest.er1 >conftest.err 6230 rm -f conftest.er1 6231 cat conftest.err >&5 6232 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6233 (exit $ac_status); } && { 6234 test -z "$ac_c_werror_flag" || 6235 test ! -s conftest.err 6236 } && test -s conftest.$ac_objext; then 6237 ac_cv_prog_cc_c89=$ac_arg 6238else 6239 echo "$as_me: failed program was:" >&5 6240sed 's/^/| /' conftest.$ac_ext >&5 6241 6242 6243fi 6244 6245rm -f core conftest.err conftest.$ac_objext 6246 test "x$ac_cv_prog_cc_c89" != "xno" && break 6247done 6248rm -f conftest.$ac_ext 6249CC=$ac_save_CC 6250 6251fi 6252# AC_CACHE_VAL 6253case "x$ac_cv_prog_cc_c89" in 6254 x) 6255 { echo "$as_me:$LINENO: result: none needed" >&5 6256echo "${ECHO_T}none needed" >&6; } ;; 6257 xno) 6258 { echo "$as_me:$LINENO: result: unsupported" >&5 6259echo "${ECHO_T}unsupported" >&6; } ;; 6260 *) 6261 CC="$CC $ac_cv_prog_cc_c89" 6262 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 6263echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 6264esac 6265 6266 6267ac_ext=c 6268ac_cpp='$CPP $CPPFLAGS' 6269ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6270ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6271ac_compiler_gnu=$ac_cv_c_compiler_gnu 6272 6273depcc="$CC" am_compiler_list= 6274 6275{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 6276echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 6277if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 6278 echo $ECHO_N "(cached) $ECHO_C" >&6 6279else 6280 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 6281 # We make a subdir and do the tests there. Otherwise we can end up 6282 # making bogus files that we don't know about and never remove. For 6283 # instance it was reported that on HP-UX the gcc test will end up 6284 # making a dummy file named `D' -- because `-MD' means `put the output 6285 # in D'. 6286 mkdir conftest.dir 6287 # Copy depcomp to subdir because otherwise we won't find it if we're 6288 # using a relative directory. 6289 cp "$am_depcomp" conftest.dir 6290 cd conftest.dir 6291 # We will build objects and dependencies in a subdirectory because 6292 # it helps to detect inapplicable dependency modes. For instance 6293 # both Tru64's cc and ICC support -MD to output dependencies as a 6294 # side effect of compilation, but ICC will put the dependencies in 6295 # the current directory while Tru64 will put them in the object 6296 # directory. 6297 mkdir sub 6298 6299 am_cv_CC_dependencies_compiler_type=none 6300 if test "$am_compiler_list" = ""; then 6301 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 6302 fi 6303 for depmode in $am_compiler_list; do 6304 # Setup a source with many dependencies, because some compilers 6305 # like to wrap large dependency lists on column 80 (with \), and 6306 # we should not choose a depcomp mode which is confused by this. 6307 # 6308 # We need to recreate these files for each test, as the compiler may 6309 # overwrite some of them when testing with obscure command lines. 6310 # This happens at least with the AIX C compiler. 6311 : > sub/conftest.c 6312 for i in 1 2 3 4 5 6; do 6313 echo '#include "conftst'$i'.h"' >> sub/conftest.c 6314 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 6315 # Solaris 8's {/usr,}/bin/sh. 6316 touch sub/conftst$i.h 6317 done 6318 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 6319 6320 case $depmode in 6321 nosideeffect) 6322 # after this tag, mechanisms are not by side-effect, so they'll 6323 # only be used when explicitly requested 6324 if test "x$enable_dependency_tracking" = xyes; then 6325 continue 6326 else 6327 break 6328 fi 6329 ;; 6330 none) break ;; 6331 esac 6332 # We check with `-c' and `-o' for the sake of the "dashmstdout" 6333 # mode. It turns out that the SunPro C++ compiler does not properly 6334 # handle `-M -o', and we need to detect this. 6335 if depmode=$depmode \ 6336 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 6337 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 6338 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 6339 >/dev/null 2>conftest.err && 6340 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 6341 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 6342 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 6343 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 6344 # icc doesn't choke on unknown options, it will just issue warnings 6345 # or remarks (even with -Werror). So we grep stderr for any message 6346 # that says an option was ignored or not supported. 6347 # When given -MP, icc 7.0 and 7.1 complain thusly: 6348 # icc: Command line warning: ignoring option '-M'; no argument required 6349 # The diagnosis changed in icc 8.0: 6350 # icc: Command line remark: option '-MP' not supported 6351 if (grep 'ignoring option' conftest.err || 6352 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 6353 am_cv_CC_dependencies_compiler_type=$depmode 6354 break 6355 fi 6356 fi 6357 done 6358 6359 cd .. 6360 rm -rf conftest.dir 6361else 6362 am_cv_CC_dependencies_compiler_type=none 6363fi 6364 6365fi 6366{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 6367echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } 6368CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 6369 6370 if 6371 test "x$enable_dependency_tracking" != xno \ 6372 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 6373 am__fastdepCC_TRUE= 6374 am__fastdepCC_FALSE='#' 6375else 6376 am__fastdepCC_TRUE='#' 6377 am__fastdepCC_FALSE= 6378fi 6379 6380 6381 6382OPTS=${DEFS} 6383 6384 6385 6386if test "x$OLD_CFLAGS" = "x"; then 6387 if test "x$CC" = "xgcc"; then 6388 CFLAGS="-O3 -fexpensive-optimizations" 6389 else 6390 CFLAGS="-O2" 6391 fi 6392fi 6393 6394# Check whether --enable-debug was given. 6395if test "${enable_debug+set}" = set; then 6396 enableval=$enable_debug; if eval "test x$enable_debug = xyes"; then 6397 CFLAGS="${CFLAGS} -Wall -g" 6398 fi 6399fi 6400 6401 6402 6403# Check whether --enable-developer was given. 6404if test "${enable_developer+set}" = set; then 6405 enableval=$enable_developer; if eval "test x$enable_developer = xyes"; then 6406 CFLAGS="${OLD_CFLAGS} -g -pg -Wall -Wshadow -Wstrict-prototypes -DDEVELOPER" 6407 else 6408 if eval "test x$enable_developer != xno"; then 6409 CFLAGS="${OLD_CFLAGS} -g -pg -Wall $enable_developer -DDEVELOPER" 6410 fi 6411 fi 6412fi 6413 6414 6415 6416# Check whether --enable-coverage was given. 6417if test "${enable_coverage+set}" = set; then 6418 enableval=$enable_coverage; if eval "test x$enable_coverage = xyes"; then 6419 CFLAGS="${OLD_CFLAGS} -Wall -fprofile-arcs -ftest-coverage" 6420 fi 6421fi 6422 6423 6424 6425# Check whether --enable-static was given. 6426if test "${enable_static+set}" = set; then 6427 enableval=$enable_static; if eval "test x$enable_static = xyes"; then 6428 LDFLAGS="--static ${LDFLAGS}" 6429 fi 6430fi 6431 6432 6433 6434ENABLE_GEOIP="yes" 6435# Check whether --enable-geoip was given. 6436if test "${enable_geoip+set}" = set; then 6437 enableval=$enable_geoip; if eval "test x$enable_geoip = xno"; then 6438 ENABLE_GEOIP="no" 6439 fi 6440fi 6441 6442 6443 6444ENABLE_TTF="yes" 6445# Check whether --enable-ttf was given. 6446if test "${enable_ttf+set}" = set; then 6447 enableval=$enable_ttf; if eval "test x$enable_ttf = xno"; then 6448 ENABLE_TTF="no" 6449 fi 6450fi 6451 6452 6453 6454 6455# Check whether --with-etcdir was given. 6456if test "${with_etcdir+set}" = set; then 6457 withval=$with_etcdir; ETCDIR="${withval}" 6458else 6459 CACHE_ETC="yes" 6460fi 6461 6462 6463 6464 6465# Check whether --with-gd was given. 6466if test "${with_gd+set}" = set; then 6467 withval=$with_gd; CFLAGS="-I${withval} ${CFLAGS}" 6468fi 6469 6470 6471 6472 6473# Check whether --with-gdlib was given. 6474if test "${with_gdlib+set}" = set; then 6475 withval=$with_gdlib; LDFLAGS="-L${withval} ${LDFLAGS}" 6476fi 6477 6478 6479 6480 6481# Check whether --with-z was given. 6482if test "${with_z+set}" = set; then 6483 withval=$with_z; CFLAGS="-I${withval} ${CFLAGS}" 6484fi 6485 6486 6487 6488 6489# Check whether --with-zlib was given. 6490if test "${with_zlib+set}" = set; then 6491 withval=$with_zlib; LDFLAGS="-L${withval} ${LDFLAGS}" 6492fi 6493 6494 6495 6496 6497# Check whether --with-png was given. 6498if test "${with_png+set}" = set; then 6499 withval=$with_png; CFLAGS="-I${withval} ${CFLAGS}" 6500fi 6501 6502 6503 6504 6505# Check whether --with-pnglib was given. 6506if test "${with_pnglib+set}" = set; then 6507 withval=$with_pnglib; LDFLAGS="-L${withval} ${LDFLAGS}" 6508fi 6509 6510 6511 6512 6513# Check whether --with-pcre was given. 6514if test "${with_pcre+set}" = set; then 6515 withval=$with_pcre; CFLAGS="-I${withval} ${CFLAGS}" 6516fi 6517 6518 6519 6520 6521# Check whether --with-pcrelib was given. 6522if test "${with_pcrelib+set}" = set; then 6523 withval=$with_pcrelib; LDFLAGS="-L${withval} ${LDFLAGS}" 6524fi 6525 6526 6527 6528 6529# Check whether --with-geoip was given. 6530if test "${with_geoip+set}" = set; then 6531 withval=$with_geoip; CFLAGS="-I${withval} ${CFLAGS}" 6532fi 6533 6534 6535 6536 6537# Check whether --with-geoiplib was given. 6538if test "${with_geoiplib+set}" = set; then 6539 withval=$with_geoiplib; LDFLAGS="-L${withval} ${LDFLAGS}" 6540fi 6541 6542 6543 6544 6545 6546 6547 6548# Check whether --with-font-default was given. 6549if test "${with_font_default+set}" = set; then 6550 withval=$with_font_default; cat >>confdefs.h <<_ACEOF 6551#define FONTDEFAULT "${withval}" 6552_ACEOF 6553 6554fi 6555 6556 6557 6558 6559 6560 6561# Check whether --with-font-label was given. 6562if test "${with_font_label+set}" = set; then 6563 withval=$with_font_label; cat >>confdefs.h <<_ACEOF 6564#define FONTLABEL "${withval}" 6565_ACEOF 6566 6567fi 6568 6569 6570 6571 6572 6573 6574# Check whether --with-generated-by was given. 6575if test "${with_generated_by+set}" = set; then 6576 withval=$with_generated_by; cat >>confdefs.h <<_ACEOF 6577#define GENERATEDBY "${withval}" 6578_ACEOF 6579 6580fi 6581 6582 6583if test -n "$ac_tool_prefix"; then 6584 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6585set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6586{ echo "$as_me:$LINENO: checking for $ac_word" >&5 6587echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6588if test "${ac_cv_prog_RANLIB+set}" = set; then 6589 echo $ECHO_N "(cached) $ECHO_C" >&6 6590else 6591 if test -n "$RANLIB"; then 6592 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6593else 6594as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6595for as_dir in $PATH 6596do 6597 IFS=$as_save_IFS 6598 test -z "$as_dir" && as_dir=. 6599 for ac_exec_ext in '' $ac_executable_extensions; do 6600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6601 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6603 break 2 6604 fi 6605done 6606done 6607IFS=$as_save_IFS 6608 6609fi 6610fi 6611RANLIB=$ac_cv_prog_RANLIB 6612if test -n "$RANLIB"; then 6613 { echo "$as_me:$LINENO: result: $RANLIB" >&5 6614echo "${ECHO_T}$RANLIB" >&6; } 6615else 6616 { echo "$as_me:$LINENO: result: no" >&5 6617echo "${ECHO_T}no" >&6; } 6618fi 6619 6620 6621fi 6622if test -z "$ac_cv_prog_RANLIB"; then 6623 ac_ct_RANLIB=$RANLIB 6624 # Extract the first word of "ranlib", so it can be a program name with args. 6625set dummy ranlib; ac_word=$2 6626{ echo "$as_me:$LINENO: checking for $ac_word" >&5 6627echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6628if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 6629 echo $ECHO_N "(cached) $ECHO_C" >&6 6630else 6631 if test -n "$ac_ct_RANLIB"; then 6632 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6633else 6634as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6635for as_dir in $PATH 6636do 6637 IFS=$as_save_IFS 6638 test -z "$as_dir" && as_dir=. 6639 for ac_exec_ext in '' $ac_executable_extensions; do 6640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6641 ac_cv_prog_ac_ct_RANLIB="ranlib" 6642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6643 break 2 6644 fi 6645done 6646done 6647IFS=$as_save_IFS 6648 6649fi 6650fi 6651ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6652if test -n "$ac_ct_RANLIB"; then 6653 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 6654echo "${ECHO_T}$ac_ct_RANLIB" >&6; } 6655else 6656 { echo "$as_me:$LINENO: result: no" >&5 6657echo "${ECHO_T}no" >&6; } 6658fi 6659 6660 if test "x$ac_ct_RANLIB" = x; then 6661 RANLIB=":" 6662 else 6663 case $cross_compiling:$ac_tool_warned in 6664yes:) 6665{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 6666whose name does not start with the host triplet. If you think this 6667configuration is useful to you, please write to autoconf@gnu.org." >&5 6668echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 6669whose name does not start with the host triplet. If you think this 6670configuration is useful to you, please write to autoconf@gnu.org." >&2;} 6671ac_tool_warned=yes ;; 6672esac 6673 RANLIB=$ac_ct_RANLIB 6674 fi 6675else 6676 RANLIB="$ac_cv_prog_RANLIB" 6677fi 6678 6679{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 6680echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } 6681if test "${ac_cv_header_time+set}" = set; then 6682 echo $ECHO_N "(cached) $ECHO_C" >&6 6683else 6684 cat >conftest.$ac_ext <<_ACEOF 6685/* confdefs.h. */ 6686_ACEOF 6687cat confdefs.h >>conftest.$ac_ext 6688cat >>conftest.$ac_ext <<_ACEOF 6689/* end confdefs.h. */ 6690#include <sys/types.h> 6691#include <sys/time.h> 6692#include <time.h> 6693 6694int 6695main () 6696{ 6697if ((struct tm *) 0) 6698return 0; 6699 ; 6700 return 0; 6701} 6702_ACEOF 6703rm -f conftest.$ac_objext 6704if { (ac_try="$ac_compile" 6705case "(($ac_try" in 6706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6707 *) ac_try_echo=$ac_try;; 6708esac 6709eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6710 (eval "$ac_compile") 2>conftest.er1 6711 ac_status=$? 6712 grep -v '^ *+' conftest.er1 >conftest.err 6713 rm -f conftest.er1 6714 cat conftest.err >&5 6715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6716 (exit $ac_status); } && { 6717 test -z "$ac_c_werror_flag" || 6718 test ! -s conftest.err 6719 } && test -s conftest.$ac_objext; then 6720 ac_cv_header_time=yes 6721else 6722 echo "$as_me: failed program was:" >&5 6723sed 's/^/| /' conftest.$ac_ext >&5 6724 6725 ac_cv_header_time=no 6726fi 6727 6728rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6729fi 6730{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 6731echo "${ECHO_T}$ac_cv_header_time" >&6; } 6732if test $ac_cv_header_time = yes; then 6733 6734cat >>confdefs.h <<\_ACEOF 6735#define TIME_WITH_SYS_TIME 1 6736_ACEOF 6737 6738fi 6739 6740ac_ext=c 6741ac_cpp='$CPP $CPPFLAGS' 6742ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6743ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6744ac_compiler_gnu=$ac_cv_c_compiler_gnu 6745{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 6746echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 6747# On Suns, sometimes $CPP names a directory. 6748if test -n "$CPP" && test -d "$CPP"; then 6749 CPP= 6750fi 6751if test -z "$CPP"; then 6752 if test "${ac_cv_prog_CPP+set}" = set; then 6753 echo $ECHO_N "(cached) $ECHO_C" >&6 6754else 6755 # Double quotes because CPP needs to be expanded 6756 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 6757 do 6758 ac_preproc_ok=false 6759for ac_c_preproc_warn_flag in '' yes 6760do 6761 # Use a header file that comes with gcc, so configuring glibc 6762 # with a fresh cross-compiler works. 6763 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6764 # <limits.h> exists even on freestanding compilers. 6765 # On the NeXT, cc -E runs the code through the compiler's parser, 6766 # not just through cpp. "Syntax error" is here to catch this case. 6767 cat >conftest.$ac_ext <<_ACEOF 6768/* confdefs.h. */ 6769_ACEOF 6770cat confdefs.h >>conftest.$ac_ext 6771cat >>conftest.$ac_ext <<_ACEOF 6772/* end confdefs.h. */ 6773#ifdef __STDC__ 6774# include <limits.h> 6775#else 6776# include <assert.h> 6777#endif 6778 Syntax error 6779_ACEOF 6780if { (ac_try="$ac_cpp conftest.$ac_ext" 6781case "(($ac_try" in 6782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6783 *) ac_try_echo=$ac_try;; 6784esac 6785eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6786 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6787 ac_status=$? 6788 grep -v '^ *+' conftest.er1 >conftest.err 6789 rm -f conftest.er1 6790 cat conftest.err >&5 6791 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6792 (exit $ac_status); } >/dev/null && { 6793 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6794 test ! -s conftest.err 6795 }; then 6796 : 6797else 6798 echo "$as_me: failed program was:" >&5 6799sed 's/^/| /' conftest.$ac_ext >&5 6800 6801 # Broken: fails on valid input. 6802continue 6803fi 6804 6805rm -f conftest.err conftest.$ac_ext 6806 6807 # OK, works on sane cases. Now check whether nonexistent headers 6808 # can be detected and how. 6809 cat >conftest.$ac_ext <<_ACEOF 6810/* confdefs.h. */ 6811_ACEOF 6812cat confdefs.h >>conftest.$ac_ext 6813cat >>conftest.$ac_ext <<_ACEOF 6814/* end confdefs.h. */ 6815#include <ac_nonexistent.h> 6816_ACEOF 6817if { (ac_try="$ac_cpp conftest.$ac_ext" 6818case "(($ac_try" in 6819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6820 *) ac_try_echo=$ac_try;; 6821esac 6822eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6823 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6824 ac_status=$? 6825 grep -v '^ *+' conftest.er1 >conftest.err 6826 rm -f conftest.er1 6827 cat conftest.err >&5 6828 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6829 (exit $ac_status); } >/dev/null && { 6830 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6831 test ! -s conftest.err 6832 }; then 6833 # Broken: success on invalid input. 6834continue 6835else 6836 echo "$as_me: failed program was:" >&5 6837sed 's/^/| /' conftest.$ac_ext >&5 6838 6839 # Passes both tests. 6840ac_preproc_ok=: 6841break 6842fi 6843 6844rm -f conftest.err conftest.$ac_ext 6845 6846done 6847# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6848rm -f conftest.err conftest.$ac_ext 6849if $ac_preproc_ok; then 6850 break 6851fi 6852 6853 done 6854 ac_cv_prog_CPP=$CPP 6855 6856fi 6857 CPP=$ac_cv_prog_CPP 6858else 6859 ac_cv_prog_CPP=$CPP 6860fi 6861{ echo "$as_me:$LINENO: result: $CPP" >&5 6862echo "${ECHO_T}$CPP" >&6; } 6863ac_preproc_ok=false 6864for ac_c_preproc_warn_flag in '' yes 6865do 6866 # Use a header file that comes with gcc, so configuring glibc 6867 # with a fresh cross-compiler works. 6868 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6869 # <limits.h> exists even on freestanding compilers. 6870 # On the NeXT, cc -E runs the code through the compiler's parser, 6871 # not just through cpp. "Syntax error" is here to catch this case. 6872 cat >conftest.$ac_ext <<_ACEOF 6873/* confdefs.h. */ 6874_ACEOF 6875cat confdefs.h >>conftest.$ac_ext 6876cat >>conftest.$ac_ext <<_ACEOF 6877/* end confdefs.h. */ 6878#ifdef __STDC__ 6879# include <limits.h> 6880#else 6881# include <assert.h> 6882#endif 6883 Syntax error 6884_ACEOF 6885if { (ac_try="$ac_cpp conftest.$ac_ext" 6886case "(($ac_try" in 6887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6888 *) ac_try_echo=$ac_try;; 6889esac 6890eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6891 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6892 ac_status=$? 6893 grep -v '^ *+' conftest.er1 >conftest.err 6894 rm -f conftest.er1 6895 cat conftest.err >&5 6896 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6897 (exit $ac_status); } >/dev/null && { 6898 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6899 test ! -s conftest.err 6900 }; then 6901 : 6902else 6903 echo "$as_me: failed program was:" >&5 6904sed 's/^/| /' conftest.$ac_ext >&5 6905 6906 # Broken: fails on valid input. 6907continue 6908fi 6909 6910rm -f conftest.err conftest.$ac_ext 6911 6912 # OK, works on sane cases. Now check whether nonexistent headers 6913 # can be detected and how. 6914 cat >conftest.$ac_ext <<_ACEOF 6915/* confdefs.h. */ 6916_ACEOF 6917cat confdefs.h >>conftest.$ac_ext 6918cat >>conftest.$ac_ext <<_ACEOF 6919/* end confdefs.h. */ 6920#include <ac_nonexistent.h> 6921_ACEOF 6922if { (ac_try="$ac_cpp conftest.$ac_ext" 6923case "(($ac_try" in 6924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6925 *) ac_try_echo=$ac_try;; 6926esac 6927eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6928 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6929 ac_status=$? 6930 grep -v '^ *+' conftest.er1 >conftest.err 6931 rm -f conftest.er1 6932 cat conftest.err >&5 6933 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6934 (exit $ac_status); } >/dev/null && { 6935 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6936 test ! -s conftest.err 6937 }; then 6938 # Broken: success on invalid input. 6939continue 6940else 6941 echo "$as_me: failed program was:" >&5 6942sed 's/^/| /' conftest.$ac_ext >&5 6943 6944 # Passes both tests. 6945ac_preproc_ok=: 6946break 6947fi 6948 6949rm -f conftest.err conftest.$ac_ext 6950 6951done 6952# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6953rm -f conftest.err conftest.$ac_ext 6954if $ac_preproc_ok; then 6955 : 6956else 6957 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 6958See \`config.log' for more details." >&5 6959echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 6960See \`config.log' for more details." >&2;} 6961 { (exit 1); exit 1; }; } 6962fi 6963 6964ac_ext=c 6965ac_cpp='$CPP $CPPFLAGS' 6966ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6967ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6968ac_compiler_gnu=$ac_cv_c_compiler_gnu 6969 6970 6971{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 6972echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 6973if test "${ac_cv_path_GREP+set}" = set; then 6974 echo $ECHO_N "(cached) $ECHO_C" >&6 6975else 6976 # Extract the first word of "grep ggrep" to use in msg output 6977if test -z "$GREP"; then 6978set dummy grep ggrep; ac_prog_name=$2 6979if test "${ac_cv_path_GREP+set}" = set; then 6980 echo $ECHO_N "(cached) $ECHO_C" >&6 6981else 6982 ac_path_GREP_found=false 6983# Loop through the user's path and test for each of PROGNAME-LIST 6984as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6985for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 6986do 6987 IFS=$as_save_IFS 6988 test -z "$as_dir" && as_dir=. 6989 for ac_prog in grep ggrep; do 6990 for ac_exec_ext in '' $ac_executable_extensions; do 6991 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 6992 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 6993 # Check for GNU ac_path_GREP and select it if it is found. 6994 # Check for GNU $ac_path_GREP 6995case `"$ac_path_GREP" --version 2>&1` in 6996*GNU*) 6997 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 6998*) 6999 ac_count=0 7000 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 7001 while : 7002 do 7003 cat "conftest.in" "conftest.in" >"conftest.tmp" 7004 mv "conftest.tmp" "conftest.in" 7005 cp "conftest.in" "conftest.nl" 7006 echo 'GREP' >> "conftest.nl" 7007 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 7008 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 7009 ac_count=`expr $ac_count + 1` 7010 if test $ac_count -gt ${ac_path_GREP_max-0}; then 7011 # Best one so far, save it but keep looking for a better one 7012 ac_cv_path_GREP="$ac_path_GREP" 7013 ac_path_GREP_max=$ac_count 7014 fi 7015 # 10*(2^10) chars as input seems more than enough 7016 test $ac_count -gt 10 && break 7017 done 7018 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 7019esac 7020 7021 7022 $ac_path_GREP_found && break 3 7023 done 7024done 7025 7026done 7027IFS=$as_save_IFS 7028 7029 7030fi 7031 7032GREP="$ac_cv_path_GREP" 7033if test -z "$GREP"; then 7034 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 7035echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 7036 { (exit 1); exit 1; }; } 7037fi 7038 7039else 7040 ac_cv_path_GREP=$GREP 7041fi 7042 7043 7044fi 7045{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 7046echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 7047 GREP="$ac_cv_path_GREP" 7048 7049 7050{ echo "$as_me:$LINENO: checking for egrep" >&5 7051echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 7052if test "${ac_cv_path_EGREP+set}" = set; then 7053 echo $ECHO_N "(cached) $ECHO_C" >&6 7054else 7055 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 7056 then ac_cv_path_EGREP="$GREP -E" 7057 else 7058 # Extract the first word of "egrep" to use in msg output 7059if test -z "$EGREP"; then 7060set dummy egrep; ac_prog_name=$2 7061if test "${ac_cv_path_EGREP+set}" = set; then 7062 echo $ECHO_N "(cached) $ECHO_C" >&6 7063else 7064 ac_path_EGREP_found=false 7065# Loop through the user's path and test for each of PROGNAME-LIST 7066as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7067for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 7068do 7069 IFS=$as_save_IFS 7070 test -z "$as_dir" && as_dir=. 7071 for ac_prog in egrep; do 7072 for ac_exec_ext in '' $ac_executable_extensions; do 7073 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 7074 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 7075 # Check for GNU ac_path_EGREP and select it if it is found. 7076 # Check for GNU $ac_path_EGREP 7077case `"$ac_path_EGREP" --version 2>&1` in 7078*GNU*) 7079 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 7080*) 7081 ac_count=0 7082 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 7083 while : 7084 do 7085 cat "conftest.in" "conftest.in" >"conftest.tmp" 7086 mv "conftest.tmp" "conftest.in" 7087 cp "conftest.in" "conftest.nl" 7088 echo 'EGREP' >> "conftest.nl" 7089 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 7090 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 7091 ac_count=`expr $ac_count + 1` 7092 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 7093 # Best one so far, save it but keep looking for a better one 7094 ac_cv_path_EGREP="$ac_path_EGREP" 7095 ac_path_EGREP_max=$ac_count 7096 fi 7097 # 10*(2^10) chars as input seems more than enough 7098 test $ac_count -gt 10 && break 7099 done 7100 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 7101esac 7102 7103 7104 $ac_path_EGREP_found && break 3 7105 done 7106done 7107 7108done 7109IFS=$as_save_IFS 7110 7111 7112fi 7113 7114EGREP="$ac_cv_path_EGREP" 7115if test -z "$EGREP"; then 7116 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 7117echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 7118 { (exit 1); exit 1; }; } 7119fi 7120 7121else 7122 ac_cv_path_EGREP=$EGREP 7123fi 7124 7125 7126 fi 7127fi 7128{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 7129echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 7130 EGREP="$ac_cv_path_EGREP" 7131 7132 7133{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 7134echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 7135if test "${ac_cv_header_stdc+set}" = set; then 7136 echo $ECHO_N "(cached) $ECHO_C" >&6 7137else 7138 cat >conftest.$ac_ext <<_ACEOF 7139/* confdefs.h. */ 7140_ACEOF 7141cat confdefs.h >>conftest.$ac_ext 7142cat >>conftest.$ac_ext <<_ACEOF 7143/* end confdefs.h. */ 7144#include <stdlib.h> 7145#include <stdarg.h> 7146#include <string.h> 7147#include <float.h> 7148 7149int 7150main () 7151{ 7152 7153 ; 7154 return 0; 7155} 7156_ACEOF 7157rm -f conftest.$ac_objext 7158if { (ac_try="$ac_compile" 7159case "(($ac_try" in 7160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7161 *) ac_try_echo=$ac_try;; 7162esac 7163eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7164 (eval "$ac_compile") 2>conftest.er1 7165 ac_status=$? 7166 grep -v '^ *+' conftest.er1 >conftest.err 7167 rm -f conftest.er1 7168 cat conftest.err >&5 7169 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7170 (exit $ac_status); } && { 7171 test -z "$ac_c_werror_flag" || 7172 test ! -s conftest.err 7173 } && test -s conftest.$ac_objext; then 7174 ac_cv_header_stdc=yes 7175else 7176 echo "$as_me: failed program was:" >&5 7177sed 's/^/| /' conftest.$ac_ext >&5 7178 7179 ac_cv_header_stdc=no 7180fi 7181 7182rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7183 7184if test $ac_cv_header_stdc = yes; then 7185 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7186 cat >conftest.$ac_ext <<_ACEOF 7187/* confdefs.h. */ 7188_ACEOF 7189cat confdefs.h >>conftest.$ac_ext 7190cat >>conftest.$ac_ext <<_ACEOF 7191/* end confdefs.h. */ 7192#include <string.h> 7193 7194_ACEOF 7195if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7196 $EGREP "memchr" >/dev/null 2>&1; then 7197 : 7198else 7199 ac_cv_header_stdc=no 7200fi 7201rm -f conftest* 7202 7203fi 7204 7205if test $ac_cv_header_stdc = yes; then 7206 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7207 cat >conftest.$ac_ext <<_ACEOF 7208/* confdefs.h. */ 7209_ACEOF 7210cat confdefs.h >>conftest.$ac_ext 7211cat >>conftest.$ac_ext <<_ACEOF 7212/* end confdefs.h. */ 7213#include <stdlib.h> 7214 7215_ACEOF 7216if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7217 $EGREP "free" >/dev/null 2>&1; then 7218 : 7219else 7220 ac_cv_header_stdc=no 7221fi 7222rm -f conftest* 7223 7224fi 7225 7226if test $ac_cv_header_stdc = yes; then 7227 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7228 if test "$cross_compiling" = yes; then 7229 : 7230else 7231 cat >conftest.$ac_ext <<_ACEOF 7232/* confdefs.h. */ 7233_ACEOF 7234cat confdefs.h >>conftest.$ac_ext 7235cat >>conftest.$ac_ext <<_ACEOF 7236/* end confdefs.h. */ 7237#include <ctype.h> 7238#include <stdlib.h> 7239#if ((' ' & 0x0FF) == 0x020) 7240# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7241# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7242#else 7243# define ISLOWER(c) \ 7244 (('a' <= (c) && (c) <= 'i') \ 7245 || ('j' <= (c) && (c) <= 'r') \ 7246 || ('s' <= (c) && (c) <= 'z')) 7247# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7248#endif 7249 7250#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7251int 7252main () 7253{ 7254 int i; 7255 for (i = 0; i < 256; i++) 7256 if (XOR (islower (i), ISLOWER (i)) 7257 || toupper (i) != TOUPPER (i)) 7258 return 2; 7259 return 0; 7260} 7261_ACEOF 7262rm -f conftest$ac_exeext 7263if { (ac_try="$ac_link" 7264case "(($ac_try" in 7265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7266 *) ac_try_echo=$ac_try;; 7267esac 7268eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7269 (eval "$ac_link") 2>&5 7270 ac_status=$? 7271 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7272 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7273 { (case "(($ac_try" in 7274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7275 *) ac_try_echo=$ac_try;; 7276esac 7277eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7278 (eval "$ac_try") 2>&5 7279 ac_status=$? 7280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7281 (exit $ac_status); }; }; then 7282 : 7283else 7284 echo "$as_me: program exited with status $ac_status" >&5 7285echo "$as_me: failed program was:" >&5 7286sed 's/^/| /' conftest.$ac_ext >&5 7287 7288( exit $ac_status ) 7289ac_cv_header_stdc=no 7290fi 7291rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7292fi 7293 7294 7295fi 7296fi 7297{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 7298echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 7299if test $ac_cv_header_stdc = yes; then 7300 7301cat >>confdefs.h <<\_ACEOF 7302#define STDC_HEADERS 1 7303_ACEOF 7304 7305fi 7306 7307# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7318 inttypes.h stdint.h unistd.h 7319do 7320as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7321{ echo "$as_me:$LINENO: checking for $ac_header" >&5 7322echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7323if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7324 echo $ECHO_N "(cached) $ECHO_C" >&6 7325else 7326 cat >conftest.$ac_ext <<_ACEOF 7327/* confdefs.h. */ 7328_ACEOF 7329cat confdefs.h >>conftest.$ac_ext 7330cat >>conftest.$ac_ext <<_ACEOF 7331/* end confdefs.h. */ 7332$ac_includes_default 7333 7334#include <$ac_header> 7335_ACEOF 7336rm -f conftest.$ac_objext 7337if { (ac_try="$ac_compile" 7338case "(($ac_try" in 7339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7340 *) ac_try_echo=$ac_try;; 7341esac 7342eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7343 (eval "$ac_compile") 2>conftest.er1 7344 ac_status=$? 7345 grep -v '^ *+' conftest.er1 >conftest.err 7346 rm -f conftest.er1 7347 cat conftest.err >&5 7348 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7349 (exit $ac_status); } && { 7350 test -z "$ac_c_werror_flag" || 7351 test ! -s conftest.err 7352 } && test -s conftest.$ac_objext; then 7353 eval "$as_ac_Header=yes" 7354else 7355 echo "$as_me: failed program was:" >&5 7356sed 's/^/| /' conftest.$ac_ext >&5 7357 7358 eval "$as_ac_Header=no" 7359fi 7360 7361rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7362fi 7363ac_res=`eval echo '${'$as_ac_Header'}'` 7364 { echo "$as_me:$LINENO: result: $ac_res" >&5 7365echo "${ECHO_T}$ac_res" >&6; } 7366if test `eval echo '${'$as_ac_Header'}'` = yes; then 7367 cat >>confdefs.h <<_ACEOF 7368#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7369_ACEOF 7370 7371fi 7372 7373done 7374 7375 7376 7377 7378 7379 7380for ac_header in $ac_header_list 7381do 7382as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7383if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7384 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7385echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7386if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7387 echo $ECHO_N "(cached) $ECHO_C" >&6 7388fi 7389ac_res=`eval echo '${'$as_ac_Header'}'` 7390 { echo "$as_me:$LINENO: result: $ac_res" >&5 7391echo "${ECHO_T}$ac_res" >&6; } 7392else 7393 # Is the header compilable? 7394{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 7395echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7396cat >conftest.$ac_ext <<_ACEOF 7397/* confdefs.h. */ 7398_ACEOF 7399cat confdefs.h >>conftest.$ac_ext 7400cat >>conftest.$ac_ext <<_ACEOF 7401/* end confdefs.h. */ 7402$ac_includes_default 7403#include <$ac_header> 7404_ACEOF 7405rm -f conftest.$ac_objext 7406if { (ac_try="$ac_compile" 7407case "(($ac_try" in 7408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7409 *) ac_try_echo=$ac_try;; 7410esac 7411eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7412 (eval "$ac_compile") 2>conftest.er1 7413 ac_status=$? 7414 grep -v '^ *+' conftest.er1 >conftest.err 7415 rm -f conftest.er1 7416 cat conftest.err >&5 7417 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7418 (exit $ac_status); } && { 7419 test -z "$ac_c_werror_flag" || 7420 test ! -s conftest.err 7421 } && test -s conftest.$ac_objext; then 7422 ac_header_compiler=yes 7423else 7424 echo "$as_me: failed program was:" >&5 7425sed 's/^/| /' conftest.$ac_ext >&5 7426 7427 ac_header_compiler=no 7428fi 7429 7430rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7431{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7432echo "${ECHO_T}$ac_header_compiler" >&6; } 7433 7434# Is the header present? 7435{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 7436echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7437cat >conftest.$ac_ext <<_ACEOF 7438/* confdefs.h. */ 7439_ACEOF 7440cat confdefs.h >>conftest.$ac_ext 7441cat >>conftest.$ac_ext <<_ACEOF 7442/* end confdefs.h. */ 7443#include <$ac_header> 7444_ACEOF 7445if { (ac_try="$ac_cpp conftest.$ac_ext" 7446case "(($ac_try" in 7447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7448 *) ac_try_echo=$ac_try;; 7449esac 7450eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7451 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7452 ac_status=$? 7453 grep -v '^ *+' conftest.er1 >conftest.err 7454 rm -f conftest.er1 7455 cat conftest.err >&5 7456 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7457 (exit $ac_status); } >/dev/null && { 7458 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7459 test ! -s conftest.err 7460 }; then 7461 ac_header_preproc=yes 7462else 7463 echo "$as_me: failed program was:" >&5 7464sed 's/^/| /' conftest.$ac_ext >&5 7465 7466 ac_header_preproc=no 7467fi 7468 7469rm -f conftest.err conftest.$ac_ext 7470{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7471echo "${ECHO_T}$ac_header_preproc" >&6; } 7472 7473# So? What about this header? 7474case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7475 yes:no: ) 7476 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7477echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7478 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7479echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7480 ac_header_preproc=yes 7481 ;; 7482 no:yes:* ) 7483 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7484echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7485 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7486echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7487 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7488echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7489 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7490echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7491 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7492echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7493 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7494echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7495 ( cat <<\_ASBOX 7496## ------------------------------- ## 7497## Report this to spm@stedee.id.au ## 7498## ------------------------------- ## 7499_ASBOX 7500 ) | sed "s/^/$as_me: WARNING: /" >&2 7501 ;; 7502esac 7503{ echo "$as_me:$LINENO: checking for $ac_header" >&5 7504echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7505if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7506 echo $ECHO_N "(cached) $ECHO_C" >&6 7507else 7508 eval "$as_ac_Header=\$ac_header_preproc" 7509fi 7510ac_res=`eval echo '${'$as_ac_Header'}'` 7511 { echo "$as_me:$LINENO: result: $ac_res" >&5 7512echo "${ECHO_T}$ac_res" >&6; } 7513 7514fi 7515if test `eval echo '${'$as_ac_Header'}'` = yes; then 7516 cat >>confdefs.h <<_ACEOF 7517#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7518_ACEOF 7519 7520fi 7521 7522done 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532for ac_func in $ac_func_list 7533do 7534as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7535{ echo "$as_me:$LINENO: checking for $ac_func" >&5 7536echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 7537if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7538 echo $ECHO_N "(cached) $ECHO_C" >&6 7539else 7540 cat >conftest.$ac_ext <<_ACEOF 7541/* confdefs.h. */ 7542_ACEOF 7543cat confdefs.h >>conftest.$ac_ext 7544cat >>conftest.$ac_ext <<_ACEOF 7545/* end confdefs.h. */ 7546/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 7547 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7548#define $ac_func innocuous_$ac_func 7549 7550/* System header to define __stub macros and hopefully few prototypes, 7551 which can conflict with char $ac_func (); below. 7552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7553 <limits.h> exists even on freestanding compilers. */ 7554 7555#ifdef __STDC__ 7556# include <limits.h> 7557#else 7558# include <assert.h> 7559#endif 7560 7561#undef $ac_func 7562 7563/* Override any GCC internal prototype to avoid an error. 7564 Use char because int might match the return type of a GCC 7565 builtin and then its argument prototype would still apply. */ 7566#ifdef __cplusplus 7567extern "C" 7568#endif 7569char $ac_func (); 7570/* The GNU C library defines this for functions which it implements 7571 to always fail with ENOSYS. Some functions are actually named 7572 something starting with __ and the normal name is an alias. */ 7573#if defined __stub_$ac_func || defined __stub___$ac_func 7574choke me 7575#endif 7576 7577int 7578main () 7579{ 7580return $ac_func (); 7581 ; 7582 return 0; 7583} 7584_ACEOF 7585rm -f conftest.$ac_objext conftest$ac_exeext 7586if { (ac_try="$ac_link" 7587case "(($ac_try" in 7588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7589 *) ac_try_echo=$ac_try;; 7590esac 7591eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7592 (eval "$ac_link") 2>conftest.er1 7593 ac_status=$? 7594 grep -v '^ *+' conftest.er1 >conftest.err 7595 rm -f conftest.er1 7596 cat conftest.err >&5 7597 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7598 (exit $ac_status); } && { 7599 test -z "$ac_c_werror_flag" || 7600 test ! -s conftest.err 7601 } && test -s conftest$ac_exeext && 7602 $as_test_x conftest$ac_exeext; then 7603 eval "$as_ac_var=yes" 7604else 7605 echo "$as_me: failed program was:" >&5 7606sed 's/^/| /' conftest.$ac_ext >&5 7607 7608 eval "$as_ac_var=no" 7609fi 7610 7611rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7612 conftest$ac_exeext conftest.$ac_ext 7613fi 7614ac_res=`eval echo '${'$as_ac_var'}'` 7615 { echo "$as_me:$LINENO: result: $ac_res" >&5 7616echo "${ECHO_T}$ac_res" >&6; } 7617if test `eval echo '${'$as_ac_var'}'` = yes; then 7618 cat >>confdefs.h <<_ACEOF 7619#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 7620_ACEOF 7621 7622fi 7623done 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641{ echo "$as_me:$LINENO: checking for working mktime" >&5 7642echo $ECHO_N "checking for working mktime... $ECHO_C" >&6; } 7643if test "${ac_cv_func_working_mktime+set}" = set; then 7644 echo $ECHO_N "(cached) $ECHO_C" >&6 7645else 7646 if test "$cross_compiling" = yes; then 7647 ac_cv_func_working_mktime=no 7648else 7649 cat >conftest.$ac_ext <<_ACEOF 7650/* confdefs.h. */ 7651_ACEOF 7652cat confdefs.h >>conftest.$ac_ext 7653cat >>conftest.$ac_ext <<_ACEOF 7654/* end confdefs.h. */ 7655/* Test program from Paul Eggert and Tony Leneis. */ 7656#ifdef TIME_WITH_SYS_TIME 7657# include <sys/time.h> 7658# include <time.h> 7659#else 7660# ifdef HAVE_SYS_TIME_H 7661# include <sys/time.h> 7662# else 7663# include <time.h> 7664# endif 7665#endif 7666 7667#include <limits.h> 7668#include <stdlib.h> 7669 7670#ifdef HAVE_UNISTD_H 7671# include <unistd.h> 7672#endif 7673 7674#ifndef HAVE_ALARM 7675# define alarm(X) /* empty */ 7676#endif 7677 7678/* Work around redefinition to rpl_putenv by other config tests. */ 7679#undef putenv 7680 7681static time_t time_t_max; 7682static time_t time_t_min; 7683 7684/* Values we'll use to set the TZ environment variable. */ 7685static char *tz_strings[] = { 7686 (char *) 0, "TZ=GMT0", "TZ=JST-9", 7687 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" 7688}; 7689#define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) 7690 7691/* Return 0 if mktime fails to convert a date in the spring-forward gap. 7692 Based on a problem report from Andreas Jaeger. */ 7693static int 7694spring_forward_gap () 7695{ 7696 /* glibc (up to about 1998-10-07) failed this test. */ 7697 struct tm tm; 7698 7699 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" 7700 instead of "TZ=America/Vancouver" in order to detect the bug even 7701 on systems that don't support the Olson extension, or don't have the 7702 full zoneinfo tables installed. */ 7703 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); 7704 7705 tm.tm_year = 98; 7706 tm.tm_mon = 3; 7707 tm.tm_mday = 5; 7708 tm.tm_hour = 2; 7709 tm.tm_min = 0; 7710 tm.tm_sec = 0; 7711 tm.tm_isdst = -1; 7712 return mktime (&tm) != (time_t) -1; 7713} 7714 7715static int 7716mktime_test1 (now) 7717 time_t now; 7718{ 7719 struct tm *lt; 7720 return ! (lt = localtime (&now)) || mktime (lt) == now; 7721} 7722 7723static int 7724mktime_test (now) 7725 time_t now; 7726{ 7727 return (mktime_test1 (now) 7728 && mktime_test1 ((time_t) (time_t_max - now)) 7729 && mktime_test1 ((time_t) (time_t_min + now))); 7730} 7731 7732static int 7733irix_6_4_bug () 7734{ 7735 /* Based on code from Ariel Faigon. */ 7736 struct tm tm; 7737 tm.tm_year = 96; 7738 tm.tm_mon = 3; 7739 tm.tm_mday = 0; 7740 tm.tm_hour = 0; 7741 tm.tm_min = 0; 7742 tm.tm_sec = 0; 7743 tm.tm_isdst = -1; 7744 mktime (&tm); 7745 return tm.tm_mon == 2 && tm.tm_mday == 31; 7746} 7747 7748static int 7749bigtime_test (j) 7750 int j; 7751{ 7752 struct tm tm; 7753 time_t now; 7754 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j; 7755 now = mktime (&tm); 7756 if (now != (time_t) -1) 7757 { 7758 struct tm *lt = localtime (&now); 7759 if (! (lt 7760 && lt->tm_year == tm.tm_year 7761 && lt->tm_mon == tm.tm_mon 7762 && lt->tm_mday == tm.tm_mday 7763 && lt->tm_hour == tm.tm_hour 7764 && lt->tm_min == tm.tm_min 7765 && lt->tm_sec == tm.tm_sec 7766 && lt->tm_yday == tm.tm_yday 7767 && lt->tm_wday == tm.tm_wday 7768 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst) 7769 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst)))) 7770 return 0; 7771 } 7772 return 1; 7773} 7774 7775static int 7776year_2050_test () 7777{ 7778 /* The correct answer for 2050-02-01 00:00:00 in Pacific time, 7779 ignoring leap seconds. */ 7780 unsigned long int answer = 2527315200UL; 7781 7782 struct tm tm; 7783 time_t t; 7784 tm.tm_year = 2050 - 1900; 7785 tm.tm_mon = 2 - 1; 7786 tm.tm_mday = 1; 7787 tm.tm_hour = tm.tm_min = tm.tm_sec = 0; 7788 tm.tm_isdst = -1; 7789 7790 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" 7791 instead of "TZ=America/Vancouver" in order to detect the bug even 7792 on systems that don't support the Olson extension, or don't have the 7793 full zoneinfo tables installed. */ 7794 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); 7795 7796 t = mktime (&tm); 7797 7798 /* Check that the result is either a failure, or close enough 7799 to the correct answer that we can assume the discrepancy is 7800 due to leap seconds. */ 7801 return (t == (time_t) -1 7802 || (0 < t && answer - 120 <= t && t <= answer + 120)); 7803} 7804 7805int 7806main () 7807{ 7808 time_t t, delta; 7809 int i, j; 7810 7811 /* This test makes some buggy mktime implementations loop. 7812 Give up after 60 seconds; a mktime slower than that 7813 isn't worth using anyway. */ 7814 alarm (60); 7815 7816 for (;;) 7817 { 7818 t = (time_t_max << 1) + 1; 7819 if (t <= time_t_max) 7820 break; 7821 time_t_max = t; 7822 } 7823 time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max; 7824 7825 delta = time_t_max / 997; /* a suitable prime number */ 7826 for (i = 0; i < N_STRINGS; i++) 7827 { 7828 if (tz_strings[i]) 7829 putenv (tz_strings[i]); 7830 7831 for (t = 0; t <= time_t_max - delta; t += delta) 7832 if (! mktime_test (t)) 7833 return 1; 7834 if (! (mktime_test ((time_t) 1) 7835 && mktime_test ((time_t) (60 * 60)) 7836 && mktime_test ((time_t) (60 * 60 * 24)))) 7837 return 1; 7838 7839 for (j = 1; ; j <<= 1) 7840 if (! bigtime_test (j)) 7841 return 1; 7842 else if (INT_MAX / 2 < j) 7843 break; 7844 if (! bigtime_test (INT_MAX)) 7845 return 1; 7846 } 7847 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); 7848} 7849_ACEOF 7850rm -f conftest$ac_exeext 7851if { (ac_try="$ac_link" 7852case "(($ac_try" in 7853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7854 *) ac_try_echo=$ac_try;; 7855esac 7856eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7857 (eval "$ac_link") 2>&5 7858 ac_status=$? 7859 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7860 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7861 { (case "(($ac_try" in 7862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7863 *) ac_try_echo=$ac_try;; 7864esac 7865eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7866 (eval "$ac_try") 2>&5 7867 ac_status=$? 7868 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7869 (exit $ac_status); }; }; then 7870 ac_cv_func_working_mktime=yes 7871else 7872 echo "$as_me: program exited with status $ac_status" >&5 7873echo "$as_me: failed program was:" >&5 7874sed 's/^/| /' conftest.$ac_ext >&5 7875 7876( exit $ac_status ) 7877ac_cv_func_working_mktime=no 7878fi 7879rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7880fi 7881 7882 7883fi 7884{ echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5 7885echo "${ECHO_T}$ac_cv_func_working_mktime" >&6; } 7886if test $ac_cv_func_working_mktime = no; then 7887 case " $LIBOBJS " in 7888 *" mktime.$ac_objext "* ) ;; 7889 *) LIBOBJS="$LIBOBJS mktime.$ac_objext" 7890 ;; 7891esac 7892 7893fi 7894 7895 7896{ echo "$as_me:$LINENO: checking for main in -lm" >&5 7897echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; } 7898if test "${ac_cv_lib_m_main+set}" = set; then 7899 echo $ECHO_N "(cached) $ECHO_C" >&6 7900else 7901 ac_check_lib_save_LIBS=$LIBS 7902LIBS="-lm $LIBS" 7903cat >conftest.$ac_ext <<_ACEOF 7904/* confdefs.h. */ 7905_ACEOF 7906cat confdefs.h >>conftest.$ac_ext 7907cat >>conftest.$ac_ext <<_ACEOF 7908/* end confdefs.h. */ 7909 7910 7911int 7912main () 7913{ 7914return main (); 7915 ; 7916 return 0; 7917} 7918_ACEOF 7919rm -f conftest.$ac_objext conftest$ac_exeext 7920if { (ac_try="$ac_link" 7921case "(($ac_try" in 7922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7923 *) ac_try_echo=$ac_try;; 7924esac 7925eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7926 (eval "$ac_link") 2>conftest.er1 7927 ac_status=$? 7928 grep -v '^ *+' conftest.er1 >conftest.err 7929 rm -f conftest.er1 7930 cat conftest.err >&5 7931 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7932 (exit $ac_status); } && { 7933 test -z "$ac_c_werror_flag" || 7934 test ! -s conftest.err 7935 } && test -s conftest$ac_exeext && 7936 $as_test_x conftest$ac_exeext; then 7937 ac_cv_lib_m_main=yes 7938else 7939 echo "$as_me: failed program was:" >&5 7940sed 's/^/| /' conftest.$ac_ext >&5 7941 7942 ac_cv_lib_m_main=no 7943fi 7944 7945rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7946 conftest$ac_exeext conftest.$ac_ext 7947LIBS=$ac_check_lib_save_LIBS 7948fi 7949{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 7950echo "${ECHO_T}$ac_cv_lib_m_main" >&6; } 7951if test $ac_cv_lib_m_main = yes; then 7952 cat >>confdefs.h <<_ACEOF 7953#define HAVE_LIBM 1 7954_ACEOF 7955 7956 LIBS="-lm $LIBS" 7957 7958else 7959 echo "Missing Math Library" ; exit 7960fi 7961 7962 7963{ echo "$as_me:$LINENO: checking for main in -lz" >&5 7964echo $ECHO_N "checking for main in -lz... $ECHO_C" >&6; } 7965if test "${ac_cv_lib_z_main+set}" = set; then 7966 echo $ECHO_N "(cached) $ECHO_C" >&6 7967else 7968 ac_check_lib_save_LIBS=$LIBS 7969LIBS="-lz $LIBS" 7970cat >conftest.$ac_ext <<_ACEOF 7971/* confdefs.h. */ 7972_ACEOF 7973cat confdefs.h >>conftest.$ac_ext 7974cat >>conftest.$ac_ext <<_ACEOF 7975/* end confdefs.h. */ 7976 7977 7978int 7979main () 7980{ 7981return main (); 7982 ; 7983 return 0; 7984} 7985_ACEOF 7986rm -f conftest.$ac_objext conftest$ac_exeext 7987if { (ac_try="$ac_link" 7988case "(($ac_try" in 7989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7990 *) ac_try_echo=$ac_try;; 7991esac 7992eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7993 (eval "$ac_link") 2>conftest.er1 7994 ac_status=$? 7995 grep -v '^ *+' conftest.er1 >conftest.err 7996 rm -f conftest.er1 7997 cat conftest.err >&5 7998 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7999 (exit $ac_status); } && { 8000 test -z "$ac_c_werror_flag" || 8001 test ! -s conftest.err 8002 } && test -s conftest$ac_exeext && 8003 $as_test_x conftest$ac_exeext; then 8004 ac_cv_lib_z_main=yes 8005else 8006 echo "$as_me: failed program was:" >&5 8007sed 's/^/| /' conftest.$ac_ext >&5 8008 8009 ac_cv_lib_z_main=no 8010fi 8011 8012rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8013 conftest$ac_exeext conftest.$ac_ext 8014LIBS=$ac_check_lib_save_LIBS 8015fi 8016{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_main" >&5 8017echo "${ECHO_T}$ac_cv_lib_z_main" >&6; } 8018if test $ac_cv_lib_z_main = yes; then 8019 cat >>confdefs.h <<_ACEOF 8020#define HAVE_LIBZ 1 8021_ACEOF 8022 8023 LIBS="-lz $LIBS" 8024 8025else 8026 echo "Missing Z Compression Library" ; exit 8027fi 8028 8029 8030{ echo "$as_me:$LINENO: checking for main in -lpng" >&5 8031echo $ECHO_N "checking for main in -lpng... $ECHO_C" >&6; } 8032if test "${ac_cv_lib_png_main+set}" = set; then 8033 echo $ECHO_N "(cached) $ECHO_C" >&6 8034else 8035 ac_check_lib_save_LIBS=$LIBS 8036LIBS="-lpng $LIBS" 8037cat >conftest.$ac_ext <<_ACEOF 8038/* confdefs.h. */ 8039_ACEOF 8040cat confdefs.h >>conftest.$ac_ext 8041cat >>conftest.$ac_ext <<_ACEOF 8042/* end confdefs.h. */ 8043 8044 8045int 8046main () 8047{ 8048return main (); 8049 ; 8050 return 0; 8051} 8052_ACEOF 8053rm -f conftest.$ac_objext conftest$ac_exeext 8054if { (ac_try="$ac_link" 8055case "(($ac_try" in 8056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8057 *) ac_try_echo=$ac_try;; 8058esac 8059eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8060 (eval "$ac_link") 2>conftest.er1 8061 ac_status=$? 8062 grep -v '^ *+' conftest.er1 >conftest.err 8063 rm -f conftest.er1 8064 cat conftest.err >&5 8065 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8066 (exit $ac_status); } && { 8067 test -z "$ac_c_werror_flag" || 8068 test ! -s conftest.err 8069 } && test -s conftest$ac_exeext && 8070 $as_test_x conftest$ac_exeext; then 8071 ac_cv_lib_png_main=yes 8072else 8073 echo "$as_me: failed program was:" >&5 8074sed 's/^/| /' conftest.$ac_ext >&5 8075 8076 ac_cv_lib_png_main=no 8077fi 8078 8079rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8080 conftest$ac_exeext conftest.$ac_ext 8081LIBS=$ac_check_lib_save_LIBS 8082fi 8083{ echo "$as_me:$LINENO: result: $ac_cv_lib_png_main" >&5 8084echo "${ECHO_T}$ac_cv_lib_png_main" >&6; } 8085if test $ac_cv_lib_png_main = yes; then 8086 cat >>confdefs.h <<_ACEOF 8087#define HAVE_LIBPNG 1 8088_ACEOF 8089 8090 LIBS="-lpng $LIBS" 8091 8092else 8093 echo "Missing PNG Library" ; exit 8094fi 8095 8096 8097{ echo "$as_me:$LINENO: checking for gdImagePng in -lgd" >&5 8098echo $ECHO_N "checking for gdImagePng in -lgd... $ECHO_C" >&6; } 8099if test "${ac_cv_lib_gd_gdImagePng+set}" = set; then 8100 echo $ECHO_N "(cached) $ECHO_C" >&6 8101else 8102 ac_check_lib_save_LIBS=$LIBS 8103LIBS="-lgd $LIBS" 8104cat >conftest.$ac_ext <<_ACEOF 8105/* confdefs.h. */ 8106_ACEOF 8107cat confdefs.h >>conftest.$ac_ext 8108cat >>conftest.$ac_ext <<_ACEOF 8109/* end confdefs.h. */ 8110 8111/* Override any GCC internal prototype to avoid an error. 8112 Use char because int might match the return type of a GCC 8113 builtin and then its argument prototype would still apply. */ 8114#ifdef __cplusplus 8115extern "C" 8116#endif 8117char gdImagePng (); 8118int 8119main () 8120{ 8121return gdImagePng (); 8122 ; 8123 return 0; 8124} 8125_ACEOF 8126rm -f conftest.$ac_objext conftest$ac_exeext 8127if { (ac_try="$ac_link" 8128case "(($ac_try" in 8129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8130 *) ac_try_echo=$ac_try;; 8131esac 8132eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8133 (eval "$ac_link") 2>conftest.er1 8134 ac_status=$? 8135 grep -v '^ *+' conftest.er1 >conftest.err 8136 rm -f conftest.er1 8137 cat conftest.err >&5 8138 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8139 (exit $ac_status); } && { 8140 test -z "$ac_c_werror_flag" || 8141 test ! -s conftest.err 8142 } && test -s conftest$ac_exeext && 8143 $as_test_x conftest$ac_exeext; then 8144 ac_cv_lib_gd_gdImagePng=yes 8145else 8146 echo "$as_me: failed program was:" >&5 8147sed 's/^/| /' conftest.$ac_ext >&5 8148 8149 ac_cv_lib_gd_gdImagePng=no 8150fi 8151 8152rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8153 conftest$ac_exeext conftest.$ac_ext 8154LIBS=$ac_check_lib_save_LIBS 8155fi 8156{ echo "$as_me:$LINENO: result: $ac_cv_lib_gd_gdImagePng" >&5 8157echo "${ECHO_T}$ac_cv_lib_gd_gdImagePng" >&6; } 8158if test $ac_cv_lib_gd_gdImagePng = yes; then 8159 cat >>confdefs.h <<_ACEOF 8160#define HAVE_LIBGD 1 8161_ACEOF 8162 8163 LIBS="-lgd $LIBS" 8164 8165else 8166 echo "Missing GD Library" ; exit 8167fi 8168 8169 8170if test "$ENABLE_TTF" = "yes"; then 8171 { echo "$as_me:$LINENO: checking for gdImageStringFT in -lgd" >&5 8172echo $ECHO_N "checking for gdImageStringFT in -lgd... $ECHO_C" >&6; } 8173if test "${ac_cv_lib_gd_gdImageStringFT+set}" = set; then 8174 echo $ECHO_N "(cached) $ECHO_C" >&6 8175else 8176 ac_check_lib_save_LIBS=$LIBS 8177LIBS="-lgd $LIBS" 8178cat >conftest.$ac_ext <<_ACEOF 8179/* confdefs.h. */ 8180_ACEOF 8181cat confdefs.h >>conftest.$ac_ext 8182cat >>conftest.$ac_ext <<_ACEOF 8183/* end confdefs.h. */ 8184 8185/* Override any GCC internal prototype to avoid an error. 8186 Use char because int might match the return type of a GCC 8187 builtin and then its argument prototype would still apply. */ 8188#ifdef __cplusplus 8189extern "C" 8190#endif 8191char gdImageStringFT (); 8192int 8193main () 8194{ 8195return gdImageStringFT (); 8196 ; 8197 return 0; 8198} 8199_ACEOF 8200rm -f conftest.$ac_objext conftest$ac_exeext 8201if { (ac_try="$ac_link" 8202case "(($ac_try" in 8203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8204 *) ac_try_echo=$ac_try;; 8205esac 8206eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8207 (eval "$ac_link") 2>conftest.er1 8208 ac_status=$? 8209 grep -v '^ *+' conftest.er1 >conftest.err 8210 rm -f conftest.er1 8211 cat conftest.err >&5 8212 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8213 (exit $ac_status); } && { 8214 test -z "$ac_c_werror_flag" || 8215 test ! -s conftest.err 8216 } && test -s conftest$ac_exeext && 8217 $as_test_x conftest$ac_exeext; then 8218 ac_cv_lib_gd_gdImageStringFT=yes 8219else 8220 echo "$as_me: failed program was:" >&5 8221sed 's/^/| /' conftest.$ac_ext >&5 8222 8223 ac_cv_lib_gd_gdImageStringFT=no 8224fi 8225 8226rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8227 conftest$ac_exeext conftest.$ac_ext 8228LIBS=$ac_check_lib_save_LIBS 8229fi 8230{ echo "$as_me:$LINENO: result: $ac_cv_lib_gd_gdImageStringFT" >&5 8231echo "${ECHO_T}$ac_cv_lib_gd_gdImageStringFT" >&6; } 8232if test $ac_cv_lib_gd_gdImageStringFT = yes; then 8233 8234cat >>confdefs.h <<\_ACEOF 8235#define HAVE_GDIMAGESTRINGFT 1 8236_ACEOF 8237 8238else 8239 echo "Missing GD TrueType Font Capability" 8240fi 8241 8242 8243 { echo "$as_me:$LINENO: checking for gdFTUseFontConfig in -lgd" >&5 8244echo $ECHO_N "checking for gdFTUseFontConfig in -lgd... $ECHO_C" >&6; } 8245if test "${ac_cv_lib_gd_gdFTUseFontConfig+set}" = set; then 8246 echo $ECHO_N "(cached) $ECHO_C" >&6 8247else 8248 ac_check_lib_save_LIBS=$LIBS 8249LIBS="-lgd $LIBS" 8250cat >conftest.$ac_ext <<_ACEOF 8251/* confdefs.h. */ 8252_ACEOF 8253cat confdefs.h >>conftest.$ac_ext 8254cat >>conftest.$ac_ext <<_ACEOF 8255/* end confdefs.h. */ 8256 8257/* Override any GCC internal prototype to avoid an error. 8258 Use char because int might match the return type of a GCC 8259 builtin and then its argument prototype would still apply. */ 8260#ifdef __cplusplus 8261extern "C" 8262#endif 8263char gdFTUseFontConfig (); 8264int 8265main () 8266{ 8267return gdFTUseFontConfig (); 8268 ; 8269 return 0; 8270} 8271_ACEOF 8272rm -f conftest.$ac_objext conftest$ac_exeext 8273if { (ac_try="$ac_link" 8274case "(($ac_try" in 8275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8276 *) ac_try_echo=$ac_try;; 8277esac 8278eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8279 (eval "$ac_link") 2>conftest.er1 8280 ac_status=$? 8281 grep -v '^ *+' conftest.er1 >conftest.err 8282 rm -f conftest.er1 8283 cat conftest.err >&5 8284 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8285 (exit $ac_status); } && { 8286 test -z "$ac_c_werror_flag" || 8287 test ! -s conftest.err 8288 } && test -s conftest$ac_exeext && 8289 $as_test_x conftest$ac_exeext; then 8290 ac_cv_lib_gd_gdFTUseFontConfig=yes 8291else 8292 echo "$as_me: failed program was:" >&5 8293sed 's/^/| /' conftest.$ac_ext >&5 8294 8295 ac_cv_lib_gd_gdFTUseFontConfig=no 8296fi 8297 8298rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8299 conftest$ac_exeext conftest.$ac_ext 8300LIBS=$ac_check_lib_save_LIBS 8301fi 8302{ echo "$as_me:$LINENO: result: $ac_cv_lib_gd_gdFTUseFontConfig" >&5 8303echo "${ECHO_T}$ac_cv_lib_gd_gdFTUseFontConfig" >&6; } 8304if test $ac_cv_lib_gd_gdFTUseFontConfig = yes; then 8305 8306cat >>confdefs.h <<\_ACEOF 8307#define HAVE_GDFTUSEFONTCONFIG 1 8308_ACEOF 8309 8310else 8311 echo "Missing GD TrueType Font Config Capability" 8312fi 8313 8314fi 8315 8316 8317{ echo "$as_me:$LINENO: checking for main in -lpcre" >&5 8318echo $ECHO_N "checking for main in -lpcre... $ECHO_C" >&6; } 8319if test "${ac_cv_lib_pcre_main+set}" = set; then 8320 echo $ECHO_N "(cached) $ECHO_C" >&6 8321else 8322 ac_check_lib_save_LIBS=$LIBS 8323LIBS="-lpcre $LIBS" 8324cat >conftest.$ac_ext <<_ACEOF 8325/* confdefs.h. */ 8326_ACEOF 8327cat confdefs.h >>conftest.$ac_ext 8328cat >>conftest.$ac_ext <<_ACEOF 8329/* end confdefs.h. */ 8330 8331 8332int 8333main () 8334{ 8335return main (); 8336 ; 8337 return 0; 8338} 8339_ACEOF 8340rm -f conftest.$ac_objext conftest$ac_exeext 8341if { (ac_try="$ac_link" 8342case "(($ac_try" in 8343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8344 *) ac_try_echo=$ac_try;; 8345esac 8346eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8347 (eval "$ac_link") 2>conftest.er1 8348 ac_status=$? 8349 grep -v '^ *+' conftest.er1 >conftest.err 8350 rm -f conftest.er1 8351 cat conftest.err >&5 8352 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8353 (exit $ac_status); } && { 8354 test -z "$ac_c_werror_flag" || 8355 test ! -s conftest.err 8356 } && test -s conftest$ac_exeext && 8357 $as_test_x conftest$ac_exeext; then 8358 ac_cv_lib_pcre_main=yes 8359else 8360 echo "$as_me: failed program was:" >&5 8361sed 's/^/| /' conftest.$ac_ext >&5 8362 8363 ac_cv_lib_pcre_main=no 8364fi 8365 8366rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8367 conftest$ac_exeext conftest.$ac_ext 8368LIBS=$ac_check_lib_save_LIBS 8369fi 8370{ echo "$as_me:$LINENO: result: $ac_cv_lib_pcre_main" >&5 8371echo "${ECHO_T}$ac_cv_lib_pcre_main" >&6; } 8372if test $ac_cv_lib_pcre_main = yes; then 8373 cat >>confdefs.h <<_ACEOF 8374#define HAVE_LIBPCRE 1 8375_ACEOF 8376 8377 LIBS="-lpcre $LIBS" 8378 8379else 8380 echo "Missing Perl Reg. Ex. Library" ; exit 8381fi 8382 8383if test "$ENABLE_GEOIP" = "yes"; then 8384 8385{ echo "$as_me:$LINENO: checking for main in -lGeoIP" >&5 8386echo $ECHO_N "checking for main in -lGeoIP... $ECHO_C" >&6; } 8387if test "${ac_cv_lib_GeoIP_main+set}" = set; then 8388 echo $ECHO_N "(cached) $ECHO_C" >&6 8389else 8390 ac_check_lib_save_LIBS=$LIBS 8391LIBS="-lGeoIP $LIBS" 8392cat >conftest.$ac_ext <<_ACEOF 8393/* confdefs.h. */ 8394_ACEOF 8395cat confdefs.h >>conftest.$ac_ext 8396cat >>conftest.$ac_ext <<_ACEOF 8397/* end confdefs.h. */ 8398 8399 8400int 8401main () 8402{ 8403return main (); 8404 ; 8405 return 0; 8406} 8407_ACEOF 8408rm -f conftest.$ac_objext conftest$ac_exeext 8409if { (ac_try="$ac_link" 8410case "(($ac_try" in 8411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8412 *) ac_try_echo=$ac_try;; 8413esac 8414eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8415 (eval "$ac_link") 2>conftest.er1 8416 ac_status=$? 8417 grep -v '^ *+' conftest.er1 >conftest.err 8418 rm -f conftest.er1 8419 cat conftest.err >&5 8420 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8421 (exit $ac_status); } && { 8422 test -z "$ac_c_werror_flag" || 8423 test ! -s conftest.err 8424 } && test -s conftest$ac_exeext && 8425 $as_test_x conftest$ac_exeext; then 8426 ac_cv_lib_GeoIP_main=yes 8427else 8428 echo "$as_me: failed program was:" >&5 8429sed 's/^/| /' conftest.$ac_ext >&5 8430 8431 ac_cv_lib_GeoIP_main=no 8432fi 8433 8434rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8435 conftest$ac_exeext conftest.$ac_ext 8436LIBS=$ac_check_lib_save_LIBS 8437fi 8438{ echo "$as_me:$LINENO: result: $ac_cv_lib_GeoIP_main" >&5 8439echo "${ECHO_T}$ac_cv_lib_GeoIP_main" >&6; } 8440if test $ac_cv_lib_GeoIP_main = yes; then 8441 cat >>confdefs.h <<_ACEOF 8442#define HAVE_LIBGEOIP 1 8443_ACEOF 8444 8445 LIBS="-lGeoIP $LIBS" 8446 8447else 8448 echo "Missing GeoIP Library" ; ENABLE_GEOIP="no" 8449fi 8450 8451fi 8452 8453{ echo "$as_me:$LINENO: checking for getopt_long" >&5 8454echo $ECHO_N "checking for getopt_long... $ECHO_C" >&6; } 8455if test "${ac_cv_func_getopt_long+set}" = set; then 8456 echo $ECHO_N "(cached) $ECHO_C" >&6 8457else 8458 cat >conftest.$ac_ext <<_ACEOF 8459/* confdefs.h. */ 8460_ACEOF 8461cat confdefs.h >>conftest.$ac_ext 8462cat >>conftest.$ac_ext <<_ACEOF 8463/* end confdefs.h. */ 8464/* Define getopt_long to an innocuous variant, in case <limits.h> declares getopt_long. 8465 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 8466#define getopt_long innocuous_getopt_long 8467 8468/* System header to define __stub macros and hopefully few prototypes, 8469 which can conflict with char getopt_long (); below. 8470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8471 <limits.h> exists even on freestanding compilers. */ 8472 8473#ifdef __STDC__ 8474# include <limits.h> 8475#else 8476# include <assert.h> 8477#endif 8478 8479#undef getopt_long 8480 8481/* Override any GCC internal prototype to avoid an error. 8482 Use char because int might match the return type of a GCC 8483 builtin and then its argument prototype would still apply. */ 8484#ifdef __cplusplus 8485extern "C" 8486#endif 8487char getopt_long (); 8488/* The GNU C library defines this for functions which it implements 8489 to always fail with ENOSYS. Some functions are actually named 8490 something starting with __ and the normal name is an alias. */ 8491#if defined __stub_getopt_long || defined __stub___getopt_long 8492choke me 8493#endif 8494 8495int 8496main () 8497{ 8498return getopt_long (); 8499 ; 8500 return 0; 8501} 8502_ACEOF 8503rm -f conftest.$ac_objext conftest$ac_exeext 8504if { (ac_try="$ac_link" 8505case "(($ac_try" in 8506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8507 *) ac_try_echo=$ac_try;; 8508esac 8509eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8510 (eval "$ac_link") 2>conftest.er1 8511 ac_status=$? 8512 grep -v '^ *+' conftest.er1 >conftest.err 8513 rm -f conftest.er1 8514 cat conftest.err >&5 8515 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8516 (exit $ac_status); } && { 8517 test -z "$ac_c_werror_flag" || 8518 test ! -s conftest.err 8519 } && test -s conftest$ac_exeext && 8520 $as_test_x conftest$ac_exeext; then 8521 ac_cv_func_getopt_long=yes 8522else 8523 echo "$as_me: failed program was:" >&5 8524sed 's/^/| /' conftest.$ac_ext >&5 8525 8526 ac_cv_func_getopt_long=no 8527fi 8528 8529rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8530 conftest$ac_exeext conftest.$ac_ext 8531fi 8532{ echo "$as_me:$LINENO: result: $ac_cv_func_getopt_long" >&5 8533echo "${ECHO_T}$ac_cv_func_getopt_long" >&6; } 8534if test $ac_cv_func_getopt_long = yes; then 8535 : 8536else 8537 echo "Missing getopt_long Function" ; exit 8538fi 8539 8540 8541 8542 8543for ac_func in floor memset strlcpy 8544do 8545as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8546{ echo "$as_me:$LINENO: checking for $ac_func" >&5 8547echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 8548if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 8549 echo $ECHO_N "(cached) $ECHO_C" >&6 8550else 8551 cat >conftest.$ac_ext <<_ACEOF 8552/* confdefs.h. */ 8553_ACEOF 8554cat confdefs.h >>conftest.$ac_ext 8555cat >>conftest.$ac_ext <<_ACEOF 8556/* end confdefs.h. */ 8557/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 8558 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 8559#define $ac_func innocuous_$ac_func 8560 8561/* System header to define __stub macros and hopefully few prototypes, 8562 which can conflict with char $ac_func (); below. 8563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8564 <limits.h> exists even on freestanding compilers. */ 8565 8566#ifdef __STDC__ 8567# include <limits.h> 8568#else 8569# include <assert.h> 8570#endif 8571 8572#undef $ac_func 8573 8574/* Override any GCC internal prototype to avoid an error. 8575 Use char because int might match the return type of a GCC 8576 builtin and then its argument prototype would still apply. */ 8577#ifdef __cplusplus 8578extern "C" 8579#endif 8580char $ac_func (); 8581/* The GNU C library defines this for functions which it implements 8582 to always fail with ENOSYS. Some functions are actually named 8583 something starting with __ and the normal name is an alias. */ 8584#if defined __stub_$ac_func || defined __stub___$ac_func 8585choke me 8586#endif 8587 8588int 8589main () 8590{ 8591return $ac_func (); 8592 ; 8593 return 0; 8594} 8595_ACEOF 8596rm -f conftest.$ac_objext conftest$ac_exeext 8597if { (ac_try="$ac_link" 8598case "(($ac_try" in 8599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8600 *) ac_try_echo=$ac_try;; 8601esac 8602eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8603 (eval "$ac_link") 2>conftest.er1 8604 ac_status=$? 8605 grep -v '^ *+' conftest.er1 >conftest.err 8606 rm -f conftest.er1 8607 cat conftest.err >&5 8608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8609 (exit $ac_status); } && { 8610 test -z "$ac_c_werror_flag" || 8611 test ! -s conftest.err 8612 } && test -s conftest$ac_exeext && 8613 $as_test_x conftest$ac_exeext; then 8614 eval "$as_ac_var=yes" 8615else 8616 echo "$as_me: failed program was:" >&5 8617sed 's/^/| /' conftest.$ac_ext >&5 8618 8619 eval "$as_ac_var=no" 8620fi 8621 8622rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8623 conftest$ac_exeext conftest.$ac_ext 8624fi 8625ac_res=`eval echo '${'$as_ac_var'}'` 8626 { echo "$as_me:$LINENO: result: $ac_res" >&5 8627echo "${ECHO_T}$ac_res" >&6; } 8628if test `eval echo '${'$as_ac_var'}'` = yes; then 8629 cat >>confdefs.h <<_ACEOF 8630#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8631_ACEOF 8632 8633fi 8634done 8635 8636 8637{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 8638echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 8639if test "${ac_cv_header_stdc+set}" = set; then 8640 echo $ECHO_N "(cached) $ECHO_C" >&6 8641else 8642 cat >conftest.$ac_ext <<_ACEOF 8643/* confdefs.h. */ 8644_ACEOF 8645cat confdefs.h >>conftest.$ac_ext 8646cat >>conftest.$ac_ext <<_ACEOF 8647/* end confdefs.h. */ 8648#include <stdlib.h> 8649#include <stdarg.h> 8650#include <string.h> 8651#include <float.h> 8652 8653int 8654main () 8655{ 8656 8657 ; 8658 return 0; 8659} 8660_ACEOF 8661rm -f conftest.$ac_objext 8662if { (ac_try="$ac_compile" 8663case "(($ac_try" in 8664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8665 *) ac_try_echo=$ac_try;; 8666esac 8667eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8668 (eval "$ac_compile") 2>conftest.er1 8669 ac_status=$? 8670 grep -v '^ *+' conftest.er1 >conftest.err 8671 rm -f conftest.er1 8672 cat conftest.err >&5 8673 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8674 (exit $ac_status); } && { 8675 test -z "$ac_c_werror_flag" || 8676 test ! -s conftest.err 8677 } && test -s conftest.$ac_objext; then 8678 ac_cv_header_stdc=yes 8679else 8680 echo "$as_me: failed program was:" >&5 8681sed 's/^/| /' conftest.$ac_ext >&5 8682 8683 ac_cv_header_stdc=no 8684fi 8685 8686rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8687 8688if test $ac_cv_header_stdc = yes; then 8689 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 8690 cat >conftest.$ac_ext <<_ACEOF 8691/* confdefs.h. */ 8692_ACEOF 8693cat confdefs.h >>conftest.$ac_ext 8694cat >>conftest.$ac_ext <<_ACEOF 8695/* end confdefs.h. */ 8696#include <string.h> 8697 8698_ACEOF 8699if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8700 $EGREP "memchr" >/dev/null 2>&1; then 8701 : 8702else 8703 ac_cv_header_stdc=no 8704fi 8705rm -f conftest* 8706 8707fi 8708 8709if test $ac_cv_header_stdc = yes; then 8710 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 8711 cat >conftest.$ac_ext <<_ACEOF 8712/* confdefs.h. */ 8713_ACEOF 8714cat confdefs.h >>conftest.$ac_ext 8715cat >>conftest.$ac_ext <<_ACEOF 8716/* end confdefs.h. */ 8717#include <stdlib.h> 8718 8719_ACEOF 8720if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8721 $EGREP "free" >/dev/null 2>&1; then 8722 : 8723else 8724 ac_cv_header_stdc=no 8725fi 8726rm -f conftest* 8727 8728fi 8729 8730if test $ac_cv_header_stdc = yes; then 8731 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 8732 if test "$cross_compiling" = yes; then 8733 : 8734else 8735 cat >conftest.$ac_ext <<_ACEOF 8736/* confdefs.h. */ 8737_ACEOF 8738cat confdefs.h >>conftest.$ac_ext 8739cat >>conftest.$ac_ext <<_ACEOF 8740/* end confdefs.h. */ 8741#include <ctype.h> 8742#include <stdlib.h> 8743#if ((' ' & 0x0FF) == 0x020) 8744# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 8745# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 8746#else 8747# define ISLOWER(c) \ 8748 (('a' <= (c) && (c) <= 'i') \ 8749 || ('j' <= (c) && (c) <= 'r') \ 8750 || ('s' <= (c) && (c) <= 'z')) 8751# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 8752#endif 8753 8754#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 8755int 8756main () 8757{ 8758 int i; 8759 for (i = 0; i < 256; i++) 8760 if (XOR (islower (i), ISLOWER (i)) 8761 || toupper (i) != TOUPPER (i)) 8762 return 2; 8763 return 0; 8764} 8765_ACEOF 8766rm -f conftest$ac_exeext 8767if { (ac_try="$ac_link" 8768case "(($ac_try" in 8769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8770 *) ac_try_echo=$ac_try;; 8771esac 8772eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8773 (eval "$ac_link") 2>&5 8774 ac_status=$? 8775 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8776 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8777 { (case "(($ac_try" in 8778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8779 *) ac_try_echo=$ac_try;; 8780esac 8781eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8782 (eval "$ac_try") 2>&5 8783 ac_status=$? 8784 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8785 (exit $ac_status); }; }; then 8786 : 8787else 8788 echo "$as_me: program exited with status $ac_status" >&5 8789echo "$as_me: failed program was:" >&5 8790sed 's/^/| /' conftest.$ac_ext >&5 8791 8792( exit $ac_status ) 8793ac_cv_header_stdc=no 8794fi 8795rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8796fi 8797 8798 8799fi 8800fi 8801{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 8802echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 8803if test $ac_cv_header_stdc = yes; then 8804 8805cat >>confdefs.h <<\_ACEOF 8806#define STDC_HEADERS 1 8807_ACEOF 8808 8809fi 8810 8811{ echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 8812echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; } 8813if test "${ac_cv_header_stdbool_h+set}" = set; then 8814 echo $ECHO_N "(cached) $ECHO_C" >&6 8815else 8816 cat >conftest.$ac_ext <<_ACEOF 8817/* confdefs.h. */ 8818_ACEOF 8819cat confdefs.h >>conftest.$ac_ext 8820cat >>conftest.$ac_ext <<_ACEOF 8821/* end confdefs.h. */ 8822 8823#include <stdbool.h> 8824#ifndef bool 8825 "error: bool is not defined" 8826#endif 8827#ifndef false 8828 "error: false is not defined" 8829#endif 8830#if false 8831 "error: false is not 0" 8832#endif 8833#ifndef true 8834 "error: true is not defined" 8835#endif 8836#if true != 1 8837 "error: true is not 1" 8838#endif 8839#ifndef __bool_true_false_are_defined 8840 "error: __bool_true_false_are_defined is not defined" 8841#endif 8842 8843 struct s { _Bool s: 1; _Bool t; } s; 8844 8845 char a[true == 1 ? 1 : -1]; 8846 char b[false == 0 ? 1 : -1]; 8847 char c[__bool_true_false_are_defined == 1 ? 1 : -1]; 8848 char d[(bool) 0.5 == true ? 1 : -1]; 8849 bool e = &s; 8850 char f[(_Bool) 0.0 == false ? 1 : -1]; 8851 char g[true]; 8852 char h[sizeof (_Bool)]; 8853 char i[sizeof s.t]; 8854 enum { j = false, k = true, l = false * true, m = true * 256 }; 8855 _Bool n[m]; 8856 char o[sizeof n == m * sizeof n[0] ? 1 : -1]; 8857 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; 8858# if defined __xlc__ || defined __GNUC__ 8859 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0 8860 reported by James Lemley on 2005-10-05; see 8861 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html 8862 This test is not quite right, since xlc is allowed to 8863 reject this program, as the initializer for xlcbug is 8864 not one of the forms that C requires support for. 8865 However, doing the test right would require a runtime 8866 test, and that would make cross-compilation harder. 8867 Let us hope that IBM fixes the xlc bug, and also adds 8868 support for this kind of constant expression. In the 8869 meantime, this test will reject xlc, which is OK, since 8870 our stdbool.h substitute should suffice. We also test 8871 this with GCC, where it should work, to detect more 8872 quickly whether someone messes up the test in the 8873 future. */ 8874 char digs[] = "0123456789"; 8875 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1); 8876# endif 8877 /* Catch a bug in an HP-UX C compiler. See 8878 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html 8879 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html 8880 */ 8881 _Bool q = true; 8882 _Bool *pq = &q; 8883 8884int 8885main () 8886{ 8887 8888 *pq |= q; 8889 *pq |= ! q; 8890 /* Refer to every declared value, to avoid compiler optimizations. */ 8891 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l 8892 + !m + !n + !o + !p + !q + !pq); 8893 8894 ; 8895 return 0; 8896} 8897_ACEOF 8898rm -f conftest.$ac_objext 8899if { (ac_try="$ac_compile" 8900case "(($ac_try" in 8901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8902 *) ac_try_echo=$ac_try;; 8903esac 8904eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8905 (eval "$ac_compile") 2>conftest.er1 8906 ac_status=$? 8907 grep -v '^ *+' conftest.er1 >conftest.err 8908 rm -f conftest.er1 8909 cat conftest.err >&5 8910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8911 (exit $ac_status); } && { 8912 test -z "$ac_c_werror_flag" || 8913 test ! -s conftest.err 8914 } && test -s conftest.$ac_objext; then 8915 ac_cv_header_stdbool_h=yes 8916else 8917 echo "$as_me: failed program was:" >&5 8918sed 's/^/| /' conftest.$ac_ext >&5 8919 8920 ac_cv_header_stdbool_h=no 8921fi 8922 8923rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8924fi 8925{ echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 8926echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; } 8927{ echo "$as_me:$LINENO: checking for _Bool" >&5 8928echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; } 8929if test "${ac_cv_type__Bool+set}" = set; then 8930 echo $ECHO_N "(cached) $ECHO_C" >&6 8931else 8932 cat >conftest.$ac_ext <<_ACEOF 8933/* confdefs.h. */ 8934_ACEOF 8935cat confdefs.h >>conftest.$ac_ext 8936cat >>conftest.$ac_ext <<_ACEOF 8937/* end confdefs.h. */ 8938$ac_includes_default 8939typedef _Bool ac__type_new_; 8940int 8941main () 8942{ 8943if ((ac__type_new_ *) 0) 8944 return 0; 8945if (sizeof (ac__type_new_)) 8946 return 0; 8947 ; 8948 return 0; 8949} 8950_ACEOF 8951rm -f conftest.$ac_objext 8952if { (ac_try="$ac_compile" 8953case "(($ac_try" in 8954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8955 *) ac_try_echo=$ac_try;; 8956esac 8957eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8958 (eval "$ac_compile") 2>conftest.er1 8959 ac_status=$? 8960 grep -v '^ *+' conftest.er1 >conftest.err 8961 rm -f conftest.er1 8962 cat conftest.err >&5 8963 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8964 (exit $ac_status); } && { 8965 test -z "$ac_c_werror_flag" || 8966 test ! -s conftest.err 8967 } && test -s conftest.$ac_objext; then 8968 ac_cv_type__Bool=yes 8969else 8970 echo "$as_me: failed program was:" >&5 8971sed 's/^/| /' conftest.$ac_ext >&5 8972 8973 ac_cv_type__Bool=no 8974fi 8975 8976rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8977fi 8978{ echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 8979echo "${ECHO_T}$ac_cv_type__Bool" >&6; } 8980if test $ac_cv_type__Bool = yes; then 8981 8982cat >>confdefs.h <<_ACEOF 8983#define HAVE__BOOL 1 8984_ACEOF 8985 8986 8987fi 8988 8989if test $ac_cv_header_stdbool_h = yes; then 8990 8991cat >>confdefs.h <<\_ACEOF 8992#define HAVE_STDBOOL_H 1 8993_ACEOF 8994 8995fi 8996 8997{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 8998echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } 8999if test "${ac_cv_header_time+set}" = set; then 9000 echo $ECHO_N "(cached) $ECHO_C" >&6 9001else 9002 cat >conftest.$ac_ext <<_ACEOF 9003/* confdefs.h. */ 9004_ACEOF 9005cat confdefs.h >>conftest.$ac_ext 9006cat >>conftest.$ac_ext <<_ACEOF 9007/* end confdefs.h. */ 9008#include <sys/types.h> 9009#include <sys/time.h> 9010#include <time.h> 9011 9012int 9013main () 9014{ 9015if ((struct tm *) 0) 9016return 0; 9017 ; 9018 return 0; 9019} 9020_ACEOF 9021rm -f conftest.$ac_objext 9022if { (ac_try="$ac_compile" 9023case "(($ac_try" in 9024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9025 *) ac_try_echo=$ac_try;; 9026esac 9027eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9028 (eval "$ac_compile") 2>conftest.er1 9029 ac_status=$? 9030 grep -v '^ *+' conftest.er1 >conftest.err 9031 rm -f conftest.er1 9032 cat conftest.err >&5 9033 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9034 (exit $ac_status); } && { 9035 test -z "$ac_c_werror_flag" || 9036 test ! -s conftest.err 9037 } && test -s conftest.$ac_objext; then 9038 ac_cv_header_time=yes 9039else 9040 echo "$as_me: failed program was:" >&5 9041sed 's/^/| /' conftest.$ac_ext >&5 9042 9043 ac_cv_header_time=no 9044fi 9045 9046rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9047fi 9048{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 9049echo "${ECHO_T}$ac_cv_header_time" >&6; } 9050if test $ac_cv_header_time = yes; then 9051 9052cat >>confdefs.h <<\_ACEOF 9053#define TIME_WITH_SYS_TIME 1 9054_ACEOF 9055 9056fi 9057 9058 9059for ac_header in getopt.h 9060do 9061as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9062if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9063 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9064echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9065if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9066 echo $ECHO_N "(cached) $ECHO_C" >&6 9067fi 9068ac_res=`eval echo '${'$as_ac_Header'}'` 9069 { echo "$as_me:$LINENO: result: $ac_res" >&5 9070echo "${ECHO_T}$ac_res" >&6; } 9071else 9072 # Is the header compilable? 9073{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 9074echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 9075cat >conftest.$ac_ext <<_ACEOF 9076/* confdefs.h. */ 9077_ACEOF 9078cat confdefs.h >>conftest.$ac_ext 9079cat >>conftest.$ac_ext <<_ACEOF 9080/* end confdefs.h. */ 9081$ac_includes_default 9082#include <$ac_header> 9083_ACEOF 9084rm -f conftest.$ac_objext 9085if { (ac_try="$ac_compile" 9086case "(($ac_try" in 9087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9088 *) ac_try_echo=$ac_try;; 9089esac 9090eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9091 (eval "$ac_compile") 2>conftest.er1 9092 ac_status=$? 9093 grep -v '^ *+' conftest.er1 >conftest.err 9094 rm -f conftest.er1 9095 cat conftest.err >&5 9096 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9097 (exit $ac_status); } && { 9098 test -z "$ac_c_werror_flag" || 9099 test ! -s conftest.err 9100 } && test -s conftest.$ac_objext; then 9101 ac_header_compiler=yes 9102else 9103 echo "$as_me: failed program was:" >&5 9104sed 's/^/| /' conftest.$ac_ext >&5 9105 9106 ac_header_compiler=no 9107fi 9108 9109rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9110{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9111echo "${ECHO_T}$ac_header_compiler" >&6; } 9112 9113# Is the header present? 9114{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 9115echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 9116cat >conftest.$ac_ext <<_ACEOF 9117/* confdefs.h. */ 9118_ACEOF 9119cat confdefs.h >>conftest.$ac_ext 9120cat >>conftest.$ac_ext <<_ACEOF 9121/* end confdefs.h. */ 9122#include <$ac_header> 9123_ACEOF 9124if { (ac_try="$ac_cpp conftest.$ac_ext" 9125case "(($ac_try" in 9126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9127 *) ac_try_echo=$ac_try;; 9128esac 9129eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9130 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9131 ac_status=$? 9132 grep -v '^ *+' conftest.er1 >conftest.err 9133 rm -f conftest.er1 9134 cat conftest.err >&5 9135 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9136 (exit $ac_status); } >/dev/null && { 9137 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9138 test ! -s conftest.err 9139 }; then 9140 ac_header_preproc=yes 9141else 9142 echo "$as_me: failed program was:" >&5 9143sed 's/^/| /' conftest.$ac_ext >&5 9144 9145 ac_header_preproc=no 9146fi 9147 9148rm -f conftest.err conftest.$ac_ext 9149{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9150echo "${ECHO_T}$ac_header_preproc" >&6; } 9151 9152# So? What about this header? 9153case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9154 yes:no: ) 9155 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9156echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9157 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9158echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9159 ac_header_preproc=yes 9160 ;; 9161 no:yes:* ) 9162 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9163echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9164 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9165echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9166 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9167echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9168 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9169echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9170 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9171echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9172 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9173echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9174 ( cat <<\_ASBOX 9175## ------------------------------- ## 9176## Report this to spm@stedee.id.au ## 9177## ------------------------------- ## 9178_ASBOX 9179 ) | sed "s/^/$as_me: WARNING: /" >&2 9180 ;; 9181esac 9182{ echo "$as_me:$LINENO: checking for $ac_header" >&5 9183echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9184if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9185 echo $ECHO_N "(cached) $ECHO_C" >&6 9186else 9187 eval "$as_ac_Header=\$ac_header_preproc" 9188fi 9189ac_res=`eval echo '${'$as_ac_Header'}'` 9190 { echo "$as_me:$LINENO: result: $ac_res" >&5 9191echo "${ECHO_T}$ac_res" >&6; } 9192 9193fi 9194if test `eval echo '${'$as_ac_Header'}'` = yes; then 9195 cat >>confdefs.h <<_ACEOF 9196#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9197_ACEOF 9198 9199else 9200 echo "Missing getopt.h" ; exit 9201fi 9202 9203done 9204 9205 9206for ac_header in math.h 9207do 9208as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9209if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9210 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9211echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9212if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9213 echo $ECHO_N "(cached) $ECHO_C" >&6 9214fi 9215ac_res=`eval echo '${'$as_ac_Header'}'` 9216 { echo "$as_me:$LINENO: result: $ac_res" >&5 9217echo "${ECHO_T}$ac_res" >&6; } 9218else 9219 # Is the header compilable? 9220{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 9221echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 9222cat >conftest.$ac_ext <<_ACEOF 9223/* confdefs.h. */ 9224_ACEOF 9225cat confdefs.h >>conftest.$ac_ext 9226cat >>conftest.$ac_ext <<_ACEOF 9227/* end confdefs.h. */ 9228$ac_includes_default 9229#include <$ac_header> 9230_ACEOF 9231rm -f conftest.$ac_objext 9232if { (ac_try="$ac_compile" 9233case "(($ac_try" in 9234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9235 *) ac_try_echo=$ac_try;; 9236esac 9237eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9238 (eval "$ac_compile") 2>conftest.er1 9239 ac_status=$? 9240 grep -v '^ *+' conftest.er1 >conftest.err 9241 rm -f conftest.er1 9242 cat conftest.err >&5 9243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9244 (exit $ac_status); } && { 9245 test -z "$ac_c_werror_flag" || 9246 test ! -s conftest.err 9247 } && test -s conftest.$ac_objext; then 9248 ac_header_compiler=yes 9249else 9250 echo "$as_me: failed program was:" >&5 9251sed 's/^/| /' conftest.$ac_ext >&5 9252 9253 ac_header_compiler=no 9254fi 9255 9256rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9257{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9258echo "${ECHO_T}$ac_header_compiler" >&6; } 9259 9260# Is the header present? 9261{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 9262echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 9263cat >conftest.$ac_ext <<_ACEOF 9264/* confdefs.h. */ 9265_ACEOF 9266cat confdefs.h >>conftest.$ac_ext 9267cat >>conftest.$ac_ext <<_ACEOF 9268/* end confdefs.h. */ 9269#include <$ac_header> 9270_ACEOF 9271if { (ac_try="$ac_cpp conftest.$ac_ext" 9272case "(($ac_try" in 9273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9274 *) ac_try_echo=$ac_try;; 9275esac 9276eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9277 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9278 ac_status=$? 9279 grep -v '^ *+' conftest.er1 >conftest.err 9280 rm -f conftest.er1 9281 cat conftest.err >&5 9282 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9283 (exit $ac_status); } >/dev/null && { 9284 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9285 test ! -s conftest.err 9286 }; then 9287 ac_header_preproc=yes 9288else 9289 echo "$as_me: failed program was:" >&5 9290sed 's/^/| /' conftest.$ac_ext >&5 9291 9292 ac_header_preproc=no 9293fi 9294 9295rm -f conftest.err conftest.$ac_ext 9296{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9297echo "${ECHO_T}$ac_header_preproc" >&6; } 9298 9299# So? What about this header? 9300case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9301 yes:no: ) 9302 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9303echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9304 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9305echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9306 ac_header_preproc=yes 9307 ;; 9308 no:yes:* ) 9309 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9310echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9311 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9312echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9313 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9314echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9315 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9316echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9317 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9318echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9319 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9320echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9321 ( cat <<\_ASBOX 9322## ------------------------------- ## 9323## Report this to spm@stedee.id.au ## 9324## ------------------------------- ## 9325_ASBOX 9326 ) | sed "s/^/$as_me: WARNING: /" >&2 9327 ;; 9328esac 9329{ echo "$as_me:$LINENO: checking for $ac_header" >&5 9330echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9331if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9332 echo $ECHO_N "(cached) $ECHO_C" >&6 9333else 9334 eval "$as_ac_Header=\$ac_header_preproc" 9335fi 9336ac_res=`eval echo '${'$as_ac_Header'}'` 9337 { echo "$as_me:$LINENO: result: $ac_res" >&5 9338echo "${ECHO_T}$ac_res" >&6; } 9339 9340fi 9341if test `eval echo '${'$as_ac_Header'}'` = yes; then 9342 cat >>confdefs.h <<_ACEOF 9343#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9344_ACEOF 9345 9346else 9347 echo "Missing math.h" ; exit 9348fi 9349 9350done 9351 9352 9353for ac_header in zlib.h 9354do 9355as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9356if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9357 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9358echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9359if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9360 echo $ECHO_N "(cached) $ECHO_C" >&6 9361fi 9362ac_res=`eval echo '${'$as_ac_Header'}'` 9363 { echo "$as_me:$LINENO: result: $ac_res" >&5 9364echo "${ECHO_T}$ac_res" >&6; } 9365else 9366 # Is the header compilable? 9367{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 9368echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 9369cat >conftest.$ac_ext <<_ACEOF 9370/* confdefs.h. */ 9371_ACEOF 9372cat confdefs.h >>conftest.$ac_ext 9373cat >>conftest.$ac_ext <<_ACEOF 9374/* end confdefs.h. */ 9375$ac_includes_default 9376#include <$ac_header> 9377_ACEOF 9378rm -f conftest.$ac_objext 9379if { (ac_try="$ac_compile" 9380case "(($ac_try" in 9381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9382 *) ac_try_echo=$ac_try;; 9383esac 9384eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9385 (eval "$ac_compile") 2>conftest.er1 9386 ac_status=$? 9387 grep -v '^ *+' conftest.er1 >conftest.err 9388 rm -f conftest.er1 9389 cat conftest.err >&5 9390 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9391 (exit $ac_status); } && { 9392 test -z "$ac_c_werror_flag" || 9393 test ! -s conftest.err 9394 } && test -s conftest.$ac_objext; then 9395 ac_header_compiler=yes 9396else 9397 echo "$as_me: failed program was:" >&5 9398sed 's/^/| /' conftest.$ac_ext >&5 9399 9400 ac_header_compiler=no 9401fi 9402 9403rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9404{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9405echo "${ECHO_T}$ac_header_compiler" >&6; } 9406 9407# Is the header present? 9408{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 9409echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 9410cat >conftest.$ac_ext <<_ACEOF 9411/* confdefs.h. */ 9412_ACEOF 9413cat confdefs.h >>conftest.$ac_ext 9414cat >>conftest.$ac_ext <<_ACEOF 9415/* end confdefs.h. */ 9416#include <$ac_header> 9417_ACEOF 9418if { (ac_try="$ac_cpp conftest.$ac_ext" 9419case "(($ac_try" in 9420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9421 *) ac_try_echo=$ac_try;; 9422esac 9423eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9424 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9425 ac_status=$? 9426 grep -v '^ *+' conftest.er1 >conftest.err 9427 rm -f conftest.er1 9428 cat conftest.err >&5 9429 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9430 (exit $ac_status); } >/dev/null && { 9431 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9432 test ! -s conftest.err 9433 }; then 9434 ac_header_preproc=yes 9435else 9436 echo "$as_me: failed program was:" >&5 9437sed 's/^/| /' conftest.$ac_ext >&5 9438 9439 ac_header_preproc=no 9440fi 9441 9442rm -f conftest.err conftest.$ac_ext 9443{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9444echo "${ECHO_T}$ac_header_preproc" >&6; } 9445 9446# So? What about this header? 9447case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9448 yes:no: ) 9449 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9450echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9451 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9452echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9453 ac_header_preproc=yes 9454 ;; 9455 no:yes:* ) 9456 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9457echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9458 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9459echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9460 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9461echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9462 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9463echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9464 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9465echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9466 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9467echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9468 ( cat <<\_ASBOX 9469## ------------------------------- ## 9470## Report this to spm@stedee.id.au ## 9471## ------------------------------- ## 9472_ASBOX 9473 ) | sed "s/^/$as_me: WARNING: /" >&2 9474 ;; 9475esac 9476{ echo "$as_me:$LINENO: checking for $ac_header" >&5 9477echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9478if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9479 echo $ECHO_N "(cached) $ECHO_C" >&6 9480else 9481 eval "$as_ac_Header=\$ac_header_preproc" 9482fi 9483ac_res=`eval echo '${'$as_ac_Header'}'` 9484 { echo "$as_me:$LINENO: result: $ac_res" >&5 9485echo "${ECHO_T}$ac_res" >&6; } 9486 9487fi 9488if test `eval echo '${'$as_ac_Header'}'` = yes; then 9489 cat >>confdefs.h <<_ACEOF 9490#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9491_ACEOF 9492 9493else 9494 echo "Missing zlib.h" ; exit 9495fi 9496 9497done 9498 9499 9500for ac_header in pcre.h 9501do 9502as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9503if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9504 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9505echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9506if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9507 echo $ECHO_N "(cached) $ECHO_C" >&6 9508fi 9509ac_res=`eval echo '${'$as_ac_Header'}'` 9510 { echo "$as_me:$LINENO: result: $ac_res" >&5 9511echo "${ECHO_T}$ac_res" >&6; } 9512else 9513 # Is the header compilable? 9514{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 9515echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 9516cat >conftest.$ac_ext <<_ACEOF 9517/* confdefs.h. */ 9518_ACEOF 9519cat confdefs.h >>conftest.$ac_ext 9520cat >>conftest.$ac_ext <<_ACEOF 9521/* end confdefs.h. */ 9522$ac_includes_default 9523#include <$ac_header> 9524_ACEOF 9525rm -f conftest.$ac_objext 9526if { (ac_try="$ac_compile" 9527case "(($ac_try" in 9528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9529 *) ac_try_echo=$ac_try;; 9530esac 9531eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9532 (eval "$ac_compile") 2>conftest.er1 9533 ac_status=$? 9534 grep -v '^ *+' conftest.er1 >conftest.err 9535 rm -f conftest.er1 9536 cat conftest.err >&5 9537 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9538 (exit $ac_status); } && { 9539 test -z "$ac_c_werror_flag" || 9540 test ! -s conftest.err 9541 } && test -s conftest.$ac_objext; then 9542 ac_header_compiler=yes 9543else 9544 echo "$as_me: failed program was:" >&5 9545sed 's/^/| /' conftest.$ac_ext >&5 9546 9547 ac_header_compiler=no 9548fi 9549 9550rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9551{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9552echo "${ECHO_T}$ac_header_compiler" >&6; } 9553 9554# Is the header present? 9555{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 9556echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 9557cat >conftest.$ac_ext <<_ACEOF 9558/* confdefs.h. */ 9559_ACEOF 9560cat confdefs.h >>conftest.$ac_ext 9561cat >>conftest.$ac_ext <<_ACEOF 9562/* end confdefs.h. */ 9563#include <$ac_header> 9564_ACEOF 9565if { (ac_try="$ac_cpp conftest.$ac_ext" 9566case "(($ac_try" in 9567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9568 *) ac_try_echo=$ac_try;; 9569esac 9570eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9571 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9572 ac_status=$? 9573 grep -v '^ *+' conftest.er1 >conftest.err 9574 rm -f conftest.er1 9575 cat conftest.err >&5 9576 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9577 (exit $ac_status); } >/dev/null && { 9578 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9579 test ! -s conftest.err 9580 }; then 9581 ac_header_preproc=yes 9582else 9583 echo "$as_me: failed program was:" >&5 9584sed 's/^/| /' conftest.$ac_ext >&5 9585 9586 ac_header_preproc=no 9587fi 9588 9589rm -f conftest.err conftest.$ac_ext 9590{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9591echo "${ECHO_T}$ac_header_preproc" >&6; } 9592 9593# So? What about this header? 9594case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9595 yes:no: ) 9596 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9597echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9598 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9599echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9600 ac_header_preproc=yes 9601 ;; 9602 no:yes:* ) 9603 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9604echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9605 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9606echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9607 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9608echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9609 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9610echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9611 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9612echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9613 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9614echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9615 ( cat <<\_ASBOX 9616## ------------------------------- ## 9617## Report this to spm@stedee.id.au ## 9618## ------------------------------- ## 9619_ASBOX 9620 ) | sed "s/^/$as_me: WARNING: /" >&2 9621 ;; 9622esac 9623{ echo "$as_me:$LINENO: checking for $ac_header" >&5 9624echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9625if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9626 echo $ECHO_N "(cached) $ECHO_C" >&6 9627else 9628 eval "$as_ac_Header=\$ac_header_preproc" 9629fi 9630ac_res=`eval echo '${'$as_ac_Header'}'` 9631 { echo "$as_me:$LINENO: result: $ac_res" >&5 9632echo "${ECHO_T}$ac_res" >&6; } 9633 9634fi 9635if test `eval echo '${'$as_ac_Header'}'` = yes; then 9636 cat >>confdefs.h <<_ACEOF 9637#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9638_ACEOF 9639 9640else 9641 9642for ac_header in pcre/pcre.h 9643do 9644as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9645if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9646 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9647echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9648if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9649 echo $ECHO_N "(cached) $ECHO_C" >&6 9650fi 9651ac_res=`eval echo '${'$as_ac_Header'}'` 9652 { echo "$as_me:$LINENO: result: $ac_res" >&5 9653echo "${ECHO_T}$ac_res" >&6; } 9654else 9655 # Is the header compilable? 9656{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 9657echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 9658cat >conftest.$ac_ext <<_ACEOF 9659/* confdefs.h. */ 9660_ACEOF 9661cat confdefs.h >>conftest.$ac_ext 9662cat >>conftest.$ac_ext <<_ACEOF 9663/* end confdefs.h. */ 9664$ac_includes_default 9665#include <$ac_header> 9666_ACEOF 9667rm -f conftest.$ac_objext 9668if { (ac_try="$ac_compile" 9669case "(($ac_try" in 9670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9671 *) ac_try_echo=$ac_try;; 9672esac 9673eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9674 (eval "$ac_compile") 2>conftest.er1 9675 ac_status=$? 9676 grep -v '^ *+' conftest.er1 >conftest.err 9677 rm -f conftest.er1 9678 cat conftest.err >&5 9679 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9680 (exit $ac_status); } && { 9681 test -z "$ac_c_werror_flag" || 9682 test ! -s conftest.err 9683 } && test -s conftest.$ac_objext; then 9684 ac_header_compiler=yes 9685else 9686 echo "$as_me: failed program was:" >&5 9687sed 's/^/| /' conftest.$ac_ext >&5 9688 9689 ac_header_compiler=no 9690fi 9691 9692rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9693{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9694echo "${ECHO_T}$ac_header_compiler" >&6; } 9695 9696# Is the header present? 9697{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 9698echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 9699cat >conftest.$ac_ext <<_ACEOF 9700/* confdefs.h. */ 9701_ACEOF 9702cat confdefs.h >>conftest.$ac_ext 9703cat >>conftest.$ac_ext <<_ACEOF 9704/* end confdefs.h. */ 9705#include <$ac_header> 9706_ACEOF 9707if { (ac_try="$ac_cpp conftest.$ac_ext" 9708case "(($ac_try" in 9709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9710 *) ac_try_echo=$ac_try;; 9711esac 9712eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9713 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9714 ac_status=$? 9715 grep -v '^ *+' conftest.er1 >conftest.err 9716 rm -f conftest.er1 9717 cat conftest.err >&5 9718 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9719 (exit $ac_status); } >/dev/null && { 9720 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9721 test ! -s conftest.err 9722 }; then 9723 ac_header_preproc=yes 9724else 9725 echo "$as_me: failed program was:" >&5 9726sed 's/^/| /' conftest.$ac_ext >&5 9727 9728 ac_header_preproc=no 9729fi 9730 9731rm -f conftest.err conftest.$ac_ext 9732{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9733echo "${ECHO_T}$ac_header_preproc" >&6; } 9734 9735# So? What about this header? 9736case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9737 yes:no: ) 9738 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9739echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9740 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9741echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9742 ac_header_preproc=yes 9743 ;; 9744 no:yes:* ) 9745 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9746echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9747 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9748echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9749 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9750echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9751 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9752echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9753 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9754echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9755 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9756echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9757 ( cat <<\_ASBOX 9758## ------------------------------- ## 9759## Report this to spm@stedee.id.au ## 9760## ------------------------------- ## 9761_ASBOX 9762 ) | sed "s/^/$as_me: WARNING: /" >&2 9763 ;; 9764esac 9765{ echo "$as_me:$LINENO: checking for $ac_header" >&5 9766echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9767if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9768 echo $ECHO_N "(cached) $ECHO_C" >&6 9769else 9770 eval "$as_ac_Header=\$ac_header_preproc" 9771fi 9772ac_res=`eval echo '${'$as_ac_Header'}'` 9773 { echo "$as_me:$LINENO: result: $ac_res" >&5 9774echo "${ECHO_T}$ac_res" >&6; } 9775 9776fi 9777if test `eval echo '${'$as_ac_Header'}'` = yes; then 9778 cat >>confdefs.h <<_ACEOF 9779#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9780_ACEOF 9781 9782else 9783 echo "Missing pcre.h" ; exit 9784fi 9785 9786done 9787 9788 9789fi 9790 9791done 9792 9793 9794for ac_header in ctype.h 9795do 9796as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9797if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9798 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9799echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9800if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9801 echo $ECHO_N "(cached) $ECHO_C" >&6 9802fi 9803ac_res=`eval echo '${'$as_ac_Header'}'` 9804 { echo "$as_me:$LINENO: result: $ac_res" >&5 9805echo "${ECHO_T}$ac_res" >&6; } 9806else 9807 # Is the header compilable? 9808{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 9809echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 9810cat >conftest.$ac_ext <<_ACEOF 9811/* confdefs.h. */ 9812_ACEOF 9813cat confdefs.h >>conftest.$ac_ext 9814cat >>conftest.$ac_ext <<_ACEOF 9815/* end confdefs.h. */ 9816$ac_includes_default 9817#include <$ac_header> 9818_ACEOF 9819rm -f conftest.$ac_objext 9820if { (ac_try="$ac_compile" 9821case "(($ac_try" in 9822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9823 *) ac_try_echo=$ac_try;; 9824esac 9825eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9826 (eval "$ac_compile") 2>conftest.er1 9827 ac_status=$? 9828 grep -v '^ *+' conftest.er1 >conftest.err 9829 rm -f conftest.er1 9830 cat conftest.err >&5 9831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9832 (exit $ac_status); } && { 9833 test -z "$ac_c_werror_flag" || 9834 test ! -s conftest.err 9835 } && test -s conftest.$ac_objext; then 9836 ac_header_compiler=yes 9837else 9838 echo "$as_me: failed program was:" >&5 9839sed 's/^/| /' conftest.$ac_ext >&5 9840 9841 ac_header_compiler=no 9842fi 9843 9844rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9845{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9846echo "${ECHO_T}$ac_header_compiler" >&6; } 9847 9848# Is the header present? 9849{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 9850echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 9851cat >conftest.$ac_ext <<_ACEOF 9852/* confdefs.h. */ 9853_ACEOF 9854cat confdefs.h >>conftest.$ac_ext 9855cat >>conftest.$ac_ext <<_ACEOF 9856/* end confdefs.h. */ 9857#include <$ac_header> 9858_ACEOF 9859if { (ac_try="$ac_cpp conftest.$ac_ext" 9860case "(($ac_try" in 9861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9862 *) ac_try_echo=$ac_try;; 9863esac 9864eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9865 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9866 ac_status=$? 9867 grep -v '^ *+' conftest.er1 >conftest.err 9868 rm -f conftest.er1 9869 cat conftest.err >&5 9870 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9871 (exit $ac_status); } >/dev/null && { 9872 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9873 test ! -s conftest.err 9874 }; then 9875 ac_header_preproc=yes 9876else 9877 echo "$as_me: failed program was:" >&5 9878sed 's/^/| /' conftest.$ac_ext >&5 9879 9880 ac_header_preproc=no 9881fi 9882 9883rm -f conftest.err conftest.$ac_ext 9884{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9885echo "${ECHO_T}$ac_header_preproc" >&6; } 9886 9887# So? What about this header? 9888case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9889 yes:no: ) 9890 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9891echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9892 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9893echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9894 ac_header_preproc=yes 9895 ;; 9896 no:yes:* ) 9897 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9898echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9899 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9900echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9901 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9902echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9903 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9904echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9905 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9906echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9907 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9908echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9909 ( cat <<\_ASBOX 9910## ------------------------------- ## 9911## Report this to spm@stedee.id.au ## 9912## ------------------------------- ## 9913_ASBOX 9914 ) | sed "s/^/$as_me: WARNING: /" >&2 9915 ;; 9916esac 9917{ echo "$as_me:$LINENO: checking for $ac_header" >&5 9918echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9919if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9920 echo $ECHO_N "(cached) $ECHO_C" >&6 9921else 9922 eval "$as_ac_Header=\$ac_header_preproc" 9923fi 9924ac_res=`eval echo '${'$as_ac_Header'}'` 9925 { echo "$as_me:$LINENO: result: $ac_res" >&5 9926echo "${ECHO_T}$ac_res" >&6; } 9927 9928fi 9929if test `eval echo '${'$as_ac_Header'}'` = yes; then 9930 cat >>confdefs.h <<_ACEOF 9931#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9932_ACEOF 9933 9934else 9935 echo "Missing ctype.h" ; exit 9936fi 9937 9938done 9939 9940 9941for ac_header in sys/utsname.h 9942do 9943as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9944if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9945 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9946echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9947if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9948 echo $ECHO_N "(cached) $ECHO_C" >&6 9949fi 9950ac_res=`eval echo '${'$as_ac_Header'}'` 9951 { echo "$as_me:$LINENO: result: $ac_res" >&5 9952echo "${ECHO_T}$ac_res" >&6; } 9953else 9954 # Is the header compilable? 9955{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 9956echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 9957cat >conftest.$ac_ext <<_ACEOF 9958/* confdefs.h. */ 9959_ACEOF 9960cat confdefs.h >>conftest.$ac_ext 9961cat >>conftest.$ac_ext <<_ACEOF 9962/* end confdefs.h. */ 9963$ac_includes_default 9964#include <$ac_header> 9965_ACEOF 9966rm -f conftest.$ac_objext 9967if { (ac_try="$ac_compile" 9968case "(($ac_try" in 9969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9970 *) ac_try_echo=$ac_try;; 9971esac 9972eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9973 (eval "$ac_compile") 2>conftest.er1 9974 ac_status=$? 9975 grep -v '^ *+' conftest.er1 >conftest.err 9976 rm -f conftest.er1 9977 cat conftest.err >&5 9978 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9979 (exit $ac_status); } && { 9980 test -z "$ac_c_werror_flag" || 9981 test ! -s conftest.err 9982 } && test -s conftest.$ac_objext; then 9983 ac_header_compiler=yes 9984else 9985 echo "$as_me: failed program was:" >&5 9986sed 's/^/| /' conftest.$ac_ext >&5 9987 9988 ac_header_compiler=no 9989fi 9990 9991rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9992{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9993echo "${ECHO_T}$ac_header_compiler" >&6; } 9994 9995# Is the header present? 9996{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 9997echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 9998cat >conftest.$ac_ext <<_ACEOF 9999/* confdefs.h. */ 10000_ACEOF 10001cat confdefs.h >>conftest.$ac_ext 10002cat >>conftest.$ac_ext <<_ACEOF 10003/* end confdefs.h. */ 10004#include <$ac_header> 10005_ACEOF 10006if { (ac_try="$ac_cpp conftest.$ac_ext" 10007case "(($ac_try" in 10008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10009 *) ac_try_echo=$ac_try;; 10010esac 10011eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10012 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10013 ac_status=$? 10014 grep -v '^ *+' conftest.er1 >conftest.err 10015 rm -f conftest.er1 10016 cat conftest.err >&5 10017 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10018 (exit $ac_status); } >/dev/null && { 10019 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 10020 test ! -s conftest.err 10021 }; then 10022 ac_header_preproc=yes 10023else 10024 echo "$as_me: failed program was:" >&5 10025sed 's/^/| /' conftest.$ac_ext >&5 10026 10027 ac_header_preproc=no 10028fi 10029 10030rm -f conftest.err conftest.$ac_ext 10031{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10032echo "${ECHO_T}$ac_header_preproc" >&6; } 10033 10034# So? What about this header? 10035case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 10036 yes:no: ) 10037 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 10038echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 10039 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 10040echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 10041 ac_header_preproc=yes 10042 ;; 10043 no:yes:* ) 10044 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 10045echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 10046 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 10047echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 10048 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 10049echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 10050 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 10051echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 10052 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 10053echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 10054 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 10055echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 10056 ( cat <<\_ASBOX 10057## ------------------------------- ## 10058## Report this to spm@stedee.id.au ## 10059## ------------------------------- ## 10060_ASBOX 10061 ) | sed "s/^/$as_me: WARNING: /" >&2 10062 ;; 10063esac 10064{ echo "$as_me:$LINENO: checking for $ac_header" >&5 10065echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 10066if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10067 echo $ECHO_N "(cached) $ECHO_C" >&6 10068else 10069 eval "$as_ac_Header=\$ac_header_preproc" 10070fi 10071ac_res=`eval echo '${'$as_ac_Header'}'` 10072 { echo "$as_me:$LINENO: result: $ac_res" >&5 10073echo "${ECHO_T}$ac_res" >&6; } 10074 10075fi 10076if test `eval echo '${'$as_ac_Header'}'` = yes; then 10077 cat >>confdefs.h <<_ACEOF 10078#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10079_ACEOF 10080 10081else 10082 echo "Missing sys/utsname.h" ; exit 10083fi 10084 10085done 10086 10087 10088for ac_header in sys/times.h 10089do 10090as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10091if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10092 { echo "$as_me:$LINENO: checking for $ac_header" >&5 10093echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 10094if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10095 echo $ECHO_N "(cached) $ECHO_C" >&6 10096fi 10097ac_res=`eval echo '${'$as_ac_Header'}'` 10098 { echo "$as_me:$LINENO: result: $ac_res" >&5 10099echo "${ECHO_T}$ac_res" >&6; } 10100else 10101 # Is the header compilable? 10102{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 10103echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 10104cat >conftest.$ac_ext <<_ACEOF 10105/* confdefs.h. */ 10106_ACEOF 10107cat confdefs.h >>conftest.$ac_ext 10108cat >>conftest.$ac_ext <<_ACEOF 10109/* end confdefs.h. */ 10110$ac_includes_default 10111#include <$ac_header> 10112_ACEOF 10113rm -f conftest.$ac_objext 10114if { (ac_try="$ac_compile" 10115case "(($ac_try" in 10116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10117 *) ac_try_echo=$ac_try;; 10118esac 10119eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10120 (eval "$ac_compile") 2>conftest.er1 10121 ac_status=$? 10122 grep -v '^ *+' conftest.er1 >conftest.err 10123 rm -f conftest.er1 10124 cat conftest.err >&5 10125 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10126 (exit $ac_status); } && { 10127 test -z "$ac_c_werror_flag" || 10128 test ! -s conftest.err 10129 } && test -s conftest.$ac_objext; then 10130 ac_header_compiler=yes 10131else 10132 echo "$as_me: failed program was:" >&5 10133sed 's/^/| /' conftest.$ac_ext >&5 10134 10135 ac_header_compiler=no 10136fi 10137 10138rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10139{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10140echo "${ECHO_T}$ac_header_compiler" >&6; } 10141 10142# Is the header present? 10143{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 10144echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 10145cat >conftest.$ac_ext <<_ACEOF 10146/* confdefs.h. */ 10147_ACEOF 10148cat confdefs.h >>conftest.$ac_ext 10149cat >>conftest.$ac_ext <<_ACEOF 10150/* end confdefs.h. */ 10151#include <$ac_header> 10152_ACEOF 10153if { (ac_try="$ac_cpp conftest.$ac_ext" 10154case "(($ac_try" in 10155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10156 *) ac_try_echo=$ac_try;; 10157esac 10158eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10159 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10160 ac_status=$? 10161 grep -v '^ *+' conftest.er1 >conftest.err 10162 rm -f conftest.er1 10163 cat conftest.err >&5 10164 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10165 (exit $ac_status); } >/dev/null && { 10166 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 10167 test ! -s conftest.err 10168 }; then 10169 ac_header_preproc=yes 10170else 10171 echo "$as_me: failed program was:" >&5 10172sed 's/^/| /' conftest.$ac_ext >&5 10173 10174 ac_header_preproc=no 10175fi 10176 10177rm -f conftest.err conftest.$ac_ext 10178{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10179echo "${ECHO_T}$ac_header_preproc" >&6; } 10180 10181# So? What about this header? 10182case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 10183 yes:no: ) 10184 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 10185echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 10186 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 10187echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 10188 ac_header_preproc=yes 10189 ;; 10190 no:yes:* ) 10191 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 10192echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 10193 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 10194echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 10195 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 10196echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 10197 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 10198echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 10199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 10200echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 10201 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 10202echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 10203 ( cat <<\_ASBOX 10204## ------------------------------- ## 10205## Report this to spm@stedee.id.au ## 10206## ------------------------------- ## 10207_ASBOX 10208 ) | sed "s/^/$as_me: WARNING: /" >&2 10209 ;; 10210esac 10211{ echo "$as_me:$LINENO: checking for $ac_header" >&5 10212echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 10213if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10214 echo $ECHO_N "(cached) $ECHO_C" >&6 10215else 10216 eval "$as_ac_Header=\$ac_header_preproc" 10217fi 10218ac_res=`eval echo '${'$as_ac_Header'}'` 10219 { echo "$as_me:$LINENO: result: $ac_res" >&5 10220echo "${ECHO_T}$ac_res" >&6; } 10221 10222fi 10223if test `eval echo '${'$as_ac_Header'}'` = yes; then 10224 cat >>confdefs.h <<_ACEOF 10225#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10226_ACEOF 10227 10228else 10229 echo "Missing sys/times.h" ; exit 10230fi 10231 10232done 10233 10234 10235for ac_header in unistd.h 10236do 10237as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10238if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10239 { echo "$as_me:$LINENO: checking for $ac_header" >&5 10240echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 10241if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10242 echo $ECHO_N "(cached) $ECHO_C" >&6 10243fi 10244ac_res=`eval echo '${'$as_ac_Header'}'` 10245 { echo "$as_me:$LINENO: result: $ac_res" >&5 10246echo "${ECHO_T}$ac_res" >&6; } 10247else 10248 # Is the header compilable? 10249{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 10250echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 10251cat >conftest.$ac_ext <<_ACEOF 10252/* confdefs.h. */ 10253_ACEOF 10254cat confdefs.h >>conftest.$ac_ext 10255cat >>conftest.$ac_ext <<_ACEOF 10256/* end confdefs.h. */ 10257$ac_includes_default 10258#include <$ac_header> 10259_ACEOF 10260rm -f conftest.$ac_objext 10261if { (ac_try="$ac_compile" 10262case "(($ac_try" in 10263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10264 *) ac_try_echo=$ac_try;; 10265esac 10266eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10267 (eval "$ac_compile") 2>conftest.er1 10268 ac_status=$? 10269 grep -v '^ *+' conftest.er1 >conftest.err 10270 rm -f conftest.er1 10271 cat conftest.err >&5 10272 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10273 (exit $ac_status); } && { 10274 test -z "$ac_c_werror_flag" || 10275 test ! -s conftest.err 10276 } && test -s conftest.$ac_objext; then 10277 ac_header_compiler=yes 10278else 10279 echo "$as_me: failed program was:" >&5 10280sed 's/^/| /' conftest.$ac_ext >&5 10281 10282 ac_header_compiler=no 10283fi 10284 10285rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10286{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10287echo "${ECHO_T}$ac_header_compiler" >&6; } 10288 10289# Is the header present? 10290{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 10291echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 10292cat >conftest.$ac_ext <<_ACEOF 10293/* confdefs.h. */ 10294_ACEOF 10295cat confdefs.h >>conftest.$ac_ext 10296cat >>conftest.$ac_ext <<_ACEOF 10297/* end confdefs.h. */ 10298#include <$ac_header> 10299_ACEOF 10300if { (ac_try="$ac_cpp conftest.$ac_ext" 10301case "(($ac_try" in 10302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10303 *) ac_try_echo=$ac_try;; 10304esac 10305eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10306 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10307 ac_status=$? 10308 grep -v '^ *+' conftest.er1 >conftest.err 10309 rm -f conftest.er1 10310 cat conftest.err >&5 10311 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10312 (exit $ac_status); } >/dev/null && { 10313 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 10314 test ! -s conftest.err 10315 }; then 10316 ac_header_preproc=yes 10317else 10318 echo "$as_me: failed program was:" >&5 10319sed 's/^/| /' conftest.$ac_ext >&5 10320 10321 ac_header_preproc=no 10322fi 10323 10324rm -f conftest.err conftest.$ac_ext 10325{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10326echo "${ECHO_T}$ac_header_preproc" >&6; } 10327 10328# So? What about this header? 10329case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 10330 yes:no: ) 10331 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 10332echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 10333 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 10334echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 10335 ac_header_preproc=yes 10336 ;; 10337 no:yes:* ) 10338 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 10339echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 10340 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 10341echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 10342 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 10343echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 10344 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 10345echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 10346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 10347echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 10348 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 10349echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 10350 ( cat <<\_ASBOX 10351## ------------------------------- ## 10352## Report this to spm@stedee.id.au ## 10353## ------------------------------- ## 10354_ASBOX 10355 ) | sed "s/^/$as_me: WARNING: /" >&2 10356 ;; 10357esac 10358{ echo "$as_me:$LINENO: checking for $ac_header" >&5 10359echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 10360if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10361 echo $ECHO_N "(cached) $ECHO_C" >&6 10362else 10363 eval "$as_ac_Header=\$ac_header_preproc" 10364fi 10365ac_res=`eval echo '${'$as_ac_Header'}'` 10366 { echo "$as_me:$LINENO: result: $ac_res" >&5 10367echo "${ECHO_T}$ac_res" >&6; } 10368 10369fi 10370if test `eval echo '${'$as_ac_Header'}'` = yes; then 10371 cat >>confdefs.h <<_ACEOF 10372#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10373_ACEOF 10374 10375else 10376 echo "Missing unistd.h" ; exit 10377fi 10378 10379done 10380 10381if test "$ENABLE_GEOIP" = "yes"; then 10382 10383for ac_header in GeoIP.h 10384do 10385as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10386if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10387 { echo "$as_me:$LINENO: checking for $ac_header" >&5 10388echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 10389if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10390 echo $ECHO_N "(cached) $ECHO_C" >&6 10391fi 10392ac_res=`eval echo '${'$as_ac_Header'}'` 10393 { echo "$as_me:$LINENO: result: $ac_res" >&5 10394echo "${ECHO_T}$ac_res" >&6; } 10395else 10396 # Is the header compilable? 10397{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 10398echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 10399cat >conftest.$ac_ext <<_ACEOF 10400/* confdefs.h. */ 10401_ACEOF 10402cat confdefs.h >>conftest.$ac_ext 10403cat >>conftest.$ac_ext <<_ACEOF 10404/* end confdefs.h. */ 10405$ac_includes_default 10406#include <$ac_header> 10407_ACEOF 10408rm -f conftest.$ac_objext 10409if { (ac_try="$ac_compile" 10410case "(($ac_try" in 10411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10412 *) ac_try_echo=$ac_try;; 10413esac 10414eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10415 (eval "$ac_compile") 2>conftest.er1 10416 ac_status=$? 10417 grep -v '^ *+' conftest.er1 >conftest.err 10418 rm -f conftest.er1 10419 cat conftest.err >&5 10420 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10421 (exit $ac_status); } && { 10422 test -z "$ac_c_werror_flag" || 10423 test ! -s conftest.err 10424 } && test -s conftest.$ac_objext; then 10425 ac_header_compiler=yes 10426else 10427 echo "$as_me: failed program was:" >&5 10428sed 's/^/| /' conftest.$ac_ext >&5 10429 10430 ac_header_compiler=no 10431fi 10432 10433rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10434{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10435echo "${ECHO_T}$ac_header_compiler" >&6; } 10436 10437# Is the header present? 10438{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 10439echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 10440cat >conftest.$ac_ext <<_ACEOF 10441/* confdefs.h. */ 10442_ACEOF 10443cat confdefs.h >>conftest.$ac_ext 10444cat >>conftest.$ac_ext <<_ACEOF 10445/* end confdefs.h. */ 10446#include <$ac_header> 10447_ACEOF 10448if { (ac_try="$ac_cpp conftest.$ac_ext" 10449case "(($ac_try" in 10450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10451 *) ac_try_echo=$ac_try;; 10452esac 10453eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10454 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10455 ac_status=$? 10456 grep -v '^ *+' conftest.er1 >conftest.err 10457 rm -f conftest.er1 10458 cat conftest.err >&5 10459 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10460 (exit $ac_status); } >/dev/null && { 10461 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 10462 test ! -s conftest.err 10463 }; then 10464 ac_header_preproc=yes 10465else 10466 echo "$as_me: failed program was:" >&5 10467sed 's/^/| /' conftest.$ac_ext >&5 10468 10469 ac_header_preproc=no 10470fi 10471 10472rm -f conftest.err conftest.$ac_ext 10473{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10474echo "${ECHO_T}$ac_header_preproc" >&6; } 10475 10476# So? What about this header? 10477case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 10478 yes:no: ) 10479 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 10480echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 10481 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 10482echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 10483 ac_header_preproc=yes 10484 ;; 10485 no:yes:* ) 10486 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 10487echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 10488 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 10489echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 10490 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 10491echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 10492 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 10493echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 10494 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 10495echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 10496 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 10497echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 10498 ( cat <<\_ASBOX 10499## ------------------------------- ## 10500## Report this to spm@stedee.id.au ## 10501## ------------------------------- ## 10502_ASBOX 10503 ) | sed "s/^/$as_me: WARNING: /" >&2 10504 ;; 10505esac 10506{ echo "$as_me:$LINENO: checking for $ac_header" >&5 10507echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 10508if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10509 echo $ECHO_N "(cached) $ECHO_C" >&6 10510else 10511 eval "$as_ac_Header=\$ac_header_preproc" 10512fi 10513ac_res=`eval echo '${'$as_ac_Header'}'` 10514 { echo "$as_me:$LINENO: result: $ac_res" >&5 10515echo "${ECHO_T}$ac_res" >&6; } 10516 10517fi 10518if test `eval echo '${'$as_ac_Header'}'` = yes; then 10519 cat >>confdefs.h <<_ACEOF 10520#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10521_ACEOF 10522 10523else 10524 echo "Missing GeoIP.h" 10525fi 10526 10527done 10528 10529fi 10530 10531 10532{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 10533echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } 10534if test "${ac_cv_c_const+set}" = set; then 10535 echo $ECHO_N "(cached) $ECHO_C" >&6 10536else 10537 cat >conftest.$ac_ext <<_ACEOF 10538/* confdefs.h. */ 10539_ACEOF 10540cat confdefs.h >>conftest.$ac_ext 10541cat >>conftest.$ac_ext <<_ACEOF 10542/* end confdefs.h. */ 10543 10544int 10545main () 10546{ 10547/* FIXME: Include the comments suggested by Paul. */ 10548#ifndef __cplusplus 10549 /* Ultrix mips cc rejects this. */ 10550 typedef int charset[2]; 10551 const charset cs; 10552 /* SunOS 4.1.1 cc rejects this. */ 10553 char const *const *pcpcc; 10554 char **ppc; 10555 /* NEC SVR4.0.2 mips cc rejects this. */ 10556 struct point {int x, y;}; 10557 static struct point const zero = {0,0}; 10558 /* AIX XL C 1.02.0.0 rejects this. 10559 It does not let you subtract one const X* pointer from another in 10560 an arm of an if-expression whose if-part is not a constant 10561 expression */ 10562 const char *g = "string"; 10563 pcpcc = &g + (g ? g-g : 0); 10564 /* HPUX 7.0 cc rejects these. */ 10565 ++pcpcc; 10566 ppc = (char**) pcpcc; 10567 pcpcc = (char const *const *) ppc; 10568 { /* SCO 3.2v4 cc rejects this. */ 10569 char *t; 10570 char const *s = 0 ? (char *) 0 : (char const *) 0; 10571 10572 *t++ = 0; 10573 if (s) return 0; 10574 } 10575 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 10576 int x[] = {25, 17}; 10577 const int *foo = &x[0]; 10578 ++foo; 10579 } 10580 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 10581 typedef const int *iptr; 10582 iptr p = 0; 10583 ++p; 10584 } 10585 { /* AIX XL C 1.02.0.0 rejects this saying 10586 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 10587 struct s { int j; const int *ap[3]; }; 10588 struct s *b; b->j = 5; 10589 } 10590 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 10591 const int foo = 10; 10592 if (!foo) return 0; 10593 } 10594 return !cs[0] && !zero.x; 10595#endif 10596 10597 ; 10598 return 0; 10599} 10600_ACEOF 10601rm -f conftest.$ac_objext 10602if { (ac_try="$ac_compile" 10603case "(($ac_try" in 10604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10605 *) ac_try_echo=$ac_try;; 10606esac 10607eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10608 (eval "$ac_compile") 2>conftest.er1 10609 ac_status=$? 10610 grep -v '^ *+' conftest.er1 >conftest.err 10611 rm -f conftest.er1 10612 cat conftest.err >&5 10613 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10614 (exit $ac_status); } && { 10615 test -z "$ac_c_werror_flag" || 10616 test ! -s conftest.err 10617 } && test -s conftest.$ac_objext; then 10618 ac_cv_c_const=yes 10619else 10620 echo "$as_me: failed program was:" >&5 10621sed 's/^/| /' conftest.$ac_ext >&5 10622 10623 ac_cv_c_const=no 10624fi 10625 10626rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10627fi 10628{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 10629echo "${ECHO_T}$ac_cv_c_const" >&6; } 10630if test $ac_cv_c_const = no; then 10631 10632cat >>confdefs.h <<\_ACEOF 10633#define const 10634_ACEOF 10635 10636fi 10637 10638{ echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 10639echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; } 10640if test "${ac_cv_struct_tm+set}" = set; then 10641 echo $ECHO_N "(cached) $ECHO_C" >&6 10642else 10643 cat >conftest.$ac_ext <<_ACEOF 10644/* confdefs.h. */ 10645_ACEOF 10646cat confdefs.h >>conftest.$ac_ext 10647cat >>conftest.$ac_ext <<_ACEOF 10648/* end confdefs.h. */ 10649#include <sys/types.h> 10650#include <time.h> 10651 10652int 10653main () 10654{ 10655struct tm tm; 10656 int *p = &tm.tm_sec; 10657 return !p; 10658 ; 10659 return 0; 10660} 10661_ACEOF 10662rm -f conftest.$ac_objext 10663if { (ac_try="$ac_compile" 10664case "(($ac_try" in 10665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10666 *) ac_try_echo=$ac_try;; 10667esac 10668eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10669 (eval "$ac_compile") 2>conftest.er1 10670 ac_status=$? 10671 grep -v '^ *+' conftest.er1 >conftest.err 10672 rm -f conftest.er1 10673 cat conftest.err >&5 10674 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10675 (exit $ac_status); } && { 10676 test -z "$ac_c_werror_flag" || 10677 test ! -s conftest.err 10678 } && test -s conftest.$ac_objext; then 10679 ac_cv_struct_tm=time.h 10680else 10681 echo "$as_me: failed program was:" >&5 10682sed 's/^/| /' conftest.$ac_ext >&5 10683 10684 ac_cv_struct_tm=sys/time.h 10685fi 10686 10687rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10688fi 10689{ echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 10690echo "${ECHO_T}$ac_cv_struct_tm" >&6; } 10691if test $ac_cv_struct_tm = sys/time.h; then 10692 10693cat >>confdefs.h <<\_ACEOF 10694#define TM_IN_SYS_TIME 1 10695_ACEOF 10696 10697fi 10698 10699{ echo "$as_me:$LINENO: checking for size_t" >&5 10700echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } 10701if test "${ac_cv_type_size_t+set}" = set; then 10702 echo $ECHO_N "(cached) $ECHO_C" >&6 10703else 10704 cat >conftest.$ac_ext <<_ACEOF 10705/* confdefs.h. */ 10706_ACEOF 10707cat confdefs.h >>conftest.$ac_ext 10708cat >>conftest.$ac_ext <<_ACEOF 10709/* end confdefs.h. */ 10710$ac_includes_default 10711typedef size_t ac__type_new_; 10712int 10713main () 10714{ 10715if ((ac__type_new_ *) 0) 10716 return 0; 10717if (sizeof (ac__type_new_)) 10718 return 0; 10719 ; 10720 return 0; 10721} 10722_ACEOF 10723rm -f conftest.$ac_objext 10724if { (ac_try="$ac_compile" 10725case "(($ac_try" in 10726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10727 *) ac_try_echo=$ac_try;; 10728esac 10729eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10730 (eval "$ac_compile") 2>conftest.er1 10731 ac_status=$? 10732 grep -v '^ *+' conftest.er1 >conftest.err 10733 rm -f conftest.er1 10734 cat conftest.err >&5 10735 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10736 (exit $ac_status); } && { 10737 test -z "$ac_c_werror_flag" || 10738 test ! -s conftest.err 10739 } && test -s conftest.$ac_objext; then 10740 ac_cv_type_size_t=yes 10741else 10742 echo "$as_me: failed program was:" >&5 10743sed 's/^/| /' conftest.$ac_ext >&5 10744 10745 ac_cv_type_size_t=no 10746fi 10747 10748rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10749fi 10750{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 10751echo "${ECHO_T}$ac_cv_type_size_t" >&6; } 10752if test $ac_cv_type_size_t = yes; then 10753 : 10754else 10755 10756cat >>confdefs.h <<_ACEOF 10757#define size_t unsigned int 10758_ACEOF 10759 10760fi 10761 10762 10763{ echo "$as_me:$LINENO: checking default config dir" >&5 10764echo $ECHO_N "checking default config dir... $ECHO_C" >&6; } 10765if test "$CACHE_ETC" = "yes"; then 10766 if test "${ac_cv_etcdir+set}" = set; then 10767 echo $ECHO_N "(cached) $ECHO_C" >&6 10768else 10769 ac_cv_etcdir=/etc 10770fi 10771 10772 ETCDIR=$ac_cv_etcdir 10773fi 10774ac_cv_etcdir=$ETCDIR 10775{ echo "$as_me:$LINENO: result: $ETCDIR" >&5 10776echo "${ECHO_T}$ETCDIR" >&6; } 10777 10778 10779ac_config_files="$ac_config_files Makefile src/Makefile doc/Makefile flags/Makefile po/Makefile.in contrib/Makefile" 10780 10781cat >confcache <<\_ACEOF 10782# This file is a shell script that caches the results of configure 10783# tests run on this system so they can be shared between configure 10784# scripts and configure runs, see configure's option --config-cache. 10785# It is not useful on other systems. If it contains results you don't 10786# want to keep, you may remove or edit it. 10787# 10788# config.status only pays attention to the cache file if you give it 10789# the --recheck option to rerun configure. 10790# 10791# `ac_cv_env_foo' variables (set or unset) will be overridden when 10792# loading this file, other *unset* `ac_cv_foo' will be assigned the 10793# following values. 10794 10795_ACEOF 10796 10797# The following way of writing the cache mishandles newlines in values, 10798# but we know of no workaround that is simple, portable, and efficient. 10799# So, we kill variables containing newlines. 10800# Ultrix sh set writes to stderr and can't be redirected directly, 10801# and sets the high bit in the cache file unless we assign to the vars. 10802( 10803 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 10804 eval ac_val=\$$ac_var 10805 case $ac_val in #( 10806 *${as_nl}*) 10807 case $ac_var in #( 10808 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 10809echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 10810 esac 10811 case $ac_var in #( 10812 _ | IFS | as_nl) ;; #( 10813 *) $as_unset $ac_var ;; 10814 esac ;; 10815 esac 10816 done 10817 10818 (set) 2>&1 | 10819 case $as_nl`(ac_space=' '; set) 2>&1` in #( 10820 *${as_nl}ac_space=\ *) 10821 # `set' does not quote correctly, so add quotes (double-quote 10822 # substitution turns \\\\ into \\, and sed turns \\ into \). 10823 sed -n \ 10824 "s/'/'\\\\''/g; 10825 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 10826 ;; #( 10827 *) 10828 # `set' quotes correctly as required by POSIX, so do not add quotes. 10829 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 10830 ;; 10831 esac | 10832 sort 10833) | 10834 sed ' 10835 /^ac_cv_env_/b end 10836 t clear 10837 :clear 10838 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 10839 t end 10840 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 10841 :end' >>confcache 10842if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 10843 if test -w "$cache_file"; then 10844 test "x$cache_file" != "x/dev/null" && 10845 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 10846echo "$as_me: updating cache $cache_file" >&6;} 10847 cat confcache >$cache_file 10848 else 10849 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 10850echo "$as_me: not updating unwritable cache $cache_file" >&6;} 10851 fi 10852fi 10853rm -f confcache 10854 10855test "x$prefix" = xNONE && prefix=$ac_default_prefix 10856# Let make expand exec_prefix. 10857test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 10858 10859DEFS=-DHAVE_CONFIG_H 10860 10861ac_libobjs= 10862ac_ltlibobjs= 10863for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 10864 # 1. Remove the extension, and $U if already installed. 10865 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 10866 ac_i=`echo "$ac_i" | sed "$ac_script"` 10867 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 10868 # will be set to the directory where LIBOBJS objects are built. 10869 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 10870 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 10871done 10872LIBOBJS=$ac_libobjs 10873 10874LTLIBOBJS=$ac_ltlibobjs 10875 10876 10877if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 10878 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 10879Usually this means the macro was only invoked conditionally." >&5 10880echo "$as_me: error: conditional \"AMDEP\" was never defined. 10881Usually this means the macro was only invoked conditionally." >&2;} 10882 { (exit 1); exit 1; }; } 10883fi 10884if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 10885 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 10886Usually this means the macro was only invoked conditionally." >&5 10887echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 10888Usually this means the macro was only invoked conditionally." >&2;} 10889 { (exit 1); exit 1; }; } 10890fi 10891if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 10892 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 10893Usually this means the macro was only invoked conditionally." >&5 10894echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 10895Usually this means the macro was only invoked conditionally." >&2;} 10896 { (exit 1); exit 1; }; } 10897fi 10898 10899: ${CONFIG_STATUS=./config.status} 10900ac_clean_files_save=$ac_clean_files 10901ac_clean_files="$ac_clean_files $CONFIG_STATUS" 10902{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 10903echo "$as_me: creating $CONFIG_STATUS" >&6;} 10904cat >$CONFIG_STATUS <<_ACEOF 10905#! $SHELL 10906# Generated by $as_me. 10907# Run this file to recreate the current configuration. 10908# Compiler output produced by configure, useful for debugging 10909# configure, is in config.log if it exists. 10910 10911debug=false 10912ac_cs_recheck=false 10913ac_cs_silent=false 10914SHELL=\${CONFIG_SHELL-$SHELL} 10915_ACEOF 10916 10917cat >>$CONFIG_STATUS <<\_ACEOF 10918## --------------------- ## 10919## M4sh Initialization. ## 10920## --------------------- ## 10921 10922# Be more Bourne compatible 10923DUALCASE=1; export DUALCASE # for MKS sh 10924if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 10925 emulate sh 10926 NULLCMD=: 10927 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 10928 # is contrary to our usage. Disable this feature. 10929 alias -g '${1+"$@"}'='"$@"' 10930 setopt NO_GLOB_SUBST 10931else 10932 case `(set -o) 2>/dev/null` in 10933 *posix*) set -o posix ;; 10934esac 10935 10936fi 10937 10938 10939 10940 10941# PATH needs CR 10942# Avoid depending upon Character Ranges. 10943as_cr_letters='abcdefghijklmnopqrstuvwxyz' 10944as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 10945as_cr_Letters=$as_cr_letters$as_cr_LETTERS 10946as_cr_digits='0123456789' 10947as_cr_alnum=$as_cr_Letters$as_cr_digits 10948 10949# The user is always right. 10950if test "${PATH_SEPARATOR+set}" != set; then 10951 echo "#! /bin/sh" >conf$$.sh 10952 echo "exit 0" >>conf$$.sh 10953 chmod +x conf$$.sh 10954 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 10955 PATH_SEPARATOR=';' 10956 else 10957 PATH_SEPARATOR=: 10958 fi 10959 rm -f conf$$.sh 10960fi 10961 10962# Support unset when possible. 10963if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 10964 as_unset=unset 10965else 10966 as_unset=false 10967fi 10968 10969 10970# IFS 10971# We need space, tab and new line, in precisely that order. Quoting is 10972# there to prevent editors from complaining about space-tab. 10973# (If _AS_PATH_WALK were called with IFS unset, it would disable word 10974# splitting by setting IFS to empty value.) 10975as_nl=' 10976' 10977IFS=" "" $as_nl" 10978 10979# Find who we are. Look in the path if we contain no directory separator. 10980case $0 in 10981 *[\\/]* ) as_myself=$0 ;; 10982 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10983for as_dir in $PATH 10984do 10985 IFS=$as_save_IFS 10986 test -z "$as_dir" && as_dir=. 10987 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 10988done 10989IFS=$as_save_IFS 10990 10991 ;; 10992esac 10993# We did not find ourselves, most probably we were run as `sh COMMAND' 10994# in which case we are not to be found in the path. 10995if test "x$as_myself" = x; then 10996 as_myself=$0 10997fi 10998if test ! -f "$as_myself"; then 10999 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 11000 { (exit 1); exit 1; } 11001fi 11002 11003# Work around bugs in pre-3.0 UWIN ksh. 11004for as_var in ENV MAIL MAILPATH 11005do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 11006done 11007PS1='$ ' 11008PS2='> ' 11009PS4='+ ' 11010 11011# NLS nuisances. 11012for as_var in \ 11013 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 11014 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 11015 LC_TELEPHONE LC_TIME 11016do 11017 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 11018 eval $as_var=C; export $as_var 11019 else 11020 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 11021 fi 11022done 11023 11024# Required to use basename. 11025if expr a : '\(a\)' >/dev/null 2>&1 && 11026 test "X`expr 00001 : '.*\(...\)'`" = X001; then 11027 as_expr=expr 11028else 11029 as_expr=false 11030fi 11031 11032if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 11033 as_basename=basename 11034else 11035 as_basename=false 11036fi 11037 11038 11039# Name of the executable. 11040as_me=`$as_basename -- "$0" || 11041$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 11042 X"$0" : 'X\(//\)$' \| \ 11043 X"$0" : 'X\(/\)' \| . 2>/dev/null || 11044echo X/"$0" | 11045 sed '/^.*\/\([^/][^/]*\)\/*$/{ 11046 s//\1/ 11047 q 11048 } 11049 /^X\/\(\/\/\)$/{ 11050 s//\1/ 11051 q 11052 } 11053 /^X\/\(\/\).*/{ 11054 s//\1/ 11055 q 11056 } 11057 s/.*/./; q'` 11058 11059# CDPATH. 11060$as_unset CDPATH 11061 11062 11063 11064 as_lineno_1=$LINENO 11065 as_lineno_2=$LINENO 11066 test "x$as_lineno_1" != "x$as_lineno_2" && 11067 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 11068 11069 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 11070 # uniformly replaced by the line number. The first 'sed' inserts a 11071 # line-number line after each line using $LINENO; the second 'sed' 11072 # does the real work. The second script uses 'N' to pair each 11073 # line-number line with the line containing $LINENO, and appends 11074 # trailing '-' during substitution so that $LINENO is not a special 11075 # case at line end. 11076 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 11077 # scripts with optimization help from Paolo Bonzini. Blame Lee 11078 # E. McMahon (1931-1989) for sed's syntax. :-) 11079 sed -n ' 11080 p 11081 /[$]LINENO/= 11082 ' <$as_myself | 11083 sed ' 11084 s/[$]LINENO.*/&-/ 11085 t lineno 11086 b 11087 :lineno 11088 N 11089 :loop 11090 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 11091 t loop 11092 s/-\n.*// 11093 ' >$as_me.lineno && 11094 chmod +x "$as_me.lineno" || 11095 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 11096 { (exit 1); exit 1; }; } 11097 11098 # Don't try to exec as it changes $[0], causing all sort of problems 11099 # (the dirname of $[0] is not the place where we might find the 11100 # original and so on. Autoconf is especially sensitive to this). 11101 . "./$as_me.lineno" 11102 # Exit status is that of the last command. 11103 exit 11104} 11105 11106 11107if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 11108 as_dirname=dirname 11109else 11110 as_dirname=false 11111fi 11112 11113ECHO_C= ECHO_N= ECHO_T= 11114case `echo -n x` in 11115-n*) 11116 case `echo 'x\c'` in 11117 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 11118 *) ECHO_C='\c';; 11119 esac;; 11120*) 11121 ECHO_N='-n';; 11122esac 11123 11124if expr a : '\(a\)' >/dev/null 2>&1 && 11125 test "X`expr 00001 : '.*\(...\)'`" = X001; then 11126 as_expr=expr 11127else 11128 as_expr=false 11129fi 11130 11131rm -f conf$$ conf$$.exe conf$$.file 11132if test -d conf$$.dir; then 11133 rm -f conf$$.dir/conf$$.file 11134else 11135 rm -f conf$$.dir 11136 mkdir conf$$.dir 11137fi 11138echo >conf$$.file 11139if ln -s conf$$.file conf$$ 2>/dev/null; then 11140 as_ln_s='ln -s' 11141 # ... but there are two gotchas: 11142 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 11143 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 11144 # In both cases, we have to default to `cp -p'. 11145 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 11146 as_ln_s='cp -p' 11147elif ln conf$$.file conf$$ 2>/dev/null; then 11148 as_ln_s=ln 11149else 11150 as_ln_s='cp -p' 11151fi 11152rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 11153rmdir conf$$.dir 2>/dev/null 11154 11155if mkdir -p . 2>/dev/null; then 11156 as_mkdir_p=: 11157else 11158 test -d ./-p && rmdir ./-p 11159 as_mkdir_p=false 11160fi 11161 11162if test -x / >/dev/null 2>&1; then 11163 as_test_x='test -x' 11164else 11165 if ls -dL / >/dev/null 2>&1; then 11166 as_ls_L_option=L 11167 else 11168 as_ls_L_option= 11169 fi 11170 as_test_x=' 11171 eval sh -c '\'' 11172 if test -d "$1"; then 11173 test -d "$1/."; 11174 else 11175 case $1 in 11176 -*)set "./$1";; 11177 esac; 11178 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 11179 ???[sx]*):;;*)false;;esac;fi 11180 '\'' sh 11181 ' 11182fi 11183as_executable_p=$as_test_x 11184 11185# Sed expression to map a string onto a valid CPP name. 11186as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 11187 11188# Sed expression to map a string onto a valid variable name. 11189as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 11190 11191 11192exec 6>&1 11193 11194# Save the log message, to keep $[0] and so on meaningful, and to 11195# report actual input values of CONFIG_FILES etc. instead of their 11196# values after options handling. 11197ac_log=" 11198This file was extended by awffull $as_me 3.10.2, which was 11199generated by GNU Autoconf 2.61. Invocation command line was 11200 11201 CONFIG_FILES = $CONFIG_FILES 11202 CONFIG_HEADERS = $CONFIG_HEADERS 11203 CONFIG_LINKS = $CONFIG_LINKS 11204 CONFIG_COMMANDS = $CONFIG_COMMANDS 11205 $ $0 $@ 11206 11207on `(hostname || uname -n) 2>/dev/null | sed 1q` 11208" 11209 11210_ACEOF 11211 11212cat >>$CONFIG_STATUS <<_ACEOF 11213# Files that config.status was made for. 11214config_files="$ac_config_files" 11215config_headers="$ac_config_headers" 11216config_commands="$ac_config_commands" 11217 11218_ACEOF 11219 11220cat >>$CONFIG_STATUS <<\_ACEOF 11221ac_cs_usage="\ 11222\`$as_me' instantiates files from templates according to the 11223current configuration. 11224 11225Usage: $0 [OPTIONS] [FILE]... 11226 11227 -h, --help print this help, then exit 11228 -V, --version print version number and configuration settings, then exit 11229 -q, --quiet do not print progress messages 11230 -d, --debug don't remove temporary files 11231 --recheck update $as_me by reconfiguring in the same conditions 11232 --file=FILE[:TEMPLATE] 11233 instantiate the configuration file FILE 11234 --header=FILE[:TEMPLATE] 11235 instantiate the configuration header FILE 11236 11237Configuration files: 11238$config_files 11239 11240Configuration headers: 11241$config_headers 11242 11243Configuration commands: 11244$config_commands 11245 11246Report bugs to <bug-autoconf@gnu.org>." 11247 11248_ACEOF 11249cat >>$CONFIG_STATUS <<_ACEOF 11250ac_cs_version="\\ 11251awffull config.status 3.10.2 11252configured by $0, generated by GNU Autoconf 2.61, 11253 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 11254 11255Copyright (C) 2006 Free Software Foundation, Inc. 11256This config.status script is free software; the Free Software Foundation 11257gives unlimited permission to copy, distribute and modify it." 11258 11259ac_pwd='$ac_pwd' 11260srcdir='$srcdir' 11261INSTALL='$INSTALL' 11262MKDIR_P='$MKDIR_P' 11263_ACEOF 11264 11265cat >>$CONFIG_STATUS <<\_ACEOF 11266# If no file are specified by the user, then we need to provide default 11267# value. By we need to know if files were specified by the user. 11268ac_need_defaults=: 11269while test $# != 0 11270do 11271 case $1 in 11272 --*=*) 11273 ac_option=`expr "X$1" : 'X\([^=]*\)='` 11274 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 11275 ac_shift=: 11276 ;; 11277 *) 11278 ac_option=$1 11279 ac_optarg=$2 11280 ac_shift=shift 11281 ;; 11282 esac 11283 11284 case $ac_option in 11285 # Handling of the options. 11286 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 11287 ac_cs_recheck=: ;; 11288 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 11289 echo "$ac_cs_version"; exit ;; 11290 --debug | --debu | --deb | --de | --d | -d ) 11291 debug=: ;; 11292 --file | --fil | --fi | --f ) 11293 $ac_shift 11294 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 11295 ac_need_defaults=false;; 11296 --header | --heade | --head | --hea ) 11297 $ac_shift 11298 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 11299 ac_need_defaults=false;; 11300 --he | --h) 11301 # Conflict between --help and --header 11302 { echo "$as_me: error: ambiguous option: $1 11303Try \`$0 --help' for more information." >&2 11304 { (exit 1); exit 1; }; };; 11305 --help | --hel | -h ) 11306 echo "$ac_cs_usage"; exit ;; 11307 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 11308 | -silent | --silent | --silen | --sile | --sil | --si | --s) 11309 ac_cs_silent=: ;; 11310 11311 # This is an error. 11312 -*) { echo "$as_me: error: unrecognized option: $1 11313Try \`$0 --help' for more information." >&2 11314 { (exit 1); exit 1; }; } ;; 11315 11316 *) ac_config_targets="$ac_config_targets $1" 11317 ac_need_defaults=false ;; 11318 11319 esac 11320 shift 11321done 11322 11323ac_configure_extra_args= 11324 11325if $ac_cs_silent; then 11326 exec 6>/dev/null 11327 ac_configure_extra_args="$ac_configure_extra_args --silent" 11328fi 11329 11330_ACEOF 11331cat >>$CONFIG_STATUS <<_ACEOF 11332if \$ac_cs_recheck; then 11333 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 11334 CONFIG_SHELL=$SHELL 11335 export CONFIG_SHELL 11336 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 11337fi 11338 11339_ACEOF 11340cat >>$CONFIG_STATUS <<\_ACEOF 11341exec 5>>config.log 11342{ 11343 echo 11344 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 11345## Running $as_me. ## 11346_ASBOX 11347 echo "$ac_log" 11348} >&5 11349 11350_ACEOF 11351cat >>$CONFIG_STATUS <<_ACEOF 11352# 11353# INIT-COMMANDS 11354# 11355# Capture the value of obsolete ALL_LINGUAS because we need it to compute 11356 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it 11357 # from automake < 1.5. 11358 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' 11359 # Capture the value of LINGUAS because we need it to compute CATALOGS. 11360 LINGUAS="${LINGUAS-%UNSET%}" 11361 11362AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 11363 11364_ACEOF 11365 11366cat >>$CONFIG_STATUS <<\_ACEOF 11367 11368# Handling of arguments. 11369for ac_config_target in $ac_config_targets 11370do 11371 case $ac_config_target in 11372 "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config-h.in" ;; 11373 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; 11374 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 11375 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 11376 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 11377 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 11378 "flags/Makefile") CONFIG_FILES="$CONFIG_FILES flags/Makefile" ;; 11379 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 11380 "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;; 11381 11382 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 11383echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 11384 { (exit 1); exit 1; }; };; 11385 esac 11386done 11387 11388 11389# If the user did not use the arguments to specify the items to instantiate, 11390# then the envvar interface is used. Set only those that are not. 11391# We use the long form for the default assignment because of an extremely 11392# bizarre bug on SunOS 4.1.3. 11393if $ac_need_defaults; then 11394 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 11395 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 11396 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 11397fi 11398 11399# Have a temporary directory for convenience. Make it in the build tree 11400# simply because there is no reason against having it here, and in addition, 11401# creating and moving files from /tmp can sometimes cause problems. 11402# Hook for its removal unless debugging. 11403# Note that there is a small window in which the directory will not be cleaned: 11404# after its creation but before its name has been assigned to `$tmp'. 11405$debug || 11406{ 11407 tmp= 11408 trap 'exit_status=$? 11409 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 11410' 0 11411 trap '{ (exit 1); exit 1; }' 1 2 13 15 11412} 11413# Create a (secure) tmp directory for tmp files. 11414 11415{ 11416 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 11417 test -n "$tmp" && test -d "$tmp" 11418} || 11419{ 11420 tmp=./conf$$-$RANDOM 11421 (umask 077 && mkdir "$tmp") 11422} || 11423{ 11424 echo "$me: cannot create a temporary directory in ." >&2 11425 { (exit 1); exit 1; } 11426} 11427 11428# 11429# Set up the sed scripts for CONFIG_FILES section. 11430# 11431 11432# No need to generate the scripts if there are no CONFIG_FILES. 11433# This happens for instance when ./config.status config.h 11434if test -n "$CONFIG_FILES"; then 11435 11436_ACEOF 11437 11438 11439 11440ac_delim='%!_!# ' 11441for ac_last_try in false false false false false :; do 11442 cat >conf$$subs.sed <<_ACEOF 11443SHELL!$SHELL$ac_delim 11444PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 11445PACKAGE_NAME!$PACKAGE_NAME$ac_delim 11446PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 11447PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 11448PACKAGE_STRING!$PACKAGE_STRING$ac_delim 11449PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 11450exec_prefix!$exec_prefix$ac_delim 11451prefix!$prefix$ac_delim 11452program_transform_name!$program_transform_name$ac_delim 11453bindir!$bindir$ac_delim 11454sbindir!$sbindir$ac_delim 11455libexecdir!$libexecdir$ac_delim 11456datarootdir!$datarootdir$ac_delim 11457datadir!$datadir$ac_delim 11458sysconfdir!$sysconfdir$ac_delim 11459sharedstatedir!$sharedstatedir$ac_delim 11460localstatedir!$localstatedir$ac_delim 11461includedir!$includedir$ac_delim 11462oldincludedir!$oldincludedir$ac_delim 11463docdir!$docdir$ac_delim 11464infodir!$infodir$ac_delim 11465htmldir!$htmldir$ac_delim 11466dvidir!$dvidir$ac_delim 11467pdfdir!$pdfdir$ac_delim 11468psdir!$psdir$ac_delim 11469libdir!$libdir$ac_delim 11470localedir!$localedir$ac_delim 11471mandir!$mandir$ac_delim 11472DEFS!$DEFS$ac_delim 11473ECHO_C!$ECHO_C$ac_delim 11474ECHO_N!$ECHO_N$ac_delim 11475ECHO_T!$ECHO_T$ac_delim 11476LIBS!$LIBS$ac_delim 11477build_alias!$build_alias$ac_delim 11478host_alias!$host_alias$ac_delim 11479target_alias!$target_alias$ac_delim 11480INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 11481INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 11482INSTALL_DATA!$INSTALL_DATA$ac_delim 11483am__isrc!$am__isrc$ac_delim 11484CYGPATH_W!$CYGPATH_W$ac_delim 11485PACKAGE!$PACKAGE$ac_delim 11486VERSION!$VERSION$ac_delim 11487ACLOCAL!$ACLOCAL$ac_delim 11488AUTOCONF!$AUTOCONF$ac_delim 11489AUTOMAKE!$AUTOMAKE$ac_delim 11490AUTOHEADER!$AUTOHEADER$ac_delim 11491MAKEINFO!$MAKEINFO$ac_delim 11492install_sh!$install_sh$ac_delim 11493STRIP!$STRIP$ac_delim 11494INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim 11495mkdir_p!$mkdir_p$ac_delim 11496AWK!$AWK$ac_delim 11497SET_MAKE!$SET_MAKE$ac_delim 11498am__leading_dot!$am__leading_dot$ac_delim 11499AMTAR!$AMTAR$ac_delim 11500am__tar!$am__tar$ac_delim 11501am__untar!$am__untar$ac_delim 11502USE_NLS!$USE_NLS$ac_delim 11503GETTEXT_MACRO_VERSION!$GETTEXT_MACRO_VERSION$ac_delim 11504MSGFMT!$MSGFMT$ac_delim 11505GMSGFMT!$GMSGFMT$ac_delim 11506MSGFMT_015!$MSGFMT_015$ac_delim 11507GMSGFMT_015!$GMSGFMT_015$ac_delim 11508XGETTEXT!$XGETTEXT$ac_delim 11509XGETTEXT_015!$XGETTEXT_015$ac_delim 11510MSGMERGE!$MSGMERGE$ac_delim 11511XGETTEXT_EXTRA_OPTIONS!$XGETTEXT_EXTRA_OPTIONS$ac_delim 11512CC!$CC$ac_delim 11513CFLAGS!$CFLAGS$ac_delim 11514LDFLAGS!$LDFLAGS$ac_delim 11515CPPFLAGS!$CPPFLAGS$ac_delim 11516ac_ct_CC!$ac_ct_CC$ac_delim 11517EXEEXT!$EXEEXT$ac_delim 11518OBJEXT!$OBJEXT$ac_delim 11519DEPDIR!$DEPDIR$ac_delim 11520am__include!$am__include$ac_delim 11521am__quote!$am__quote$ac_delim 11522AMDEP_TRUE!$AMDEP_TRUE$ac_delim 11523AMDEP_FALSE!$AMDEP_FALSE$ac_delim 11524AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim 11525CCDEPMODE!$CCDEPMODE$ac_delim 11526am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim 11527am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim 11528build!$build$ac_delim 11529build_cpu!$build_cpu$ac_delim 11530build_vendor!$build_vendor$ac_delim 11531build_os!$build_os$ac_delim 11532host!$host$ac_delim 11533host_cpu!$host_cpu$ac_delim 11534host_vendor!$host_vendor$ac_delim 11535host_os!$host_os$ac_delim 11536INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim 11537LIBICONV!$LIBICONV$ac_delim 11538LTLIBICONV!$LTLIBICONV$ac_delim 11539INTLLIBS!$INTLLIBS$ac_delim 11540_ACEOF 11541 11542 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 11543 break 11544 elif $ac_last_try; then 11545 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 11546echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 11547 { (exit 1); exit 1; }; } 11548 else 11549 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 11550 fi 11551done 11552 11553ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 11554if test -n "$ac_eof"; then 11555 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 11556 ac_eof=`expr $ac_eof + 1` 11557fi 11558 11559cat >>$CONFIG_STATUS <<_ACEOF 11560cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 11561/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 11562_ACEOF 11563sed ' 11564s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 11565s/^/s,@/; s/!/@,|#_!!_#|/ 11566:n 11567t n 11568s/'"$ac_delim"'$/,g/; t 11569s/$/\\/; p 11570N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 11571' >>$CONFIG_STATUS <conf$$subs.sed 11572rm -f conf$$subs.sed 11573cat >>$CONFIG_STATUS <<_ACEOF 11574CEOF$ac_eof 11575_ACEOF 11576 11577 11578ac_delim='%!_!# ' 11579for ac_last_try in false false false false false :; do 11580 cat >conf$$subs.sed <<_ACEOF 11581LIBINTL!$LIBINTL$ac_delim 11582LTLIBINTL!$LTLIBINTL$ac_delim 11583POSUB!$POSUB$ac_delim 11584OPTS!$OPTS$ac_delim 11585RANLIB!$RANLIB$ac_delim 11586CPP!$CPP$ac_delim 11587GREP!$GREP$ac_delim 11588EGREP!$EGREP$ac_delim 11589LIBOBJS!$LIBOBJS$ac_delim 11590ETCDIR!$ETCDIR$ac_delim 11591LTLIBOBJS!$LTLIBOBJS$ac_delim 11592_ACEOF 11593 11594 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 11; then 11595 break 11596 elif $ac_last_try; then 11597 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 11598echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 11599 { (exit 1); exit 1; }; } 11600 else 11601 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 11602 fi 11603done 11604 11605ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 11606if test -n "$ac_eof"; then 11607 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 11608 ac_eof=`expr $ac_eof + 1` 11609fi 11610 11611cat >>$CONFIG_STATUS <<_ACEOF 11612cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 11613/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 11614_ACEOF 11615sed ' 11616s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 11617s/^/s,@/; s/!/@,|#_!!_#|/ 11618:n 11619t n 11620s/'"$ac_delim"'$/,g/; t 11621s/$/\\/; p 11622N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 11623' >>$CONFIG_STATUS <conf$$subs.sed 11624rm -f conf$$subs.sed 11625cat >>$CONFIG_STATUS <<_ACEOF 11626:end 11627s/|#_!!_#|//g 11628CEOF$ac_eof 11629_ACEOF 11630 11631 11632# VPATH may cause trouble with some makes, so we remove $(srcdir), 11633# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 11634# trailing colons and then remove the whole line if VPATH becomes empty 11635# (actually we leave an empty line to preserve line numbers). 11636if test "x$srcdir" = x.; then 11637 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 11638s/:*\$(srcdir):*/:/ 11639s/:*\${srcdir}:*/:/ 11640s/:*@srcdir@:*/:/ 11641s/^\([^=]*=[ ]*\):*/\1/ 11642s/:*$// 11643s/^[^=]*=[ ]*$// 11644}' 11645fi 11646 11647cat >>$CONFIG_STATUS <<\_ACEOF 11648fi # test -n "$CONFIG_FILES" 11649 11650 11651for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS 11652do 11653 case $ac_tag in 11654 :[FHLC]) ac_mode=$ac_tag; continue;; 11655 esac 11656 case $ac_mode$ac_tag in 11657 :[FHL]*:*);; 11658 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 11659echo "$as_me: error: Invalid tag $ac_tag." >&2;} 11660 { (exit 1); exit 1; }; };; 11661 :[FH]-) ac_tag=-:-;; 11662 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 11663 esac 11664 ac_save_IFS=$IFS 11665 IFS=: 11666 set x $ac_tag 11667 IFS=$ac_save_IFS 11668 shift 11669 ac_file=$1 11670 shift 11671 11672 case $ac_mode in 11673 :L) ac_source=$1;; 11674 :[FH]) 11675 ac_file_inputs= 11676 for ac_f 11677 do 11678 case $ac_f in 11679 -) ac_f="$tmp/stdin";; 11680 *) # Look for the file first in the build tree, then in the source tree 11681 # (if the path is not absolute). The absolute path cannot be DOS-style, 11682 # because $ac_f cannot contain `:'. 11683 test -f "$ac_f" || 11684 case $ac_f in 11685 [\\/$]*) false;; 11686 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 11687 esac || 11688 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 11689echo "$as_me: error: cannot find input file: $ac_f" >&2;} 11690 { (exit 1); exit 1; }; };; 11691 esac 11692 ac_file_inputs="$ac_file_inputs $ac_f" 11693 done 11694 11695 # Let's still pretend it is `configure' which instantiates (i.e., don't 11696 # use $as_me), people would be surprised to read: 11697 # /* config.h. Generated by config.status. */ 11698 configure_input="Generated from "`IFS=: 11699 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 11700 if test x"$ac_file" != x-; then 11701 configure_input="$ac_file. $configure_input" 11702 { echo "$as_me:$LINENO: creating $ac_file" >&5 11703echo "$as_me: creating $ac_file" >&6;} 11704 fi 11705 11706 case $ac_tag in 11707 *:-:* | *:-) cat >"$tmp/stdin";; 11708 esac 11709 ;; 11710 esac 11711 11712 ac_dir=`$as_dirname -- "$ac_file" || 11713$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11714 X"$ac_file" : 'X\(//\)[^/]' \| \ 11715 X"$ac_file" : 'X\(//\)$' \| \ 11716 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 11717echo X"$ac_file" | 11718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11719 s//\1/ 11720 q 11721 } 11722 /^X\(\/\/\)[^/].*/{ 11723 s//\1/ 11724 q 11725 } 11726 /^X\(\/\/\)$/{ 11727 s//\1/ 11728 q 11729 } 11730 /^X\(\/\).*/{ 11731 s//\1/ 11732 q 11733 } 11734 s/.*/./; q'` 11735 { as_dir="$ac_dir" 11736 case $as_dir in #( 11737 -*) as_dir=./$as_dir;; 11738 esac 11739 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 11740 as_dirs= 11741 while :; do 11742 case $as_dir in #( 11743 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 11744 *) as_qdir=$as_dir;; 11745 esac 11746 as_dirs="'$as_qdir' $as_dirs" 11747 as_dir=`$as_dirname -- "$as_dir" || 11748$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11749 X"$as_dir" : 'X\(//\)[^/]' \| \ 11750 X"$as_dir" : 'X\(//\)$' \| \ 11751 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 11752echo X"$as_dir" | 11753 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11754 s//\1/ 11755 q 11756 } 11757 /^X\(\/\/\)[^/].*/{ 11758 s//\1/ 11759 q 11760 } 11761 /^X\(\/\/\)$/{ 11762 s//\1/ 11763 q 11764 } 11765 /^X\(\/\).*/{ 11766 s//\1/ 11767 q 11768 } 11769 s/.*/./; q'` 11770 test -d "$as_dir" && break 11771 done 11772 test -z "$as_dirs" || eval "mkdir $as_dirs" 11773 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 11774echo "$as_me: error: cannot create directory $as_dir" >&2;} 11775 { (exit 1); exit 1; }; }; } 11776 ac_builddir=. 11777 11778case "$ac_dir" in 11779.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 11780*) 11781 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 11782 # A ".." for each directory in $ac_dir_suffix. 11783 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 11784 case $ac_top_builddir_sub in 11785 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 11786 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 11787 esac ;; 11788esac 11789ac_abs_top_builddir=$ac_pwd 11790ac_abs_builddir=$ac_pwd$ac_dir_suffix 11791# for backward compatibility: 11792ac_top_builddir=$ac_top_build_prefix 11793 11794case $srcdir in 11795 .) # We are building in place. 11796 ac_srcdir=. 11797 ac_top_srcdir=$ac_top_builddir_sub 11798 ac_abs_top_srcdir=$ac_pwd ;; 11799 [\\/]* | ?:[\\/]* ) # Absolute name. 11800 ac_srcdir=$srcdir$ac_dir_suffix; 11801 ac_top_srcdir=$srcdir 11802 ac_abs_top_srcdir=$srcdir ;; 11803 *) # Relative name. 11804 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 11805 ac_top_srcdir=$ac_top_build_prefix$srcdir 11806 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 11807esac 11808ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 11809 11810 11811 case $ac_mode in 11812 :F) 11813 # 11814 # CONFIG_FILE 11815 # 11816 11817 case $INSTALL in 11818 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 11819 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 11820 esac 11821 ac_MKDIR_P=$MKDIR_P 11822 case $MKDIR_P in 11823 [\\/$]* | ?:[\\/]* ) ;; 11824 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 11825 esac 11826_ACEOF 11827 11828cat >>$CONFIG_STATUS <<\_ACEOF 11829# If the template does not know about datarootdir, expand it. 11830# FIXME: This hack should be removed a few years after 2.60. 11831ac_datarootdir_hack=; ac_datarootdir_seen= 11832 11833case `sed -n '/datarootdir/ { 11834 p 11835 q 11836} 11837/@datadir@/p 11838/@docdir@/p 11839/@infodir@/p 11840/@localedir@/p 11841/@mandir@/p 11842' $ac_file_inputs` in 11843*datarootdir*) ac_datarootdir_seen=yes;; 11844*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 11845 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 11846echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 11847_ACEOF 11848cat >>$CONFIG_STATUS <<_ACEOF 11849 ac_datarootdir_hack=' 11850 s&@datadir@&$datadir&g 11851 s&@docdir@&$docdir&g 11852 s&@infodir@&$infodir&g 11853 s&@localedir@&$localedir&g 11854 s&@mandir@&$mandir&g 11855 s&\\\${datarootdir}&$datarootdir&g' ;; 11856esac 11857_ACEOF 11858 11859# Neutralize VPATH when `$srcdir' = `.'. 11860# Shell code in configure.ac might set extrasub. 11861# FIXME: do we really want to maintain this feature? 11862cat >>$CONFIG_STATUS <<_ACEOF 11863 sed "$ac_vpsub 11864$extrasub 11865_ACEOF 11866cat >>$CONFIG_STATUS <<\_ACEOF 11867:t 11868/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 11869s&@configure_input@&$configure_input&;t t 11870s&@top_builddir@&$ac_top_builddir_sub&;t t 11871s&@srcdir@&$ac_srcdir&;t t 11872s&@abs_srcdir@&$ac_abs_srcdir&;t t 11873s&@top_srcdir@&$ac_top_srcdir&;t t 11874s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 11875s&@builddir@&$ac_builddir&;t t 11876s&@abs_builddir@&$ac_abs_builddir&;t t 11877s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 11878s&@INSTALL@&$ac_INSTALL&;t t 11879s&@MKDIR_P@&$ac_MKDIR_P&;t t 11880$ac_datarootdir_hack 11881" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 11882 11883test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 11884 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 11885 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 11886 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 11887which seems to be undefined. Please make sure it is defined." >&5 11888echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 11889which seems to be undefined. Please make sure it is defined." >&2;} 11890 11891 rm -f "$tmp/stdin" 11892 case $ac_file in 11893 -) cat "$tmp/out"; rm -f "$tmp/out";; 11894 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 11895 esac 11896 ;; 11897 :H) 11898 # 11899 # CONFIG_HEADER 11900 # 11901_ACEOF 11902 11903# Transform confdefs.h into a sed script `conftest.defines', that 11904# substitutes the proper values into config.h.in to produce config.h. 11905rm -f conftest.defines conftest.tail 11906# First, append a space to every undef/define line, to ease matching. 11907echo 's/$/ /' >conftest.defines 11908# Then, protect against being on the right side of a sed subst, or in 11909# an unquoted here document, in config.status. If some macros were 11910# called several times there might be several #defines for the same 11911# symbol, which is useless. But do not sort them, since the last 11912# AC_DEFINE must be honored. 11913ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 11914# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 11915# NAME is the cpp macro being defined, VALUE is the value it is being given. 11916# PARAMS is the parameter list in the macro definition--in most cases, it's 11917# just an empty string. 11918ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 11919ac_dB='\\)[ (].*,\\1define\\2' 11920ac_dC=' ' 11921ac_dD=' ,' 11922 11923uniq confdefs.h | 11924 sed -n ' 11925 t rset 11926 :rset 11927 s/^[ ]*#[ ]*define[ ][ ]*// 11928 t ok 11929 d 11930 :ok 11931 s/[\\&,]/\\&/g 11932 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 11933 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 11934 ' >>conftest.defines 11935 11936# Remove the space that was appended to ease matching. 11937# Then replace #undef with comments. This is necessary, for 11938# example, in the case of _POSIX_SOURCE, which is predefined and required 11939# on some systems where configure will not decide to define it. 11940# (The regexp can be short, since the line contains either #define or #undef.) 11941echo 's/ $// 11942s,^[ #]*u.*,/* & */,' >>conftest.defines 11943 11944# Break up conftest.defines: 11945ac_max_sed_lines=50 11946 11947# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" 11948# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" 11949# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" 11950# et cetera. 11951ac_in='$ac_file_inputs' 11952ac_out='"$tmp/out1"' 11953ac_nxt='"$tmp/out2"' 11954 11955while : 11956do 11957 # Write a here document: 11958 cat >>$CONFIG_STATUS <<_ACEOF 11959 # First, check the format of the line: 11960 cat >"\$tmp/defines.sed" <<\\CEOF 11961/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def 11962/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 11963b 11964:def 11965_ACEOF 11966 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 11967 echo 'CEOF 11968 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 11969 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 11970 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 11971 grep . conftest.tail >/dev/null || break 11972 rm -f conftest.defines 11973 mv conftest.tail conftest.defines 11974done 11975rm -f conftest.defines conftest.tail 11976 11977echo "ac_result=$ac_in" >>$CONFIG_STATUS 11978cat >>$CONFIG_STATUS <<\_ACEOF 11979 if test x"$ac_file" != x-; then 11980 echo "/* $configure_input */" >"$tmp/config.h" 11981 cat "$ac_result" >>"$tmp/config.h" 11982 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 11983 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 11984echo "$as_me: $ac_file is unchanged" >&6;} 11985 else 11986 rm -f $ac_file 11987 mv "$tmp/config.h" $ac_file 11988 fi 11989 else 11990 echo "/* $configure_input */" 11991 cat "$ac_result" 11992 fi 11993 rm -f "$tmp/out12" 11994# Compute $ac_file's index in $config_headers. 11995_am_arg=$ac_file 11996_am_stamp_count=1 11997for _am_header in $config_headers :; do 11998 case $_am_header in 11999 $_am_arg | $_am_arg:* ) 12000 break ;; 12001 * ) 12002 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 12003 esac 12004done 12005echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 12006$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12007 X"$_am_arg" : 'X\(//\)[^/]' \| \ 12008 X"$_am_arg" : 'X\(//\)$' \| \ 12009 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 12010echo X"$_am_arg" | 12011 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12012 s//\1/ 12013 q 12014 } 12015 /^X\(\/\/\)[^/].*/{ 12016 s//\1/ 12017 q 12018 } 12019 /^X\(\/\/\)$/{ 12020 s//\1/ 12021 q 12022 } 12023 /^X\(\/\).*/{ 12024 s//\1/ 12025 q 12026 } 12027 s/.*/./; q'`/stamp-h$_am_stamp_count 12028 ;; 12029 12030 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 12031echo "$as_me: executing $ac_file commands" >&6;} 12032 ;; 12033 esac 12034 12035 12036 case $ac_file$ac_mode in 12037 "po-directories":C) 12038 for ac_file in $CONFIG_FILES; do 12039 # Support "outfile[:infile[:infile...]]" 12040 case "$ac_file" in 12041 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 12042 esac 12043 # PO directories have a Makefile.in generated from Makefile.in.in. 12044 case "$ac_file" in */Makefile.in) 12045 # Adjust a relative srcdir. 12046 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 12047 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" 12048 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 12049 # In autoconf-2.13 it is called $ac_given_srcdir. 12050 # In autoconf-2.50 it is called $srcdir. 12051 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 12052 case "$ac_given_srcdir" in 12053 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 12054 /*) top_srcdir="$ac_given_srcdir" ;; 12055 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 12056 esac 12057 # Treat a directory as a PO directory if and only if it has a 12058 # POTFILES.in file. This allows packages to have multiple PO 12059 # directories under different names or in different locations. 12060 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 12061 rm -f "$ac_dir/POTFILES" 12062 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 12063 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 12064 POMAKEFILEDEPS="POTFILES.in" 12065 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 12066 # on $ac_dir but don't depend on user-specified configuration 12067 # parameters. 12068 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 12069 # The LINGUAS file contains the set of available languages. 12070 if test -n "$OBSOLETE_ALL_LINGUAS"; then 12071 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 12072 fi 12073 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 12074 # Hide the ALL_LINGUAS assigment from automake < 1.5. 12075 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 12076 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 12077 else 12078 # The set of available languages was given in configure.in. 12079 # Hide the ALL_LINGUAS assigment from automake < 1.5. 12080 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 12081 fi 12082 # Compute POFILES 12083 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 12084 # Compute UPDATEPOFILES 12085 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 12086 # Compute DUMMYPOFILES 12087 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 12088 # Compute GMOFILES 12089 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 12090 case "$ac_given_srcdir" in 12091 .) srcdirpre= ;; 12092 *) srcdirpre='$(srcdir)/' ;; 12093 esac 12094 POFILES= 12095 UPDATEPOFILES= 12096 DUMMYPOFILES= 12097 GMOFILES= 12098 for lang in $ALL_LINGUAS; do 12099 POFILES="$POFILES $srcdirpre$lang.po" 12100 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 12101 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 12102 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 12103 done 12104 # CATALOGS depends on both $ac_dir and the user's LINGUAS 12105 # environment variable. 12106 INST_LINGUAS= 12107 if test -n "$ALL_LINGUAS"; then 12108 for presentlang in $ALL_LINGUAS; do 12109 useit=no 12110 if test "%UNSET%" != "$LINGUAS"; then 12111 desiredlanguages="$LINGUAS" 12112 else 12113 desiredlanguages="$ALL_LINGUAS" 12114 fi 12115 for desiredlang in $desiredlanguages; do 12116 # Use the presentlang catalog if desiredlang is 12117 # a. equal to presentlang, or 12118 # b. a variant of presentlang (because in this case, 12119 # presentlang can be used as a fallback for messages 12120 # which are not translated in the desiredlang catalog). 12121 case "$desiredlang" in 12122 "$presentlang"*) useit=yes;; 12123 esac 12124 done 12125 if test $useit = yes; then 12126 INST_LINGUAS="$INST_LINGUAS $presentlang" 12127 fi 12128 done 12129 fi 12130 CATALOGS= 12131 if test -n "$INST_LINGUAS"; then 12132 for lang in $INST_LINGUAS; do 12133 CATALOGS="$CATALOGS $lang.gmo" 12134 done 12135 fi 12136 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 12137 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" 12138 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 12139 if test -f "$f"; then 12140 case "$f" in 12141 *.orig | *.bak | *~) ;; 12142 *) cat "$f" >> "$ac_dir/Makefile" ;; 12143 esac 12144 fi 12145 done 12146 fi 12147 ;; 12148 esac 12149 done ;; 12150 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 12151 # Strip MF so we end up with the name of the file. 12152 mf=`echo "$mf" | sed -e 's/:.*$//'` 12153 # Check whether this is an Automake generated Makefile or not. 12154 # We used to match only the files named `Makefile.in', but 12155 # some people rename them; so instead we look at the file content. 12156 # Grep'ing the first line is not enough: some people post-process 12157 # each Makefile.in and add a new line on top of each file to say so. 12158 # Grep'ing the whole file is not good either: AIX grep has a line 12159 # limit of 2048, but all sed's we know have understand at least 4000. 12160 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 12161 dirpart=`$as_dirname -- "$mf" || 12162$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12163 X"$mf" : 'X\(//\)[^/]' \| \ 12164 X"$mf" : 'X\(//\)$' \| \ 12165 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 12166echo X"$mf" | 12167 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12168 s//\1/ 12169 q 12170 } 12171 /^X\(\/\/\)[^/].*/{ 12172 s//\1/ 12173 q 12174 } 12175 /^X\(\/\/\)$/{ 12176 s//\1/ 12177 q 12178 } 12179 /^X\(\/\).*/{ 12180 s//\1/ 12181 q 12182 } 12183 s/.*/./; q'` 12184 else 12185 continue 12186 fi 12187 # Extract the definition of DEPDIR, am__include, and am__quote 12188 # from the Makefile without running `make'. 12189 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 12190 test -z "$DEPDIR" && continue 12191 am__include=`sed -n 's/^am__include = //p' < "$mf"` 12192 test -z "am__include" && continue 12193 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 12194 # When using ansi2knr, U may be empty or an underscore; expand it 12195 U=`sed -n 's/^U = //p' < "$mf"` 12196 # Find all dependency output files, they are included files with 12197 # $(DEPDIR) in their names. We invoke sed twice because it is the 12198 # simplest approach to changing $(DEPDIR) to its actual value in the 12199 # expansion. 12200 for file in `sed -n " 12201 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 12202 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 12203 # Make sure the directory exists. 12204 test -f "$dirpart/$file" && continue 12205 fdir=`$as_dirname -- "$file" || 12206$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12207 X"$file" : 'X\(//\)[^/]' \| \ 12208 X"$file" : 'X\(//\)$' \| \ 12209 X"$file" : 'X\(/\)' \| . 2>/dev/null || 12210echo X"$file" | 12211 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12212 s//\1/ 12213 q 12214 } 12215 /^X\(\/\/\)[^/].*/{ 12216 s//\1/ 12217 q 12218 } 12219 /^X\(\/\/\)$/{ 12220 s//\1/ 12221 q 12222 } 12223 /^X\(\/\).*/{ 12224 s//\1/ 12225 q 12226 } 12227 s/.*/./; q'` 12228 { as_dir=$dirpart/$fdir 12229 case $as_dir in #( 12230 -*) as_dir=./$as_dir;; 12231 esac 12232 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 12233 as_dirs= 12234 while :; do 12235 case $as_dir in #( 12236 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 12237 *) as_qdir=$as_dir;; 12238 esac 12239 as_dirs="'$as_qdir' $as_dirs" 12240 as_dir=`$as_dirname -- "$as_dir" || 12241$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12242 X"$as_dir" : 'X\(//\)[^/]' \| \ 12243 X"$as_dir" : 'X\(//\)$' \| \ 12244 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 12245echo X"$as_dir" | 12246 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12247 s//\1/ 12248 q 12249 } 12250 /^X\(\/\/\)[^/].*/{ 12251 s//\1/ 12252 q 12253 } 12254 /^X\(\/\/\)$/{ 12255 s//\1/ 12256 q 12257 } 12258 /^X\(\/\).*/{ 12259 s//\1/ 12260 q 12261 } 12262 s/.*/./; q'` 12263 test -d "$as_dir" && break 12264 done 12265 test -z "$as_dirs" || eval "mkdir $as_dirs" 12266 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 12267echo "$as_me: error: cannot create directory $as_dir" >&2;} 12268 { (exit 1); exit 1; }; }; } 12269 # echo "creating $dirpart/$file" 12270 echo '# dummy' > "$dirpart/$file" 12271 done 12272done 12273 ;; 12274 12275 esac 12276done # for ac_tag 12277 12278 12279{ (exit 0); exit 0; } 12280_ACEOF 12281chmod +x $CONFIG_STATUS 12282ac_clean_files=$ac_clean_files_save 12283 12284 12285# configure is writing to config.log, and then calls config.status. 12286# config.status does its own redirection, appending to config.log. 12287# Unfortunately, on DOS this fails, as config.log is still kept open 12288# by configure, so config.status won't be able to write to it; its 12289# output is simply discarded. So we exec the FD to /dev/null, 12290# effectively closing config.log, so it can be properly (re)opened and 12291# appended to by config.status. When coming back to configure, we 12292# need to make the FD available again. 12293if test "$no_create" != yes; then 12294 ac_cs_success=: 12295 ac_config_status_args= 12296 test "$silent" = yes && 12297 ac_config_status_args="$ac_config_status_args --quiet" 12298 exec 5>/dev/null 12299 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 12300 exec 5>>config.log 12301 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 12302 # would make configure fail if this is the last instruction. 12303 $ac_cs_success || { (exit 1); exit 1; } 12304fi 12305 12306 12307