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