Changeset 862 for pjproject/trunk
- 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> 5903 _ACEOF 5904 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5905 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5906 ac_status=$? 5907 grep -v '^ *+' conftest.er1 >conftest.err 5908 rm -f conftest.er1 5909 cat conftest.err >&5 5910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3525 5911 (exit $ac_status); } >/dev/null; then 3526 5912 if test -s conftest.err; then 3527 5913 ac_cpp_err=$ac_c_preproc_warn_flag 5914 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3528 5915 else 3529 5916 ac_cpp_err= … … 3533 5920 fi 3534 5921 if test -z "$ac_cpp_err"; then 3535 ac_ cv_header_stdio_h=yes5922 ac_header_preproc=yes 3536 5923 else 3537 5924 echo "$as_me: failed program was:" >&5 3538 cat conftest.$ac_ext >&5 3539 ac_cv_header_stdio_h=no 5925 sed 's/^/| /' conftest.$ac_ext >&5 5926 5927 ac_header_preproc=no 3540 5928 fi 3541 5929 rm -f conftest.err conftest.$ac_ext 3542 fi 3543 echo "$as_me:3543: result: $ac_cv_header_stdio_h" >&5 5930 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5931 echo "${ECHO_T}$ac_header_preproc" >&6 5932 5933 # So? What about this header? 5934 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5935 yes:no: ) 5936 { echo "$as_me:$LINENO: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&5 5937 echo "$as_me: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5938 { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the compiler's result" >&5 5939 echo "$as_me: WARNING: stdio.h: proceeding with the compiler's result" >&2;} 5940 ac_header_preproc=yes 5941 ;; 5942 no:yes:* ) 5943 { echo "$as_me:$LINENO: WARNING: stdio.h: present but cannot be compiled" >&5 5944 echo "$as_me: WARNING: stdio.h: present but cannot be compiled" >&2;} 5945 { echo "$as_me:$LINENO: WARNING: stdio.h: check for missing prerequisite headers?" >&5 5946 echo "$as_me: WARNING: stdio.h: check for missing prerequisite headers?" >&2;} 5947 { echo "$as_me:$LINENO: WARNING: stdio.h: see the Autoconf documentation" >&5 5948 echo "$as_me: WARNING: stdio.h: see the Autoconf documentation" >&2;} 5949 { echo "$as_me:$LINENO: WARNING: stdio.h: section \"Present But Cannot Be Compiled\"" >&5 5950 echo "$as_me: WARNING: stdio.h: section \"Present But Cannot Be Compiled\"" >&2;} 5951 { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5 5952 echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;} 5953 { echo "$as_me:$LINENO: WARNING: stdio.h: in the future, the compiler will take precedence" >&5 5954 echo "$as_me: WARNING: stdio.h: in the future, the compiler will take precedence" >&2;} 5955 ( 5956 cat <<\_ASBOX 5957 ## ------------------------------------ ## 5958 ## Report this to the pjproject lists. ## 5959 ## ------------------------------------ ## 5960 _ASBOX 5961 ) | 5962 sed "s/^/$as_me: WARNING: /" >&2 5963 ;; 5964 esac 5965 echo "$as_me:$LINENO: checking for stdio.h" >&5 5966 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6 5967 if test "${ac_cv_header_stdio_h+set}" = set; then 5968 echo $ECHO_N "(cached) $ECHO_C" >&6 5969 else 5970 ac_cv_header_stdio_h=$ac_header_preproc 5971 fi 5972 echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 3544 5973 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6 5974 5975 fi 3545 5976 if test $ac_cv_header_stdio_h = yes; then 3546 cat >>confdefs.h <<\ EOF5977 cat >>confdefs.h <<\_ACEOF 3547 5978 #define PJ_HAS_STDIO_H 1 3548 EOF 3549 3550 fi 3551 3552 echo "$as_me:3552: checking for stdlib.h" >&5 5979 _ACEOF 5980 5981 fi 5982 5983 5984 if test "${ac_cv_header_stdlib_h+set}" = set; then 5985 echo "$as_me:$LINENO: checking for stdlib.h" >&5 3553 5986 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6 3554 5987 if test "${ac_cv_header_stdlib_h+set}" = set; then 3555 5988 echo $ECHO_N "(cached) $ECHO_C" >&6 3556 else 3557 cat >conftest.$ac_ext <<_ACEOF 3558 #line 3558 "configure" 3559 #include "confdefs.h" 5989 fi 5990 echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 5991 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6 5992 else 5993 # Is the header compilable? 5994 echo "$as_me:$LINENO: checking stdlib.h usability" >&5 5995 echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6 5996 cat >conftest.$ac_ext <<_ACEOF 5997 /* confdefs.h. */ 5998 _ACEOF 5999 cat confdefs.h >>conftest.$ac_ext 6000 cat >>conftest.$ac_ext <<_ACEOF 6001 /* end confdefs.h. */ 6002 $ac_includes_default 3560 6003 #include <stdlib.h> 3561 6004 _ACEOF 3562 if { (eval echo "$as_me:3562: \"$ac_cpp conftest.$ac_ext\"") >&5 3563 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3564 ac_status=$? 3565 egrep -v '^ *\+' conftest.er1 >conftest.err 6005 rm -f conftest.$ac_objext 6006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6007 (eval $ac_compile) 2>conftest.er1 6008 ac_status=$? 6009 grep -v '^ *+' conftest.er1 >conftest.err 3566 6010 rm -f conftest.er1 3567 6011 cat conftest.err >&5 3568 echo "$as_me:3568: \$? = $ac_status" >&5 6012 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6013 (exit $ac_status); } && 6014 { ac_try='test -z "$ac_c_werror_flag" 6015 || test ! -s conftest.err' 6016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6017 (eval $ac_try) 2>&5 6018 ac_status=$? 6019 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6020 (exit $ac_status); }; } && 6021 { ac_try='test -s conftest.$ac_objext' 6022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6023 (eval $ac_try) 2>&5 6024 ac_status=$? 6025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6026 (exit $ac_status); }; }; then 6027 ac_header_compiler=yes 6028 else 6029 echo "$as_me: failed program was:" >&5 6030 sed 's/^/| /' conftest.$ac_ext >&5 6031 6032 ac_header_compiler=no 6033 fi 6034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6035 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6036 echo "${ECHO_T}$ac_header_compiler" >&6 6037 6038 # Is the header present? 6039 echo "$as_me:$LINENO: checking stdlib.h presence" >&5 6040 echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6 6041 cat >conftest.$ac_ext <<_ACEOF 6042 /* confdefs.h. */ 6043 _ACEOF 6044 cat confdefs.h >>conftest.$ac_ext 6045 cat >>conftest.$ac_ext <<_ACEOF 6046 /* end confdefs.h. */ 6047 #include <stdlib.h> 6048 _ACEOF 6049 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6050 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6051 ac_status=$? 6052 grep -v '^ *+' conftest.er1 >conftest.err 6053 rm -f conftest.er1 6054 cat conftest.err >&5 6055 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3569 6056 (exit $ac_status); } >/dev/null; then 3570 6057 if test -s conftest.err; then 3571 6058 ac_cpp_err=$ac_c_preproc_warn_flag 6059 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3572 6060 else 3573 6061 ac_cpp_err= … … 3577 6065 fi 3578 6066 if test -z "$ac_cpp_err"; then 3579 ac_ cv_header_stdlib_h=yes6067 ac_header_preproc=yes 3580 6068 else 3581 6069 echo "$as_me: failed program was:" >&5 3582 cat conftest.$ac_ext >&5 3583 ac_cv_header_stdlib_h=no 6070 sed 's/^/| /' conftest.$ac_ext >&5 6071 6072 ac_header_preproc=no 3584 6073 fi 3585 6074 rm -f conftest.err conftest.$ac_ext 3586 fi 3587 echo "$as_me:3587: result: $ac_cv_header_stdlib_h" >&5 6075 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6076 echo "${ECHO_T}$ac_header_preproc" >&6 6077 6078 # So? What about this header? 6079 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6080 yes:no: ) 6081 { echo "$as_me:$LINENO: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 6082 echo "$as_me: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6083 { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the compiler's result" >&5 6084 echo "$as_me: WARNING: stdlib.h: proceeding with the compiler's result" >&2;} 6085 ac_header_preproc=yes 6086 ;; 6087 no:yes:* ) 6088 { echo "$as_me:$LINENO: WARNING: stdlib.h: present but cannot be compiled" >&5 6089 echo "$as_me: WARNING: stdlib.h: present but cannot be compiled" >&2;} 6090 { echo "$as_me:$LINENO: WARNING: stdlib.h: check for missing prerequisite headers?" >&5 6091 echo "$as_me: WARNING: stdlib.h: check for missing prerequisite headers?" >&2;} 6092 { echo "$as_me:$LINENO: WARNING: stdlib.h: see the Autoconf documentation" >&5 6093 echo "$as_me: WARNING: stdlib.h: see the Autoconf documentation" >&2;} 6094 { echo "$as_me:$LINENO: WARNING: stdlib.h: section \"Present But Cannot Be Compiled\"" >&5 6095 echo "$as_me: WARNING: stdlib.h: section \"Present But Cannot Be Compiled\"" >&2;} 6096 { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5 6097 echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;} 6098 { echo "$as_me:$LINENO: WARNING: stdlib.h: in the future, the compiler will take precedence" >&5 6099 echo "$as_me: WARNING: stdlib.h: in the future, the compiler will take precedence" >&2;} 6100 ( 6101 cat <<\_ASBOX 6102 ## ------------------------------------ ## 6103 ## Report this to the pjproject lists. ## 6104 ## ------------------------------------ ## 6105 _ASBOX 6106 ) | 6107 sed "s/^/$as_me: WARNING: /" >&2 6108 ;; 6109 esac 6110 echo "$as_me:$LINENO: checking for stdlib.h" >&5 6111 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6 6112 if test "${ac_cv_header_stdlib_h+set}" = set; then 6113 echo $ECHO_N "(cached) $ECHO_C" >&6 6114 else 6115 ac_cv_header_stdlib_h=$ac_header_preproc 6116 fi 6117 echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 3588 6118 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6 6119 6120 fi 3589 6121 if test $ac_cv_header_stdlib_h = yes; then 3590 cat >>confdefs.h <<\ EOF6122 cat >>confdefs.h <<\_ACEOF 3591 6123 #define PJ_HAS_STDLIB_H 1 3592 EOF 3593 3594 fi 3595 3596 echo "$as_me:3596: checking for string.h" >&5 6124 _ACEOF 6125 6126 fi 6127 6128 6129 if test "${ac_cv_header_string_h+set}" = set; then 6130 echo "$as_me:$LINENO: checking for string.h" >&5 3597 6131 echo $ECHO_N "checking for string.h... $ECHO_C" >&6 3598 6132 if test "${ac_cv_header_string_h+set}" = set; then 3599 6133 echo $ECHO_N "(cached) $ECHO_C" >&6 3600 else 3601 cat >conftest.$ac_ext <<_ACEOF 3602 #line 3602 "configure" 3603 #include "confdefs.h" 6134 fi 6135 echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 6136 echo "${ECHO_T}$ac_cv_header_string_h" >&6 6137 else 6138 # Is the header compilable? 6139 echo "$as_me:$LINENO: checking string.h usability" >&5 6140 echo $ECHO_N "checking string.h usability... $ECHO_C" >&6 6141 cat >conftest.$ac_ext <<_ACEOF 6142 /* confdefs.h. */ 6143 _ACEOF 6144 cat confdefs.h >>conftest.$ac_ext 6145 cat >>conftest.$ac_ext <<_ACEOF 6146 /* end confdefs.h. */ 6147 $ac_includes_default 3604 6148 #include <string.h> 3605 6149 _ACEOF 3606 if { (eval echo "$as_me:3606: \"$ac_cpp conftest.$ac_ext\"") >&5 3607 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3608 ac_status=$? 3609 egrep -v '^ *\+' conftest.er1 >conftest.err 6150 rm -f conftest.$ac_objext 6151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6152 (eval $ac_compile) 2>conftest.er1 6153 ac_status=$? 6154 grep -v '^ *+' conftest.er1 >conftest.err 3610 6155 rm -f conftest.er1 3611 6156 cat conftest.err >&5 3612 echo "$as_me:3612: \$? = $ac_status" >&5 6157 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6158 (exit $ac_status); } && 6159 { ac_try='test -z "$ac_c_werror_flag" 6160 || test ! -s conftest.err' 6161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6162 (eval $ac_try) 2>&5 6163 ac_status=$? 6164 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6165 (exit $ac_status); }; } && 6166 { ac_try='test -s conftest.$ac_objext' 6167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6168 (eval $ac_try) 2>&5 6169 ac_status=$? 6170 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6171 (exit $ac_status); }; }; then 6172 ac_header_compiler=yes 6173 else 6174 echo "$as_me: failed program was:" >&5 6175 sed 's/^/| /' conftest.$ac_ext >&5 6176 6177 ac_header_compiler=no 6178 fi 6179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6180 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6181 echo "${ECHO_T}$ac_header_compiler" >&6 6182 6183 # Is the header present? 6184 echo "$as_me:$LINENO: checking string.h presence" >&5 6185 echo $ECHO_N "checking string.h presence... $ECHO_C" >&6 6186 cat >conftest.$ac_ext <<_ACEOF 6187 /* confdefs.h. */ 6188 _ACEOF 6189 cat confdefs.h >>conftest.$ac_ext 6190 cat >>conftest.$ac_ext <<_ACEOF 6191 /* end confdefs.h. */ 6192 #include <string.h> 6193 _ACEOF 6194 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6195 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6196 ac_status=$? 6197 grep -v '^ *+' conftest.er1 >conftest.err 6198 rm -f conftest.er1 6199 cat conftest.err >&5 6200 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3613 6201 (exit $ac_status); } >/dev/null; then 3614 6202 if test -s conftest.err; then 3615 6203 ac_cpp_err=$ac_c_preproc_warn_flag 6204 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3616 6205 else 3617 6206 ac_cpp_err= … … 3621 6210 fi 3622 6211 if test -z "$ac_cpp_err"; then 3623 ac_ cv_header_string_h=yes6212 ac_header_preproc=yes 3624 6213 else 3625 6214 echo "$as_me: failed program was:" >&5 3626 cat conftest.$ac_ext >&5 3627 ac_cv_header_string_h=no 6215 sed 's/^/| /' conftest.$ac_ext >&5 6216 6217 ac_header_preproc=no 3628 6218 fi 3629 6219 rm -f conftest.err conftest.$ac_ext 3630 fi 3631 echo "$as_me:3631: result: $ac_cv_header_string_h" >&5 6220 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6221 echo "${ECHO_T}$ac_header_preproc" >&6 6222 6223 # So? What about this header? 6224 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6225 yes:no: ) 6226 { echo "$as_me:$LINENO: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&5 6227 echo "$as_me: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6228 { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the compiler's result" >&5 6229 echo "$as_me: WARNING: string.h: proceeding with the compiler's result" >&2;} 6230 ac_header_preproc=yes 6231 ;; 6232 no:yes:* ) 6233 { echo "$as_me:$LINENO: WARNING: string.h: present but cannot be compiled" >&5 6234 echo "$as_me: WARNING: string.h: present but cannot be compiled" >&2;} 6235 { echo "$as_me:$LINENO: WARNING: string.h: check for missing prerequisite headers?" >&5 6236 echo "$as_me: WARNING: string.h: check for missing prerequisite headers?" >&2;} 6237 { echo "$as_me:$LINENO: WARNING: string.h: see the Autoconf documentation" >&5 6238 echo "$as_me: WARNING: string.h: see the Autoconf documentation" >&2;} 6239 { echo "$as_me:$LINENO: WARNING: string.h: section \"Present But Cannot Be Compiled\"" >&5 6240 echo "$as_me: WARNING: string.h: section \"Present But Cannot Be Compiled\"" >&2;} 6241 { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5 6242 echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;} 6243 { echo "$as_me:$LINENO: WARNING: string.h: in the future, the compiler will take precedence" >&5 6244 echo "$as_me: WARNING: string.h: in the future, the compiler will take precedence" >&2;} 6245 ( 6246 cat <<\_ASBOX 6247 ## ------------------------------------ ## 6248 ## Report this to the pjproject lists. ## 6249 ## ------------------------------------ ## 6250 _ASBOX 6251 ) | 6252 sed "s/^/$as_me: WARNING: /" >&2 6253 ;; 6254 esac 6255 echo "$as_me:$LINENO: checking for string.h" >&5 6256 echo $ECHO_N "checking for string.h... $ECHO_C" >&6 6257 if test "${ac_cv_header_string_h+set}" = set; then 6258 echo $ECHO_N "(cached) $ECHO_C" >&6 6259 else 6260 ac_cv_header_string_h=$ac_header_preproc 6261 fi 6262 echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 3632 6263 echo "${ECHO_T}$ac_cv_header_string_h" >&6 6264 6265 fi 3633 6266 if test $ac_cv_header_string_h = yes; then 3634 cat >>confdefs.h <<\ EOF6267 cat >>confdefs.h <<\_ACEOF 3635 6268 #define PJ_HAS_STRING_H 1 3636 EOF 3637 3638 fi 3639 3640 echo "$as_me:3640: checking for sys/ioctl.h" >&5 6269 _ACEOF 6270 6271 fi 6272 6273 6274 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 6275 echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 3641 6276 echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6 3642 6277 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 3643 6278 echo $ECHO_N "(cached) $ECHO_C" >&6 3644 else 3645 cat >conftest.$ac_ext <<_ACEOF 3646 #line 3646 "configure" 3647 #include "confdefs.h" 6279 fi 6280 echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 6281 echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6 6282 else 6283 # Is the header compilable? 6284 echo "$as_me:$LINENO: checking sys/ioctl.h usability" >&5 6285 echo $ECHO_N "checking sys/ioctl.h usability... $ECHO_C" >&6 6286 cat >conftest.$ac_ext <<_ACEOF 6287 /* confdefs.h. */ 6288 _ACEOF 6289 cat confdefs.h >>conftest.$ac_ext 6290 cat >>conftest.$ac_ext <<_ACEOF 6291 /* end confdefs.h. */ 6292 $ac_includes_default 3648 6293 #include <sys/ioctl.h> 3649 6294 _ACEOF 3650 if { (eval echo "$as_me:3650: \"$ac_cpp conftest.$ac_ext\"") >&5 3651 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3652 ac_status=$? 3653 egrep -v '^ *\+' conftest.er1 >conftest.err 6295 rm -f conftest.$ac_objext 6296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6297 (eval $ac_compile) 2>conftest.er1 6298 ac_status=$? 6299 grep -v '^ *+' conftest.er1 >conftest.err 3654 6300 rm -f conftest.er1 3655 6301 cat conftest.err >&5 3656 echo "$as_me:3656: \$? = $ac_status" >&5 6302 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6303 (exit $ac_status); } && 6304 { ac_try='test -z "$ac_c_werror_flag" 6305 || test ! -s conftest.err' 6306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6307 (eval $ac_try) 2>&5 6308 ac_status=$? 6309 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6310 (exit $ac_status); }; } && 6311 { ac_try='test -s conftest.$ac_objext' 6312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6313 (eval $ac_try) 2>&5 6314 ac_status=$? 6315 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6316 (exit $ac_status); }; }; then 6317 ac_header_compiler=yes 6318 else 6319 echo "$as_me: failed program was:" >&5 6320 sed 's/^/| /' conftest.$ac_ext >&5 6321 6322 ac_header_compiler=no 6323 fi 6324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6325 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6326 echo "${ECHO_T}$ac_header_compiler" >&6 6327 6328 # Is the header present? 6329 echo "$as_me:$LINENO: checking sys/ioctl.h presence" >&5 6330 echo $ECHO_N "checking sys/ioctl.h presence... $ECHO_C" >&6 6331 cat >conftest.$ac_ext <<_ACEOF 6332 /* confdefs.h. */ 6333 _ACEOF 6334 cat confdefs.h >>conftest.$ac_ext 6335 cat >>conftest.$ac_ext <<_ACEOF 6336 /* end confdefs.h. */ 6337 #include <sys/ioctl.h> 6338 _ACEOF 6339 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6340 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6341 ac_status=$? 6342 grep -v '^ *+' conftest.er1 >conftest.err 6343 rm -f conftest.er1 6344 cat conftest.err >&5 6345 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3657 6346 (exit $ac_status); } >/dev/null; then 3658 6347 if test -s conftest.err; then 3659 6348 ac_cpp_err=$ac_c_preproc_warn_flag 6349 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3660 6350 else 3661 6351 ac_cpp_err= … … 3665 6355 fi 3666 6356 if test -z "$ac_cpp_err"; then 3667 ac_ cv_header_sys_ioctl_h=yes6357 ac_header_preproc=yes 3668 6358 else 3669 6359 echo "$as_me: failed program was:" >&5 3670 cat conftest.$ac_ext >&5 3671 ac_cv_header_sys_ioctl_h=no 6360 sed 's/^/| /' conftest.$ac_ext >&5 6361 6362 ac_header_preproc=no 3672 6363 fi 3673 6364 rm -f conftest.err conftest.$ac_ext 3674 fi 3675 echo "$as_me:3675: result: $ac_cv_header_sys_ioctl_h" >&5 6365 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6366 echo "${ECHO_T}$ac_header_preproc" >&6 6367 6368 # So? What about this header? 6369 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6370 yes:no: ) 6371 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&5 6372 echo "$as_me: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6373 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&5 6374 echo "$as_me: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&2;} 6375 ac_header_preproc=yes 6376 ;; 6377 no:yes:* ) 6378 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: present but cannot be compiled" >&5 6379 echo "$as_me: WARNING: sys/ioctl.h: present but cannot be compiled" >&2;} 6380 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: check for missing prerequisite headers?" >&5 6381 echo "$as_me: WARNING: sys/ioctl.h: check for missing prerequisite headers?" >&2;} 6382 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: see the Autoconf documentation" >&5 6383 echo "$as_me: WARNING: sys/ioctl.h: see the Autoconf documentation" >&2;} 6384 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: section \"Present But Cannot Be Compiled\"" >&5 6385 echo "$as_me: WARNING: sys/ioctl.h: section \"Present But Cannot Be Compiled\"" >&2;} 6386 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&5 6387 echo "$as_me: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&2;} 6388 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&5 6389 echo "$as_me: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&2;} 6390 ( 6391 cat <<\_ASBOX 6392 ## ------------------------------------ ## 6393 ## Report this to the pjproject lists. ## 6394 ## ------------------------------------ ## 6395 _ASBOX 6396 ) | 6397 sed "s/^/$as_me: WARNING: /" >&2 6398 ;; 6399 esac 6400 echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 6401 echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6 6402 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 6403 echo $ECHO_N "(cached) $ECHO_C" >&6 6404 else 6405 ac_cv_header_sys_ioctl_h=$ac_header_preproc 6406 fi 6407 echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 3676 6408 echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6 6409 6410 fi 3677 6411 if test $ac_cv_header_sys_ioctl_h = yes; then 3678 cat >>confdefs.h <<\ EOF6412 cat >>confdefs.h <<\_ACEOF 3679 6413 #define PJ_HAS_SYS_IOCTL_H 1 3680 EOF 3681 3682 fi 3683 3684 echo "$as_me:3684: checking for sys/select.h" >&5 6414 _ACEOF 6415 6416 fi 6417 6418 6419 if test "${ac_cv_header_sys_select_h+set}" = set; then 6420 echo "$as_me:$LINENO: checking for sys/select.h" >&5 3685 6421 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6 3686 6422 if test "${ac_cv_header_sys_select_h+set}" = set; then 3687 6423 echo $ECHO_N "(cached) $ECHO_C" >&6 3688 else 3689 cat >conftest.$ac_ext <<_ACEOF 3690 #line 3690 "configure" 3691 #include "confdefs.h" 6424 fi 6425 echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 6426 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6 6427 else 6428 # Is the header compilable? 6429 echo "$as_me:$LINENO: checking sys/select.h usability" >&5 6430 echo $ECHO_N "checking sys/select.h usability... $ECHO_C" >&6 6431 cat >conftest.$ac_ext <<_ACEOF 6432 /* confdefs.h. */ 6433 _ACEOF 6434 cat confdefs.h >>conftest.$ac_ext 6435 cat >>conftest.$ac_ext <<_ACEOF 6436 /* end confdefs.h. */ 6437 $ac_includes_default 3692 6438 #include <sys/select.h> 3693 6439 _ACEOF 3694 if { (eval echo "$as_me:3694: \"$ac_cpp conftest.$ac_ext\"") >&5 3695 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3696 ac_status=$? 3697 egrep -v '^ *\+' conftest.er1 >conftest.err 6440 rm -f conftest.$ac_objext 6441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6442 (eval $ac_compile) 2>conftest.er1 6443 ac_status=$? 6444 grep -v '^ *+' conftest.er1 >conftest.err 3698 6445 rm -f conftest.er1 3699 6446 cat conftest.err >&5 3700 echo "$as_me:3700: \$? = $ac_status" >&5 6447 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6448 (exit $ac_status); } && 6449 { ac_try='test -z "$ac_c_werror_flag" 6450 || test ! -s conftest.err' 6451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6452 (eval $ac_try) 2>&5 6453 ac_status=$? 6454 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6455 (exit $ac_status); }; } && 6456 { ac_try='test -s conftest.$ac_objext' 6457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6458 (eval $ac_try) 2>&5 6459 ac_status=$? 6460 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6461 (exit $ac_status); }; }; then 6462 ac_header_compiler=yes 6463 else 6464 echo "$as_me: failed program was:" >&5 6465 sed 's/^/| /' conftest.$ac_ext >&5 6466 6467 ac_header_compiler=no 6468 fi 6469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6470 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6471 echo "${ECHO_T}$ac_header_compiler" >&6 6472 6473 # Is the header present? 6474 echo "$as_me:$LINENO: checking sys/select.h presence" >&5 6475 echo $ECHO_N "checking sys/select.h presence... $ECHO_C" >&6 6476 cat >conftest.$ac_ext <<_ACEOF 6477 /* confdefs.h. */ 6478 _ACEOF 6479 cat confdefs.h >>conftest.$ac_ext 6480 cat >>conftest.$ac_ext <<_ACEOF 6481 /* end confdefs.h. */ 6482 #include <sys/select.h> 6483 _ACEOF 6484 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6485 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6486 ac_status=$? 6487 grep -v '^ *+' conftest.er1 >conftest.err 6488 rm -f conftest.er1 6489 cat conftest.err >&5 6490 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3701 6491 (exit $ac_status); } >/dev/null; then 3702 6492 if test -s conftest.err; then 3703 6493 ac_cpp_err=$ac_c_preproc_warn_flag 6494 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3704 6495 else 3705 6496 ac_cpp_err= … … 3709 6500 fi 3710 6501 if test -z "$ac_cpp_err"; then 3711 ac_ cv_header_sys_select_h=yes6502 ac_header_preproc=yes 3712 6503 else 3713 6504 echo "$as_me: failed program was:" >&5 3714 cat conftest.$ac_ext >&5 3715 ac_cv_header_sys_select_h=no 6505 sed 's/^/| /' conftest.$ac_ext >&5 6506 6507 ac_header_preproc=no 3716 6508 fi 3717 6509 rm -f conftest.err conftest.$ac_ext 3718 fi 3719 echo "$as_me:3719: result: $ac_cv_header_sys_select_h" >&5 6510 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6511 echo "${ECHO_T}$ac_header_preproc" >&6 6512 6513 # So? What about this header? 6514 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6515 yes:no: ) 6516 { echo "$as_me:$LINENO: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&5 6517 echo "$as_me: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6518 { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the compiler's result" >&5 6519 echo "$as_me: WARNING: sys/select.h: proceeding with the compiler's result" >&2;} 6520 ac_header_preproc=yes 6521 ;; 6522 no:yes:* ) 6523 { echo "$as_me:$LINENO: WARNING: sys/select.h: present but cannot be compiled" >&5 6524 echo "$as_me: WARNING: sys/select.h: present but cannot be compiled" >&2;} 6525 { echo "$as_me:$LINENO: WARNING: sys/select.h: check for missing prerequisite headers?" >&5 6526 echo "$as_me: WARNING: sys/select.h: check for missing prerequisite headers?" >&2;} 6527 { echo "$as_me:$LINENO: WARNING: sys/select.h: see the Autoconf documentation" >&5 6528 echo "$as_me: WARNING: sys/select.h: see the Autoconf documentation" >&2;} 6529 { echo "$as_me:$LINENO: WARNING: sys/select.h: section \"Present But Cannot Be Compiled\"" >&5 6530 echo "$as_me: WARNING: sys/select.h: section \"Present But Cannot Be Compiled\"" >&2;} 6531 { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the preprocessor's result" >&5 6532 echo "$as_me: WARNING: sys/select.h: proceeding with the preprocessor's result" >&2;} 6533 { echo "$as_me:$LINENO: WARNING: sys/select.h: in the future, the compiler will take precedence" >&5 6534 echo "$as_me: WARNING: sys/select.h: in the future, the compiler will take precedence" >&2;} 6535 ( 6536 cat <<\_ASBOX 6537 ## ------------------------------------ ## 6538 ## Report this to the pjproject lists. ## 6539 ## ------------------------------------ ## 6540 _ASBOX 6541 ) | 6542 sed "s/^/$as_me: WARNING: /" >&2 6543 ;; 6544 esac 6545 echo "$as_me:$LINENO: checking for sys/select.h" >&5 6546 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6 6547 if test "${ac_cv_header_sys_select_h+set}" = set; then 6548 echo $ECHO_N "(cached) $ECHO_C" >&6 6549 else 6550 ac_cv_header_sys_select_h=$ac_header_preproc 6551 fi 6552 echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 3720 6553 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6 6554 6555 fi 3721 6556 if test $ac_cv_header_sys_select_h = yes; then 3722 cat >>confdefs.h <<\ EOF6557 cat >>confdefs.h <<\_ACEOF 3723 6558 #define PJ_HAS_SYS_SELECT_H 1 3724 EOF 3725 3726 fi 3727 3728 echo "$as_me:3728: checking for sys/socket.h" >&5 6559 _ACEOF 6560 6561 fi 6562 6563 6564 if test "${ac_cv_header_sys_socket_h+set}" = set; then 6565 echo "$as_me:$LINENO: checking for sys/socket.h" >&5 3729 6566 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6 3730 6567 if test "${ac_cv_header_sys_socket_h+set}" = set; then 3731 6568 echo $ECHO_N "(cached) $ECHO_C" >&6 3732 else 3733 cat >conftest.$ac_ext <<_ACEOF 3734 #line 3734 "configure" 3735 #include "confdefs.h" 6569 fi 6570 echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 6571 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6 6572 else 6573 # Is the header compilable? 6574 echo "$as_me:$LINENO: checking sys/socket.h usability" >&5 6575 echo $ECHO_N "checking sys/socket.h usability... $ECHO_C" >&6 6576 cat >conftest.$ac_ext <<_ACEOF 6577 /* confdefs.h. */ 6578 _ACEOF 6579 cat confdefs.h >>conftest.$ac_ext 6580 cat >>conftest.$ac_ext <<_ACEOF 6581 /* end confdefs.h. */ 6582 $ac_includes_default 3736 6583 #include <sys/socket.h> 3737 6584 _ACEOF 3738 if { (eval echo "$as_me:3738: \"$ac_cpp conftest.$ac_ext\"") >&5 3739 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3740 ac_status=$? 3741 egrep -v '^ *\+' conftest.er1 >conftest.err 6585 rm -f conftest.$ac_objext 6586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6587 (eval $ac_compile) 2>conftest.er1 6588 ac_status=$? 6589 grep -v '^ *+' conftest.er1 >conftest.err 3742 6590 rm -f conftest.er1 3743 6591 cat conftest.err >&5 3744 echo "$as_me:3744: \$? = $ac_status" >&5 6592 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6593 (exit $ac_status); } && 6594 { ac_try='test -z "$ac_c_werror_flag" 6595 || test ! -s conftest.err' 6596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6597 (eval $ac_try) 2>&5 6598 ac_status=$? 6599 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6600 (exit $ac_status); }; } && 6601 { ac_try='test -s conftest.$ac_objext' 6602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6603 (eval $ac_try) 2>&5 6604 ac_status=$? 6605 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6606 (exit $ac_status); }; }; then 6607 ac_header_compiler=yes 6608 else 6609 echo "$as_me: failed program was:" >&5 6610 sed 's/^/| /' conftest.$ac_ext >&5 6611 6612 ac_header_compiler=no 6613 fi 6614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6615 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6616 echo "${ECHO_T}$ac_header_compiler" >&6 6617 6618 # Is the header present? 6619 echo "$as_me:$LINENO: checking sys/socket.h presence" >&5 6620 echo $ECHO_N "checking sys/socket.h presence... $ECHO_C" >&6 6621 cat >conftest.$ac_ext <<_ACEOF 6622 /* confdefs.h. */ 6623 _ACEOF 6624 cat confdefs.h >>conftest.$ac_ext 6625 cat >>conftest.$ac_ext <<_ACEOF 6626 /* end confdefs.h. */ 6627 #include <sys/socket.h> 6628 _ACEOF 6629 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6630 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6631 ac_status=$? 6632 grep -v '^ *+' conftest.er1 >conftest.err 6633 rm -f conftest.er1 6634 cat conftest.err >&5 6635 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3745 6636 (exit $ac_status); } >/dev/null; then 3746 6637 if test -s conftest.err; then 3747 6638 ac_cpp_err=$ac_c_preproc_warn_flag 6639 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3748 6640 else 3749 6641 ac_cpp_err= … … 3753 6645 fi 3754 6646 if test -z "$ac_cpp_err"; then 3755 ac_ cv_header_sys_socket_h=yes6647 ac_header_preproc=yes 3756 6648 else 3757 6649 echo "$as_me: failed program was:" >&5 3758 cat conftest.$ac_ext >&5 3759 ac_cv_header_sys_socket_h=no 6650 sed 's/^/| /' conftest.$ac_ext >&5 6651 6652 ac_header_preproc=no 3760 6653 fi 3761 6654 rm -f conftest.err conftest.$ac_ext 3762 fi 3763 echo "$as_me:3763: result: $ac_cv_header_sys_socket_h" >&5 6655 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6656 echo "${ECHO_T}$ac_header_preproc" >&6 6657 6658 # So? What about this header? 6659 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6660 yes:no: ) 6661 { echo "$as_me:$LINENO: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 6662 echo "$as_me: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6663 { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the compiler's result" >&5 6664 echo "$as_me: WARNING: sys/socket.h: proceeding with the compiler's result" >&2;} 6665 ac_header_preproc=yes 6666 ;; 6667 no:yes:* ) 6668 { echo "$as_me:$LINENO: WARNING: sys/socket.h: present but cannot be compiled" >&5 6669 echo "$as_me: WARNING: sys/socket.h: present but cannot be compiled" >&2;} 6670 { echo "$as_me:$LINENO: WARNING: sys/socket.h: check for missing prerequisite headers?" >&5 6671 echo "$as_me: WARNING: sys/socket.h: check for missing prerequisite headers?" >&2;} 6672 { echo "$as_me:$LINENO: WARNING: sys/socket.h: see the Autoconf documentation" >&5 6673 echo "$as_me: WARNING: sys/socket.h: see the Autoconf documentation" >&2;} 6674 { echo "$as_me:$LINENO: WARNING: sys/socket.h: section \"Present But Cannot Be Compiled\"" >&5 6675 echo "$as_me: WARNING: sys/socket.h: section \"Present But Cannot Be Compiled\"" >&2;} 6676 { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&5 6677 echo "$as_me: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&2;} 6678 { echo "$as_me:$LINENO: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&5 6679 echo "$as_me: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&2;} 6680 ( 6681 cat <<\_ASBOX 6682 ## ------------------------------------ ## 6683 ## Report this to the pjproject lists. ## 6684 ## ------------------------------------ ## 6685 _ASBOX 6686 ) | 6687 sed "s/^/$as_me: WARNING: /" >&2 6688 ;; 6689 esac 6690 echo "$as_me:$LINENO: checking for sys/socket.h" >&5 6691 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6 6692 if test "${ac_cv_header_sys_socket_h+set}" = set; then 6693 echo $ECHO_N "(cached) $ECHO_C" >&6 6694 else 6695 ac_cv_header_sys_socket_h=$ac_header_preproc 6696 fi 6697 echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 3764 6698 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6 6699 6700 fi 3765 6701 if test $ac_cv_header_sys_socket_h = yes; then 3766 cat >>confdefs.h <<\ EOF6702 cat >>confdefs.h <<\_ACEOF 3767 6703 #define PJ_HAS_SYS_SOCKET_H 1 3768 EOF 3769 3770 fi 3771 3772 echo "$as_me:3772: checking for sys/time.h" >&5 6704 _ACEOF 6705 6706 fi 6707 6708 6709 if test "${ac_cv_header_sys_time_h+set}" = set; then 6710 echo "$as_me:$LINENO: checking for sys/time.h" >&5 3773 6711 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6 3774 6712 if test "${ac_cv_header_sys_time_h+set}" = set; then 3775 6713 echo $ECHO_N "(cached) $ECHO_C" >&6 3776 else 3777 cat >conftest.$ac_ext <<_ACEOF 3778 #line 3778 "configure" 3779 #include "confdefs.h" 6714 fi 6715 echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 6716 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6 6717 else 6718 # Is the header compilable? 6719 echo "$as_me:$LINENO: checking sys/time.h usability" >&5 6720 echo $ECHO_N "checking sys/time.h usability... $ECHO_C" >&6 6721 cat >conftest.$ac_ext <<_ACEOF 6722 /* confdefs.h. */ 6723 _ACEOF 6724 cat confdefs.h >>conftest.$ac_ext 6725 cat >>conftest.$ac_ext <<_ACEOF 6726 /* end confdefs.h. */ 6727 $ac_includes_default 3780 6728 #include <sys/time.h> 3781 6729 _ACEOF 3782 if { (eval echo "$as_me:3782: \"$ac_cpp conftest.$ac_ext\"") >&5 3783 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3784 ac_status=$? 3785 egrep -v '^ *\+' conftest.er1 >conftest.err 6730 rm -f conftest.$ac_objext 6731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6732 (eval $ac_compile) 2>conftest.er1 6733 ac_status=$? 6734 grep -v '^ *+' conftest.er1 >conftest.err 3786 6735 rm -f conftest.er1 3787 6736 cat conftest.err >&5 3788 echo "$as_me:3788: \$? = $ac_status" >&5 6737 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6738 (exit $ac_status); } && 6739 { ac_try='test -z "$ac_c_werror_flag" 6740 || test ! -s conftest.err' 6741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6742 (eval $ac_try) 2>&5 6743 ac_status=$? 6744 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6745 (exit $ac_status); }; } && 6746 { ac_try='test -s conftest.$ac_objext' 6747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6748 (eval $ac_try) 2>&5 6749 ac_status=$? 6750 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6751 (exit $ac_status); }; }; then 6752 ac_header_compiler=yes 6753 else 6754 echo "$as_me: failed program was:" >&5 6755 sed 's/^/| /' conftest.$ac_ext >&5 6756 6757 ac_header_compiler=no 6758 fi 6759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6760 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6761 echo "${ECHO_T}$ac_header_compiler" >&6 6762 6763 # Is the header present? 6764 echo "$as_me:$LINENO: checking sys/time.h presence" >&5 6765 echo $ECHO_N "checking sys/time.h presence... $ECHO_C" >&6 6766 cat >conftest.$ac_ext <<_ACEOF 6767 /* confdefs.h. */ 6768 _ACEOF 6769 cat confdefs.h >>conftest.$ac_ext 6770 cat >>conftest.$ac_ext <<_ACEOF 6771 /* end confdefs.h. */ 6772 #include <sys/time.h> 6773 _ACEOF 6774 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6775 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6776 ac_status=$? 6777 grep -v '^ *+' conftest.er1 >conftest.err 6778 rm -f conftest.er1 6779 cat conftest.err >&5 6780 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3789 6781 (exit $ac_status); } >/dev/null; then 3790 6782 if test -s conftest.err; then 3791 6783 ac_cpp_err=$ac_c_preproc_warn_flag 6784 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3792 6785 else 3793 6786 ac_cpp_err= … … 3797 6790 fi 3798 6791 if test -z "$ac_cpp_err"; then 3799 ac_ cv_header_sys_time_h=yes6792 ac_header_preproc=yes 3800 6793 else 3801 6794 echo "$as_me: failed program was:" >&5 3802 cat conftest.$ac_ext >&5 3803 ac_cv_header_sys_time_h=no 6795 sed 's/^/| /' conftest.$ac_ext >&5 6796 6797 ac_header_preproc=no 3804 6798 fi 3805 6799 rm -f conftest.err conftest.$ac_ext 3806 fi 3807 echo "$as_me:3807: result: $ac_cv_header_sys_time_h" >&5 6800 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6801 echo "${ECHO_T}$ac_header_preproc" >&6 6802 6803 # So? What about this header? 6804 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6805 yes:no: ) 6806 { echo "$as_me:$LINENO: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&5 6807 echo "$as_me: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6808 { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the compiler's result" >&5 6809 echo "$as_me: WARNING: sys/time.h: proceeding with the compiler's result" >&2;} 6810 ac_header_preproc=yes 6811 ;; 6812 no:yes:* ) 6813 { echo "$as_me:$LINENO: WARNING: sys/time.h: present but cannot be compiled" >&5 6814 echo "$as_me: WARNING: sys/time.h: present but cannot be compiled" >&2;} 6815 { echo "$as_me:$LINENO: WARNING: sys/time.h: check for missing prerequisite headers?" >&5 6816 echo "$as_me: WARNING: sys/time.h: check for missing prerequisite headers?" >&2;} 6817 { echo "$as_me:$LINENO: WARNING: sys/time.h: see the Autoconf documentation" >&5 6818 echo "$as_me: WARNING: sys/time.h: see the Autoconf documentation" >&2;} 6819 { echo "$as_me:$LINENO: WARNING: sys/time.h: section \"Present But Cannot Be Compiled\"" >&5 6820 echo "$as_me: WARNING: sys/time.h: section \"Present But Cannot Be Compiled\"" >&2;} 6821 { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the preprocessor's result" >&5 6822 echo "$as_me: WARNING: sys/time.h: proceeding with the preprocessor's result" >&2;} 6823 { echo "$as_me:$LINENO: WARNING: sys/time.h: in the future, the compiler will take precedence" >&5 6824 echo "$as_me: WARNING: sys/time.h: in the future, the compiler will take precedence" >&2;} 6825 ( 6826 cat <<\_ASBOX 6827 ## ------------------------------------ ## 6828 ## Report this to the pjproject lists. ## 6829 ## ------------------------------------ ## 6830 _ASBOX 6831 ) | 6832 sed "s/^/$as_me: WARNING: /" >&2 6833 ;; 6834 esac 6835 echo "$as_me:$LINENO: checking for sys/time.h" >&5 6836 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6 6837 if test "${ac_cv_header_sys_time_h+set}" = set; then 6838 echo $ECHO_N "(cached) $ECHO_C" >&6 6839 else 6840 ac_cv_header_sys_time_h=$ac_header_preproc 6841 fi 6842 echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 3808 6843 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6 6844 6845 fi 3809 6846 if test $ac_cv_header_sys_time_h = yes; then 3810 cat >>confdefs.h <<\ EOF6847 cat >>confdefs.h <<\_ACEOF 3811 6848 #define PJ_HAS_SYS_TIME_H 1 3812 EOF 3813 3814 fi 3815 3816 echo "$as_me:3816: checking for sys/timeb.h" >&5 6849 _ACEOF 6850 6851 fi 6852 6853 6854 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 6855 echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 3817 6856 echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6 3818 6857 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 3819 6858 echo $ECHO_N "(cached) $ECHO_C" >&6 3820 else 3821 cat >conftest.$ac_ext <<_ACEOF 3822 #line 3822 "configure" 3823 #include "confdefs.h" 6859 fi 6860 echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 6861 echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6 6862 else 6863 # Is the header compilable? 6864 echo "$as_me:$LINENO: checking sys/timeb.h usability" >&5 6865 echo $ECHO_N "checking sys/timeb.h usability... $ECHO_C" >&6 6866 cat >conftest.$ac_ext <<_ACEOF 6867 /* confdefs.h. */ 6868 _ACEOF 6869 cat confdefs.h >>conftest.$ac_ext 6870 cat >>conftest.$ac_ext <<_ACEOF 6871 /* end confdefs.h. */ 6872 $ac_includes_default 3824 6873 #include <sys/timeb.h> 3825 6874 _ACEOF 3826 if { (eval echo "$as_me:3826: \"$ac_cpp conftest.$ac_ext\"") >&5 3827 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3828 ac_status=$? 3829 egrep -v '^ *\+' conftest.er1 >conftest.err 6875 rm -f conftest.$ac_objext 6876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6877 (eval $ac_compile) 2>conftest.er1 6878 ac_status=$? 6879 grep -v '^ *+' conftest.er1 >conftest.err 3830 6880 rm -f conftest.er1 3831 6881 cat conftest.err >&5 3832 echo "$as_me:3832: \$? = $ac_status" >&5 6882 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6883 (exit $ac_status); } && 6884 { ac_try='test -z "$ac_c_werror_flag" 6885 || test ! -s conftest.err' 6886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6887 (eval $ac_try) 2>&5 6888 ac_status=$? 6889 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6890 (exit $ac_status); }; } && 6891 { ac_try='test -s conftest.$ac_objext' 6892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6893 (eval $ac_try) 2>&5 6894 ac_status=$? 6895 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6896 (exit $ac_status); }; }; then 6897 ac_header_compiler=yes 6898 else 6899 echo "$as_me: failed program was:" >&5 6900 sed 's/^/| /' conftest.$ac_ext >&5 6901 6902 ac_header_compiler=no 6903 fi 6904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6905 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6906 echo "${ECHO_T}$ac_header_compiler" >&6 6907 6908 # Is the header present? 6909 echo "$as_me:$LINENO: checking sys/timeb.h presence" >&5 6910 echo $ECHO_N "checking sys/timeb.h presence... $ECHO_C" >&6 6911 cat >conftest.$ac_ext <<_ACEOF 6912 /* confdefs.h. */ 6913 _ACEOF 6914 cat confdefs.h >>conftest.$ac_ext 6915 cat >>conftest.$ac_ext <<_ACEOF 6916 /* end confdefs.h. */ 6917 #include <sys/timeb.h> 6918 _ACEOF 6919 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6920 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6921 ac_status=$? 6922 grep -v '^ *+' conftest.er1 >conftest.err 6923 rm -f conftest.er1 6924 cat conftest.err >&5 6925 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3833 6926 (exit $ac_status); } >/dev/null; then 3834 6927 if test -s conftest.err; then 3835 6928 ac_cpp_err=$ac_c_preproc_warn_flag 6929 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3836 6930 else 3837 6931 ac_cpp_err= … … 3841 6935 fi 3842 6936 if test -z "$ac_cpp_err"; then 3843 ac_ cv_header_sys_timeb_h=yes6937 ac_header_preproc=yes 3844 6938 else 3845 6939 echo "$as_me: failed program was:" >&5 3846 cat conftest.$ac_ext >&5 3847 ac_cv_header_sys_timeb_h=no 6940 sed 's/^/| /' conftest.$ac_ext >&5 6941 6942 ac_header_preproc=no 3848 6943 fi 3849 6944 rm -f conftest.err conftest.$ac_ext 3850 fi 3851 echo "$as_me:3851: result: $ac_cv_header_sys_timeb_h" >&5 6945 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6946 echo "${ECHO_T}$ac_header_preproc" >&6 6947 6948 # So? What about this header? 6949 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6950 yes:no: ) 6951 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&5 6952 echo "$as_me: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6953 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the compiler's result" >&5 6954 echo "$as_me: WARNING: sys/timeb.h: proceeding with the compiler's result" >&2;} 6955 ac_header_preproc=yes 6956 ;; 6957 no:yes:* ) 6958 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: present but cannot be compiled" >&5 6959 echo "$as_me: WARNING: sys/timeb.h: present but cannot be compiled" >&2;} 6960 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: check for missing prerequisite headers?" >&5 6961 echo "$as_me: WARNING: sys/timeb.h: check for missing prerequisite headers?" >&2;} 6962 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: see the Autoconf documentation" >&5 6963 echo "$as_me: WARNING: sys/timeb.h: see the Autoconf documentation" >&2;} 6964 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: section \"Present But Cannot Be Compiled\"" >&5 6965 echo "$as_me: WARNING: sys/timeb.h: section \"Present But Cannot Be Compiled\"" >&2;} 6966 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&5 6967 echo "$as_me: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&2;} 6968 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&5 6969 echo "$as_me: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&2;} 6970 ( 6971 cat <<\_ASBOX 6972 ## ------------------------------------ ## 6973 ## Report this to the pjproject lists. ## 6974 ## ------------------------------------ ## 6975 _ASBOX 6976 ) | 6977 sed "s/^/$as_me: WARNING: /" >&2 6978 ;; 6979 esac 6980 echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 6981 echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6 6982 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 6983 echo $ECHO_N "(cached) $ECHO_C" >&6 6984 else 6985 ac_cv_header_sys_timeb_h=$ac_header_preproc 6986 fi 6987 echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 3852 6988 echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6 6989 6990 fi 3853 6991 if test $ac_cv_header_sys_timeb_h = yes; then 3854 cat >>confdefs.h <<\ EOF6992 cat >>confdefs.h <<\_ACEOF 3855 6993 #define PJ_HAS_SYS_TIMEB_H 1 3856 EOF 3857 3858 fi 3859 3860 echo "$as_me:3860: checking for sys/types.h" >&5 6994 _ACEOF 6995 6996 fi 6997 6998 6999 if test "${ac_cv_header_sys_types_h+set}" = set; then 7000 echo "$as_me:$LINENO: checking for sys/types.h" >&5 3861 7001 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6 3862 7002 if test "${ac_cv_header_sys_types_h+set}" = set; then 3863 7003 echo $ECHO_N "(cached) $ECHO_C" >&6 3864 else 3865 cat >conftest.$ac_ext <<_ACEOF 3866 #line 3866 "configure" 3867 #include "confdefs.h" 7004 fi 7005 echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 7006 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6 7007 else 7008 # Is the header compilable? 7009 echo "$as_me:$LINENO: checking sys/types.h usability" >&5 7010 echo $ECHO_N "checking sys/types.h usability... $ECHO_C" >&6 7011 cat >conftest.$ac_ext <<_ACEOF 7012 /* confdefs.h. */ 7013 _ACEOF 7014 cat confdefs.h >>conftest.$ac_ext 7015 cat >>conftest.$ac_ext <<_ACEOF 7016 /* end confdefs.h. */ 7017 $ac_includes_default 3868 7018 #include <sys/types.h> 3869 7019 _ACEOF 3870 if { (eval echo "$as_me:3870: \"$ac_cpp conftest.$ac_ext\"") >&5 3871 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3872 ac_status=$? 3873 egrep -v '^ *\+' conftest.er1 >conftest.err 7020 rm -f conftest.$ac_objext 7021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7022 (eval $ac_compile) 2>conftest.er1 7023 ac_status=$? 7024 grep -v '^ *+' conftest.er1 >conftest.err 3874 7025 rm -f conftest.er1 3875 7026 cat conftest.err >&5 3876 echo "$as_me:3876: \$? = $ac_status" >&5 7027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7028 (exit $ac_status); } && 7029 { ac_try='test -z "$ac_c_werror_flag" 7030 || test ! -s conftest.err' 7031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7032 (eval $ac_try) 2>&5 7033 ac_status=$? 7034 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7035 (exit $ac_status); }; } && 7036 { ac_try='test -s conftest.$ac_objext' 7037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7038 (eval $ac_try) 2>&5 7039 ac_status=$? 7040 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7041 (exit $ac_status); }; }; then 7042 ac_header_compiler=yes 7043 else 7044 echo "$as_me: failed program was:" >&5 7045 sed 's/^/| /' conftest.$ac_ext >&5 7046 7047 ac_header_compiler=no 7048 fi 7049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7050 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7051 echo "${ECHO_T}$ac_header_compiler" >&6 7052 7053 # Is the header present? 7054 echo "$as_me:$LINENO: checking sys/types.h presence" >&5 7055 echo $ECHO_N "checking sys/types.h presence... $ECHO_C" >&6 7056 cat >conftest.$ac_ext <<_ACEOF 7057 /* confdefs.h. */ 7058 _ACEOF 7059 cat confdefs.h >>conftest.$ac_ext 7060 cat >>conftest.$ac_ext <<_ACEOF 7061 /* end confdefs.h. */ 7062 #include <sys/types.h> 7063 _ACEOF 7064 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7065 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7066 ac_status=$? 7067 grep -v '^ *+' conftest.er1 >conftest.err 7068 rm -f conftest.er1 7069 cat conftest.err >&5 7070 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3877 7071 (exit $ac_status); } >/dev/null; then 3878 7072 if test -s conftest.err; then 3879 7073 ac_cpp_err=$ac_c_preproc_warn_flag 7074 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3880 7075 else 3881 7076 ac_cpp_err= … … 3885 7080 fi 3886 7081 if test -z "$ac_cpp_err"; then 3887 ac_ cv_header_sys_types_h=yes7082 ac_header_preproc=yes 3888 7083 else 3889 7084 echo "$as_me: failed program was:" >&5 3890 cat conftest.$ac_ext >&5 3891 ac_cv_header_sys_types_h=no 7085 sed 's/^/| /' conftest.$ac_ext >&5 7086 7087 ac_header_preproc=no 3892 7088 fi 3893 7089 rm -f conftest.err conftest.$ac_ext 3894 fi 3895 echo "$as_me:3895: result: $ac_cv_header_sys_types_h" >&5 7090 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7091 echo "${ECHO_T}$ac_header_preproc" >&6 7092 7093 # So? What about this header? 7094 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7095 yes:no: ) 7096 { echo "$as_me:$LINENO: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&5 7097 echo "$as_me: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7098 { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the compiler's result" >&5 7099 echo "$as_me: WARNING: sys/types.h: proceeding with the compiler's result" >&2;} 7100 ac_header_preproc=yes 7101 ;; 7102 no:yes:* ) 7103 { echo "$as_me:$LINENO: WARNING: sys/types.h: present but cannot be compiled" >&5 7104 echo "$as_me: WARNING: sys/types.h: present but cannot be compiled" >&2;} 7105 { echo "$as_me:$LINENO: WARNING: sys/types.h: check for missing prerequisite headers?" >&5 7106 echo "$as_me: WARNING: sys/types.h: check for missing prerequisite headers?" >&2;} 7107 { echo "$as_me:$LINENO: WARNING: sys/types.h: see the Autoconf documentation" >&5 7108 echo "$as_me: WARNING: sys/types.h: see the Autoconf documentation" >&2;} 7109 { echo "$as_me:$LINENO: WARNING: sys/types.h: section \"Present But Cannot Be Compiled\"" >&5 7110 echo "$as_me: WARNING: sys/types.h: section \"Present But Cannot Be Compiled\"" >&2;} 7111 { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the preprocessor's result" >&5 7112 echo "$as_me: WARNING: sys/types.h: proceeding with the preprocessor's result" >&2;} 7113 { echo "$as_me:$LINENO: WARNING: sys/types.h: in the future, the compiler will take precedence" >&5 7114 echo "$as_me: WARNING: sys/types.h: in the future, the compiler will take precedence" >&2;} 7115 ( 7116 cat <<\_ASBOX 7117 ## ------------------------------------ ## 7118 ## Report this to the pjproject lists. ## 7119 ## ------------------------------------ ## 7120 _ASBOX 7121 ) | 7122 sed "s/^/$as_me: WARNING: /" >&2 7123 ;; 7124 esac 7125 echo "$as_me:$LINENO: checking for sys/types.h" >&5 7126 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6 7127 if test "${ac_cv_header_sys_types_h+set}" = set; then 7128 echo $ECHO_N "(cached) $ECHO_C" >&6 7129 else 7130 ac_cv_header_sys_types_h=$ac_header_preproc 7131 fi 7132 echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 3896 7133 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6 7134 7135 fi 3897 7136 if test $ac_cv_header_sys_types_h = yes; then 3898 cat >>confdefs.h <<\ EOF7137 cat >>confdefs.h <<\_ACEOF 3899 7138 #define PJ_HAS_SYS_TYPES_H 1 3900 EOF 3901 3902 fi 3903 3904 echo "$as_me:3904: checking for time.h" >&5 7139 _ACEOF 7140 7141 fi 7142 7143 7144 if test "${ac_cv_header_time_h+set}" = set; then 7145 echo "$as_me:$LINENO: checking for time.h" >&5 3905 7146 echo $ECHO_N "checking for time.h... $ECHO_C" >&6 3906 7147 if test "${ac_cv_header_time_h+set}" = set; then 3907 7148 echo $ECHO_N "(cached) $ECHO_C" >&6 3908 else 3909 cat >conftest.$ac_ext <<_ACEOF 3910 #line 3910 "configure" 3911 #include "confdefs.h" 7149 fi 7150 echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 7151 echo "${ECHO_T}$ac_cv_header_time_h" >&6 7152 else 7153 # Is the header compilable? 7154 echo "$as_me:$LINENO: checking time.h usability" >&5 7155 echo $ECHO_N "checking time.h usability... $ECHO_C" >&6 7156 cat >conftest.$ac_ext <<_ACEOF 7157 /* confdefs.h. */ 7158 _ACEOF 7159 cat confdefs.h >>conftest.$ac_ext 7160 cat >>conftest.$ac_ext <<_ACEOF 7161 /* end confdefs.h. */ 7162 $ac_includes_default 3912 7163 #include <time.h> 3913 7164 _ACEOF 3914 if { (eval echo "$as_me:3914: \"$ac_cpp conftest.$ac_ext\"") >&5 3915 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3916 ac_status=$? 3917 egrep -v '^ *\+' conftest.er1 >conftest.err 7165 rm -f conftest.$ac_objext 7166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7167 (eval $ac_compile) 2>conftest.er1 7168 ac_status=$? 7169 grep -v '^ *+' conftest.er1 >conftest.err 3918 7170 rm -f conftest.er1 3919 7171 cat conftest.err >&5 3920 echo "$as_me:3920: \$? = $ac_status" >&5 7172 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7173 (exit $ac_status); } && 7174 { ac_try='test -z "$ac_c_werror_flag" 7175 || test ! -s conftest.err' 7176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7177 (eval $ac_try) 2>&5 7178 ac_status=$? 7179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7180 (exit $ac_status); }; } && 7181 { ac_try='test -s conftest.$ac_objext' 7182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7183 (eval $ac_try) 2>&5 7184 ac_status=$? 7185 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7186 (exit $ac_status); }; }; then 7187 ac_header_compiler=yes 7188 else 7189 echo "$as_me: failed program was:" >&5 7190 sed 's/^/| /' conftest.$ac_ext >&5 7191 7192 ac_header_compiler=no 7193 fi 7194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7195 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7196 echo "${ECHO_T}$ac_header_compiler" >&6 7197 7198 # Is the header present? 7199 echo "$as_me:$LINENO: checking time.h presence" >&5 7200 echo $ECHO_N "checking time.h presence... $ECHO_C" >&6 7201 cat >conftest.$ac_ext <<_ACEOF 7202 /* confdefs.h. */ 7203 _ACEOF 7204 cat confdefs.h >>conftest.$ac_ext 7205 cat >>conftest.$ac_ext <<_ACEOF 7206 /* end confdefs.h. */ 7207 #include <time.h> 7208 _ACEOF 7209 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7210 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7211 ac_status=$? 7212 grep -v '^ *+' conftest.er1 >conftest.err 7213 rm -f conftest.er1 7214 cat conftest.err >&5 7215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3921 7216 (exit $ac_status); } >/dev/null; then 3922 7217 if test -s conftest.err; then 3923 7218 ac_cpp_err=$ac_c_preproc_warn_flag 7219 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3924 7220 else 3925 7221 ac_cpp_err= … … 3929 7225 fi 3930 7226 if test -z "$ac_cpp_err"; then 3931 ac_ cv_header_time_h=yes7227 ac_header_preproc=yes 3932 7228 else 3933 7229 echo "$as_me: failed program was:" >&5 3934 cat conftest.$ac_ext >&5 3935 ac_cv_header_time_h=no 7230 sed 's/^/| /' conftest.$ac_ext >&5 7231 7232 ac_header_preproc=no 3936 7233 fi 3937 7234 rm -f conftest.err conftest.$ac_ext 3938 fi 3939 echo "$as_me:3939: result: $ac_cv_header_time_h" >&5 7235 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7236 echo "${ECHO_T}$ac_header_preproc" >&6 7237 7238 # So? What about this header? 7239 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7240 yes:no: ) 7241 { echo "$as_me:$LINENO: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&5 7242 echo "$as_me: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7243 { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the compiler's result" >&5 7244 echo "$as_me: WARNING: time.h: proceeding with the compiler's result" >&2;} 7245 ac_header_preproc=yes 7246 ;; 7247 no:yes:* ) 7248 { echo "$as_me:$LINENO: WARNING: time.h: present but cannot be compiled" >&5 7249 echo "$as_me: WARNING: time.h: present but cannot be compiled" >&2;} 7250 { echo "$as_me:$LINENO: WARNING: time.h: check for missing prerequisite headers?" >&5 7251 echo "$as_me: WARNING: time.h: check for missing prerequisite headers?" >&2;} 7252 { echo "$as_me:$LINENO: WARNING: time.h: see the Autoconf documentation" >&5 7253 echo "$as_me: WARNING: time.h: see the Autoconf documentation" >&2;} 7254 { echo "$as_me:$LINENO: WARNING: time.h: section \"Present But Cannot Be Compiled\"" >&5 7255 echo "$as_me: WARNING: time.h: section \"Present But Cannot Be Compiled\"" >&2;} 7256 { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the preprocessor's result" >&5 7257 echo "$as_me: WARNING: time.h: proceeding with the preprocessor's result" >&2;} 7258 { echo "$as_me:$LINENO: WARNING: time.h: in the future, the compiler will take precedence" >&5 7259 echo "$as_me: WARNING: time.h: in the future, the compiler will take precedence" >&2;} 7260 ( 7261 cat <<\_ASBOX 7262 ## ------------------------------------ ## 7263 ## Report this to the pjproject lists. ## 7264 ## ------------------------------------ ## 7265 _ASBOX 7266 ) | 7267 sed "s/^/$as_me: WARNING: /" >&2 7268 ;; 7269 esac 7270 echo "$as_me:$LINENO: checking for time.h" >&5 7271 echo $ECHO_N "checking for time.h... $ECHO_C" >&6 7272 if test "${ac_cv_header_time_h+set}" = set; then 7273 echo $ECHO_N "(cached) $ECHO_C" >&6 7274 else 7275 ac_cv_header_time_h=$ac_header_preproc 7276 fi 7277 echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 3940 7278 echo "${ECHO_T}$ac_cv_header_time_h" >&6 7279 7280 fi 3941 7281 if test $ac_cv_header_time_h = yes; then 3942 cat >>confdefs.h <<\ EOF7282 cat >>confdefs.h <<\_ACEOF 3943 7283 #define PJ_HAS_TIME_H 1 3944 EOF 3945 3946 fi 3947 3948 echo "$as_me:3948: checking for unistd.h" >&5 7284 _ACEOF 7285 7286 fi 7287 7288 7289 if test "${ac_cv_header_unistd_h+set}" = set; then 7290 echo "$as_me:$LINENO: checking for unistd.h" >&5 3949 7291 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6 3950 7292 if test "${ac_cv_header_unistd_h+set}" = set; then 3951 7293 echo $ECHO_N "(cached) $ECHO_C" >&6 3952 else 3953 cat >conftest.$ac_ext <<_ACEOF 3954 #line 3954 "configure" 3955 #include "confdefs.h" 7294 fi 7295 echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 7296 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6 7297 else 7298 # Is the header compilable? 7299 echo "$as_me:$LINENO: checking unistd.h usability" >&5 7300 echo $ECHO_N "checking unistd.h usability... $ECHO_C" >&6 7301 cat >conftest.$ac_ext <<_ACEOF 7302 /* confdefs.h. */ 7303 _ACEOF 7304 cat confdefs.h >>conftest.$ac_ext 7305 cat >>conftest.$ac_ext <<_ACEOF 7306 /* end confdefs.h. */ 7307 $ac_includes_default 3956 7308 #include <unistd.h> 3957 7309 _ACEOF 3958 if { (eval echo "$as_me:3958: \"$ac_cpp conftest.$ac_ext\"") >&5 3959 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3960 ac_status=$? 3961 egrep -v '^ *\+' conftest.er1 >conftest.err 7310 rm -f conftest.$ac_objext 7311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7312 (eval $ac_compile) 2>conftest.er1 7313 ac_status=$? 7314 grep -v '^ *+' conftest.er1 >conftest.err 3962 7315 rm -f conftest.er1 3963 7316 cat conftest.err >&5 3964 echo "$as_me:3964: \$? = $ac_status" >&5 7317 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7318 (exit $ac_status); } && 7319 { ac_try='test -z "$ac_c_werror_flag" 7320 || test ! -s conftest.err' 7321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7322 (eval $ac_try) 2>&5 7323 ac_status=$? 7324 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7325 (exit $ac_status); }; } && 7326 { ac_try='test -s conftest.$ac_objext' 7327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7328 (eval $ac_try) 2>&5 7329 ac_status=$? 7330 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7331 (exit $ac_status); }; }; then 7332 ac_header_compiler=yes 7333 else 7334 echo "$as_me: failed program was:" >&5 7335 sed 's/^/| /' conftest.$ac_ext >&5 7336 7337 ac_header_compiler=no 7338 fi 7339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7340 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7341 echo "${ECHO_T}$ac_header_compiler" >&6 7342 7343 # Is the header present? 7344 echo "$as_me:$LINENO: checking unistd.h presence" >&5 7345 echo $ECHO_N "checking unistd.h presence... $ECHO_C" >&6 7346 cat >conftest.$ac_ext <<_ACEOF 7347 /* confdefs.h. */ 7348 _ACEOF 7349 cat confdefs.h >>conftest.$ac_ext 7350 cat >>conftest.$ac_ext <<_ACEOF 7351 /* end confdefs.h. */ 7352 #include <unistd.h> 7353 _ACEOF 7354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7355 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7356 ac_status=$? 7357 grep -v '^ *+' conftest.er1 >conftest.err 7358 rm -f conftest.er1 7359 cat conftest.err >&5 7360 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3965 7361 (exit $ac_status); } >/dev/null; then 3966 7362 if test -s conftest.err; then 3967 7363 ac_cpp_err=$ac_c_preproc_warn_flag 7364 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3968 7365 else 3969 7366 ac_cpp_err= … … 3973 7370 fi 3974 7371 if test -z "$ac_cpp_err"; then 3975 ac_ cv_header_unistd_h=yes7372 ac_header_preproc=yes 3976 7373 else 3977 7374 echo "$as_me: failed program was:" >&5 3978 cat conftest.$ac_ext >&5 3979 ac_cv_header_unistd_h=no 7375 sed 's/^/| /' conftest.$ac_ext >&5 7376 7377 ac_header_preproc=no 3980 7378 fi 3981 7379 rm -f conftest.err conftest.$ac_ext 3982 fi 3983 echo "$as_me:3983: result: $ac_cv_header_unistd_h" >&5 7380 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7381 echo "${ECHO_T}$ac_header_preproc" >&6 7382 7383 # So? What about this header? 7384 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7385 yes:no: ) 7386 { echo "$as_me:$LINENO: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&5 7387 echo "$as_me: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7388 { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the compiler's result" >&5 7389 echo "$as_me: WARNING: unistd.h: proceeding with the compiler's result" >&2;} 7390 ac_header_preproc=yes 7391 ;; 7392 no:yes:* ) 7393 { echo "$as_me:$LINENO: WARNING: unistd.h: present but cannot be compiled" >&5 7394 echo "$as_me: WARNING: unistd.h: present but cannot be compiled" >&2;} 7395 { echo "$as_me:$LINENO: WARNING: unistd.h: check for missing prerequisite headers?" >&5 7396 echo "$as_me: WARNING: unistd.h: check for missing prerequisite headers?" >&2;} 7397 { echo "$as_me:$LINENO: WARNING: unistd.h: see the Autoconf documentation" >&5 7398 echo "$as_me: WARNING: unistd.h: see the Autoconf documentation" >&2;} 7399 { echo "$as_me:$LINENO: WARNING: unistd.h: section \"Present But Cannot Be Compiled\"" >&5 7400 echo "$as_me: WARNING: unistd.h: section \"Present But Cannot Be Compiled\"" >&2;} 7401 { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5 7402 echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;} 7403 { echo "$as_me:$LINENO: WARNING: unistd.h: in the future, the compiler will take precedence" >&5 7404 echo "$as_me: WARNING: unistd.h: in the future, the compiler will take precedence" >&2;} 7405 ( 7406 cat <<\_ASBOX 7407 ## ------------------------------------ ## 7408 ## Report this to the pjproject lists. ## 7409 ## ------------------------------------ ## 7410 _ASBOX 7411 ) | 7412 sed "s/^/$as_me: WARNING: /" >&2 7413 ;; 7414 esac 7415 echo "$as_me:$LINENO: checking for unistd.h" >&5 7416 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6 7417 if test "${ac_cv_header_unistd_h+set}" = set; then 7418 echo $ECHO_N "(cached) $ECHO_C" >&6 7419 else 7420 ac_cv_header_unistd_h=$ac_header_preproc 7421 fi 7422 echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 3984 7423 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6 7424 7425 fi 3985 7426 if test $ac_cv_header_unistd_h = yes; then 3986 cat >>confdefs.h <<\ EOF7427 cat >>confdefs.h <<\_ACEOF 3987 7428 #define PJ_HAS_UNISTD_H 1 3988 EOF 3989 3990 fi 3991 3992 echo "$as_me:3992: checking for mswsock.h" >&5 7429 _ACEOF 7430 7431 fi 7432 7433 7434 if test "${ac_cv_header_mswsock_h+set}" = set; then 7435 echo "$as_me:$LINENO: checking for mswsock.h" >&5 3993 7436 echo $ECHO_N "checking for mswsock.h... $ECHO_C" >&6 3994 7437 if test "${ac_cv_header_mswsock_h+set}" = set; then 3995 7438 echo $ECHO_N "(cached) $ECHO_C" >&6 3996 else 3997 cat >conftest.$ac_ext <<_ACEOF 3998 #line 3998 "configure" 3999 #include "confdefs.h" 7439 fi 7440 echo "$as_me:$LINENO: result: $ac_cv_header_mswsock_h" >&5 7441 echo "${ECHO_T}$ac_cv_header_mswsock_h" >&6 7442 else 7443 # Is the header compilable? 7444 echo "$as_me:$LINENO: checking mswsock.h usability" >&5 7445 echo $ECHO_N "checking mswsock.h usability... $ECHO_C" >&6 7446 cat >conftest.$ac_ext <<_ACEOF 7447 /* confdefs.h. */ 7448 _ACEOF 7449 cat confdefs.h >>conftest.$ac_ext 7450 cat >>conftest.$ac_ext <<_ACEOF 7451 /* end confdefs.h. */ 7452 $ac_includes_default 4000 7453 #include <mswsock.h> 4001 7454 _ACEOF 4002 if { (eval echo "$as_me:4002: \"$ac_cpp conftest.$ac_ext\"") >&5 4003 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4004 ac_status=$? 4005 egrep -v '^ *\+' conftest.er1 >conftest.err 7455 rm -f conftest.$ac_objext 7456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7457 (eval $ac_compile) 2>conftest.er1 7458 ac_status=$? 7459 grep -v '^ *+' conftest.er1 >conftest.err 4006 7460 rm -f conftest.er1 4007 7461 cat conftest.err >&5 4008 echo "$as_me:4008: \$? = $ac_status" >&5 7462 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7463 (exit $ac_status); } && 7464 { ac_try='test -z "$ac_c_werror_flag" 7465 || test ! -s conftest.err' 7466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7467 (eval $ac_try) 2>&5 7468 ac_status=$? 7469 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7470 (exit $ac_status); }; } && 7471 { ac_try='test -s conftest.$ac_objext' 7472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7473 (eval $ac_try) 2>&5 7474 ac_status=$? 7475 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7476 (exit $ac_status); }; }; then 7477 ac_header_compiler=yes 7478 else 7479 echo "$as_me: failed program was:" >&5 7480 sed 's/^/| /' conftest.$ac_ext >&5 7481 7482 ac_header_compiler=no 7483 fi 7484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7485 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7486 echo "${ECHO_T}$ac_header_compiler" >&6 7487 7488 # Is the header present? 7489 echo "$as_me:$LINENO: checking mswsock.h presence" >&5 7490 echo $ECHO_N "checking mswsock.h presence... $ECHO_C" >&6 7491 cat >conftest.$ac_ext <<_ACEOF 7492 /* confdefs.h. */ 7493 _ACEOF 7494 cat confdefs.h >>conftest.$ac_ext 7495 cat >>conftest.$ac_ext <<_ACEOF 7496 /* end confdefs.h. */ 7497 #include <mswsock.h> 7498 _ACEOF 7499 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7500 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7501 ac_status=$? 7502 grep -v '^ *+' conftest.er1 >conftest.err 7503 rm -f conftest.er1 7504 cat conftest.err >&5 7505 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4009 7506 (exit $ac_status); } >/dev/null; then 4010 7507 if test -s conftest.err; then 4011 7508 ac_cpp_err=$ac_c_preproc_warn_flag 7509 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4012 7510 else 4013 7511 ac_cpp_err= … … 4017 7515 fi 4018 7516 if test -z "$ac_cpp_err"; then 4019 ac_ cv_header_mswsock_h=yes7517 ac_header_preproc=yes 4020 7518 else 4021 7519 echo "$as_me: failed program was:" >&5 4022 cat conftest.$ac_ext >&5 4023 ac_cv_header_mswsock_h=no 7520 sed 's/^/| /' conftest.$ac_ext >&5 7521 7522 ac_header_preproc=no 4024 7523 fi 4025 7524 rm -f conftest.err conftest.$ac_ext 4026 fi 4027 echo "$as_me:4027: result: $ac_cv_header_mswsock_h" >&5 7525 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7526 echo "${ECHO_T}$ac_header_preproc" >&6 7527 7528 # So? What about this header? 7529 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7530 yes:no: ) 7531 { echo "$as_me:$LINENO: WARNING: mswsock.h: accepted by the compiler, rejected by the preprocessor!" >&5 7532 echo "$as_me: WARNING: mswsock.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7533 { echo "$as_me:$LINENO: WARNING: mswsock.h: proceeding with the compiler's result" >&5 7534 echo "$as_me: WARNING: mswsock.h: proceeding with the compiler's result" >&2;} 7535 ac_header_preproc=yes 7536 ;; 7537 no:yes:* ) 7538 { echo "$as_me:$LINENO: WARNING: mswsock.h: present but cannot be compiled" >&5 7539 echo "$as_me: WARNING: mswsock.h: present but cannot be compiled" >&2;} 7540 { echo "$as_me:$LINENO: WARNING: mswsock.h: check for missing prerequisite headers?" >&5 7541 echo "$as_me: WARNING: mswsock.h: check for missing prerequisite headers?" >&2;} 7542 { echo "$as_me:$LINENO: WARNING: mswsock.h: see the Autoconf documentation" >&5 7543 echo "$as_me: WARNING: mswsock.h: see the Autoconf documentation" >&2;} 7544 { echo "$as_me:$LINENO: WARNING: mswsock.h: section \"Present But Cannot Be Compiled\"" >&5 7545 echo "$as_me: WARNING: mswsock.h: section \"Present But Cannot Be Compiled\"" >&2;} 7546 { echo "$as_me:$LINENO: WARNING: mswsock.h: proceeding with the preprocessor's result" >&5 7547 echo "$as_me: WARNING: mswsock.h: proceeding with the preprocessor's result" >&2;} 7548 { echo "$as_me:$LINENO: WARNING: mswsock.h: in the future, the compiler will take precedence" >&5 7549 echo "$as_me: WARNING: mswsock.h: in the future, the compiler will take precedence" >&2;} 7550 ( 7551 cat <<\_ASBOX 7552 ## ------------------------------------ ## 7553 ## Report this to the pjproject lists. ## 7554 ## ------------------------------------ ## 7555 _ASBOX 7556 ) | 7557 sed "s/^/$as_me: WARNING: /" >&2 7558 ;; 7559 esac 7560 echo "$as_me:$LINENO: checking for mswsock.h" >&5 7561 echo $ECHO_N "checking for mswsock.h... $ECHO_C" >&6 7562 if test "${ac_cv_header_mswsock_h+set}" = set; then 7563 echo $ECHO_N "(cached) $ECHO_C" >&6 7564 else 7565 ac_cv_header_mswsock_h=$ac_header_preproc 7566 fi 7567 echo "$as_me:$LINENO: result: $ac_cv_header_mswsock_h" >&5 4028 7568 echo "${ECHO_T}$ac_cv_header_mswsock_h" >&6 7569 7570 fi 4029 7571 if test $ac_cv_header_mswsock_h = yes; then 4030 cat >>confdefs.h <<\ EOF7572 cat >>confdefs.h <<\_ACEOF 4031 7573 #define PJ_HAS_MSWSOCK_H 1 4032 EOF 4033 4034 fi 4035 4036 echo "$as_me:4036: checking for winsock.h" >&5 7574 _ACEOF 7575 7576 fi 7577 7578 7579 if test "${ac_cv_header_winsock_h+set}" = set; then 7580 echo "$as_me:$LINENO: checking for winsock.h" >&5 4037 7581 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6 4038 7582 if test "${ac_cv_header_winsock_h+set}" = set; then 4039 7583 echo $ECHO_N "(cached) $ECHO_C" >&6 4040 else 4041 cat >conftest.$ac_ext <<_ACEOF 4042 #line 4042 "configure" 4043 #include "confdefs.h" 7584 fi 7585 echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 7586 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6 7587 else 7588 # Is the header compilable? 7589 echo "$as_me:$LINENO: checking winsock.h usability" >&5 7590 echo $ECHO_N "checking winsock.h usability... $ECHO_C" >&6 7591 cat >conftest.$ac_ext <<_ACEOF 7592 /* confdefs.h. */ 7593 _ACEOF 7594 cat confdefs.h >>conftest.$ac_ext 7595 cat >>conftest.$ac_ext <<_ACEOF 7596 /* end confdefs.h. */ 7597 $ac_includes_default 4044 7598 #include <winsock.h> 4045 7599 _ACEOF 4046 if { (eval echo "$as_me:4046: \"$ac_cpp conftest.$ac_ext\"") >&5 4047 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4048 ac_status=$? 4049 egrep -v '^ *\+' conftest.er1 >conftest.err 7600 rm -f conftest.$ac_objext 7601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7602 (eval $ac_compile) 2>conftest.er1 7603 ac_status=$? 7604 grep -v '^ *+' conftest.er1 >conftest.err 4050 7605 rm -f conftest.er1 4051 7606 cat conftest.err >&5 4052 echo "$as_me:4052: \$? = $ac_status" >&5 7607 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7608 (exit $ac_status); } && 7609 { ac_try='test -z "$ac_c_werror_flag" 7610 || test ! -s conftest.err' 7611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7612 (eval $ac_try) 2>&5 7613 ac_status=$? 7614 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7615 (exit $ac_status); }; } && 7616 { ac_try='test -s conftest.$ac_objext' 7617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7618 (eval $ac_try) 2>&5 7619 ac_status=$? 7620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7621 (exit $ac_status); }; }; then 7622 ac_header_compiler=yes 7623 else 7624 echo "$as_me: failed program was:" >&5 7625 sed 's/^/| /' conftest.$ac_ext >&5 7626 7627 ac_header_compiler=no 7628 fi 7629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7630 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7631 echo "${ECHO_T}$ac_header_compiler" >&6 7632 7633 # Is the header present? 7634 echo "$as_me:$LINENO: checking winsock.h presence" >&5 7635 echo $ECHO_N "checking winsock.h presence... $ECHO_C" >&6 7636 cat >conftest.$ac_ext <<_ACEOF 7637 /* confdefs.h. */ 7638 _ACEOF 7639 cat confdefs.h >>conftest.$ac_ext 7640 cat >>conftest.$ac_ext <<_ACEOF 7641 /* end confdefs.h. */ 7642 #include <winsock.h> 7643 _ACEOF 7644 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7645 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7646 ac_status=$? 7647 grep -v '^ *+' conftest.er1 >conftest.err 7648 rm -f conftest.er1 7649 cat conftest.err >&5 7650 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4053 7651 (exit $ac_status); } >/dev/null; then 4054 7652 if test -s conftest.err; then 4055 7653 ac_cpp_err=$ac_c_preproc_warn_flag 7654 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4056 7655 else 4057 7656 ac_cpp_err= … … 4061 7660 fi 4062 7661 if test -z "$ac_cpp_err"; then 4063 ac_ cv_header_winsock_h=yes7662 ac_header_preproc=yes 4064 7663 else 4065 7664 echo "$as_me: failed program was:" >&5 4066 cat conftest.$ac_ext >&5 4067 ac_cv_header_winsock_h=no 7665 sed 's/^/| /' conftest.$ac_ext >&5 7666 7667 ac_header_preproc=no 4068 7668 fi 4069 7669 rm -f conftest.err conftest.$ac_ext 4070 fi 4071 echo "$as_me:4071: result: $ac_cv_header_winsock_h" >&5 7670 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7671 echo "${ECHO_T}$ac_header_preproc" >&6 7672 7673 # So? What about this header? 7674 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7675 yes:no: ) 7676 { echo "$as_me:$LINENO: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&5 7677 echo "$as_me: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7678 { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the compiler's result" >&5 7679 echo "$as_me: WARNING: winsock.h: proceeding with the compiler's result" >&2;} 7680 ac_header_preproc=yes 7681 ;; 7682 no:yes:* ) 7683 { echo "$as_me:$LINENO: WARNING: winsock.h: present but cannot be compiled" >&5 7684 echo "$as_me: WARNING: winsock.h: present but cannot be compiled" >&2;} 7685 { echo "$as_me:$LINENO: WARNING: winsock.h: check for missing prerequisite headers?" >&5 7686 echo "$as_me: WARNING: winsock.h: check for missing prerequisite headers?" >&2;} 7687 { echo "$as_me:$LINENO: WARNING: winsock.h: see the Autoconf documentation" >&5 7688 echo "$as_me: WARNING: winsock.h: see the Autoconf documentation" >&2;} 7689 { echo "$as_me:$LINENO: WARNING: winsock.h: section \"Present But Cannot Be Compiled\"" >&5 7690 echo "$as_me: WARNING: winsock.h: section \"Present But Cannot Be Compiled\"" >&2;} 7691 { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the preprocessor's result" >&5 7692 echo "$as_me: WARNING: winsock.h: proceeding with the preprocessor's result" >&2;} 7693 { echo "$as_me:$LINENO: WARNING: winsock.h: in the future, the compiler will take precedence" >&5 7694 echo "$as_me: WARNING: winsock.h: in the future, the compiler will take precedence" >&2;} 7695 ( 7696 cat <<\_ASBOX 7697 ## ------------------------------------ ## 7698 ## Report this to the pjproject lists. ## 7699 ## ------------------------------------ ## 7700 _ASBOX 7701 ) | 7702 sed "s/^/$as_me: WARNING: /" >&2 7703 ;; 7704 esac 7705 echo "$as_me:$LINENO: checking for winsock.h" >&5 7706 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6 7707 if test "${ac_cv_header_winsock_h+set}" = set; then 7708 echo $ECHO_N "(cached) $ECHO_C" >&6 7709 else 7710 ac_cv_header_winsock_h=$ac_header_preproc 7711 fi 7712 echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 4072 7713 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6 7714 7715 fi 4073 7716 if test $ac_cv_header_winsock_h = yes; then 4074 cat >>confdefs.h <<\ EOF7717 cat >>confdefs.h <<\_ACEOF 4075 7718 #define PJ_HAS_WINSOCK_H 1 4076 EOF 4077 4078 fi 4079 4080 echo "$as_me:4080: checking for winsock2.h" >&5 7719 _ACEOF 7720 7721 fi 7722 7723 7724 if test "${ac_cv_header_winsock2_h+set}" = set; then 7725 echo "$as_me:$LINENO: checking for winsock2.h" >&5 4081 7726 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6 4082 7727 if test "${ac_cv_header_winsock2_h+set}" = set; then 4083 7728 echo $ECHO_N "(cached) $ECHO_C" >&6 4084 else 4085 cat >conftest.$ac_ext <<_ACEOF 4086 #line 4086 "configure" 4087 #include "confdefs.h" 7729 fi 7730 echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 7731 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6 7732 else 7733 # Is the header compilable? 7734 echo "$as_me:$LINENO: checking winsock2.h usability" >&5 7735 echo $ECHO_N "checking winsock2.h usability... $ECHO_C" >&6 7736 cat >conftest.$ac_ext <<_ACEOF 7737 /* confdefs.h. */ 7738 _ACEOF 7739 cat confdefs.h >>conftest.$ac_ext 7740 cat >>conftest.$ac_ext <<_ACEOF 7741 /* end confdefs.h. */ 7742 $ac_includes_default 4088 7743 #include <winsock2.h> 4089 7744 _ACEOF 4090 if { (eval echo "$as_me:4090: \"$ac_cpp conftest.$ac_ext\"") >&5 4091 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4092 ac_status=$? 4093 egrep -v '^ *\+' conftest.er1 >conftest.err 7745 rm -f conftest.$ac_objext 7746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7747 (eval $ac_compile) 2>conftest.er1 7748 ac_status=$? 7749 grep -v '^ *+' conftest.er1 >conftest.err 4094 7750 rm -f conftest.er1 4095 7751 cat conftest.err >&5 4096 echo "$as_me:4096: \$? = $ac_status" >&5 7752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7753 (exit $ac_status); } && 7754 { ac_try='test -z "$ac_c_werror_flag" 7755 || test ! -s conftest.err' 7756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7757 (eval $ac_try) 2>&5 7758 ac_status=$? 7759 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7760 (exit $ac_status); }; } && 7761 { ac_try='test -s conftest.$ac_objext' 7762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7763 (eval $ac_try) 2>&5 7764 ac_status=$? 7765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7766 (exit $ac_status); }; }; then 7767 ac_header_compiler=yes 7768 else 7769 echo "$as_me: failed program was:" >&5 7770 sed 's/^/| /' conftest.$ac_ext >&5 7771 7772 ac_header_compiler=no 7773 fi 7774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7775 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7776 echo "${ECHO_T}$ac_header_compiler" >&6 7777 7778 # Is the header present? 7779 echo "$as_me:$LINENO: checking winsock2.h presence" >&5 7780 echo $ECHO_N "checking winsock2.h presence... $ECHO_C" >&6 7781 cat >conftest.$ac_ext <<_ACEOF 7782 /* confdefs.h. */ 7783 _ACEOF 7784 cat confdefs.h >>conftest.$ac_ext 7785 cat >>conftest.$ac_ext <<_ACEOF 7786 /* end confdefs.h. */ 7787 #include <winsock2.h> 7788 _ACEOF 7789 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7790 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7791 ac_status=$? 7792 grep -v '^ *+' conftest.er1 >conftest.err 7793 rm -f conftest.er1 7794 cat conftest.err >&5 7795 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4097 7796 (exit $ac_status); } >/dev/null; then 4098 7797 if test -s conftest.err; then 4099 7798 ac_cpp_err=$ac_c_preproc_warn_flag 7799 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4100 7800 else 4101 7801 ac_cpp_err= … … 4105 7805 fi 4106 7806 if test -z "$ac_cpp_err"; then 4107 ac_ cv_header_winsock2_h=yes7807 ac_header_preproc=yes 4108 7808 else 4109 7809 echo "$as_me: failed program was:" >&5 4110 cat conftest.$ac_ext >&5 4111 ac_cv_header_winsock2_h=no 7810 sed 's/^/| /' conftest.$ac_ext >&5 7811 7812 ac_header_preproc=no 4112 7813 fi 4113 7814 rm -f conftest.err conftest.$ac_ext 4114 fi 4115 echo "$as_me:4115: result: $ac_cv_header_winsock2_h" >&5 7815 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7816 echo "${ECHO_T}$ac_header_preproc" >&6 7817 7818 # So? What about this header? 7819 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7820 yes:no: ) 7821 { echo "$as_me:$LINENO: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&5 7822 echo "$as_me: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7823 { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the compiler's result" >&5 7824 echo "$as_me: WARNING: winsock2.h: proceeding with the compiler's result" >&2;} 7825 ac_header_preproc=yes 7826 ;; 7827 no:yes:* ) 7828 { echo "$as_me:$LINENO: WARNING: winsock2.h: present but cannot be compiled" >&5 7829 echo "$as_me: WARNING: winsock2.h: present but cannot be compiled" >&2;} 7830 { echo "$as_me:$LINENO: WARNING: winsock2.h: check for missing prerequisite headers?" >&5 7831 echo "$as_me: WARNING: winsock2.h: check for missing prerequisite headers?" >&2;} 7832 { echo "$as_me:$LINENO: WARNING: winsock2.h: see the Autoconf documentation" >&5 7833 echo "$as_me: WARNING: winsock2.h: see the Autoconf documentation" >&2;} 7834 { echo "$as_me:$LINENO: WARNING: winsock2.h: section \"Present But Cannot Be Compiled\"" >&5 7835 echo "$as_me: WARNING: winsock2.h: section \"Present But Cannot Be Compiled\"" >&2;} 7836 { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the preprocessor's result" >&5 7837 echo "$as_me: WARNING: winsock2.h: proceeding with the preprocessor's result" >&2;} 7838 { echo "$as_me:$LINENO: WARNING: winsock2.h: in the future, the compiler will take precedence" >&5 7839 echo "$as_me: WARNING: winsock2.h: in the future, the compiler will take precedence" >&2;} 7840 ( 7841 cat <<\_ASBOX 7842 ## ------------------------------------ ## 7843 ## Report this to the pjproject lists. ## 7844 ## ------------------------------------ ## 7845 _ASBOX 7846 ) | 7847 sed "s/^/$as_me: WARNING: /" >&2 7848 ;; 7849 esac 7850 echo "$as_me:$LINENO: checking for winsock2.h" >&5 7851 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6 7852 if test "${ac_cv_header_winsock2_h+set}" = set; then 7853 echo $ECHO_N "(cached) $ECHO_C" >&6 7854 else 7855 ac_cv_header_winsock2_h=$ac_header_preproc 7856 fi 7857 echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 4116 7858 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6 7859 7860 fi 4117 7861 if test $ac_cv_header_winsock2_h = yes; then 4118 cat >>confdefs.h <<\ EOF7862 cat >>confdefs.h <<\_ACEOF 4119 7863 #define PJ_HAS_WINSOCK2_H 1 4120 EOF 4121 4122 fi 4123 4124 echo "$as_me:4124: result: Setting PJ_OS_NAME to $target" >&5 7864 _ACEOF 7865 7866 fi 7867 7868 7869 7870 echo "$as_me:$LINENO: result: Setting PJ_OS_NAME to $target" >&5 4125 7871 echo "${ECHO_T}Setting PJ_OS_NAME to $target" >&6 4126 cat >>confdefs.h << EOF7872 cat >>confdefs.h <<_ACEOF 4127 7873 #define PJ_OS_NAME "$target" 4128 EOF 4129 4130 echo "$as_me:4130: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 7874 _ACEOF 7875 7876 7877 echo "$as_me:$LINENO: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 4131 7878 echo "${ECHO_T}Setting PJ_HAS_ERRNO_VAR to 1" >&6 4132 cat >>confdefs.h <<\ EOF7879 cat >>confdefs.h <<\_ACEOF 4133 7880 #define PJ_HAS_ERRNO_VAR 1 4134 EOF 4135 4136 echo "$as_me:4136: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 7881 _ACEOF 7882 7883 7884 echo "$as_me:$LINENO: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 4137 7885 echo "${ECHO_T}Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6 4138 cat >>confdefs.h <<\ EOF7886 cat >>confdefs.h <<\_ACEOF 4139 7887 #define PJ_HAS_HIGH_RES_TIMER 1 4140 EOF 4141 4142 echo "$as_me:4142: result: Setting PJ_HAS_MALLOC to 1" >&5 7888 _ACEOF 7889 7890 7891 echo "$as_me:$LINENO: result: Setting PJ_HAS_MALLOC to 1" >&5 4143 7892 echo "${ECHO_T}Setting PJ_HAS_MALLOC to 1" >&6 4144 cat >>confdefs.h <<\ EOF7893 cat >>confdefs.h <<\_ACEOF 4145 7894 #define PJ_HAS_MALLOC 1 4146 EOF 4147 4148 echo "$as_me:4148: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 7895 _ACEOF 7896 7897 7898 echo "$as_me:$LINENO: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 4149 7899 echo "${ECHO_T}Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6 4150 cat >>confdefs.h <<\ EOF7900 cat >>confdefs.h <<\_ACEOF 4151 7901 #define PJ_NATIVE_STRING_IS_UNICODE 0 4152 EOF 4153 4154 echo "$as_me:4154: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 7902 _ACEOF 7903 7904 7905 echo "$as_me:$LINENO: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 4155 7906 echo "${ECHO_T}Setting PJ_ATOMIC_VALUE_TYPE to long" >&6 4156 cat >>confdefs.h <<\ EOF7907 cat >>confdefs.h <<\_ACEOF 4157 7908 #define PJ_ATOMIC_VALUE_TYPE long 4158 EOF 4159 4160 echo "$as_me:4160: checking if inet_aton is available" >&5 7909 _ACEOF 7910 7911 7912 echo "$as_me:$LINENO: checking if inet_aton is available" >&5 4161 7913 echo $ECHO_N "checking if inet_aton is available... $ECHO_C" >&6 4162 7914 cat >conftest.$ac_ext <<_ACEOF 4163 #line 4163 "configure" 4164 #include "confdefs.h" 7915 /* confdefs.h. */ 7916 _ACEOF 7917 cat confdefs.h >>conftest.$ac_ext 7918 cat >>conftest.$ac_ext <<_ACEOF 7919 /* end confdefs.h. */ 4165 7920 #include <arpa/inet.h> 4166 7921 int … … 4173 7928 _ACEOF 4174 7929 rm -f conftest.$ac_objext 4175 if { (eval echo "$as_me:4175: \"$ac_compile\"") >&5 4176 (eval $ac_compile) 2>&5 4177 ac_status=$? 4178 echo "$as_me:4178: \$? = $ac_status" >&5 7930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7931 (eval $ac_compile) 2>conftest.er1 7932 ac_status=$? 7933 grep -v '^ *+' conftest.er1 >conftest.err 7934 rm -f conftest.er1 7935 cat conftest.err >&5 7936 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4179 7937 (exit $ac_status); } && 4180 { ac_try='test -s conftest.$ac_objext' 4181 { (eval echo "$as_me:4181: \"$ac_try\"") >&5 4182 (eval $ac_try) 2>&5 4183 ac_status=$? 4184 echo "$as_me:4184: \$? = $ac_status" >&5 7938 { ac_try='test -z "$ac_c_werror_flag" 7939 || test ! -s conftest.err' 7940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7941 (eval $ac_try) 2>&5 7942 ac_status=$? 7943 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7944 (exit $ac_status); }; } && 7945 { ac_try='test -s conftest.$ac_objext' 7946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7947 (eval $ac_try) 2>&5 7948 ac_status=$? 7949 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4185 7950 (exit $ac_status); }; }; then 4186 cat >>confdefs.h <<\ EOF7951 cat >>confdefs.h <<\_ACEOF 4187 7952 #define PJ_SOCK_HAS_INET_ATON 1 4188 EOF4189 4190 echo "$as_me: 4190: result: yes" >&57953 _ACEOF 7954 7955 echo "$as_me:$LINENO: result: yes" >&5 4191 7956 echo "${ECHO_T}yes" >&6 4192 7957 else 4193 7958 echo "$as_me: failed program was:" >&5 4194 cat conftest.$ac_ext >&5 4195 echo "$as_me:4195: result: no" >&5 7959 sed 's/^/| /' conftest.$ac_ext >&5 7960 7961 echo "$as_me:$LINENO: result: no" >&5 4196 7962 echo "${ECHO_T}no" >&6 4197 7963 fi 4198 rm -f conftest. $ac_objext conftest.$ac_ext4199 4200 echo "$as_me: 4200: checking if sockaddr_in has sin_len member" >&57964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7965 7966 echo "$as_me:$LINENO: checking if sockaddr_in has sin_len member" >&5 4201 7967 echo $ECHO_N "checking if sockaddr_in has sin_len member... $ECHO_C" >&6 4202 7968 cat >conftest.$ac_ext <<_ACEOF 4203 #line 4203 "configure" 4204 #include "confdefs.h" 7969 /* confdefs.h. */ 7970 _ACEOF 7971 cat confdefs.h >>conftest.$ac_ext 7972 cat >>conftest.$ac_ext <<_ACEOF 7973 /* end confdefs.h. */ 4205 7974 #include <sys/types.h> 4206 7975 #include <sys/socket.h> … … 4216 7985 _ACEOF 4217 7986 rm -f conftest.$ac_objext 4218 if { (eval echo "$as_me:4218: \"$ac_compile\"") >&5 4219 (eval $ac_compile) 2>&5 4220 ac_status=$? 4221 echo "$as_me:4221: \$? = $ac_status" >&5 7987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7988 (eval $ac_compile) 2>conftest.er1 7989 ac_status=$? 7990 grep -v '^ *+' conftest.er1 >conftest.err 7991 rm -f conftest.er1 7992 cat conftest.err >&5 7993 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4222 7994 (exit $ac_status); } && 4223 { ac_try='test -s conftest.$ac_objext' 4224 { (eval echo "$as_me:4224: \"$ac_try\"") >&5 4225 (eval $ac_try) 2>&5 4226 ac_status=$? 4227 echo "$as_me:4227: \$? = $ac_status" >&5 7995 { ac_try='test -z "$ac_c_werror_flag" 7996 || test ! -s conftest.err' 7997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7998 (eval $ac_try) 2>&5 7999 ac_status=$? 8000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8001 (exit $ac_status); }; } && 8002 { ac_try='test -s conftest.$ac_objext' 8003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8004 (eval $ac_try) 2>&5 8005 ac_status=$? 8006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4228 8007 (exit $ac_status); }; }; then 4229 cat >>confdefs.h <<\ EOF8008 cat >>confdefs.h <<\_ACEOF 4230 8009 #define PJ_SOCKADDR_HAS_LEN 1 4231 EOF4232 4233 echo "$as_me: 4233: result: yes" >&58010 _ACEOF 8011 8012 echo "$as_me:$LINENO: result: yes" >&5 4234 8013 echo "${ECHO_T}yes" >&6 4235 8014 else 4236 8015 echo "$as_me: failed program was:" >&5 4237 cat conftest.$ac_ext >&5 4238 echo "$as_me:4238: result: no" >&5 8016 sed 's/^/| /' conftest.$ac_ext >&5 8017 8018 echo "$as_me:$LINENO: result: no" >&5 4239 8019 echo "${ECHO_T}no" >&6 4240 8020 fi 4241 rm -f conftest. $ac_objext conftest.$ac_ext4242 4243 echo "$as_me: 4243: checking if socklen_t is available" >&58021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8022 8023 echo "$as_me:$LINENO: checking if socklen_t is available" >&5 4244 8024 echo $ECHO_N "checking if socklen_t is available... $ECHO_C" >&6 4245 8025 cat >conftest.$ac_ext <<_ACEOF 4246 #line 4246 "configure" 4247 #include "confdefs.h" 8026 /* confdefs.h. */ 8027 _ACEOF 8028 cat confdefs.h >>conftest.$ac_ext 8029 cat >>conftest.$ac_ext <<_ACEOF 8030 /* end confdefs.h. */ 4248 8031 #include <sys/socket.h> 4249 8032 int … … 4256 8039 _ACEOF 4257 8040 rm -f conftest.$ac_objext 4258 if { (eval echo "$as_me:4258: \"$ac_compile\"") >&5 4259 (eval $ac_compile) 2>&5 4260 ac_status=$? 4261 echo "$as_me:4261: \$? = $ac_status" >&5 8041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8042 (eval $ac_compile) 2>conftest.er1 8043 ac_status=$? 8044 grep -v '^ *+' conftest.er1 >conftest.err 8045 rm -f conftest.er1 8046 cat conftest.err >&5 8047 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4262 8048 (exit $ac_status); } && 4263 { ac_try='test -s conftest.$ac_objext' 4264 { (eval echo "$as_me:4264: \"$ac_try\"") >&5 4265 (eval $ac_try) 2>&5 4266 ac_status=$? 4267 echo "$as_me:4267: \$? = $ac_status" >&5 8049 { ac_try='test -z "$ac_c_werror_flag" 8050 || test ! -s conftest.err' 8051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8052 (eval $ac_try) 2>&5 8053 ac_status=$? 8054 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8055 (exit $ac_status); }; } && 8056 { ac_try='test -s conftest.$ac_objext' 8057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8058 (eval $ac_try) 2>&5 8059 ac_status=$? 8060 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4268 8061 (exit $ac_status); }; }; then 4269 cat >>confdefs.h <<\ EOF8062 cat >>confdefs.h <<\_ACEOF 4270 8063 #define PJ_HAS_SOCKLEN_T 1 4271 EOF4272 4273 echo "$as_me: 4273: result: yes" >&58064 _ACEOF 8065 8066 echo "$as_me:$LINENO: result: yes" >&5 4274 8067 echo "${ECHO_T}yes" >&6 4275 8068 else 4276 8069 echo "$as_me: failed program was:" >&5 4277 cat conftest.$ac_ext >&5 4278 echo "$as_me:4278: result: no" >&5 8070 sed 's/^/| /' conftest.$ac_ext >&5 8071 8072 echo "$as_me:$LINENO: result: no" >&5 4279 8073 echo "${ECHO_T}no" >&6 4280 8074 fi 4281 rm -f conftest. $ac_objext conftest.$ac_ext4282 4283 echo "$as_me: 4283: checking if SO_ERROR is available" >&58075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8076 8077 echo "$as_me:$LINENO: checking if SO_ERROR is available" >&5 4284 8078 echo $ECHO_N "checking if SO_ERROR is available... $ECHO_C" >&6 4285 8079 case $target in 4286 8080 *mingw* | *cygw* | *win32* | *w32* ) 4287 cat >>confdefs.h <<\ EOF8081 cat >>confdefs.h <<\_ACEOF 4288 8082 #define PJ_HAS_SO_ERROR 1 4289 EOF4290 4291 echo "$as_me: 4291: result: yes" >&58083 _ACEOF 8084 8085 echo "$as_me:$LINENO: result: yes" >&5 4292 8086 echo "${ECHO_T}yes" >&6 4293 8087 ;; 4294 8088 *) 4295 8089 cat >conftest.$ac_ext <<_ACEOF 4296 #line 4296 "configure" 4297 #include "confdefs.h" 8090 /* confdefs.h. */ 8091 _ACEOF 8092 cat confdefs.h >>conftest.$ac_ext 8093 cat >>conftest.$ac_ext <<_ACEOF 8094 /* end confdefs.h. */ 4298 8095 #include <sys/types.h> 4299 8096 #include <sys/socket.h> … … 4309 8106 _ACEOF 4310 8107 rm -f conftest.$ac_objext 4311 if { (eval echo "$as_me:4311: \"$ac_compile\"") >&5 4312 (eval $ac_compile) 2>&5 4313 ac_status=$? 4314 echo "$as_me:4314: \$? = $ac_status" >&5 8108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8109 (eval $ac_compile) 2>conftest.er1 8110 ac_status=$? 8111 grep -v '^ *+' conftest.er1 >conftest.err 8112 rm -f conftest.er1 8113 cat conftest.err >&5 8114 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4315 8115 (exit $ac_status); } && 4316 { ac_try='test -s conftest.$ac_objext' 4317 { (eval echo "$as_me:4317: \"$ac_try\"") >&5 4318 (eval $ac_try) 2>&5 4319 ac_status=$? 4320 echo "$as_me:4320: \$? = $ac_status" >&5 8116 { ac_try='test -z "$ac_c_werror_flag" 8117 || test ! -s conftest.err' 8118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8119 (eval $ac_try) 2>&5 8120 ac_status=$? 8121 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8122 (exit $ac_status); }; } && 8123 { ac_try='test -s conftest.$ac_objext' 8124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8125 (eval $ac_try) 2>&5 8126 ac_status=$? 8127 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4321 8128 (exit $ac_status); }; }; then 4322 cat >>confdefs.h <<\ EOF8129 cat >>confdefs.h <<\_ACEOF 4323 8130 #define PJ_HAS_SO_ERROR 1 4324 EOF4325 4326 echo "$as_me: 4326: result: yes" >&58131 _ACEOF 8132 8133 echo "$as_me:$LINENO: result: yes" >&5 4327 8134 echo "${ECHO_T}yes" >&6 4328 8135 else 4329 8136 echo "$as_me: failed program was:" >&5 4330 cat conftest.$ac_ext >&5 4331 echo "$as_me:4331: result: no" >&5 8137 sed 's/^/| /' conftest.$ac_ext >&5 8138 8139 echo "$as_me:$LINENO: result: no" >&5 4332 8140 echo "${ECHO_T}no" >&6 4333 8141 fi 4334 rm -f conftest. $ac_objext conftest.$ac_ext8142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4335 8143 ;; 4336 8144 esac 4337 8145 4338 echo "$as_me:4338: checking if pthread_rwlock_t is available" >&5 8146 8147 echo "$as_me:$LINENO: checking if pthread_rwlock_t is available" >&5 4339 8148 echo $ECHO_N "checking if pthread_rwlock_t is available... $ECHO_C" >&6 4340 8149 cat >conftest.$ac_ext <<_ACEOF 4341 #line 4341 "configure" 4342 #include "confdefs.h" 8150 /* confdefs.h. */ 8151 _ACEOF 8152 cat confdefs.h >>conftest.$ac_ext 8153 cat >>conftest.$ac_ext <<_ACEOF 8154 /* end confdefs.h. */ 4343 8155 #include <pthread.h> 4344 8156 int … … 4351 8163 _ACEOF 4352 8164 rm -f conftest.$ac_objext 4353 if { (eval echo "$as_me:4353: \"$ac_compile\"") >&5 4354 (eval $ac_compile) 2>&5 4355 ac_status=$? 4356 echo "$as_me:4356: \$? = $ac_status" >&5 8165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8166 (eval $ac_compile) 2>conftest.er1 8167 ac_status=$? 8168 grep -v '^ *+' conftest.er1 >conftest.err 8169 rm -f conftest.er1 8170 cat conftest.err >&5 8171 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4357 8172 (exit $ac_status); } && 4358 { ac_try='test -s conftest.$ac_objext' 4359 { (eval echo "$as_me:4359: \"$ac_try\"") >&5 4360 (eval $ac_try) 2>&5 4361 ac_status=$? 4362 echo "$as_me:4362: \$? = $ac_status" >&5 8173 { ac_try='test -z "$ac_c_werror_flag" 8174 || test ! -s conftest.err' 8175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8176 (eval $ac_try) 2>&5 8177 ac_status=$? 8178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8179 (exit $ac_status); }; } && 8180 { ac_try='test -s conftest.$ac_objext' 8181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8182 (eval $ac_try) 2>&5 8183 ac_status=$? 8184 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4363 8185 (exit $ac_status); }; }; then 4364 cat >>confdefs.h <<\ EOF8186 cat >>confdefs.h <<\_ACEOF 4365 8187 #define PJ_EMULATE_RWMUTEX 0 4366 EOF4367 4368 echo "$as_me: 4368: result: yes" >&58188 _ACEOF 8189 8190 echo "$as_me:$LINENO: result: yes" >&5 4369 8191 echo "${ECHO_T}yes" >&6 4370 8192 else 4371 8193 echo "$as_me: failed program was:" >&5 4372 cat conftest.$ac_ext >&5 4373 cat >>confdefs.h <<\EOF 8194 sed 's/^/| /' conftest.$ac_ext >&5 8195 8196 cat >>confdefs.h <<\_ACEOF 4374 8197 #define PJ_EMULATE_RWMUTEX 1 4375 EOF4376 4377 echo "$as_me: 4377: result: no" >&58198 _ACEOF 8199 8200 echo "$as_me:$LINENO: result: no" >&5 4378 8201 echo "${ECHO_T}no" >&6 4379 8202 fi 4380 rm -f conftest.$ac_objext conftest.$ac_ext 8203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8204 4381 8205 4382 8206 case $target in … … 4389 8213 esac 4390 8214 8215 8216 8217 4391 8218 # Check whether --enable-sound or --disable-sound was given. 4392 8219 if test "${enable_sound+set}" = set; then … … 4394 8221 if test "$enable_sound" = "no"; then 4395 8222 ac_pjmedia_snd=null 4396 echo "$as_me: 4396: result: Checking if sound is disabled... yes" >&58223 echo "$as_me:$LINENO: result: Checking if sound is disabled... yes" >&5 4397 8224 echo "${ECHO_T}Checking if sound is disabled... yes" >&6 4398 8225 fi 4399 8226 4400 8227 fi; 8228 4401 8229 4402 8230 if test "$enable_sound" = "no"; then … … 4410 8238 #AC_MSG_RESULT([Setting additional PortAudio CFLAGS.. -DPA_OLD_CORE_AUDIO -DMOSX_USE_NON_ATOMIC_FLAG_BITS]) 4411 8239 ac_pjmedia_snd=pa_old_darwinos 4412 echo "$as_me: 4412: result: Checking sound device backend... old coreaudio" >&58240 echo "$as_me:$LINENO: result: Checking sound device backend... old coreaudio" >&5 4413 8241 echo "${ECHO_T}Checking sound device backend... old coreaudio" >&6 4414 8242 else 4415 8243 ac_pjmedia_snd=pa_darwinos 4416 echo "$as_me: 4416: result: Checking sound device backend... coreaudio" >&58244 echo "$as_me:$LINENO: result: Checking sound device backend... coreaudio" >&5 4417 8245 echo "${ECHO_T}Checking sound device backend... coreaudio" >&6 4418 8246 fi … … 4420 8248 *cygwin* | *mingw*) 4421 8249 ac_pjmedia_snd=pa_win32 4422 echo "$as_me: 4422: result: Checking sound device backend... win32 sound" >&58250 echo "$as_me:$LINENO: result: Checking sound device backend... win32 sound" >&5 4423 8251 echo "${ECHO_T}Checking sound device backend... win32 sound" >&6 4424 8252 ;; 4425 8253 *rtems*) 4426 8254 ac_pjmedia_snd=null 4427 echo "$as_me: 4427: result: Checking sound device backend... null sound" >&58255 echo "$as_me:$LINENO: result: Checking sound device backend... null sound" >&5 4428 8256 echo "${ECHO_T}Checking sound device backend... null sound" >&6 4429 8257 ;; 4430 8258 *) 4431 8259 ac_pjmedia_snd=pa_unix 4432 echo "$as_me:4432: checking for alsa/version.h" >&5 8260 if test "${ac_cv_header_alsa_version_h+set}" = set; then 8261 echo "$as_me:$LINENO: checking for alsa/version.h" >&5 4433 8262 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6 4434 8263 if test "${ac_cv_header_alsa_version_h+set}" = set; then 4435 8264 echo $ECHO_N "(cached) $ECHO_C" >&6 4436 else 4437 cat >conftest.$ac_ext <<_ACEOF 4438 #line 4438 "configure" 4439 #include "confdefs.h" 8265 fi 8266 echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 8267 echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6 8268 else 8269 # Is the header compilable? 8270 echo "$as_me:$LINENO: checking alsa/version.h usability" >&5 8271 echo $ECHO_N "checking alsa/version.h usability... $ECHO_C" >&6 8272 cat >conftest.$ac_ext <<_ACEOF 8273 /* confdefs.h. */ 8274 _ACEOF 8275 cat confdefs.h >>conftest.$ac_ext 8276 cat >>conftest.$ac_ext <<_ACEOF 8277 /* end confdefs.h. */ 8278 $ac_includes_default 4440 8279 #include <alsa/version.h> 4441 8280 _ACEOF 4442 if { (eval echo "$as_me:4442: \"$ac_cpp conftest.$ac_ext\"") >&5 4443 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4444 ac_status=$? 4445 egrep -v '^ *\+' conftest.er1 >conftest.err 8281 rm -f conftest.$ac_objext 8282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8283 (eval $ac_compile) 2>conftest.er1 8284 ac_status=$? 8285 grep -v '^ *+' conftest.er1 >conftest.err 4446 8286 rm -f conftest.er1 4447 8287 cat conftest.err >&5 4448 echo "$as_me:4448: \$? = $ac_status" >&5 8288 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8289 (exit $ac_status); } && 8290 { ac_try='test -z "$ac_c_werror_flag" 8291 || test ! -s conftest.err' 8292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8293 (eval $ac_try) 2>&5 8294 ac_status=$? 8295 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8296 (exit $ac_status); }; } && 8297 { ac_try='test -s conftest.$ac_objext' 8298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8299 (eval $ac_try) 2>&5 8300 ac_status=$? 8301 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8302 (exit $ac_status); }; }; then 8303 ac_header_compiler=yes 8304 else 8305 echo "$as_me: failed program was:" >&5 8306 sed 's/^/| /' conftest.$ac_ext >&5 8307 8308 ac_header_compiler=no 8309 fi 8310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8311 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8312 echo "${ECHO_T}$ac_header_compiler" >&6 8313 8314 # Is the header present? 8315 echo "$as_me:$LINENO: checking alsa/version.h presence" >&5 8316 echo $ECHO_N "checking alsa/version.h presence... $ECHO_C" >&6 8317 cat >conftest.$ac_ext <<_ACEOF 8318 /* confdefs.h. */ 8319 _ACEOF 8320 cat confdefs.h >>conftest.$ac_ext 8321 cat >>conftest.$ac_ext <<_ACEOF 8322 /* end confdefs.h. */ 8323 #include <alsa/version.h> 8324 _ACEOF 8325 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 8326 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8327 ac_status=$? 8328 grep -v '^ *+' conftest.er1 >conftest.err 8329 rm -f conftest.er1 8330 cat conftest.err >&5 8331 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4449 8332 (exit $ac_status); } >/dev/null; then 4450 8333 if test -s conftest.err; then 4451 8334 ac_cpp_err=$ac_c_preproc_warn_flag 8335 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4452 8336 else 4453 8337 ac_cpp_err= … … 4457 8341 fi 4458 8342 if test -z "$ac_cpp_err"; then 4459 ac_ cv_header_alsa_version_h=yes8343 ac_header_preproc=yes 4460 8344 else 4461 8345 echo "$as_me: failed program was:" >&5 4462 cat conftest.$ac_ext >&5 4463 ac_cv_header_alsa_version_h=no 8346 sed 's/^/| /' conftest.$ac_ext >&5 8347 8348 ac_header_preproc=no 4464 8349 fi 4465 8350 rm -f conftest.err conftest.$ac_ext 4466 fi 4467 echo "$as_me:4467: result: $ac_cv_header_alsa_version_h" >&5 8351 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8352 echo "${ECHO_T}$ac_header_preproc" >&6 8353 8354 # So? What about this header? 8355 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8356 yes:no: ) 8357 { echo "$as_me:$LINENO: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&5 8358 echo "$as_me: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8359 { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the compiler's result" >&5 8360 echo "$as_me: WARNING: alsa/version.h: proceeding with the compiler's result" >&2;} 8361 ac_header_preproc=yes 8362 ;; 8363 no:yes:* ) 8364 { echo "$as_me:$LINENO: WARNING: alsa/version.h: present but cannot be compiled" >&5 8365 echo "$as_me: WARNING: alsa/version.h: present but cannot be compiled" >&2;} 8366 { echo "$as_me:$LINENO: WARNING: alsa/version.h: check for missing prerequisite headers?" >&5 8367 echo "$as_me: WARNING: alsa/version.h: check for missing prerequisite headers?" >&2;} 8368 { echo "$as_me:$LINENO: WARNING: alsa/version.h: see the Autoconf documentation" >&5 8369 echo "$as_me: WARNING: alsa/version.h: see the Autoconf documentation" >&2;} 8370 { echo "$as_me:$LINENO: WARNING: alsa/version.h: section \"Present But Cannot Be Compiled\"" >&5 8371 echo "$as_me: WARNING: alsa/version.h: section \"Present But Cannot Be Compiled\"" >&2;} 8372 { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&5 8373 echo "$as_me: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&2;} 8374 { echo "$as_me:$LINENO: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&5 8375 echo "$as_me: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&2;} 8376 ( 8377 cat <<\_ASBOX 8378 ## ------------------------------------ ## 8379 ## Report this to the pjproject lists. ## 8380 ## ------------------------------------ ## 8381 _ASBOX 8382 ) | 8383 sed "s/^/$as_me: WARNING: /" >&2 8384 ;; 8385 esac 8386 echo "$as_me:$LINENO: checking for alsa/version.h" >&5 8387 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6 8388 if test "${ac_cv_header_alsa_version_h+set}" = set; then 8389 echo $ECHO_N "(cached) $ECHO_C" >&6 8390 else 8391 ac_cv_header_alsa_version_h=$ac_header_preproc 8392 fi 8393 echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 4468 8394 echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6 8395 8396 fi 4469 8397 if test $ac_cv_header_alsa_version_h = yes; then 4470 8398 ac_pa_use_alsa=1 … … 4477 8405 fi 4478 8406 4479 echo "$as_me:4479: result: Checking sound device backend... unix" >&5 8407 8408 echo "$as_me:$LINENO: result: Checking sound device backend... unix" >&5 4480 8409 echo "${ECHO_T}Checking sound device backend... unix" >&6 4481 8410 ;; 4482 8411 esac 4483 8412 fi 8413 4484 8414 4485 8415 # Check whether --enable-small-filter or --disable-small-filter was given. … … 4488 8418 if test "$enable_small_filter" = "no"; then 4489 8419 ac_no_small_filter='-DPJMEDIA_HAS_SMALL_FILTER=0' 4490 echo "$as_me: 4490: result: Checking if small filter is disabled... yes" >&58420 echo "$as_me:$LINENO: result: Checking if small filter is disabled... yes" >&5 4491 8421 echo "${ECHO_T}Checking if small filter is disabled... yes" >&6 4492 8422 fi 4493 8423 else 4494 echo "$as_me: 4494: result: Checking if small filter is disabled... no" >&58424 echo "$as_me:$LINENO: result: Checking if small filter is disabled... no" >&5 4495 8425 echo "${ECHO_T}Checking if small filter is disabled... no" >&6 4496 8426 fi; 8427 4497 8428 4498 8429 # Check whether --enable-large-filter or --disable-large-filter was given. … … 4501 8432 if test "$enable_large_filter" = "no"; then 4502 8433 ac_no_large_filter='-DPJMEDIA_HAS_LARGE_FILTER=0' 4503 echo "$as_me: 4503: result: Checking if large filter is disabled... yes" >&58434 echo "$as_me:$LINENO: result: Checking if large filter is disabled... yes" >&5 4504 8435 echo "${ECHO_T}Checking if large filter is disabled... yes" >&6 4505 8436 fi 4506 8437 else 4507 echo "$as_me: 4507: result: Checking if large filter is disabled... no" >&58438 echo "$as_me:$LINENO: result: Checking if large filter is disabled... no" >&5 4508 8439 echo "${ECHO_T}Checking if large filter is disabled... no" >&6 4509 8440 fi; 8441 4510 8442 4511 8443 # Check whether --enable-g711-plc or --disable-g711-plc was given. … … 4514 8446 if test "$enable_g711_plc" = "no"; then 4515 8447 ac_no_g711_plc='-DPJMEDIA_HAS_G711_PLC=0' 4516 echo "$as_me: 4516: result: Checking if G.711 Annex A PLC is disabled...yes" >&58448 echo "$as_me:$LINENO: result: Checking if G.711 Annex A PLC is disabled...yes" >&5 4517 8449 echo "${ECHO_T}Checking if G.711 Annex A PLC is disabled...yes" >&6 4518 8450 fi 4519 8451 else 4520 echo "$as_me: 4520: result: Checking if G.711 Annex A PLC is disabled...no" >&58452 echo "$as_me:$LINENO: result: Checking if G.711 Annex A PLC is disabled...no" >&5 4521 8453 echo "${ECHO_T}Checking if G.711 Annex A PLC is disabled...no" >&6 4522 8454 fi; 8455 4523 8456 4524 8457 # Check whether --enable-speex-aec or --disable-speex-aec was given. … … 4527 8460 if test "$enable_speex_aec" = "no"; then 4528 8461 ac_no_speex_aec='-DPJMEDIA_HAS_SPEEX_AEC=0' 4529 echo "$as_me: 4529: result: Checking if Speex AEC is disabled...yes" >&58462 echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...yes" >&5 4530 8463 echo "${ECHO_T}Checking if Speex AEC is disabled...yes" >&6 4531 8464 fi 4532 8465 else 4533 echo "$as_me: 4533: result: Checking if Speex AEC is disabled...no" >&58466 echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...no" >&5 4534 8467 echo "${ECHO_T}Checking if Speex AEC is disabled...no" >&6 4535 8468 fi; 8469 4536 8470 4537 8471 # Check whether --enable-g711-codec or --disable-g711-codec was given. … … 4540 8474 if test "$enable_g711_codec" = "no"; then 4541 8475 ac_no_g711_codec=1 4542 echo "$as_me: 4542: result: Checking if G.711 codec is disabled...yes" >&58476 echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...yes" >&5 4543 8477 echo "${ECHO_T}Checking if G.711 codec is disabled...yes" >&6 4544 8478 fi 4545 8479 else 4546 echo "$as_me: 4546: result: Checking if G.711 codec is disabled...no" >&58480 echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...no" >&5 4547 8481 echo "${ECHO_T}Checking if G.711 codec is disabled...no" >&6 4548 8482 fi; 8483 8484 4549 8485 4550 8486 # Check whether --enable-l16-codec or --disable-l16-codec was given. … … 4553 8489 if test "$enable_l16_codec" = "no"; then 4554 8490 ac_no_l16_codec=1 4555 echo "$as_me: 4555: result: Checking if L16 codecs are disabled...yes" >&58491 echo "$as_me:$LINENO: result: Checking if L16 codecs are disabled...yes" >&5 4556 8492 echo "${ECHO_T}Checking if L16 codecs are disabled...yes" >&6 4557 8493 fi 4558 8494 else 4559 echo "$as_me: 4559: result: Checking if L16 codec is disabled...no" >&58495 echo "$as_me:$LINENO: result: Checking if L16 codec is disabled...no" >&5 4560 8496 echo "${ECHO_T}Checking if L16 codec is disabled...no" >&6 4561 8497 fi; 8498 8499 4562 8500 4563 8501 # Check whether --enable-gsm-codec or --disable-gsm-codec was given. … … 4566 8504 if test "$enable_gsm_codec" = "no"; then 4567 8505 ac_no_gsm_codec=1 4568 echo "$as_me: 4568: result: Checking if GSM codec is disabled...yes" >&58506 echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...yes" >&5 4569 8507 echo "${ECHO_T}Checking if GSM codec is disabled...yes" >&6 4570 8508 fi 4571 8509 else 4572 echo "$as_me: 4572: result: Checking if GSM codec is disabled...no" >&58510 echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...no" >&5 4573 8511 echo "${ECHO_T}Checking if GSM codec is disabled...no" >&6 4574 8512 fi; 8513 4575 8514 4576 8515 # Check whether --enable-speex-codec or --disable-speex-codec was given. … … 4579 8518 if test "$enable_speex_codec" = "no"; then 4580 8519 ac_no_speex_codec=1 4581 echo "$as_me: 4581: result: Checking if Speex codec is disabled...yes" >&58520 echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...yes" >&5 4582 8521 echo "${ECHO_T}Checking if Speex codec is disabled...yes" >&6 4583 8522 fi 4584 8523 else 4585 echo "$as_me: 4585: result: Checking if Speex codec is disabled...no" >&58524 echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...no" >&5 4586 8525 echo "${ECHO_T}Checking if Speex codec is disabled...no" >&6 4587 8526 fi; 8527 4588 8528 4589 8529 # Check whether --enable-ilbc-codec or --disable-ilbc-codec was given. … … 4592 8532 if test "$enable_ilbc_codec" = "no"; then 4593 8533 ac_no_ilbc_codec=1 4594 echo "$as_me: 4594: result: Checking if iLBC codec is disabled...yes" >&58534 echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...yes" >&5 4595 8535 echo "${ECHO_T}Checking if iLBC codec is disabled...yes" >&6 4596 8536 fi 4597 8537 else 4598 echo "$as_me: 4598: result: Checking if iLBC codec is disabled...no" >&58538 echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...no" >&5 4599 8539 echo "${ECHO_T}Checking if iLBC codec is disabled...no" >&6 4600 8540 fi; 4601 8541 4602 echo "$as_me:4602: checking if select() needs correct nfds" >&5 8542 8543 8544 8545 8546 # Check whether --enable-ssl or --disable-ssl was given. 8547 if test "${enable_ssl+set}" = set; then 8548 enableval="$enable_ssl" 8549 8550 if test "$enable_ssl" = "no"; then 8551 ac_no_ssl=1 8552 echo "$as_me:$LINENO: result: Checking if SSL support is disabled... yes" >&5 8553 echo "${ECHO_T}Checking if SSL support is disabled... yes" >&6 8554 fi 8555 8556 else 8557 8558 echo "$as_me:$LINENO: result: checking for OpenSSL installations.." >&5 8559 echo "${ECHO_T}checking for OpenSSL installations.." >&6 8560 8561 8562 8563 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 8564 echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 8565 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6 8566 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 8567 echo $ECHO_N "(cached) $ECHO_C" >&6 8568 fi 8569 echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 8570 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6 8571 else 8572 # Is the header compilable? 8573 echo "$as_me:$LINENO: checking openssl/ssl.h usability" >&5 8574 echo $ECHO_N "checking openssl/ssl.h usability... $ECHO_C" >&6 8575 cat >conftest.$ac_ext <<_ACEOF 8576 /* confdefs.h. */ 8577 _ACEOF 8578 cat confdefs.h >>conftest.$ac_ext 8579 cat >>conftest.$ac_ext <<_ACEOF 8580 /* end confdefs.h. */ 8581 $ac_includes_default 8582 #include <openssl/ssl.h> 8583 _ACEOF 8584 rm -f conftest.$ac_objext 8585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8586 (eval $ac_compile) 2>conftest.er1 8587 ac_status=$? 8588 grep -v '^ *+' conftest.er1 >conftest.err 8589 rm -f conftest.er1 8590 cat conftest.err >&5 8591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8592 (exit $ac_status); } && 8593 { ac_try='test -z "$ac_c_werror_flag" 8594 || test ! -s conftest.err' 8595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8596 (eval $ac_try) 2>&5 8597 ac_status=$? 8598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8599 (exit $ac_status); }; } && 8600 { ac_try='test -s conftest.$ac_objext' 8601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8602 (eval $ac_try) 2>&5 8603 ac_status=$? 8604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8605 (exit $ac_status); }; }; then 8606 ac_header_compiler=yes 8607 else 8608 echo "$as_me: failed program was:" >&5 8609 sed 's/^/| /' conftest.$ac_ext >&5 8610 8611 ac_header_compiler=no 8612 fi 8613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8614 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8615 echo "${ECHO_T}$ac_header_compiler" >&6 8616 8617 # Is the header present? 8618 echo "$as_me:$LINENO: checking openssl/ssl.h presence" >&5 8619 echo $ECHO_N "checking openssl/ssl.h presence... $ECHO_C" >&6 8620 cat >conftest.$ac_ext <<_ACEOF 8621 /* confdefs.h. */ 8622 _ACEOF 8623 cat confdefs.h >>conftest.$ac_ext 8624 cat >>conftest.$ac_ext <<_ACEOF 8625 /* end confdefs.h. */ 8626 #include <openssl/ssl.h> 8627 _ACEOF 8628 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 8629 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8630 ac_status=$? 8631 grep -v '^ *+' conftest.er1 >conftest.err 8632 rm -f conftest.er1 8633 cat conftest.err >&5 8634 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8635 (exit $ac_status); } >/dev/null; then 8636 if test -s conftest.err; then 8637 ac_cpp_err=$ac_c_preproc_warn_flag 8638 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 8639 else 8640 ac_cpp_err= 8641 fi 8642 else 8643 ac_cpp_err=yes 8644 fi 8645 if test -z "$ac_cpp_err"; then 8646 ac_header_preproc=yes 8647 else 8648 echo "$as_me: failed program was:" >&5 8649 sed 's/^/| /' conftest.$ac_ext >&5 8650 8651 ac_header_preproc=no 8652 fi 8653 rm -f conftest.err conftest.$ac_ext 8654 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8655 echo "${ECHO_T}$ac_header_preproc" >&6 8656 8657 # So? What about this header? 8658 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8659 yes:no: ) 8660 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5 8661 echo "$as_me: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8662 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&5 8663 echo "$as_me: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&2;} 8664 ac_header_preproc=yes 8665 ;; 8666 no:yes:* ) 8667 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: present but cannot be compiled" >&5 8668 echo "$as_me: WARNING: openssl/ssl.h: present but cannot be compiled" >&2;} 8669 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: check for missing prerequisite headers?" >&5 8670 echo "$as_me: WARNING: openssl/ssl.h: check for missing prerequisite headers?" >&2;} 8671 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: see the Autoconf documentation" >&5 8672 echo "$as_me: WARNING: openssl/ssl.h: see the Autoconf documentation" >&2;} 8673 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&5 8674 echo "$as_me: WARNING: openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&2;} 8675 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&5 8676 echo "$as_me: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&2;} 8677 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&5 8678 echo "$as_me: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&2;} 8679 ( 8680 cat <<\_ASBOX 8681 ## ------------------------------------ ## 8682 ## Report this to the pjproject lists. ## 8683 ## ------------------------------------ ## 8684 _ASBOX 8685 ) | 8686 sed "s/^/$as_me: WARNING: /" >&2 8687 ;; 8688 esac 8689 echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 8690 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6 8691 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 8692 echo $ECHO_N "(cached) $ECHO_C" >&6 8693 else 8694 ac_cv_header_openssl_ssl_h=$ac_header_preproc 8695 fi 8696 echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 8697 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6 8698 8699 fi 8700 if test $ac_cv_header_openssl_ssl_h = yes; then 8701 openssl_h_present=1 8702 fi 8703 8704 8705 echo "$as_me:$LINENO: checking for SSL_library_init in -lssl" >&5 8706 echo $ECHO_N "checking for SSL_library_init in -lssl... $ECHO_C" >&6 8707 if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then 8708 echo $ECHO_N "(cached) $ECHO_C" >&6 8709 else 8710 ac_check_lib_save_LIBS=$LIBS 8711 LIBS="-lssl $LIBS" 8712 cat >conftest.$ac_ext <<_ACEOF 8713 /* confdefs.h. */ 8714 _ACEOF 8715 cat confdefs.h >>conftest.$ac_ext 8716 cat >>conftest.$ac_ext <<_ACEOF 8717 /* end confdefs.h. */ 8718 8719 /* Override any gcc2 internal prototype to avoid an error. */ 8720 #ifdef __cplusplus 8721 extern "C" 8722 #endif 8723 /* We use char because int might match the return type of a gcc2 8724 builtin and then its argument prototype would still apply. */ 8725 char SSL_library_init (); 8726 int 8727 main () 8728 { 8729 SSL_library_init (); 8730 ; 8731 return 0; 8732 } 8733 _ACEOF 8734 rm -f conftest.$ac_objext conftest$ac_exeext 8735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8736 (eval $ac_link) 2>conftest.er1 8737 ac_status=$? 8738 grep -v '^ *+' conftest.er1 >conftest.err 8739 rm -f conftest.er1 8740 cat conftest.err >&5 8741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8742 (exit $ac_status); } && 8743 { ac_try='test -z "$ac_c_werror_flag" 8744 || test ! -s conftest.err' 8745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8746 (eval $ac_try) 2>&5 8747 ac_status=$? 8748 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8749 (exit $ac_status); }; } && 8750 { ac_try='test -s conftest$ac_exeext' 8751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8752 (eval $ac_try) 2>&5 8753 ac_status=$? 8754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8755 (exit $ac_status); }; }; then 8756 ac_cv_lib_ssl_SSL_library_init=yes 8757 else 8758 echo "$as_me: failed program was:" >&5 8759 sed 's/^/| /' conftest.$ac_ext >&5 8760 8761 ac_cv_lib_ssl_SSL_library_init=no 8762 fi 8763 rm -f conftest.err conftest.$ac_objext \ 8764 conftest$ac_exeext conftest.$ac_ext 8765 LIBS=$ac_check_lib_save_LIBS 8766 fi 8767 echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_library_init" >&5 8768 echo "${ECHO_T}$ac_cv_lib_ssl_SSL_library_init" >&6 8769 if test $ac_cv_lib_ssl_SSL_library_init = yes; then 8770 libssl_present=1 && LIBS="$LIBS -lssl" 8771 fi 8772 8773 echo "$as_me:$LINENO: checking for ERR_load_BIO_strings in -lcrypto" >&5 8774 echo $ECHO_N "checking for ERR_load_BIO_strings in -lcrypto... $ECHO_C" >&6 8775 if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then 8776 echo $ECHO_N "(cached) $ECHO_C" >&6 8777 else 8778 ac_check_lib_save_LIBS=$LIBS 8779 LIBS="-lcrypto $LIBS" 8780 cat >conftest.$ac_ext <<_ACEOF 8781 /* confdefs.h. */ 8782 _ACEOF 8783 cat confdefs.h >>conftest.$ac_ext 8784 cat >>conftest.$ac_ext <<_ACEOF 8785 /* end confdefs.h. */ 8786 8787 /* Override any gcc2 internal prototype to avoid an error. */ 8788 #ifdef __cplusplus 8789 extern "C" 8790 #endif 8791 /* We use char because int might match the return type of a gcc2 8792 builtin and then its argument prototype would still apply. */ 8793 char ERR_load_BIO_strings (); 8794 int 8795 main () 8796 { 8797 ERR_load_BIO_strings (); 8798 ; 8799 return 0; 8800 } 8801 _ACEOF 8802 rm -f conftest.$ac_objext conftest$ac_exeext 8803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8804 (eval $ac_link) 2>conftest.er1 8805 ac_status=$? 8806 grep -v '^ *+' conftest.er1 >conftest.err 8807 rm -f conftest.er1 8808 cat conftest.err >&5 8809 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8810 (exit $ac_status); } && 8811 { ac_try='test -z "$ac_c_werror_flag" 8812 || test ! -s conftest.err' 8813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8814 (eval $ac_try) 2>&5 8815 ac_status=$? 8816 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8817 (exit $ac_status); }; } && 8818 { ac_try='test -s conftest$ac_exeext' 8819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8820 (eval $ac_try) 2>&5 8821 ac_status=$? 8822 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8823 (exit $ac_status); }; }; then 8824 ac_cv_lib_crypto_ERR_load_BIO_strings=yes 8825 else 8826 echo "$as_me: failed program was:" >&5 8827 sed 's/^/| /' conftest.$ac_ext >&5 8828 8829 ac_cv_lib_crypto_ERR_load_BIO_strings=no 8830 fi 8831 rm -f conftest.err conftest.$ac_objext \ 8832 conftest$ac_exeext conftest.$ac_ext 8833 LIBS=$ac_check_lib_save_LIBS 8834 fi 8835 echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 8836 echo "${ECHO_T}$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6 8837 if test $ac_cv_lib_crypto_ERR_load_BIO_strings = yes; then 8838 libcrypto_present=1 && LIBS="$LIBS -lcrypto" 8839 fi 8840 8841 if test "x$openssl_h_present" = "x1" -a "x$libssl_present" = "x1" -a "x$libcrypto_present" = "x1"; then 8842 echo "$as_me:$LINENO: result: OpenSSL library found, SSL support enabled" >&5 8843 echo "${ECHO_T}OpenSSL library found, SSL support enabled" >&6 8844 cat >>confdefs.h <<\_ACEOF 8845 #define PJSIP_HAS_TLS_TRANSPORT 1 8846 _ACEOF 8847 8848 else 8849 echo "$as_me:$LINENO: result: ** OpenSSL libraries not found, disabling SSL support **" >&5 8850 echo "${ECHO_T}** OpenSSL libraries not found, disabling SSL support **" >&6 8851 fi 8852 8853 fi; 8854 8855 8856 8857 8858 echo "$as_me:$LINENO: checking if select() needs correct nfds" >&5 4603 8859 echo $ECHO_N "checking if select() needs correct nfds... $ECHO_C" >&6 4604 8860 case $target in 4605 *rtems*) cat >>confdefs.h <<\ EOF8861 *rtems*) cat >>confdefs.h <<\_ACEOF 4606 8862 #define PJ_SELECT_NEEDS_NFDS 1 4607 EOF4608 4609 echo "$as_me: 4609: result: yes" >&58863 _ACEOF 8864 8865 echo "$as_me:$LINENO: result: yes" >&5 4610 8866 echo "${ECHO_T}yes" >&6 4611 8867 ;; 4612 *) cat >>confdefs.h <<\ EOF8868 *) cat >>confdefs.h <<\_ACEOF 4613 8869 #define PJ_SELECT_NEEDS_NFDS 0 4614 EOF4615 4616 echo "$as_me: 4616: result: no (default)" >&58870 _ACEOF 8871 8872 echo "$as_me:$LINENO: result: no (default)" >&5 4617 8873 echo "${ECHO_T}no (default)" >&6 4618 echo "$as_me: 4618: result: ** Decided that select() doesn't need correct nfds (please check)" >&58874 echo "$as_me:$LINENO: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 4619 8875 echo "${ECHO_T}** Decided that select() doesn't need correct nfds (please check)" >&6 4620 8876 ;; 4621 8877 esac 4622 8878 4623 echo "$as_me: 4623: checking if pj_thread_create() should enforce stack size" >&58879 echo "$as_me:$LINENO: checking if pj_thread_create() should enforce stack size" >&5 4624 8880 echo $ECHO_N "checking if pj_thread_create() should enforce stack size... $ECHO_C" >&6 4625 8881 case $target in 4626 *rtems*) cat >>confdefs.h <<\ EOF8882 *rtems*) cat >>confdefs.h <<\_ACEOF 4627 8883 #define PJ_THREAD_SET_STACK_SIZE 1 4628 EOF4629 4630 echo "$as_me: 4630: result: yes" >&58884 _ACEOF 8885 8886 echo "$as_me:$LINENO: result: yes" >&5 4631 8887 echo "${ECHO_T}yes" >&6 4632 8888 ;; 4633 *) cat >>confdefs.h <<\ EOF8889 *) cat >>confdefs.h <<\_ACEOF 4634 8890 #define PJ_THREAD_SET_STACK_SIZE 0 4635 EOF4636 4637 echo "$as_me: 4637: result: no (default)" >&58891 _ACEOF 8892 8893 echo "$as_me:$LINENO: result: no (default)" >&5 4638 8894 echo "${ECHO_T}no (default)" >&6 4639 8895 ;; 4640 8896 esac 4641 8897 4642 echo "$as_me: 4642: checking if pj_thread_create() should allocate stack" >&58898 echo "$as_me:$LINENO: checking if pj_thread_create() should allocate stack" >&5 4643 8899 echo $ECHO_N "checking if pj_thread_create() should allocate stack... $ECHO_C" >&6 4644 8900 case $target in 4645 *rtems*) cat >>confdefs.h <<\ EOF8901 *rtems*) cat >>confdefs.h <<\_ACEOF 4646 8902 #define PJ_THREAD_ALLOCATE_STACK 1 4647 EOF4648 4649 echo "$as_me: 4649: result: yes" >&58903 _ACEOF 8904 8905 echo "$as_me:$LINENO: result: yes" >&5 4650 8906 echo "${ECHO_T}yes" >&6 4651 8907 ;; 4652 *) cat >>confdefs.h <<\ EOF8908 *) cat >>confdefs.h <<\_ACEOF 4653 8909 #define PJ_THREAD_ALLOCATE_STACK 0 4654 EOF4655 4656 echo "$as_me: 4656: result: no (default)" >&58910 _ACEOF 8911 8912 echo "$as_me:$LINENO: result: no (default)" >&5 4657 8913 echo "${ECHO_T}no (default)" >&6 4658 8914 ;; … … 4661 8917 case $target in 4662 8918 *mingw* | *cygw* | *win32* | *w32* ) 4663 cat >>confdefs.h <<\ EOF8919 cat >>confdefs.h <<\_ACEOF 4664 8920 #define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK 4665 EOF8921 _ACEOF 4666 8922 4667 8923 ;; 4668 *) cat >>confdefs.h <<\ EOF8924 *) cat >>confdefs.h <<\_ACEOF 4669 8925 #define PJ_BLOCKING_ERROR_VAL EAGAIN 4670 EOF4671 4672 echo "$as_me: 4672: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&58926 _ACEOF 8927 8928 echo "$as_me:$LINENO: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 4673 8929 echo "${ECHO_T}** Setting non-blocking recv() retval to EAGAIN (please check)" >&6 4674 8930 ;; … … 4677 8933 case $target in 4678 8934 *mingw* | *cygw* | *win32* | *w32* ) 4679 cat >>confdefs.h <<\ EOF8935 cat >>confdefs.h <<\_ACEOF 4680 8936 #define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK 4681 EOF8937 _ACEOF 4682 8938 4683 8939 ;; 4684 *) cat >>confdefs.h <<\ EOF8940 *) cat >>confdefs.h <<\_ACEOF 4685 8941 #define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS 4686 EOF4687 4688 echo "$as_me: 4688: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&58942 _ACEOF 8943 8944 echo "$as_me:$LINENO: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 4689 8945 echo "${ECHO_T}** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6 4690 8946 ;; 4691 8947 esac 4692 8948 8949 8950 8951 4693 8952 if test "$build" = "$host"; then 4694 8953 ac_cross_compile= … … 4699 8958 4700 8959 ac_host=unix 8960 4701 8961 4702 8962 case $target in … … 4719 8979 # the --recheck option to rerun configure. 4720 8980 # 4721 # `ac_cv_env_foo' variables (set or unset) will be overrid en when8981 # `ac_cv_env_foo' variables (set or unset) will be overridden when 4722 8982 # loading this file, other *unset* `ac_cv_foo' will be assigned the 4723 8983 # following values. … … 4737 8997 # substitution turns \\\\ into \\, and sed turns \\ into \). 4738 8998 sed -n \ 4739 4740 8999 "s/'/'\\\\''/g; 9000 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 4741 9001 ;; 4742 9002 *) 4743 9003 # `set' quotes correctly as required by POSIX, so do not add quotes. 4744 9004 sed -n \ 4745 9005 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 4746 9006 ;; 4747 9007 esac; … … 4754 9014 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4755 9015 : end' >>confcache 4756 if cmp -s $cache_file confcache; then :; else9016 if diff $cache_file confcache >/dev/null 2>&1; then :; else 4757 9017 if test -w $cache_file; then 4758 9018 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" … … 4773 9033 # (actually we leave an empty line to preserve line numbers). 4774 9034 if test "x$srcdir" = x.; then 4775 ac_vpsub='/^[ ]*VPATH[]*=/{9035 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 4776 9036 s/:*\$(srcdir):*/:/; 4777 9037 s/:*\${srcdir}:*/:/; 4778 9038 s/:*@srcdir@:*/:/; 4779 s/^\([^=]*=[ 9039 s/^\([^=]*=[ ]*\):*/\1/; 4780 9040 s/:*$//; 4781 s/^[^=]*=[ 9041 s/^[^=]*=[ ]*$//; 4782 9042 }' 4783 9043 fi 4784 9044 4785 9045 DEFS=-DHAVE_CONFIG_H 9046 9047 ac_libobjs= 9048 ac_ltlibobjs= 9049 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 9050 # 1. Remove the extension, and $U if already installed. 9051 ac_i=`echo "$ac_i" | 9052 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 9053 # 2. Add them. 9054 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 9055 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 9056 done 9057 LIBOBJS=$ac_libobjs 9058 9059 LTLIBOBJS=$ac_ltlibobjs 9060 9061 4786 9062 4787 9063 : ${CONFIG_STATUS=./config.status} 4788 9064 ac_clean_files_save=$ac_clean_files 4789 9065 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4790 { echo "$as_me: 4790: creating $CONFIG_STATUS" >&59066 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 4791 9067 echo "$as_me: creating $CONFIG_STATUS" >&6;} 4792 9068 cat >$CONFIG_STATUS <<_ACEOF 4793 9069 #! $SHELL 4794 # Generated automatically by configure.9070 # Generated by $as_me. 4795 9071 # Run this file to recreate the current configuration. 4796 9072 # Compiler output produced by configure, useful for debugging … … 4798 9074 4799 9075 debug=false 9076 ac_cs_recheck=false 9077 ac_cs_silent=false 4800 9078 SHELL=\${CONFIG_SHELL-$SHELL} 4801 ac_cs_invocation="\$0 \$@"4802 4803 9079 _ACEOF 4804 9080 4805 9081 cat >>$CONFIG_STATUS <<\_ACEOF 9082 ## --------------------- ## 9083 ## M4sh Initialization. ## 9084 ## --------------------- ## 9085 4806 9086 # Be Bourne compatible 4807 9087 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 4808 9088 emulate sh 4809 9089 NULLCMD=: 9090 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 9091 # is contrary to our usage. Disable this feature. 9092 alias -g '${1+"$@"}'='"$@"' 4810 9093 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 4811 9094 set -o posix 4812 9095 fi 9096 DUALCASE=1; export DUALCASE # for MKS sh 9097 9098 # Support unset when possible. 9099 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 9100 as_unset=unset 9101 else 9102 as_unset=false 9103 fi 9104 9105 9106 # Work around bugs in pre-3.0 UWIN ksh. 9107 $as_unset ENV MAIL MAILPATH 9108 PS1='$ ' 9109 PS2='> ' 9110 PS4='+ ' 9111 9112 # NLS nuisances. 9113 for as_var in \ 9114 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 9115 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 9116 LC_TELEPHONE LC_TIME 9117 do 9118 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 9119 eval $as_var=C; export $as_var 9120 else 9121 $as_unset $as_var 9122 fi 9123 done 9124 9125 # Required to use basename. 9126 if expr a : '\(a\)' >/dev/null 2>&1; then 9127 as_expr=expr 9128 else 9129 as_expr=false 9130 fi 9131 9132 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 9133 as_basename=basename 9134 else 9135 as_basename=false 9136 fi 9137 4813 9138 4814 9139 # Name of the executable. 4815 as_me=`echo "$0" |sed 's,.*[\\/],,'` 9140 as_me=`$as_basename "$0" || 9141 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 9142 X"$0" : 'X\(//\)$' \| \ 9143 X"$0" : 'X\(/\)$' \| \ 9144 . : '\(.\)' 2>/dev/null || 9145 echo X/"$0" | 9146 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 9147 /^X\/\(\/\/\)$/{ s//\1/; q; } 9148 /^X\/\(\/\).*/{ s//\1/; q; } 9149 s/.*/./; q'` 9150 9151 9152 # PATH needs CR, and LINENO needs CR and PATH. 9153 # Avoid depending upon Character Ranges. 9154 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 9155 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 9156 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 9157 as_cr_digits='0123456789' 9158 as_cr_alnum=$as_cr_Letters$as_cr_digits 9159 9160 # The user is always right. 9161 if test "${PATH_SEPARATOR+set}" != set; then 9162 echo "#! /bin/sh" >conf$$.sh 9163 echo "exit 0" >>conf$$.sh 9164 chmod +x conf$$.sh 9165 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 9166 PATH_SEPARATOR=';' 9167 else 9168 PATH_SEPARATOR=: 9169 fi 9170 rm -f conf$$.sh 9171 fi 9172 9173 9174 as_lineno_1=$LINENO 9175 as_lineno_2=$LINENO 9176 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 9177 test "x$as_lineno_1" != "x$as_lineno_2" && 9178 test "x$as_lineno_3" = "x$as_lineno_2" || { 9179 # Find who we are. Look in the path if we contain no path at all 9180 # relative or not. 9181 case $0 in 9182 *[\\/]* ) as_myself=$0 ;; 9183 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9184 for as_dir in $PATH 9185 do 9186 IFS=$as_save_IFS 9187 test -z "$as_dir" && as_dir=. 9188 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 9189 done 9190 9191 ;; 9192 esac 9193 # We did not find ourselves, most probably we were run as `sh COMMAND' 9194 # in which case we are not to be found in the path. 9195 if test "x$as_myself" = x; then 9196 as_myself=$0 9197 fi 9198 if test ! -f "$as_myself"; then 9199 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 9200 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 9201 { (exit 1); exit 1; }; } 9202 fi 9203 case $CONFIG_SHELL in 9204 '') 9205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9206 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 9207 do 9208 IFS=$as_save_IFS 9209 test -z "$as_dir" && as_dir=. 9210 for as_base in sh bash ksh sh5; do 9211 case $as_dir in 9212 /*) 9213 if ("$as_dir/$as_base" -c ' 9214 as_lineno_1=$LINENO 9215 as_lineno_2=$LINENO 9216 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 9217 test "x$as_lineno_1" != "x$as_lineno_2" && 9218 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 9219 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 9220 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 9221 CONFIG_SHELL=$as_dir/$as_base 9222 export CONFIG_SHELL 9223 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 9224 fi;; 9225 esac 9226 done 9227 done 9228 ;; 9229 esac 9230 9231 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 9232 # uniformly replaced by the line number. The first 'sed' inserts a 9233 # line-number line before each line; the second 'sed' does the real 9234 # work. The second script uses 'N' to pair each line-number line 9235 # with the numbered line, and appends trailing '-' during 9236 # substitution so that $LINENO is not a special case at line end. 9237 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 9238 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 9239 sed '=' <$as_myself | 9240 sed ' 9241 N 9242 s,$,-, 9243 : loop 9244 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 9245 t loop 9246 s,-$,, 9247 s,^['$as_cr_digits']*\n,, 9248 ' >$as_me.lineno && 9249 chmod +x $as_me.lineno || 9250 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 9251 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 9252 { (exit 1); exit 1; }; } 9253 9254 # Don't try to exec as it changes $[0], causing all sort of problems 9255 # (the dirname of $[0] is not the place where we might find the 9256 # original and so on. Autoconf is especially sensible to this). 9257 . ./$as_me.lineno 9258 # Exit status is that of the last command. 9259 exit 9260 } 9261 9262 9263 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 9264 *c*,-n*) ECHO_N= ECHO_C=' 9265 ' ECHO_T=' ' ;; 9266 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 9267 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 9268 esac 4816 9269 4817 9270 if expr a : '\(a\)' >/dev/null 2>&1; then … … 4839 9292 rm -f conf$$ conf$$.exe conf$$.file 4840 9293 9294 if mkdir -p . 2>/dev/null; then 9295 as_mkdir_p=: 9296 else 9297 test -d ./-p && rmdir ./-p 9298 as_mkdir_p=false 9299 fi 9300 4841 9301 as_executable_p="test -f" 4842 9302 4843 # Support unset when possible. 4844 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 4845 as_unset=unset 4846 else 4847 as_unset=false 4848 fi 4849 4850 # NLS nuisances. 4851 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } 4852 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } 4853 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } 4854 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } 4855 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } 4856 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } 4857 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } 4858 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } 9303 # Sed expression to map a string onto a valid CPP name. 9304 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 9305 9306 # Sed expression to map a string onto a valid variable name. 9307 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 9308 4859 9309 4860 9310 # IFS … … 4865 9315 4866 9316 # CDPATH. 4867 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }9317 $as_unset CDPATH 4868 9318 4869 9319 exec 6>&1 4870 9320 9321 # Open the log real soon, to keep \$[0] and so on meaningful, and to 9322 # report actual input values of CONFIG_FILES etc. instead of their 9323 # values after options handling. Logging --version etc. is OK. 9324 exec 5>>config.log 9325 { 9326 echo 9327 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 9328 ## Running $as_me. ## 9329 _ASBOX 9330 } >&5 9331 cat >&5 <<_CSEOF 9332 9333 This file was extended by pjproject $as_me 0.5.8, which was 9334 generated by GNU Autoconf 2.59. Invocation command line was 9335 9336 CONFIG_FILES = $CONFIG_FILES 9337 CONFIG_HEADERS = $CONFIG_HEADERS 9338 CONFIG_LINKS = $CONFIG_LINKS 9339 CONFIG_COMMANDS = $CONFIG_COMMANDS 9340 $ $0 $@ 9341 9342 _CSEOF 9343 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 9344 echo >&5 4871 9345 _ACEOF 4872 9346 … … 4888 9362 fi 4889 9363 4890 cat >>$CONFIG_STATUS <<\ EOF9364 cat >>$CONFIG_STATUS <<\_ACEOF 4891 9365 4892 9366 ac_cs_usage="\ … … 4898 9372 -h, --help print this help, then exit 4899 9373 -V, --version print version number, then exit 9374 -q, --quiet do not print progress messages 4900 9375 -d, --debug don't remove temporary files 4901 9376 --recheck update $as_me by reconfiguring in the same conditions 4902 9377 --file=FILE[:TEMPLATE] 4903 9378 instantiate the configuration file FILE 4904 9379 --header=FILE[:TEMPLATE] 4905 9380 instantiate the configuration header FILE 4906 9381 4907 9382 Configuration files: … … 4912 9387 4913 9388 Report bugs to <bug-autoconf@gnu.org>." 4914 EOF4915 4916 cat >>$CONFIG_STATUS << EOF9389 _ACEOF 9390 9391 cat >>$CONFIG_STATUS <<_ACEOF 4917 9392 ac_cs_version="\\ 4918 9393 pjproject config.status 0.5.8 4919 configured by $0, generated by GNU Autoconf 2.5 2,9394 configured by $0, generated by GNU Autoconf 2.59, 4920 9395 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 4921 9396 4922 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 4923 Free Software Foundation, Inc. 9397 Copyright (C) 2003 Free Software Foundation, Inc. 4924 9398 This config.status script is free software; the Free Software Foundation 4925 9399 gives unlimited permission to copy, distribute and modify it." 4926 9400 srcdir=$srcdir 4927 EOF4928 4929 cat >>$CONFIG_STATUS <<\ EOF9401 _ACEOF 9402 9403 cat >>$CONFIG_STATUS <<\_ACEOF 4930 9404 # If no file are specified by the user, then we need to provide default 4931 9405 # value. By we need to know if files were specified by the user. … … 4937 9411 ac_option=`expr "x$1" : 'x\([^=]*\)='` 4938 9412 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 4939 shift 4940 set dummy "$ac_option" "$ac_optarg" ${1+"$@"} 4941 shift 9413 ac_shift=: 4942 9414 ;; 4943 -*);; 9415 -*) 9416 ac_option=$1 9417 ac_optarg=$2 9418 ac_shift=shift 9419 ;; 4944 9420 *) # This is not an option, so the user has probably given explicit 4945 9421 # arguments. 9422 ac_option=$1 4946 9423 ac_need_defaults=false;; 4947 9424 esac 4948 9425 4949 case $ 1in9426 case $ac_option in 4950 9427 # Handling of the options. 4951 EOF4952 cat >>$CONFIG_STATUS << EOF9428 _ACEOF 9429 cat >>$CONFIG_STATUS <<\_ACEOF 4953 9430 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4954 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" 4955 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; 4956 EOF 4957 cat >>$CONFIG_STATUS <<\EOF 9431 ac_cs_recheck=: ;; 4958 9432 --version | --vers* | -V ) 4959 9433 echo "$ac_cs_version"; exit 0 ;; 4960 9434 --he | --h) 4961 9435 # Conflict between --help and --header 4962 { { echo "$as_me: 4962: error: ambiguous option: $19436 { { echo "$as_me:$LINENO: error: ambiguous option: $1 4963 9437 Try \`$0 --help' for more information." >&5 4964 9438 echo "$as_me: error: ambiguous option: $1 … … 4970 9444 debug=: ;; 4971 9445 --file | --fil | --fi | --f ) 4972 shift4973 CONFIG_FILES="$CONFIG_FILES $ 1"9446 $ac_shift 9447 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 4974 9448 ac_need_defaults=false;; 4975 9449 --header | --heade | --head | --hea ) 4976 shift4977 CONFIG_HEADERS="$CONFIG_HEADERS $ 1"9450 $ac_shift 9451 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 4978 9452 ac_need_defaults=false;; 9453 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 9454 | -silent | --silent | --silen | --sile | --sil | --si | --s) 9455 ac_cs_silent=: ;; 4979 9456 4980 9457 # This is an error. 4981 -*) { { echo "$as_me: 4981: error: unrecognized option: $19458 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 4982 9459 Try \`$0 --help' for more information." >&5 4983 9460 echo "$as_me: error: unrecognized option: $1 … … 4991 9468 done 4992 9469 4993 exec 5>>config.log 4994 cat >&5 << _ACEOF 4995 4996 ## ----------------------- ## 4997 ## Running config.status. ## 4998 ## ----------------------- ## 4999 5000 This file was extended by $as_me (pjproject 0.5.8) 2.52, executed with 5001 CONFIG_FILES = $CONFIG_FILES 5002 CONFIG_HEADERS = $CONFIG_HEADERS 5003 CONFIG_LINKS = $CONFIG_LINKS 5004 CONFIG_COMMANDS = $CONFIG_COMMANDS 5005 > $ac_cs_invocation 5006 on `(hostname || uname -n) 2>/dev/null | sed 1q` 5007 5008 _ACEOF 5009 EOF 5010 5011 cat >>$CONFIG_STATUS <<\EOF 9470 ac_configure_extra_args= 9471 9472 if $ac_cs_silent; then 9473 exec 6>/dev/null 9474 ac_configure_extra_args="$ac_configure_extra_args --silent" 9475 fi 9476 9477 _ACEOF 9478 cat >>$CONFIG_STATUS <<_ACEOF 9479 if \$ac_cs_recheck; then 9480 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 9481 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 9482 fi 9483 9484 _ACEOF 9485 9486 9487 9488 9489 9490 cat >>$CONFIG_STATUS <<\_ACEOF 5012 9491 for ac_config_target in $ac_config_targets 5013 9492 do … … 5022 9501 "pjlib/include/pj/compat/os_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 5023 9502 "pjlib/include/pj/compat/m_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 5024 *) { { echo "$as_me:5024: error: invalid argument: $ac_config_target" >&5 9503 "pjsip/include/pjsip/sip_autoconf.h" ) CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;; 9504 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 5025 9505 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 5026 9506 { (exit 1); exit 1; }; };; … … 5037 9517 fi 5038 9518 9519 # Have a temporary directory for convenience. Make it in the build tree 9520 # simply because there is no reason to put it here, and in addition, 9521 # creating and moving files from /tmp can sometimes cause problems. 5039 9522 # Create a temporary directory, and hook for its removal unless debugging. 5040 9523 $debug || … … 5045 9528 5046 9529 # Create a (secure) tmp directory for tmp files. 5047 : ${TMPDIR=/tmp} 9530 5048 9531 { 5049 tmp=`(umask 077 && mktemp -d -q " $TMPDIR/csXXXXXX") 2>/dev/null` &&9532 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 5050 9533 test -n "$tmp" && test -d "$tmp" 5051 9534 } || 5052 9535 { 5053 tmp= $TMPDIR/cs$$-$RANDOM9536 tmp=./confstat$$-$RANDOM 5054 9537 (umask 077 && mkdir $tmp) 5055 9538 } || 5056 9539 { 5057 echo "$me: cannot create a temporary directory in $TMPDIR" >&29540 echo "$me: cannot create a temporary directory in ." >&2 5058 9541 { (exit 1); exit 1; } 5059 9542 } 5060 9543 5061 EOF5062 5063 cat >>$CONFIG_STATUS << EOF9544 _ACEOF 9545 9546 cat >>$CONFIG_STATUS <<_ACEOF 5064 9547 5065 9548 # … … 5074 9557 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 5075 9558 s,@SHELL@,$SHELL,;t t 9559 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 9560 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 9561 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 9562 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 9563 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 9564 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 5076 9565 s,@exec_prefix@,$exec_prefix,;t t 5077 9566 s,@prefix@,$prefix,;t t … … 5089 9578 s,@infodir@,$infodir,;t t 5090 9579 s,@mandir@,$mandir,;t t 5091 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t5092 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t5093 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t5094 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t5095 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t5096 9580 s,@build_alias@,$build_alias,;t t 5097 9581 s,@host_alias@,$host_alias,;t t 5098 9582 s,@target_alias@,$target_alias,;t t 9583 s,@DEFS@,$DEFS,;t t 5099 9584 s,@ECHO_C@,$ECHO_C,;t t 5100 9585 s,@ECHO_N@,$ECHO_N,;t t 5101 9586 s,@ECHO_T@,$ECHO_T,;t t 5102 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t5103 s,@DEFS@,$DEFS,;t t5104 9587 s,@LIBS@,$LIBS,;t t 5105 9588 s,@build@,$build,;t t … … 5126 9609 s,@ac_ct_CXX@,$ac_ct_CXX,;t t 5127 9610 s,@CPP@,$CPP,;t t 9611 s,@EGREP@,$EGREP,;t t 5128 9612 s,@ac_os_objs@,$ac_os_objs,;t t 5129 9613 s,@ac_pjmedia_snd@,$ac_pjmedia_snd,;t t … … 5139 9623 s,@ac_no_speex_codec@,$ac_no_speex_codec,;t t 5140 9624 s,@ac_no_ilbc_codec@,$ac_no_ilbc_codec,;t t 9625 s,@ac_no_ssl@,$ac_no_ssl,;t t 9626 s,@openssl_h_present@,$openssl_h_present,;t t 9627 s,@libssl_present@,$libssl_present,;t t 9628 s,@libcrypto_present@,$libcrypto_present,;t t 5141 9629 s,@ac_cross_compile@,$ac_cross_compile,;t t 5142 9630 s,@ac_linux_poll@,$ac_linux_poll,;t t 5143 9631 s,@ac_host@,$ac_host,;t t 5144 9632 s,@ac_main_obj@,$ac_main_obj,;t t 9633 s,@LIBOBJS@,$LIBOBJS,;t t 9634 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 5145 9635 CEOF 5146 9636 5147 EOF5148 5149 cat >>$CONFIG_STATUS <<\ EOF9637 _ACEOF 9638 9639 cat >>$CONFIG_STATUS <<\_ACEOF 5150 9640 # Split the substitutions into bite-sized pieces for seds with 5151 9641 # small command number limits, like on Digital OSF/1 and HP-UX. … … 5172 9662 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 5173 9663 if test -z "$ac_sed_cmds"; then 5174 9664 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 5175 9665 else 5176 9666 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 5177 9667 fi 5178 9668 ac_sed_frag=`expr $ac_sed_frag + 1` … … 5186 9676 fi # test -n "$CONFIG_FILES" 5187 9677 5188 EOF5189 cat >>$CONFIG_STATUS <<\ EOF9678 _ACEOF 9679 cat >>$CONFIG_STATUS <<\_ACEOF 5190 9680 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 5191 9681 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 5192 9682 case $ac_file in 5193 9683 - | *:- | *:-:* ) # input from stdin 5194 5195 5196 9684 cat >$tmp/stdin 9685 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 9686 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 5197 9687 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 5198 9688 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 5199 9689 * ) ac_file_in=$ac_file.in ;; 5200 9690 esac 5201 9691 5202 9692 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 5203 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5204 X"$ac_file" : 'X\(//\)[^/]' \| \ 5205 X"$ac_file" : 'X\(//\)$' \| \ 5206 X"$ac_file" : 'X\(/\)' \| \ 5207 . : '\(.\)' 2>/dev/null || 9693 ac_dir=`(dirname "$ac_file") 2>/dev/null || 9694 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9695 X"$ac_file" : 'X\(//\)[^/]' \| \ 9696 X"$ac_file" : 'X\(//\)$' \| \ 9697 X"$ac_file" : 'X\(/\)' \| \ 9698 . : '\(.\)' 2>/dev/null || 5208 9699 echo X"$ac_file" | 5209 9700 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 5212 9703 /^X\(\/\).*/{ s//\1/; q; } 5213 9704 s/.*/./; q'` 5214 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 5215 { case "$ac_dir" in 5216 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 5217 *) as_incr_dir=.;; 9705 { if $as_mkdir_p; then 9706 mkdir -p "$ac_dir" 9707 else 9708 as_dir="$ac_dir" 9709 as_dirs= 9710 while test ! -d "$as_dir"; do 9711 as_dirs="$as_dir $as_dirs" 9712 as_dir=`(dirname "$as_dir") 2>/dev/null || 9713 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9714 X"$as_dir" : 'X\(//\)[^/]' \| \ 9715 X"$as_dir" : 'X\(//\)$' \| \ 9716 X"$as_dir" : 'X\(/\)' \| \ 9717 . : '\(.\)' 2>/dev/null || 9718 echo X"$as_dir" | 9719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 9720 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 9721 /^X\(\/\/\)$/{ s//\1/; q; } 9722 /^X\(\/\).*/{ s//\1/; q; } 9723 s/.*/./; q'` 9724 done 9725 test ! -n "$as_dirs" || mkdir $as_dirs 9726 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 9727 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 9728 { (exit 1); exit 1; }; }; } 9729 9730 ac_builddir=. 9731 9732 if test "$ac_dir" != .; then 9733 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 9734 # A "../" for each directory in $ac_dir_suffix. 9735 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 9736 else 9737 ac_dir_suffix= ac_top_builddir= 9738 fi 9739 9740 case $srcdir in 9741 .) # No --srcdir option. We are building in place. 9742 ac_srcdir=. 9743 if test -z "$ac_top_builddir"; then 9744 ac_top_srcdir=. 9745 else 9746 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 9747 fi ;; 9748 [\\/]* | ?:[\\/]* ) # Absolute path. 9749 ac_srcdir=$srcdir$ac_dir_suffix; 9750 ac_top_srcdir=$srcdir ;; 9751 *) # Relative path. 9752 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 9753 ac_top_srcdir=$ac_top_builddir$srcdir ;; 5218 9754 esac 5219 as_dummy="$ac_dir" 5220 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 5221 case $as_mkdir_dir in 5222 # Skip DOS drivespec 5223 ?:) as_incr_dir=$as_mkdir_dir ;; 5224 *) 5225 as_incr_dir=$as_incr_dir/$as_mkdir_dir 5226 test -d "$as_incr_dir" || mkdir "$as_incr_dir" 5227 ;; 5228 esac 5229 done; } 5230 5231 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`" 5232 # A "../" for each directory in $ac_dir_suffix. 5233 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'` 5234 else 5235 ac_dir_suffix= ac_dots= 5236 fi 5237 5238 case $srcdir in 5239 .) ac_srcdir=. 5240 if test -z "$ac_dots"; then 5241 ac_top_srcdir=. 5242 else 5243 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` 5244 fi ;; 5245 [\\/]* | ?:[\\/]* ) 5246 ac_srcdir=$srcdir$ac_dir_suffix; 5247 ac_top_srcdir=$srcdir ;; 5248 *) # Relative path. 5249 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix 5250 ac_top_srcdir=$ac_dots$srcdir ;; 5251 esac 9755 9756 # Do not use `cd foo && pwd` to compute absolute paths, because 9757 # the directories may not exist. 9758 case `pwd` in 9759 .) ac_abs_builddir="$ac_dir";; 9760 *) 9761 case "$ac_dir" in 9762 .) ac_abs_builddir=`pwd`;; 9763 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 9764 *) ac_abs_builddir=`pwd`/"$ac_dir";; 9765 esac;; 9766 esac 9767 case $ac_abs_builddir in 9768 .) ac_abs_top_builddir=${ac_top_builddir}.;; 9769 *) 9770 case ${ac_top_builddir}. in 9771 .) ac_abs_top_builddir=$ac_abs_builddir;; 9772 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 9773 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 9774 esac;; 9775 esac 9776 case $ac_abs_builddir in 9777 .) ac_abs_srcdir=$ac_srcdir;; 9778 *) 9779 case $ac_srcdir in 9780 .) ac_abs_srcdir=$ac_abs_builddir;; 9781 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 9782 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 9783 esac;; 9784 esac 9785 case $ac_abs_builddir in 9786 .) ac_abs_top_srcdir=$ac_top_srcdir;; 9787 *) 9788 case $ac_top_srcdir in 9789 .) ac_abs_top_srcdir=$ac_abs_builddir;; 9790 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 9791 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 9792 esac;; 9793 esac 9794 9795 5252 9796 5253 9797 if test x"$ac_file" != x-; then 5254 { echo "$as_me: 5254: creating $ac_file" >&59798 { echo "$as_me:$LINENO: creating $ac_file" >&5 5255 9799 echo "$as_me: creating $ac_file" >&6;} 5256 9800 rm -f "$ac_file" … … 5258 9802 # Let's still pretend it is `configure' which instantiates (i.e., don't 5259 9803 # use $as_me), people would be surprised to read: 5260 # /* config.h. Generated automatically by config.status. */ 5261 configure_input="Generated automatically from `echo $ac_file_in | 5262 sed 's,.*/,,'` by configure." 9804 # /* config.h. Generated by config.status. */ 9805 if test x"$ac_file" = x-; then 9806 configure_input= 9807 else 9808 configure_input="$ac_file. " 9809 fi 9810 configure_input=$configure_input"Generated from `echo $ac_file_in | 9811 sed 's,.*/,,'` by configure." 5263 9812 5264 9813 # First look for the input files in the build tree, otherwise in the … … 5269 9818 -) echo $tmp/stdin ;; 5270 9819 [\\/$]*) 5271 5272 test -f "$f" || { { echo "$as_me:5272: error: cannot find input file: $f" >&59820 # Absolute (can't be DOS-style, as IFS=:) 9821 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 5273 9822 echo "$as_me: error: cannot find input file: $f" >&2;} 5274 9823 { (exit 1); exit 1; }; } 5275 echo $f;;9824 echo "$f";; 5276 9825 *) # Relative 5277 5278 5279 echo $f 5280 5281 5282 echo $srcdir/$f 5283 5284 5285 { { echo "$as_me:5285: error: cannot find input file: $f" >&59826 if test -f "$f"; then 9827 # Build tree 9828 echo "$f" 9829 elif test -f "$srcdir/$f"; then 9830 # Source tree 9831 echo "$srcdir/$f" 9832 else 9833 # /dev/null tree 9834 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 5286 9835 echo "$as_me: error: cannot find input file: $f" >&2;} 5287 9836 { (exit 1); exit 1; }; } 5288 9837 fi;; 5289 9838 esac 5290 9839 done` || { (exit 1); exit 1; } 5291 EOF5292 cat >>$CONFIG_STATUS << EOF9840 _ACEOF 9841 cat >>$CONFIG_STATUS <<_ACEOF 5293 9842 sed "$ac_vpsub 5294 9843 $extrasub 5295 EOF5296 cat >>$CONFIG_STATUS <<\ EOF9844 _ACEOF 9845 cat >>$CONFIG_STATUS <<\_ACEOF 5297 9846 :t 5298 9847 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 5299 9848 s,@configure_input@,$configure_input,;t t 5300 9849 s,@srcdir@,$ac_srcdir,;t t 9850 s,@abs_srcdir@,$ac_abs_srcdir,;t t 5301 9851 s,@top_srcdir@,$ac_top_srcdir,;t t 9852 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 9853 s,@builddir@,$ac_builddir,;t t 9854 s,@abs_builddir@,$ac_abs_builddir,;t t 9855 s,@top_builddir@,$ac_top_builddir,;t t 9856 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 5302 9857 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 5303 9858 rm -f $tmp/stdin … … 5310 9865 5311 9866 done 5312 EOF5313 cat >>$CONFIG_STATUS <<\ EOF9867 _ACEOF 9868 cat >>$CONFIG_STATUS <<\_ACEOF 5314 9869 5315 9870 # … … 5321 9876 # 5322 9877 # ac_d sets the value in "#define NAME VALUE" lines. 5323 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][]*\)'5324 ac_dB='[ 9878 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 9879 ac_dB='[ ].*$,\1#\2' 5325 9880 ac_dC=' ' 5326 9881 ac_dD=',;t' 5327 9882 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 5328 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][]*\)'9883 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 5329 9884 ac_uB='$,\1#\2define\3' 5330 9885 ac_uC=' ' … … 5335 9890 case $ac_file in 5336 9891 - | *:- | *:-:* ) # input from stdin 5337 5338 5339 9892 cat >$tmp/stdin 9893 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 9894 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 5340 9895 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 5341 9896 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 5342 9897 * ) ac_file_in=$ac_file.in ;; 5343 9898 esac 5344 9899 5345 test x"$ac_file" != x- && { echo "$as_me: 5345: creating $ac_file" >&59900 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 5346 9901 echo "$as_me: creating $ac_file" >&6;} 5347 9902 … … 5353 9908 -) echo $tmp/stdin ;; 5354 9909 [\\/$]*) 5355 5356 test -f "$f" || { { echo "$as_me:5356: error: cannot find input file: $f" >&59910 # Absolute (can't be DOS-style, as IFS=:) 9911 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 5357 9912 echo "$as_me: error: cannot find input file: $f" >&2;} 5358 9913 { (exit 1); exit 1; }; } 5359 echo $f;; 9914 # Do quote $f, to prevent DOS paths from being IFS'd. 9915 echo "$f";; 5360 9916 *) # Relative 5361 5362 5363 echo $f 5364 5365 5366 echo $srcdir/$f 5367 5368 5369 { { echo "$as_me:5369: error: cannot find input file: $f" >&59917 if test -f "$f"; then 9918 # Build tree 9919 echo "$f" 9920 elif test -f "$srcdir/$f"; then 9921 # Source tree 9922 echo "$srcdir/$f" 9923 else 9924 # /dev/null tree 9925 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 5370 9926 echo "$as_me: error: cannot find input file: $f" >&2;} 5371 9927 { (exit 1); exit 1; }; } 5372 9928 fi;; 5373 9929 esac 5374 9930 done` || { (exit 1); exit 1; } 5375 9931 # Remove the trailing spaces. 5376 sed 's/[ 5377 5378 EOF9932 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 9933 9934 _ACEOF 5379 9935 5380 9936 # Transform confdefs.h into two sed scripts, `conftest.defines' and … … 5392 9948 # 0-ary CPP macros) applies to n-ary macro definitions. 5393 9949 # See the Autoconf documentation for `clear'. 5394 cat >confdef2sed.sed <<\ EOF9950 cat >confdef2sed.sed <<\_ACEOF 5395 9951 s/[\\&,]/\\&/g 5396 9952 s,[\\$`],\\&,g 5397 9953 t clear 5398 9954 : clear 5399 s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp9955 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 5400 9956 t end 5401 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp9957 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 5402 9958 : end 5403 EOF9959 _ACEOF 5404 9960 # If some macros were called several times there might be several times 5405 9961 # the same #defines, which is useless. Nevertheless, we may not want to … … 5412 9968 # example, in the case of _POSIX_SOURCE, which is predefined and required 5413 9969 # on some systems where configure will not decide to define it. 5414 cat >>conftest.undefs <<\ EOF5415 s,^[ ]*#[ ]*undef[ ][]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,5416 EOF9970 cat >>conftest.undefs <<\_ACEOF 9971 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 9972 _ACEOF 5417 9973 5418 9974 # Break up conftest.defines because some shells have a limit on the size 5419 9975 # of here documents, and old seds have small limits too (100 cmds). 5420 9976 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 5421 echo ' if egrep "^[ ]*#[]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS9977 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 5422 9978 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 5423 9979 echo ' :' >>$CONFIG_STATUS … … 5428 9984 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 5429 9985 # Speed up: don't consider the non `#define' lines. 5430 echo '/^[ ]*#[]*define/!b' >>$CONFIG_STATUS9986 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 5431 9987 # Work around the forget-to-reset-the-flag bug. 5432 9988 echo 't clr' >>$CONFIG_STATUS … … 5443 9999 done 5444 10000 rm -f conftest.defines 5445 echo ' fi # egrep' >>$CONFIG_STATUS10001 echo ' fi # grep' >>$CONFIG_STATUS 5446 10002 echo >>$CONFIG_STATUS 5447 10003 … … 5455 10011 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 5456 10012 # Speed up: don't consider the non `#undef' 5457 echo '/^[ ]*#[]*undef/!b' >>$CONFIG_STATUS10013 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 5458 10014 # Work around the forget-to-reset-the-flag bug. 5459 10015 echo 't clr' >>$CONFIG_STATUS … … 5471 10027 rm -f conftest.undefs 5472 10028 5473 cat >>$CONFIG_STATUS <<\ EOF10029 cat >>$CONFIG_STATUS <<\_ACEOF 5474 10030 # Let's still pretend it is `configure' which instantiates (i.e., don't 5475 10031 # use $as_me), people would be surprised to read: 5476 # /* config.h. Generated automaticallyby config.status. */10032 # /* config.h. Generated by config.status. */ 5477 10033 if test x"$ac_file" = x-; then 5478 echo "/* Generated automaticallyby configure. */" >$tmp/config.h10034 echo "/* Generated by configure. */" >$tmp/config.h 5479 10035 else 5480 echo "/* $ac_file. Generated automaticallyby configure. */" >$tmp/config.h10036 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 5481 10037 fi 5482 10038 cat $tmp/in >>$tmp/config.h 5483 10039 rm -f $tmp/in 5484 10040 if test x"$ac_file" != x-; then 5485 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then5486 { echo "$as_me: 5486: $ac_file is unchanged" >&510041 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 10042 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 5487 10043 echo "$as_me: $ac_file is unchanged" >&6;} 5488 10044 else 5489 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5490 X"$ac_file" : 'X\(//\)[^/]' \| \ 5491 X"$ac_file" : 'X\(//\)$' \| \ 5492 X"$ac_file" : 'X\(/\)' \| \ 5493 . : '\(.\)' 2>/dev/null || 10045 ac_dir=`(dirname "$ac_file") 2>/dev/null || 10046 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10047 X"$ac_file" : 'X\(//\)[^/]' \| \ 10048 X"$ac_file" : 'X\(//\)$' \| \ 10049 X"$ac_file" : 'X\(/\)' \| \ 10050 . : '\(.\)' 2>/dev/null || 5494 10051 echo X"$ac_file" | 5495 10052 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 5498 10055 /^X\(\/\).*/{ s//\1/; q; } 5499 10056 s/.*/./; q'` 5500 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 5501 { case "$ac_dir" in 5502 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 5503 *) as_incr_dir=.;; 5504 esac 5505 as_dummy="$ac_dir" 5506 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 5507 case $as_mkdir_dir in 5508 # Skip DOS drivespec 5509 ?:) as_incr_dir=$as_mkdir_dir ;; 5510 *) 5511 as_incr_dir=$as_incr_dir/$as_mkdir_dir 5512 test -d "$as_incr_dir" || mkdir "$as_incr_dir" 5513 ;; 5514 esac 5515 done; } 5516 5517 fi 10057 { if $as_mkdir_p; then 10058 mkdir -p "$ac_dir" 10059 else 10060 as_dir="$ac_dir" 10061 as_dirs= 10062 while test ! -d "$as_dir"; do 10063 as_dirs="$as_dir $as_dirs" 10064 as_dir=`(dirname "$as_dir") 2>/dev/null || 10065 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10066 X"$as_dir" : 'X\(//\)[^/]' \| \ 10067 X"$as_dir" : 'X\(//\)$' \| \ 10068 X"$as_dir" : 'X\(/\)' \| \ 10069 . : '\(.\)' 2>/dev/null || 10070 echo X"$as_dir" | 10071 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 10072 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 10073 /^X\(\/\/\)$/{ s//\1/; q; } 10074 /^X\(\/\).*/{ s//\1/; q; } 10075 s/.*/./; q'` 10076 done 10077 test ! -n "$as_dirs" || mkdir $as_dirs 10078 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 10079 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 10080 { (exit 1); exit 1; }; }; } 10081 5518 10082 rm -f $ac_file 5519 10083 mv $tmp/config.h $ac_file … … 5524 10088 fi 5525 10089 done 5526 EOF5527 5528 cat >>$CONFIG_STATUS <<\ EOF10090 _ACEOF 10091 10092 cat >>$CONFIG_STATUS <<\_ACEOF 5529 10093 5530 10094 { (exit 0); exit 0; } 5531 EOF10095 _ACEOF 5532 10096 chmod +x $CONFIG_STATUS 5533 10097 ac_clean_files=$ac_clean_files_save 10098 5534 10099 5535 10100 # configure is writing to config.log, and then calls config.status. … … 5543 10108 if test "$no_create" != yes; then 5544 10109 ac_cs_success=: 10110 ac_config_status_args= 10111 test "$silent" = yes && 10112 ac_config_status_args="$ac_config_status_args --quiet" 5545 10113 exec 5>/dev/null 5546 $SHELL $CONFIG_STATUS || ac_cs_success=false10114 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 5547 10115 exec 5>>config.log 5548 10116 # Use ||, not &&, to avoid exiting from the if with $? = 1, which … … 5551 10119 fi 5552 10120 10121 -
pjproject/trunk/aconfigure.ac
r770 r862 8 8 AC_CONFIG_HEADER([pjlib/include/pj/compat/os_auto.h 9 9 pjlib/include/pj/compat/m_auto.h 10 pjsip/include/pjsip/sip_autoconf.h 10 11 ]) 11 12 AC_CONFIG_FILES([build.mak … … 386 387 dnl ########################################## 387 388 dnl # 389 dnl # PJSIP CONFIG 390 dnl # 391 392 dnl # Include SSL support 393 AC_SUBST(ac_no_ssl) 394 AC_ARG_ENABLE(ssl, 395 [ 396 AC_HELP_STRING([--disable-ssl], 397 [Exclude SSL support the build (default: autodetect)]) 398 ], 399 [ 400 if test "$enable_ssl" = "no"; then 401 [ac_no_ssl=1] 402 AC_MSG_RESULT([Checking if SSL support is disabled... yes]) 403 fi 404 ], 405 [ 406 AC_MSG_RESULT([checking for OpenSSL installations..]) 407 AC_SUBST(openssl_h_present) 408 AC_SUBST(libssl_present) 409 AC_SUBST(libcrypto_present) 410 AC_CHECK_HEADER(openssl/ssl.h,[openssl_h_present=1]) 411 AC_CHECK_LIB(ssl,SSL_library_init,[libssl_present=1 && LIBS="$LIBS -lssl"]) 412 AC_CHECK_LIB(crypto,ERR_load_BIO_strings,[libcrypto_present=1 && LIBS="$LIBS -lcrypto"]) 413 if test "x$openssl_h_present" = "x1" -a "x$libssl_present" = "x1" -a "x$libcrypto_present" = "x1"; then 414 AC_MSG_RESULT([OpenSSL library found, SSL support enabled]) 415 AC_DEFINE(PJSIP_HAS_TLS_TRANSPORT, 1) 416 else 417 AC_MSG_RESULT([** OpenSSL libraries not found, disabling SSL support **]) 418 fi 419 ]) 420 421 422 dnl ########################################## 423 dnl # 388 424 dnl # MANUAL CONFIG 389 425 dnl # -
pjproject/trunk/pjsip/build/Makefile
r797 r862 46 46 sip_endpoint.o sip_util.o sip_util_proxy.o \ 47 47 sip_resolve.o sip_transport.o sip_transport_loop.o \ 48 sip_transport_udp.o sip_transport_tcp.o \48 sip_transport_udp.o sip_transport_tcp.o sip_transport_tls_ossl.o \ 49 49 sip_auth_client.o sip_auth_msg.o sip_auth_parser.o \ 50 50 sip_auth_server.o \ -
pjproject/trunk/pjsip/include/pjsip
-
Property
svn:ignore
set to
sip_autoconf.h
-
Property
svn:ignore
set to
-
pjproject/trunk/pjsip/include/pjsip/sip_config.h
r861 r862 56 56 * @{ 57 57 */ 58 59 /* 60 * Include sip_autoconf.h if autoconf is used (PJ_AUTOCONF is set) 61 */ 62 #if defined(PJ_AUTOCONF) 63 # include <pjsip/sip_autoconf.h> 64 #endif 65 58 66 59 67 /**
Note: See TracChangeset
for help on using the changeset viewer.