Changeset 698 for pjproject/trunk
- Timestamp:
- Sep 10, 2006 8:53:59 AM (18 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r697 r698 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.59for pjproject 0.5.8.3 # Generated by Autoconf 2.52 for pjproject 0.5.8. 4 4 # 5 # Copyright (C) 2003 Free Software Foundation, Inc. 5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 6 # Free Software Foundation, Inc. 6 7 # This configure script is free software; the Free Software Foundation 7 8 # gives unlimited permission to copy, distribute and modify it. 8 ## --------------------- ## 9 ## M4sh Initialization. ## 10 ## --------------------- ## 11 12 # Be Bourne compatible 13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14 emulate sh 15 NULLCMD=: 16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 17 # is contrary to our usage. Disable this feature. 18 alias -g '${1+"$@"}'='"$@"' 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 24 # Support unset when possible. 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27 else 28 as_unset=false 29 fi 30 31 32 # Work around bugs in pre-3.0 UWIN ksh. 33 $as_unset ENV MAIL MAILPATH 34 PS1='$ ' 35 PS2='> ' 36 PS4='+ ' 37 38 # NLS nuisances. 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43 do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54 else 55 as_expr=false 56 fi 57 58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60 else 61 as_basename=false 62 fi 63 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 9 79 10 # Avoid depending upon Character Ranges. 80 11 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 84 15 as_cr_alnum=$as_cr_Letters$as_cr_digits 85 16 86 # The user is always right. 87 if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97 fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110 for as_dir in $PATH 111 do 112 IFS=$as_save_IFS 113 test -z "$as_dir" && as_dir=. 114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 132 do 133 IFS=$as_save_IFS 134 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 137 /*) 138 if ("$as_dir/$as_base" -c ' 139 as_lineno_1=$LINENO 140 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 142 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 155 156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 165 sed ' 166 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 170 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 173 ' >$as_me.lineno && 174 chmod +x $as_me.lineno || 175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 { (exit 1); exit 1; }; } 177 178 # Don't try to exec as it changes $[0], causing all sort of problems 179 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensible to this). 181 . ./$as_me.lineno 182 # Exit status is that of the last command. 183 exit 184 } 185 186 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 192 esac 17 # Sed expression to map a string onto a valid variable name. 18 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 19 20 # Sed expression to map a string onto a valid CPP name. 21 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 22 23 # Be Bourne compatible 24 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 25 emulate sh 26 NULLCMD=: 27 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 28 set -o posix 29 fi 30 31 # Name of the executable. 32 as_me=`echo "$0" |sed 's,.*[\\/],,'` 193 33 194 34 if expr a : '\(a\)' >/dev/null 2>&1; then … … 216 56 rm -f conf$$ conf$$.exe conf$$.file 217 57 218 if mkdir -p . 2>/dev/null; then219 as_mkdir_p=:220 else221 test -d ./-p && rmdir ./-p222 as_mkdir_p=false223 fi224 225 58 as_executable_p="test -f" 226 59 227 # Sed expression to map a string onto a valid CPP name. 228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 229 230 # Sed expression to map a string onto a valid variable name. 231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 232 60 # Support unset when possible. 61 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 62 as_unset=unset 63 else 64 as_unset=false 65 fi 66 67 # NLS nuisances. 68 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } 69 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } 70 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } 71 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } 72 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } 73 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } 74 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } 75 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } 233 76 234 77 # IFS … … 239 82 240 83 # CDPATH. 241 $as_unset CDPATH 242 84 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 243 85 244 86 # Name of the host. … … 253 95 # 254 96 ac_default_prefix=/usr/local 255 ac_config_libobj_dir=.256 97 cross_compiling=no 257 98 subdirs= 258 MFLAGS= 259 MAKEFLAGS= 99 MFLAGS= MAKEFLAGS= 260 100 SHELL=${CONFIG_SHELL-/bin/sh} 261 101 … … 264 104 # only ac_max_sed_lines should be used. 265 105 : ${ac_max_here_lines=38} 266 267 # Identity of this package.268 PACKAGE_NAME='pjproject'269 PACKAGE_TARNAME='pjproject'270 PACKAGE_VERSION='0.5.8'271 PACKAGE_STRING='pjproject 0.5.8'272 PACKAGE_BUGREPORT=''273 274 # Factoring default headers for most tests.275 ac_includes_default="\276 #include <stdio.h>277 #if HAVE_SYS_TYPES_H278 # include <sys/types.h>279 #endif280 #if HAVE_SYS_STAT_H281 # include <sys/stat.h>282 #endif283 #if STDC_HEADERS284 # include <stdlib.h>285 # include <stddef.h>286 #else287 # if HAVE_STDLIB_H288 # include <stdlib.h>289 # endif290 #endif291 #if HAVE_STRING_H292 # if !STDC_HEADERS && HAVE_MEMORY_H293 # include <memory.h>294 # endif295 # include <string.h>296 #endif297 #if HAVE_STRINGS_H298 # include <strings.h>299 #endif300 #if HAVE_INTTYPES_H301 # include <inttypes.h>302 #else303 # if HAVE_STDINT_H304 # include <stdint.h>305 # endif306 #endif307 #if HAVE_UNISTD_H308 # include <unistd.h>309 #endif"310 311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX ac_bigendian CPP EGREP ac_pjmedia_snd ac_pa_use_alsa ac_no_small_filter ac_no_large_filter ac_no_g711_plc ac_no_speex_aec ac_no_g711_codec ac_no_l16_codec ac_no_gsm_codec ac_no_speex_codec ac_no_ilbc_codec ac_cross_compile ac_linux_poll ac_host ac_main_obj LIBOBJS LTLIBOBJS'312 ac_subst_files=''313 106 314 107 # Initialize some variables set by options. … … 350 143 mandir='${prefix}/man' 351 144 145 # Identity of this package. 146 PACKAGE_NAME='pjproject' 147 PACKAGE_TARNAME='pjproject' 148 PACKAGE_VERSION='0.5.8' 149 PACKAGE_STRING='pjproject 0.5.8' 150 PACKAGE_BUGREPORT='' 151 352 152 ac_prev= 353 153 for ac_option … … 482 282 483 283 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 484 | --no-cr | --no-c | -n)284 | --no-cr | --no-c) 485 285 no_create=yes ;; 486 286 … … 661 461 case $ac_val in 662 462 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 663 *) { echo "$as_me: error: expected an absolute directory namefor --$ac_var: $ac_val" >&2463 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 664 464 { (exit 1); exit 1; }; };; 665 465 esac … … 668 468 # Be sure to have absolute paths. 669 469 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 670 470 localstatedir libdir includedir oldincludedir infodir mandir 671 471 do 672 472 eval ac_val=$`echo $ac_var` 673 473 case $ac_val in 674 474 [\\/$]* | ?:[\\/]* ) ;; 675 *) { echo "$as_me: error: expected an absolute directory namefor --$ac_var: $ac_val" >&2475 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 676 476 { (exit 1); exit 1; }; };; 677 477 esac … … 680 480 # There might be people who depend on the old broken behavior: `$host' 681 481 # used to hold the argument of --host etc. 682 # FIXME: To remove some day.683 482 build=$build_alias 684 483 host=$host_alias 685 484 target=$target_alias 686 485 687 # FIXME: To remove some day.486 # FIXME: should be removed in autoconf 3.0. 688 487 if test "x$host_alias" != x; then 689 488 if test "x$build_alias" = x; then … … 701 500 test "$silent" = yes && exec 6>/dev/null 702 501 703 704 502 # Find the source files, if location was not specified. 705 503 if test -z "$srcdir"; then 706 504 ac_srcdir_defaulted=yes 707 505 # Try the directory containing this script, then its parent. 708 ac_confdir=`(dirname "$0") 2>/dev/null || 709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 710 X"$0" : 'X\(//\)[^/]' \| \ 711 X"$0" : 'X\(//\)$' \| \ 712 X"$0" : 'X\(/\)' \| \ 713 . : '\(.\)' 2>/dev/null || 714 echo X"$0" | 715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 716 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 717 /^X\(\/\/\)$/{ s//\1/; q; } 718 /^X\(\/\).*/{ s//\1/; q; } 719 s/.*/./; q'` 506 ac_prog=$0 507 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` 508 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. 720 509 srcdir=$ac_confdir 721 510 if test ! -r $srcdir/$ac_unique_file; then … … 727 516 if test ! -r $srcdir/$ac_unique_file; then 728 517 if test "$ac_srcdir_defaulted" = yes; then 729 { echo "$as_me: error: cannot find sources ($ac_unique_file)in $ac_confdir or .." >&2518 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2 730 519 { (exit 1); exit 1; }; } 731 520 else 732 { echo "$as_me: error: cannot find sources ($ac_unique_file)in $srcdir" >&2521 { echo "$as_me: error: cannot find sources in $srcdir" >&2 733 522 { (exit 1); exit 1; }; } 734 523 fi 735 524 fi 736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2738 { (exit 1); exit 1; }; }739 525 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 740 526 ac_env_build_alias_set=${build_alias+set} … … 785 571 # Omit some internal or obsolete options to make the list less imposing. 786 572 # This message is too long to be a string in the A/UX 3.1 sh. 787 cat << _ACEOF573 cat <<EOF 788 574 \`configure' configures pjproject 0.5.8 to adapt to many kinds of systems. 789 575 … … 806 592 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 807 593 808 _ACEOF809 810 cat << _ACEOF594 EOF 595 596 cat <<EOF 811 597 Installation directories: 812 598 --prefix=PREFIX install architecture-independent files in PREFIX 813 599 [$ac_default_prefix] 814 600 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 815 601 [PREFIX] 816 602 817 603 By default, \`make install' will install all the files in … … 835 621 --infodir=DIR info documentation [PREFIX/info] 836 622 --mandir=DIR man documentation [PREFIX/man] 837 _ACEOF838 839 cat <<\ _ACEOF623 EOF 624 625 cat <<\EOF 840 626 841 627 System types: 842 628 --build=BUILD configure for building on BUILD [guessed] 843 --host=HOST cross-compile tobuild programs to run on HOST [BUILD]629 --host=HOST build programs to run on HOST [BUILD] 844 630 --target=TARGET configure for building compilers for TARGET [HOST] 845 _ACEOF631 EOF 846 632 fi 847 633 … … 850 636 short | recursive ) echo "Configuration of pjproject 0.5.8:";; 851 637 esac 852 cat <<\ _ACEOF638 cat <<\EOF 853 639 854 640 Optional Features: … … 881 667 it to find libraries and programs with nonstandard names/locations. 882 668 883 _ACEOF669 EOF 884 670 fi 885 671 … … 887 673 # If there are subdirs, report their specific --help. 888 674 ac_popdir=`pwd` 889 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 890 test -d $ac_dir || continue 891 ac_builddir=. 892 893 if test "$ac_dir" != .; then 894 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 895 # A "../" for each directory in $ac_dir_suffix. 896 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 897 else 898 ac_dir_suffix= ac_top_builddir= 899 fi 900 901 case $srcdir in 902 .) # No --srcdir option. We are building in place. 903 ac_srcdir=. 904 if test -z "$ac_top_builddir"; then 905 ac_top_srcdir=. 906 else 907 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 908 fi ;; 909 [\\/]* | ?:[\\/]* ) # Absolute path. 910 ac_srcdir=$srcdir$ac_dir_suffix; 911 ac_top_srcdir=$srcdir ;; 912 *) # Relative path. 913 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 914 ac_top_srcdir=$ac_top_builddir$srcdir ;; 915 esac 916 917 # Do not use `cd foo && pwd` to compute absolute paths, because 918 # the directories may not exist. 919 case `pwd` in 920 .) ac_abs_builddir="$ac_dir";; 921 *) 922 case "$ac_dir" in 923 .) ac_abs_builddir=`pwd`;; 924 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 925 *) ac_abs_builddir=`pwd`/"$ac_dir";; 926 esac;; 927 esac 928 case $ac_abs_builddir in 929 .) ac_abs_top_builddir=${ac_top_builddir}.;; 930 *) 931 case ${ac_top_builddir}. in 932 .) ac_abs_top_builddir=$ac_abs_builddir;; 933 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 934 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 935 esac;; 936 esac 937 case $ac_abs_builddir in 938 .) ac_abs_srcdir=$ac_srcdir;; 939 *) 940 case $ac_srcdir in 941 .) ac_abs_srcdir=$ac_abs_builddir;; 942 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 943 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 944 esac;; 945 esac 946 case $ac_abs_builddir in 947 .) ac_abs_top_srcdir=$ac_top_srcdir;; 948 *) 949 case $ac_top_srcdir in 950 .) ac_abs_top_srcdir=$ac_abs_builddir;; 951 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 952 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 953 esac;; 954 esac 955 956 cd $ac_dir 675 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue 676 cd $ac_subdir 677 # A "../" for each directory in /$ac_subdir. 678 ac_dots=`echo $ac_subdir | 679 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` 680 681 case $srcdir in 682 .) # No --srcdir option. We are building in place. 683 ac_sub_srcdir=$srcdir ;; 684 [\\/]* | ?:[\\/]* ) # Absolute path. 685 ac_sub_srcdir=$srcdir/$ac_subdir ;; 686 *) # Relative path. 687 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; 688 esac 689 957 690 # Check for guested configure; otherwise get Cygnus style configure. 958 if test -f $ac_s rcdir/configure.gnu; then691 if test -f $ac_sub_srcdir/configure.gnu; then 959 692 echo 960 $SHELL $ac_s rcdir/configure.gnu --help=recursive961 elif test -f $ac_s rcdir/configure; then693 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive 694 elif test -f $ac_sub_srcdir/configure; then 962 695 echo 963 $SHELL $ac_s rcdir/configure --help=recursive964 elif test -f $ac_s rcdir/configure.ac ||965 test -f $ac_srcdir/configure.in; then696 $SHELL $ac_sub_srcdir/configure --help=recursive 697 elif test -f $ac_sub_srcdir/configure.ac || 698 test -f $ac_sub_srcdir/configure.in; then 966 699 echo 967 700 $ac_configure --help 968 701 else 969 echo "$as_me: WARNING: no configuration information is in $ac_ dir" >&2702 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2 970 703 fi 971 704 cd $ac_popdir … … 975 708 test -n "$ac_init_help" && exit 0 976 709 if $ac_init_version; then 977 cat <<\ _ACEOF710 cat <<\EOF 978 711 pjproject configure 0.5.8 979 generated by GNU Autoconf 2.59 980 981 Copyright (C) 2003 Free Software Foundation, Inc. 712 generated by GNU Autoconf 2.52 713 714 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 715 Free Software Foundation, Inc. 982 716 This configure script is free software; the Free Software Foundation 983 717 gives unlimited permission to copy, distribute and modify it. 984 _ACEOF718 EOF 985 719 exit 0 986 720 fi 987 721 exec 5>config.log 988 cat >&5 << _ACEOF722 cat >&5 <<EOF 989 723 This file contains any messages produced by compilers while 990 724 running configure, to aid debugging if configure makes a mistake. 991 725 992 726 It was created by pjproject $as_me 0.5.8, which was 993 generated by GNU Autoconf 2.5 9. Invocation command line was727 generated by GNU Autoconf 2.52. Invocation command line was 994 728 995 729 $ $0 $@ 996 730 997 _ACEOF731 EOF 998 732 { 999 733 cat <<_ASUNAME 1000 ## --------- ##1001 ## Platform. ##1002 ## --------- ##734 ## ---------- ## 735 ## Platform. ## 736 ## ---------- ## 1003 737 1004 738 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` … … 1019 753 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1020 754 755 PATH = $PATH 756 1021 757 _ASUNAME 1022 1023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR1024 for as_dir in $PATH1025 do1026 IFS=$as_save_IFS1027 test -z "$as_dir" && as_dir=.1028 echo "PATH: $as_dir"1029 done1030 1031 758 } >&5 1032 759 1033 cat >&5 <<_ACEOF 1034 1035 1036 ## ----------- ## 1037 ## Core tests. ## 1038 ## ----------- ## 1039 1040 _ACEOF 1041 760 cat >&5 <<EOF 761 ## ------------ ## 762 ## Core tests. ## 763 ## ------------ ## 764 765 EOF 1042 766 1043 767 # Keep a trace of the command line. 1044 768 # Strip out --no-create and --no-recursion so they do not pile up. 1045 # Strip out --silent because we don't want to record it for future runs.1046 769 # Also quote any args containing shell meta-characters. 1047 # Make two passes to allow for proper duplicate-argument suppression.1048 770 ac_configure_args= 1049 ac_configure_args0=1050 ac_configure_args1=1051 771 ac_sep= 1052 ac_must_keep_next=false 1053 for ac_pass in 1 2 772 for ac_arg 1054 773 do 1055 for ac_arg 1056 do 1057 case $ac_arg in 1058 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1059 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1060 | -silent | --silent | --silen | --sile | --sil) 1061 continue ;; 1062 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1063 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1064 esac 1065 case $ac_pass in 1066 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1067 2) 1068 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1069 if test $ac_must_keep_next = true; then 1070 ac_must_keep_next=false # Got value, back to normal. 1071 else 1072 case $ac_arg in 1073 *=* | --config-cache | -C | -disable-* | --disable-* \ 1074 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1075 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1076 | -with-* | --with-* | -without-* | --without-* | --x) 1077 case "$ac_configure_args0 " in 1078 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1079 esac 1080 ;; 1081 -* ) ac_must_keep_next=true ;; 1082 esac 1083 fi 1084 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1085 # Get rid of the leading space. 1086 ac_sep=" " 1087 ;; 1088 esac 1089 done 774 case $ac_arg in 775 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 776 | --no-cr | --no-c) ;; 777 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 778 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; 779 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 780 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` 781 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 782 ac_sep=" " ;; 783 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" 784 ac_sep=" " ;; 785 esac 786 # Get rid of the leading space. 1090 787 done 1091 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }1092 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }1093 788 1094 789 # When interrupted or exit'd, cleanup temporary files, and complete 1095 790 # config.log. We remove comments because anyway the quotes in there 1096 791 # would cause problems or look ugly. 1097 # WARNING: Be sure not to use single quotes in there, as some shells,1098 # such as our DU 5.0 friend, will then `close' the trap.1099 792 trap 'exit_status=$? 1100 793 # Save into config.log some information that might help in debugging. 1101 { 1102 echo 1103 1104 cat <<\_ASBOX 1105 ## ---------------- ## 1106 ## Cache variables. ## 1107 ## ---------------- ## 1108 _ASBOX 1109 echo 1110 # The following way of writing the cache mishandles newlines in values, 794 echo >&5 795 echo "## ----------------- ##" >&5 796 echo "## Cache variables. ##" >&5 797 echo "## ----------------- ##" >&5 798 echo >&5 799 # The following way of writing the cache mishandles newlines in values, 1111 800 { 1112 801 (set) 2>&1 | … … 1114 803 *ac_space=\ *) 1115 804 sed -n \ 1116 1117 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"805 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 806 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1118 807 ;; 1119 808 *) 1120 809 sed -n \ 1121 810 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1122 811 ;; 1123 812 esac; 1124 } 1125 echo 1126 1127 cat <<\_ASBOX 1128 ## ----------------- ## 1129 ## Output variables. ## 1130 ## ----------------- ## 1131 _ASBOX 1132 echo 1133 for ac_var in $ac_subst_vars 1134 do 1135 eval ac_val=$`echo $ac_var` 1136 echo "$ac_var='"'"'$ac_val'"'"'" 1137 done | sort 1138 echo 1139 1140 if test -n "$ac_subst_files"; then 1141 cat <<\_ASBOX 1142 ## ------------- ## 1143 ## Output files. ## 1144 ## ------------- ## 1145 _ASBOX 1146 echo 1147 for ac_var in $ac_subst_files 1148 do 1149 eval ac_val=$`echo $ac_var` 1150 echo "$ac_var='"'"'$ac_val'"'"'" 1151 done | sort 1152 echo 1153 fi 1154 1155 if test -s confdefs.h; then 1156 cat <<\_ASBOX 1157 ## ----------- ## 1158 ## confdefs.h. ## 1159 ## ----------- ## 1160 _ASBOX 1161 echo 1162 sed "/^$/d" confdefs.h | sort 1163 echo 1164 fi 1165 test "$ac_signal" != 0 && 1166 echo "$as_me: caught signal $ac_signal" 1167 echo "$as_me: exit $exit_status" 1168 } >&5 1169 rm -f core *.core && 1170 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 813 } >&5 814 sed "/^$/d" confdefs.h >conftest.log 815 if test -s conftest.log; then 816 echo >&5 817 echo "## ------------ ##" >&5 818 echo "## confdefs.h. ##" >&5 819 echo "## ------------ ##" >&5 820 echo >&5 821 cat conftest.log >&5 822 fi 823 (echo; echo) >&5 824 test "$ac_signal" != 0 && 825 echo "$as_me: caught signal $ac_signal" >&5 826 echo "$as_me: exit $exit_status" >&5 827 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && 1171 828 exit $exit_status 1172 829 ' 0 … … 1180 837 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1181 838 echo >confdefs.h 1182 1183 # Predefined preprocessor variables.1184 1185 cat >>confdefs.h <<_ACEOF1186 #define PACKAGE_NAME "$PACKAGE_NAME"1187 _ACEOF1188 1189 1190 cat >>confdefs.h <<_ACEOF1191 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"1192 _ACEOF1193 1194 1195 cat >>confdefs.h <<_ACEOF1196 #define PACKAGE_VERSION "$PACKAGE_VERSION"1197 _ACEOF1198 1199 1200 cat >>confdefs.h <<_ACEOF1201 #define PACKAGE_STRING "$PACKAGE_STRING"1202 _ACEOF1203 1204 1205 cat >>confdefs.h <<_ACEOF1206 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"1207 _ACEOF1208 1209 839 1210 840 # Let the site file select an alternate cache file if it wants to. … … 1219 849 for ac_site_file in $CONFIG_SITE; do 1220 850 if test -r "$ac_site_file"; then 1221 { echo "$as_me: $LINENO: loading site script $ac_site_file" >&5851 { echo "$as_me:851: loading site script $ac_site_file" >&5 1222 852 echo "$as_me: loading site script $ac_site_file" >&6;} 1223 sed 's/^/| /'"$ac_site_file" >&5853 cat "$ac_site_file" >&5 1224 854 . "$ac_site_file" 1225 855 fi … … 1230 860 # files actually), so we avoid doing that. 1231 861 if test -f "$cache_file"; then 1232 { echo "$as_me: $LINENO: loading cache $cache_file" >&5862 { echo "$as_me:862: loading cache $cache_file" >&5 1233 863 echo "$as_me: loading cache $cache_file" >&6;} 1234 864 case $cache_file in … … 1238 868 fi 1239 869 else 1240 { echo "$as_me: $LINENO: creating cache $cache_file" >&5870 { echo "$as_me:870: creating cache $cache_file" >&5 1241 871 echo "$as_me: creating cache $cache_file" >&6;} 1242 872 >$cache_file … … 1247 877 ac_cache_corrupted=false 1248 878 for ac_var in `(set) 2>&1 | 1249 879 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1250 880 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1251 881 eval ac_new_set=\$ac_env_${ac_var}_set … … 1254 884 case $ac_old_set,$ac_new_set in 1255 885 set,) 1256 { echo "$as_me: $LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5886 { echo "$as_me:886: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1257 887 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1258 888 ac_cache_corrupted=: ;; 1259 889 ,set) 1260 { echo "$as_me: $LINENO: error: \`$ac_var' was not set in the previous run" >&5890 { echo "$as_me:890: error: \`$ac_var' was not set in the previous run" >&5 1261 891 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1262 892 ac_cache_corrupted=: ;; … … 1264 894 *) 1265 895 if test "x$ac_old_val" != "x$ac_new_val"; then 1266 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5896 { echo "$as_me:896: error: \`$ac_var' has changed since the previous run:" >&5 1267 897 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1268 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5898 { echo "$as_me:898: former value: $ac_old_val" >&5 1269 899 echo "$as_me: former value: $ac_old_val" >&2;} 1270 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5900 { echo "$as_me:900: current value: $ac_new_val" >&5 1271 901 echo "$as_me: current value: $ac_new_val" >&2;} 1272 902 ac_cache_corrupted=: 1273 903 fi;; 1274 904 esac 1275 # Pass precious variables to config.status. 905 # Pass precious variables to config.status. It doesn't matter if 906 # we pass some twice (in addition to the command line arguments). 1276 907 if test "$ac_new_set" = set; then 1277 908 case $ac_new_val in 1278 909 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1279 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1280 *) ac_arg=$ac_var=$ac_new_val ;; 1281 esac 1282 case " $ac_configure_args " in 1283 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1284 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 910 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` 911 ac_configure_args="$ac_configure_args '$ac_arg'" 912 ;; 913 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val" 914 ;; 1285 915 esac 1286 916 fi 1287 917 done 1288 918 if $ac_cache_corrupted; then 1289 { echo "$as_me: $LINENO: error: changes in the environment can compromise the build" >&5919 { echo "$as_me:919: error: changes in the environment can compromise the build" >&5 1290 920 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1291 { { echo "$as_me: $LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5921 { { echo "$as_me:921: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1292 922 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1293 923 { (exit 1); exit 1; }; } … … 1300 930 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1301 931 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 932 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 933 *c*,-n*) ECHO_N= ECHO_C=' 934 ' ECHO_T=' ' ;; 935 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 936 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 937 esac 938 echo "#! $SHELL" >conftest.sh 939 echo "exit 0" >>conftest.sh 940 chmod +x conftest.sh 941 if { (echo "$as_me:941: PATH=\".;.\"; conftest.sh") >&5 942 (PATH=".;."; conftest.sh) 2>&5 943 ac_status=$? 944 echo "$as_me:944: \$? = $ac_status" >&5 945 (exit $ac_status); }; then 946 ac_path_separator=';' 947 else 948 ac_path_separator=: 949 fi 950 PATH_SEPARATOR="$ac_path_separator" 951 rm -f conftest.sh 1327 952 1328 953 ac_aux_dir= … … 1343 968 done 1344 969 if test -z "$ac_aux_dir"; then 1345 { { echo "$as_me: $LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5970 { { echo "$as_me:970: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1346 971 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1347 972 { (exit 1); exit 1; }; } … … 1353 978 # Make sure we can run config.sub. 1354 979 $ac_config_sub sun4 >/dev/null 2>&1 || 1355 { { echo "$as_me: $LINENO: error: cannot run $ac_config_sub" >&5980 { { echo "$as_me:980: error: cannot run $ac_config_sub" >&5 1356 981 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1357 982 { (exit 1); exit 1; }; } 1358 983 1359 echo "$as_me: $LINENO: checking build system type" >&5984 echo "$as_me:984: checking build system type" >&5 1360 985 echo $ECHO_N "checking build system type... $ECHO_C" >&6 1361 986 if test "${ac_cv_build+set}" = set; then … … 1366 991 ac_cv_build_alias=`$ac_config_guess` 1367 992 test -z "$ac_cv_build_alias" && 1368 { { echo "$as_me: $LINENO: error: cannot guess build type; you must specify one" >&5993 { { echo "$as_me:993: error: cannot guess build type; you must specify one" >&5 1369 994 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1370 995 { (exit 1); exit 1; }; } 1371 996 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 1372 { { echo "$as_me: $LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&51373 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed " >&2;}997 { { echo "$as_me:997: error: $ac_config_sub $ac_cv_build_alias failed." >&5 998 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} 1374 999 { (exit 1); exit 1; }; } 1375 1000 1376 1001 fi 1377 echo "$as_me: $LINENO: result: $ac_cv_build" >&51002 echo "$as_me:1002: result: $ac_cv_build" >&5 1378 1003 echo "${ECHO_T}$ac_cv_build" >&6 1379 1004 build=$ac_cv_build … … 1382 1007 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1383 1008 1384 1385 echo "$as_me:$LINENO: checking host system type" >&5 1009 echo "$as_me:1009: checking host system type" >&5 1386 1010 echo $ECHO_N "checking host system type... $ECHO_C" >&6 1387 1011 if test "${ac_cv_host+set}" = set; then … … 1392 1016 ac_cv_host_alias=$ac_cv_build_alias 1393 1017 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1394 { { echo "$as_me: $LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&51018 { { echo "$as_me:1018: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1395 1019 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1396 1020 { (exit 1); exit 1; }; } 1397 1021 1398 1022 fi 1399 echo "$as_me: $LINENO: result: $ac_cv_host" >&51023 echo "$as_me:1023: result: $ac_cv_host" >&5 1400 1024 echo "${ECHO_T}$ac_cv_host" >&6 1401 1025 host=$ac_cv_host … … 1404 1028 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1405 1029 1406 1407 echo "$as_me:$LINENO: checking target system type" >&5 1030 echo "$as_me:1030: checking target system type" >&5 1408 1031 echo $ECHO_N "checking target system type... $ECHO_C" >&6 1409 1032 if test "${ac_cv_target+set}" = set; then … … 1414 1037 ac_cv_target_alias=$ac_cv_host_alias 1415 1038 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 1416 { { echo "$as_me: $LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&51039 { { echo "$as_me:1039: error: $ac_config_sub $ac_cv_target_alias failed" >&5 1417 1040 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 1418 1041 { (exit 1); exit 1; }; } 1419 1042 1420 1043 fi 1421 echo "$as_me: $LINENO: result: $ac_cv_target" >&51044 echo "$as_me:1044: result: $ac_cv_target" >&5 1422 1045 echo "${ECHO_T}$ac_cv_target" >&6 1423 1046 target=$ac_cv_target … … 1425 1048 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1426 1049 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1427 1428 1050 1429 1051 # The aliases save the names the user supplied, while $host etc. … … 1433 1055 NONENONEs,x,x, && 1434 1056 program_prefix=${target_alias}- 1435 1436 1437 1057 ac_config_headers="$ac_config_headers pjlib/include/pj/compat/os_auto.h pjlib/include/pj/compat/m_auto.h" 1058 1059 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" 1438 1060 1439 1061 ac_ext=c … … 1445 1067 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1446 1068 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1447 echo "$as_me: $LINENO: checking for $ac_word" >&51069 echo "$as_me:1069: checking for $ac_word" >&5 1448 1070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1449 1071 if test "${ac_cv_prog_CC+set}" = set; then … … 1453 1075 ac_cv_prog_CC="$CC" # Let the user override the test. 1454 1076 else 1455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1456 for as_dir in $PATH 1457 do 1458 IFS=$as_save_IFS 1459 test -z "$as_dir" && as_dir=. 1460 for ac_exec_ext in '' $ac_executable_extensions; do 1461 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1462 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1464 break 2 1465 fi 1466 done 1077 ac_save_IFS=$IFS; IFS=$ac_path_separator 1078 ac_dummy="$PATH" 1079 for ac_dir in $ac_dummy; do 1080 IFS=$ac_save_IFS 1081 test -z "$ac_dir" && ac_dir=. 1082 $as_executable_p "$ac_dir/$ac_word" || continue 1083 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1084 echo "$as_me:1084: found $ac_dir/$ac_word" >&5 1085 break 1467 1086 done 1468 1087 … … 1471 1090 CC=$ac_cv_prog_CC 1472 1091 if test -n "$CC"; then 1473 echo "$as_me: $LINENO: result: $CC" >&51092 echo "$as_me:1092: result: $CC" >&5 1474 1093 echo "${ECHO_T}$CC" >&6 1475 1094 else 1476 echo "$as_me: $LINENO: result: no" >&51095 echo "$as_me:1095: result: no" >&5 1477 1096 echo "${ECHO_T}no" >&6 1478 1097 fi … … 1483 1102 # Extract the first word of "gcc", so it can be a program name with args. 1484 1103 set dummy gcc; ac_word=$2 1485 echo "$as_me: $LINENO: checking for $ac_word" >&51104 echo "$as_me:1104: checking for $ac_word" >&5 1486 1105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1487 1106 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then … … 1491 1110 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1492 1111 else 1493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1494 for as_dir in $PATH 1495 do 1496 IFS=$as_save_IFS 1497 test -z "$as_dir" && as_dir=. 1498 for ac_exec_ext in '' $ac_executable_extensions; do 1499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1500 ac_cv_prog_ac_ct_CC="gcc" 1501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1502 break 2 1503 fi 1504 done 1112 ac_save_IFS=$IFS; IFS=$ac_path_separator 1113 ac_dummy="$PATH" 1114 for ac_dir in $ac_dummy; do 1115 IFS=$ac_save_IFS 1116 test -z "$ac_dir" && ac_dir=. 1117 $as_executable_p "$ac_dir/$ac_word" || continue 1118 ac_cv_prog_ac_ct_CC="gcc" 1119 echo "$as_me:1119: found $ac_dir/$ac_word" >&5 1120 break 1505 1121 done 1506 1122 … … 1509 1125 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1510 1126 if test -n "$ac_ct_CC"; then 1511 echo "$as_me: $LINENO: result: $ac_ct_CC" >&51127 echo "$as_me:1127: result: $ac_ct_CC" >&5 1512 1128 echo "${ECHO_T}$ac_ct_CC" >&6 1513 1129 else 1514 echo "$as_me: $LINENO: result: no" >&51130 echo "$as_me:1130: result: no" >&5 1515 1131 echo "${ECHO_T}no" >&6 1516 1132 fi … … 1525 1141 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1526 1142 set dummy ${ac_tool_prefix}cc; ac_word=$2 1527 echo "$as_me: $LINENO: checking for $ac_word" >&51143 echo "$as_me:1143: checking for $ac_word" >&5 1528 1144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1529 1145 if test "${ac_cv_prog_CC+set}" = set; then … … 1533 1149 ac_cv_prog_CC="$CC" # Let the user override the test. 1534 1150 else 1535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1536 for as_dir in $PATH 1537 do 1538 IFS=$as_save_IFS 1539 test -z "$as_dir" && as_dir=. 1540 for ac_exec_ext in '' $ac_executable_extensions; do 1541 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1542 ac_cv_prog_CC="${ac_tool_prefix}cc" 1543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1544 break 2 1545 fi 1546 done 1151 ac_save_IFS=$IFS; IFS=$ac_path_separator 1152 ac_dummy="$PATH" 1153 for ac_dir in $ac_dummy; do 1154 IFS=$ac_save_IFS 1155 test -z "$ac_dir" && ac_dir=. 1156 $as_executable_p "$ac_dir/$ac_word" || continue 1157 ac_cv_prog_CC="${ac_tool_prefix}cc" 1158 echo "$as_me:1158: found $ac_dir/$ac_word" >&5 1159 break 1547 1160 done 1548 1161 … … 1551 1164 CC=$ac_cv_prog_CC 1552 1165 if test -n "$CC"; then 1553 echo "$as_me: $LINENO: result: $CC" >&51166 echo "$as_me:1166: result: $CC" >&5 1554 1167 echo "${ECHO_T}$CC" >&6 1555 1168 else 1556 echo "$as_me: $LINENO: result: no" >&51169 echo "$as_me:1169: result: no" >&5 1557 1170 echo "${ECHO_T}no" >&6 1558 1171 fi … … 1563 1176 # Extract the first word of "cc", so it can be a program name with args. 1564 1177 set dummy cc; ac_word=$2 1565 echo "$as_me: $LINENO: checking for $ac_word" >&51178 echo "$as_me:1178: checking for $ac_word" >&5 1566 1179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1567 1180 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then … … 1571 1184 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1572 1185 else 1573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1574 for as_dir in $PATH 1575 do 1576 IFS=$as_save_IFS 1577 test -z "$as_dir" && as_dir=. 1578 for ac_exec_ext in '' $ac_executable_extensions; do 1579 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1580 ac_cv_prog_ac_ct_CC="cc" 1581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1582 break 2 1583 fi 1584 done 1186 ac_save_IFS=$IFS; IFS=$ac_path_separator 1187 ac_dummy="$PATH" 1188 for ac_dir in $ac_dummy; do 1189 IFS=$ac_save_IFS 1190 test -z "$ac_dir" && ac_dir=. 1191 $as_executable_p "$ac_dir/$ac_word" || continue 1192 ac_cv_prog_ac_ct_CC="cc" 1193 echo "$as_me:1193: found $ac_dir/$ac_word" >&5 1194 break 1585 1195 done 1586 1196 … … 1589 1199 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1590 1200 if test -n "$ac_ct_CC"; then 1591 echo "$as_me: $LINENO: result: $ac_ct_CC" >&51201 echo "$as_me:1201: result: $ac_ct_CC" >&5 1592 1202 echo "${ECHO_T}$ac_ct_CC" >&6 1593 1203 else 1594 echo "$as_me: $LINENO: result: no" >&51204 echo "$as_me:1204: result: no" >&5 1595 1205 echo "${ECHO_T}no" >&6 1596 1206 fi … … 1605 1215 # Extract the first word of "cc", so it can be a program name with args. 1606 1216 set dummy cc; ac_word=$2 1607 echo "$as_me: $LINENO: checking for $ac_word" >&51217 echo "$as_me:1217: checking for $ac_word" >&5 1608 1218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1609 1219 if test "${ac_cv_prog_CC+set}" = set; then … … 1614 1224 else 1615 1225 ac_prog_rejected=no 1616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1617 for as_dir in $PATH 1618 do 1619 IFS=$as_save_IFS 1620 test -z "$as_dir" && as_dir=. 1621 for ac_exec_ext in '' $ac_executable_extensions; do 1622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1623 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1624 ac_prog_rejected=yes 1625 continue 1626 fi 1627 ac_cv_prog_CC="cc" 1628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1629 break 2 1630 fi 1631 done 1226 ac_save_IFS=$IFS; IFS=$ac_path_separator 1227 ac_dummy="$PATH" 1228 for ac_dir in $ac_dummy; do 1229 IFS=$ac_save_IFS 1230 test -z "$ac_dir" && ac_dir=. 1231 $as_executable_p "$ac_dir/$ac_word" || continue 1232 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 1233 ac_prog_rejected=yes 1234 continue 1235 fi 1236 ac_cv_prog_CC="cc" 1237 echo "$as_me:1237: found $ac_dir/$ac_word" >&5 1238 break 1632 1239 done 1633 1240 … … 1641 1248 # first if we set CC to just the basename; use the full file name. 1642 1249 shift 1643 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 1250 set dummy "$ac_dir/$ac_word" ${1+"$@"} 1251 shift 1252 ac_cv_prog_CC="$@" 1644 1253 fi 1645 1254 fi … … 1648 1257 CC=$ac_cv_prog_CC 1649 1258 if test -n "$CC"; then 1650 echo "$as_me: $LINENO: result: $CC" >&51259 echo "$as_me:1259: result: $CC" >&5 1651 1260 echo "${ECHO_T}$CC" >&6 1652 1261 else 1653 echo "$as_me: $LINENO: result: no" >&51262 echo "$as_me:1262: result: no" >&5 1654 1263 echo "${ECHO_T}no" >&6 1655 1264 fi … … 1662 1271 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1663 1272 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1664 echo "$as_me: $LINENO: checking for $ac_word" >&51273 echo "$as_me:1273: checking for $ac_word" >&5 1665 1274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1666 1275 if test "${ac_cv_prog_CC+set}" = set; then … … 1670 1279 ac_cv_prog_CC="$CC" # Let the user override the test. 1671 1280 else 1672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1673 for as_dir in $PATH 1674 do 1675 IFS=$as_save_IFS 1676 test -z "$as_dir" && as_dir=. 1677 for ac_exec_ext in '' $ac_executable_extensions; do 1678 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1679 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1681 break 2 1682 fi 1683 done 1281 ac_save_IFS=$IFS; IFS=$ac_path_separator 1282 ac_dummy="$PATH" 1283 for ac_dir in $ac_dummy; do 1284 IFS=$ac_save_IFS 1285 test -z "$ac_dir" && ac_dir=. 1286 $as_executable_p "$ac_dir/$ac_word" || continue 1287 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1288 echo "$as_me:1288: found $ac_dir/$ac_word" >&5 1289 break 1684 1290 done 1685 1291 … … 1688 1294 CC=$ac_cv_prog_CC 1689 1295 if test -n "$CC"; then 1690 echo "$as_me: $LINENO: result: $CC" >&51296 echo "$as_me:1296: result: $CC" >&5 1691 1297 echo "${ECHO_T}$CC" >&6 1692 1298 else 1693 echo "$as_me: $LINENO: result: no" >&51299 echo "$as_me:1299: result: no" >&5 1694 1300 echo "${ECHO_T}no" >&6 1695 1301 fi … … 1704 1310 # Extract the first word of "$ac_prog", so it can be a program name with args. 1705 1311 set dummy $ac_prog; ac_word=$2 1706 echo "$as_me: $LINENO: checking for $ac_word" >&51312 echo "$as_me:1312: checking for $ac_word" >&5 1707 1313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1708 1314 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then … … 1712 1318 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1713 1319 else 1714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1715 for as_dir in $PATH 1716 do 1717 IFS=$as_save_IFS 1718 test -z "$as_dir" && as_dir=. 1719 for ac_exec_ext in '' $ac_executable_extensions; do 1720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1721 ac_cv_prog_ac_ct_CC="$ac_prog" 1722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1723 break 2 1724 fi 1725 done 1320 ac_save_IFS=$IFS; IFS=$ac_path_separator 1321 ac_dummy="$PATH" 1322 for ac_dir in $ac_dummy; do 1323 IFS=$ac_save_IFS 1324 test -z "$ac_dir" && ac_dir=. 1325 $as_executable_p "$ac_dir/$ac_word" || continue 1326 ac_cv_prog_ac_ct_CC="$ac_prog" 1327 echo "$as_me:1327: found $ac_dir/$ac_word" >&5 1328 break 1726 1329 done 1727 1330 … … 1730 1333 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1731 1334 if test -n "$ac_ct_CC"; then 1732 echo "$as_me: $LINENO: result: $ac_ct_CC" >&51335 echo "$as_me:1335: result: $ac_ct_CC" >&5 1733 1336 echo "${ECHO_T}$ac_ct_CC" >&6 1734 1337 else 1735 echo "$as_me: $LINENO: result: no" >&51338 echo "$as_me:1338: result: no" >&5 1736 1339 echo "${ECHO_T}no" >&6 1737 1340 fi … … 1745 1348 fi 1746 1349 1747 1748 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1749 See \`config.log' for more details." >&5 1750 echo "$as_me: error: no acceptable C compiler found in \$PATH 1751 See \`config.log' for more details." >&2;} 1350 test -z "$CC" && { { echo "$as_me:1350: error: no acceptable cc found in \$PATH" >&5 1351 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} 1752 1352 { (exit 1); exit 1; }; } 1753 1353 1754 1354 # Provide some information about the compiler. 1755 echo "$as_me: $LINENO:" \1355 echo "$as_me:1355:" \ 1756 1356 "checking for C compiler version" >&5 1757 1357 ac_compiler=`set X $ac_compile; echo $2` 1758 { (eval echo "$as_me: $LINENO: \"$ac_compiler --version </dev/null >&5\"") >&51358 { (eval echo "$as_me:1358: \"$ac_compiler --version </dev/null >&5\"") >&5 1759 1359 (eval $ac_compiler --version </dev/null >&5) 2>&5 1760 1360 ac_status=$? 1761 echo "$as_me: $LINENO: \$? = $ac_status" >&51361 echo "$as_me:1361: \$? = $ac_status" >&5 1762 1362 (exit $ac_status); } 1763 { (eval echo "$as_me: $LINENO: \"$ac_compiler -v </dev/null >&5\"") >&51363 { (eval echo "$as_me:1363: \"$ac_compiler -v </dev/null >&5\"") >&5 1764 1364 (eval $ac_compiler -v </dev/null >&5) 2>&5 1765 1365 ac_status=$? 1766 echo "$as_me: $LINENO: \$? = $ac_status" >&51366 echo "$as_me:1366: \$? = $ac_status" >&5 1767 1367 (exit $ac_status); } 1768 { (eval echo "$as_me: $LINENO: \"$ac_compiler -V </dev/null >&5\"") >&51368 { (eval echo "$as_me:1368: \"$ac_compiler -V </dev/null >&5\"") >&5 1769 1369 (eval $ac_compiler -V </dev/null >&5) 2>&5 1770 1370 ac_status=$? 1771 echo "$as_me: $LINENO: \$? = $ac_status" >&51371 echo "$as_me:1371: \$? = $ac_status" >&5 1772 1372 (exit $ac_status); } 1773 1373 1774 1374 cat >conftest.$ac_ext <<_ACEOF 1775 /* confdefs.h. */ 1776 _ACEOF 1777 cat confdefs.h >>conftest.$ac_ext 1778 cat >>conftest.$ac_ext <<_ACEOF 1779 /* end confdefs.h. */ 1375 #line 1375 "configure" 1376 #include "confdefs.h" 1780 1377 1781 1378 int … … 1788 1385 _ACEOF 1789 1386 ac_clean_files_save=$ac_clean_files 1790 ac_clean_files="$ac_clean_files a.out a.exe b.out"1387 ac_clean_files="$ac_clean_files a.out a.exe" 1791 1388 # Try to create an executable without -o first, disregard a.out. 1792 1389 # It will help us diagnose broken compilers, and finding out an intuition 1793 1390 # of exeext. 1794 echo "$as_me: $LINENO: checking for C compiler default output file name" >&51795 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&61391 echo "$as_me:1391: checking for C compiler default output" >&5 1392 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 1796 1393 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1797 if { (eval echo "$as_me: $LINENO: \"$ac_link_default\"") >&51394 if { (eval echo "$as_me:1394: \"$ac_link_default\"") >&5 1798 1395 (eval $ac_link_default) 2>&5 1799 1396 ac_status=$? 1800 echo "$as_me: $LINENO: \$? = $ac_status" >&51397 echo "$as_me:1397: \$? = $ac_status" >&5 1801 1398 (exit $ac_status); }; then 1802 1399 # Find the output, starting from the most likely. This scheme is 1803 1400 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1804 1401 # resort. 1805 1806 # Be careful to initialize this variable, since it used to be cached. 1807 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1808 ac_cv_exeext= 1809 # b.out is created by i960 compilers. 1810 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 1811 do 1812 test -f "$ac_file" || continue 1402 for ac_file in `ls a.exe conftest.exe 2>/dev/null; 1403 ls a.out conftest 2>/dev/null; 1404 ls a.* conftest.* 2>/dev/null`; do 1813 1405 case $ac_file in 1814 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1815 ;; 1816 conftest.$ac_ext ) 1817 # This is the source file. 1818 ;; 1819 [ab].out ) 1820 # We found the default executable, but exeext='' is most 1821 # certainly right. 1822 break;; 1823 *.* ) 1824 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1825 # FIXME: I believe we export ac_cv_exeext for Libtool, 1826 # but it would be cool to find out if it's true. Does anybody 1827 # maintain Libtool? --akim. 1828 export ac_cv_exeext 1829 break;; 1830 * ) 1831 break;; 1406 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 1407 a.out ) # We found the default executable, but exeext='' is most 1408 # certainly right. 1409 break;; 1410 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1411 # FIXME: I believe we export ac_cv_exeext for Libtool --akim. 1412 export ac_cv_exeext 1413 break;; 1414 * ) break;; 1832 1415 esac 1833 1416 done 1834 1417 else 1835 1418 echo "$as_me: failed program was:" >&5 1836 sed 's/^/| /' conftest.$ac_ext >&5 1837 1838 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 1839 See \`config.log' for more details." >&5 1840 echo "$as_me: error: C compiler cannot create executables 1841 See \`config.log' for more details." >&2;} 1419 cat conftest.$ac_ext >&5 1420 { { echo "$as_me:1420: error: C compiler cannot create executables" >&5 1421 echo "$as_me: error: C compiler cannot create executables" >&2;} 1842 1422 { (exit 77); exit 77; }; } 1843 1423 fi 1844 1424 1845 1425 ac_exeext=$ac_cv_exeext 1846 echo "$as_me: $LINENO: result: $ac_file" >&51426 echo "$as_me:1426: result: $ac_file" >&5 1847 1427 echo "${ECHO_T}$ac_file" >&6 1848 1428 1849 1429 # Check the compiler produces executables we can run. If not, either 1850 1430 # the compiler is broken, or we cross compile. 1851 echo "$as_me: $LINENO: checking whether the C compiler works" >&51431 echo "$as_me:1431: checking whether the C compiler works" >&5 1852 1432 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 1853 1433 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 … … 1855 1435 if test "$cross_compiling" != yes; then 1856 1436 if { ac_try='./$ac_file' 1857 { (eval echo "$as_me: $LINENO: \"$ac_try\"") >&51437 { (eval echo "$as_me:1437: \"$ac_try\"") >&5 1858 1438 (eval $ac_try) 2>&5 1859 1439 ac_status=$? 1860 echo "$as_me: $LINENO: \$? = $ac_status" >&51440 echo "$as_me:1440: \$? = $ac_status" >&5 1861 1441 (exit $ac_status); }; }; then 1862 1442 cross_compiling=no … … 1865 1445 cross_compiling=yes 1866 1446 else 1867 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 1868 If you meant to cross compile, use \`--host'. 1869 See \`config.log' for more details." >&5 1447 { { echo "$as_me:1447: error: cannot run C compiled programs. 1448 If you meant to cross compile, use \`--host'." >&5 1870 1449 echo "$as_me: error: cannot run C compiled programs. 1871 If you meant to cross compile, use \`--host'. 1872 See \`config.log' for more details." >&2;} 1450 If you meant to cross compile, use \`--host'." >&2;} 1873 1451 { (exit 1); exit 1; }; } 1874 1452 fi 1875 1453 fi 1876 1454 fi 1877 echo "$as_me: $LINENO: result: yes" >&51455 echo "$as_me:1455: result: yes" >&5 1878 1456 echo "${ECHO_T}yes" >&6 1879 1457 1880 rm -f a.out a.exe conftest$ac_cv_exeext b.out1458 rm -f a.out a.exe conftest$ac_cv_exeext 1881 1459 ac_clean_files=$ac_clean_files_save 1882 1460 # Check the compiler produces executables we can run. If not, either 1883 1461 # the compiler is broken, or we cross compile. 1884 echo "$as_me: $LINENO: checking whether we are cross compiling" >&51462 echo "$as_me:1462: checking whether we are cross compiling" >&5 1885 1463 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1886 echo "$as_me: $LINENO: result: $cross_compiling" >&51464 echo "$as_me:1464: result: $cross_compiling" >&5 1887 1465 echo "${ECHO_T}$cross_compiling" >&6 1888 1466 1889 echo "$as_me: $LINENO: checking for suffix of executables" >&51890 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&61891 if { (eval echo "$as_me: $LINENO: \"$ac_link\"") >&51467 echo "$as_me:1467: checking for executable suffix" >&5 1468 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 1469 if { (eval echo "$as_me:1469: \"$ac_link\"") >&5 1892 1470 (eval $ac_link) 2>&5 1893 1471 ac_status=$? 1894 echo "$as_me: $LINENO: \$? = $ac_status" >&51472 echo "$as_me:1472: \$? = $ac_status" >&5 1895 1473 (exit $ac_status); }; then 1896 1474 # If both `conftest.exe' and `conftest' are `present' (well, observable) … … 1898 1476 # work properly (i.e., refer to `conftest.exe'), while it won't with 1899 1477 # `rm'. 1900 for ac_file in conftest.exe conftest conftest.*; do 1901 test -f "$ac_file" || continue 1478 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do 1902 1479 case $ac_file in 1903 *.$ac_ext | *. xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj) ;;1480 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 1904 1481 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1905 1906 1482 export ac_cv_exeext 1483 break;; 1907 1484 * ) break;; 1908 1485 esac 1909 1486 done 1910 1487 else 1911 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 1912 See \`config.log' for more details." >&5 1913 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 1914 See \`config.log' for more details." >&2;} 1488 { { echo "$as_me:1488: error: cannot compute EXEEXT: cannot compile and link" >&5 1489 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} 1915 1490 { (exit 1); exit 1; }; } 1916 1491 fi 1917 1492 1918 1493 rm -f conftest$ac_cv_exeext 1919 echo "$as_me: $LINENO: result: $ac_cv_exeext" >&51494 echo "$as_me:1494: result: $ac_cv_exeext" >&5 1920 1495 echo "${ECHO_T}$ac_cv_exeext" >&6 1921 1496 … … 1923 1498 EXEEXT=$ac_cv_exeext 1924 1499 ac_exeext=$EXEEXT 1925 echo "$as_me: $LINENO: checking for suffix of object files" >&51926 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&61500 echo "$as_me:1500: checking for object suffix" >&5 1501 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 1927 1502 if test "${ac_cv_objext+set}" = set; then 1928 1503 echo $ECHO_N "(cached) $ECHO_C" >&6 1929 1504 else 1930 1505 cat >conftest.$ac_ext <<_ACEOF 1931 /* confdefs.h. */ 1932 _ACEOF 1933 cat confdefs.h >>conftest.$ac_ext 1934 cat >>conftest.$ac_ext <<_ACEOF 1935 /* end confdefs.h. */ 1506 #line 1506 "configure" 1507 #include "confdefs.h" 1936 1508 1937 1509 int … … 1944 1516 _ACEOF 1945 1517 rm -f conftest.o conftest.obj 1946 if { (eval echo "$as_me: $LINENO: \"$ac_compile\"") >&51518 if { (eval echo "$as_me:1518: \"$ac_compile\"") >&5 1947 1519 (eval $ac_compile) 2>&5 1948 1520 ac_status=$? 1949 echo "$as_me: $LINENO: \$? = $ac_status" >&51521 echo "$as_me:1521: \$? = $ac_status" >&5 1950 1522 (exit $ac_status); }; then 1951 1523 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 1952 1524 case $ac_file in 1953 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg) ;;1525 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; 1954 1526 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1955 1527 break;; … … 1958 1530 else 1959 1531 echo "$as_me: failed program was:" >&5 1960 sed 's/^/| /' conftest.$ac_ext >&5 1961 1962 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 1963 See \`config.log' for more details." >&5 1964 echo "$as_me: error: cannot compute suffix of object files: cannot compile 1965 See \`config.log' for more details." >&2;} 1532 cat conftest.$ac_ext >&5 1533 { { echo "$as_me:1533: error: cannot compute OBJEXT: cannot compile" >&5 1534 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} 1966 1535 { (exit 1); exit 1; }; } 1967 1536 fi … … 1969 1538 rm -f conftest.$ac_cv_objext conftest.$ac_ext 1970 1539 fi 1971 echo "$as_me: $LINENO: result: $ac_cv_objext" >&51540 echo "$as_me:1540: result: $ac_cv_objext" >&5 1972 1541 echo "${ECHO_T}$ac_cv_objext" >&6 1973 1542 OBJEXT=$ac_cv_objext 1974 1543 ac_objext=$OBJEXT 1975 echo "$as_me: $LINENO: checking whether we are using the GNU C compiler" >&51544 echo "$as_me:1544: checking whether we are using the GNU C compiler" >&5 1976 1545 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 1977 1546 if test "${ac_cv_c_compiler_gnu+set}" = set; then … … 1979 1548 else 1980 1549 cat >conftest.$ac_ext <<_ACEOF 1981 /* confdefs.h. */ 1982 _ACEOF 1983 cat confdefs.h >>conftest.$ac_ext 1984 cat >>conftest.$ac_ext <<_ACEOF 1985 /* end confdefs.h. */ 1550 #line 1550 "configure" 1551 #include "confdefs.h" 1986 1552 1987 1553 int … … 1997 1563 _ACEOF 1998 1564 rm -f conftest.$ac_objext 1999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2000 (eval $ac_compile) 2>conftest.er1 2001 ac_status=$? 2002 grep -v '^ *+' conftest.er1 >conftest.err 2003 rm -f conftest.er1 2004 cat conftest.err >&5 2005 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1565 if { (eval echo "$as_me:1565: \"$ac_compile\"") >&5 1566 (eval $ac_compile) 2>&5 1567 ac_status=$? 1568 echo "$as_me:1568: \$? = $ac_status" >&5 2006 1569 (exit $ac_status); } && 2007 { ac_try='test -z "$ac_c_werror_flag" 2008 || test ! -s conftest.err' 2009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1570 { ac_try='test -s conftest.$ac_objext' 1571 { (eval echo "$as_me:1571: \"$ac_try\"") >&5 2010 1572 (eval $ac_try) 2>&5 2011 1573 ac_status=$? 2012 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2013 (exit $ac_status); }; } && 2014 { ac_try='test -s conftest.$ac_objext' 2015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2016 (eval $ac_try) 2>&5 2017 ac_status=$? 2018 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1574 echo "$as_me:1574: \$? = $ac_status" >&5 2019 1575 (exit $ac_status); }; }; then 2020 1576 ac_compiler_gnu=yes 2021 1577 else 2022 1578 echo "$as_me: failed program was:" >&5 2023 sed 's/^/| /' conftest.$ac_ext >&5 2024 1579 cat conftest.$ac_ext >&5 2025 1580 ac_compiler_gnu=no 2026 1581 fi 2027 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext1582 rm -f conftest.$ac_objext conftest.$ac_ext 2028 1583 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2029 1584 2030 1585 fi 2031 echo "$as_me: $LINENO: result: $ac_cv_c_compiler_gnu" >&51586 echo "$as_me:1586: result: $ac_cv_c_compiler_gnu" >&5 2032 1587 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2033 1588 GCC=`test $ac_compiler_gnu = yes && echo yes` … … 2035 1590 ac_save_CFLAGS=$CFLAGS 2036 1591 CFLAGS="-g" 2037 echo "$as_me: $LINENO: checking whether $CC accepts -g" >&51592 echo "$as_me:1592: checking whether $CC accepts -g" >&5 2038 1593 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2039 1594 if test "${ac_cv_prog_cc_g+set}" = set; then … … 2041 1596 else 2042 1597 cat >conftest.$ac_ext <<_ACEOF 2043 /* confdefs.h. */ 2044 _ACEOF 2045 cat confdefs.h >>conftest.$ac_ext 2046 cat >>conftest.$ac_ext <<_ACEOF 2047 /* end confdefs.h. */ 1598 #line 1598 "configure" 1599 #include "confdefs.h" 2048 1600 2049 1601 int … … 2056 1608 _ACEOF 2057 1609 rm -f conftest.$ac_objext 2058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2059 (eval $ac_compile) 2>conftest.er1 2060 ac_status=$? 2061 grep -v '^ *+' conftest.er1 >conftest.err 2062 rm -f conftest.er1 2063 cat conftest.err >&5 2064 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1610 if { (eval echo "$as_me:1610: \"$ac_compile\"") >&5 1611 (eval $ac_compile) 2>&5 1612 ac_status=$? 1613 echo "$as_me:1613: \$? = $ac_status" >&5 2065 1614 (exit $ac_status); } && 2066 { ac_try='test -z "$ac_c_werror_flag" 2067 || test ! -s conftest.err' 2068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1615 { ac_try='test -s conftest.$ac_objext' 1616 { (eval echo "$as_me:1616: \"$ac_try\"") >&5 2069 1617 (eval $ac_try) 2>&5 2070 1618 ac_status=$? 2071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2072 (exit $ac_status); }; } && 2073 { ac_try='test -s conftest.$ac_objext' 2074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2075 (eval $ac_try) 2>&5 2076 ac_status=$? 2077 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1619 echo "$as_me:1619: \$? = $ac_status" >&5 2078 1620 (exit $ac_status); }; }; then 2079 1621 ac_cv_prog_cc_g=yes 2080 1622 else 2081 1623 echo "$as_me: failed program was:" >&5 2082 sed 's/^/| /' conftest.$ac_ext >&5 2083 1624 cat conftest.$ac_ext >&5 2084 1625 ac_cv_prog_cc_g=no 2085 1626 fi 2086 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext2087 fi 2088 echo "$as_me: $LINENO: result: $ac_cv_prog_cc_g" >&51627 rm -f conftest.$ac_objext conftest.$ac_ext 1628 fi 1629 echo "$as_me:1629: result: $ac_cv_prog_cc_g" >&5 2089 1630 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2090 1631 if test "$ac_test_CFLAGS" = set; then … … 2103 1644 fi 2104 1645 fi 2105 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&52106 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&62107 if test "${ac_cv_prog_cc_stdc+set}" = set; then2108 echo $ECHO_N "(cached) $ECHO_C" >&62109 else2110 ac_cv_prog_cc_stdc=no2111 ac_save_CC=$CC2112 cat >conftest.$ac_ext <<_ACEOF2113 /* confdefs.h. */2114 _ACEOF2115 cat confdefs.h >>conftest.$ac_ext2116 cat >>conftest.$ac_ext <<_ACEOF2117 /* end confdefs.h. */2118 #include <stdarg.h>2119 #include <stdio.h>2120 #include <sys/types.h>2121 #include <sys/stat.h>2122 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */2123 struct buf { int x; };2124 FILE * (*rcsopen) (struct buf *, struct stat *, int);2125 static char *e (p, i)2126 char **p;2127 int i;2128 {2129 return p[i];2130 }2131 static char *f (char * (*g) (char **, int), char **p, ...)2132 {2133 char *s;2134 va_list v;2135 va_start (v,p);2136 s = g (p, va_arg (v,int));2137 va_end (v);2138 return s;2139 }2140 2141 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has2142 function prototypes and stuff, but not '\xHH' hex character constants.2143 These don't provoke an error unfortunately, instead are silently treated2144 as 'x'. The following induces an error, until -std1 is added to get2145 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an2146 array size at least. It's necessary to write '\x00'==0 to get something2147 that's true only with -std1. */2148 int osf4_cc_array ['\x00' == 0 ? 1 : -1];2149 2150 int test (int i, double x);2151 struct s1 {int (*f) (int a);};2152 struct s2 {int (*f) (double a);};2153 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);2154 int argc;2155 char **argv;2156 int2157 main ()2158 {2159 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];2160 ;2161 return 0;2162 }2163 _ACEOF2164 # Don't try gcc -ansi; that turns off useful extensions and2165 # breaks some systems' header files.2166 # AIX -qlanglvl=ansi2167 # Ultrix and OSF/1 -std12168 # HP-UX 10.20 and later -Ae2169 # HP-UX older versions -Aa -D_HPUX_SOURCE2170 # SVR4 -Xc -D__EXTENSIONS__2171 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"2172 do2173 CC="$ac_save_CC $ac_arg"2174 rm -f conftest.$ac_objext2175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52176 (eval $ac_compile) 2>conftest.er12177 ac_status=$?2178 grep -v '^ *+' conftest.er1 >conftest.err2179 rm -f conftest.er12180 cat conftest.err >&52181 echo "$as_me:$LINENO: \$? = $ac_status" >&52182 (exit $ac_status); } &&2183 { ac_try='test -z "$ac_c_werror_flag"2184 || test ! -s conftest.err'2185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52186 (eval $ac_try) 2>&52187 ac_status=$?2188 echo "$as_me:$LINENO: \$? = $ac_status" >&52189 (exit $ac_status); }; } &&2190 { ac_try='test -s conftest.$ac_objext'2191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52192 (eval $ac_try) 2>&52193 ac_status=$?2194 echo "$as_me:$LINENO: \$? = $ac_status" >&52195 (exit $ac_status); }; }; then2196 ac_cv_prog_cc_stdc=$ac_arg2197 break2198 else2199 echo "$as_me: failed program was:" >&52200 sed 's/^/| /' conftest.$ac_ext >&52201 2202 fi2203 rm -f conftest.err conftest.$ac_objext2204 done2205 rm -f conftest.$ac_ext conftest.$ac_objext2206 CC=$ac_save_CC2207 2208 fi2209 2210 case "x$ac_cv_prog_cc_stdc" in2211 x|xno)2212 echo "$as_me:$LINENO: result: none needed" >&52213 echo "${ECHO_T}none needed" >&6 ;;2214 *)2215 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&52216 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&62217 CC="$CC $ac_cv_prog_cc_stdc" ;;2218 esac2219 2220 1646 # Some people use a C++ compiler to compile C. Since we use `exit', 2221 1647 # in C++ we need to declare it. In case someone uses the same compiler … … 2228 1654 _ACEOF 2229 1655 rm -f conftest.$ac_objext 2230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2231 (eval $ac_compile) 2>conftest.er1 2232 ac_status=$? 2233 grep -v '^ *+' conftest.er1 >conftest.err 2234 rm -f conftest.er1 2235 cat conftest.err >&5 2236 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1656 if { (eval echo "$as_me:1656: \"$ac_compile\"") >&5 1657 (eval $ac_compile) 2>&5 1658 ac_status=$? 1659 echo "$as_me:1659: \$? = $ac_status" >&5 2237 1660 (exit $ac_status); } && 2238 { ac_try='test -z "$ac_c_werror_flag" 2239 || test ! -s conftest.err' 2240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1661 { ac_try='test -s conftest.$ac_objext' 1662 { (eval echo "$as_me:1662: \"$ac_try\"") >&5 2241 1663 (eval $ac_try) 2>&5 2242 1664 ac_status=$? 2243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2244 (exit $ac_status); }; } && 2245 { ac_try='test -s conftest.$ac_objext' 2246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2247 (eval $ac_try) 2>&5 2248 ac_status=$? 2249 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1665 echo "$as_me:1665: \$? = $ac_status" >&5 2250 1666 (exit $ac_status); }; }; then 2251 1667 for ac_declaration in \ 2252 '' \ 1668 ''\ 1669 '#include <stdlib.h>' \ 2253 1670 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2254 1671 'extern "C" void std::exit (int); using std::exit;' \ … … 2258 1675 do 2259 1676 cat >conftest.$ac_ext <<_ACEOF 2260 /* confdefs.h. */ 2261 _ACEOF 2262 cat confdefs.h >>conftest.$ac_ext 2263 cat >>conftest.$ac_ext <<_ACEOF 2264 /* end confdefs.h. */ 2265 $ac_declaration 1677 #line 1677 "configure" 1678 #include "confdefs.h" 2266 1679 #include <stdlib.h> 2267 int2268 main ()2269 {2270 exit (42);2271 ;2272 return 0;2273 }2274 _ACEOF2275 rm -f conftest.$ac_objext2276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52277 (eval $ac_compile) 2>conftest.er12278 ac_status=$?2279 grep -v '^ *+' conftest.er1 >conftest.err2280 rm -f conftest.er12281 cat conftest.err >&52282 echo "$as_me:$LINENO: \$? = $ac_status" >&52283 (exit $ac_status); } &&2284 { ac_try='test -z "$ac_c_werror_flag"2285 || test ! -s conftest.err'2286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52287 (eval $ac_try) 2>&52288 ac_status=$?2289 echo "$as_me:$LINENO: \$? = $ac_status" >&52290 (exit $ac_status); }; } &&2291 { ac_try='test -s conftest.$ac_objext'2292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52293 (eval $ac_try) 2>&52294 ac_status=$?2295 echo "$as_me:$LINENO: \$? = $ac_status" >&52296 (exit $ac_status); }; }; then2297 :2298 else2299 echo "$as_me: failed program was:" >&52300 sed 's/^/| /' conftest.$ac_ext >&52301 2302 continue2303 fi2304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2305 cat >conftest.$ac_ext <<_ACEOF2306 /* confdefs.h. */2307 _ACEOF2308 cat confdefs.h >>conftest.$ac_ext2309 cat >>conftest.$ac_ext <<_ACEOF2310 /* end confdefs.h. */2311 1680 $ac_declaration 2312 1681 int … … 2319 1688 _ACEOF 2320 1689 rm -f conftest.$ac_objext 2321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2322 (eval $ac_compile) 2>conftest.er1 2323 ac_status=$? 2324 grep -v '^ *+' conftest.er1 >conftest.err 2325 rm -f conftest.er1 2326 cat conftest.err >&5 2327 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1690 if { (eval echo "$as_me:1690: \"$ac_compile\"") >&5 1691 (eval $ac_compile) 2>&5 1692 ac_status=$? 1693 echo "$as_me:1693: \$? = $ac_status" >&5 2328 1694 (exit $ac_status); } && 2329 { ac_try='test -z "$ac_c_werror_flag" 2330 || test ! -s conftest.err' 2331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1695 { ac_try='test -s conftest.$ac_objext' 1696 { (eval echo "$as_me:1696: \"$ac_try\"") >&5 2332 1697 (eval $ac_try) 2>&5 2333 1698 ac_status=$? 2334 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2335 (exit $ac_status); }; } && 2336 { ac_try='test -s conftest.$ac_objext' 2337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1699 echo "$as_me:1699: \$? = $ac_status" >&5 1700 (exit $ac_status); }; }; then 1701 : 1702 else 1703 echo "$as_me: failed program was:" >&5 1704 cat conftest.$ac_ext >&5 1705 continue 1706 fi 1707 rm -f conftest.$ac_objext conftest.$ac_ext 1708 cat >conftest.$ac_ext <<_ACEOF 1709 #line 1709 "configure" 1710 #include "confdefs.h" 1711 $ac_declaration 1712 int 1713 main () 1714 { 1715 exit (42); 1716 ; 1717 return 0; 1718 } 1719 _ACEOF 1720 rm -f conftest.$ac_objext 1721 if { (eval echo "$as_me:1721: \"$ac_compile\"") >&5 1722 (eval $ac_compile) 2>&5 1723 ac_status=$? 1724 echo "$as_me:1724: \$? = $ac_status" >&5 1725 (exit $ac_status); } && 1726 { ac_try='test -s conftest.$ac_objext' 1727 { (eval echo "$as_me:1727: \"$ac_try\"") >&5 2338 1728 (eval $ac_try) 2>&5 2339 1729 ac_status=$? 2340 echo "$as_me: $LINENO: \$? = $ac_status" >&51730 echo "$as_me:1730: \$? = $ac_status" >&5 2341 1731 (exit $ac_status); }; }; then 2342 1732 break 2343 1733 else 2344 1734 echo "$as_me: failed program was:" >&5 2345 sed 's/^/| /' conftest.$ac_ext >&5 2346 2347 fi 2348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1735 cat conftest.$ac_ext >&5 1736 fi 1737 rm -f conftest.$ac_objext conftest.$ac_ext 2349 1738 done 2350 1739 rm -f conftest* … … 2357 1746 else 2358 1747 echo "$as_me: failed program was:" >&5 2359 sed 's/^/| /' conftest.$ac_ext >&5 2360 2361 fi 2362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1748 cat conftest.$ac_ext >&5 1749 fi 1750 rm -f conftest.$ac_objext conftest.$ac_ext 2363 1751 ac_ext=c 2364 1752 ac_cpp='$CPP $CPPFLAGS' … … 2377 1765 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2378 1766 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2379 echo "$as_me: $LINENO: checking for $ac_word" >&51767 echo "$as_me:1767: checking for $ac_word" >&5 2380 1768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2381 1769 if test "${ac_cv_prog_CXX+set}" = set; then … … 2385 1773 ac_cv_prog_CXX="$CXX" # Let the user override the test. 2386 1774 else 2387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2388 for as_dir in $PATH 2389 do 2390 IFS=$as_save_IFS 2391 test -z "$as_dir" && as_dir=. 2392 for ac_exec_ext in '' $ac_executable_extensions; do 2393 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2394 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2396 break 2 2397 fi 2398 done 1775 ac_save_IFS=$IFS; IFS=$ac_path_separator 1776 ac_dummy="$PATH" 1777 for ac_dir in $ac_dummy; do 1778 IFS=$ac_save_IFS 1779 test -z "$ac_dir" && ac_dir=. 1780 $as_executable_p "$ac_dir/$ac_word" || continue 1781 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 1782 echo "$as_me:1782: found $ac_dir/$ac_word" >&5 1783 break 2399 1784 done 2400 1785 … … 2403 1788 CXX=$ac_cv_prog_CXX 2404 1789 if test -n "$CXX"; then 2405 echo "$as_me: $LINENO: result: $CXX" >&51790 echo "$as_me:1790: result: $CXX" >&5 2406 1791 echo "${ECHO_T}$CXX" >&6 2407 1792 else 2408 echo "$as_me: $LINENO: result: no" >&51793 echo "$as_me:1793: result: no" >&5 2409 1794 echo "${ECHO_T}no" >&6 2410 1795 fi … … 2419 1804 # Extract the first word of "$ac_prog", so it can be a program name with args. 2420 1805 set dummy $ac_prog; ac_word=$2 2421 echo "$as_me: $LINENO: checking for $ac_word" >&51806 echo "$as_me:1806: checking for $ac_word" >&5 2422 1807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2423 1808 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then … … 2427 1812 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 2428 1813 else 2429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2430 for as_dir in $PATH 2431 do 2432 IFS=$as_save_IFS 2433 test -z "$as_dir" && as_dir=. 2434 for ac_exec_ext in '' $ac_executable_extensions; do 2435 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2436 ac_cv_prog_ac_ct_CXX="$ac_prog" 2437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2438 break 2 2439 fi 2440 done 1814 ac_save_IFS=$IFS; IFS=$ac_path_separator 1815 ac_dummy="$PATH" 1816 for ac_dir in $ac_dummy; do 1817 IFS=$ac_save_IFS 1818 test -z "$ac_dir" && ac_dir=. 1819 $as_executable_p "$ac_dir/$ac_word" || continue 1820 ac_cv_prog_ac_ct_CXX="$ac_prog" 1821 echo "$as_me:1821: found $ac_dir/$ac_word" >&5 1822 break 2441 1823 done 2442 1824 … … 2445 1827 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2446 1828 if test -n "$ac_ct_CXX"; then 2447 echo "$as_me: $LINENO: result: $ac_ct_CXX" >&51829 echo "$as_me:1829: result: $ac_ct_CXX" >&5 2448 1830 echo "${ECHO_T}$ac_ct_CXX" >&6 2449 1831 else 2450 echo "$as_me: $LINENO: result: no" >&51832 echo "$as_me:1832: result: no" >&5 2451 1833 echo "${ECHO_T}no" >&6 2452 1834 fi … … 2459 1841 fi 2460 1842 2461 2462 1843 # Provide some information about the compiler. 2463 echo "$as_me: $LINENO:" \1844 echo "$as_me:1844:" \ 2464 1845 "checking for C++ compiler version" >&5 2465 1846 ac_compiler=`set X $ac_compile; echo $2` 2466 { (eval echo "$as_me: $LINENO: \"$ac_compiler --version </dev/null >&5\"") >&51847 { (eval echo "$as_me:1847: \"$ac_compiler --version </dev/null >&5\"") >&5 2467 1848 (eval $ac_compiler --version </dev/null >&5) 2>&5 2468 1849 ac_status=$? 2469 echo "$as_me: $LINENO: \$? = $ac_status" >&51850 echo "$as_me:1850: \$? = $ac_status" >&5 2470 1851 (exit $ac_status); } 2471 { (eval echo "$as_me: $LINENO: \"$ac_compiler -v </dev/null >&5\"") >&51852 { (eval echo "$as_me:1852: \"$ac_compiler -v </dev/null >&5\"") >&5 2472 1853 (eval $ac_compiler -v </dev/null >&5) 2>&5 2473 1854 ac_status=$? 2474 echo "$as_me: $LINENO: \$? = $ac_status" >&51855 echo "$as_me:1855: \$? = $ac_status" >&5 2475 1856 (exit $ac_status); } 2476 { (eval echo "$as_me: $LINENO: \"$ac_compiler -V </dev/null >&5\"") >&51857 { (eval echo "$as_me:1857: \"$ac_compiler -V </dev/null >&5\"") >&5 2477 1858 (eval $ac_compiler -V </dev/null >&5) 2>&5 2478 1859 ac_status=$? 2479 echo "$as_me: $LINENO: \$? = $ac_status" >&51860 echo "$as_me:1860: \$? = $ac_status" >&5 2480 1861 (exit $ac_status); } 2481 1862 2482 echo "$as_me: $LINENO: checking whether we are using the GNU C++ compiler" >&51863 echo "$as_me:1863: checking whether we are using the GNU C++ compiler" >&5 2483 1864 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 2484 1865 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then … … 2486 1867 else 2487 1868 cat >conftest.$ac_ext <<_ACEOF 2488 /* confdefs.h. */ 2489 _ACEOF 2490 cat confdefs.h >>conftest.$ac_ext 2491 cat >>conftest.$ac_ext <<_ACEOF 2492 /* end confdefs.h. */ 1869 #line 1869 "configure" 1870 #include "confdefs.h" 2493 1871 2494 1872 int … … 2504 1882 _ACEOF 2505 1883 rm -f conftest.$ac_objext 2506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2507 (eval $ac_compile) 2>conftest.er1 2508 ac_status=$? 2509 grep -v '^ *+' conftest.er1 >conftest.err 2510 rm -f conftest.er1 2511 cat conftest.err >&5 2512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1884 if { (eval echo "$as_me:1884: \"$ac_compile\"") >&5 1885 (eval $ac_compile) 2>&5 1886 ac_status=$? 1887 echo "$as_me:1887: \$? = $ac_status" >&5 2513 1888 (exit $ac_status); } && 2514 { ac_try='test -z "$ac_cxx_werror_flag" 2515 || test ! -s conftest.err' 2516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1889 { ac_try='test -s conftest.$ac_objext' 1890 { (eval echo "$as_me:1890: \"$ac_try\"") >&5 2517 1891 (eval $ac_try) 2>&5 2518 1892 ac_status=$? 2519 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2520 (exit $ac_status); }; } && 2521 { ac_try='test -s conftest.$ac_objext' 2522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2523 (eval $ac_try) 2>&5 2524 ac_status=$? 2525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1893 echo "$as_me:1893: \$? = $ac_status" >&5 2526 1894 (exit $ac_status); }; }; then 2527 1895 ac_compiler_gnu=yes 2528 1896 else 2529 1897 echo "$as_me: failed program was:" >&5 2530 sed 's/^/| /' conftest.$ac_ext >&5 2531 1898 cat conftest.$ac_ext >&5 2532 1899 ac_compiler_gnu=no 2533 1900 fi 2534 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext1901 rm -f conftest.$ac_objext conftest.$ac_ext 2535 1902 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2536 1903 2537 1904 fi 2538 echo "$as_me: $LINENO: result: $ac_cv_cxx_compiler_gnu" >&51905 echo "$as_me:1905: result: $ac_cv_cxx_compiler_gnu" >&5 2539 1906 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 2540 1907 GXX=`test $ac_compiler_gnu = yes && echo yes` … … 2542 1909 ac_save_CXXFLAGS=$CXXFLAGS 2543 1910 CXXFLAGS="-g" 2544 echo "$as_me: $LINENO: checking whether $CXX accepts -g" >&51911 echo "$as_me:1911: checking whether $CXX accepts -g" >&5 2545 1912 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 2546 1913 if test "${ac_cv_prog_cxx_g+set}" = set; then … … 2548 1915 else 2549 1916 cat >conftest.$ac_ext <<_ACEOF 2550 /* confdefs.h. */ 2551 _ACEOF 2552 cat confdefs.h >>conftest.$ac_ext 2553 cat >>conftest.$ac_ext <<_ACEOF 2554 /* end confdefs.h. */ 1917 #line 1917 "configure" 1918 #include "confdefs.h" 2555 1919 2556 1920 int … … 2563 1927 _ACEOF 2564 1928 rm -f conftest.$ac_objext 2565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2566 (eval $ac_compile) 2>conftest.er1 2567 ac_status=$? 2568 grep -v '^ *+' conftest.er1 >conftest.err 2569 rm -f conftest.er1 2570 cat conftest.err >&5 2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1929 if { (eval echo "$as_me:1929: \"$ac_compile\"") >&5 1930 (eval $ac_compile) 2>&5 1931 ac_status=$? 1932 echo "$as_me:1932: \$? = $ac_status" >&5 2572 1933 (exit $ac_status); } && 2573 { ac_try='test -z "$ac_cxx_werror_flag" 2574 || test ! -s conftest.err' 2575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1934 { ac_try='test -s conftest.$ac_objext' 1935 { (eval echo "$as_me:1935: \"$ac_try\"") >&5 2576 1936 (eval $ac_try) 2>&5 2577 1937 ac_status=$? 2578 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2579 (exit $ac_status); }; } && 2580 { ac_try='test -s conftest.$ac_objext' 2581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2582 (eval $ac_try) 2>&5 2583 ac_status=$? 2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1938 echo "$as_me:1938: \$? = $ac_status" >&5 2585 1939 (exit $ac_status); }; }; then 2586 1940 ac_cv_prog_cxx_g=yes 2587 1941 else 2588 1942 echo "$as_me: failed program was:" >&5 2589 sed 's/^/| /' conftest.$ac_ext >&5 2590 1943 cat conftest.$ac_ext >&5 2591 1944 ac_cv_prog_cxx_g=no 2592 1945 fi 2593 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext2594 fi 2595 echo "$as_me: $LINENO: result: $ac_cv_prog_cxx_g" >&51946 rm -f conftest.$ac_objext conftest.$ac_ext 1947 fi 1948 echo "$as_me:1948: result: $ac_cv_prog_cxx_g" >&5 2596 1949 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 2597 1950 if test "$ac_test_CXXFLAGS" = set; then … … 2611 1964 fi 2612 1965 for ac_declaration in \ 2613 '' \ 1966 ''\ 1967 '#include <stdlib.h>' \ 2614 1968 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2615 1969 'extern "C" void std::exit (int); using std::exit;' \ … … 2619 1973 do 2620 1974 cat >conftest.$ac_ext <<_ACEOF 2621 /* confdefs.h. */ 2622 _ACEOF 2623 cat confdefs.h >>conftest.$ac_ext 2624 cat >>conftest.$ac_ext <<_ACEOF 2625 /* end confdefs.h. */ 2626 $ac_declaration 1975 #line 1975 "configure" 1976 #include "confdefs.h" 2627 1977 #include <stdlib.h> 2628 int2629 main ()2630 {2631 exit (42);2632 ;2633 return 0;2634 }2635 _ACEOF2636 rm -f conftest.$ac_objext2637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52638 (eval $ac_compile) 2>conftest.er12639 ac_status=$?2640 grep -v '^ *+' conftest.er1 >conftest.err2641 rm -f conftest.er12642 cat conftest.err >&52643 echo "$as_me:$LINENO: \$? = $ac_status" >&52644 (exit $ac_status); } &&2645 { ac_try='test -z "$ac_cxx_werror_flag"2646 || test ! -s conftest.err'2647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52648 (eval $ac_try) 2>&52649 ac_status=$?2650 echo "$as_me:$LINENO: \$? = $ac_status" >&52651 (exit $ac_status); }; } &&2652 { ac_try='test -s conftest.$ac_objext'2653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52654 (eval $ac_try) 2>&52655 ac_status=$?2656 echo "$as_me:$LINENO: \$? = $ac_status" >&52657 (exit $ac_status); }; }; then2658 :2659 else2660 echo "$as_me: failed program was:" >&52661 sed 's/^/| /' conftest.$ac_ext >&52662 2663 continue2664 fi2665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2666 cat >conftest.$ac_ext <<_ACEOF2667 /* confdefs.h. */2668 _ACEOF2669 cat confdefs.h >>conftest.$ac_ext2670 cat >>conftest.$ac_ext <<_ACEOF2671 /* end confdefs.h. */2672 1978 $ac_declaration 2673 1979 int … … 2680 1986 _ACEOF 2681 1987 rm -f conftest.$ac_objext 2682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2683 (eval $ac_compile) 2>conftest.er1 2684 ac_status=$? 2685 grep -v '^ *+' conftest.er1 >conftest.err 2686 rm -f conftest.er1 2687 cat conftest.err >&5 2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1988 if { (eval echo "$as_me:1988: \"$ac_compile\"") >&5 1989 (eval $ac_compile) 2>&5 1990 ac_status=$? 1991 echo "$as_me:1991: \$? = $ac_status" >&5 2689 1992 (exit $ac_status); } && 2690 { ac_try='test -z "$ac_cxx_werror_flag" 2691 || test ! -s conftest.err' 2692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1993 { ac_try='test -s conftest.$ac_objext' 1994 { (eval echo "$as_me:1994: \"$ac_try\"") >&5 2693 1995 (eval $ac_try) 2>&5 2694 1996 ac_status=$? 2695 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2696 (exit $ac_status); }; } && 2697 { ac_try='test -s conftest.$ac_objext' 2698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1997 echo "$as_me:1997: \$? = $ac_status" >&5 1998 (exit $ac_status); }; }; then 1999 : 2000 else 2001 echo "$as_me: failed program was:" >&5 2002 cat conftest.$ac_ext >&5 2003 continue 2004 fi 2005 rm -f conftest.$ac_objext conftest.$ac_ext 2006 cat >conftest.$ac_ext <<_ACEOF 2007 #line 2007 "configure" 2008 #include "confdefs.h" 2009 $ac_declaration 2010 int 2011 main () 2012 { 2013 exit (42); 2014 ; 2015 return 0; 2016 } 2017 _ACEOF 2018 rm -f conftest.$ac_objext 2019 if { (eval echo "$as_me:2019: \"$ac_compile\"") >&5 2020 (eval $ac_compile) 2>&5 2021 ac_status=$? 2022 echo "$as_me:2022: \$? = $ac_status" >&5 2023 (exit $ac_status); } && 2024 { ac_try='test -s conftest.$ac_objext' 2025 { (eval echo "$as_me:2025: \"$ac_try\"") >&5 2699 2026 (eval $ac_try) 2>&5 2700 2027 ac_status=$? 2701 echo "$as_me: $LINENO: \$? = $ac_status" >&52028 echo "$as_me:2028: \$? = $ac_status" >&5 2702 2029 (exit $ac_status); }; }; then 2703 2030 break 2704 2031 else 2705 2032 echo "$as_me: failed program was:" >&5 2706 sed 's/^/| /' conftest.$ac_ext >&5 2707 2708 fi 2709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2033 cat conftest.$ac_ext >&5 2034 fi 2035 rm -f conftest.$ac_objext conftest.$ac_ext 2710 2036 done 2711 2037 rm -f conftest* … … 2728 2054 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2729 2055 2730 2731 2732 2733 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 2056 echo "$as_me:2056: checking for pthread_create in -lpthread" >&5 2734 2057 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6 2735 2058 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then … … 2739 2062 LIBS="-lpthread $LIBS" 2740 2063 cat >conftest.$ac_ext <<_ACEOF 2741 /* confdefs.h. */ 2742 _ACEOF 2743 cat confdefs.h >>conftest.$ac_ext 2744 cat >>conftest.$ac_ext <<_ACEOF 2745 /* end confdefs.h. */ 2064 #line 2064 "configure" 2065 #include "confdefs.h" 2746 2066 2747 2067 /* Override any gcc2 internal prototype to avoid an error. */ … … 2761 2081 _ACEOF 2762 2082 rm -f conftest.$ac_objext conftest$ac_exeext 2763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2764 (eval $ac_link) 2>conftest.er1 2765 ac_status=$? 2766 grep -v '^ *+' conftest.er1 >conftest.err 2767 rm -f conftest.er1 2768 cat conftest.err >&5 2769 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2083 if { (eval echo "$as_me:2083: \"$ac_link\"") >&5 2084 (eval $ac_link) 2>&5 2085 ac_status=$? 2086 echo "$as_me:2086: \$? = $ac_status" >&5 2770 2087 (exit $ac_status); } && 2771 { ac_try='test -z "$ac_c_werror_flag" 2772 || test ! -s conftest.err' 2773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2088 { ac_try='test -s conftest$ac_exeext' 2089 { (eval echo "$as_me:2089: \"$ac_try\"") >&5 2774 2090 (eval $ac_try) 2>&5 2775 2091 ac_status=$? 2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2777 (exit $ac_status); }; } && 2778 { ac_try='test -s conftest$ac_exeext' 2779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2780 (eval $ac_try) 2>&5 2781 ac_status=$? 2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2092 echo "$as_me:2092: \$? = $ac_status" >&5 2783 2093 (exit $ac_status); }; }; then 2784 2094 ac_cv_lib_pthread_pthread_create=yes 2785 2095 else 2786 2096 echo "$as_me: failed program was:" >&5 2787 sed 's/^/| /' conftest.$ac_ext >&5 2788 2097 cat conftest.$ac_ext >&5 2789 2098 ac_cv_lib_pthread_pthread_create=no 2790 2099 fi 2791 rm -f conftest.err conftest.$ac_objext \ 2792 conftest$ac_exeext conftest.$ac_ext 2100 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2793 2101 LIBS=$ac_check_lib_save_LIBS 2794 2102 fi 2795 echo "$as_me: $LINENO: result: $ac_cv_lib_pthread_pthread_create" >&52103 echo "$as_me:2103: result: $ac_cv_lib_pthread_pthread_create" >&5 2796 2104 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6 2797 2105 if test $ac_cv_lib_pthread_pthread_create = yes; then 2798 cat >>confdefs.h << _ACEOF2106 cat >>confdefs.h <<EOF 2799 2107 #define HAVE_LIBPTHREAD 1 2800 _ACEOF2108 EOF 2801 2109 2802 2110 LIBS="-lpthread $LIBS" … … 2804 2112 fi 2805 2113 2806 2807 echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&5 2114 echo "$as_me:2114: result: Setting PJ_M_NAME to $target_cpu" >&5 2808 2115 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6 2809 cat >>confdefs.h << _ACEOF2116 cat >>confdefs.h <<EOF 2810 2117 #define PJ_M_NAME "$target_cpu" 2811 _ACEOF 2812 2813 2814 # Endianness detection 2815 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 2118 EOF 2119 2120 echo "$as_me:2120: checking whether byte ordering is bigendian" >&5 2816 2121 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 2817 2122 if test "${ac_cv_c_bigendian+set}" = set; then 2818 2123 echo $ECHO_N "(cached) $ECHO_C" >&6 2819 2124 else 2820 # See if sys/param.h defines the BYTE_ORDER macro. 2125 ac_cv_c_bigendian=unknown 2126 # See if sys/param.h defines the BYTE_ORDER macro. 2821 2127 cat >conftest.$ac_ext <<_ACEOF 2822 /* confdefs.h. */ 2823 _ACEOF 2824 cat confdefs.h >>conftest.$ac_ext 2825 cat >>conftest.$ac_ext <<_ACEOF 2826 /* end confdefs.h. */ 2128 #line 2128 "configure" 2129 #include "confdefs.h" 2827 2130 #include <sys/types.h> 2828 2131 #include <sys/param.h> … … 2840 2143 _ACEOF 2841 2144 rm -f conftest.$ac_objext 2842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2843 (eval $ac_compile) 2>conftest.er1 2844 ac_status=$? 2845 grep -v '^ *+' conftest.er1 >conftest.err 2846 rm -f conftest.er1 2847 cat conftest.err >&5 2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2145 if { (eval echo "$as_me:2145: \"$ac_compile\"") >&5 2146 (eval $ac_compile) 2>&5 2147 ac_status=$? 2148 echo "$as_me:2148: \$? = $ac_status" >&5 2849 2149 (exit $ac_status); } && 2850 { ac_try='test -z "$ac_c_werror_flag" 2851 || test ! -s conftest.err' 2852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2150 { ac_try='test -s conftest.$ac_objext' 2151 { (eval echo "$as_me:2151: \"$ac_try\"") >&5 2853 2152 (eval $ac_try) 2>&5 2854 2153 ac_status=$? 2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2856 (exit $ac_status); }; } && 2857 { ac_try='test -s conftest.$ac_objext' 2858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2859 (eval $ac_try) 2>&5 2860 ac_status=$? 2861 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2154 echo "$as_me:2154: \$? = $ac_status" >&5 2862 2155 (exit $ac_status); }; }; then 2863 2156 # It does; now see whether it defined to BIG_ENDIAN or not. 2864 2157 cat >conftest.$ac_ext <<_ACEOF 2865 /* confdefs.h. */ 2866 _ACEOF 2867 cat confdefs.h >>conftest.$ac_ext 2868 cat >>conftest.$ac_ext <<_ACEOF 2869 /* end confdefs.h. */ 2158 #line 2158 "configure" 2159 #include "confdefs.h" 2870 2160 #include <sys/types.h> 2871 2161 #include <sys/param.h> … … 2883 2173 _ACEOF 2884 2174 rm -f conftest.$ac_objext 2885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2886 (eval $ac_compile) 2>conftest.er1 2887 ac_status=$? 2888 grep -v '^ *+' conftest.er1 >conftest.err 2889 rm -f conftest.er1 2890 cat conftest.err >&5 2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2175 if { (eval echo "$as_me:2175: \"$ac_compile\"") >&5 2176 (eval $ac_compile) 2>&5 2177 ac_status=$? 2178 echo "$as_me:2178: \$? = $ac_status" >&5 2892 2179 (exit $ac_status); } && 2893 { ac_try='test -z "$ac_c_werror_flag" 2894 || test ! -s conftest.err' 2895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2180 { ac_try='test -s conftest.$ac_objext' 2181 { (eval echo "$as_me:2181: \"$ac_try\"") >&5 2896 2182 (eval $ac_try) 2>&5 2897 2183 ac_status=$? 2898 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2899 (exit $ac_status); }; } && 2900 { ac_try='test -s conftest.$ac_objext' 2901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2902 (eval $ac_try) 2>&5 2903 ac_status=$? 2904 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2184 echo "$as_me:2184: \$? = $ac_status" >&5 2905 2185 (exit $ac_status); }; }; then 2906 2186 ac_cv_c_bigendian=yes 2907 2187 else 2908 2188 echo "$as_me: failed program was:" >&5 2909 sed 's/^/| /' conftest.$ac_ext >&5 2910 2189 cat conftest.$ac_ext >&5 2911 2190 ac_cv_c_bigendian=no 2912 2191 fi 2913 rm -f conftest. err conftest.$ac_objext conftest.$ac_ext2192 rm -f conftest.$ac_objext conftest.$ac_ext 2914 2193 else 2915 2194 echo "$as_me: failed program was:" >&5 2916 sed 's/^/| /' conftest.$ac_ext >&5 2917 2918 # It does not; compile a test program. 2195 cat conftest.$ac_ext >&5 2196 fi 2197 rm -f conftest.$ac_objext conftest.$ac_ext 2198 if test $ac_cv_c_bigendian = unknown; then 2919 2199 if test "$cross_compiling" = yes; then 2920 # try to guess the endianness by grepping values into an object file 2921 ac_cv_c_bigendian=unknown 2200 { { echo "$as_me:2200: error: cannot run test program while cross compiling" >&5 2201 echo "$as_me: error: cannot run test program while cross compiling" >&2;} 2202 { (exit 1); exit 1; }; } 2203 else 2922 2204 cat >conftest.$ac_ext <<_ACEOF 2923 /* confdefs.h. */ 2924 _ACEOF 2925 cat confdefs.h >>conftest.$ac_ext 2926 cat >>conftest.$ac_ext <<_ACEOF 2927 /* end confdefs.h. */ 2928 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 2929 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 2930 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 2931 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 2932 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 2933 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 2934 int 2935 main () 2936 { 2937 _ascii (); _ebcdic (); 2938 ; 2939 return 0; 2940 } 2941 _ACEOF 2942 rm -f conftest.$ac_objext 2943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2944 (eval $ac_compile) 2>conftest.er1 2945 ac_status=$? 2946 grep -v '^ *+' conftest.er1 >conftest.err 2947 rm -f conftest.er1 2948 cat conftest.err >&5 2949 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2950 (exit $ac_status); } && 2951 { ac_try='test -z "$ac_c_werror_flag" 2952 || test ! -s conftest.err' 2953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2954 (eval $ac_try) 2>&5 2955 ac_status=$? 2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2957 (exit $ac_status); }; } && 2958 { ac_try='test -s conftest.$ac_objext' 2959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2960 (eval $ac_try) 2>&5 2961 ac_status=$? 2962 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2963 (exit $ac_status); }; }; then 2964 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 2965 ac_cv_c_bigendian=yes 2966 fi 2967 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 2968 if test "$ac_cv_c_bigendian" = unknown; then 2969 ac_cv_c_bigendian=no 2970 else 2971 # finding both strings is unlikely to happen, but who knows? 2972 ac_cv_c_bigendian=unknown 2973 fi 2974 fi 2975 else 2976 echo "$as_me: failed program was:" >&5 2977 sed 's/^/| /' conftest.$ac_ext >&5 2978 2979 fi 2980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2981 else 2982 cat >conftest.$ac_ext <<_ACEOF 2983 /* confdefs.h. */ 2984 _ACEOF 2985 cat confdefs.h >>conftest.$ac_ext 2986 cat >>conftest.$ac_ext <<_ACEOF 2987 /* end confdefs.h. */ 2205 #line 2205 "configure" 2206 #include "confdefs.h" 2988 2207 int 2989 2208 main () … … 3000 2219 _ACEOF 3001 2220 rm -f conftest$ac_exeext 3002 if { (eval echo "$as_me: $LINENO: \"$ac_link\"") >&52221 if { (eval echo "$as_me:2221: \"$ac_link\"") >&5 3003 2222 (eval $ac_link) 2>&5 3004 2223 ac_status=$? 3005 echo "$as_me: $LINENO: \$? = $ac_status" >&52224 echo "$as_me:2224: \$? = $ac_status" >&5 3006 2225 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3007 { (eval echo "$as_me: $LINENO: \"$ac_try\"") >&52226 { (eval echo "$as_me:2226: \"$ac_try\"") >&5 3008 2227 (eval $ac_try) 2>&5 3009 2228 ac_status=$? 3010 echo "$as_me: $LINENO: \$? = $ac_status" >&52229 echo "$as_me:2229: \$? = $ac_status" >&5 3011 2230 (exit $ac_status); }; }; then 3012 2231 ac_cv_c_bigendian=no … … 3014 2233 echo "$as_me: program exited with status $ac_status" >&5 3015 2234 echo "$as_me: failed program was:" >&5 3016 sed 's/^/| /' conftest.$ac_ext >&5 3017 3018 ( exit $ac_status ) 2235 cat conftest.$ac_ext >&5 3019 2236 ac_cv_c_bigendian=yes 3020 2237 fi 3021 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3022 fi 3023 fi 3024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3025 fi 3026 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 2238 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 2239 fi 2240 fi 2241 fi 2242 echo "$as_me:2242: result: $ac_cv_c_bigendian" >&5 3027 2243 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 3028 case $ac_cv_c_bigendian in 3029 yes) 3030 ac_bigendian=1 3031 3032 cat >>confdefs.h <<\_ACEOF 3033 #define PJ_IS_LITTLE_ENDIAN 0 3034 _ACEOF 3035 3036 cat >>confdefs.h <<\_ACEOF 3037 #define PJ_IS_BIG_ENDIAN 1 3038 _ACEOF 3039 3040 ;; 3041 no) 3042 ac_bigendian=0 3043 3044 cat >>confdefs.h <<\_ACEOF 3045 #define PJ_IS_LITTLE_ENDIAN 1 3046 _ACEOF 3047 3048 cat >>confdefs.h <<\_ACEOF 3049 #define PJ_IS_BIG_ENDIAN 0 3050 _ACEOF 3051 3052 ;; 3053 *) 3054 { { echo "$as_me:$LINENO: error: unknown endianness 3055 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 3056 echo "$as_me: error: unknown endianness 3057 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 3058 { (exit 1); exit 1; }; } ;; 3059 esac 3060 3061 3062 # --disable-floating-point option 2244 if test $ac_cv_c_bigendian = yes; then 2245 2246 cat >>confdefs.h <<\EOF 2247 #define WORDS_BIGENDIAN 1 2248 EOF 2249 2250 fi 2251 3063 2252 # Check whether --enable-floating-point or --disable-floating-point was given. 3064 2253 if test "${enable_floating_point+set}" = set; then 3065 2254 enableval="$enable_floating_point" 3066 2255 if test "$enable_floating_point" = "no"; then 3067 cat >>confdefs.h <<\ _ACEOF2256 cat >>confdefs.h <<\EOF 3068 2257 #define PJ_HAS_FLOATING_POINT 0 3069 _ACEOF3070 3071 echo "$as_me: $LINENO: result: Checking if floating point is disabled... yes" >&52258 EOF 2259 2260 echo "$as_me:2260: result: Checking if floating point is disabled... yes" >&5 3072 2261 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6 3073 2262 fi 3074 2263 else 3075 2264 3076 cat >>confdefs.h <<\ _ACEOF2265 cat >>confdefs.h <<\EOF 3077 2266 #define PJ_HAS_FLOATING_POINT 1 3078 _ACEOF3079 3080 echo "$as_me: $LINENO: result: Checking if floating point is disabled... no" >&52267 EOF 2268 2269 echo "$as_me:2269: result: Checking if floating point is disabled... no" >&5 3081 2270 echo "${ECHO_T}Checking if floating point is disabled... no" >&6 3082 2271 3083 echo "$as_me: $LINENO: checking for fmod in -lm" >&52272 echo "$as_me:2272: checking for fmod in -lm" >&5 3084 2273 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6 3085 2274 if test "${ac_cv_lib_m_fmod+set}" = set; then … … 3089 2278 LIBS="-lm $LIBS" 3090 2279 cat >conftest.$ac_ext <<_ACEOF 3091 /* confdefs.h. */ 3092 _ACEOF 3093 cat confdefs.h >>conftest.$ac_ext 3094 cat >>conftest.$ac_ext <<_ACEOF 3095 /* end confdefs.h. */ 2280 #line 2280 "configure" 2281 #include "confdefs.h" 3096 2282 3097 2283 /* Override any gcc2 internal prototype to avoid an error. */ … … 3111 2297 _ACEOF 3112 2298 rm -f conftest.$ac_objext conftest$ac_exeext 3113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3114 (eval $ac_link) 2>conftest.er1 3115 ac_status=$? 3116 grep -v '^ *+' conftest.er1 >conftest.err 3117 rm -f conftest.er1 3118 cat conftest.err >&5 3119 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2299 if { (eval echo "$as_me:2299: \"$ac_link\"") >&5 2300 (eval $ac_link) 2>&5 2301 ac_status=$? 2302 echo "$as_me:2302: \$? = $ac_status" >&5 3120 2303 (exit $ac_status); } && 3121 { ac_try='test -z "$ac_c_werror_flag" 3122 || test ! -s conftest.err' 3123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2304 { ac_try='test -s conftest$ac_exeext' 2305 { (eval echo "$as_me:2305: \"$ac_try\"") >&5 3124 2306 (eval $ac_try) 2>&5 3125 2307 ac_status=$? 3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3127 (exit $ac_status); }; } && 3128 { ac_try='test -s conftest$ac_exeext' 3129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3130 (eval $ac_try) 2>&5 3131 ac_status=$? 3132 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2308 echo "$as_me:2308: \$? = $ac_status" >&5 3133 2309 (exit $ac_status); }; }; then 3134 2310 ac_cv_lib_m_fmod=yes 3135 2311 else 3136 2312 echo "$as_me: failed program was:" >&5 3137 sed 's/^/| /' conftest.$ac_ext >&5 3138 2313 cat conftest.$ac_ext >&5 3139 2314 ac_cv_lib_m_fmod=no 3140 2315 fi 3141 rm -f conftest.err conftest.$ac_objext \ 3142 conftest$ac_exeext conftest.$ac_ext 2316 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3143 2317 LIBS=$ac_check_lib_save_LIBS 3144 2318 fi 3145 echo "$as_me: $LINENO: result: $ac_cv_lib_m_fmod" >&52319 echo "$as_me:2319: result: $ac_cv_lib_m_fmod" >&5 3146 2320 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6 3147 2321 if test $ac_cv_lib_m_fmod = yes; then 3148 cat >>confdefs.h << _ACEOF2322 cat >>confdefs.h <<EOF 3149 2323 #define HAVE_LIBM 1 3150 _ACEOF2324 EOF 3151 2325 3152 2326 LIBS="-lm $LIBS" … … 3154 2328 fi 3155 2329 3156 3157 2330 fi; 3158 3159 2331 3160 2332 ac_ext=c … … 3163 2335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3164 2336 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3165 echo "$as_me: $LINENO: checking how to run the C preprocessor" >&52337 echo "$as_me:2337: checking how to run the C preprocessor" >&5 3166 2338 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3167 2339 # On Suns, sometimes $CPP names a directory. … … 3181 2353 # Use a header file that comes with gcc, so configuring glibc 3182 2354 # with a fresh cross-compiler works. 3183 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since3184 # <limits.h> exists even on freestanding compilers.3185 2355 # On the NeXT, cc -E runs the code through the compiler's parser, 3186 2356 # not just through cpp. "Syntax error" is here to catch this case. 3187 2357 cat >conftest.$ac_ext <<_ACEOF 3188 /* confdefs.h. */ 3189 _ACEOF 3190 cat confdefs.h >>conftest.$ac_ext 3191 cat >>conftest.$ac_ext <<_ACEOF 3192 /* end confdefs.h. */ 3193 #ifdef __STDC__ 3194 # include <limits.h> 3195 #else 3196 # include <assert.h> 3197 #endif 3198 Syntax error 3199 _ACEOF 3200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2358 #line 2358 "configure" 2359 #include "confdefs.h" 2360 #include <assert.h> 2361 Syntax error 2362 _ACEOF 2363 if { (eval echo "$as_me:2363: \"$ac_cpp conftest.$ac_ext\"") >&5 3201 2364 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3202 2365 ac_status=$? 3203 grep -v '^ *+' conftest.er1 >conftest.err2366 egrep -v '^ *\+' conftest.er1 >conftest.err 3204 2367 rm -f conftest.er1 3205 2368 cat conftest.err >&5 3206 echo "$as_me: $LINENO: \$? = $ac_status" >&52369 echo "$as_me:2369: \$? = $ac_status" >&5 3207 2370 (exit $ac_status); } >/dev/null; then 3208 2371 if test -s conftest.err; then 3209 2372 ac_cpp_err=$ac_c_preproc_warn_flag 3210 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag3211 2373 else 3212 2374 ac_cpp_err= … … 3219 2381 else 3220 2382 echo "$as_me: failed program was:" >&5 3221 sed 's/^/| /' conftest.$ac_ext >&5 3222 2383 cat conftest.$ac_ext >&5 3223 2384 # Broken: fails on valid input. 3224 2385 continue … … 3229 2390 # can be detected and how. 3230 2391 cat >conftest.$ac_ext <<_ACEOF 3231 /* confdefs.h. */ 3232 _ACEOF 3233 cat confdefs.h >>conftest.$ac_ext 3234 cat >>conftest.$ac_ext <<_ACEOF 3235 /* end confdefs.h. */ 2392 #line 2392 "configure" 2393 #include "confdefs.h" 3236 2394 #include <ac_nonexistent.h> 3237 2395 _ACEOF 3238 if { (eval echo "$as_me: $LINENO: \"$ac_cpp conftest.$ac_ext\"") >&52396 if { (eval echo "$as_me:2396: \"$ac_cpp conftest.$ac_ext\"") >&5 3239 2397 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3240 2398 ac_status=$? 3241 grep -v '^ *+' conftest.er1 >conftest.err2399 egrep -v '^ *\+' conftest.er1 >conftest.err 3242 2400 rm -f conftest.er1 3243 2401 cat conftest.err >&5 3244 echo "$as_me: $LINENO: \$? = $ac_status" >&52402 echo "$as_me:2402: \$? = $ac_status" >&5 3245 2403 (exit $ac_status); } >/dev/null; then 3246 2404 if test -s conftest.err; then 3247 2405 ac_cpp_err=$ac_c_preproc_warn_flag 3248 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag3249 2406 else 3250 2407 ac_cpp_err= … … 3258 2415 else 3259 2416 echo "$as_me: failed program was:" >&5 3260 sed 's/^/| /' conftest.$ac_ext >&5 3261 2417 cat conftest.$ac_ext >&5 3262 2418 # Passes both tests. 3263 2419 ac_preproc_ok=: … … 3281 2437 ac_cv_prog_CPP=$CPP 3282 2438 fi 3283 echo "$as_me: $LINENO: result: $CPP" >&52439 echo "$as_me:2439: result: $CPP" >&5 3284 2440 echo "${ECHO_T}$CPP" >&6 3285 2441 ac_preproc_ok=false … … 3288 2444 # Use a header file that comes with gcc, so configuring glibc 3289 2445 # with a fresh cross-compiler works. 3290 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since3291 # <limits.h> exists even on freestanding compilers.3292 2446 # On the NeXT, cc -E runs the code through the compiler's parser, 3293 2447 # not just through cpp. "Syntax error" is here to catch this case. 3294 2448 cat >conftest.$ac_ext <<_ACEOF 3295 /* confdefs.h. */ 3296 _ACEOF 3297 cat confdefs.h >>conftest.$ac_ext 3298 cat >>conftest.$ac_ext <<_ACEOF 3299 /* end confdefs.h. */ 3300 #ifdef __STDC__ 3301 # include <limits.h> 3302 #else 3303 # include <assert.h> 3304 #endif 3305 Syntax error 3306 _ACEOF 3307 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2449 #line 2449 "configure" 2450 #include "confdefs.h" 2451 #include <assert.h> 2452 Syntax error 2453 _ACEOF 2454 if { (eval echo "$as_me:2454: \"$ac_cpp conftest.$ac_ext\"") >&5 3308 2455 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3309 2456 ac_status=$? 3310 grep -v '^ *+' conftest.er1 >conftest.err2457 egrep -v '^ *\+' conftest.er1 >conftest.err 3311 2458 rm -f conftest.er1 3312 2459 cat conftest.err >&5 3313 echo "$as_me: $LINENO: \$? = $ac_status" >&52460 echo "$as_me:2460: \$? = $ac_status" >&5 3314 2461 (exit $ac_status); } >/dev/null; then 3315 2462 if test -s conftest.err; then 3316 2463 ac_cpp_err=$ac_c_preproc_warn_flag 3317 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag3318 2464 else 3319 2465 ac_cpp_err= … … 3326 2472 else 3327 2473 echo "$as_me: failed program was:" >&5 3328 sed 's/^/| /' conftest.$ac_ext >&5 3329 2474 cat conftest.$ac_ext >&5 3330 2475 # Broken: fails on valid input. 3331 2476 continue … … 3336 2481 # can be detected and how. 3337 2482 cat >conftest.$ac_ext <<_ACEOF 3338 /* confdefs.h. */ 3339 _ACEOF 3340 cat confdefs.h >>conftest.$ac_ext 3341 cat >>conftest.$ac_ext <<_ACEOF 3342 /* end confdefs.h. */ 2483 #line 2483 "configure" 2484 #include "confdefs.h" 3343 2485 #include <ac_nonexistent.h> 3344 2486 _ACEOF 3345 if { (eval echo "$as_me: $LINENO: \"$ac_cpp conftest.$ac_ext\"") >&52487 if { (eval echo "$as_me:2487: \"$ac_cpp conftest.$ac_ext\"") >&5 3346 2488 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3347 2489 ac_status=$? 3348 grep -v '^ *+' conftest.er1 >conftest.err2490 egrep -v '^ *\+' conftest.er1 >conftest.err 3349 2491 rm -f conftest.er1 3350 2492 cat conftest.err >&5 3351 echo "$as_me: $LINENO: \$? = $ac_status" >&52493 echo "$as_me:2493: \$? = $ac_status" >&5 3352 2494 (exit $ac_status); } >/dev/null; then 3353 2495 if test -s conftest.err; then 3354 2496 ac_cpp_err=$ac_c_preproc_warn_flag 3355 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag3356 2497 else 3357 2498 ac_cpp_err= … … 3365 2506 else 3366 2507 echo "$as_me: failed program was:" >&5 3367 sed 's/^/| /' conftest.$ac_ext >&5 3368 2508 cat conftest.$ac_ext >&5 3369 2509 # Passes both tests. 3370 2510 ac_preproc_ok=: … … 3379 2519 : 3380 2520 else 3381 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3382 See \`config.log' for more details." >&5 3383 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3384 See \`config.log' for more details." >&2;} 2521 { { echo "$as_me:2521: error: C preprocessor \"$CPP\" fails sanity check" >&5 2522 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 3385 2523 { (exit 1); exit 1; }; } 3386 2524 fi … … 3392 2530 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3393 2531 3394 3395 echo "$as_me:$LINENO: checking for egrep" >&5 3396 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3397 if test "${ac_cv_prog_egrep+set}" = set; then 3398 echo $ECHO_N "(cached) $ECHO_C" >&6 3399 else 3400 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3401 then ac_cv_prog_egrep='grep -E' 3402 else ac_cv_prog_egrep='egrep' 3403 fi 3404 fi 3405 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3406 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3407 EGREP=$ac_cv_prog_egrep 3408 3409 3410 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3411 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3412 if test "${ac_cv_header_stdc+set}" = set; then 3413 echo $ECHO_N "(cached) $ECHO_C" >&6 3414 else 3415 cat >conftest.$ac_ext <<_ACEOF 3416 /* confdefs.h. */ 3417 _ACEOF 3418 cat confdefs.h >>conftest.$ac_ext 3419 cat >>conftest.$ac_ext <<_ACEOF 3420 /* end confdefs.h. */ 3421 #include <stdlib.h> 3422 #include <stdarg.h> 3423 #include <string.h> 3424 #include <float.h> 3425 3426 int 3427 main () 3428 { 3429 3430 ; 3431 return 0; 3432 } 3433 _ACEOF 3434 rm -f conftest.$ac_objext 3435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3436 (eval $ac_compile) 2>conftest.er1 3437 ac_status=$? 3438 grep -v '^ *+' conftest.er1 >conftest.err 3439 rm -f conftest.er1 3440 cat conftest.err >&5 3441 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3442 (exit $ac_status); } && 3443 { ac_try='test -z "$ac_c_werror_flag" 3444 || test ! -s conftest.err' 3445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3446 (eval $ac_try) 2>&5 3447 ac_status=$? 3448 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3449 (exit $ac_status); }; } && 3450 { ac_try='test -s conftest.$ac_objext' 3451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3452 (eval $ac_try) 2>&5 3453 ac_status=$? 3454 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3455 (exit $ac_status); }; }; then 3456 ac_cv_header_stdc=yes 3457 else 3458 echo "$as_me: failed program was:" >&5 3459 sed 's/^/| /' conftest.$ac_ext >&5 3460 3461 ac_cv_header_stdc=no 3462 fi 3463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3464 3465 if test $ac_cv_header_stdc = yes; then 3466 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3467 cat >conftest.$ac_ext <<_ACEOF 3468 /* confdefs.h. */ 3469 _ACEOF 3470 cat confdefs.h >>conftest.$ac_ext 3471 cat >>conftest.$ac_ext <<_ACEOF 3472 /* end confdefs.h. */ 3473 #include <string.h> 3474 3475 _ACEOF 3476 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3477 $EGREP "memchr" >/dev/null 2>&1; then 3478 : 3479 else 3480 ac_cv_header_stdc=no 3481 fi 3482 rm -f conftest* 3483 3484 fi 3485 3486 if test $ac_cv_header_stdc = yes; then 3487 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3488 cat >conftest.$ac_ext <<_ACEOF 3489 /* confdefs.h. */ 3490 _ACEOF 3491 cat confdefs.h >>conftest.$ac_ext 3492 cat >>conftest.$ac_ext <<_ACEOF 3493 /* end confdefs.h. */ 3494 #include <stdlib.h> 3495 3496 _ACEOF 3497 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3498 $EGREP "free" >/dev/null 2>&1; then 3499 : 3500 else 3501 ac_cv_header_stdc=no 3502 fi 3503 rm -f conftest* 3504 3505 fi 3506 3507 if test $ac_cv_header_stdc = yes; then 3508 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3509 if test "$cross_compiling" = yes; then 3510 : 3511 else 3512 cat >conftest.$ac_ext <<_ACEOF 3513 /* confdefs.h. */ 3514 _ACEOF 3515 cat confdefs.h >>conftest.$ac_ext 3516 cat >>conftest.$ac_ext <<_ACEOF 3517 /* end confdefs.h. */ 3518 #include <ctype.h> 3519 #if ((' ' & 0x0FF) == 0x020) 3520 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3521 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3522 #else 3523 # define ISLOWER(c) \ 3524 (('a' <= (c) && (c) <= 'i') \ 3525 || ('j' <= (c) && (c) <= 'r') \ 3526 || ('s' <= (c) && (c) <= 'z')) 3527 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3528 #endif 3529 3530 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3531 int 3532 main () 3533 { 3534 int i; 3535 for (i = 0; i < 256; i++) 3536 if (XOR (islower (i), ISLOWER (i)) 3537 || toupper (i) != TOUPPER (i)) 3538 exit(2); 3539 exit (0); 3540 } 3541 _ACEOF 3542 rm -f conftest$ac_exeext 3543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3544 (eval $ac_link) 2>&5 3545 ac_status=$? 3546 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3547 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3549 (eval $ac_try) 2>&5 3550 ac_status=$? 3551 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3552 (exit $ac_status); }; }; then 3553 : 3554 else 3555 echo "$as_me: program exited with status $ac_status" >&5 3556 echo "$as_me: failed program was:" >&5 3557 sed 's/^/| /' conftest.$ac_ext >&5 3558 3559 ( exit $ac_status ) 3560 ac_cv_header_stdc=no 3561 fi 3562 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3563 fi 3564 fi 3565 fi 3566 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3567 echo "${ECHO_T}$ac_cv_header_stdc" >&6 3568 if test $ac_cv_header_stdc = yes; then 3569 3570 cat >>confdefs.h <<\_ACEOF 3571 #define STDC_HEADERS 1 3572 _ACEOF 3573 3574 fi 3575 3576 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3587 inttypes.h stdint.h unistd.h 3588 do 3589 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3590 echo "$as_me:$LINENO: checking for $ac_header" >&5 3591 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3592 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3593 echo $ECHO_N "(cached) $ECHO_C" >&6 3594 else 3595 cat >conftest.$ac_ext <<_ACEOF 3596 /* confdefs.h. */ 3597 _ACEOF 3598 cat confdefs.h >>conftest.$ac_ext 3599 cat >>conftest.$ac_ext <<_ACEOF 3600 /* end confdefs.h. */ 3601 $ac_includes_default 3602 3603 #include <$ac_header> 3604 _ACEOF 3605 rm -f conftest.$ac_objext 3606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3607 (eval $ac_compile) 2>conftest.er1 3608 ac_status=$? 3609 grep -v '^ *+' conftest.er1 >conftest.err 3610 rm -f conftest.er1 3611 cat conftest.err >&5 3612 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3613 (exit $ac_status); } && 3614 { ac_try='test -z "$ac_c_werror_flag" 3615 || test ! -s conftest.err' 3616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3617 (eval $ac_try) 2>&5 3618 ac_status=$? 3619 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3620 (exit $ac_status); }; } && 3621 { ac_try='test -s conftest.$ac_objext' 3622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3623 (eval $ac_try) 2>&5 3624 ac_status=$? 3625 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3626 (exit $ac_status); }; }; then 3627 eval "$as_ac_Header=yes" 3628 else 3629 echo "$as_me: failed program was:" >&5 3630 sed 's/^/| /' conftest.$ac_ext >&5 3631 3632 eval "$as_ac_Header=no" 3633 fi 3634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3635 fi 3636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3637 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3638 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3639 cat >>confdefs.h <<_ACEOF 3640 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3641 _ACEOF 3642 3643 fi 3644 3645 done 3646 3647 3648 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 3649 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 2532 echo "$as_me:2532: checking for arpa/inet.h" >&5 3650 2533 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 3651 2534 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 3652 2535 echo $ECHO_N "(cached) $ECHO_C" >&6 3653 fi 3654 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 3655 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 3656 else 3657 # Is the header compilable? 3658 echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 3659 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6 3660 cat >conftest.$ac_ext <<_ACEOF 3661 /* confdefs.h. */ 3662 _ACEOF 3663 cat confdefs.h >>conftest.$ac_ext 3664 cat >>conftest.$ac_ext <<_ACEOF 3665 /* end confdefs.h. */ 3666 $ac_includes_default 2536 else 2537 cat >conftest.$ac_ext <<_ACEOF 2538 #line 2538 "configure" 2539 #include "confdefs.h" 3667 2540 #include <arpa/inet.h> 3668 2541 _ACEOF 3669 rm -f conftest.$ac_objext 3670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3671 (eval $ac_compile) 2>conftest.er1 3672 ac_status=$? 3673 grep -v '^ *+' conftest.er1 >conftest.err 2542 if { (eval echo "$as_me:2542: \"$ac_cpp conftest.$ac_ext\"") >&5 2543 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2544 ac_status=$? 2545 egrep -v '^ *\+' conftest.er1 >conftest.err 3674 2546 rm -f conftest.er1 3675 2547 cat conftest.err >&5 3676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3677 (exit $ac_status); } && 3678 { ac_try='test -z "$ac_c_werror_flag" 3679 || test ! -s conftest.err' 3680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3681 (eval $ac_try) 2>&5 3682 ac_status=$? 3683 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3684 (exit $ac_status); }; } && 3685 { ac_try='test -s conftest.$ac_objext' 3686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3687 (eval $ac_try) 2>&5 3688 ac_status=$? 3689 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3690 (exit $ac_status); }; }; then 3691 ac_header_compiler=yes 3692 else 3693 echo "$as_me: failed program was:" >&5 3694 sed 's/^/| /' conftest.$ac_ext >&5 3695 3696 ac_header_compiler=no 3697 fi 3698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3699 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3700 echo "${ECHO_T}$ac_header_compiler" >&6 3701 3702 # Is the header present? 3703 echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 3704 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6 3705 cat >conftest.$ac_ext <<_ACEOF 3706 /* confdefs.h. */ 3707 _ACEOF 3708 cat confdefs.h >>conftest.$ac_ext 3709 cat >>conftest.$ac_ext <<_ACEOF 3710 /* end confdefs.h. */ 3711 #include <arpa/inet.h> 3712 _ACEOF 3713 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3714 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3715 ac_status=$? 3716 grep -v '^ *+' conftest.er1 >conftest.err 3717 rm -f conftest.er1 3718 cat conftest.err >&5 3719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2548 echo "$as_me:2548: \$? = $ac_status" >&5 3720 2549 (exit $ac_status); } >/dev/null; then 3721 2550 if test -s conftest.err; then 3722 2551 ac_cpp_err=$ac_c_preproc_warn_flag 3723 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag3724 2552 else 3725 2553 ac_cpp_err= … … 3729 2557 fi 3730 2558 if test -z "$ac_cpp_err"; then 3731 ac_ header_preproc=yes2559 ac_cv_header_arpa_inet_h=yes 3732 2560 else 3733 2561 echo "$as_me: failed program was:" >&5 3734 sed 's/^/| /' conftest.$ac_ext >&5 3735 3736 ac_header_preproc=no 2562 cat conftest.$ac_ext >&5 2563 ac_cv_header_arpa_inet_h=no 3737 2564 fi 3738 2565 rm -f conftest.err conftest.$ac_ext 3739 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3740 echo "${ECHO_T}$ac_header_preproc" >&6 3741 3742 # So? What about this header? 3743 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3744 yes:no: ) 3745 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 3746 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 3747 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 3748 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} 3749 ac_header_preproc=yes 3750 ;; 3751 no:yes:* ) 3752 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 3753 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 3754 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5 3755 echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;} 3756 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 3757 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} 3758 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5 3759 echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;} 3760 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 3761 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 3762 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 3763 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 3764 ( 3765 cat <<\_ASBOX 3766 ## ------------------------------------ ## 3767 ## Report this to the pjproject lists. ## 3768 ## ------------------------------------ ## 3769 _ASBOX 3770 ) | 3771 sed "s/^/$as_me: WARNING: /" >&2 3772 ;; 3773 esac 3774 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 3775 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 3776 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 3777 echo $ECHO_N "(cached) $ECHO_C" >&6 3778 else 3779 ac_cv_header_arpa_inet_h=$ac_header_preproc 3780 fi 3781 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 2566 fi 2567 echo "$as_me:2567: result: $ac_cv_header_arpa_inet_h" >&5 3782 2568 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 3783 3784 fi3785 2569 if test $ac_cv_header_arpa_inet_h = yes; then 3786 cat >>confdefs.h <<\ _ACEOF2570 cat >>confdefs.h <<\EOF 3787 2571 #define PJ_HAS_ARPA_INET_H 1 3788 _ACEOF 3789 3790 fi 3791 3792 3793 if test "${ac_cv_header_assert_h+set}" = set; then 3794 echo "$as_me:$LINENO: checking for assert.h" >&5 2572 EOF 2573 2574 fi 2575 2576 echo "$as_me:2576: checking for assert.h" >&5 3795 2577 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6 3796 2578 if test "${ac_cv_header_assert_h+set}" = set; then 3797 2579 echo $ECHO_N "(cached) $ECHO_C" >&6 3798 fi 3799 echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 3800 echo "${ECHO_T}$ac_cv_header_assert_h" >&6 3801 else 3802 # Is the header compilable? 3803 echo "$as_me:$LINENO: checking assert.h usability" >&5 3804 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6 3805 cat >conftest.$ac_ext <<_ACEOF 3806 /* confdefs.h. */ 3807 _ACEOF 3808 cat confdefs.h >>conftest.$ac_ext 3809 cat >>conftest.$ac_ext <<_ACEOF 3810 /* end confdefs.h. */ 3811 $ac_includes_default 2580 else 2581 cat >conftest.$ac_ext <<_ACEOF 2582 #line 2582 "configure" 2583 #include "confdefs.h" 3812 2584 #include <assert.h> 3813 2585 _ACEOF 3814 rm -f conftest.$ac_objext 3815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3816 (eval $ac_compile) 2>conftest.er1 3817 ac_status=$? 3818 grep -v '^ *+' conftest.er1 >conftest.err 2586 if { (eval echo "$as_me:2586: \"$ac_cpp conftest.$ac_ext\"") >&5 2587 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2588 ac_status=$? 2589 egrep -v '^ *\+' conftest.er1 >conftest.err 3819 2590 rm -f conftest.er1 3820 2591 cat conftest.err >&5 3821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3822 (exit $ac_status); } && 3823 { ac_try='test -z "$ac_c_werror_flag" 3824 || test ! -s conftest.err' 3825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3826 (eval $ac_try) 2>&5 3827 ac_status=$? 3828 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3829 (exit $ac_status); }; } && 3830 { ac_try='test -s conftest.$ac_objext' 3831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3832 (eval $ac_try) 2>&5 3833 ac_status=$? 3834 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3835 (exit $ac_status); }; }; then 3836 ac_header_compiler=yes 3837 else 3838 echo "$as_me: failed program was:" >&5 3839 sed 's/^/| /' conftest.$ac_ext >&5 3840 3841 ac_header_compiler=no 3842 fi 3843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3844 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3845 echo "${ECHO_T}$ac_header_compiler" >&6 3846 3847 # Is the header present? 3848 echo "$as_me:$LINENO: checking assert.h presence" >&5 3849 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6 3850 cat >conftest.$ac_ext <<_ACEOF 3851 /* confdefs.h. */ 3852 _ACEOF 3853 cat confdefs.h >>conftest.$ac_ext 3854 cat >>conftest.$ac_ext <<_ACEOF 3855 /* end confdefs.h. */ 3856 #include <assert.h> 3857 _ACEOF 3858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3859 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3860 ac_status=$? 3861 grep -v '^ *+' conftest.er1 >conftest.err 3862 rm -f conftest.er1 3863 cat conftest.err >&5 3864 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2592 echo "$as_me:2592: \$? = $ac_status" >&5 3865 2593 (exit $ac_status); } >/dev/null; then 3866 2594 if test -s conftest.err; then 3867 2595 ac_cpp_err=$ac_c_preproc_warn_flag 3868 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag3869 2596 else 3870 2597 ac_cpp_err= … … 3874 2601 fi 3875 2602 if test -z "$ac_cpp_err"; then 3876 ac_ header_preproc=yes2603 ac_cv_header_assert_h=yes 3877 2604 else 3878 2605 echo "$as_me: failed program was:" >&5 3879 sed 's/^/| /' conftest.$ac_ext >&5 3880 3881 ac_header_preproc=no 2606 cat conftest.$ac_ext >&5 2607 ac_cv_header_assert_h=no 3882 2608 fi 3883 2609 rm -f conftest.err conftest.$ac_ext 3884 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3885 echo "${ECHO_T}$ac_header_preproc" >&6 3886 3887 # So? What about this header? 3888 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3889 yes:no: ) 3890 { echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5 3891 echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 3892 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the compiler's result" >&5 3893 echo "$as_me: WARNING: assert.h: proceeding with the compiler's result" >&2;} 3894 ac_header_preproc=yes 3895 ;; 3896 no:yes:* ) 3897 { echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5 3898 echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;} 3899 { echo "$as_me:$LINENO: WARNING: assert.h: check for missing prerequisite headers?" >&5 3900 echo "$as_me: WARNING: assert.h: check for missing prerequisite headers?" >&2;} 3901 { echo "$as_me:$LINENO: WARNING: assert.h: see the Autoconf documentation" >&5 3902 echo "$as_me: WARNING: assert.h: see the Autoconf documentation" >&2;} 3903 { echo "$as_me:$LINENO: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&5 3904 echo "$as_me: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&2;} 3905 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result" >&5 3906 echo "$as_me: WARNING: assert.h: proceeding with the preprocessor's result" >&2;} 3907 { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 3908 echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 3909 ( 3910 cat <<\_ASBOX 3911 ## ------------------------------------ ## 3912 ## Report this to the pjproject lists. ## 3913 ## ------------------------------------ ## 3914 _ASBOX 3915 ) | 3916 sed "s/^/$as_me: WARNING: /" >&2 3917 ;; 3918 esac 3919 echo "$as_me:$LINENO: checking for assert.h" >&5 3920 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6 3921 if test "${ac_cv_header_assert_h+set}" = set; then 3922 echo $ECHO_N "(cached) $ECHO_C" >&6 3923 else 3924 ac_cv_header_assert_h=$ac_header_preproc 3925 fi 3926 echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 2610 fi 2611 echo "$as_me:2611: result: $ac_cv_header_assert_h" >&5 3927 2612 echo "${ECHO_T}$ac_cv_header_assert_h" >&6 3928 3929 fi3930 2613 if test $ac_cv_header_assert_h = yes; then 3931 cat >>confdefs.h <<\ _ACEOF2614 cat >>confdefs.h <<\EOF 3932 2615 #define PJ_HAS_ASSERT_H 1 3933 _ACEOF 3934 3935 fi 3936 3937 3938 if test "${ac_cv_header_ctype_h+set}" = set; then 3939 echo "$as_me:$LINENO: checking for ctype.h" >&5 2616 EOF 2617 2618 fi 2619 2620 echo "$as_me:2620: checking for ctype.h" >&5 3940 2621 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6 3941 2622 if test "${ac_cv_header_ctype_h+set}" = set; then 3942 2623 echo $ECHO_N "(cached) $ECHO_C" >&6 3943 fi 3944 echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 3945 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6 3946 else 3947 # Is the header compilable? 3948 echo "$as_me:$LINENO: checking ctype.h usability" >&5 3949 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6 3950 cat >conftest.$ac_ext <<_ACEOF 3951 /* confdefs.h. */ 3952 _ACEOF 3953 cat confdefs.h >>conftest.$ac_ext 3954 cat >>conftest.$ac_ext <<_ACEOF 3955 /* end confdefs.h. */ 3956 $ac_includes_default 2624 else 2625 cat >conftest.$ac_ext <<_ACEOF 2626 #line 2626 "configure" 2627 #include "confdefs.h" 3957 2628 #include <ctype.h> 3958 2629 _ACEOF 3959 rm -f conftest.$ac_objext 3960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3961 (eval $ac_compile) 2>conftest.er1 3962 ac_status=$? 3963 grep -v '^ *+' conftest.er1 >conftest.err 2630 if { (eval echo "$as_me:2630: \"$ac_cpp conftest.$ac_ext\"") >&5 2631 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2632 ac_status=$? 2633 egrep -v '^ *\+' conftest.er1 >conftest.err 3964 2634 rm -f conftest.er1 3965 2635 cat conftest.err >&5 3966 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3967 (exit $ac_status); } && 3968 { ac_try='test -z "$ac_c_werror_flag" 3969 || test ! -s conftest.err' 3970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3971 (eval $ac_try) 2>&5 3972 ac_status=$? 3973 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3974 (exit $ac_status); }; } && 3975 { ac_try='test -s conftest.$ac_objext' 3976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3977 (eval $ac_try) 2>&5 3978 ac_status=$? 3979 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3980 (exit $ac_status); }; }; then 3981 ac_header_compiler=yes 3982 else 3983 echo "$as_me: failed program was:" >&5 3984 sed 's/^/| /' conftest.$ac_ext >&5 3985 3986 ac_header_compiler=no 3987 fi 3988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3989 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3990 echo "${ECHO_T}$ac_header_compiler" >&6 3991 3992 # Is the header present? 3993 echo "$as_me:$LINENO: checking ctype.h presence" >&5 3994 echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6 3995 cat >conftest.$ac_ext <<_ACEOF 3996 /* confdefs.h. */ 3997 _ACEOF 3998 cat confdefs.h >>conftest.$ac_ext 3999 cat >>conftest.$ac_ext <<_ACEOF 4000 /* end confdefs.h. */ 4001 #include <ctype.h> 4002 _ACEOF 4003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4004 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4005 ac_status=$? 4006 grep -v '^ *+' conftest.er1 >conftest.err 4007 rm -f conftest.er1 4008 cat conftest.err >&5 4009 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2636 echo "$as_me:2636: \$? = $ac_status" >&5 4010 2637 (exit $ac_status); } >/dev/null; then 4011 2638 if test -s conftest.err; then 4012 2639 ac_cpp_err=$ac_c_preproc_warn_flag 4013 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag4014 2640 else 4015 2641 ac_cpp_err= … … 4019 2645 fi 4020 2646 if test -z "$ac_cpp_err"; then 4021 ac_ header_preproc=yes2647 ac_cv_header_ctype_h=yes 4022 2648 else 4023 2649 echo "$as_me: failed program was:" >&5 4024 sed 's/^/| /' conftest.$ac_ext >&5 4025 4026 ac_header_preproc=no 2650 cat conftest.$ac_ext >&5 2651 ac_cv_header_ctype_h=no 4027 2652 fi 4028 2653 rm -f conftest.err conftest.$ac_ext 4029 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4030 echo "${ECHO_T}$ac_header_preproc" >&6 4031 4032 # So? What about this header? 4033 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4034 yes:no: ) 4035 { echo "$as_me:$LINENO: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&5 4036 echo "$as_me: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4037 { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the compiler's result" >&5 4038 echo "$as_me: WARNING: ctype.h: proceeding with the compiler's result" >&2;} 4039 ac_header_preproc=yes 4040 ;; 4041 no:yes:* ) 4042 { echo "$as_me:$LINENO: WARNING: ctype.h: present but cannot be compiled" >&5 4043 echo "$as_me: WARNING: ctype.h: present but cannot be compiled" >&2;} 4044 { echo "$as_me:$LINENO: WARNING: ctype.h: check for missing prerequisite headers?" >&5 4045 echo "$as_me: WARNING: ctype.h: check for missing prerequisite headers?" >&2;} 4046 { echo "$as_me:$LINENO: WARNING: ctype.h: see the Autoconf documentation" >&5 4047 echo "$as_me: WARNING: ctype.h: see the Autoconf documentation" >&2;} 4048 { echo "$as_me:$LINENO: WARNING: ctype.h: section \"Present But Cannot Be Compiled\"" >&5 4049 echo "$as_me: WARNING: ctype.h: section \"Present But Cannot Be Compiled\"" >&2;} 4050 { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the preprocessor's result" >&5 4051 echo "$as_me: WARNING: ctype.h: proceeding with the preprocessor's result" >&2;} 4052 { echo "$as_me:$LINENO: WARNING: ctype.h: in the future, the compiler will take precedence" >&5 4053 echo "$as_me: WARNING: ctype.h: in the future, the compiler will take precedence" >&2;} 4054 ( 4055 cat <<\_ASBOX 4056 ## ------------------------------------ ## 4057 ## Report this to the pjproject lists. ## 4058 ## ------------------------------------ ## 4059 _ASBOX 4060 ) | 4061 sed "s/^/$as_me: WARNING: /" >&2 4062 ;; 4063 esac 4064 echo "$as_me:$LINENO: checking for ctype.h" >&5 4065 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6 4066 if test "${ac_cv_header_ctype_h+set}" = set; then 4067 echo $ECHO_N "(cached) $ECHO_C" >&6 4068 else 4069 ac_cv_header_ctype_h=$ac_header_preproc 4070 fi 4071 echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 2654 fi 2655 echo "$as_me:2655: result: $ac_cv_header_ctype_h" >&5 4072 2656 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6 4073 4074 fi4075 2657 if test $ac_cv_header_ctype_h = yes; then 4076 cat >>confdefs.h <<\ _ACEOF2658 cat >>confdefs.h <<\EOF 4077 2659 #define PJ_HAS_CTYPE_H 1 4078 _ACEOF 4079 4080 fi 4081 4082 4083 if test "${ac_cv_header_errno_h+set}" = set; then 4084 echo "$as_me:$LINENO: checking for errno.h" >&5 2660 EOF 2661 2662 fi 2663 2664 echo "$as_me:2664: checking for errno.h" >&5 4085 2665 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6 4086 2666 if test "${ac_cv_header_errno_h+set}" = set; then 4087 2667 echo $ECHO_N "(cached) $ECHO_C" >&6 4088 fi 4089 echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 4090 echo "${ECHO_T}$ac_cv_header_errno_h" >&6 4091 else 4092 # Is the header compilable? 4093 echo "$as_me:$LINENO: checking errno.h usability" >&5 4094 echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6 4095 cat >conftest.$ac_ext <<_ACEOF 4096 /* confdefs.h. */ 4097 _ACEOF 4098 cat confdefs.h >>conftest.$ac_ext 4099 cat >>conftest.$ac_ext <<_ACEOF 4100 /* end confdefs.h. */ 4101 $ac_includes_default 2668 else 2669 cat >conftest.$ac_ext <<_ACEOF 2670 #line 2670 "configure" 2671 #include "confdefs.h" 4102 2672 #include <errno.h> 4103 2673 _ACEOF 4104 rm -f conftest.$ac_objext 4105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4106 (eval $ac_compile) 2>conftest.er1 4107 ac_status=$? 4108 grep -v '^ *+' conftest.er1 >conftest.err 2674 if { (eval echo "$as_me:2674: \"$ac_cpp conftest.$ac_ext\"") >&5 2675 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2676 ac_status=$? 2677 egrep -v '^ *\+' conftest.er1 >conftest.err 4109 2678 rm -f conftest.er1 4110 2679 cat conftest.err >&5 4111 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4112 (exit $ac_status); } && 4113 { ac_try='test -z "$ac_c_werror_flag" 4114 || test ! -s conftest.err' 4115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4116 (eval $ac_try) 2>&5 4117 ac_status=$? 4118 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4119 (exit $ac_status); }; } && 4120 { ac_try='test -s conftest.$ac_objext' 4121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4122 (eval $ac_try) 2>&5 4123 ac_status=$? 4124 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4125 (exit $ac_status); }; }; then 4126 ac_header_compiler=yes 4127 else 4128 echo "$as_me: failed program was:" >&5 4129 sed 's/^/| /' conftest.$ac_ext >&5 4130 4131 ac_header_compiler=no 4132 fi 4133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4134 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4135 echo "${ECHO_T}$ac_header_compiler" >&6 4136 4137 # Is the header present? 4138 echo "$as_me:$LINENO: checking errno.h presence" >&5 4139 echo $ECHO_N "checking errno.h presence... $ECHO_C" >&6 4140 cat >conftest.$ac_ext <<_ACEOF 4141 /* confdefs.h. */ 4142 _ACEOF 4143 cat confdefs.h >>conftest.$ac_ext 4144 cat >>conftest.$ac_ext <<_ACEOF 4145 /* end confdefs.h. */ 4146 #include <errno.h> 4147 _ACEOF 4148 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4149 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4150 ac_status=$? 4151 grep -v '^ *+' conftest.er1 >conftest.err 4152 rm -f conftest.er1 4153 cat conftest.err >&5 4154 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2680 echo "$as_me:2680: \$? = $ac_status" >&5 4155 2681 (exit $ac_status); } >/dev/null; then 4156 2682 if test -s conftest.err; then 4157 2683 ac_cpp_err=$ac_c_preproc_warn_flag 4158 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag4159 2684 else 4160 2685 ac_cpp_err= … … 4164 2689 fi 4165 2690 if test -z "$ac_cpp_err"; then 4166 ac_ header_preproc=yes2691 ac_cv_header_errno_h=yes 4167 2692 else 4168 2693 echo "$as_me: failed program was:" >&5 4169 sed 's/^/| /' conftest.$ac_ext >&5 4170 4171 ac_header_preproc=no 2694 cat conftest.$ac_ext >&5 2695 ac_cv_header_errno_h=no 4172 2696 fi 4173 2697 rm -f conftest.err conftest.$ac_ext 4174 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4175 echo "${ECHO_T}$ac_header_preproc" >&6 4176 4177 # So? What about this header? 4178 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4179 yes:no: ) 4180 { echo "$as_me:$LINENO: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&5 4181 echo "$as_me: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4182 { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the compiler's result" >&5 4183 echo "$as_me: WARNING: errno.h: proceeding with the compiler's result" >&2;} 4184 ac_header_preproc=yes 4185 ;; 4186 no:yes:* ) 4187 { echo "$as_me:$LINENO: WARNING: errno.h: present but cannot be compiled" >&5 4188 echo "$as_me: WARNING: errno.h: present but cannot be compiled" >&2;} 4189 { echo "$as_me:$LINENO: WARNING: errno.h: check for missing prerequisite headers?" >&5 4190 echo "$as_me: WARNING: errno.h: check for missing prerequisite headers?" >&2;} 4191 { echo "$as_me:$LINENO: WARNING: errno.h: see the Autoconf documentation" >&5 4192 echo "$as_me: WARNING: errno.h: see the Autoconf documentation" >&2;} 4193 { echo "$as_me:$LINENO: WARNING: errno.h: section \"Present But Cannot Be Compiled\"" >&5 4194 echo "$as_me: WARNING: errno.h: section \"Present But Cannot Be Compiled\"" >&2;} 4195 { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5 4196 echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;} 4197 { echo "$as_me:$LINENO: WARNING: errno.h: in the future, the compiler will take precedence" >&5 4198 echo "$as_me: WARNING: errno.h: in the future, the compiler will take precedence" >&2;} 4199 ( 4200 cat <<\_ASBOX 4201 ## ------------------------------------ ## 4202 ## Report this to the pjproject lists. ## 4203 ## ------------------------------------ ## 4204 _ASBOX 4205 ) | 4206 sed "s/^/$as_me: WARNING: /" >&2 4207 ;; 4208 esac 4209 echo "$as_me:$LINENO: checking for errno.h" >&5 4210 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6 4211 if test "${ac_cv_header_errno_h+set}" = set; then 4212 echo $ECHO_N "(cached) $ECHO_C" >&6 4213 else 4214 ac_cv_header_errno_h=$ac_header_preproc 4215 fi 4216 echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 2698 fi 2699 echo "$as_me:2699: result: $ac_cv_header_errno_h" >&5 4217 2700 echo "${ECHO_T}$ac_cv_header_errno_h" >&6 4218 4219 fi4220 2701 if test $ac_cv_header_errno_h = yes; then 4221 cat >>confdefs.h <<\ _ACEOF2702 cat >>confdefs.h <<\EOF 4222 2703 #define PJ_HAS_ERRNO_H 1 4223 _ACEOF 4224 4225 fi 4226 4227 4228 if test "${ac_cv_header_linux_socket_h+set}" = set; then 4229 echo "$as_me:$LINENO: checking for linux/socket.h" >&5 2704 EOF 2705 2706 fi 2707 2708 echo "$as_me:2708: checking for linux/socket.h" >&5 4230 2709 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6 4231 2710 if test "${ac_cv_header_linux_socket_h+set}" = set; then 4232 2711 echo $ECHO_N "(cached) $ECHO_C" >&6 4233 fi 4234 echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 4235 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6 4236 else 4237 # Is the header compilable? 4238 echo "$as_me:$LINENO: checking linux/socket.h usability" >&5 4239 echo $ECHO_N "checking linux/socket.h usability... $ECHO_C" >&6 4240 cat >conftest.$ac_ext <<_ACEOF 4241 /* confdefs.h. */ 4242 _ACEOF 4243 cat confdefs.h >>conftest.$ac_ext 4244 cat >>conftest.$ac_ext <<_ACEOF 4245 /* end confdefs.h. */ 4246 $ac_includes_default 2712 else 2713 cat >conftest.$ac_ext <<_ACEOF 2714 #line 2714 "configure" 2715 #include "confdefs.h" 4247 2716 #include <linux/socket.h> 4248 2717 _ACEOF 4249 rm -f conftest.$ac_objext 4250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4251 (eval $ac_compile) 2>conftest.er1 4252 ac_status=$? 4253 grep -v '^ *+' conftest.er1 >conftest.err 2718 if { (eval echo "$as_me:2718: \"$ac_cpp conftest.$ac_ext\"") >&5 2719 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2720 ac_status=$? 2721 egrep -v '^ *\+' conftest.er1 >conftest.err 4254 2722 rm -f conftest.er1 4255 2723 cat conftest.err >&5 4256 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4257 (exit $ac_status); } && 4258 { ac_try='test -z "$ac_c_werror_flag" 4259 || test ! -s conftest.err' 4260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4261 (eval $ac_try) 2>&5 4262 ac_status=$? 4263 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4264 (exit $ac_status); }; } && 4265 { ac_try='test -s conftest.$ac_objext' 4266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4267 (eval $ac_try) 2>&5 4268 ac_status=$? 4269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4270 (exit $ac_status); }; }; then 4271 ac_header_compiler=yes 4272 else 4273 echo "$as_me: failed program was:" >&5 4274 sed 's/^/| /' conftest.$ac_ext >&5 4275 4276 ac_header_compiler=no 4277 fi 4278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4279 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4280 echo "${ECHO_T}$ac_header_compiler" >&6 4281 4282 # Is the header present? 4283 echo "$as_me:$LINENO: checking linux/socket.h presence" >&5 4284 echo $ECHO_N "checking linux/socket.h presence... $ECHO_C" >&6 4285 cat >conftest.$ac_ext <<_ACEOF 4286 /* confdefs.h. */ 4287 _ACEOF 4288 cat confdefs.h >>conftest.$ac_ext 4289 cat >>conftest.$ac_ext <<_ACEOF 4290 /* end confdefs.h. */ 4291 #include <linux/socket.h> 4292 _ACEOF 4293 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4294 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4295 ac_status=$? 4296 grep -v '^ *+' conftest.er1 >conftest.err 4297 rm -f conftest.er1 4298 cat conftest.err >&5 4299 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2724 echo "$as_me:2724: \$? = $ac_status" >&5 4300 2725 (exit $ac_status); } >/dev/null; then 4301 2726 if test -s conftest.err; then 4302 2727 ac_cpp_err=$ac_c_preproc_warn_flag 4303 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag4304 2728 else 4305 2729 ac_cpp_err= … … 4309 2733 fi 4310 2734 if test -z "$ac_cpp_err"; then 4311 ac_ header_preproc=yes2735 ac_cv_header_linux_socket_h=yes 4312 2736 else 4313 2737 echo "$as_me: failed program was:" >&5 4314 sed 's/^/| /' conftest.$ac_ext >&5 4315 4316 ac_header_preproc=no 2738 cat conftest.$ac_ext >&5 2739 ac_cv_header_linux_socket_h=no 4317 2740 fi 4318 2741 rm -f conftest.err conftest.$ac_ext 4319 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4320 echo "${ECHO_T}$ac_header_preproc" >&6 4321 4322 # So? What about this header? 4323 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4324 yes:no: ) 4325 { echo "$as_me:$LINENO: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 4326 echo "$as_me: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4327 { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the compiler's result" >&5 4328 echo "$as_me: WARNING: linux/socket.h: proceeding with the compiler's result" >&2;} 4329 ac_header_preproc=yes 4330 ;; 4331 no:yes:* ) 4332 { echo "$as_me:$LINENO: WARNING: linux/socket.h: present but cannot be compiled" >&5 4333 echo "$as_me: WARNING: linux/socket.h: present but cannot be compiled" >&2;} 4334 { echo "$as_me:$LINENO: WARNING: linux/socket.h: check for missing prerequisite headers?" >&5 4335 echo "$as_me: WARNING: linux/socket.h: check for missing prerequisite headers?" >&2;} 4336 { echo "$as_me:$LINENO: WARNING: linux/socket.h: see the Autoconf documentation" >&5 4337 echo "$as_me: WARNING: linux/socket.h: see the Autoconf documentation" >&2;} 4338 { echo "$as_me:$LINENO: WARNING: linux/socket.h: section \"Present But Cannot Be Compiled\"" >&5 4339 echo "$as_me: WARNING: linux/socket.h: section \"Present But Cannot Be Compiled\"" >&2;} 4340 { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&5 4341 echo "$as_me: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&2;} 4342 { echo "$as_me:$LINENO: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&5 4343 echo "$as_me: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&2;} 4344 ( 4345 cat <<\_ASBOX 4346 ## ------------------------------------ ## 4347 ## Report this to the pjproject lists. ## 4348 ## ------------------------------------ ## 4349 _ASBOX 4350 ) | 4351 sed "s/^/$as_me: WARNING: /" >&2 4352 ;; 4353 esac 4354 echo "$as_me:$LINENO: checking for linux/socket.h" >&5 4355 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6 4356 if test "${ac_cv_header_linux_socket_h+set}" = set; then 4357 echo $ECHO_N "(cached) $ECHO_C" >&6 4358 else 4359 ac_cv_header_linux_socket_h=$ac_header_preproc 4360 fi 4361 echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 2742 fi 2743 echo "$as_me:2743: result: $ac_cv_header_linux_socket_h" >&5 4362 2744 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6 4363 4364 fi4365 2745 if test $ac_cv_header_linux_socket_h = yes; then 4366 cat >>confdefs.h <<\ _ACEOF2746 cat >>confdefs.h <<\EOF 4367 2747 #define PJ_HAS_LINUX_SOCKET_H 1 4368 _ACEOF 4369 4370 fi 4371 4372 4373 if test "${ac_cv_header_malloc_h+set}" = set; then 4374 echo "$as_me:$LINENO: checking for malloc.h" >&5 2748 EOF 2749 2750 fi 2751 2752 echo "$as_me:2752: checking for malloc.h" >&5 4375 2753 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6 4376 2754 if test "${ac_cv_header_malloc_h+set}" = set; then 4377 2755 echo $ECHO_N "(cached) $ECHO_C" >&6 4378 fi 4379 echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 4380 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6 4381 else 4382 # Is the header compilable? 4383 echo "$as_me:$LINENO: checking malloc.h usability" >&5 4384 echo $ECHO_N "checking malloc.h usability... $ECHO_C" >&6 4385 cat >conftest.$ac_ext <<_ACEOF 4386 /* confdefs.h. */ 4387 _ACEOF 4388 cat confdefs.h >>conftest.$ac_ext 4389 cat >>conftest.$ac_ext <<_ACEOF 4390 /* end confdefs.h. */ 4391 $ac_includes_default 2756 else 2757 cat >conftest.$ac_ext <<_ACEOF 2758 #line 2758 "configure" 2759 #include "confdefs.h" 4392 2760 #include <malloc.h> 4393 2761 _ACEOF 4394 rm -f conftest.$ac_objext 4395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4396 (eval $ac_compile) 2>conftest.er1 4397 ac_status=$? 4398 grep -v '^ *+' conftest.er1 >conftest.err 2762 if { (eval echo "$as_me:2762: \"$ac_cpp conftest.$ac_ext\"") >&5 2763 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2764 ac_status=$? 2765 egrep -v '^ *\+' conftest.er1 >conftest.err 4399 2766 rm -f conftest.er1 4400 2767 cat conftest.err >&5 4401 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4402 (exit $ac_status); } && 4403 { ac_try='test -z "$ac_c_werror_flag" 4404 || test ! -s conftest.err' 4405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4406 (eval $ac_try) 2>&5 4407 ac_status=$? 4408 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4409 (exit $ac_status); }; } && 4410 { ac_try='test -s conftest.$ac_objext' 4411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4412 (eval $ac_try) 2>&5 4413 ac_status=$? 4414 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4415 (exit $ac_status); }; }; then 4416 ac_header_compiler=yes 4417 else 4418 echo "$as_me: failed program was:" >&5 4419 sed 's/^/| /' conftest.$ac_ext >&5 4420 4421 ac_header_compiler=no 4422 fi 4423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4424 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4425 echo "${ECHO_T}$ac_header_compiler" >&6 4426 4427 # Is the header present? 4428 echo "$as_me:$LINENO: checking malloc.h presence" >&5 4429 echo $ECHO_N "checking malloc.h presence... $ECHO_C" >&6 4430 cat >conftest.$ac_ext <<_ACEOF 4431 /* confdefs.h. */ 4432 _ACEOF 4433 cat confdefs.h >>conftest.$ac_ext 4434 cat >>conftest.$ac_ext <<_ACEOF 4435 /* end confdefs.h. */ 4436 #include <malloc.h> 4437 _ACEOF 4438 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4439 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4440 ac_status=$? 4441 grep -v '^ *+' conftest.er1 >conftest.err 4442 rm -f conftest.er1 4443 cat conftest.err >&5 4444 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2768 echo "$as_me:2768: \$? = $ac_status" >&5 4445 2769 (exit $ac_status); } >/dev/null; then 4446 2770 if test -s conftest.err; then 4447 2771 ac_cpp_err=$ac_c_preproc_warn_flag 4448 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag4449 2772 else 4450 2773 ac_cpp_err= … … 4454 2777 fi 4455 2778 if test -z "$ac_cpp_err"; then 4456 ac_ header_preproc=yes2779 ac_cv_header_malloc_h=yes 4457 2780 else 4458 2781 echo "$as_me: failed program was:" >&5 4459 sed 's/^/| /' conftest.$ac_ext >&5 4460 4461 ac_header_preproc=no 2782 cat conftest.$ac_ext >&5 2783 ac_cv_header_malloc_h=no 4462 2784 fi 4463 2785 rm -f conftest.err conftest.$ac_ext 4464 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4465 echo "${ECHO_T}$ac_header_preproc" >&6 4466 4467 # So? What about this header? 4468 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4469 yes:no: ) 4470 { echo "$as_me:$LINENO: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 4471 echo "$as_me: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4472 { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the compiler's result" >&5 4473 echo "$as_me: WARNING: malloc.h: proceeding with the compiler's result" >&2;} 4474 ac_header_preproc=yes 4475 ;; 4476 no:yes:* ) 4477 { echo "$as_me:$LINENO: WARNING: malloc.h: present but cannot be compiled" >&5 4478 echo "$as_me: WARNING: malloc.h: present but cannot be compiled" >&2;} 4479 { echo "$as_me:$LINENO: WARNING: malloc.h: check for missing prerequisite headers?" >&5 4480 echo "$as_me: WARNING: malloc.h: check for missing prerequisite headers?" >&2;} 4481 { echo "$as_me:$LINENO: WARNING: malloc.h: see the Autoconf documentation" >&5 4482 echo "$as_me: WARNING: malloc.h: see the Autoconf documentation" >&2;} 4483 { echo "$as_me:$LINENO: WARNING: malloc.h: section \"Present But Cannot Be Compiled\"" >&5 4484 echo "$as_me: WARNING: malloc.h: section \"Present But Cannot Be Compiled\"" >&2;} 4485 { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5 4486 echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;} 4487 { echo "$as_me:$LINENO: WARNING: malloc.h: in the future, the compiler will take precedence" >&5 4488 echo "$as_me: WARNING: malloc.h: in the future, the compiler will take precedence" >&2;} 4489 ( 4490 cat <<\_ASBOX 4491 ## ------------------------------------ ## 4492 ## Report this to the pjproject lists. ## 4493 ## ------------------------------------ ## 4494 _ASBOX 4495 ) | 4496 sed "s/^/$as_me: WARNING: /" >&2 4497 ;; 4498 esac 4499 echo "$as_me:$LINENO: checking for malloc.h" >&5 4500 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6 4501 if test "${ac_cv_header_malloc_h+set}" = set; then 4502 echo $ECHO_N "(cached) $ECHO_C" >&6 4503 else 4504 ac_cv_header_malloc_h=$ac_header_preproc 4505 fi 4506 echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 2786 fi 2787 echo "$as_me:2787: result: $ac_cv_header_malloc_h" >&5 4507 2788 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6 4508 4509 fi4510 2789 if test $ac_cv_header_malloc_h = yes; then 4511 cat >>confdefs.h <<\ _ACEOF2790 cat >>confdefs.h <<\EOF 4512 2791 #define PJ_HAS_MALLOC_H 1 4513 _ACEOF 4514 4515 fi 4516 4517 4518 if test "${ac_cv_header_netdb_h+set}" = set; then 4519 echo "$as_me:$LINENO: checking for netdb.h" >&5 2792 EOF 2793 2794 fi 2795 2796 echo "$as_me:2796: checking for netdb.h" >&5 4520 2797 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6 4521 2798 if test "${ac_cv_header_netdb_h+set}" = set; then 4522 2799 echo $ECHO_N "(cached) $ECHO_C" >&6 4523 fi 4524 echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 4525 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6 4526 else 4527 # Is the header compilable? 4528 echo "$as_me:$LINENO: checking netdb.h usability" >&5 4529 echo $ECHO_N "checking netdb.h usability... $ECHO_C" >&6 4530 cat >conftest.$ac_ext <<_ACEOF 4531 /* confdefs.h. */ 4532 _ACEOF 4533 cat confdefs.h >>conftest.$ac_ext 4534 cat >>conftest.$ac_ext <<_ACEOF 4535 /* end confdefs.h. */ 4536 $ac_includes_default 2800 else 2801 cat >conftest.$ac_ext <<_ACEOF 2802 #line 2802 "configure" 2803 #include "confdefs.h" 4537 2804 #include <netdb.h> 4538 2805 _ACEOF 4539 rm -f conftest.$ac_objext 4540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4541 (eval $ac_compile) 2>conftest.er1 4542 ac_status=$? 4543 grep -v '^ *+' conftest.er1 >conftest.err 2806 if { (eval echo "$as_me:2806: \"$ac_cpp conftest.$ac_ext\"") >&5 2807 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2808 ac_status=$? 2809 egrep -v '^ *\+' conftest.er1 >conftest.err 4544 2810 rm -f conftest.er1 4545 2811 cat conftest.err >&5 4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4547 (exit $ac_status); } && 4548 { ac_try='test -z "$ac_c_werror_flag" 4549 || test ! -s conftest.err' 4550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4551 (eval $ac_try) 2>&5 4552 ac_status=$? 4553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4554 (exit $ac_status); }; } && 4555 { ac_try='test -s conftest.$ac_objext' 4556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4557 (eval $ac_try) 2>&5 4558 ac_status=$? 4559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4560 (exit $ac_status); }; }; then 4561 ac_header_compiler=yes 4562 else 4563 echo "$as_me: failed program was:" >&5 4564 sed 's/^/| /' conftest.$ac_ext >&5 4565 4566 ac_header_compiler=no 4567 fi 4568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4569 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4570 echo "${ECHO_T}$ac_header_compiler" >&6 4571 4572 # Is the header present? 4573 echo "$as_me:$LINENO: checking netdb.h presence" >&5 4574 echo $ECHO_N "checking netdb.h presence... $ECHO_C" >&6 4575 cat >conftest.$ac_ext <<_ACEOF 4576 /* confdefs.h. */ 4577 _ACEOF 4578 cat confdefs.h >>conftest.$ac_ext 4579 cat >>conftest.$ac_ext <<_ACEOF 4580 /* end confdefs.h. */ 4581 #include <netdb.h> 4582 _ACEOF 4583 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4584 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4585 ac_status=$? 4586 grep -v '^ *+' conftest.er1 >conftest.err 4587 rm -f conftest.er1 4588 cat conftest.err >&5 4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2812 echo "$as_me:2812: \$? = $ac_status" >&5 4590 2813 (exit $ac_status); } >/dev/null; then 4591 2814 if test -s conftest.err; then 4592 2815 ac_cpp_err=$ac_c_preproc_warn_flag 4593 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag4594 2816 else 4595 2817 ac_cpp_err= … … 4599 2821 fi 4600 2822 if test -z "$ac_cpp_err"; then 4601 ac_ header_preproc=yes2823 ac_cv_header_netdb_h=yes 4602 2824 else 4603 2825 echo "$as_me: failed program was:" >&5 4604 sed 's/^/| /' conftest.$ac_ext >&5 4605 4606 ac_header_preproc=no 2826 cat conftest.$ac_ext >&5 2827 ac_cv_header_netdb_h=no 4607 2828 fi 4608 2829 rm -f conftest.err conftest.$ac_ext 4609 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4610 echo "${ECHO_T}$ac_header_preproc" >&6 4611 4612 # So? What about this header? 4613 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4614 yes:no: ) 4615 { echo "$as_me:$LINENO: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&5 4616 echo "$as_me: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4617 { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the compiler's result" >&5 4618 echo "$as_me: WARNING: netdb.h: proceeding with the compiler's result" >&2;} 4619 ac_header_preproc=yes 4620 ;; 4621 no:yes:* ) 4622 { echo "$as_me:$LINENO: WARNING: netdb.h: present but cannot be compiled" >&5 4623 echo "$as_me: WARNING: netdb.h: present but cannot be compiled" >&2;} 4624 { echo "$as_me:$LINENO: WARNING: netdb.h: check for missing prerequisite headers?" >&5 4625 echo "$as_me: WARNING: netdb.h: check for missing prerequisite headers?" >&2;} 4626 { echo "$as_me:$LINENO: WARNING: netdb.h: see the Autoconf documentation" >&5 4627 echo "$as_me: WARNING: netdb.h: see the Autoconf documentation" >&2;} 4628 { echo "$as_me:$LINENO: WARNING: netdb.h: section \"Present But Cannot Be Compiled\"" >&5 4629 echo "$as_me: WARNING: netdb.h: section \"Present But Cannot Be Compiled\"" >&2;} 4630 { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the preprocessor's result" >&5 4631 echo "$as_me: WARNING: netdb.h: proceeding with the preprocessor's result" >&2;} 4632 { echo "$as_me:$LINENO: WARNING: netdb.h: in the future, the compiler will take precedence" >&5 4633 echo "$as_me: WARNING: netdb.h: in the future, the compiler will take precedence" >&2;} 4634 ( 4635 cat <<\_ASBOX 4636 ## ------------------------------------ ## 4637 ## Report this to the pjproject lists. ## 4638 ## ------------------------------------ ## 4639 _ASBOX 4640 ) | 4641 sed "s/^/$as_me: WARNING: /" >&2 4642 ;; 4643 esac 4644 echo "$as_me:$LINENO: checking for netdb.h" >&5 4645 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6 4646 if test "${ac_cv_header_netdb_h+set}" = set; then 4647 echo $ECHO_N "(cached) $ECHO_C" >&6 4648 else 4649 ac_cv_header_netdb_h=$ac_header_preproc 4650 fi 4651 echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 2830 fi 2831 echo "$as_me:2831: result: $ac_cv_header_netdb_h" >&5 4652 2832 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6 4653 4654 fi4655 2833 if test $ac_cv_header_netdb_h = yes; then 4656 cat >>confdefs.h <<\ _ACEOF2834 cat >>confdefs.h <<\EOF 4657 2835 #define PJ_HAS_NETDB_H 1 4658 _ACEOF 4659 4660 fi 4661 4662 4663 if test "${ac_cv_header_netinet_in_h+set}" = set; then 4664 echo "$as_me:$LINENO: checking for netinet/in.h" >&5 2836 EOF 2837 2838 fi 2839 2840 echo "$as_me:2840: checking for netinet/in.h" >&5 4665 2841 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 4666 2842 if test "${ac_cv_header_netinet_in_h+set}" = set; then 4667 2843 echo $ECHO_N "(cached) $ECHO_C" >&6 4668 fi 4669 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 4670 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 4671 else 4672 # Is the header compilable? 4673 echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 4674 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6 4675 cat >conftest.$ac_ext <<_ACEOF 4676 /* confdefs.h. */ 4677 _ACEOF 4678 cat confdefs.h >>conftest.$ac_ext 4679 cat >>conftest.$ac_ext <<_ACEOF 4680 /* end confdefs.h. */ 4681 $ac_includes_default 2844 else 2845 cat >conftest.$ac_ext <<_ACEOF 2846 #line 2846 "configure" 2847 #include "confdefs.h" 4682 2848 #include <netinet/in.h> 4683 2849 _ACEOF 4684 rm -f conftest.$ac_objext 4685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4686 (eval $ac_compile) 2>conftest.er1 4687 ac_status=$? 4688 grep -v '^ *+' conftest.er1 >conftest.err 2850 if { (eval echo "$as_me:2850: \"$ac_cpp conftest.$ac_ext\"") >&5 2851 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2852 ac_status=$? 2853 egrep -v '^ *\+' conftest.er1 >conftest.err 4689 2854 rm -f conftest.er1 4690 2855 cat conftest.err >&5 4691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4692 (exit $ac_status); } && 4693 { ac_try='test -z "$ac_c_werror_flag" 4694 || test ! -s conftest.err' 4695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4696 (eval $ac_try) 2>&5 4697 ac_status=$? 4698 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4699 (exit $ac_status); }; } && 4700 { ac_try='test -s conftest.$ac_objext' 4701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4702 (eval $ac_try) 2>&5 4703 ac_status=$? 4704 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4705 (exit $ac_status); }; }; then 4706 ac_header_compiler=yes 4707 else 4708 echo "$as_me: failed program was:" >&5 4709 sed 's/^/| /' conftest.$ac_ext >&5 4710 4711 ac_header_compiler=no 4712 fi 4713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4714 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4715 echo "${ECHO_T}$ac_header_compiler" >&6 4716 4717 # Is the header present? 4718 echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 4719 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6 4720 cat >conftest.$ac_ext <<_ACEOF 4721 /* confdefs.h. */ 4722 _ACEOF 4723 cat confdefs.h >>conftest.$ac_ext 4724 cat >>conftest.$ac_ext <<_ACEOF 4725 /* end confdefs.h. */ 4726 #include <netinet/in.h> 4727 _ACEOF 4728 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4729 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4730 ac_status=$? 4731 grep -v '^ *+' conftest.er1 >conftest.err 4732 rm -f conftest.er1 4733 cat conftest.err >&5 4734 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2856 echo "$as_me:2856: \$? = $ac_status" >&5 4735 2857 (exit $ac_status); } >/dev/null; then 4736 2858 if test -s conftest.err; then 4737 2859 ac_cpp_err=$ac_c_preproc_warn_flag 4738 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag4739 2860 else 4740 2861 ac_cpp_err= … … 4744 2865 fi 4745 2866 if test -z "$ac_cpp_err"; then 4746 ac_ header_preproc=yes2867 ac_cv_header_netinet_in_h=yes 4747 2868 else 4748 2869 echo "$as_me: failed program was:" >&5 4749 sed 's/^/| /' conftest.$ac_ext >&5 4750 4751 ac_header_preproc=no 2870 cat conftest.$ac_ext >&5 2871 ac_cv_header_netinet_in_h=no 4752 2872 fi 4753 2873 rm -f conftest.err conftest.$ac_ext 4754 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4755 echo "${ECHO_T}$ac_header_preproc" >&6 4756 4757 # So? What about this header? 4758 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4759 yes:no: ) 4760 { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 4761 echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4762 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5 4763 echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;} 4764 ac_header_preproc=yes 4765 ;; 4766 no:yes:* ) 4767 { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 4768 echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} 4769 { echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5 4770 echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;} 4771 { echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5 4772 echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;} 4773 { echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5 4774 echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;} 4775 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 4776 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} 4777 { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 4778 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} 4779 ( 4780 cat <<\_ASBOX 4781 ## ------------------------------------ ## 4782 ## Report this to the pjproject lists. ## 4783 ## ------------------------------------ ## 4784 _ASBOX 4785 ) | 4786 sed "s/^/$as_me: WARNING: /" >&2 4787 ;; 4788 esac 4789 echo "$as_me:$LINENO: checking for netinet/in.h" >&5 4790 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 4791 if test "${ac_cv_header_netinet_in_h+set}" = set; then 4792 echo $ECHO_N "(cached) $ECHO_C" >&6 4793 else 4794 ac_cv_header_netinet_in_h=$ac_header_preproc 4795 fi 4796 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 2874 fi 2875 echo "$as_me:2875: result: $ac_cv_header_netinet_in_h" >&5 4797 2876 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 4798 4799 fi4800 2877 if test $ac_cv_header_netinet_in_h = yes; then 4801 cat >>confdefs.h <<\ _ACEOF2878 cat >>confdefs.h <<\EOF 4802 2879 #define PJ_HAS_NETINET_IN_H 1 4803 _ACEOF 4804 4805 fi 4806 4807 4808 if test "${ac_cv_header_setjmp_h+set}" = set; then 4809 echo "$as_me:$LINENO: checking for setjmp.h" >&5 2880 EOF 2881 2882 fi 2883 2884 echo "$as_me:2884: checking for setjmp.h" >&5 4810 2885 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6 4811 2886 if test "${ac_cv_header_setjmp_h+set}" = set; then 4812 2887 echo $ECHO_N "(cached) $ECHO_C" >&6 4813 fi 4814 echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 4815 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6 4816 else 4817 # Is the header compilable? 4818 echo "$as_me:$LINENO: checking setjmp.h usability" >&5 4819 echo $ECHO_N "checking setjmp.h usability... $ECHO_C" >&6 4820 cat >conftest.$ac_ext <<_ACEOF 4821 /* confdefs.h. */ 4822 _ACEOF 4823 cat confdefs.h >>conftest.$ac_ext 4824 cat >>conftest.$ac_ext <<_ACEOF 4825 /* end confdefs.h. */ 4826 $ac_includes_default 2888 else 2889 cat >conftest.$ac_ext <<_ACEOF 2890 #line 2890 "configure" 2891 #include "confdefs.h" 4827 2892 #include <setjmp.h> 4828 2893 _ACEOF 4829 rm -f conftest.$ac_objext 4830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4831 (eval $ac_compile) 2>conftest.er1 4832 ac_status=$? 4833 grep -v '^ *+' conftest.er1 >conftest.err 2894 if { (eval echo "$as_me:2894: \"$ac_cpp conftest.$ac_ext\"") >&5 2895 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2896 ac_status=$? 2897 egrep -v '^ *\+' conftest.er1 >conftest.err 4834 2898 rm -f conftest.er1 4835 2899 cat conftest.err >&5 4836 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4837 (exit $ac_status); } && 4838 { ac_try='test -z "$ac_c_werror_flag" 4839 || test ! -s conftest.err' 4840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4841 (eval $ac_try) 2>&5 4842 ac_status=$? 4843 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4844 (exit $ac_status); }; } && 4845 { ac_try='test -s conftest.$ac_objext' 4846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4847 (eval $ac_try) 2>&5 4848 ac_status=$? 4849 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4850 (exit $ac_status); }; }; then 4851 ac_header_compiler=yes 4852 else 4853 echo "$as_me: failed program was:" >&5 4854 sed 's/^/| /' conftest.$ac_ext >&5 4855 4856 ac_header_compiler=no 4857 fi 4858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4859 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4860 echo "${ECHO_T}$ac_header_compiler" >&6 4861 4862 # Is the header present? 4863 echo "$as_me:$LINENO: checking setjmp.h presence" >&5 4864 echo $ECHO_N "checking setjmp.h presence... $ECHO_C" >&6 4865 cat >conftest.$ac_ext <<_ACEOF 4866 /* confdefs.h. */ 4867 _ACEOF 4868 cat confdefs.h >>conftest.$ac_ext 4869 cat >>conftest.$ac_ext <<_ACEOF 4870 /* end confdefs.h. */ 4871 #include <setjmp.h> 4872 _ACEOF 4873 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4874 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4875 ac_status=$? 4876 grep -v '^ *+' conftest.er1 >conftest.err 4877 rm -f conftest.er1 4878 cat conftest.err >&5 4879 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2900 echo "$as_me:2900: \$? = $ac_status" >&5 4880 2901 (exit $ac_status); } >/dev/null; then 4881 2902 if test -s conftest.err; then 4882 2903 ac_cpp_err=$ac_c_preproc_warn_flag 4883 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag4884 2904 else 4885 2905 ac_cpp_err= … … 4889 2909 fi 4890 2910 if test -z "$ac_cpp_err"; then 4891 ac_ header_preproc=yes2911 ac_cv_header_setjmp_h=yes 4892 2912 else 4893 2913 echo "$as_me: failed program was:" >&5 4894 sed 's/^/| /' conftest.$ac_ext >&5 4895 4896 ac_header_preproc=no 2914 cat conftest.$ac_ext >&5 2915 ac_cv_header_setjmp_h=no 4897 2916 fi 4898 2917 rm -f conftest.err conftest.$ac_ext 4899 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4900 echo "${ECHO_T}$ac_header_preproc" >&6 4901 4902 # So? What about this header? 4903 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4904 yes:no: ) 4905 { echo "$as_me:$LINENO: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 4906 echo "$as_me: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4907 { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the compiler's result" >&5 4908 echo "$as_me: WARNING: setjmp.h: proceeding with the compiler's result" >&2;} 4909 ac_header_preproc=yes 4910 ;; 4911 no:yes:* ) 4912 { echo "$as_me:$LINENO: WARNING: setjmp.h: present but cannot be compiled" >&5 4913 echo "$as_me: WARNING: setjmp.h: present but cannot be compiled" >&2;} 4914 { echo "$as_me:$LINENO: WARNING: setjmp.h: check for missing prerequisite headers?" >&5 4915 echo "$as_me: WARNING: setjmp.h: check for missing prerequisite headers?" >&2;} 4916 { echo "$as_me:$LINENO: WARNING: setjmp.h: see the Autoconf documentation" >&5 4917 echo "$as_me: WARNING: setjmp.h: see the Autoconf documentation" >&2;} 4918 { echo "$as_me:$LINENO: WARNING: setjmp.h: section \"Present But Cannot Be Compiled\"" >&5 4919 echo "$as_me: WARNING: setjmp.h: section \"Present But Cannot Be Compiled\"" >&2;} 4920 { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the preprocessor's result" >&5 4921 echo "$as_me: WARNING: setjmp.h: proceeding with the preprocessor's result" >&2;} 4922 { echo "$as_me:$LINENO: WARNING: setjmp.h: in the future, the compiler will take precedence" >&5 4923 echo "$as_me: WARNING: setjmp.h: in the future, the compiler will take precedence" >&2;} 4924 ( 4925 cat <<\_ASBOX 4926 ## ------------------------------------ ## 4927 ## Report this to the pjproject lists. ## 4928 ## ------------------------------------ ## 4929 _ASBOX 4930 ) | 4931 sed "s/^/$as_me: WARNING: /" >&2 4932 ;; 4933 esac 4934 echo "$as_me:$LINENO: checking for setjmp.h" >&5 4935 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6 4936 if test "${ac_cv_header_setjmp_h+set}" = set; then 4937 echo $ECHO_N "(cached) $ECHO_C" >&6 4938 else 4939 ac_cv_header_setjmp_h=$ac_header_preproc 4940 fi 4941 echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 2918 fi 2919 echo "$as_me:2919: result: $ac_cv_header_setjmp_h" >&5 4942 2920 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6 4943 4944 fi4945 2921 if test $ac_cv_header_setjmp_h = yes; then 4946 cat >>confdefs.h <<\ _ACEOF2922 cat >>confdefs.h <<\EOF 4947 2923 #define PJ_HAS_SETJMP_H 1 4948 _ACEOF 4949 4950 fi 4951 4952 4953 if test "${ac_cv_header_stdarg_h+set}" = set; then 4954 echo "$as_me:$LINENO: checking for stdarg.h" >&5 2924 EOF 2925 2926 fi 2927 2928 echo "$as_me:2928: checking for stdarg.h" >&5 4955 2929 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6 4956 2930 if test "${ac_cv_header_stdarg_h+set}" = set; then 4957 2931 echo $ECHO_N "(cached) $ECHO_C" >&6 4958 fi 4959 echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 4960 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6 4961 else 4962 # Is the header compilable? 4963 echo "$as_me:$LINENO: checking stdarg.h usability" >&5 4964 echo $ECHO_N "checking stdarg.h usability... $ECHO_C" >&6 4965 cat >conftest.$ac_ext <<_ACEOF 4966 /* confdefs.h. */ 4967 _ACEOF 4968 cat confdefs.h >>conftest.$ac_ext 4969 cat >>conftest.$ac_ext <<_ACEOF 4970 /* end confdefs.h. */ 4971 $ac_includes_default 2932 else 2933 cat >conftest.$ac_ext <<_ACEOF 2934 #line 2934 "configure" 2935 #include "confdefs.h" 4972 2936 #include <stdarg.h> 4973 2937 _ACEOF 4974 rm -f conftest.$ac_objext 4975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4976 (eval $ac_compile) 2>conftest.er1 4977 ac_status=$? 4978 grep -v '^ *+' conftest.er1 >conftest.err 2938 if { (eval echo "$as_me:2938: \"$ac_cpp conftest.$ac_ext\"") >&5 2939 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2940 ac_status=$? 2941 egrep -v '^ *\+' conftest.er1 >conftest.err 4979 2942 rm -f conftest.er1 4980 2943 cat conftest.err >&5 4981 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4982 (exit $ac_status); } && 4983 { ac_try='test -z "$ac_c_werror_flag" 4984 || test ! -s conftest.err' 4985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4986 (eval $ac_try) 2>&5 4987 ac_status=$? 4988 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4989 (exit $ac_status); }; } && 4990 { ac_try='test -s conftest.$ac_objext' 4991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4992 (eval $ac_try) 2>&5 4993 ac_status=$? 4994 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4995 (exit $ac_status); }; }; then 4996 ac_header_compiler=yes 4997 else 4998 echo "$as_me: failed program was:" >&5 4999 sed 's/^/| /' conftest.$ac_ext >&5 5000 5001 ac_header_compiler=no 5002 fi 5003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5004 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5005 echo "${ECHO_T}$ac_header_compiler" >&6 5006 5007 # Is the header present? 5008 echo "$as_me:$LINENO: checking stdarg.h presence" >&5 5009 echo $ECHO_N "checking stdarg.h presence... $ECHO_C" >&6 5010 cat >conftest.$ac_ext <<_ACEOF 5011 /* confdefs.h. */ 5012 _ACEOF 5013 cat confdefs.h >>conftest.$ac_ext 5014 cat >>conftest.$ac_ext <<_ACEOF 5015 /* end confdefs.h. */ 5016 #include <stdarg.h> 5017 _ACEOF 5018 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5019 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5020 ac_status=$? 5021 grep -v '^ *+' conftest.er1 >conftest.err 5022 rm -f conftest.er1 5023 cat conftest.err >&5 5024 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2944 echo "$as_me:2944: \$? = $ac_status" >&5 5025 2945 (exit $ac_status); } >/dev/null; then 5026 2946 if test -s conftest.err; then 5027 2947 ac_cpp_err=$ac_c_preproc_warn_flag 5028 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag5029 2948 else 5030 2949 ac_cpp_err= … … 5034 2953 fi 5035 2954 if test -z "$ac_cpp_err"; then 5036 ac_ header_preproc=yes2955 ac_cv_header_stdarg_h=yes 5037 2956 else 5038 2957 echo "$as_me: failed program was:" >&5 5039 sed 's/^/| /' conftest.$ac_ext >&5 5040 5041 ac_header_preproc=no 2958 cat conftest.$ac_ext >&5 2959 ac_cv_header_stdarg_h=no 5042 2960 fi 5043 2961 rm -f conftest.err conftest.$ac_ext 5044 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5045 echo "${ECHO_T}$ac_header_preproc" >&6 5046 5047 # So? What about this header? 5048 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5049 yes:no: ) 5050 { echo "$as_me:$LINENO: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&5 5051 echo "$as_me: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5052 { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the compiler's result" >&5 5053 echo "$as_me: WARNING: stdarg.h: proceeding with the compiler's result" >&2;} 5054 ac_header_preproc=yes 5055 ;; 5056 no:yes:* ) 5057 { echo "$as_me:$LINENO: WARNING: stdarg.h: present but cannot be compiled" >&5 5058 echo "$as_me: WARNING: stdarg.h: present but cannot be compiled" >&2;} 5059 { echo "$as_me:$LINENO: WARNING: stdarg.h: check for missing prerequisite headers?" >&5 5060 echo "$as_me: WARNING: stdarg.h: check for missing prerequisite headers?" >&2;} 5061 { echo "$as_me:$LINENO: WARNING: stdarg.h: see the Autoconf documentation" >&5 5062 echo "$as_me: WARNING: stdarg.h: see the Autoconf documentation" >&2;} 5063 { echo "$as_me:$LINENO: WARNING: stdarg.h: section \"Present But Cannot Be Compiled\"" >&5 5064 echo "$as_me: WARNING: stdarg.h: section \"Present But Cannot Be Compiled\"" >&2;} 5065 { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the preprocessor's result" >&5 5066 echo "$as_me: WARNING: stdarg.h: proceeding with the preprocessor's result" >&2;} 5067 { echo "$as_me:$LINENO: WARNING: stdarg.h: in the future, the compiler will take precedence" >&5 5068 echo "$as_me: WARNING: stdarg.h: in the future, the compiler will take precedence" >&2;} 5069 ( 5070 cat <<\_ASBOX 5071 ## ------------------------------------ ## 5072 ## Report this to the pjproject lists. ## 5073 ## ------------------------------------ ## 5074 _ASBOX 5075 ) | 5076 sed "s/^/$as_me: WARNING: /" >&2 5077 ;; 5078 esac 5079 echo "$as_me:$LINENO: checking for stdarg.h" >&5 5080 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6 5081 if test "${ac_cv_header_stdarg_h+set}" = set; then 5082 echo $ECHO_N "(cached) $ECHO_C" >&6 5083 else 5084 ac_cv_header_stdarg_h=$ac_header_preproc 5085 fi 5086 echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 2962 fi 2963 echo "$as_me:2963: result: $ac_cv_header_stdarg_h" >&5 5087 2964 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6 5088 5089 fi5090 2965 if test $ac_cv_header_stdarg_h = yes; then 5091 cat >>confdefs.h <<\ _ACEOF2966 cat >>confdefs.h <<\EOF 5092 2967 #define PJ_HAS_STDARG_H 1 5093 _ACEOF 5094 5095 fi 5096 5097 5098 if test "${ac_cv_header_stddef_h+set}" = set; then 5099 echo "$as_me:$LINENO: checking for stddef.h" >&5 2968 EOF 2969 2970 fi 2971 2972 echo "$as_me:2972: checking for stddef.h" >&5 5100 2973 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6 5101 2974 if test "${ac_cv_header_stddef_h+set}" = set; then 5102 2975 echo $ECHO_N "(cached) $ECHO_C" >&6 5103 fi 5104 echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 5105 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6 5106 else 5107 # Is the header compilable? 5108 echo "$as_me:$LINENO: checking stddef.h usability" >&5 5109 echo $ECHO_N "checking stddef.h usability... $ECHO_C" >&6 5110 cat >conftest.$ac_ext <<_ACEOF 5111 /* confdefs.h. */ 5112 _ACEOF 5113 cat confdefs.h >>conftest.$ac_ext 5114 cat >>conftest.$ac_ext <<_ACEOF 5115 /* end confdefs.h. */ 5116 $ac_includes_default 2976 else 2977 cat >conftest.$ac_ext <<_ACEOF 2978 #line 2978 "configure" 2979 #include "confdefs.h" 5117 2980 #include <stddef.h> 5118 2981 _ACEOF 5119 rm -f conftest.$ac_objext 5120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5121 (eval $ac_compile) 2>conftest.er1 5122 ac_status=$? 5123 grep -v '^ *+' conftest.er1 >conftest.err 2982 if { (eval echo "$as_me:2982: \"$ac_cpp conftest.$ac_ext\"") >&5 2983 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2984 ac_status=$? 2985 egrep -v '^ *\+' conftest.er1 >conftest.err 5124 2986 rm -f conftest.er1 5125 2987 cat conftest.err >&5 5126 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5127 (exit $ac_status); } && 5128 { ac_try='test -z "$ac_c_werror_flag" 5129 || test ! -s conftest.err' 5130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5131 (eval $ac_try) 2>&5 5132 ac_status=$? 5133 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5134 (exit $ac_status); }; } && 5135 { ac_try='test -s conftest.$ac_objext' 5136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5137 (eval $ac_try) 2>&5 5138 ac_status=$? 5139 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5140 (exit $ac_status); }; }; then 5141 ac_header_compiler=yes 5142 else 5143 echo "$as_me: failed program was:" >&5 5144 sed 's/^/| /' conftest.$ac_ext >&5 5145 5146 ac_header_compiler=no 5147 fi 5148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5149 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5150 echo "${ECHO_T}$ac_header_compiler" >&6 5151 5152 # Is the header present? 5153 echo "$as_me:$LINENO: checking stddef.h presence" >&5 5154 echo $ECHO_N "checking stddef.h presence... $ECHO_C" >&6 5155 cat >conftest.$ac_ext <<_ACEOF 5156 /* confdefs.h. */ 5157 _ACEOF 5158 cat confdefs.h >>conftest.$ac_ext 5159 cat >>conftest.$ac_ext <<_ACEOF 5160 /* end confdefs.h. */ 5161 #include <stddef.h> 5162 _ACEOF 5163 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5164 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5165 ac_status=$? 5166 grep -v '^ *+' conftest.er1 >conftest.err 5167 rm -f conftest.er1 5168 cat conftest.err >&5 5169 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2988 echo "$as_me:2988: \$? = $ac_status" >&5 5170 2989 (exit $ac_status); } >/dev/null; then 5171 2990 if test -s conftest.err; then 5172 2991 ac_cpp_err=$ac_c_preproc_warn_flag 5173 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag5174 2992 else 5175 2993 ac_cpp_err= … … 5179 2997 fi 5180 2998 if test -z "$ac_cpp_err"; then 5181 ac_ header_preproc=yes2999 ac_cv_header_stddef_h=yes 5182 3000 else 5183 3001 echo "$as_me: failed program was:" >&5 5184 sed 's/^/| /' conftest.$ac_ext >&5 5185 5186 ac_header_preproc=no 3002 cat conftest.$ac_ext >&5 3003 ac_cv_header_stddef_h=no 5187 3004 fi 5188 3005 rm -f conftest.err conftest.$ac_ext 5189 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5190 echo "${ECHO_T}$ac_header_preproc" >&6 5191 5192 # So? What about this header? 5193 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5194 yes:no: ) 5195 { echo "$as_me:$LINENO: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&5 5196 echo "$as_me: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5197 { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the compiler's result" >&5 5198 echo "$as_me: WARNING: stddef.h: proceeding with the compiler's result" >&2;} 5199 ac_header_preproc=yes 5200 ;; 5201 no:yes:* ) 5202 { echo "$as_me:$LINENO: WARNING: stddef.h: present but cannot be compiled" >&5 5203 echo "$as_me: WARNING: stddef.h: present but cannot be compiled" >&2;} 5204 { echo "$as_me:$LINENO: WARNING: stddef.h: check for missing prerequisite headers?" >&5 5205 echo "$as_me: WARNING: stddef.h: check for missing prerequisite headers?" >&2;} 5206 { echo "$as_me:$LINENO: WARNING: stddef.h: see the Autoconf documentation" >&5 5207 echo "$as_me: WARNING: stddef.h: see the Autoconf documentation" >&2;} 5208 { echo "$as_me:$LINENO: WARNING: stddef.h: section \"Present But Cannot Be Compiled\"" >&5 5209 echo "$as_me: WARNING: stddef.h: section \"Present But Cannot Be Compiled\"" >&2;} 5210 { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the preprocessor's result" >&5 5211 echo "$as_me: WARNING: stddef.h: proceeding with the preprocessor's result" >&2;} 5212 { echo "$as_me:$LINENO: WARNING: stddef.h: in the future, the compiler will take precedence" >&5 5213 echo "$as_me: WARNING: stddef.h: in the future, the compiler will take precedence" >&2;} 5214 ( 5215 cat <<\_ASBOX 5216 ## ------------------------------------ ## 5217 ## Report this to the pjproject lists. ## 5218 ## ------------------------------------ ## 5219 _ASBOX 5220 ) | 5221 sed "s/^/$as_me: WARNING: /" >&2 5222 ;; 5223 esac 5224 echo "$as_me:$LINENO: checking for stddef.h" >&5 5225 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6 5226 if test "${ac_cv_header_stddef_h+set}" = set; then 5227 echo $ECHO_N "(cached) $ECHO_C" >&6 5228 else 5229 ac_cv_header_stddef_h=$ac_header_preproc 5230 fi 5231 echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 3006 fi 3007 echo "$as_me:3007: result: $ac_cv_header_stddef_h" >&5 5232 3008 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6 5233 5234 fi5235 3009 if test $ac_cv_header_stddef_h = yes; then 5236 cat >>confdefs.h <<\ _ACEOF3010 cat >>confdefs.h <<\EOF 5237 3011 #define PJ_HAS_STDDEF_H 1 5238 _ACEOF 5239 5240 fi 5241 5242 5243 if test "${ac_cv_header_stdio_h+set}" = set; then 5244 echo "$as_me:$LINENO: checking for stdio.h" >&5 3012 EOF 3013 3014 fi 3015 3016 echo "$as_me:3016: checking for stdio.h" >&5 5245 3017 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6 5246 3018 if test "${ac_cv_header_stdio_h+set}" = set; then 5247 3019 echo $ECHO_N "(cached) $ECHO_C" >&6 5248 fi 5249 echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 5250 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6 5251 else 5252 # Is the header compilable? 5253 echo "$as_me:$LINENO: checking stdio.h usability" >&5 5254 echo $ECHO_N "checking stdio.h usability... $ECHO_C" >&6 5255 cat >conftest.$ac_ext <<_ACEOF 5256 /* confdefs.h. */ 5257 _ACEOF 5258 cat confdefs.h >>conftest.$ac_ext 5259 cat >>conftest.$ac_ext <<_ACEOF 5260 /* end confdefs.h. */ 5261 $ac_includes_default 3020 else 3021 cat >conftest.$ac_ext <<_ACEOF 3022 #line 3022 "configure" 3023 #include "confdefs.h" 5262 3024 #include <stdio.h> 5263 3025 _ACEOF 5264 rm -f conftest.$ac_objext 5265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5266 (eval $ac_compile) 2>conftest.er1 5267 ac_status=$? 5268 grep -v '^ *+' conftest.er1 >conftest.err 3026 if { (eval echo "$as_me:3026: \"$ac_cpp conftest.$ac_ext\"") >&5 3027 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3028 ac_status=$? 3029 egrep -v '^ *\+' conftest.er1 >conftest.err 5269 3030 rm -f conftest.er1 5270 3031 cat conftest.err >&5 5271 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5272 (exit $ac_status); } && 5273 { ac_try='test -z "$ac_c_werror_flag" 5274 || test ! -s conftest.err' 5275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5276 (eval $ac_try) 2>&5 5277 ac_status=$? 5278 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5279 (exit $ac_status); }; } && 5280 { ac_try='test -s conftest.$ac_objext' 5281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5282 (eval $ac_try) 2>&5 5283 ac_status=$? 5284 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5285 (exit $ac_status); }; }; then 5286 ac_header_compiler=yes 5287 else 5288 echo "$as_me: failed program was:" >&5 5289 sed 's/^/| /' conftest.$ac_ext >&5 5290 5291 ac_header_compiler=no 5292 fi 5293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5294 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5295 echo "${ECHO_T}$ac_header_compiler" >&6 5296 5297 # Is the header present? 5298 echo "$as_me:$LINENO: checking stdio.h presence" >&5 5299 echo $ECHO_N "checking stdio.h presence... $ECHO_C" >&6 5300 cat >conftest.$ac_ext <<_ACEOF 5301 /* confdefs.h. */ 5302 _ACEOF 5303 cat confdefs.h >>conftest.$ac_ext 5304 cat >>conftest.$ac_ext <<_ACEOF 5305 /* end confdefs.h. */ 5306 #include <stdio.h> 5307 _ACEOF 5308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5309 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5310 ac_status=$? 5311 grep -v '^ *+' conftest.er1 >conftest.err 5312 rm -f conftest.er1 5313 cat conftest.err >&5 5314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3032 echo "$as_me:3032: \$? = $ac_status" >&5 5315 3033 (exit $ac_status); } >/dev/null; then 5316 3034 if test -s conftest.err; then 5317 3035 ac_cpp_err=$ac_c_preproc_warn_flag 5318 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag5319 3036 else 5320 3037 ac_cpp_err= … … 5324 3041 fi 5325 3042 if test -z "$ac_cpp_err"; then 5326 ac_ header_preproc=yes3043 ac_cv_header_stdio_h=yes 5327 3044 else 5328 3045 echo "$as_me: failed program was:" >&5 5329 sed 's/^/| /' conftest.$ac_ext >&5 5330 5331 ac_header_preproc=no 3046 cat conftest.$ac_ext >&5 3047 ac_cv_header_stdio_h=no 5332 3048 fi 5333 3049 rm -f conftest.err conftest.$ac_ext 5334 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5335 echo "${ECHO_T}$ac_header_preproc" >&6 5336 5337 # So? What about this header? 5338 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5339 yes:no: ) 5340 { echo "$as_me:$LINENO: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&5 5341 echo "$as_me: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5342 { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the compiler's result" >&5 5343 echo "$as_me: WARNING: stdio.h: proceeding with the compiler's result" >&2;} 5344 ac_header_preproc=yes 5345 ;; 5346 no:yes:* ) 5347 { echo "$as_me:$LINENO: WARNING: stdio.h: present but cannot be compiled" >&5 5348 echo "$as_me: WARNING: stdio.h: present but cannot be compiled" >&2;} 5349 { echo "$as_me:$LINENO: WARNING: stdio.h: check for missing prerequisite headers?" >&5 5350 echo "$as_me: WARNING: stdio.h: check for missing prerequisite headers?" >&2;} 5351 { echo "$as_me:$LINENO: WARNING: stdio.h: see the Autoconf documentation" >&5 5352 echo "$as_me: WARNING: stdio.h: see the Autoconf documentation" >&2;} 5353 { echo "$as_me:$LINENO: WARNING: stdio.h: section \"Present But Cannot Be Compiled\"" >&5 5354 echo "$as_me: WARNING: stdio.h: section \"Present But Cannot Be Compiled\"" >&2;} 5355 { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5 5356 echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;} 5357 { echo "$as_me:$LINENO: WARNING: stdio.h: in the future, the compiler will take precedence" >&5 5358 echo "$as_me: WARNING: stdio.h: in the future, the compiler will take precedence" >&2;} 5359 ( 5360 cat <<\_ASBOX 5361 ## ------------------------------------ ## 5362 ## Report this to the pjproject lists. ## 5363 ## ------------------------------------ ## 5364 _ASBOX 5365 ) | 5366 sed "s/^/$as_me: WARNING: /" >&2 5367 ;; 5368 esac 5369 echo "$as_me:$LINENO: checking for stdio.h" >&5 5370 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6 5371 if test "${ac_cv_header_stdio_h+set}" = set; then 5372 echo $ECHO_N "(cached) $ECHO_C" >&6 5373 else 5374 ac_cv_header_stdio_h=$ac_header_preproc 5375 fi 5376 echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 3050 fi 3051 echo "$as_me:3051: result: $ac_cv_header_stdio_h" >&5 5377 3052 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6 5378 5379 fi5380 3053 if test $ac_cv_header_stdio_h = yes; then 5381 cat >>confdefs.h <<\ _ACEOF3054 cat >>confdefs.h <<\EOF 5382 3055 #define PJ_HAS_STDIO_H 1 5383 _ACEOF 5384 5385 fi 5386 5387 5388 if test "${ac_cv_header_stdlib_h+set}" = set; then 5389 echo "$as_me:$LINENO: checking for stdlib.h" >&5 3056 EOF 3057 3058 fi 3059 3060 echo "$as_me:3060: checking for stdlib.h" >&5 5390 3061 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6 5391 3062 if test "${ac_cv_header_stdlib_h+set}" = set; then 5392 3063 echo $ECHO_N "(cached) $ECHO_C" >&6 5393 fi 5394 echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 5395 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6 5396 else 5397 # Is the header compilable? 5398 echo "$as_me:$LINENO: checking stdlib.h usability" >&5 5399 echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6 5400 cat >conftest.$ac_ext <<_ACEOF 5401 /* confdefs.h. */ 5402 _ACEOF 5403 cat confdefs.h >>conftest.$ac_ext 5404 cat >>conftest.$ac_ext <<_ACEOF 5405 /* end confdefs.h. */ 5406 $ac_includes_default 3064 else 3065 cat >conftest.$ac_ext <<_ACEOF 3066 #line 3066 "configure" 3067 #include "confdefs.h" 5407 3068 #include <stdlib.h> 5408 3069 _ACEOF 5409 rm -f conftest.$ac_objext 5410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5411 (eval $ac_compile) 2>conftest.er1 5412 ac_status=$? 5413 grep -v '^ *+' conftest.er1 >conftest.err 3070 if { (eval echo "$as_me:3070: \"$ac_cpp conftest.$ac_ext\"") >&5 3071 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3072 ac_status=$? 3073 egrep -v '^ *\+' conftest.er1 >conftest.err 5414 3074 rm -f conftest.er1 5415 3075 cat conftest.err >&5 5416 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5417 (exit $ac_status); } && 5418 { ac_try='test -z "$ac_c_werror_flag" 5419 || test ! -s conftest.err' 5420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5421 (eval $ac_try) 2>&5 5422 ac_status=$? 5423 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5424 (exit $ac_status); }; } && 5425 { ac_try='test -s conftest.$ac_objext' 5426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5427 (eval $ac_try) 2>&5 5428 ac_status=$? 5429 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5430 (exit $ac_status); }; }; then 5431 ac_header_compiler=yes 5432 else 5433 echo "$as_me: failed program was:" >&5 5434 sed 's/^/| /' conftest.$ac_ext >&5 5435 5436 ac_header_compiler=no 5437 fi 5438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5439 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5440 echo "${ECHO_T}$ac_header_compiler" >&6 5441 5442 # Is the header present? 5443 echo "$as_me:$LINENO: checking stdlib.h presence" >&5 5444 echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6 5445 cat >conftest.$ac_ext <<_ACEOF 5446 /* confdefs.h. */ 5447 _ACEOF 5448 cat confdefs.h >>conftest.$ac_ext 5449 cat >>conftest.$ac_ext <<_ACEOF 5450 /* end confdefs.h. */ 5451 #include <stdlib.h> 5452 _ACEOF 5453 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5454 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5455 ac_status=$? 5456 grep -v '^ *+' conftest.er1 >conftest.err 5457 rm -f conftest.er1 5458 cat conftest.err >&5 5459 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3076 echo "$as_me:3076: \$? = $ac_status" >&5 5460 3077 (exit $ac_status); } >/dev/null; then 5461 3078 if test -s conftest.err; then 5462 3079 ac_cpp_err=$ac_c_preproc_warn_flag 5463 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag5464 3080 else 5465 3081 ac_cpp_err= … … 5469 3085 fi 5470 3086 if test -z "$ac_cpp_err"; then 5471 ac_ header_preproc=yes3087 ac_cv_header_stdlib_h=yes 5472 3088 else 5473 3089 echo "$as_me: failed program was:" >&5 5474 sed 's/^/| /' conftest.$ac_ext >&5 5475 5476 ac_header_preproc=no 3090 cat conftest.$ac_ext >&5 3091 ac_cv_header_stdlib_h=no 5477 3092 fi 5478 3093 rm -f conftest.err conftest.$ac_ext 5479 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5480 echo "${ECHO_T}$ac_header_preproc" >&6 5481 5482 # So? What about this header? 5483 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5484 yes:no: ) 5485 { echo "$as_me:$LINENO: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 5486 echo "$as_me: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5487 { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the compiler's result" >&5 5488 echo "$as_me: WARNING: stdlib.h: proceeding with the compiler's result" >&2;} 5489 ac_header_preproc=yes 5490 ;; 5491 no:yes:* ) 5492 { echo "$as_me:$LINENO: WARNING: stdlib.h: present but cannot be compiled" >&5 5493 echo "$as_me: WARNING: stdlib.h: present but cannot be compiled" >&2;} 5494 { echo "$as_me:$LINENO: WARNING: stdlib.h: check for missing prerequisite headers?" >&5 5495 echo "$as_me: WARNING: stdlib.h: check for missing prerequisite headers?" >&2;} 5496 { echo "$as_me:$LINENO: WARNING: stdlib.h: see the Autoconf documentation" >&5 5497 echo "$as_me: WARNING: stdlib.h: see the Autoconf documentation" >&2;} 5498 { echo "$as_me:$LINENO: WARNING: stdlib.h: section \"Present But Cannot Be Compiled\"" >&5 5499 echo "$as_me: WARNING: stdlib.h: section \"Present But Cannot Be Compiled\"" >&2;} 5500 { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5 5501 echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;} 5502 { echo "$as_me:$LINENO: WARNING: stdlib.h: in the future, the compiler will take precedence" >&5 5503 echo "$as_me: WARNING: stdlib.h: in the future, the compiler will take precedence" >&2;} 5504 ( 5505 cat <<\_ASBOX 5506 ## ------------------------------------ ## 5507 ## Report this to the pjproject lists. ## 5508 ## ------------------------------------ ## 5509 _ASBOX 5510 ) | 5511 sed "s/^/$as_me: WARNING: /" >&2 5512 ;; 5513 esac 5514 echo "$as_me:$LINENO: checking for stdlib.h" >&5 5515 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6 5516 if test "${ac_cv_header_stdlib_h+set}" = set; then 5517 echo $ECHO_N "(cached) $ECHO_C" >&6 5518 else 5519 ac_cv_header_stdlib_h=$ac_header_preproc 5520 fi 5521 echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 3094 fi 3095 echo "$as_me:3095: result: $ac_cv_header_stdlib_h" >&5 5522 3096 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6 5523 5524 fi5525 3097 if test $ac_cv_header_stdlib_h = yes; then 5526 cat >>confdefs.h <<\ _ACEOF3098 cat >>confdefs.h <<\EOF 5527 3099 #define PJ_HAS_STDLIB_H 1 5528 _ACEOF 5529 5530 fi 5531 5532 5533 if test "${ac_cv_header_string_h+set}" = set; then 5534 echo "$as_me:$LINENO: checking for string.h" >&5 3100 EOF 3101 3102 fi 3103 3104 echo "$as_me:3104: checking for string.h" >&5 5535 3105 echo $ECHO_N "checking for string.h... $ECHO_C" >&6 5536 3106 if test "${ac_cv_header_string_h+set}" = set; then 5537 3107 echo $ECHO_N "(cached) $ECHO_C" >&6 5538 fi 5539 echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 5540 echo "${ECHO_T}$ac_cv_header_string_h" >&6 5541 else 5542 # Is the header compilable? 5543 echo "$as_me:$LINENO: checking string.h usability" >&5 5544 echo $ECHO_N "checking string.h usability... $ECHO_C" >&6 5545 cat >conftest.$ac_ext <<_ACEOF 5546 /* confdefs.h. */ 5547 _ACEOF 5548 cat confdefs.h >>conftest.$ac_ext 5549 cat >>conftest.$ac_ext <<_ACEOF 5550 /* end confdefs.h. */ 5551 $ac_includes_default 3108 else 3109 cat >conftest.$ac_ext <<_ACEOF 3110 #line 3110 "configure" 3111 #include "confdefs.h" 5552 3112 #include <string.h> 5553 3113 _ACEOF 5554 rm -f conftest.$ac_objext 5555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5556 (eval $ac_compile) 2>conftest.er1 5557 ac_status=$? 5558 grep -v '^ *+' conftest.er1 >conftest.err 3114 if { (eval echo "$as_me:3114: \"$ac_cpp conftest.$ac_ext\"") >&5 3115 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3116 ac_status=$? 3117 egrep -v '^ *\+' conftest.er1 >conftest.err 5559 3118 rm -f conftest.er1 5560 3119 cat conftest.err >&5 5561 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5562 (exit $ac_status); } && 5563 { ac_try='test -z "$ac_c_werror_flag" 5564 || test ! -s conftest.err' 5565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5566 (eval $ac_try) 2>&5 5567 ac_status=$? 5568 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5569 (exit $ac_status); }; } && 5570 { ac_try='test -s conftest.$ac_objext' 5571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5572 (eval $ac_try) 2>&5 5573 ac_status=$? 5574 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5575 (exit $ac_status); }; }; then 5576 ac_header_compiler=yes 5577 else 5578 echo "$as_me: failed program was:" >&5 5579 sed 's/^/| /' conftest.$ac_ext >&5 5580 5581 ac_header_compiler=no 5582 fi 5583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5584 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5585 echo "${ECHO_T}$ac_header_compiler" >&6 5586 5587 # Is the header present? 5588 echo "$as_me:$LINENO: checking string.h presence" >&5 5589 echo $ECHO_N "checking string.h presence... $ECHO_C" >&6 5590 cat >conftest.$ac_ext <<_ACEOF 5591 /* confdefs.h. */ 5592 _ACEOF 5593 cat confdefs.h >>conftest.$ac_ext 5594 cat >>conftest.$ac_ext <<_ACEOF 5595 /* end confdefs.h. */ 5596 #include <string.h> 5597 _ACEOF 5598 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5599 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5600 ac_status=$? 5601 grep -v '^ *+' conftest.er1 >conftest.err 5602 rm -f conftest.er1 5603 cat conftest.err >&5 5604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3120 echo "$as_me:3120: \$? = $ac_status" >&5 5605 3121 (exit $ac_status); } >/dev/null; then 5606 3122 if test -s conftest.err; then 5607 3123 ac_cpp_err=$ac_c_preproc_warn_flag 5608 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag5609 3124 else 5610 3125 ac_cpp_err= … … 5614 3129 fi 5615 3130 if test -z "$ac_cpp_err"; then 5616 ac_ header_preproc=yes3131 ac_cv_header_string_h=yes 5617 3132 else 5618 3133 echo "$as_me: failed program was:" >&5 5619 sed 's/^/| /' conftest.$ac_ext >&5 5620 5621 ac_header_preproc=no 3134 cat conftest.$ac_ext >&5 3135 ac_cv_header_string_h=no 5622 3136 fi 5623 3137 rm -f conftest.err conftest.$ac_ext 5624 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5625 echo "${ECHO_T}$ac_header_preproc" >&6 5626 5627 # So? What about this header? 5628 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5629 yes:no: ) 5630 { echo "$as_me:$LINENO: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&5 5631 echo "$as_me: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5632 { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the compiler's result" >&5 5633 echo "$as_me: WARNING: string.h: proceeding with the compiler's result" >&2;} 5634 ac_header_preproc=yes 5635 ;; 5636 no:yes:* ) 5637 { echo "$as_me:$LINENO: WARNING: string.h: present but cannot be compiled" >&5 5638 echo "$as_me: WARNING: string.h: present but cannot be compiled" >&2;} 5639 { echo "$as_me:$LINENO: WARNING: string.h: check for missing prerequisite headers?" >&5 5640 echo "$as_me: WARNING: string.h: check for missing prerequisite headers?" >&2;} 5641 { echo "$as_me:$LINENO: WARNING: string.h: see the Autoconf documentation" >&5 5642 echo "$as_me: WARNING: string.h: see the Autoconf documentation" >&2;} 5643 { echo "$as_me:$LINENO: WARNING: string.h: section \"Present But Cannot Be Compiled\"" >&5 5644 echo "$as_me: WARNING: string.h: section \"Present But Cannot Be Compiled\"" >&2;} 5645 { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5 5646 echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;} 5647 { echo "$as_me:$LINENO: WARNING: string.h: in the future, the compiler will take precedence" >&5 5648 echo "$as_me: WARNING: string.h: in the future, the compiler will take precedence" >&2;} 5649 ( 5650 cat <<\_ASBOX 5651 ## ------------------------------------ ## 5652 ## Report this to the pjproject lists. ## 5653 ## ------------------------------------ ## 5654 _ASBOX 5655 ) | 5656 sed "s/^/$as_me: WARNING: /" >&2 5657 ;; 5658 esac 5659 echo "$as_me:$LINENO: checking for string.h" >&5 5660 echo $ECHO_N "checking for string.h... $ECHO_C" >&6 5661 if test "${ac_cv_header_string_h+set}" = set; then 5662 echo $ECHO_N "(cached) $ECHO_C" >&6 5663 else 5664 ac_cv_header_string_h=$ac_header_preproc 5665 fi 5666 echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 3138 fi 3139 echo "$as_me:3139: result: $ac_cv_header_string_h" >&5 5667 3140 echo "${ECHO_T}$ac_cv_header_string_h" >&6 5668 5669 fi5670 3141 if test $ac_cv_header_string_h = yes; then 5671 cat >>confdefs.h <<\ _ACEOF3142 cat >>confdefs.h <<\EOF 5672 3143 #define PJ_HAS_STRING_H 1 5673 _ACEOF 5674 5675 fi 5676 5677 5678 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 5679 echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 3144 EOF 3145 3146 fi 3147 3148 echo "$as_me:3148: checking for sys/ioctl.h" >&5 5680 3149 echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6 5681 3150 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 5682 3151 echo $ECHO_N "(cached) $ECHO_C" >&6 5683 fi 5684 echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 5685 echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6 5686 else 5687 # Is the header compilable? 5688 echo "$as_me:$LINENO: checking sys/ioctl.h usability" >&5 5689 echo $ECHO_N "checking sys/ioctl.h usability... $ECHO_C" >&6 5690 cat >conftest.$ac_ext <<_ACEOF 5691 /* confdefs.h. */ 5692 _ACEOF 5693 cat confdefs.h >>conftest.$ac_ext 5694 cat >>conftest.$ac_ext <<_ACEOF 5695 /* end confdefs.h. */ 5696 $ac_includes_default 3152 else 3153 cat >conftest.$ac_ext <<_ACEOF 3154 #line 3154 "configure" 3155 #include "confdefs.h" 5697 3156 #include <sys/ioctl.h> 5698 3157 _ACEOF 5699 rm -f conftest.$ac_objext 5700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5701 (eval $ac_compile) 2>conftest.er1 5702 ac_status=$? 5703 grep -v '^ *+' conftest.er1 >conftest.err 3158 if { (eval echo "$as_me:3158: \"$ac_cpp conftest.$ac_ext\"") >&5 3159 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3160 ac_status=$? 3161 egrep -v '^ *\+' conftest.er1 >conftest.err 5704 3162 rm -f conftest.er1 5705 3163 cat conftest.err >&5 5706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5707 (exit $ac_status); } && 5708 { ac_try='test -z "$ac_c_werror_flag" 5709 || test ! -s conftest.err' 5710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5711 (eval $ac_try) 2>&5 5712 ac_status=$? 5713 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5714 (exit $ac_status); }; } && 5715 { ac_try='test -s conftest.$ac_objext' 5716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5717 (eval $ac_try) 2>&5 5718 ac_status=$? 5719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5720 (exit $ac_status); }; }; then 5721 ac_header_compiler=yes 5722 else 5723 echo "$as_me: failed program was:" >&5 5724 sed 's/^/| /' conftest.$ac_ext >&5 5725 5726 ac_header_compiler=no 5727 fi 5728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5729 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5730 echo "${ECHO_T}$ac_header_compiler" >&6 5731 5732 # Is the header present? 5733 echo "$as_me:$LINENO: checking sys/ioctl.h presence" >&5 5734 echo $ECHO_N "checking sys/ioctl.h presence... $ECHO_C" >&6 5735 cat >conftest.$ac_ext <<_ACEOF 5736 /* confdefs.h. */ 5737 _ACEOF 5738 cat confdefs.h >>conftest.$ac_ext 5739 cat >>conftest.$ac_ext <<_ACEOF 5740 /* end confdefs.h. */ 5741 #include <sys/ioctl.h> 5742 _ACEOF 5743 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5744 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5745 ac_status=$? 5746 grep -v '^ *+' conftest.er1 >conftest.err 5747 rm -f conftest.er1 5748 cat conftest.err >&5 5749 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3164 echo "$as_me:3164: \$? = $ac_status" >&5 5750 3165 (exit $ac_status); } >/dev/null; then 5751 3166 if test -s conftest.err; then 5752 3167 ac_cpp_err=$ac_c_preproc_warn_flag 5753 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag5754 3168 else 5755 3169 ac_cpp_err= … … 5759 3173 fi 5760 3174 if test -z "$ac_cpp_err"; then 5761 ac_ header_preproc=yes3175 ac_cv_header_sys_ioctl_h=yes 5762 3176 else 5763 3177 echo "$as_me: failed program was:" >&5 5764 sed 's/^/| /' conftest.$ac_ext >&5 5765 5766 ac_header_preproc=no 3178 cat conftest.$ac_ext >&5 3179 ac_cv_header_sys_ioctl_h=no 5767 3180 fi 5768 3181 rm -f conftest.err conftest.$ac_ext 5769 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5770 echo "${ECHO_T}$ac_header_preproc" >&6 5771 5772 # So? What about this header? 5773 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5774 yes:no: ) 5775 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&5 5776 echo "$as_me: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5777 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&5 5778 echo "$as_me: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&2;} 5779 ac_header_preproc=yes 5780 ;; 5781 no:yes:* ) 5782 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: present but cannot be compiled" >&5 5783 echo "$as_me: WARNING: sys/ioctl.h: present but cannot be compiled" >&2;} 5784 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: check for missing prerequisite headers?" >&5 5785 echo "$as_me: WARNING: sys/ioctl.h: check for missing prerequisite headers?" >&2;} 5786 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: see the Autoconf documentation" >&5 5787 echo "$as_me: WARNING: sys/ioctl.h: see the Autoconf documentation" >&2;} 5788 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: section \"Present But Cannot Be Compiled\"" >&5 5789 echo "$as_me: WARNING: sys/ioctl.h: section \"Present But Cannot Be Compiled\"" >&2;} 5790 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&5 5791 echo "$as_me: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&2;} 5792 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&5 5793 echo "$as_me: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&2;} 5794 ( 5795 cat <<\_ASBOX 5796 ## ------------------------------------ ## 5797 ## Report this to the pjproject lists. ## 5798 ## ------------------------------------ ## 5799 _ASBOX 5800 ) | 5801 sed "s/^/$as_me: WARNING: /" >&2 5802 ;; 5803 esac 5804 echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 5805 echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6 5806 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 5807 echo $ECHO_N "(cached) $ECHO_C" >&6 5808 else 5809 ac_cv_header_sys_ioctl_h=$ac_header_preproc 5810 fi 5811 echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 3182 fi 3183 echo "$as_me:3183: result: $ac_cv_header_sys_ioctl_h" >&5 5812 3184 echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6 5813 5814 fi5815 3185 if test $ac_cv_header_sys_ioctl_h = yes; then 5816 cat >>confdefs.h <<\ _ACEOF3186 cat >>confdefs.h <<\EOF 5817 3187 #define PJ_HAS_SYS_IOCTL_H 1 5818 _ACEOF 5819 5820 fi 5821 5822 5823 if test "${ac_cv_header_sys_select_h+set}" = set; then 5824 echo "$as_me:$LINENO: checking for sys/select.h" >&5 3188 EOF 3189 3190 fi 3191 3192 echo "$as_me:3192: checking for sys/select.h" >&5 5825 3193 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6 5826 3194 if test "${ac_cv_header_sys_select_h+set}" = set; then 5827 3195 echo $ECHO_N "(cached) $ECHO_C" >&6 5828 fi 5829 echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 5830 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6 5831 else 5832 # Is the header compilable? 5833 echo "$as_me:$LINENO: checking sys/select.h usability" >&5 5834 echo $ECHO_N "checking sys/select.h usability... $ECHO_C" >&6 5835 cat >conftest.$ac_ext <<_ACEOF 5836 /* confdefs.h. */ 5837 _ACEOF 5838 cat confdefs.h >>conftest.$ac_ext 5839 cat >>conftest.$ac_ext <<_ACEOF 5840 /* end confdefs.h. */ 5841 $ac_includes_default 3196 else 3197 cat >conftest.$ac_ext <<_ACEOF 3198 #line 3198 "configure" 3199 #include "confdefs.h" 5842 3200 #include <sys/select.h> 5843 3201 _ACEOF 5844 rm -f conftest.$ac_objext 5845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5846 (eval $ac_compile) 2>conftest.er1 5847 ac_status=$? 5848 grep -v '^ *+' conftest.er1 >conftest.err 3202 if { (eval echo "$as_me:3202: \"$ac_cpp conftest.$ac_ext\"") >&5 3203 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3204 ac_status=$? 3205 egrep -v '^ *\+' conftest.er1 >conftest.err 5849 3206 rm -f conftest.er1 5850 3207 cat conftest.err >&5 5851 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5852 (exit $ac_status); } && 5853 { ac_try='test -z "$ac_c_werror_flag" 5854 || test ! -s conftest.err' 5855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5856 (eval $ac_try) 2>&5 5857 ac_status=$? 5858 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5859 (exit $ac_status); }; } && 5860 { ac_try='test -s conftest.$ac_objext' 5861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5862 (eval $ac_try) 2>&5 5863 ac_status=$? 5864 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5865 (exit $ac_status); }; }; then 5866 ac_header_compiler=yes 5867 else 5868 echo "$as_me: failed program was:" >&5 5869 sed 's/^/| /' conftest.$ac_ext >&5 5870 5871 ac_header_compiler=no 5872 fi 5873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5874 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5875 echo "${ECHO_T}$ac_header_compiler" >&6 5876 5877 # Is the header present? 5878 echo "$as_me:$LINENO: checking sys/select.h presence" >&5 5879 echo $ECHO_N "checking sys/select.h presence... $ECHO_C" >&6 5880 cat >conftest.$ac_ext <<_ACEOF 5881 /* confdefs.h. */ 5882 _ACEOF 5883 cat confdefs.h >>conftest.$ac_ext 5884 cat >>conftest.$ac_ext <<_ACEOF 5885 /* end confdefs.h. */ 5886 #include <sys/select.h> 5887 _ACEOF 5888 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5889 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5890 ac_status=$? 5891 grep -v '^ *+' conftest.er1 >conftest.err 5892 rm -f conftest.er1 5893 cat conftest.err >&5 5894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3208 echo "$as_me:3208: \$? = $ac_status" >&5 5895 3209 (exit $ac_status); } >/dev/null; then 5896 3210 if test -s conftest.err; then 5897 3211 ac_cpp_err=$ac_c_preproc_warn_flag 5898 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag5899 3212 else 5900 3213 ac_cpp_err= … … 5904 3217 fi 5905 3218 if test -z "$ac_cpp_err"; then 5906 ac_ header_preproc=yes3219 ac_cv_header_sys_select_h=yes 5907 3220 else 5908 3221 echo "$as_me: failed program was:" >&5 5909 sed 's/^/| /' conftest.$ac_ext >&5 5910 5911 ac_header_preproc=no 3222 cat conftest.$ac_ext >&5 3223 ac_cv_header_sys_select_h=no 5912 3224 fi 5913 3225 rm -f conftest.err conftest.$ac_ext 5914 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5915 echo "${ECHO_T}$ac_header_preproc" >&6 5916 5917 # So? What about this header? 5918 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5919 yes:no: ) 5920 { echo "$as_me:$LINENO: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&5 5921 echo "$as_me: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5922 { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the compiler's result" >&5 5923 echo "$as_me: WARNING: sys/select.h: proceeding with the compiler's result" >&2;} 5924 ac_header_preproc=yes 5925 ;; 5926 no:yes:* ) 5927 { echo "$as_me:$LINENO: WARNING: sys/select.h: present but cannot be compiled" >&5 5928 echo "$as_me: WARNING: sys/select.h: present but cannot be compiled" >&2;} 5929 { echo "$as_me:$LINENO: WARNING: sys/select.h: check for missing prerequisite headers?" >&5 5930 echo "$as_me: WARNING: sys/select.h: check for missing prerequisite headers?" >&2;} 5931 { echo "$as_me:$LINENO: WARNING: sys/select.h: see the Autoconf documentation" >&5 5932 echo "$as_me: WARNING: sys/select.h: see the Autoconf documentation" >&2;} 5933 { echo "$as_me:$LINENO: WARNING: sys/select.h: section \"Present But Cannot Be Compiled\"" >&5 5934 echo "$as_me: WARNING: sys/select.h: section \"Present But Cannot Be Compiled\"" >&2;} 5935 { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the preprocessor's result" >&5 5936 echo "$as_me: WARNING: sys/select.h: proceeding with the preprocessor's result" >&2;} 5937 { echo "$as_me:$LINENO: WARNING: sys/select.h: in the future, the compiler will take precedence" >&5 5938 echo "$as_me: WARNING: sys/select.h: in the future, the compiler will take precedence" >&2;} 5939 ( 5940 cat <<\_ASBOX 5941 ## ------------------------------------ ## 5942 ## Report this to the pjproject lists. ## 5943 ## ------------------------------------ ## 5944 _ASBOX 5945 ) | 5946 sed "s/^/$as_me: WARNING: /" >&2 5947 ;; 5948 esac 5949 echo "$as_me:$LINENO: checking for sys/select.h" >&5 5950 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6 5951 if test "${ac_cv_header_sys_select_h+set}" = set; then 5952 echo $ECHO_N "(cached) $ECHO_C" >&6 5953 else 5954 ac_cv_header_sys_select_h=$ac_header_preproc 5955 fi 5956 echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 3226 fi 3227 echo "$as_me:3227: result: $ac_cv_header_sys_select_h" >&5 5957 3228 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6 5958 5959 fi5960 3229 if test $ac_cv_header_sys_select_h = yes; then 5961 cat >>confdefs.h <<\ _ACEOF3230 cat >>confdefs.h <<\EOF 5962 3231 #define PJ_HAS_SYS_SELECT_H 1 5963 _ACEOF 5964 5965 fi 5966 5967 5968 if test "${ac_cv_header_sys_socket_h+set}" = set; then 5969 echo "$as_me:$LINENO: checking for sys/socket.h" >&5 3232 EOF 3233 3234 fi 3235 3236 echo "$as_me:3236: checking for sys/socket.h" >&5 5970 3237 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6 5971 3238 if test "${ac_cv_header_sys_socket_h+set}" = set; then 5972 3239 echo $ECHO_N "(cached) $ECHO_C" >&6 5973 fi 5974 echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 5975 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6 5976 else 5977 # Is the header compilable? 5978 echo "$as_me:$LINENO: checking sys/socket.h usability" >&5 5979 echo $ECHO_N "checking sys/socket.h usability... $ECHO_C" >&6 5980 cat >conftest.$ac_ext <<_ACEOF 5981 /* confdefs.h. */ 5982 _ACEOF 5983 cat confdefs.h >>conftest.$ac_ext 5984 cat >>conftest.$ac_ext <<_ACEOF 5985 /* end confdefs.h. */ 5986 $ac_includes_default 3240 else 3241 cat >conftest.$ac_ext <<_ACEOF 3242 #line 3242 "configure" 3243 #include "confdefs.h" 5987 3244 #include <sys/socket.h> 5988 3245 _ACEOF 5989 rm -f conftest.$ac_objext 5990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5991 (eval $ac_compile) 2>conftest.er1 5992 ac_status=$? 5993 grep -v '^ *+' conftest.er1 >conftest.err 3246 if { (eval echo "$as_me:3246: \"$ac_cpp conftest.$ac_ext\"") >&5 3247 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3248 ac_status=$? 3249 egrep -v '^ *\+' conftest.er1 >conftest.err 5994 3250 rm -f conftest.er1 5995 3251 cat conftest.err >&5 5996 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5997 (exit $ac_status); } && 5998 { ac_try='test -z "$ac_c_werror_flag" 5999 || test ! -s conftest.err' 6000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6001 (eval $ac_try) 2>&5 6002 ac_status=$? 6003 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6004 (exit $ac_status); }; } && 6005 { ac_try='test -s conftest.$ac_objext' 6006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6007 (eval $ac_try) 2>&5 6008 ac_status=$? 6009 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6010 (exit $ac_status); }; }; then 6011 ac_header_compiler=yes 6012 else 6013 echo "$as_me: failed program was:" >&5 6014 sed 's/^/| /' conftest.$ac_ext >&5 6015 6016 ac_header_compiler=no 6017 fi 6018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6019 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6020 echo "${ECHO_T}$ac_header_compiler" >&6 6021 6022 # Is the header present? 6023 echo "$as_me:$LINENO: checking sys/socket.h presence" >&5 6024 echo $ECHO_N "checking sys/socket.h presence... $ECHO_C" >&6 6025 cat >conftest.$ac_ext <<_ACEOF 6026 /* confdefs.h. */ 6027 _ACEOF 6028 cat confdefs.h >>conftest.$ac_ext 6029 cat >>conftest.$ac_ext <<_ACEOF 6030 /* end confdefs.h. */ 6031 #include <sys/socket.h> 6032 _ACEOF 6033 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6034 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6035 ac_status=$? 6036 grep -v '^ *+' conftest.er1 >conftest.err 6037 rm -f conftest.er1 6038 cat conftest.err >&5 6039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3252 echo "$as_me:3252: \$? = $ac_status" >&5 6040 3253 (exit $ac_status); } >/dev/null; then 6041 3254 if test -s conftest.err; then 6042 3255 ac_cpp_err=$ac_c_preproc_warn_flag 6043 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag6044 3256 else 6045 3257 ac_cpp_err= … … 6049 3261 fi 6050 3262 if test -z "$ac_cpp_err"; then 6051 ac_ header_preproc=yes3263 ac_cv_header_sys_socket_h=yes 6052 3264 else 6053 3265 echo "$as_me: failed program was:" >&5 6054 sed 's/^/| /' conftest.$ac_ext >&5 6055 6056 ac_header_preproc=no 3266 cat conftest.$ac_ext >&5 3267 ac_cv_header_sys_socket_h=no 6057 3268 fi 6058 3269 rm -f conftest.err conftest.$ac_ext 6059 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6060 echo "${ECHO_T}$ac_header_preproc" >&6 6061 6062 # So? What about this header? 6063 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6064 yes:no: ) 6065 { echo "$as_me:$LINENO: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 6066 echo "$as_me: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6067 { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the compiler's result" >&5 6068 echo "$as_me: WARNING: sys/socket.h: proceeding with the compiler's result" >&2;} 6069 ac_header_preproc=yes 6070 ;; 6071 no:yes:* ) 6072 { echo "$as_me:$LINENO: WARNING: sys/socket.h: present but cannot be compiled" >&5 6073 echo "$as_me: WARNING: sys/socket.h: present but cannot be compiled" >&2;} 6074 { echo "$as_me:$LINENO: WARNING: sys/socket.h: check for missing prerequisite headers?" >&5 6075 echo "$as_me: WARNING: sys/socket.h: check for missing prerequisite headers?" >&2;} 6076 { echo "$as_me:$LINENO: WARNING: sys/socket.h: see the Autoconf documentation" >&5 6077 echo "$as_me: WARNING: sys/socket.h: see the Autoconf documentation" >&2;} 6078 { echo "$as_me:$LINENO: WARNING: sys/socket.h: section \"Present But Cannot Be Compiled\"" >&5 6079 echo "$as_me: WARNING: sys/socket.h: section \"Present But Cannot Be Compiled\"" >&2;} 6080 { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&5 6081 echo "$as_me: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&2;} 6082 { echo "$as_me:$LINENO: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&5 6083 echo "$as_me: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&2;} 6084 ( 6085 cat <<\_ASBOX 6086 ## ------------------------------------ ## 6087 ## Report this to the pjproject lists. ## 6088 ## ------------------------------------ ## 6089 _ASBOX 6090 ) | 6091 sed "s/^/$as_me: WARNING: /" >&2 6092 ;; 6093 esac 6094 echo "$as_me:$LINENO: checking for sys/socket.h" >&5 6095 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6 6096 if test "${ac_cv_header_sys_socket_h+set}" = set; then 6097 echo $ECHO_N "(cached) $ECHO_C" >&6 6098 else 6099 ac_cv_header_sys_socket_h=$ac_header_preproc 6100 fi 6101 echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 3270 fi 3271 echo "$as_me:3271: result: $ac_cv_header_sys_socket_h" >&5 6102 3272 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6 6103 6104 fi6105 3273 if test $ac_cv_header_sys_socket_h = yes; then 6106 cat >>confdefs.h <<\ _ACEOF3274 cat >>confdefs.h <<\EOF 6107 3275 #define PJ_HAS_SYS_SOCKET_H 1 6108 _ACEOF 6109 6110 fi 6111 6112 6113 if test "${ac_cv_header_sys_time_h+set}" = set; then 6114 echo "$as_me:$LINENO: checking for sys/time.h" >&5 3276 EOF 3277 3278 fi 3279 3280 echo "$as_me:3280: checking for sys/time.h" >&5 6115 3281 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6 6116 3282 if test "${ac_cv_header_sys_time_h+set}" = set; then 6117 3283 echo $ECHO_N "(cached) $ECHO_C" >&6 6118 fi 6119 echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 6120 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6 6121 else 6122 # Is the header compilable? 6123 echo "$as_me:$LINENO: checking sys/time.h usability" >&5 6124 echo $ECHO_N "checking sys/time.h usability... $ECHO_C" >&6 6125 cat >conftest.$ac_ext <<_ACEOF 6126 /* confdefs.h. */ 6127 _ACEOF 6128 cat confdefs.h >>conftest.$ac_ext 6129 cat >>conftest.$ac_ext <<_ACEOF 6130 /* end confdefs.h. */ 6131 $ac_includes_default 3284 else 3285 cat >conftest.$ac_ext <<_ACEOF 3286 #line 3286 "configure" 3287 #include "confdefs.h" 6132 3288 #include <sys/time.h> 6133 3289 _ACEOF 6134 rm -f conftest.$ac_objext 6135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6136 (eval $ac_compile) 2>conftest.er1 6137 ac_status=$? 6138 grep -v '^ *+' conftest.er1 >conftest.err 3290 if { (eval echo "$as_me:3290: \"$ac_cpp conftest.$ac_ext\"") >&5 3291 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3292 ac_status=$? 3293 egrep -v '^ *\+' conftest.er1 >conftest.err 6139 3294 rm -f conftest.er1 6140 3295 cat conftest.err >&5 6141 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6142 (exit $ac_status); } && 6143 { ac_try='test -z "$ac_c_werror_flag" 6144 || test ! -s conftest.err' 6145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6146 (eval $ac_try) 2>&5 6147 ac_status=$? 6148 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6149 (exit $ac_status); }; } && 6150 { ac_try='test -s conftest.$ac_objext' 6151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6152 (eval $ac_try) 2>&5 6153 ac_status=$? 6154 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6155 (exit $ac_status); }; }; then 6156 ac_header_compiler=yes 6157 else 6158 echo "$as_me: failed program was:" >&5 6159 sed 's/^/| /' conftest.$ac_ext >&5 6160 6161 ac_header_compiler=no 6162 fi 6163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6164 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6165 echo "${ECHO_T}$ac_header_compiler" >&6 6166 6167 # Is the header present? 6168 echo "$as_me:$LINENO: checking sys/time.h presence" >&5 6169 echo $ECHO_N "checking sys/time.h presence... $ECHO_C" >&6 6170 cat >conftest.$ac_ext <<_ACEOF 6171 /* confdefs.h. */ 6172 _ACEOF 6173 cat confdefs.h >>conftest.$ac_ext 6174 cat >>conftest.$ac_ext <<_ACEOF 6175 /* end confdefs.h. */ 6176 #include <sys/time.h> 6177 _ACEOF 6178 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6179 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6180 ac_status=$? 6181 grep -v '^ *+' conftest.er1 >conftest.err 6182 rm -f conftest.er1 6183 cat conftest.err >&5 6184 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3296 echo "$as_me:3296: \$? = $ac_status" >&5 6185 3297 (exit $ac_status); } >/dev/null; then 6186 3298 if test -s conftest.err; then 6187 3299 ac_cpp_err=$ac_c_preproc_warn_flag 6188 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag6189 3300 else 6190 3301 ac_cpp_err= … … 6194 3305 fi 6195 3306 if test -z "$ac_cpp_err"; then 6196 ac_ header_preproc=yes3307 ac_cv_header_sys_time_h=yes 6197 3308 else 6198 3309 echo "$as_me: failed program was:" >&5 6199 sed 's/^/| /' conftest.$ac_ext >&5 6200 6201 ac_header_preproc=no 3310 cat conftest.$ac_ext >&5 3311 ac_cv_header_sys_time_h=no 6202 3312 fi 6203 3313 rm -f conftest.err conftest.$ac_ext 6204 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6205 echo "${ECHO_T}$ac_header_preproc" >&6 6206 6207 # So? What about this header? 6208 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6209 yes:no: ) 6210 { echo "$as_me:$LINENO: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&5 6211 echo "$as_me: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6212 { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the compiler's result" >&5 6213 echo "$as_me: WARNING: sys/time.h: proceeding with the compiler's result" >&2;} 6214 ac_header_preproc=yes 6215 ;; 6216 no:yes:* ) 6217 { echo "$as_me:$LINENO: WARNING: sys/time.h: present but cannot be compiled" >&5 6218 echo "$as_me: WARNING: sys/time.h: present but cannot be compiled" >&2;} 6219 { echo "$as_me:$LINENO: WARNING: sys/time.h: check for missing prerequisite headers?" >&5 6220 echo "$as_me: WARNING: sys/time.h: check for missing prerequisite headers?" >&2;} 6221 { echo "$as_me:$LINENO: WARNING: sys/time.h: see the Autoconf documentation" >&5 6222 echo "$as_me: WARNING: sys/time.h: see the Autoconf documentation" >&2;} 6223 { echo "$as_me:$LINENO: WARNING: sys/time.h: section \"Present But Cannot Be Compiled\"" >&5 6224 echo "$as_me: WARNING: sys/time.h: section \"Present But Cannot Be Compiled\"" >&2;} 6225 { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the preprocessor's result" >&5 6226 echo "$as_me: WARNING: sys/time.h: proceeding with the preprocessor's result" >&2;} 6227 { echo "$as_me:$LINENO: WARNING: sys/time.h: in the future, the compiler will take precedence" >&5 6228 echo "$as_me: WARNING: sys/time.h: in the future, the compiler will take precedence" >&2;} 6229 ( 6230 cat <<\_ASBOX 6231 ## ------------------------------------ ## 6232 ## Report this to the pjproject lists. ## 6233 ## ------------------------------------ ## 6234 _ASBOX 6235 ) | 6236 sed "s/^/$as_me: WARNING: /" >&2 6237 ;; 6238 esac 6239 echo "$as_me:$LINENO: checking for sys/time.h" >&5 6240 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6 6241 if test "${ac_cv_header_sys_time_h+set}" = set; then 6242 echo $ECHO_N "(cached) $ECHO_C" >&6 6243 else 6244 ac_cv_header_sys_time_h=$ac_header_preproc 6245 fi 6246 echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 3314 fi 3315 echo "$as_me:3315: result: $ac_cv_header_sys_time_h" >&5 6247 3316 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6 6248 6249 fi6250 3317 if test $ac_cv_header_sys_time_h = yes; then 6251 cat >>confdefs.h <<\ _ACEOF3318 cat >>confdefs.h <<\EOF 6252 3319 #define PJ_HAS_SYS_TIME_H 1 6253 _ACEOF 6254 6255 fi 6256 6257 6258 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 6259 echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 3320 EOF 3321 3322 fi 3323 3324 echo "$as_me:3324: checking for sys/timeb.h" >&5 6260 3325 echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6 6261 3326 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 6262 3327 echo $ECHO_N "(cached) $ECHO_C" >&6 6263 fi 6264 echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 6265 echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6 6266 else 6267 # Is the header compilable? 6268 echo "$as_me:$LINENO: checking sys/timeb.h usability" >&5 6269 echo $ECHO_N "checking sys/timeb.h usability... $ECHO_C" >&6 6270 cat >conftest.$ac_ext <<_ACEOF 6271 /* confdefs.h. */ 6272 _ACEOF 6273 cat confdefs.h >>conftest.$ac_ext 6274 cat >>conftest.$ac_ext <<_ACEOF 6275 /* end confdefs.h. */ 6276 $ac_includes_default 3328 else 3329 cat >conftest.$ac_ext <<_ACEOF 3330 #line 3330 "configure" 3331 #include "confdefs.h" 6277 3332 #include <sys/timeb.h> 6278 3333 _ACEOF 6279 rm -f conftest.$ac_objext 6280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6281 (eval $ac_compile) 2>conftest.er1 6282 ac_status=$? 6283 grep -v '^ *+' conftest.er1 >conftest.err 3334 if { (eval echo "$as_me:3334: \"$ac_cpp conftest.$ac_ext\"") >&5 3335 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3336 ac_status=$? 3337 egrep -v '^ *\+' conftest.er1 >conftest.err 6284 3338 rm -f conftest.er1 6285 3339 cat conftest.err >&5 6286 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6287 (exit $ac_status); } && 6288 { ac_try='test -z "$ac_c_werror_flag" 6289 || test ! -s conftest.err' 6290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6291 (eval $ac_try) 2>&5 6292 ac_status=$? 6293 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6294 (exit $ac_status); }; } && 6295 { ac_try='test -s conftest.$ac_objext' 6296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6297 (eval $ac_try) 2>&5 6298 ac_status=$? 6299 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6300 (exit $ac_status); }; }; then 6301 ac_header_compiler=yes 6302 else 6303 echo "$as_me: failed program was:" >&5 6304 sed 's/^/| /' conftest.$ac_ext >&5 6305 6306 ac_header_compiler=no 6307 fi 6308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6309 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6310 echo "${ECHO_T}$ac_header_compiler" >&6 6311 6312 # Is the header present? 6313 echo "$as_me:$LINENO: checking sys/timeb.h presence" >&5 6314 echo $ECHO_N "checking sys/timeb.h presence... $ECHO_C" >&6 6315 cat >conftest.$ac_ext <<_ACEOF 6316 /* confdefs.h. */ 6317 _ACEOF 6318 cat confdefs.h >>conftest.$ac_ext 6319 cat >>conftest.$ac_ext <<_ACEOF 6320 /* end confdefs.h. */ 6321 #include <sys/timeb.h> 6322 _ACEOF 6323 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6324 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6325 ac_status=$? 6326 grep -v '^ *+' conftest.er1 >conftest.err 6327 rm -f conftest.er1 6328 cat conftest.err >&5 6329 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3340 echo "$as_me:3340: \$? = $ac_status" >&5 6330 3341 (exit $ac_status); } >/dev/null; then 6331 3342 if test -s conftest.err; then 6332 3343 ac_cpp_err=$ac_c_preproc_warn_flag 6333 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag6334 3344 else 6335 3345 ac_cpp_err= … … 6339 3349 fi 6340 3350 if test -z "$ac_cpp_err"; then 6341 ac_ header_preproc=yes3351 ac_cv_header_sys_timeb_h=yes 6342 3352 else 6343 3353 echo "$as_me: failed program was:" >&5 6344 sed 's/^/| /' conftest.$ac_ext >&5 6345 6346 ac_header_preproc=no 3354 cat conftest.$ac_ext >&5 3355 ac_cv_header_sys_timeb_h=no 6347 3356 fi 6348 3357 rm -f conftest.err conftest.$ac_ext 6349 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6350 echo "${ECHO_T}$ac_header_preproc" >&6 6351 6352 # So? What about this header? 6353 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6354 yes:no: ) 6355 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&5 6356 echo "$as_me: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6357 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the compiler's result" >&5 6358 echo "$as_me: WARNING: sys/timeb.h: proceeding with the compiler's result" >&2;} 6359 ac_header_preproc=yes 6360 ;; 6361 no:yes:* ) 6362 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: present but cannot be compiled" >&5 6363 echo "$as_me: WARNING: sys/timeb.h: present but cannot be compiled" >&2;} 6364 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: check for missing prerequisite headers?" >&5 6365 echo "$as_me: WARNING: sys/timeb.h: check for missing prerequisite headers?" >&2;} 6366 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: see the Autoconf documentation" >&5 6367 echo "$as_me: WARNING: sys/timeb.h: see the Autoconf documentation" >&2;} 6368 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: section \"Present But Cannot Be Compiled\"" >&5 6369 echo "$as_me: WARNING: sys/timeb.h: section \"Present But Cannot Be Compiled\"" >&2;} 6370 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&5 6371 echo "$as_me: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&2;} 6372 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&5 6373 echo "$as_me: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&2;} 6374 ( 6375 cat <<\_ASBOX 6376 ## ------------------------------------ ## 6377 ## Report this to the pjproject lists. ## 6378 ## ------------------------------------ ## 6379 _ASBOX 6380 ) | 6381 sed "s/^/$as_me: WARNING: /" >&2 6382 ;; 6383 esac 6384 echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 6385 echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6 6386 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 6387 echo $ECHO_N "(cached) $ECHO_C" >&6 6388 else 6389 ac_cv_header_sys_timeb_h=$ac_header_preproc 6390 fi 6391 echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 3358 fi 3359 echo "$as_me:3359: result: $ac_cv_header_sys_timeb_h" >&5 6392 3360 echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6 6393 6394 fi6395 3361 if test $ac_cv_header_sys_timeb_h = yes; then 6396 cat >>confdefs.h <<\ _ACEOF3362 cat >>confdefs.h <<\EOF 6397 3363 #define PJ_HAS_SYS_TIMEB_H 1 6398 _ACEOF 6399 6400 fi 6401 6402 6403 if test "${ac_cv_header_sys_types_h+set}" = set; then 6404 echo "$as_me:$LINENO: checking for sys/types.h" >&5 3364 EOF 3365 3366 fi 3367 3368 echo "$as_me:3368: checking for sys/types.h" >&5 6405 3369 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6 6406 3370 if test "${ac_cv_header_sys_types_h+set}" = set; then 6407 3371 echo $ECHO_N "(cached) $ECHO_C" >&6 6408 fi 6409 echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 6410 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6 6411 else 6412 # Is the header compilable? 6413 echo "$as_me:$LINENO: checking sys/types.h usability" >&5 6414 echo $ECHO_N "checking sys/types.h usability... $ECHO_C" >&6 6415 cat >conftest.$ac_ext <<_ACEOF 6416 /* confdefs.h. */ 6417 _ACEOF 6418 cat confdefs.h >>conftest.$ac_ext 6419 cat >>conftest.$ac_ext <<_ACEOF 6420 /* end confdefs.h. */ 6421 $ac_includes_default 3372 else 3373 cat >conftest.$ac_ext <<_ACEOF 3374 #line 3374 "configure" 3375 #include "confdefs.h" 6422 3376 #include <sys/types.h> 6423 3377 _ACEOF 6424 rm -f conftest.$ac_objext 6425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6426 (eval $ac_compile) 2>conftest.er1 6427 ac_status=$? 6428 grep -v '^ *+' conftest.er1 >conftest.err 3378 if { (eval echo "$as_me:3378: \"$ac_cpp conftest.$ac_ext\"") >&5 3379 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3380 ac_status=$? 3381 egrep -v '^ *\+' conftest.er1 >conftest.err 6429 3382 rm -f conftest.er1 6430 3383 cat conftest.err >&5 6431 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6432 (exit $ac_status); } && 6433 { ac_try='test -z "$ac_c_werror_flag" 6434 || test ! -s conftest.err' 6435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6436 (eval $ac_try) 2>&5 6437 ac_status=$? 6438 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6439 (exit $ac_status); }; } && 6440 { ac_try='test -s conftest.$ac_objext' 6441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6442 (eval $ac_try) 2>&5 6443 ac_status=$? 6444 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6445 (exit $ac_status); }; }; then 6446 ac_header_compiler=yes 6447 else 6448 echo "$as_me: failed program was:" >&5 6449 sed 's/^/| /' conftest.$ac_ext >&5 6450 6451 ac_header_compiler=no 6452 fi 6453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6454 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6455 echo "${ECHO_T}$ac_header_compiler" >&6 6456 6457 # Is the header present? 6458 echo "$as_me:$LINENO: checking sys/types.h presence" >&5 6459 echo $ECHO_N "checking sys/types.h presence... $ECHO_C" >&6 6460 cat >conftest.$ac_ext <<_ACEOF 6461 /* confdefs.h. */ 6462 _ACEOF 6463 cat confdefs.h >>conftest.$ac_ext 6464 cat >>conftest.$ac_ext <<_ACEOF 6465 /* end confdefs.h. */ 6466 #include <sys/types.h> 6467 _ACEOF 6468 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6469 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6470 ac_status=$? 6471 grep -v '^ *+' conftest.er1 >conftest.err 6472 rm -f conftest.er1 6473 cat conftest.err >&5 6474 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3384 echo "$as_me:3384: \$? = $ac_status" >&5 6475 3385 (exit $ac_status); } >/dev/null; then 6476 3386 if test -s conftest.err; then 6477 3387 ac_cpp_err=$ac_c_preproc_warn_flag 6478 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag6479 3388 else 6480 3389 ac_cpp_err= … … 6484 3393 fi 6485 3394 if test -z "$ac_cpp_err"; then 6486 ac_ header_preproc=yes3395 ac_cv_header_sys_types_h=yes 6487 3396 else 6488 3397 echo "$as_me: failed program was:" >&5 6489 sed 's/^/| /' conftest.$ac_ext >&5 6490 6491 ac_header_preproc=no 3398 cat conftest.$ac_ext >&5 3399 ac_cv_header_sys_types_h=no 6492 3400 fi 6493 3401 rm -f conftest.err conftest.$ac_ext 6494 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6495 echo "${ECHO_T}$ac_header_preproc" >&6 6496 6497 # So? What about this header? 6498 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6499 yes:no: ) 6500 { echo "$as_me:$LINENO: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&5 6501 echo "$as_me: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6502 { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the compiler's result" >&5 6503 echo "$as_me: WARNING: sys/types.h: proceeding with the compiler's result" >&2;} 6504 ac_header_preproc=yes 6505 ;; 6506 no:yes:* ) 6507 { echo "$as_me:$LINENO: WARNING: sys/types.h: present but cannot be compiled" >&5 6508 echo "$as_me: WARNING: sys/types.h: present but cannot be compiled" >&2;} 6509 { echo "$as_me:$LINENO: WARNING: sys/types.h: check for missing prerequisite headers?" >&5 6510 echo "$as_me: WARNING: sys/types.h: check for missing prerequisite headers?" >&2;} 6511 { echo "$as_me:$LINENO: WARNING: sys/types.h: see the Autoconf documentation" >&5 6512 echo "$as_me: WARNING: sys/types.h: see the Autoconf documentation" >&2;} 6513 { echo "$as_me:$LINENO: WARNING: sys/types.h: section \"Present But Cannot Be Compiled\"" >&5 6514 echo "$as_me: WARNING: sys/types.h: section \"Present But Cannot Be Compiled\"" >&2;} 6515 { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the preprocessor's result" >&5 6516 echo "$as_me: WARNING: sys/types.h: proceeding with the preprocessor's result" >&2;} 6517 { echo "$as_me:$LINENO: WARNING: sys/types.h: in the future, the compiler will take precedence" >&5 6518 echo "$as_me: WARNING: sys/types.h: in the future, the compiler will take precedence" >&2;} 6519 ( 6520 cat <<\_ASBOX 6521 ## ------------------------------------ ## 6522 ## Report this to the pjproject lists. ## 6523 ## ------------------------------------ ## 6524 _ASBOX 6525 ) | 6526 sed "s/^/$as_me: WARNING: /" >&2 6527 ;; 6528 esac 6529 echo "$as_me:$LINENO: checking for sys/types.h" >&5 6530 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6 6531 if test "${ac_cv_header_sys_types_h+set}" = set; then 6532 echo $ECHO_N "(cached) $ECHO_C" >&6 6533 else 6534 ac_cv_header_sys_types_h=$ac_header_preproc 6535 fi 6536 echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 3402 fi 3403 echo "$as_me:3403: result: $ac_cv_header_sys_types_h" >&5 6537 3404 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6 6538 6539 fi6540 3405 if test $ac_cv_header_sys_types_h = yes; then 6541 cat >>confdefs.h <<\ _ACEOF3406 cat >>confdefs.h <<\EOF 6542 3407 #define PJ_HAS_SYS_TYPES_H 1 6543 _ACEOF 6544 6545 fi 6546 6547 6548 if test "${ac_cv_header_time_h+set}" = set; then 6549 echo "$as_me:$LINENO: checking for time.h" >&5 3408 EOF 3409 3410 fi 3411 3412 echo "$as_me:3412: checking for time.h" >&5 6550 3413 echo $ECHO_N "checking for time.h... $ECHO_C" >&6 6551 3414 if test "${ac_cv_header_time_h+set}" = set; then 6552 3415 echo $ECHO_N "(cached) $ECHO_C" >&6 6553 fi 6554 echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 6555 echo "${ECHO_T}$ac_cv_header_time_h" >&6 6556 else 6557 # Is the header compilable? 6558 echo "$as_me:$LINENO: checking time.h usability" >&5 6559 echo $ECHO_N "checking time.h usability... $ECHO_C" >&6 6560 cat >conftest.$ac_ext <<_ACEOF 6561 /* confdefs.h. */ 6562 _ACEOF 6563 cat confdefs.h >>conftest.$ac_ext 6564 cat >>conftest.$ac_ext <<_ACEOF 6565 /* end confdefs.h. */ 6566 $ac_includes_default 3416 else 3417 cat >conftest.$ac_ext <<_ACEOF 3418 #line 3418 "configure" 3419 #include "confdefs.h" 6567 3420 #include <time.h> 6568 3421 _ACEOF 6569 rm -f conftest.$ac_objext 6570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6571 (eval $ac_compile) 2>conftest.er1 6572 ac_status=$? 6573 grep -v '^ *+' conftest.er1 >conftest.err 3422 if { (eval echo "$as_me:3422: \"$ac_cpp conftest.$ac_ext\"") >&5 3423 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3424 ac_status=$? 3425 egrep -v '^ *\+' conftest.er1 >conftest.err 6574 3426 rm -f conftest.er1 6575 3427 cat conftest.err >&5 6576 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6577 (exit $ac_status); } && 6578 { ac_try='test -z "$ac_c_werror_flag" 6579 || test ! -s conftest.err' 6580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6581 (eval $ac_try) 2>&5 6582 ac_status=$? 6583 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6584 (exit $ac_status); }; } && 6585 { ac_try='test -s conftest.$ac_objext' 6586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6587 (eval $ac_try) 2>&5 6588 ac_status=$? 6589 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6590 (exit $ac_status); }; }; then 6591 ac_header_compiler=yes 6592 else 6593 echo "$as_me: failed program was:" >&5 6594 sed 's/^/| /' conftest.$ac_ext >&5 6595 6596 ac_header_compiler=no 6597 fi 6598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6599 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6600 echo "${ECHO_T}$ac_header_compiler" >&6 6601 6602 # Is the header present? 6603 echo "$as_me:$LINENO: checking time.h presence" >&5 6604 echo $ECHO_N "checking time.h presence... $ECHO_C" >&6 6605 cat >conftest.$ac_ext <<_ACEOF 6606 /* confdefs.h. */ 6607 _ACEOF 6608 cat confdefs.h >>conftest.$ac_ext 6609 cat >>conftest.$ac_ext <<_ACEOF 6610 /* end confdefs.h. */ 6611 #include <time.h> 6612 _ACEOF 6613 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6614 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6615 ac_status=$? 6616 grep -v '^ *+' conftest.er1 >conftest.err 6617 rm -f conftest.er1 6618 cat conftest.err >&5 6619 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3428 echo "$as_me:3428: \$? = $ac_status" >&5 6620 3429 (exit $ac_status); } >/dev/null; then 6621 3430 if test -s conftest.err; then 6622 3431 ac_cpp_err=$ac_c_preproc_warn_flag 6623 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag6624 3432 else 6625 3433 ac_cpp_err= … … 6629 3437 fi 6630 3438 if test -z "$ac_cpp_err"; then 6631 ac_ header_preproc=yes3439 ac_cv_header_time_h=yes 6632 3440 else 6633 3441 echo "$as_me: failed program was:" >&5 6634 sed 's/^/| /' conftest.$ac_ext >&5 6635 6636 ac_header_preproc=no 3442 cat conftest.$ac_ext >&5 3443 ac_cv_header_time_h=no 6637 3444 fi 6638 3445 rm -f conftest.err conftest.$ac_ext 6639 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6640 echo "${ECHO_T}$ac_header_preproc" >&6 6641 6642 # So? What about this header? 6643 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6644 yes:no: ) 6645 { echo "$as_me:$LINENO: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&5 6646 echo "$as_me: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6647 { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the compiler's result" >&5 6648 echo "$as_me: WARNING: time.h: proceeding with the compiler's result" >&2;} 6649 ac_header_preproc=yes 6650 ;; 6651 no:yes:* ) 6652 { echo "$as_me:$LINENO: WARNING: time.h: present but cannot be compiled" >&5 6653 echo "$as_me: WARNING: time.h: present but cannot be compiled" >&2;} 6654 { echo "$as_me:$LINENO: WARNING: time.h: check for missing prerequisite headers?" >&5 6655 echo "$as_me: WARNING: time.h: check for missing prerequisite headers?" >&2;} 6656 { echo "$as_me:$LINENO: WARNING: time.h: see the Autoconf documentation" >&5 6657 echo "$as_me: WARNING: time.h: see the Autoconf documentation" >&2;} 6658 { echo "$as_me:$LINENO: WARNING: time.h: section \"Present But Cannot Be Compiled\"" >&5 6659 echo "$as_me: WARNING: time.h: section \"Present But Cannot Be Compiled\"" >&2;} 6660 { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the preprocessor's result" >&5 6661 echo "$as_me: WARNING: time.h: proceeding with the preprocessor's result" >&2;} 6662 { echo "$as_me:$LINENO: WARNING: time.h: in the future, the compiler will take precedence" >&5 6663 echo "$as_me: WARNING: time.h: in the future, the compiler will take precedence" >&2;} 6664 ( 6665 cat <<\_ASBOX 6666 ## ------------------------------------ ## 6667 ## Report this to the pjproject lists. ## 6668 ## ------------------------------------ ## 6669 _ASBOX 6670 ) | 6671 sed "s/^/$as_me: WARNING: /" >&2 6672 ;; 6673 esac 6674 echo "$as_me:$LINENO: checking for time.h" >&5 6675 echo $ECHO_N "checking for time.h... $ECHO_C" >&6 6676 if test "${ac_cv_header_time_h+set}" = set; then 6677 echo $ECHO_N "(cached) $ECHO_C" >&6 6678 else 6679 ac_cv_header_time_h=$ac_header_preproc 6680 fi 6681 echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 3446 fi 3447 echo "$as_me:3447: result: $ac_cv_header_time_h" >&5 6682 3448 echo "${ECHO_T}$ac_cv_header_time_h" >&6 6683 6684 fi6685 3449 if test $ac_cv_header_time_h = yes; then 6686 cat >>confdefs.h <<\ _ACEOF3450 cat >>confdefs.h <<\EOF 6687 3451 #define PJ_HAS_TIME_H 1 6688 _ACEOF 6689 6690 fi 6691 6692 6693 if test "${ac_cv_header_unistd_h+set}" = set; then 6694 echo "$as_me:$LINENO: checking for unistd.h" >&5 3452 EOF 3453 3454 fi 3455 3456 echo "$as_me:3456: checking for unistd.h" >&5 6695 3457 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6 6696 3458 if test "${ac_cv_header_unistd_h+set}" = set; then 6697 3459 echo $ECHO_N "(cached) $ECHO_C" >&6 6698 fi 6699 echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 6700 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6 6701 else 6702 # Is the header compilable? 6703 echo "$as_me:$LINENO: checking unistd.h usability" >&5 6704 echo $ECHO_N "checking unistd.h usability... $ECHO_C" >&6 6705 cat >conftest.$ac_ext <<_ACEOF 6706 /* confdefs.h. */ 6707 _ACEOF 6708 cat confdefs.h >>conftest.$ac_ext 6709 cat >>conftest.$ac_ext <<_ACEOF 6710 /* end confdefs.h. */ 6711 $ac_includes_default 3460 else 3461 cat >conftest.$ac_ext <<_ACEOF 3462 #line 3462 "configure" 3463 #include "confdefs.h" 6712 3464 #include <unistd.h> 6713 3465 _ACEOF 6714 rm -f conftest.$ac_objext 6715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6716 (eval $ac_compile) 2>conftest.er1 6717 ac_status=$? 6718 grep -v '^ *+' conftest.er1 >conftest.err 3466 if { (eval echo "$as_me:3466: \"$ac_cpp conftest.$ac_ext\"") >&5 3467 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3468 ac_status=$? 3469 egrep -v '^ *\+' conftest.er1 >conftest.err 6719 3470 rm -f conftest.er1 6720 3471 cat conftest.err >&5 6721 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6722 (exit $ac_status); } && 6723 { ac_try='test -z "$ac_c_werror_flag" 6724 || test ! -s conftest.err' 6725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6726 (eval $ac_try) 2>&5 6727 ac_status=$? 6728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6729 (exit $ac_status); }; } && 6730 { ac_try='test -s conftest.$ac_objext' 6731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6732 (eval $ac_try) 2>&5 6733 ac_status=$? 6734 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6735 (exit $ac_status); }; }; then 6736 ac_header_compiler=yes 6737 else 6738 echo "$as_me: failed program was:" >&5 6739 sed 's/^/| /' conftest.$ac_ext >&5 6740 6741 ac_header_compiler=no 6742 fi 6743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6744 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6745 echo "${ECHO_T}$ac_header_compiler" >&6 6746 6747 # Is the header present? 6748 echo "$as_me:$LINENO: checking unistd.h presence" >&5 6749 echo $ECHO_N "checking unistd.h presence... $ECHO_C" >&6 6750 cat >conftest.$ac_ext <<_ACEOF 6751 /* confdefs.h. */ 6752 _ACEOF 6753 cat confdefs.h >>conftest.$ac_ext 6754 cat >>conftest.$ac_ext <<_ACEOF 6755 /* end confdefs.h. */ 6756 #include <unistd.h> 6757 _ACEOF 6758 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6759 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6760 ac_status=$? 6761 grep -v '^ *+' conftest.er1 >conftest.err 6762 rm -f conftest.er1 6763 cat conftest.err >&5 6764 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3472 echo "$as_me:3472: \$? = $ac_status" >&5 6765 3473 (exit $ac_status); } >/dev/null; then 6766 3474 if test -s conftest.err; then 6767 3475 ac_cpp_err=$ac_c_preproc_warn_flag 6768 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag6769 3476 else 6770 3477 ac_cpp_err= … … 6774 3481 fi 6775 3482 if test -z "$ac_cpp_err"; then 6776 ac_ header_preproc=yes3483 ac_cv_header_unistd_h=yes 6777 3484 else 6778 3485 echo "$as_me: failed program was:" >&5 6779 sed 's/^/| /' conftest.$ac_ext >&5 6780 6781 ac_header_preproc=no 3486 cat conftest.$ac_ext >&5 3487 ac_cv_header_unistd_h=no 6782 3488 fi 6783 3489 rm -f conftest.err conftest.$ac_ext 6784 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6785 echo "${ECHO_T}$ac_header_preproc" >&6 6786 6787 # So? What about this header? 6788 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6789 yes:no: ) 6790 { echo "$as_me:$LINENO: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&5 6791 echo "$as_me: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6792 { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the compiler's result" >&5 6793 echo "$as_me: WARNING: unistd.h: proceeding with the compiler's result" >&2;} 6794 ac_header_preproc=yes 6795 ;; 6796 no:yes:* ) 6797 { echo "$as_me:$LINENO: WARNING: unistd.h: present but cannot be compiled" >&5 6798 echo "$as_me: WARNING: unistd.h: present but cannot be compiled" >&2;} 6799 { echo "$as_me:$LINENO: WARNING: unistd.h: check for missing prerequisite headers?" >&5 6800 echo "$as_me: WARNING: unistd.h: check for missing prerequisite headers?" >&2;} 6801 { echo "$as_me:$LINENO: WARNING: unistd.h: see the Autoconf documentation" >&5 6802 echo "$as_me: WARNING: unistd.h: see the Autoconf documentation" >&2;} 6803 { echo "$as_me:$LINENO: WARNING: unistd.h: section \"Present But Cannot Be Compiled\"" >&5 6804 echo "$as_me: WARNING: unistd.h: section \"Present But Cannot Be Compiled\"" >&2;} 6805 { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5 6806 echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;} 6807 { echo "$as_me:$LINENO: WARNING: unistd.h: in the future, the compiler will take precedence" >&5 6808 echo "$as_me: WARNING: unistd.h: in the future, the compiler will take precedence" >&2;} 6809 ( 6810 cat <<\_ASBOX 6811 ## ------------------------------------ ## 6812 ## Report this to the pjproject lists. ## 6813 ## ------------------------------------ ## 6814 _ASBOX 6815 ) | 6816 sed "s/^/$as_me: WARNING: /" >&2 6817 ;; 6818 esac 6819 echo "$as_me:$LINENO: checking for unistd.h" >&5 6820 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6 6821 if test "${ac_cv_header_unistd_h+set}" = set; then 6822 echo $ECHO_N "(cached) $ECHO_C" >&6 6823 else 6824 ac_cv_header_unistd_h=$ac_header_preproc 6825 fi 6826 echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 3490 fi 3491 echo "$as_me:3491: result: $ac_cv_header_unistd_h" >&5 6827 3492 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6 6828 6829 fi6830 3493 if test $ac_cv_header_unistd_h = yes; then 6831 cat >>confdefs.h <<\ _ACEOF3494 cat >>confdefs.h <<\EOF 6832 3495 #define PJ_HAS_UNISTD_H 1 6833 _ACEOF 6834 6835 fi 6836 6837 6838 if test "${ac_cv_header_mswsock_h+set}" = set; then 6839 echo "$as_me:$LINENO: checking for mswsock.h" >&5 3496 EOF 3497 3498 fi 3499 3500 echo "$as_me:3500: checking for mswsock.h" >&5 6840 3501 echo $ECHO_N "checking for mswsock.h... $ECHO_C" >&6 6841 3502 if test "${ac_cv_header_mswsock_h+set}" = set; then 6842 3503 echo $ECHO_N "(cached) $ECHO_C" >&6 6843 fi 6844 echo "$as_me:$LINENO: result: $ac_cv_header_mswsock_h" >&5 6845 echo "${ECHO_T}$ac_cv_header_mswsock_h" >&6 6846 else 6847 # Is the header compilable? 6848 echo "$as_me:$LINENO: checking mswsock.h usability" >&5 6849 echo $ECHO_N "checking mswsock.h usability... $ECHO_C" >&6 6850 cat >conftest.$ac_ext <<_ACEOF 6851 /* confdefs.h. */ 6852 _ACEOF 6853 cat confdefs.h >>conftest.$ac_ext 6854 cat >>conftest.$ac_ext <<_ACEOF 6855 /* end confdefs.h. */ 6856 $ac_includes_default 3504 else 3505 cat >conftest.$ac_ext <<_ACEOF 3506 #line 3506 "configure" 3507 #include "confdefs.h" 6857 3508 #include <mswsock.h> 6858 3509 _ACEOF 6859 rm -f conftest.$ac_objext 6860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6861 (eval $ac_compile) 2>conftest.er1 6862 ac_status=$? 6863 grep -v '^ *+' conftest.er1 >conftest.err 3510 if { (eval echo "$as_me:3510: \"$ac_cpp conftest.$ac_ext\"") >&5 3511 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3512 ac_status=$? 3513 egrep -v '^ *\+' conftest.er1 >conftest.err 6864 3514 rm -f conftest.er1 6865 3515 cat conftest.err >&5 6866 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6867 (exit $ac_status); } && 6868 { ac_try='test -z "$ac_c_werror_flag" 6869 || test ! -s conftest.err' 6870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6871 (eval $ac_try) 2>&5 6872 ac_status=$? 6873 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6874 (exit $ac_status); }; } && 6875 { ac_try='test -s conftest.$ac_objext' 6876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6877 (eval $ac_try) 2>&5 6878 ac_status=$? 6879 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6880 (exit $ac_status); }; }; then 6881 ac_header_compiler=yes 6882 else 6883 echo "$as_me: failed program was:" >&5 6884 sed 's/^/| /' conftest.$ac_ext >&5 6885 6886 ac_header_compiler=no 6887 fi 6888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6889 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6890 echo "${ECHO_T}$ac_header_compiler" >&6 6891 6892 # Is the header present? 6893 echo "$as_me:$LINENO: checking mswsock.h presence" >&5 6894 echo $ECHO_N "checking mswsock.h presence... $ECHO_C" >&6 6895 cat >conftest.$ac_ext <<_ACEOF 6896 /* confdefs.h. */ 6897 _ACEOF 6898 cat confdefs.h >>conftest.$ac_ext 6899 cat >>conftest.$ac_ext <<_ACEOF 6900 /* end confdefs.h. */ 6901 #include <mswsock.h> 6902 _ACEOF 6903 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6904 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6905 ac_status=$? 6906 grep -v '^ *+' conftest.er1 >conftest.err 6907 rm -f conftest.er1 6908 cat conftest.err >&5 6909 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3516 echo "$as_me:3516: \$? = $ac_status" >&5 6910 3517 (exit $ac_status); } >/dev/null; then 6911 3518 if test -s conftest.err; then 6912 3519 ac_cpp_err=$ac_c_preproc_warn_flag 6913 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag6914 3520 else 6915 3521 ac_cpp_err= … … 6919 3525 fi 6920 3526 if test -z "$ac_cpp_err"; then 6921 ac_ header_preproc=yes3527 ac_cv_header_mswsock_h=yes 6922 3528 else 6923 3529 echo "$as_me: failed program was:" >&5 6924 sed 's/^/| /' conftest.$ac_ext >&5 6925 6926 ac_header_preproc=no 3530 cat conftest.$ac_ext >&5 3531 ac_cv_header_mswsock_h=no 6927 3532 fi 6928 3533 rm -f conftest.err conftest.$ac_ext 6929 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6930 echo "${ECHO_T}$ac_header_preproc" >&6 6931 6932 # So? What about this header? 6933 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6934 yes:no: ) 6935 { echo "$as_me:$LINENO: WARNING: mswsock.h: accepted by the compiler, rejected by the preprocessor!" >&5 6936 echo "$as_me: WARNING: mswsock.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6937 { echo "$as_me:$LINENO: WARNING: mswsock.h: proceeding with the compiler's result" >&5 6938 echo "$as_me: WARNING: mswsock.h: proceeding with the compiler's result" >&2;} 6939 ac_header_preproc=yes 6940 ;; 6941 no:yes:* ) 6942 { echo "$as_me:$LINENO: WARNING: mswsock.h: present but cannot be compiled" >&5 6943 echo "$as_me: WARNING: mswsock.h: present but cannot be compiled" >&2;} 6944 { echo "$as_me:$LINENO: WARNING: mswsock.h: check for missing prerequisite headers?" >&5 6945 echo "$as_me: WARNING: mswsock.h: check for missing prerequisite headers?" >&2;} 6946 { echo "$as_me:$LINENO: WARNING: mswsock.h: see the Autoconf documentation" >&5 6947 echo "$as_me: WARNING: mswsock.h: see the Autoconf documentation" >&2;} 6948 { echo "$as_me:$LINENO: WARNING: mswsock.h: section \"Present But Cannot Be Compiled\"" >&5 6949 echo "$as_me: WARNING: mswsock.h: section \"Present But Cannot Be Compiled\"" >&2;} 6950 { echo "$as_me:$LINENO: WARNING: mswsock.h: proceeding with the preprocessor's result" >&5 6951 echo "$as_me: WARNING: mswsock.h: proceeding with the preprocessor's result" >&2;} 6952 { echo "$as_me:$LINENO: WARNING: mswsock.h: in the future, the compiler will take precedence" >&5 6953 echo "$as_me: WARNING: mswsock.h: in the future, the compiler will take precedence" >&2;} 6954 ( 6955 cat <<\_ASBOX 6956 ## ------------------------------------ ## 6957 ## Report this to the pjproject lists. ## 6958 ## ------------------------------------ ## 6959 _ASBOX 6960 ) | 6961 sed "s/^/$as_me: WARNING: /" >&2 6962 ;; 6963 esac 6964 echo "$as_me:$LINENO: checking for mswsock.h" >&5 6965 echo $ECHO_N "checking for mswsock.h... $ECHO_C" >&6 6966 if test "${ac_cv_header_mswsock_h+set}" = set; then 6967 echo $ECHO_N "(cached) $ECHO_C" >&6 6968 else 6969 ac_cv_header_mswsock_h=$ac_header_preproc 6970 fi 6971 echo "$as_me:$LINENO: result: $ac_cv_header_mswsock_h" >&5 3534 fi 3535 echo "$as_me:3535: result: $ac_cv_header_mswsock_h" >&5 6972 3536 echo "${ECHO_T}$ac_cv_header_mswsock_h" >&6 6973 6974 fi6975 3537 if test $ac_cv_header_mswsock_h = yes; then 6976 cat >>confdefs.h <<\ _ACEOF3538 cat >>confdefs.h <<\EOF 6977 3539 #define PJ_HAS_MSWSOCK_H 1 6978 _ACEOF 6979 6980 fi 6981 6982 6983 if test "${ac_cv_header_winsock_h+set}" = set; then 6984 echo "$as_me:$LINENO: checking for winsock.h" >&5 3540 EOF 3541 3542 fi 3543 3544 echo "$as_me:3544: checking for winsock.h" >&5 6985 3545 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6 6986 3546 if test "${ac_cv_header_winsock_h+set}" = set; then 6987 3547 echo $ECHO_N "(cached) $ECHO_C" >&6 6988 fi 6989 echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 6990 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6 6991 else 6992 # Is the header compilable? 6993 echo "$as_me:$LINENO: checking winsock.h usability" >&5 6994 echo $ECHO_N "checking winsock.h usability... $ECHO_C" >&6 6995 cat >conftest.$ac_ext <<_ACEOF 6996 /* confdefs.h. */ 6997 _ACEOF 6998 cat confdefs.h >>conftest.$ac_ext 6999 cat >>conftest.$ac_ext <<_ACEOF 7000 /* end confdefs.h. */ 7001 $ac_includes_default 3548 else 3549 cat >conftest.$ac_ext <<_ACEOF 3550 #line 3550 "configure" 3551 #include "confdefs.h" 7002 3552 #include <winsock.h> 7003 3553 _ACEOF 7004 rm -f conftest.$ac_objext 7005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7006 (eval $ac_compile) 2>conftest.er1 7007 ac_status=$? 7008 grep -v '^ *+' conftest.er1 >conftest.err 3554 if { (eval echo "$as_me:3554: \"$ac_cpp conftest.$ac_ext\"") >&5 3555 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3556 ac_status=$? 3557 egrep -v '^ *\+' conftest.er1 >conftest.err 7009 3558 rm -f conftest.er1 7010 3559 cat conftest.err >&5 7011 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7012 (exit $ac_status); } && 7013 { ac_try='test -z "$ac_c_werror_flag" 7014 || test ! -s conftest.err' 7015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7016 (eval $ac_try) 2>&5 7017 ac_status=$? 7018 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7019 (exit $ac_status); }; } && 7020 { ac_try='test -s conftest.$ac_objext' 7021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7022 (eval $ac_try) 2>&5 7023 ac_status=$? 7024 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7025 (exit $ac_status); }; }; then 7026 ac_header_compiler=yes 7027 else 7028 echo "$as_me: failed program was:" >&5 7029 sed 's/^/| /' conftest.$ac_ext >&5 7030 7031 ac_header_compiler=no 7032 fi 7033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7034 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7035 echo "${ECHO_T}$ac_header_compiler" >&6 7036 7037 # Is the header present? 7038 echo "$as_me:$LINENO: checking winsock.h presence" >&5 7039 echo $ECHO_N "checking winsock.h presence... $ECHO_C" >&6 7040 cat >conftest.$ac_ext <<_ACEOF 7041 /* confdefs.h. */ 7042 _ACEOF 7043 cat confdefs.h >>conftest.$ac_ext 7044 cat >>conftest.$ac_ext <<_ACEOF 7045 /* end confdefs.h. */ 7046 #include <winsock.h> 7047 _ACEOF 7048 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7049 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7050 ac_status=$? 7051 grep -v '^ *+' conftest.er1 >conftest.err 7052 rm -f conftest.er1 7053 cat conftest.err >&5 7054 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3560 echo "$as_me:3560: \$? = $ac_status" >&5 7055 3561 (exit $ac_status); } >/dev/null; then 7056 3562 if test -s conftest.err; then 7057 3563 ac_cpp_err=$ac_c_preproc_warn_flag 7058 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag7059 3564 else 7060 3565 ac_cpp_err= … … 7064 3569 fi 7065 3570 if test -z "$ac_cpp_err"; then 7066 ac_ header_preproc=yes3571 ac_cv_header_winsock_h=yes 7067 3572 else 7068 3573 echo "$as_me: failed program was:" >&5 7069 sed 's/^/| /' conftest.$ac_ext >&5 7070 7071 ac_header_preproc=no 3574 cat conftest.$ac_ext >&5 3575 ac_cv_header_winsock_h=no 7072 3576 fi 7073 3577 rm -f conftest.err conftest.$ac_ext 7074 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7075 echo "${ECHO_T}$ac_header_preproc" >&6 7076 7077 # So? What about this header? 7078 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7079 yes:no: ) 7080 { echo "$as_me:$LINENO: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&5 7081 echo "$as_me: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7082 { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the compiler's result" >&5 7083 echo "$as_me: WARNING: winsock.h: proceeding with the compiler's result" >&2;} 7084 ac_header_preproc=yes 7085 ;; 7086 no:yes:* ) 7087 { echo "$as_me:$LINENO: WARNING: winsock.h: present but cannot be compiled" >&5 7088 echo "$as_me: WARNING: winsock.h: present but cannot be compiled" >&2;} 7089 { echo "$as_me:$LINENO: WARNING: winsock.h: check for missing prerequisite headers?" >&5 7090 echo "$as_me: WARNING: winsock.h: check for missing prerequisite headers?" >&2;} 7091 { echo "$as_me:$LINENO: WARNING: winsock.h: see the Autoconf documentation" >&5 7092 echo "$as_me: WARNING: winsock.h: see the Autoconf documentation" >&2;} 7093 { echo "$as_me:$LINENO: WARNING: winsock.h: section \"Present But Cannot Be Compiled\"" >&5 7094 echo "$as_me: WARNING: winsock.h: section \"Present But Cannot Be Compiled\"" >&2;} 7095 { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the preprocessor's result" >&5 7096 echo "$as_me: WARNING: winsock.h: proceeding with the preprocessor's result" >&2;} 7097 { echo "$as_me:$LINENO: WARNING: winsock.h: in the future, the compiler will take precedence" >&5 7098 echo "$as_me: WARNING: winsock.h: in the future, the compiler will take precedence" >&2;} 7099 ( 7100 cat <<\_ASBOX 7101 ## ------------------------------------ ## 7102 ## Report this to the pjproject lists. ## 7103 ## ------------------------------------ ## 7104 _ASBOX 7105 ) | 7106 sed "s/^/$as_me: WARNING: /" >&2 7107 ;; 7108 esac 7109 echo "$as_me:$LINENO: checking for winsock.h" >&5 7110 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6 7111 if test "${ac_cv_header_winsock_h+set}" = set; then 7112 echo $ECHO_N "(cached) $ECHO_C" >&6 7113 else 7114 ac_cv_header_winsock_h=$ac_header_preproc 7115 fi 7116 echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 3578 fi 3579 echo "$as_me:3579: result: $ac_cv_header_winsock_h" >&5 7117 3580 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6 7118 7119 fi7120 3581 if test $ac_cv_header_winsock_h = yes; then 7121 cat >>confdefs.h <<\ _ACEOF3582 cat >>confdefs.h <<\EOF 7122 3583 #define PJ_HAS_WINSOCK_H 1 7123 _ACEOF 7124 7125 fi 7126 7127 7128 if test "${ac_cv_header_winsock2_h+set}" = set; then 7129 echo "$as_me:$LINENO: checking for winsock2.h" >&5 3584 EOF 3585 3586 fi 3587 3588 echo "$as_me:3588: checking for winsock2.h" >&5 7130 3589 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6 7131 3590 if test "${ac_cv_header_winsock2_h+set}" = set; then 7132 3591 echo $ECHO_N "(cached) $ECHO_C" >&6 7133 fi 7134 echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 7135 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6 7136 else 7137 # Is the header compilable? 7138 echo "$as_me:$LINENO: checking winsock2.h usability" >&5 7139 echo $ECHO_N "checking winsock2.h usability... $ECHO_C" >&6 7140 cat >conftest.$ac_ext <<_ACEOF 7141 /* confdefs.h. */ 7142 _ACEOF 7143 cat confdefs.h >>conftest.$ac_ext 7144 cat >>conftest.$ac_ext <<_ACEOF 7145 /* end confdefs.h. */ 7146 $ac_includes_default 3592 else 3593 cat >conftest.$ac_ext <<_ACEOF 3594 #line 3594 "configure" 3595 #include "confdefs.h" 7147 3596 #include <winsock2.h> 7148 3597 _ACEOF 7149 rm -f conftest.$ac_objext 7150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7151 (eval $ac_compile) 2>conftest.er1 7152 ac_status=$? 7153 grep -v '^ *+' conftest.er1 >conftest.err 3598 if { (eval echo "$as_me:3598: \"$ac_cpp conftest.$ac_ext\"") >&5 3599 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3600 ac_status=$? 3601 egrep -v '^ *\+' conftest.er1 >conftest.err 7154 3602 rm -f conftest.er1 7155 3603 cat conftest.err >&5 7156 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7157 (exit $ac_status); } && 7158 { ac_try='test -z "$ac_c_werror_flag" 7159 || test ! -s conftest.err' 7160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7161 (eval $ac_try) 2>&5 7162 ac_status=$? 7163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7164 (exit $ac_status); }; } && 7165 { ac_try='test -s conftest.$ac_objext' 7166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7167 (eval $ac_try) 2>&5 7168 ac_status=$? 7169 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7170 (exit $ac_status); }; }; then 7171 ac_header_compiler=yes 7172 else 7173 echo "$as_me: failed program was:" >&5 7174 sed 's/^/| /' conftest.$ac_ext >&5 7175 7176 ac_header_compiler=no 7177 fi 7178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7179 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7180 echo "${ECHO_T}$ac_header_compiler" >&6 7181 7182 # Is the header present? 7183 echo "$as_me:$LINENO: checking winsock2.h presence" >&5 7184 echo $ECHO_N "checking winsock2.h presence... $ECHO_C" >&6 7185 cat >conftest.$ac_ext <<_ACEOF 7186 /* confdefs.h. */ 7187 _ACEOF 7188 cat confdefs.h >>conftest.$ac_ext 7189 cat >>conftest.$ac_ext <<_ACEOF 7190 /* end confdefs.h. */ 7191 #include <winsock2.h> 7192 _ACEOF 7193 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7194 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7195 ac_status=$? 7196 grep -v '^ *+' conftest.er1 >conftest.err 7197 rm -f conftest.er1 7198 cat conftest.err >&5 7199 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3604 echo "$as_me:3604: \$? = $ac_status" >&5 7200 3605 (exit $ac_status); } >/dev/null; then 7201 3606 if test -s conftest.err; then 7202 3607 ac_cpp_err=$ac_c_preproc_warn_flag 7203 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag7204 3608 else 7205 3609 ac_cpp_err= … … 7209 3613 fi 7210 3614 if test -z "$ac_cpp_err"; then 7211 ac_ header_preproc=yes3615 ac_cv_header_winsock2_h=yes 7212 3616 else 7213 3617 echo "$as_me: failed program was:" >&5 7214 sed 's/^/| /' conftest.$ac_ext >&5 7215 7216 ac_header_preproc=no 3618 cat conftest.$ac_ext >&5 3619 ac_cv_header_winsock2_h=no 7217 3620 fi 7218 3621 rm -f conftest.err conftest.$ac_ext 7219 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7220 echo "${ECHO_T}$ac_header_preproc" >&6 7221 7222 # So? What about this header? 7223 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7224 yes:no: ) 7225 { echo "$as_me:$LINENO: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&5 7226 echo "$as_me: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7227 { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the compiler's result" >&5 7228 echo "$as_me: WARNING: winsock2.h: proceeding with the compiler's result" >&2;} 7229 ac_header_preproc=yes 7230 ;; 7231 no:yes:* ) 7232 { echo "$as_me:$LINENO: WARNING: winsock2.h: present but cannot be compiled" >&5 7233 echo "$as_me: WARNING: winsock2.h: present but cannot be compiled" >&2;} 7234 { echo "$as_me:$LINENO: WARNING: winsock2.h: check for missing prerequisite headers?" >&5 7235 echo "$as_me: WARNING: winsock2.h: check for missing prerequisite headers?" >&2;} 7236 { echo "$as_me:$LINENO: WARNING: winsock2.h: see the Autoconf documentation" >&5 7237 echo "$as_me: WARNING: winsock2.h: see the Autoconf documentation" >&2;} 7238 { echo "$as_me:$LINENO: WARNING: winsock2.h: section \"Present But Cannot Be Compiled\"" >&5 7239 echo "$as_me: WARNING: winsock2.h: section \"Present But Cannot Be Compiled\"" >&2;} 7240 { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the preprocessor's result" >&5 7241 echo "$as_me: WARNING: winsock2.h: proceeding with the preprocessor's result" >&2;} 7242 { echo "$as_me:$LINENO: WARNING: winsock2.h: in the future, the compiler will take precedence" >&5 7243 echo "$as_me: WARNING: winsock2.h: in the future, the compiler will take precedence" >&2;} 7244 ( 7245 cat <<\_ASBOX 7246 ## ------------------------------------ ## 7247 ## Report this to the pjproject lists. ## 7248 ## ------------------------------------ ## 7249 _ASBOX 7250 ) | 7251 sed "s/^/$as_me: WARNING: /" >&2 7252 ;; 7253 esac 7254 echo "$as_me:$LINENO: checking for winsock2.h" >&5 7255 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6 7256 if test "${ac_cv_header_winsock2_h+set}" = set; then 7257 echo $ECHO_N "(cached) $ECHO_C" >&6 7258 else 7259 ac_cv_header_winsock2_h=$ac_header_preproc 7260 fi 7261 echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 3622 fi 3623 echo "$as_me:3623: result: $ac_cv_header_winsock2_h" >&5 7262 3624 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6 7263 7264 fi7265 3625 if test $ac_cv_header_winsock2_h = yes; then 7266 cat >>confdefs.h <<\ _ACEOF3626 cat >>confdefs.h <<\EOF 7267 3627 #define PJ_HAS_WINSOCK2_H 1 7268 _ACEOF 7269 7270 fi 7271 7272 7273 7274 echo "$as_me:$LINENO: result: Setting PJ_OS_NAME to $target" >&5 3628 EOF 3629 3630 fi 3631 3632 echo "$as_me:3632: result: Setting PJ_OS_NAME to $target" >&5 7275 3633 echo "${ECHO_T}Setting PJ_OS_NAME to $target" >&6 7276 cat >>confdefs.h << _ACEOF3634 cat >>confdefs.h <<EOF 7277 3635 #define PJ_OS_NAME "$target" 7278 _ACEOF 7279 7280 7281 echo "$as_me:$LINENO: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 3636 EOF 3637 3638 echo "$as_me:3638: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 7282 3639 echo "${ECHO_T}Setting PJ_HAS_ERRNO_VAR to 1" >&6 7283 cat >>confdefs.h <<\ _ACEOF3640 cat >>confdefs.h <<\EOF 7284 3641 #define PJ_HAS_ERRNO_VAR 1 7285 _ACEOF 7286 7287 7288 echo "$as_me:$LINENO: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 3642 EOF 3643 3644 echo "$as_me:3644: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 7289 3645 echo "${ECHO_T}Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6 7290 cat >>confdefs.h <<\ _ACEOF3646 cat >>confdefs.h <<\EOF 7291 3647 #define PJ_HAS_HIGH_RES_TIMER 1 7292 _ACEOF 7293 7294 7295 echo "$as_me:$LINENO: result: Setting PJ_HAS_MALLOC to 1" >&5 3648 EOF 3649 3650 echo "$as_me:3650: result: Setting PJ_HAS_MALLOC to 1" >&5 7296 3651 echo "${ECHO_T}Setting PJ_HAS_MALLOC to 1" >&6 7297 cat >>confdefs.h <<\ _ACEOF3652 cat >>confdefs.h <<\EOF 7298 3653 #define PJ_HAS_MALLOC 1 7299 _ACEOF 7300 7301 7302 echo "$as_me:$LINENO: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 3654 EOF 3655 3656 echo "$as_me:3656: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 7303 3657 echo "${ECHO_T}Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6 7304 cat >>confdefs.h <<\ _ACEOF3658 cat >>confdefs.h <<\EOF 7305 3659 #define PJ_NATIVE_STRING_IS_UNICODE 0 7306 _ACEOF 7307 7308 7309 echo "$as_me:$LINENO: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 3660 EOF 3661 3662 echo "$as_me:3662: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 7310 3663 echo "${ECHO_T}Setting PJ_ATOMIC_VALUE_TYPE to long" >&6 7311 cat >>confdefs.h <<\ _ACEOF3664 cat >>confdefs.h <<\EOF 7312 3665 #define PJ_ATOMIC_VALUE_TYPE long 7313 _ACEOF 7314 7315 7316 # Determine if inet_aton() is available 7317 echo "$as_me:$LINENO: checking if inet_aton is available" >&5 3666 EOF 3667 3668 echo "$as_me:3668: checking if inet_aton is available" >&5 7318 3669 echo $ECHO_N "checking if inet_aton is available... $ECHO_C" >&6 7319 3670 cat >conftest.$ac_ext <<_ACEOF 7320 /* confdefs.h. */ 7321 _ACEOF 7322 cat confdefs.h >>conftest.$ac_ext 7323 cat >>conftest.$ac_ext <<_ACEOF 7324 /* end confdefs.h. */ 7325 #include <sys/socket.h> 7326 #include <netinet/in.h> 7327 #include <arpa/inet.h> 3671 #line 3671 "configure" 3672 #include "confdefs.h" 3673 #include <arpa/inet.h> 7328 3674 int 7329 3675 main () … … 7335 3681 _ACEOF 7336 3682 rm -f conftest.$ac_objext 7337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7338 (eval $ac_compile) 2>conftest.er1 7339 ac_status=$? 7340 grep -v '^ *+' conftest.er1 >conftest.err 7341 rm -f conftest.er1 7342 cat conftest.err >&5 7343 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3683 if { (eval echo "$as_me:3683: \"$ac_compile\"") >&5 3684 (eval $ac_compile) 2>&5 3685 ac_status=$? 3686 echo "$as_me:3686: \$? = $ac_status" >&5 7344 3687 (exit $ac_status); } && 7345 { ac_try='test -z "$ac_c_werror_flag" 7346 || test ! -s conftest.err' 7347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3688 { ac_try='test -s conftest.$ac_objext' 3689 { (eval echo "$as_me:3689: \"$ac_try\"") >&5 7348 3690 (eval $ac_try) 2>&5 7349 3691 ac_status=$? 7350 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7351 (exit $ac_status); }; } && 7352 { ac_try='test -s conftest.$ac_objext' 7353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7354 (eval $ac_try) 2>&5 7355 ac_status=$? 7356 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3692 echo "$as_me:3692: \$? = $ac_status" >&5 7357 3693 (exit $ac_status); }; }; then 7358 cat >>confdefs.h <<\ _ACEOF3694 cat >>confdefs.h <<\EOF 7359 3695 #define PJ_SOCK_HAS_INET_ATON 1 7360 _ACEOF7361 7362 echo "$as_me: $LINENO: result: yes" >&53696 EOF 3697 3698 echo "$as_me:3698: result: yes" >&5 7363 3699 echo "${ECHO_T}yes" >&6 7364 3700 else 7365 3701 echo "$as_me: failed program was:" >&5 7366 sed 's/^/| /' conftest.$ac_ext >&5 7367 7368 echo "$as_me:$LINENO: result: no" >&5 3702 cat conftest.$ac_ext >&5 3703 echo "$as_me:3703: result: no" >&5 7369 3704 echo "${ECHO_T}no" >&6 7370 3705 fi 7371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7372 7373 # Determine if sockaddr_in has sin_len member 7374 echo "$as_me:$LINENO: checking if sockaddr_in has sin_len member" >&5 3706 rm -f conftest.$ac_objext conftest.$ac_ext 3707 3708 echo "$as_me:3708: checking if sockaddr_in has sin_len member" >&5 7375 3709 echo $ECHO_N "checking if sockaddr_in has sin_len member... $ECHO_C" >&6 7376 3710 cat >conftest.$ac_ext <<_ACEOF 7377 /* confdefs.h. */ 7378 _ACEOF 7379 cat confdefs.h >>conftest.$ac_ext 7380 cat >>conftest.$ac_ext <<_ACEOF 7381 /* end confdefs.h. */ 7382 #include <sys/socket.h> 7383 #include <netinet/in.h> 7384 #include <arpa/inet.h> 3711 #line 3711 "configure" 3712 #include "confdefs.h" 3713 #include <sys/types.h> 3714 #include <sys/socket.h> 3715 #include <netinet/in.h> 3716 #include <arpa/inet.h> 7385 3717 int 7386 3718 main () … … 7392 3724 _ACEOF 7393 3725 rm -f conftest.$ac_objext 7394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7395 (eval $ac_compile) 2>conftest.er1 7396 ac_status=$? 7397 grep -v '^ *+' conftest.er1 >conftest.err 7398 rm -f conftest.er1 7399 cat conftest.err >&5 7400 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3726 if { (eval echo "$as_me:3726: \"$ac_compile\"") >&5 3727 (eval $ac_compile) 2>&5 3728 ac_status=$? 3729 echo "$as_me:3729: \$? = $ac_status" >&5 7401 3730 (exit $ac_status); } && 7402 { ac_try='test -z "$ac_c_werror_flag" 7403 || test ! -s conftest.err' 7404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3731 { ac_try='test -s conftest.$ac_objext' 3732 { (eval echo "$as_me:3732: \"$ac_try\"") >&5 7405 3733 (eval $ac_try) 2>&5 7406 3734 ac_status=$? 7407 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7408 (exit $ac_status); }; } && 7409 { ac_try='test -s conftest.$ac_objext' 7410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7411 (eval $ac_try) 2>&5 7412 ac_status=$? 7413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3735 echo "$as_me:3735: \$? = $ac_status" >&5 7414 3736 (exit $ac_status); }; }; then 7415 cat >>confdefs.h <<\ _ACEOF3737 cat >>confdefs.h <<\EOF 7416 3738 #define PJ_SOCKADDR_HAS_LEN 1 7417 _ACEOF7418 7419 echo "$as_me: $LINENO: result: yes" >&53739 EOF 3740 3741 echo "$as_me:3741: result: yes" >&5 7420 3742 echo "${ECHO_T}yes" >&6 7421 3743 else 7422 3744 echo "$as_me: failed program was:" >&5 7423 sed 's/^/| /' conftest.$ac_ext >&5 7424 7425 echo "$as_me:$LINENO: result: no" >&5 3745 cat conftest.$ac_ext >&5 3746 echo "$as_me:3746: result: no" >&5 7426 3747 echo "${ECHO_T}no" >&6 7427 3748 fi 7428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7429 7430 # Determine if socklen_t is available 7431 echo "$as_me:$LINENO: checking if socklen_t is available" >&5 3749 rm -f conftest.$ac_objext conftest.$ac_ext 3750 3751 echo "$as_me:3751: checking if socklen_t is available" >&5 7432 3752 echo $ECHO_N "checking if socklen_t is available... $ECHO_C" >&6 7433 3753 cat >conftest.$ac_ext <<_ACEOF 7434 /* confdefs.h. */ 7435 _ACEOF 7436 cat confdefs.h >>conftest.$ac_ext 7437 cat >>conftest.$ac_ext <<_ACEOF 7438 /* end confdefs.h. */ 3754 #line 3754 "configure" 3755 #include "confdefs.h" 7439 3756 #include <unistd.h> 7440 3757 int … … 7447 3764 _ACEOF 7448 3765 rm -f conftest.$ac_objext 7449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7450 (eval $ac_compile) 2>conftest.er1 7451 ac_status=$? 7452 grep -v '^ *+' conftest.er1 >conftest.err 7453 rm -f conftest.er1 7454 cat conftest.err >&5 7455 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3766 if { (eval echo "$as_me:3766: \"$ac_compile\"") >&5 3767 (eval $ac_compile) 2>&5 3768 ac_status=$? 3769 echo "$as_me:3769: \$? = $ac_status" >&5 7456 3770 (exit $ac_status); } && 7457 { ac_try='test -z "$ac_c_werror_flag" 7458 || test ! -s conftest.err' 7459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3771 { ac_try='test -s conftest.$ac_objext' 3772 { (eval echo "$as_me:3772: \"$ac_try\"") >&5 7460 3773 (eval $ac_try) 2>&5 7461 3774 ac_status=$? 7462 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7463 (exit $ac_status); }; } && 7464 { ac_try='test -s conftest.$ac_objext' 7465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7466 (eval $ac_try) 2>&5 7467 ac_status=$? 7468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3775 echo "$as_me:3775: \$? = $ac_status" >&5 7469 3776 (exit $ac_status); }; }; then 7470 cat >>confdefs.h <<\ _ACEOF3777 cat >>confdefs.h <<\EOF 7471 3778 #define PJ_HAS_SOCKLEN_T 1 7472 _ACEOF7473 7474 echo "$as_me: $LINENO: result: yes" >&53779 EOF 3780 3781 echo "$as_me:3781: result: yes" >&5 7475 3782 echo "${ECHO_T}yes" >&6 7476 3783 else 7477 3784 echo "$as_me: failed program was:" >&5 7478 sed 's/^/| /' conftest.$ac_ext >&5 7479 7480 echo "$as_me:$LINENO: result: no" >&5 3785 cat conftest.$ac_ext >&5 3786 echo "$as_me:3786: result: no" >&5 7481 3787 echo "${ECHO_T}no" >&6 7482 3788 fi 7483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7484 7485 # Determine if SO_ERROR is available 7486 echo "$as_me:$LINENO: checking if SO_ERROR is available" >&5 3789 rm -f conftest.$ac_objext conftest.$ac_ext 3790 3791 echo "$as_me:3791: checking if SO_ERROR is available" >&5 7487 3792 echo $ECHO_N "checking if SO_ERROR is available... $ECHO_C" >&6 7488 3793 cat >conftest.$ac_ext <<_ACEOF 7489 /* confdefs.h. */ 7490 _ACEOF 7491 cat confdefs.h >>conftest.$ac_ext 7492 cat >>conftest.$ac_ext <<_ACEOF 7493 /* end confdefs.h. */ 7494 #include <sys/socket.h> 7495 #include <netinet/in.h> 7496 #include <arpa/inet.h> 3794 #line 3794 "configure" 3795 #include "confdefs.h" 3796 #include <sys/types.h> 3797 #include <sys/socket.h> 3798 #include <netinet/in.h> 3799 #include <arpa/inet.h> 7497 3800 int 7498 3801 main () … … 7504 3807 _ACEOF 7505 3808 rm -f conftest.$ac_objext 7506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7507 (eval $ac_compile) 2>conftest.er1 7508 ac_status=$? 7509 grep -v '^ *+' conftest.er1 >conftest.err 7510 rm -f conftest.er1 7511 cat conftest.err >&5 7512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3809 if { (eval echo "$as_me:3809: \"$ac_compile\"") >&5 3810 (eval $ac_compile) 2>&5 3811 ac_status=$? 3812 echo "$as_me:3812: \$? = $ac_status" >&5 7513 3813 (exit $ac_status); } && 7514 { ac_try='test -z "$ac_c_werror_flag" 7515 || test ! -s conftest.err' 7516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3814 { ac_try='test -s conftest.$ac_objext' 3815 { (eval echo "$as_me:3815: \"$ac_try\"") >&5 7517 3816 (eval $ac_try) 2>&5 7518 3817 ac_status=$? 7519 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7520 (exit $ac_status); }; } && 7521 { ac_try='test -s conftest.$ac_objext' 7522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7523 (eval $ac_try) 2>&5 7524 ac_status=$? 7525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3818 echo "$as_me:3818: \$? = $ac_status" >&5 7526 3819 (exit $ac_status); }; }; then 7527 cat >>confdefs.h <<\ _ACEOF3820 cat >>confdefs.h <<\EOF 7528 3821 #define PJ_HAS_SO_ERROR 1 7529 _ACEOF7530 7531 echo "$as_me: $LINENO: result: yes" >&53822 EOF 3823 3824 echo "$as_me:3824: result: yes" >&5 7532 3825 echo "${ECHO_T}yes" >&6 7533 3826 else 7534 3827 echo "$as_me: failed program was:" >&5 7535 sed 's/^/| /' conftest.$ac_ext >&5 7536 7537 echo "$as_me:$LINENO: result: no" >&5 3828 cat conftest.$ac_ext >&5 3829 echo "$as_me:3829: result: no" >&5 7538 3830 echo "${ECHO_T}no" >&6 7539 3831 fi 7540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7541 7542 # Determine if RW-mutex is available 7543 echo "$as_me:$LINENO: checking if pthread_rwlock_t is available" >&5 3832 rm -f conftest.$ac_objext conftest.$ac_ext 3833 3834 echo "$as_me:3834: checking if pthread_rwlock_t is available" >&5 7544 3835 echo $ECHO_N "checking if pthread_rwlock_t is available... $ECHO_C" >&6 7545 3836 cat >conftest.$ac_ext <<_ACEOF 7546 /* confdefs.h. */ 7547 _ACEOF 7548 cat confdefs.h >>conftest.$ac_ext 7549 cat >>conftest.$ac_ext <<_ACEOF 7550 /* end confdefs.h. */ 3837 #line 3837 "configure" 3838 #include "confdefs.h" 7551 3839 #include <pthread.h> 7552 3840 int … … 7559 3847 _ACEOF 7560 3848 rm -f conftest.$ac_objext 7561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7562 (eval $ac_compile) 2>conftest.er1 7563 ac_status=$? 7564 grep -v '^ *+' conftest.er1 >conftest.err 7565 rm -f conftest.er1 7566 cat conftest.err >&5 7567 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3849 if { (eval echo "$as_me:3849: \"$ac_compile\"") >&5 3850 (eval $ac_compile) 2>&5 3851 ac_status=$? 3852 echo "$as_me:3852: \$? = $ac_status" >&5 7568 3853 (exit $ac_status); } && 7569 { ac_try='test -z "$ac_c_werror_flag" 7570 || test ! -s conftest.err' 7571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3854 { ac_try='test -s conftest.$ac_objext' 3855 { (eval echo "$as_me:3855: \"$ac_try\"") >&5 7572 3856 (eval $ac_try) 2>&5 7573 3857 ac_status=$? 7574 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7575 (exit $ac_status); }; } && 7576 { ac_try='test -s conftest.$ac_objext' 7577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7578 (eval $ac_try) 2>&5 7579 ac_status=$? 7580 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3858 echo "$as_me:3858: \$? = $ac_status" >&5 7581 3859 (exit $ac_status); }; }; then 7582 cat >>confdefs.h <<\ _ACEOF3860 cat >>confdefs.h <<\EOF 7583 3861 #define PJ_EMULATE_RWMUTEX 0 7584 _ACEOF7585 7586 echo "$as_me: $LINENO: result: yes" >&53862 EOF 3863 3864 echo "$as_me:3864: result: yes" >&5 7587 3865 echo "${ECHO_T}yes" >&6 7588 3866 else 7589 3867 echo "$as_me: failed program was:" >&5 7590 sed 's/^/| /' conftest.$ac_ext >&5 7591 7592 cat >>confdefs.h <<\_ACEOF 3868 cat conftest.$ac_ext >&5 3869 cat >>confdefs.h <<\EOF 7593 3870 #define PJ_EMULATE_RWMUTEX 1 7594 _ACEOF7595 7596 echo "$as_me: $LINENO: result: no" >&53871 EOF 3872 3873 echo "$as_me:3873: result: no" >&5 7597 3874 echo "${ECHO_T}no" >&6 7598 3875 fi 7599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7600 7601 7602 ########################################## 7603 # 7604 # PJMEDIA 7605 # 7606 7607 # Sound device backend selection 3876 rm -f conftest.$ac_objext conftest.$ac_ext 7608 3877 7609 3878 case $target in 7610 *cygwin* | *win* | *mingw*) 3879 *darwin*) 3880 ac_pjmedia_snd=pa_darwinos 3881 echo "$as_me:3881: result: Checking sound device backend... coreaudio" >&5 3882 echo "${ECHO_T}Checking sound device backend... coreaudio" >&6 3883 LIBS="$LIBS -framework CoreAudio" 3884 ;; 3885 *cygwin* | *mingw*) 7611 3886 ac_pjmedia_snd=pa_win32 7612 echo "$as_me: $LINENO: result: Checking sound device backend... win32 sound" >&53887 echo "$as_me:3887: result: Checking sound device backend... win32 sound" >&5 7613 3888 echo "${ECHO_T}Checking sound device backend... win32 sound" >&6 7614 3889 ;; 7615 3890 *rtems*) 7616 3891 ac_pjmedia_snd=null 7617 echo "$as_me: $LINENO: result: Checking sound device backend... null sound" >&53892 echo "$as_me:3892: result: Checking sound device backend... null sound" >&5 7618 3893 echo "${ECHO_T}Checking sound device backend... null sound" >&6 7619 ;;7620 *darwin*)7621 ac_pjmedia_snd=pa_darwin_os7622 echo "$as_me:$LINENO: result: Checking sound device backend... coreaudio" >&57623 echo "${ECHO_T}Checking sound device backend... coreaudio" >&67624 3894 ;; 7625 3895 *) 7626 3896 ac_pjmedia_snd=pa_unix 7627 if test "${ac_cv_header_alsa_version_h+set}" = set; then 7628 echo "$as_me:$LINENO: checking for alsa/version.h" >&5 3897 echo "$as_me:3897: checking for alsa/version.h" >&5 7629 3898 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6 7630 3899 if test "${ac_cv_header_alsa_version_h+set}" = set; then 7631 3900 echo $ECHO_N "(cached) $ECHO_C" >&6 7632 fi 7633 echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 7634 echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6 7635 else 7636 # Is the header compilable? 7637 echo "$as_me:$LINENO: checking alsa/version.h usability" >&5 7638 echo $ECHO_N "checking alsa/version.h usability... $ECHO_C" >&6 7639 cat >conftest.$ac_ext <<_ACEOF 7640 /* confdefs.h. */ 7641 _ACEOF 7642 cat confdefs.h >>conftest.$ac_ext 7643 cat >>conftest.$ac_ext <<_ACEOF 7644 /* end confdefs.h. */ 7645 $ac_includes_default 3901 else 3902 cat >conftest.$ac_ext <<_ACEOF 3903 #line 3903 "configure" 3904 #include "confdefs.h" 7646 3905 #include <alsa/version.h> 7647 3906 _ACEOF 7648 rm -f conftest.$ac_objext 7649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7650 (eval $ac_compile) 2>conftest.er1 7651 ac_status=$? 7652 grep -v '^ *+' conftest.er1 >conftest.err 3907 if { (eval echo "$as_me:3907: \"$ac_cpp conftest.$ac_ext\"") >&5 3908 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3909 ac_status=$? 3910 egrep -v '^ *\+' conftest.er1 >conftest.err 7653 3911 rm -f conftest.er1 7654 3912 cat conftest.err >&5 7655 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7656 (exit $ac_status); } && 7657 { ac_try='test -z "$ac_c_werror_flag" 7658 || test ! -s conftest.err' 7659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7660 (eval $ac_try) 2>&5 7661 ac_status=$? 7662 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7663 (exit $ac_status); }; } && 7664 { ac_try='test -s conftest.$ac_objext' 7665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7666 (eval $ac_try) 2>&5 7667 ac_status=$? 7668 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7669 (exit $ac_status); }; }; then 7670 ac_header_compiler=yes 7671 else 7672 echo "$as_me: failed program was:" >&5 7673 sed 's/^/| /' conftest.$ac_ext >&5 7674 7675 ac_header_compiler=no 7676 fi 7677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7678 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7679 echo "${ECHO_T}$ac_header_compiler" >&6 7680 7681 # Is the header present? 7682 echo "$as_me:$LINENO: checking alsa/version.h presence" >&5 7683 echo $ECHO_N "checking alsa/version.h presence... $ECHO_C" >&6 7684 cat >conftest.$ac_ext <<_ACEOF 7685 /* confdefs.h. */ 7686 _ACEOF 7687 cat confdefs.h >>conftest.$ac_ext 7688 cat >>conftest.$ac_ext <<_ACEOF 7689 /* end confdefs.h. */ 7690 #include <alsa/version.h> 7691 _ACEOF 7692 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7693 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7694 ac_status=$? 7695 grep -v '^ *+' conftest.er1 >conftest.err 7696 rm -f conftest.er1 7697 cat conftest.err >&5 7698 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3913 echo "$as_me:3913: \$? = $ac_status" >&5 7699 3914 (exit $ac_status); } >/dev/null; then 7700 3915 if test -s conftest.err; then 7701 3916 ac_cpp_err=$ac_c_preproc_warn_flag 7702 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag7703 3917 else 7704 3918 ac_cpp_err= … … 7708 3922 fi 7709 3923 if test -z "$ac_cpp_err"; then 7710 ac_ header_preproc=yes3924 ac_cv_header_alsa_version_h=yes 7711 3925 else 7712 3926 echo "$as_me: failed program was:" >&5 7713 sed 's/^/| /' conftest.$ac_ext >&5 7714 7715 ac_header_preproc=no 3927 cat conftest.$ac_ext >&5 3928 ac_cv_header_alsa_version_h=no 7716 3929 fi 7717 3930 rm -f conftest.err conftest.$ac_ext 7718 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7719 echo "${ECHO_T}$ac_header_preproc" >&6 7720 7721 # So? What about this header? 7722 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7723 yes:no: ) 7724 { echo "$as_me:$LINENO: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&5 7725 echo "$as_me: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7726 { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the compiler's result" >&5 7727 echo "$as_me: WARNING: alsa/version.h: proceeding with the compiler's result" >&2;} 7728 ac_header_preproc=yes 7729 ;; 7730 no:yes:* ) 7731 { echo "$as_me:$LINENO: WARNING: alsa/version.h: present but cannot be compiled" >&5 7732 echo "$as_me: WARNING: alsa/version.h: present but cannot be compiled" >&2;} 7733 { echo "$as_me:$LINENO: WARNING: alsa/version.h: check for missing prerequisite headers?" >&5 7734 echo "$as_me: WARNING: alsa/version.h: check for missing prerequisite headers?" >&2;} 7735 { echo "$as_me:$LINENO: WARNING: alsa/version.h: see the Autoconf documentation" >&5 7736 echo "$as_me: WARNING: alsa/version.h: see the Autoconf documentation" >&2;} 7737 { echo "$as_me:$LINENO: WARNING: alsa/version.h: section \"Present But Cannot Be Compiled\"" >&5 7738 echo "$as_me: WARNING: alsa/version.h: section \"Present But Cannot Be Compiled\"" >&2;} 7739 { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&5 7740 echo "$as_me: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&2;} 7741 { echo "$as_me:$LINENO: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&5 7742 echo "$as_me: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&2;} 7743 ( 7744 cat <<\_ASBOX 7745 ## ------------------------------------ ## 7746 ## Report this to the pjproject lists. ## 7747 ## ------------------------------------ ## 7748 _ASBOX 7749 ) | 7750 sed "s/^/$as_me: WARNING: /" >&2 7751 ;; 7752 esac 7753 echo "$as_me:$LINENO: checking for alsa/version.h" >&5 7754 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6 7755 if test "${ac_cv_header_alsa_version_h+set}" = set; then 7756 echo $ECHO_N "(cached) $ECHO_C" >&6 7757 else 7758 ac_cv_header_alsa_version_h=$ac_header_preproc 7759 fi 7760 echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 3931 fi 3932 echo "$as_me:3932: result: $ac_cv_header_alsa_version_h" >&5 7761 3933 echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6 7762 7763 fi7764 3934 if test $ac_cv_header_alsa_version_h = yes; then 7765 3935 ac_pa_use_alsa=1 … … 7772 3942 fi 7773 3943 7774 7775 echo "$as_me:$LINENO: result: Checking sound device backend... unix" >&5 3944 echo "$as_me:3944: result: Checking sound device backend... unix" >&5 7776 3945 echo "${ECHO_T}Checking sound device backend... unix" >&6 7777 3946 ;; 7778 3947 esac 7779 7780 # Include resampling small filter7781 3948 7782 3949 # Check whether --enable-small-filter or --disable-small-filter was given. … … 7785 3952 if test "$enable_small_filter" = "no"; then 7786 3953 ac_no_small_filter='-DPJMEDIA_HAS_SMALL_FILTER=0' 7787 echo "$as_me: $LINENO: result: Checking if small filter is disabled... yes" >&53954 echo "$as_me:3954: result: Checking if small filter is disabled... yes" >&5 7788 3955 echo "${ECHO_T}Checking if small filter is disabled... yes" >&6 7789 3956 fi 7790 3957 else 7791 echo "$as_me: $LINENO: result: Checking if small filter is disabled... no" >&53958 echo "$as_me:3958: result: Checking if small filter is disabled... no" >&5 7792 3959 echo "${ECHO_T}Checking if small filter is disabled... no" >&6 7793 3960 fi; 7794 7795 # Include resampling large filter7796 3961 7797 3962 # Check whether --enable-large-filter or --disable-large-filter was given. … … 7800 3965 if test "$enable_large_filter" = "no"; then 7801 3966 ac_no_large_filter='-DPJMEDIA_HAS_LARGE_FILTER=0' 7802 echo "$as_me: $LINENO: result: Checking if large filter is disabled... yes" >&53967 echo "$as_me:3967: result: Checking if large filter is disabled... yes" >&5 7803 3968 echo "${ECHO_T}Checking if large filter is disabled... yes" >&6 7804 3969 fi 7805 3970 else 7806 echo "$as_me: $LINENO: result: Checking if large filter is disabled... no" >&53971 echo "$as_me:3971: result: Checking if large filter is disabled... no" >&5 7807 3972 echo "${ECHO_T}Checking if large filter is disabled... no" >&6 7808 3973 fi; 7809 7810 # Include G.711 Annex A PLC7811 3974 7812 3975 # Check whether --enable-g711-plc or --disable-g711-plc was given. … … 7815 3978 if test "$enable_g711_plc" = "no"; then 7816 3979 ac_no_g711_plc='-DPJMEDIA_HAS_G711_PLC=0' 7817 echo "$as_me: $LINENO: result: Checking if G.711 Annex A PLC is disabled...yes" >&53980 echo "$as_me:3980: result: Checking if G.711 Annex A PLC is disabled...yes" >&5 7818 3981 echo "${ECHO_T}Checking if G.711 Annex A PLC is disabled...yes" >&6 7819 3982 fi 7820 3983 else 7821 echo "$as_me: $LINENO: result: Checking if G.711 Annex A PLC is disabled...no" >&53984 echo "$as_me:3984: result: Checking if G.711 Annex A PLC is disabled...no" >&5 7822 3985 echo "${ECHO_T}Checking if G.711 Annex A PLC is disabled...no" >&6 7823 3986 fi; 7824 7825 # Include Speex AEC7826 3987 7827 3988 # Check whether --enable-speex-aec or --disable-speex-aec was given. … … 7830 3991 if test "$enable_speex_aec" = "no"; then 7831 3992 ac_no_speex_aec='-DPJMEDIA_HAS_SPEEX_AEC=0' 7832 echo "$as_me: $LINENO: result: Checking if Speex AEC is disabled...yes" >&53993 echo "$as_me:3993: result: Checking if Speex AEC is disabled...yes" >&5 7833 3994 echo "${ECHO_T}Checking if Speex AEC is disabled...yes" >&6 7834 3995 fi 7835 3996 else 7836 echo "$as_me: $LINENO: result: Checking if Speex AEC is disabled...no" >&53997 echo "$as_me:3997: result: Checking if Speex AEC is disabled...no" >&5 7837 3998 echo "${ECHO_T}Checking if Speex AEC is disabled...no" >&6 7838 3999 fi; 7839 7840 # Include G711 codec7841 4000 7842 4001 # Check whether --enable-g711-codec or --disable-g711-codec was given. … … 7845 4004 if test "$enable_g711_codec" = "no"; then 7846 4005 ac_no_g711_codec=1 7847 echo "$as_me: $LINENO: result: Checking if G.711 codec is disabled...yes" >&54006 echo "$as_me:4006: result: Checking if G.711 codec is disabled...yes" >&5 7848 4007 echo "${ECHO_T}Checking if G.711 codec is disabled...yes" >&6 7849 4008 fi 7850 4009 else 7851 echo "$as_me: $LINENO: result: Checking if G.711 codec is disabled...no" >&54010 echo "$as_me:4010: result: Checking if G.711 codec is disabled...no" >&5 7852 4011 echo "${ECHO_T}Checking if G.711 codec is disabled...no" >&6 7853 4012 fi; 7854 7855 7856 # Include L16 codec7857 4013 7858 4014 # Check whether --enable-l16-codec or --disable-l16-codec was given. … … 7861 4017 if test "$enable_l16_codec" = "no"; then 7862 4018 ac_no_l16_codec=1 7863 echo "$as_me: $LINENO: result: Checking if L16 codecs are disabled...yes" >&54019 echo "$as_me:4019: result: Checking if L16 codecs are disabled...yes" >&5 7864 4020 echo "${ECHO_T}Checking if L16 codecs are disabled...yes" >&6 7865 4021 fi 7866 4022 else 7867 echo "$as_me: $LINENO: result: Checking if G.711 codec is disabled...no" >&54023 echo "$as_me:4023: result: Checking if G.711 codec is disabled...no" >&5 7868 4024 echo "${ECHO_T}Checking if G.711 codec is disabled...no" >&6 7869 4025 fi; 7870 7871 7872 # Include GSM codec7873 4026 7874 4027 # Check whether --enable-gsm-codec or --disable-gsm-codec was given. … … 7877 4030 if test "$enable_gsm_codec" = "no"; then 7878 4031 ac_no_gsm_codec=1 7879 echo "$as_me: $LINENO: result: Checking if GSM codec is disabled...yes" >&54032 echo "$as_me:4032: result: Checking if GSM codec is disabled...yes" >&5 7880 4033 echo "${ECHO_T}Checking if GSM codec is disabled...yes" >&6 7881 4034 fi 7882 4035 else 7883 echo "$as_me: $LINENO: result: Checking if GSM codec is disabled...no" >&54036 echo "$as_me:4036: result: Checking if GSM codec is disabled...no" >&5 7884 4037 echo "${ECHO_T}Checking if GSM codec is disabled...no" >&6 7885 4038 fi; 7886 7887 # Include Speex codec7888 4039 7889 4040 # Check whether --enable-speex-codec or --disable-speex-codec was given. … … 7892 4043 if test "$enable_speex_codec" = "no"; then 7893 4044 ac_no_speex_codec=1 7894 echo "$as_me: $LINENO: result: Checking if Speex codec is disabled...yes" >&54045 echo "$as_me:4045: result: Checking if Speex codec is disabled...yes" >&5 7895 4046 echo "${ECHO_T}Checking if Speex codec is disabled...yes" >&6 7896 4047 fi 7897 4048 else 7898 echo "$as_me: $LINENO: result: Checking if Speex codec is disabled...no" >&54049 echo "$as_me:4049: result: Checking if Speex codec is disabled...no" >&5 7899 4050 echo "${ECHO_T}Checking if Speex codec is disabled...no" >&6 7900 4051 fi; 7901 7902 # Include iLBC codec7903 4052 7904 4053 # Check whether --enable-ilbc-codec or --disable-ilbc-codec was given. … … 7907 4056 if test "$enable_ilbc_codec" = "no"; then 7908 4057 ac_no_ilbc_codec=1 7909 echo "$as_me: $LINENO: result: Checking if iLBC codec is disabled...yes" >&54058 echo "$as_me:4058: result: Checking if iLBC codec is disabled...yes" >&5 7910 4059 echo "${ECHO_T}Checking if iLBC codec is disabled...yes" >&6 7911 4060 fi 7912 4061 else 7913 echo "$as_me: $LINENO: result: Checking if iLBC codec is disabled...no" >&54062 echo "$as_me:4062: result: Checking if iLBC codec is disabled...no" >&5 7914 4063 echo "${ECHO_T}Checking if iLBC codec is disabled...no" >&6 7915 4064 fi; 7916 4065 7917 7918 7919 ########################################## 7920 # 7921 # MANUAL CONFIG 7922 # 7923 7924 7925 # Determine if select() requires nfds to be filled up with 7926 # correct value (max_fd+1). If zero, nfds will be filled up with 7927 # PJ_FD_SETSIZE 7928 echo "$as_me:$LINENO: checking if select() needs correct nfds" >&5 4066 echo "$as_me:4066: checking if select() needs correct nfds" >&5 7929 4067 echo $ECHO_N "checking if select() needs correct nfds... $ECHO_C" >&6 7930 4068 case $target in 7931 *rtems*) cat >>confdefs.h <<\ _ACEOF4069 *rtems*) cat >>confdefs.h <<\EOF 7932 4070 #define PJ_SELECT_NEEDS_NFDS 1 7933 _ACEOF7934 7935 echo "$as_me: $LINENO: result: yes" >&54071 EOF 4072 4073 echo "$as_me:4073: result: yes" >&5 7936 4074 echo "${ECHO_T}yes" >&6 7937 4075 ;; 7938 *) cat >>confdefs.h <<\ _ACEOF4076 *) cat >>confdefs.h <<\EOF 7939 4077 #define PJ_SELECT_NEEDS_NFDS 0 7940 _ACEOF7941 7942 echo "$as_me: $LINENO: result: no (default)" >&54078 EOF 4079 4080 echo "$as_me:4080: result: no (default)" >&5 7943 4081 echo "${ECHO_T}no (default)" >&6 7944 echo "$as_me: $LINENO: result: ** Decided that select() doesn't need correct nfds (please check)" >&54082 echo "$as_me:4082: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 7945 4083 echo "${ECHO_T}** Decided that select() doesn't need correct nfds (please check)" >&6 7946 4084 ;; 7947 4085 esac 7948 4086 7949 # Determine if pj_thread_create() should enforce thread stack size when 7950 # creating thread. Default is zero, to allow OS to allocate appropriate 7951 # thread's stack size. 7952 echo "$as_me:$LINENO: checking if pj_thread_create() should enforce stack size" >&5 4087 echo "$as_me:4087: checking if pj_thread_create() should enforce stack size" >&5 7953 4088 echo $ECHO_N "checking if pj_thread_create() should enforce stack size... $ECHO_C" >&6 7954 4089 case $target in 7955 *rtems*) cat >>confdefs.h <<\ _ACEOF4090 *rtems*) cat >>confdefs.h <<\EOF 7956 4091 #define PJ_THREAD_SET_STACK_SIZE 1 7957 _ACEOF7958 7959 echo "$as_me: $LINENO: result: yes" >&54092 EOF 4093 4094 echo "$as_me:4094: result: yes" >&5 7960 4095 echo "${ECHO_T}yes" >&6 7961 4096 ;; 7962 *) cat >>confdefs.h <<\ _ACEOF4097 *) cat >>confdefs.h <<\EOF 7963 4098 #define PJ_THREAD_SET_STACK_SIZE 0 7964 _ACEOF7965 7966 echo "$as_me: $LINENO: result: no (default)" >&54099 EOF 4100 4101 echo "$as_me:4101: result: no (default)" >&5 7967 4102 echo "${ECHO_T}no (default)" >&6 7968 4103 ;; 7969 4104 esac 7970 4105 7971 # Determine if pj_thread_create() should allocate thread's stack from 7972 # the pool. Default is zero, to let OS allocate thread's stack. 7973 echo "$as_me:$LINENO: checking if pj_thread_create() should allocate stack" >&5 4106 echo "$as_me:4106: checking if pj_thread_create() should allocate stack" >&5 7974 4107 echo $ECHO_N "checking if pj_thread_create() should allocate stack... $ECHO_C" >&6 7975 4108 case $target in 7976 *rtems*) cat >>confdefs.h <<\ _ACEOF4109 *rtems*) cat >>confdefs.h <<\EOF 7977 4110 #define PJ_THREAD_ALLOCATE_STACK 1 7978 _ACEOF7979 7980 echo "$as_me: $LINENO: result: yes" >&54111 EOF 4112 4113 echo "$as_me:4113: result: yes" >&5 7981 4114 echo "${ECHO_T}yes" >&6 7982 4115 ;; 7983 *) cat >>confdefs.h <<\ _ACEOF4116 *) cat >>confdefs.h <<\EOF 7984 4117 #define PJ_THREAD_ALLOCATE_STACK 0 7985 _ACEOF7986 7987 echo "$as_me: $LINENO: result: no (default)" >&54118 EOF 4119 4120 echo "$as_me:4120: result: no (default)" >&5 7988 4121 echo "${ECHO_T}no (default)" >&6 7989 4122 ;; 7990 4123 esac 7991 4124 7992 # This value specifies the value set in errno by the OS when a non-blocking7993 # socket recv() can not return immediate data.7994 4125 case $target in 7995 *) cat >>confdefs.h <<\ _ACEOF4126 *) cat >>confdefs.h <<\EOF 7996 4127 #define PJ_BLOCKING_ERROR_VAL EAGAIN 7997 _ACEOF7998 7999 echo "$as_me: $LINENO: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&54128 EOF 4129 4130 echo "$as_me:4130: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 8000 4131 echo "${ECHO_T}** Setting non-blocking recv() retval to EAGAIN (please check)" >&6 8001 4132 ;; 8002 4133 esac 8003 4134 8004 # This value specifies the value set in errno by the OS when a non-blocking8005 # socket connect() can not get connected immediately.8006 4135 case $target in 8007 *) cat >>confdefs.h <<\ _ACEOF4136 *) cat >>confdefs.h <<\EOF 8008 4137 #define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS 8009 _ACEOF8010 8011 echo "$as_me: $LINENO: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&54138 EOF 4139 4140 echo "$as_me:4140: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 8012 4141 echo "${ECHO_T}** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6 8013 4142 ;; 8014 4143 esac 8015 4144 8016 8017 8018 8019 4145 if test "$build" = "$host"; then 8020 4146 ac_cross_compile= … … 8025 4151 8026 4152 ac_host=unix 8027 8028 4153 8029 4154 case $target in … … 8046 4171 # the --recheck option to rerun configure. 8047 4172 # 8048 # `ac_cv_env_foo' variables (set or unset) will be overrid den when4173 # `ac_cv_env_foo' variables (set or unset) will be overriden when 8049 4174 # loading this file, other *unset* `ac_cv_foo' will be assigned the 8050 4175 # following values. … … 8064 4189 # substitution turns \\\\ into \\, and sed turns \\ into \). 8065 4190 sed -n \ 8066 8067 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"4191 "s/'/'\\\\''/g; 4192 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 8068 4193 ;; 8069 4194 *) 8070 4195 # `set' quotes correctly as required by POSIX, so do not add quotes. 8071 4196 sed -n \ 8072 4197 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 8073 4198 ;; 8074 4199 esac; … … 8081 4206 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 8082 4207 : end' >>confcache 8083 if diff $cache_file confcache >/dev/null 2>&1; then :; else4208 if cmp -s $cache_file confcache; then :; else 8084 4209 if test -w $cache_file; then 8085 4210 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" … … 8100 4225 # (actually we leave an empty line to preserve line numbers). 8101 4226 if test "x$srcdir" = x.; then 8102 ac_vpsub='/^[ ]*VPATH[]*=/{4227 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 8103 4228 s/:*\$(srcdir):*/:/; 8104 4229 s/:*\${srcdir}:*/:/; 8105 4230 s/:*@srcdir@:*/:/; 8106 s/^\([^=]*=[ 4231 s/^\([^=]*=[ ]*\):*/\1/; 8107 4232 s/:*$//; 8108 s/^[^=]*=[ 4233 s/^[^=]*=[ ]*$//; 8109 4234 }' 8110 4235 fi 8111 4236 8112 4237 DEFS=-DHAVE_CONFIG_H 8113 8114 ac_libobjs=8115 ac_ltlibobjs=8116 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue8117 # 1. Remove the extension, and $U if already installed.8118 ac_i=`echo "$ac_i" |8119 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`8120 # 2. Add them.8121 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"8122 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'8123 done8124 LIBOBJS=$ac_libobjs8125 8126 LTLIBOBJS=$ac_ltlibobjs8127 8128 8129 4238 8130 4239 : ${CONFIG_STATUS=./config.status} 8131 4240 ac_clean_files_save=$ac_clean_files 8132 4241 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 8133 { echo "$as_me: $LINENO: creating $CONFIG_STATUS" >&54242 { echo "$as_me:4242: creating $CONFIG_STATUS" >&5 8134 4243 echo "$as_me: creating $CONFIG_STATUS" >&6;} 8135 4244 cat >$CONFIG_STATUS <<_ACEOF 8136 4245 #! $SHELL 8137 # Generated by $as_me.4246 # Generated automatically by configure. 8138 4247 # Run this file to recreate the current configuration. 8139 4248 # Compiler output produced by configure, useful for debugging … … 8141 4250 8142 4251 debug=false 8143 ac_cs_recheck=false8144 ac_cs_silent=false8145 4252 SHELL=\${CONFIG_SHELL-$SHELL} 4253 ac_cs_invocation="\$0 \$@" 4254 8146 4255 _ACEOF 8147 4256 8148 4257 cat >>$CONFIG_STATUS <<\_ACEOF 8149 ## --------------------- ##8150 ## M4sh Initialization. ##8151 ## --------------------- ##8152 8153 4258 # Be Bourne compatible 8154 4259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 8155 4260 emulate sh 8156 4261 NULLCMD=: 8157 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which8158 # is contrary to our usage. Disable this feature.8159 alias -g '${1+"$@"}'='"$@"'8160 4262 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 8161 4263 set -o posix 8162 4264 fi 8163 DUALCASE=1; export DUALCASE # for MKS sh8164 8165 # Support unset when possible.8166 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then8167 as_unset=unset8168 else8169 as_unset=false8170 fi8171 8172 8173 # Work around bugs in pre-3.0 UWIN ksh.8174 $as_unset ENV MAIL MAILPATH8175 PS1='$ '8176 PS2='> '8177 PS4='+ '8178 8179 # NLS nuisances.8180 for as_var in \8181 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \8182 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \8183 LC_TELEPHONE LC_TIME8184 do8185 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then8186 eval $as_var=C; export $as_var8187 else8188 $as_unset $as_var8189 fi8190 done8191 8192 # Required to use basename.8193 if expr a : '\(a\)' >/dev/null 2>&1; then8194 as_expr=expr8195 else8196 as_expr=false8197 fi8198 8199 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then8200 as_basename=basename8201 else8202 as_basename=false8203 fi8204 8205 4265 8206 4266 # Name of the executable. 8207 as_me=`$as_basename "$0" || 8208 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 8209 X"$0" : 'X\(//\)$' \| \ 8210 X"$0" : 'X\(/\)$' \| \ 8211 . : '\(.\)' 2>/dev/null || 8212 echo X/"$0" | 8213 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 8214 /^X\/\(\/\/\)$/{ s//\1/; q; } 8215 /^X\/\(\/\).*/{ s//\1/; q; } 8216 s/.*/./; q'` 8217 8218 8219 # PATH needs CR, and LINENO needs CR and PATH. 8220 # Avoid depending upon Character Ranges. 8221 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 8222 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 8223 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 8224 as_cr_digits='0123456789' 8225 as_cr_alnum=$as_cr_Letters$as_cr_digits 8226 8227 # The user is always right. 8228 if test "${PATH_SEPARATOR+set}" != set; then 8229 echo "#! /bin/sh" >conf$$.sh 8230 echo "exit 0" >>conf$$.sh 8231 chmod +x conf$$.sh 8232 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 8233 PATH_SEPARATOR=';' 8234 else 8235 PATH_SEPARATOR=: 8236 fi 8237 rm -f conf$$.sh 8238 fi 8239 8240 8241 as_lineno_1=$LINENO 8242 as_lineno_2=$LINENO 8243 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 8244 test "x$as_lineno_1" != "x$as_lineno_2" && 8245 test "x$as_lineno_3" = "x$as_lineno_2" || { 8246 # Find who we are. Look in the path if we contain no path at all 8247 # relative or not. 8248 case $0 in 8249 *[\\/]* ) as_myself=$0 ;; 8250 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8251 for as_dir in $PATH 8252 do 8253 IFS=$as_save_IFS 8254 test -z "$as_dir" && as_dir=. 8255 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 8256 done 8257 8258 ;; 8259 esac 8260 # We did not find ourselves, most probably we were run as `sh COMMAND' 8261 # in which case we are not to be found in the path. 8262 if test "x$as_myself" = x; then 8263 as_myself=$0 8264 fi 8265 if test ! -f "$as_myself"; then 8266 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 8267 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 8268 { (exit 1); exit 1; }; } 8269 fi 8270 case $CONFIG_SHELL in 8271 '') 8272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8273 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 8274 do 8275 IFS=$as_save_IFS 8276 test -z "$as_dir" && as_dir=. 8277 for as_base in sh bash ksh sh5; do 8278 case $as_dir in 8279 /*) 8280 if ("$as_dir/$as_base" -c ' 8281 as_lineno_1=$LINENO 8282 as_lineno_2=$LINENO 8283 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 8284 test "x$as_lineno_1" != "x$as_lineno_2" && 8285 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 8286 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 8287 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 8288 CONFIG_SHELL=$as_dir/$as_base 8289 export CONFIG_SHELL 8290 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 8291 fi;; 8292 esac 8293 done 8294 done 8295 ;; 8296 esac 8297 8298 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 8299 # uniformly replaced by the line number. The first 'sed' inserts a 8300 # line-number line before each line; the second 'sed' does the real 8301 # work. The second script uses 'N' to pair each line-number line 8302 # with the numbered line, and appends trailing '-' during 8303 # substitution so that $LINENO is not a special case at line end. 8304 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 8305 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 8306 sed '=' <$as_myself | 8307 sed ' 8308 N 8309 s,$,-, 8310 : loop 8311 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 8312 t loop 8313 s,-$,, 8314 s,^['$as_cr_digits']*\n,, 8315 ' >$as_me.lineno && 8316 chmod +x $as_me.lineno || 8317 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 8318 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 8319 { (exit 1); exit 1; }; } 8320 8321 # Don't try to exec as it changes $[0], causing all sort of problems 8322 # (the dirname of $[0] is not the place where we might find the 8323 # original and so on. Autoconf is especially sensible to this). 8324 . ./$as_me.lineno 8325 # Exit status is that of the last command. 8326 exit 8327 } 8328 8329 8330 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 8331 *c*,-n*) ECHO_N= ECHO_C=' 8332 ' ECHO_T=' ' ;; 8333 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 8334 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 8335 esac 4267 as_me=`echo "$0" |sed 's,.*[\\/],,'` 8336 4268 8337 4269 if expr a : '\(a\)' >/dev/null 2>&1; then … … 8359 4291 rm -f conf$$ conf$$.exe conf$$.file 8360 4292 8361 if mkdir -p . 2>/dev/null; then8362 as_mkdir_p=:8363 else8364 test -d ./-p && rmdir ./-p8365 as_mkdir_p=false8366 fi8367 8368 4293 as_executable_p="test -f" 8369 4294 8370 # Sed expression to map a string onto a valid CPP name. 8371 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 8372 8373 # Sed expression to map a string onto a valid variable name. 8374 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 8375 4295 # Support unset when possible. 4296 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 4297 as_unset=unset 4298 else 4299 as_unset=false 4300 fi 4301 4302 # NLS nuisances. 4303 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } 4304 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } 4305 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } 4306 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } 4307 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } 4308 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } 4309 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } 4310 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } 8376 4311 8377 4312 # IFS … … 8382 4317 8383 4318 # CDPATH. 8384 $as_unset CDPATH 4319 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 8385 4320 8386 4321 exec 6>&1 8387 4322 8388 # Open the log real soon, to keep \$[0] and so on meaningful, and to8389 # report actual input values of CONFIG_FILES etc. instead of their8390 # values after options handling. Logging --version etc. is OK.8391 exec 5>>config.log8392 {8393 echo8394 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX8395 ## Running $as_me. ##8396 _ASBOX8397 } >&58398 cat >&5 <<_CSEOF8399 8400 This file was extended by pjproject $as_me 0.5.8, which was8401 generated by GNU Autoconf 2.59. Invocation command line was8402 8403 CONFIG_FILES = $CONFIG_FILES8404 CONFIG_HEADERS = $CONFIG_HEADERS8405 CONFIG_LINKS = $CONFIG_LINKS8406 CONFIG_COMMANDS = $CONFIG_COMMANDS8407 $ $0 $@8408 8409 _CSEOF8410 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&58411 echo >&58412 4323 _ACEOF 8413 4324 … … 8429 4340 fi 8430 4341 8431 cat >>$CONFIG_STATUS <<\ _ACEOF4342 cat >>$CONFIG_STATUS <<\EOF 8432 4343 8433 4344 ac_cs_usage="\ … … 8439 4350 -h, --help print this help, then exit 8440 4351 -V, --version print version number, then exit 8441 -q, --quiet do not print progress messages8442 4352 -d, --debug don't remove temporary files 8443 4353 --recheck update $as_me by reconfiguring in the same conditions 8444 4354 --file=FILE[:TEMPLATE] 8445 4355 instantiate the configuration file FILE 8446 4356 --header=FILE[:TEMPLATE] 8447 4357 instantiate the configuration header FILE 8448 4358 8449 4359 Configuration files: … … 8454 4364 8455 4365 Report bugs to <bug-autoconf@gnu.org>." 8456 _ACEOF8457 8458 cat >>$CONFIG_STATUS << _ACEOF4366 EOF 4367 4368 cat >>$CONFIG_STATUS <<EOF 8459 4369 ac_cs_version="\\ 8460 4370 pjproject config.status 0.5.8 8461 configured by $0, generated by GNU Autoconf 2.5 9,4371 configured by $0, generated by GNU Autoconf 2.52, 8462 4372 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 8463 4373 8464 Copyright (C) 2003 Free Software Foundation, Inc. 4374 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 4375 Free Software Foundation, Inc. 8465 4376 This config.status script is free software; the Free Software Foundation 8466 4377 gives unlimited permission to copy, distribute and modify it." 8467 4378 srcdir=$srcdir 8468 _ACEOF8469 8470 cat >>$CONFIG_STATUS <<\ _ACEOF4379 EOF 4380 4381 cat >>$CONFIG_STATUS <<\EOF 8471 4382 # If no file are specified by the user, then we need to provide default 8472 4383 # value. By we need to know if files were specified by the user. … … 8478 4389 ac_option=`expr "x$1" : 'x\([^=]*\)='` 8479 4390 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 8480 ac_shift=: 4391 shift 4392 set dummy "$ac_option" "$ac_optarg" ${1+"$@"} 4393 shift 8481 4394 ;; 8482 -*) 8483 ac_option=$1 8484 ac_optarg=$2 8485 ac_shift=shift 8486 ;; 4395 -*);; 8487 4396 *) # This is not an option, so the user has probably given explicit 8488 4397 # arguments. 8489 ac_option=$18490 4398 ac_need_defaults=false;; 8491 4399 esac 8492 4400 8493 case $ ac_optionin4401 case $1 in 8494 4402 # Handling of the options. 8495 _ACEOF8496 cat >>$CONFIG_STATUS << \_ACEOF4403 EOF 4404 cat >>$CONFIG_STATUS <<EOF 8497 4405 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 8498 ac_cs_recheck=: ;; 4406 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" 4407 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; 4408 EOF 4409 cat >>$CONFIG_STATUS <<\EOF 8499 4410 --version | --vers* | -V ) 8500 4411 echo "$ac_cs_version"; exit 0 ;; 8501 4412 --he | --h) 8502 4413 # Conflict between --help and --header 8503 { { echo "$as_me: $LINENO: error: ambiguous option: $14414 { { echo "$as_me:4414: error: ambiguous option: $1 8504 4415 Try \`$0 --help' for more information." >&5 8505 4416 echo "$as_me: error: ambiguous option: $1 … … 8511 4422 debug=: ;; 8512 4423 --file | --fil | --fi | --f ) 8513 $ac_shift8514 CONFIG_FILES="$CONFIG_FILES $ ac_optarg"4424 shift 4425 CONFIG_FILES="$CONFIG_FILES $1" 8515 4426 ac_need_defaults=false;; 8516 4427 --header | --heade | --head | --hea ) 8517 $ac_shift8518 CONFIG_HEADERS="$CONFIG_HEADERS $ ac_optarg"4428 shift 4429 CONFIG_HEADERS="$CONFIG_HEADERS $1" 8519 4430 ac_need_defaults=false;; 8520 -q | -quiet | --quiet | --quie | --qui | --qu | --q \8521 | -silent | --silent | --silen | --sile | --sil | --si | --s)8522 ac_cs_silent=: ;;8523 4431 8524 4432 # This is an error. 8525 -*) { { echo "$as_me: $LINENO: error: unrecognized option: $14433 -*) { { echo "$as_me:4433: error: unrecognized option: $1 8526 4434 Try \`$0 --help' for more information." >&5 8527 4435 echo "$as_me: error: unrecognized option: $1 … … 8535 4443 done 8536 4444 8537 ac_configure_extra_args= 8538 8539 if $ac_cs_silent; then 8540 exec 6>/dev/null 8541 ac_configure_extra_args="$ac_configure_extra_args --silent" 8542 fi 8543 8544 _ACEOF 8545 cat >>$CONFIG_STATUS <<_ACEOF 8546 if \$ac_cs_recheck; then 8547 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 8548 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8549 fi 8550 8551 _ACEOF 8552 8553 8554 8555 8556 8557 cat >>$CONFIG_STATUS <<\_ACEOF 4445 exec 5>>config.log 4446 cat >&5 << _ACEOF 4447 4448 ## ----------------------- ## 4449 ## Running config.status. ## 4450 ## ----------------------- ## 4451 4452 This file was extended by $as_me (pjproject 0.5.8) 2.52, executed with 4453 CONFIG_FILES = $CONFIG_FILES 4454 CONFIG_HEADERS = $CONFIG_HEADERS 4455 CONFIG_LINKS = $CONFIG_LINKS 4456 CONFIG_COMMANDS = $CONFIG_COMMANDS 4457 > $ac_cs_invocation 4458 on `(hostname || uname -n) 2>/dev/null | sed 1q` 4459 4460 _ACEOF 4461 EOF 4462 4463 cat >>$CONFIG_STATUS <<\EOF 8558 4464 for ac_config_target in $ac_config_targets 8559 4465 do … … 8568 4474 "pjlib/include/pj/compat/os_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 8569 4475 "pjlib/include/pj/compat/m_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 8570 *) { { echo "$as_me: $LINENO: error: invalid argument: $ac_config_target" >&54476 *) { { echo "$as_me:4476: error: invalid argument: $ac_config_target" >&5 8571 4477 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 8572 4478 { (exit 1); exit 1; }; };; … … 8583 4489 fi 8584 4490 8585 # Have a temporary directory for convenience. Make it in the build tree8586 # simply because there is no reason to put it here, and in addition,8587 # creating and moving files from /tmp can sometimes cause problems.8588 4491 # Create a temporary directory, and hook for its removal unless debugging. 8589 4492 $debug || … … 8594 4497 8595 4498 # Create a (secure) tmp directory for tmp files. 8596 4499 : ${TMPDIR=/tmp} 8597 4500 { 8598 tmp=`(umask 077 && mktemp -d -q " ./confstatXXXXXX") 2>/dev/null` &&4501 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && 8599 4502 test -n "$tmp" && test -d "$tmp" 8600 4503 } || 8601 4504 { 8602 tmp= ./confstat$$-$RANDOM4505 tmp=$TMPDIR/cs$$-$RANDOM 8603 4506 (umask 077 && mkdir $tmp) 8604 4507 } || 8605 4508 { 8606 echo "$me: cannot create a temporary directory in ." >&24509 echo "$me: cannot create a temporary directory in $TMPDIR" >&2 8607 4510 { (exit 1); exit 1; } 8608 4511 } 8609 4512 8610 _ACEOF8611 8612 cat >>$CONFIG_STATUS << _ACEOF4513 EOF 4514 4515 cat >>$CONFIG_STATUS <<EOF 8613 4516 8614 4517 # … … 8623 4526 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 8624 4527 s,@SHELL@,$SHELL,;t t 8625 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t8626 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t8627 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t8628 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t8629 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t8630 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t8631 4528 s,@exec_prefix@,$exec_prefix,;t t 8632 4529 s,@prefix@,$prefix,;t t … … 8644 4541 s,@infodir@,$infodir,;t t 8645 4542 s,@mandir@,$mandir,;t t 4543 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 4544 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 4545 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 4546 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 4547 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 8646 4548 s,@build_alias@,$build_alias,;t t 8647 4549 s,@host_alias@,$host_alias,;t t 8648 4550 s,@target_alias@,$target_alias,;t t 8649 s,@DEFS@,$DEFS,;t t8650 4551 s,@ECHO_C@,$ECHO_C,;t t 8651 4552 s,@ECHO_N@,$ECHO_N,;t t 8652 4553 s,@ECHO_T@,$ECHO_T,;t t 4554 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 4555 s,@DEFS@,$DEFS,;t t 8653 4556 s,@LIBS@,$LIBS,;t t 8654 4557 s,@build@,$build,;t t … … 8674 4577 s,@CXXFLAGS@,$CXXFLAGS,;t t 8675 4578 s,@ac_ct_CXX@,$ac_ct_CXX,;t t 8676 s,@ac_bigendian@,$ac_bigendian,;t t8677 4579 s,@CPP@,$CPP,;t t 8678 s,@EGREP@,$EGREP,;t t8679 4580 s,@ac_pjmedia_snd@,$ac_pjmedia_snd,;t t 8680 4581 s,@ac_pa_use_alsa@,$ac_pa_use_alsa,;t t … … 8692 4593 s,@ac_host@,$ac_host,;t t 8693 4594 s,@ac_main_obj@,$ac_main_obj,;t t 8694 s,@LIBOBJS@,$LIBOBJS,;t t8695 s,@LTLIBOBJS@,$LTLIBOBJS,;t t8696 4595 CEOF 8697 4596 8698 _ACEOF8699 8700 cat >>$CONFIG_STATUS <<\ _ACEOF4597 EOF 4598 4599 cat >>$CONFIG_STATUS <<\EOF 8701 4600 # Split the substitutions into bite-sized pieces for seds with 8702 4601 # small command number limits, like on Digital OSF/1 and HP-UX. … … 8723 4622 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 8724 4623 if test -z "$ac_sed_cmds"; then 8725 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"4624 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 8726 4625 else 8727 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"4626 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 8728 4627 fi 8729 4628 ac_sed_frag=`expr $ac_sed_frag + 1` … … 8737 4636 fi # test -n "$CONFIG_FILES" 8738 4637 8739 _ACEOF8740 cat >>$CONFIG_STATUS <<\ _ACEOF4638 EOF 4639 cat >>$CONFIG_STATUS <<\EOF 8741 4640 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 8742 4641 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8743 4642 case $ac_file in 8744 4643 - | *:- | *:-:* ) # input from stdin 8745 8746 8747 4644 cat >$tmp/stdin 4645 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4646 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8748 4647 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8749 4648 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8750 4649 * ) ac_file_in=$ac_file.in ;; 8751 4650 esac 8752 4651 8753 4652 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 8754 ac_dir=`(dirname "$ac_file") 2>/dev/null || 8755 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8756 X"$ac_file" : 'X\(//\)[^/]' \| \ 8757 X"$ac_file" : 'X\(//\)$' \| \ 8758 X"$ac_file" : 'X\(/\)' \| \ 8759 . : '\(.\)' 2>/dev/null || 4653 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4654 X"$ac_file" : 'X\(//\)[^/]' \| \ 4655 X"$ac_file" : 'X\(//\)$' \| \ 4656 X"$ac_file" : 'X\(/\)' \| \ 4657 . : '\(.\)' 2>/dev/null || 8760 4658 echo X"$ac_file" | 8761 4659 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 8764 4662 /^X\(\/\).*/{ s//\1/; q; } 8765 4663 s/.*/./; q'` 8766 { if $as_mkdir_p; then 8767 mkdir -p "$ac_dir" 4664 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 4665 { case "$ac_dir" in 4666 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 4667 *) as_incr_dir=.;; 4668 esac 4669 as_dummy="$ac_dir" 4670 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 4671 case $as_mkdir_dir in 4672 # Skip DOS drivespec 4673 ?:) as_incr_dir=$as_mkdir_dir ;; 4674 *) 4675 as_incr_dir=$as_incr_dir/$as_mkdir_dir 4676 test -d "$as_incr_dir" || mkdir "$as_incr_dir" 4677 ;; 4678 esac 4679 done; } 4680 4681 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`" 4682 # A "../" for each directory in $ac_dir_suffix. 4683 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'` 8768 4684 else 8769 as_dir="$ac_dir" 8770 as_dirs= 8771 while test ! -d "$as_dir"; do 8772 as_dirs="$as_dir $as_dirs" 8773 as_dir=`(dirname "$as_dir") 2>/dev/null || 8774 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8775 X"$as_dir" : 'X\(//\)[^/]' \| \ 8776 X"$as_dir" : 'X\(//\)$' \| \ 8777 X"$as_dir" : 'X\(/\)' \| \ 8778 . : '\(.\)' 2>/dev/null || 8779 echo X"$as_dir" | 8780 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8781 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8782 /^X\(\/\/\)$/{ s//\1/; q; } 8783 /^X\(\/\).*/{ s//\1/; q; } 8784 s/.*/./; q'` 8785 done 8786 test ! -n "$as_dirs" || mkdir $as_dirs 8787 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 8788 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 8789 { (exit 1); exit 1; }; }; } 8790 8791 ac_builddir=. 8792 8793 if test "$ac_dir" != .; then 8794 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8795 # A "../" for each directory in $ac_dir_suffix. 8796 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8797 else 8798 ac_dir_suffix= ac_top_builddir= 8799 fi 8800 8801 case $srcdir in 8802 .) # No --srcdir option. We are building in place. 8803 ac_srcdir=. 8804 if test -z "$ac_top_builddir"; then 8805 ac_top_srcdir=. 8806 else 8807 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8808 fi ;; 8809 [\\/]* | ?:[\\/]* ) # Absolute path. 8810 ac_srcdir=$srcdir$ac_dir_suffix; 8811 ac_top_srcdir=$srcdir ;; 4685 ac_dir_suffix= ac_dots= 4686 fi 4687 4688 case $srcdir in 4689 .) ac_srcdir=. 4690 if test -z "$ac_dots"; then 4691 ac_top_srcdir=. 4692 else 4693 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` 4694 fi ;; 4695 [\\/]* | ?:[\\/]* ) 4696 ac_srcdir=$srcdir$ac_dir_suffix; 4697 ac_top_srcdir=$srcdir ;; 8812 4698 *) # Relative path. 8813 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8814 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8815 esac 8816 8817 # Do not use `cd foo && pwd` to compute absolute paths, because 8818 # the directories may not exist. 8819 case `pwd` in 8820 .) ac_abs_builddir="$ac_dir";; 8821 *) 8822 case "$ac_dir" in 8823 .) ac_abs_builddir=`pwd`;; 8824 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8825 *) ac_abs_builddir=`pwd`/"$ac_dir";; 8826 esac;; 8827 esac 8828 case $ac_abs_builddir in 8829 .) ac_abs_top_builddir=${ac_top_builddir}.;; 8830 *) 8831 case ${ac_top_builddir}. in 8832 .) ac_abs_top_builddir=$ac_abs_builddir;; 8833 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 8834 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 8835 esac;; 8836 esac 8837 case $ac_abs_builddir in 8838 .) ac_abs_srcdir=$ac_srcdir;; 8839 *) 8840 case $ac_srcdir in 8841 .) ac_abs_srcdir=$ac_abs_builddir;; 8842 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 8843 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 8844 esac;; 8845 esac 8846 case $ac_abs_builddir in 8847 .) ac_abs_top_srcdir=$ac_top_srcdir;; 8848 *) 8849 case $ac_top_srcdir in 8850 .) ac_abs_top_srcdir=$ac_abs_builddir;; 8851 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 8852 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 8853 esac;; 8854 esac 8855 8856 4699 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix 4700 ac_top_srcdir=$ac_dots$srcdir ;; 4701 esac 8857 4702 8858 4703 if test x"$ac_file" != x-; then 8859 { echo "$as_me: $LINENO: creating $ac_file" >&54704 { echo "$as_me:4704: creating $ac_file" >&5 8860 4705 echo "$as_me: creating $ac_file" >&6;} 8861 4706 rm -f "$ac_file" … … 8863 4708 # Let's still pretend it is `configure' which instantiates (i.e., don't 8864 4709 # use $as_me), people would be surprised to read: 8865 # /* config.h. Generated by config.status. */ 8866 if test x"$ac_file" = x-; then 8867 configure_input= 8868 else 8869 configure_input="$ac_file. " 8870 fi 8871 configure_input=$configure_input"Generated from `echo $ac_file_in | 8872 sed 's,.*/,,'` by configure." 4710 # /* config.h. Generated automatically by config.status. */ 4711 configure_input="Generated automatically from `echo $ac_file_in | 4712 sed 's,.*/,,'` by configure." 8873 4713 8874 4714 # First look for the input files in the build tree, otherwise in the … … 8879 4719 -) echo $tmp/stdin ;; 8880 4720 [\\/$]*) 8881 8882 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&54721 # Absolute (can't be DOS-style, as IFS=:) 4722 test -f "$f" || { { echo "$as_me:4722: error: cannot find input file: $f" >&5 8883 4723 echo "$as_me: error: cannot find input file: $f" >&2;} 8884 4724 { (exit 1); exit 1; }; } 8885 echo "$f";;4725 echo $f;; 8886 4726 *) # Relative 8887 8888 8889 echo "$f" 8890 8891 8892 echo "$srcdir/$f" 8893 8894 8895 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&54727 if test -f "$f"; then 4728 # Build tree 4729 echo $f 4730 elif test -f "$srcdir/$f"; then 4731 # Source tree 4732 echo $srcdir/$f 4733 else 4734 # /dev/null tree 4735 { { echo "$as_me:4735: error: cannot find input file: $f" >&5 8896 4736 echo "$as_me: error: cannot find input file: $f" >&2;} 8897 4737 { (exit 1); exit 1; }; } 8898 4738 fi;; 8899 4739 esac 8900 4740 done` || { (exit 1); exit 1; } 8901 _ACEOF8902 cat >>$CONFIG_STATUS << _ACEOF4741 EOF 4742 cat >>$CONFIG_STATUS <<EOF 8903 4743 sed "$ac_vpsub 8904 4744 $extrasub 8905 _ACEOF8906 cat >>$CONFIG_STATUS <<\ _ACEOF4745 EOF 4746 cat >>$CONFIG_STATUS <<\EOF 8907 4747 :t 8908 4748 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 8909 4749 s,@configure_input@,$configure_input,;t t 8910 4750 s,@srcdir@,$ac_srcdir,;t t 8911 s,@abs_srcdir@,$ac_abs_srcdir,;t t8912 4751 s,@top_srcdir@,$ac_top_srcdir,;t t 8913 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t8914 s,@builddir@,$ac_builddir,;t t8915 s,@abs_builddir@,$ac_abs_builddir,;t t8916 s,@top_builddir@,$ac_top_builddir,;t t8917 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t8918 4752 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 8919 4753 rm -f $tmp/stdin … … 8926 4760 8927 4761 done 8928 _ACEOF8929 cat >>$CONFIG_STATUS <<\ _ACEOF4762 EOF 4763 cat >>$CONFIG_STATUS <<\EOF 8930 4764 8931 4765 # … … 8937 4771 # 8938 4772 # ac_d sets the value in "#define NAME VALUE" lines. 8939 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][]*\)'8940 ac_dB='[ 4773 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 4774 ac_dB='[ ].*$,\1#\2' 8941 4775 ac_dC=' ' 8942 4776 ac_dD=',;t' 8943 4777 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 8944 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][]*\)'4778 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 8945 4779 ac_uB='$,\1#\2define\3' 8946 4780 ac_uC=' ' … … 8951 4785 case $ac_file in 8952 4786 - | *:- | *:-:* ) # input from stdin 8953 8954 8955 4787 cat >$tmp/stdin 4788 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4789 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8956 4790 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8957 4791 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8958 4792 * ) ac_file_in=$ac_file.in ;; 8959 4793 esac 8960 4794 8961 test x"$ac_file" != x- && { echo "$as_me: $LINENO: creating $ac_file" >&54795 test x"$ac_file" != x- && { echo "$as_me:4795: creating $ac_file" >&5 8962 4796 echo "$as_me: creating $ac_file" >&6;} 8963 4797 … … 8969 4803 -) echo $tmp/stdin ;; 8970 4804 [\\/$]*) 8971 8972 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&54805 # Absolute (can't be DOS-style, as IFS=:) 4806 test -f "$f" || { { echo "$as_me:4806: error: cannot find input file: $f" >&5 8973 4807 echo "$as_me: error: cannot find input file: $f" >&2;} 8974 4808 { (exit 1); exit 1; }; } 8975 # Do quote $f, to prevent DOS paths from being IFS'd. 8976 echo "$f";; 4809 echo $f;; 8977 4810 *) # Relative 8978 8979 8980 echo "$f" 8981 8982 8983 echo "$srcdir/$f" 8984 8985 8986 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&54811 if test -f "$f"; then 4812 # Build tree 4813 echo $f 4814 elif test -f "$srcdir/$f"; then 4815 # Source tree 4816 echo $srcdir/$f 4817 else 4818 # /dev/null tree 4819 { { echo "$as_me:4819: error: cannot find input file: $f" >&5 8987 4820 echo "$as_me: error: cannot find input file: $f" >&2;} 8988 4821 { (exit 1); exit 1; }; } 8989 4822 fi;; 8990 4823 esac 8991 4824 done` || { (exit 1); exit 1; } 8992 4825 # Remove the trailing spaces. 8993 sed 's/[ 8994 8995 _ACEOF4826 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 4827 4828 EOF 8996 4829 8997 4830 # Transform confdefs.h into two sed scripts, `conftest.defines' and … … 9009 4842 # 0-ary CPP macros) applies to n-ary macro definitions. 9010 4843 # See the Autoconf documentation for `clear'. 9011 cat >confdef2sed.sed <<\ _ACEOF4844 cat >confdef2sed.sed <<\EOF 9012 4845 s/[\\&,]/\\&/g 9013 4846 s,[\\$`],\\&,g 9014 4847 t clear 9015 4848 : clear 9016 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp4849 s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp 9017 4850 t end 9018 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp4851 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 9019 4852 : end 9020 _ACEOF4853 EOF 9021 4854 # If some macros were called several times there might be several times 9022 4855 # the same #defines, which is useless. Nevertheless, we may not want to … … 9029 4862 # example, in the case of _POSIX_SOURCE, which is predefined and required 9030 4863 # on some systems where configure will not decide to define it. 9031 cat >>conftest.undefs <<\ _ACEOF9032 s,^[ ]*#[ ]*undef[ ][]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,9033 _ACEOF4864 cat >>conftest.undefs <<\EOF 4865 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 4866 EOF 9034 4867 9035 4868 # Break up conftest.defines because some shells have a limit on the size 9036 4869 # of here documents, and old seds have small limits too (100 cmds). 9037 4870 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 9038 echo ' if grep "^[ ]*#[]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS4871 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 9039 4872 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 9040 4873 echo ' :' >>$CONFIG_STATUS … … 9045 4878 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 9046 4879 # Speed up: don't consider the non `#define' lines. 9047 echo '/^[ ]*#[]*define/!b' >>$CONFIG_STATUS4880 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 9048 4881 # Work around the forget-to-reset-the-flag bug. 9049 4882 echo 't clr' >>$CONFIG_STATUS … … 9060 4893 done 9061 4894 rm -f conftest.defines 9062 echo ' fi # grep' >>$CONFIG_STATUS4895 echo ' fi # egrep' >>$CONFIG_STATUS 9063 4896 echo >>$CONFIG_STATUS 9064 4897 … … 9072 4905 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 9073 4906 # Speed up: don't consider the non `#undef' 9074 echo '/^[ ]*#[]*undef/!b' >>$CONFIG_STATUS4907 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 9075 4908 # Work around the forget-to-reset-the-flag bug. 9076 4909 echo 't clr' >>$CONFIG_STATUS … … 9088 4921 rm -f conftest.undefs 9089 4922 9090 cat >>$CONFIG_STATUS <<\ _ACEOF4923 cat >>$CONFIG_STATUS <<\EOF 9091 4924 # Let's still pretend it is `configure' which instantiates (i.e., don't 9092 4925 # use $as_me), people would be surprised to read: 9093 # /* config.h. Generated by config.status. */4926 # /* config.h. Generated automatically by config.status. */ 9094 4927 if test x"$ac_file" = x-; then 9095 echo "/* Generated by configure. */" >$tmp/config.h4928 echo "/* Generated automatically by configure. */" >$tmp/config.h 9096 4929 else 9097 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h4930 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h 9098 4931 fi 9099 4932 cat $tmp/in >>$tmp/config.h 9100 4933 rm -f $tmp/in 9101 4934 if test x"$ac_file" != x-; then 9102 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then9103 { echo "$as_me: $LINENO: $ac_file is unchanged" >&54935 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then 4936 { echo "$as_me:4936: $ac_file is unchanged" >&5 9104 4937 echo "$as_me: $ac_file is unchanged" >&6;} 9105 4938 else 9106 ac_dir=`(dirname "$ac_file") 2>/dev/null || 9107 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9108 X"$ac_file" : 'X\(//\)[^/]' \| \ 9109 X"$ac_file" : 'X\(//\)$' \| \ 9110 X"$ac_file" : 'X\(/\)' \| \ 9111 . : '\(.\)' 2>/dev/null || 4939 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4940 X"$ac_file" : 'X\(//\)[^/]' \| \ 4941 X"$ac_file" : 'X\(//\)$' \| \ 4942 X"$ac_file" : 'X\(/\)' \| \ 4943 . : '\(.\)' 2>/dev/null || 9112 4944 echo X"$ac_file" | 9113 4945 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 9116 4948 /^X\(\/\).*/{ s//\1/; q; } 9117 4949 s/.*/./; q'` 9118 { if $as_mkdir_p; then 9119 mkdir -p "$ac_dir" 9120 else 9121 as_dir="$ac_dir" 9122 as_dirs= 9123 while test ! -d "$as_dir"; do 9124 as_dirs="$as_dir $as_dirs" 9125 as_dir=`(dirname "$as_dir") 2>/dev/null || 9126 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9127 X"$as_dir" : 'X\(//\)[^/]' \| \ 9128 X"$as_dir" : 'X\(//\)$' \| \ 9129 X"$as_dir" : 'X\(/\)' \| \ 9130 . : '\(.\)' 2>/dev/null || 9131 echo X"$as_dir" | 9132 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 9133 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 9134 /^X\(\/\/\)$/{ s//\1/; q; } 9135 /^X\(\/\).*/{ s//\1/; q; } 9136 s/.*/./; q'` 9137 done 9138 test ! -n "$as_dirs" || mkdir $as_dirs 9139 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 9140 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 9141 { (exit 1); exit 1; }; }; } 9142 4950 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 4951 { case "$ac_dir" in 4952 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 4953 *) as_incr_dir=.;; 4954 esac 4955 as_dummy="$ac_dir" 4956 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 4957 case $as_mkdir_dir in 4958 # Skip DOS drivespec 4959 ?:) as_incr_dir=$as_mkdir_dir ;; 4960 *) 4961 as_incr_dir=$as_incr_dir/$as_mkdir_dir 4962 test -d "$as_incr_dir" || mkdir "$as_incr_dir" 4963 ;; 4964 esac 4965 done; } 4966 4967 fi 9143 4968 rm -f $ac_file 9144 4969 mv $tmp/config.h $ac_file … … 9149 4974 fi 9150 4975 done 9151 _ACEOF9152 9153 cat >>$CONFIG_STATUS <<\ _ACEOF4976 EOF 4977 4978 cat >>$CONFIG_STATUS <<\EOF 9154 4979 9155 4980 { (exit 0); exit 0; } 9156 _ACEOF4981 EOF 9157 4982 chmod +x $CONFIG_STATUS 9158 4983 ac_clean_files=$ac_clean_files_save 9159 9160 4984 9161 4985 # configure is writing to config.log, and then calls config.status. … … 9169 4993 if test "$no_create" != yes; then 9170 4994 ac_cs_success=: 9171 ac_config_status_args=9172 test "$silent" = yes &&9173 ac_config_status_args="$ac_config_status_args --quiet"9174 4995 exec 5>/dev/null 9175 $SHELL $CONFIG_STATUS $ac_config_status_args|| ac_cs_success=false4996 $SHELL $CONFIG_STATUS || ac_cs_success=false 9176 4997 exec 5>>config.log 9177 4998 # Use ||, not &&, to avoid exiting from the if with $? = 1, which … … 9180 5001 fi 9181 5002 9182 -
pjproject/trunk/aconfigure.ac
r697 r698 22 22 AC_DEFINE_UNQUOTED(PJ_M_NAME,["$target_cpu"]) 23 23 24 # Endianness detection 25 AC_C_BIGENDIAN([AC_SUBST(ac_bigendian,1) 26 AC_DEFINE(PJ_IS_LITTLE_ENDIAN,0) 27 AC_DEFINE(PJ_IS_BIG_ENDIAN,1) 28 ], 29 [AC_SUBST(ac_bigendian,0) 30 AC_DEFINE(PJ_IS_LITTLE_ENDIAN,1) 31 AC_DEFINE(PJ_IS_BIG_ENDIAN,0) 32 ]) 33 34 # --disable-floating-point option 24 dnl # Endianness detection 25 AC_C_BIGENDIAN 26 27 dnl # --disable-floating-point option 35 28 AC_ARG_ENABLE(floating-point, 36 29 AC_HELP_STRING([--disable-floating-point], … … 91 84 AC_DEFINE(PJ_ATOMIC_VALUE_TYPE,long) 92 85 93 # Determine if inet_aton() is available86 dnl # Determine if inet_aton() is available 94 87 AC_MSG_CHECKING([if inet_aton is available]) 95 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/socket.h> 96 #include <netinet/in.h> 97 #include <arpa/inet.h>]], 88 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <arpa/inet.h>]], 98 89 [inet_aton(0, 0);])], 99 90 [AC_DEFINE(PJ_SOCK_HAS_INET_ATON,1) … … 101 92 [AC_MSG_RESULT(no)]) 102 93 103 # Determine if sockaddr_in has sin_len member94 dnl # Determine if sockaddr_in has sin_len member 104 95 AC_MSG_CHECKING([if sockaddr_in has sin_len member]) 105 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/socket.h> 106 #include <netinet/in.h> 107 #include <arpa/inet.h>]], 96 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h> 97 #include <sys/socket.h> 98 #include <netinet/in.h> 99 #include <arpa/inet.h>]], 108 100 [struct sockaddr_in a; a.sin_len=0;])], 109 101 [AC_DEFINE(PJ_SOCKADDR_HAS_LEN,1) … … 111 103 AC_MSG_RESULT(no)) 112 104 113 # Determine if socklen_t is available105 dnl # Determine if socklen_t is available 114 106 AC_MSG_CHECKING([if socklen_t is available]) 115 107 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>]], … … 119 111 AC_MSG_RESULT(no)) 120 112 121 # Determine if SO_ERROR is available113 dnl # Determine if SO_ERROR is available 122 114 AC_MSG_CHECKING([if SO_ERROR is available]) 123 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/socket.h> 124 #include <netinet/in.h> 125 #include <arpa/inet.h>]], 115 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h> 116 #include <sys/socket.h> 117 #include <netinet/in.h> 118 #include <arpa/inet.h>]], 126 119 [int i=SO_ERROR;])], 127 120 [AC_DEFINE(PJ_HAS_SO_ERROR,1) … … 129 122 AC_MSG_RESULT(no)) 130 123 131 # Determine if RW-mutex is available124 dnl # Determine if RW-mutex is available 132 125 AC_MSG_CHECKING([if pthread_rwlock_t is available]) 133 126 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <pthread.h>], … … 139 132 140 133 141 ##########################################142 #143 # PJMEDIA144 #145 146 # Sound device backend selection134 dnl ########################################## 135 dnl # 136 dnl # PJMEDIA 137 dnl # 138 139 dnl # Sound device backend selection 147 140 AC_SUBST(ac_pjmedia_snd) 148 141 case $target in 149 *cygwin* | *win* | *mingw*) 142 *darwin*) 143 ac_pjmedia_snd=pa_darwinos 144 AC_MSG_RESULT([Checking sound device backend... coreaudio]) 145 LIBS="$LIBS -framework CoreAudio" 146 ;; 147 *cygwin* | *mingw*) 150 148 ac_pjmedia_snd=pa_win32 151 149 AC_MSG_RESULT([Checking sound device backend... win32 sound]) … … 154 152 ac_pjmedia_snd=null 155 153 AC_MSG_RESULT([Checking sound device backend... null sound]) 156 ;;157 *darwin*)158 ac_pjmedia_snd=pa_darwin_os159 AC_MSG_RESULT([Checking sound device backend... coreaudio])160 154 ;; 161 155 *) … … 170 164 esac 171 165 172 # Include resampling small filter166 dnl # Include resampling small filter 173 167 AC_SUBST(ac_no_small_filter) 174 168 AC_ARG_ENABLE(small-filter, … … 181 175 AC_MSG_RESULT([Checking if small filter is disabled... no])) 182 176 183 # Include resampling large filter177 dnl # Include resampling large filter 184 178 AC_SUBST(ac_no_large_filter) 185 179 AC_ARG_ENABLE(large-filter, … … 192 186 AC_MSG_RESULT([Checking if large filter is disabled... no])) 193 187 194 # Include G.711 Annex A PLC188 dnl # Include G.711 Annex A PLC 195 189 AC_SUBST(ac_no_g711_plc) 196 190 AC_ARG_ENABLE(g711-plc, … … 203 197 AC_MSG_RESULT([Checking if G.711 Annex A PLC is disabled...no])) 204 198 205 # Include Speex AEC199 dnl # Include Speex AEC 206 200 AC_SUBST(ac_no_speex_aec) 207 201 AC_ARG_ENABLE(speex-aec, … … 214 208 AC_MSG_RESULT([Checking if Speex AEC is disabled...no])) 215 209 216 # Include G711 codec210 dnl # Include G711 codec 217 211 AC_SUBST(ac_no_g711_codec) 218 212 AC_ARG_ENABLE(g711-codec, … … 226 220 227 221 228 # Include L16 codec222 dnl # Include L16 codec 229 223 AC_SUBST(ac_no_l16_codec) 230 224 AC_ARG_ENABLE(l16-codec, … … 238 232 239 233 240 # Include GSM codec234 dnl # Include GSM codec 241 235 AC_SUBST(ac_no_gsm_codec) 242 236 AC_ARG_ENABLE(gsm-codec, … … 249 243 AC_MSG_RESULT([Checking if GSM codec is disabled...no])) 250 244 251 # Include Speex codec245 dnl # Include Speex codec 252 246 AC_SUBST(ac_no_speex_codec) 253 247 AC_ARG_ENABLE(speex-codec, … … 260 254 AC_MSG_RESULT([Checking if Speex codec is disabled...no])) 261 255 262 # Include iLBC codec256 dnl # Include iLBC codec 263 257 AC_SUBST(ac_no_ilbc_codec) 264 258 AC_ARG_ENABLE(ilbc-codec, … … 273 267 274 268 275 ##########################################276 #277 # MANUAL CONFIG278 #279 280 281 # Determine if select() requires nfds to be filled up with282 # correct value (max_fd+1). If zero, nfds will be filled up with283 # PJ_FD_SETSIZE269 dnl ########################################## 270 dnl # 271 dnl # MANUAL CONFIG 272 dnl # 273 274 275 dnl # Determine if select() requires nfds to be filled up with 276 dnl # correct value (max_fd+1). If zero, nfds will be filled up with 277 dnl # PJ_FD_SETSIZE 284 278 AC_MSG_CHECKING([if select() needs correct nfds]) 285 279 case $target in … … 293 287 esac 294 288 295 # Determine if pj_thread_create() should enforce thread stack size when296 # creating thread. Default is zero, to allow OS to allocate appropriate297 # thread's stack size.289 dnl # Determine if pj_thread_create() should enforce thread stack size when 290 dnl # creating thread. Default is zero, to allow OS to allocate appropriate 291 dnl # thread's stack size. 298 292 AC_MSG_CHECKING([if pj_thread_create() should enforce stack size]) 299 293 case $target in … … 306 300 esac 307 301 308 # Determine if pj_thread_create() should allocate thread's stack from309 # the pool. Default is zero, to let OS allocate thread's stack.302 dnl # Determine if pj_thread_create() should allocate thread's stack from 303 dnl # the pool. Default is zero, to let OS allocate thread's stack. 310 304 AC_MSG_CHECKING([if pj_thread_create() should allocate stack]) 311 305 case $target in … … 318 312 esac 319 313 320 # This value specifies the value set in errno by the OS when a non-blocking321 # socket recv() can not return immediate data.314 dnl # This value specifies the value set in errno by the OS when a non-blocking 315 dnl # socket recv() can not return immediate data. 322 316 case $target in 323 317 *) AC_DEFINE(PJ_BLOCKING_ERROR_VAL,EAGAIN) … … 326 320 esac 327 321 328 # This value specifies the value set in errno by the OS when a non-blocking329 # socket connect() can not get connected immediately.322 dnl # This value specifies the value set in errno by the OS when a non-blocking 323 dnl # socket connect() can not get connected immediately. 330 324 case $target in 331 325 *) AC_DEFINE(PJ_BLOCKING_CONNECT_ERROR_VAL,EINPROGRESS) -
pjproject/trunk/pjlib/include/pj/compat/m_auto.h.in
r689 r698 25 25 */ 26 26 27 /* Machine name, filled in by autoconf script */ 27 28 #undef PJ_M_NAME 28 29 29 #undef PJ_IS_LITTLE_ENDIAN 30 #undef PJ_IS_BIG_ENDIAN 30 /* Endianness, as detected by autoconf */ 31 #undef WORDS_BIGENDIAN 32 33 #ifdef WORDS_BIGENDIAN 34 # define PJ_IS_LITTLE_ENDIAN 0 35 # define PJ_IS_BIG_ENDIAN 1 36 #else 37 # define PJ_IS_LITTLE_ENDIAN 1 38 # define PJ_IS_BIG_ENDIAN 0 39 #endif 40 31 41 32 42 /* Specify if floating point is present/desired */ -
pjproject/trunk/pjmedia/build/os-auto.mak.in
r689 r698 15 15 # For Unix, specify if ALSA should be supported 16 16 AC_PA_USE_ALSA=@ac_pa_use_alsa@ 17 18 # PortAudio endianness19 AC_PA_BIGENDIAN=@ac_bigendian@20 ifeq ($(AC_PA_BIGENDIAN),1)21 export CFLAGS += -DPA_BIG_ENDIAN=122 else23 export CFLAGS += -DPA_LITTLE_ENDIAN=124 endif25 17 26 18 # -
pjproject/trunk/pjmedia/src/pjmedia/portaudio/pa_endianness.h
r65 r698 55 55 #endif /* __cplusplus */ 56 56 57 #include <pj/config.h> 58 59 #if defined(PJ_IS_BIG_ENDIAN) && PJ_IS_BIG_ENDIAN!=0 60 # define PA_BIG_ENDIAN 1 61 #elif defined(PJ_IS_LITTLE_ENDIAN) && PJ_IS_LITTLE_ENDIAN!=0 62 # define PA_LITTLE_ENDIAN 1 63 #else 64 # error "Unable to detect PJLIB's endianness" 65 #endif 66 67 57 68 58 69 #if defined(PA_LITTLE_ENDIAN) || defined(PA_BIG_ENDIAN)
Note: See TracChangeset
for help on using the changeset viewer.