Changeset 770
- Timestamp:
- Oct 13, 2006 5:57:42 PM (18 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 8 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r751 r770 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.59for pjproject 0.5.8.3 # Generated by Autoconf 2.52 for pjproject 0.5.8. 4 4 # 5 # Copyright (C) 2003 Free Software Foundation, Inc. 5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 6 # Free Software Foundation, Inc. 6 7 # This configure script is free software; the Free Software Foundation 7 8 # gives unlimited permission to copy, distribute and modify it. 8 ## --------------------- ## 9 ## M4sh Initialization. ## 10 ## --------------------- ## 11 12 # Be Bourne compatible 13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14 emulate sh 15 NULLCMD=: 16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 17 # is contrary to our usage. Disable this feature. 18 alias -g '${1+"$@"}'='"$@"' 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 24 # Support unset when possible. 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27 else 28 as_unset=false 29 fi 30 31 32 # Work around bugs in pre-3.0 UWIN ksh. 33 $as_unset ENV MAIL MAILPATH 34 PS1='$ ' 35 PS2='> ' 36 PS4='+ ' 37 38 # NLS nuisances. 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43 do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54 else 55 as_expr=false 56 fi 57 58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60 else 61 as_basename=false 62 fi 63 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 9 79 10 # Avoid depending upon Character Ranges. 80 11 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 84 15 as_cr_alnum=$as_cr_Letters$as_cr_digits 85 16 86 # The user is always right. 87 if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97 fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110 for as_dir in $PATH 111 do 112 IFS=$as_save_IFS 113 test -z "$as_dir" && as_dir=. 114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 132 do 133 IFS=$as_save_IFS 134 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 137 /*) 138 if ("$as_dir/$as_base" -c ' 139 as_lineno_1=$LINENO 140 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 142 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 155 156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 165 sed ' 166 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 170 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 173 ' >$as_me.lineno && 174 chmod +x $as_me.lineno || 175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 { (exit 1); exit 1; }; } 177 178 # Don't try to exec as it changes $[0], causing all sort of problems 179 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensible to this). 181 . ./$as_me.lineno 182 # Exit status is that of the last command. 183 exit 184 } 185 186 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 192 esac 17 # Sed expression to map a string onto a valid variable name. 18 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 19 20 # Sed expression to map a string onto a valid CPP name. 21 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 22 23 # Be Bourne compatible 24 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 25 emulate sh 26 NULLCMD=: 27 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 28 set -o posix 29 fi 30 31 # Name of the executable. 32 as_me=`echo "$0" |sed 's,.*[\\/],,'` 193 33 194 34 if expr a : '\(a\)' >/dev/null 2>&1; then … … 216 56 rm -f conf$$ conf$$.exe conf$$.file 217 57 218 if mkdir -p . 2>/dev/null; then219 as_mkdir_p=:220 else221 test -d ./-p && rmdir ./-p222 as_mkdir_p=false223 fi224 225 58 as_executable_p="test -f" 226 59 227 # Sed expression to map a string onto a valid CPP name. 228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 229 230 # Sed expression to map a string onto a valid variable name. 231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 232 60 # Support unset when possible. 61 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 62 as_unset=unset 63 else 64 as_unset=false 65 fi 66 67 # NLS nuisances. 68 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } 69 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } 70 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } 71 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } 72 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } 73 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } 74 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } 75 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } 233 76 234 77 # IFS … … 239 82 240 83 # CDPATH. 241 $as_unset CDPATH 242 84 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 243 85 244 86 # Name of the host. … … 253 95 # 254 96 ac_default_prefix=/usr/local 255 ac_config_libobj_dir=.256 97 cross_compiling=no 257 98 subdirs= 258 MFLAGS= 259 MAKEFLAGS= 99 MFLAGS= MAKEFLAGS= 260 100 SHELL=${CONFIG_SHELL-/bin/sh} 261 101 … … 264 104 # only ac_max_sed_lines should be used. 265 105 : ${ac_max_here_lines=38} 266 267 # Identity of this package.268 PACKAGE_NAME='pjproject'269 PACKAGE_TARNAME='pjproject'270 PACKAGE_VERSION='0.5.8'271 PACKAGE_STRING='pjproject 0.5.8'272 PACKAGE_BUGREPORT=''273 274 # Factoring default headers for most tests.275 ac_includes_default="\276 #include <stdio.h>277 #if HAVE_SYS_TYPES_H278 # include <sys/types.h>279 #endif280 #if HAVE_SYS_STAT_H281 # include <sys/stat.h>282 #endif283 #if STDC_HEADERS284 # include <stdlib.h>285 # include <stddef.h>286 #else287 # if HAVE_STDLIB_H288 # include <stdlib.h>289 # endif290 #endif291 #if HAVE_STRING_H292 # if !STDC_HEADERS && HAVE_MEMORY_H293 # include <memory.h>294 # endif295 # include <string.h>296 #endif297 #if HAVE_STRINGS_H298 # include <strings.h>299 #endif300 #if HAVE_INTTYPES_H301 # include <inttypes.h>302 #else303 # if HAVE_STDINT_H304 # include <stdint.h>305 # endif306 #endif307 #if HAVE_UNISTD_H308 # include <unistd.h>309 #endif"310 311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP EGREP ac_os_objs ac_pjmedia_snd ac_pa_use_alsa ac_no_small_filter ac_no_large_filter ac_no_g711_plc ac_no_speex_aec ac_no_g711_codec ac_no_l16_codec ac_no_gsm_codec ac_no_speex_codec ac_no_ilbc_codec ac_cross_compile ac_linux_poll ac_host ac_main_obj LIBOBJS LTLIBOBJS'312 ac_subst_files=''313 106 314 107 # Initialize some variables set by options. … … 350 143 mandir='${prefix}/man' 351 144 145 # Identity of this package. 146 PACKAGE_NAME='pjproject' 147 PACKAGE_TARNAME='pjproject' 148 PACKAGE_VERSION='0.5.8' 149 PACKAGE_STRING='pjproject 0.5.8' 150 PACKAGE_BUGREPORT='' 151 352 152 ac_prev= 353 153 for ac_option … … 482 282 483 283 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 484 | --no-cr | --no-c | -n)284 | --no-cr | --no-c) 485 285 no_create=yes ;; 486 286 … … 661 461 case $ac_val in 662 462 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 663 *) { echo "$as_me: error: expected an absolute directory namefor --$ac_var: $ac_val" >&2463 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 664 464 { (exit 1); exit 1; }; };; 665 465 esac … … 668 468 # Be sure to have absolute paths. 669 469 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 670 470 localstatedir libdir includedir oldincludedir infodir mandir 671 471 do 672 472 eval ac_val=$`echo $ac_var` 673 473 case $ac_val in 674 474 [\\/$]* | ?:[\\/]* ) ;; 675 *) { echo "$as_me: error: expected an absolute directory namefor --$ac_var: $ac_val" >&2475 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 676 476 { (exit 1); exit 1; }; };; 677 477 esac … … 680 480 # There might be people who depend on the old broken behavior: `$host' 681 481 # used to hold the argument of --host etc. 682 # FIXME: To remove some day.683 482 build=$build_alias 684 483 host=$host_alias 685 484 target=$target_alias 686 485 687 # FIXME: To remove some day.486 # FIXME: should be removed in autoconf 3.0. 688 487 if test "x$host_alias" != x; then 689 488 if test "x$build_alias" = x; then … … 701 500 test "$silent" = yes && exec 6>/dev/null 702 501 703 704 502 # Find the source files, if location was not specified. 705 503 if test -z "$srcdir"; then 706 504 ac_srcdir_defaulted=yes 707 505 # Try the directory containing this script, then its parent. 708 ac_confdir=`(dirname "$0") 2>/dev/null || 709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 710 X"$0" : 'X\(//\)[^/]' \| \ 711 X"$0" : 'X\(//\)$' \| \ 712 X"$0" : 'X\(/\)' \| \ 713 . : '\(.\)' 2>/dev/null || 714 echo X"$0" | 715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 716 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 717 /^X\(\/\/\)$/{ s//\1/; q; } 718 /^X\(\/\).*/{ s//\1/; q; } 719 s/.*/./; q'` 506 ac_prog=$0 507 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` 508 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. 720 509 srcdir=$ac_confdir 721 510 if test ! -r $srcdir/$ac_unique_file; then … … 727 516 if test ! -r $srcdir/$ac_unique_file; then 728 517 if test "$ac_srcdir_defaulted" = yes; then 729 { echo "$as_me: error: cannot find sources ($ac_unique_file)in $ac_confdir or .." >&2518 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2 730 519 { (exit 1); exit 1; }; } 731 520 else 732 { echo "$as_me: error: cannot find sources ($ac_unique_file)in $srcdir" >&2521 { echo "$as_me: error: cannot find sources in $srcdir" >&2 733 522 { (exit 1); exit 1; }; } 734 523 fi 735 524 fi 736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2738 { (exit 1); exit 1; }; }739 525 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 740 526 ac_env_build_alias_set=${build_alias+set} … … 785 571 # Omit some internal or obsolete options to make the list less imposing. 786 572 # This message is too long to be a string in the A/UX 3.1 sh. 787 cat << _ACEOF573 cat <<EOF 788 574 \`configure' configures pjproject 0.5.8 to adapt to many kinds of systems. 789 575 … … 806 592 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 807 593 808 _ACEOF809 810 cat << _ACEOF594 EOF 595 596 cat <<EOF 811 597 Installation directories: 812 598 --prefix=PREFIX install architecture-independent files in PREFIX 813 599 [$ac_default_prefix] 814 600 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 815 601 [PREFIX] 816 602 817 603 By default, \`make install' will install all the files in … … 835 621 --infodir=DIR info documentation [PREFIX/info] 836 622 --mandir=DIR man documentation [PREFIX/man] 837 _ACEOF838 839 cat <<\ _ACEOF623 EOF 624 625 cat <<\EOF 840 626 841 627 System types: 842 628 --build=BUILD configure for building on BUILD [guessed] 843 --host=HOST cross-compile tobuild programs to run on HOST [BUILD]629 --host=HOST build programs to run on HOST [BUILD] 844 630 --target=TARGET configure for building compilers for TARGET [HOST] 845 _ACEOF631 EOF 846 632 fi 847 633 … … 850 636 short | recursive ) echo "Configuration of pjproject 0.5.8:";; 851 637 esac 852 cat <<\ _ACEOF638 cat <<\EOF 853 639 854 640 Optional Features: … … 882 668 it to find libraries and programs with nonstandard names/locations. 883 669 884 _ACEOF670 EOF 885 671 fi 886 672 … … 888 674 # If there are subdirs, report their specific --help. 889 675 ac_popdir=`pwd` 890 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 891 test -d $ac_dir || continue 892 ac_builddir=. 893 894 if test "$ac_dir" != .; then 895 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 896 # A "../" for each directory in $ac_dir_suffix. 897 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 898 else 899 ac_dir_suffix= ac_top_builddir= 900 fi 901 902 case $srcdir in 903 .) # No --srcdir option. We are building in place. 904 ac_srcdir=. 905 if test -z "$ac_top_builddir"; then 906 ac_top_srcdir=. 907 else 908 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 909 fi ;; 910 [\\/]* | ?:[\\/]* ) # Absolute path. 911 ac_srcdir=$srcdir$ac_dir_suffix; 912 ac_top_srcdir=$srcdir ;; 913 *) # Relative path. 914 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 915 ac_top_srcdir=$ac_top_builddir$srcdir ;; 916 esac 917 918 # Do not use `cd foo && pwd` to compute absolute paths, because 919 # the directories may not exist. 920 case `pwd` in 921 .) ac_abs_builddir="$ac_dir";; 922 *) 923 case "$ac_dir" in 924 .) ac_abs_builddir=`pwd`;; 925 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 926 *) ac_abs_builddir=`pwd`/"$ac_dir";; 927 esac;; 928 esac 929 case $ac_abs_builddir in 930 .) ac_abs_top_builddir=${ac_top_builddir}.;; 931 *) 932 case ${ac_top_builddir}. in 933 .) ac_abs_top_builddir=$ac_abs_builddir;; 934 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 935 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 936 esac;; 937 esac 938 case $ac_abs_builddir in 939 .) ac_abs_srcdir=$ac_srcdir;; 940 *) 941 case $ac_srcdir in 942 .) ac_abs_srcdir=$ac_abs_builddir;; 943 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 944 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 945 esac;; 946 esac 947 case $ac_abs_builddir in 948 .) ac_abs_top_srcdir=$ac_top_srcdir;; 949 *) 950 case $ac_top_srcdir in 951 .) ac_abs_top_srcdir=$ac_abs_builddir;; 952 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 953 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 954 esac;; 955 esac 956 957 cd $ac_dir 676 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue 677 cd $ac_subdir 678 # A "../" for each directory in /$ac_subdir. 679 ac_dots=`echo $ac_subdir | 680 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` 681 682 case $srcdir in 683 .) # No --srcdir option. We are building in place. 684 ac_sub_srcdir=$srcdir ;; 685 [\\/]* | ?:[\\/]* ) # Absolute path. 686 ac_sub_srcdir=$srcdir/$ac_subdir ;; 687 *) # Relative path. 688 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; 689 esac 690 958 691 # Check for guested configure; otherwise get Cygnus style configure. 959 if test -f $ac_s rcdir/configure.gnu; then692 if test -f $ac_sub_srcdir/configure.gnu; then 960 693 echo 961 $SHELL $ac_s rcdir/configure.gnu --help=recursive962 elif test -f $ac_s rcdir/configure; then694 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive 695 elif test -f $ac_sub_srcdir/configure; then 963 696 echo 964 $SHELL $ac_s rcdir/configure --help=recursive965 elif test -f $ac_s rcdir/configure.ac ||966 test -f $ac_srcdir/configure.in; then697 $SHELL $ac_sub_srcdir/configure --help=recursive 698 elif test -f $ac_sub_srcdir/configure.ac || 699 test -f $ac_sub_srcdir/configure.in; then 967 700 echo 968 701 $ac_configure --help 969 702 else 970 echo "$as_me: WARNING: no configuration information is in $ac_ dir" >&2703 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2 971 704 fi 972 705 cd $ac_popdir … … 976 709 test -n "$ac_init_help" && exit 0 977 710 if $ac_init_version; then 978 cat <<\ _ACEOF711 cat <<\EOF 979 712 pjproject configure 0.5.8 980 generated by GNU Autoconf 2.59 981 982 Copyright (C) 2003 Free Software Foundation, Inc. 713 generated by GNU Autoconf 2.52 714 715 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 716 Free Software Foundation, Inc. 983 717 This configure script is free software; the Free Software Foundation 984 718 gives unlimited permission to copy, distribute and modify it. 985 _ACEOF719 EOF 986 720 exit 0 987 721 fi 988 722 exec 5>config.log 989 cat >&5 << _ACEOF723 cat >&5 <<EOF 990 724 This file contains any messages produced by compilers while 991 725 running configure, to aid debugging if configure makes a mistake. 992 726 993 727 It was created by pjproject $as_me 0.5.8, which was 994 generated by GNU Autoconf 2.5 9. Invocation command line was728 generated by GNU Autoconf 2.52. Invocation command line was 995 729 996 730 $ $0 $@ 997 731 998 _ACEOF732 EOF 999 733 { 1000 734 cat <<_ASUNAME 1001 ## --------- ##1002 ## Platform. ##1003 ## --------- ##735 ## ---------- ## 736 ## Platform. ## 737 ## ---------- ## 1004 738 1005 739 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` … … 1020 754 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1021 755 756 PATH = $PATH 757 1022 758 _ASUNAME 1023 1024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR1025 for as_dir in $PATH1026 do1027 IFS=$as_save_IFS1028 test -z "$as_dir" && as_dir=.1029 echo "PATH: $as_dir"1030 done1031 1032 759 } >&5 1033 760 1034 cat >&5 <<_ACEOF 1035 1036 1037 ## ----------- ## 1038 ## Core tests. ## 1039 ## ----------- ## 1040 1041 _ACEOF 1042 761 cat >&5 <<EOF 762 ## ------------ ## 763 ## Core tests. ## 764 ## ------------ ## 765 766 EOF 1043 767 1044 768 # Keep a trace of the command line. 1045 769 # Strip out --no-create and --no-recursion so they do not pile up. 1046 # Strip out --silent because we don't want to record it for future runs.1047 770 # Also quote any args containing shell meta-characters. 1048 # Make two passes to allow for proper duplicate-argument suppression.1049 771 ac_configure_args= 1050 ac_configure_args0=1051 ac_configure_args1=1052 772 ac_sep= 1053 ac_must_keep_next=false 1054 for ac_pass in 1 2 773 for ac_arg 1055 774 do 1056 for ac_arg 1057 do 1058 case $ac_arg in 1059 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1060 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1061 | -silent | --silent | --silen | --sile | --sil) 1062 continue ;; 1063 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1064 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1065 esac 1066 case $ac_pass in 1067 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1068 2) 1069 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1070 if test $ac_must_keep_next = true; then 1071 ac_must_keep_next=false # Got value, back to normal. 1072 else 1073 case $ac_arg in 1074 *=* | --config-cache | -C | -disable-* | --disable-* \ 1075 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1076 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1077 | -with-* | --with-* | -without-* | --without-* | --x) 1078 case "$ac_configure_args0 " in 1079 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1080 esac 1081 ;; 1082 -* ) ac_must_keep_next=true ;; 1083 esac 1084 fi 1085 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1086 # Get rid of the leading space. 1087 ac_sep=" " 1088 ;; 1089 esac 1090 done 775 case $ac_arg in 776 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 777 | --no-cr | --no-c) ;; 778 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 779 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; 780 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 781 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` 782 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 783 ac_sep=" " ;; 784 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" 785 ac_sep=" " ;; 786 esac 787 # Get rid of the leading space. 1091 788 done 1092 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }1093 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }1094 789 1095 790 # When interrupted or exit'd, cleanup temporary files, and complete 1096 791 # config.log. We remove comments because anyway the quotes in there 1097 792 # would cause problems or look ugly. 1098 # WARNING: Be sure not to use single quotes in there, as some shells,1099 # such as our DU 5.0 friend, will then `close' the trap.1100 793 trap 'exit_status=$? 1101 794 # Save into config.log some information that might help in debugging. 1102 { 1103 echo 1104 1105 cat <<\_ASBOX 1106 ## ---------------- ## 1107 ## Cache variables. ## 1108 ## ---------------- ## 1109 _ASBOX 1110 echo 1111 # The following way of writing the cache mishandles newlines in values, 795 echo >&5 796 echo "## ----------------- ##" >&5 797 echo "## Cache variables. ##" >&5 798 echo "## ----------------- ##" >&5 799 echo >&5 800 # The following way of writing the cache mishandles newlines in values, 1112 801 { 1113 802 (set) 2>&1 | … … 1115 804 *ac_space=\ *) 1116 805 sed -n \ 1117 1118 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"806 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 807 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1119 808 ;; 1120 809 *) 1121 810 sed -n \ 1122 811 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1123 812 ;; 1124 813 esac; 1125 } 1126 echo 1127 1128 cat <<\_ASBOX 1129 ## ----------------- ## 1130 ## Output variables. ## 1131 ## ----------------- ## 1132 _ASBOX 1133 echo 1134 for ac_var in $ac_subst_vars 1135 do 1136 eval ac_val=$`echo $ac_var` 1137 echo "$ac_var='"'"'$ac_val'"'"'" 1138 done | sort 1139 echo 1140 1141 if test -n "$ac_subst_files"; then 1142 cat <<\_ASBOX 1143 ## ------------- ## 1144 ## Output files. ## 1145 ## ------------- ## 1146 _ASBOX 1147 echo 1148 for ac_var in $ac_subst_files 1149 do 1150 eval ac_val=$`echo $ac_var` 1151 echo "$ac_var='"'"'$ac_val'"'"'" 1152 done | sort 1153 echo 1154 fi 1155 1156 if test -s confdefs.h; then 1157 cat <<\_ASBOX 1158 ## ----------- ## 1159 ## confdefs.h. ## 1160 ## ----------- ## 1161 _ASBOX 1162 echo 1163 sed "/^$/d" confdefs.h | sort 1164 echo 1165 fi 1166 test "$ac_signal" != 0 && 1167 echo "$as_me: caught signal $ac_signal" 1168 echo "$as_me: exit $exit_status" 1169 } >&5 1170 rm -f core *.core && 1171 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 814 } >&5 815 sed "/^$/d" confdefs.h >conftest.log 816 if test -s conftest.log; then 817 echo >&5 818 echo "## ------------ ##" >&5 819 echo "## confdefs.h. ##" >&5 820 echo "## ------------ ##" >&5 821 echo >&5 822 cat conftest.log >&5 823 fi 824 (echo; echo) >&5 825 test "$ac_signal" != 0 && 826 echo "$as_me: caught signal $ac_signal" >&5 827 echo "$as_me: exit $exit_status" >&5 828 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && 1172 829 exit $exit_status 1173 830 ' 0 … … 1181 838 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1182 839 echo >confdefs.h 1183 1184 # Predefined preprocessor variables.1185 1186 cat >>confdefs.h <<_ACEOF1187 #define PACKAGE_NAME "$PACKAGE_NAME"1188 _ACEOF1189 1190 1191 cat >>confdefs.h <<_ACEOF1192 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"1193 _ACEOF1194 1195 1196 cat >>confdefs.h <<_ACEOF1197 #define PACKAGE_VERSION "$PACKAGE_VERSION"1198 _ACEOF1199 1200 1201 cat >>confdefs.h <<_ACEOF1202 #define PACKAGE_STRING "$PACKAGE_STRING"1203 _ACEOF1204 1205 1206 cat >>confdefs.h <<_ACEOF1207 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"1208 _ACEOF1209 1210 840 1211 841 # Let the site file select an alternate cache file if it wants to. … … 1220 850 for ac_site_file in $CONFIG_SITE; do 1221 851 if test -r "$ac_site_file"; then 1222 { echo "$as_me: $LINENO: loading site script $ac_site_file" >&5852 { echo "$as_me:852: loading site script $ac_site_file" >&5 1223 853 echo "$as_me: loading site script $ac_site_file" >&6;} 1224 sed 's/^/| /'"$ac_site_file" >&5854 cat "$ac_site_file" >&5 1225 855 . "$ac_site_file" 1226 856 fi … … 1231 861 # files actually), so we avoid doing that. 1232 862 if test -f "$cache_file"; then 1233 { echo "$as_me: $LINENO: loading cache $cache_file" >&5863 { echo "$as_me:863: loading cache $cache_file" >&5 1234 864 echo "$as_me: loading cache $cache_file" >&6;} 1235 865 case $cache_file in … … 1239 869 fi 1240 870 else 1241 { echo "$as_me: $LINENO: creating cache $cache_file" >&5871 { echo "$as_me:871: creating cache $cache_file" >&5 1242 872 echo "$as_me: creating cache $cache_file" >&6;} 1243 873 >$cache_file … … 1248 878 ac_cache_corrupted=false 1249 879 for ac_var in `(set) 2>&1 | 1250 880 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1251 881 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1252 882 eval ac_new_set=\$ac_env_${ac_var}_set … … 1255 885 case $ac_old_set,$ac_new_set in 1256 886 set,) 1257 { echo "$as_me: $LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5887 { echo "$as_me:887: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1258 888 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1259 889 ac_cache_corrupted=: ;; 1260 890 ,set) 1261 { echo "$as_me: $LINENO: error: \`$ac_var' was not set in the previous run" >&5891 { echo "$as_me:891: error: \`$ac_var' was not set in the previous run" >&5 1262 892 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1263 893 ac_cache_corrupted=: ;; … … 1265 895 *) 1266 896 if test "x$ac_old_val" != "x$ac_new_val"; then 1267 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5897 { echo "$as_me:897: error: \`$ac_var' has changed since the previous run:" >&5 1268 898 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1269 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5899 { echo "$as_me:899: former value: $ac_old_val" >&5 1270 900 echo "$as_me: former value: $ac_old_val" >&2;} 1271 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5901 { echo "$as_me:901: current value: $ac_new_val" >&5 1272 902 echo "$as_me: current value: $ac_new_val" >&2;} 1273 903 ac_cache_corrupted=: 1274 904 fi;; 1275 905 esac 1276 # Pass precious variables to config.status. 906 # Pass precious variables to config.status. It doesn't matter if 907 # we pass some twice (in addition to the command line arguments). 1277 908 if test "$ac_new_set" = set; then 1278 909 case $ac_new_val in 1279 910 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1280 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1281 *) ac_arg=$ac_var=$ac_new_val ;; 1282 esac 1283 case " $ac_configure_args " in 1284 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1285 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 911 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` 912 ac_configure_args="$ac_configure_args '$ac_arg'" 913 ;; 914 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val" 915 ;; 1286 916 esac 1287 917 fi 1288 918 done 1289 919 if $ac_cache_corrupted; then 1290 { echo "$as_me: $LINENO: error: changes in the environment can compromise the build" >&5920 { echo "$as_me:920: error: changes in the environment can compromise the build" >&5 1291 921 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1292 { { echo "$as_me: $LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5922 { { echo "$as_me:922: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1293 923 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1294 924 { (exit 1); exit 1; }; } … … 1301 931 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1302 932 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 933 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 934 *c*,-n*) ECHO_N= ECHO_C=' 935 ' ECHO_T=' ' ;; 936 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 937 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 938 esac 939 echo "#! $SHELL" >conftest.sh 940 echo "exit 0" >>conftest.sh 941 chmod +x conftest.sh 942 if { (echo "$as_me:942: PATH=\".;.\"; conftest.sh") >&5 943 (PATH=".;."; conftest.sh) 2>&5 944 ac_status=$? 945 echo "$as_me:945: \$? = $ac_status" >&5 946 (exit $ac_status); }; then 947 ac_path_separator=';' 948 else 949 ac_path_separator=: 950 fi 951 PATH_SEPARATOR="$ac_path_separator" 952 rm -f conftest.sh 1329 953 1330 954 host_orig="$host" … … 1347 971 done 1348 972 if test -z "$ac_aux_dir"; then 1349 { { echo "$as_me: $LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5973 { { echo "$as_me:973: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1350 974 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1351 975 { (exit 1); exit 1; }; } … … 1357 981 # Make sure we can run config.sub. 1358 982 $ac_config_sub sun4 >/dev/null 2>&1 || 1359 { { echo "$as_me: $LINENO: error: cannot run $ac_config_sub" >&5983 { { echo "$as_me:983: error: cannot run $ac_config_sub" >&5 1360 984 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1361 985 { (exit 1); exit 1; }; } 1362 986 1363 echo "$as_me: $LINENO: checking build system type" >&5987 echo "$as_me:987: checking build system type" >&5 1364 988 echo $ECHO_N "checking build system type... $ECHO_C" >&6 1365 989 if test "${ac_cv_build+set}" = set; then … … 1370 994 ac_cv_build_alias=`$ac_config_guess` 1371 995 test -z "$ac_cv_build_alias" && 1372 { { echo "$as_me: $LINENO: error: cannot guess build type; you must specify one" >&5996 { { echo "$as_me:996: error: cannot guess build type; you must specify one" >&5 1373 997 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1374 998 { (exit 1); exit 1; }; } 1375 999 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 1376 { { echo "$as_me: $LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&51377 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed " >&2;}1000 { { echo "$as_me:1000: error: $ac_config_sub $ac_cv_build_alias failed." >&5 1001 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} 1378 1002 { (exit 1); exit 1; }; } 1379 1003 1380 1004 fi 1381 echo "$as_me: $LINENO: result: $ac_cv_build" >&51005 echo "$as_me:1005: result: $ac_cv_build" >&5 1382 1006 echo "${ECHO_T}$ac_cv_build" >&6 1383 1007 build=$ac_cv_build … … 1386 1010 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1387 1011 1388 1389 echo "$as_me:$LINENO: checking host system type" >&5 1012 echo "$as_me:1012: checking host system type" >&5 1390 1013 echo $ECHO_N "checking host system type... $ECHO_C" >&6 1391 1014 if test "${ac_cv_host+set}" = set; then … … 1396 1019 ac_cv_host_alias=$ac_cv_build_alias 1397 1020 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1398 { { echo "$as_me: $LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&51021 { { echo "$as_me:1021: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1399 1022 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1400 1023 { (exit 1); exit 1; }; } 1401 1024 1402 1025 fi 1403 echo "$as_me: $LINENO: result: $ac_cv_host" >&51026 echo "$as_me:1026: result: $ac_cv_host" >&5 1404 1027 echo "${ECHO_T}$ac_cv_host" >&6 1405 1028 host=$ac_cv_host … … 1408 1031 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1409 1032 1410 1411 echo "$as_me:$LINENO: checking target system type" >&5 1033 echo "$as_me:1033: checking target system type" >&5 1412 1034 echo $ECHO_N "checking target system type... $ECHO_C" >&6 1413 1035 if test "${ac_cv_target+set}" = set; then … … 1418 1040 ac_cv_target_alias=$ac_cv_host_alias 1419 1041 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 1420 { { echo "$as_me: $LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&51042 { { echo "$as_me:1042: error: $ac_config_sub $ac_cv_target_alias failed" >&5 1421 1043 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 1422 1044 { (exit 1); exit 1; }; } 1423 1045 1424 1046 fi 1425 echo "$as_me: $LINENO: result: $ac_cv_target" >&51047 echo "$as_me:1047: result: $ac_cv_target" >&5 1426 1048 echo "${ECHO_T}$ac_cv_target" >&6 1427 1049 target=$ac_cv_target … … 1429 1051 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1430 1052 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1431 1432 1053 1433 1054 # The aliases save the names the user supplied, while $host etc. … … 1437 1058 NONENONEs,x,x, && 1438 1059 program_prefix=${target_alias}- 1439 ac_config_headers="$ac_config_headers pjlib/include/pj/compat/os_auto.h pjlib/include/pj/compat/m_auto.h" 1440 1441 ac_config_files="$ac_config_files build.mak build/os-auto.mak pjlib/build/os-auto.mak pjlib-util/build/os-auto.mak pjmedia/build/os-auto.mak pjsip/build/os-auto.mak" 1442 1060 ac_config_headers="$ac_config_headers pjlib/include/pj/compat/os_auto.h pjlib/include/pj/compat/m_auto.h" 1061 1062 ac_config_files="$ac_config_files build.mak build/os-auto.mak pjlib/build/os-auto.mak pjlib-util/build/os-auto.mak pjmedia/build/os-auto.mak pjsip/build/os-auto.mak" 1443 1063 1444 1064 if test "$CFLAGS" = ""; then … … 1458 1078 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1459 1079 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1460 echo "$as_me: $LINENO: checking for $ac_word" >&51080 echo "$as_me:1080: checking for $ac_word" >&5 1461 1081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1462 1082 if test "${ac_cv_prog_CC+set}" = set; then … … 1466 1086 ac_cv_prog_CC="$CC" # Let the user override the test. 1467 1087 else 1468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1469 for as_dir in $PATH 1470 do 1471 IFS=$as_save_IFS 1472 test -z "$as_dir" && as_dir=. 1473 for ac_exec_ext in '' $ac_executable_extensions; do 1474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1475 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1477 break 2 1478 fi 1479 done 1088 ac_save_IFS=$IFS; IFS=$ac_path_separator 1089 ac_dummy="$PATH" 1090 for ac_dir in $ac_dummy; do 1091 IFS=$ac_save_IFS 1092 test -z "$ac_dir" && ac_dir=. 1093 $as_executable_p "$ac_dir/$ac_word" || continue 1094 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1095 echo "$as_me:1095: found $ac_dir/$ac_word" >&5 1096 break 1480 1097 done 1481 1098 … … 1484 1101 CC=$ac_cv_prog_CC 1485 1102 if test -n "$CC"; then 1486 echo "$as_me: $LINENO: result: $CC" >&51103 echo "$as_me:1103: result: $CC" >&5 1487 1104 echo "${ECHO_T}$CC" >&6 1488 1105 else 1489 echo "$as_me: $LINENO: result: no" >&51106 echo "$as_me:1106: result: no" >&5 1490 1107 echo "${ECHO_T}no" >&6 1491 1108 fi … … 1496 1113 # Extract the first word of "gcc", so it can be a program name with args. 1497 1114 set dummy gcc; ac_word=$2 1498 echo "$as_me: $LINENO: checking for $ac_word" >&51115 echo "$as_me:1115: checking for $ac_word" >&5 1499 1116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1500 1117 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then … … 1504 1121 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1505 1122 else 1506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1507 for as_dir in $PATH 1508 do 1509 IFS=$as_save_IFS 1510 test -z "$as_dir" && as_dir=. 1511 for ac_exec_ext in '' $ac_executable_extensions; do 1512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1513 ac_cv_prog_ac_ct_CC="gcc" 1514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1515 break 2 1516 fi 1517 done 1123 ac_save_IFS=$IFS; IFS=$ac_path_separator 1124 ac_dummy="$PATH" 1125 for ac_dir in $ac_dummy; do 1126 IFS=$ac_save_IFS 1127 test -z "$ac_dir" && ac_dir=. 1128 $as_executable_p "$ac_dir/$ac_word" || continue 1129 ac_cv_prog_ac_ct_CC="gcc" 1130 echo "$as_me:1130: found $ac_dir/$ac_word" >&5 1131 break 1518 1132 done 1519 1133 … … 1522 1136 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1523 1137 if test -n "$ac_ct_CC"; then 1524 echo "$as_me: $LINENO: result: $ac_ct_CC" >&51138 echo "$as_me:1138: result: $ac_ct_CC" >&5 1525 1139 echo "${ECHO_T}$ac_ct_CC" >&6 1526 1140 else 1527 echo "$as_me: $LINENO: result: no" >&51141 echo "$as_me:1141: result: no" >&5 1528 1142 echo "${ECHO_T}no" >&6 1529 1143 fi … … 1538 1152 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1539 1153 set dummy ${ac_tool_prefix}cc; ac_word=$2 1540 echo "$as_me: $LINENO: checking for $ac_word" >&51154 echo "$as_me:1154: checking for $ac_word" >&5 1541 1155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1542 1156 if test "${ac_cv_prog_CC+set}" = set; then … … 1546 1160 ac_cv_prog_CC="$CC" # Let the user override the test. 1547 1161 else 1548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1549 for as_dir in $PATH 1550 do 1551 IFS=$as_save_IFS 1552 test -z "$as_dir" && as_dir=. 1553 for ac_exec_ext in '' $ac_executable_extensions; do 1554 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1555 ac_cv_prog_CC="${ac_tool_prefix}cc" 1556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1557 break 2 1558 fi 1559 done 1162 ac_save_IFS=$IFS; IFS=$ac_path_separator 1163 ac_dummy="$PATH" 1164 for ac_dir in $ac_dummy; do 1165 IFS=$ac_save_IFS 1166 test -z "$ac_dir" && ac_dir=. 1167 $as_executable_p "$ac_dir/$ac_word" || continue 1168 ac_cv_prog_CC="${ac_tool_prefix}cc" 1169 echo "$as_me:1169: found $ac_dir/$ac_word" >&5 1170 break 1560 1171 done 1561 1172 … … 1564 1175 CC=$ac_cv_prog_CC 1565 1176 if test -n "$CC"; then 1566 echo "$as_me: $LINENO: result: $CC" >&51177 echo "$as_me:1177: result: $CC" >&5 1567 1178 echo "${ECHO_T}$CC" >&6 1568 1179 else 1569 echo "$as_me: $LINENO: result: no" >&51180 echo "$as_me:1180: result: no" >&5 1570 1181 echo "${ECHO_T}no" >&6 1571 1182 fi … … 1576 1187 # Extract the first word of "cc", so it can be a program name with args. 1577 1188 set dummy cc; ac_word=$2 1578 echo "$as_me: $LINENO: checking for $ac_word" >&51189 echo "$as_me:1189: checking for $ac_word" >&5 1579 1190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1580 1191 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then … … 1584 1195 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1585 1196 else 1586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1587 for as_dir in $PATH 1588 do 1589 IFS=$as_save_IFS 1590 test -z "$as_dir" && as_dir=. 1591 for ac_exec_ext in '' $ac_executable_extensions; do 1592 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1593 ac_cv_prog_ac_ct_CC="cc" 1594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1595 break 2 1596 fi 1597 done 1197 ac_save_IFS=$IFS; IFS=$ac_path_separator 1198 ac_dummy="$PATH" 1199 for ac_dir in $ac_dummy; do 1200 IFS=$ac_save_IFS 1201 test -z "$ac_dir" && ac_dir=. 1202 $as_executable_p "$ac_dir/$ac_word" || continue 1203 ac_cv_prog_ac_ct_CC="cc" 1204 echo "$as_me:1204: found $ac_dir/$ac_word" >&5 1205 break 1598 1206 done 1599 1207 … … 1602 1210 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1603 1211 if test -n "$ac_ct_CC"; then 1604 echo "$as_me: $LINENO: result: $ac_ct_CC" >&51212 echo "$as_me:1212: result: $ac_ct_CC" >&5 1605 1213 echo "${ECHO_T}$ac_ct_CC" >&6 1606 1214 else 1607 echo "$as_me: $LINENO: result: no" >&51215 echo "$as_me:1215: result: no" >&5 1608 1216 echo "${ECHO_T}no" >&6 1609 1217 fi … … 1618 1226 # Extract the first word of "cc", so it can be a program name with args. 1619 1227 set dummy cc; ac_word=$2 1620 echo "$as_me: $LINENO: checking for $ac_word" >&51228 echo "$as_me:1228: checking for $ac_word" >&5 1621 1229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1622 1230 if test "${ac_cv_prog_CC+set}" = set; then … … 1627 1235 else 1628 1236 ac_prog_rejected=no 1629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1630 for as_dir in $PATH 1631 do 1632 IFS=$as_save_IFS 1633 test -z "$as_dir" && as_dir=. 1634 for ac_exec_ext in '' $ac_executable_extensions; do 1635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1636 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1637 ac_prog_rejected=yes 1638 continue 1639 fi 1640 ac_cv_prog_CC="cc" 1641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1642 break 2 1643 fi 1644 done 1237 ac_save_IFS=$IFS; IFS=$ac_path_separator 1238 ac_dummy="$PATH" 1239 for ac_dir in $ac_dummy; do 1240 IFS=$ac_save_IFS 1241 test -z "$ac_dir" && ac_dir=. 1242 $as_executable_p "$ac_dir/$ac_word" || continue 1243 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 1244 ac_prog_rejected=yes 1245 continue 1246 fi 1247 ac_cv_prog_CC="cc" 1248 echo "$as_me:1248: found $ac_dir/$ac_word" >&5 1249 break 1645 1250 done 1646 1251 … … 1654 1259 # first if we set CC to just the basename; use the full file name. 1655 1260 shift 1656 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 1261 set dummy "$ac_dir/$ac_word" ${1+"$@"} 1262 shift 1263 ac_cv_prog_CC="$@" 1657 1264 fi 1658 1265 fi … … 1661 1268 CC=$ac_cv_prog_CC 1662 1269 if test -n "$CC"; then 1663 echo "$as_me: $LINENO: result: $CC" >&51270 echo "$as_me:1270: result: $CC" >&5 1664 1271 echo "${ECHO_T}$CC" >&6 1665 1272 else 1666 echo "$as_me: $LINENO: result: no" >&51273 echo "$as_me:1273: result: no" >&5 1667 1274 echo "${ECHO_T}no" >&6 1668 1275 fi … … 1675 1282 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1676 1283 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1677 echo "$as_me: $LINENO: checking for $ac_word" >&51284 echo "$as_me:1284: checking for $ac_word" >&5 1678 1285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1679 1286 if test "${ac_cv_prog_CC+set}" = set; then … … 1683 1290 ac_cv_prog_CC="$CC" # Let the user override the test. 1684 1291 else 1685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1686 for as_dir in $PATH 1687 do 1688 IFS=$as_save_IFS 1689 test -z "$as_dir" && as_dir=. 1690 for ac_exec_ext in '' $ac_executable_extensions; do 1691 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1692 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1694 break 2 1695 fi 1696 done 1292 ac_save_IFS=$IFS; IFS=$ac_path_separator 1293 ac_dummy="$PATH" 1294 for ac_dir in $ac_dummy; do 1295 IFS=$ac_save_IFS 1296 test -z "$ac_dir" && ac_dir=. 1297 $as_executable_p "$ac_dir/$ac_word" || continue 1298 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1299 echo "$as_me:1299: found $ac_dir/$ac_word" >&5 1300 break 1697 1301 done 1698 1302 … … 1701 1305 CC=$ac_cv_prog_CC 1702 1306 if test -n "$CC"; then 1703 echo "$as_me: $LINENO: result: $CC" >&51307 echo "$as_me:1307: result: $CC" >&5 1704 1308 echo "${ECHO_T}$CC" >&6 1705 1309 else 1706 echo "$as_me: $LINENO: result: no" >&51310 echo "$as_me:1310: result: no" >&5 1707 1311 echo "${ECHO_T}no" >&6 1708 1312 fi … … 1717 1321 # Extract the first word of "$ac_prog", so it can be a program name with args. 1718 1322 set dummy $ac_prog; ac_word=$2 1719 echo "$as_me: $LINENO: checking for $ac_word" >&51323 echo "$as_me:1323: checking for $ac_word" >&5 1720 1324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1721 1325 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then … … 1725 1329 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1726 1330 else 1727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1728 for as_dir in $PATH 1729 do 1730 IFS=$as_save_IFS 1731 test -z "$as_dir" && as_dir=. 1732 for ac_exec_ext in '' $ac_executable_extensions; do 1733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1734 ac_cv_prog_ac_ct_CC="$ac_prog" 1735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1736 break 2 1737 fi 1738 done 1331 ac_save_IFS=$IFS; IFS=$ac_path_separator 1332 ac_dummy="$PATH" 1333 for ac_dir in $ac_dummy; do 1334 IFS=$ac_save_IFS 1335 test -z "$ac_dir" && ac_dir=. 1336 $as_executable_p "$ac_dir/$ac_word" || continue 1337 ac_cv_prog_ac_ct_CC="$ac_prog" 1338 echo "$as_me:1338: found $ac_dir/$ac_word" >&5 1339 break 1739 1340 done 1740 1341 … … 1743 1344 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1744 1345 if test -n "$ac_ct_CC"; then 1745 echo "$as_me: $LINENO: result: $ac_ct_CC" >&51346 echo "$as_me:1346: result: $ac_ct_CC" >&5 1746 1347 echo "${ECHO_T}$ac_ct_CC" >&6 1747 1348 else 1748 echo "$as_me: $LINENO: result: no" >&51349 echo "$as_me:1349: result: no" >&5 1749 1350 echo "${ECHO_T}no" >&6 1750 1351 fi … … 1758 1359 fi 1759 1360 1760 1761 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1762 See \`config.log' for more details." >&5 1763 echo "$as_me: error: no acceptable C compiler found in \$PATH 1764 See \`config.log' for more details." >&2;} 1361 test -z "$CC" && { { echo "$as_me:1361: error: no acceptable cc found in \$PATH" >&5 1362 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} 1765 1363 { (exit 1); exit 1; }; } 1766 1364 1767 1365 # Provide some information about the compiler. 1768 echo "$as_me: $LINENO:" \1366 echo "$as_me:1366:" \ 1769 1367 "checking for C compiler version" >&5 1770 1368 ac_compiler=`set X $ac_compile; echo $2` 1771 { (eval echo "$as_me: $LINENO: \"$ac_compiler --version </dev/null >&5\"") >&51369 { (eval echo "$as_me:1369: \"$ac_compiler --version </dev/null >&5\"") >&5 1772 1370 (eval $ac_compiler --version </dev/null >&5) 2>&5 1773 1371 ac_status=$? 1774 echo "$as_me: $LINENO: \$? = $ac_status" >&51372 echo "$as_me:1372: \$? = $ac_status" >&5 1775 1373 (exit $ac_status); } 1776 { (eval echo "$as_me: $LINENO: \"$ac_compiler -v </dev/null >&5\"") >&51374 { (eval echo "$as_me:1374: \"$ac_compiler -v </dev/null >&5\"") >&5 1777 1375 (eval $ac_compiler -v </dev/null >&5) 2>&5 1778 1376 ac_status=$? 1779 echo "$as_me: $LINENO: \$? = $ac_status" >&51377 echo "$as_me:1377: \$? = $ac_status" >&5 1780 1378 (exit $ac_status); } 1781 { (eval echo "$as_me: $LINENO: \"$ac_compiler -V </dev/null >&5\"") >&51379 { (eval echo "$as_me:1379: \"$ac_compiler -V </dev/null >&5\"") >&5 1782 1380 (eval $ac_compiler -V </dev/null >&5) 2>&5 1783 1381 ac_status=$? 1784 echo "$as_me: $LINENO: \$? = $ac_status" >&51382 echo "$as_me:1382: \$? = $ac_status" >&5 1785 1383 (exit $ac_status); } 1786 1384 1787 1385 cat >conftest.$ac_ext <<_ACEOF 1788 /* confdefs.h. */ 1789 _ACEOF 1790 cat confdefs.h >>conftest.$ac_ext 1791 cat >>conftest.$ac_ext <<_ACEOF 1792 /* end confdefs.h. */ 1386 #line 1386 "configure" 1387 #include "confdefs.h" 1793 1388 1794 1389 int … … 1801 1396 _ACEOF 1802 1397 ac_clean_files_save=$ac_clean_files 1803 ac_clean_files="$ac_clean_files a.out a.exe b.out"1398 ac_clean_files="$ac_clean_files a.out a.exe" 1804 1399 # Try to create an executable without -o first, disregard a.out. 1805 1400 # It will help us diagnose broken compilers, and finding out an intuition 1806 1401 # of exeext. 1807 echo "$as_me: $LINENO: checking for C compiler default output file name" >&51808 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&61402 echo "$as_me:1402: checking for C compiler default output" >&5 1403 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 1809 1404 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1810 if { (eval echo "$as_me: $LINENO: \"$ac_link_default\"") >&51405 if { (eval echo "$as_me:1405: \"$ac_link_default\"") >&5 1811 1406 (eval $ac_link_default) 2>&5 1812 1407 ac_status=$? 1813 echo "$as_me: $LINENO: \$? = $ac_status" >&51408 echo "$as_me:1408: \$? = $ac_status" >&5 1814 1409 (exit $ac_status); }; then 1815 1410 # Find the output, starting from the most likely. This scheme is 1816 1411 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1817 1412 # resort. 1818 1819 # Be careful to initialize this variable, since it used to be cached. 1820 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1821 ac_cv_exeext= 1822 # b.out is created by i960 compilers. 1823 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 1824 do 1825 test -f "$ac_file" || continue 1413 for ac_file in `ls a.exe conftest.exe 2>/dev/null; 1414 ls a.out conftest 2>/dev/null; 1415 ls a.* conftest.* 2>/dev/null`; do 1826 1416 case $ac_file in 1827 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1828 ;; 1829 conftest.$ac_ext ) 1830 # This is the source file. 1831 ;; 1832 [ab].out ) 1833 # We found the default executable, but exeext='' is most 1834 # certainly right. 1835 break;; 1836 *.* ) 1837 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1838 # FIXME: I believe we export ac_cv_exeext for Libtool, 1839 # but it would be cool to find out if it's true. Does anybody 1840 # maintain Libtool? --akim. 1841 export ac_cv_exeext 1842 break;; 1843 * ) 1844 break;; 1417 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 1418 a.out ) # We found the default executable, but exeext='' is most 1419 # certainly right. 1420 break;; 1421 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1422 # FIXME: I believe we export ac_cv_exeext for Libtool --akim. 1423 export ac_cv_exeext 1424 break;; 1425 * ) break;; 1845 1426 esac 1846 1427 done 1847 1428 else 1848 1429 echo "$as_me: failed program was:" >&5 1849 sed 's/^/| /' conftest.$ac_ext >&5 1850 1851 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 1852 See \`config.log' for more details." >&5 1853 echo "$as_me: error: C compiler cannot create executables 1854 See \`config.log' for more details." >&2;} 1430 cat conftest.$ac_ext >&5 1431 { { echo "$as_me:1431: error: C compiler cannot create executables" >&5 1432 echo "$as_me: error: C compiler cannot create executables" >&2;} 1855 1433 { (exit 77); exit 77; }; } 1856 1434 fi 1857 1435 1858 1436 ac_exeext=$ac_cv_exeext 1859 echo "$as_me: $LINENO: result: $ac_file" >&51437 echo "$as_me:1437: result: $ac_file" >&5 1860 1438 echo "${ECHO_T}$ac_file" >&6 1861 1439 1862 1440 # Check the compiler produces executables we can run. If not, either 1863 1441 # the compiler is broken, or we cross compile. 1864 echo "$as_me: $LINENO: checking whether the C compiler works" >&51442 echo "$as_me:1442: checking whether the C compiler works" >&5 1865 1443 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 1866 1444 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 … … 1868 1446 if test "$cross_compiling" != yes; then 1869 1447 if { ac_try='./$ac_file' 1870 { (eval echo "$as_me: $LINENO: \"$ac_try\"") >&51448 { (eval echo "$as_me:1448: \"$ac_try\"") >&5 1871 1449 (eval $ac_try) 2>&5 1872 1450 ac_status=$? 1873 echo "$as_me: $LINENO: \$? = $ac_status" >&51451 echo "$as_me:1451: \$? = $ac_status" >&5 1874 1452 (exit $ac_status); }; }; then 1875 1453 cross_compiling=no … … 1878 1456 cross_compiling=yes 1879 1457 else 1880 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 1881 If you meant to cross compile, use \`--host'. 1882 See \`config.log' for more details." >&5 1458 { { echo "$as_me:1458: error: cannot run C compiled programs. 1459 If you meant to cross compile, use \`--host'." >&5 1883 1460 echo "$as_me: error: cannot run C compiled programs. 1884 If you meant to cross compile, use \`--host'. 1885 See \`config.log' for more details." >&2;} 1461 If you meant to cross compile, use \`--host'." >&2;} 1886 1462 { (exit 1); exit 1; }; } 1887 1463 fi 1888 1464 fi 1889 1465 fi 1890 echo "$as_me: $LINENO: result: yes" >&51466 echo "$as_me:1466: result: yes" >&5 1891 1467 echo "${ECHO_T}yes" >&6 1892 1468 1893 rm -f a.out a.exe conftest$ac_cv_exeext b.out1469 rm -f a.out a.exe conftest$ac_cv_exeext 1894 1470 ac_clean_files=$ac_clean_files_save 1895 1471 # Check the compiler produces executables we can run. If not, either 1896 1472 # the compiler is broken, or we cross compile. 1897 echo "$as_me: $LINENO: checking whether we are cross compiling" >&51473 echo "$as_me:1473: checking whether we are cross compiling" >&5 1898 1474 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1899 echo "$as_me: $LINENO: result: $cross_compiling" >&51475 echo "$as_me:1475: result: $cross_compiling" >&5 1900 1476 echo "${ECHO_T}$cross_compiling" >&6 1901 1477 1902 echo "$as_me: $LINENO: checking for suffix of executables" >&51903 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&61904 if { (eval echo "$as_me: $LINENO: \"$ac_link\"") >&51478 echo "$as_me:1478: checking for executable suffix" >&5 1479 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 1480 if { (eval echo "$as_me:1480: \"$ac_link\"") >&5 1905 1481 (eval $ac_link) 2>&5 1906 1482 ac_status=$? 1907 echo "$as_me: $LINENO: \$? = $ac_status" >&51483 echo "$as_me:1483: \$? = $ac_status" >&5 1908 1484 (exit $ac_status); }; then 1909 1485 # If both `conftest.exe' and `conftest' are `present' (well, observable) … … 1911 1487 # work properly (i.e., refer to `conftest.exe'), while it won't with 1912 1488 # `rm'. 1913 for ac_file in conftest.exe conftest conftest.*; do 1914 test -f "$ac_file" || continue 1489 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do 1915 1490 case $ac_file in 1916 *.$ac_ext | *. xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj) ;;1491 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 1917 1492 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1918 1919 1493 export ac_cv_exeext 1494 break;; 1920 1495 * ) break;; 1921 1496 esac 1922 1497 done 1923 1498 else 1924 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 1925 See \`config.log' for more details." >&5 1926 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 1927 See \`config.log' for more details." >&2;} 1499 { { echo "$as_me:1499: error: cannot compute EXEEXT: cannot compile and link" >&5 1500 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} 1928 1501 { (exit 1); exit 1; }; } 1929 1502 fi 1930 1503 1931 1504 rm -f conftest$ac_cv_exeext 1932 echo "$as_me: $LINENO: result: $ac_cv_exeext" >&51505 echo "$as_me:1505: result: $ac_cv_exeext" >&5 1933 1506 echo "${ECHO_T}$ac_cv_exeext" >&6 1934 1507 … … 1936 1509 EXEEXT=$ac_cv_exeext 1937 1510 ac_exeext=$EXEEXT 1938 echo "$as_me: $LINENO: checking for suffix of object files" >&51939 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&61511 echo "$as_me:1511: checking for object suffix" >&5 1512 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 1940 1513 if test "${ac_cv_objext+set}" = set; then 1941 1514 echo $ECHO_N "(cached) $ECHO_C" >&6 1942 1515 else 1943 1516 cat >conftest.$ac_ext <<_ACEOF 1944 /* confdefs.h. */ 1945 _ACEOF 1946 cat confdefs.h >>conftest.$ac_ext 1947 cat >>conftest.$ac_ext <<_ACEOF 1948 /* end confdefs.h. */ 1517 #line 1517 "configure" 1518 #include "confdefs.h" 1949 1519 1950 1520 int … … 1957 1527 _ACEOF 1958 1528 rm -f conftest.o conftest.obj 1959 if { (eval echo "$as_me: $LINENO: \"$ac_compile\"") >&51529 if { (eval echo "$as_me:1529: \"$ac_compile\"") >&5 1960 1530 (eval $ac_compile) 2>&5 1961 1531 ac_status=$? 1962 echo "$as_me: $LINENO: \$? = $ac_status" >&51532 echo "$as_me:1532: \$? = $ac_status" >&5 1963 1533 (exit $ac_status); }; then 1964 1534 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 1965 1535 case $ac_file in 1966 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg) ;;1536 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; 1967 1537 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1968 1538 break;; … … 1971 1541 else 1972 1542 echo "$as_me: failed program was:" >&5 1973 sed 's/^/| /' conftest.$ac_ext >&5 1974 1975 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 1976 See \`config.log' for more details." >&5 1977 echo "$as_me: error: cannot compute suffix of object files: cannot compile 1978 See \`config.log' for more details." >&2;} 1543 cat conftest.$ac_ext >&5 1544 { { echo "$as_me:1544: error: cannot compute OBJEXT: cannot compile" >&5 1545 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} 1979 1546 { (exit 1); exit 1; }; } 1980 1547 fi … … 1982 1549 rm -f conftest.$ac_cv_objext conftest.$ac_ext 1983 1550 fi 1984 echo "$as_me: $LINENO: result: $ac_cv_objext" >&51551 echo "$as_me:1551: result: $ac_cv_objext" >&5 1985 1552 echo "${ECHO_T}$ac_cv_objext" >&6 1986 1553 OBJEXT=$ac_cv_objext 1987 1554 ac_objext=$OBJEXT 1988 echo "$as_me: $LINENO: checking whether we are using the GNU C compiler" >&51555 echo "$as_me:1555: checking whether we are using the GNU C compiler" >&5 1989 1556 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 1990 1557 if test "${ac_cv_c_compiler_gnu+set}" = set; then … … 1992 1559 else 1993 1560 cat >conftest.$ac_ext <<_ACEOF 1994 /* confdefs.h. */ 1995 _ACEOF 1996 cat confdefs.h >>conftest.$ac_ext 1997 cat >>conftest.$ac_ext <<_ACEOF 1998 /* end confdefs.h. */ 1561 #line 1561 "configure" 1562 #include "confdefs.h" 1999 1563 2000 1564 int … … 2010 1574 _ACEOF 2011 1575 rm -f conftest.$ac_objext 2012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2013 (eval $ac_compile) 2>conftest.er1 2014 ac_status=$? 2015 grep -v '^ *+' conftest.er1 >conftest.err 2016 rm -f conftest.er1 2017 cat conftest.err >&5 2018 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1576 if { (eval echo "$as_me:1576: \"$ac_compile\"") >&5 1577 (eval $ac_compile) 2>&5 1578 ac_status=$? 1579 echo "$as_me:1579: \$? = $ac_status" >&5 2019 1580 (exit $ac_status); } && 2020 { ac_try='test -z "$ac_c_werror_flag" 2021 || test ! -s conftest.err' 2022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1581 { ac_try='test -s conftest.$ac_objext' 1582 { (eval echo "$as_me:1582: \"$ac_try\"") >&5 2023 1583 (eval $ac_try) 2>&5 2024 1584 ac_status=$? 2025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2026 (exit $ac_status); }; } && 2027 { ac_try='test -s conftest.$ac_objext' 2028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2029 (eval $ac_try) 2>&5 2030 ac_status=$? 2031 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1585 echo "$as_me:1585: \$? = $ac_status" >&5 2032 1586 (exit $ac_status); }; }; then 2033 1587 ac_compiler_gnu=yes 2034 1588 else 2035 1589 echo "$as_me: failed program was:" >&5 2036 sed 's/^/| /' conftest.$ac_ext >&5 2037 1590 cat conftest.$ac_ext >&5 2038 1591 ac_compiler_gnu=no 2039 1592 fi 2040 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext1593 rm -f conftest.$ac_objext conftest.$ac_ext 2041 1594 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2042 1595 2043 1596 fi 2044 echo "$as_me: $LINENO: result: $ac_cv_c_compiler_gnu" >&51597 echo "$as_me:1597: result: $ac_cv_c_compiler_gnu" >&5 2045 1598 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2046 1599 GCC=`test $ac_compiler_gnu = yes && echo yes` … … 2048 1601 ac_save_CFLAGS=$CFLAGS 2049 1602 CFLAGS="-g" 2050 echo "$as_me: $LINENO: checking whether $CC accepts -g" >&51603 echo "$as_me:1603: checking whether $CC accepts -g" >&5 2051 1604 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2052 1605 if test "${ac_cv_prog_cc_g+set}" = set; then … … 2054 1607 else 2055 1608 cat >conftest.$ac_ext <<_ACEOF 2056 /* confdefs.h. */ 2057 _ACEOF 2058 cat confdefs.h >>conftest.$ac_ext 2059 cat >>conftest.$ac_ext <<_ACEOF 2060 /* end confdefs.h. */ 1609 #line 1609 "configure" 1610 #include "confdefs.h" 2061 1611 2062 1612 int … … 2069 1619 _ACEOF 2070 1620 rm -f conftest.$ac_objext 2071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2072 (eval $ac_compile) 2>conftest.er1 2073 ac_status=$? 2074 grep -v '^ *+' conftest.er1 >conftest.err 2075 rm -f conftest.er1 2076 cat conftest.err >&5 2077 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1621 if { (eval echo "$as_me:1621: \"$ac_compile\"") >&5 1622 (eval $ac_compile) 2>&5 1623 ac_status=$? 1624 echo "$as_me:1624: \$? = $ac_status" >&5 2078 1625 (exit $ac_status); } && 2079 { ac_try='test -z "$ac_c_werror_flag" 2080 || test ! -s conftest.err' 2081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1626 { ac_try='test -s conftest.$ac_objext' 1627 { (eval echo "$as_me:1627: \"$ac_try\"") >&5 2082 1628 (eval $ac_try) 2>&5 2083 1629 ac_status=$? 2084 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2085 (exit $ac_status); }; } && 2086 { ac_try='test -s conftest.$ac_objext' 2087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2088 (eval $ac_try) 2>&5 2089 ac_status=$? 2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1630 echo "$as_me:1630: \$? = $ac_status" >&5 2091 1631 (exit $ac_status); }; }; then 2092 1632 ac_cv_prog_cc_g=yes 2093 1633 else 2094 1634 echo "$as_me: failed program was:" >&5 2095 sed 's/^/| /' conftest.$ac_ext >&5 2096 1635 cat conftest.$ac_ext >&5 2097 1636 ac_cv_prog_cc_g=no 2098 1637 fi 2099 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext2100 fi 2101 echo "$as_me: $LINENO: result: $ac_cv_prog_cc_g" >&51638 rm -f conftest.$ac_objext conftest.$ac_ext 1639 fi 1640 echo "$as_me:1640: result: $ac_cv_prog_cc_g" >&5 2102 1641 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2103 1642 if test "$ac_test_CFLAGS" = set; then … … 2116 1655 fi 2117 1656 fi 2118 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&52119 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&62120 if test "${ac_cv_prog_cc_stdc+set}" = set; then2121 echo $ECHO_N "(cached) $ECHO_C" >&62122 else2123 ac_cv_prog_cc_stdc=no2124 ac_save_CC=$CC2125 cat >conftest.$ac_ext <<_ACEOF2126 /* confdefs.h. */2127 _ACEOF2128 cat confdefs.h >>conftest.$ac_ext2129 cat >>conftest.$ac_ext <<_ACEOF2130 /* end confdefs.h. */2131 #include <stdarg.h>2132 #include <stdio.h>2133 #include <sys/types.h>2134 #include <sys/stat.h>2135 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */2136 struct buf { int x; };2137 FILE * (*rcsopen) (struct buf *, struct stat *, int);2138 static char *e (p, i)2139 char **p;2140 int i;2141 {2142 return p[i];2143 }2144 static char *f (char * (*g) (char **, int), char **p, ...)2145 {2146 char *s;2147 va_list v;2148 va_start (v,p);2149 s = g (p, va_arg (v,int));2150 va_end (v);2151 return s;2152 }2153 2154 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has2155 function prototypes and stuff, but not '\xHH' hex character constants.2156 These don't provoke an error unfortunately, instead are silently treated2157 as 'x'. The following induces an error, until -std1 is added to get2158 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an2159 array size at least. It's necessary to write '\x00'==0 to get something2160 that's true only with -std1. */2161 int osf4_cc_array ['\x00' == 0 ? 1 : -1];2162 2163 int test (int i, double x);2164 struct s1 {int (*f) (int a);};2165 struct s2 {int (*f) (double a);};2166 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);2167 int argc;2168 char **argv;2169 int2170 main ()2171 {2172 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];2173 ;2174 return 0;2175 }2176 _ACEOF2177 # Don't try gcc -ansi; that turns off useful extensions and2178 # breaks some systems' header files.2179 # AIX -qlanglvl=ansi2180 # Ultrix and OSF/1 -std12181 # HP-UX 10.20 and later -Ae2182 # HP-UX older versions -Aa -D_HPUX_SOURCE2183 # SVR4 -Xc -D__EXTENSIONS__2184 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"2185 do2186 CC="$ac_save_CC $ac_arg"2187 rm -f conftest.$ac_objext2188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52189 (eval $ac_compile) 2>conftest.er12190 ac_status=$?2191 grep -v '^ *+' conftest.er1 >conftest.err2192 rm -f conftest.er12193 cat conftest.err >&52194 echo "$as_me:$LINENO: \$? = $ac_status" >&52195 (exit $ac_status); } &&2196 { ac_try='test -z "$ac_c_werror_flag"2197 || test ! -s conftest.err'2198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52199 (eval $ac_try) 2>&52200 ac_status=$?2201 echo "$as_me:$LINENO: \$? = $ac_status" >&52202 (exit $ac_status); }; } &&2203 { ac_try='test -s conftest.$ac_objext'2204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52205 (eval $ac_try) 2>&52206 ac_status=$?2207 echo "$as_me:$LINENO: \$? = $ac_status" >&52208 (exit $ac_status); }; }; then2209 ac_cv_prog_cc_stdc=$ac_arg2210 break2211 else2212 echo "$as_me: failed program was:" >&52213 sed 's/^/| /' conftest.$ac_ext >&52214 2215 fi2216 rm -f conftest.err conftest.$ac_objext2217 done2218 rm -f conftest.$ac_ext conftest.$ac_objext2219 CC=$ac_save_CC2220 2221 fi2222 2223 case "x$ac_cv_prog_cc_stdc" in2224 x|xno)2225 echo "$as_me:$LINENO: result: none needed" >&52226 echo "${ECHO_T}none needed" >&6 ;;2227 *)2228 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&52229 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&62230 CC="$CC $ac_cv_prog_cc_stdc" ;;2231 esac2232 2233 1657 # Some people use a C++ compiler to compile C. Since we use `exit', 2234 1658 # in C++ we need to declare it. In case someone uses the same compiler … … 2241 1665 _ACEOF 2242 1666 rm -f conftest.$ac_objext 2243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2244 (eval $ac_compile) 2>conftest.er1 2245 ac_status=$? 2246 grep -v '^ *+' conftest.er1 >conftest.err 2247 rm -f conftest.er1 2248 cat conftest.err >&5 2249 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1667 if { (eval echo "$as_me:1667: \"$ac_compile\"") >&5 1668 (eval $ac_compile) 2>&5 1669 ac_status=$? 1670 echo "$as_me:1670: \$? = $ac_status" >&5 2250 1671 (exit $ac_status); } && 2251 { ac_try='test -z "$ac_c_werror_flag" 2252 || test ! -s conftest.err' 2253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1672 { ac_try='test -s conftest.$ac_objext' 1673 { (eval echo "$as_me:1673: \"$ac_try\"") >&5 2254 1674 (eval $ac_try) 2>&5 2255 1675 ac_status=$? 2256 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2257 (exit $ac_status); }; } && 2258 { ac_try='test -s conftest.$ac_objext' 2259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2260 (eval $ac_try) 2>&5 2261 ac_status=$? 2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1676 echo "$as_me:1676: \$? = $ac_status" >&5 2263 1677 (exit $ac_status); }; }; then 2264 1678 for ac_declaration in \ 2265 '' \ 1679 ''\ 1680 '#include <stdlib.h>' \ 2266 1681 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2267 1682 'extern "C" void std::exit (int); using std::exit;' \ … … 2271 1686 do 2272 1687 cat >conftest.$ac_ext <<_ACEOF 2273 /* confdefs.h. */ 2274 _ACEOF 2275 cat confdefs.h >>conftest.$ac_ext 2276 cat >>conftest.$ac_ext <<_ACEOF 2277 /* end confdefs.h. */ 2278 $ac_declaration 1688 #line 1688 "configure" 1689 #include "confdefs.h" 2279 1690 #include <stdlib.h> 2280 int2281 main ()2282 {2283 exit (42);2284 ;2285 return 0;2286 }2287 _ACEOF2288 rm -f conftest.$ac_objext2289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52290 (eval $ac_compile) 2>conftest.er12291 ac_status=$?2292 grep -v '^ *+' conftest.er1 >conftest.err2293 rm -f conftest.er12294 cat conftest.err >&52295 echo "$as_me:$LINENO: \$? = $ac_status" >&52296 (exit $ac_status); } &&2297 { ac_try='test -z "$ac_c_werror_flag"2298 || test ! -s conftest.err'2299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52300 (eval $ac_try) 2>&52301 ac_status=$?2302 echo "$as_me:$LINENO: \$? = $ac_status" >&52303 (exit $ac_status); }; } &&2304 { ac_try='test -s conftest.$ac_objext'2305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52306 (eval $ac_try) 2>&52307 ac_status=$?2308 echo "$as_me:$LINENO: \$? = $ac_status" >&52309 (exit $ac_status); }; }; then2310 :2311 else2312 echo "$as_me: failed program was:" >&52313 sed 's/^/| /' conftest.$ac_ext >&52314 2315 continue2316 fi2317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2318 cat >conftest.$ac_ext <<_ACEOF2319 /* confdefs.h. */2320 _ACEOF2321 cat confdefs.h >>conftest.$ac_ext2322 cat >>conftest.$ac_ext <<_ACEOF2323 /* end confdefs.h. */2324 1691 $ac_declaration 2325 1692 int … … 2332 1699 _ACEOF 2333 1700 rm -f conftest.$ac_objext 2334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2335 (eval $ac_compile) 2>conftest.er1 2336 ac_status=$? 2337 grep -v '^ *+' conftest.er1 >conftest.err 2338 rm -f conftest.er1 2339 cat conftest.err >&5 2340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1701 if { (eval echo "$as_me:1701: \"$ac_compile\"") >&5 1702 (eval $ac_compile) 2>&5 1703 ac_status=$? 1704 echo "$as_me:1704: \$? = $ac_status" >&5 2341 1705 (exit $ac_status); } && 2342 { ac_try='test -z "$ac_c_werror_flag" 2343 || test ! -s conftest.err' 2344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1706 { ac_try='test -s conftest.$ac_objext' 1707 { (eval echo "$as_me:1707: \"$ac_try\"") >&5 2345 1708 (eval $ac_try) 2>&5 2346 1709 ac_status=$? 2347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2348 (exit $ac_status); }; } && 2349 { ac_try='test -s conftest.$ac_objext' 2350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1710 echo "$as_me:1710: \$? = $ac_status" >&5 1711 (exit $ac_status); }; }; then 1712 : 1713 else 1714 echo "$as_me: failed program was:" >&5 1715 cat conftest.$ac_ext >&5 1716 continue 1717 fi 1718 rm -f conftest.$ac_objext conftest.$ac_ext 1719 cat >conftest.$ac_ext <<_ACEOF 1720 #line 1720 "configure" 1721 #include "confdefs.h" 1722 $ac_declaration 1723 int 1724 main () 1725 { 1726 exit (42); 1727 ; 1728 return 0; 1729 } 1730 _ACEOF 1731 rm -f conftest.$ac_objext 1732 if { (eval echo "$as_me:1732: \"$ac_compile\"") >&5 1733 (eval $ac_compile) 2>&5 1734 ac_status=$? 1735 echo "$as_me:1735: \$? = $ac_status" >&5 1736 (exit $ac_status); } && 1737 { ac_try='test -s conftest.$ac_objext' 1738 { (eval echo "$as_me:1738: \"$ac_try\"") >&5 2351 1739 (eval $ac_try) 2>&5 2352 1740 ac_status=$? 2353 echo "$as_me: $LINENO: \$? = $ac_status" >&51741 echo "$as_me:1741: \$? = $ac_status" >&5 2354 1742 (exit $ac_status); }; }; then 2355 1743 break 2356 1744 else 2357 1745 echo "$as_me: failed program was:" >&5 2358 sed 's/^/| /' conftest.$ac_ext >&5 2359 2360 fi 2361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1746 cat conftest.$ac_ext >&5 1747 fi 1748 rm -f conftest.$ac_objext conftest.$ac_ext 2362 1749 done 2363 1750 rm -f conftest* … … 2370 1757 else 2371 1758 echo "$as_me: failed program was:" >&5 2372 sed 's/^/| /' conftest.$ac_ext >&5 2373 2374 fi 2375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1759 cat conftest.$ac_ext >&5 1760 fi 1761 rm -f conftest.$ac_objext conftest.$ac_ext 2376 1762 ac_ext=c 2377 1763 ac_cpp='$CPP $CPPFLAGS' … … 2390 1776 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2391 1777 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2392 echo "$as_me: $LINENO: checking for $ac_word" >&51778 echo "$as_me:1778: checking for $ac_word" >&5 2393 1779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2394 1780 if test "${ac_cv_prog_CXX+set}" = set; then … … 2398 1784 ac_cv_prog_CXX="$CXX" # Let the user override the test. 2399 1785 else 2400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2401 for as_dir in $PATH 2402 do 2403 IFS=$as_save_IFS 2404 test -z "$as_dir" && as_dir=. 2405 for ac_exec_ext in '' $ac_executable_extensions; do 2406 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2407 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2409 break 2 2410 fi 2411 done 1786 ac_save_IFS=$IFS; IFS=$ac_path_separator 1787 ac_dummy="$PATH" 1788 for ac_dir in $ac_dummy; do 1789 IFS=$ac_save_IFS 1790 test -z "$ac_dir" && ac_dir=. 1791 $as_executable_p "$ac_dir/$ac_word" || continue 1792 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 1793 echo "$as_me:1793: found $ac_dir/$ac_word" >&5 1794 break 2412 1795 done 2413 1796 … … 2416 1799 CXX=$ac_cv_prog_CXX 2417 1800 if test -n "$CXX"; then 2418 echo "$as_me: $LINENO: result: $CXX" >&51801 echo "$as_me:1801: result: $CXX" >&5 2419 1802 echo "${ECHO_T}$CXX" >&6 2420 1803 else 2421 echo "$as_me: $LINENO: result: no" >&51804 echo "$as_me:1804: result: no" >&5 2422 1805 echo "${ECHO_T}no" >&6 2423 1806 fi … … 2432 1815 # Extract the first word of "$ac_prog", so it can be a program name with args. 2433 1816 set dummy $ac_prog; ac_word=$2 2434 echo "$as_me: $LINENO: checking for $ac_word" >&51817 echo "$as_me:1817: checking for $ac_word" >&5 2435 1818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2436 1819 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then … … 2440 1823 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 2441 1824 else 2442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2443 for as_dir in $PATH 2444 do 2445 IFS=$as_save_IFS 2446 test -z "$as_dir" && as_dir=. 2447 for ac_exec_ext in '' $ac_executable_extensions; do 2448 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2449 ac_cv_prog_ac_ct_CXX="$ac_prog" 2450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2451 break 2 2452 fi 2453 done 1825 ac_save_IFS=$IFS; IFS=$ac_path_separator 1826 ac_dummy="$PATH" 1827 for ac_dir in $ac_dummy; do 1828 IFS=$ac_save_IFS 1829 test -z "$ac_dir" && ac_dir=. 1830 $as_executable_p "$ac_dir/$ac_word" || continue 1831 ac_cv_prog_ac_ct_CXX="$ac_prog" 1832 echo "$as_me:1832: found $ac_dir/$ac_word" >&5 1833 break 2454 1834 done 2455 1835 … … 2458 1838 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2459 1839 if test -n "$ac_ct_CXX"; then 2460 echo "$as_me: $LINENO: result: $ac_ct_CXX" >&51840 echo "$as_me:1840: result: $ac_ct_CXX" >&5 2461 1841 echo "${ECHO_T}$ac_ct_CXX" >&6 2462 1842 else 2463 echo "$as_me: $LINENO: result: no" >&51843 echo "$as_me:1843: result: no" >&5 2464 1844 echo "${ECHO_T}no" >&6 2465 1845 fi … … 2472 1852 fi 2473 1853 2474 2475 1854 # Provide some information about the compiler. 2476 echo "$as_me: $LINENO:" \1855 echo "$as_me:1855:" \ 2477 1856 "checking for C++ compiler version" >&5 2478 1857 ac_compiler=`set X $ac_compile; echo $2` 2479 { (eval echo "$as_me: $LINENO: \"$ac_compiler --version </dev/null >&5\"") >&51858 { (eval echo "$as_me:1858: \"$ac_compiler --version </dev/null >&5\"") >&5 2480 1859 (eval $ac_compiler --version </dev/null >&5) 2>&5 2481 1860 ac_status=$? 2482 echo "$as_me: $LINENO: \$? = $ac_status" >&51861 echo "$as_me:1861: \$? = $ac_status" >&5 2483 1862 (exit $ac_status); } 2484 { (eval echo "$as_me: $LINENO: \"$ac_compiler -v </dev/null >&5\"") >&51863 { (eval echo "$as_me:1863: \"$ac_compiler -v </dev/null >&5\"") >&5 2485 1864 (eval $ac_compiler -v </dev/null >&5) 2>&5 2486 1865 ac_status=$? 2487 echo "$as_me: $LINENO: \$? = $ac_status" >&51866 echo "$as_me:1866: \$? = $ac_status" >&5 2488 1867 (exit $ac_status); } 2489 { (eval echo "$as_me: $LINENO: \"$ac_compiler -V </dev/null >&5\"") >&51868 { (eval echo "$as_me:1868: \"$ac_compiler -V </dev/null >&5\"") >&5 2490 1869 (eval $ac_compiler -V </dev/null >&5) 2>&5 2491 1870 ac_status=$? 2492 echo "$as_me: $LINENO: \$? = $ac_status" >&51871 echo "$as_me:1871: \$? = $ac_status" >&5 2493 1872 (exit $ac_status); } 2494 1873 2495 echo "$as_me: $LINENO: checking whether we are using the GNU C++ compiler" >&51874 echo "$as_me:1874: checking whether we are using the GNU C++ compiler" >&5 2496 1875 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 2497 1876 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then … … 2499 1878 else 2500 1879 cat >conftest.$ac_ext <<_ACEOF 2501 /* confdefs.h. */ 2502 _ACEOF 2503 cat confdefs.h >>conftest.$ac_ext 2504 cat >>conftest.$ac_ext <<_ACEOF 2505 /* end confdefs.h. */ 1880 #line 1880 "configure" 1881 #include "confdefs.h" 2506 1882 2507 1883 int … … 2517 1893 _ACEOF 2518 1894 rm -f conftest.$ac_objext 2519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2520 (eval $ac_compile) 2>conftest.er1 2521 ac_status=$? 2522 grep -v '^ *+' conftest.er1 >conftest.err 2523 rm -f conftest.er1 2524 cat conftest.err >&5 2525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1895 if { (eval echo "$as_me:1895: \"$ac_compile\"") >&5 1896 (eval $ac_compile) 2>&5 1897 ac_status=$? 1898 echo "$as_me:1898: \$? = $ac_status" >&5 2526 1899 (exit $ac_status); } && 2527 { ac_try='test -z "$ac_cxx_werror_flag" 2528 || test ! -s conftest.err' 2529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1900 { ac_try='test -s conftest.$ac_objext' 1901 { (eval echo "$as_me:1901: \"$ac_try\"") >&5 2530 1902 (eval $ac_try) 2>&5 2531 1903 ac_status=$? 2532 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2533 (exit $ac_status); }; } && 2534 { ac_try='test -s conftest.$ac_objext' 2535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2536 (eval $ac_try) 2>&5 2537 ac_status=$? 2538 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1904 echo "$as_me:1904: \$? = $ac_status" >&5 2539 1905 (exit $ac_status); }; }; then 2540 1906 ac_compiler_gnu=yes 2541 1907 else 2542 1908 echo "$as_me: failed program was:" >&5 2543 sed 's/^/| /' conftest.$ac_ext >&5 2544 1909 cat conftest.$ac_ext >&5 2545 1910 ac_compiler_gnu=no 2546 1911 fi 2547 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext1912 rm -f conftest.$ac_objext conftest.$ac_ext 2548 1913 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2549 1914 2550 1915 fi 2551 echo "$as_me: $LINENO: result: $ac_cv_cxx_compiler_gnu" >&51916 echo "$as_me:1916: result: $ac_cv_cxx_compiler_gnu" >&5 2552 1917 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 2553 1918 GXX=`test $ac_compiler_gnu = yes && echo yes` … … 2555 1920 ac_save_CXXFLAGS=$CXXFLAGS 2556 1921 CXXFLAGS="-g" 2557 echo "$as_me: $LINENO: checking whether $CXX accepts -g" >&51922 echo "$as_me:1922: checking whether $CXX accepts -g" >&5 2558 1923 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 2559 1924 if test "${ac_cv_prog_cxx_g+set}" = set; then … … 2561 1926 else 2562 1927 cat >conftest.$ac_ext <<_ACEOF 2563 /* confdefs.h. */ 2564 _ACEOF 2565 cat confdefs.h >>conftest.$ac_ext 2566 cat >>conftest.$ac_ext <<_ACEOF 2567 /* end confdefs.h. */ 1928 #line 1928 "configure" 1929 #include "confdefs.h" 2568 1930 2569 1931 int … … 2576 1938 _ACEOF 2577 1939 rm -f conftest.$ac_objext 2578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2579 (eval $ac_compile) 2>conftest.er1 2580 ac_status=$? 2581 grep -v '^ *+' conftest.er1 >conftest.err 2582 rm -f conftest.er1 2583 cat conftest.err >&5 2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1940 if { (eval echo "$as_me:1940: \"$ac_compile\"") >&5 1941 (eval $ac_compile) 2>&5 1942 ac_status=$? 1943 echo "$as_me:1943: \$? = $ac_status" >&5 2585 1944 (exit $ac_status); } && 2586 { ac_try='test -z "$ac_cxx_werror_flag" 2587 || test ! -s conftest.err' 2588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1945 { ac_try='test -s conftest.$ac_objext' 1946 { (eval echo "$as_me:1946: \"$ac_try\"") >&5 2589 1947 (eval $ac_try) 2>&5 2590 1948 ac_status=$? 2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2592 (exit $ac_status); }; } && 2593 { ac_try='test -s conftest.$ac_objext' 2594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2595 (eval $ac_try) 2>&5 2596 ac_status=$? 2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1949 echo "$as_me:1949: \$? = $ac_status" >&5 2598 1950 (exit $ac_status); }; }; then 2599 1951 ac_cv_prog_cxx_g=yes 2600 1952 else 2601 1953 echo "$as_me: failed program was:" >&5 2602 sed 's/^/| /' conftest.$ac_ext >&5 2603 1954 cat conftest.$ac_ext >&5 2604 1955 ac_cv_prog_cxx_g=no 2605 1956 fi 2606 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext2607 fi 2608 echo "$as_me: $LINENO: result: $ac_cv_prog_cxx_g" >&51957 rm -f conftest.$ac_objext conftest.$ac_ext 1958 fi 1959 echo "$as_me:1959: result: $ac_cv_prog_cxx_g" >&5 2609 1960 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 2610 1961 if test "$ac_test_CXXFLAGS" = set; then … … 2624 1975 fi 2625 1976 for ac_declaration in \ 2626 '' \ 1977 ''\ 1978 '#include <stdlib.h>' \ 2627 1979 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2628 1980 'extern "C" void std::exit (int); using std::exit;' \ … … 2632 1984 do 2633 1985 cat >conftest.$ac_ext <<_ACEOF 2634 /* confdefs.h. */ 2635 _ACEOF 2636 cat confdefs.h >>conftest.$ac_ext 2637 cat >>conftest.$ac_ext <<_ACEOF 2638 /* end confdefs.h. */ 2639 $ac_declaration 1986 #line 1986 "configure" 1987 #include "confdefs.h" 2640 1988 #include <stdlib.h> 2641 int2642 main ()2643 {2644 exit (42);2645 ;2646 return 0;2647 }2648 _ACEOF2649 rm -f conftest.$ac_objext2650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52651 (eval $ac_compile) 2>conftest.er12652 ac_status=$?2653 grep -v '^ *+' conftest.er1 >conftest.err2654 rm -f conftest.er12655 cat conftest.err >&52656 echo "$as_me:$LINENO: \$? = $ac_status" >&52657 (exit $ac_status); } &&2658 { ac_try='test -z "$ac_cxx_werror_flag"2659 || test ! -s conftest.err'2660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52661 (eval $ac_try) 2>&52662 ac_status=$?2663 echo "$as_me:$LINENO: \$? = $ac_status" >&52664 (exit $ac_status); }; } &&2665 { ac_try='test -s conftest.$ac_objext'2666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52667 (eval $ac_try) 2>&52668 ac_status=$?2669 echo "$as_me:$LINENO: \$? = $ac_status" >&52670 (exit $ac_status); }; }; then2671 :2672 else2673 echo "$as_me: failed program was:" >&52674 sed 's/^/| /' conftest.$ac_ext >&52675 2676 continue2677 fi2678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2679 cat >conftest.$ac_ext <<_ACEOF2680 /* confdefs.h. */2681 _ACEOF2682 cat confdefs.h >>conftest.$ac_ext2683 cat >>conftest.$ac_ext <<_ACEOF2684 /* end confdefs.h. */2685 1989 $ac_declaration 2686 1990 int … … 2693 1997 _ACEOF 2694 1998 rm -f conftest.$ac_objext 2695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2696 (eval $ac_compile) 2>conftest.er1 2697 ac_status=$? 2698 grep -v '^ *+' conftest.er1 >conftest.err 2699 rm -f conftest.er1 2700 cat conftest.err >&5 2701 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1999 if { (eval echo "$as_me:1999: \"$ac_compile\"") >&5 2000 (eval $ac_compile) 2>&5 2001 ac_status=$? 2002 echo "$as_me:2002: \$? = $ac_status" >&5 2702 2003 (exit $ac_status); } && 2703 { ac_try='test -z "$ac_cxx_werror_flag" 2704 || test ! -s conftest.err' 2705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2004 { ac_try='test -s conftest.$ac_objext' 2005 { (eval echo "$as_me:2005: \"$ac_try\"") >&5 2706 2006 (eval $ac_try) 2>&5 2707 2007 ac_status=$? 2708 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2709 (exit $ac_status); }; } && 2710 { ac_try='test -s conftest.$ac_objext' 2711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2008 echo "$as_me:2008: \$? = $ac_status" >&5 2009 (exit $ac_status); }; }; then 2010 : 2011 else 2012 echo "$as_me: failed program was:" >&5 2013 cat conftest.$ac_ext >&5 2014 continue 2015 fi 2016 rm -f conftest.$ac_objext conftest.$ac_ext 2017 cat >conftest.$ac_ext <<_ACEOF 2018 #line 2018 "configure" 2019 #include "confdefs.h" 2020 $ac_declaration 2021 int 2022 main () 2023 { 2024 exit (42); 2025 ; 2026 return 0; 2027 } 2028 _ACEOF 2029 rm -f conftest.$ac_objext 2030 if { (eval echo "$as_me:2030: \"$ac_compile\"") >&5 2031 (eval $ac_compile) 2>&5 2032 ac_status=$? 2033 echo "$as_me:2033: \$? = $ac_status" >&5 2034 (exit $ac_status); } && 2035 { ac_try='test -s conftest.$ac_objext' 2036 { (eval echo "$as_me:2036: \"$ac_try\"") >&5 2712 2037 (eval $ac_try) 2>&5 2713 2038 ac_status=$? 2714 echo "$as_me: $LINENO: \$? = $ac_status" >&52039 echo "$as_me:2039: \$? = $ac_status" >&5 2715 2040 (exit $ac_status); }; }; then 2716 2041 break 2717 2042 else 2718 2043 echo "$as_me: failed program was:" >&5 2719 sed 's/^/| /' conftest.$ac_ext >&5 2720 2721 fi 2722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2044 cat conftest.$ac_ext >&5 2045 fi 2046 rm -f conftest.$ac_objext conftest.$ac_ext 2723 2047 done 2724 2048 rm -f conftest* … … 2741 2065 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2742 2066 2743 2744 2745 2746 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 2067 echo "$as_me:2067: checking for pthread_create in -lpthread" >&5 2747 2068 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6 2748 2069 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then … … 2752 2073 LIBS="-lpthread $LIBS" 2753 2074 cat >conftest.$ac_ext <<_ACEOF 2754 /* confdefs.h. */ 2755 _ACEOF 2756 cat confdefs.h >>conftest.$ac_ext 2757 cat >>conftest.$ac_ext <<_ACEOF 2758 /* end confdefs.h. */ 2075 #line 2075 "configure" 2076 #include "confdefs.h" 2759 2077 2760 2078 /* Override any gcc2 internal prototype to avoid an error. */ … … 2774 2092 _ACEOF 2775 2093 rm -f conftest.$ac_objext conftest$ac_exeext 2776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2777 (eval $ac_link) 2>conftest.er1 2778 ac_status=$? 2779 grep -v '^ *+' conftest.er1 >conftest.err 2780 rm -f conftest.er1 2781 cat conftest.err >&5 2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2094 if { (eval echo "$as_me:2094: \"$ac_link\"") >&5 2095 (eval $ac_link) 2>&5 2096 ac_status=$? 2097 echo "$as_me:2097: \$? = $ac_status" >&5 2783 2098 (exit $ac_status); } && 2784 { ac_try='test -z "$ac_c_werror_flag" 2785 || test ! -s conftest.err' 2786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2099 { ac_try='test -s conftest$ac_exeext' 2100 { (eval echo "$as_me:2100: \"$ac_try\"") >&5 2787 2101 (eval $ac_try) 2>&5 2788 2102 ac_status=$? 2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2790 (exit $ac_status); }; } && 2791 { ac_try='test -s conftest$ac_exeext' 2792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2793 (eval $ac_try) 2>&5 2794 ac_status=$? 2795 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2103 echo "$as_me:2103: \$? = $ac_status" >&5 2796 2104 (exit $ac_status); }; }; then 2797 2105 ac_cv_lib_pthread_pthread_create=yes 2798 2106 else 2799 2107 echo "$as_me: failed program was:" >&5 2800 sed 's/^/| /' conftest.$ac_ext >&5 2801 2108 cat conftest.$ac_ext >&5 2802 2109 ac_cv_lib_pthread_pthread_create=no 2803 2110 fi 2804 rm -f conftest.err conftest.$ac_objext \ 2805 conftest$ac_exeext conftest.$ac_ext 2111 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2806 2112 LIBS=$ac_check_lib_save_LIBS 2807 2113 fi 2808 echo "$as_me: $LINENO: result: $ac_cv_lib_pthread_pthread_create" >&52114 echo "$as_me:2114: result: $ac_cv_lib_pthread_pthread_create" >&5 2809 2115 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6 2810 2116 if test $ac_cv_lib_pthread_pthread_create = yes; then 2811 cat >>confdefs.h << _ACEOF2117 cat >>confdefs.h <<EOF 2812 2118 #define HAVE_LIBPTHREAD 1 2813 _ACEOF2119 EOF 2814 2120 2815 2121 LIBS="-lpthread $LIBS" … … 2817 2123 fi 2818 2124 2819 2820 echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 2125 echo "$as_me:2125: checking for puts in -lwsock32" >&5 2821 2126 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6 2822 2127 if test "${ac_cv_lib_wsock32_puts+set}" = set; then … … 2826 2131 LIBS="-lwsock32 $LIBS" 2827 2132 cat >conftest.$ac_ext <<_ACEOF 2828 /* confdefs.h. */ 2829 _ACEOF 2830 cat confdefs.h >>conftest.$ac_ext 2831 cat >>conftest.$ac_ext <<_ACEOF 2832 /* end confdefs.h. */ 2133 #line 2133 "configure" 2134 #include "confdefs.h" 2833 2135 2834 2136 /* Override any gcc2 internal prototype to avoid an error. */ … … 2848 2150 _ACEOF 2849 2151 rm -f conftest.$ac_objext conftest$ac_exeext 2850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2851 (eval $ac_link) 2>conftest.er1 2852 ac_status=$? 2853 grep -v '^ *+' conftest.er1 >conftest.err 2854 rm -f conftest.er1 2855 cat conftest.err >&5 2856 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2152 if { (eval echo "$as_me:2152: \"$ac_link\"") >&5 2153 (eval $ac_link) 2>&5 2154 ac_status=$? 2155 echo "$as_me:2155: \$? = $ac_status" >&5 2857 2156 (exit $ac_status); } && 2858 { ac_try='test -z "$ac_c_werror_flag" 2859 || test ! -s conftest.err' 2860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2157 { ac_try='test -s conftest$ac_exeext' 2158 { (eval echo "$as_me:2158: \"$ac_try\"") >&5 2861 2159 (eval $ac_try) 2>&5 2862 2160 ac_status=$? 2863 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2864 (exit $ac_status); }; } && 2865 { ac_try='test -s conftest$ac_exeext' 2866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2867 (eval $ac_try) 2>&5 2868 ac_status=$? 2869 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2161 echo "$as_me:2161: \$? = $ac_status" >&5 2870 2162 (exit $ac_status); }; }; then 2871 2163 ac_cv_lib_wsock32_puts=yes 2872 2164 else 2873 2165 echo "$as_me: failed program was:" >&5 2874 sed 's/^/| /' conftest.$ac_ext >&5 2875 2166 cat conftest.$ac_ext >&5 2876 2167 ac_cv_lib_wsock32_puts=no 2877 2168 fi 2878 rm -f conftest.err conftest.$ac_objext \ 2879 conftest$ac_exeext conftest.$ac_ext 2169 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2880 2170 LIBS=$ac_check_lib_save_LIBS 2881 2171 fi 2882 echo "$as_me: $LINENO: result: $ac_cv_lib_wsock32_puts" >&52172 echo "$as_me:2172: result: $ac_cv_lib_wsock32_puts" >&5 2883 2173 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6 2884 2174 if test $ac_cv_lib_wsock32_puts = yes; then 2885 cat >>confdefs.h << _ACEOF2175 cat >>confdefs.h <<EOF 2886 2176 #define HAVE_LIBWSOCK32 1 2887 _ACEOF2177 EOF 2888 2178 2889 2179 LIBS="-lwsock32 $LIBS" … … 2891 2181 fi 2892 2182 2893 2894 echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 2183 echo "$as_me:2183: checking for puts in -lws2_32" >&5 2895 2184 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6 2896 2185 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then … … 2900 2189 LIBS="-lws2_32 $LIBS" 2901 2190 cat >conftest.$ac_ext <<_ACEOF 2902 /* confdefs.h. */ 2903 _ACEOF 2904 cat confdefs.h >>conftest.$ac_ext 2905 cat >>conftest.$ac_ext <<_ACEOF 2906 /* end confdefs.h. */ 2191 #line 2191 "configure" 2192 #include "confdefs.h" 2907 2193 2908 2194 /* Override any gcc2 internal prototype to avoid an error. */ … … 2922 2208 _ACEOF 2923 2209 rm -f conftest.$ac_objext conftest$ac_exeext 2924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2925 (eval $ac_link) 2>conftest.er1 2926 ac_status=$? 2927 grep -v '^ *+' conftest.er1 >conftest.err 2928 rm -f conftest.er1 2929 cat conftest.err >&5 2930 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2210 if { (eval echo "$as_me:2210: \"$ac_link\"") >&5 2211 (eval $ac_link) 2>&5 2212 ac_status=$? 2213 echo "$as_me:2213: \$? = $ac_status" >&5 2931 2214 (exit $ac_status); } && 2932 { ac_try='test -z "$ac_c_werror_flag" 2933 || test ! -s conftest.err' 2934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2215 { ac_try='test -s conftest$ac_exeext' 2216 { (eval echo "$as_me:2216: \"$ac_try\"") >&5 2935 2217 (eval $ac_try) 2>&5 2936 2218 ac_status=$? 2937 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2938 (exit $ac_status); }; } && 2939 { ac_try='test -s conftest$ac_exeext' 2940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2941 (eval $ac_try) 2>&5 2942 ac_status=$? 2943 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2219 echo "$as_me:2219: \$? = $ac_status" >&5 2944 2220 (exit $ac_status); }; }; then 2945 2221 ac_cv_lib_ws2_32_puts=yes 2946 2222 else 2947 2223 echo "$as_me: failed program was:" >&5 2948 sed 's/^/| /' conftest.$ac_ext >&5 2949 2224 cat conftest.$ac_ext >&5 2950 2225 ac_cv_lib_ws2_32_puts=no 2951 2226 fi 2952 rm -f conftest.err conftest.$ac_objext \ 2953 conftest$ac_exeext conftest.$ac_ext 2227 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2954 2228 LIBS=$ac_check_lib_save_LIBS 2955 2229 fi 2956 echo "$as_me: $LINENO: result: $ac_cv_lib_ws2_32_puts" >&52230 echo "$as_me:2230: result: $ac_cv_lib_ws2_32_puts" >&5 2957 2231 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6 2958 2232 if test $ac_cv_lib_ws2_32_puts = yes; then 2959 cat >>confdefs.h << _ACEOF2233 cat >>confdefs.h <<EOF 2960 2234 #define HAVE_LIBWS2_32 1 2961 _ACEOF2235 EOF 2962 2236 2963 2237 LIBS="-lws2_32 $LIBS" … … 2965 2239 fi 2966 2240 2967 2968 echo "$as_me:$LINENO: checking for puts in -lole32" >&5 2241 echo "$as_me:2241: checking for puts in -lole32" >&5 2969 2242 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6 2970 2243 if test "${ac_cv_lib_ole32_puts+set}" = set; then … … 2974 2247 LIBS="-lole32 $LIBS" 2975 2248 cat >conftest.$ac_ext <<_ACEOF 2976 /* confdefs.h. */ 2977 _ACEOF 2978 cat confdefs.h >>conftest.$ac_ext 2979 cat >>conftest.$ac_ext <<_ACEOF 2980 /* end confdefs.h. */ 2249 #line 2249 "configure" 2250 #include "confdefs.h" 2981 2251 2982 2252 /* Override any gcc2 internal prototype to avoid an error. */ … … 2996 2266 _ACEOF 2997 2267 rm -f conftest.$ac_objext conftest$ac_exeext 2998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2999 (eval $ac_link) 2>conftest.er1 3000 ac_status=$? 3001 grep -v '^ *+' conftest.er1 >conftest.err 3002 rm -f conftest.er1 3003 cat conftest.err >&5 3004 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2268 if { (eval echo "$as_me:2268: \"$ac_link\"") >&5 2269 (eval $ac_link) 2>&5 2270 ac_status=$? 2271 echo "$as_me:2271: \$? = $ac_status" >&5 3005 2272 (exit $ac_status); } && 3006 { ac_try='test -z "$ac_c_werror_flag" 3007 || test ! -s conftest.err' 3008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2273 { ac_try='test -s conftest$ac_exeext' 2274 { (eval echo "$as_me:2274: \"$ac_try\"") >&5 3009 2275 (eval $ac_try) 2>&5 3010 2276 ac_status=$? 3011 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3012 (exit $ac_status); }; } && 3013 { ac_try='test -s conftest$ac_exeext' 3014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3015 (eval $ac_try) 2>&5 3016 ac_status=$? 3017 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2277 echo "$as_me:2277: \$? = $ac_status" >&5 3018 2278 (exit $ac_status); }; }; then 3019 2279 ac_cv_lib_ole32_puts=yes 3020 2280 else 3021 2281 echo "$as_me: failed program was:" >&5 3022 sed 's/^/| /' conftest.$ac_ext >&5 3023 2282 cat conftest.$ac_ext >&5 3024 2283 ac_cv_lib_ole32_puts=no 3025 2284 fi 3026 rm -f conftest.err conftest.$ac_objext \ 3027 conftest$ac_exeext conftest.$ac_ext 2285 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3028 2286 LIBS=$ac_check_lib_save_LIBS 3029 2287 fi 3030 echo "$as_me: $LINENO: result: $ac_cv_lib_ole32_puts" >&52288 echo "$as_me:2288: result: $ac_cv_lib_ole32_puts" >&5 3031 2289 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6 3032 2290 if test $ac_cv_lib_ole32_puts = yes; then 3033 cat >>confdefs.h << _ACEOF2291 cat >>confdefs.h <<EOF 3034 2292 #define HAVE_LIBOLE32 1 3035 _ACEOF2293 EOF 3036 2294 3037 2295 LIBS="-lole32 $LIBS" … … 3039 2297 fi 3040 2298 3041 3042 echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 2299 echo "$as_me:2299: checking for puts in -lwinmm" >&5 3043 2300 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6 3044 2301 if test "${ac_cv_lib_winmm_puts+set}" = set; then … … 3048 2305 LIBS="-lwinmm $LIBS" 3049 2306 cat >conftest.$ac_ext <<_ACEOF 3050 /* confdefs.h. */ 3051 _ACEOF 3052 cat confdefs.h >>conftest.$ac_ext 3053 cat >>conftest.$ac_ext <<_ACEOF 3054 /* end confdefs.h. */ 2307 #line 2307 "configure" 2308 #include "confdefs.h" 3055 2309 3056 2310 /* Override any gcc2 internal prototype to avoid an error. */ … … 3070 2324 _ACEOF 3071 2325 rm -f conftest.$ac_objext conftest$ac_exeext 3072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3073 (eval $ac_link) 2>conftest.er1 3074 ac_status=$? 3075 grep -v '^ *+' conftest.er1 >conftest.err 3076 rm -f conftest.er1 3077 cat conftest.err >&5 3078 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2326 if { (eval echo "$as_me:2326: \"$ac_link\"") >&5 2327 (eval $ac_link) 2>&5 2328 ac_status=$? 2329 echo "$as_me:2329: \$? = $ac_status" >&5 3079 2330 (exit $ac_status); } && 3080 { ac_try='test -z "$ac_c_werror_flag" 3081 || test ! -s conftest.err' 3082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2331 { ac_try='test -s conftest$ac_exeext' 2332 { (eval echo "$as_me:2332: \"$ac_try\"") >&5 3083 2333 (eval $ac_try) 2>&5 3084 2334 ac_status=$? 3085 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3086 (exit $ac_status); }; } && 3087 { ac_try='test -s conftest$ac_exeext' 3088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3089 (eval $ac_try) 2>&5 3090 ac_status=$? 3091 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2335 echo "$as_me:2335: \$? = $ac_status" >&5 3092 2336 (exit $ac_status); }; }; then 3093 2337 ac_cv_lib_winmm_puts=yes 3094 2338 else 3095 2339 echo "$as_me: failed program was:" >&5 3096 sed 's/^/| /' conftest.$ac_ext >&5 3097 2340 cat conftest.$ac_ext >&5 3098 2341 ac_cv_lib_winmm_puts=no 3099 2342 fi 3100 rm -f conftest.err conftest.$ac_objext \ 3101 conftest$ac_exeext conftest.$ac_ext 2343 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3102 2344 LIBS=$ac_check_lib_save_LIBS 3103 2345 fi 3104 echo "$as_me: $LINENO: result: $ac_cv_lib_winmm_puts" >&52346 echo "$as_me:2346: result: $ac_cv_lib_winmm_puts" >&5 3105 2347 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6 3106 2348 if test $ac_cv_lib_winmm_puts = yes; then 3107 cat >>confdefs.h << _ACEOF2349 cat >>confdefs.h <<EOF 3108 2350 #define HAVE_LIBWINMM 1 3109 _ACEOF2351 EOF 3110 2352 3111 2353 LIBS="-lwinmm $LIBS" … … 3113 2355 fi 3114 2356 3115 3116 echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 2357 echo "$as_me:2357: checking for puts in -lsocket" >&5 3117 2358 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6 3118 2359 if test "${ac_cv_lib_socket_puts+set}" = set; then … … 3122 2363 LIBS="-lsocket $LIBS" 3123 2364 cat >conftest.$ac_ext <<_ACEOF 3124 /* confdefs.h. */ 3125 _ACEOF 3126 cat confdefs.h >>conftest.$ac_ext 3127 cat >>conftest.$ac_ext <<_ACEOF 3128 /* end confdefs.h. */ 2365 #line 2365 "configure" 2366 #include "confdefs.h" 3129 2367 3130 2368 /* Override any gcc2 internal prototype to avoid an error. */ … … 3144 2382 _ACEOF 3145 2383 rm -f conftest.$ac_objext conftest$ac_exeext 3146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3147 (eval $ac_link) 2>conftest.er1 3148 ac_status=$? 3149 grep -v '^ *+' conftest.er1 >conftest.err 3150 rm -f conftest.er1 3151 cat conftest.err >&5 3152 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2384 if { (eval echo "$as_me:2384: \"$ac_link\"") >&5 2385 (eval $ac_link) 2>&5 2386 ac_status=$? 2387 echo "$as_me:2387: \$? = $ac_status" >&5 3153 2388 (exit $ac_status); } && 3154 { ac_try='test -z "$ac_c_werror_flag" 3155 || test ! -s conftest.err' 3156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2389 { ac_try='test -s conftest$ac_exeext' 2390 { (eval echo "$as_me:2390: \"$ac_try\"") >&5 3157 2391 (eval $ac_try) 2>&5 3158 2392 ac_status=$? 3159 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3160 (exit $ac_status); }; } && 3161 { ac_try='test -s conftest$ac_exeext' 3162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3163 (eval $ac_try) 2>&5 3164 ac_status=$? 3165 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2393 echo "$as_me:2393: \$? = $ac_status" >&5 3166 2394 (exit $ac_status); }; }; then 3167 2395 ac_cv_lib_socket_puts=yes 3168 2396 else 3169 2397 echo "$as_me: failed program was:" >&5 3170 sed 's/^/| /' conftest.$ac_ext >&5 3171 2398 cat conftest.$ac_ext >&5 3172 2399 ac_cv_lib_socket_puts=no 3173 2400 fi 3174 rm -f conftest.err conftest.$ac_objext \ 3175 conftest$ac_exeext conftest.$ac_ext 2401 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3176 2402 LIBS=$ac_check_lib_save_LIBS 3177 2403 fi 3178 echo "$as_me: $LINENO: result: $ac_cv_lib_socket_puts" >&52404 echo "$as_me:2404: result: $ac_cv_lib_socket_puts" >&5 3179 2405 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6 3180 2406 if test $ac_cv_lib_socket_puts = yes; then 3181 cat >>confdefs.h << _ACEOF2407 cat >>confdefs.h <<EOF 3182 2408 #define HAVE_LIBSOCKET 1 3183 _ACEOF2409 EOF 3184 2410 3185 2411 LIBS="-lsocket $LIBS" … … 3187 2413 fi 3188 2414 3189 3190 echo "$as_me:$LINENO: checking for puts in -lrt" >&5 2415 echo "$as_me:2415: checking for puts in -lrt" >&5 3191 2416 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6 3192 2417 if test "${ac_cv_lib_rt_puts+set}" = set; then … … 3196 2421 LIBS="-lrt $LIBS" 3197 2422 cat >conftest.$ac_ext <<_ACEOF 3198 /* confdefs.h. */ 3199 _ACEOF 3200 cat confdefs.h >>conftest.$ac_ext 3201 cat >>conftest.$ac_ext <<_ACEOF 3202 /* end confdefs.h. */ 2423 #line 2423 "configure" 2424 #include "confdefs.h" 3203 2425 3204 2426 /* Override any gcc2 internal prototype to avoid an error. */ … … 3218 2440 _ACEOF 3219 2441 rm -f conftest.$ac_objext conftest$ac_exeext 3220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3221 (eval $ac_link) 2>conftest.er1 3222 ac_status=$? 3223 grep -v '^ *+' conftest.er1 >conftest.err 3224 rm -f conftest.er1 3225 cat conftest.err >&5 3226 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2442 if { (eval echo "$as_me:2442: \"$ac_link\"") >&5 2443 (eval $ac_link) 2>&5 2444 ac_status=$? 2445 echo "$as_me:2445: \$? = $ac_status" >&5 3227 2446 (exit $ac_status); } && 3228 { ac_try='test -z "$ac_c_werror_flag" 3229 || test ! -s conftest.err' 3230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2447 { ac_try='test -s conftest$ac_exeext' 2448 { (eval echo "$as_me:2448: \"$ac_try\"") >&5 3231 2449 (eval $ac_try) 2>&5 3232 2450 ac_status=$? 3233 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3234 (exit $ac_status); }; } && 3235 { ac_try='test -s conftest$ac_exeext' 3236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3237 (eval $ac_try) 2>&5 3238 ac_status=$? 3239 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2451 echo "$as_me:2451: \$? = $ac_status" >&5 3240 2452 (exit $ac_status); }; }; then 3241 2453 ac_cv_lib_rt_puts=yes 3242 2454 else 3243 2455 echo "$as_me: failed program was:" >&5 3244 sed 's/^/| /' conftest.$ac_ext >&5 3245 2456 cat conftest.$ac_ext >&5 3246 2457 ac_cv_lib_rt_puts=no 3247 2458 fi 3248 rm -f conftest.err conftest.$ac_objext \ 3249 conftest$ac_exeext conftest.$ac_ext 2459 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3250 2460 LIBS=$ac_check_lib_save_LIBS 3251 2461 fi 3252 echo "$as_me: $LINENO: result: $ac_cv_lib_rt_puts" >&52462 echo "$as_me:2462: result: $ac_cv_lib_rt_puts" >&5 3253 2463 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6 3254 2464 if test $ac_cv_lib_rt_puts = yes; then 3255 cat >>confdefs.h << _ACEOF2465 cat >>confdefs.h <<EOF 3256 2466 #define HAVE_LIBRT 1 3257 _ACEOF2467 EOF 3258 2468 3259 2469 LIBS="-lrt $LIBS" … … 3261 2471 fi 3262 2472 3263 3264 echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 2473 echo "$as_me:2473: checking for puts in -lnsl" >&5 3265 2474 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6 3266 2475 if test "${ac_cv_lib_nsl_puts+set}" = set; then … … 3270 2479 LIBS="-lnsl $LIBS" 3271 2480 cat >conftest.$ac_ext <<_ACEOF 3272 /* confdefs.h. */ 3273 _ACEOF 3274 cat confdefs.h >>conftest.$ac_ext 3275 cat >>conftest.$ac_ext <<_ACEOF 3276 /* end confdefs.h. */ 2481 #line 2481 "configure" 2482 #include "confdefs.h" 3277 2483 3278 2484 /* Override any gcc2 internal prototype to avoid an error. */ … … 3292 2498 _ACEOF 3293 2499 rm -f conftest.$ac_objext conftest$ac_exeext 3294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3295 (eval $ac_link) 2>conftest.er1 3296 ac_status=$? 3297 grep -v '^ *+' conftest.er1 >conftest.err 3298 rm -f conftest.er1 3299 cat conftest.err >&5 3300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2500 if { (eval echo "$as_me:2500: \"$ac_link\"") >&5 2501 (eval $ac_link) 2>&5 2502 ac_status=$? 2503 echo "$as_me:2503: \$? = $ac_status" >&5 3301 2504 (exit $ac_status); } && 3302 { ac_try='test -z "$ac_c_werror_flag" 3303 || test ! -s conftest.err' 3304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2505 { ac_try='test -s conftest$ac_exeext' 2506 { (eval echo "$as_me:2506: \"$ac_try\"") >&5 3305 2507 (eval $ac_try) 2>&5 3306 2508 ac_status=$? 3307 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3308 (exit $ac_status); }; } && 3309 { ac_try='test -s conftest$ac_exeext' 3310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3311 (eval $ac_try) 2>&5 3312 ac_status=$? 3313 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2509 echo "$as_me:2509: \$? = $ac_status" >&5 3314 2510 (exit $ac_status); }; }; then 3315 2511 ac_cv_lib_nsl_puts=yes 3316 2512 else 3317 2513 echo "$as_me: failed program was:" >&5 3318 sed 's/^/| /' conftest.$ac_ext >&5 3319 2514 cat conftest.$ac_ext >&5 3320 2515 ac_cv_lib_nsl_puts=no 3321 2516 fi 3322 rm -f conftest.err conftest.$ac_objext \ 3323 conftest$ac_exeext conftest.$ac_ext 2517 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3324 2518 LIBS=$ac_check_lib_save_LIBS 3325 2519 fi 3326 echo "$as_me: $LINENO: result: $ac_cv_lib_nsl_puts" >&52520 echo "$as_me:2520: result: $ac_cv_lib_nsl_puts" >&5 3327 2521 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6 3328 2522 if test $ac_cv_lib_nsl_puts = yes; then 3329 cat >>confdefs.h << _ACEOF2523 cat >>confdefs.h <<EOF 3330 2524 #define HAVE_LIBNSL 1 3331 _ACEOF2525 EOF 3332 2526 3333 2527 LIBS="-lnsl $LIBS" … … 3335 2529 fi 3336 2530 3337 3338 echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&5 2531 echo "$as_me:2531: result: Setting PJ_M_NAME to $target_cpu" >&5 3339 2532 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6 3340 cat >>confdefs.h << _ACEOF2533 cat >>confdefs.h <<EOF 3341 2534 #define PJ_M_NAME "$target_cpu" 3342 _ACEOF 3343 3344 3345 echo "$as_me:$LINENO: checking memory alignment" >&5 2535 EOF 2536 2537 echo "$as_me:2537: checking memory alignment" >&5 3346 2538 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6 3347 2539 case $target in 3348 2540 ia64-* | x86_64-* ) 3349 cat >>confdefs.h <<\ _ACEOF2541 cat >>confdefs.h <<\EOF 3350 2542 #define PJ_POOL_ALIGNMENT 8 3351 _ACEOF3352 3353 echo "$as_me: $LINENO: result: 8 bytes" >&52543 EOF 2544 2545 echo "$as_me:2545: result: 8 bytes" >&5 3354 2546 echo "${ECHO_T}8 bytes" >&6 3355 2547 ;; 3356 2548 * ) 3357 cat >>confdefs.h <<\ _ACEOF2549 cat >>confdefs.h <<\EOF 3358 2550 #define PJ_POOL_ALIGNMENT 4 3359 _ACEOF3360 3361 echo "$as_me: $LINENO: result: 4 bytes (default)" >&52551 EOF 2552 2553 echo "$as_me:2553: result: 4 bytes (default)" >&5 3362 2554 echo "${ECHO_T}4 bytes (default)" >&6 3363 2555 ;; 3364 2556 esac 3365 2557 3366 3367 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 2558 echo "$as_me:2558: checking whether byte ordering is bigendian" >&5 3368 2559 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 3369 2560 if test "${ac_cv_c_bigendian+set}" = set; then 3370 2561 echo $ECHO_N "(cached) $ECHO_C" >&6 3371 2562 else 3372 # See if sys/param.h defines the BYTE_ORDER macro. 2563 ac_cv_c_bigendian=unknown 2564 # See if sys/param.h defines the BYTE_ORDER macro. 3373 2565 cat >conftest.$ac_ext <<_ACEOF 3374 /* confdefs.h. */ 3375 _ACEOF 3376 cat confdefs.h >>conftest.$ac_ext 3377 cat >>conftest.$ac_ext <<_ACEOF 3378 /* end confdefs.h. */ 2566 #line 2566 "configure" 2567 #include "confdefs.h" 3379 2568 #include <sys/types.h> 3380 2569 #include <sys/param.h> … … 3392 2581 _ACEOF 3393 2582 rm -f conftest.$ac_objext 3394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3395 (eval $ac_compile) 2>conftest.er1 3396 ac_status=$? 3397 grep -v '^ *+' conftest.er1 >conftest.err 3398 rm -f conftest.er1 3399 cat conftest.err >&5 3400 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2583 if { (eval echo "$as_me:2583: \"$ac_compile\"") >&5 2584 (eval $ac_compile) 2>&5 2585 ac_status=$? 2586 echo "$as_me:2586: \$? = $ac_status" >&5 3401 2587 (exit $ac_status); } && 3402 { ac_try='test -z "$ac_c_werror_flag" 3403 || test ! -s conftest.err' 3404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2588 { ac_try='test -s conftest.$ac_objext' 2589 { (eval echo "$as_me:2589: \"$ac_try\"") >&5 3405 2590 (eval $ac_try) 2>&5 3406 2591 ac_status=$? 3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3408 (exit $ac_status); }; } && 3409 { ac_try='test -s conftest.$ac_objext' 3410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3411 (eval $ac_try) 2>&5 3412 ac_status=$? 3413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2592 echo "$as_me:2592: \$? = $ac_status" >&5 3414 2593 (exit $ac_status); }; }; then 3415 2594 # It does; now see whether it defined to BIG_ENDIAN or not. 3416 2595 cat >conftest.$ac_ext <<_ACEOF 3417 /* confdefs.h. */ 3418 _ACEOF 3419 cat confdefs.h >>conftest.$ac_ext 3420 cat >>conftest.$ac_ext <<_ACEOF 3421 /* end confdefs.h. */ 2596 #line 2596 "configure" 2597 #include "confdefs.h" 3422 2598 #include <sys/types.h> 3423 2599 #include <sys/param.h> … … 3435 2611 _ACEOF 3436 2612 rm -f conftest.$ac_objext 3437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3438 (eval $ac_compile) 2>conftest.er1 3439 ac_status=$? 3440 grep -v '^ *+' conftest.er1 >conftest.err 3441 rm -f conftest.er1 3442 cat conftest.err >&5 3443 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2613 if { (eval echo "$as_me:2613: \"$ac_compile\"") >&5 2614 (eval $ac_compile) 2>&5 2615 ac_status=$? 2616 echo "$as_me:2616: \$? = $ac_status" >&5 3444 2617 (exit $ac_status); } && 3445 { ac_try='test -z "$ac_c_werror_flag" 3446 || test ! -s conftest.err' 3447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2618 { ac_try='test -s conftest.$ac_objext' 2619 { (eval echo "$as_me:2619: \"$ac_try\"") >&5 3448 2620 (eval $ac_try) 2>&5 3449 2621 ac_status=$? 3450 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3451 (exit $ac_status); }; } && 3452 { ac_try='test -s conftest.$ac_objext' 3453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3454 (eval $ac_try) 2>&5 3455 ac_status=$? 3456 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2622 echo "$as_me:2622: \$? = $ac_status" >&5 3457 2623 (exit $ac_status); }; }; then 3458 2624 ac_cv_c_bigendian=yes 3459 2625 else 3460 2626 echo "$as_me: failed program was:" >&5 3461 sed 's/^/| /' conftest.$ac_ext >&5 3462 2627 cat conftest.$ac_ext >&5 3463 2628 ac_cv_c_bigendian=no 3464 2629 fi 3465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3466 else 3467 echo "$as_me: failed program was:" >&5 3468 sed 's/^/| /' conftest.$ac_ext >&5 3469 3470 # It does not; compile a test program. 2630 rm -f conftest.$ac_objext conftest.$ac_ext 2631 else 2632 echo "$as_me: failed program was:" >&5 2633 cat conftest.$ac_ext >&5 2634 fi 2635 rm -f conftest.$ac_objext conftest.$ac_ext 2636 if test $ac_cv_c_bigendian = unknown; then 3471 2637 if test "$cross_compiling" = yes; then 3472 # try to guess the endianness by grepping values into an object file 3473 ac_cv_c_bigendian=unknown 2638 { { echo "$as_me:2638: error: cannot run test program while cross compiling" >&5 2639 echo "$as_me: error: cannot run test program while cross compiling" >&2;} 2640 { (exit 1); exit 1; }; } 2641 else 3474 2642 cat >conftest.$ac_ext <<_ACEOF 3475 /* confdefs.h. */ 3476 _ACEOF 3477 cat confdefs.h >>conftest.$ac_ext 3478 cat >>conftest.$ac_ext <<_ACEOF 3479 /* end confdefs.h. */ 3480 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 3481 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 3482 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 3483 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 3484 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 3485 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 3486 int 3487 main () 3488 { 3489 _ascii (); _ebcdic (); 3490 ; 3491 return 0; 3492 } 3493 _ACEOF 3494 rm -f conftest.$ac_objext 3495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3496 (eval $ac_compile) 2>conftest.er1 3497 ac_status=$? 3498 grep -v '^ *+' conftest.er1 >conftest.err 3499 rm -f conftest.er1 3500 cat conftest.err >&5 3501 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3502 (exit $ac_status); } && 3503 { ac_try='test -z "$ac_c_werror_flag" 3504 || test ! -s conftest.err' 3505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3506 (eval $ac_try) 2>&5 3507 ac_status=$? 3508 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3509 (exit $ac_status); }; } && 3510 { ac_try='test -s conftest.$ac_objext' 3511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3512 (eval $ac_try) 2>&5 3513 ac_status=$? 3514 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3515 (exit $ac_status); }; }; then 3516 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 3517 ac_cv_c_bigendian=yes 3518 fi 3519 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 3520 if test "$ac_cv_c_bigendian" = unknown; then 3521 ac_cv_c_bigendian=no 3522 else 3523 # finding both strings is unlikely to happen, but who knows? 3524 ac_cv_c_bigendian=unknown 3525 fi 3526 fi 3527 else 3528 echo "$as_me: failed program was:" >&5 3529 sed 's/^/| /' conftest.$ac_ext >&5 3530 3531 fi 3532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3533 else 3534 cat >conftest.$ac_ext <<_ACEOF 3535 /* confdefs.h. */ 3536 _ACEOF 3537 cat confdefs.h >>conftest.$ac_ext 3538 cat >>conftest.$ac_ext <<_ACEOF 3539 /* end confdefs.h. */ 2643 #line 2643 "configure" 2644 #include "confdefs.h" 3540 2645 int 3541 2646 main () … … 3552 2657 _ACEOF 3553 2658 rm -f conftest$ac_exeext 3554 if { (eval echo "$as_me: $LINENO: \"$ac_link\"") >&52659 if { (eval echo "$as_me:2659: \"$ac_link\"") >&5 3555 2660 (eval $ac_link) 2>&5 3556 2661 ac_status=$? 3557 echo "$as_me: $LINENO: \$? = $ac_status" >&52662 echo "$as_me:2662: \$? = $ac_status" >&5 3558 2663 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3559 { (eval echo "$as_me: $LINENO: \"$ac_try\"") >&52664 { (eval echo "$as_me:2664: \"$ac_try\"") >&5 3560 2665 (eval $ac_try) 2>&5 3561 2666 ac_status=$? 3562 echo "$as_me: $LINENO: \$? = $ac_status" >&52667 echo "$as_me:2667: \$? = $ac_status" >&5 3563 2668 (exit $ac_status); }; }; then 3564 2669 ac_cv_c_bigendian=no … … 3566 2671 echo "$as_me: program exited with status $ac_status" >&5 3567 2672 echo "$as_me: failed program was:" >&5 3568 sed 's/^/| /' conftest.$ac_ext >&5 3569 3570 ( exit $ac_status ) 2673 cat conftest.$ac_ext >&5 3571 2674 ac_cv_c_bigendian=yes 3572 2675 fi 3573 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3574 fi 3575 fi 3576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3577 fi 3578 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 2676 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 2677 fi 2678 fi 2679 fi 2680 echo "$as_me:2680: result: $ac_cv_c_bigendian" >&5 3579 2681 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 3580 case $ac_cv_c_bigendian in 3581 yes) 3582 3583 cat >>confdefs.h <<\_ACEOF 2682 if test $ac_cv_c_bigendian = yes; then 2683 2684 cat >>confdefs.h <<\EOF 3584 2685 #define WORDS_BIGENDIAN 1 3585 _ACEOF 3586 ;; 3587 no) 3588 ;; 3589 *) 3590 { { echo "$as_me:$LINENO: error: unknown endianness 3591 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 3592 echo "$as_me: error: unknown endianness 3593 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 3594 { (exit 1); exit 1; }; } ;; 3595 esac 3596 2686 EOF 2687 2688 fi 3597 2689 3598 2690 case $target in 3599 2691 *mingw* | *cygw* | *win32* | *w32* ) 3600 cat >>confdefs.h <<\ _ACEOF2692 cat >>confdefs.h <<\EOF 3601 2693 #define PJ_WIN32 1 3602 _ACEOF3603 3604 cat >>confdefs.h <<\ _ACEOF2694 EOF 2695 2696 cat >>confdefs.h <<\EOF 3605 2697 #define PJ_WIN32_WINNT 0x0400 3606 _ACEOF3607 3608 cat >>confdefs.h <<\ _ACEOF2698 EOF 2699 2700 cat >>confdefs.h <<\EOF 3609 2701 #define WIN32_LEAN_AND_MEAN 1 3610 _ACEOF2702 EOF 3611 2703 3612 2704 ;; 3613 2705 *darwin*) 3614 cat >>confdefs.h <<\ _ACEOF2706 cat >>confdefs.h <<\EOF 3615 2707 #define PJ_DARWINOS 1 3616 _ACEOF2708 EOF 3617 2709 3618 2710 ;; 3619 2711 *linux*) 3620 cat >>confdefs.h <<\ _ACEOF2712 cat >>confdefs.h <<\EOF 3621 2713 #define PJ_LINUX 1 3622 _ACEOF2714 EOF 3623 2715 3624 2716 ;; 3625 2717 *rtems*) 3626 cat >>confdefs.h <<\ _ACEOF2718 cat >>confdefs.h <<\EOF 3627 2719 #define PJ_RTEMS 1 3628 _ACEOF2720 EOF 3629 2721 3630 2722 ;; 3631 2723 *sunos* | *solaris* ) 3632 cat >>confdefs.h <<\ _ACEOF2724 cat >>confdefs.h <<\EOF 3633 2725 #define PJ_SUNOS 1 3634 _ACEOF2726 EOF 3635 2727 3636 2728 ;; … … 3639 2731 esac 3640 2732 3641 3642 3643 3644 2733 # Check whether --enable-floating-point or --disable-floating-point was given. 3645 2734 if test "${enable_floating_point+set}" = set; then 3646 2735 enableval="$enable_floating_point" 3647 2736 if test "$enable_floating_point" = "no"; then 3648 cat >>confdefs.h <<\ _ACEOF2737 cat >>confdefs.h <<\EOF 3649 2738 #define PJ_HAS_FLOATING_POINT 0 3650 _ACEOF3651 3652 echo "$as_me: $LINENO: result: Checking if floating point is disabled... yes" >&52739 EOF 2740 2741 echo "$as_me:2741: result: Checking if floating point is disabled... yes" >&5 3653 2742 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6 3654 2743 fi 3655 2744 else 3656 2745 3657 cat >>confdefs.h <<\ _ACEOF2746 cat >>confdefs.h <<\EOF 3658 2747 #define PJ_HAS_FLOATING_POINT 1 3659 _ACEOF3660 3661 echo "$as_me: $LINENO: result: Checking if floating point is disabled... no" >&52748 EOF 2749 2750 echo "$as_me:2750: result: Checking if floating point is disabled... no" >&5 3662 2751 echo "${ECHO_T}Checking if floating point is disabled... no" >&6 3663 2752 3664 echo "$as_me: $LINENO: checking for fmod in -lm" >&52753 echo "$as_me:2753: checking for fmod in -lm" >&5 3665 2754 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6 3666 2755 if test "${ac_cv_lib_m_fmod+set}" = set; then … … 3670 2759 LIBS="-lm $LIBS" 3671 2760 cat >conftest.$ac_ext <<_ACEOF 3672 /* confdefs.h. */ 3673 _ACEOF 3674 cat confdefs.h >>conftest.$ac_ext 3675 cat >>conftest.$ac_ext <<_ACEOF 3676 /* end confdefs.h. */ 2761 #line 2761 "configure" 2762 #include "confdefs.h" 3677 2763 3678 2764 /* Override any gcc2 internal prototype to avoid an error. */ … … 3692 2778 _ACEOF 3693 2779 rm -f conftest.$ac_objext conftest$ac_exeext 3694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3695 (eval $ac_link) 2>conftest.er1 3696 ac_status=$? 3697 grep -v '^ *+' conftest.er1 >conftest.err 3698 rm -f conftest.er1 3699 cat conftest.err >&5 3700 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2780 if { (eval echo "$as_me:2780: \"$ac_link\"") >&5 2781 (eval $ac_link) 2>&5 2782 ac_status=$? 2783 echo "$as_me:2783: \$? = $ac_status" >&5 3701 2784 (exit $ac_status); } && 3702 { ac_try='test -z "$ac_c_werror_flag" 3703 || test ! -s conftest.err' 3704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2785 { ac_try='test -s conftest$ac_exeext' 2786 { (eval echo "$as_me:2786: \"$ac_try\"") >&5 3705 2787 (eval $ac_try) 2>&5 3706 2788 ac_status=$? 3707 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3708 (exit $ac_status); }; } && 3709 { ac_try='test -s conftest$ac_exeext' 3710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3711 (eval $ac_try) 2>&5 3712 ac_status=$? 3713 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2789 echo "$as_me:2789: \$? = $ac_status" >&5 3714 2790 (exit $ac_status); }; }; then 3715 2791 ac_cv_lib_m_fmod=yes 3716 2792 else 3717 2793 echo "$as_me: failed program was:" >&5 3718 sed 's/^/| /' conftest.$ac_ext >&5 3719 2794 cat conftest.$ac_ext >&5 3720 2795 ac_cv_lib_m_fmod=no 3721 2796 fi 3722 rm -f conftest.err conftest.$ac_objext \ 3723 conftest$ac_exeext conftest.$ac_ext 2797 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3724 2798 LIBS=$ac_check_lib_save_LIBS 3725 2799 fi 3726 echo "$as_me: $LINENO: result: $ac_cv_lib_m_fmod" >&52800 echo "$as_me:2800: result: $ac_cv_lib_m_fmod" >&5 3727 2801 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6 3728 2802 if test $ac_cv_lib_m_fmod = yes; then 3729 cat >>confdefs.h << _ACEOF2803 cat >>confdefs.h <<EOF 3730 2804 #define HAVE_LIBM 1 3731 _ACEOF2805 EOF 3732 2806 3733 2807 LIBS="-lm $LIBS" … … 3735 2809 fi 3736 2810 3737 3738 2811 fi; 3739 3740 2812 3741 2813 ac_ext=c … … 3744 2816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3745 2817 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3746 echo "$as_me: $LINENO: checking how to run the C preprocessor" >&52818 echo "$as_me:2818: checking how to run the C preprocessor" >&5 3747 2819 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3748 2820 # On Suns, sometimes $CPP names a directory. … … 3762 2834 # Use a header file that comes with gcc, so configuring glibc 3763 2835 # with a fresh cross-compiler works. 3764 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since3765 # <limits.h> exists even on freestanding compilers.3766 2836 # On the NeXT, cc -E runs the code through the compiler's parser, 3767 2837 # not just through cpp. "Syntax error" is here to catch this case. 3768 2838 cat >conftest.$ac_ext <<_ACEOF 3769 /* confdefs.h. */ 3770 _ACEOF 3771 cat confdefs.h >>conftest.$ac_ext 3772 cat >>conftest.$ac_ext <<_ACEOF 3773 /* end confdefs.h. */ 3774 #ifdef __STDC__ 3775 # include <limits.h> 3776 #else 3777 # include <assert.h> 3778 #endif 3779 Syntax error 3780 _ACEOF 3781 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2839 #line 2839 "configure" 2840 #include "confdefs.h" 2841 #include <assert.h> 2842 Syntax error 2843 _ACEOF 2844 if { (eval echo "$as_me:2844: \"$ac_cpp conftest.$ac_ext\"") >&5 3782 2845 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3783 2846 ac_status=$? 3784 grep -v '^ *+' conftest.er1 >conftest.err2847 egrep -v '^ *\+' conftest.er1 >conftest.err 3785 2848 rm -f conftest.er1 3786 2849 cat conftest.err >&5 3787 echo "$as_me: $LINENO: \$? = $ac_status" >&52850 echo "$as_me:2850: \$? = $ac_status" >&5 3788 2851 (exit $ac_status); } >/dev/null; then 3789 2852 if test -s conftest.err; then 3790 2853 ac_cpp_err=$ac_c_preproc_warn_flag 3791 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag3792 2854 else 3793 2855 ac_cpp_err= … … 3800 2862 else 3801 2863 echo "$as_me: failed program was:" >&5 3802 sed 's/^/| /' conftest.$ac_ext >&5 3803 2864 cat conftest.$ac_ext >&5 3804 2865 # Broken: fails on valid input. 3805 2866 continue … … 3810 2871 # can be detected and how. 3811 2872 cat >conftest.$ac_ext <<_ACEOF 3812 /* confdefs.h. */ 3813 _ACEOF 3814 cat confdefs.h >>conftest.$ac_ext 3815 cat >>conftest.$ac_ext <<_ACEOF 3816 /* end confdefs.h. */ 2873 #line 2873 "configure" 2874 #include "confdefs.h" 3817 2875 #include <ac_nonexistent.h> 3818 2876 _ACEOF 3819 if { (eval echo "$as_me: $LINENO: \"$ac_cpp conftest.$ac_ext\"") >&52877 if { (eval echo "$as_me:2877: \"$ac_cpp conftest.$ac_ext\"") >&5 3820 2878 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3821 2879 ac_status=$? 3822 grep -v '^ *+' conftest.er1 >conftest.err2880 egrep -v '^ *\+' conftest.er1 >conftest.err 3823 2881 rm -f conftest.er1 3824 2882 cat conftest.err >&5 3825 echo "$as_me: $LINENO: \$? = $ac_status" >&52883 echo "$as_me:2883: \$? = $ac_status" >&5 3826 2884 (exit $ac_status); } >/dev/null; then 3827 2885 if test -s conftest.err; then 3828 2886 ac_cpp_err=$ac_c_preproc_warn_flag 3829 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag3830 2887 else 3831 2888 ac_cpp_err= … … 3839 2896 else 3840 2897 echo "$as_me: failed program was:" >&5 3841 sed 's/^/| /' conftest.$ac_ext >&5 3842 2898 cat conftest.$ac_ext >&5 3843 2899 # Passes both tests. 3844 2900 ac_preproc_ok=: … … 3862 2918 ac_cv_prog_CPP=$CPP 3863 2919 fi 3864 echo "$as_me: $LINENO: result: $CPP" >&52920 echo "$as_me:2920: result: $CPP" >&5 3865 2921 echo "${ECHO_T}$CPP" >&6 3866 2922 ac_preproc_ok=false … … 3869 2925 # Use a header file that comes with gcc, so configuring glibc 3870 2926 # with a fresh cross-compiler works. 3871 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since3872 # <limits.h> exists even on freestanding compilers.3873 2927 # On the NeXT, cc -E runs the code through the compiler's parser, 3874 2928 # not just through cpp. "Syntax error" is here to catch this case. 3875 2929 cat >conftest.$ac_ext <<_ACEOF 3876 /* confdefs.h. */ 3877 _ACEOF 3878 cat confdefs.h >>conftest.$ac_ext 3879 cat >>conftest.$ac_ext <<_ACEOF 3880 /* end confdefs.h. */ 3881 #ifdef __STDC__ 3882 # include <limits.h> 3883 #else 3884 # include <assert.h> 3885 #endif 3886 Syntax error 3887 _ACEOF 3888 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2930 #line 2930 "configure" 2931 #include "confdefs.h" 2932 #include <assert.h> 2933 Syntax error 2934 _ACEOF 2935 if { (eval echo "$as_me:2935: \"$ac_cpp conftest.$ac_ext\"") >&5 3889 2936 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3890 2937 ac_status=$? 3891 grep -v '^ *+' conftest.er1 >conftest.err2938 egrep -v '^ *\+' conftest.er1 >conftest.err 3892 2939 rm -f conftest.er1 3893 2940 cat conftest.err >&5 3894 echo "$as_me: $LINENO: \$? = $ac_status" >&52941 echo "$as_me:2941: \$? = $ac_status" >&5 3895 2942 (exit $ac_status); } >/dev/null; then 3896 2943 if test -s conftest.err; then 3897 2944 ac_cpp_err=$ac_c_preproc_warn_flag 3898 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag3899 2945 else 3900 2946 ac_cpp_err= … … 3907 2953 else 3908 2954 echo "$as_me: failed program was:" >&5 3909 sed 's/^/| /' conftest.$ac_ext >&5 3910 2955 cat conftest.$ac_ext >&5 3911 2956 # Broken: fails on valid input. 3912 2957 continue … … 3917 2962 # can be detected and how. 3918 2963 cat >conftest.$ac_ext <<_ACEOF 3919 /* confdefs.h. */ 3920 _ACEOF 3921 cat confdefs.h >>conftest.$ac_ext 3922 cat >>conftest.$ac_ext <<_ACEOF 3923 /* end confdefs.h. */ 2964 #line 2964 "configure" 2965 #include "confdefs.h" 3924 2966 #include <ac_nonexistent.h> 3925 2967 _ACEOF 3926 if { (eval echo "$as_me: $LINENO: \"$ac_cpp conftest.$ac_ext\"") >&52968 if { (eval echo "$as_me:2968: \"$ac_cpp conftest.$ac_ext\"") >&5 3927 2969 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3928 2970 ac_status=$? 3929 grep -v '^ *+' conftest.er1 >conftest.err2971 egrep -v '^ *\+' conftest.er1 >conftest.err 3930 2972 rm -f conftest.er1 3931 2973 cat conftest.err >&5 3932 echo "$as_me: $LINENO: \$? = $ac_status" >&52974 echo "$as_me:2974: \$? = $ac_status" >&5 3933 2975 (exit $ac_status); } >/dev/null; then 3934 2976 if test -s conftest.err; then 3935 2977 ac_cpp_err=$ac_c_preproc_warn_flag 3936 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag3937 2978 else 3938 2979 ac_cpp_err= … … 3946 2987 else 3947 2988 echo "$as_me: failed program was:" >&5 3948 sed 's/^/| /' conftest.$ac_ext >&5 3949 2989 cat conftest.$ac_ext >&5 3950 2990 # Passes both tests. 3951 2991 ac_preproc_ok=: … … 3960 3000 : 3961 3001 else 3962 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3963 See \`config.log' for more details." >&5 3964 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3965 See \`config.log' for more details." >&2;} 3002 { { echo "$as_me:3002: error: C preprocessor \"$CPP\" fails sanity check" >&5 3003 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 3966 3004 { (exit 1); exit 1; }; } 3967 3005 fi … … 3973 3011 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3974 3012 3975 3976 echo "$as_me:$LINENO: checking for egrep" >&5 3977 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3978 if test "${ac_cv_prog_egrep+set}" = set; then 3979 echo $ECHO_N "(cached) $ECHO_C" >&6 3980 else 3981 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3982 then ac_cv_prog_egrep='grep -E' 3983 else ac_cv_prog_egrep='egrep' 3984 fi 3985 fi 3986 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3987 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3988 EGREP=$ac_cv_prog_egrep 3989 3990 3991 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3992 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3993 if test "${ac_cv_header_stdc+set}" = set; then 3994 echo $ECHO_N "(cached) $ECHO_C" >&6 3995 else 3996 cat >conftest.$ac_ext <<_ACEOF 3997 /* confdefs.h. */ 3998 _ACEOF 3999 cat confdefs.h >>conftest.$ac_ext 4000 cat >>conftest.$ac_ext <<_ACEOF 4001 /* end confdefs.h. */ 4002 #include <stdlib.h> 4003 #include <stdarg.h> 4004 #include <string.h> 4005 #include <float.h> 4006 4007 int 4008 main () 4009 { 4010 4011 ; 4012 return 0; 4013 } 4014 _ACEOF 4015 rm -f conftest.$ac_objext 4016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4017 (eval $ac_compile) 2>conftest.er1 4018 ac_status=$? 4019 grep -v '^ *+' conftest.er1 >conftest.err 4020 rm -f conftest.er1 4021 cat conftest.err >&5 4022 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4023 (exit $ac_status); } && 4024 { ac_try='test -z "$ac_c_werror_flag" 4025 || test ! -s conftest.err' 4026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4027 (eval $ac_try) 2>&5 4028 ac_status=$? 4029 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4030 (exit $ac_status); }; } && 4031 { ac_try='test -s conftest.$ac_objext' 4032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4033 (eval $ac_try) 2>&5 4034 ac_status=$? 4035 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4036 (exit $ac_status); }; }; then 4037 ac_cv_header_stdc=yes 4038 else 4039 echo "$as_me: failed program was:" >&5 4040 sed 's/^/| /' conftest.$ac_ext >&5 4041 4042 ac_cv_header_stdc=no 4043 fi 4044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4045 4046 if test $ac_cv_header_stdc = yes; then 4047 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4048 cat >conftest.$ac_ext <<_ACEOF 4049 /* confdefs.h. */ 4050 _ACEOF 4051 cat confdefs.h >>conftest.$ac_ext 4052 cat >>conftest.$ac_ext <<_ACEOF 4053 /* end confdefs.h. */ 4054 #include <string.h> 4055 4056 _ACEOF 4057 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4058 $EGREP "memchr" >/dev/null 2>&1; then 4059 : 4060 else 4061 ac_cv_header_stdc=no 4062 fi 4063 rm -f conftest* 4064 4065 fi 4066 4067 if test $ac_cv_header_stdc = yes; then 4068 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4069 cat >conftest.$ac_ext <<_ACEOF 4070 /* confdefs.h. */ 4071 _ACEOF 4072 cat confdefs.h >>conftest.$ac_ext 4073 cat >>conftest.$ac_ext <<_ACEOF 4074 /* end confdefs.h. */ 4075 #include <stdlib.h> 4076 4077 _ACEOF 4078 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4079 $EGREP "free" >/dev/null 2>&1; then 4080 : 4081 else 4082 ac_cv_header_stdc=no 4083 fi 4084 rm -f conftest* 4085 4086 fi 4087 4088 if test $ac_cv_header_stdc = yes; then 4089 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4090 if test "$cross_compiling" = yes; then 4091 : 4092 else 4093 cat >conftest.$ac_ext <<_ACEOF 4094 /* confdefs.h. */ 4095 _ACEOF 4096 cat confdefs.h >>conftest.$ac_ext 4097 cat >>conftest.$ac_ext <<_ACEOF 4098 /* end confdefs.h. */ 4099 #include <ctype.h> 4100 #if ((' ' & 0x0FF) == 0x020) 4101 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4102 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4103 #else 4104 # define ISLOWER(c) \ 4105 (('a' <= (c) && (c) <= 'i') \ 4106 || ('j' <= (c) && (c) <= 'r') \ 4107 || ('s' <= (c) && (c) <= 'z')) 4108 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4109 #endif 4110 4111 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4112 int 4113 main () 4114 { 4115 int i; 4116 for (i = 0; i < 256; i++) 4117 if (XOR (islower (i), ISLOWER (i)) 4118 || toupper (i) != TOUPPER (i)) 4119 exit(2); 4120 exit (0); 4121 } 4122 _ACEOF 4123 rm -f conftest$ac_exeext 4124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4125 (eval $ac_link) 2>&5 4126 ac_status=$? 4127 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4128 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4130 (eval $ac_try) 2>&5 4131 ac_status=$? 4132 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4133 (exit $ac_status); }; }; then 4134 : 4135 else 4136 echo "$as_me: program exited with status $ac_status" >&5 4137 echo "$as_me: failed program was:" >&5 4138 sed 's/^/| /' conftest.$ac_ext >&5 4139 4140 ( exit $ac_status ) 4141 ac_cv_header_stdc=no 4142 fi 4143 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4144 fi 4145 fi 4146 fi 4147 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4148 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4149 if test $ac_cv_header_stdc = yes; then 4150 4151 cat >>confdefs.h <<\_ACEOF 4152 #define STDC_HEADERS 1 4153 _ACEOF 4154 4155 fi 4156 4157 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4168 inttypes.h stdint.h unistd.h 4169 do 4170 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4171 echo "$as_me:$LINENO: checking for $ac_header" >&5 4172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4173 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4174 echo $ECHO_N "(cached) $ECHO_C" >&6 4175 else 4176 cat >conftest.$ac_ext <<_ACEOF 4177 /* confdefs.h. */ 4178 _ACEOF 4179 cat confdefs.h >>conftest.$ac_ext 4180 cat >>conftest.$ac_ext <<_ACEOF 4181 /* end confdefs.h. */ 4182 $ac_includes_default 4183 4184 #include <$ac_header> 4185 _ACEOF 4186 rm -f conftest.$ac_objext 4187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4188 (eval $ac_compile) 2>conftest.er1 4189 ac_status=$? 4190 grep -v '^ *+' conftest.er1 >conftest.err 4191 rm -f conftest.er1 4192 cat conftest.err >&5 4193 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4194 (exit $ac_status); } && 4195 { ac_try='test -z "$ac_c_werror_flag" 4196 || test ! -s conftest.err' 4197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4198 (eval $ac_try) 2>&5 4199 ac_status=$? 4200 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4201 (exit $ac_status); }; } && 4202 { ac_try='test -s conftest.$ac_objext' 4203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4204 (eval $ac_try) 2>&5 4205 ac_status=$? 4206 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4207 (exit $ac_status); }; }; then 4208 eval "$as_ac_Header=yes" 4209 else 4210 echo "$as_me: failed program was:" >&5 4211 sed 's/^/| /' conftest.$ac_ext >&5 4212 4213 eval "$as_ac_Header=no" 4214 fi 4215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4216 fi 4217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4219 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4220 cat >>confdefs.h <<_ACEOF 4221 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4222 _ACEOF 4223 4224 fi 4225 4226 done 4227 4228 4229 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 4230 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 3013 echo "$as_me:3013: checking for arpa/inet.h" >&5 4231 3014 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 4232 3015 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 4233 3016 echo $ECHO_N "(cached) $ECHO_C" >&6 4234 fi 4235 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 4236 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 4237 else 4238 # Is the header compilable? 4239 echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 4240 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6 4241 cat >conftest.$ac_ext <<_ACEOF 4242 /* confdefs.h. */ 4243 _ACEOF 4244 cat confdefs.h >>conftest.$ac_ext 4245 cat >>conftest.$ac_ext <<_ACEOF 4246 /* end confdefs.h. */ 4247 $ac_includes_default 3017 else 3018 cat >conftest.$ac_ext <<_ACEOF 3019 #line 3019 "configure" 3020 #include "confdefs.h" 4248 3021 #include <arpa/inet.h> 4249 3022 _ACEOF 4250 rm -f conftest.$ac_objext 4251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4252 (eval $ac_compile) 2>conftest.er1 4253 ac_status=$? 4254 grep -v '^ *+' conftest.er1 >conftest.err 3023 if { (eval echo "$as_me:3023: \"$ac_cpp conftest.$ac_ext\"") >&5 3024 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3025 ac_status=$? 3026 egrep -v '^ *\+' conftest.er1 >conftest.err 4255 3027 rm -f conftest.er1 4256 3028 cat conftest.err >&5 4257 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4258 (exit $ac_status); } && 4259 { ac_try='test -z "$ac_c_werror_flag" 4260 || test ! -s conftest.err' 4261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4262 (eval $ac_try) 2>&5 4263 ac_status=$? 4264 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4265 (exit $ac_status); }; } && 4266 { ac_try='test -s conftest.$ac_objext' 4267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4268 (eval $ac_try) 2>&5 4269 ac_status=$? 4270 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4271 (exit $ac_status); }; }; then 4272 ac_header_compiler=yes 4273 else 4274 echo "$as_me: failed program was:" >&5 4275 sed 's/^/| /' conftest.$ac_ext >&5 4276 4277 ac_header_compiler=no 4278 fi 4279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4280 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4281 echo "${ECHO_T}$ac_header_compiler" >&6 4282 4283 # Is the header present? 4284 echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 4285 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6 4286 cat >conftest.$ac_ext <<_ACEOF 4287 /* confdefs.h. */ 4288 _ACEOF 4289 cat confdefs.h >>conftest.$ac_ext 4290 cat >>conftest.$ac_ext <<_ACEOF 4291 /* end confdefs.h. */ 4292 #include <arpa/inet.h> 4293 _ACEOF 4294 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4295 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4296 ac_status=$? 4297 grep -v '^ *+' conftest.er1 >conftest.err 4298 rm -f conftest.er1 4299 cat conftest.err >&5 4300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3029 echo "$as_me:3029: \$? = $ac_status" >&5 4301 3030 (exit $ac_status); } >/dev/null; then 4302 3031 if test -s conftest.err; then 4303 3032 ac_cpp_err=$ac_c_preproc_warn_flag 4304 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag4305 3033 else 4306 3034 ac_cpp_err= … … 4310 3038 fi 4311 3039 if test -z "$ac_cpp_err"; then 4312 ac_header_preproc=yes 4313 else 4314 echo "$as_me: failed program was:" >&5 4315 sed 's/^/| /' conftest.$ac_ext >&5 4316 4317 ac_header_preproc=no 3040 ac_cv_header_arpa_inet_h=yes 3041 else 3042 echo "$as_me: failed program was:" >&5 3043 cat conftest.$ac_ext >&5 3044 ac_cv_header_arpa_inet_h=no 4318 3045 fi 4319 3046 rm -f conftest.err conftest.$ac_ext 4320 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4321 echo "${ECHO_T}$ac_header_preproc" >&6 4322 4323 # So? What about this header? 4324 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4325 yes:no: ) 4326 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 4327 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4328 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 4329 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} 4330 ac_header_preproc=yes 4331 ;; 4332 no:yes:* ) 4333 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 4334 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 4335 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5 4336 echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;} 4337 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 4338 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} 4339 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5 4340 echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;} 4341 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 4342 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 4343 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 4344 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 4345 ( 4346 cat <<\_ASBOX 4347 ## ------------------------------------ ## 4348 ## Report this to the pjproject lists. ## 4349 ## ------------------------------------ ## 4350 _ASBOX 4351 ) | 4352 sed "s/^/$as_me: WARNING: /" >&2 4353 ;; 4354 esac 4355 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 4356 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 4357 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 4358 echo $ECHO_N "(cached) $ECHO_C" >&6 4359 else 4360 ac_cv_header_arpa_inet_h=$ac_header_preproc 4361 fi 4362 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 3047 fi 3048 echo "$as_me:3048: result: $ac_cv_header_arpa_inet_h" >&5 4363 3049 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 4364 4365 fi4366 3050 if test $ac_cv_header_arpa_inet_h = yes; then 4367 cat >>confdefs.h <<\ _ACEOF3051 cat >>confdefs.h <<\EOF 4368 3052 #define PJ_HAS_ARPA_INET_H 1 4369 _ACEOF 4370 4371 fi 4372 4373 4374 if test "${ac_cv_header_assert_h+set}" = set; then 4375 echo "$as_me:$LINENO: checking for assert.h" >&5 3053 EOF 3054 3055 fi 3056 3057 echo "$as_me:3057: checking for assert.h" >&5 4376 3058 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6 4377 3059 if test "${ac_cv_header_assert_h+set}" = set; then 4378 3060 echo $ECHO_N "(cached) $ECHO_C" >&6 4379 fi 4380 echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 4381 echo "${ECHO_T}$ac_cv_header_assert_h" >&6 4382 else 4383 # Is the header compilable? 4384 echo "$as_me:$LINENO: checking assert.h usability" >&5 4385 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6 4386 cat >conftest.$ac_ext <<_ACEOF 4387 /* confdefs.h. */ 4388 _ACEOF 4389 cat confdefs.h >>conftest.$ac_ext 4390 cat >>conftest.$ac_ext <<_ACEOF 4391 /* end confdefs.h. */ 4392 $ac_includes_default 3061 else 3062 cat >conftest.$ac_ext <<_ACEOF 3063 #line 3063 "configure" 3064 #include "confdefs.h" 4393 3065 #include <assert.h> 4394 3066 _ACEOF 4395 rm -f conftest.$ac_objext 4396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4397 (eval $ac_compile) 2>conftest.er1 4398 ac_status=$? 4399 grep -v '^ *+' conftest.er1 >conftest.err 3067 if { (eval echo "$as_me:3067: \"$ac_cpp conftest.$ac_ext\"") >&5 3068 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3069 ac_status=$? 3070 egrep -v '^ *\+' conftest.er1 >conftest.err 4400 3071 rm -f conftest.er1 4401 3072 cat conftest.err >&5 4402 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4403 (exit $ac_status); } && 4404 { ac_try='test -z "$ac_c_werror_flag" 4405 || test ! -s conftest.err' 4406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4407 (eval $ac_try) 2>&5 4408 ac_status=$? 4409 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4410 (exit $ac_status); }; } && 4411 { ac_try='test -s conftest.$ac_objext' 4412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4413 (eval $ac_try) 2>&5 4414 ac_status=$? 4415 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4416 (exit $ac_status); }; }; then 4417 ac_header_compiler=yes 4418 else 4419 echo "$as_me: failed program was:" >&5 4420 sed 's/^/| /' conftest.$ac_ext >&5 4421 4422 ac_header_compiler=no 4423 fi 4424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4425 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4426 echo "${ECHO_T}$ac_header_compiler" >&6 4427 4428 # Is the header present? 4429 echo "$as_me:$LINENO: checking assert.h presence" >&5 4430 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6 4431 cat >conftest.$ac_ext <<_ACEOF 4432 /* confdefs.h. */ 4433 _ACEOF 4434 cat confdefs.h >>conftest.$ac_ext 4435 cat >>conftest.$ac_ext <<_ACEOF 4436 /* end confdefs.h. */ 4437 #include <assert.h> 4438 _ACEOF 4439 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4440 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4441 ac_status=$? 4442 grep -v '^ *+' conftest.er1 >conftest.err 4443 rm -f conftest.er1 4444 cat conftest.err >&5 4445 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3073 echo "$as_me:3073: \$? = $ac_status" >&5 4446 3074 (exit $ac_status); } >/dev/null; then 4447 3075 if test -s conftest.err; then 4448 3076 ac_cpp_err=$ac_c_preproc_warn_flag 4449 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag4450 3077 else 4451 3078 ac_cpp_err= … … 4455 3082 fi 4456 3083 if test -z "$ac_cpp_err"; then 4457 ac_header_preproc=yes 4458 else 4459 echo "$as_me: failed program was:" >&5 4460 sed 's/^/| /' conftest.$ac_ext >&5 4461 4462 ac_header_preproc=no 3084 ac_cv_header_assert_h=yes 3085 else 3086 echo "$as_me: failed program was:" >&5 3087 cat conftest.$ac_ext >&5 3088 ac_cv_header_assert_h=no 4463 3089 fi 4464 3090 rm -f conftest.err conftest.$ac_ext 4465 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4466 echo "${ECHO_T}$ac_header_preproc" >&6 4467 4468 # So? What about this header? 4469 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4470 yes:no: ) 4471 { echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5 4472 echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4473 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the compiler's result" >&5 4474 echo "$as_me: WARNING: assert.h: proceeding with the compiler's result" >&2;} 4475 ac_header_preproc=yes 4476 ;; 4477 no:yes:* ) 4478 { echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5 4479 echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;} 4480 { echo "$as_me:$LINENO: WARNING: assert.h: check for missing prerequisite headers?" >&5 4481 echo "$as_me: WARNING: assert.h: check for missing prerequisite headers?" >&2;} 4482 { echo "$as_me:$LINENO: WARNING: assert.h: see the Autoconf documentation" >&5 4483 echo "$as_me: WARNING: assert.h: see the Autoconf documentation" >&2;} 4484 { echo "$as_me:$LINENO: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&5 4485 echo "$as_me: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&2;} 4486 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result" >&5 4487 echo "$as_me: WARNING: assert.h: proceeding with the preprocessor's result" >&2;} 4488 { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 4489 echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 4490 ( 4491 cat <<\_ASBOX 4492 ## ------------------------------------ ## 4493 ## Report this to the pjproject lists. ## 4494 ## ------------------------------------ ## 4495 _ASBOX 4496 ) | 4497 sed "s/^/$as_me: WARNING: /" >&2 4498 ;; 4499 esac 4500 echo "$as_me:$LINENO: checking for assert.h" >&5 4501 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6 4502 if test "${ac_cv_header_assert_h+set}" = set; then 4503 echo $ECHO_N "(cached) $ECHO_C" >&6 4504 else 4505 ac_cv_header_assert_h=$ac_header_preproc 4506 fi 4507 echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 3091 fi 3092 echo "$as_me:3092: result: $ac_cv_header_assert_h" >&5 4508 3093 echo "${ECHO_T}$ac_cv_header_assert_h" >&6 4509 4510 fi4511 3094 if test $ac_cv_header_assert_h = yes; then 4512 cat >>confdefs.h <<\ _ACEOF3095 cat >>confdefs.h <<\EOF 4513 3096 #define PJ_HAS_ASSERT_H 1 4514 _ACEOF 4515 4516 fi 4517 4518 4519 if test "${ac_cv_header_ctype_h+set}" = set; then 4520 echo "$as_me:$LINENO: checking for ctype.h" >&5 3097 EOF 3098 3099 fi 3100 3101 echo "$as_me:3101: checking for ctype.h" >&5 4521 3102 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6 4522 3103 if test "${ac_cv_header_ctype_h+set}" = set; then 4523 3104 echo $ECHO_N "(cached) $ECHO_C" >&6 4524 fi 4525 echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 4526 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6 4527 else 4528 # Is the header compilable? 4529 echo "$as_me:$LINENO: checking ctype.h usability" >&5 4530 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6 4531 cat >conftest.$ac_ext <<_ACEOF 4532 /* confdefs.h. */ 4533 _ACEOF 4534 cat confdefs.h >>conftest.$ac_ext 4535 cat >>conftest.$ac_ext <<_ACEOF 4536 /* end confdefs.h. */ 4537 $ac_includes_default 3105 else 3106 cat >conftest.$ac_ext <<_ACEOF 3107 #line 3107 "configure" 3108 #include "confdefs.h" 4538 3109 #include <ctype.h> 4539 3110 _ACEOF 4540 rm -f conftest.$ac_objext 4541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4542 (eval $ac_compile) 2>conftest.er1 4543 ac_status=$? 4544 grep -v '^ *+' conftest.er1 >conftest.err 3111 if { (eval echo "$as_me:3111: \"$ac_cpp conftest.$ac_ext\"") >&5 3112 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3113 ac_status=$? 3114 egrep -v '^ *\+' conftest.er1 >conftest.err 4545 3115 rm -f conftest.er1 4546 3116 cat conftest.err >&5 4547 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4548 (exit $ac_status); } && 4549 { ac_try='test -z "$ac_c_werror_flag" 4550 || test ! -s conftest.err' 4551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4552 (eval $ac_try) 2>&5 4553 ac_status=$? 4554 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4555 (exit $ac_status); }; } && 4556 { ac_try='test -s conftest.$ac_objext' 4557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4558 (eval $ac_try) 2>&5 4559 ac_status=$? 4560 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4561 (exit $ac_status); }; }; then 4562 ac_header_compiler=yes 4563 else 4564 echo "$as_me: failed program was:" >&5 4565 sed 's/^/| /' conftest.$ac_ext >&5 4566 4567 ac_header_compiler=no 4568 fi 4569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4570 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4571 echo "${ECHO_T}$ac_header_compiler" >&6 4572 4573 # Is the header present? 4574 echo "$as_me:$LINENO: checking ctype.h presence" >&5 4575 echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6 4576 cat >conftest.$ac_ext <<_ACEOF 4577 /* confdefs.h. */ 4578 _ACEOF 4579 cat confdefs.h >>conftest.$ac_ext 4580 cat >>conftest.$ac_ext <<_ACEOF 4581 /* end confdefs.h. */ 4582 #include <ctype.h> 4583 _ACEOF 4584 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4585 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4586 ac_status=$? 4587 grep -v '^ *+' conftest.er1 >conftest.err 4588 rm -f conftest.er1 4589 cat conftest.err >&5 4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3117 echo "$as_me:3117: \$? = $ac_status" >&5 4591 3118 (exit $ac_status); } >/dev/null; then 4592 3119 if test -s conftest.err; then 4593 3120 ac_cpp_err=$ac_c_preproc_warn_flag 4594 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag4595 3121 else 4596 3122 ac_cpp_err= … … 4600 3126 fi 4601 3127 if test -z "$ac_cpp_err"; then 4602 ac_header_preproc=yes 4603 else 4604 echo "$as_me: failed program was:" >&5 4605 sed 's/^/| /' conftest.$ac_ext >&5 4606 4607 ac_header_preproc=no 3128 ac_cv_header_ctype_h=yes 3129 else 3130 echo "$as_me: failed program was:" >&5 3131 cat conftest.$ac_ext >&5 3132 ac_cv_header_ctype_h=no 4608 3133 fi 4609 3134 rm -f conftest.err conftest.$ac_ext 4610 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4611 echo "${ECHO_T}$ac_header_preproc" >&6 4612 4613 # So? What about this header? 4614 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4615 yes:no: ) 4616 { echo "$as_me:$LINENO: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&5 4617 echo "$as_me: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4618 { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the compiler's result" >&5 4619 echo "$as_me: WARNING: ctype.h: proceeding with the compiler's result" >&2;} 4620 ac_header_preproc=yes 4621 ;; 4622 no:yes:* ) 4623 { echo "$as_me:$LINENO: WARNING: ctype.h: present but cannot be compiled" >&5 4624 echo "$as_me: WARNING: ctype.h: present but cannot be compiled" >&2;} 4625 { echo "$as_me:$LINENO: WARNING: ctype.h: check for missing prerequisite headers?" >&5 4626 echo "$as_me: WARNING: ctype.h: check for missing prerequisite headers?" >&2;} 4627 { echo "$as_me:$LINENO: WARNING: ctype.h: see the Autoconf documentation" >&5 4628 echo "$as_me: WARNING: ctype.h: see the Autoconf documentation" >&2;} 4629 { echo "$as_me:$LINENO: WARNING: ctype.h: section \"Present But Cannot Be Compiled\"" >&5 4630 echo "$as_me: WARNING: ctype.h: section \"Present But Cannot Be Compiled\"" >&2;} 4631 { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the preprocessor's result" >&5 4632 echo "$as_me: WARNING: ctype.h: proceeding with the preprocessor's result" >&2;} 4633 { echo "$as_me:$LINENO: WARNING: ctype.h: in the future, the compiler will take precedence" >&5 4634 echo "$as_me: WARNING: ctype.h: in the future, the compiler will take precedence" >&2;} 4635 ( 4636 cat <<\_ASBOX 4637 ## ------------------------------------ ## 4638 ## Report this to the pjproject lists. ## 4639 ## ------------------------------------ ## 4640 _ASBOX 4641 ) | 4642 sed "s/^/$as_me: WARNING: /" >&2 4643 ;; 4644 esac 4645 echo "$as_me:$LINENO: checking for ctype.h" >&5 4646 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6 4647 if test "${ac_cv_header_ctype_h+set}" = set; then 4648 echo $ECHO_N "(cached) $ECHO_C" >&6 4649 else 4650 ac_cv_header_ctype_h=$ac_header_preproc 4651 fi 4652 echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 3135 fi 3136 echo "$as_me:3136: result: $ac_cv_header_ctype_h" >&5 4653 3137 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6 4654 4655 fi4656 3138 if test $ac_cv_header_ctype_h = yes; then 4657 cat >>confdefs.h <<\ _ACEOF3139 cat >>confdefs.h <<\EOF 4658 3140 #define PJ_HAS_CTYPE_H 1 4659 _ACEOF 4660 4661 fi 4662 4663 3141 EOF 3142 3143 fi 4664 3144 4665 3145 case $target in 4666 3146 *mingw* | *cygw* | *win32* | *w32* ) 4667 cat >>confdefs.h <<\ _ACEOF3147 cat >>confdefs.h <<\EOF 4668 3148 #define PJ_HAS_ERRNO_H 0 4669 _ACEOF3149 EOF 4670 3150 4671 3151 ;; 4672 3152 *) 4673 if test "${ac_cv_header_errno_h+set}" = set; then 4674 echo "$as_me:$LINENO: checking for errno.h" >&5 3153 echo "$as_me:3153: checking for errno.h" >&5 4675 3154 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6 4676 3155 if test "${ac_cv_header_errno_h+set}" = set; then 4677 3156 echo $ECHO_N "(cached) $ECHO_C" >&6 4678 fi 4679 echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 4680 echo "${ECHO_T}$ac_cv_header_errno_h" >&6 4681 else 4682 # Is the header compilable? 4683 echo "$as_me:$LINENO: checking errno.h usability" >&5 4684 echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6 4685 cat >conftest.$ac_ext <<_ACEOF 4686 /* confdefs.h. */ 4687 _ACEOF 4688 cat confdefs.h >>conftest.$ac_ext 4689 cat >>conftest.$ac_ext <<_ACEOF 4690 /* end confdefs.h. */ 4691 $ac_includes_default 3157 else 3158 cat >conftest.$ac_ext <<_ACEOF 3159 #line 3159 "configure" 3160 #include "confdefs.h" 4692 3161 #include <errno.h> 4693 3162 _ACEOF 4694 rm -f conftest.$ac_objext 4695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4696 (eval $ac_compile) 2>conftest.er1 4697 ac_status=$? 4698 grep -v '^ *+' conftest.er1 >conftest.err 3163 if { (eval echo "$as_me:3163: \"$ac_cpp conftest.$ac_ext\"") >&5 3164 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3165 ac_status=$? 3166 egrep -v '^ *\+' conftest.er1 >conftest.err 4699 3167 rm -f conftest.er1 4700 3168 cat conftest.err >&5 4701 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4702 (exit $ac_status); } && 4703 { ac_try='test -z "$ac_c_werror_flag" 4704 || test ! -s conftest.err' 4705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4706 (eval $ac_try) 2>&5 4707 ac_status=$? 4708 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4709 (exit $ac_status); }; } && 4710 { ac_try='test -s conftest.$ac_objext' 4711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4712 (eval $ac_try) 2>&5 4713 ac_status=$? 4714 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4715 (exit $ac_status); }; }; then 4716 ac_header_compiler=yes 4717 else 4718 echo "$as_me: failed program was:" >&5 4719 sed 's/^/| /' conftest.$ac_ext >&5 4720 4721 ac_header_compiler=no 4722 fi 4723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4724 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4725 echo "${ECHO_T}$ac_header_compiler" >&6 4726 4727 # Is the header present? 4728 echo "$as_me:$LINENO: checking errno.h presence" >&5 4729 echo $ECHO_N "checking errno.h presence... $ECHO_C" >&6 4730 cat >conftest.$ac_ext <<_ACEOF 4731 /* confdefs.h. */ 4732 _ACEOF 4733 cat confdefs.h >>conftest.$ac_ext 4734 cat >>conftest.$ac_ext <<_ACEOF 4735 /* end confdefs.h. */ 4736 #include <errno.h> 4737 _ACEOF 4738 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4739 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4740 ac_status=$? 4741 grep -v '^ *+' conftest.er1 >conftest.err 4742 rm -f conftest.er1 4743 cat conftest.err >&5 4744 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3169 echo "$as_me:3169: \$? = $ac_status" >&5 4745 3170 (exit $ac_status); } >/dev/null; then 4746 3171 if test -s conftest.err; then 4747 3172 ac_cpp_err=$ac_c_preproc_warn_flag 4748 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag4749 3173 else 4750 3174 ac_cpp_err= … … 4754 3178 fi 4755 3179 if test -z "$ac_cpp_err"; then 4756 ac_header_preproc=yes 4757 else 4758 echo "$as_me: failed program was:" >&5 4759 sed 's/^/| /' conftest.$ac_ext >&5 4760 4761 ac_header_preproc=no 3180 ac_cv_header_errno_h=yes 3181 else 3182 echo "$as_me: failed program was:" >&5 3183 cat conftest.$ac_ext >&5 3184 ac_cv_header_errno_h=no 4762 3185 fi 4763 3186 rm -f conftest.err conftest.$ac_ext 4764 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4765 echo "${ECHO_T}$ac_header_preproc" >&6 4766 4767 # So? What about this header? 4768 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4769 yes:no: ) 4770 { echo "$as_me:$LINENO: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&5 4771 echo "$as_me: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4772 { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the compiler's result" >&5 4773 echo "$as_me: WARNING: errno.h: proceeding with the compiler's result" >&2;} 4774 ac_header_preproc=yes 4775 ;; 4776 no:yes:* ) 4777 { echo "$as_me:$LINENO: WARNING: errno.h: present but cannot be compiled" >&5 4778 echo "$as_me: WARNING: errno.h: present but cannot be compiled" >&2;} 4779 { echo "$as_me:$LINENO: WARNING: errno.h: check for missing prerequisite headers?" >&5 4780 echo "$as_me: WARNING: errno.h: check for missing prerequisite headers?" >&2;} 4781 { echo "$as_me:$LINENO: WARNING: errno.h: see the Autoconf documentation" >&5 4782 echo "$as_me: WARNING: errno.h: see the Autoconf documentation" >&2;} 4783 { echo "$as_me:$LINENO: WARNING: errno.h: section \"Present But Cannot Be Compiled\"" >&5 4784 echo "$as_me: WARNING: errno.h: section \"Present But Cannot Be Compiled\"" >&2;} 4785 { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5 4786 echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;} 4787 { echo "$as_me:$LINENO: WARNING: errno.h: in the future, the compiler will take precedence" >&5 4788 echo "$as_me: WARNING: errno.h: in the future, the compiler will take precedence" >&2;} 4789 ( 4790 cat <<\_ASBOX 4791 ## ------------------------------------ ## 4792 ## Report this to the pjproject lists. ## 4793 ## ------------------------------------ ## 4794 _ASBOX 4795 ) | 4796 sed "s/^/$as_me: WARNING: /" >&2 4797 ;; 4798 esac 4799 echo "$as_me:$LINENO: checking for errno.h" >&5 4800 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6 4801 if test "${ac_cv_header_errno_h+set}" = set; then 4802 echo $ECHO_N "(cached) $ECHO_C" >&6 4803 else 4804 ac_cv_header_errno_h=$ac_header_preproc 4805 fi 4806 echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 3187 fi 3188 echo "$as_me:3188: result: $ac_cv_header_errno_h" >&5 4807 3189 echo "${ECHO_T}$ac_cv_header_errno_h" >&6 4808 4809 fi4810 3190 if test $ac_cv_header_errno_h = yes; then 4811 cat >>confdefs.h <<\ _ACEOF3191 cat >>confdefs.h <<\EOF 4812 3192 #define PJ_HAS_ERRNO_H 1 4813 _ACEOF 4814 4815 fi 4816 3193 EOF 3194 3195 fi 4817 3196 4818 3197 ;; 4819 3198 esac 4820 3199 4821 if test "${ac_cv_header_linux_socket_h+set}" = set; then 4822 echo "$as_me:$LINENO: checking for linux/socket.h" >&5 3200 echo "$as_me:3200: checking for linux/socket.h" >&5 4823 3201 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6 4824 3202 if test "${ac_cv_header_linux_socket_h+set}" = set; then 4825 3203 echo $ECHO_N "(cached) $ECHO_C" >&6 4826 fi 4827 echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 4828 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6 4829 else 4830 # Is the header compilable? 4831 echo "$as_me:$LINENO: checking linux/socket.h usability" >&5 4832 echo $ECHO_N "checking linux/socket.h usability... $ECHO_C" >&6 4833 cat >conftest.$ac_ext <<_ACEOF 4834 /* confdefs.h. */ 4835 _ACEOF 4836 cat confdefs.h >>conftest.$ac_ext 4837 cat >>conftest.$ac_ext <<_ACEOF 4838 /* end confdefs.h. */ 4839 $ac_includes_default 3204 else 3205 cat >conftest.$ac_ext <<_ACEOF 3206 #line 3206 "configure" 3207 #include "confdefs.h" 4840 3208 #include <linux/socket.h> 4841 3209 _ACEOF 4842 rm -f conftest.$ac_objext 4843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4844 (eval $ac_compile) 2>conftest.er1 4845 ac_status=$? 4846 grep -v '^ *+' conftest.er1 >conftest.err 3210 if { (eval echo "$as_me:3210: \"$ac_cpp conftest.$ac_ext\"") >&5 3211 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3212 ac_status=$? 3213 egrep -v '^ *\+' conftest.er1 >conftest.err 4847 3214 rm -f conftest.er1 4848 3215 cat conftest.err >&5 4849 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4850 (exit $ac_status); } && 4851 { ac_try='test -z "$ac_c_werror_flag" 4852 || test ! -s conftest.err' 4853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4854 (eval $ac_try) 2>&5 4855 ac_status=$? 4856 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4857 (exit $ac_status); }; } && 4858 { ac_try='test -s conftest.$ac_objext' 4859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4860 (eval $ac_try) 2>&5 4861 ac_status=$? 4862 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4863 (exit $ac_status); }; }; then 4864 ac_header_compiler=yes 4865 else 4866 echo "$as_me: failed program was:" >&5 4867 sed 's/^/| /' conftest.$ac_ext >&5 4868 4869 ac_header_compiler=no 4870 fi 4871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4872 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4873 echo "${ECHO_T}$ac_header_compiler" >&6 4874 4875 # Is the header present? 4876 echo "$as_me:$LINENO: checking linux/socket.h presence" >&5 4877 echo $ECHO_N "checking linux/socket.h presence... $ECHO_C" >&6 4878 cat >conftest.$ac_ext <<_ACEOF 4879 /* confdefs.h. */ 4880 _ACEOF 4881 cat confdefs.h >>conftest.$ac_ext 4882 cat >>conftest.$ac_ext <<_ACEOF 4883 /* end confdefs.h. */ 4884 #include <linux/socket.h> 4885 _ACEOF 4886 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4887 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4888 ac_status=$? 4889 grep -v '^ *+' conftest.er1 >conftest.err 4890 rm -f conftest.er1 4891 cat conftest.err >&5 4892 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3216 echo "$as_me:3216: \$? = $ac_status" >&5 4893 3217 (exit $ac_status); } >/dev/null; then 4894 3218 if test -s conftest.err; then 4895 3219 ac_cpp_err=$ac_c_preproc_warn_flag 4896 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag4897 3220 else 4898 3221 ac_cpp_err= … … 4902 3225 fi 4903 3226 if test -z "$ac_cpp_err"; then 4904 ac_header_preproc=yes 4905 else 4906 echo "$as_me: failed program was:" >&5 4907 sed 's/^/| /' conftest.$ac_ext >&5 4908 4909 ac_header_preproc=no 3227 ac_cv_header_linux_socket_h=yes 3228 else 3229 echo "$as_me: failed program was:" >&5 3230 cat conftest.$ac_ext >&5 3231 ac_cv_header_linux_socket_h=no 4910 3232 fi 4911 3233 rm -f conftest.err conftest.$ac_ext 4912 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4913 echo "${ECHO_T}$ac_header_preproc" >&6 4914 4915 # So? What about this header? 4916 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4917 yes:no: ) 4918 { echo "$as_me:$LINENO: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 4919 echo "$as_me: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4920 { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the compiler's result" >&5 4921 echo "$as_me: WARNING: linux/socket.h: proceeding with the compiler's result" >&2;} 4922 ac_header_preproc=yes 4923 ;; 4924 no:yes:* ) 4925 { echo "$as_me:$LINENO: WARNING: linux/socket.h: present but cannot be compiled" >&5 4926 echo "$as_me: WARNING: linux/socket.h: present but cannot be compiled" >&2;} 4927 { echo "$as_me:$LINENO: WARNING: linux/socket.h: check for missing prerequisite headers?" >&5 4928 echo "$as_me: WARNING: linux/socket.h: check for missing prerequisite headers?" >&2;} 4929 { echo "$as_me:$LINENO: WARNING: linux/socket.h: see the Autoconf documentation" >&5 4930 echo "$as_me: WARNING: linux/socket.h: see the Autoconf documentation" >&2;} 4931 { echo "$as_me:$LINENO: WARNING: linux/socket.h: section \"Present But Cannot Be Compiled\"" >&5 4932 echo "$as_me: WARNING: linux/socket.h: section \"Present But Cannot Be Compiled\"" >&2;} 4933 { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&5 4934 echo "$as_me: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&2;} 4935 { echo "$as_me:$LINENO: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&5 4936 echo "$as_me: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&2;} 4937 ( 4938 cat <<\_ASBOX 4939 ## ------------------------------------ ## 4940 ## Report this to the pjproject lists. ## 4941 ## ------------------------------------ ## 4942 _ASBOX 4943 ) | 4944 sed "s/^/$as_me: WARNING: /" >&2 4945 ;; 4946 esac 4947 echo "$as_me:$LINENO: checking for linux/socket.h" >&5 4948 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6 4949 if test "${ac_cv_header_linux_socket_h+set}" = set; then 4950 echo $ECHO_N "(cached) $ECHO_C" >&6 4951 else 4952 ac_cv_header_linux_socket_h=$ac_header_preproc 4953 fi 4954 echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 3234 fi 3235 echo "$as_me:3235: result: $ac_cv_header_linux_socket_h" >&5 4955 3236 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6 4956 4957 fi4958 3237 if test $ac_cv_header_linux_socket_h = yes; then 4959 cat >>confdefs.h <<\ _ACEOF3238 cat >>confdefs.h <<\EOF 4960 3239 #define PJ_HAS_LINUX_SOCKET_H 1 4961 _ACEOF 4962 4963 fi 4964 4965 4966 if test "${ac_cv_header_malloc_h+set}" = set; then 4967 echo "$as_me:$LINENO: checking for malloc.h" >&5 3240 EOF 3241 3242 fi 3243 3244 echo "$as_me:3244: checking for malloc.h" >&5 4968 3245 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6 4969 3246 if test "${ac_cv_header_malloc_h+set}" = set; then 4970 3247 echo $ECHO_N "(cached) $ECHO_C" >&6 4971 fi 4972 echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 4973 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6 4974 else 4975 # Is the header compilable? 4976 echo "$as_me:$LINENO: checking malloc.h usability" >&5 4977 echo $ECHO_N "checking malloc.h usability... $ECHO_C" >&6 4978 cat >conftest.$ac_ext <<_ACEOF 4979 /* confdefs.h. */ 4980 _ACEOF 4981 cat confdefs.h >>conftest.$ac_ext 4982 cat >>conftest.$ac_ext <<_ACEOF 4983 /* end confdefs.h. */ 4984 $ac_includes_default 3248 else 3249 cat >conftest.$ac_ext <<_ACEOF 3250 #line 3250 "configure" 3251 #include "confdefs.h" 4985 3252 #include <malloc.h> 4986 3253 _ACEOF 4987 rm -f conftest.$ac_objext 4988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4989 (eval $ac_compile) 2>conftest.er1 4990 ac_status=$? 4991 grep -v '^ *+' conftest.er1 >conftest.err 3254 if { (eval echo "$as_me:3254: \"$ac_cpp conftest.$ac_ext\"") >&5 3255 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3256 ac_status=$? 3257 egrep -v '^ *\+' conftest.er1 >conftest.err 4992 3258 rm -f conftest.er1 4993 3259 cat conftest.err >&5 4994 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4995 (exit $ac_status); } && 4996 { ac_try='test -z "$ac_c_werror_flag" 4997 || test ! -s conftest.err' 4998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4999 (eval $ac_try) 2>&5 5000 ac_status=$? 5001 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5002 (exit $ac_status); }; } && 5003 { ac_try='test -s conftest.$ac_objext' 5004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5005 (eval $ac_try) 2>&5 5006 ac_status=$? 5007 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5008 (exit $ac_status); }; }; then 5009 ac_header_compiler=yes 5010 else 5011 echo "$as_me: failed program was:" >&5 5012 sed 's/^/| /' conftest.$ac_ext >&5 5013 5014 ac_header_compiler=no 5015 fi 5016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5017 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5018 echo "${ECHO_T}$ac_header_compiler" >&6 5019 5020 # Is the header present? 5021 echo "$as_me:$LINENO: checking malloc.h presence" >&5 5022 echo $ECHO_N "checking malloc.h presence... $ECHO_C" >&6 5023 cat >conftest.$ac_ext <<_ACEOF 5024 /* confdefs.h. */ 5025 _ACEOF 5026 cat confdefs.h >>conftest.$ac_ext 5027 cat >>conftest.$ac_ext <<_ACEOF 5028 /* end confdefs.h. */ 5029 #include <malloc.h> 5030 _ACEOF 5031 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5032 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5033 ac_status=$? 5034 grep -v '^ *+' conftest.er1 >conftest.err 5035 rm -f conftest.er1 5036 cat conftest.err >&5 5037 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3260 echo "$as_me:3260: \$? = $ac_status" >&5 5038 3261 (exit $ac_status); } >/dev/null; then 5039 3262 if test -s conftest.err; then 5040 3263 ac_cpp_err=$ac_c_preproc_warn_flag 5041 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag5042 3264 else 5043 3265 ac_cpp_err= … … 5047 3269 fi 5048 3270 if test -z "$ac_cpp_err"; then 5049 ac_header_preproc=yes 5050 else 5051 echo "$as_me: failed program was:" >&5 5052 sed 's/^/| /' conftest.$ac_ext >&5 5053 5054 ac_header_preproc=no 3271 ac_cv_header_malloc_h=yes 3272 else 3273 echo "$as_me: failed program was:" >&5 3274 cat conftest.$ac_ext >&5 3275 ac_cv_header_malloc_h=no 5055 3276 fi 5056 3277 rm -f conftest.err conftest.$ac_ext 5057 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5058 echo "${ECHO_T}$ac_header_preproc" >&6 5059 5060 # So? What about this header? 5061 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5062 yes:no: ) 5063 { echo "$as_me:$LINENO: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 5064 echo "$as_me: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5065 { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the compiler's result" >&5 5066 echo "$as_me: WARNING: malloc.h: proceeding with the compiler's result" >&2;} 5067 ac_header_preproc=yes 5068 ;; 5069 no:yes:* ) 5070 { echo "$as_me:$LINENO: WARNING: malloc.h: present but cannot be compiled" >&5 5071 echo "$as_me: WARNING: malloc.h: present but cannot be compiled" >&2;} 5072 { echo "$as_me:$LINENO: WARNING: malloc.h: check for missing prerequisite headers?" >&5 5073 echo "$as_me: WARNING: malloc.h: check for missing prerequisite headers?" >&2;} 5074 { echo "$as_me:$LINENO: WARNING: malloc.h: see the Autoconf documentation" >&5 5075 echo "$as_me: WARNING: malloc.h: see the Autoconf documentation" >&2;} 5076 { echo "$as_me:$LINENO: WARNING: malloc.h: section \"Present But Cannot Be Compiled\"" >&5 5077 echo "$as_me: WARNING: malloc.h: section \"Present But Cannot Be Compiled\"" >&2;} 5078 { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5 5079 echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;} 5080 { echo "$as_me:$LINENO: WARNING: malloc.h: in the future, the compiler will take precedence" >&5 5081 echo "$as_me: WARNING: malloc.h: in the future, the compiler will take precedence" >&2;} 5082 ( 5083 cat <<\_ASBOX 5084 ## ------------------------------------ ## 5085 ## Report this to the pjproject lists. ## 5086 ## ------------------------------------ ## 5087 _ASBOX 5088 ) | 5089 sed "s/^/$as_me: WARNING: /" >&2 5090 ;; 5091 esac 5092 echo "$as_me:$LINENO: checking for malloc.h" >&5 5093 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6 5094 if test "${ac_cv_header_malloc_h+set}" = set; then 5095 echo $ECHO_N "(cached) $ECHO_C" >&6 5096 else 5097 ac_cv_header_malloc_h=$ac_header_preproc 5098 fi 5099 echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 3278 fi 3279 echo "$as_me:3279: result: $ac_cv_header_malloc_h" >&5 5100 3280 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6 5101 5102 fi5103 3281 if test $ac_cv_header_malloc_h = yes; then 5104 cat >>confdefs.h <<\ _ACEOF3282 cat >>confdefs.h <<\EOF 5105 3283 #define PJ_HAS_MALLOC_H 1 5106 _ACEOF 5107 5108 fi 5109 5110 5111 if test "${ac_cv_header_netdb_h+set}" = set; then 5112 echo "$as_me:$LINENO: checking for netdb.h" >&5 3284 EOF 3285 3286 fi 3287 3288 echo "$as_me:3288: checking for netdb.h" >&5 5113 3289 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6 5114 3290 if test "${ac_cv_header_netdb_h+set}" = set; then 5115 3291 echo $ECHO_N "(cached) $ECHO_C" >&6 5116 fi 5117 echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 5118 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6 5119 else 5120 # Is the header compilable? 5121 echo "$as_me:$LINENO: checking netdb.h usability" >&5 5122 echo $ECHO_N "checking netdb.h usability... $ECHO_C" >&6 5123 cat >conftest.$ac_ext <<_ACEOF 5124 /* confdefs.h. */ 5125 _ACEOF 5126 cat confdefs.h >>conftest.$ac_ext 5127 cat >>conftest.$ac_ext <<_ACEOF 5128 /* end confdefs.h. */ 5129 $ac_includes_default 3292 else 3293 cat >conftest.$ac_ext <<_ACEOF 3294 #line 3294 "configure" 3295 #include "confdefs.h" 5130 3296 #include <netdb.h> 5131 3297 _ACEOF 5132 rm -f conftest.$ac_objext 5133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5134 (eval $ac_compile) 2>conftest.er1 5135 ac_status=$? 5136 grep -v '^ *+' conftest.er1 >conftest.err 3298 if { (eval echo "$as_me:3298: \"$ac_cpp conftest.$ac_ext\"") >&5 3299 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3300 ac_status=$? 3301 egrep -v '^ *\+' conftest.er1 >conftest.err 5137 3302 rm -f conftest.er1 5138 3303 cat conftest.err >&5 5139 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5140 (exit $ac_status); } && 5141 { ac_try='test -z "$ac_c_werror_flag" 5142 || test ! -s conftest.err' 5143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5144 (eval $ac_try) 2>&5 5145 ac_status=$? 5146 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5147 (exit $ac_status); }; } && 5148 { ac_try='test -s conftest.$ac_objext' 5149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5150 (eval $ac_try) 2>&5 5151 ac_status=$? 5152 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5153 (exit $ac_status); }; }; then 5154 ac_header_compiler=yes 5155 else 5156 echo "$as_me: failed program was:" >&5 5157 sed 's/^/| /' conftest.$ac_ext >&5 5158 5159 ac_header_compiler=no 5160 fi 5161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5162 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5163 echo "${ECHO_T}$ac_header_compiler" >&6 5164 5165 # Is the header present? 5166 echo "$as_me:$LINENO: checking netdb.h presence" >&5 5167 echo $ECHO_N "checking netdb.h presence... $ECHO_C" >&6 5168 cat >conftest.$ac_ext <<_ACEOF 5169 /* confdefs.h. */ 5170 _ACEOF 5171 cat confdefs.h >>conftest.$ac_ext 5172 cat >>conftest.$ac_ext <<_ACEOF 5173 /* end confdefs.h. */ 5174 #include <netdb.h> 5175 _ACEOF 5176 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5177 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5178 ac_status=$? 5179 grep -v '^ *+' conftest.er1 >conftest.err 5180 rm -f conftest.er1 5181 cat conftest.err >&5 5182 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3304 echo "$as_me:3304: \$? = $ac_status" >&5 5183 3305 (exit $ac_status); } >/dev/null; then 5184 3306 if test -s conftest.err; then 5185 3307 ac_cpp_err=$ac_c_preproc_warn_flag 5186 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag5187 3308 else 5188 3309 ac_cpp_err= … … 5192 3313 fi 5193 3314 if test -z "$ac_cpp_err"; then 5194 ac_header_preproc=yes 5195 else 5196 echo "$as_me: failed program was:" >&5 5197 sed 's/^/| /' conftest.$ac_ext >&5 5198 5199 ac_header_preproc=no 3315 ac_cv_header_netdb_h=yes 3316 else 3317 echo "$as_me: failed program was:" >&5 3318 cat conftest.$ac_ext >&5 3319 ac_cv_header_netdb_h=no 5200 3320 fi 5201 3321 rm -f conftest.err conftest.$ac_ext 5202 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5203 echo "${ECHO_T}$ac_header_preproc" >&6 5204 5205 # So? What about this header? 5206 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5207 yes:no: ) 5208 { echo "$as_me:$LINENO: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&5 5209 echo "$as_me: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5210 { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the compiler's result" >&5 5211 echo "$as_me: WARNING: netdb.h: proceeding with the compiler's result" >&2;} 5212 ac_header_preproc=yes 5213 ;; 5214 no:yes:* ) 5215 { echo "$as_me:$LINENO: WARNING: netdb.h: present but cannot be compiled" >&5 5216 echo "$as_me: WARNING: netdb.h: present but cannot be compiled" >&2;} 5217 { echo "$as_me:$LINENO: WARNING: netdb.h: check for missing prerequisite headers?" >&5 5218 echo "$as_me: WARNING: netdb.h: check for missing prerequisite headers?" >&2;} 5219 { echo "$as_me:$LINENO: WARNING: netdb.h: see the Autoconf documentation" >&5 5220 echo "$as_me: WARNING: netdb.h: see the Autoconf documentation" >&2;} 5221 { echo "$as_me:$LINENO: WARNING: netdb.h: section \"Present But Cannot Be Compiled\"" >&5 5222 echo "$as_me: WARNING: netdb.h: section \"Present But Cannot Be Compiled\"" >&2;} 5223 { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the preprocessor's result" >&5 5224 echo "$as_me: WARNING: netdb.h: proceeding with the preprocessor's result" >&2;} 5225 { echo "$as_me:$LINENO: WARNING: netdb.h: in the future, the compiler will take precedence" >&5 5226 echo "$as_me: WARNING: netdb.h: in the future, the compiler will take precedence" >&2;} 5227 ( 5228 cat <<\_ASBOX 5229 ## ------------------------------------ ## 5230 ## Report this to the pjproject lists. ## 5231 ## ------------------------------------ ## 5232 _ASBOX 5233 ) | 5234 sed "s/^/$as_me: WARNING: /" >&2 5235 ;; 5236 esac 5237 echo "$as_me:$LINENO: checking for netdb.h" >&5 5238 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6 5239 if test "${ac_cv_header_netdb_h+set}" = set; then 5240 echo $ECHO_N "(cached) $ECHO_C" >&6 5241 else 5242 ac_cv_header_netdb_h=$ac_header_preproc 5243 fi 5244 echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 3322 fi 3323 echo "$as_me:3323: result: $ac_cv_header_netdb_h" >&5 5245 3324 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6 5246 5247 fi5248 3325 if test $ac_cv_header_netdb_h = yes; then 5249 cat >>confdefs.h <<\ _ACEOF3326 cat >>confdefs.h <<\EOF 5250 3327 #define PJ_HAS_NETDB_H 1 5251 _ACEOF 5252 5253 fi 5254 5255 5256 if test "${ac_cv_header_netinet_in_h+set}" = set; then 5257 echo "$as_me:$LINENO: checking for netinet/in.h" >&5 3328 EOF 3329 3330 fi 3331 3332 echo "$as_me:3332: checking for netinet/in.h" >&5 5258 3333 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 5259 3334 if test "${ac_cv_header_netinet_in_h+set}" = set; then 5260 3335 echo $ECHO_N "(cached) $ECHO_C" >&6 5261 fi 5262 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 5263 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 5264 else 5265 # Is the header compilable? 5266 echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 5267 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6 5268 cat >conftest.$ac_ext <<_ACEOF 5269 /* confdefs.h. */ 5270 _ACEOF 5271 cat confdefs.h >>conftest.$ac_ext 5272 cat >>conftest.$ac_ext <<_ACEOF 5273 /* end confdefs.h. */ 5274 $ac_includes_default 3336 else 3337 cat >conftest.$ac_ext <<_ACEOF 3338 #line 3338 "configure" 3339 #include "confdefs.h" 5275 3340 #include <netinet/in.h> 5276 3341 _ACEOF 5277 rm -f conftest.$ac_objext 5278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5279 (eval $ac_compile) 2>conftest.er1 5280 ac_status=$? 5281 grep -v '^ *+' conftest.er1 >conftest.err 3342 if { (eval echo "$as_me:3342: \"$ac_cpp conftest.$ac_ext\"") >&5 3343 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3344 ac_status=$? 3345 egrep -v '^ *\+' conftest.er1 >conftest.err 5282 3346 rm -f conftest.er1 5283 3347 cat conftest.err >&5 5284 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5285 (exit $ac_status); } && 5286 { ac_try='test -z "$ac_c_werror_flag" 5287 || test ! -s conftest.err' 5288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5289 (eval $ac_try) 2>&5 5290 ac_status=$? 5291 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5292 (exit $ac_status); }; } && 5293 { ac_try='test -s conftest.$ac_objext' 5294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5295 (eval $ac_try) 2>&5 5296 ac_status=$? 5297 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5298 (exit $ac_status); }; }; then 5299 ac_header_compiler=yes 5300 else 5301 echo "$as_me: failed program was:" >&5 5302 sed 's/^/| /' conftest.$ac_ext >&5 5303 5304 ac_header_compiler=no 5305 fi 5306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5307 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5308 echo "${ECHO_T}$ac_header_compiler" >&6 5309 5310 # Is the header present? 5311 echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 5312 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6 5313 cat >conftest.$ac_ext <<_ACEOF 5314 /* confdefs.h. */ 5315 _ACEOF 5316 cat confdefs.h >>conftest.$ac_ext 5317 cat >>conftest.$ac_ext <<_ACEOF 5318 /* end confdefs.h. */ 5319 #include <netinet/in.h> 5320 _ACEOF 5321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5322 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5323 ac_status=$? 5324 grep -v '^ *+' conftest.er1 >conftest.err 5325 rm -f conftest.er1 5326 cat conftest.err >&5 5327 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3348 echo "$as_me:3348: \$? = $ac_status" >&5 5328 3349 (exit $ac_status); } >/dev/null; then 5329 3350 if test -s conftest.err; then 5330 3351 ac_cpp_err=$ac_c_preproc_warn_flag 5331 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag5332 3352 else 5333 3353 ac_cpp_err= … … 5337 3357 fi 5338 3358 if test -z "$ac_cpp_err"; then 5339 ac_header_preproc=yes 5340 else 5341 echo "$as_me: failed program was:" >&5 5342 sed 's/^/| /' conftest.$ac_ext >&5 5343 5344 ac_header_preproc=no 3359 ac_cv_header_netinet_in_h=yes 3360 else 3361 echo "$as_me: failed program was:" >&5 3362 cat conftest.$ac_ext >&5 3363 ac_cv_header_netinet_in_h=no 5345 3364 fi 5346 3365 rm -f conftest.err conftest.$ac_ext 5347 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5348 echo "${ECHO_T}$ac_header_preproc" >&6 5349 5350 # So? What about this header? 5351 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5352 yes:no: ) 5353 { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 5354 echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5355 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5 5356 echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;} 5357 ac_header_preproc=yes 5358 ;; 5359 no:yes:* ) 5360 { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 5361 echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} 5362 { echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5 5363 echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;} 5364 { echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5 5365 echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;} 5366 { echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5 5367 echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;} 5368 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 5369 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} 5370 { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 5371 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} 5372 ( 5373 cat <<\_ASBOX 5374 ## ------------------------------------ ## 5375 ## Report this to the pjproject lists. ## 5376 ## ------------------------------------ ## 5377 _ASBOX 5378 ) | 5379 sed "s/^/$as_me: WARNING: /" >&2 5380 ;; 5381 esac 5382 echo "$as_me:$LINENO: checking for netinet/in.h" >&5 5383 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 5384 if test "${ac_cv_header_netinet_in_h+set}" = set; then 5385 echo $ECHO_N "(cached) $ECHO_C" >&6 5386 else 5387 ac_cv_header_netinet_in_h=$ac_header_preproc 5388 fi 5389 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 3366 fi 3367 echo "$as_me:3367: result: $ac_cv_header_netinet_in_h" >&5 5390 3368 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 5391 5392 fi5393 3369 if test $ac_cv_header_netinet_in_h = yes; then 5394 cat >>confdefs.h <<\ _ACEOF3370 cat >>confdefs.h <<\EOF 5395 3371 #define PJ_HAS_NETINET_IN_H 1 5396 _ACEOF 5397 5398 fi 5399 5400 5401 if test "${ac_cv_header_setjmp_h+set}" = set; then 5402 echo "$as_me:$LINENO: checking for setjmp.h" >&5 3372 EOF 3373 3374 fi 3375 3376 echo "$as_me:3376: checking for setjmp.h" >&5 5403 3377 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6 5404 3378 if test "${ac_cv_header_setjmp_h+set}" = set; then 5405 3379 echo $ECHO_N "(cached) $ECHO_C" >&6 5406 fi 5407 echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 5408 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6 5409 else 5410 # Is the header compilable? 5411 echo "$as_me:$LINENO: checking setjmp.h usability" >&5 5412 echo $ECHO_N "checking setjmp.h usability... $ECHO_C" >&6 5413 cat >conftest.$ac_ext <<_ACEOF 5414 /* confdefs.h. */ 5415 _ACEOF 5416 cat confdefs.h >>conftest.$ac_ext 5417 cat >>conftest.$ac_ext <<_ACEOF 5418 /* end confdefs.h. */ 5419 $ac_includes_default 3380 else 3381 cat >conftest.$ac_ext <<_ACEOF 3382 #line 3382 "configure" 3383 #include "confdefs.h" 5420 3384 #include <setjmp.h> 5421 3385 _ACEOF 5422 rm -f conftest.$ac_objext 5423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5424 (eval $ac_compile) 2>conftest.er1 5425 ac_status=$? 5426 grep -v '^ *+' conftest.er1 >conftest.err 3386 if { (eval echo "$as_me:3386: \"$ac_cpp conftest.$ac_ext\"") >&5 3387 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3388 ac_status=$? 3389 egrep -v '^ *\+' conftest.er1 >conftest.err 5427 3390 rm -f conftest.er1 5428 3391 cat conftest.err >&5 5429 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5430 (exit $ac_status); } && 5431 { ac_try='test -z "$ac_c_werror_flag" 5432 || test ! -s conftest.err' 5433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5434 (eval $ac_try) 2>&5 5435 ac_status=$? 5436 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5437 (exit $ac_status); }; } && 5438 { ac_try='test -s conftest.$ac_objext' 5439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5440 (eval $ac_try) 2>&5 5441 ac_status=$? 5442 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5443 (exit $ac_status); }; }; then 5444 ac_header_compiler=yes 5445 else 5446 echo "$as_me: failed program was:" >&5 5447 sed 's/^/| /' conftest.$ac_ext >&5 5448 5449 ac_header_compiler=no 5450 fi 5451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5452 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5453 echo "${ECHO_T}$ac_header_compiler" >&6 5454 5455 # Is the header present? 5456 echo "$as_me:$LINENO: checking setjmp.h presence" >&5 5457 echo $ECHO_N "checking setjmp.h presence... $ECHO_C" >&6 5458 cat >conftest.$ac_ext <<_ACEOF 5459 /* confdefs.h. */ 5460 _ACEOF 5461 cat confdefs.h >>conftest.$ac_ext 5462 cat >>conftest.$ac_ext <<_ACEOF 5463 /* end confdefs.h. */ 5464 #include <setjmp.h> 5465 _ACEOF 5466 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5467 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5468 ac_status=$? 5469 grep -v '^ *+' conftest.er1 >conftest.err 5470 rm -f conftest.er1 5471 cat conftest.err >&5 5472 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3392 echo "$as_me:3392: \$? = $ac_status" >&5 5473 3393 (exit $ac_status); } >/dev/null; then 5474 3394 if test -s conftest.err; then 5475 3395 ac_cpp_err=$ac_c_preproc_warn_flag 5476 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag5477 3396 else 5478 3397 ac_cpp_err= … … 5482 3401 fi 5483 3402 if test -z "$ac_cpp_err"; then 5484 ac_header_preproc=yes 5485 else 5486 echo "$as_me: failed program was:" >&5 5487 sed 's/^/| /' conftest.$ac_ext >&5 5488 5489 ac_header_preproc=no 3403 ac_cv_header_setjmp_h=yes 3404 else 3405 echo "$as_me: failed program was:" >&5 3406 cat conftest.$ac_ext >&5 3407 ac_cv_header_setjmp_h=no 5490 3408 fi 5491 3409 rm -f conftest.err conftest.$ac_ext 5492 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5493 echo "${ECHO_T}$ac_header_preproc" >&6 5494 5495 # So? What about this header? 5496 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5497 yes:no: ) 5498 { echo "$as_me:$LINENO: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 5499 echo "$as_me: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5500 { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the compiler's result" >&5 5501 echo "$as_me: WARNING: setjmp.h: proceeding with the compiler's result" >&2;} 5502 ac_header_preproc=yes 5503 ;; 5504 no:yes:* ) 5505 { echo "$as_me:$LINENO: WARNING: setjmp.h: present but cannot be compiled" >&5 5506 echo "$as_me: WARNING: setjmp.h: present but cannot be compiled" >&2;} 5507 { echo "$as_me:$LINENO: WARNING: setjmp.h: check for missing prerequisite headers?" >&5 5508 echo "$as_me: WARNING: setjmp.h: check for missing prerequisite headers?" >&2;} 5509 { echo "$as_me:$LINENO: WARNING: setjmp.h: see the Autoconf documentation" >&5 5510 echo "$as_me: WARNING: setjmp.h: see the Autoconf documentation" >&2;} 5511 { echo "$as_me:$LINENO: WARNING: setjmp.h: section \"Present But Cannot Be Compiled\"" >&5 5512 echo "$as_me: WARNING: setjmp.h: section \"Present But Cannot Be Compiled\"" >&2;} 5513 { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the preprocessor's result" >&5 5514 echo "$as_me: WARNING: setjmp.h: proceeding with the preprocessor's result" >&2;} 5515 { echo "$as_me:$LINENO: WARNING: setjmp.h: in the future, the compiler will take precedence" >&5 5516 echo "$as_me: WARNING: setjmp.h: in the future, the compiler will take precedence" >&2;} 5517 ( 5518 cat <<\_ASBOX 5519 ## ------------------------------------ ## 5520 ## Report this to the pjproject lists. ## 5521 ## ------------------------------------ ## 5522 _ASBOX 5523 ) | 5524 sed "s/^/$as_me: WARNING: /" >&2 5525 ;; 5526 esac 5527 echo "$as_me:$LINENO: checking for setjmp.h" >&5 5528 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6 5529 if test "${ac_cv_header_setjmp_h+set}" = set; then 5530 echo $ECHO_N "(cached) $ECHO_C" >&6 5531 else 5532 ac_cv_header_setjmp_h=$ac_header_preproc 5533 fi 5534 echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 3410 fi 3411 echo "$as_me:3411: result: $ac_cv_header_setjmp_h" >&5 5535 3412 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6 5536 5537 fi5538 3413 if test $ac_cv_header_setjmp_h = yes; then 5539 cat >>confdefs.h <<\ _ACEOF3414 cat >>confdefs.h <<\EOF 5540 3415 #define PJ_HAS_SETJMP_H 1 5541 _ACEOF 5542 5543 fi 5544 5545 5546 if test "${ac_cv_header_stdarg_h+set}" = set; then 5547 echo "$as_me:$LINENO: checking for stdarg.h" >&5 3416 EOF 3417 3418 fi 3419 3420 echo "$as_me:3420: checking for stdarg.h" >&5 5548 3421 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6 5549 3422 if test "${ac_cv_header_stdarg_h+set}" = set; then 5550 3423 echo $ECHO_N "(cached) $ECHO_C" >&6 5551 fi 5552 echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 5553 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6 5554 else 5555 # Is the header compilable? 5556 echo "$as_me:$LINENO: checking stdarg.h usability" >&5 5557 echo $ECHO_N "checking stdarg.h usability... $ECHO_C" >&6 5558 cat >conftest.$ac_ext <<_ACEOF 5559 /* confdefs.h. */ 5560 _ACEOF 5561 cat confdefs.h >>conftest.$ac_ext 5562 cat >>conftest.$ac_ext <<_ACEOF 5563 /* end confdefs.h. */ 5564 $ac_includes_default 3424 else 3425 cat >conftest.$ac_ext <<_ACEOF 3426 #line 3426 "configure" 3427 #include "confdefs.h" 5565 3428 #include <stdarg.h> 5566 3429 _ACEOF 5567 rm -f conftest.$ac_objext 5568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5569 (eval $ac_compile) 2>conftest.er1 5570 ac_status=$? 5571 grep -v '^ *+' conftest.er1 >conftest.err 3430 if { (eval echo "$as_me:3430: \"$ac_cpp conftest.$ac_ext\"") >&5 3431 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3432 ac_status=$? 3433 egrep -v '^ *\+' conftest.er1 >conftest.err 5572 3434 rm -f conftest.er1 5573 3435 cat conftest.err >&5 5574 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5575 (exit $ac_status); } && 5576 { ac_try='test -z "$ac_c_werror_flag" 5577 || test ! -s conftest.err' 5578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5579 (eval $ac_try) 2>&5 5580 ac_status=$? 5581 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5582 (exit $ac_status); }; } && 5583 { ac_try='test -s conftest.$ac_objext' 5584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5585 (eval $ac_try) 2>&5 5586 ac_status=$? 5587 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5588 (exit $ac_status); }; }; then 5589 ac_header_compiler=yes 5590 else 5591 echo "$as_me: failed program was:" >&5 5592 sed 's/^/| /' conftest.$ac_ext >&5 5593 5594 ac_header_compiler=no 5595 fi 5596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5597 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5598 echo "${ECHO_T}$ac_header_compiler" >&6 5599 5600 # Is the header present? 5601 echo "$as_me:$LINENO: checking stdarg.h presence" >&5 5602 echo $ECHO_N "checking stdarg.h presence... $ECHO_C" >&6 5603 cat >conftest.$ac_ext <<_ACEOF 5604 /* confdefs.h. */ 5605 _ACEOF 5606 cat confdefs.h >>conftest.$ac_ext 5607 cat >>conftest.$ac_ext <<_ACEOF 5608 /* end confdefs.h. */ 5609 #include <stdarg.h> 5610 _ACEOF 5611 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5612 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5613 ac_status=$? 5614 grep -v '^ *+' conftest.er1 >conftest.err 5615 rm -f conftest.er1 5616 cat conftest.err >&5 5617 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3436 echo "$as_me:3436: \$? = $ac_status" >&5 5618 3437 (exit $ac_status); } >/dev/null; then 5619 3438 if test -s conftest.err; then 5620 3439 ac_cpp_err=$ac_c_preproc_warn_flag 5621 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag5622 3440 else 5623 3441 ac_cpp_err= … … 5627 3445 fi 5628 3446 if test -z "$ac_cpp_err"; then 5629 ac_header_preproc=yes 5630 else 5631 echo "$as_me: failed program was:" >&5 5632 sed 's/^/| /' conftest.$ac_ext >&5 5633 5634 ac_header_preproc=no 3447 ac_cv_header_stdarg_h=yes 3448 else 3449 echo "$as_me: failed program was:" >&5 3450 cat conftest.$ac_ext >&5 3451 ac_cv_header_stdarg_h=no 5635 3452 fi 5636 3453 rm -f conftest.err conftest.$ac_ext 5637 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5638 echo "${ECHO_T}$ac_header_preproc" >&6 5639 5640 # So? What about this header? 5641 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5642 yes:no: ) 5643 { echo "$as_me:$LINENO: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&5 5644 echo "$as_me: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5645 { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the compiler's result" >&5 5646 echo "$as_me: WARNING: stdarg.h: proceeding with the compiler's result" >&2;} 5647 ac_header_preproc=yes 5648 ;; 5649 no:yes:* ) 5650 { echo "$as_me:$LINENO: WARNING: stdarg.h: present but cannot be compiled" >&5 5651 echo "$as_me: WARNING: stdarg.h: present but cannot be compiled" >&2;} 5652 { echo "$as_me:$LINENO: WARNING: stdarg.h: check for missing prerequisite headers?" >&5 5653 echo "$as_me: WARNING: stdarg.h: check for missing prerequisite headers?" >&2;} 5654 { echo "$as_me:$LINENO: WARNING: stdarg.h: see the Autoconf documentation" >&5 5655 echo "$as_me: WARNING: stdarg.h: see the Autoconf documentation" >&2;} 5656 { echo "$as_me:$LINENO: WARNING: stdarg.h: section \"Present But Cannot Be Compiled\"" >&5 5657 echo "$as_me: WARNING: stdarg.h: section \"Present But Cannot Be Compiled\"" >&2;} 5658 { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the preprocessor's result" >&5 5659 echo "$as_me: WARNING: stdarg.h: proceeding with the preprocessor's result" >&2;} 5660 { echo "$as_me:$LINENO: WARNING: stdarg.h: in the future, the compiler will take precedence" >&5 5661 echo "$as_me: WARNING: stdarg.h: in the future, the compiler will take precedence" >&2;} 5662 ( 5663 cat <<\_ASBOX 5664 ## ------------------------------------ ## 5665 ## Report this to the pjproject lists. ## 5666 ## ------------------------------------ ## 5667 _ASBOX 5668 ) | 5669 sed "s/^/$as_me: WARNING: /" >&2 5670 ;; 5671 esac 5672 echo "$as_me:$LINENO: checking for stdarg.h" >&5 5673 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6 5674 if test "${ac_cv_header_stdarg_h+set}" = set; then 5675 echo $ECHO_N "(cached) $ECHO_C" >&6 5676 else 5677 ac_cv_header_stdarg_h=$ac_header_preproc 5678 fi 5679 echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 3454 fi 3455 echo "$as_me:3455: result: $ac_cv_header_stdarg_h" >&5 5680 3456 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6 5681 5682 fi5683 3457 if test $ac_cv_header_stdarg_h = yes; then 5684 cat >>confdefs.h <<\ _ACEOF3458 cat >>confdefs.h <<\EOF 5685 3459 #define PJ_HAS_STDARG_H 1 5686 _ACEOF 5687 5688 fi 5689 5690 5691 if test "${ac_cv_header_stddef_h+set}" = set; then 5692 echo "$as_me:$LINENO: checking for stddef.h" >&5 3460 EOF 3461 3462 fi 3463 3464 echo "$as_me:3464: checking for stddef.h" >&5 5693 3465 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6 5694 3466 if test "${ac_cv_header_stddef_h+set}" = set; then 5695 3467 echo $ECHO_N "(cached) $ECHO_C" >&6 5696 fi 5697 echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 5698 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6 5699 else 5700 # Is the header compilable? 5701 echo "$as_me:$LINENO: checking stddef.h usability" >&5 5702 echo $ECHO_N "checking stddef.h usability... $ECHO_C" >&6 5703 cat >conftest.$ac_ext <<_ACEOF 5704 /* confdefs.h. */ 5705 _ACEOF 5706 cat confdefs.h >>conftest.$ac_ext 5707 cat >>conftest.$ac_ext <<_ACEOF 5708 /* end confdefs.h. */ 5709 $ac_includes_default 3468 else 3469 cat >conftest.$ac_ext <<_ACEOF 3470 #line 3470 "configure" 3471 #include "confdefs.h" 5710 3472 #include <stddef.h> 5711 3473 _ACEOF 5712 rm -f conftest.$ac_objext 5713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5714 (eval $ac_compile) 2>conftest.er1 5715 ac_status=$? 5716 grep -v '^ *+' conftest.er1 >conftest.err 3474 if { (eval echo "$as_me:3474: \"$ac_cpp conftest.$ac_ext\"") >&5 3475 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3476 ac_status=$? 3477 egrep -v '^ *\+' conftest.er1 >conftest.err 5717 3478 rm -f conftest.er1 5718 3479 cat conftest.err >&5 5719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5720 (exit $ac_status); } && 5721 { ac_try='test -z "$ac_c_werror_flag" 5722 || test ! -s conftest.err' 5723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5724 (eval $ac_try) 2>&5 5725 ac_status=$? 5726 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5727 (exit $ac_status); }; } && 5728 { ac_try='test -s conftest.$ac_objext' 5729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5730 (eval $ac_try) 2>&5 5731 ac_status=$? 5732 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5733 (exit $ac_status); }; }; then 5734 ac_header_compiler=yes 5735 else 5736 echo "$as_me: failed program was:" >&5 5737 sed 's/^/| /' conftest.$ac_ext >&5 5738 5739 ac_header_compiler=no 5740 fi 5741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5742 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5743 echo "${ECHO_T}$ac_header_compiler" >&6 5744 5745 # Is the header present? 5746 echo "$as_me:$LINENO: checking stddef.h presence" >&5 5747 echo $ECHO_N "checking stddef.h presence... $ECHO_C" >&6 5748 cat >conftest.$ac_ext <<_ACEOF 5749 /* confdefs.h. */ 5750 _ACEOF 5751 cat confdefs.h >>conftest.$ac_ext 5752 cat >>conftest.$ac_ext <<_ACEOF 5753 /* end confdefs.h. */ 5754 #include <stddef.h> 5755 _ACEOF 5756 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5757 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5758 ac_status=$? 5759 grep -v '^ *+' conftest.er1 >conftest.err 5760 rm -f conftest.er1 5761 cat conftest.err >&5 5762 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3480 echo "$as_me:3480: \$? = $ac_status" >&5 5763 3481 (exit $ac_status); } >/dev/null; then 5764 3482 if test -s conftest.err; then 5765 3483 ac_cpp_err=$ac_c_preproc_warn_flag 5766 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag5767 3484 else 5768 3485 ac_cpp_err= … … 5772 3489 fi 5773 3490 if test -z "$ac_cpp_err"; then 5774 ac_header_preproc=yes 5775 else 5776 echo "$as_me: failed program was:" >&5 5777 sed 's/^/| /' conftest.$ac_ext >&5 5778 5779 ac_header_preproc=no 3491 ac_cv_header_stddef_h=yes 3492 else 3493 echo "$as_me: failed program was:" >&5 3494 cat conftest.$ac_ext >&5 3495 ac_cv_header_stddef_h=no 5780 3496 fi 5781 3497 rm -f conftest.err conftest.$ac_ext 5782 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5783 echo "${ECHO_T}$ac_header_preproc" >&6 5784 5785 # So? What about this header? 5786 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5787 yes:no: ) 5788 { echo "$as_me:$LINENO: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&5 5789 echo "$as_me: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5790 { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the compiler's result" >&5 5791 echo "$as_me: WARNING: stddef.h: proceeding with the compiler's result" >&2;} 5792 ac_header_preproc=yes 5793 ;; 5794 no:yes:* ) 5795 { echo "$as_me:$LINENO: WARNING: stddef.h: present but cannot be compiled" >&5 5796 echo "$as_me: WARNING: stddef.h: present but cannot be compiled" >&2;} 5797 { echo "$as_me:$LINENO: WARNING: stddef.h: check for missing prerequisite headers?" >&5 5798 echo "$as_me: WARNING: stddef.h: check for missing prerequisite headers?" >&2;} 5799 { echo "$as_me:$LINENO: WARNING: stddef.h: see the Autoconf documentation" >&5 5800 echo "$as_me: WARNING: stddef.h: see the Autoconf documentation" >&2;} 5801 { echo "$as_me:$LINENO: WARNING: stddef.h: section \"Present But Cannot Be Compiled\"" >&5 5802 echo "$as_me: WARNING: stddef.h: section \"Present But Cannot Be Compiled\"" >&2;} 5803 { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the preprocessor's result" >&5 5804 echo "$as_me: WARNING: stddef.h: proceeding with the preprocessor's result" >&2;} 5805 { echo "$as_me:$LINENO: WARNING: stddef.h: in the future, the compiler will take precedence" >&5 5806 echo "$as_me: WARNING: stddef.h: in the future, the compiler will take precedence" >&2;} 5807 ( 5808 cat <<\_ASBOX 5809 ## ------------------------------------ ## 5810 ## Report this to the pjproject lists. ## 5811 ## ------------------------------------ ## 5812 _ASBOX 5813 ) | 5814 sed "s/^/$as_me: WARNING: /" >&2 5815 ;; 5816 esac 5817 echo "$as_me:$LINENO: checking for stddef.h" >&5 5818 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6 5819 if test "${ac_cv_header_stddef_h+set}" = set; then 5820 echo $ECHO_N "(cached) $ECHO_C" >&6 5821 else 5822 ac_cv_header_stddef_h=$ac_header_preproc 5823 fi 5824 echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 3498 fi 3499 echo "$as_me:3499: result: $ac_cv_header_stddef_h" >&5 5825 3500 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6 5826 5827 fi5828 3501 if test $ac_cv_header_stddef_h = yes; then 5829 cat >>confdefs.h <<\ _ACEOF3502 cat >>confdefs.h <<\EOF 5830 3503 #define PJ_HAS_STDDEF_H 1 5831 _ACEOF 5832 5833 fi 5834 5835 5836 if test "${ac_cv_header_stdio_h+set}" = set; then 5837 echo "$as_me:$LINENO: checking for stdio.h" >&5 3504 EOF 3505 3506 fi 3507 3508 echo "$as_me:3508: checking for stdio.h" >&5 5838 3509 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6 5839 3510 if test "${ac_cv_header_stdio_h+set}" = set; then 5840 3511 echo $ECHO_N "(cached) $ECHO_C" >&6 5841 fi 5842 echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 5843 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6 5844 else 5845 # Is the header compilable? 5846 echo "$as_me:$LINENO: checking stdio.h usability" >&5 5847 echo $ECHO_N "checking stdio.h usability... $ECHO_C" >&6 5848 cat >conftest.$ac_ext <<_ACEOF 5849 /* confdefs.h. */ 5850 _ACEOF 5851 cat confdefs.h >>conftest.$ac_ext 5852 cat >>conftest.$ac_ext <<_ACEOF 5853 /* end confdefs.h. */ 5854 $ac_includes_default 3512 else 3513 cat >conftest.$ac_ext <<_ACEOF 3514 #line 3514 "configure" 3515 #include "confdefs.h" 5855 3516 #include <stdio.h> 5856 3517 _ACEOF 5857 rm -f conftest.$ac_objext 5858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5859 (eval $ac_compile) 2>conftest.er1 5860 ac_status=$? 5861 grep -v '^ *+' conftest.er1 >conftest.err 3518 if { (eval echo "$as_me:3518: \"$ac_cpp conftest.$ac_ext\"") >&5 3519 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3520 ac_status=$? 3521 egrep -v '^ *\+' conftest.er1 >conftest.err 5862 3522 rm -f conftest.er1 5863 3523 cat conftest.err >&5 5864 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5865 (exit $ac_status); } && 5866 { ac_try='test -z "$ac_c_werror_flag" 5867 || test ! -s conftest.err' 5868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5869 (eval $ac_try) 2>&5 5870 ac_status=$? 5871 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5872 (exit $ac_status); }; } && 5873 { ac_try='test -s conftest.$ac_objext' 5874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5875 (eval $ac_try) 2>&5 5876 ac_status=$? 5877 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5878 (exit $ac_status); }; }; then 5879 ac_header_compiler=yes 5880 else 5881 echo "$as_me: failed program was:" >&5 5882 sed 's/^/| /' conftest.$ac_ext >&5 5883 5884 ac_header_compiler=no 5885 fi 5886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5887 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5888 echo "${ECHO_T}$ac_header_compiler" >&6 5889 5890 # Is the header present? 5891 echo "$as_me:$LINENO: checking stdio.h presence" >&5 5892 echo $ECHO_N "checking stdio.h presence... $ECHO_C" >&6 5893 cat >conftest.$ac_ext <<_ACEOF 5894 /* confdefs.h. */ 5895 _ACEOF 5896 cat confdefs.h >>conftest.$ac_ext 5897 cat >>conftest.$ac_ext <<_ACEOF 5898 /* end confdefs.h. */ 5899 #include <stdio.h> 5900 _ACEOF 5901 if { (eval echo "$as_me