Changeset 699
- Timestamp:
- Sep 10, 2006 4:33:48 PM (18 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r698 r699 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by Autoconf 2.52for pjproject 0.5.8.3 # Generated by GNU Autoconf 2.56 for pjproject 0.5.8. 4 4 # 5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 6 6 # Free Software Foundation, Inc. 7 7 # This configure script is free software; the Free Software Foundation 8 8 # gives unlimited permission to copy, distribute and modify it. 9 9 ## --------------------- ## 10 ## M4sh Initialization. ## 11 ## --------------------- ## 12 13 # Be Bourne compatible 14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 15 emulate sh 16 NULLCMD=: 17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 18 # is contrary to our usage. Disable this feature. 19 alias -g '${1+"$@"}'='"$@"' 20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 21 set -o posix 22 fi 23 24 # Support unset when possible. 25 if (FOO=FOO; unset FOO) >/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 -n "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54 else 55 as_expr=false 56 fi 57 58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60 else 61 as_basename=false 62 fi 63 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 10 79 # Avoid depending upon Character Ranges. 11 80 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 15 84 as_cr_alnum=$as_cr_Letters$as_cr_digits 16 85 17 # Sed expression to map a string onto a valid variable name. 18 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 19 20 # Sed expression to map a string onto a valid CPP name. 21 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 22 23 # Be Bourne compatible 24 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 25 emulate sh 26 NULLCMD=: 27 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 28 set -o posix 29 fi 30 31 # Name of the executable. 32 as_me=`echo "$0" |sed 's,.*[\\/],,'` 86 # The user is always right. 87 if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97 fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110 for as_dir in $PATH 111 do 112 IFS=$as_save_IFS 113 test -z "$as_dir" && as_dir=. 114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 132 do 133 IFS=$as_save_IFS 134 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 137 /*) 138 if ("$as_dir/$as_base" -c ' 139 as_lineno_1=$LINENO 140 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 142 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 155 156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 165 sed ' 166 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 170 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 173 ' >$as_me.lineno && 174 chmod +x $as_me.lineno || 175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 { (exit 1); exit 1; }; } 177 178 # Don't try to exec as it changes $[0], causing all sort of problems 179 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensible to this). 181 . ./$as_me.lineno 182 # Exit status is that of the last command. 183 exit 184 } 185 186 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 192 esac 33 193 34 194 if expr a : '\(a\)' >/dev/null 2>&1; then … … 56 216 rm -f conf$$ conf$$.exe conf$$.file 57 217 218 if mkdir -p . 2>/dev/null; then 219 as_mkdir_p=: 220 else 221 as_mkdir_p=false 222 fi 223 58 224 as_executable_p="test -f" 59 225 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; } 226 # Sed expression to map a string onto a valid CPP name. 227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 228 229 # Sed expression to map a string onto a valid variable name. 230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 231 76 232 77 233 # IFS … … 82 238 83 239 # CDPATH. 84 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 240 $as_unset CDPATH 241 85 242 86 243 # Name of the host. … … 95 252 # 96 253 ac_default_prefix=/usr/local 254 ac_config_libobj_dir=. 97 255 cross_compiling=no 98 256 subdirs= 99 MFLAGS= MAKEFLAGS= 257 MFLAGS= 258 MAKEFLAGS= 100 259 SHELL=${CONFIG_SHELL-/bin/sh} 101 260 … … 104 263 # only ac_max_sed_lines should be used. 105 264 : ${ac_max_here_lines=38} 265 266 # Identity of this package. 267 PACKAGE_NAME='pjproject' 268 PACKAGE_TARNAME='pjproject' 269 PACKAGE_VERSION='0.5.8' 270 PACKAGE_STRING='pjproject 0.5.8' 271 PACKAGE_BUGREPORT='' 272 273 # Factoring default headers for most tests. 274 ac_includes_default="\ 275 #include <stdio.h> 276 #if HAVE_SYS_TYPES_H 277 # include <sys/types.h> 278 #endif 279 #if HAVE_SYS_STAT_H 280 # include <sys/stat.h> 281 #endif 282 #if STDC_HEADERS 283 # include <stdlib.h> 284 # include <stddef.h> 285 #else 286 # if HAVE_STDLIB_H 287 # include <stdlib.h> 288 # endif 289 #endif 290 #if HAVE_STRING_H 291 # if !STDC_HEADERS && HAVE_MEMORY_H 292 # include <memory.h> 293 # endif 294 # include <string.h> 295 #endif 296 #if HAVE_STRINGS_H 297 # include <strings.h> 298 #endif 299 #if HAVE_INTTYPES_H 300 # include <inttypes.h> 301 #else 302 # if HAVE_STDINT_H 303 # include <stdint.h> 304 # endif 305 #endif 306 #if HAVE_UNISTD_H 307 # include <unistd.h> 308 #endif" 309 310 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP EGREP ac_os_objs ac_pjmedia_snd ac_pa_use_alsa ac_no_small_filter ac_no_large_filter ac_no_g711_plc ac_no_speex_aec ac_no_g711_codec ac_no_l16_codec ac_no_gsm_codec ac_no_speex_codec ac_no_ilbc_codec ac_cross_compile ac_linux_poll ac_host ac_main_obj LIBOBJS LTLIBOBJS' 311 ac_subst_files='' 106 312 107 313 # Initialize some variables set by options. … … 143 349 mandir='${prefix}/man' 144 350 145 # Identity of this package.146 PACKAGE_NAME='pjproject'147 PACKAGE_TARNAME='pjproject'148 PACKAGE_VERSION='0.5.8'149 PACKAGE_STRING='pjproject 0.5.8'150 PACKAGE_BUGREPORT=''151 152 351 ac_prev= 153 352 for ac_option … … 282 481 283 482 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 284 | --no-cr | --no-c )483 | --no-cr | --no-c | -n) 285 484 no_create=yes ;; 286 485 … … 461 660 case $ac_val in 462 661 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 463 *) { echo "$as_me: error: expected an absolute pathfor --$ac_var: $ac_val" >&2662 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 464 663 { (exit 1); exit 1; }; };; 465 664 esac … … 473 672 case $ac_val in 474 673 [\\/$]* | ?:[\\/]* ) ;; 475 *) { echo "$as_me: error: expected an absolute pathfor --$ac_var: $ac_val" >&2674 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 476 675 { (exit 1); exit 1; }; };; 477 676 esac … … 480 679 # There might be people who depend on the old broken behavior: `$host' 481 680 # used to hold the argument of --host etc. 681 # FIXME: To remove some day. 482 682 build=$build_alias 483 683 host=$host_alias 484 684 target=$target_alias 485 685 486 # FIXME: should be removed in autoconf 3.0.686 # FIXME: To remove some day. 487 687 if test "x$host_alias" != x; then 488 688 if test "x$build_alias" = x; then … … 500 700 test "$silent" = yes && exec 6>/dev/null 501 701 702 502 703 # Find the source files, if location was not specified. 503 704 if test -z "$srcdir"; then 504 705 ac_srcdir_defaulted=yes 505 706 # Try the directory containing this script, then its parent. 506 ac_prog=$0 507 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` 508 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. 707 ac_confdir=`(dirname "$0") 2>/dev/null || 708 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 709 X"$0" : 'X\(//\)[^/]' \| \ 710 X"$0" : 'X\(//\)$' \| \ 711 X"$0" : 'X\(/\)' \| \ 712 . : '\(.\)' 2>/dev/null || 713 echo X"$0" | 714 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 715 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 716 /^X\(\/\/\)$/{ s//\1/; q; } 717 /^X\(\/\).*/{ s//\1/; q; } 718 s/.*/./; q'` 509 719 srcdir=$ac_confdir 510 720 if test ! -r $srcdir/$ac_unique_file; then … … 516 726 if test ! -r $srcdir/$ac_unique_file; then 517 727 if test "$ac_srcdir_defaulted" = yes; then 518 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2728 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 519 729 { (exit 1); exit 1; }; } 520 730 else 521 { echo "$as_me: error: cannot find sources in $srcdir" >&2731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 522 732 { (exit 1); exit 1; }; } 523 733 fi 524 734 fi 735 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 736 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 737 { (exit 1); exit 1; }; } 525 738 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 526 739 ac_env_build_alias_set=${build_alias+set} … … 571 784 # Omit some internal or obsolete options to make the list less imposing. 572 785 # This message is too long to be a string in the A/UX 3.1 sh. 573 cat << EOF786 cat <<_ACEOF 574 787 \`configure' configures pjproject 0.5.8 to adapt to many kinds of systems. 575 788 … … 592 805 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 593 806 594 EOF595 596 cat << EOF807 _ACEOF 808 809 cat <<_ACEOF 597 810 Installation directories: 598 811 --prefix=PREFIX install architecture-independent files in PREFIX … … 621 834 --infodir=DIR info documentation [PREFIX/info] 622 835 --mandir=DIR man documentation [PREFIX/man] 623 EOF624 625 cat <<\ EOF836 _ACEOF 837 838 cat <<\_ACEOF 626 839 627 840 System types: 628 841 --build=BUILD configure for building on BUILD [guessed] 629 --host=HOST build programs to run on HOST [BUILD]842 --host=HOST cross-compile to build programs to run on HOST [BUILD] 630 843 --target=TARGET configure for building compilers for TARGET [HOST] 631 EOF844 _ACEOF 632 845 fi 633 846 … … 636 849 short | recursive ) echo "Configuration of pjproject 0.5.8:";; 637 850 esac 638 cat <<\ EOF851 cat <<\_ACEOF 639 852 640 853 Optional Features: … … 667 880 it to find libraries and programs with nonstandard names/locations. 668 881 669 EOF882 _ACEOF 670 883 fi 671 884 … … 673 886 # If there are subdirs, report their specific --help. 674 887 ac_popdir=`pwd` 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 888 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 889 test -d $ac_dir || continue 890 ac_builddir=. 891 892 if test "$ac_dir" != .; then 893 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 894 # A "../" for each directory in $ac_dir_suffix. 895 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 896 else 897 ac_dir_suffix= ac_top_builddir= 898 fi 899 900 case $srcdir in 901 .) # No --srcdir option. We are building in place. 902 ac_srcdir=. 903 if test -z "$ac_top_builddir"; then 904 ac_top_srcdir=. 905 else 906 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 907 fi ;; 908 [\\/]* | ?:[\\/]* ) # Absolute path. 909 ac_srcdir=$srcdir$ac_dir_suffix; 910 ac_top_srcdir=$srcdir ;; 911 *) # Relative path. 912 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 913 ac_top_srcdir=$ac_top_builddir$srcdir ;; 914 esac 915 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 916 # absolute. 917 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 918 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 919 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 920 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 921 922 cd $ac_dir 690 923 # Check for guested configure; otherwise get Cygnus style configure. 691 if test -f $ac_s ub_srcdir/configure.gnu; then924 if test -f $ac_srcdir/configure.gnu; then 692 925 echo 693 $SHELL $ac_s ub_srcdir/configure.gnu --help=recursive694 elif test -f $ac_s ub_srcdir/configure; then926 $SHELL $ac_srcdir/configure.gnu --help=recursive 927 elif test -f $ac_srcdir/configure; then 695 928 echo 696 $SHELL $ac_s ub_srcdir/configure --help=recursive697 elif test -f $ac_s ub_srcdir/configure.ac ||698 test -f $ac_s ub_srcdir/configure.in; then929 $SHELL $ac_srcdir/configure --help=recursive 930 elif test -f $ac_srcdir/configure.ac || 931 test -f $ac_srcdir/configure.in; then 699 932 echo 700 933 $ac_configure --help 701 934 else 702 echo "$as_me: WARNING: no configuration information is in $ac_ subdir" >&2935 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 703 936 fi 704 937 cd $ac_popdir … … 708 941 test -n "$ac_init_help" && exit 0 709 942 if $ac_init_version; then 710 cat <<\ EOF943 cat <<\_ACEOF 711 944 pjproject configure 0.5.8 712 generated by GNU Autoconf 2.5 2713 714 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 945 generated by GNU Autoconf 2.56 946 947 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 715 948 Free Software Foundation, Inc. 716 949 This configure script is free software; the Free Software Foundation 717 950 gives unlimited permission to copy, distribute and modify it. 718 EOF951 _ACEOF 719 952 exit 0 720 953 fi 721 954 exec 5>config.log 722 cat >&5 << EOF955 cat >&5 <<_ACEOF 723 956 This file contains any messages produced by compilers while 724 957 running configure, to aid debugging if configure makes a mistake. 725 958 726 959 It was created by pjproject $as_me 0.5.8, which was 727 generated by GNU Autoconf 2.5 2. Invocation command line was960 generated by GNU Autoconf 2.56. Invocation command line was 728 961 729 962 $ $0 $@ 730 963 731 EOF964 _ACEOF 732 965 { 733 966 cat <<_ASUNAME 734 ## --------- -##735 ## Platform. 736 ## --------- -##967 ## --------- ## 968 ## Platform. ## 969 ## --------- ## 737 970 738 971 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` … … 753 986 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 754 987 755 PATH = $PATH756 757 988 _ASUNAME 989 990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 991 for as_dir in $PATH 992 do 993 IFS=$as_save_IFS 994 test -z "$as_dir" && as_dir=. 995 echo "PATH: $as_dir" 996 done 997 758 998 } >&5 759 999 760 cat >&5 <<EOF 761 ## ------------ ## 762 ## Core tests. ## 763 ## ------------ ## 764 765 EOF 1000 cat >&5 <<_ACEOF 1001 1002 1003 ## ----------- ## 1004 ## Core tests. ## 1005 ## ----------- ## 1006 1007 _ACEOF 1008 766 1009 767 1010 # Keep a trace of the command line. 768 1011 # Strip out --no-create and --no-recursion so they do not pile up. 1012 # Strip out --silent because we don't want to record it for future runs. 769 1013 # Also quote any args containing shell meta-characters. 1014 # Make two passes to allow for proper duplicate-argument suppression. 770 1015 ac_configure_args= 1016 ac_configure_args0= 1017 ac_configure_args1= 771 1018 ac_sep= 772 for ac_arg 1019 ac_must_keep_next=false 1020 for ac_pass in 1 2 773 1021 do 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. 1022 for ac_arg 1023 do 1024 case $ac_arg in 1025 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1026 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1027 | -silent | --silent | --silen | --sile | --sil) 1028 continue ;; 1029 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1030 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1031 esac 1032 case $ac_pass in 1033 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1034 2) 1035 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1036 if test $ac_must_keep_next = true; then 1037 ac_must_keep_next=false # Got value, back to normal. 1038 else 1039 case $ac_arg in 1040 *=* | --config-cache | -C | -disable-* | --disable-* \ 1041 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1042 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1043 | -with-* | --with-* | -without-* | --without-* | --x) 1044 case "$ac_configure_args0 " in 1045 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1046 esac 1047 ;; 1048 -* ) ac_must_keep_next=true ;; 1049 esac 1050 fi 1051 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1052 # Get rid of the leading space. 1053 ac_sep=" " 1054 ;; 1055 esac 1056 done 787 1057 done 1058 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1059 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 788 1060 789 1061 # When interrupted or exit'd, cleanup temporary files, and complete 790 1062 # config.log. We remove comments because anyway the quotes in there 791 1063 # would cause problems or look ugly. 1064 # WARNING: Be sure not to use single quotes in there, as some shells, 1065 # such as our DU 5.0 friend, will then `close' the trap. 792 1066 trap 'exit_status=$? 793 1067 # Save into config.log some information that might help in debugging. 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, 1068 { 1069 echo 1070 1071 cat <<\_ASBOX 1072 ## ---------------- ## 1073 ## Cache variables. ## 1074 ## ---------------- ## 1075 _ASBOX 1076 echo 1077 # The following way of writing the cache mishandles newlines in values, 800 1078 { 801 1079 (set) 2>&1 | … … 811 1089 ;; 812 1090 esac; 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 && 1091 } 1092 echo 1093 1094 cat <<\_ASBOX 1095 ## ----------------- ## 1096 ## Output variables. ## 1097 ## ----------------- ## 1098 _ASBOX 1099 echo 1100 for ac_var in $ac_subst_vars 1101 do 1102 eval ac_val=$`echo $ac_var` 1103 echo "$ac_var='"'"'$ac_val'"'"'" 1104 done | sort 1105 echo 1106 1107 if test -n "$ac_subst_files"; then 1108 cat <<\_ASBOX 1109 ## ------------- ## 1110 ## Output files. ## 1111 ## ------------- ## 1112 _ASBOX 1113 echo 1114 for ac_var in $ac_subst_files 1115 do 1116 eval ac_val=$`echo $ac_var` 1117 echo "$ac_var='"'"'$ac_val'"'"'" 1118 done | sort 1119 echo 1120 fi 1121 1122 if test -s confdefs.h; then 1123 cat <<\_ASBOX 1124 ## ----------- ## 1125 ## confdefs.h. ## 1126 ## ----------- ## 1127 _ASBOX 1128 echo 1129 sed "/^$/d" confdefs.h | sort 1130 echo 1131 fi 1132 test "$ac_signal" != 0 && 1133 echo "$as_me: caught signal $ac_signal" 1134 echo "$as_me: exit $exit_status" 1135 } >&5 1136 rm -f core core.* *.core && 1137 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 828 1138 exit $exit_status 829 1139 ' 0 … … 837 1147 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 838 1148 echo >confdefs.h 1149 1150 # Predefined preprocessor variables. 1151 1152 cat >>confdefs.h <<_ACEOF 1153 #define PACKAGE_NAME "$PACKAGE_NAME" 1154 _ACEOF 1155 1156 1157 cat >>confdefs.h <<_ACEOF 1158 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1159 _ACEOF 1160 1161 1162 cat >>confdefs.h <<_ACEOF 1163 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1164 _ACEOF 1165 1166 1167 cat >>confdefs.h <<_ACEOF 1168 #define PACKAGE_STRING "$PACKAGE_STRING" 1169 _ACEOF 1170 1171 1172 cat >>confdefs.h <<_ACEOF 1173 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1174 _ACEOF 1175 839 1176 840 1177 # Let the site file select an alternate cache file if it wants to. … … 849 1186 for ac_site_file in $CONFIG_SITE; do 850 1187 if test -r "$ac_site_file"; then 851 { echo "$as_me: 851: loading site script $ac_site_file" >&51188 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 852 1189 echo "$as_me: loading site script $ac_site_file" >&6;} 853 cat"$ac_site_file" >&51190 sed 's/^/| /' "$ac_site_file" >&5 854 1191 . "$ac_site_file" 855 1192 fi … … 860 1197 # files actually), so we avoid doing that. 861 1198 if test -f "$cache_file"; then 862 { echo "$as_me: 862: loading cache $cache_file" >&51199 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 863 1200 echo "$as_me: loading cache $cache_file" >&6;} 864 1201 case $cache_file in … … 868 1205 fi 869 1206 else 870 { echo "$as_me: 870: creating cache $cache_file" >&51207 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 871 1208 echo "$as_me: creating cache $cache_file" >&6;} 872 1209 >$cache_file … … 884 1221 case $ac_old_set,$ac_new_set in 885 1222 set,) 886 { echo "$as_me: 886: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51223 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 887 1224 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 888 1225 ac_cache_corrupted=: ;; 889 1226 ,set) 890 { echo "$as_me: 890: error: \`$ac_var' was not set in the previous run" >&51227 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 891 1228 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 892 1229 ac_cache_corrupted=: ;; … … 894 1231 *) 895 1232 if test "x$ac_old_val" != "x$ac_new_val"; then 896 { echo "$as_me: 896: error: \`$ac_var' has changed since the previous run:" >&51233 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 897 1234 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 898 { echo "$as_me: 898: former value: $ac_old_val" >&51235 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 899 1236 echo "$as_me: former value: $ac_old_val" >&2;} 900 { echo "$as_me: 900: current value: $ac_new_val" >&51237 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 901 1238 echo "$as_me: current value: $ac_new_val" >&2;} 902 1239 ac_cache_corrupted=: 903 1240 fi;; 904 1241 esac 905 # Pass precious variables to config.status. It doesn't matter if 906 # we pass some twice (in addition to the command line arguments). 1242 # Pass precious variables to config.status. 907 1243 if test "$ac_new_set" = set; then 908 1244 case $ac_new_val in 909 1245 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 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 ;; 1246 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1247 *) ac_arg=$ac_var=$ac_new_val ;; 1248 esac 1249 case " $ac_configure_args " in 1250 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1251 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 915 1252 esac 916 1253 fi 917 1254 done 918 1255 if $ac_cache_corrupted; then 919 { echo "$as_me: 919: error: changes in the environment can compromise the build" >&51256 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 920 1257 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 921 { { echo "$as_me: 921: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&51258 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 922 1259 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 923 1260 { (exit 1); exit 1; }; } … … 930 1267 ac_compiler_gnu=$ac_cv_c_compiler_gnu 931 1268 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 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 952 1294 953 1295 ac_aux_dir= … … 968 1310 done 969 1311 if test -z "$ac_aux_dir"; then 970 { { echo "$as_me: 970: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&51312 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 971 1313 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 972 1314 { (exit 1); exit 1; }; } … … 978 1320 # Make sure we can run config.sub. 979 1321 $ac_config_sub sun4 >/dev/null 2>&1 || 980 { { echo "$as_me: 980: error: cannot run $ac_config_sub" >&51322 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 981 1323 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 982 1324 { (exit 1); exit 1; }; } 983 1325 984 echo "$as_me: 984: checking build system type" >&51326 echo "$as_me:$LINENO: checking build system type" >&5 985 1327 echo $ECHO_N "checking build system type... $ECHO_C" >&6 986 1328 if test "${ac_cv_build+set}" = set; then … … 991 1333 ac_cv_build_alias=`$ac_config_guess` 992 1334 test -z "$ac_cv_build_alias" && 993 { { echo "$as_me: 993: error: cannot guess build type; you must specify one" >&51335 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 994 1336 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 995 1337 { (exit 1); exit 1; }; } 996 1338 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 997 { { echo "$as_me: 997: error: $ac_config_sub $ac_cv_build_alias failed." >&5998 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed ." >&2;}1339 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 1340 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 999 1341 { (exit 1); exit 1; }; } 1000 1342 1001 1343 fi 1002 echo "$as_me: 1002: result: $ac_cv_build" >&51344 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1003 1345 echo "${ECHO_T}$ac_cv_build" >&6 1004 1346 build=$ac_cv_build … … 1007 1349 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1008 1350 1009 echo "$as_me:1009: checking host system type" >&5 1351 1352 echo "$as_me:$LINENO: checking host system type" >&5 1010 1353 echo $ECHO_N "checking host system type... $ECHO_C" >&6 1011 1354 if test "${ac_cv_host+set}" = set; then … … 1016 1359 ac_cv_host_alias=$ac_cv_build_alias 1017 1360 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1018 { { echo "$as_me: 1018: error: $ac_config_sub $ac_cv_host_alias failed" >&51361 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1019 1362 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1020 1363 { (exit 1); exit 1; }; } 1021 1364 1022 1365 fi 1023 echo "$as_me: 1023: result: $ac_cv_host" >&51366 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1024 1367 echo "${ECHO_T}$ac_cv_host" >&6 1025 1368 host=$ac_cv_host … … 1028 1371 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1029 1372 1030 echo "$as_me:1030: checking target system type" >&5 1373 1374 echo "$as_me:$LINENO: checking target system type" >&5 1031 1375 echo $ECHO_N "checking target system type... $ECHO_C" >&6 1032 1376 if test "${ac_cv_target+set}" = set; then … … 1037 1381 ac_cv_target_alias=$ac_cv_host_alias 1038 1382 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 1039 { { echo "$as_me: 1039: error: $ac_config_sub $ac_cv_target_alias failed" >&51383 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 1040 1384 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 1041 1385 { (exit 1); exit 1; }; } 1042 1386 1043 1387 fi 1044 echo "$as_me: 1044: result: $ac_cv_target" >&51388 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1045 1389 echo "${ECHO_T}$ac_cv_target" >&6 1046 1390 target=$ac_cv_target … … 1048 1392 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1049 1393 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1394 1050 1395 1051 1396 # The aliases save the names the user supplied, while $host etc. … … 1055 1400 NONENONEs,x,x, && 1056 1401 program_prefix=${target_alias}- 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"1402 ac_config_headers="$ac_config_headers pjlib/include/pj/compat/os_auto.h pjlib/include/pj/compat/m_auto.h" 1403 1404 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" 1060 1405 1061 1406 ac_ext=c … … 1067 1412 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1068 1413 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1069 echo "$as_me: 1069: checking for $ac_word" >&51414 echo "$as_me:$LINENO: checking for $ac_word" >&5 1070 1415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1071 1416 if test "${ac_cv_prog_CC+set}" = set; then … … 1075 1420 ac_cv_prog_CC="$CC" # Let the user override the test. 1076 1421 else 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 1422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1423 for as_dir in $PATH 1424 do 1425 IFS=$as_save_IFS 1426 test -z "$as_dir" && as_dir=. 1427 for ac_exec_ext in '' $ac_executable_extensions; do 1428 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1429 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1431 break 2 1432 fi 1433 done 1086 1434 done 1087 1435 … … 1090 1438 CC=$ac_cv_prog_CC 1091 1439 if test -n "$CC"; then 1092 echo "$as_me: 1092: result: $CC" >&51440 echo "$as_me:$LINENO: result: $CC" >&5 1093 1441 echo "${ECHO_T}$CC" >&6 1094 1442 else 1095 echo "$as_me: 1095: result: no" >&51443 echo "$as_me:$LINENO: result: no" >&5 1096 1444 echo "${ECHO_T}no" >&6 1097 1445 fi … … 1102 1450 # Extract the first word of "gcc", so it can be a program name with args. 1103 1451 set dummy gcc; ac_word=$2 1104 echo "$as_me: 1104: checking for $ac_word" >&51452 echo "$as_me:$LINENO: checking for $ac_word" >&5 1105 1453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1106 1454 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then … … 1110 1458 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1111 1459 else 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 1460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1461 for as_dir in $PATH 1462 do 1463 IFS=$as_save_IFS 1464 test -z "$as_dir" && as_dir=. 1465 for ac_exec_ext in '' $ac_executable_extensions; do 1466 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1467 ac_cv_prog_ac_ct_CC="gcc" 1468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1469 break 2 1470 fi 1471 done 1121 1472 done 1122 1473 … … 1125 1476 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1126 1477 if test -n "$ac_ct_CC"; then 1127 echo "$as_me: 1127: result: $ac_ct_CC" >&51478 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1128 1479 echo "${ECHO_T}$ac_ct_CC" >&6 1129 1480 else 1130 echo "$as_me: 1130: result: no" >&51481 echo "$as_me:$LINENO: result: no" >&5 1131 1482 echo "${ECHO_T}no" >&6 1132 1483 fi … … 1141 1492 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1142 1493 set dummy ${ac_tool_prefix}cc; ac_word=$2 1143 echo "$as_me: 1143: checking for $ac_word" >&51494 echo "$as_me:$LINENO: checking for $ac_word" >&5 1144 1495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1145 1496 if test "${ac_cv_prog_CC+set}" = set; then … … 1149 1500 ac_cv_prog_CC="$CC" # Let the user override the test. 1150 1501 else 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 1502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1503 for as_dir in $PATH 1504 do 1505 IFS=$as_save_IFS 1506 test -z "$as_dir" && as_dir=. 1507 for ac_exec_ext in '' $ac_executable_extensions; do 1508 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1509 ac_cv_prog_CC="${ac_tool_prefix}cc" 1510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1511 break 2 1512 fi 1513 done 1160 1514 done 1161 1515 … … 1164 1518 CC=$ac_cv_prog_CC 1165 1519 if test -n "$CC"; then 1166 echo "$as_me: 1166: result: $CC" >&51520 echo "$as_me:$LINENO: result: $CC" >&5 1167 1521 echo "${ECHO_T}$CC" >&6 1168 1522 else 1169 echo "$as_me: 1169: result: no" >&51523 echo "$as_me:$LINENO: result: no" >&5 1170 1524 echo "${ECHO_T}no" >&6 1171 1525 fi … … 1176 1530 # Extract the first word of "cc", so it can be a program name with args. 1177 1531 set dummy cc; ac_word=$2 1178 echo "$as_me: 1178: checking for $ac_word" >&51532 echo "$as_me:$LINENO: checking for $ac_word" >&5 1179 1533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1180 1534 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then … … 1184 1538 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1185 1539 else 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 1540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1541 for as_dir in $PATH 1542 do 1543 IFS=$as_save_IFS 1544 test -z "$as_dir" && as_dir=. 1545 for ac_exec_ext in '' $ac_executable_extensions; do 1546 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1547 ac_cv_prog_ac_ct_CC="cc" 1548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1549 break 2 1550 fi 1551 done 1195 1552 done 1196 1553 … … 1199 1556 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1200 1557 if test -n "$ac_ct_CC"; then 1201 echo "$as_me: 1201: result: $ac_ct_CC" >&51558 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1202 1559 echo "${ECHO_T}$ac_ct_CC" >&6 1203 1560 else 1204 echo "$as_me: 1204: result: no" >&51561 echo "$as_me:$LINENO: result: no" >&5 1205 1562 echo "${ECHO_T}no" >&6 1206 1563 fi … … 1215 1572 # Extract the first word of "cc", so it can be a program name with args. 1216 1573 set dummy cc; ac_word=$2 1217 echo "$as_me: 1217: checking for $ac_word" >&51574 echo "$as_me:$LINENO: checking for $ac_word" >&5 1218 1575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1219 1576 if test "${ac_cv_prog_CC+set}" = set; then … … 1224 1581 else 1225 1582 ac_prog_rejected=no 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 1583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1584 for as_dir in $PATH 1585 do 1586 IFS=$as_save_IFS 1587 test -z "$as_dir" && as_dir=. 1588 for ac_exec_ext in '' $ac_executable_extensions; do 1589 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1590 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1591 ac_prog_rejected=yes 1592 continue 1593 fi 1594 ac_cv_prog_CC="cc" 1595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1596 break 2 1597 fi 1598 done 1239 1599 done 1240 1600 … … 1248 1608 # first if we set CC to just the basename; use the full file name. 1249 1609 shift 1250 set dummy "$ac_dir/$ac_word" ${1+"$@"} 1251 shift 1252 ac_cv_prog_CC="$@" 1610 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 1253 1611 fi 1254 1612 fi … … 1257 1615 CC=$ac_cv_prog_CC 1258 1616 if test -n "$CC"; then 1259 echo "$as_me: 1259: result: $CC" >&51617 echo "$as_me:$LINENO: result: $CC" >&5 1260 1618 echo "${ECHO_T}$CC" >&6 1261 1619 else 1262 echo "$as_me: 1262: result: no" >&51620 echo "$as_me:$LINENO: result: no" >&5 1263 1621 echo "${ECHO_T}no" >&6 1264 1622 fi … … 1271 1629 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1272 1630 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1273 echo "$as_me: 1273: checking for $ac_word" >&51631 echo "$as_me:$LINENO: checking for $ac_word" >&5 1274 1632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1275 1633 if test "${ac_cv_prog_CC+set}" = set; then … … 1279 1637 ac_cv_prog_CC="$CC" # Let the user override the test. 1280 1638 else 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 1639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1640 for as_dir in $PATH 1641 do 1642 IFS=$as_save_IFS 1643 test -z "$as_dir" && as_dir=. 1644 for ac_exec_ext in '' $ac_executable_extensions; do 1645 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1646 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1648 break 2 1649 fi 1650 done 1290 1651 done 1291 1652 … … 1294 1655 CC=$ac_cv_prog_CC 1295 1656 if test -n "$CC"; then 1296 echo "$as_me: 1296: result: $CC" >&51657 echo "$as_me:$LINENO: result: $CC" >&5 1297 1658 echo "${ECHO_T}$CC" >&6 1298 1659 else 1299 echo "$as_me: 1299: result: no" >&51660 echo "$as_me:$LINENO: result: no" >&5 1300 1661 echo "${ECHO_T}no" >&6 1301 1662 fi … … 1310 1671 # Extract the first word of "$ac_prog", so it can be a program name with args. 1311 1672 set dummy $ac_prog; ac_word=$2 1312 echo "$as_me: 1312: checking for $ac_word" >&51673 echo "$as_me:$LINENO: checking for $ac_word" >&5 1313 1674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1314 1675 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then … … 1318 1679 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1319 1680 else 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 1681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1682 for as_dir in $PATH 1683 do 1684 IFS=$as_save_IFS 1685 test -z "$as_dir" && as_dir=. 1686 for ac_exec_ext in '' $ac_executable_extensions; do 1687 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1688 ac_cv_prog_ac_ct_CC="$ac_prog" 1689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1690 break 2 1691 fi 1692 done 1329 1693 done 1330 1694 … … 1333 1697 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1334 1698 if test -n "$ac_ct_CC"; then 1335 echo "$as_me: 1335: result: $ac_ct_CC" >&51699 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1336 1700 echo "${ECHO_T}$ac_ct_CC" >&6 1337 1701 else 1338 echo "$as_me: 1338: result: no" >&51702 echo "$as_me:$LINENO: result: no" >&5 1339 1703 echo "${ECHO_T}no" >&6 1340 1704 fi … … 1348 1712 fi 1349 1713 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;} 1714 1715 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1716 See \`config.log' for more details." >&5 1717 echo "$as_me: error: no acceptable C compiler found in \$PATH 1718 See \`config.log' for more details." >&2;} 1352 1719 { (exit 1); exit 1; }; } 1353 1720 1354 1721 # Provide some information about the compiler. 1355 echo "$as_me: 1355:" \1722 echo "$as_me:$LINENO:" \ 1356 1723 "checking for C compiler version" >&5 1357 1724 ac_compiler=`set X $ac_compile; echo $2` 1358 { (eval echo "$as_me: 1358: \"$ac_compiler --version </dev/null >&5\"") >&51725 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1359 1726 (eval $ac_compiler --version </dev/null >&5) 2>&5 1360 1727 ac_status=$? 1361 echo "$as_me: 1361: \$? = $ac_status" >&51728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1362 1729 (exit $ac_status); } 1363 { (eval echo "$as_me: 1363: \"$ac_compiler -v </dev/null >&5\"") >&51730 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1364 1731 (eval $ac_compiler -v </dev/null >&5) 2>&5 1365 1732 ac_status=$? 1366 echo "$as_me: 1366: \$? = $ac_status" >&51733 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1367 1734 (exit $ac_status); } 1368 { (eval echo "$as_me: 1368: \"$ac_compiler -V </dev/null >&5\"") >&51735 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1369 1736 (eval $ac_compiler -V </dev/null >&5) 2>&5 1370 1737 ac_status=$? 1371 echo "$as_me: 1371: \$? = $ac_status" >&51738 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1372 1739 (exit $ac_status); } 1373 1740 1374 1741 cat >conftest.$ac_ext <<_ACEOF 1375 #line 1375 "configure" 1376 #include "confdefs.h" 1742 #line $LINENO "configure" 1743 /* confdefs.h. */ 1744 _ACEOF 1745 cat confdefs.h >>conftest.$ac_ext 1746 cat >>conftest.$ac_ext <<_ACEOF 1747 /* end confdefs.h. */ 1377 1748 1378 1749 int … … 1385 1756 _ACEOF 1386 1757 ac_clean_files_save=$ac_clean_files 1387 ac_clean_files="$ac_clean_files a.out a.exe "1758 ac_clean_files="$ac_clean_files a.out a.exe b.out" 1388 1759 # Try to create an executable without -o first, disregard a.out. 1389 1760 # It will help us diagnose broken compilers, and finding out an intuition 1390 1761 # of exeext. 1391 echo "$as_me: 1391: checking for C compiler default output" >&51762 echo "$as_me:$LINENO: checking for C compiler default output" >&5 1392 1763 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 1393 1764 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1394 if { (eval echo "$as_me: 1394: \"$ac_link_default\"") >&51765 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1395 1766 (eval $ac_link_default) 2>&5 1396 1767 ac_status=$? 1397 echo "$as_me: 1397: \$? = $ac_status" >&51768 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1398 1769 (exit $ac_status); }; then 1399 1770 # Find the output, starting from the most likely. This scheme is 1400 1771 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1401 1772 # resort. 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 1773 1774 # Be careful to initialize this variable, since it used to be cached. 1775 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1776 ac_cv_exeext= 1777 # b.out is created by i960 compilers. 1778 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 1779 do 1780 test -f "$ac_file" || continue 1405 1781 case $ac_file in 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;; 1782 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1783 ;; 1784 conftest.$ac_ext ) 1785 # This is the source file. 1786 ;; 1787 [ab].out ) 1788 # We found the default executable, but exeext='' is most 1789 # certainly right. 1790 break;; 1791 *.* ) 1792 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1793 # FIXME: I believe we export ac_cv_exeext for Libtool, 1794 # but it would be cool to find out if it's true. Does anybody 1795 # maintain Libtool? --akim. 1796 export ac_cv_exeext 1797 break;; 1798 * ) 1799 break;; 1415 1800 esac 1416 1801 done 1417 1802 else 1418 1803 echo "$as_me: failed program was:" >&5 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;} 1804 sed 's/^/| /' conftest.$ac_ext >&5 1805 1806 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 1807 See \`config.log' for more details." >&5 1808 echo "$as_me: error: C compiler cannot create executables 1809 See \`config.log' for more details." >&2;} 1422 1810 { (exit 77); exit 77; }; } 1423 1811 fi 1424 1812 1425 1813 ac_exeext=$ac_cv_exeext 1426 echo "$as_me: 1426: result: $ac_file" >&51814 echo "$as_me:$LINENO: result: $ac_file" >&5 1427 1815 echo "${ECHO_T}$ac_file" >&6 1428 1816 1429 1817 # Check the compiler produces executables we can run. If not, either 1430 1818 # the compiler is broken, or we cross compile. 1431 echo "$as_me: 1431: checking whether the C compiler works" >&51819 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 1432 1820 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 1433 1821 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 … … 1435 1823 if test "$cross_compiling" != yes; then 1436 1824 if { ac_try='./$ac_file' 1437 { (eval echo "$as_me: 1437: \"$ac_try\"") >&51825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1438 1826 (eval $ac_try) 2>&5 1439 1827 ac_status=$? 1440 echo "$as_me: 1440: \$? = $ac_status" >&51828 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1441 1829 (exit $ac_status); }; }; then 1442 1830 cross_compiling=no … … 1445 1833 cross_compiling=yes 1446 1834 else 1447 { { echo "$as_me:1447: error: cannot run C compiled programs. 1448 If you meant to cross compile, use \`--host'." >&5 1835 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 1836 If you meant to cross compile, use \`--host'. 1837 See \`config.log' for more details." >&5 1449 1838 echo "$as_me: error: cannot run C compiled programs. 1450 If you meant to cross compile, use \`--host'." >&2;} 1839 If you meant to cross compile, use \`--host'. 1840 See \`config.log' for more details." >&2;} 1451 1841 { (exit 1); exit 1; }; } 1452 1842 fi 1453 1843 fi 1454 1844 fi 1455 echo "$as_me: 1455: result: yes" >&51845 echo "$as_me:$LINENO: result: yes" >&5 1456 1846 echo "${ECHO_T}yes" >&6 1457 1847 1458 rm -f a.out a.exe conftest$ac_cv_exeext 1848 rm -f a.out a.exe conftest$ac_cv_exeext b.out 1459 1849 ac_clean_files=$ac_clean_files_save 1460 1850 # Check the compiler produces executables we can run. If not, either 1461 1851 # the compiler is broken, or we cross compile. 1462 echo "$as_me: 1462: checking whether we are cross compiling" >&51852 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1463 1853 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1464 echo "$as_me: 1464: result: $cross_compiling" >&51854 echo "$as_me:$LINENO: result: $cross_compiling" >&5 1465 1855 echo "${ECHO_T}$cross_compiling" >&6 1466 1856 1467 echo "$as_me: 1467: checking for executable suffix" >&51468 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&61469 if { (eval echo "$as_me: 1469: \"$ac_link\"") >&51857 echo "$as_me:$LINENO: checking for suffix of executables" >&5 1858 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1470 1860 (eval $ac_link) 2>&5 1471 1861 ac_status=$? 1472 echo "$as_me: 1472: \$? = $ac_status" >&51862 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1473 1863 (exit $ac_status); }; then 1474 1864 # If both `conftest.exe' and `conftest' are `present' (well, observable) … … 1476 1866 # work properly (i.e., refer to `conftest.exe'), while it won't with 1477 1867 # `rm'. 1478 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do 1868 for ac_file in conftest.exe conftest conftest.*; do 1869 test -f "$ac_file" || continue 1479 1870 case $ac_file in 1480 *.$ac_ext | *. o | *.obj | *.xcoff | *.tds | *.d | *.pdb) ;;1871 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 1481 1872 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1482 1873 export ac_cv_exeext … … 1486 1877 done 1487 1878 else 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;} 1879 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 1880 See \`config.log' for more details." >&5 1881 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 1882 See \`config.log' for more details." >&2;} 1490 1883 { (exit 1); exit 1; }; } 1491 1884 fi 1492 1885 1493 1886 rm -f conftest$ac_cv_exeext 1494 echo "$as_me: 1494: result: $ac_cv_exeext" >&51887 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 1495 1888 echo "${ECHO_T}$ac_cv_exeext" >&6 1496 1889 … … 1498 1891 EXEEXT=$ac_cv_exeext 1499 1892 ac_exeext=$EXEEXT 1500 echo "$as_me: 1500: checking for object suffix" >&51501 echo $ECHO_N "checking for object suffix... $ECHO_C" >&61893 echo "$as_me:$LINENO: checking for suffix of object files" >&5 1894 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 1502 1895 if test "${ac_cv_objext+set}" = set; then 1503 1896 echo $ECHO_N "(cached) $ECHO_C" >&6 1504 1897 else 1505 1898 cat >conftest.$ac_ext <<_ACEOF 1506 #line 1506 "configure" 1507 #include "confdefs.h" 1899 #line $LINENO "configure" 1900 /* confdefs.h. */ 1901 _ACEOF 1902 cat confdefs.h >>conftest.$ac_ext 1903 cat >>conftest.$ac_ext <<_ACEOF 1904 /* end confdefs.h. */ 1508 1905 1509 1906 int … … 1516 1913 _ACEOF 1517 1914 rm -f conftest.o conftest.obj 1518 if { (eval echo "$as_me: 1518: \"$ac_compile\"") >&51915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1519 1916 (eval $ac_compile) 2>&5 1520 1917 ac_status=$? 1521 echo "$as_me: 1521: \$? = $ac_status" >&51918 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1522 1919 (exit $ac_status); }; then 1523 1920 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 1524 1921 case $ac_file in 1525 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;1922 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 1526 1923 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1527 1924 break;; … … 1530 1927 else 1531 1928 echo "$as_me: failed program was:" >&5 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;} 1929 sed 's/^/| /' conftest.$ac_ext >&5 1930 1931 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 1932 See \`config.log' for more details." >&5 1933 echo "$as_me: error: cannot compute suffix of object files: cannot compile 1934 See \`config.log' for more details." >&2;} 1535 1935 { (exit 1); exit 1; }; } 1536 1936 fi … … 1538 1938 rm -f conftest.$ac_cv_objext conftest.$ac_ext 1539 1939 fi 1540 echo "$as_me: 1540: result: $ac_cv_objext" >&51940 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 1541 1941 echo "${ECHO_T}$ac_cv_objext" >&6 1542 1942 OBJEXT=$ac_cv_objext 1543 1943 ac_objext=$OBJEXT 1544 echo "$as_me: 1544: checking whether we are using the GNU C compiler" >&51944 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 1545 1945 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 1546 1946 if test "${ac_cv_c_compiler_gnu+set}" = set; then … … 1548 1948 else 1549 1949 cat >conftest.$ac_ext <<_ACEOF 1550 #line 1550 "configure" 1551 #include "confdefs.h" 1950 #line $LINENO "configure" 1951 /* confdefs.h. */ 1952 _ACEOF 1953 cat confdefs.h >>conftest.$ac_ext 1954 cat >>conftest.$ac_ext <<_ACEOF 1955 /* end confdefs.h. */ 1552 1956 1553 1957 int … … 1563 1967 _ACEOF 1564 1968 rm -f conftest.$ac_objext 1565 if { (eval echo "$as_me: 1565: \"$ac_compile\"") >&51969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1566 1970 (eval $ac_compile) 2>&5 1567 1971 ac_status=$? 1568 echo "$as_me: 1568: \$? = $ac_status" >&51972 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1569 1973 (exit $ac_status); } && 1570 1974 { ac_try='test -s conftest.$ac_objext' 1571 { (eval echo "$as_me: 1571: \"$ac_try\"") >&51975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1572 1976 (eval $ac_try) 2>&5 1573 1977 ac_status=$? 1574 echo "$as_me: 1574: \$? = $ac_status" >&51978 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1575 1979 (exit $ac_status); }; }; then 1576 1980 ac_compiler_gnu=yes 1577 1981 else 1578 1982 echo "$as_me: failed program was:" >&5 1579 cat conftest.$ac_ext >&5 1983 sed 's/^/| /' conftest.$ac_ext >&5 1984 1580 1985 ac_compiler_gnu=no 1581 1986 fi … … 1584 1989 1585 1990 fi 1586 echo "$as_me: 1586: result: $ac_cv_c_compiler_gnu" >&51991 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 1587 1992 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 1588 1993 GCC=`test $ac_compiler_gnu = yes && echo yes` … … 1590 1995 ac_save_CFLAGS=$CFLAGS 1591 1996 CFLAGS="-g" 1592 echo "$as_me: 1592: checking whether $CC accepts -g" >&51997 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 1593 1998 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 1594 1999 if test "${ac_cv_prog_cc_g+set}" = set; then … … 1596 2001 else 1597 2002 cat >conftest.$ac_ext <<_ACEOF 1598 #line 1598 "configure" 1599 #include "confdefs.h" 2003 #line $LINENO "configure" 2004 /* confdefs.h. */ 2005 _ACEOF 2006 cat confdefs.h >>conftest.$ac_ext 2007 cat >>conftest.$ac_ext <<_ACEOF 2008 /* end confdefs.h. */ 1600 2009 1601 2010 int … … 1608 2017 _ACEOF 1609 2018 rm -f conftest.$ac_objext 1610 if { (eval echo "$as_me: 1610: \"$ac_compile\"") >&52019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1611 2020 (eval $ac_compile) 2>&5 1612 2021 ac_status=$? 1613 echo "$as_me: 1613: \$? = $ac_status" >&52022 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1614 2023 (exit $ac_status); } && 1615 2024 { ac_try='test -s conftest.$ac_objext' 1616 { (eval echo "$as_me: 1616: \"$ac_try\"") >&52025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1617 2026 (eval $ac_try) 2>&5 1618 2027 ac_status=$? 1619 echo "$as_me: 1619: \$? = $ac_status" >&52028 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1620 2029 (exit $ac_status); }; }; then 1621 2030 ac_cv_prog_cc_g=yes 1622 2031 else 1623 2032 echo "$as_me: failed program was:" >&5 1624 cat conftest.$ac_ext >&5 2033 sed 's/^/| /' conftest.$ac_ext >&5 2034 1625 2035 ac_cv_prog_cc_g=no 1626 2036 fi 1627 2037 rm -f conftest.$ac_objext conftest.$ac_ext 1628 2038 fi 1629 echo "$as_me: 1629: result: $ac_cv_prog_cc_g" >&52039 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 1630 2040 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 1631 2041 if test "$ac_test_CFLAGS" = set; then … … 1644 2054 fi 1645 2055 fi 2056 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2057 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2058 if test "${ac_cv_prog_cc_stdc+set}" = set; then 2059 echo $ECHO_N "(cached) $ECHO_C" >&6 2060 else 2061 ac_cv_prog_cc_stdc=no 2062 ac_save_CC=$CC 2063 cat >conftest.$ac_ext <<_ACEOF 2064 #line $LINENO "configure" 2065 /* confdefs.h. */ 2066 _ACEOF 2067 cat confdefs.h >>conftest.$ac_ext 2068 cat >>conftest.$ac_ext <<_ACEOF 2069 /* end confdefs.h. */ 2070 #include <stdarg.h> 2071 #include <stdio.h> 2072 #include <sys/types.h> 2073 #include <sys/stat.h> 2074 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2075 struct buf { int x; }; 2076 FILE * (*rcsopen) (struct buf *, struct stat *, int); 2077 static char *e (p, i) 2078 char **p; 2079 int i; 2080 { 2081 return p[i]; 2082 } 2083 static char *f (char * (*g) (char **, int), char **p, ...) 2084 { 2085 char *s; 2086 va_list v; 2087 va_start (v,p); 2088 s = g (p, va_arg (v,int)); 2089 va_end (v); 2090 return s; 2091 } 2092 int test (int i, double x); 2093 struct s1 {int (*f) (int a);}; 2094 struct s2 {int (*f) (double a);}; 2095 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2096 int argc; 2097 char **argv; 2098 int 2099 main () 2100 { 2101 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2102 ; 2103 return 0; 2104 } 2105 _ACEOF 2106 # Don't try gcc -ansi; that turns off useful extensions and 2107 # breaks some systems' header files. 2108 # AIX -qlanglvl=ansi 2109 # Ultrix and OSF/1 -std1 2110 # HP-UX 10.20 and later -Ae 2111 # HP-UX older versions -Aa -D_HPUX_SOURCE 2112 # SVR4 -Xc -D__EXTENSIONS__ 2113 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2114 do 2115 CC="$ac_save_CC $ac_arg" 2116 rm -f conftest.$ac_objext 2117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2118 (eval $ac_compile) 2>&5 2119 ac_status=$? 2120 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2121 (exit $ac_status); } && 2122 { ac_try='test -s conftest.$ac_objext' 2123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2124 (eval $ac_try) 2>&5 2125 ac_status=$? 2126 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2127 (exit $ac_status); }; }; then 2128 ac_cv_prog_cc_stdc=$ac_arg 2129 break 2130 else 2131 echo "$as_me: failed program was:" >&5 2132 sed 's/^/| /' conftest.$ac_ext >&5 2133 2134 fi 2135 rm -f conftest.$ac_objext 2136 done 2137 rm -f conftest.$ac_ext conftest.$ac_objext 2138 CC=$ac_save_CC 2139 2140 fi 2141 2142 case "x$ac_cv_prog_cc_stdc" in 2143 x|xno) 2144 echo "$as_me:$LINENO: result: none needed" >&5 2145 echo "${ECHO_T}none needed" >&6 ;; 2146 *) 2147 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2148 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2149 CC="$CC $ac_cv_prog_cc_stdc" ;; 2150 esac 2151 1646 2152 # Some people use a C++ compiler to compile C. Since we use `exit', 1647 2153 # in C++ we need to declare it. In case someone uses the same compiler … … 1654 2160 _ACEOF 1655 2161 rm -f conftest.$ac_objext 1656 if { (eval echo "$as_me: 1656: \"$ac_compile\"") >&52162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1657 2163 (eval $ac_compile) 2>&5 1658 2164 ac_status=$? 1659 echo "$as_me: 1659: \$? = $ac_status" >&52165 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1660 2166 (exit $ac_status); } && 1661 2167 { ac_try='test -s conftest.$ac_objext' 1662 { (eval echo "$as_me: 1662: \"$ac_try\"") >&52168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1663 2169 (eval $ac_try) 2>&5 1664 2170 ac_status=$? 1665 echo "$as_me: 1665: \$? = $ac_status" >&52171 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1666 2172 (exit $ac_status); }; }; then 1667 2173 for ac_declaration in \ … … 1675 2181 do 1676 2182 cat >conftest.$ac_ext <<_ACEOF 1677 #line 1677 "configure" 1678 #include "confdefs.h" 2183 #line $LINENO "configure" 2184 /* confdefs.h. */ 2185 _ACEOF 2186 cat confdefs.h >>conftest.$ac_ext 2187 cat >>conftest.$ac_ext <<_ACEOF 2188 /* end confdefs.h. */ 1679 2189 #include <stdlib.h> 1680 2190 $ac_declaration … … 1688 2198 _ACEOF 1689 2199 rm -f conftest.$ac_objext 1690 if { (eval echo "$as_me: 1690: \"$ac_compile\"") >&52200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1691 2201 (eval $ac_compile) 2>&5 1692 2202 ac_status=$? 1693 echo "$as_me: 1693: \$? = $ac_status" >&52203 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1694 2204 (exit $ac_status); } && 1695 2205 { ac_try='test -s conftest.$ac_objext' 1696 { (eval echo "$as_me: 1696: \"$ac_try\"") >&52206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1697 2207 (eval $ac_try) 2>&5 1698 2208 ac_status=$? 1699 echo "$as_me: 1699: \$? = $ac_status" >&52209 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1700 2210 (exit $ac_status); }; }; then 1701 2211 : 1702 2212 else 1703 2213 echo "$as_me: failed program was:" >&5 1704 cat conftest.$ac_ext >&5 2214 sed 's/^/| /' conftest.$ac_ext >&5 2215 1705 2216 continue 1706 2217 fi 1707 2218 rm -f conftest.$ac_objext conftest.$ac_ext 1708 2219 cat >conftest.$ac_ext <<_ACEOF 1709 #line 1709 "configure" 1710 #include "confdefs.h" 2220 #line $LINENO "configure" 2221 /* confdefs.h. */ 2222 _ACEOF 2223 cat confdefs.h >>conftest.$ac_ext 2224 cat >>conftest.$ac_ext <<_ACEOF 2225 /* end confdefs.h. */ 1711 2226 $ac_declaration 1712 2227 int … … 1719 2234 _ACEOF 1720 2235 rm -f conftest.$ac_objext 1721 if { (eval echo "$as_me: 1721: \"$ac_compile\"") >&52236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1722 2237 (eval $ac_compile) 2>&5 1723 2238 ac_status=$? 1724 echo "$as_me: 1724: \$? = $ac_status" >&52239 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1725 2240 (exit $ac_status); } && 1726 2241 { ac_try='test -s conftest.$ac_objext' 1727 { (eval echo "$as_me: 1727: \"$ac_try\"") >&52242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1728 2243 (eval $ac_try) 2>&5 1729 2244 ac_status=$? 1730 echo "$as_me: 1730: \$? = $ac_status" >&52245 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1731 2246 (exit $ac_status); }; }; then 1732 2247 break 1733 2248 else 1734 2249 echo "$as_me: failed program was:" >&5 1735 cat conftest.$ac_ext >&5 2250 sed 's/^/| /' conftest.$ac_ext >&5 2251 1736 2252 fi 1737 2253 rm -f conftest.$ac_objext conftest.$ac_ext … … 1746 2262 else 1747 2263 echo "$as_me: failed program was:" >&5 1748 cat conftest.$ac_ext >&5 2264 sed 's/^/| /' conftest.$ac_ext >&5 2265 1749 2266 fi 1750 2267 rm -f conftest.$ac_objext conftest.$ac_ext … … 1765 2282 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1766 2283 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1767 echo "$as_me: 1767: checking for $ac_word" >&52284 echo "$as_me:$LINENO: checking for $ac_word" >&5 1768 2285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1769 2286 if test "${ac_cv_prog_CXX+set}" = set; then … … 1773 2290 ac_cv_prog_CXX="$CXX" # Let the user override the test. 1774 2291 else 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 2292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2293 for as_dir in $PATH 2294 do 2295 IFS=$as_save_IFS 2296 test -z "$as_dir" && as_dir=. 2297 for ac_exec_ext in '' $ac_executable_extensions; do 2298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2299 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2301 break 2 2302 fi 2303 done 1784 2304 done 1785 2305 … … 1788 2308 CXX=$ac_cv_prog_CXX 1789 2309 if test -n "$CXX"; then 1790 echo "$as_me: 1790: result: $CXX" >&52310 echo "$as_me:$LINENO: result: $CXX" >&5 1791 2311 echo "${ECHO_T}$CXX" >&6 1792 2312 else 1793 echo "$as_me: 1793: result: no" >&52313 echo "$as_me:$LINENO: result: no" >&5 1794 2314 echo "${ECHO_T}no" >&6 1795 2315 fi … … 1804 2324 # Extract the first word of "$ac_prog", so it can be a program name with args. 1805 2325 set dummy $ac_prog; ac_word=$2 1806 echo "$as_me: 1806: checking for $ac_word" >&52326 echo "$as_me:$LINENO: checking for $ac_word" >&5 1807 2327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1808 2328 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then … … 1812 2332 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 1813 2333 else 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 2334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2335 for as_dir in $PATH 2336 do 2337 IFS=$as_save_IFS 2338 test -z "$as_dir" && as_dir=. 2339 for ac_exec_ext in '' $ac_executable_extensions; do 2340 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2341 ac_cv_prog_ac_ct_CXX="$ac_prog" 2342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2343 break 2 2344 fi 2345 done 1823 2346 done 1824 2347 … … 1827 2350 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 1828 2351 if test -n "$ac_ct_CXX"; then 1829 echo "$as_me: 1829: result: $ac_ct_CXX" >&52352 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 1830 2353 echo "${ECHO_T}$ac_ct_CXX" >&6 1831 2354 else 1832 echo "$as_me: 1832: result: no" >&52355 echo "$as_me:$LINENO: result: no" >&5 1833 2356 echo "${ECHO_T}no" >&6 1834 2357 fi … … 1841 2364 fi 1842 2365 2366 1843 2367 # Provide some information about the compiler. 1844 echo "$as_me: 1844:" \2368 echo "$as_me:$LINENO:" \ 1845 2369 "checking for C++ compiler version" >&5 1846 2370 ac_compiler=`set X $ac_compile; echo $2` 1847 { (eval echo "$as_me: 1847: \"$ac_compiler --version </dev/null >&5\"") >&52371 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1848 2372 (eval $ac_compiler --version </dev/null >&5) 2>&5 1849 2373 ac_status=$? 1850 echo "$as_me: 1850: \$? = $ac_status" >&52374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1851 2375 (exit $ac_status); } 1852 { (eval echo "$as_me: 1852: \"$ac_compiler -v </dev/null >&5\"") >&52376 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1853 2377 (eval $ac_compiler -v </dev/null >&5) 2>&5 1854 2378 ac_status=$? 1855 echo "$as_me: 1855: \$? = $ac_status" >&52379 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1856 2380 (exit $ac_status); } 1857 { (eval echo "$as_me: 1857: \"$ac_compiler -V </dev/null >&5\"") >&52381 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1858 2382 (eval $ac_compiler -V </dev/null >&5) 2>&5 1859 2383 ac_status=$? 1860 echo "$as_me: 1860: \$? = $ac_status" >&52384 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1861 2385 (exit $ac_status); } 1862 2386 1863 echo "$as_me: 1863: checking whether we are using the GNU C++ compiler" >&52387 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 1864 2388 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 1865 2389 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then … … 1867 2391 else 1868 2392 cat >conftest.$ac_ext <<_ACEOF 1869 #line 1869 "configure" 1870 #include "confdefs.h" 2393 #line $LINENO "configure" 2394 /* confdefs.h. */ 2395 _ACEOF 2396 cat confdefs.h >>conftest.$ac_ext 2397 cat >>conftest.$ac_ext <<_ACEOF 2398 /* end confdefs.h. */ 1871 2399 1872 2400 int … … 1882 2410 _ACEOF 1883 2411 rm -f conftest.$ac_objext 1884 if { (eval echo "$as_me: 1884: \"$ac_compile\"") >&52412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1885 2413 (eval $ac_compile) 2>&5 1886 2414 ac_status=$? 1887 echo "$as_me: 1887: \$? = $ac_status" >&52415 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1888 2416 (exit $ac_status); } && 1889 2417 { ac_try='test -s conftest.$ac_objext' 1890 { (eval echo "$as_me: 1890: \"$ac_try\"") >&52418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1891 2419 (eval $ac_try) 2>&5 1892 2420 ac_status=$? 1893 echo "$as_me: 1893: \$? = $ac_status" >&52421 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1894 2422 (exit $ac_status); }; }; then 1895 2423 ac_compiler_gnu=yes 1896 2424 else 1897 2425 echo "$as_me: failed program was:" >&5 1898 cat conftest.$ac_ext >&5 2426 sed 's/^/| /' conftest.$ac_ext >&5 2427 1899 2428 ac_compiler_gnu=no 1900 2429 fi … … 1903 2432 1904 2433 fi 1905 echo "$as_me: 1905: result: $ac_cv_cxx_compiler_gnu" >&52434 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 1906 2435 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 1907 2436 GXX=`test $ac_compiler_gnu = yes && echo yes` … … 1909 2438 ac_save_CXXFLAGS=$CXXFLAGS 1910 2439 CXXFLAGS="-g" 1911 echo "$as_me: 1911: checking whether $CXX accepts -g" >&52440 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 1912 2441 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 1913 2442 if test "${ac_cv_prog_cxx_g+set}" = set; then … … 1915 2444 else 1916 2445 cat >conftest.$ac_ext <<_ACEOF 1917 #line 1917 "configure" 1918 #include "confdefs.h" 2446 #line $LINENO "configure" 2447 /* confdefs.h. */ 2448 _ACEOF 2449 cat confdefs.h >>conftest.$ac_ext 2450 cat >>conftest.$ac_ext <<_ACEOF 2451 /* end confdefs.h. */ 1919 2452 1920 2453 int … … 1927 2460 _ACEOF 1928 2461 rm -f conftest.$ac_objext 1929 if { (eval echo "$as_me: 1929: \"$ac_compile\"") >&52462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1930 2463 (eval $ac_compile) 2>&5 1931 2464 ac_status=$? 1932 echo "$as_me: 1932: \$? = $ac_status" >&52465 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1933 2466 (exit $ac_status); } && 1934 2467 { ac_try='test -s conftest.$ac_objext' 1935 { (eval echo "$as_me: 1935: \"$ac_try\"") >&52468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1936 2469 (eval $ac_try) 2>&5 1937 2470 ac_status=$? 1938 echo "$as_me: 1938: \$? = $ac_status" >&52471 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1939 2472 (exit $ac_status); }; }; then 1940 2473 ac_cv_prog_cxx_g=yes 1941 2474 else 1942 2475 echo "$as_me: failed program was:" >&5 1943 cat conftest.$ac_ext >&5 2476 sed 's/^/| /' conftest.$ac_ext >&5 2477 1944 2478 ac_cv_prog_cxx_g=no 1945 2479 fi 1946 2480 rm -f conftest.$ac_objext conftest.$ac_ext 1947 2481 fi 1948 echo "$as_me: 1948: result: $ac_cv_prog_cxx_g" >&52482 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 1949 2483 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 1950 2484 if test "$ac_test_CXXFLAGS" = set; then … … 1973 2507 do 1974 2508 cat >conftest.$ac_ext <<_ACEOF 1975 #line 1975 "configure" 1976 #include "confdefs.h" 2509 #line $LINENO "configure" 2510 /* confdefs.h. */ 2511 _ACEOF 2512 cat confdefs.h >>conftest.$ac_ext 2513 cat >>conftest.$ac_ext <<_ACEOF 2514 /* end confdefs.h. */ 1977 2515 #include <stdlib.h> 1978 2516 $ac_declaration … … 1986 2524 _ACEOF 1987 2525 rm -f conftest.$ac_objext 1988 if { (eval echo "$as_me: 1988: \"$ac_compile\"") >&52526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1989 2527 (eval $ac_compile) 2>&5 1990 2528 ac_status=$? 1991 echo "$as_me: 1991: \$? = $ac_status" >&52529 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1992 2530 (exit $ac_status); } && 1993 2531 { ac_try='test -s conftest.$ac_objext' 1994 { (eval echo "$as_me: 1994: \"$ac_try\"") >&52532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1995 2533 (eval $ac_try) 2>&5 1996 2534 ac_status=$? 1997 echo "$as_me: 1997: \$? = $ac_status" >&52535 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1998 2536 (exit $ac_status); }; }; then 1999 2537 : 2000 2538 else 2001 2539 echo "$as_me: failed program was:" >&5 2002 cat conftest.$ac_ext >&5 2540 sed 's/^/| /' conftest.$ac_ext >&5 2541 2003 2542 continue 2004 2543 fi 2005 2544 rm -f conftest.$ac_objext conftest.$ac_ext 2006 2545 cat >conftest.$ac_ext <<_ACEOF 2007 #line 2007 "configure" 2008 #include "confdefs.h" 2546 #line $LINENO "configure" 2547 /* confdefs.h. */ 2548 _ACEOF 2549 cat confdefs.h >>conftest.$ac_ext 2550 cat >>conftest.$ac_ext <<_ACEOF 2551 /* end confdefs.h. */ 2009 2552 $ac_declaration 2010 2553 int … … 2017 2560 _ACEOF 2018 2561 rm -f conftest.$ac_objext 2019 if { (eval echo "$as_me: 2019: \"$ac_compile\"") >&52562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2020 2563 (eval $ac_compile) 2>&5 2021 2564 ac_status=$? 2022 echo "$as_me: 2022: \$? = $ac_status" >&52565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2023 2566 (exit $ac_status); } && 2024 2567 { ac_try='test -s conftest.$ac_objext' 2025 { (eval echo "$as_me: 2025: \"$ac_try\"") >&52568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2026 2569 (eval $ac_try) 2>&5 2027 2570 ac_status=$? 2028 echo "$as_me: 2028: \$? = $ac_status" >&52571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2029 2572 (exit $ac_status); }; }; then 2030 2573 break 2031 2574 else 2032 2575 echo "$as_me: failed program was:" >&5 2033 cat conftest.$ac_ext >&5 2576 sed 's/^/| /' conftest.$ac_ext >&5 2577 2034 2578 fi 2035 2579 rm -f conftest.$ac_objext conftest.$ac_ext … … 2054 2598 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2055 2599 2056 echo "$as_me:2056: checking for pthread_create in -lpthread" >&5 2600 2601 2602 2603 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 2057 2604 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6 2058 2605 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then … … 2062 2609 LIBS="-lpthread $LIBS" 2063 2610 cat >conftest.$ac_ext <<_ACEOF 2064 #line 2064 "configure" 2065 #include "confdefs.h" 2611 #line $LINENO "configure" 2612 /* confdefs.h. */ 2613 _ACEOF 2614 cat confdefs.h >>conftest.$ac_ext 2615 cat >>conftest.$ac_ext <<_ACEOF 2616 /* end confdefs.h. */ 2066 2617 2067 2618 /* Override any gcc2 internal prototype to avoid an error. */ … … 2081 2632 _ACEOF 2082 2633 rm -f conftest.$ac_objext conftest$ac_exeext 2083 if { (eval echo "$as_me: 2083: \"$ac_link\"") >&52634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2084 2635 (eval $ac_link) 2>&5 2085 2636 ac_status=$? 2086 echo "$as_me: 2086: \$? = $ac_status" >&52637 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2087 2638 (exit $ac_status); } && 2088 2639 { ac_try='test -s conftest$ac_exeext' 2089 { (eval echo "$as_me: 2089: \"$ac_try\"") >&52640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2090 2641 (eval $ac_try) 2>&5 2091 2642 ac_status=$? 2092 echo "$as_me: 2092: \$? = $ac_status" >&52643 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2093 2644 (exit $ac_status); }; }; then 2094 2645 ac_cv_lib_pthread_pthread_create=yes 2095 2646 else 2096 2647 echo "$as_me: failed program was:" >&5 2097 cat conftest.$ac_ext >&5 2648 sed 's/^/| /' conftest.$ac_ext >&5 2649 2098 2650 ac_cv_lib_pthread_pthread_create=no 2099 2651 fi … … 2101 2653 LIBS=$ac_check_lib_save_LIBS 2102 2654 fi 2103 echo "$as_me: 2103: result: $ac_cv_lib_pthread_pthread_create" >&52655 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 2104 2656 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6 2105 2657 if test $ac_cv_lib_pthread_pthread_create = yes; then 2106 cat >>confdefs.h << EOF2658 cat >>confdefs.h <<_ACEOF 2107 2659 #define HAVE_LIBPTHREAD 1 2108 EOF2660 _ACEOF 2109 2661 2110 2662 LIBS="-lpthread $LIBS" … … 2112 2664 fi 2113 2665 2114 echo "$as_me:2114: result: Setting PJ_M_NAME to $target_cpu" >&5 2666 2667 echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 2668 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6 2669 if test "${ac_cv_lib_wsock32_puts+set}" = set; then 2670 echo $ECHO_N "(cached) $ECHO_C" >&6 2671 else 2672 ac_check_lib_save_LIBS=$LIBS 2673 LIBS="-lwsock32 $LIBS" 2674 cat >conftest.$ac_ext <<_ACEOF 2675 #line $LINENO "configure" 2676 /* confdefs.h. */ 2677 _ACEOF 2678 cat confdefs.h >>conftest.$ac_ext 2679 cat >>conftest.$ac_ext <<_ACEOF 2680 /* end confdefs.h. */ 2681 2682 /* Override any gcc2 internal prototype to avoid an error. */ 2683 #ifdef __cplusplus 2684 extern "C" 2685 #endif 2686 /* We use char because int might match the return type of a gcc2 2687 builtin and then its argument prototype would still apply. */ 2688 char puts (); 2689 int 2690 main () 2691 { 2692 puts (); 2693 ; 2694 return 0; 2695 } 2696 _ACEOF 2697 rm -f conftest.$ac_objext conftest$ac_exeext 2698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2699 (eval $ac_link) 2>&5 2700 ac_status=$? 2701 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2702 (exit $ac_status); } && 2703 { ac_try='test -s conftest$ac_exeext' 2704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2705 (eval $ac_try) 2>&5 2706 ac_status=$? 2707 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2708 (exit $ac_status); }; }; then 2709 ac_cv_lib_wsock32_puts=yes 2710 else 2711 echo "$as_me: failed program was:" >&5 2712 sed 's/^/| /' conftest.$ac_ext >&5 2713 2714 ac_cv_lib_wsock32_puts=no 2715 fi 2716 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2717 LIBS=$ac_check_lib_save_LIBS 2718 fi 2719 echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&5 2720 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6 2721 if test $ac_cv_lib_wsock32_puts = yes; then 2722 cat >>confdefs.h <<_ACEOF 2723 #define HAVE_LIBWSOCK32 1 2724 _ACEOF 2725 2726 LIBS="-lwsock32 $LIBS" 2727 2728 fi 2729 2730 2731 echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 2732 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6 2733 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 2734 echo $ECHO_N "(cached) $ECHO_C" >&6 2735 else 2736 ac_check_lib_save_LIBS=$LIBS 2737 LIBS="-lws2_32 $LIBS" 2738 cat >conftest.$ac_ext <<_ACEOF 2739 #line $LINENO "configure" 2740 /* confdefs.h. */ 2741 _ACEOF 2742 cat confdefs.h >>conftest.$ac_ext 2743 cat >>conftest.$ac_ext <<_ACEOF 2744 /* end confdefs.h. */ 2745 2746 /* Override any gcc2 internal prototype to avoid an error. */ 2747 #ifdef __cplusplus 2748 extern "C" 2749 #endif 2750 /* We use char because int might match the return type of a gcc2 2751 builtin and then its argument prototype would still apply. */ 2752 char puts (); 2753 int 2754 main () 2755 { 2756 puts (); 2757 ; 2758 return 0; 2759 } 2760 _ACEOF 2761 rm -f conftest.$ac_objext conftest$ac_exeext 2762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2763 (eval $ac_link) 2>&5 2764 ac_status=$? 2765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2766 (exit $ac_status); } && 2767 { ac_try='test -s conftest$ac_exeext' 2768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2769 (eval $ac_try) 2>&5 2770 ac_status=$? 2771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2772 (exit $ac_status); }; }; then 2773 ac_cv_lib_ws2_32_puts=yes 2774 else 2775 echo "$as_me: failed program was:" >&5 2776 sed 's/^/| /' conftest.$ac_ext >&5 2777 2778 ac_cv_lib_ws2_32_puts=no 2779 fi 2780 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2781 LIBS=$ac_check_lib_save_LIBS 2782 fi 2783 echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&5 2784 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6 2785 if test $ac_cv_lib_ws2_32_puts = yes; then 2786 cat >>confdefs.h <<_ACEOF 2787 #define HAVE_LIBWS2_32 1 2788 _ACEOF 2789 2790 LIBS="-lws2_32 $LIBS" 2791 2792 fi 2793 2794 2795 echo "$as_me:$LINENO: checking for puts in -lole32" >&5 2796 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6 2797 if test "${ac_cv_lib_ole32_puts+set}" = set; then 2798 echo $ECHO_N "(cached) $ECHO_C" >&6 2799 else 2800 ac_check_lib_save_LIBS=$LIBS 2801 LIBS="-lole32 $LIBS" 2802 cat >conftest.$ac_ext <<_ACEOF 2803 #line $LINENO "configure" 2804 /* confdefs.h. */ 2805 _ACEOF 2806 cat confdefs.h >>conftest.$ac_ext 2807 cat >>conftest.$ac_ext <<_ACEOF 2808 /* end confdefs.h. */ 2809 2810 /* Override any gcc2 internal prototype to avoid an error. */ 2811 #ifdef __cplusplus 2812 extern "C" 2813 #endif 2814 /* We use char because int might match the return type of a gcc2 2815 builtin and then its argument prototype would still apply. */ 2816 char puts (); 2817 int 2818 main () 2819 { 2820 puts (); 2821 ; 2822 return 0; 2823 } 2824 _ACEOF 2825 rm -f conftest.$ac_objext conftest$ac_exeext 2826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2827 (eval $ac_link) 2>&5 2828 ac_status=$? 2829 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2830 (exit $ac_status); } && 2831 { ac_try='test -s conftest$ac_exeext' 2832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2833 (eval $ac_try) 2>&5 2834 ac_status=$? 2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2836 (exit $ac_status); }; }; then 2837 ac_cv_lib_ole32_puts=yes 2838 else 2839 echo "$as_me: failed program was:" >&5 2840 sed 's/^/| /' conftest.$ac_ext >&5 2841 2842 ac_cv_lib_ole32_puts=no 2843 fi 2844 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2845 LIBS=$ac_check_lib_save_LIBS 2846 fi 2847 echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&5 2848 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6 2849 if test $ac_cv_lib_ole32_puts = yes; then 2850 cat >>confdefs.h <<_ACEOF 2851 #define HAVE_LIBOLE32 1 2852 _ACEOF 2853 2854 LIBS="-lole32 $LIBS" 2855 2856 fi 2857 2858 2859 echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 2860 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6 2861 if test "${ac_cv_lib_winmm_puts+set}" = set; then 2862 echo $ECHO_N "(cached) $ECHO_C" >&6 2863 else 2864 ac_check_lib_save_LIBS=$LIBS 2865 LIBS="-lwinmm $LIBS" 2866 cat >conftest.$ac_ext <<_ACEOF 2867 #line $LINENO "configure" 2868 /* confdefs.h. */ 2869 _ACEOF 2870 cat confdefs.h >>conftest.$ac_ext 2871 cat >>conftest.$ac_ext <<_ACEOF 2872 /* end confdefs.h. */ 2873 2874 /* Override any gcc2 internal prototype to avoid an error. */ 2875 #ifdef __cplusplus 2876 extern "C" 2877 #endif 2878 /* We use char because int might match the return type of a gcc2 2879 builtin and then its argument prototype would still apply. */ 2880 char puts (); 2881 int 2882 main () 2883 { 2884 puts (); 2885 ; 2886 return 0; 2887 } 2888 _ACEOF 2889 rm -f conftest.$ac_objext conftest$ac_exeext 2890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2891 (eval $ac_link) 2>&5 2892 ac_status=$? 2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2894 (exit $ac_status); } && 2895 { ac_try='test -s conftest$ac_exeext' 2896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2897 (eval $ac_try) 2>&5 2898 ac_status=$? 2899 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2900 (exit $ac_status); }; }; then 2901 ac_cv_lib_winmm_puts=yes 2902 else 2903 echo "$as_me: failed program was:" >&5 2904 sed 's/^/| /' conftest.$ac_ext >&5 2905 2906 ac_cv_lib_winmm_puts=no 2907 fi 2908 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2909 LIBS=$ac_check_lib_save_LIBS 2910 fi 2911 echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&5 2912 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6 2913 if test $ac_cv_lib_winmm_puts = yes; then 2914 cat >>confdefs.h <<_ACEOF 2915 #define HAVE_LIBWINMM 1 2916 _ACEOF 2917 2918 LIBS="-lwinmm $LIBS" 2919 2920 fi 2921 2922 2923 echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 2924 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6 2925 if test "${ac_cv_lib_socket_puts+set}" = set; then 2926 echo $ECHO_N "(cached) $ECHO_C" >&6 2927 else 2928 ac_check_lib_save_LIBS=$LIBS 2929 LIBS="-lsocket $LIBS" 2930 cat >conftest.$ac_ext <<_ACEOF 2931 #line $LINENO "configure" 2932 /* confdefs.h. */ 2933 _ACEOF 2934 cat confdefs.h >>conftest.$ac_ext 2935 cat >>conftest.$ac_ext <<_ACEOF 2936 /* end confdefs.h. */ 2937 2938 /* Override any gcc2 internal prototype to avoid an error. */ 2939 #ifdef __cplusplus 2940 extern "C" 2941 #endif 2942 /* We use char because int might match the return type of a gcc2 2943 builtin and then its argument prototype would still apply. */ 2944 char puts (); 2945 int 2946 main () 2947 { 2948 puts (); 2949 ; 2950 return 0; 2951 } 2952 _ACEOF 2953 rm -f conftest.$ac_objext conftest$ac_exeext 2954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2955 (eval $ac_link) 2>&5 2956 ac_status=$? 2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2958 (exit $ac_status); } && 2959 { ac_try='test -s conftest$ac_exeext' 2960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2961 (eval $ac_try) 2>&5 2962 ac_status=$? 2963 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2964 (exit $ac_status); }; }; then 2965 ac_cv_lib_socket_puts=yes 2966 else 2967 echo "$as_me: failed program was:" >&5 2968 sed 's/^/| /' conftest.$ac_ext >&5 2969 2970 ac_cv_lib_socket_puts=no 2971 fi 2972 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2973 LIBS=$ac_check_lib_save_LIBS 2974 fi 2975 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&5 2976 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6 2977 if test $ac_cv_lib_socket_puts = yes; then 2978 cat >>confdefs.h <<_ACEOF 2979 #define HAVE_LIBSOCKET 1 2980 _ACEOF 2981 2982 LIBS="-lsocket $LIBS" 2983 2984 fi 2985 2986 2987 echo "$as_me:$LINENO: checking for puts in -lrt" >&5 2988 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6 2989 if test "${ac_cv_lib_rt_puts+set}" = set; then 2990 echo $ECHO_N "(cached) $ECHO_C" >&6 2991 else 2992 ac_check_lib_save_LIBS=$LIBS 2993 LIBS="-lrt $LIBS" 2994 cat >conftest.$ac_ext <<_ACEOF 2995 #line $LINENO "configure" 2996 /* confdefs.h. */ 2997 _ACEOF 2998 cat confdefs.h >>conftest.$ac_ext 2999 cat >>conftest.$ac_ext <<_ACEOF 3000 /* end confdefs.h. */ 3001 3002 /* Override any gcc2 internal prototype to avoid an error. */ 3003 #ifdef __cplusplus 3004 extern "C" 3005 #endif 3006 /* We use char because int might match the return type of a gcc2 3007 builtin and then its argument prototype would still apply. */ 3008 char puts (); 3009 int 3010 main () 3011 { 3012 puts (); 3013 ; 3014 return 0; 3015 } 3016 _ACEOF 3017 rm -f conftest.$ac_objext conftest$ac_exeext 3018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3019 (eval $ac_link) 2>&5 3020 ac_status=$? 3021 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3022 (exit $ac_status); } && 3023 { ac_try='test -s conftest$ac_exeext' 3024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3025 (eval $ac_try) 2>&5 3026 ac_status=$? 3027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3028 (exit $ac_status); }; }; then 3029 ac_cv_lib_rt_puts=yes 3030 else 3031 echo "$as_me: failed program was:" >&5 3032 sed 's/^/| /' conftest.$ac_ext >&5 3033 3034 ac_cv_lib_rt_puts=no 3035 fi 3036 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3037 LIBS=$ac_check_lib_save_LIBS 3038 fi 3039 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&5 3040 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6 3041 if test $ac_cv_lib_rt_puts = yes; then 3042 cat >>confdefs.h <<_ACEOF 3043 #define HAVE_LIBRT 1 3044 _ACEOF 3045 3046 LIBS="-lrt $LIBS" 3047 3048 fi 3049 3050 3051 echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 3052 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6 3053 if test "${ac_cv_lib_nsl_puts+set}" = set; then 3054 echo $ECHO_N "(cached) $ECHO_C" >&6 3055 else 3056 ac_check_lib_save_LIBS=$LIBS 3057 LIBS="-lnsl $LIBS" 3058 cat >conftest.$ac_ext <<_ACEOF 3059 #line $LINENO "configure" 3060 /* confdefs.h. */ 3061 _ACEOF 3062 cat confdefs.h >>conftest.$ac_ext 3063 cat >>conftest.$ac_ext <<_ACEOF 3064 /* end confdefs.h. */ 3065 3066 /* Override any gcc2 internal prototype to avoid an error. */ 3067 #ifdef __cplusplus 3068 extern "C" 3069 #endif 3070 /* We use char because int might match the return type of a gcc2 3071 builtin and then its argument prototype would still apply. */ 3072 char puts (); 3073 int 3074 main () 3075 { 3076 puts (); 3077 ; 3078 return 0; 3079 } 3080 _ACEOF 3081 rm -f conftest.$ac_objext conftest$ac_exeext 3082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3083 (eval $ac_link) 2>&5 3084 ac_status=$? 3085 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3086 (exit $ac_status); } && 3087 { ac_try='test -s conftest$ac_exeext' 3088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3089 (eval $ac_try) 2>&5 3090 ac_status=$? 3091 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3092 (exit $ac_status); }; }; then 3093 ac_cv_lib_nsl_puts=yes 3094 else 3095 echo "$as_me: failed program was:" >&5 3096 sed 's/^/| /' conftest.$ac_ext >&5 3097 3098 ac_cv_lib_nsl_puts=no 3099 fi 3100 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3101 LIBS=$ac_check_lib_save_LIBS 3102 fi 3103 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&5 3104 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6 3105 if test $ac_cv_lib_nsl_puts = yes; then 3106 cat >>confdefs.h <<_ACEOF 3107 #define HAVE_LIBNSL 1 3108 _ACEOF 3109 3110 LIBS="-lnsl $LIBS" 3111 3112 fi 3113 3114 3115 echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&5 2115 3116 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6 2116 cat >>confdefs.h << EOF3117 cat >>confdefs.h <<_ACEOF 2117 3118 #define PJ_M_NAME "$target_cpu" 2118 EOF 2119 2120 echo "$as_me:2120: checking whether byte ordering is bigendian" >&5 3119 _ACEOF 3120 3121 3122 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 2121 3123 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 2122 3124 if test "${ac_cv_c_bigendian+set}" = set; then 2123 3125 echo $ECHO_N "(cached) $ECHO_C" >&6 2124 3126 else 2125 ac_cv_c_bigendian=unknown 2126 # See if sys/param.h defines the BYTE_ORDER macro. 3127 # See if sys/param.h defines the BYTE_ORDER macro. 2127 3128 cat >conftest.$ac_ext <<_ACEOF 2128 #line 2128 "configure" 2129 #include "confdefs.h" 3129 #line $LINENO "configure" 3130 /* confdefs.h. */ 3131 _ACEOF 3132 cat confdefs.h >>conftest.$ac_ext 3133 cat >>conftest.$ac_ext <<_ACEOF 3134 /* end confdefs.h. */ 2130 3135 #include <sys/types.h> 2131 3136 #include <sys/param.h> … … 2143 3148 _ACEOF 2144 3149 rm -f conftest.$ac_objext 2145 if { (eval echo "$as_me: 2145: \"$ac_compile\"") >&53150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2146 3151 (eval $ac_compile) 2>&5 2147 3152 ac_status=$? 2148 echo "$as_me: 2148: \$? = $ac_status" >&53153 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2149 3154 (exit $ac_status); } && 2150 3155 { ac_try='test -s conftest.$ac_objext' 2151 { (eval echo "$as_me: 2151: \"$ac_try\"") >&53156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2152 3157 (eval $ac_try) 2>&5 2153 3158 ac_status=$? 2154 echo "$as_me: 2154: \$? = $ac_status" >&53159 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2155 3160 (exit $ac_status); }; }; then 2156 3161 # It does; now see whether it defined to BIG_ENDIAN or not. 2157 3162 cat >conftest.$ac_ext <<_ACEOF 2158 #line 2158 "configure" 2159 #include "confdefs.h" 3163 #line $LINENO "configure" 3164 /* confdefs.h. */ 3165 _ACEOF 3166 cat confdefs.h >>conftest.$ac_ext 3167 cat >>conftest.$ac_ext <<_ACEOF 3168 /* end confdefs.h. */ 2160 3169 #include <sys/types.h> 2161 3170 #include <sys/param.h> … … 2173 3182 _ACEOF 2174 3183 rm -f conftest.$ac_objext 2175 if { (eval echo "$as_me: 2175: \"$ac_compile\"") >&53184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2176 3185 (eval $ac_compile) 2>&5 2177 3186 ac_status=$? 2178 echo "$as_me: 2178: \$? = $ac_status" >&53187 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2179 3188 (exit $ac_status); } && 2180 3189 { ac_try='test -s conftest.$ac_objext' 2181 { (eval echo "$as_me: 2181: \"$ac_try\"") >&53190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2182 3191 (eval $ac_try) 2>&5 2183 3192 ac_status=$? 2184 echo "$as_me: 2184: \$? = $ac_status" >&53193 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2185 3194 (exit $ac_status); }; }; then 2186 3195 ac_cv_c_bigendian=yes 2187 3196 else 2188 3197 echo "$as_me: failed program was:" >&5 2189 cat conftest.$ac_ext >&5 3198 sed 's/^/| /' conftest.$ac_ext >&5 3199 2190 3200 ac_cv_c_bigendian=no 2191 3201 fi … … 2193 3203 else 2194 3204 echo "$as_me: failed program was:" >&5 2195 cat conftest.$ac_ext >&5 3205 sed 's/^/| /' conftest.$ac_ext >&5 3206 3207 # It does not; compile a test program. 3208 if test "$cross_compiling" = yes; then 3209 # try to guess the endianness by grepping values into an object file 3210 ac_cv_c_bigendian=unknown 3211 cat >conftest.$ac_ext <<_ACEOF 3212 #line $LINENO "configure" 3213 /* confdefs.h. */ 3214 _ACEOF 3215 cat confdefs.h >>conftest.$ac_ext 3216 cat >>conftest.$ac_ext <<_ACEOF 3217 /* end confdefs.h. */ 3218 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 3219 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 3220 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 3221 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 3222 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 3223 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 3224 int 3225 main () 3226 { 3227 _ascii (); _ebcdic (); 3228 ; 3229 return 0; 3230 } 3231 _ACEOF 3232 rm -f conftest.$ac_objext 3233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3234 (eval $ac_compile) 2>&5 3235 ac_status=$? 3236 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3237 (exit $ac_status); } && 3238 { ac_try='test -s conftest.$ac_objext' 3239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3240 (eval $ac_try) 2>&5 3241 ac_status=$? 3242 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3243 (exit $ac_status); }; }; then 3244 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 3245 ac_cv_c_bigendian=yes 3246 fi 3247 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 3248 if test "$ac_cv_c_bigendian" = unknown; then 3249 ac_cv_c_bigendian=no 3250 else 3251 # finding both strings is unlikely to happen, but who knows? 3252 ac_cv_c_bigendian=unknown 3253 fi 3254 fi 3255 else 3256 echo "$as_me: failed program was:" >&5 3257 sed 's/^/| /' conftest.$ac_ext >&5 3258 2196 3259 fi 2197 3260 rm -f conftest.$ac_objext conftest.$ac_ext 2198 if test $ac_cv_c_bigendian = unknown; then2199 if test "$cross_compiling" = yes; then2200 { { echo "$as_me:2200: error: cannot run test program while cross compiling" >&52201 echo "$as_me: error: cannot run test program while cross compiling" >&2;}2202 { (exit 1); exit 1; }; }2203 3261 else 2204 3262 cat >conftest.$ac_ext <<_ACEOF 2205 #line 2205 "configure" 2206 #include "confdefs.h" 3263 #line $LINENO "configure" 3264 /* confdefs.h. */ 3265 _ACEOF 3266 cat confdefs.h >>conftest.$ac_ext 3267 cat >>conftest.$ac_ext <<_ACEOF 3268 /* end confdefs.h. */ 2207 3269 int 2208 3270 main () … … 2219 3281 _ACEOF 2220 3282 rm -f conftest$ac_exeext 2221 if { (eval echo "$as_me: 2221: \"$ac_link\"") >&53283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2222 3284 (eval $ac_link) 2>&5 2223 3285 ac_status=$? 2224 echo "$as_me: 2224: \$? = $ac_status" >&53286 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2225 3287 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 2226 { (eval echo "$as_me: 2226: \"$ac_try\"") >&53288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2227 3289 (eval $ac_try) 2>&5 2228 3290 ac_status=$? 2229 echo "$as_me: 2229: \$? = $ac_status" >&53291 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2230 3292 (exit $ac_status); }; }; then 2231 3293 ac_cv_c_bigendian=no … … 2233 3295 echo "$as_me: program exited with status $ac_status" >&5 2234 3296 echo "$as_me: failed program was:" >&5 2235 cat conftest.$ac_ext >&5 3297 sed 's/^/| /' conftest.$ac_ext >&5 3298 3299 ( exit $ac_status ) 2236 3300 ac_cv_c_bigendian=yes 2237 3301 fi 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 3302 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3303 fi 3304 fi 3305 rm -f conftest.$ac_objext conftest.$ac_ext 3306 fi 3307 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 2243 3308 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 2244 if test $ac_cv_c_bigendian = yes; then 2245 2246 cat >>confdefs.h <<\EOF 3309 case $ac_cv_c_bigendian in 3310 yes) 3311 3312 cat >>confdefs.h <<\_ACEOF 2247 3313 #define WORDS_BIGENDIAN 1 2248 EOF 2249 2250 fi 3314 _ACEOF 3315 ;; 3316 no) 3317 ;; 3318 *) 3319 { { echo "$as_me:$LINENO: error: unknown endianness 3320 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 3321 echo "$as_me: error: unknown endianness 3322 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 3323 { (exit 1); exit 1; }; } ;; 3324 esac 3325 3326 3327 case $target in 3328 *mingw* | *cygw* | *win32* | *w32* ) 3329 cat >>confdefs.h <<\_ACEOF 3330 #define PJ_WIN32 1 3331 _ACEOF 3332 3333 cat >>confdefs.h <<\_ACEOF 3334 #define PJ_WIN32_WINNT 0x0400 3335 _ACEOF 3336 3337 cat >>confdefs.h <<\_ACEOF 3338 #define WIN32_LEAN_AND_MEAN 1 3339 _ACEOF 3340 3341 ;; 3342 *darwin*) 3343 cat >>confdefs.h <<\_ACEOF 3344 #define PJ_DARWINOS 1 3345 _ACEOF 3346 3347 ;; 3348 *linux*) 3349 cat >>confdefs.h <<\_ACEOF 3350 #define PJ_LINUX 1 3351 _ACEOF 3352 3353 ;; 3354 *rtems*) 3355 cat >>confdefs.h <<\_ACEOF 3356 #define PJ_RTEMS 1 3357 _ACEOF 3358 3359 ;; 3360 *sunos* | *solaris* ) 3361 cat >>confdefs.h <<\_ACEOF 3362 #define PJ_SUNOS 1 3363 _ACEOF 3364 3365 ;; 3366 *) 3367 ;; 3368 esac 3369 3370 3371 2251 3372 2252 3373 # Check whether --enable-floating-point or --disable-floating-point was given. … … 2254 3375 enableval="$enable_floating_point" 2255 3376 if test "$enable_floating_point" = "no"; then 2256 cat >>confdefs.h <<\ EOF3377 cat >>confdefs.h <<\_ACEOF 2257 3378 #define PJ_HAS_FLOATING_POINT 0 2258 EOF2259 2260 echo "$as_me: 2260: result: Checking if floating point is disabled... yes" >&53379 _ACEOF 3380 3381 echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 2261 3382 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6 2262 3383 fi 2263 3384 else 2264 3385 2265 cat >>confdefs.h <<\ EOF3386 cat >>confdefs.h <<\_ACEOF 2266 3387 #define PJ_HAS_FLOATING_POINT 1 2267 EOF2268 2269 echo "$as_me: 2269: result: Checking if floating point is disabled... no" >&53388 _ACEOF 3389 3390 echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 2270 3391 echo "${ECHO_T}Checking if floating point is disabled... no" >&6 2271 3392 2272 echo "$as_me: 2272: checking for fmod in -lm" >&53393 echo "$as_me:$LINENO: checking for fmod in -lm" >&5 2273 3394 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6 2274 3395 if test "${ac_cv_lib_m_fmod+set}" = set; then … … 2278 3399 LIBS="-lm $LIBS" 2279 3400 cat >conftest.$ac_ext <<_ACEOF 2280 #line 2280 "configure" 2281 #include "confdefs.h" 3401 #line $LINENO "configure" 3402 /* confdefs.h. */ 3403 _ACEOF 3404 cat confdefs.h >>conftest.$ac_ext 3405 cat >>conftest.$ac_ext <<_ACEOF 3406 /* end confdefs.h. */ 2282 3407 2283 3408 /* Override any gcc2 internal prototype to avoid an error. */ … … 2297 3422 _ACEOF 2298 3423 rm -f conftest.$ac_objext conftest$ac_exeext 2299 if { (eval echo "$as_me: 2299: \"$ac_link\"") >&53424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2300 3425 (eval $ac_link) 2>&5 2301 3426 ac_status=$? 2302 echo "$as_me: 2302: \$? = $ac_status" >&53427 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2303 3428 (exit $ac_status); } && 2304 3429 { ac_try='test -s conftest$ac_exeext' 2305 { (eval echo "$as_me: 2305: \"$ac_try\"") >&53430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2306 3431 (eval $ac_try) 2>&5 2307 3432 ac_status=$? 2308 echo "$as_me: 2308: \$? = $ac_status" >&53433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2309 3434 (exit $ac_status); }; }; then 2310 3435 ac_cv_lib_m_fmod=yes 2311 3436 else 2312 3437 echo "$as_me: failed program was:" >&5 2313 cat conftest.$ac_ext >&5 3438 sed 's/^/| /' conftest.$ac_ext >&5 3439 2314 3440 ac_cv_lib_m_fmod=no 2315 3441 fi … … 2317 3443 LIBS=$ac_check_lib_save_LIBS 2318 3444 fi 2319 echo "$as_me: 2319: result: $ac_cv_lib_m_fmod" >&53445 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5 2320 3446 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6 2321 3447 if test $ac_cv_lib_m_fmod = yes; then 2322 cat >>confdefs.h << EOF3448 cat >>confdefs.h <<_ACEOF 2323 3449 #define HAVE_LIBM 1 2324 EOF3450 _ACEOF 2325 3451 2326 3452 LIBS="-lm $LIBS" … … 2328 3454 fi 2329 3455 3456 2330 3457 fi; 3458 2331 3459 2332 3460 ac_ext=c … … 2335 3463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2336 3464 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2337 echo "$as_me: 2337: checking how to run the C preprocessor" >&53465 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 2338 3466 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 2339 3467 # On Suns, sometimes $CPP names a directory. … … 2356 3484 # not just through cpp. "Syntax error" is here to catch this case. 2357 3485 cat >conftest.$ac_ext <<_ACEOF 2358 #line 2358 "configure" 2359 #include "confdefs.h" 3486 #line $LINENO "configure" 3487 /* confdefs.h. */ 3488 _ACEOF 3489 cat confdefs.h >>conftest.$ac_ext 3490 cat >>conftest.$ac_ext <<_ACEOF 3491 /* end confdefs.h. */ 2360 3492 #include <assert.h> 2361 3493 Syntax error 2362 3494 _ACEOF 2363 if { (eval echo "$as_me: 2363: \"$ac_cpp conftest.$ac_ext\"") >&53495 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2364 3496 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2365 3497 ac_status=$? 2366 egrep -v '^ *\+' conftest.er1 >conftest.err3498 grep -v '^ *+' conftest.er1 >conftest.err 2367 3499 rm -f conftest.er1 2368 3500 cat conftest.err >&5 2369 echo "$as_me: 2369: \$? = $ac_status" >&53501 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2370 3502 (exit $ac_status); } >/dev/null; then 2371 3503 if test -s conftest.err; then … … 2381 3513 else 2382 3514 echo "$as_me: failed program was:" >&5 2383 cat conftest.$ac_ext >&5 3515 sed 's/^/| /' conftest.$ac_ext >&5 3516 2384 3517 # Broken: fails on valid input. 2385 3518 continue … … 2390 3523 # can be detected and how. 2391 3524 cat >conftest.$ac_ext <<_ACEOF 2392 #line 2392 "configure" 2393 #include "confdefs.h" 3525 #line $LINENO "configure" 3526 /* confdefs.h. */ 3527 _ACEOF 3528 cat confdefs.h >>conftest.$ac_ext 3529 cat >>conftest.$ac_ext <<_ACEOF 3530 /* end confdefs.h. */ 2394 3531 #include <ac_nonexistent.h> 2395 3532 _ACEOF 2396 if { (eval echo "$as_me: 2396: \"$ac_cpp conftest.$ac_ext\"") >&53533 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2397 3534 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2398 3535 ac_status=$? 2399 egrep -v '^ *\+' conftest.er1 >conftest.err3536 grep -v '^ *+' conftest.er1 >conftest.err 2400 3537 rm -f conftest.er1 2401 3538 cat conftest.err >&5 2402 echo "$as_me: 2402: \$? = $ac_status" >&53539 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2403 3540 (exit $ac_status); } >/dev/null; then 2404 3541 if test -s conftest.err; then … … 2415 3552 else 2416 3553 echo "$as_me: failed program was:" >&5 2417 cat conftest.$ac_ext >&5 3554 sed 's/^/| /' conftest.$ac_ext >&5 3555 2418 3556 # Passes both tests. 2419 3557 ac_preproc_ok=: … … 2437 3575 ac_cv_prog_CPP=$CPP 2438 3576 fi 2439 echo "$as_me: 2439: result: $CPP" >&53577 echo "$as_me:$LINENO: result: $CPP" >&5 2440 3578 echo "${ECHO_T}$CPP" >&6 2441 3579 ac_preproc_ok=false … … 2447 3585 # not just through cpp. "Syntax error" is here to catch this case. 2448 3586 cat >conftest.$ac_ext <<_ACEOF 2449 #line 2449 "configure" 2450 #include "confdefs.h" 3587 #line $LINENO "configure" 3588 /* confdefs.h. */ 3589 _ACEOF 3590 cat confdefs.h >>conftest.$ac_ext 3591 cat >>conftest.$ac_ext <<_ACEOF 3592 /* end confdefs.h. */ 2451 3593 #include <assert.h> 2452 3594 Syntax error 2453 3595 _ACEOF 2454 if { (eval echo "$as_me: 2454: \"$ac_cpp conftest.$ac_ext\"") >&53596 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2455 3597 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2456 3598 ac_status=$? 2457 egrep -v '^ *\+' conftest.er1 >conftest.err3599 grep -v '^ *+' conftest.er1 >conftest.err 2458 3600 rm -f conftest.er1 2459 3601 cat conftest.err >&5 2460 echo "$as_me: 2460: \$? = $ac_status" >&53602 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2461 3603 (exit $ac_status); } >/dev/null; then 2462 3604 if test -s conftest.err; then … … 2472 3614 else 2473 3615 echo "$as_me: failed program was:" >&5 2474 cat conftest.$ac_ext >&5 3616 sed 's/^/| /' conftest.$ac_ext >&5 3617 2475 3618 # Broken: fails on valid input. 2476 3619 continue … … 2481 3624 # can be detected and how. 2482 3625 cat >conftest.$ac_ext <<_ACEOF 2483 #line 2483 "configure" 2484 #include "confdefs.h" 3626 #line $LINENO "configure" 3627 /* confdefs.h. */ 3628 _ACEOF 3629 cat confdefs.h >>conftest.$ac_ext 3630 cat >>conftest.$ac_ext <<_ACEOF 3631 /* end confdefs.h. */ 2485 3632 #include <ac_nonexistent.h> 2486 3633 _ACEOF 2487 if { (eval echo "$as_me: 2487: \"$ac_cpp conftest.$ac_ext\"") >&53634 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2488 3635 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2489 3636 ac_status=$? 2490 egrep -v '^ *\+' conftest.er1 >conftest.err3637 grep -v '^ *+' conftest.er1 >conftest.err 2491 3638 rm -f conftest.er1 2492 3639 cat conftest.err >&5 2493 echo "$as_me: 2493: \$? = $ac_status" >&53640 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2494 3641 (exit $ac_status); } >/dev/null; then 2495 3642 if test -s conftest.err; then … … 2506 3653 else 2507 3654 echo "$as_me: failed program was:" >&5 2508 cat conftest.$ac_ext >&5 3655 sed 's/^/| /' conftest.$ac_ext >&5 3656 2509 3657 # Passes both tests. 2510 3658 ac_preproc_ok=: … … 2519 3667 : 2520 3668 else 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;} 3669 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3670 See \`config.log' for more details." >&5 3671 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3672 See \`config.log' for more details." >&2;} 2523 3673 { (exit 1); exit 1; }; } 2524 3674 fi … … 2530 3680 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2531 3681 2532 echo "$as_me:2532: checking for arpa/inet.h" >&5 3682 3683 echo "$as_me:$LINENO: checking for egrep" >&5 3684 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3685 if test "${ac_cv_prog_egrep+set}" = set; then 3686 echo $ECHO_N "(cached) $ECHO_C" >&6 3687 else 3688 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3689 then ac_cv_prog_egrep='grep -E' 3690 else ac_cv_prog_egrep='egrep' 3691 fi 3692 fi 3693 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3694 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3695 EGREP=$ac_cv_prog_egrep 3696 3697 3698 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3699 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3700 if test "${ac_cv_header_stdc+set}" = set; then 3701 echo $ECHO_N "(cached) $ECHO_C" >&6 3702 else 3703 cat >conftest.$ac_ext <<_ACEOF 3704 #line $LINENO "configure" 3705 /* confdefs.h. */ 3706 _ACEOF 3707 cat confdefs.h >>conftest.$ac_ext 3708 cat >>conftest.$ac_ext <<_ACEOF 3709 /* end confdefs.h. */ 3710 #include <stdlib.h> 3711 #include <stdarg.h> 3712 #include <string.h> 3713 #include <float.h> 3714 3715 int 3716 main () 3717 { 3718 3719 ; 3720 return 0; 3721 } 3722 _ACEOF 3723 rm -f conftest.$ac_objext 3724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3725 (eval $ac_compile) 2>&5 3726 ac_status=$? 3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3728 (exit $ac_status); } && 3729 { ac_try='test -s conftest.$ac_objext' 3730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3731 (eval $ac_try) 2>&5 3732 ac_status=$? 3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3734 (exit $ac_status); }; }; then 3735 ac_cv_header_stdc=yes 3736 else 3737 echo "$as_me: failed program was:" >&5 3738 sed 's/^/| /' conftest.$ac_ext >&5 3739 3740 ac_cv_header_stdc=no 3741 fi 3742 rm -f conftest.$ac_objext conftest.$ac_ext 3743 3744 if test $ac_cv_header_stdc = yes; then 3745 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3746 cat >conftest.$ac_ext <<_ACEOF 3747 #line $LINENO "configure" 3748 /* confdefs.h. */ 3749 _ACEOF 3750 cat confdefs.h >>conftest.$ac_ext 3751 cat >>conftest.$ac_ext <<_ACEOF 3752 /* end confdefs.h. */ 3753 #include <string.h> 3754 3755 _ACEOF 3756 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3757 $EGREP "memchr" >/dev/null 2>&1; then 3758 : 3759 else 3760 ac_cv_header_stdc=no 3761 fi 3762 rm -f conftest* 3763 3764 fi 3765 3766 if test $ac_cv_header_stdc = yes; then 3767 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3768 cat >conftest.$ac_ext <<_ACEOF 3769 #line $LINENO "configure" 3770 /* confdefs.h. */ 3771 _ACEOF 3772 cat confdefs.h >>conftest.$ac_ext 3773 cat >>conftest.$ac_ext <<_ACEOF 3774 /* end confdefs.h. */ 3775 #include <stdlib.h> 3776 3777 _ACEOF 3778 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3779 $EGREP "free" >/dev/null 2>&1; then 3780 : 3781 else 3782 ac_cv_header_stdc=no 3783 fi 3784 rm -f conftest* 3785 3786 fi 3787 3788 if test $ac_cv_header_stdc = yes; then 3789 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3790 if test "$cross_compiling" = yes; then 3791 : 3792 else 3793 cat >conftest.$ac_ext <<_ACEOF 3794 #line $LINENO "configure" 3795 /* confdefs.h. */ 3796 _ACEOF 3797 cat confdefs.h >>conftest.$ac_ext 3798 cat >>conftest.$ac_ext <<_ACEOF 3799 /* end confdefs.h. */ 3800 #include <ctype.h> 3801 #if ((' ' & 0x0FF) == 0x020) 3802 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3803 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3804 #else 3805 # define ISLOWER(c) \ 3806 (('a' <= (c) && (c) <= 'i') \ 3807 || ('j' <= (c) && (c) <= 'r') \ 3808 || ('s' <= (c) && (c) <= 'z')) 3809 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3810 #endif 3811 3812 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3813 int 3814 main () 3815 { 3816 int i; 3817 for (i = 0; i < 256; i++) 3818 if (XOR (islower (i), ISLOWER (i)) 3819 || toupper (i) != TOUPPER (i)) 3820 exit(2); 3821 exit (0); 3822 } 3823 _ACEOF 3824 rm -f conftest$ac_exeext 3825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3826 (eval $ac_link) 2>&5 3827 ac_status=$? 3828 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3829 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3831 (eval $ac_try) 2>&5 3832 ac_status=$? 3833 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3834 (exit $ac_status); }; }; then 3835 : 3836 else 3837 echo "$as_me: program exited with status $ac_status" >&5 3838 echo "$as_me: failed program was:" >&5 3839 sed 's/^/| /' conftest.$ac_ext >&5 3840 3841 ( exit $ac_status ) 3842 ac_cv_header_stdc=no 3843 fi 3844 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3845 fi 3846 fi 3847 fi 3848 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3849 echo "${ECHO_T}$ac_cv_header_stdc" >&6 3850 if test $ac_cv_header_stdc = yes; then 3851 3852 cat >>confdefs.h <<\_ACEOF 3853 #define STDC_HEADERS 1 3854 _ACEOF 3855 3856 fi 3857 3858 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3869 inttypes.h stdint.h unistd.h 3870 do 3871 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3872 echo "$as_me:$LINENO: checking for $ac_header" >&5 3873 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3874 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3875 echo $ECHO_N "(cached) $ECHO_C" >&6 3876 else 3877 cat >conftest.$ac_ext <<_ACEOF 3878 #line $LINENO "configure" 3879 /* confdefs.h. */ 3880 _ACEOF 3881 cat confdefs.h >>conftest.$ac_ext 3882 cat >>conftest.$ac_ext <<_ACEOF 3883 /* end confdefs.h. */ 3884 $ac_includes_default 3885 3886 #include <$ac_header> 3887 _ACEOF 3888 rm -f conftest.$ac_objext 3889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3890 (eval $ac_compile) 2>&5 3891 ac_status=$? 3892 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3893 (exit $ac_status); } && 3894 { ac_try='test -s conftest.$ac_objext' 3895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3896 (eval $ac_try) 2>&5 3897 ac_status=$? 3898 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3899 (exit $ac_status); }; }; then 3900 eval "$as_ac_Header=yes" 3901 else 3902 echo "$as_me: failed program was:" >&5 3903 sed 's/^/| /' conftest.$ac_ext >&5 3904 3905 eval "$as_ac_Header=no" 3906 fi 3907 rm -f conftest.$ac_objext conftest.$ac_ext 3908 fi 3909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3910 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3911 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3912 cat >>confdefs.h <<_ACEOF 3913 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3914 _ACEOF 3915 3916 fi 3917 3918 done 3919 3920 3921 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 3922 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 2533 3923 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 2534 3924 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 2535 3925 echo $ECHO_N "(cached) $ECHO_C" >&6 2536 else 2537 cat >conftest.$ac_ext <<_ACEOF 2538 #line 2538 "configure" 2539 #include "confdefs.h" 3926 fi 3927 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 3928 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 3929 else 3930 # Is the header compilable? 3931 echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 3932 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6 3933 cat >conftest.$ac_ext <<_ACEOF 3934 #line $LINENO "configure" 3935 /* confdefs.h. */ 3936 _ACEOF 3937 cat confdefs.h >>conftest.$ac_ext 3938 cat >>conftest.$ac_ext <<_ACEOF 3939 /* end confdefs.h. */ 3940 $ac_includes_default 2540 3941 #include <arpa/inet.h> 2541 3942 _ACEOF 2542 if { (eval echo "$as_me:2542: \"$ac_cpp conftest.$ac_ext\"") >&5 3943 rm -f conftest.$ac_objext 3944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3945 (eval $ac_compile) 2>&5 3946 ac_status=$? 3947 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3948 (exit $ac_status); } && 3949 { ac_try='test -s conftest.$ac_objext' 3950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3951 (eval $ac_try) 2>&5 3952 ac_status=$? 3953 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3954 (exit $ac_status); }; }; then 3955 ac_header_compiler=yes 3956 else 3957 echo "$as_me: failed program was:" >&5 3958 sed 's/^/| /' conftest.$ac_ext >&5 3959 3960 ac_header_compiler=no 3961 fi 3962 rm -f conftest.$ac_objext conftest.$ac_ext 3963 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3964 echo "${ECHO_T}$ac_header_compiler" >&6 3965 3966 # Is the header present? 3967 echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 3968 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6 3969 cat >conftest.$ac_ext <<_ACEOF 3970 #line $LINENO "configure" 3971 /* confdefs.h. */ 3972 _ACEOF 3973 cat confdefs.h >>conftest.$ac_ext 3974 cat >>conftest.$ac_ext <<_ACEOF 3975 /* end confdefs.h. */ 3976 #include <arpa/inet.h> 3977 _ACEOF 3978 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2543 3979 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2544 3980 ac_status=$? 2545 egrep -v '^ *\+' conftest.er1 >conftest.err3981 grep -v '^ *+' conftest.er1 >conftest.err 2546 3982 rm -f conftest.er1 2547 3983 cat conftest.err >&5 2548 echo "$as_me: 2548: \$? = $ac_status" >&53984 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2549 3985 (exit $ac_status); } >/dev/null; then 2550 3986 if test -s conftest.err; then … … 2557 3993 fi 2558 3994 if test -z "$ac_cpp_err"; then 2559 ac_ cv_header_arpa_inet_h=yes3995 ac_header_preproc=yes 2560 3996 else 2561 3997 echo "$as_me: failed program was:" >&5 2562 cat conftest.$ac_ext >&5 2563 ac_cv_header_arpa_inet_h=no 3998 sed 's/^/| /' conftest.$ac_ext >&5 3999 4000 ac_header_preproc=no 2564 4001 fi 2565 4002 rm -f conftest.err conftest.$ac_ext 2566 fi 2567 echo "$as_me:2567: result: $ac_cv_header_arpa_inet_h" >&5 4003 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4004 echo "${ECHO_T}$ac_header_preproc" >&6 4005 4006 # So? What about this header? 4007 case $ac_header_compiler:$ac_header_preproc in 4008 yes:no ) 4009 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 4010 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4011 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 4012 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 4013 ( 4014 cat <<\_ASBOX 4015 ## ------------------------------------ ## 4016 ## Report this to bug-autoconf@gnu.org. ## 4017 ## ------------------------------------ ## 4018 _ASBOX 4019 ) | 4020 sed "s/^/$as_me: WARNING: /" >&2 4021 ;; 4022 no:yes ) 4023 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 4024 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 4025 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5 4026 echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;} 4027 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 4028 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 4029 ( 4030 cat <<\_ASBOX 4031 ## ------------------------------------ ## 4032 ## Report this to bug-autoconf@gnu.org. ## 4033 ## ------------------------------------ ## 4034 _ASBOX 4035 ) | 4036 sed "s/^/$as_me: WARNING: /" >&2 4037 ;; 4038 esac 4039 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 4040 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 4041 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 4042 echo $ECHO_N "(cached) $ECHO_C" >&6 4043 else 4044 ac_cv_header_arpa_inet_h=$ac_header_preproc 4045 fi 4046 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 2568 4047 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 4048 4049 fi 2569 4050 if test $ac_cv_header_arpa_inet_h = yes; then 2570 cat >>confdefs.h <<\ EOF4051 cat >>confdefs.h <<\_ACEOF 2571 4052 #define PJ_HAS_ARPA_INET_H 1 2572 EOF 2573 2574 fi 2575 2576 echo "$as_me:2576: checking for assert.h" >&5 4053 _ACEOF 4054 4055 fi 4056 4057 4058 if test "${ac_cv_header_assert_h+set}" = set; then 4059 echo "$as_me:$LINENO: checking for assert.h" >&5 2577 4060 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6 2578 4061 if test "${ac_cv_header_assert_h+set}" = set; then 2579 4062 echo $ECHO_N "(cached) $ECHO_C" >&6 2580 else 2581 cat >conftest.$ac_ext <<_ACEOF 2582 #line 2582 "configure" 2583 #include "confdefs.h" 4063 fi 4064 echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 4065 echo "${ECHO_T}$ac_cv_header_assert_h" >&6 4066 else 4067 # Is the header compilable? 4068 echo "$as_me:$LINENO: checking assert.h usability" >&5 4069 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6 4070 cat >conftest.$ac_ext <<_ACEOF 4071 #line $LINENO "configure" 4072 /* confdefs.h. */ 4073 _ACEOF 4074 cat confdefs.h >>conftest.$ac_ext 4075 cat >>conftest.$ac_ext <<_ACEOF 4076 /* end confdefs.h. */ 4077 $ac_includes_default 2584 4078 #include <assert.h> 2585 4079 _ACEOF 2586 if { (eval echo "$as_me:2586: \"$ac_cpp conftest.$ac_ext\"") >&5 4080 rm -f conftest.$ac_objext 4081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4082 (eval $ac_compile) 2>&5 4083 ac_status=$? 4084 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4085 (exit $ac_status); } && 4086 { ac_try='test -s conftest.$ac_objext' 4087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4088 (eval $ac_try) 2>&5 4089 ac_status=$? 4090 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4091 (exit $ac_status); }; }; then 4092 ac_header_compiler=yes 4093 else 4094 echo "$as_me: failed program was:" >&5 4095 sed 's/^/| /' conftest.$ac_ext >&5 4096 4097 ac_header_compiler=no 4098 fi 4099 rm -f conftest.$ac_objext conftest.$ac_ext 4100 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4101 echo "${ECHO_T}$ac_header_compiler" >&6 4102 4103 # Is the header present? 4104 echo "$as_me:$LINENO: checking assert.h presence" >&5 4105 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6 4106 cat >conftest.$ac_ext <<_ACEOF 4107 #line $LINENO "configure" 4108 /* confdefs.h. */ 4109 _ACEOF 4110 cat confdefs.h >>conftest.$ac_ext 4111 cat >>conftest.$ac_ext <<_ACEOF 4112 /* end confdefs.h. */ 4113 #include <assert.h> 4114 _ACEOF 4115 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2587 4116 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2588 4117 ac_status=$? 2589 egrep -v '^ *\+' conftest.er1 >conftest.err4118 grep -v '^ *+' conftest.er1 >conftest.err 2590 4119 rm -f conftest.er1 2591 4120 cat conftest.err >&5 2592 echo "$as_me: 2592: \$? = $ac_status" >&54121 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2593 4122 (exit $ac_status); } >/dev/null; then 2594 4123 if test -s conftest.err; then … … 2601 4130 fi 2602 4131 if test -z "$ac_cpp_err"; then 2603 ac_ cv_header_assert_h=yes4132 ac_header_preproc=yes 2604 4133 else 2605 4134 echo "$as_me: failed program was:" >&5 2606 cat conftest.$ac_ext >&5 2607 ac_cv_header_assert_h=no 4135 sed 's/^/| /' conftest.$ac_ext >&5 4136 4137 ac_header_preproc=no 2608 4138 fi 2609 4139 rm -f conftest.err conftest.$ac_ext 2610 fi 2611 echo "$as_me:2611: result: $ac_cv_header_assert_h" >&5 4140 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4141 echo "${ECHO_T}$ac_header_preproc" >&6 4142 4143 # So? What about this header? 4144 case $ac_header_compiler:$ac_header_preproc in 4145 yes:no ) 4146 { echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5 4147 echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4148 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result" >&5 4149 echo "$as_me: WARNING: assert.h: proceeding with the preprocessor's result" >&2;} 4150 ( 4151 cat <<\_ASBOX 4152 ## ------------------------------------ ## 4153 ## Report this to bug-autoconf@gnu.org. ## 4154 ## ------------------------------------ ## 4155 _ASBOX 4156 ) | 4157 sed "s/^/$as_me: WARNING: /" >&2 4158 ;; 4159 no:yes ) 4160 { echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5 4161 echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;} 4162 { echo "$as_me:$LINENO: WARNING: assert.h: check for missing prerequisite headers?" >&5 4163 echo "$as_me: WARNING: assert.h: check for missing prerequisite headers?" >&2;} 4164 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result" >&5 4165 echo "$as_me: WARNING: assert.h: proceeding with the preprocessor's result" >&2;} 4166 ( 4167 cat <<\_ASBOX 4168 ## ------------------------------------ ## 4169 ## Report this to bug-autoconf@gnu.org. ## 4170 ## ------------------------------------ ## 4171 _ASBOX 4172 ) | 4173 sed "s/^/$as_me: WARNING: /" >&2 4174 ;; 4175 esac 4176 echo "$as_me:$LINENO: checking for assert.h" >&5 4177 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6 4178 if test "${ac_cv_header_assert_h+set}" = set; then 4179 echo $ECHO_N "(cached) $ECHO_C" >&6 4180 else 4181 ac_cv_header_assert_h=$ac_header_preproc 4182 fi 4183 echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 2612 4184 echo "${ECHO_T}$ac_cv_header_assert_h" >&6 4185 4186 fi 2613 4187 if test $ac_cv_header_assert_h = yes; then 2614 cat >>confdefs.h <<\ EOF4188 cat >>confdefs.h <<\_ACEOF 2615 4189 #define PJ_HAS_ASSERT_H 1 2616 EOF 2617 2618 fi 2619 2620 echo "$as_me:2620: checking for ctype.h" >&5 4190 _ACEOF 4191 4192 fi 4193 4194 4195 if test "${ac_cv_header_ctype_h+set}" = set; then 4196 echo "$as_me:$LINENO: checking for ctype.h" >&5 2621 4197 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6 2622 4198 if test "${ac_cv_header_ctype_h+set}" = set; then 2623 4199 echo $ECHO_N "(cached) $ECHO_C" >&6 2624 else 2625 cat >conftest.$ac_ext <<_ACEOF 2626 #line 2626 "configure" 2627 #include "confdefs.h" 4200 fi 4201 echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 4202 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6 4203 else 4204 # Is the header compilable? 4205 echo "$as_me:$LINENO: checking ctype.h usability" >&5 4206 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6 4207 cat >conftest.$ac_ext <<_ACEOF 4208 #line $LINENO "configure" 4209 /* confdefs.h. */ 4210 _ACEOF 4211 cat confdefs.h >>conftest.$ac_ext 4212 cat >>conftest.$ac_ext <<_ACEOF 4213 /* end confdefs.h. */ 4214 $ac_includes_default 2628 4215 #include <ctype.h> 2629 4216 _ACEOF 2630 if { (eval echo "$as_me:2630: \"$ac_cpp conftest.$ac_ext\"") >&5 4217 rm -f conftest.$ac_objext 4218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4219 (eval $ac_compile) 2>&5 4220 ac_status=$? 4221 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4222 (exit $ac_status); } && 4223 { ac_try='test -s conftest.$ac_objext' 4224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4225 (eval $ac_try) 2>&5 4226 ac_status=$? 4227 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4228 (exit $ac_status); }; }; then 4229 ac_header_compiler=yes 4230 else 4231 echo "$as_me: failed program was:" >&5 4232 sed 's/^/| /' conftest.$ac_ext >&5 4233 4234 ac_header_compiler=no 4235 fi 4236 rm -f conftest.$ac_objext conftest.$ac_ext 4237 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4238 echo "${ECHO_T}$ac_header_compiler" >&6 4239 4240 # Is the header present? 4241 echo "$as_me:$LINENO: checking ctype.h presence" >&5 4242 echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6 4243 cat >conftest.$ac_ext <<_ACEOF 4244 #line $LINENO "configure" 4245 /* confdefs.h. */ 4246 _ACEOF 4247 cat confdefs.h >>conftest.$ac_ext 4248 cat >>conftest.$ac_ext <<_ACEOF 4249 /* end confdefs.h. */ 4250 #include <ctype.h> 4251 _ACEOF 4252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2631 4253 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2632 4254 ac_status=$? 2633 egrep -v '^ *\+' conftest.er1 >conftest.err4255 grep -v '^ *+' conftest.er1 >conftest.err 2634 4256 rm -f conftest.er1 2635 4257 cat conftest.err >&5 2636 echo "$as_me: 2636: \$? = $ac_status" >&54258 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2637 4259 (exit $ac_status); } >/dev/null; then 2638 4260 if test -s conftest.err; then … … 2645 4267 fi 2646 4268 if test -z "$ac_cpp_err"; then 2647 ac_ cv_header_ctype_h=yes4269 ac_header_preproc=yes 2648 4270 else 2649 4271 echo "$as_me: failed program was:" >&5 2650 cat conftest.$ac_ext >&5 2651 ac_cv_header_ctype_h=no 4272 sed 's/^/| /' conftest.$ac_ext >&5 4273 4274 ac_header_preproc=no 2652 4275 fi 2653 4276 rm -f conftest.err conftest.$ac_ext 2654 fi 2655 echo "$as_me:2655: result: $ac_cv_header_ctype_h" >&5 4277 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4278 echo "${ECHO_T}$ac_header_preproc" >&6 4279 4280 # So? What about this header? 4281 case $ac_header_compiler:$ac_header_preproc in 4282 yes:no ) 4283 { echo "$as_me:$LINENO: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&5 4284 echo "$as_me: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4285 { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the preprocessor's result" >&5 4286 echo "$as_me: WARNING: ctype.h: proceeding with the preprocessor's result" >&2;} 4287 ( 4288 cat <<\_ASBOX 4289 ## ------------------------------------ ## 4290 ## Report this to bug-autoconf@gnu.org. ## 4291 ## ------------------------------------ ## 4292 _ASBOX 4293 ) | 4294 sed "s/^/$as_me: WARNING: /" >&2 4295 ;; 4296 no:yes ) 4297 { echo "$as_me:$LINENO: WARNING: ctype.h: present but cannot be compiled" >&5 4298 echo "$as_me: WARNING: ctype.h: present but cannot be compiled" >&2;} 4299 { echo "$as_me:$LINENO: WARNING: ctype.h: check for missing prerequisite headers?" >&5 4300 echo "$as_me: WARNING: ctype.h: check for missing prerequisite headers?" >&2;} 4301 { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the preprocessor's result" >&5 4302 echo "$as_me: WARNING: ctype.h: proceeding with the preprocessor's result" >&2;} 4303 ( 4304 cat <<\_ASBOX 4305 ## ------------------------------------ ## 4306 ## Report this to bug-autoconf@gnu.org. ## 4307 ## ------------------------------------ ## 4308 _ASBOX 4309 ) | 4310 sed "s/^/$as_me: WARNING: /" >&2 4311 ;; 4312 esac 4313 echo "$as_me:$LINENO: checking for ctype.h" >&5 4314 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6 4315 if test "${ac_cv_header_ctype_h+set}" = set; then 4316 echo $ECHO_N "(cached) $ECHO_C" >&6 4317 else 4318 ac_cv_header_ctype_h=$ac_header_preproc 4319 fi 4320 echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 2656 4321 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6 4322 4323 fi 2657 4324 if test $ac_cv_header_ctype_h = yes; then 2658 cat >>confdefs.h <<\ EOF4325 cat >>confdefs.h <<\_ACEOF 2659 4326 #define PJ_HAS_CTYPE_H 1 2660 EOF 2661 2662 fi 2663 2664 echo "$as_me:2664: checking for errno.h" >&5 4327 _ACEOF 4328 4329 fi 4330 4331 4332 4333 case $target in 4334 *mingw* | *cygw* | *win32* | *w32* ) 4335 cat >>confdefs.h <<\_ACEOF 4336 #define PJ_HAS_ERRNO_H 0 4337 _ACEOF 4338 4339 ;; 4340 *) 4341 if test "${ac_cv_header_errno_h+set}" = set; then 4342 echo "$as_me:$LINENO: checking for errno.h" >&5 2665 4343 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6 2666 4344 if test "${ac_cv_header_errno_h+set}" = set; then 2667 4345 echo $ECHO_N "(cached) $ECHO_C" >&6 2668 else 2669 cat >conftest.$ac_ext <<_ACEOF 2670 #line 2670 "configure" 2671 #include "confdefs.h" 4346 fi 4347 echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 4348 echo "${ECHO_T}$ac_cv_header_errno_h" >&6 4349 else 4350 # Is the header compilable? 4351 echo "$as_me:$LINENO: checking errno.h usability" >&5 4352 echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6 4353 cat >conftest.$ac_ext <<_ACEOF 4354 #line $LINENO "configure" 4355 /* confdefs.h. */ 4356 _ACEOF 4357 cat confdefs.h >>conftest.$ac_ext 4358 cat >>conftest.$ac_ext <<_ACEOF 4359 /* end confdefs.h. */ 4360 $ac_includes_default 2672 4361 #include <errno.h> 2673 4362 _ACEOF 2674 if { (eval echo "$as_me:2674: \"$ac_cpp conftest.$ac_ext\"") >&5 4363 rm -f conftest.$ac_objext 4364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4365 (eval $ac_compile) 2>&5 4366 ac_status=$? 4367 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4368 (exit $ac_status); } && 4369 { ac_try='test -s conftest.$ac_objext' 4370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4371 (eval $ac_try) 2>&5 4372 ac_status=$? 4373 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4374 (exit $ac_status); }; }; then 4375 ac_header_compiler=yes 4376 else 4377 echo "$as_me: failed program was:" >&5 4378 sed 's/^/| /' conftest.$ac_ext >&5 4379 4380 ac_header_compiler=no 4381 fi 4382 rm -f conftest.$ac_objext conftest.$ac_ext 4383 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4384 echo "${ECHO_T}$ac_header_compiler" >&6 4385 4386 # Is the header present? 4387 echo "$as_me:$LINENO: checking errno.h presence" >&5 4388 echo $ECHO_N "checking errno.h presence... $ECHO_C" >&6 4389 cat >conftest.$ac_ext <<_ACEOF 4390 #line $LINENO "configure" 4391 /* confdefs.h. */ 4392 _ACEOF 4393 cat confdefs.h >>conftest.$ac_ext 4394 cat >>conftest.$ac_ext <<_ACEOF 4395 /* end confdefs.h. */ 4396 #include <errno.h> 4397 _ACEOF 4398 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2675 4399 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2676 4400 ac_status=$? 2677 egrep -v '^ *\+' conftest.er1 >conftest.err4401 grep -v '^ *+' conftest.er1 >conftest.err 2678 4402 rm -f conftest.er1 2679 4403 cat conftest.err >&5 2680 echo "$as_me: 2680: \$? = $ac_status" >&54404 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2681 4405 (exit $ac_status); } >/dev/null; then 2682 4406 if test -s conftest.err; then … … 2689 4413 fi 2690 4414 if test -z "$ac_cpp_err"; then 2691 ac_ cv_header_errno_h=yes4415 ac_header_preproc=yes 2692 4416 else 2693 4417 echo "$as_me: failed program was:" >&5 2694 cat conftest.$ac_ext >&5 2695 ac_cv_header_errno_h=no 4418 sed 's/^/| /' conftest.$ac_ext >&5 4419 4420 ac_header_preproc=no 2696 4421 fi 2697 4422 rm -f conftest.err conftest.$ac_ext 2698 fi 2699 echo "$as_me:2699: result: $ac_cv_header_errno_h" >&5 4423 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4424 echo "${ECHO_T}$ac_header_preproc" >&6 4425 4426 # So? What about this header? 4427 case $ac_header_compiler:$ac_header_preproc in 4428 yes:no ) 4429 { echo "$as_me:$LINENO: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&5 4430 echo "$as_me: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4431 { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5 4432 echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;} 4433 ( 4434 cat <<\_ASBOX 4435 ## ------------------------------------ ## 4436 ## Report this to bug-autoconf@gnu.org. ## 4437 ## ------------------------------------ ## 4438 _ASBOX 4439 ) | 4440 sed "s/^/$as_me: WARNING: /" >&2 4441 ;; 4442 no:yes ) 4443 { echo "$as_me:$LINENO: WARNING: errno.h: present but cannot be compiled" >&5 4444 echo "$as_me: WARNING: errno.h: present but cannot be compiled" >&2;} 4445 { echo "$as_me:$LINENO: WARNING: errno.h: check for missing prerequisite headers?" >&5 4446 echo "$as_me: WARNING: errno.h: check for missing prerequisite headers?" >&2;} 4447 { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5 4448 echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;} 4449 ( 4450 cat <<\_ASBOX 4451 ## ------------------------------------ ## 4452 ## Report this to bug-autoconf@gnu.org. ## 4453 ## ------------------------------------ ## 4454 _ASBOX 4455 ) | 4456 sed "s/^/$as_me: WARNING: /" >&2 4457 ;; 4458 esac 4459 echo "$as_me:$LINENO: checking for errno.h" >&5 4460 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6 4461 if test "${ac_cv_header_errno_h+set}" = set; then 4462 echo $ECHO_N "(cached) $ECHO_C" >&6 4463 else 4464 ac_cv_header_errno_h=$ac_header_preproc 4465 fi 4466 echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 2700 4467 echo "${ECHO_T}$ac_cv_header_errno_h" >&6 4468 4469 fi 2701 4470 if test $ac_cv_header_errno_h = yes; then 2702 cat >>confdefs.h <<\ EOF4471 cat >>confdefs.h <<\_ACEOF 2703 4472 #define PJ_HAS_ERRNO_H 1 2704 EOF 2705 2706 fi 2707 2708 echo "$as_me:2708: checking for linux/socket.h" >&5 4473 _ACEOF 4474 4475 fi 4476 4477 4478 ;; 4479 esac 4480 4481 if test "${ac_cv_header_linux_socket_h+set}" = set; then 4482 echo "$as_me:$LINENO: checking for linux/socket.h" >&5 2709 4483 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6 2710 4484 if test "${ac_cv_header_linux_socket_h+set}" = set; then 2711 4485 echo $ECHO_N "(cached) $ECHO_C" >&6 2712 else 2713 cat >conftest.$ac_ext <<_ACEOF 2714 #line 2714 "configure" 2715 #include "confdefs.h" 4486 fi 4487 echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 4488 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6 4489 else 4490 # Is the header compilable? 4491 echo "$as_me:$LINENO: checking linux/socket.h usability" >&5 4492 echo $ECHO_N "checking linux/socket.h usability... $ECHO_C" >&6 4493 cat >conftest.$ac_ext <<_ACEOF 4494 #line $LINENO "configure" 4495 /* confdefs.h. */ 4496 _ACEOF 4497 cat confdefs.h >>conftest.$ac_ext 4498 cat >>conftest.$ac_ext <<_ACEOF 4499 /* end confdefs.h. */ 4500 $ac_includes_default 2716 4501 #include <linux/socket.h> 2717 4502 _ACEOF 2718 if { (eval echo "$as_me:2718: \"$ac_cpp conftest.$ac_ext\"") >&5 4503 rm -f conftest.$ac_objext 4504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4505 (eval $ac_compile) 2>&5 4506 ac_status=$? 4507 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4508 (exit $ac_status); } && 4509 { ac_try='test -s conftest.$ac_objext' 4510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4511 (eval $ac_try) 2>&5 4512 ac_status=$? 4513 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4514 (exit $ac_status); }; }; then 4515 ac_header_compiler=yes 4516 else 4517 echo "$as_me: failed program was:" >&5 4518 sed 's/^/| /' conftest.$ac_ext >&5 4519 4520 ac_header_compiler=no 4521 fi 4522 rm -f conftest.$ac_objext conftest.$ac_ext 4523 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4524 echo "${ECHO_T}$ac_header_compiler" >&6 4525 4526 # Is the header present? 4527 echo "$as_me:$LINENO: checking linux/socket.h presence" >&5 4528 echo $ECHO_N "checking linux/socket.h presence... $ECHO_C" >&6 4529 cat >conftest.$ac_ext <<_ACEOF 4530 #line $LINENO "configure" 4531 /* confdefs.h. */ 4532 _ACEOF 4533 cat confdefs.h >>conftest.$ac_ext 4534 cat >>conftest.$ac_ext <<_ACEOF 4535 /* end confdefs.h. */ 4536 #include <linux/socket.h> 4537 _ACEOF 4538 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2719 4539 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2720 4540 ac_status=$? 2721 egrep -v '^ *\+' conftest.er1 >conftest.err4541 grep -v '^ *+' conftest.er1 >conftest.err 2722 4542 rm -f conftest.er1 2723 4543 cat conftest.err >&5 2724 echo "$as_me: 2724: \$? = $ac_status" >&54544 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2725 4545 (exit $ac_status); } >/dev/null; then 2726 4546 if test -s conftest.err; then … … 2733 4553 fi 2734 4554 if test -z "$ac_cpp_err"; then 2735 ac_ cv_header_linux_socket_h=yes4555 ac_header_preproc=yes 2736 4556 else 2737 4557 echo "$as_me: failed program was:" >&5 2738 cat conftest.$ac_ext >&5 2739 ac_cv_header_linux_socket_h=no 4558 sed 's/^/| /' conftest.$ac_ext >&5 4559 4560 ac_header_preproc=no 2740 4561 fi 2741 4562 rm -f conftest.err conftest.$ac_ext 2742 fi 2743 echo "$as_me:2743: result: $ac_cv_header_linux_socket_h" >&5 4563 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4564 echo "${ECHO_T}$ac_header_preproc" >&6 4565 4566 # So? What about this header? 4567 case $ac_header_compiler:$ac_header_preproc in 4568 yes:no ) 4569 { echo "$as_me:$LINENO: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 4570 echo "$as_me: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4571 { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&5 4572 echo "$as_me: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&2;} 4573 ( 4574 cat <<\_ASBOX 4575 ## ------------------------------------ ## 4576 ## Report this to bug-autoconf@gnu.org. ## 4577 ## ------------------------------------ ## 4578 _ASBOX 4579 ) | 4580 sed "s/^/$as_me: WARNING: /" >&2 4581 ;; 4582 no:yes ) 4583 { echo "$as_me:$LINENO: WARNING: linux/socket.h: present but cannot be compiled" >&5 4584 echo "$as_me: WARNING: linux/socket.h: present but cannot be compiled" >&2;} 4585 { echo "$as_me:$LINENO: WARNING: linux/socket.h: check for missing prerequisite headers?" >&5 4586 echo "$as_me: WARNING: linux/socket.h: check for missing prerequisite headers?" >&2;} 4587 { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&5 4588 echo "$as_me: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&2;} 4589 ( 4590 cat <<\_ASBOX 4591 ## ------------------------------------ ## 4592 ## Report this to bug-autoconf@gnu.org. ## 4593 ## ------------------------------------ ## 4594 _ASBOX 4595 ) | 4596 sed "s/^/$as_me: WARNING: /" >&2 4597 ;; 4598 esac 4599 echo "$as_me:$LINENO: checking for linux/socket.h" >&5 4600 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6 4601 if test "${ac_cv_header_linux_socket_h+set}" = set; then 4602 echo $ECHO_N "(cached) $ECHO_C" >&6 4603 else 4604 ac_cv_header_linux_socket_h=$ac_header_preproc 4605 fi 4606 echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 2744 4607 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6 4608 4609 fi 2745 4610 if test $ac_cv_header_linux_socket_h = yes; then 2746 cat >>confdefs.h <<\ EOF4611 cat >>confdefs.h <<\_ACEOF 2747 4612 #define PJ_HAS_LINUX_SOCKET_H 1 2748 EOF 2749 2750 fi 2751 2752 echo "$as_me:2752: checking for malloc.h" >&5 4613 _ACEOF 4614 4615 fi 4616 4617 4618 if test "${ac_cv_header_malloc_h+set}" = set; then 4619 echo "$as_me:$LINENO: checking for malloc.h" >&5 2753 4620 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6 2754 4621 if test "${ac_cv_header_malloc_h+set}" = set; then 2755 4622 echo $ECHO_N "(cached) $ECHO_C" >&6 2756 else 2757 cat >conftest.$ac_ext <<_ACEOF 2758 #line 2758 "configure" 2759 #include "confdefs.h" 4623 fi 4624 echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 4625 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6 4626 else 4627 # Is the header compilable? 4628 echo "$as_me:$LINENO: checking malloc.h usability" >&5 4629 echo $ECHO_N "checking malloc.h usability... $ECHO_C" >&6 4630 cat >conftest.$ac_ext <<_ACEOF 4631 #line $LINENO "configure" 4632 /* confdefs.h. */ 4633 _ACEOF 4634 cat confdefs.h >>conftest.$ac_ext 4635 cat >>conftest.$ac_ext <<_ACEOF 4636 /* end confdefs.h. */ 4637 $ac_includes_default 2760 4638 #include <malloc.h> 2761 4639 _ACEOF 2762 if { (eval echo "$as_me:2762: \"$ac_cpp conftest.$ac_ext\"") >&5 4640 rm -f conftest.$ac_objext 4641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4642 (eval $ac_compile) 2>&5 4643 ac_status=$? 4644 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4645 (exit $ac_status); } && 4646 { ac_try='test -s conftest.$ac_objext' 4647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4648 (eval $ac_try) 2>&5 4649 ac_status=$? 4650 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4651 (exit $ac_status); }; }; then 4652 ac_header_compiler=yes 4653 else 4654 echo "$as_me: failed program was:" >&5 4655 sed 's/^/| /' conftest.$ac_ext >&5 4656 4657 ac_header_compiler=no 4658 fi 4659 rm -f conftest.$ac_objext conftest.$ac_ext 4660 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4661 echo "${ECHO_T}$ac_header_compiler" >&6 4662 4663 # Is the header present? 4664 echo "$as_me:$LINENO: checking malloc.h presence" >&5 4665 echo $ECHO_N "checking malloc.h presence... $ECHO_C" >&6 4666 cat >conftest.$ac_ext <<_ACEOF 4667 #line $LINENO "configure" 4668 /* confdefs.h. */ 4669 _ACEOF 4670 cat confdefs.h >>conftest.$ac_ext 4671 cat >>conftest.$ac_ext <<_ACEOF 4672 /* end confdefs.h. */ 4673 #include <malloc.h> 4674 _ACEOF 4675 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2763 4676 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2764 4677 ac_status=$? 2765 egrep -v '^ *\+' conftest.er1 >conftest.err4678 grep -v '^ *+' conftest.er1 >conftest.err 2766 4679 rm -f conftest.er1 2767 4680 cat conftest.err >&5 2768 echo "$as_me: 2768: \$? = $ac_status" >&54681 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2769 4682 (exit $ac_status); } >/dev/null; then 2770 4683 if test -s conftest.err; then … … 2777 4690 fi 2778 4691 if test -z "$ac_cpp_err"; then 2779 ac_ cv_header_malloc_h=yes4692 ac_header_preproc=yes 2780 4693 else 2781 4694 echo "$as_me: failed program was:" >&5 2782 cat conftest.$ac_ext >&5 2783 ac_cv_header_malloc_h=no 4695 sed 's/^/| /' conftest.$ac_ext >&5 4696 4697 ac_header_preproc=no 2784 4698 fi 2785 4699 rm -f conftest.err conftest.$ac_ext 2786 fi 2787 echo "$as_me:2787: result: $ac_cv_header_malloc_h" >&5 4700 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4701 echo "${ECHO_T}$ac_header_preproc" >&6 4702 4703 # So? What about this header? 4704 case $ac_header_compiler:$ac_header_preproc in 4705 yes:no ) 4706 { echo "$as_me:$LINENO: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 4707 echo "$as_me: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4708 { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5 4709 echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;} 4710 ( 4711 cat <<\_ASBOX 4712 ## ------------------------------------ ## 4713 ## Report this to bug-autoconf@gnu.org. ## 4714 ## ------------------------------------ ## 4715 _ASBOX 4716 ) | 4717 sed "s/^/$as_me: WARNING: /" >&2 4718 ;; 4719 no:yes ) 4720 { echo "$as_me:$LINENO: WARNING: malloc.h: present but cannot be compiled" >&5 4721 echo "$as_me: WARNING: malloc.h: present but cannot be compiled" >&2;} 4722 { echo "$as_me:$LINENO: WARNING: malloc.h: check for missing prerequisite headers?" >&5 4723 echo "$as_me: WARNING: malloc.h: check for missing prerequisite headers?" >&2;} 4724 { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5 4725 echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;} 4726 ( 4727 cat <<\_ASBOX 4728 ## ------------------------------------ ## 4729 ## Report this to bug-autoconf@gnu.org. ## 4730 ## ------------------------------------ ## 4731 _ASBOX 4732 ) | 4733 sed "s/^/$as_me: WARNING: /" >&2 4734 ;; 4735 esac 4736 echo "$as_me:$LINENO: checking for malloc.h" >&5 4737 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6 4738 if test "${ac_cv_header_malloc_h+set}" = set; then 4739 echo $ECHO_N "(cached) $ECHO_C" >&6 4740 else 4741 ac_cv_header_malloc_h=$ac_header_preproc 4742 fi 4743 echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 2788 4744 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6 4745 4746 fi 2789 4747 if test $ac_cv_header_malloc_h = yes; then 2790 cat >>confdefs.h <<\ EOF4748 cat >>confdefs.h <<\_ACEOF 2791 4749 #define PJ_HAS_MALLOC_H 1 2792 EOF 2793 2794 fi 2795 2796 echo "$as_me:2796: checking for netdb.h" >&5 4750 _ACEOF 4751 4752 fi 4753 4754 4755 if test "${ac_cv_header_netdb_h+set}" = set; then 4756 echo "$as_me:$LINENO: checking for netdb.h" >&5 2797 4757 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6 2798 4758 if test "${ac_cv_header_netdb_h+set}" = set; then 2799 4759 echo $ECHO_N "(cached) $ECHO_C" >&6 2800 else 2801 cat >conftest.$ac_ext <<_ACEOF 2802 #line 2802 "configure" 2803 #include "confdefs.h" 4760 fi 4761 echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 4762 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6 4763 else 4764 # Is the header compilable? 4765 echo "$as_me:$LINENO: checking netdb.h usability" >&5 4766 echo $ECHO_N "checking netdb.h usability... $ECHO_C" >&6 4767 cat >conftest.$ac_ext <<_ACEOF 4768 #line $LINENO "configure" 4769 /* confdefs.h. */ 4770 _ACEOF 4771 cat confdefs.h >>conftest.$ac_ext 4772 cat >>conftest.$ac_ext <<_ACEOF 4773 /* end confdefs.h. */ 4774 $ac_includes_default 2804 4775 #include <netdb.h> 2805 4776 _ACEOF 2806 if { (eval echo "$as_me:2806: \"$ac_cpp conftest.$ac_ext\"") >&5 4777 rm -f conftest.$ac_objext 4778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4779 (eval $ac_compile) 2>&5 4780 ac_status=$? 4781 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4782 (exit $ac_status); } && 4783 { ac_try='test -s conftest.$ac_objext' 4784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4785 (eval $ac_try) 2>&5 4786 ac_status=$? 4787 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4788 (exit $ac_status); }; }; then 4789 ac_header_compiler=yes 4790 else 4791 echo "$as_me: failed program was:" >&5 4792 sed 's/^/| /' conftest.$ac_ext >&5 4793 4794 ac_header_compiler=no 4795 fi 4796 rm -f conftest.$ac_objext conftest.$ac_ext 4797 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4798 echo "${ECHO_T}$ac_header_compiler" >&6 4799 4800 # Is the header present? 4801 echo "$as_me:$LINENO: checking netdb.h presence" >&5 4802 echo $ECHO_N "checking netdb.h presence... $ECHO_C" >&6 4803 cat >conftest.$ac_ext <<_ACEOF 4804 #line $LINENO "configure" 4805 /* confdefs.h. */ 4806 _ACEOF 4807 cat confdefs.h >>conftest.$ac_ext 4808 cat >>conftest.$ac_ext <<_ACEOF 4809 /* end confdefs.h. */ 4810 #include <netdb.h> 4811 _ACEOF 4812 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2807 4813 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2808 4814 ac_status=$? 2809 egrep -v '^ *\+' conftest.er1 >conftest.err4815 grep -v '^ *+' conftest.er1 >conftest.err 2810 4816 rm -f conftest.er1 2811 4817 cat conftest.err >&5 2812 echo "$as_me: 2812: \$? = $ac_status" >&54818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2813 4819 (exit $ac_status); } >/dev/null; then 2814 4820 if test -s conftest.err; then … … 2821 4827 fi 2822 4828 if test -z "$ac_cpp_err"; then 2823 ac_ cv_header_netdb_h=yes4829 ac_header_preproc=yes 2824 4830 else 2825 4831 echo "$as_me: failed program was:" >&5 2826 cat conftest.$ac_ext >&5 2827 ac_cv_header_netdb_h=no 4832 sed 's/^/| /' conftest.$ac_ext >&5 4833 4834 ac_header_preproc=no 2828 4835 fi 2829 4836 rm -f conftest.err conftest.$ac_ext 2830 fi 2831 echo "$as_me:2831: result: $ac_cv_header_netdb_h" >&5 4837 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4838 echo "${ECHO_T}$ac_header_preproc" >&6 4839 4840 # So? What about this header? 4841 case $ac_header_compiler:$ac_header_preproc in 4842 yes:no ) 4843 { echo "$as_me:$LINENO: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&5 4844 echo "$as_me: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4845 { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the preprocessor's result" >&5 4846 echo "$as_me: WARNING: netdb.h: proceeding with the preprocessor's result" >&2;} 4847 ( 4848 cat <<\_ASBOX 4849 ## ------------------------------------ ## 4850 ## Report this to bug-autoconf@gnu.org. ## 4851 ## ------------------------------------ ## 4852 _ASBOX 4853 ) | 4854 sed "s/^/$as_me: WARNING: /" >&2 4855 ;; 4856 no:yes ) 4857 { echo "$as_me:$LINENO: WARNING: netdb.h: present but cannot be compiled" >&5 4858 echo "$as_me: WARNING: netdb.h: present but cannot be compiled" >&2;} 4859 { echo "$as_me:$LINENO: WARNING: netdb.h: check for missing prerequisite headers?" >&5 4860 echo "$as_me: WARNING: netdb.h: check for missing prerequisite headers?" >&2;} 4861 { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the preprocessor's result" >&5 4862 echo "$as_me: WARNING: netdb.h: proceeding with the preprocessor's result" >&2;} 4863 ( 4864 cat <<\_ASBOX 4865 ## ------------------------------------ ## 4866 ## Report this to bug-autoconf@gnu.org. ## 4867 ## ------------------------------------ ## 4868 _ASBOX 4869 ) | 4870 sed "s/^/$as_me: WARNING: /" >&2 4871 ;; 4872 esac 4873 echo "$as_me:$LINENO: checking for netdb.h" >&5 4874 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6 4875 if test "${ac_cv_header_netdb_h+set}" = set; then 4876 echo $ECHO_N "(cached) $ECHO_C" >&6 4877 else 4878 ac_cv_header_netdb_h=$ac_header_preproc 4879 fi 4880 echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 2832 4881 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6 4882 4883 fi 2833 4884 if test $ac_cv_header_netdb_h = yes; then 2834 cat >>confdefs.h <<\ EOF4885 cat >>confdefs.h <<\_ACEOF 2835 4886 #define PJ_HAS_NETDB_H 1 2836 EOF 2837 2838 fi 2839 2840 echo "$as_me:2840: checking for netinet/in.h" >&5 4887 _ACEOF 4888 4889 fi 4890 4891 4892 if test "${ac_cv_header_netinet_in_h+set}" = set; then 4893 echo "$as_me:$LINENO: checking for netinet/in.h" >&5 2841 4894 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 2842 4895 if test "${ac_cv_header_netinet_in_h+set}" = set; then 2843 4896 echo $ECHO_N "(cached) $ECHO_C" >&6 2844 else 2845 cat >conftest.$ac_ext <<_ACEOF 2846 #line 2846 "configure" 2847 #include "confdefs.h" 4897 fi 4898 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 4899 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 4900 else 4901 # Is the header compilable? 4902 echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 4903 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6 4904 cat >conftest.$ac_ext <<_ACEOF 4905 #line $LINENO "configure" 4906 /* confdefs.h. */ 4907 _ACEOF 4908 cat confdefs.h >>conftest.$ac_ext 4909 cat >>conftest.$ac_ext <<_ACEOF 4910 /* end confdefs.h. */ 4911 $ac_includes_default 2848 4912 #include <netinet/in.h> 2849 4913 _ACEOF 2850 if { (eval echo "$as_me:2850: \"$ac_cpp conftest.$ac_ext\"") >&5 4914 rm -f conftest.$ac_objext 4915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4916 (eval $ac_compile) 2>&5 4917 ac_status=$? 4918 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4919 (exit $ac_status); } && 4920 { ac_try='test -s conftest.$ac_objext' 4921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4922 (eval $ac_try) 2>&5 4923 ac_status=$? 4924 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4925 (exit $ac_status); }; }; then 4926 ac_header_compiler=yes 4927 else 4928 echo "$as_me: failed program was:" >&5 4929 sed 's/^/| /' conftest.$ac_ext >&5 4930 4931 ac_header_compiler=no 4932 fi 4933 rm -f conftest.$ac_objext conftest.$ac_ext 4934 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4935 echo "${ECHO_T}$ac_header_compiler" >&6 4936 4937 # Is the header present? 4938 echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 4939 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6 4940 cat >conftest.$ac_ext <<_ACEOF 4941 #line $LINENO "configure" 4942 /* confdefs.h. */ 4943 _ACEOF 4944 cat confdefs.h >>conftest.$ac_ext 4945 cat >>conftest.$ac_ext <<_ACEOF 4946 /* end confdefs.h. */ 4947 #include <netinet/in.h> 4948 _ACEOF 4949 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2851 4950 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2852 4951 ac_status=$? 2853 egrep -v '^ *\+' conftest.er1 >conftest.err4952 grep -v '^ *+' conftest.er1 >conftest.err 2854 4953 rm -f conftest.er1 2855 4954 cat conftest.err >&5 2856 echo "$as_me: 2856: \$? = $ac_status" >&54955 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2857 4956 (exit $ac_status); } >/dev/null; then 2858 4957 if test -s conftest.err; then … … 2865 4964 fi 2866 4965 if test -z "$ac_cpp_err"; then 2867 ac_ cv_header_netinet_in_h=yes4966 ac_header_preproc=yes 2868 4967 else 2869 4968 echo "$as_me: failed program was:" >&5 2870 cat conftest.$ac_ext >&5 2871 ac_cv_header_netinet_in_h=no 4969 sed 's/^/| /' conftest.$ac_ext >&5 4970 4971 ac_header_preproc=no 2872 4972 fi 2873 4973 rm -f conftest.err conftest.$ac_ext 2874 fi 2875 echo "$as_me:2875: result: $ac_cv_header_netinet_in_h" >&5 4974 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4975 echo "${ECHO_T}$ac_header_preproc" >&6 4976 4977 # So? What about this header? 4978 case $ac_header_compiler:$ac_header_preproc in 4979 yes:no ) 4980 { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 4981 echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4982 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 4983 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} 4984 ( 4985 cat <<\_ASBOX 4986 ## ------------------------------------ ## 4987 ## Report this to bug-autoconf@gnu.org. ## 4988 ## ------------------------------------ ## 4989 _ASBOX 4990 ) | 4991 sed "s/^/$as_me: WARNING: /" >&2 4992 ;; 4993 no:yes ) 4994 { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 4995 echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} 4996 { echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5 4997 echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;} 4998 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 4999 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} 5000 ( 5001 cat <<\_ASBOX 5002 ## ------------------------------------ ## 5003 ## Report this to bug-autoconf@gnu.org. ## 5004 ## ------------------------------------ ## 5005 _ASBOX 5006 ) | 5007 sed "s/^/$as_me: WARNING: /" >&2 5008 ;; 5009 esac 5010 echo "$as_me:$LINENO: checking for netinet/in.h" >&5 5011 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 5012 if test "${ac_cv_header_netinet_in_h+set}" = set; then 5013 echo $ECHO_N "(cached) $ECHO_C" >&6 5014 else 5015 ac_cv_header_netinet_in_h=$ac_header_preproc 5016 fi 5017 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 2876 5018 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 5019 5020 fi 2877 5021 if test $ac_cv_header_netinet_in_h = yes; then 2878 cat >>confdefs.h <<\ EOF5022 cat >>confdefs.h <<\_ACEOF 2879 5023 #define PJ_HAS_NETINET_IN_H 1 2880 EOF 2881 2882 fi 2883 2884 echo "$as_me:2884: checking for setjmp.h" >&5 5024 _ACEOF 5025 5026 fi 5027 5028 5029 if test "${ac_cv_header_setjmp_h+set}" = set; then 5030 echo "$as_me:$LINENO: checking for setjmp.h" >&5 2885 5031 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6 2886 5032 if test "${ac_cv_header_setjmp_h+set}" = set; then 2887 5033 echo $ECHO_N "(cached) $ECHO_C" >&6 2888 else 2889 cat >conftest.$ac_ext <<_ACEOF 2890 #line 2890 "configure" 2891 #include "confdefs.h" 5034 fi 5035 echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 5036 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6 5037 else 5038 # Is the header compilable? 5039 echo "$as_me:$LINENO: checking setjmp.h usability" >&5 5040 echo $ECHO_N "checking setjmp.h usability... $ECHO_C" >&6 5041 cat >conftest.$ac_ext <<_ACEOF 5042 #line $LINENO "configure" 5043 /* confdefs.h. */ 5044 _ACEOF 5045 cat confdefs.h >>conftest.$ac_ext 5046 cat >>conftest.$ac_ext <<_ACEOF 5047 /* end confdefs.h. */ 5048 $ac_includes_default 2892 5049 #include <setjmp.h> 2893 5050 _ACEOF 2894 if { (eval echo "$as_me:2894: \"$ac_cpp conftest.$ac_ext\"") >&5 5051 rm -f conftest.$ac_objext 5052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5053 (eval $ac_compile) 2>&5 5054 ac_status=$? 5055 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5056 (exit $ac_status); } && 5057 { ac_try='test -s conftest.$ac_objext' 5058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5059 (eval $ac_try) 2>&5 5060 ac_status=$? 5061 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5062 (exit $ac_status); }; }; then 5063 ac_header_compiler=yes 5064 else 5065 echo "$as_me: failed program was:" >&5 5066 sed 's/^/| /' conftest.$ac_ext >&5 5067 5068 ac_header_compiler=no 5069 fi 5070 rm -f conftest.$ac_objext conftest.$ac_ext 5071 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5072 echo "${ECHO_T}$ac_header_compiler" >&6 5073 5074 # Is the header present? 5075 echo "$as_me:$LINENO: checking setjmp.h presence" >&5 5076 echo $ECHO_N "checking setjmp.h presence... $ECHO_C" >&6 5077 cat >conftest.$ac_ext <<_ACEOF 5078 #line $LINENO "configure" 5079 /* confdefs.h. */ 5080 _ACEOF 5081 cat confdefs.h >>conftest.$ac_ext 5082 cat >>conftest.$ac_ext <<_ACEOF 5083 /* end confdefs.h. */ 5084 #include <setjmp.h> 5085 _ACEOF 5086 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2895 5087 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2896 5088 ac_status=$? 2897 egrep -v '^ *\+' conftest.er1 >conftest.err5089 grep -v '^ *+' conftest.er1 >conftest.err 2898 5090 rm -f conftest.er1 2899 5091 cat conftest.err >&5 2900 echo "$as_me: 2900: \$? = $ac_status" >&55092 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2901 5093 (exit $ac_status); } >/dev/null; then 2902 5094 if test -s conftest.err; then … … 2909 5101 fi 2910 5102 if test -z "$ac_cpp_err"; then 2911 ac_ cv_header_setjmp_h=yes5103 ac_header_preproc=yes 2912 5104 else 2913 5105 echo "$as_me: failed program was:" >&5 2914 cat conftest.$ac_ext >&5 2915 ac_cv_header_setjmp_h=no 5106 sed 's/^/| /' conftest.$ac_ext >&5 5107 5108 ac_header_preproc=no 2916 5109 fi 2917 5110 rm -f conftest.err conftest.$ac_ext 2918 fi 2919 echo "$as_me:2919: result: $ac_cv_header_setjmp_h" >&5 5111 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5112 echo "${ECHO_T}$ac_header_preproc" >&6 5113 5114 # So? What about this header? 5115 case $ac_header_compiler:$ac_header_preproc in 5116 yes:no ) 5117 { echo "$as_me:$LINENO: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 5118 echo "$as_me: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5119 { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the preprocessor's result" >&5 5120 echo "$as_me: WARNING: setjmp.h: proceeding with the preprocessor's result" >&2;} 5121 ( 5122 cat <<\_ASBOX 5123 ## ------------------------------------ ## 5124 ## Report this to bug-autoconf@gnu.org. ## 5125 ## ------------------------------------ ## 5126 _ASBOX 5127 ) | 5128 sed "s/^/$as_me: WARNING: /" >&2 5129 ;; 5130 no:yes ) 5131 { echo "$as_me:$LINENO: WARNING: setjmp.h: present but cannot be compiled" >&5 5132 echo "$as_me: WARNING: setjmp.h: present but cannot be compiled" >&2;} 5133 { echo "$as_me:$LINENO: WARNING: setjmp.h: check for missing prerequisite headers?" >&5 5134 echo "$as_me: WARNING: setjmp.h: check for missing prerequisite headers?" >&2;} 5135 { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the preprocessor's result" >&5 5136 echo "$as_me: WARNING: setjmp.h: proceeding with the preprocessor's result" >&2;} 5137 ( 5138 cat <<\_ASBOX 5139 ## ------------------------------------ ## 5140 ## Report this to bug-autoconf@gnu.org. ## 5141 ## ------------------------------------ ## 5142 _ASBOX 5143 ) | 5144 sed "s/^/$as_me: WARNING: /" >&2 5145 ;; 5146 esac 5147 echo "$as_me:$LINENO: checking for setjmp.h" >&5 5148 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6 5149 if test "${ac_cv_header_setjmp_h+set}" = set; then 5150 echo $ECHO_N "(cached) $ECHO_C" >&6 5151 else 5152 ac_cv_header_setjmp_h=$ac_header_preproc 5153 fi 5154 echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 2920 5155 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6 5156 5157 fi 2921 5158 if test $ac_cv_header_setjmp_h = yes; then 2922 cat >>confdefs.h <<\ EOF5159 cat >>confdefs.h <<\_ACEOF 2923 5160 #define PJ_HAS_SETJMP_H 1 2924 EOF 2925 2926 fi 2927 2928 echo "$as_me:2928: checking for stdarg.h" >&5 5161 _ACEOF 5162 5163 fi 5164 5165 5166 if test "${ac_cv_header_stdarg_h+set}" = set; then 5167 echo "$as_me:$LINENO: checking for stdarg.h" >&5 2929 5168 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6 2930 5169 if test "${ac_cv_header_stdarg_h+set}" = set; then 2931 5170 echo $ECHO_N "(cached) $ECHO_C" >&6 2932 else 2933 cat >conftest.$ac_ext <<_ACEOF 2934 #line 2934 "configure" 2935 #include "confdefs.h" 5171 fi 5172 echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 5173 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6 5174 else 5175 # Is the header compilable? 5176 echo "$as_me:$LINENO: checking stdarg.h usability" >&5 5177 echo $ECHO_N "checking stdarg.h usability... $ECHO_C" >&6 5178 cat >conftest.$ac_ext <<_ACEOF 5179 #line $LINENO "configure" 5180 /* confdefs.h. */ 5181 _ACEOF 5182 cat confdefs.h >>conftest.$ac_ext 5183 cat >>conftest.$ac_ext <<_ACEOF 5184 /* end confdefs.h. */ 5185 $ac_includes_default 2936 5186 #include <stdarg.h> 2937 5187 _ACEOF 2938 if { (eval echo "$as_me:2938: \"$ac_cpp conftest.$ac_ext\"") >&5 5188 rm -f conftest.$ac_objext 5189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5190 (eval $ac_compile) 2>&5 5191 ac_status=$? 5192 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5193 (exit $ac_status); } && 5194 { ac_try='test -s conftest.$ac_objext' 5195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5196 (eval $ac_try) 2>&5 5197 ac_status=$? 5198 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5199 (exit $ac_status); }; }; then 5200 ac_header_compiler=yes 5201 else 5202 echo "$as_me: failed program was:" >&5 5203 sed 's/^/| /' conftest.$ac_ext >&5 5204 5205 ac_header_compiler=no 5206 fi 5207 rm -f conftest.$ac_objext conftest.$ac_ext 5208 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5209 echo "${ECHO_T}$ac_header_compiler" >&6 5210 5211 # Is the header present? 5212 echo "$as_me:$LINENO: checking stdarg.h presence" >&5 5213 echo $ECHO_N "checking stdarg.h presence... $ECHO_C" >&6 5214 cat >conftest.$ac_ext <<_ACEOF 5215 #line $LINENO "configure" 5216 /* confdefs.h. */ 5217 _ACEOF 5218 cat confdefs.h >>conftest.$ac_ext 5219 cat >>conftest.$ac_ext <<_ACEOF 5220 /* end confdefs.h. */ 5221 #include <stdarg.h> 5222 _ACEOF 5223 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2939 5224 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2940 5225 ac_status=$? 2941 egrep -v '^ *\+' conftest.er1 >conftest.err5226 grep -v '^ *+' conftest.er1 >conftest.err 2942 5227 rm -f conftest.er1 2943 5228 cat conftest.err >&5 2944 echo "$as_me: 2944: \$? = $ac_status" >&55229 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2945 5230 (exit $ac_status); } >/dev/null; then 2946 5231 if test -s conftest.err; then … … 2953 5238 fi 2954 5239 if test -z "$ac_cpp_err"; then 2955 ac_ cv_header_stdarg_h=yes5240 ac_header_preproc=yes 2956 5241 else 2957 5242 echo "$as_me: failed program was:" >&5 2958 cat conftest.$ac_ext >&5 2959 ac_cv_header_stdarg_h=no 5243 sed 's/^/| /' conftest.$ac_ext >&5 5244 5245 ac_header_preproc=no 2960 5246 fi 2961 5247 rm -f conftest.err conftest.$ac_ext 2962 fi 2963 echo "$as_me:2963: result: $ac_cv_header_stdarg_h" >&5 5248 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5249 echo "${ECHO_T}$ac_header_preproc" >&6 5250 5251 # So? What about this header? 5252 case $ac_header_compiler:$ac_header_preproc in 5253 yes:no ) 5254 { echo "$as_me:$LINENO: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&5 5255 echo "$as_me: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5256 { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the preprocessor's result" >&5 5257 echo "$as_me: WARNING: stdarg.h: proceeding with the preprocessor's result" >&2;} 5258 ( 5259 cat <<\_ASBOX 5260 ## ------------------------------------ ## 5261 ## Report this to bug-autoconf@gnu.org. ## 5262 ## ------------------------------------ ## 5263 _ASBOX 5264 ) | 5265 sed "s/^/$as_me: WARNING: /" >&2 5266 ;; 5267 no:yes ) 5268 { echo "$as_me:$LINENO: WARNING: stdarg.h: present but cannot be compiled" >&5 5269 echo "$as_me: WARNING: stdarg.h: present but cannot be compiled" >&2;} 5270 { echo "$as_me:$LINENO: WARNING: stdarg.h: check for missing prerequisite headers?" >&5 5271 echo "$as_me: WARNING: stdarg.h: check for missing prerequisite headers?" >&2;} 5272 { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the preprocessor's result" >&5 5273 echo "$as_me: WARNING: stdarg.h: proceeding with the preprocessor's result" >&2;} 5274 ( 5275 cat <<\_ASBOX 5276 ## ------------------------------------ ## 5277 ## Report this to bug-autoconf@gnu.org. ## 5278 ## ------------------------------------ ## 5279 _ASBOX 5280 ) | 5281 sed "s/^/$as_me: WARNING: /" >&2 5282 ;; 5283 esac 5284 echo "$as_me:$LINENO: checking for stdarg.h" >&5 5285 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6 5286 if test "${ac_cv_header_stdarg_h+set}" = set; then 5287 echo $ECHO_N "(cached) $ECHO_C" >&6 5288 else 5289 ac_cv_header_stdarg_h=$ac_header_preproc 5290 fi 5291 echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 2964 5292 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6 5293 5294 fi 2965 5295 if test $ac_cv_header_stdarg_h = yes; then 2966 cat >>confdefs.h <<\ EOF5296 cat >>confdefs.h <<\_ACEOF 2967 5297 #define PJ_HAS_STDARG_H 1 2968 EOF 2969 2970 fi 2971 2972 echo "$as_me:2972: checking for stddef.h" >&5 5298 _ACEOF 5299 5300 fi 5301 5302 5303 if test "${ac_cv_header_stddef_h+set}" = set; then 5304 echo "$as_me:$LINENO: checking for stddef.h" >&5 2973 5305 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6 2974 5306 if test "${ac_cv_header_stddef_h+set}" = set; then 2975 5307 echo $ECHO_N "(cached) $ECHO_C" >&6 2976 else 2977 cat >conftest.$ac_ext <<_ACEOF 2978 #line 2978 "configure" 2979 #include "confdefs.h" 5308 fi 5309 echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 5310 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6 5311 else 5312 # Is the header compilable? 5313 echo "$as_me:$LINENO: checking stddef.h usability" >&5 5314 echo $ECHO_N "checking stddef.h usability... $ECHO_C" >&6 5315 cat >conftest.$ac_ext <<_ACEOF 5316 #line $LINENO "configure" 5317 /* confdefs.h. */ 5318 _ACEOF 5319 cat confdefs.h >>conftest.$ac_ext 5320 cat >>conftest.$ac_ext <<_ACEOF 5321 /* end confdefs.h. */ 5322 $ac_includes_default 2980 5323 #include <stddef.h> 2981 5324 _ACEOF 2982 if { (eval echo "$as_me:2982: \"$ac_cpp conftest.$ac_ext\"") >&5 5325 rm -f conftest.$ac_objext 5326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5327 (eval $ac_compile) 2>&5 5328 ac_status=$? 5329 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5330 (exit $ac_status); } && 5331 { ac_try='test -s conftest.$ac_objext' 5332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5333 (eval $ac_try) 2>&5 5334 ac_status=$? 5335 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5336 (exit $ac_status); }; }; then 5337 ac_header_compiler=yes 5338 else 5339 echo "$as_me: failed program was:" >&5 5340 sed 's/^/| /' conftest.$ac_ext >&5 5341 5342 ac_header_compiler=no 5343 fi 5344 rm -f conftest.$ac_objext conftest.$ac_ext 5345 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5346 echo "${ECHO_T}$ac_header_compiler" >&6 5347 5348 # Is the header present? 5349 echo "$as_me:$LINENO: checking stddef.h presence" >&5 5350 echo $ECHO_N "checking stddef.h presence... $ECHO_C" >&6 5351 cat >conftest.$ac_ext <<_ACEOF 5352 #line $LINENO "configure" 5353 /* confdefs.h. */ 5354 _ACEOF 5355 cat confdefs.h >>conftest.$ac_ext 5356 cat >>conftest.$ac_ext <<_ACEOF 5357 /* end confdefs.h. */ 5358 #include <stddef.h> 5359 _ACEOF 5360 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2983 5361 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2984 5362 ac_status=$? 2985 egrep -v '^ *\+' conftest.er1 >conftest.err5363 grep -v '^ *+' conftest.er1 >conftest.err 2986 5364 rm -f conftest.er1 2987 5365 cat conftest.err >&5 2988 echo "$as_me: 2988: \$? = $ac_status" >&55366 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2989 5367 (exit $ac_status); } >/dev/null; then 2990 5368 if test -s conftest.err; then … … 2997 5375 fi 2998 5376 if test -z "$ac_cpp_err"; then 2999 ac_ cv_header_stddef_h=yes5377 ac_header_preproc=yes 3000 5378 else 3001 5379 echo "$as_me: failed program was:" >&5 3002 cat conftest.$ac_ext >&5 3003 ac_cv_header_stddef_h=no 5380 sed 's/^/| /' conftest.$ac_ext >&5 5381 5382 ac_header_preproc=no 3004 5383 fi 3005 5384 rm -f conftest.err conftest.$ac_ext 3006 fi 3007 echo "$as_me:3007: result: $ac_cv_header_stddef_h" >&5 5385 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5386 echo "${ECHO_T}$ac_header_preproc" >&6 5387 5388 # So? What about this header? 5389 case $ac_header_compiler:$ac_header_preproc in 5390 yes:no ) 5391 { echo "$as_me:$LINENO: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&5 5392 echo "$as_me: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5393 { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the preprocessor's result" >&5 5394 echo "$as_me: WARNING: stddef.h: proceeding with the preprocessor's result" >&2;} 5395 ( 5396 cat <<\_ASBOX 5397 ## ------------------------------------ ## 5398 ## Report this to bug-autoconf@gnu.org. ## 5399 ## ------------------------------------ ## 5400 _ASBOX 5401 ) | 5402 sed "s/^/$as_me: WARNING: /" >&2 5403 ;; 5404 no:yes ) 5405 { echo "$as_me:$LINENO: WARNING: stddef.h: present but cannot be compiled" >&5 5406 echo "$as_me: WARNING: stddef.h: present but cannot be compiled" >&2;} 5407 { echo "$as_me:$LINENO: WARNING: stddef.h: check for missing prerequisite headers?" >&5 5408 echo "$as_me: WARNING: stddef.h: check for missing prerequisite headers?" >&2;} 5409 { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the preprocessor's result" >&5 5410 echo "$as_me: WARNING: stddef.h: proceeding with the preprocessor's result" >&2;} 5411 ( 5412 cat <<\_ASBOX 5413 ## ------------------------------------ ## 5414 ## Report this to bug-autoconf@gnu.org. ## 5415 ## ------------------------------------ ## 5416 _ASBOX 5417 ) | 5418 sed "s/^/$as_me: WARNING: /" >&2 5419 ;; 5420 esac 5421 echo "$as_me:$LINENO: checking for stddef.h" >&5 5422 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6 5423 if test "${ac_cv_header_stddef_h+set}" = set; then 5424 echo $ECHO_N "(cached) $ECHO_C" >&6 5425 else 5426 ac_cv_header_stddef_h=$ac_header_preproc 5427 fi 5428 echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 3008 5429 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6 5430 5431 fi 3009 5432 if test $ac_cv_header_stddef_h = yes; then 3010 cat >>confdefs.h <<\ EOF5433 cat >>confdefs.h <<\_ACEOF 3011 5434 #define PJ_HAS_STDDEF_H 1 3012 EOF 3013 3014 fi 3015 3016 echo "$as_me:3016: checking for stdio.h" >&5 5435 _ACEOF 5436 5437 fi 5438 5439 5440 if test "${ac_cv_header_stdio_h+set}" = set; then 5441 echo "$as_me:$LINENO: checking for stdio.h" >&5 3017 5442 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6 3018 5443 if test "${ac_cv_header_stdio_h+set}" = set; then 3019 5444 echo $ECHO_N "(cached) $ECHO_C" >&6 3020 else 3021 cat >conftest.$ac_ext <<_ACEOF 3022 #line 3022 "configure" 3023 #include "confdefs.h" 5445 fi 5446 echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 5447 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6 5448 else 5449 # Is the header compilable? 5450 echo "$as_me:$LINENO: checking stdio.h usability" >&5 5451 echo $ECHO_N "checking stdio.h usability... $ECHO_C" >&6 5452 cat >conftest.$ac_ext <<_ACEOF 5453 #line $LINENO "configure" 5454 /* confdefs.h. */ 5455 _ACEOF 5456 cat confdefs.h >>conftest.$ac_ext 5457 cat >>conftest.$ac_ext <<_ACEOF 5458 /* end confdefs.h. */ 5459 $ac_includes_default 3024 5460 #include <stdio.h> 3025 5461 _ACEOF 3026 if { (eval echo "$as_me:3026: \"$ac_cpp conftest.$ac_ext\"") >&5 5462 rm -f conftest.$ac_objext 5463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5464 (eval $ac_compile) 2>&5 5465 ac_status=$? 5466 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5467 (exit $ac_status); } && 5468 { ac_try='test -s conftest.$ac_objext' 5469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5470 (eval $ac_try) 2>&5 5471 ac_status=$? 5472 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5473 (exit $ac_status); }; }; then 5474 ac_header_compiler=yes 5475 else 5476 echo "$as_me: failed program was:" >&5 5477 sed 's/^/| /' conftest.$ac_ext >&5 5478 5479 ac_header_compiler=no 5480 fi 5481 rm -f conftest.$ac_objext conftest.$ac_ext 5482 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5483 echo "${ECHO_T}$ac_header_compiler" >&6 5484 5485 # Is the header present? 5486 echo "$as_me:$LINENO: checking stdio.h presence" >&5 5487 echo $ECHO_N "checking stdio.h presence... $ECHO_C" >&6 5488 cat >conftest.$ac_ext <<_ACEOF 5489 #line $LINENO "configure" 5490 /* confdefs.h. */ 5491 _ACEOF 5492 cat confdefs.h >>conftest.$ac_ext 5493 cat >>conftest.$ac_ext <<_ACEOF 5494 /* end confdefs.h. */ 5495 #include <stdio.h> 5496 _ACEOF 5497 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3027 5498 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3028 5499 ac_status=$? 3029 egrep -v '^ *\+' conftest.er1 >conftest.err5500 grep -v '^ *+' conftest.er1 >conftest.err 3030 5501 rm -f conftest.er1 3031 5502 cat conftest.err >&5 3032 echo "$as_me: 3032: \$? = $ac_status" >&55503 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3033 5504 (exit $ac_status); } >/dev/null; then 3034 5505 if test -s conftest.err; then … … 3041 5512 fi 3042 5513 if test -z "$ac_cpp_err"; then 3043 ac_ cv_header_stdio_h=yes5514 ac_header_preproc=yes 3044 5515 else 3045 5516 echo "$as_me: failed program was:" >&5 3046 cat conftest.$ac_ext >&5 3047 ac_cv_header_stdio_h=no 5517 sed 's/^/| /' conftest.$ac_ext >&5 5518 5519 ac_header_preproc=no 3048 5520 fi 3049 5521 rm -f conftest.err conftest.$ac_ext 3050 fi 3051 echo "$as_me:3051: result: $ac_cv_header_stdio_h" >&5 5522 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5523 echo "${ECHO_T}$ac_header_preproc" >&6 5524 5525 # So? What about this header? 5526 case $ac_header_compiler:$ac_header_preproc in 5527 yes:no ) 5528 { echo "$as_me:$LINENO: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&5 5529 echo "$as_me: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5530 { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5 5531 echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;} 5532 ( 5533 cat <<\_ASBOX 5534 ## ------------------------------------ ## 5535 ## Report this to bug-autoconf@gnu.org. ## 5536 ## ------------------------------------ ## 5537 _ASBOX 5538 ) | 5539 sed "s/^/$as_me: WARNING: /" >&2 5540 ;; 5541 no:yes ) 5542 { echo "$as_me:$LINENO: WARNING: stdio.h: present but cannot be compiled" >&5 5543 echo "$as_me: WARNING: stdio.h: present but cannot be compiled" >&2;} 5544 { echo "$as_me:$LINENO: WARNING: stdio.h: check for missing prerequisite headers?" >&5 5545 echo "$as_me: WARNING: stdio.h: check for missing prerequisite headers?" >&2;} 5546 { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5 5547 echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;} 5548 ( 5549 cat <<\_ASBOX 5550 ## ------------------------------------ ## 5551 ## Report this to bug-autoconf@gnu.org. ## 5552 ## ------------------------------------ ## 5553 _ASBOX 5554 ) | 5555 sed "s/^/$as_me: WARNING: /" >&2 5556 ;; 5557 esac 5558 echo "$as_me:$LINENO: checking for stdio.h" >&5 5559 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6 5560 if test "${ac_cv_header_stdio_h+set}" = set; then 5561 echo $ECHO_N "(cached) $ECHO_C" >&6 5562 else 5563 ac_cv_header_stdio_h=$ac_header_preproc 5564 fi 5565 echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 3052 5566 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6 5567 5568 fi 3053 5569 if test $ac_cv_header_stdio_h = yes; then 3054 cat >>confdefs.h <<\ EOF5570 cat >>confdefs.h <<\_ACEOF 3055 5571 #define PJ_HAS_STDIO_H 1 3056 EOF 3057 3058 fi 3059 3060 echo "$as_me:3060: checking for stdlib.h" >&5 5572 _ACEOF 5573 5574 fi 5575 5576 5577 if test "${ac_cv_header_stdlib_h+set}" = set; then 5578 echo "$as_me:$LINENO: checking for stdlib.h" >&5 3061 5579 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6 3062 5580 if test "${ac_cv_header_stdlib_h+set}" = set; then 3063 5581 echo $ECHO_N "(cached) $ECHO_C" >&6 3064 else 3065 cat >conftest.$ac_ext <<_ACEOF 3066 #line 3066 "configure" 3067 #include "confdefs.h" 5582 fi 5583 echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 5584 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6 5585 else 5586 # Is the header compilable? 5587 echo "$as_me:$LINENO: checking stdlib.h usability" >&5 5588 echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6 5589 cat >conftest.$ac_ext <<_ACEOF 5590 #line $LINENO "configure" 5591 /* confdefs.h. */ 5592 _ACEOF 5593 cat confdefs.h >>conftest.$ac_ext 5594 cat >>conftest.$ac_ext <<_ACEOF 5595 /* end confdefs.h. */ 5596 $ac_includes_default 3068 5597 #include <stdlib.h> 3069 5598 _ACEOF 3070 if { (eval echo "$as_me:3070: \"$ac_cpp conftest.$ac_ext\"") >&5 5599 rm -f conftest.$ac_objext 5600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5601 (eval $ac_compile) 2>&5 5602 ac_status=$? 5603 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5604 (exit $ac_status); } && 5605 { ac_try='test -s conftest.$ac_objext' 5606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5607 (eval $ac_try) 2>&5 5608 ac_status=$? 5609 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5610 (exit $ac_status); }; }; then 5611 ac_header_compiler=yes 5612 else 5613 echo "$as_me: failed program was:" >&5 5614 sed 's/^/| /' conftest.$ac_ext >&5 5615 5616 ac_header_compiler=no 5617 fi 5618 rm -f conftest.$ac_objext conftest.$ac_ext 5619 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5620 echo "${ECHO_T}$ac_header_compiler" >&6 5621 5622 # Is the header present? 5623 echo "$as_me:$LINENO: checking stdlib.h presence" >&5 5624 echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6 5625 cat >conftest.$ac_ext <<_ACEOF 5626 #line $LINENO "configure" 5627 /* confdefs.h. */ 5628 _ACEOF 5629 cat confdefs.h >>conftest.$ac_ext 5630 cat >>conftest.$ac_ext <<_ACEOF 5631 /* end confdefs.h. */ 5632 #include <stdlib.h> 5633 _ACEOF 5634 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3071 5635 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3072 5636 ac_status=$? 3073 egrep -v '^ *\+' conftest.er1 >conftest.err5637 grep -v '^ *+' conftest.er1 >conftest.err 3074 5638 rm -f conftest.er1 3075 5639 cat conftest.err >&5 3076 echo "$as_me: 3076: \$? = $ac_status" >&55640 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3077 5641 (exit $ac_status); } >/dev/null; then 3078 5642 if test -s conftest.err; then … … 3085 5649 fi 3086 5650 if test -z "$ac_cpp_err"; then 3087 ac_ cv_header_stdlib_h=yes5651 ac_header_preproc=yes 3088 5652 else 3089 5653 echo "$as_me: failed program was:" >&5 3090 cat conftest.$ac_ext >&5 3091 ac_cv_header_stdlib_h=no 5654 sed 's/^/| /' conftest.$ac_ext >&5 5655 5656 ac_header_preproc=no 3092 5657 fi 3093 5658 rm -f conftest.err conftest.$ac_ext 3094 fi 3095 echo "$as_me:3095: result: $ac_cv_header_stdlib_h" >&5 5659 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5660 echo "${ECHO_T}$ac_header_preproc" >&6 5661 5662 # So? What about this header? 5663 case $ac_header_compiler:$ac_header_preproc in 5664 yes:no ) 5665 { echo "$as_me:$LINENO: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 5666 echo "$as_me: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5667 { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5 5668 echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;} 5669 ( 5670 cat <<\_ASBOX 5671 ## ------------------------------------ ## 5672 ## Report this to bug-autoconf@gnu.org. ## 5673 ## ------------------------------------ ## 5674 _ASBOX 5675 ) | 5676 sed "s/^/$as_me: WARNING: /" >&2 5677 ;; 5678 no:yes ) 5679 { echo "$as_me:$LINENO: WARNING: stdlib.h: present but cannot be compiled" >&5 5680 echo "$as_me: WARNING: stdlib.h: present but cannot be compiled" >&2;} 5681 { echo "$as_me:$LINENO: WARNING: stdlib.h: check for missing prerequisite headers?" >&5 5682 echo "$as_me: WARNING: stdlib.h: check for missing prerequisite headers?" >&2;} 5683 { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5 5684 echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;} 5685 ( 5686 cat <<\_ASBOX 5687 ## ------------------------------------ ## 5688 ## Report this to bug-autoconf@gnu.org. ## 5689 ## ------------------------------------ ## 5690 _ASBOX 5691 ) | 5692 sed "s/^/$as_me: WARNING: /" >&2 5693 ;; 5694 esac 5695 echo "$as_me:$LINENO: checking for stdlib.h" >&5 5696 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6 5697 if test "${ac_cv_header_stdlib_h+set}" = set; then 5698 echo $ECHO_N "(cached) $ECHO_C" >&6 5699 else 5700 ac_cv_header_stdlib_h=$ac_header_preproc 5701 fi 5702 echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 3096 5703 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6 5704 5705 fi 3097 5706 if test $ac_cv_header_stdlib_h = yes; then 3098 cat >>confdefs.h <<\ EOF5707 cat >>confdefs.h <<\_ACEOF 3099 5708 #define PJ_HAS_STDLIB_H 1 3100 EOF 3101 3102 fi 3103 3104 echo "$as_me:3104: checking for string.h" >&5 5709 _ACEOF 5710 5711 fi 5712 5713 5714 if test "${ac_cv_header_string_h+set}" = set; then 5715 echo "$as_me:$LINENO: checking for string.h" >&5 3105 5716 echo $ECHO_N "checking for string.h... $ECHO_C" >&6 3106 5717 if test "${ac_cv_header_string_h+set}" = set; then 3107 5718 echo $ECHO_N "(cached) $ECHO_C" >&6 3108 else 3109 cat >conftest.$ac_ext <<_ACEOF 3110 #line 3110 "configure" 3111 #include "confdefs.h" 5719 fi 5720 echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 5721 echo "${ECHO_T}$ac_cv_header_string_h" >&6 5722 else 5723 # Is the header compilable? 5724 echo "$as_me:$LINENO: checking string.h usability" >&5 5725 echo $ECHO_N "checking string.h usability... $ECHO_C" >&6 5726 cat >conftest.$ac_ext <<_ACEOF 5727 #line $LINENO "configure" 5728 /* confdefs.h. */ 5729 _ACEOF 5730 cat confdefs.h >>conftest.$ac_ext 5731 cat >>conftest.$ac_ext <<_ACEOF 5732 /* end confdefs.h. */ 5733 $ac_includes_default 3112 5734 #include <string.h> 3113 5735 _ACEOF 3114 if { (eval echo "$as_me:3114: \"$ac_cpp conftest.$ac_ext\"") >&5 5736 rm -f conftest.$ac_objext 5737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5738 (eval $ac_compile) 2>&5 5739 ac_status=$? 5740 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5741 (exit $ac_status); } && 5742 { ac_try='test -s conftest.$ac_objext' 5743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5744 (eval $ac_try) 2>&5 5745 ac_status=$? 5746 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5747 (exit $ac_status); }; }; then 5748 ac_header_compiler=yes 5749 else 5750 echo "$as_me: failed program was:" >&5 5751 sed 's/^/| /' conftest.$ac_ext >&5 5752 5753 ac_header_compiler=no 5754 fi 5755 rm -f conftest.$ac_objext conftest.$ac_ext 5756 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5757 echo "${ECHO_T}$ac_header_compiler" >&6 5758 5759 # Is the header present? 5760 echo "$as_me:$LINENO: checking string.h presence" >&5 5761 echo $ECHO_N "checking string.h presence... $ECHO_C" >&6 5762 cat >conftest.$ac_ext <<_ACEOF 5763 #line $LINENO "configure" 5764 /* confdefs.h. */ 5765 _ACEOF 5766 cat confdefs.h >>conftest.$ac_ext 5767 cat >>conftest.$ac_ext <<_ACEOF 5768 /* end confdefs.h. */ 5769 #include <string.h> 5770 _ACEOF 5771 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3115 5772 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3116 5773 ac_status=$? 3117 egrep -v '^ *\+' conftest.er1 >conftest.err5774 grep -v '^ *+' conftest.er1 >conftest.err 3118 5775 rm -f conftest.er1 3119 5776 cat conftest.err >&5 3120 echo "$as_me: 3120: \$? = $ac_status" >&55777 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3121 5778 (exit $ac_status); } >/dev/null; then 3122 5779 if test -s conftest.err; then … … 3129 5786 fi 3130 5787 if test -z "$ac_cpp_err"; then 3131 ac_ cv_header_string_h=yes5788 ac_header_preproc=yes 3132 5789 else 3133 5790 echo "$as_me: failed program was:" >&5 3134 cat conftest.$ac_ext >&5 3135 ac_cv_header_string_h=no 5791 sed 's/^/| /' conftest.$ac_ext >&5 5792 5793 ac_header_preproc=no 3136 5794 fi 3137 5795 rm -f conftest.err conftest.$ac_ext 3138 fi 3139 echo "$as_me:3139: result: $ac_cv_header_string_h" >&5 5796 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5797 echo "${ECHO_T}$ac_header_preproc" >&6 5798 5799 # So? What about this header? 5800 case $ac_header_compiler:$ac_header_preproc in 5801 yes:no ) 5802 { echo "$as_me:$LINENO: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&5 5803 echo "$as_me: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5804 { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5 5805 echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;} 5806 ( 5807 cat <<\_ASBOX 5808 ## ------------------------------------ ## 5809 ## Report this to bug-autoconf@gnu.org. ## 5810 ## ------------------------------------ ## 5811 _ASBOX 5812 ) | 5813 sed "s/^/$as_me: WARNING: /" >&2 5814 ;; 5815 no:yes ) 5816 { echo "$as_me:$LINENO: WARNING: string.h: present but cannot be compiled" >&5 5817 echo "$as_me: WARNING: string.h: present but cannot be compiled" >&2;} 5818 { echo "$as_me:$LINENO: WARNING: string.h: check for missing prerequisite headers?" >&5 5819 echo "$as_me: WARNING: string.h: check for missing prerequisite headers?" >&2;} 5820 { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5 5821 echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;} 5822 ( 5823 cat <<\_ASBOX 5824 ## ------------------------------------ ## 5825 ## Report this to bug-autoconf@gnu.org. ## 5826 ## ------------------------------------ ## 5827 _ASBOX 5828 ) | 5829 sed "s/^/$as_me: WARNING: /" >&2 5830 ;; 5831 esac 5832 echo "$as_me:$LINENO: checking for string.h" >&5 5833 echo $ECHO_N "checking for string.h... $ECHO_C" >&6 5834 if test "${ac_cv_header_string_h+set}" = set; then 5835 echo $ECHO_N "(cached) $ECHO_C" >&6 5836 else 5837 ac_cv_header_string_h=$ac_header_preproc 5838 fi 5839 echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 3140 5840 echo "${ECHO_T}$ac_cv_header_string_h" >&6 5841 5842 fi 3141 5843 if test $ac_cv_header_string_h = yes; then 3142 cat >>confdefs.h <<\ EOF5844 cat >>confdefs.h <<\_ACEOF 3143 5845 #define PJ_HAS_STRING_H 1 3144 EOF 3145 3146 fi 3147 3148 echo "$as_me:3148: checking for sys/ioctl.h" >&5 5846 _ACEOF 5847 5848 fi 5849 5850 5851 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 5852 echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 3149 5853 echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6 3150 5854 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 3151 5855 echo $ECHO_N "(cached) $ECHO_C" >&6 3152 else 3153 cat >conftest.$ac_ext <<_ACEOF 3154 #line 3154 "configure" 3155 #include "confdefs.h" 5856 fi 5857 echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 5858 echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6 5859 else 5860 # Is the header compilable? 5861 echo "$as_me:$LINENO: checking sys/ioctl.h usability" >&5 5862 echo $ECHO_N "checking sys/ioctl.h usability... $ECHO_C" >&6 5863 cat >conftest.$ac_ext <<_ACEOF 5864 #line $LINENO "configure" 5865 /* confdefs.h. */ 5866 _ACEOF 5867 cat confdefs.h >>conftest.$ac_ext 5868 cat >>conftest.$ac_ext <<_ACEOF 5869 /* end confdefs.h. */ 5870 $ac_includes_default 3156 5871 #include <sys/ioctl.h> 3157 5872 _ACEOF 3158 if { (eval echo "$as_me:3158: \"$ac_cpp conftest.$ac_ext\"") >&5 5873 rm -f conftest.$ac_objext 5874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5875 (eval $ac_compile) 2>&5 5876 ac_status=$? 5877 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5878 (exit $ac_status); } && 5879 { ac_try='test -s conftest.$ac_objext' 5880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5881 (eval $ac_try) 2>&5 5882 ac_status=$? 5883 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5884 (exit $ac_status); }; }; then 5885 ac_header_compiler=yes 5886 else 5887 echo "$as_me: failed program was:" >&5 5888 sed 's/^/| /' conftest.$ac_ext >&5 5889 5890 ac_header_compiler=no 5891 fi 5892 rm -f conftest.$ac_objext conftest.$ac_ext 5893 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5894 echo "${ECHO_T}$ac_header_compiler" >&6 5895 5896 # Is the header present? 5897 echo "$as_me:$LINENO: checking sys/ioctl.h presence" >&5 5898 echo $ECHO_N "checking sys/ioctl.h presence... $ECHO_C" >&6 5899 cat >conftest.$ac_ext <<_ACEOF 5900 #line $LINENO "configure" 5901 /* confdefs.h. */ 5902 _ACEOF 5903 cat confdefs.h >>conftest.$ac_ext 5904 cat >>conftest.$ac_ext <<_ACEOF 5905 /* end confdefs.h. */ 5906 #include <sys/ioctl.h> 5907 _ACEOF 5908 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3159 5909 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3160 5910 ac_status=$? 3161 egrep -v '^ *\+' conftest.er1 >conftest.err5911 grep -v '^ *+' conftest.er1 >conftest.err 3162 5912 rm -f conftest.er1 3163 5913 cat conftest.err >&5 3164 echo "$as_me: 3164: \$? = $ac_status" >&55914 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3165 5915 (exit $ac_status); } >/dev/null; then 3166 5916 if test -s conftest.err; then … … 3173 5923 fi 3174 5924 if test -z "$ac_cpp_err"; then 3175 ac_ cv_header_sys_ioctl_h=yes5925 ac_header_preproc=yes 3176 5926 else 3177 5927 echo "$as_me: failed program was:" >&5 3178 cat conftest.$ac_ext >&5 3179 ac_cv_header_sys_ioctl_h=no 5928 sed 's/^/| /' conftest.$ac_ext >&5 5929 5930 ac_header_preproc=no 3180 5931 fi 3181 5932 rm -f conftest.err conftest.$ac_ext 3182 fi 3183 echo "$as_me:3183: result: $ac_cv_header_sys_ioctl_h" >&5 5933 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5934 echo "${ECHO_T}$ac_header_preproc" >&6 5935 5936 # So? What about this header? 5937 case $ac_header_compiler:$ac_header_preproc in 5938 yes:no ) 5939 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&5 5940 echo "$as_me: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5941 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&5 5942 echo "$as_me: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&2;} 5943 ( 5944 cat <<\_ASBOX 5945 ## ------------------------------------ ## 5946 ## Report this to bug-autoconf@gnu.org. ## 5947 ## ------------------------------------ ## 5948 _ASBOX 5949 ) | 5950 sed "s/^/$as_me: WARNING: /" >&2 5951 ;; 5952 no:yes ) 5953 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: present but cannot be compiled" >&5 5954 echo "$as_me: WARNING: sys/ioctl.h: present but cannot be compiled" >&2;} 5955 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: check for missing prerequisite headers?" >&5 5956 echo "$as_me: WARNING: sys/ioctl.h: check for missing prerequisite headers?" >&2;} 5957 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&5 5958 echo "$as_me: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&2;} 5959 ( 5960 cat <<\_ASBOX 5961 ## ------------------------------------ ## 5962 ## Report this to bug-autoconf@gnu.org. ## 5963 ## ------------------------------------ ## 5964 _ASBOX 5965 ) | 5966 sed "s/^/$as_me: WARNING: /" >&2 5967 ;; 5968 esac 5969 echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 5970 echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6 5971 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 5972 echo $ECHO_N "(cached) $ECHO_C" >&6 5973 else 5974 ac_cv_header_sys_ioctl_h=$ac_header_preproc 5975 fi 5976 echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 3184 5977 echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6 5978 5979 fi 3185 5980 if test $ac_cv_header_sys_ioctl_h = yes; then 3186 cat >>confdefs.h <<\ EOF5981 cat >>confdefs.h <<\_ACEOF 3187 5982 #define PJ_HAS_SYS_IOCTL_H 1 3188 EOF 3189 3190 fi 3191 3192 echo "$as_me:3192: checking for sys/select.h" >&5 5983 _ACEOF 5984 5985 fi 5986 5987 5988 if test "${ac_cv_header_sys_select_h+set}" = set; then 5989 echo "$as_me:$LINENO: checking for sys/select.h" >&5 3193 5990 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6 3194 5991 if test "${ac_cv_header_sys_select_h+set}" = set; then 3195 5992 echo $ECHO_N "(cached) $ECHO_C" >&6 3196 else 3197 cat >conftest.$ac_ext <<_ACEOF 3198 #line 3198 "configure" 3199 #include "confdefs.h" 5993 fi 5994 echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 5995 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6 5996 else 5997 # Is the header compilable? 5998 echo "$as_me:$LINENO: checking sys/select.h usability" >&5 5999 echo $ECHO_N "checking sys/select.h usability... $ECHO_C" >&6 6000 cat >conftest.$ac_ext <<_ACEOF 6001 #line $LINENO "configure" 6002 /* confdefs.h. */ 6003 _ACEOF 6004 cat confdefs.h >>conftest.$ac_ext 6005 cat >>conftest.$ac_ext <<_ACEOF 6006 /* end confdefs.h. */ 6007 $ac_includes_default 3200 6008 #include <sys/select.h> 3201 6009 _ACEOF 3202 if { (eval echo "$as_me:3202: \"$ac_cpp conftest.$ac_ext\"") >&5 6010 rm -f conftest.$ac_objext 6011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6012 (eval $ac_compile) 2>&5 6013 ac_status=$? 6014 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6015 (exit $ac_status); } && 6016 { ac_try='test -s conftest.$ac_objext' 6017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6018 (eval $ac_try) 2>&5 6019 ac_status=$? 6020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6021 (exit $ac_status); }; }; then 6022 ac_header_compiler=yes 6023 else 6024 echo "$as_me: failed program was:" >&5 6025 sed 's/^/| /' conftest.$ac_ext >&5 6026 6027 ac_header_compiler=no 6028 fi 6029 rm -f conftest.$ac_objext conftest.$ac_ext 6030 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6031 echo "${ECHO_T}$ac_header_compiler" >&6 6032 6033 # Is the header present? 6034 echo "$as_me:$LINENO: checking sys/select.h presence" >&5 6035 echo $ECHO_N "checking sys/select.h presence... $ECHO_C" >&6 6036 cat >conftest.$ac_ext <<_ACEOF 6037 #line $LINENO "configure" 6038 /* confdefs.h. */ 6039 _ACEOF 6040 cat confdefs.h >>conftest.$ac_ext 6041 cat >>conftest.$ac_ext <<_ACEOF 6042 /* end confdefs.h. */ 6043 #include <sys/select.h> 6044 _ACEOF 6045 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3203 6046 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3204 6047 ac_status=$? 3205 egrep -v '^ *\+' conftest.er1 >conftest.err6048 grep -v '^ *+' conftest.er1 >conftest.err 3206 6049 rm -f conftest.er1 3207 6050 cat conftest.err >&5 3208 echo "$as_me: 3208: \$? = $ac_status" >&56051 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3209 6052 (exit $ac_status); } >/dev/null; then 3210 6053 if test -s conftest.err; then … … 3217 6060 fi 3218 6061 if test -z "$ac_cpp_err"; then 3219 ac_ cv_header_sys_select_h=yes6062 ac_header_preproc=yes 3220 6063 else 3221 6064 echo "$as_me: failed program was:" >&5 3222 cat conftest.$ac_ext >&5 3223 ac_cv_header_sys_select_h=no 6065 sed 's/^/| /' conftest.$ac_ext >&5 6066 6067 ac_header_preproc=no 3224 6068 fi 3225 6069 rm -f conftest.err conftest.$ac_ext 3226 fi 3227 echo "$as_me:3227: result: $ac_cv_header_sys_select_h" >&5 6070 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6071 echo "${ECHO_T}$ac_header_preproc" >&6 6072 6073 # So? What about this header? 6074 case $ac_header_compiler:$ac_header_preproc in 6075 yes:no ) 6076 { echo "$as_me:$LINENO: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&5 6077 echo "$as_me: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6078 { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the preprocessor's result" >&5 6079 echo "$as_me: WARNING: sys/select.h: proceeding with the preprocessor's result" >&2;} 6080 ( 6081 cat <<\_ASBOX 6082 ## ------------------------------------ ## 6083 ## Report this to bug-autoconf@gnu.org. ## 6084 ## ------------------------------------ ## 6085 _ASBOX 6086 ) | 6087 sed "s/^/$as_me: WARNING: /" >&2 6088 ;; 6089 no:yes ) 6090 { echo "$as_me:$LINENO: WARNING: sys/select.h: present but cannot be compiled" >&5 6091 echo "$as_me: WARNING: sys/select.h: present but cannot be compiled" >&2;} 6092 { echo "$as_me:$LINENO: WARNING: sys/select.h: check for missing prerequisite headers?" >&5 6093 echo "$as_me: WARNING: sys/select.h: check for missing prerequisite headers?" >&2;} 6094 { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the preprocessor's result" >&5 6095 echo "$as_me: WARNING: sys/select.h: proceeding with the preprocessor's result" >&2;} 6096 ( 6097 cat <<\_ASBOX 6098 ## ------------------------------------ ## 6099 ## Report this to bug-autoconf@gnu.org. ## 6100 ## ------------------------------------ ## 6101 _ASBOX 6102 ) | 6103 sed "s/^/$as_me: WARNING: /" >&2 6104 ;; 6105 esac 6106 echo "$as_me:$LINENO: checking for sys/select.h" >&5 6107 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6 6108 if test "${ac_cv_header_sys_select_h+set}" = set; then 6109 echo $ECHO_N "(cached) $ECHO_C" >&6 6110 else 6111 ac_cv_header_sys_select_h=$ac_header_preproc 6112 fi 6113 echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 3228 6114 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6 6115 6116 fi 3229 6117 if test $ac_cv_header_sys_select_h = yes; then 3230 cat >>confdefs.h <<\ EOF6118 cat >>confdefs.h <<\_ACEOF 3231 6119 #define PJ_HAS_SYS_SELECT_H 1 3232 EOF 3233 3234 fi 3235 3236 echo "$as_me:3236: checking for sys/socket.h" >&5 6120 _ACEOF 6121 6122 fi 6123 6124 6125 if test "${ac_cv_header_sys_socket_h+set}" = set; then 6126 echo "$as_me:$LINENO: checking for sys/socket.h" >&5 3237 6127 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6 3238 6128 if test "${ac_cv_header_sys_socket_h+set}" = set; then 3239 6129 echo $ECHO_N "(cached) $ECHO_C" >&6 3240 else 3241 cat >conftest.$ac_ext <<_ACEOF 3242 #line 3242 "configure" 3243 #include "confdefs.h" 6130 fi 6131 echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 6132 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6 6133 else 6134 # Is the header compilable? 6135 echo "$as_me:$LINENO: checking sys/socket.h usability" >&5 6136 echo $ECHO_N "checking sys/socket.h usability... $ECHO_C" >&6 6137 cat >conftest.$ac_ext <<_ACEOF 6138 #line $LINENO "configure" 6139 /* confdefs.h. */ 6140 _ACEOF 6141 cat confdefs.h >>conftest.$ac_ext 6142 cat >>conftest.$ac_ext <<_ACEOF 6143 /* end confdefs.h. */ 6144 $ac_includes_default 3244 6145 #include <sys/socket.h> 3245 6146 _ACEOF 3246 if { (eval echo "$as_me:3246: \"$ac_cpp conftest.$ac_ext\"") >&5 6147 rm -f conftest.$ac_objext 6148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6149 (eval $ac_compile) 2>&5 6150 ac_status=$? 6151 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6152 (exit $ac_status); } && 6153 { ac_try='test -s conftest.$ac_objext' 6154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6155 (eval $ac_try) 2>&5 6156 ac_status=$? 6157 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6158 (exit $ac_status); }; }; then 6159 ac_header_compiler=yes 6160 else 6161 echo "$as_me: failed program was:" >&5 6162 sed 's/^/| /' conftest.$ac_ext >&5 6163 6164 ac_header_compiler=no 6165 fi 6166 rm -f conftest.$ac_objext conftest.$ac_ext 6167 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6168 echo "${ECHO_T}$ac_header_compiler" >&6 6169 6170 # Is the header present? 6171 echo "$as_me:$LINENO: checking sys/socket.h presence" >&5 6172 echo $ECHO_N "checking sys/socket.h presence... $ECHO_C" >&6 6173 cat >conftest.$ac_ext <<_ACEOF 6174 #line $LINENO "configure" 6175 /* confdefs.h. */ 6176 _ACEOF 6177 cat confdefs.h >>conftest.$ac_ext 6178 cat >>conftest.$ac_ext <<_ACEOF 6179 /* end confdefs.h. */ 6180 #include <sys/socket.h> 6181 _ACEOF 6182 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3247 6183 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3248 6184 ac_status=$? 3249 egrep -v '^ *\+' conftest.er1 >conftest.err6185 grep -v '^ *+' conftest.er1 >conftest.err 3250 6186 rm -f conftest.er1 3251 6187 cat conftest.err >&5 3252 echo "$as_me: 3252: \$? = $ac_status" >&56188 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3253 6189 (exit $ac_status); } >/dev/null; then 3254 6190 if test -s conftest.err; then … … 3261 6197 fi 3262 6198 if test -z "$ac_cpp_err"; then 3263 ac_ cv_header_sys_socket_h=yes6199 ac_header_preproc=yes 3264 6200 else 3265 6201 echo "$as_me: failed program was:" >&5 3266 cat conftest.$ac_ext >&5 3267 ac_cv_header_sys_socket_h=no 6202 sed 's/^/| /' conftest.$ac_ext >&5 6203 6204 ac_header_preproc=no 3268 6205 fi 3269 6206 rm -f conftest.err conftest.$ac_ext 3270 fi 3271 echo "$as_me:3271: result: $ac_cv_header_sys_socket_h" >&5 6207 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6208 echo "${ECHO_T}$ac_header_preproc" >&6 6209 6210 # So? What about this header? 6211 case $ac_header_compiler:$ac_header_preproc in 6212 yes:no ) 6213 { echo "$as_me:$LINENO: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 6214 echo "$as_me: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6215 { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&5 6216 echo "$as_me: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&2;} 6217 ( 6218 cat <<\_ASBOX 6219 ## ------------------------------------ ## 6220 ## Report this to bug-autoconf@gnu.org. ## 6221 ## ------------------------------------ ## 6222 _ASBOX 6223 ) | 6224 sed "s/^/$as_me: WARNING: /" >&2 6225 ;; 6226 no:yes ) 6227 { echo "$as_me:$LINENO: WARNING: sys/socket.h: present but cannot be compiled" >&5 6228 echo "$as_me: WARNING: sys/socket.h: present but cannot be compiled" >&2;} 6229 { echo "$as_me:$LINENO: WARNING: sys/socket.h: check for missing prerequisite headers?" >&5 6230 echo "$as_me: WARNING: sys/socket.h: check for missing prerequisite headers?" >&2;} 6231 { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&5 6232 echo "$as_me: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&2;} 6233 ( 6234 cat <<\_ASBOX 6235 ## ------------------------------------ ## 6236 ## Report this to bug-autoconf@gnu.org. ## 6237 ## ------------------------------------ ## 6238 _ASBOX 6239 ) | 6240 sed "s/^/$as_me: WARNING: /" >&2 6241 ;; 6242 esac 6243 echo "$as_me:$LINENO: checking for sys/socket.h" >&5 6244 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6 6245 if test "${ac_cv_header_sys_socket_h+set}" = set; then 6246 echo $ECHO_N "(cached) $ECHO_C" >&6 6247 else 6248 ac_cv_header_sys_socket_h=$ac_header_preproc 6249 fi 6250 echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 3272 6251 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6 6252 6253 fi 3273 6254 if test $ac_cv_header_sys_socket_h = yes; then 3274 cat >>confdefs.h <<\ EOF6255 cat >>confdefs.h <<\_ACEOF 3275 6256 #define PJ_HAS_SYS_SOCKET_H 1 3276 EOF 3277