Changeset 862
- Timestamp:
- Dec 25, 2006 8:34:14 PM (18 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r795 r862 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by Autoconf 2.52for pjproject 0.5.8.3 # Generated by GNU Autoconf 2.59 for pjproject 0.5.8. 4 4 # 5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 6 # Free Software Foundation, Inc. 5 # Copyright (C) 2003 Free Software Foundation, Inc. 7 6 # This configure script is free software; the Free Software Foundation 8 7 # gives unlimited permission to copy, distribute and modify it. 9 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. 10 79 # Avoid depending upon Character Ranges. 11 80 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 15 84 as_cr_alnum=$as_cr_Letters$as_cr_digits 16 85 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,.*[\\/],,'` 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 33 193 34 194 if expr a : '\(a\)' >/dev/null 2>&1; then … … 56 216 rm -f conf$$ conf$$.exe conf$$.file 57 217 218 if mkdir -p . 2>/dev/null; then 219 as_mkdir_p=: 220 else 221 test -d ./-p && rmdir ./-p 222 as_mkdir_p=false 223 fi 224 58 225 as_executable_p="test -f" 59 226 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; } 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 76 233 77 234 # IFS … … 82 239 83 240 # CDPATH. 84 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 241 $as_unset CDPATH 242 85 243 86 244 # Name of the host. … … 95 253 # 96 254 ac_default_prefix=/usr/local 255 ac_config_libobj_dir=. 97 256 cross_compiling=no 98 257 subdirs= 99 MFLAGS= MAKEFLAGS= 258 MFLAGS= 259 MAKEFLAGS= 100 260 SHELL=${CONFIG_SHELL-/bin/sh} 101 261 … … 104 264 # only ac_max_sed_lines should be used. 105 265 : ${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_H 278 # include <sys/types.h> 279 #endif 280 #if HAVE_SYS_STAT_H 281 # include <sys/stat.h> 282 #endif 283 #if STDC_HEADERS 284 # include <stdlib.h> 285 # include <stddef.h> 286 #else 287 # if HAVE_STDLIB_H 288 # include <stdlib.h> 289 # endif 290 #endif 291 #if HAVE_STRING_H 292 # if !STDC_HEADERS && HAVE_MEMORY_H 293 # include <memory.h> 294 # endif 295 # include <string.h> 296 #endif 297 #if HAVE_STRINGS_H 298 # include <strings.h> 299 #endif 300 #if HAVE_INTTYPES_H 301 # include <inttypes.h> 302 #else 303 # if HAVE_STDINT_H 304 # include <stdint.h> 305 # endif 306 #endif 307 #if HAVE_UNISTD_H 308 # 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_cflags 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_no_ssl openssl_h_present libssl_present libcrypto_present ac_cross_compile ac_linux_poll ac_host ac_main_obj LIBOBJS LTLIBOBJS' 312 ac_subst_files='' 106 313 107 314 # Initialize some variables set by options. … … 143 350 mandir='${prefix}/man' 144 351 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 152 352 ac_prev= 153 353 for ac_option … … 282 482 283 483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 284 | --no-cr | --no-c )484 | --no-cr | --no-c | -n) 285 485 no_create=yes ;; 286 486 … … 461 661 case $ac_val in 462 662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 463 *) { echo "$as_me: error: expected an absolute pathfor --$ac_var: $ac_val" >&2663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 464 664 { (exit 1); exit 1; }; };; 465 665 esac … … 468 668 # Be sure to have absolute paths. 469 669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 470 670 localstatedir libdir includedir oldincludedir infodir mandir 471 671 do 472 672 eval ac_val=$`echo $ac_var` 473 673 case $ac_val in 474 674 [\\/$]* | ?:[\\/]* ) ;; 475 *) { echo "$as_me: error: expected an absolute pathfor --$ac_var: $ac_val" >&2675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 476 676 { (exit 1); exit 1; }; };; 477 677 esac … … 480 680 # There might be people who depend on the old broken behavior: `$host' 481 681 # used to hold the argument of --host etc. 682 # FIXME: To remove some day. 482 683 build=$build_alias 483 684 host=$host_alias 484 685 target=$target_alias 485 686 486 # FIXME: should be removed in autoconf 3.0.687 # FIXME: To remove some day. 487 688 if test "x$host_alias" != x; then 488 689 if test "x$build_alias" = x; then … … 500 701 test "$silent" = yes && exec 6>/dev/null 501 702 703 502 704 # Find the source files, if location was not specified. 503 705 if test -z "$srcdir"; then 504 706 ac_srcdir_defaulted=yes 505 707 # Try the directory containing this script, then its parent. 506 ac_prog=$0 507 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` 508 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. 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'` 509 720 srcdir=$ac_confdir 510 721 if test ! -r $srcdir/$ac_unique_file; then … … 516 727 if test ! -r $srcdir/$ac_unique_file; then 517 728 if test "$ac_srcdir_defaulted" = yes; then 518 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 519 730 { (exit 1); exit 1; }; } 520 731 else 521 { echo "$as_me: error: cannot find sources in $srcdir" >&2732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 522 733 { (exit 1); exit 1; }; } 523 734 fi 524 735 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" >&2 738 { (exit 1); exit 1; }; } 525 739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 526 740 ac_env_build_alias_set=${build_alias+set} … … 571 785 # Omit some internal or obsolete options to make the list less imposing. 572 786 # This message is too long to be a string in the A/UX 3.1 sh. 573 cat << EOF787 cat <<_ACEOF 574 788 \`configure' configures pjproject 0.5.8 to adapt to many kinds of systems. 575 789 … … 592 806 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 593 807 594 EOF595 596 cat << EOF808 _ACEOF 809 810 cat <<_ACEOF 597 811 Installation directories: 598 812 --prefix=PREFIX install architecture-independent files in PREFIX 599 813 [$ac_default_prefix] 600 814 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 601 815 [PREFIX] 602 816 603 817 By default, \`make install' will install all the files in … … 621 835 --infodir=DIR info documentation [PREFIX/info] 622 836 --mandir=DIR man documentation [PREFIX/man] 623 EOF624 625 cat <<\ EOF837 _ACEOF 838 839 cat <<\_ACEOF 626 840 627 841 System types: 628 842 --build=BUILD configure for building on BUILD [guessed] 629 --host=HOST build programs to run on HOST [BUILD]843 --host=HOST cross-compile to build programs to run on HOST [BUILD] 630 844 --target=TARGET configure for building compilers for TARGET [HOST] 631 EOF845 _ACEOF 632 846 fi 633 847 … … 636 850 short | recursive ) echo "Configuration of pjproject 0.5.8:";; 637 851 esac 638 cat <<\ EOF852 cat <<\_ACEOF 639 853 640 854 Optional Features: … … 654 868 --disable-ilbc-codec Exclude iLBC codec in the build 655 869 870 --disable-ssl Exclude SSL support the build (default: autodetect) 871 872 656 873 Some influential environment variables: 657 874 CC C compiler command … … 668 885 it to find libraries and programs with nonstandard names/locations. 669 886 670 EOF887 _ACEOF 671 888 fi 672 889 … … 674 891 # If there are subdirs, report their specific --help. 675 892 ac_popdir=`pwd` 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 893 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 894 test -d $ac_dir || continue 895 ac_builddir=. 896 897 if test "$ac_dir" != .; then 898 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 899 # A "../" for each directory in $ac_dir_suffix. 900 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 901 else 902 ac_dir_suffix= ac_top_builddir= 903 fi 904 905 case $srcdir in 906 .) # No --srcdir option. We are building in place. 907 ac_srcdir=. 908 if test -z "$ac_top_builddir"; then 909 ac_top_srcdir=. 910 else 911 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 912 fi ;; 913 [\\/]* | ?:[\\/]* ) # Absolute path. 914 ac_srcdir=$srcdir$ac_dir_suffix; 915 ac_top_srcdir=$srcdir ;; 916 *) # Relative path. 917 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 918 ac_top_srcdir=$ac_top_builddir$srcdir ;; 919 esac 920 921 # Do not use `cd foo && pwd` to compute absolute paths, because 922 # the directories may not exist. 923 case `pwd` in 924 .) ac_abs_builddir="$ac_dir";; 925 *) 926 case "$ac_dir" in 927 .) ac_abs_builddir=`pwd`;; 928 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 929 *) ac_abs_builddir=`pwd`/"$ac_dir";; 930 esac;; 931 esac 932 case $ac_abs_builddir in 933 .) ac_abs_top_builddir=${ac_top_builddir}.;; 934 *) 935 case ${ac_top_builddir}. in 936 .) ac_abs_top_builddir=$ac_abs_builddir;; 937 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 938 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 939 esac;; 940 esac 941 case $ac_abs_builddir in 942 .) ac_abs_srcdir=$ac_srcdir;; 943 *) 944 case $ac_srcdir in 945 .) ac_abs_srcdir=$ac_abs_builddir;; 946 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 947 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 948 esac;; 949 esac 950 case $ac_abs_builddir in 951 .) ac_abs_top_srcdir=$ac_top_srcdir;; 952 *) 953 case $ac_top_srcdir in 954 .) ac_abs_top_srcdir=$ac_abs_builddir;; 955 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 956 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 957 esac;; 958 esac 959 960 cd $ac_dir 691 961 # Check for guested configure; otherwise get Cygnus style configure. 692 if test -f $ac_s ub_srcdir/configure.gnu; then962 if test -f $ac_srcdir/configure.gnu; then 693 963 echo 694 $SHELL $ac_s ub_srcdir/configure.gnu --help=recursive695 elif test -f $ac_s ub_srcdir/configure; then964 $SHELL $ac_srcdir/configure.gnu --help=recursive 965 elif test -f $ac_srcdir/configure; then 696 966 echo 697 $SHELL $ac_s ub_srcdir/configure --help=recursive698 elif test -f $ac_s ub_srcdir/configure.ac ||699 test -f $ac_sub_srcdir/configure.in; then967 $SHELL $ac_srcdir/configure --help=recursive 968 elif test -f $ac_srcdir/configure.ac || 969 test -f $ac_srcdir/configure.in; then 700 970 echo 701 971 $ac_configure --help 702 972 else 703 echo "$as_me: WARNING: no configuration information is in $ac_ subdir" >&2973 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 704 974 fi 705 975 cd $ac_popdir … … 709 979 test -n "$ac_init_help" && exit 0 710 980 if $ac_init_version; then 711 cat <<\ EOF981 cat <<\_ACEOF 712 982 pjproject configure 0.5.8 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 generated by GNU Autoconf 2.59 984 985 Copyright (C) 2003 Free Software Foundation, Inc. 717 986 This configure script is free software; the Free Software Foundation 718 987 gives unlimited permission to copy, distribute and modify it. 719 EOF988 _ACEOF 720 989 exit 0 721 990 fi 722 991 exec 5>config.log 723 cat >&5 << EOF992 cat >&5 <<_ACEOF 724 993 This file contains any messages produced by compilers while 725 994 running configure, to aid debugging if configure makes a mistake. 726 995 727 996 It was created by pjproject $as_me 0.5.8, which was 728 generated by GNU Autoconf 2.5 2. Invocation command line was997 generated by GNU Autoconf 2.59. Invocation command line was 729 998 730 999 $ $0 $@ 731 1000 732 EOF1001 _ACEOF 733 1002 { 734 1003 cat <<_ASUNAME 735 ## --------- -##736 ## Platform. 737 ## --------- -##1004 ## --------- ## 1005 ## Platform. ## 1006 ## --------- ## 738 1007 739 1008 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` … … 754 1023 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 755 1024 756 PATH = $PATH757 758 1025 _ASUNAME 1026 1027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1028 for as_dir in $PATH 1029 do 1030 IFS=$as_save_IFS 1031 test -z "$as_dir" && as_dir=. 1032 echo "PATH: $as_dir" 1033 done 1034 759 1035 } >&5 760 1036 761 cat >&5 <<EOF 762 ## ------------ ## 763 ## Core tests. ## 764 ## ------------ ## 765 766 EOF 1037 cat >&5 <<_ACEOF 1038 1039 1040 ## ----------- ## 1041 ## Core tests. ## 1042 ## ----------- ## 1043 1044 _ACEOF 1045 767 1046 768 1047 # Keep a trace of the command line. 769 1048 # Strip out --no-create and --no-recursion so they do not pile up. 1049 # Strip out --silent because we don't want to record it for future runs. 770 1050 # Also quote any args containing shell meta-characters. 1051 # Make two passes to allow for proper duplicate-argument suppression. 771 1052 ac_configure_args= 1053 ac_configure_args0= 1054 ac_configure_args1= 772 1055 ac_sep= 773 for ac_arg 1056 ac_must_keep_next=false 1057 for ac_pass in 1 2 774 1058 do 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. 1059 for ac_arg 1060 do 1061 case $ac_arg in 1062 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1064 | -silent | --silent | --silen | --sile | --sil) 1065 continue ;; 1066 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1067 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1068 esac 1069 case $ac_pass in 1070 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1071 2) 1072 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1073 if test $ac_must_keep_next = true; then 1074 ac_must_keep_next=false # Got value, back to normal. 1075 else 1076 case $ac_arg in 1077 *=* | --config-cache | -C | -disable-* | --disable-* \ 1078 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1079 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1080 | -with-* | --with-* | -without-* | --without-* | --x) 1081 case "$ac_configure_args0 " in 1082 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1083 esac 1084 ;; 1085 -* ) ac_must_keep_next=true ;; 1086 esac 1087 fi 1088 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1089 # Get rid of the leading space. 1090 ac_sep=" " 1091 ;; 1092 esac 1093 done 788 1094 done 1095 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1096 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 789 1097 790 1098 # When interrupted or exit'd, cleanup temporary files, and complete 791 1099 # config.log. We remove comments because anyway the quotes in there 792 1100 # would cause problems or look ugly. 1101 # WARNING: Be sure not to use single quotes in there, as some shells, 1102 # such as our DU 5.0 friend, will then `close' the trap. 793 1103 trap 'exit_status=$? 794 1104 # Save into config.log some information that might help in debugging. 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, 1105 { 1106 echo 1107 1108 cat <<\_ASBOX 1109 ## ---------------- ## 1110 ## Cache variables. ## 1111 ## ---------------- ## 1112 _ASBOX 1113 echo 1114 # The following way of writing the cache mishandles newlines in values, 801 1115 { 802 1116 (set) 2>&1 | … … 804 1118 *ac_space=\ *) 805 1119 sed -n \ 806 807 1120 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1121 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 808 1122 ;; 809 1123 *) 810 1124 sed -n \ 811 1125 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 812 1126 ;; 813 1127 esac; 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 && 1128 } 1129 echo 1130 1131 cat <<\_ASBOX 1132 ## ----------------- ## 1133 ## Output variables. ## 1134 ## ----------------- ## 1135 _ASBOX 1136 echo 1137 for ac_var in $ac_subst_vars 1138 do 1139 eval ac_val=$`echo $ac_var` 1140 echo "$ac_var='"'"'$ac_val'"'"'" 1141 done | sort 1142 echo 1143 1144 if test -n "$ac_subst_files"; then 1145 cat <<\_ASBOX 1146 ## ------------- ## 1147 ## Output files. ## 1148 ## ------------- ## 1149 _ASBOX 1150 echo 1151 for ac_var in $ac_subst_files 1152 do 1153 eval ac_val=$`echo $ac_var` 1154 echo "$ac_var='"'"'$ac_val'"'"'" 1155 done | sort 1156 echo 1157 fi 1158 1159 if test -s confdefs.h; then 1160 cat <<\_ASBOX 1161 ## ----------- ## 1162 ## confdefs.h. ## 1163 ## ----------- ## 1164 _ASBOX 1165 echo 1166 sed "/^$/d" confdefs.h | sort 1167 echo 1168 fi 1169 test "$ac_signal" != 0 && 1170 echo "$as_me: caught signal $ac_signal" 1171 echo "$as_me: exit $exit_status" 1172 } >&5 1173 rm -f core *.core && 1174 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 829 1175 exit $exit_status 830 1176 ' 0 … … 838 1184 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 839 1185 echo >confdefs.h 1186 1187 # Predefined preprocessor variables. 1188 1189 cat >>confdefs.h <<_ACEOF 1190 #define PACKAGE_NAME "$PACKAGE_NAME" 1191 _ACEOF 1192 1193 1194 cat >>confdefs.h <<_ACEOF 1195 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1196 _ACEOF 1197 1198 1199 cat >>confdefs.h <<_ACEOF 1200 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1201 _ACEOF 1202 1203 1204 cat >>confdefs.h <<_ACEOF 1205 #define PACKAGE_STRING "$PACKAGE_STRING" 1206 _ACEOF 1207 1208 1209 cat >>confdefs.h <<_ACEOF 1210 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1211 _ACEOF 1212 840 1213 841 1214 # Let the site file select an alternate cache file if it wants to. … … 850 1223 for ac_site_file in $CONFIG_SITE; do 851 1224 if test -r "$ac_site_file"; then 852 { echo "$as_me: 852: loading site script $ac_site_file" >&51225 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 853 1226 echo "$as_me: loading site script $ac_site_file" >&6;} 854 cat"$ac_site_file" >&51227 sed 's/^/| /' "$ac_site_file" >&5 855 1228 . "$ac_site_file" 856 1229 fi … … 861 1234 # files actually), so we avoid doing that. 862 1235 if test -f "$cache_file"; then 863 { echo "$as_me: 863: loading cache $cache_file" >&51236 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 864 1237 echo "$as_me: loading cache $cache_file" >&6;} 865 1238 case $cache_file in … … 869 1242 fi 870 1243 else 871 { echo "$as_me: 871: creating cache $cache_file" >&51244 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 872 1245 echo "$as_me: creating cache $cache_file" >&6;} 873 1246 >$cache_file … … 878 1251 ac_cache_corrupted=false 879 1252 for ac_var in `(set) 2>&1 | 880 1253 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 881 1254 eval ac_old_set=\$ac_cv_env_${ac_var}_set 882 1255 eval ac_new_set=\$ac_env_${ac_var}_set … … 885 1258 case $ac_old_set,$ac_new_set in 886 1259 set,) 887 { echo "$as_me: 887: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51260 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 888 1261 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 889 1262 ac_cache_corrupted=: ;; 890 1263 ,set) 891 { echo "$as_me: 891: error: \`$ac_var' was not set in the previous run" >&51264 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 892 1265 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 893 1266 ac_cache_corrupted=: ;; … … 895 1268 *) 896 1269 if test "x$ac_old_val" != "x$ac_new_val"; then 897 { echo "$as_me:897: error: \`$ac_var' has changed since the previous run:" >&51270 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 898 1271 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 899 { echo "$as_me:899: former value: $ac_old_val" >&51272 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 900 1273 echo "$as_me: former value: $ac_old_val" >&2;} 901 { echo "$as_me:901: current value: $ac_new_val" >&51274 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 902 1275 echo "$as_me: current value: $ac_new_val" >&2;} 903 1276 ac_cache_corrupted=: 904 1277 fi;; 905 1278 esac 906 # Pass precious variables to config.status. It doesn't matter if 907 # we pass some twice (in addition to the command line arguments). 1279 # Pass precious variables to config.status. 908 1280 if test "$ac_new_set" = set; then 909 1281 case $ac_new_val in 910 1282 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 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 ;; 1283 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1284 *) ac_arg=$ac_var=$ac_new_val ;; 1285 esac 1286 case " $ac_configure_args " in 1287 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1288 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 916 1289 esac 917 1290 fi 918 1291 done 919 1292 if $ac_cache_corrupted; then 920 { echo "$as_me: 920: error: changes in the environment can compromise the build" >&51293 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 921 1294 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 922 { { echo "$as_me: 922: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&51295 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 923 1296 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 924 1297 { (exit 1); exit 1; }; } … … 931 1304 ac_compiler_gnu=$ac_cv_c_compiler_gnu 932 1305 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 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 953 1332 954 1333 host_orig="$host" … … 971 1350 done 972 1351 if test -z "$ac_aux_dir"; then 973 { { echo "$as_me: 973: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&51352 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 974 1353 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 975 1354 { (exit 1); exit 1; }; } … … 981 1360 # Make sure we can run config.sub. 982 1361 $ac_config_sub sun4 >/dev/null 2>&1 || 983 { { echo "$as_me: 983: error: cannot run $ac_config_sub" >&51362 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 984 1363 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 985 1364 { (exit 1); exit 1; }; } 986 1365 987 echo "$as_me: 987: checking build system type" >&51366 echo "$as_me:$LINENO: checking build system type" >&5 988 1367 echo $ECHO_N "checking build system type... $ECHO_C" >&6 989 1368 if test "${ac_cv_build+set}" = set; then … … 994 1373 ac_cv_build_alias=`$ac_config_guess` 995 1374 test -z "$ac_cv_build_alias" && 996 { { echo "$as_me: 996: error: cannot guess build type; you must specify one" >&51375 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 997 1376 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 998 1377 { (exit 1); exit 1; }; } 999 1378 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 1000 { { echo "$as_me: 1000: error: $ac_config_sub $ac_cv_build_alias failed." >&51001 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed ." >&2;}1379 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 1380 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 1002 1381 { (exit 1); exit 1; }; } 1003 1382 1004 1383 fi 1005 echo "$as_me: 1005: result: $ac_cv_build" >&51384 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1006 1385 echo "${ECHO_T}$ac_cv_build" >&6 1007 1386 build=$ac_cv_build … … 1010 1389 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1011 1390 1012 echo "$as_me:1012: checking host system type" >&5 1391 1392 echo "$as_me:$LINENO: checking host system type" >&5 1013 1393 echo $ECHO_N "checking host system type... $ECHO_C" >&6 1014 1394 if test "${ac_cv_host+set}" = set; then … … 1019 1399 ac_cv_host_alias=$ac_cv_build_alias 1020 1400 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1021 { { echo "$as_me: 1021: error: $ac_config_sub $ac_cv_host_alias failed" >&51401 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1022 1402 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1023 1403 { (exit 1); exit 1; }; } 1024 1404 1025 1405 fi 1026 echo "$as_me: 1026: result: $ac_cv_host" >&51406 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1027 1407 echo "${ECHO_T}$ac_cv_host" >&6 1028 1408 host=$ac_cv_host … … 1031 1411 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1032 1412 1033 echo "$as_me:1033: checking target system type" >&5 1413 1414 echo "$as_me:$LINENO: checking target system type" >&5 1034 1415 echo $ECHO_N "checking target system type... $ECHO_C" >&6 1035 1416 if test "${ac_cv_target+set}" = set; then … … 1040 1421 ac_cv_target_alias=$ac_cv_host_alias 1041 1422 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 1042 { { echo "$as_me: 1042: error: $ac_config_sub $ac_cv_target_alias failed" >&51423 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 1043 1424 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 1044 1425 { (exit 1); exit 1; }; } 1045 1426 1046 1427 fi 1047 echo "$as_me: 1047: result: $ac_cv_target" >&51428 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1048 1429 echo "${ECHO_T}$ac_cv_target" >&6 1049 1430 target=$ac_cv_target … … 1051 1432 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1052 1433 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1434 1053 1435 1054 1436 # The aliases save the names the user supplied, while $host etc. … … 1058 1440 NONENONEs,x,x, && 1059 1441 program_prefix=${target_alias}- 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" 1442 ac_config_headers="$ac_config_headers pjlib/include/pj/compat/os_auto.h pjlib/include/pj/compat/m_auto.h pjsip/include/pjsip/sip_autoconf.h" 1443 1444 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" 1445 1063 1446 1064 1447 if test "$CFLAGS" = ""; then … … 1078 1461 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1079 1462 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1080 echo "$as_me: 1080: checking for $ac_word" >&51463 echo "$as_me:$LINENO: checking for $ac_word" >&5 1081 1464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1082 1465 if test "${ac_cv_prog_CC+set}" = set; then … … 1086 1469 ac_cv_prog_CC="$CC" # Let the user override the test. 1087 1470 else 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 1471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1472 for as_dir in $PATH 1473 do 1474 IFS=$as_save_IFS 1475 test -z "$as_dir" && as_dir=. 1476 for ac_exec_ext in '' $ac_executable_extensions; do 1477 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1478 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1480 break 2 1481 fi 1482 done 1097 1483 done 1098 1484 … … 1101 1487 CC=$ac_cv_prog_CC 1102 1488 if test -n "$CC"; then 1103 echo "$as_me: 1103: result: $CC" >&51489 echo "$as_me:$LINENO: result: $CC" >&5 1104 1490 echo "${ECHO_T}$CC" >&6 1105 1491 else 1106 echo "$as_me: 1106: result: no" >&51492 echo "$as_me:$LINENO: result: no" >&5 1107 1493 echo "${ECHO_T}no" >&6 1108 1494 fi … … 1113 1499 # Extract the first word of "gcc", so it can be a program name with args. 1114 1500 set dummy gcc; ac_word=$2 1115 echo "$as_me: 1115: checking for $ac_word" >&51501 echo "$as_me:$LINENO: checking for $ac_word" >&5 1116 1502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1117 1503 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then … … 1121 1507 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1122 1508 else 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 1509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1510 for as_dir in $PATH 1511 do 1512 IFS=$as_save_IFS 1513 test -z "$as_dir" && as_dir=. 1514 for ac_exec_ext in '' $ac_executable_extensions; do 1515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1516 ac_cv_prog_ac_ct_CC="gcc" 1517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1518 break 2 1519 fi 1520 done 1132 1521 done 1133 1522 … … 1136 1525 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1137 1526 if test -n "$ac_ct_CC"; then 1138 echo "$as_me: 1138: result: $ac_ct_CC" >&51527 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1139 1528 echo "${ECHO_T}$ac_ct_CC" >&6 1140 1529 else 1141 echo "$as_me: 1141: result: no" >&51530 echo "$as_me:$LINENO: result: no" >&5 1142 1531 echo "${ECHO_T}no" >&6 1143 1532 fi … … 1152 1541 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1153 1542 set dummy ${ac_tool_prefix}cc; ac_word=$2 1154 echo "$as_me: 1154: checking for $ac_word" >&51543 echo "$as_me:$LINENO: checking for $ac_word" >&5 1155 1544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1156 1545 if test "${ac_cv_prog_CC+set}" = set; then … … 1160 1549 ac_cv_prog_CC="$CC" # Let the user override the test. 1161 1550 else 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 1551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1552 for as_dir in $PATH 1553 do 1554 IFS=$as_save_IFS 1555 test -z "$as_dir" && as_dir=. 1556 for ac_exec_ext in '' $ac_executable_extensions; do 1557 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1558 ac_cv_prog_CC="${ac_tool_prefix}cc" 1559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1560 break 2 1561 fi 1562 done 1171 1563 done 1172 1564 … … 1175 1567 CC=$ac_cv_prog_CC 1176 1568 if test -n "$CC"; then 1177 echo "$as_me: 1177: result: $CC" >&51569 echo "$as_me:$LINENO: result: $CC" >&5 1178 1570 echo "${ECHO_T}$CC" >&6 1179 1571 else 1180 echo "$as_me: 1180: result: no" >&51572 echo "$as_me:$LINENO: result: no" >&5 1181 1573 echo "${ECHO_T}no" >&6 1182 1574 fi … … 1187 1579 # Extract the first word of "cc", so it can be a program name with args. 1188 1580 set dummy cc; ac_word=$2 1189 echo "$as_me: 1189: checking for $ac_word" >&51581 echo "$as_me:$LINENO: checking for $ac_word" >&5 1190 1582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1191 1583 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then … … 1195 1587 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1196 1588 else 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 1589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1590 for as_dir in $PATH 1591 do 1592 IFS=$as_save_IFS 1593 test -z "$as_dir" && as_dir=. 1594 for ac_exec_ext in '' $ac_executable_extensions; do 1595 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1596 ac_cv_prog_ac_ct_CC="cc" 1597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1598 break 2 1599 fi 1600 done 1206 1601 done 1207 1602 … … 1210 1605 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1211 1606 if test -n "$ac_ct_CC"; then 1212 echo "$as_me: 1212: result: $ac_ct_CC" >&51607 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1213 1608 echo "${ECHO_T}$ac_ct_CC" >&6 1214 1609 else 1215 echo "$as_me: 1215: result: no" >&51610 echo "$as_me:$LINENO: result: no" >&5 1216 1611 echo "${ECHO_T}no" >&6 1217 1612 fi … … 1226 1621 # Extract the first word of "cc", so it can be a program name with args. 1227 1622 set dummy cc; ac_word=$2 1228 echo "$as_me: 1228: checking for $ac_word" >&51623 echo "$as_me:$LINENO: checking for $ac_word" >&5 1229 1624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1230 1625 if test "${ac_cv_prog_CC+set}" = set; then … … 1235 1630 else 1236 1631 ac_prog_rejected=no 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 1632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1633 for as_dir in $PATH 1634 do 1635 IFS=$as_save_IFS 1636 test -z "$as_dir" && as_dir=. 1637 for ac_exec_ext in '' $ac_executable_extensions; do 1638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1639 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1640 ac_prog_rejected=yes 1641 continue 1642 fi 1643 ac_cv_prog_CC="cc" 1644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1645 break 2 1646 fi 1647 done 1250 1648 done 1251 1649 … … 1259 1657 # first if we set CC to just the basename; use the full file name. 1260 1658 shift 1261 set dummy "$ac_dir/$ac_word" ${1+"$@"} 1262 shift 1263 ac_cv_prog_CC="$@" 1659 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 1264 1660 fi 1265 1661 fi … … 1268 1664 CC=$ac_cv_prog_CC 1269 1665 if test -n "$CC"; then 1270 echo "$as_me: 1270: result: $CC" >&51666 echo "$as_me:$LINENO: result: $CC" >&5 1271 1667 echo "${ECHO_T}$CC" >&6 1272 1668 else 1273 echo "$as_me: 1273: result: no" >&51669 echo "$as_me:$LINENO: result: no" >&5 1274 1670 echo "${ECHO_T}no" >&6 1275 1671 fi … … 1282 1678 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1283 1679 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1284 echo "$as_me: 1284: checking for $ac_word" >&51680 echo "$as_me:$LINENO: checking for $ac_word" >&5 1285 1681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1286 1682 if test "${ac_cv_prog_CC+set}" = set; then … … 1290 1686 ac_cv_prog_CC="$CC" # Let the user override the test. 1291 1687 else 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 1688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1689 for as_dir in $PATH 1690 do 1691 IFS=$as_save_IFS 1692 test -z "$as_dir" && as_dir=. 1693 for ac_exec_ext in '' $ac_executable_extensions; do 1694 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1695 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1697 break 2 1698 fi 1699 done 1301 1700 done 1302 1701 … … 1305 1704 CC=$ac_cv_prog_CC 1306 1705 if test -n "$CC"; then 1307 echo "$as_me: 1307: result: $CC" >&51706 echo "$as_me:$LINENO: result: $CC" >&5 1308 1707 echo "${ECHO_T}$CC" >&6 1309 1708 else 1310 echo "$as_me: 1310: result: no" >&51709 echo "$as_me:$LINENO: result: no" >&5 1311 1710 echo "${ECHO_T}no" >&6 1312 1711 fi … … 1321 1720 # Extract the first word of "$ac_prog", so it can be a program name with args. 1322 1721 set dummy $ac_prog; ac_word=$2 1323 echo "$as_me: 1323: checking for $ac_word" >&51722 echo "$as_me:$LINENO: checking for $ac_word" >&5 1324 1723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1325 1724 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then … … 1329 1728 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1330 1729 else 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 1730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1731 for as_dir in $PATH 1732 do 1733 IFS=$as_save_IFS 1734 test -z "$as_dir" && as_dir=. 1735 for ac_exec_ext in '' $ac_executable_extensions; do 1736 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1737 ac_cv_prog_ac_ct_CC="$ac_prog" 1738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1739 break 2 1740 fi 1741 done 1340 1742 done 1341 1743 … … 1344 1746 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1345 1747 if test -n "$ac_ct_CC"; then 1346 echo "$as_me: 1346: result: $ac_ct_CC" >&51748 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1347 1749 echo "${ECHO_T}$ac_ct_CC" >&6 1348 1750 else 1349 echo "$as_me: 1349: result: no" >&51751 echo "$as_me:$LINENO: result: no" >&5 1350 1752 echo "${ECHO_T}no" >&6 1351 1753 fi … … 1359 1761 fi 1360 1762 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;} 1763 1764 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1765 See \`config.log' for more details." >&5 1766 echo "$as_me: error: no acceptable C compiler found in \$PATH 1767 See \`config.log' for more details." >&2;} 1363 1768 { (exit 1); exit 1; }; } 1364 1769 1365 1770 # Provide some information about the compiler. 1366 echo "$as_me: 1366:" \1771 echo "$as_me:$LINENO:" \ 1367 1772 "checking for C compiler version" >&5 1368 1773 ac_compiler=`set X $ac_compile; echo $2` 1369 { (eval echo "$as_me: 1369: \"$ac_compiler --version </dev/null >&5\"") >&51774 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1370 1775 (eval $ac_compiler --version </dev/null >&5) 2>&5 1371 1776 ac_status=$? 1372 echo "$as_me: 1372: \$? = $ac_status" >&51777 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1373 1778 (exit $ac_status); } 1374 { (eval echo "$as_me: 1374: \"$ac_compiler -v </dev/null >&5\"") >&51779 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1375 1780 (eval $ac_compiler -v </dev/null >&5) 2>&5 1376 1781 ac_status=$? 1377 echo "$as_me: 1377: \$? = $ac_status" >&51782 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1378 1783 (exit $ac_status); } 1379 { (eval echo "$as_me: 1379: \"$ac_compiler -V </dev/null >&5\"") >&51784 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1380 1785 (eval $ac_compiler -V </dev/null >&5) 2>&5 1381 1786 ac_status=$? 1382 echo "$as_me: 1382: \$? = $ac_status" >&51787 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1383 1788 (exit $ac_status); } 1384 1789 1385 1790 cat >conftest.$ac_ext <<_ACEOF 1386 #line 1386 "configure" 1387 #include "confdefs.h" 1791 /* confdefs.h. */ 1792 _ACEOF 1793 cat confdefs.h >>conftest.$ac_ext 1794 cat >>conftest.$ac_ext <<_ACEOF 1795 /* end confdefs.h. */ 1388 1796 1389 1797 int … … 1396 1804 _ACEOF 1397 1805 ac_clean_files_save=$ac_clean_files 1398 ac_clean_files="$ac_clean_files a.out a.exe "1806 ac_clean_files="$ac_clean_files a.out a.exe b.out" 1399 1807 # Try to create an executable without -o first, disregard a.out. 1400 1808 # It will help us diagnose broken compilers, and finding out an intuition 1401 1809 # of exeext. 1402 echo "$as_me: 1402: checking for C compiler default output" >&51403 echo $ECHO_N "checking for C compiler default output ... $ECHO_C" >&61810 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1811 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 1404 1812 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1405 if { (eval echo "$as_me: 1405: \"$ac_link_default\"") >&51813 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1406 1814 (eval $ac_link_default) 2>&5 1407 1815 ac_status=$? 1408 echo "$as_me: 1408: \$? = $ac_status" >&51816 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1409 1817 (exit $ac_status); }; then 1410 1818 # Find the output, starting from the most likely. This scheme is 1411 1819 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1412 1820 # resort. 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 1821 1822 # Be careful to initialize this variable, since it used to be cached. 1823 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1824 ac_cv_exeext= 1825 # b.out is created by i960 compilers. 1826 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 1827 do 1828 test -f "$ac_file" || continue 1416 1829 case $ac_file in 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;; 1830 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1831 ;; 1832 conftest.$ac_ext ) 1833 # This is the source file. 1834 ;; 1835 [ab].out ) 1836 # We found the default executable, but exeext='' is most 1837 # certainly right. 1838 break;; 1839 *.* ) 1840 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1841 # FIXME: I believe we export ac_cv_exeext for Libtool, 1842 # but it would be cool to find out if it's true. Does anybody 1843 # maintain Libtool? --akim. 1844 export ac_cv_exeext 1845 break;; 1846 * ) 1847 break;; 1426 1848 esac 1427 1849 done 1428 1850 else 1429 1851 echo "$as_me: failed program was:" >&5 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;} 1852 sed 's/^/| /' conftest.$ac_ext >&5 1853 1854 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 1855 See \`config.log' for more details." >&5 1856 echo "$as_me: error: C compiler cannot create executables 1857 See \`config.log' for more details." >&2;} 1433 1858 { (exit 77); exit 77; }; } 1434 1859 fi 1435 1860 1436 1861 ac_exeext=$ac_cv_exeext 1437 echo "$as_me: 1437: result: $ac_file" >&51862 echo "$as_me:$LINENO: result: $ac_file" >&5 1438 1863 echo "${ECHO_T}$ac_file" >&6 1439 1864 1440 1865 # Check the compiler produces executables we can run. If not, either 1441 1866 # the compiler is broken, or we cross compile. 1442 echo "$as_me: 1442: checking whether the C compiler works" >&51867 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 1443 1868 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 1444 1869 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 … … 1446 1871 if test "$cross_compiling" != yes; then 1447 1872 if { ac_try='./$ac_file' 1448 { (eval echo "$as_me: 1448: \"$ac_try\"") >&51449 (eval $ac_try) 2>&5 1450 ac_status=$? 1451 echo "$as_me: 1451: \$? = $ac_status" >&51873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1874 (eval $ac_try) 2>&5 1875 ac_status=$? 1876 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1452 1877 (exit $ac_status); }; }; then 1453 1878 cross_compiling=no … … 1456 1881 cross_compiling=yes 1457 1882 else 1458 { { echo "$as_me:1458: error: cannot run C compiled programs. 1459 If you meant to cross compile, use \`--host'." >&5 1883 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 1884 If you meant to cross compile, use \`--host'. 1885 See \`config.log' for more details." >&5 1460 1886 echo "$as_me: error: cannot run C compiled programs. 1461 If you meant to cross compile, use \`--host'." >&2;} 1887 If you meant to cross compile, use \`--host'. 1888 See \`config.log' for more details." >&2;} 1462 1889 { (exit 1); exit 1; }; } 1463 1890 fi 1464 1891 fi 1465 1892 fi 1466 echo "$as_me: 1466: result: yes" >&51893 echo "$as_me:$LINENO: result: yes" >&5 1467 1894 echo "${ECHO_T}yes" >&6 1468 1895 1469 rm -f a.out a.exe conftest$ac_cv_exeext 1896 rm -f a.out a.exe conftest$ac_cv_exeext b.out 1470 1897 ac_clean_files=$ac_clean_files_save 1471 1898 # Check the compiler produces executables we can run. If not, either 1472 1899 # the compiler is broken, or we cross compile. 1473 echo "$as_me: 1473: checking whether we are cross compiling" >&51900 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1474 1901 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1475 echo "$as_me: 1475: result: $cross_compiling" >&51902 echo "$as_me:$LINENO: result: $cross_compiling" >&5 1476 1903 echo "${ECHO_T}$cross_compiling" >&6 1477 1904 1478 echo "$as_me: 1478: checking for executable suffix" >&51479 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&61480 if { (eval echo "$as_me: 1480: \"$ac_link\"") >&51905 echo "$as_me:$LINENO: checking for suffix of executables" >&5 1906 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1481 1908 (eval $ac_link) 2>&5 1482 1909 ac_status=$? 1483 echo "$as_me: 1483: \$? = $ac_status" >&51910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1484 1911 (exit $ac_status); }; then 1485 1912 # If both `conftest.exe' and `conftest' are `present' (well, observable) … … 1487 1914 # work properly (i.e., refer to `conftest.exe'), while it won't with 1488 1915 # `rm'. 1489 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do 1916 for ac_file in conftest.exe conftest conftest.*; do 1917 test -f "$ac_file" || continue 1490 1918 case $ac_file in 1491 *.$ac_ext | *. o | *.obj | *.xcoff | *.tds | *.d | *.pdb) ;;1919 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 1492 1920 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1493 1494 1921 export ac_cv_exeext 1922 break;; 1495 1923 * ) break;; 1496 1924 esac 1497 1925 done 1498 1926 else 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;} 1927 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 1928 See \`config.log' for more details." >&5 1929 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 1930 See \`config.log' for more details." >&2;} 1501 1931 { (exit 1); exit 1; }; } 1502 1932 fi 1503 1933 1504 1934 rm -f conftest$ac_cv_exeext 1505 echo "$as_me: 1505: result: $ac_cv_exeext" >&51935 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 1506 1936 echo "${ECHO_T}$ac_cv_exeext" >&6 1507 1937 … … 1509 1939 EXEEXT=$ac_cv_exeext 1510 1940 ac_exeext=$EXEEXT 1511 echo "$as_me: 1511: checking for object suffix" >&51512 echo $ECHO_N "checking for object suffix... $ECHO_C" >&61941 echo "$as_me:$LINENO: checking for suffix of object files" >&5 1942 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 1513 1943 if test "${ac_cv_objext+set}" = set; then 1514 1944 echo $ECHO_N "(cached) $ECHO_C" >&6 1515 1945 else 1516 1946 cat >conftest.$ac_ext <<_ACEOF 1517 #line 1517 "configure" 1518 #include "confdefs.h" 1947 /* confdefs.h. */ 1948 _ACEOF 1949 cat confdefs.h >>conftest.$ac_ext 1950 cat >>conftest.$ac_ext <<_ACEOF 1951 /* end confdefs.h. */ 1519 1952 1520 1953 int … … 1527 1960 _ACEOF 1528 1961 rm -f conftest.o conftest.obj 1529 if { (eval echo "$as_me: 1529: \"$ac_compile\"") >&51962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1530 1963 (eval $ac_compile) 2>&5 1531 1964 ac_status=$? 1532 echo "$as_me: 1532: \$? = $ac_status" >&51965 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1533 1966 (exit $ac_status); }; then 1534 1967 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 1535 1968 case $ac_file in 1536 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;1969 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 1537 1970 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1538 1971 break;; … … 1541 1974 else 1542 1975 echo "$as_me: failed program was:" >&5 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;} 1976 sed 's/^/| /' conftest.$ac_ext >&5 1977 1978 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 1979 See \`config.log' for more details." >&5 1980 echo "$as_me: error: cannot compute suffix of object files: cannot compile 1981 See \`config.log' for more details." >&2;} 1546 1982 { (exit 1); exit 1; }; } 1547 1983 fi … … 1549 1985 rm -f conftest.$ac_cv_objext conftest.$ac_ext 1550 1986 fi 1551 echo "$as_me: 1551: result: $ac_cv_objext" >&51987 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 1552 1988 echo "${ECHO_T}$ac_cv_objext" >&6 1553 1989 OBJEXT=$ac_cv_objext 1554 1990 ac_objext=$OBJEXT 1555 echo "$as_me: 1555: checking whether we are using the GNU C compiler" >&51991 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 1556 1992 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 1557 1993 if test "${ac_cv_c_compiler_gnu+set}" = set; then … … 1559 1995 else 1560 1996 cat >conftest.$ac_ext <<_ACEOF 1561 #line 1561 "configure" 1562 #include "confdefs.h" 1997 /* confdefs.h. */ 1998 _ACEOF 1999 cat confdefs.h >>conftest.$ac_ext 2000 cat >>conftest.$ac_ext <<_ACEOF 2001 /* end confdefs.h. */ 1563 2002 1564 2003 int … … 1574 2013 _ACEOF 1575 2014 rm -f conftest.$ac_objext 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 2015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2016 (eval $ac_compile) 2>conftest.er1 2017 ac_status=$? 2018 grep -v '^ *+' conftest.er1 >conftest.err 2019 rm -f conftest.er1 2020 cat conftest.err >&5 2021 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1580 2022 (exit $ac_status); } && 1581 { ac_try='test -s conftest.$ac_objext' 1582 { (eval echo "$as_me:1582: \"$ac_try\"") >&5 1583 (eval $ac_try) 2>&5 1584 ac_status=$? 1585 echo "$as_me:1585: \$? = $ac_status" >&5 2023 { ac_try='test -z "$ac_c_werror_flag" 2024 || test ! -s conftest.err' 2025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2026 (eval $ac_try) 2>&5 2027 ac_status=$? 2028 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2029 (exit $ac_status); }; } && 2030 { ac_try='test -s conftest.$ac_objext' 2031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2032 (eval $ac_try) 2>&5 2033 ac_status=$? 2034 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1586 2035 (exit $ac_status); }; }; then 1587 2036 ac_compiler_gnu=yes 1588 2037 else 1589 2038 echo "$as_me: failed program was:" >&5 1590 cat conftest.$ac_ext >&5 2039 sed 's/^/| /' conftest.$ac_ext >&5 2040 1591 2041 ac_compiler_gnu=no 1592 2042 fi 1593 rm -f conftest. $ac_objext conftest.$ac_ext2043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1594 2044 ac_cv_c_compiler_gnu=$ac_compiler_gnu 1595 2045 1596 2046 fi 1597 echo "$as_me: 1597: result: $ac_cv_c_compiler_gnu" >&52047 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 1598 2048 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 1599 2049 GCC=`test $ac_compiler_gnu = yes && echo yes` … … 1601 2051 ac_save_CFLAGS=$CFLAGS 1602 2052 CFLAGS="-g" 1603 echo "$as_me: 1603: checking whether $CC accepts -g" >&52053 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 1604 2054 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 1605 2055 if test "${ac_cv_prog_cc_g+set}" = set; then … … 1607 2057 else 1608 2058 cat >conftest.$ac_ext <<_ACEOF 1609 #line 1609 "configure" 1610 #include "confdefs.h" 2059 /* confdefs.h. */ 2060 _ACEOF 2061 cat confdefs.h >>conftest.$ac_ext 2062 cat >>conftest.$ac_ext <<_ACEOF 2063 /* end confdefs.h. */ 1611 2064 1612 2065 int … … 1619 2072 _ACEOF 1620 2073 rm -f conftest.$ac_objext 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 2074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2075 (eval $ac_compile) 2>conftest.er1 2076 ac_status=$? 2077 grep -v '^ *+' conftest.er1 >conftest.err 2078 rm -f conftest.er1 2079 cat conftest.err >&5 2080 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1625 2081 (exit $ac_status); } && 1626 { ac_try='test -s conftest.$ac_objext' 1627 { (eval echo "$as_me:1627: \"$ac_try\"") >&5 1628 (eval $ac_try) 2>&5 1629 ac_status=$? 1630 echo "$as_me:1630: \$? = $ac_status" >&5 2082 { ac_try='test -z "$ac_c_werror_flag" 2083 || test ! -s conftest.err' 2084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2085 (eval $ac_try) 2>&5 2086 ac_status=$? 2087 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2088 (exit $ac_status); }; } && 2089 { ac_try='test -s conftest.$ac_objext' 2090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2091 (eval $ac_try) 2>&5 2092 ac_status=$? 2093 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1631 2094 (exit $ac_status); }; }; then 1632 2095 ac_cv_prog_cc_g=yes 1633 2096 else 1634 2097 echo "$as_me: failed program was:" >&5 1635 cat conftest.$ac_ext >&5 2098 sed 's/^/| /' conftest.$ac_ext >&5 2099 1636 2100 ac_cv_prog_cc_g=no 1637 2101 fi 1638 rm -f conftest. $ac_objext conftest.$ac_ext1639 fi 1640 echo "$as_me: 1640: result: $ac_cv_prog_cc_g" >&52102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2103 fi 2104 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 1641 2105 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 1642 2106 if test "$ac_test_CFLAGS" = set; then … … 1655 2119 fi 1656 2120 fi 2121 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2122 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2123 if test "${ac_cv_prog_cc_stdc+set}" = set; then 2124 echo $ECHO_N "(cached) $ECHO_C" >&6 2125 else 2126 ac_cv_prog_cc_stdc=no 2127 ac_save_CC=$CC 2128 cat >conftest.$ac_ext <<_ACEOF 2129 /* confdefs.h. */ 2130 _ACEOF 2131 cat confdefs.h >>conftest.$ac_ext 2132 cat >>conftest.$ac_ext <<_ACEOF 2133 /* end confdefs.h. */ 2134 #include <stdarg.h> 2135 #include <stdio.h> 2136 #include <sys/types.h> 2137 #include <sys/stat.h> 2138 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2139 struct buf { int x; }; 2140 FILE * (*rcsopen) (struct buf *, struct stat *, int); 2141 static char *e (p, i) 2142 char **p; 2143 int i; 2144 { 2145 return p[i]; 2146 } 2147 static char *f (char * (*g) (char **, int), char **p, ...) 2148 { 2149 char *s; 2150 va_list v; 2151 va_start (v,p); 2152 s = g (p, va_arg (v,int)); 2153 va_end (v); 2154 return s; 2155 } 2156 2157 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2158 function prototypes and stuff, but not '\xHH' hex character constants. 2159 These don't provoke an error unfortunately, instead are silently treated 2160 as 'x'. The following induces an error, until -std1 is added to get 2161 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2162 array size at least. It's necessary to write '\x00'==0 to get something 2163 that's true only with -std1. */ 2164 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2165 2166 int test (int i, double x); 2167 struct s1 {int (*f) (int a);}; 2168 struct s2 {int (*f) (double a);}; 2169 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2170 int argc; 2171 char **argv; 2172 int 2173 main () 2174 { 2175 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2176 ; 2177 return 0; 2178 } 2179 _ACEOF 2180 # Don't try gcc -ansi; that turns off useful extensions and 2181 # breaks some systems' header files. 2182 # AIX -qlanglvl=ansi 2183 # Ultrix and OSF/1 -std1 2184 # HP-UX 10.20 and later -Ae 2185 # HP-UX older versions -Aa -D_HPUX_SOURCE 2186 # SVR4 -Xc -D__EXTENSIONS__ 2187 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2188 do 2189 CC="$ac_save_CC $ac_arg" 2190 rm -f conftest.$ac_objext 2191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2192 (eval $ac_compile) 2>conftest.er1 2193 ac_status=$? 2194 grep -v '^ *+' conftest.er1 >conftest.err 2195 rm -f conftest.er1 2196 cat conftest.err >&5 2197 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2198 (exit $ac_status); } && 2199 { ac_try='test -z "$ac_c_werror_flag" 2200 || test ! -s conftest.err' 2201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2202 (eval $ac_try) 2>&5 2203 ac_status=$? 2204 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2205 (exit $ac_status); }; } && 2206 { ac_try='test -s conftest.$ac_objext' 2207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2208 (eval $ac_try) 2>&5 2209 ac_status=$? 2210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2211 (exit $ac_status); }; }; then 2212 ac_cv_prog_cc_stdc=$ac_arg 2213 break 2214 else 2215 echo "$as_me: failed program was:" >&5 2216 sed 's/^/| /' conftest.$ac_ext >&5 2217 2218 fi 2219 rm -f conftest.err conftest.$ac_objext 2220 done 2221 rm -f conftest.$ac_ext conftest.$ac_objext 2222 CC=$ac_save_CC 2223 2224 fi 2225 2226 case "x$ac_cv_prog_cc_stdc" in 2227 x|xno) 2228 echo "$as_me:$LINENO: result: none needed" >&5 2229 echo "${ECHO_T}none needed" >&6 ;; 2230 *) 2231 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2232 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2233 CC="$CC $ac_cv_prog_cc_stdc" ;; 2234 esac 2235 1657 2236 # Some people use a C++ compiler to compile C. Since we use `exit', 1658 2237 # in C++ we need to declare it. In case someone uses the same compiler … … 1665 2244 _ACEOF 1666 2245 rm -f conftest.$ac_objext 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 2246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2247 (eval $ac_compile) 2>conftest.er1 2248 ac_status=$? 2249 grep -v '^ *+' conftest.er1 >conftest.err 2250 rm -f conftest.er1 2251 cat conftest.err >&5 2252 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1671 2253 (exit $ac_status); } && 1672 { ac_try='test -s conftest.$ac_objext' 1673 { (eval echo "$as_me:1673: \"$ac_try\"") >&5 1674 (eval $ac_try) 2>&5 1675 ac_status=$? 1676 echo "$as_me:1676: \$? = $ac_status" >&5 2254 { ac_try='test -z "$ac_c_werror_flag" 2255 || test ! -s conftest.err' 2256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2257 (eval $ac_try) 2>&5 2258 ac_status=$? 2259 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2260 (exit $ac_status); }; } && 2261 { ac_try='test -s conftest.$ac_objext' 2262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2263 (eval $ac_try) 2>&5 2264 ac_status=$? 2265 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1677 2266 (exit $ac_status); }; }; then 1678 2267 for ac_declaration in \ 1679 ''\ 1680 '#include <stdlib.h>' \ 2268 '' \ 1681 2269 'extern "C" void std::exit (int) throw (); using std::exit;' \ 1682 2270 'extern "C" void std::exit (int); using std::exit;' \ … … 1686 2274 do 1687 2275 cat >conftest.$ac_ext <<_ACEOF 1688 #line 1688 "configure" 1689 #include "confdefs.h" 2276 /* confdefs.h. */ 2277 _ACEOF 2278 cat confdefs.h >>conftest.$ac_ext 2279 cat >>conftest.$ac_ext <<_ACEOF 2280 /* end confdefs.h. */ 2281 $ac_declaration 1690 2282 #include <stdlib.h> 2283 int 2284 main () 2285 { 2286 exit (42); 2287 ; 2288 return 0; 2289 } 2290 _ACEOF 2291 rm -f conftest.$ac_objext 2292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2293 (eval $ac_compile) 2>conftest.er1 2294 ac_status=$? 2295 grep -v '^ *+' conftest.er1 >conftest.err 2296 rm -f conftest.er1 2297 cat conftest.err >&5 2298 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2299 (exit $ac_status); } && 2300 { ac_try='test -z "$ac_c_werror_flag" 2301 || test ! -s conftest.err' 2302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2303 (eval $ac_try) 2>&5 2304 ac_status=$? 2305 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2306 (exit $ac_status); }; } && 2307 { ac_try='test -s conftest.$ac_objext' 2308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2309 (eval $ac_try) 2>&5 2310 ac_status=$? 2311 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2312 (exit $ac_status); }; }; then 2313 : 2314 else 2315 echo "$as_me: failed program was:" >&5 2316 sed 's/^/| /' conftest.$ac_ext >&5 2317 2318 continue 2319 fi 2320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2321 cat >conftest.$ac_ext <<_ACEOF 2322 /* confdefs.h. */ 2323 _ACEOF 2324 cat confdefs.h >>conftest.$ac_ext 2325 cat >>conftest.$ac_ext <<_ACEOF 2326 /* end confdefs.h. */ 1691 2327 $ac_declaration 1692 2328 int … … 1699 2335 _ACEOF 1700 2336 rm -f conftest.$ac_objext 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 2337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2338 (eval $ac_compile) 2>conftest.er1 2339 ac_status=$? 2340 grep -v '^ *+' conftest.er1 >conftest.err 2341 rm -f conftest.er1 2342 cat conftest.err >&5 2343 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1705 2344 (exit $ac_status); } && 1706 { ac_try='test -s conftest.$ac_objext' 1707 { (eval echo "$as_me:1707: \"$ac_try\"") >&5 1708 (eval $ac_try) 2>&5 1709 ac_status=$? 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 1739 (eval $ac_try) 2>&5 1740 ac_status=$? 1741 echo "$as_me:1741: \$? = $ac_status" >&5 2345 { ac_try='test -z "$ac_c_werror_flag" 2346 || test ! -s conftest.err' 2347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2348 (eval $ac_try) 2>&5 2349 ac_status=$? 2350 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2351 (exit $ac_status); }; } && 2352 { ac_try='test -s conftest.$ac_objext' 2353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2354 (eval $ac_try) 2>&5 2355 ac_status=$? 2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1742 2357 (exit $ac_status); }; }; then 1743 2358 break 1744 2359 else 1745 2360 echo "$as_me: failed program was:" >&5 1746 cat conftest.$ac_ext >&5 1747 fi 1748 rm -f conftest.$ac_objext conftest.$ac_ext 2361 sed 's/^/| /' conftest.$ac_ext >&5 2362 2363 fi 2364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1749 2365 done 1750 2366 rm -f conftest* … … 1757 2373 else 1758 2374 echo "$as_me: failed program was:" >&5 1759 cat conftest.$ac_ext >&5 1760 fi 1761 rm -f conftest.$ac_objext conftest.$ac_ext 2375 sed 's/^/| /' conftest.$ac_ext >&5 2376 2377 fi 2378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1762 2379 ac_ext=c 1763 2380 ac_cpp='$CPP $CPPFLAGS' … … 1776 2393 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1777 2394 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1778 echo "$as_me: 1778: checking for $ac_word" >&52395 echo "$as_me:$LINENO: checking for $ac_word" >&5 1779 2396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1780 2397 if test "${ac_cv_prog_CXX+set}" = set; then … … 1784 2401 ac_cv_prog_CXX="$CXX" # Let the user override the test. 1785 2402 else 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 2403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2404 for as_dir in $PATH 2405 do 2406 IFS=$as_save_IFS 2407 test -z "$as_dir" && as_dir=. 2408 for ac_exec_ext in '' $ac_executable_extensions; do 2409 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2410 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2412 break 2 2413 fi 2414 done 1795 2415 done 1796 2416 … … 1799 2419 CXX=$ac_cv_prog_CXX 1800 2420 if test -n "$CXX"; then 1801 echo "$as_me: 1801: result: $CXX" >&52421 echo "$as_me:$LINENO: result: $CXX" >&5 1802 2422 echo "${ECHO_T}$CXX" >&6 1803 2423 else 1804 echo "$as_me: 1804: result: no" >&52424 echo "$as_me:$LINENO: result: no" >&5 1805 2425 echo "${ECHO_T}no" >&6 1806 2426 fi … … 1815 2435 # Extract the first word of "$ac_prog", so it can be a program name with args. 1816 2436 set dummy $ac_prog; ac_word=$2 1817 echo "$as_me: 1817: checking for $ac_word" >&52437 echo "$as_me:$LINENO: checking for $ac_word" >&5 1818 2438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1819 2439 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then … … 1823 2443 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 1824 2444 else 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 2445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2446 for as_dir in $PATH 2447 do 2448 IFS=$as_save_IFS 2449 test -z "$as_dir" && as_dir=. 2450 for ac_exec_ext in '' $ac_executable_extensions; do 2451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2452 ac_cv_prog_ac_ct_CXX="$ac_prog" 2453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2454 break 2 2455 fi 2456 done 1834 2457 done 1835 2458 … … 1838 2461 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 1839 2462 if test -n "$ac_ct_CXX"; then 1840 echo "$as_me: 1840: result: $ac_ct_CXX" >&52463 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 1841 2464 echo "${ECHO_T}$ac_ct_CXX" >&6 1842 2465 else 1843 echo "$as_me: 1843: result: no" >&52466 echo "$as_me:$LINENO: result: no" >&5 1844 2467 echo "${ECHO_T}no" >&6 1845 2468 fi … … 1852 2475 fi 1853 2476 2477 1854 2478 # Provide some information about the compiler. 1855 echo "$as_me: 1855:" \2479 echo "$as_me:$LINENO:" \ 1856 2480 "checking for C++ compiler version" >&5 1857 2481 ac_compiler=`set X $ac_compile; echo $2` 1858 { (eval echo "$as_me: 1858: \"$ac_compiler --version </dev/null >&5\"") >&52482 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1859 2483 (eval $ac_compiler --version </dev/null >&5) 2>&5 1860 2484 ac_status=$? 1861 echo "$as_me: 1861: \$? = $ac_status" >&52485 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1862 2486 (exit $ac_status); } 1863 { (eval echo "$as_me: 1863: \"$ac_compiler -v </dev/null >&5\"") >&52487 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1864 2488 (eval $ac_compiler -v </dev/null >&5) 2>&5 1865 2489 ac_status=$? 1866 echo "$as_me: 1866: \$? = $ac_status" >&52490 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1867 2491 (exit $ac_status); } 1868 { (eval echo "$as_me: 1868: \"$ac_compiler -V </dev/null >&5\"") >&52492 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1869 2493 (eval $ac_compiler -V </dev/null >&5) 2>&5 1870 2494 ac_status=$? 1871 echo "$as_me: 1871: \$? = $ac_status" >&52495 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1872 2496 (exit $ac_status); } 1873 2497 1874 echo "$as_me: 1874: checking whether we are using the GNU C++ compiler" >&52498 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 1875 2499 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 1876 2500 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then … … 1878 2502 else 1879 2503 cat >conftest.$ac_ext <<_ACEOF 1880 #line 1880 "configure" 1881 #include "confdefs.h" 2504 /* confdefs.h. */ 2505 _ACEOF 2506 cat confdefs.h >>conftest.$ac_ext 2507 cat >>conftest.$ac_ext <<_ACEOF 2508 /* end confdefs.h. */ 1882 2509 1883 2510 int … … 1893 2520 _ACEOF 1894 2521 rm -f conftest.$ac_objext 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 2522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2523 (eval $ac_compile) 2>conftest.er1 2524 ac_status=$? 2525 grep -v '^ *+' conftest.er1 >conftest.err 2526 rm -f conftest.er1 2527 cat conftest.err >&5 2528 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1899 2529 (exit $ac_status); } && 1900 { ac_try='test -s conftest.$ac_objext' 1901 { (eval echo "$as_me:1901: \"$ac_try\"") >&5 1902 (eval $ac_try) 2>&5 1903 ac_status=$? 1904 echo "$as_me:1904: \$? = $ac_status" >&5 2530 { ac_try='test -z "$ac_cxx_werror_flag" 2531 || test ! -s conftest.err' 2532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2533 (eval $ac_try) 2>&5 2534 ac_status=$? 2535 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2536 (exit $ac_status); }; } && 2537 { ac_try='test -s conftest.$ac_objext' 2538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2539 (eval $ac_try) 2>&5 2540 ac_status=$? 2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1905 2542 (exit $ac_status); }; }; then 1906 2543 ac_compiler_gnu=yes 1907 2544 else 1908 2545 echo "$as_me: failed program was:" >&5 1909 cat conftest.$ac_ext >&5 2546 sed 's/^/| /' conftest.$ac_ext >&5 2547 1910 2548 ac_compiler_gnu=no 1911 2549 fi 1912 rm -f conftest. $ac_objext conftest.$ac_ext2550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1913 2551 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 1914 2552 1915 2553 fi 1916 echo "$as_me: 1916: result: $ac_cv_cxx_compiler_gnu" >&52554 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 1917 2555 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 1918 2556 GXX=`test $ac_compiler_gnu = yes && echo yes` … … 1920 2558 ac_save_CXXFLAGS=$CXXFLAGS 1921 2559 CXXFLAGS="-g" 1922 echo "$as_me: 1922: checking whether $CXX accepts -g" >&52560 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 1923 2561 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 1924 2562 if test "${ac_cv_prog_cxx_g+set}" = set; then … … 1926 2564 else 1927 2565 cat >conftest.$ac_ext <<_ACEOF 1928 #line 1928 "configure" 1929 #include "confdefs.h" 2566 /* confdefs.h. */ 2567 _ACEOF 2568 cat confdefs.h >>conftest.$ac_ext 2569 cat >>conftest.$ac_ext <<_ACEOF 2570 /* end confdefs.h. */ 1930 2571 1931 2572 int … … 1938 2579 _ACEOF 1939 2580 rm -f conftest.$ac_objext 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 2581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2582 (eval $ac_compile) 2>conftest.er1 2583 ac_status=$? 2584 grep -v '^ *+' conftest.er1 >conftest.err 2585 rm -f conftest.er1 2586 cat conftest.err >&5 2587 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1944 2588 (exit $ac_status); } && 1945 { ac_try='test -s conftest.$ac_objext' 1946 { (eval echo "$as_me:1946: \"$ac_try\"") >&5 1947 (eval $ac_try) 2>&5 1948 ac_status=$? 1949 echo "$as_me:1949: \$? = $ac_status" >&5 2589 { ac_try='test -z "$ac_cxx_werror_flag" 2590 || test ! -s conftest.err' 2591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2592 (eval $ac_try) 2>&5 2593 ac_status=$? 2594 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2595 (exit $ac_status); }; } && 2596 { ac_try='test -s conftest.$ac_objext' 2597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2598 (eval $ac_try) 2>&5 2599 ac_status=$? 2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1950 2601 (exit $ac_status); }; }; then 1951 2602 ac_cv_prog_cxx_g=yes 1952 2603 else 1953 2604 echo "$as_me: failed program was:" >&5 1954 cat conftest.$ac_ext >&5 2605 sed 's/^/| /' conftest.$ac_ext >&5 2606 1955 2607 ac_cv_prog_cxx_g=no 1956 2608 fi 1957 rm -f conftest. $ac_objext conftest.$ac_ext1958 fi 1959 echo "$as_me: 1959: result: $ac_cv_prog_cxx_g" >&52609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2610 fi 2611 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 1960 2612 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 1961 2613 if test "$ac_test_CXXFLAGS" = set; then … … 1975 2627 fi 1976 2628 for ac_declaration in \ 1977 ''\ 1978 '#include <stdlib.h>' \ 2629 '' \ 1979 2630 'extern "C" void std::exit (int) throw (); using std::exit;' \ 1980 2631 'extern "C" void std::exit (int); using std::exit;' \ … … 1984 2635 do 1985 2636 cat >conftest.$ac_ext <<_ACEOF 1986 #line 1986 "configure" 1987 #include "confdefs.h" 2637 /* confdefs.h. */ 2638 _ACEOF 2639 cat confdefs.h >>conftest.$ac_ext 2640 cat >>conftest.$ac_ext <<_ACEOF 2641 /* end confdefs.h. */ 2642 $ac_declaration 1988 2643 #include <stdlib.h> 2644 int 2645 main () 2646 { 2647 exit (42); 2648 ; 2649 return 0; 2650 } 2651 _ACEOF 2652 rm -f conftest.$ac_objext 2653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2654 (eval $ac_compile) 2>conftest.er1 2655 ac_status=$? 2656 grep -v '^ *+' conftest.er1 >conftest.err 2657 rm -f conftest.er1 2658 cat conftest.err >&5 2659 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2660 (exit $ac_status); } && 2661 { ac_try='test -z "$ac_cxx_werror_flag" 2662 || test ! -s conftest.err' 2663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2664 (eval $ac_try) 2>&5 2665 ac_status=$? 2666 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2667 (exit $ac_status); }; } && 2668 { ac_try='test -s conftest.$ac_objext' 2669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2670 (eval $ac_try) 2>&5 2671 ac_status=$? 2672 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2673 (exit $ac_status); }; }; then 2674 : 2675 else 2676 echo "$as_me: failed program was:" >&5 2677 sed 's/^/| /' conftest.$ac_ext >&5 2678 2679 continue 2680 fi 2681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2682 cat >conftest.$ac_ext <<_ACEOF 2683 /* confdefs.h. */ 2684 _ACEOF 2685 cat confdefs.h >>conftest.$ac_ext 2686 cat >>conftest.$ac_ext <<_ACEOF 2687 /* end confdefs.h. */ 1989 2688 $ac_declaration 1990 2689 int … … 1997 2696 _ACEOF 1998 2697 rm -f conftest.$ac_objext 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 2698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2699 (eval $ac_compile) 2>conftest.er1 2700 ac_status=$? 2701 grep -v '^ *+' conftest.er1 >conftest.err 2702 rm -f conftest.er1 2703 cat conftest.err >&5 2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2003 2705 (exit $ac_status); } && 2004 { ac_try='test -s conftest.$ac_objext' 2005 { (eval echo "$as_me:2005: \"$ac_try\"") >&5 2006 (eval $ac_try) 2>&5 2007 ac_status=$? 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 2037 (eval $ac_try) 2>&5 2038 ac_status=$? 2039 echo "$as_me:2039: \$? = $ac_status" >&5 2706 { ac_try='test -z "$ac_cxx_werror_flag" 2707 || test ! -s conftest.err' 2708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2709 (eval $ac_try) 2>&5 2710 ac_status=$? 2711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2712 (exit $ac_status); }; } && 2713 { ac_try='test -s conftest.$ac_objext' 2714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2715 (eval $ac_try) 2>&5 2716 ac_status=$? 2717 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2040 2718 (exit $ac_status); }; }; then 2041 2719 break 2042 2720 else 2043 2721 echo "$as_me: failed program was:" >&5 2044 cat conftest.$ac_ext >&5 2045 fi 2046 rm -f conftest.$ac_objext conftest.$ac_ext 2722 sed 's/^/| /' conftest.$ac_ext >&5 2723 2724 fi 2725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2047 2726 done 2048 2727 rm -f conftest* … … 2065 2744 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2066 2745 2067 echo "$as_me:2067: checking for pthread_create in -lpthread" >&5 2746 2747 2748 2749 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 2068 2750 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6 2069 2751 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then … … 2073 2755 LIBS="-lpthread $LIBS" 2074 2756 cat >conftest.$ac_ext <<_ACEOF 2075 #line 2075 "configure" 2076 #include "confdefs.h" 2757 /* confdefs.h. */ 2758 _ACEOF 2759 cat confdefs.h >>conftest.$ac_ext 2760 cat >>conftest.$ac_ext <<_ACEOF 2761 /* end confdefs.h. */ 2077 2762 2078 2763 /* Override any gcc2 internal prototype to avoid an error. */ … … 2092 2777 _ACEOF 2093 2778 rm -f conftest.$ac_objext conftest$ac_exeext 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 2779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2780 (eval $ac_link) 2>conftest.er1 2781 ac_status=$? 2782 grep -v '^ *+' conftest.er1 >conftest.err 2783 rm -f conftest.er1 2784 cat conftest.err >&5 2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2098 2786 (exit $ac_status); } && 2099 { ac_try='test -s conftest$ac_exeext' 2100 { (eval echo "$as_me:2100: \"$ac_try\"") >&5 2101 (eval $ac_try) 2>&5 2102 ac_status=$? 2103 echo "$as_me:2103: \$? = $ac_status" >&5 2787 { ac_try='test -z "$ac_c_werror_flag" 2788 || test ! -s conftest.err' 2789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2790 (eval $ac_try) 2>&5 2791 ac_status=$? 2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2793 (exit $ac_status); }; } && 2794 { ac_try='test -s conftest$ac_exeext' 2795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2796 (eval $ac_try) 2>&5 2797 ac_status=$? 2798 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2104 2799 (exit $ac_status); }; }; then 2105 2800 ac_cv_lib_pthread_pthread_create=yes 2106 2801 else 2107 2802 echo "$as_me: failed program was:" >&5 2108 cat conftest.$ac_ext >&5 2803 sed 's/^/| /' conftest.$ac_ext >&5 2804 2109 2805 ac_cv_lib_pthread_pthread_create=no 2110 2806 fi 2111 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2807 rm -f conftest.err conftest.$ac_objext \ 2808 conftest$ac_exeext conftest.$ac_ext 2112 2809 LIBS=$ac_check_lib_save_LIBS 2113 2810 fi 2114 echo "$as_me: 2114: result: $ac_cv_lib_pthread_pthread_create" >&52811 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 2115 2812 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6 2116 2813 if test $ac_cv_lib_pthread_pthread_create = yes; then 2117 cat >>confdefs.h << EOF2814 cat >>confdefs.h <<_ACEOF 2118 2815 #define HAVE_LIBPTHREAD 1 2119 EOF2816 _ACEOF 2120 2817 2121 2818 LIBS="-lpthread $LIBS" … … 2123 2820 fi 2124 2821 2125 echo "$as_me:2125: checking for puts in -lwsock32" >&5 2822 2823 echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 2126 2824 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6 2127 2825 if test "${ac_cv_lib_wsock32_puts+set}" = set; then … … 2131 2829 LIBS="-lwsock32 $LIBS" 2132 2830 cat >conftest.$ac_ext <<_ACEOF 2133 #line 2133 "configure" 2134 #include "confdefs.h" 2831 /* confdefs.h. */ 2832 _ACEOF 2833 cat confdefs.h >>conftest.$ac_ext 2834 cat >>conftest.$ac_ext <<_ACEOF 2835 /* end confdefs.h. */ 2135 2836 2136 2837 /* Override any gcc2 internal prototype to avoid an error. */ … … 2150 2851 _ACEOF 2151 2852 rm -f conftest.$ac_objext conftest$ac_exeext 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 2853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2854 (eval $ac_link) 2>conftest.er1 2855 ac_status=$? 2856 grep -v '^ *+' conftest.er1 >conftest.err 2857 rm -f conftest.er1 2858 cat conftest.err >&5 2859 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2156 2860 (exit $ac_status); } && 2157 { ac_try='test -s conftest$ac_exeext' 2158 { (eval echo "$as_me:2158: \"$ac_try\"") >&5 2159 (eval $ac_try) 2>&5 2160 ac_status=$? 2161 echo "$as_me:2161: \$? = $ac_status" >&5 2861 { ac_try='test -z "$ac_c_werror_flag" 2862 || test ! -s conftest.err' 2863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2864 (eval $ac_try) 2>&5 2865 ac_status=$? 2866 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2867 (exit $ac_status); }; } && 2868 { ac_try='test -s conftest$ac_exeext' 2869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2870 (eval $ac_try) 2>&5 2871 ac_status=$? 2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2162 2873 (exit $ac_status); }; }; then 2163 2874 ac_cv_lib_wsock32_puts=yes 2164 2875 else 2165 2876 echo "$as_me: failed program was:" >&5 2166 cat conftest.$ac_ext >&5 2877 sed 's/^/| /' conftest.$ac_ext >&5 2878 2167 2879 ac_cv_lib_wsock32_puts=no 2168 2880 fi 2169 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2881 rm -f conftest.err conftest.$ac_objext \ 2882 conftest$ac_exeext conftest.$ac_ext 2170 2883 LIBS=$ac_check_lib_save_LIBS 2171 2884 fi 2172 echo "$as_me: 2172: result: $ac_cv_lib_wsock32_puts" >&52885 echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&5 2173 2886 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6 2174 2887 if test $ac_cv_lib_wsock32_puts = yes; then 2175 cat >>confdefs.h << EOF2888 cat >>confdefs.h <<_ACEOF 2176 2889 #define HAVE_LIBWSOCK32 1 2177 EOF2890 _ACEOF 2178 2891 2179 2892 LIBS="-lwsock32 $LIBS" … … 2181 2894 fi 2182 2895 2183 echo "$as_me:2183: checking for puts in -lws2_32" >&5 2896 2897 echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 2184 2898 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6 2185 2899 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then … … 2189 2903 LIBS="-lws2_32 $LIBS" 2190 2904 cat >conftest.$ac_ext <<_ACEOF 2191 #line 2191 "configure" 2192 #include "confdefs.h" 2905 /* confdefs.h. */ 2906 _ACEOF 2907 cat confdefs.h >>conftest.$ac_ext 2908 cat >>conftest.$ac_ext <<_ACEOF 2909 /* end confdefs.h. */ 2193 2910 2194 2911 /* Override any gcc2 internal prototype to avoid an error. */ … … 2208 2925 _ACEOF 2209 2926 rm -f conftest.$ac_objext conftest$ac_exeext 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 2927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2928 (eval $ac_link) 2>conftest.er1 2929 ac_status=$? 2930 grep -v '^ *+' conftest.er1 >conftest.err 2931 rm -f conftest.er1 2932 cat conftest.err >&5 2933 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2214 2934 (exit $ac_status); } && 2215 { ac_try='test -s conftest$ac_exeext' 2216 { (eval echo "$as_me:2216: \"$ac_try\"") >&5 2217 (eval $ac_try) 2>&5 2218 ac_status=$? 2219 echo "$as_me:2219: \$? = $ac_status" >&5 2935 { ac_try='test -z "$ac_c_werror_flag" 2936 || test ! -s conftest.err' 2937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2938 (eval $ac_try) 2>&5 2939 ac_status=$? 2940 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2941 (exit $ac_status); }; } && 2942 { ac_try='test -s conftest$ac_exeext' 2943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2944 (eval $ac_try) 2>&5 2945 ac_status=$? 2946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2220 2947 (exit $ac_status); }; }; then 2221 2948 ac_cv_lib_ws2_32_puts=yes 2222 2949 else 2223 2950 echo "$as_me: failed program was:" >&5 2224 cat conftest.$ac_ext >&5 2951 sed 's/^/| /' conftest.$ac_ext >&5 2952 2225 2953 ac_cv_lib_ws2_32_puts=no 2226 2954 fi 2227 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2955 rm -f conftest.err conftest.$ac_objext \ 2956 conftest$ac_exeext conftest.$ac_ext 2228 2957 LIBS=$ac_check_lib_save_LIBS 2229 2958 fi 2230 echo "$as_me: 2230: result: $ac_cv_lib_ws2_32_puts" >&52959 echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&5 2231 2960 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6 2232 2961 if test $ac_cv_lib_ws2_32_puts = yes; then 2233 cat >>confdefs.h << EOF2962 cat >>confdefs.h <<_ACEOF 2234 2963 #define HAVE_LIBWS2_32 1 2235 EOF2964 _ACEOF 2236 2965 2237 2966 LIBS="-lws2_32 $LIBS" … … 2239 2968 fi 2240 2969 2241 echo "$as_me:2241: checking for puts in -lole32" >&5 2970 2971 echo "$as_me:$LINENO: checking for puts in -lole32" >&5 2242 2972 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6 2243 2973 if test "${ac_cv_lib_ole32_puts+set}" = set; then … … 2247 2977 LIBS="-lole32 $LIBS" 2248 2978 cat >conftest.$ac_ext <<_ACEOF 2249 #line 2249 "configure" 2250 #include "confdefs.h" 2979 /* confdefs.h. */ 2980 _ACEOF 2981 cat confdefs.h >>conftest.$ac_ext 2982 cat >>conftest.$ac_ext <<_ACEOF 2983 /* end confdefs.h. */ 2251 2984 2252 2985 /* Override any gcc2 internal prototype to avoid an error. */ … … 2266 2999 _ACEOF 2267 3000 rm -f conftest.$ac_objext conftest$ac_exeext 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 3001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3002 (eval $ac_link) 2>conftest.er1 3003 ac_status=$? 3004 grep -v '^ *+' conftest.er1 >conftest.err 3005 rm -f conftest.er1 3006 cat conftest.err >&5 3007 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2272 3008 (exit $ac_status); } && 2273 { ac_try='test -s conftest$ac_exeext' 2274 { (eval echo "$as_me:2274: \"$ac_try\"") >&5 2275 (eval $ac_try) 2>&5 2276 ac_status=$? 2277 echo "$as_me:2277: \$? = $ac_status" >&5 3009 { ac_try='test -z "$ac_c_werror_flag" 3010 || test ! -s conftest.err' 3011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3012 (eval $ac_try) 2>&5 3013 ac_status=$? 3014 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3015 (exit $ac_status); }; } && 3016 { ac_try='test -s conftest$ac_exeext' 3017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3018 (eval $ac_try) 2>&5 3019 ac_status=$? 3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2278 3021 (exit $ac_status); }; }; then 2279 3022 ac_cv_lib_ole32_puts=yes 2280 3023 else 2281 3024 echo "$as_me: failed program was:" >&5 2282 cat conftest.$ac_ext >&5 3025 sed 's/^/| /' conftest.$ac_ext >&5 3026 2283 3027 ac_cv_lib_ole32_puts=no 2284 3028 fi 2285 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3029 rm -f conftest.err conftest.$ac_objext \ 3030 conftest$ac_exeext conftest.$ac_ext 2286 3031 LIBS=$ac_check_lib_save_LIBS 2287 3032 fi 2288 echo "$as_me: 2288: result: $ac_cv_lib_ole32_puts" >&53033 echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&5 2289 3034 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6 2290 3035 if test $ac_cv_lib_ole32_puts = yes; then 2291 cat >>confdefs.h << EOF3036 cat >>confdefs.h <<_ACEOF 2292 3037 #define HAVE_LIBOLE32 1 2293 EOF3038 _ACEOF 2294 3039 2295 3040 LIBS="-lole32 $LIBS" … … 2297 3042 fi 2298 3043 2299 echo "$as_me:2299: checking for puts in -lwinmm" >&5 3044 3045 echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 2300 3046 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6 2301 3047 if test "${ac_cv_lib_winmm_puts+set}" = set; then … … 2305 3051 LIBS="-lwinmm $LIBS" 2306 3052 cat >conftest.$ac_ext <<_ACEOF 2307 #line 2307 "configure" 2308 #include "confdefs.h" 3053 /* confdefs.h. */ 3054 _ACEOF 3055 cat confdefs.h >>conftest.$ac_ext 3056 cat >>conftest.$ac_ext <<_ACEOF 3057 /* end confdefs.h. */ 2309 3058 2310 3059 /* Override any gcc2 internal prototype to avoid an error. */ … … 2324 3073 _ACEOF 2325 3074 rm -f conftest.$ac_objext conftest$ac_exeext 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 3075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3076 (eval $ac_link) 2>conftest.er1 3077 ac_status=$? 3078 grep -v '^ *+' conftest.er1 >conftest.err 3079 rm -f conftest.er1 3080 cat conftest.err >&5 3081 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2330 3082 (exit $ac_status); } && 2331 { ac_try='test -s conftest$ac_exeext' 2332 { (eval echo "$as_me:2332: \"$ac_try\"") >&5 2333 (eval $ac_try) 2>&5 2334 ac_status=$? 2335 echo "$as_me:2335: \$? = $ac_status" >&5 3083 { ac_try='test -z "$ac_c_werror_flag" 3084 || test ! -s conftest.err' 3085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3086 (eval $ac_try) 2>&5 3087 ac_status=$? 3088 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3089 (exit $ac_status); }; } && 3090 { ac_try='test -s conftest$ac_exeext' 3091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3092 (eval $ac_try) 2>&5 3093 ac_status=$? 3094 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2336 3095 (exit $ac_status); }; }; then 2337 3096 ac_cv_lib_winmm_puts=yes 2338 3097 else 2339 3098 echo "$as_me: failed program was:" >&5 2340 cat conftest.$ac_ext >&5 3099 sed 's/^/| /' conftest.$ac_ext >&5 3100 2341 3101 ac_cv_lib_winmm_puts=no 2342 3102 fi 2343 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3103 rm -f conftest.err conftest.$ac_objext \ 3104 conftest$ac_exeext conftest.$ac_ext 2344 3105 LIBS=$ac_check_lib_save_LIBS 2345 3106 fi 2346 echo "$as_me: 2346: result: $ac_cv_lib_winmm_puts" >&53107 echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&5 2347 3108 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6 2348 3109 if test $ac_cv_lib_winmm_puts = yes; then 2349 cat >>confdefs.h << EOF3110 cat >>confdefs.h <<_ACEOF 2350 3111 #define HAVE_LIBWINMM 1 2351 EOF3112 _ACEOF 2352 3113 2353 3114 LIBS="-lwinmm $LIBS" … … 2355 3116 fi 2356 3117 2357 echo "$as_me:2357: checking for puts in -lsocket" >&5 3118 3119 echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 2358 3120 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6 2359 3121 if test "${ac_cv_lib_socket_puts+set}" = set; then … … 2363 3125 LIBS="-lsocket $LIBS" 2364 3126 cat >conftest.$ac_ext <<_ACEOF 2365 #line 2365 "configure" 2366 #include "confdefs.h" 3127 /* confdefs.h. */ 3128 _ACEOF 3129 cat confdefs.h >>conftest.$ac_ext 3130 cat >>conftest.$ac_ext <<_ACEOF 3131 /* end confdefs.h. */ 2367 3132 2368 3133 /* Override any gcc2 internal prototype to avoid an error. */ … … 2382 3147 _ACEOF 2383 3148 rm -f conftest.$ac_objext conftest$ac_exeext 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 3149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3150 (eval $ac_link) 2>conftest.er1 3151 ac_status=$? 3152 grep -v '^ *+' conftest.er1 >conftest.err 3153 rm -f conftest.er1 3154 cat conftest.err >&5 3155 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2388 3156 (exit $ac_status); } && 2389 { ac_try='test -s conftest$ac_exeext' 2390 { (eval echo "$as_me:2390: \"$ac_try\"") >&5 2391 (eval $ac_try) 2>&5 2392 ac_status=$? 2393 echo "$as_me:2393: \$? = $ac_status" >&5 3157 { ac_try='test -z "$ac_c_werror_flag" 3158 || test ! -s conftest.err' 3159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3160 (eval $ac_try) 2>&5 3161 ac_status=$? 3162 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3163 (exit $ac_status); }; } && 3164 { ac_try='test -s conftest$ac_exeext' 3165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3166 (eval $ac_try) 2>&5 3167 ac_status=$? 3168 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2394 3169 (exit $ac_status); }; }; then 2395 3170 ac_cv_lib_socket_puts=yes 2396 3171 else 2397 3172 echo "$as_me: failed program was:" >&5 2398 cat conftest.$ac_ext >&5 3173 sed 's/^/| /' conftest.$ac_ext >&5 3174 2399 3175 ac_cv_lib_socket_puts=no 2400 3176 fi 2401 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3177 rm -f conftest.err conftest.$ac_objext \ 3178 conftest$ac_exeext conftest.$ac_ext 2402 3179 LIBS=$ac_check_lib_save_LIBS 2403 3180 fi 2404 echo "$as_me: 2404: result: $ac_cv_lib_socket_puts" >&53181 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&5 2405 3182 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6 2406 3183 if test $ac_cv_lib_socket_puts = yes; then 2407 cat >>confdefs.h << EOF3184 cat >>confdefs.h <<_ACEOF 2408 3185 #define HAVE_LIBSOCKET 1 2409 EOF3186 _ACEOF 2410 3187 2411 3188 LIBS="-lsocket $LIBS" … … 2413 3190 fi 2414 3191 2415 echo "$as_me:2415: checking for puts in -lrt" >&5 3192 3193 echo "$as_me:$LINENO: checking for puts in -lrt" >&5 2416 3194 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6 2417 3195 if test "${ac_cv_lib_rt_puts+set}" = set; then … … 2421 3199 LIBS="-lrt $LIBS" 2422 3200 cat >conftest.$ac_ext <<_ACEOF 2423 #line 2423 "configure" 2424 #include "confdefs.h" 3201 /* confdefs.h. */ 3202 _ACEOF 3203 cat confdefs.h >>conftest.$ac_ext 3204 cat >>conftest.$ac_ext <<_ACEOF 3205 /* end confdefs.h. */ 2425 3206 2426 3207 /* Override any gcc2 internal prototype to avoid an error. */ … … 2440 3221 _ACEOF 2441 3222 rm -f conftest.$ac_objext conftest$ac_exeext 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 3223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3224 (eval $ac_link) 2>conftest.er1 3225 ac_status=$? 3226 grep -v '^ *+' conftest.er1 >conftest.err 3227 rm -f conftest.er1 3228 cat conftest.err >&5 3229 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2446 3230 (exit $ac_status); } && 2447 { ac_try='test -s conftest$ac_exeext' 2448 { (eval echo "$as_me:2448: \"$ac_try\"") >&5 2449 (eval $ac_try) 2>&5 2450 ac_status=$? 2451 echo "$as_me:2451: \$? = $ac_status" >&5 3231 { ac_try='test -z "$ac_c_werror_flag" 3232 || test ! -s conftest.err' 3233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3234 (eval $ac_try) 2>&5 3235 ac_status=$? 3236 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3237 (exit $ac_status); }; } && 3238 { ac_try='test -s conftest$ac_exeext' 3239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3240 (eval $ac_try) 2>&5 3241 ac_status=$? 3242 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2452 3243 (exit $ac_status); }; }; then 2453 3244 ac_cv_lib_rt_puts=yes 2454 3245 else 2455 3246 echo "$as_me: failed program was:" >&5 2456 cat conftest.$ac_ext >&5 3247 sed 's/^/| /' conftest.$ac_ext >&5 3248 2457 3249 ac_cv_lib_rt_puts=no 2458 3250 fi 2459 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3251 rm -f conftest.err conftest.$ac_objext \ 3252 conftest$ac_exeext conftest.$ac_ext 2460 3253 LIBS=$ac_check_lib_save_LIBS 2461 3254 fi 2462 echo "$as_me: 2462: result: $ac_cv_lib_rt_puts" >&53255 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&5 2463 3256 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6 2464 3257 if test $ac_cv_lib_rt_puts = yes; then 2465 cat >>confdefs.h << EOF3258 cat >>confdefs.h <<_ACEOF 2466 3259 #define HAVE_LIBRT 1 2467 EOF3260 _ACEOF 2468 3261 2469 3262 LIBS="-lrt $LIBS" … … 2471 3264 fi 2472 3265 2473 echo "$as_me:2473: checking for puts in -lnsl" >&5 3266 3267 echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 2474 3268 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6 2475 3269 if test "${ac_cv_lib_nsl_puts+set}" = set; then … … 2479 3273 LIBS="-lnsl $LIBS" 2480 3274 cat >conftest.$ac_ext <<_ACEOF 2481 #line 2481 "configure" 2482 #include "confdefs.h" 3275 /* confdefs.h. */ 3276 _ACEOF 3277 cat confdefs.h >>conftest.$ac_ext 3278 cat >>conftest.$ac_ext <<_ACEOF 3279 /* end confdefs.h. */ 2483 3280 2484 3281 /* Override any gcc2 internal prototype to avoid an error. */ … … 2498 3295 _ACEOF 2499 3296 rm -f conftest.$ac_objext conftest$ac_exeext 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 3297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3298 (eval $ac_link) 2>conftest.er1 3299 ac_status=$? 3300 grep -v '^ *+' conftest.er1 >conftest.err 3301 rm -f conftest.er1 3302 cat conftest.err >&5 3303 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2504 3304 (exit $ac_status); } && 2505 { ac_try='test -s conftest$ac_exeext' 2506 { (eval echo "$as_me:2506: \"$ac_try\"") >&5 2507 (eval $ac_try) 2>&5 2508 ac_status=$? 2509 echo "$as_me:2509: \$? = $ac_status" >&5 3305 { ac_try='test -z "$ac_c_werror_flag" 3306 || test ! -s conftest.err' 3307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3308 (eval $ac_try) 2>&5 3309 ac_status=$? 3310 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3311 (exit $ac_status); }; } && 3312 { ac_try='test -s conftest$ac_exeext' 3313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3314 (eval $ac_try) 2>&5 3315 ac_status=$? 3316 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2510 3317 (exit $ac_status); }; }; then 2511 3318 ac_cv_lib_nsl_puts=yes 2512 3319 else 2513 3320 echo "$as_me: failed program was:" >&5 2514 cat conftest.$ac_ext >&5 3321 sed 's/^/| /' conftest.$ac_ext >&5 3322 2515 3323 ac_cv_lib_nsl_puts=no 2516 3324 fi 2517 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3325 rm -f conftest.err conftest.$ac_objext \ 3326 conftest$ac_exeext conftest.$ac_ext 2518 3327 LIBS=$ac_check_lib_save_LIBS 2519 3328 fi 2520 echo "$as_me: 2520: result: $ac_cv_lib_nsl_puts" >&53329 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&5 2521 3330 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6 2522 3331 if test $ac_cv_lib_nsl_puts = yes; then 2523 cat >>confdefs.h << EOF3332 cat >>confdefs.h <<_ACEOF 2524 3333 #define HAVE_LIBNSL 1 2525 EOF3334 _ACEOF 2526 3335 2527 3336 LIBS="-lnsl $LIBS" … … 2529 3338 fi 2530 3339 2531 echo "$as_me:2531: result: Setting PJ_M_NAME to $target_cpu" >&5 3340 3341 echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&5 2532 3342 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6 2533 cat >>confdefs.h << EOF3343 cat >>confdefs.h <<_ACEOF 2534 3344 #define PJ_M_NAME "$target_cpu" 2535 EOF 2536 2537 echo "$as_me:2537: checking memory alignment" >&5 3345 _ACEOF 3346 3347 3348 echo "$as_me:$LINENO: checking memory alignment" >&5 2538 3349 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6 2539 3350 case $target in 2540 3351 ia64-* | x86_64-* ) 2541 cat >>confdefs.h <<\ EOF3352 cat >>confdefs.h <<\_ACEOF 2542 3353 #define PJ_POOL_ALIGNMENT 8 2543 EOF2544 2545 echo "$as_me: 2545: result: 8 bytes" >&53354 _ACEOF 3355 3356 echo "$as_me:$LINENO: result: 8 bytes" >&5 2546 3357 echo "${ECHO_T}8 bytes" >&6 2547 3358 ;; 2548 3359 * ) 2549 cat >>confdefs.h <<\ EOF3360 cat >>confdefs.h <<\_ACEOF 2550 3361 #define PJ_POOL_ALIGNMENT 4 2551 EOF2552 2553 echo "$as_me: 2553: result: 4 bytes (default)" >&53362 _ACEOF 3363 3364 echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 2554 3365 echo "${ECHO_T}4 bytes (default)" >&6 2555 3366 ;; 2556 3367 esac 2557 3368 2558 echo "$as_me:2558: checking whether byte ordering is bigendian" >&5 3369 3370 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 2559 3371 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 2560 3372 if test "${ac_cv_c_bigendian+set}" = set; then 2561 3373 echo $ECHO_N "(cached) $ECHO_C" >&6 2562 3374 else 2563 ac_cv_c_bigendian=unknown 2564 # See if sys/param.h defines the BYTE_ORDER macro. 3375 # See if sys/param.h defines the BYTE_ORDER macro. 2565 3376 cat >conftest.$ac_ext <<_ACEOF 2566 #line 2566 "configure" 2567 #include "confdefs.h" 3377 /* confdefs.h. */ 3378 _ACEOF 3379 cat confdefs.h >>conftest.$ac_ext 3380 cat >>conftest.$ac_ext <<_ACEOF 3381 /* end confdefs.h. */ 2568 3382 #include <sys/types.h> 2569 3383 #include <sys/param.h> … … 2581 3395 _ACEOF 2582 3396 rm -f conftest.$ac_objext 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 3397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3398 (eval $ac_compile) 2>conftest.er1 3399 ac_status=$? 3400 grep -v '^ *+' conftest.er1 >conftest.err 3401 rm -f conftest.er1 3402 cat conftest.err >&5 3403 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2587 3404 (exit $ac_status); } && 2588 { ac_try='test -s conftest.$ac_objext' 2589 { (eval echo "$as_me:2589: \"$ac_try\"") >&5 2590 (eval $ac_try) 2>&5 2591 ac_status=$? 2592 echo "$as_me:2592: \$? = $ac_status" >&5 3405 { ac_try='test -z "$ac_c_werror_flag" 3406 || test ! -s conftest.err' 3407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3408 (eval $ac_try) 2>&5 3409 ac_status=$? 3410 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3411 (exit $ac_status); }; } && 3412 { ac_try='test -s conftest.$ac_objext' 3413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3414 (eval $ac_try) 2>&5 3415 ac_status=$? 3416 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2593 3417 (exit $ac_status); }; }; then 2594 3418 # It does; now see whether it defined to BIG_ENDIAN or not. 2595 3419 cat >conftest.$ac_ext <<_ACEOF 2596 #line 2596 "configure" 2597 #include "confdefs.h" 3420 /* confdefs.h. */ 3421 _ACEOF 3422 cat confdefs.h >>conftest.$ac_ext 3423 cat >>conftest.$ac_ext <<_ACEOF 3424 /* end confdefs.h. */ 2598 3425 #include <sys/types.h> 2599 3426 #include <sys/param.h> … … 2611 3438 _ACEOF 2612 3439 rm -f conftest.$ac_objext 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 3440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3441 (eval $ac_compile) 2>conftest.er1 3442 ac_status=$? 3443 grep -v '^ *+' conftest.er1 >conftest.err 3444 rm -f conftest.er1 3445 cat conftest.err >&5 3446 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2617 3447 (exit $ac_status); } && 2618 { ac_try='test -s conftest.$ac_objext' 2619 { (eval echo "$as_me:2619: \"$ac_try\"") >&5 2620 (eval $ac_try) 2>&5 2621 ac_status=$? 2622 echo "$as_me:2622: \$? = $ac_status" >&5 3448 { ac_try='test -z "$ac_c_werror_flag" 3449 || test ! -s conftest.err' 3450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3451 (eval $ac_try) 2>&5 3452 ac_status=$? 3453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3454 (exit $ac_status); }; } && 3455 { ac_try='test -s conftest.$ac_objext' 3456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3457 (eval $ac_try) 2>&5 3458 ac_status=$? 3459 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2623 3460 (exit $ac_status); }; }; then 2624 3461 ac_cv_c_bigendian=yes 2625 3462 else 2626 3463 echo "$as_me: failed program was:" >&5 2627 cat conftest.$ac_ext >&5 3464 sed 's/^/| /' conftest.$ac_ext >&5 3465 2628 3466 ac_cv_c_bigendian=no 2629 3467 fi 2630 rm -f conftest. $ac_objext conftest.$ac_ext3468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2631 3469 else 2632 3470 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 sed 's/^/| /' conftest.$ac_ext >&5 3472 3473 # It does not; compile a test program. 2637 3474 if test "$cross_compiling" = yes; then 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 3475 # try to guess the endianness by grepping values into an object file 3476 ac_cv_c_bigendian=unknown 2642 3477 cat >conftest.$ac_ext <<_ACEOF 2643 #line 2643 "configure" 2644 #include "confdefs.h" 3478 /* confdefs.h. */ 3479 _ACEOF 3480 cat confdefs.h >>conftest.$ac_ext 3481 cat >>conftest.$ac_ext <<_ACEOF 3482 /* end confdefs.h. */ 3483 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 3484 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 3485 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 3486 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 3487 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 3488 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 3489 int 3490 main () 3491 { 3492 _ascii (); _ebcdic (); 3493 ; 3494 return 0; 3495 } 3496 _ACEOF 3497 rm -f conftest.$ac_objext 3498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3499 (eval $ac_compile) 2>conftest.er1 3500 ac_status=$? 3501 grep -v '^ *+' conftest.er1 >conftest.err 3502 rm -f conftest.er1 3503 cat conftest.err >&5 3504 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3505 (exit $ac_status); } && 3506 { ac_try='test -z "$ac_c_werror_flag" 3507 || test ! -s conftest.err' 3508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3509 (eval $ac_try) 2>&5 3510 ac_status=$? 3511 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3512 (exit $ac_status); }; } && 3513 { ac_try='test -s conftest.$ac_objext' 3514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3515 (eval $ac_try) 2>&5 3516 ac_status=$? 3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3518 (exit $ac_status); }; }; then 3519 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 3520 ac_cv_c_bigendian=yes 3521 fi 3522 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 3523 if test "$ac_cv_c_bigendian" = unknown; then 3524 ac_cv_c_bigendian=no 3525 else 3526 # finding both strings is unlikely to happen, but who knows? 3527 ac_cv_c_bigendian=unknown 3528 fi 3529 fi 3530 else 3531 echo "$as_me: failed program was:" >&5 3532 sed 's/^/| /' conftest.$ac_ext >&5 3533 3534 fi 3535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3536 else 3537 cat >conftest.$ac_ext <<_ACEOF 3538 /* confdefs.h. */ 3539 _ACEOF 3540 cat confdefs.h >>conftest.$ac_ext 3541 cat >>conftest.$ac_ext <<_ACEOF 3542 /* end confdefs.h. */ 2645 3543 int 2646 3544 main () … … 2657 3555 _ACEOF 2658 3556 rm -f conftest$ac_exeext 2659 if { (eval echo "$as_me: 2659: \"$ac_link\"") >&53557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2660 3558 (eval $ac_link) 2>&5 2661 3559 ac_status=$? 2662 echo "$as_me: 2662: \$? = $ac_status" >&53560 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2663 3561 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 2664 { (eval echo "$as_me: 2664: \"$ac_try\"") >&52665 (eval $ac_try) 2>&5 2666 ac_status=$? 2667 echo "$as_me: 2667: \$? = $ac_status" >&53562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3563 (eval $ac_try) 2>&5 3564 ac_status=$? 3565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2668 3566 (exit $ac_status); }; }; then 2669 3567 ac_cv_c_bigendian=no … … 2671 3569 echo "$as_me: program exited with status $ac_status" >&5 2672 3570 echo "$as_me: failed program was:" >&5 2673 cat conftest.$ac_ext >&5 3571 sed 's/^/| /' conftest.$ac_ext >&5 3572 3573 ( exit $ac_status ) 2674 3574 ac_cv_c_bigendian=yes 2675 3575 fi 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 3576 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3577 fi 3578 fi 3579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3580 fi 3581 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 2681 3582 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 2682 if test $ac_cv_c_bigendian = yes; then 2683 2684 cat >>confdefs.h <<\EOF 3583 case $ac_cv_c_bigendian in 3584 yes) 3585 3586 cat >>confdefs.h <<\_ACEOF 2685 3587 #define WORDS_BIGENDIAN 1 2686 EOF 2687 2688 fi 3588 _ACEOF 3589 ;; 3590 no) 3591 ;; 3592 *) 3593 { { echo "$as_me:$LINENO: error: unknown endianness 3594 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 3595 echo "$as_me: error: unknown endianness 3596 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 3597 { (exit 1); exit 1; }; } ;; 3598 esac 3599 2689 3600 2690 3601 case $target in 2691 3602 *mingw* | *cygw* | *win32* | *w32* ) 2692 cat >>confdefs.h <<\ EOF3603 cat >>confdefs.h <<\_ACEOF 2693 3604 #define PJ_WIN32 1 2694 EOF2695 2696 cat >>confdefs.h <<\ EOF3605 _ACEOF 3606 3607 cat >>confdefs.h <<\_ACEOF 2697 3608 #define PJ_WIN32_WINNT 0x0400 2698 EOF2699 2700 cat >>confdefs.h <<\ EOF3609 _ACEOF 3610 3611 cat >>confdefs.h <<\_ACEOF 2701 3612 #define WIN32_LEAN_AND_MEAN 1 2702 EOF3613 _ACEOF 2703 3614 2704 3615 ;; 2705 3616 *darwin*) 2706 cat >>confdefs.h <<\ EOF3617 cat >>confdefs.h <<\_ACEOF 2707 3618 #define PJ_DARWINOS 1 2708 EOF3619 _ACEOF 2709 3620 2710 3621 ;; 2711 3622 *linux*) 2712 cat >>confdefs.h <<\ EOF3623 cat >>confdefs.h <<\_ACEOF 2713 3624 #define PJ_LINUX 1 2714 EOF3625 _ACEOF 2715 3626 2716 3627 ;; 2717 3628 *rtems*) 2718 cat >>confdefs.h <<\ EOF3629 cat >>confdefs.h <<\_ACEOF 2719 3630 #define PJ_RTEMS 1 2720 EOF3631 _ACEOF 2721 3632 2722 3633 ;; 2723 3634 *sunos* | *solaris* ) 2724 cat >>confdefs.h <<\ EOF3635 cat >>confdefs.h <<\_ACEOF 2725 3636 #define PJ_SUNOS 1 2726 EOF3637 _ACEOF 2727 3638 2728 3639 ;; … … 2731 3642 esac 2732 3643 3644 3645 3646 2733 3647 # Check whether --enable-floating-point or --disable-floating-point was given. 2734 3648 if test "${enable_floating_point+set}" = set; then 2735 3649 enableval="$enable_floating_point" 2736 3650 if test "$enable_floating_point" = "no"; then 2737 cat >>confdefs.h <<\ EOF3651 cat >>confdefs.h <<\_ACEOF 2738 3652 #define PJ_HAS_FLOATING_POINT 0 2739 EOF2740 2741 echo "$as_me: 2741: result: Checking if floating point is disabled... yes" >&53653 _ACEOF 3654 3655 echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 2742 3656 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6 2743 3657 fi 2744 3658 else 2745 3659 2746 cat >>confdefs.h <<\ EOF3660 cat >>confdefs.h <<\_ACEOF 2747 3661 #define PJ_HAS_FLOATING_POINT 1 2748 EOF2749 2750 echo "$as_me: 2750: result: Checking if floating point is disabled... no" >&53662 _ACEOF 3663 3664 echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 2751 3665 echo "${ECHO_T}Checking if floating point is disabled... no" >&6 2752 3666 2753 echo "$as_me: 2753: checking for fmod in -lm" >&53667 echo "$as_me:$LINENO: checking for fmod in -lm" >&5 2754 3668 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6 2755 3669 if test "${ac_cv_lib_m_fmod+set}" = set; then … … 2759 3673 LIBS="-lm $LIBS" 2760 3674 cat >conftest.$ac_ext <<_ACEOF 2761 #line 2761 "configure" 2762 #include "confdefs.h" 3675 /* confdefs.h. */ 3676 _ACEOF 3677 cat confdefs.h >>conftest.$ac_ext 3678 cat >>conftest.$ac_ext <<_ACEOF 3679 /* end confdefs.h. */ 2763 3680 2764 3681 /* Override any gcc2 internal prototype to avoid an error. */ … … 2778 3695 _ACEOF 2779 3696 rm -f conftest.$ac_objext conftest$ac_exeext 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 3697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3698 (eval $ac_link) 2>conftest.er1 3699 ac_status=$? 3700 grep -v '^ *+' conftest.er1 >conftest.err 3701 rm -f conftest.er1 3702 cat conftest.err >&5 3703 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2784 3704 (exit $ac_status); } && 2785 { ac_try='test -s conftest$ac_exeext' 2786 { (eval echo "$as_me:2786: \"$ac_try\"") >&5 2787 (eval $ac_try) 2>&5 2788 ac_status=$? 2789 echo "$as_me:2789: \$? = $ac_status" >&5 3705 { ac_try='test -z "$ac_c_werror_flag" 3706 || test ! -s conftest.err' 3707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3708 (eval $ac_try) 2>&5 3709 ac_status=$? 3710 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3711 (exit $ac_status); }; } && 3712 { ac_try='test -s conftest$ac_exeext' 3713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3714 (eval $ac_try) 2>&5 3715 ac_status=$? 3716 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2790 3717 (exit $ac_status); }; }; then 2791 3718 ac_cv_lib_m_fmod=yes 2792 3719 else 2793 3720 echo "$as_me: failed program was:" >&5 2794 cat conftest.$ac_ext >&5 3721 sed 's/^/| /' conftest.$ac_ext >&5 3722 2795 3723 ac_cv_lib_m_fmod=no 2796 3724 fi 2797 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3725 rm -f conftest.err conftest.$ac_objext \ 3726 conftest$ac_exeext conftest.$ac_ext 2798 3727 LIBS=$ac_check_lib_save_LIBS 2799 3728 fi 2800 echo "$as_me: 2800: result: $ac_cv_lib_m_fmod" >&53729 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5 2801 3730 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6 2802 3731 if test $ac_cv_lib_m_fmod = yes; then 2803 cat >>confdefs.h << EOF3732 cat >>confdefs.h <<_ACEOF 2804 3733 #define HAVE_LIBM 1 2805 EOF3734 _ACEOF 2806 3735 2807 3736 LIBS="-lm $LIBS" … … 2809 3738 fi 2810 3739 3740 2811 3741 fi; 3742 2812 3743 2813 3744 ac_ext=c … … 2816 3747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2817 3748 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2818 echo "$as_me: 2818: checking how to run the C preprocessor" >&53749 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 2819 3750 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 2820 3751 # On Suns, sometimes $CPP names a directory. … … 2834 3765 # Use a header file that comes with gcc, so configuring glibc 2835 3766 # with a fresh cross-compiler works. 3767 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3768 # <limits.h> exists even on freestanding compilers. 2836 3769 # On the NeXT, cc -E runs the code through the compiler's parser, 2837 3770 # not just through cpp. "Syntax error" is here to catch this case. 2838 3771 cat >conftest.$ac_ext <<_ACEOF 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 3772 /* confdefs.h. */ 3773 _ACEOF 3774 cat confdefs.h >>conftest.$ac_ext 3775 cat >>conftest.$ac_ext <<_ACEOF 3776 /* end confdefs.h. */ 3777 #ifdef __STDC__ 3778 # include <limits.h> 3779 #else 3780 # include <assert.h> 3781 #endif 3782 Syntax error 3783 _ACEOF 3784 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2845 3785 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2846 3786 ac_status=$? 2847 egrep -v '^ *\+' conftest.er1 >conftest.err3787 grep -v '^ *+' conftest.er1 >conftest.err 2848 3788 rm -f conftest.er1 2849 3789 cat conftest.err >&5 2850 echo "$as_me: 2850: \$? = $ac_status" >&53790 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2851 3791 (exit $ac_status); } >/dev/null; then 2852 3792 if test -s conftest.err; then 2853 3793 ac_cpp_err=$ac_c_preproc_warn_flag 3794 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2854 3795 else 2855 3796 ac_cpp_err= … … 2862 3803 else 2863 3804 echo "$as_me: failed program was:" >&5 2864 cat conftest.$ac_ext >&5 3805 sed 's/^/| /' conftest.$ac_ext >&5 3806 2865 3807 # Broken: fails on valid input. 2866 3808 continue … … 2871 3813 # can be detected and how. 2872 3814 cat >conftest.$ac_ext <<_ACEOF 2873 #line 2873 "configure" 2874 #include "confdefs.h" 3815 /* confdefs.h. */ 3816 _ACEOF 3817 cat confdefs.h >>conftest.$ac_ext 3818 cat >>conftest.$ac_ext <<_ACEOF 3819 /* end confdefs.h. */ 2875 3820 #include <ac_nonexistent.h> 2876 3821 _ACEOF 2877 if { (eval echo "$as_me: 2877: \"$ac_cpp conftest.$ac_ext\"") >&53822 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2878 3823 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2879 3824 ac_status=$? 2880 egrep -v '^ *\+' conftest.er1 >conftest.err3825 grep -v '^ *+' conftest.er1 >conftest.err 2881 3826 rm -f conftest.er1 2882 3827 cat conftest.err >&5 2883 echo "$as_me: 2883: \$? = $ac_status" >&53828 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2884 3829 (exit $ac_status); } >/dev/null; then 2885 3830 if test -s conftest.err; then 2886 3831 ac_cpp_err=$ac_c_preproc_warn_flag 3832 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2887 3833 else 2888 3834 ac_cpp_err= … … 2896 3842 else 2897 3843 echo "$as_me: failed program was:" >&5 2898 cat conftest.$ac_ext >&5 3844 sed 's/^/| /' conftest.$ac_ext >&5 3845 2899 3846 # Passes both tests. 2900 3847 ac_preproc_ok=: … … 2918 3865 ac_cv_prog_CPP=$CPP 2919 3866 fi 2920 echo "$as_me: 2920: result: $CPP" >&53867 echo "$as_me:$LINENO: result: $CPP" >&5 2921 3868 echo "${ECHO_T}$CPP" >&6 2922 3869 ac_preproc_ok=false … … 2925 3872 # Use a header file that comes with gcc, so configuring glibc 2926 3873 # with a fresh cross-compiler works. 3874 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3875 # <limits.h> exists even on freestanding compilers. 2927 3876 # On the NeXT, cc -E runs the code through the compiler's parser, 2928 3877 # not just through cpp. "Syntax error" is here to catch this case. 2929 3878 cat >conftest.$ac_ext <<_ACEOF 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 3879 /* confdefs.h. */ 3880 _ACEOF 3881 cat confdefs.h >>conftest.$ac_ext 3882 cat >>conftest.$ac_ext <<_ACEOF 3883 /* end confdefs.h. */ 3884 #ifdef __STDC__ 3885 # include <limits.h> 3886 #else 3887 # include <assert.h> 3888 #endif 3889 Syntax error 3890 _ACEOF 3891 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2936 3892 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2937 3893 ac_status=$? 2938 egrep -v '^ *\+' conftest.er1 >conftest.err3894 grep -v '^ *+' conftest.er1 >conftest.err 2939 3895 rm -f conftest.er1 2940 3896 cat conftest.err >&5 2941 echo "$as_me: 2941: \$? = $ac_status" >&53897 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2942 3898 (exit $ac_status); } >/dev/null; then 2943 3899 if test -s conftest.err; then 2944 3900 ac_cpp_err=$ac_c_preproc_warn_flag 3901 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2945 3902 else 2946 3903 ac_cpp_err= … … 2953 3910 else 2954 3911 echo "$as_me: failed program was:" >&5 2955 cat conftest.$ac_ext >&5 3912 sed 's/^/| /' conftest.$ac_ext >&5 3913 2956 3914 # Broken: fails on valid input. 2957 3915 continue … … 2962 3920 # can be detected and how. 2963 3921 cat >conftest.$ac_ext <<_ACEOF 2964 #line 2964 "configure" 2965 #include "confdefs.h" 3922 /* confdefs.h. */ 3923 _ACEOF 3924 cat confdefs.h >>conftest.$ac_ext 3925 cat >>conftest.$ac_ext <<_ACEOF 3926 /* end confdefs.h. */ 2966 3927 #include <ac_nonexistent.h> 2967 3928 _ACEOF 2968 if { (eval echo "$as_me: 2968: \"$ac_cpp conftest.$ac_ext\"") >&53929 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2969 3930 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2970 3931 ac_status=$? 2971 egrep -v '^ *\+' conftest.er1 >conftest.err3932 grep -v '^ *+' conftest.er1 >conftest.err 2972 3933 rm -f conftest.er1 2973 3934 cat conftest.err >&5 2974 echo "$as_me: 2974: \$? = $ac_status" >&53935 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2975 3936 (exit $ac_status); } >/dev/null; then 2976 3937 if test -s conftest.err; then 2977 3938 ac_cpp_err=$ac_c_preproc_warn_flag 3939 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2978 3940 else 2979 3941 ac_cpp_err= … … 2987 3949 else 2988 3950 echo "$as_me: failed program was:" >&5 2989 cat conftest.$ac_ext >&5 3951 sed 's/^/| /' conftest.$ac_ext >&5 3952 2990 3953 # Passes both tests. 2991 3954 ac_preproc_ok=: … … 3000 3963 : 3001 3964 else 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;} 3965 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3966 See \`config.log' for more details." >&5 3967 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3968 See \`config.log' for more details." >&2;} 3004 3969 { (exit 1); exit 1; }; } 3005 3970 fi … … 3011 3976 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3012 3977 3013 echo "$as_me:3013: checking for arpa/inet.h" >&5 3978 3979 echo "$as_me:$LINENO: checking for egrep" >&5 3980 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3981 if test "${ac_cv_prog_egrep+set}" = set; then 3982 echo $ECHO_N "(cached) $ECHO_C" >&6 3983 else 3984 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3985 then ac_cv_prog_egrep='grep -E' 3986 else ac_cv_prog_egrep='egrep' 3987 fi 3988 fi 3989 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3990 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3991 EGREP=$ac_cv_prog_egrep 3992 3993 3994 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3995 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3996 if test "${ac_cv_header_stdc+set}" = set; then 3997 echo $ECHO_N "(cached) $ECHO_C" >&6 3998 else 3999 cat >conftest.$ac_ext <<_ACEOF 4000 /* confdefs.h. */ 4001 _ACEOF 4002 cat confdefs.h >>conftest.$ac_ext 4003 cat >>conftest.$ac_ext <<_ACEOF 4004 /* end confdefs.h. */ 4005 #include <stdlib.h> 4006 #include <stdarg.h> 4007 #include <string.h> 4008 #include <float.h> 4009 4010 int 4011 main () 4012 { 4013 4014 ; 4015 return 0; 4016 } 4017 _ACEOF 4018 rm -f conftest.$ac_objext 4019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4020 (eval $ac_compile) 2>conftest.er1 4021 ac_status=$? 4022 grep -v '^ *+' conftest.er1 >conftest.err 4023 rm -f conftest.er1 4024 cat conftest.err >&5 4025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4026 (exit $ac_status); } && 4027 { ac_try='test -z "$ac_c_werror_flag" 4028 || test ! -s conftest.err' 4029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4030 (eval $ac_try) 2>&5 4031 ac_status=$? 4032 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4033 (exit $ac_status); }; } && 4034 { ac_try='test -s conftest.$ac_objext' 4035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4036 (eval $ac_try) 2>&5 4037 ac_status=$? 4038 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4039 (exit $ac_status); }; }; then 4040 ac_cv_header_stdc=yes 4041 else 4042 echo "$as_me: failed program was:" >&5 4043 sed 's/^/| /' conftest.$ac_ext >&5 4044 4045 ac_cv_header_stdc=no 4046 fi 4047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4048 4049 if test $ac_cv_header_stdc = yes; then 4050 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4051 cat >conftest.$ac_ext <<_ACEOF 4052 /* confdefs.h. */ 4053 _ACEOF 4054 cat confdefs.h >>conftest.$ac_ext 4055 cat >>conftest.$ac_ext <<_ACEOF 4056 /* end confdefs.h. */ 4057 #include <string.h> 4058 4059 _ACEOF 4060 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4061 $EGREP "memchr" >/dev/null 2>&1; then 4062 : 4063 else 4064 ac_cv_header_stdc=no 4065 fi 4066 rm -f conftest* 4067 4068 fi 4069 4070 if test $ac_cv_header_stdc = yes; then 4071 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4072 cat >conftest.$ac_ext <<_ACEOF 4073 /* confdefs.h. */ 4074 _ACEOF 4075 cat confdefs.h >>conftest.$ac_ext 4076 cat >>conftest.$ac_ext <<_ACEOF 4077 /* end confdefs.h. */ 4078 #include <stdlib.h> 4079 4080 _ACEOF 4081 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4082 $EGREP "free" >/dev/null 2>&1; then 4083 : 4084 else 4085 ac_cv_header_stdc=no 4086 fi 4087 rm -f conftest* 4088 4089 fi 4090 4091 if test $ac_cv_header_stdc = yes; then 4092 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4093 if test "$cross_compiling" = yes; then 4094 : 4095 else 4096 cat >conftest.$ac_ext <<_ACEOF 4097 /* confdefs.h. */ 4098 _ACEOF 4099 cat confdefs.h >>conftest.$ac_ext 4100 cat >>conftest.$ac_ext <<_ACEOF 4101 /* end confdefs.h. */ 4102 #include <ctype.h> 4103 #if ((' ' & 0x0FF) == 0x020) 4104 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4105 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4106 #else 4107 # define ISLOWER(c) \ 4108 (('a' <= (c) && (c) <= 'i') \ 4109 || ('j' <= (c) && (c) <= 'r') \ 4110 || ('s' <= (c) && (c) <= 'z')) 4111 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4112 #endif 4113 4114 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4115 int 4116 main () 4117 { 4118 int i; 4119 for (i = 0; i < 256; i++) 4120 if (XOR (islower (i), ISLOWER (i)) 4121 || toupper (i) != TOUPPER (i)) 4122 exit(2); 4123 exit (0); 4124 } 4125 _ACEOF 4126 rm -f conftest$ac_exeext 4127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4128 (eval $ac_link) 2>&5 4129 ac_status=$? 4130 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4131 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4133 (eval $ac_try) 2>&5 4134 ac_status=$? 4135 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4136 (exit $ac_status); }; }; then 4137 : 4138 else 4139 echo "$as_me: program exited with status $ac_status" >&5 4140 echo "$as_me: failed program was:" >&5 4141 sed 's/^/| /' conftest.$ac_ext >&5 4142 4143 ( exit $ac_status ) 4144 ac_cv_header_stdc=no 4145 fi 4146 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4147 fi 4148 fi 4149 fi 4150 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4151 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4152 if test $ac_cv_header_stdc = yes; then 4153 4154 cat >>confdefs.h <<\_ACEOF 4155 #define STDC_HEADERS 1 4156 _ACEOF 4157 4158 fi 4159 4160 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4171 inttypes.h stdint.h unistd.h 4172 do 4173 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4174 echo "$as_me:$LINENO: checking for $ac_header" >&5 4175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4176 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4177 echo $ECHO_N "(cached) $ECHO_C" >&6 4178 else 4179 cat >conftest.$ac_ext <<_ACEOF 4180 /* confdefs.h. */ 4181 _ACEOF 4182 cat confdefs.h >>conftest.$ac_ext 4183 cat >>conftest.$ac_ext <<_ACEOF 4184 /* end confdefs.h. */ 4185 $ac_includes_default 4186 4187 #include <$ac_header> 4188 _ACEOF 4189 rm -f conftest.$ac_objext 4190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4191 (eval $ac_compile) 2>conftest.er1 4192 ac_status=$? 4193 grep -v '^ *+' conftest.er1 >conftest.err 4194 rm -f conftest.er1 4195 cat conftest.err >&5 4196 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4197 (exit $ac_status); } && 4198 { ac_try='test -z "$ac_c_werror_flag" 4199 || test ! -s conftest.err' 4200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4201 (eval $ac_try) 2>&5 4202 ac_status=$? 4203 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4204 (exit $ac_status); }; } && 4205 { ac_try='test -s conftest.$ac_objext' 4206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4207 (eval $ac_try) 2>&5 4208 ac_status=$? 4209 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4210 (exit $ac_status); }; }; then 4211 eval "$as_ac_Header=yes" 4212 else 4213 echo "$as_me: failed program was:" >&5 4214 sed 's/^/| /' conftest.$ac_ext >&5 4215 4216 eval "$as_ac_Header=no" 4217 fi 4218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4219 fi 4220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4221 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4222 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4223 cat >>confdefs.h <<_ACEOF 4224 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4225 _ACEOF 4226 4227 fi 4228 4229 done 4230 4231 4232 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 4233 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 3014 4234 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 3015 4235 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 3016 4236 echo $ECHO_N "(cached) $ECHO_C" >&6 3017 else 3018 cat >conftest.$ac_ext <<_ACEOF 3019 #line 3019 "configure" 3020 #include "confdefs.h" 4237 fi 4238 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 4239 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 4240 else 4241 # Is the header compilable? 4242 echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 4243 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6 4244 cat >conftest.$ac_ext <<_ACEOF 4245 /* confdefs.h. */ 4246 _ACEOF 4247 cat confdefs.h >>conftest.$ac_ext 4248 cat >>conftest.$ac_ext <<_ACEOF 4249 /* end confdefs.h. */ 4250 $ac_includes_default 3021 4251 #include <arpa/inet.h> 3022 4252 _ACEOF 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 4253 rm -f conftest.$ac_objext 4254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4255 (eval $ac_compile) 2>conftest.er1 4256 ac_status=$? 4257 grep -v '^ *+' conftest.er1 >conftest.err 3027 4258 rm -f conftest.er1 3028 4259 cat conftest.err >&5 3029 echo "$as_me:3029: \$? = $ac_status" >&5 4260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4261 (exit $ac_status); } && 4262 { ac_try='test -z "$ac_c_werror_flag" 4263 || test ! -s conftest.err' 4264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4265 (eval $ac_try) 2>&5 4266 ac_status=$? 4267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4268 (exit $ac_status); }; } && 4269 { ac_try='test -s conftest.$ac_objext' 4270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4271 (eval $ac_try) 2>&5 4272 ac_status=$? 4273 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4274 (exit $ac_status); }; }; then 4275 ac_header_compiler=yes 4276 else 4277 echo "$as_me: failed program was:" >&5 4278 sed 's/^/| /' conftest.$ac_ext >&5 4279 4280 ac_header_compiler=no 4281 fi 4282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4283 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4284 echo "${ECHO_T}$ac_header_compiler" >&6 4285 4286 # Is the header present? 4287 echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 4288 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6 4289 cat >conftest.$ac_ext <<_ACEOF 4290 /* confdefs.h. */ 4291 _ACEOF 4292 cat confdefs.h >>conftest.$ac_ext 4293 cat >>conftest.$ac_ext <<_ACEOF 4294 /* end confdefs.h. */ 4295 #include <arpa/inet.h> 4296 _ACEOF 4297 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4298 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4299 ac_status=$? 4300 grep -v '^ *+' conftest.er1 >conftest.err 4301 rm -f conftest.er1 4302 cat conftest.err >&5 4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3030 4304 (exit $ac_status); } >/dev/null; then 3031 4305 if test -s conftest.err; then 3032 4306 ac_cpp_err=$ac_c_preproc_warn_flag 4307 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3033 4308 else 3034 4309 ac_cpp_err= … … 3038 4313 fi 3039 4314 if test -z "$ac_cpp_err"; then 3040 ac_ cv_header_arpa_inet_h=yes4315 ac_header_preproc=yes 3041 4316 else 3042 4317 echo "$as_me: failed program was:" >&5 3043 cat conftest.$ac_ext >&5 3044 ac_cv_header_arpa_inet_h=no 4318 sed 's/^/| /' conftest.$ac_ext >&5 4319 4320 ac_header_preproc=no 3045 4321 fi 3046 4322 rm -f conftest.err conftest.$ac_ext 3047 fi 3048 echo "$as_me:3048: result: $ac_cv_header_arpa_inet_h" >&5 4323 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4324 echo "${ECHO_T}$ac_header_preproc" >&6 4325 4326 # So? What about this header? 4327 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4328 yes:no: ) 4329 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 4330 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4331 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 4332 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} 4333 ac_header_preproc=yes 4334 ;; 4335 no:yes:* ) 4336 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 4337 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 4338 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5 4339 echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;} 4340 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 4341 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} 4342 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5 4343 echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;} 4344 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 4345 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 4346 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 4347 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 4348 ( 4349 cat <<\_ASBOX 4350 ## ------------------------------------ ## 4351 ## Report this to the pjproject lists. ## 4352 ## ------------------------------------ ## 4353 _ASBOX 4354 ) | 4355 sed "s/^/$as_me: WARNING: /" >&2 4356 ;; 4357 esac 4358 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 4359 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 4360 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 4361 echo $ECHO_N "(cached) $ECHO_C" >&6 4362 else 4363 ac_cv_header_arpa_inet_h=$ac_header_preproc 4364 fi 4365 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 3049 4366 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 4367 4368 fi 3050 4369 if test $ac_cv_header_arpa_inet_h = yes; then 3051 cat >>confdefs.h <<\ EOF4370 cat >>confdefs.h <<\_ACEOF 3052 4371 #define PJ_HAS_ARPA_INET_H 1 3053 EOF 3054 3055 fi 3056 3057 echo "$as_me:3057: checking for assert.h" >&5 4372 _ACEOF 4373 4374 fi 4375 4376 4377 if test "${ac_cv_header_assert_h+set}" = set; then 4378 echo "$as_me:$LINENO: checking for assert.h" >&5 3058 4379 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6 3059 4380 if test "${ac_cv_header_assert_h+set}" = set; then 3060 4381 echo $ECHO_N "(cached) $ECHO_C" >&6 3061 else 3062 cat >conftest.$ac_ext <<_ACEOF 3063 #line 3063 "configure" 3064 #include "confdefs.h" 4382 fi 4383 echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 4384 echo "${ECHO_T}$ac_cv_header_assert_h" >&6 4385 else 4386 # Is the header compilable? 4387 echo "$as_me:$LINENO: checking assert.h usability" >&5 4388 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6 4389 cat >conftest.$ac_ext <<_ACEOF 4390 /* confdefs.h. */ 4391 _ACEOF 4392 cat confdefs.h >>conftest.$ac_ext 4393 cat >>conftest.$ac_ext <<_ACEOF 4394 /* end confdefs.h. */ 4395 $ac_includes_default 3065 4396 #include <assert.h> 3066 4397 _ACEOF 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 4398 rm -f conftest.$ac_objext 4399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4400 (eval $ac_compile) 2>conftest.er1 4401 ac_status=$? 4402 grep -v '^ *+' conftest.er1 >conftest.err 3071 4403 rm -f conftest.er1 3072 4404 cat conftest.err >&5 3073 echo "$as_me:3073: \$? = $ac_status" >&5 4405 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4406 (exit $ac_status); } && 4407 { ac_try='test -z "$ac_c_werror_flag" 4408 || test ! -s conftest.err' 4409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4410 (eval $ac_try) 2>&5 4411 ac_status=$? 4412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4413 (exit $ac_status); }; } && 4414 { ac_try='test -s conftest.$ac_objext' 4415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4416 (eval $ac_try) 2>&5 4417 ac_status=$? 4418 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4419 (exit $ac_status); }; }; then 4420 ac_header_compiler=yes 4421 else 4422 echo "$as_me: failed program was:" >&5 4423 sed 's/^/| /' conftest.$ac_ext >&5 4424 4425 ac_header_compiler=no 4426 fi 4427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4428 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4429 echo "${ECHO_T}$ac_header_compiler" >&6 4430 4431 # Is the header present? 4432 echo "$as_me:$LINENO: checking assert.h presence" >&5 4433 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6 4434 cat >conftest.$ac_ext <<_ACEOF 4435 /* confdefs.h. */ 4436 _ACEOF 4437 cat confdefs.h >>conftest.$ac_ext 4438 cat >>conftest.$ac_ext <<_ACEOF 4439 /* end confdefs.h. */ 4440 #include <assert.h> 4441 _ACEOF 4442 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4443 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4444 ac_status=$? 4445 grep -v '^ *+' conftest.er1 >conftest.err 4446 rm -f conftest.er1 4447 cat conftest.err >&5 4448 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3074 4449 (exit $ac_status); } >/dev/null; then 3075 4450 if test -s conftest.err; then 3076 4451 ac_cpp_err=$ac_c_preproc_warn_flag 4452 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3077 4453 else 3078 4454 ac_cpp_err= … … 3082 4458 fi 3083 4459 if test -z "$ac_cpp_err"; then 3084 ac_ cv_header_assert_h=yes4460 ac_header_preproc=yes 3085 4461 else 3086 4462 echo "$as_me: failed program was:" >&5 3087 cat conftest.$ac_ext >&5 3088 ac_cv_header_assert_h=no 4463 sed 's/^/| /' conftest.$ac_ext >&5 4464 4465 ac_header_preproc=no 3089 4466 fi 3090 4467 rm -f conftest.err conftest.$ac_ext 3091 fi 3092 echo "$as_me:3092: result: $ac_cv_header_assert_h" >&5 4468 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4469 echo "${ECHO_T}$ac_header_preproc" >&6 4470 4471 # So? What about this header? 4472 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4473 yes:no: ) 4474 { echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5 4475 echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4476 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the compiler's result" >&5 4477 echo "$as_me: WARNING: assert.h: proceeding with the compiler's result" >&2;} 4478 ac_header_preproc=yes 4479 ;; 4480 no:yes:* ) 4481 { echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5 4482 echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;} 4483 { echo "$as_me:$LINENO: WARNING: assert.h: check for missing prerequisite headers?" >&5 4484 echo "$as_me: WARNING: assert.h: check for missing prerequisite headers?" >&2;} 4485 { echo "$as_me:$LINENO: WARNING: assert.h: see the Autoconf documentation" >&5 4486 echo "$as_me: WARNING: assert.h: see the Autoconf documentation" >&2;} 4487 { echo "$as_me:$LINENO: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&5 4488 echo "$as_me: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&2;} 4489 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result" >&5 4490 echo "$as_me: WARNING: assert.h: proceeding with the preprocessor's result" >&2;} 4491 { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 4492 echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 4493 ( 4494 cat <<\_ASBOX 4495 ## ------------------------------------ ## 4496 ## Report this to the pjproject lists. ## 4497 ## ------------------------------------ ## 4498 _ASBOX 4499 ) | 4500 sed "s/^/$as_me: WARNING: /" >&2 4501 ;; 4502 esac 4503 echo "$as_me:$LINENO: checking for assert.h" >&5 4504 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6 4505 if test "${ac_cv_header_assert_h+set}" = set; then 4506 echo $ECHO_N "(cached) $ECHO_C" >&6 4507 else 4508 ac_cv_header_assert_h=$ac_header_preproc 4509 fi 4510 echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 3093 4511 echo "${ECHO_T}$ac_cv_header_assert_h" >&6 4512 4513 fi 3094 4514 if test $ac_cv_header_assert_h = yes; then 3095 cat >>confdefs.h <<\ EOF4515 cat >>confdefs.h <<\_ACEOF 3096 4516 #define PJ_HAS_ASSERT_H 1 3097 EOF 3098 3099 fi 3100 3101 echo "$as_me:3101: checking for ctype.h" >&5 4517 _ACEOF 4518 4519 fi 4520 4521 4522 if test "${ac_cv_header_ctype_h+set}" = set; then 4523 echo "$as_me:$LINENO: checking for ctype.h" >&5 3102 4524 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6 3103 4525 if test "${ac_cv_header_ctype_h+set}" = set; then 3104 4526 echo $ECHO_N "(cached) $ECHO_C" >&6 3105 else 3106 cat >conftest.$ac_ext <<_ACEOF 3107 #line 3107 "configure" 3108 #include "confdefs.h" 4527 fi 4528 echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 4529 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6 4530 else 4531 # Is the header compilable? 4532 echo "$as_me:$LINENO: checking ctype.h usability" >&5 4533 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6 4534 cat >conftest.$ac_ext <<_ACEOF 4535 /* confdefs.h. */ 4536 _ACEOF 4537 cat confdefs.h >>conftest.$ac_ext 4538 cat >>conftest.$ac_ext <<_ACEOF 4539 /* end confdefs.h. */ 4540 $ac_includes_default 3109 4541 #include <ctype.h> 3110 4542 _ACEOF 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 4543 rm -f conftest.$ac_objext 4544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4545 (eval $ac_compile) 2>conftest.er1 4546 ac_status=$? 4547 grep -v '^ *+' conftest.er1 >conftest.err 3115 4548 rm -f conftest.er1 3116 4549 cat conftest.err >&5 3117 echo "$as_me:3117: \$? = $ac_status" >&5 4550 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4551 (exit $ac_status); } && 4552 { ac_try='test -z "$ac_c_werror_flag" 4553 || test ! -s conftest.err' 4554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4555 (eval $ac_try) 2>&5 4556 ac_status=$? 4557 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4558 (exit $ac_status); }; } && 4559 { ac_try='test -s conftest.$ac_objext' 4560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4561 (eval $ac_try) 2>&5 4562 ac_status=$? 4563 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4564 (exit $ac_status); }; }; then 4565 ac_header_compiler=yes 4566 else 4567 echo "$as_me: failed program was:" >&5 4568 sed 's/^/| /' conftest.$ac_ext >&5 4569 4570 ac_header_compiler=no 4571 fi 4572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4573 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4574 echo "${ECHO_T}$ac_header_compiler" >&6 4575 4576 # Is the header present? 4577 echo "$as_me:$LINENO: checking ctype.h presence" >&5 4578 echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6 4579 cat >conftest.$ac_ext <<_ACEOF 4580 /* confdefs.h. */ 4581 _ACEOF 4582 cat confdefs.h >>conftest.$ac_ext 4583 cat >>conftest.$ac_ext <<_ACEOF 4584 /* end confdefs.h. */ 4585 #include <ctype.h> 4586 _ACEOF 4587 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4588 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4589 ac_status=$? 4590 grep -v '^ *+' conftest.er1 >conftest.err 4591 rm -f conftest.er1 4592 cat conftest.err >&5 4593 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3118 4594 (exit $ac_status); } >/dev/null; then 3119 4595 if test -s conftest.err; then 3120 4596 ac_cpp_err=$ac_c_preproc_warn_flag 4597 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3121 4598 else 3122 4599 ac_cpp_err= … … 3126 4603 fi 3127 4604 if test -z "$ac_cpp_err"; then 3128 ac_ cv_header_ctype_h=yes4605 ac_header_preproc=yes 3129 4606 else 3130 4607 echo "$as_me: failed program was:" >&5 3131 cat conftest.$ac_ext >&5 3132 ac_cv_header_ctype_h=no 4608 sed 's/^/| /' conftest.$ac_ext >&5 4609 4610 ac_header_preproc=no 3133 4611 fi 3134 4612 rm -f conftest.err conftest.$ac_ext 3135 fi 3136 echo "$as_me:3136: result: $ac_cv_header_ctype_h" >&5 4613 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4614 echo "${ECHO_T}$ac_header_preproc" >&6 4615 4616 # So? What about this header? 4617 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4618 yes:no: ) 4619 { echo "$as_me:$LINENO: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&5 4620 echo "$as_me: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4621 { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the compiler's result" >&5 4622 echo "$as_me: WARNING: ctype.h: proceeding with the compiler's result" >&2;} 4623 ac_header_preproc=yes 4624 ;; 4625 no:yes:* ) 4626 { echo "$as_me:$LINENO: WARNING: ctype.h: present but cannot be compiled" >&5 4627 echo "$as_me: WARNING: ctype.h: present but cannot be compiled" >&2;} 4628 { echo "$as_me:$LINENO: WARNING: ctype.h: check for missing prerequisite headers?" >&5 4629 echo "$as_me: WARNING: ctype.h: check for missing prerequisite headers?" >&2;} 4630 { echo "$as_me:$LINENO: WARNING: ctype.h: see the Autoconf documentation" >&5 4631 echo "$as_me: WARNING: ctype.h: see the Autoconf documentation" >&2;} 4632 { echo "$as_me:$LINENO: WARNING: ctype.h: section \"Present But Cannot Be Compiled\"" >&5 4633 echo "$as_me: WARNING: ctype.h: section \"Present But Cannot Be Compiled\"" >&2;} 4634 { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the preprocessor's result" >&5 4635 echo "$as_me: WARNING: ctype.h: proceeding with the preprocessor's result" >&2;} 4636 { echo "$as_me:$LINENO: WARNING: ctype.h: in the future, the compiler will take precedence" >&5 4637 echo "$as_me: WARNING: ctype.h: in the future, the compiler will take precedence" >&2;} 4638 ( 4639 cat <<\_ASBOX 4640 ## ------------------------------------ ## 4641 ## Report this to the pjproject lists. ## 4642 ## ------------------------------------ ## 4643 _ASBOX 4644 ) | 4645 sed "s/^/$as_me: WARNING: /" >&2 4646 ;; 4647 esac 4648 echo "$as_me:$LINENO: checking for ctype.h" >&5 4649 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6 4650 if test "${ac_cv_header_ctype_h+set}" = set; then 4651 echo $ECHO_N "(cached) $ECHO_C" >&6 4652 else 4653 ac_cv_header_ctype_h=$ac_header_preproc 4654 fi 4655 echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 3137 4656 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6 4657 4658 fi 3138 4659 if test $ac_cv_header_ctype_h = yes; then 3139 cat >>confdefs.h <<\ EOF4660 cat >>confdefs.h <<\_ACEOF 3140 4661 #define PJ_HAS_CTYPE_H 1 3141 EOF 3142 3143 fi 4662 _ACEOF 4663 4664 fi 4665 4666 3144 4667 3145 4668 case $target in 3146 4669 *mingw* | *cygw* | *win32* | *w32* ) 3147 cat >>confdefs.h <<\ EOF4670 cat >>confdefs.h <<\_ACEOF 3148 4671 #define PJ_HAS_ERRNO_H 0 3149 EOF4672 _ACEOF 3150 4673 3151 4674 ;; 3152 4675 *) 3153 echo "$as_me:3153: checking for errno.h" >&5 4676 if test "${ac_cv_header_errno_h+set}" = set; then 4677 echo "$as_me:$LINENO: checking for errno.h" >&5 3154 4678 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6 3155 4679 if test "${ac_cv_header_errno_h+set}" = set; then 3156 4680 echo $ECHO_N "(cached) $ECHO_C" >&6 3157 else 3158 cat >conftest.$ac_ext <<_ACEOF 3159 #line 3159 "configure" 3160 #include "confdefs.h" 4681 fi 4682 echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 4683 echo "${ECHO_T}$ac_cv_header_errno_h" >&6 4684 else 4685 # Is the header compilable? 4686 echo "$as_me:$LINENO: checking errno.h usability" >&5 4687 echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6 4688 cat >conftest.$ac_ext <<_ACEOF 4689 /* confdefs.h. */ 4690 _ACEOF 4691 cat confdefs.h >>conftest.$ac_ext 4692 cat >>conftest.$ac_ext <<_ACEOF 4693 /* end confdefs.h. */ 4694 $ac_includes_default 3161 4695 #include <errno.h> 3162 4696 _ACEOF 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 4697 rm -f conftest.$ac_objext 4698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4699 (eval $ac_compile) 2>conftest.er1 4700 ac_status=$? 4701 grep -v '^ *+' conftest.er1 >conftest.err 3167 4702 rm -f conftest.er1 3168 4703 cat conftest.err >&5 3169 echo "$as_me:3169: \$? = $ac_status" >&5 4704 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4705 (exit $ac_status); } && 4706 { ac_try='test -z "$ac_c_werror_flag" 4707 || test ! -s conftest.err' 4708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4709 (eval $ac_try) 2>&5 4710 ac_status=$? 4711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4712 (exit $ac_status); }; } && 4713 { ac_try='test -s conftest.$ac_objext' 4714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4715 (eval $ac_try) 2>&5 4716 ac_status=$? 4717 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4718 (exit $ac_status); }; }; then 4719 ac_header_compiler=yes 4720 else 4721 echo "$as_me: failed program was:" >&5 4722 sed 's/^/| /' conftest.$ac_ext >&5 4723 4724 ac_header_compiler=no 4725 fi 4726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4727 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4728 echo "${ECHO_T}$ac_header_compiler" >&6 4729 4730 # Is the header present? 4731 echo "$as_me:$LINENO: checking errno.h presence" >&5 4732 echo $ECHO_N "checking errno.h presence... $ECHO_C" >&6 4733 cat >conftest.$ac_ext <<_ACEOF 4734 /* confdefs.h. */ 4735 _ACEOF 4736 cat confdefs.h >>conftest.$ac_ext 4737 cat >>conftest.$ac_ext <<_ACEOF 4738 /* end confdefs.h. */ 4739 #include <errno.h> 4740 _ACEOF 4741 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4742 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4743 ac_status=$? 4744 grep -v '^ *+' conftest.er1 >conftest.err 4745 rm -f conftest.er1 4746 cat conftest.err >&5 4747 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3170 4748 (exit $ac_status); } >/dev/null; then 3171 4749 if test -s conftest.err; then 3172 4750 ac_cpp_err=$ac_c_preproc_warn_flag 4751 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3173 4752 else 3174 4753 ac_cpp_err= … … 3178 4757 fi 3179 4758 if test -z "$ac_cpp_err"; then 3180 ac_ cv_header_errno_h=yes4759 ac_header_preproc=yes 3181 4760 else 3182 4761 echo "$as_me: failed program was:" >&5 3183 cat conftest.$ac_ext >&5 3184 ac_cv_header_errno_h=no 4762 sed 's/^/| /' conftest.$ac_ext >&5 4763 4764 ac_header_preproc=no 3185 4765 fi 3186 4766 rm -f conftest.err conftest.$ac_ext 3187 fi 3188 echo "$as_me:3188: result: $ac_cv_header_errno_h" >&5 4767 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4768 echo "${ECHO_T}$ac_header_preproc" >&6 4769 4770 # So? What about this header? 4771 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4772 yes:no: ) 4773 { echo "$as_me:$LINENO: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&5 4774 echo "$as_me: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4775 { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the compiler's result" >&5 4776 echo "$as_me: WARNING: errno.h: proceeding with the compiler's result" >&2;} 4777 ac_header_preproc=yes 4778 ;; 4779 no:yes:* ) 4780 { echo "$as_me:$LINENO: WARNING: errno.h: present but cannot be compiled" >&5 4781 echo "$as_me: WARNING: errno.h: present but cannot be compiled" >&2;} 4782 { echo "$as_me:$LINENO: WARNING: errno.h: check for missing prerequisite headers?" >&5 4783 echo "$as_me: WARNING: errno.h: check for missing prerequisite headers?" >&2;} 4784 { echo "$as_me:$LINENO: WARNING: errno.h: see the Autoconf documentation" >&5 4785 echo "$as_me: WARNING: errno.h: see the Autoconf documentation" >&2;} 4786 { echo "$as_me:$LINENO: WARNING: errno.h: section \"Present But Cannot Be Compiled\"" >&5 4787 echo "$as_me: WARNING: errno.h: section \"Present But Cannot Be Compiled\"" >&2;} 4788 { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5 4789 echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;} 4790 { echo "$as_me:$LINENO: WARNING: errno.h: in the future, the compiler will take precedence" >&5 4791 echo "$as_me: WARNING: errno.h: in the future, the compiler will take precedence" >&2;} 4792 ( 4793 cat <<\_ASBOX 4794 ## ------------------------------------ ## 4795 ## Report this to the pjproject lists. ## 4796 ## ------------------------------------ ## 4797 _ASBOX 4798 ) | 4799 sed "s/^/$as_me: WARNING: /" >&2 4800 ;; 4801 esac 4802 echo "$as_me:$LINENO: checking for errno.h" >&5 4803 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6 4804 if test "${ac_cv_header_errno_h+set}" = set; then 4805 echo $ECHO_N "(cached) $ECHO_C" >&6 4806 else 4807 ac_cv_header_errno_h=$ac_header_preproc 4808 fi 4809 echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 3189 4810 echo "${ECHO_T}$ac_cv_header_errno_h" >&6 4811 4812 fi 3190 4813 if test $ac_cv_header_errno_h = yes; then 3191 cat >>confdefs.h <<\ EOF4814 cat >>confdefs.h <<\_ACEOF 3192 4815 #define PJ_HAS_ERRNO_H 1 3193 EOF 3194 3195 fi 4816 _ACEOF 4817 4818 fi 4819 3196 4820 3197 4821 ;; 3198 4822 esac 3199 4823 3200 echo "$as_me:3200: checking for linux/socket.h" >&5 4824 if test "${ac_cv_header_linux_socket_h+set}" = set; then 4825 echo "$as_me:$LINENO: checking for linux/socket.h" >&5 3201 4826 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6 3202 4827 if test "${ac_cv_header_linux_socket_h+set}" = set; then 3203 4828 echo $ECHO_N "(cached) $ECHO_C" >&6 3204 else 3205 cat >conftest.$ac_ext <<_ACEOF 3206 #line 3206 "configure" 3207 #include "confdefs.h" 4829 fi 4830 echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 4831 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6 4832 else 4833 # Is the header compilable? 4834 echo "$as_me:$LINENO: checking linux/socket.h usability" >&5 4835 echo $ECHO_N "checking linux/socket.h usability... $ECHO_C" >&6 4836 cat >conftest.$ac_ext <<_ACEOF 4837 /* confdefs.h. */ 4838 _ACEOF 4839 cat confdefs.h >>conftest.$ac_ext 4840 cat >>conftest.$ac_ext <<_ACEOF 4841 /* end confdefs.h. */ 4842 $ac_includes_default 3208 4843 #include <linux/socket.h> 3209 4844 _ACEOF 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 4845 rm -f conftest.$ac_objext 4846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4847 (eval $ac_compile) 2>conftest.er1 4848 ac_status=$? 4849 grep -v '^ *+' conftest.er1 >conftest.err 3214 4850 rm -f conftest.er1 3215 4851 cat conftest.err >&5 3216 echo "$as_me:3216: \$? = $ac_status" >&5 4852 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4853 (exit $ac_status); } && 4854 { ac_try='test -z "$ac_c_werror_flag" 4855 || test ! -s conftest.err' 4856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4857 (eval $ac_try) 2>&5 4858 ac_status=$? 4859 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4860 (exit $ac_status); }; } && 4861 { ac_try='test -s conftest.$ac_objext' 4862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4863 (eval $ac_try) 2>&5 4864 ac_status=$? 4865 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4866 (exit $ac_status); }; }; then 4867 ac_header_compiler=yes 4868 else 4869 echo "$as_me: failed program was:" >&5 4870 sed 's/^/| /' conftest.$ac_ext >&5 4871 4872 ac_header_compiler=no 4873 fi 4874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4875 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4876 echo "${ECHO_T}$ac_header_compiler" >&6 4877 4878 # Is the header present? 4879 echo "$as_me:$LINENO: checking linux/socket.h presence" >&5 4880 echo $ECHO_N "checking linux/socket.h presence... $ECHO_C" >&6 4881 cat >conftest.$ac_ext <<_ACEOF 4882 /* confdefs.h. */ 4883 _ACEOF 4884 cat confdefs.h >>conftest.$ac_ext 4885 cat >>conftest.$ac_ext <<_ACEOF 4886 /* end confdefs.h. */ 4887 #include <linux/socket.h> 4888 _ACEOF 4889 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4890 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4891 ac_status=$? 4892 grep -v '^ *+' conftest.er1 >conftest.err 4893 rm -f conftest.er1 4894 cat conftest.err >&5 4895 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3217 4896 (exit $ac_status); } >/dev/null; then 3218 4897 if test -s conftest.err; then 3219 4898 ac_cpp_err=$ac_c_preproc_warn_flag 4899 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3220 4900 else 3221 4901 ac_cpp_err= … … 3225 4905 fi 3226 4906 if test -z "$ac_cpp_err"; then 3227 ac_ cv_header_linux_socket_h=yes4907 ac_header_preproc=yes 3228 4908 else 3229 4909 echo "$as_me: failed program was:" >&5 3230 cat conftest.$ac_ext >&5 3231 ac_cv_header_linux_socket_h=no 4910 sed 's/^/| /' conftest.$ac_ext >&5 4911 4912 ac_header_preproc=no 3232 4913 fi 3233 4914 rm -f conftest.err conftest.$ac_ext 3234 fi 3235 echo "$as_me:3235: result: $ac_cv_header_linux_socket_h" >&5 4915 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4916 echo "${ECHO_T}$ac_header_preproc" >&6 4917 4918 # So? What about this header? 4919 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4920 yes:no: ) 4921 { echo "$as_me:$LINENO: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 4922 echo "$as_me: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4923 { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the compiler's result" >&5 4924 echo "$as_me: WARNING: linux/socket.h: proceeding with the compiler's result" >&2;} 4925 ac_header_preproc=yes 4926 ;; 4927 no:yes:* ) 4928 { echo "$as_me:$LINENO: WARNING: linux/socket.h: present but cannot be compiled" >&5 4929 echo "$as_me: WARNING: linux/socket.h: present but cannot be compiled" >&2;} 4930 { echo "$as_me:$LINENO: WARNING: linux/socket.h: check for missing prerequisite headers?" >&5 4931 echo "$as_me: WARNING: linux/socket.h: check for missing prerequisite headers?" >&2;} 4932 { echo "$as_me:$LINENO: WARNING: linux/socket.h: see the Autoconf documentation" >&5 4933 echo "$as_me: WARNING: linux/socket.h: see the Autoconf documentation" >&2;} 4934 { echo "$as_me:$LINENO: WARNING: linux/socket.h: section \"Present But Cannot Be Compiled\"" >&5 4935 echo "$as_me: WARNING: linux/socket.h: section \"Present But Cannot Be Compiled\"" >&2;} 4936 { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&5 4937 echo "$as_me: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&2;} 4938 { echo "$as_me:$LINENO: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&5 4939 echo "$as_me: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&2;} 4940 ( 4941 cat <<\_ASBOX 4942 ## ------------------------------------ ## 4943 ## Report this to the pjproject lists. ## 4944 ## ------------------------------------ ## 4945 _ASBOX 4946 ) | 4947 sed "s/^/$as_me: WARNING: /" >&2 4948 ;; 4949 esac 4950 echo "$as_me:$LINENO: checking for linux/socket.h" >&5 4951 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6 4952 if test "${ac_cv_header_linux_socket_h+set}" = set; then 4953 echo $ECHO_N "(cached) $ECHO_C" >&6 4954 else 4955 ac_cv_header_linux_socket_h=$ac_header_preproc 4956 fi 4957 echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 3236 4958 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6 4959 4960 fi 3237 4961 if test $ac_cv_header_linux_socket_h = yes; then 3238 cat >>confdefs.h <<\ EOF4962 cat >>confdefs.h <<\_ACEOF 3239 4963 #define PJ_HAS_LINUX_SOCKET_H 1 3240 EOF 3241 3242 fi 3243 3244 echo "$as_me:3244: checking for malloc.h" >&5 4964 _ACEOF 4965 4966 fi 4967 4968 4969 if test "${ac_cv_header_malloc_h+set}" = set; then 4970 echo "$as_me:$LINENO: checking for malloc.h" >&5 3245 4971 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6 3246 4972 if test "${ac_cv_header_malloc_h+set}" = set; then 3247 4973 echo $ECHO_N "(cached) $ECHO_C" >&6 3248 else 3249 cat >conftest.$ac_ext <<_ACEOF 3250 #line 3250 "configure" 3251 #include "confdefs.h" 4974 fi 4975 echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 4976 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6 4977 else 4978 # Is the header compilable? 4979 echo "$as_me:$LINENO: checking malloc.h usability" >&5 4980 echo $ECHO_N "checking malloc.h usability... $ECHO_C" >&6 4981 cat >conftest.$ac_ext <<_ACEOF 4982 /* confdefs.h. */ 4983 _ACEOF 4984 cat confdefs.h >>conftest.$ac_ext 4985 cat >>conftest.$ac_ext <<_ACEOF 4986 /* end confdefs.h. */ 4987 $ac_includes_default 3252 4988 #include <malloc.h> 3253 4989 _ACEOF 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 4990 rm -f conftest.$ac_objext 4991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4992 (eval $ac_compile) 2>conftest.er1 4993 ac_status=$? 4994 grep -v '^ *+' conftest.er1 >conftest.err 3258 4995 rm -f conftest.er1 3259 4996 cat conftest.err >&5 3260 echo "$as_me:3260: \$? = $ac_status" >&5 4997 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4998 (exit $ac_status); } && 4999 { ac_try='test -z "$ac_c_werror_flag" 5000 || test ! -s conftest.err' 5001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5002 (eval $ac_try) 2>&5 5003 ac_status=$? 5004 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5005 (exit $ac_status); }; } && 5006 { ac_try='test -s conftest.$ac_objext' 5007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5008 (eval $ac_try) 2>&5 5009 ac_status=$? 5010 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5011 (exit $ac_status); }; }; then 5012 ac_header_compiler=yes 5013 else 5014 echo "$as_me: failed program was:" >&5 5015 sed 's/^/| /' conftest.$ac_ext >&5 5016 5017 ac_header_compiler=no 5018 fi 5019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5020 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5021 echo "${ECHO_T}$ac_header_compiler" >&6 5022 5023 # Is the header present? 5024 echo "$as_me:$LINENO: checking malloc.h presence" >&5 5025 echo $ECHO_N "checking malloc.h presence... $ECHO_C" >&6 5026 cat >conftest.$ac_ext <<_ACEOF 5027 /* confdefs.h. */ 5028 _ACEOF 5029 cat confdefs.h >>conftest.$ac_ext 5030 cat >>conftest.$ac_ext <<_ACEOF 5031 /* end confdefs.h. */ 5032 #include <malloc.h> 5033 _ACEOF 5034 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5035 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5036 ac_status=$? 5037 grep -v '^ *+' conftest.er1 >conftest.err 5038 rm -f conftest.er1 5039 cat conftest.err >&5 5040 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3261 5041 (exit $ac_status); } >/dev/null; then 3262 5042 if test -s conftest.err; then 3263 5043 ac_cpp_err=$ac_c_preproc_warn_flag 5044 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3264 5045 else 3265 5046 ac_cpp_err= … … 3269 5050 fi 3270 5051 if test -z "$ac_cpp_err"; then 3271 ac_ cv_header_malloc_h=yes5052 ac_header_preproc=yes 3272 5053 else 3273 5054 echo "$as_me: failed program was:" >&5 3274 cat conftest.$ac_ext >&5 3275 ac_cv_header_malloc_h=no 5055 sed 's/^/| /' conftest.$ac_ext >&5 5056 5057 ac_header_preproc=no 3276 5058 fi 3277 5059 rm -f conftest.err conftest.$ac_ext 3278 fi 3279 echo "$as_me:3279: result: $ac_cv_header_malloc_h" >&5 5060 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5061 echo "${ECHO_T}$ac_header_preproc" >&6 5062 5063 # So? What about this header? 5064 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5065 yes:no: ) 5066 { echo "$as_me:$LINENO: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 5067 echo "$as_me: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5068 { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the compiler's result" >&5 5069 echo "$as_me: WARNING: malloc.h: proceeding with the compiler's result" >&2;} 5070 ac_header_preproc=yes 5071 ;; 5072 no:yes:* ) 5073 { echo "$as_me:$LINENO: WARNING: malloc.h: present but cannot be compiled" >&5 5074 echo "$as_me: WARNING: malloc.h: present but cannot be compiled" >&2;} 5075 { echo "$as_me:$LINENO: WARNING: malloc.h: check for missing prerequisite headers?" >&5 5076 echo "$as_me: WARNING: malloc.h: check for missing prerequisite headers?" >&2;} 5077 { echo "$as_me:$LINENO: WARNING: malloc.h: see the Autoconf documentation" >&5 5078 echo "$as_me: WARNING: malloc.h: see the Autoconf documentation" >&2;} 5079 { echo "$as_me:$LINENO: WARNING: malloc.h: section \"Present But Cannot Be Compiled\"" >&5 5080 echo "$as_me: WARNING: malloc.h: section \"Present But Cannot Be Compiled\"" >&2;} 5081 { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5 5082 echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;} 5083 { echo "$as_me:$LINENO: WARNING: malloc.h: in the future, the compiler will take precedence" >&5 5084 echo "$as_me: WARNING: malloc.h: in the future, the compiler will take precedence" >&2;} 5085 ( 5086 cat <<\_ASBOX 5087 ## ------------------------------------ ## 5088 ## Report this to the pjproject lists. ## 5089 ## ------------------------------------ ## 5090 _ASBOX 5091 ) | 5092 sed "s/^/$as_me: WARNING: /" >&2 5093 ;; 5094 esac 5095 echo "$as_me:$LINENO: checking for malloc.h" >&5 5096 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6 5097 if test "${ac_cv_header_malloc_h+set}" = set; then 5098 echo $ECHO_N "(cached) $ECHO_C" >&6 5099 else 5100 ac_cv_header_malloc_h=$ac_header_preproc 5101 fi 5102 echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 3280 5103 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6 5104 5105 fi 3281 5106 if test $ac_cv_header_malloc_h = yes; then 3282 cat >>confdefs.h <<\ EOF5107 cat >>confdefs.h <<\_ACEOF 3283 5108 #define PJ_HAS_MALLOC_H 1 3284 EOF 3285 3286 fi 3287 3288 echo "$as_me:3288: checking for netdb.h" >&5 5109 _ACEOF 5110 5111 fi 5112 5113 5114 if test "${ac_cv_header_netdb_h+set}" = set; then 5115 echo "$as_me:$LINENO: checking for netdb.h" >&5 3289 5116 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6 3290 5117 if test "${ac_cv_header_netdb_h+set}" = set; then 3291 5118 echo $ECHO_N "(cached) $ECHO_C" >&6 3292 else 3293 cat >conftest.$ac_ext <<_ACEOF 3294 #line 3294 "configure" 3295 #include "confdefs.h" 5119 fi 5120 echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 5121 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6 5122 else 5123 # Is the header compilable? 5124 echo "$as_me:$LINENO: checking netdb.h usability" >&5 5125 echo $ECHO_N "checking netdb.h usability... $ECHO_C" >&6 5126 cat >conftest.$ac_ext <<_ACEOF 5127 /* confdefs.h. */ 5128 _ACEOF 5129 cat confdefs.h >>conftest.$ac_ext 5130 cat >>conftest.$ac_ext <<_ACEOF 5131 /* end confdefs.h. */ 5132 $ac_includes_default 3296 5133 #include <netdb.h> 3297 5134 _ACEOF 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 5135 rm -f conftest.$ac_objext 5136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5137 (eval $ac_compile) 2>conftest.er1 5138 ac_status=$? 5139 grep -v '^ *+' conftest.er1 >conftest.err 3302 5140 rm -f conftest.er1 3303 5141 cat conftest.err >&5 3304 echo "$as_me:3304: \$? = $ac_status" >&5 5142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5143 (exit $ac_status); } && 5144 { ac_try='test -z "$ac_c_werror_flag" 5145 || test ! -s conftest.err' 5146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5147 (eval $ac_try) 2>&5 5148 ac_status=$? 5149 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5150 (exit $ac_status); }; } && 5151 { ac_try='test -s conftest.$ac_objext' 5152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5153 (eval $ac_try) 2>&5 5154 ac_status=$? 5155 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5156 (exit $ac_status); }; }; then 5157 ac_header_compiler=yes 5158 else 5159 echo "$as_me: failed program was:" >&5 5160 sed 's/^/| /' conftest.$ac_ext >&5 5161 5162 ac_header_compiler=no 5163 fi 5164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5165 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5166 echo "${ECHO_T}$ac_header_compiler" >&6 5167 5168 # Is the header present? 5169 echo "$as_me:$LINENO: checking netdb.h presence" >&5 5170 echo $ECHO_N "checking netdb.h presence... $ECHO_C" >&6 5171 cat >conftest.$ac_ext <<_ACEOF 5172 /* confdefs.h. */ 5173 _ACEOF 5174 cat confdefs.h >>conftest.$ac_ext 5175 cat >>conftest.$ac_ext <<_ACEOF 5176 /* end confdefs.h. */ 5177 #include <netdb.h> 5178 _ACEOF 5179 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5180 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5181 ac_status=$? 5182 grep -v '^ *+' conftest.er1 >conftest.err 5183 rm -f conftest.er1 5184 cat conftest.err >&5 5185 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3305 5186 (exit $ac_status); } >/dev/null; then 3306 5187 if test -s conftest.err; then 3307 5188 ac_cpp_err=$ac_c_preproc_warn_flag 5189 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3308 5190 else 3309 5191 ac_cpp_err= … … 3313 5195 fi 3314 5196 if test -z "$ac_cpp_err"; then 3315 ac_ cv_header_netdb_h=yes5197 ac_header_preproc=yes 3316 5198 else 3317 5199 echo "$as_me: failed program was:" >&5 3318 cat conftest.$ac_ext >&5 3319 ac_cv_header_netdb_h=no 5200 sed 's/^/| /' conftest.$ac_ext >&5 5201 5202 ac_header_preproc=no 3320 5203 fi 3321 5204 rm -f conftest.err conftest.$ac_ext 3322 fi 3323 echo "$as_me:3323: result: $ac_cv_header_netdb_h" >&5 5205 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5206 echo "${ECHO_T}$ac_header_preproc" >&6 5207 5208 # So? What about this header? 5209 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5210 yes:no: ) 5211 { echo "$as_me:$LINENO: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&5 5212 echo "$as_me: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5213 { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the compiler's result" >&5 5214 echo "$as_me: WARNING: netdb.h: proceeding with the compiler's result" >&2;} 5215 ac_header_preproc=yes 5216 ;; 5217 no:yes:* ) 5218 { echo "$as_me:$LINENO: WARNING: netdb.h: present but cannot be compiled" >&5 5219 echo "$as_me: WARNING: netdb.h: present but cannot be compiled" >&2;} 5220 { echo "$as_me:$LINENO: WARNING: netdb.h: check for missing prerequisite headers?" >&5 5221 echo "$as_me: WARNING: netdb.h: check for missing prerequisite headers?" >&2;} 5222 { echo "$as_me:$LINENO: WARNING: netdb.h: see the Autoconf documentation" >&5 5223 echo "$as_me: WARNING: netdb.h: see the Autoconf documentation" >&2;} 5224 { echo "$as_me:$LINENO: WARNING: netdb.h: section \"Present But Cannot Be Compiled\"" >&5 5225 echo "$as_me: WARNING: netdb.h: section \"Present But Cannot Be Compiled\"" >&2;} 5226 { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the preprocessor's result" >&5 5227 echo "$as_me: WARNING: netdb.h: proceeding with the preprocessor's result" >&2;} 5228 { echo "$as_me:$LINENO: WARNING: netdb.h: in the future, the compiler will take precedence" >&5 5229 echo "$as_me: WARNING: netdb.h: in the future, the compiler will take precedence" >&2;} 5230 ( 5231 cat <<\_ASBOX 5232 ## ------------------------------------ ## 5233 ## Report this to the pjproject lists. ## 5234 ## ------------------------------------ ## 5235 _ASBOX 5236 ) | 5237 sed "s/^/$as_me: WARNING: /" >&2 5238 ;; 5239 esac 5240 echo "$as_me:$LINENO: checking for netdb.h" >&5 5241 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6 5242 if test "${ac_cv_header_netdb_h+set}" = set; then 5243 echo $ECHO_N "(cached) $ECHO_C" >&6 5244 else 5245 ac_cv_header_netdb_h=$ac_header_preproc 5246 fi 5247 echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 3324 5248 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6 5249 5250 fi 3325 5251 if test $ac_cv_header_netdb_h = yes; then 3326 cat >>confdefs.h <<\ EOF5252 cat >>confdefs.h <<\_ACEOF 3327 5253 #define PJ_HAS_NETDB_H 1 3328 EOF 3329 3330 fi 3331 3332 echo "$as_me:3332: checking for netinet/in.h" >&5 5254 _ACEOF 5255 5256 fi 5257 5258 5259 if test "${ac_cv_header_netinet_in_h+set}" = set; then 5260 echo "$as_me:$LINENO: checking for netinet/in.h" >&5 3333 5261 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 3334 5262 if test "${ac_cv_header_netinet_in_h+set}" = set; then 3335 5263 echo $ECHO_N "(cached) $ECHO_C" >&6 3336 else 3337 cat >conftest.$ac_ext <<_ACEOF 3338 #line 3338 "configure" 3339 #include "confdefs.h" 5264 fi 5265 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 5266 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 5267 else 5268 # Is the header compilable? 5269 echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 5270 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6 5271 cat >conftest.$ac_ext <<_ACEOF 5272 /* confdefs.h. */ 5273 _ACEOF 5274 cat confdefs.h >>conftest.$ac_ext 5275 cat >>conftest.$ac_ext <<_ACEOF 5276 /* end confdefs.h. */ 5277 $ac_includes_default 3340 5278 #include <netinet/in.h> 3341 5279 _ACEOF 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 5280 rm -f conftest.$ac_objext 5281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5282 (eval $ac_compile) 2>conftest.er1 5283 ac_status=$? 5284 grep -v '^ *+' conftest.er1 >conftest.err 3346 5285 rm -f conftest.er1 3347 5286 cat conftest.err >&5 3348 echo "$as_me:3348: \$? = $ac_status" >&5 5287 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5288 (exit $ac_status); } && 5289 { ac_try='test -z "$ac_c_werror_flag" 5290 || test ! -s conftest.err' 5291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5292 (eval $ac_try) 2>&5 5293 ac_status=$? 5294 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5295 (exit $ac_status); }; } && 5296 { ac_try='test -s conftest.$ac_objext' 5297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5298 (eval $ac_try) 2>&5 5299 ac_status=$? 5300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5301 (exit $ac_status); }; }; then 5302 ac_header_compiler=yes 5303 else 5304 echo "$as_me: failed program was:" >&5 5305 sed 's/^/| /' conftest.$ac_ext >&5 5306 5307 ac_header_compiler=no 5308 fi 5309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5310 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5311 echo "${ECHO_T}$ac_header_compiler" >&6 5312 5313 # Is the header present? 5314 echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 5315 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6 5316 cat >conftest.$ac_ext <<_ACEOF 5317 /* confdefs.h. */ 5318 _ACEOF 5319 cat confdefs.h >>conftest.$ac_ext 5320 cat >>conftest.$ac_ext <<_ACEOF 5321 /* end confdefs.h. */ 5322 #include <netinet/in.h> 5323 _ACEOF 5324 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5325 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5326 ac_status=$? 5327 grep -v '^ *+' conftest.er1 >conftest.err 5328 rm -f conftest.er1 5329 cat conftest.err >&5 5330 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3349 5331 (exit $ac_status); } >/dev/null; then 3350 5332 if test -s conftest.err; then 3351 5333 ac_cpp_err=$ac_c_preproc_warn_flag 5334 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3352 5335 else 3353 5336 ac_cpp_err= … … 3357 5340 fi 3358 5341 if test -z "$ac_cpp_err"; then 3359 ac_ cv_header_netinet_in_h=yes5342 ac_header_preproc=yes 3360 5343 else 3361 5344 echo "$as_me: failed program was:" >&5 3362 cat conftest.$ac_ext >&5 3363 ac_cv_header_netinet_in_h=no 5345 sed 's/^/| /' conftest.$ac_ext >&5 5346 5347 ac_header_preproc=no 3364 5348 fi 3365 5349 rm -f conftest.err conftest.$ac_ext 3366 fi 3367 echo "$as_me:3367: result: $ac_cv_header_netinet_in_h" >&5 5350 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5351 echo "${ECHO_T}$ac_header_preproc" >&6 5352 5353 # So? What about this header? 5354 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5355 yes:no: ) 5356 { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 5357 echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5358 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5 5359 echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;} 5360 ac_header_preproc=yes 5361 ;; 5362 no:yes:* ) 5363 { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 5364 echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} 5365 { echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5 5366 echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;} 5367 { echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5 5368 echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;} 5369 { echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5 5370 echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;} 5371 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 5372 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} 5373 { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 5374 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} 5375 ( 5376 cat <<\_ASBOX 5377 ## ------------------------------------ ## 5378 ## Report this to the pjproject lists. ## 5379 ## ------------------------------------ ## 5380 _ASBOX 5381 ) | 5382 sed "s/^/$as_me: WARNING: /" >&2 5383 ;; 5384 esac 5385 echo "$as_me:$LINENO: checking for netinet/in.h" >&5 5386 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 5387 if test "${ac_cv_header_netinet_in_h+set}" = set; then 5388 echo $ECHO_N "(cached) $ECHO_C" >&6 5389 else 5390 ac_cv_header_netinet_in_h=$ac_header_preproc 5391 fi 5392 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 3368 5393 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 5394 5395 fi 3369 5396 if test $ac_cv_header_netinet_in_h = yes; then 3370 cat >>confdefs.h <<\ EOF5397 cat >>confdefs.h <<\_ACEOF 3371 5398 #define PJ_HAS_NETINET_IN_H 1 3372 EOF 3373 3374 fi 3375 3376 echo "$as_me:3376: checking for setjmp.h" >&5 5399 _ACEOF 5400 5401 fi 5402 5403 5404 if test "${ac_cv_header_setjmp_h+set}" = set; then 5405 echo "$as_me:$LINENO: checking for setjmp.h" >&5 3377 5406 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6 3378 5407 if test "${ac_cv_header_setjmp_h+set}" = set; then 3379 5408 echo $ECHO_N "(cached) $ECHO_C" >&6 3380 else 3381 cat >conftest.$ac_ext <<_ACEOF 3382 #line 3382 "configure" 3383 #include "confdefs.h" 5409 fi 5410 echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 5411 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6 5412 else 5413 # Is the header compilable? 5414 echo "$as_me:$LINENO: checking setjmp.h usability" >&5 5415 echo $ECHO_N "checking setjmp.h usability... $ECHO_C" >&6 5416 cat >conftest.$ac_ext <<_ACEOF 5417 /* confdefs.h. */ 5418 _ACEOF 5419 cat confdefs.h >>conftest.$ac_ext 5420 cat >>conftest.$ac_ext <<_ACEOF 5421 /* end confdefs.h. */ 5422 $ac_includes_default 3384 5423 #include <setjmp.h> 3385 5424 _ACEOF 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 5425 rm -f conftest.$ac_objext 5426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5427 (eval $ac_compile) 2>conftest.er1 5428 ac_status=$? 5429 grep -v '^ *+' conftest.er1 >conftest.err 3390 5430 rm -f conftest.er1 3391 5431 cat conftest.err >&5 3392 echo "$as_me:3392: \$? = $ac_status" >&5 5432 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5433 (exit $ac_status); } && 5434 { ac_try='test -z "$ac_c_werror_flag" 5435 || test ! -s conftest.err' 5436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5437 (eval $ac_try) 2>&5 5438 ac_status=$? 5439 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5440 (exit $ac_status); }; } && 5441 { ac_try='test -s conftest.$ac_objext' 5442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5443 (eval $ac_try) 2>&5 5444 ac_status=$? 5445 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5446 (exit $ac_status); }; }; then 5447 ac_header_compiler=yes 5448 else 5449 echo "$as_me: failed program was:" >&5 5450 sed 's/^/| /' conftest.$ac_ext >&5 5451 5452 ac_header_compiler=no 5453 fi 5454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5455 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5456 echo "${ECHO_T}$ac_header_compiler" >&6 5457 5458 # Is the header present? 5459 echo "$as_me:$LINENO: checking setjmp.h presence" >&5 5460 echo $ECHO_N "checking setjmp.h presence... $ECHO_C" >&6 5461 cat >conftest.$ac_ext <<_ACEOF 5462 /* confdefs.h. */ 5463 _ACEOF 5464 cat confdefs.h >>conftest.$ac_ext 5465 cat >>conftest.$ac_ext <<_ACEOF 5466 /* end confdefs.h. */ 5467 #include <setjmp.h> 5468 _ACEOF 5469 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5470 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5471 ac_status=$? 5472 grep -v '^ *+' conftest.er1 >conftest.err 5473 rm -f conftest.er1 5474 cat conftest.err >&5 5475 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3393 5476 (exit $ac_status); } >/dev/null; then 3394 5477 if test -s conftest.err; then 3395 5478 ac_cpp_err=$ac_c_preproc_warn_flag 5479 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3396 5480 else 3397 5481 ac_cpp_err= … … 3401 5485 fi 3402 5486 if test -z "$ac_cpp_err"; then 3403 ac_ cv_header_setjmp_h=yes5487 ac_header_preproc=yes 3404 5488 else 3405 5489 echo "$as_me: failed program was:" >&5 3406 cat conftest.$ac_ext >&5 3407 ac_cv_header_setjmp_h=no 5490 sed 's/^/| /' conftest.$ac_ext >&5 5491 5492 ac_header_preproc=no 3408 5493 fi 3409 5494 rm -f conftest.err conftest.$ac_ext 3410 fi 3411 echo "$as_me:3411: result: $ac_cv_header_setjmp_h" >&5 5495 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5496 echo "${ECHO_T}$ac_header_preproc" >&6 5497 5498 # So? What about this header? 5499 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5500 yes:no: ) 5501 { echo "$as_me:$LINENO: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 5502 echo "$as_me: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5503 { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the compiler's result" >&5 5504 echo "$as_me: WARNING: setjmp.h: proceeding with the compiler's result" >&2;} 5505 ac_header_preproc=yes 5506 ;; 5507 no:yes:* ) 5508 { echo "$as_me:$LINENO: WARNING: setjmp.h: present but cannot be compiled" >&5 5509 echo "$as_me: WARNING: setjmp.h: present but cannot be compiled" >&2;} 5510 { echo "$as_me:$LINENO: WARNING: setjmp.h: check for missing prerequisite headers?" >&5 5511 echo "$as_me: WARNING: setjmp.h: check for missing prerequisite headers?" >&2;} 5512 { echo "$as_me:$LINENO: WARNING: setjmp.h: see the Autoconf documentation" >&5 5513 echo "$as_me: WARNING: setjmp.h: see the Autoconf documentation" >&2;} 5514 { echo "$as_me:$LINENO: WARNING: setjmp.h: section \"Present But Cannot Be Compiled\"" >&5 5515 echo "$as_me: WARNING: setjmp.h: section \"Present But Cannot Be Compiled\"" >&2;} 5516 { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the preprocessor's result" >&5 5517 echo "$as_me: WARNING: setjmp.h: proceeding with the preprocessor's result" >&2;} 5518 { echo "$as_me:$LINENO: WARNING: setjmp.h: in the future, the compiler will take precedence" >&5 5519 echo "$as_me: WARNING: setjmp.h: in the future, the compiler will take precedence" >&2;} 5520 ( 5521 cat <<\_ASBOX 5522 ## ------------------------------------ ## 5523 ## Report this to the pjproject lists. ## 5524 ## ------------------------------------ ## 5525 _ASBOX 5526 ) | 5527 sed "s/^/$as_me: WARNING: /" >&2 5528 ;; 5529 esac 5530 echo "$as_me:$LINENO: checking for setjmp.h" >&5 5531 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6 5532 if test "${ac_cv_header_setjmp_h+set}" = set; then 5533 echo $ECHO_N "(cached) $ECHO_C" >&6 5534 else 5535 ac_cv_header_setjmp_h=$ac_header_preproc 5536 fi 5537 echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 3412 5538 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6 5539 5540 fi 3413 5541 if test $ac_cv_header_setjmp_h = yes; then 3414 cat >>confdefs.h <<\ EOF5542 cat >>confdefs.h <<\_ACEOF 3415 5543 #define PJ_HAS_SETJMP_H 1 3416 EOF 3417 3418 fi 3419 3420 echo "$as_me:3420: checking for stdarg.h" >&5 5544 _ACEOF 5545 5546 fi 5547 5548 5549 if test "${ac_cv_header_stdarg_h+set}" = set; then 5550 echo "$as_me:$LINENO: checking for stdarg.h" >&5 3421 5551 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6 3422 5552 if test "${ac_cv_header_stdarg_h+set}" = set; then 3423 5553 echo $ECHO_N "(cached) $ECHO_C" >&6 3424 else 3425 cat >conftest.$ac_ext <<_ACEOF 3426 #line 3426 "configure" 3427 #include "confdefs.h" 5554 fi 5555 echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 5556 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6 5557 else 5558 # Is the header compilable? 5559 echo "$as_me:$LINENO: checking stdarg.h usability" >&5 5560 echo $ECHO_N "checking stdarg.h usability... $ECHO_C" >&6 5561 cat >conftest.$ac_ext <<_ACEOF 5562 /* confdefs.h. */ 5563 _ACEOF 5564 cat confdefs.h >>conftest.$ac_ext 5565 cat >>conftest.$ac_ext <<_ACEOF 5566 /* end confdefs.h. */ 5567 $ac_includes_default 3428 5568 #include <stdarg.h> 3429 5569 _ACEOF 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 5570 rm -f conftest.$ac_objext 5571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5572 (eval $ac_compile) 2>conftest.er1 5573 ac_status=$? 5574 grep -v '^ *+' conftest.er1 >conftest.err 3434 5575 rm -f conftest.er1 3435 5576 cat conftest.err >&5 3436 echo "$as_me:3436: \$? = $ac_status" >&5 5577 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5578 (exit $ac_status); } && 5579 { ac_try='test -z "$ac_c_werror_flag" 5580 || test ! -s conftest.err' 5581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5582 (eval $ac_try) 2>&5 5583 ac_status=$? 5584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5585 (exit $ac_status); }; } && 5586 { ac_try='test -s conftest.$ac_objext' 5587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5588 (eval $ac_try) 2>&5 5589 ac_status=$? 5590 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5591 (exit $ac_status); }; }; then 5592 ac_header_compiler=yes 5593 else 5594 echo "$as_me: failed program was:" >&5 5595 sed 's/^/| /' conftest.$ac_ext >&5 5596 5597 ac_header_compiler=no 5598 fi 5599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5600 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5601 echo "${ECHO_T}$ac_header_compiler" >&6 5602 5603 # Is the header present? 5604 echo "$as_me:$LINENO: checking stdarg.h presence" >&5 5605 echo $ECHO_N "checking stdarg.h presence... $ECHO_C" >&6 5606 cat >conftest.$ac_ext <<_ACEOF 5607 /* confdefs.h. */ 5608 _ACEOF 5609 cat confdefs.h >>conftest.$ac_ext 5610 cat >>conftest.$ac_ext <<_ACEOF 5611 /* end confdefs.h. */ 5612 #include <stdarg.h> 5613 _ACEOF 5614 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5615 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5616 ac_status=$? 5617 grep -v '^ *+' conftest.er1 >conftest.err 5618 rm -f conftest.er1 5619 cat conftest.err >&5 5620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3437 5621 (exit $ac_status); } >/dev/null; then 3438 5622 if test -s conftest.err; then 3439 5623 ac_cpp_err=$ac_c_preproc_warn_flag 5624 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3440 5625 else 3441 5626 ac_cpp_err= … … 3445 5630 fi 3446 5631 if test -z "$ac_cpp_err"; then 3447 ac_ cv_header_stdarg_h=yes5632 ac_header_preproc=yes 3448 5633 else 3449 5634 echo "$as_me: failed program was:" >&5 3450 cat conftest.$ac_ext >&5 3451 ac_cv_header_stdarg_h=no 5635 sed 's/^/| /' conftest.$ac_ext >&5 5636 5637 ac_header_preproc=no 3452 5638 fi 3453 5639 rm -f conftest.err conftest.$ac_ext 3454 fi 3455 echo "$as_me:3455: result: $ac_cv_header_stdarg_h" >&5 5640 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5641 echo "${ECHO_T}$ac_header_preproc" >&6 5642 5643 # So? What about this header? 5644 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5645 yes:no: ) 5646 { echo "$as_me:$LINENO: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&5 5647 echo "$as_me: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5648 { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the compiler's result" >&5 5649 echo "$as_me: WARNING: stdarg.h: proceeding with the compiler's result" >&2;} 5650 ac_header_preproc=yes 5651 ;; 5652 no:yes:* ) 5653 { echo "$as_me:$LINENO: WARNING: stdarg.h: present but cannot be compiled" >&5 5654 echo "$as_me: WARNING: stdarg.h: present but cannot be compiled" >&2;} 5655 { echo "$as_me:$LINENO: WARNING: stdarg.h: check for missing prerequisite headers?" >&5 5656 echo "$as_me: WARNING: stdarg.h: check for missing prerequisite headers?" >&2;} 5657 { echo "$as_me:$LINENO: WARNING: stdarg.h: see the Autoconf documentation" >&5 5658 echo "$as_me: WARNING: stdarg.h: see the Autoconf documentation" >&2;} 5659 { echo "$as_me:$LINENO: WARNING: stdarg.h: section \"Present But Cannot Be Compiled\"" >&5 5660 echo "$as_me: WARNING: stdarg.h: section \"Present But Cannot Be Compiled\"" >&2;} 5661 { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the preprocessor's result" >&5 5662 echo "$as_me: WARNING: stdarg.h: proceeding with the preprocessor's result" >&2;} 5663 { echo "$as_me:$LINENO: WARNING: stdarg.h: in the future, the compiler will take precedence" >&5 5664 echo "$as_me: WARNING: stdarg.h: in the future, the compiler will take precedence" >&2;} 5665 ( 5666 cat <<\_ASBOX 5667 ## ------------------------------------ ## 5668 ## Report this to the pjproject lists. ## 5669 ## ------------------------------------ ## 5670 _ASBOX 5671 ) | 5672 sed "s/^/$as_me: WARNING: /" >&2 5673 ;; 5674 esac 5675 echo "$as_me:$LINENO: checking for stdarg.h" >&5 5676 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6 5677 if test "${ac_cv_header_stdarg_h+set}" = set; then 5678 echo $ECHO_N "(cached) $ECHO_C" >&6 5679 else 5680 ac_cv_header_stdarg_h=$ac_header_preproc 5681 fi 5682 echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 3456 5683 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6 5684 5685 fi 3457 5686 if test $ac_cv_header_stdarg_h = yes; then 3458 cat >>confdefs.h <<\ EOF5687 cat >>confdefs.h <<\_ACEOF 3459 5688 #define PJ_HAS_STDARG_H 1 3460 EOF 3461 3462 fi 3463 3464 echo "$as_me:3464: checking for stddef.h" >&5 5689 _ACEOF 5690 5691 fi 5692 5693 5694 if test "${ac_cv_header_stddef_h+set}" = set; then 5695 echo "$as_me:$LINENO: checking for stddef.h" >&5 3465 5696 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6 3466 5697 if test "${ac_cv_header_stddef_h+set}" = set; then 3467 5698 echo $ECHO_N "(cached) $ECHO_C" >&6 3468 else 3469 cat >conftest.$ac_ext <<_ACEOF 3470 #line 3470 "configure" 3471 #include "confdefs.h" 5699 fi 5700 echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 5701 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6 5702 else 5703 # Is the header compilable? 5704 echo "$as_me:$LINENO: checking stddef.h usability" >&5 5705 echo $ECHO_N "checking stddef.h usability... $ECHO_C" >&6 5706 cat >conftest.$ac_ext <<_ACEOF 5707 /* confdefs.h. */ 5708 _ACEOF 5709 cat confdefs.h >>conftest.$ac_ext 5710 cat >>conftest.$ac_ext <<_ACEOF 5711 /* end confdefs.h. */ 5712 $ac_includes_default 3472 5713 #include <stddef.h> 3473 5714 _ACEOF 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 5715 rm -f conftest.$ac_objext 5716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5717 (eval $ac_compile) 2>conftest.er1 5718 ac_status=$? 5719 grep -v '^ *+' conftest.er1 >conftest.err 3478 5720 rm -f conftest.er1 3479 5721 cat conftest.err >&5 3480 echo "$as_me:3480: \$? = $ac_status" >&5 5722 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5723 (exit $ac_status); } && 5724 { ac_try='test -z "$ac_c_werror_flag" 5725 || test ! -s conftest.err' 5726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5727 (eval $ac_try) 2>&5 5728 ac_status=$? 5729 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5730 (exit $ac_status); }; } && 5731 { ac_try='test -s conftest.$ac_objext' 5732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5733 (eval $ac_try) 2>&5 5734 ac_status=$? 5735 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5736 (exit $ac_status); }; }; then 5737 ac_header_compiler=yes 5738 else 5739 echo "$as_me: failed program was:" >&5 5740 sed 's/^/| /' conftest.$ac_ext >&5 5741 5742 ac_header_compiler=no 5743 fi 5744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5745 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5746 echo "${ECHO_T}$ac_header_compiler" >&6 5747 5748 # Is the header present? 5749 echo "$as_me:$LINENO: checking stddef.h presence" >&5 5750 echo $ECHO_N "checking stddef.h presence... $ECHO_C" >&6 5751 cat >conftest.$ac_ext <<_ACEOF 5752 /* confdefs.h. */ 5753 _ACEOF 5754 cat confdefs.h >>conftest.$ac_ext 5755 cat >>conftest.$ac_ext <<_ACEOF 5756 /* end confdefs.h. */ 5757 #include <stddef.h> 5758 _ACEOF 5759 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5760 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5761 ac_status=$? 5762 grep -v '^ *+' conftest.er1 >conftest.err 5763 rm -f conftest.er1 5764 cat conftest.err >&5 5765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3481 5766 (exit $ac_status); } >/dev/null; then 3482 5767 if test -s conftest.err; then 3483 5768 ac_cpp_err=$ac_c_preproc_warn_flag 5769 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3484 5770 else 3485 5771 ac_cpp_err= … … 3489 5775 fi 3490 5776 if test -z "$ac_cpp_err"; then 3491 ac_ cv_header_stddef_h=yes5777 ac_header_preproc=yes 3492 5778 else 3493 5779 echo "$as_me: failed program was:" >&5 3494 cat conftest.$ac_ext >&5 3495 ac_cv_header_stddef_h=no 5780 sed 's/^/| /' conftest.$ac_ext >&5 5781 5782 ac_header_preproc=no 3496 5783 fi 3497 5784 rm -f conftest.err conftest.$ac_ext 3498 fi 3499 echo "$as_me:3499: result: $ac_cv_header_stddef_h" >&5 5785 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5786 echo "${ECHO_T}$ac_header_preproc" >&6 5787 5788 # So? What about this header? 5789 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5790 yes:no: ) 5791 { echo "$as_me:$LINENO: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&5 5792 echo "$as_me: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5793 { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the compiler's result" >&5 5794 echo "$as_me: WARNING: stddef.h: proceeding with the compiler's result" >&2;} 5795 ac_header_preproc=yes 5796 ;; 5797 no:yes:* ) 5798 { echo "$as_me:$LINENO: WARNING: stddef.h: present but cannot be compiled" >&5 5799 echo "$as_me: WARNING: stddef.h: present but cannot be compiled" >&2;} 5800 { echo "$as_me:$LINENO: WARNING: stddef.h: check for missing prerequisite headers?" >&5 5801 echo "$as_me: WARNING: stddef.h: check for missing prerequisite headers?" >&2;} 5802 { echo "$as_me:$LINENO: WARNING: stddef.h: see the Autoconf documentation" >&5 5803 echo "$as_me: WARNING: stddef.h: see the Autoconf documentation" >&2;} 5804 { echo "$as_me:$LINENO: WARNING: stddef.h: section \"Present But Cannot Be Compiled\"" >&5 5805 echo "$as_me: WARNING: stddef.h: section \"Present But Cannot Be Compiled\"" >&2;} 5806 { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the preprocessor's result" >&5 5807 echo "$as_me: WARNING: stddef.h: proceeding with the preprocessor's result" >&2;} 5808 { echo "$as_me:$LINENO: WARNING: stddef.h: in the future, the compiler will take precedence" >&5 5809 echo "$as_me: WARNING: stddef.h: in the future, the compiler will take precedence" >&2;} 5810 ( 5811 cat <<\_ASBOX 5812 ## ------------------------------------ ## 5813 ## Report this to the pjproject lists. ## 5814 ## ------------------------------------ ## 5815 _ASBOX 5816 ) | 5817 sed "s/^/$as_me: WARNING: /" >&2 5818 ;; 5819 esac 5820 echo "$as_me:$LINENO: checking for stddef.h" >&5 5821 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6 5822 if test "${ac_cv_header_stddef_h+set}" = set; then 5823 echo $ECHO_N "(cached) $ECHO_C" >&6 5824 else 5825 ac_cv_header_stddef_h=$ac_header_preproc 5826 fi 5827 echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 3500 5828 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6 5829 5830 fi 3501 5831 if test $ac_cv_header_stddef_h = yes; then 3502 cat >>confdefs.h <<\ EOF5832 cat >>confdefs.h <<\_ACEOF 3503 5833 #define PJ_HAS_STDDEF_H 1 3504 EOF 3505 3506 fi 3507 3508 echo "$as_me:3508: checking for stdio.h" >&5 5834 _ACEOF 5835 5836 fi 5837 5838 5839 if test "${ac_cv_header_stdio_h+set}" = set; then 5840 echo "$as_me:$LINENO: checking for stdio.h" >&5 3509 5841 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6 3510 5842 if test "${ac_cv_header_stdio_h+set}" = set; then 3511 5843 echo $ECHO_N "(cached) $ECHO_C" >&6 3512 else 3513 cat >conftest.$ac_ext <<_ACEOF 3514 #line 3514 "configure" 3515 #include "confdefs.h" 5844 fi 5845 echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 5846 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6 5847 else 5848 # Is the header compilable? 5849 echo "$as_me:$LINENO: checking stdio.h usability" >&5 5850 echo $ECHO_N "checking stdio.h usability... $ECHO_C" >&6 5851 cat >conftest.$ac_ext <<_ACEOF 5852 /* confdefs.h. */ 5853 _ACEOF 5854 cat confdefs.h >>conftest.$ac_ext 5855 cat >>conftest.$ac_ext <<_ACEOF 5856 /* end confdefs.h. */ 5857 $ac_includes_default 3516 5858 #include <stdio.h> 3517 5859 _ACEOF 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 5860 rm -f conftest.$ac_objext 5861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5862 (eval $ac_compile) 2>conftest.er1 5863 ac_status=$? 5864 grep -v '^ *+' conftest.er1 >conftest.err 3522 5865 rm -f conftest.er1 3523 5866 cat conftest.err >&5 3524 echo "$as_me:3524: \$? = $ac_status" >&5 5867 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5868 (exit $ac_status); } && 5869 { ac_try='test -z "$ac_c_werror_flag" 5870 || test ! -s conftest.err' 5871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5872 (eval $ac_try) 2>&5 5873 ac_status=$? 5874 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5875 (exit $ac_status); }; } && 5876 { ac_try='test -s conftest.$ac_objext' 5877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5878 (eval $ac_try) 2>&5 5879 ac_status=$? 5880 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5881 (exit $ac_status); }; }; then 5882 ac_header_compiler=yes 5883 else 5884 echo "$as_me: failed program was:" >&5 5885 sed 's/^/| /' conftest.$ac_ext >&5 5886 5887 ac_header_compiler=no 5888 fi 5889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5890 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5891 echo "${ECHO_T}$ac_header_compiler" >&6 5892 5893 # Is the header present? 5894 echo "$as_me:$LINENO: checking stdio.h presence" >&5 5895 echo $ECHO_N "checking stdio.h presence... $ECHO_C" >&6 5896 cat >conftest.$ac_ext <<_ACEOF 5897 /* confdefs.h. */ 5898 _ACEOF 5899 cat confdefs.h >>conftest.$ac_ext 5900 cat >>conftest.$ac_ext <<_ACEOF 5901 /* end confdefs.h. */ 5902 #include <stdio.h>