Changeset 699 for pjproject/trunk/aconfigure
- Timestamp:
- Sep 10, 2006 4:33:48 PM (18 years ago)
- File:
-
- 1 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 3278 fi 3279 3280 echo "$as_me:3280: checking for sys/time.h" >&5 6257 _ACEOF 6258 6259 fi 6260 6261 6262 if test "${ac_cv_header_sys_time_h+set}" = set; then 6263 echo "$as_me:$LINENO: checking for sys/time.h" >&5 3281 6264 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6 3282 6265 if test "${ac_cv_header_sys_time_h+set}" = set; then 3283 6266 echo $ECHO_N "(cached) $ECHO_C" >&6 3284 else 3285 cat >conftest.$ac_ext <<_ACEOF 3286 #line 3286 "configure" 3287 #include "confdefs.h" 6267 fi 6268 echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 6269 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6 6270 else 6271 # Is the header compilable? 6272 echo "$as_me:$LINENO: checking sys/time.h usability" >&5 6273 echo $ECHO_N "checking sys/time.h usability... $ECHO_C" >&6 6274 cat >conftest.$ac_ext <<_ACEOF 6275 #line $LINENO "configure" 6276 /* confdefs.h. */ 6277 _ACEOF 6278 cat confdefs.h >>conftest.$ac_ext 6279 cat >>conftest.$ac_ext <<_ACEOF 6280 /* end confdefs.h. */ 6281 $ac_includes_default 3288 6282 #include <sys/time.h> 3289 6283 _ACEOF 3290 if { (eval echo "$as_me:3290: \"$ac_cpp conftest.$ac_ext\"") >&5 6284 rm -f conftest.$ac_objext 6285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6286 (eval $ac_compile) 2>&5 6287 ac_status=$? 6288 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6289 (exit $ac_status); } && 6290 { ac_try='test -s conftest.$ac_objext' 6291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6292 (eval $ac_try) 2>&5 6293 ac_status=$? 6294 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6295 (exit $ac_status); }; }; then 6296 ac_header_compiler=yes 6297 else 6298 echo "$as_me: failed program was:" >&5 6299 sed 's/^/| /' conftest.$ac_ext >&5 6300 6301 ac_header_compiler=no 6302 fi 6303 rm -f conftest.$ac_objext conftest.$ac_ext 6304 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6305 echo "${ECHO_T}$ac_header_compiler" >&6 6306 6307 # Is the header present? 6308 echo "$as_me:$LINENO: checking sys/time.h presence" >&5 6309 echo $ECHO_N "checking sys/time.h presence... $ECHO_C" >&6 6310 cat >conftest.$ac_ext <<_ACEOF 6311 #line $LINENO "configure" 6312 /* confdefs.h. */ 6313 _ACEOF 6314 cat confdefs.h >>conftest.$ac_ext 6315 cat >>conftest.$ac_ext <<_ACEOF 6316 /* end confdefs.h. */ 6317 #include <sys/time.h> 6318 _ACEOF 6319 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3291 6320 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3292 6321 ac_status=$? 3293 egrep -v '^ *\+' conftest.er1 >conftest.err6322 grep -v '^ *+' conftest.er1 >conftest.err 3294 6323 rm -f conftest.er1 3295 6324 cat conftest.err >&5 3296 echo "$as_me: 3296: \$? = $ac_status" >&56325 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3297 6326 (exit $ac_status); } >/dev/null; then 3298 6327 if test -s conftest.err; then … … 3305 6334 fi 3306 6335 if test -z "$ac_cpp_err"; then 3307 ac_ cv_header_sys_time_h=yes6336 ac_header_preproc=yes 3308 6337 else 3309 6338 echo "$as_me: failed program was:" >&5 3310 cat conftest.$ac_ext >&5 3311 ac_cv_header_sys_time_h=no 6339 sed 's/^/| /' conftest.$ac_ext >&5 6340 6341 ac_header_preproc=no 3312 6342 fi 3313 6343 rm -f conftest.err conftest.$ac_ext 3314 fi 3315 echo "$as_me:3315: result: $ac_cv_header_sys_time_h" >&5 6344 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6345 echo "${ECHO_T}$ac_header_preproc" >&6 6346 6347 # So? What about this header? 6348 case $ac_header_compiler:$ac_header_preproc in 6349 yes:no ) 6350 { echo "$as_me:$LINENO: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&5 6351 echo "$as_me: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6352 { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the preprocessor's result" >&5 6353 echo "$as_me: WARNING: sys/time.h: proceeding with the preprocessor's result" >&2;} 6354 ( 6355 cat <<\_ASBOX 6356 ## ------------------------------------ ## 6357 ## Report this to bug-autoconf@gnu.org. ## 6358 ## ------------------------------------ ## 6359 _ASBOX 6360 ) | 6361 sed "s/^/$as_me: WARNING: /" >&2 6362 ;; 6363 no:yes ) 6364 { echo "$as_me:$LINENO: WARNING: sys/time.h: present but cannot be compiled" >&5 6365 echo "$as_me: WARNING: sys/time.h: present but cannot be compiled" >&2;} 6366 { echo "$as_me:$LINENO: WARNING: sys/time.h: check for missing prerequisite headers?" >&5 6367 echo "$as_me: WARNING: sys/time.h: check for missing prerequisite headers?" >&2;} 6368 { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the preprocessor's result" >&5 6369 echo "$as_me: WARNING: sys/time.h: proceeding with the preprocessor's result" >&2;} 6370 ( 6371 cat <<\_ASBOX 6372 ## ------------------------------------ ## 6373 ## Report this to bug-autoconf@gnu.org. ## 6374 ## ------------------------------------ ## 6375 _ASBOX 6376 ) | 6377 sed "s/^/$as_me: WARNING: /" >&2 6378 ;; 6379 esac 6380 echo "$as_me:$LINENO: checking for sys/time.h" >&5 6381 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6 6382 if test "${ac_cv_header_sys_time_h+set}" = set; then 6383 echo $ECHO_N "(cached) $ECHO_C" >&6 6384 else 6385 ac_cv_header_sys_time_h=$ac_header_preproc 6386 fi 6387 echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 3316 6388 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6 6389 6390 fi 3317 6391 if test $ac_cv_header_sys_time_h = yes; then 3318 cat >>confdefs.h <<\ EOF6392 cat >>confdefs.h <<\_ACEOF 3319 6393 #define PJ_HAS_SYS_TIME_H 1 3320 EOF 3321 3322 fi 3323 3324 echo "$as_me:3324: checking for sys/timeb.h" >&5 6394 _ACEOF 6395 6396 fi 6397 6398 6399 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 6400 echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 3325 6401 echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6 3326 6402 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 3327 6403 echo $ECHO_N "(cached) $ECHO_C" >&6 3328 else 3329 cat >conftest.$ac_ext <<_ACEOF 3330 #line 3330 "configure" 3331 #include "confdefs.h" 6404 fi 6405 echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 6406 echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6 6407 else 6408 # Is the header compilable? 6409 echo "$as_me:$LINENO: checking sys/timeb.h usability" >&5 6410 echo $ECHO_N "checking sys/timeb.h usability... $ECHO_C" >&6 6411 cat >conftest.$ac_ext <<_ACEOF 6412 #line $LINENO "configure" 6413 /* confdefs.h. */ 6414 _ACEOF 6415 cat confdefs.h >>conftest.$ac_ext 6416 cat >>conftest.$ac_ext <<_ACEOF 6417 /* end confdefs.h. */ 6418 $ac_includes_default 3332 6419 #include <sys/timeb.h> 3333 6420 _ACEOF 3334 if { (eval echo "$as_me:3334: \"$ac_cpp conftest.$ac_ext\"") >&5 6421 rm -f conftest.$ac_objext 6422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6423 (eval $ac_compile) 2>&5 6424 ac_status=$? 6425 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6426 (exit $ac_status); } && 6427 { ac_try='test -s conftest.$ac_objext' 6428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6429 (eval $ac_try) 2>&5 6430 ac_status=$? 6431 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6432 (exit $ac_status); }; }; then 6433 ac_header_compiler=yes 6434 else 6435 echo "$as_me: failed program was:" >&5 6436 sed 's/^/| /' conftest.$ac_ext >&5 6437 6438 ac_header_compiler=no 6439 fi 6440 rm -f conftest.$ac_objext conftest.$ac_ext 6441 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6442 echo "${ECHO_T}$ac_header_compiler" >&6 6443 6444 # Is the header present? 6445 echo "$as_me:$LINENO: checking sys/timeb.h presence" >&5 6446 echo $ECHO_N "checking sys/timeb.h presence... $ECHO_C" >&6 6447 cat >conftest.$ac_ext <<_ACEOF 6448 #line $LINENO "configure" 6449 /* confdefs.h. */ 6450 _ACEOF 6451 cat confdefs.h >>conftest.$ac_ext 6452 cat >>conftest.$ac_ext <<_ACEOF 6453 /* end confdefs.h. */ 6454 #include <sys/timeb.h> 6455 _ACEOF 6456 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3335 6457 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3336 6458 ac_status=$? 3337 egrep -v '^ *\+' conftest.er1 >conftest.err6459 grep -v '^ *+' conftest.er1 >conftest.err 3338 6460 rm -f conftest.er1 3339 6461 cat conftest.err >&5 3340 echo "$as_me: 3340: \$? = $ac_status" >&56462 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3341 6463 (exit $ac_status); } >/dev/null; then 3342 6464 if test -s conftest.err; then … … 3349 6471 fi 3350 6472 if test -z "$ac_cpp_err"; then 3351 ac_ cv_header_sys_timeb_h=yes6473 ac_header_preproc=yes 3352 6474 else 3353 6475 echo "$as_me: failed program was:" >&5 3354 cat conftest.$ac_ext >&5 3355 ac_cv_header_sys_timeb_h=no 6476 sed 's/^/| /' conftest.$ac_ext >&5 6477 6478 ac_header_preproc=no 3356 6479 fi 3357 6480 rm -f conftest.err conftest.$ac_ext 3358 fi 3359 echo "$as_me:3359: result: $ac_cv_header_sys_timeb_h" >&5 6481 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6482 echo "${ECHO_T}$ac_header_preproc" >&6 6483 6484 # So? What about this header? 6485 case $ac_header_compiler:$ac_header_preproc in 6486 yes:no ) 6487 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&5 6488 echo "$as_me: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6489 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&5 6490 echo "$as_me: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&2;} 6491 ( 6492 cat <<\_ASBOX 6493 ## ------------------------------------ ## 6494 ## Report this to bug-autoconf@gnu.org. ## 6495 ## ------------------------------------ ## 6496 _ASBOX 6497 ) | 6498 sed "s/^/$as_me: WARNING: /" >&2 6499 ;; 6500 no:yes ) 6501 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: present but cannot be compiled" >&5 6502 echo "$as_me: WARNING: sys/timeb.h: present but cannot be compiled" >&2;} 6503 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: check for missing prerequisite headers?" >&5 6504 echo "$as_me: WARNING: sys/timeb.h: check for missing prerequisite headers?" >&2;} 6505 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&5 6506 echo "$as_me: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&2;} 6507 ( 6508 cat <<\_ASBOX 6509 ## ------------------------------------ ## 6510 ## Report this to bug-autoconf@gnu.org. ## 6511 ## ------------------------------------ ## 6512 _ASBOX 6513 ) | 6514 sed "s/^/$as_me: WARNING: /" >&2 6515 ;; 6516 esac 6517 echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 6518 echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6 6519 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 6520 echo $ECHO_N "(cached) $ECHO_C" >&6 6521 else 6522 ac_cv_header_sys_timeb_h=$ac_header_preproc 6523 fi 6524 echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 3360 6525 echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6 6526 6527 fi 3361 6528 if test $ac_cv_header_sys_timeb_h = yes; then 3362 cat >>confdefs.h <<\ EOF6529 cat >>confdefs.h <<\_ACEOF 3363 6530 #define PJ_HAS_SYS_TIMEB_H 1 3364 EOF 3365 3366 fi 3367 3368 echo "$as_me:3368: checking for sys/types.h" >&5 6531 _ACEOF 6532 6533 fi 6534 6535 6536 if test "${ac_cv_header_sys_types_h+set}" = set; then 6537 echo "$as_me:$LINENO: checking for sys/types.h" >&5 3369 6538 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6 3370 6539 if test "${ac_cv_header_sys_types_h+set}" = set; then 3371 6540 echo $ECHO_N "(cached) $ECHO_C" >&6 3372 else 3373 cat >conftest.$ac_ext <<_ACEOF 3374 #line 3374 "configure" 3375 #include "confdefs.h" 6541 fi 6542 echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 6543 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6 6544 else 6545 # Is the header compilable? 6546 echo "$as_me:$LINENO: checking sys/types.h usability" >&5 6547 echo $ECHO_N "checking sys/types.h usability... $ECHO_C" >&6 6548 cat >conftest.$ac_ext <<_ACEOF 6549 #line $LINENO "configure" 6550 /* confdefs.h. */ 6551 _ACEOF 6552 cat confdefs.h >>conftest.$ac_ext 6553 cat >>conftest.$ac_ext <<_ACEOF 6554 /* end confdefs.h. */ 6555 $ac_includes_default 3376 6556 #include <sys/types.h> 3377 6557 _ACEOF 3378 if { (eval echo "$as_me:3378: \"$ac_cpp conftest.$ac_ext\"") >&5 6558 rm -f conftest.$ac_objext 6559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6560 (eval $ac_compile) 2>&5 6561 ac_status=$? 6562 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6563 (exit $ac_status); } && 6564 { ac_try='test -s conftest.$ac_objext' 6565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6566 (eval $ac_try) 2>&5 6567 ac_status=$? 6568 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6569 (exit $ac_status); }; }; then 6570 ac_header_compiler=yes 6571 else 6572 echo "$as_me: failed program was:" >&5 6573 sed 's/^/| /' conftest.$ac_ext >&5 6574 6575 ac_header_compiler=no 6576 fi 6577 rm -f conftest.$ac_objext conftest.$ac_ext 6578 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6579 echo "${ECHO_T}$ac_header_compiler" >&6 6580 6581 # Is the header present? 6582 echo "$as_me:$LINENO: checking sys/types.h presence" >&5 6583 echo $ECHO_N "checking sys/types.h presence... $ECHO_C" >&6 6584 cat >conftest.$ac_ext <<_ACEOF 6585 #line $LINENO "configure" 6586 /* confdefs.h. */ 6587 _ACEOF 6588 cat confdefs.h >>conftest.$ac_ext 6589 cat >>conftest.$ac_ext <<_ACEOF 6590 /* end confdefs.h. */ 6591 #include <sys/types.h> 6592 _ACEOF 6593 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3379 6594 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3380 6595 ac_status=$? 3381 egrep -v '^ *\+' conftest.er1 >conftest.err6596 grep -v '^ *+' conftest.er1 >conftest.err 3382 6597 rm -f conftest.er1 3383 6598 cat conftest.err >&5 3384 echo "$as_me: 3384: \$? = $ac_status" >&56599 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3385 6600 (exit $ac_status); } >/dev/null; then 3386 6601 if test -s conftest.err; then … … 3393 6608 fi 3394 6609 if test -z "$ac_cpp_err"; then 3395 ac_ cv_header_sys_types_h=yes6610 ac_header_preproc=yes 3396 6611 else 3397 6612 echo "$as_me: failed program was:" >&5 3398 cat conftest.$ac_ext >&5 3399 ac_cv_header_sys_types_h=no 6613 sed 's/^/| /' conftest.$ac_ext >&5 6614 6615 ac_header_preproc=no 3400 6616 fi 3401 6617 rm -f conftest.err conftest.$ac_ext 3402 fi 3403 echo "$as_me:3403: result: $ac_cv_header_sys_types_h" >&5 6618 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6619 echo "${ECHO_T}$ac_header_preproc" >&6 6620 6621 # So? What about this header? 6622 case $ac_header_compiler:$ac_header_preproc in 6623 yes:no ) 6624 { echo "$as_me:$LINENO: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&5 6625 echo "$as_me: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6626 { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the preprocessor's result" >&5 6627 echo "$as_me: WARNING: sys/types.h: proceeding with the preprocessor's result" >&2;} 6628 ( 6629 cat <<\_ASBOX 6630 ## ------------------------------------ ## 6631 ## Report this to bug-autoconf@gnu.org. ## 6632 ## ------------------------------------ ## 6633 _ASBOX 6634 ) | 6635 sed "s/^/$as_me: WARNING: /" >&2 6636 ;; 6637 no:yes ) 6638 { echo "$as_me:$LINENO: WARNING: sys/types.h: present but cannot be compiled" >&5 6639 echo "$as_me: WARNING: sys/types.h: present but cannot be compiled" >&2;} 6640 { echo "$as_me:$LINENO: WARNING: sys/types.h: check for missing prerequisite headers?" >&5 6641 echo "$as_me: WARNING: sys/types.h: check for missing prerequisite headers?" >&2;} 6642 { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the preprocessor's result" >&5 6643 echo "$as_me: WARNING: sys/types.h: proceeding with the preprocessor's result" >&2;} 6644 ( 6645 cat <<\_ASBOX 6646 ## ------------------------------------ ## 6647 ## Report this to bug-autoconf@gnu.org. ## 6648 ## ------------------------------------ ## 6649 _ASBOX 6650 ) | 6651 sed "s/^/$as_me: WARNING: /" >&2 6652 ;; 6653 esac 6654 echo "$as_me:$LINENO: checking for sys/types.h" >&5 6655 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6 6656 if test "${ac_cv_header_sys_types_h+set}" = set; then 6657 echo $ECHO_N "(cached) $ECHO_C" >&6 6658 else 6659 ac_cv_header_sys_types_h=$ac_header_preproc 6660 fi 6661 echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 3404 6662 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6 6663 6664 fi 3405 6665 if test $ac_cv_header_sys_types_h = yes; then 3406 cat >>confdefs.h <<\ EOF6666 cat >>confdefs.h <<\_ACEOF 3407 6667 #define PJ_HAS_SYS_TYPES_H 1 3408 EOF 3409 3410 fi 3411 3412 echo "$as_me:3412: checking for time.h" >&5 6668 _ACEOF 6669 6670 fi 6671 6672 6673 if test "${ac_cv_header_time_h+set}" = set; then 6674 echo "$as_me:$LINENO: checking for time.h" >&5 3413 6675 echo $ECHO_N "checking for time.h... $ECHO_C" >&6 3414 6676 if test "${ac_cv_header_time_h+set}" = set; then 3415 6677 echo $ECHO_N "(cached) $ECHO_C" >&6 3416 else 3417 cat >conftest.$ac_ext <<_ACEOF 3418 #line 3418 "configure" 3419 #include "confdefs.h" 6678 fi 6679 echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 6680 echo "${ECHO_T}$ac_cv_header_time_h" >&6 6681 else 6682 # Is the header compilable? 6683 echo "$as_me:$LINENO: checking time.h usability" >&5 6684 echo $ECHO_N "checking time.h usability... $ECHO_C" >&6 6685 cat >conftest.$ac_ext <<_ACEOF 6686 #line $LINENO "configure" 6687 /* confdefs.h. */ 6688 _ACEOF 6689 cat confdefs.h >>conftest.$ac_ext 6690 cat >>conftest.$ac_ext <<_ACEOF 6691 /* end confdefs.h. */ 6692 $ac_includes_default 3420 6693 #include <time.h> 3421 6694 _ACEOF 3422 if { (eval echo "$as_me:3422: \"$ac_cpp conftest.$ac_ext\"") >&5 6695 rm -f conftest.$ac_objext 6696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6697 (eval $ac_compile) 2>&5 6698 ac_status=$? 6699 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6700 (exit $ac_status); } && 6701 { ac_try='test -s conftest.$ac_objext' 6702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6703 (eval $ac_try) 2>&5 6704 ac_status=$? 6705 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6706 (exit $ac_status); }; }; then 6707 ac_header_compiler=yes 6708 else 6709 echo "$as_me: failed program was:" >&5 6710 sed 's/^/| /' conftest.$ac_ext >&5 6711 6712 ac_header_compiler=no 6713 fi 6714 rm -f conftest.$ac_objext conftest.$ac_ext 6715 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6716 echo "${ECHO_T}$ac_header_compiler" >&6 6717 6718 # Is the header present? 6719 echo "$as_me:$LINENO: checking time.h presence" >&5 6720 echo $ECHO_N "checking time.h presence... $ECHO_C" >&6 6721 cat >conftest.$ac_ext <<_ACEOF 6722 #line $LINENO "configure" 6723 /* confdefs.h. */ 6724 _ACEOF 6725 cat confdefs.h >>conftest.$ac_ext 6726 cat >>conftest.$ac_ext <<_ACEOF 6727 /* end confdefs.h. */ 6728 #include <time.h> 6729 _ACEOF 6730 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3423 6731 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3424 6732 ac_status=$? 3425 egrep -v '^ *\+' conftest.er1 >conftest.err6733 grep -v '^ *+' conftest.er1 >conftest.err 3426 6734 rm -f conftest.er1 3427 6735 cat conftest.err >&5 3428 echo "$as_me: 3428: \$? = $ac_status" >&56736 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3429 6737 (exit $ac_status); } >/dev/null; then 3430 6738 if test -s conftest.err; then … … 3437 6745 fi 3438 6746 if test -z "$ac_cpp_err"; then 3439 ac_ cv_header_time_h=yes6747 ac_header_preproc=yes 3440 6748 else 3441 6749 echo "$as_me: failed program was:" >&5 3442 cat conftest.$ac_ext >&5 3443 ac_cv_header_time_h=no 6750 sed 's/^/| /' conftest.$ac_ext >&5 6751 6752 ac_header_preproc=no 3444 6753 fi 3445 6754 rm -f conftest.err conftest.$ac_ext 3446 fi 3447 echo "$as_me:3447: result: $ac_cv_header_time_h" >&5 6755 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6756 echo "${ECHO_T}$ac_header_preproc" >&6 6757 6758 # So? What about this header? 6759 case $ac_header_compiler:$ac_header_preproc in 6760 yes:no ) 6761 { echo "$as_me:$LINENO: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&5 6762 echo "$as_me: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6763 { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the preprocessor's result" >&5 6764 echo "$as_me: WARNING: time.h: proceeding with the preprocessor's result" >&2;} 6765 ( 6766 cat <<\_ASBOX 6767 ## ------------------------------------ ## 6768 ## Report this to bug-autoconf@gnu.org. ## 6769 ## ------------------------------------ ## 6770 _ASBOX 6771 ) | 6772 sed "s/^/$as_me: WARNING: /" >&2 6773 ;; 6774 no:yes ) 6775 { echo "$as_me:$LINENO: WARNING: time.h: present but cannot be compiled" >&5 6776 echo "$as_me: WARNING: time.h: present but cannot be compiled" >&2;} 6777 { echo "$as_me:$LINENO: WARNING: time.h: check for missing prerequisite headers?" >&5 6778 echo "$as_me: WARNING: time.h: check for missing prerequisite headers?" >&2;} 6779 { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the preprocessor's result" >&5 6780 echo "$as_me: WARNING: time.h: proceeding with the preprocessor's result" >&2;} 6781 ( 6782 cat <<\_ASBOX 6783 ## ------------------------------------ ## 6784 ## Report this to bug-autoconf@gnu.org. ## 6785 ## ------------------------------------ ## 6786 _ASBOX 6787 ) | 6788 sed "s/^/$as_me: WARNING: /" >&2 6789 ;; 6790 esac 6791 echo "$as_me:$LINENO: checking for time.h" >&5 6792 echo $ECHO_N "checking for time.h... $ECHO_C" >&6 6793 if test "${ac_cv_header_time_h+set}" = set; then 6794 echo $ECHO_N "(cached) $ECHO_C" >&6 6795 else 6796 ac_cv_header_time_h=$ac_header_preproc 6797 fi 6798 echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 3448 6799 echo "${ECHO_T}$ac_cv_header_time_h" >&6 6800 6801 fi 3449 6802 if test $ac_cv_header_time_h = yes; then 3450 cat >>confdefs.h <<\ EOF6803 cat >>confdefs.h <<\_ACEOF 3451 6804 #define PJ_HAS_TIME_H 1 3452 EOF 3453 3454 fi 3455 3456 echo "$as_me:3456: checking for unistd.h" >&5 6805 _ACEOF 6806 6807 fi 6808 6809 6810 if test "${ac_cv_header_unistd_h+set}" = set; then 6811 echo "$as_me:$LINENO: checking for unistd.h" >&5 3457 6812 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6 3458 6813 if test "${ac_cv_header_unistd_h+set}" = set; then 3459 6814 echo $ECHO_N "(cached) $ECHO_C" >&6 3460 else 3461 cat >conftest.$ac_ext <<_ACEOF 3462 #line 3462 "configure" 3463 #include "confdefs.h" 6815 fi 6816 echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 6817 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6 6818 else 6819 # Is the header compilable? 6820 echo "$as_me:$LINENO: checking unistd.h usability" >&5 6821 echo $ECHO_N "checking unistd.h usability... $ECHO_C" >&6 6822 cat >conftest.$ac_ext <<_ACEOF 6823 #line $LINENO "configure" 6824 /* confdefs.h. */ 6825 _ACEOF 6826 cat confdefs.h >>conftest.$ac_ext 6827 cat >>conftest.$ac_ext <<_ACEOF 6828 /* end confdefs.h. */ 6829 $ac_includes_default 3464 6830 #include <unistd.h> 3465 6831 _ACEOF 3466 if { (eval echo "$as_me:3466: \"$ac_cpp conftest.$ac_ext\"") >&5 6832 rm -f conftest.$ac_objext 6833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6834 (eval $ac_compile) 2>&5 6835 ac_status=$? 6836 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6837 (exit $ac_status); } && 6838 { ac_try='test -s conftest.$ac_objext' 6839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6840 (eval $ac_try) 2>&5 6841 ac_status=$? 6842 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6843 (exit $ac_status); }; }; then 6844 ac_header_compiler=yes 6845 else 6846 echo "$as_me: failed program was:" >&5 6847 sed 's/^/| /' conftest.$ac_ext >&5 6848 6849 ac_header_compiler=no 6850 fi 6851 rm -f conftest.$ac_objext conftest.$ac_ext 6852 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6853 echo "${ECHO_T}$ac_header_compiler" >&6 6854 6855 # Is the header present? 6856 echo "$as_me:$LINENO: checking unistd.h presence" >&5 6857 echo $ECHO_N "checking unistd.h presence... $ECHO_C" >&6 6858 cat >conftest.$ac_ext <<_ACEOF 6859 #line $LINENO "configure" 6860 /* confdefs.h. */ 6861 _ACEOF 6862 cat confdefs.h >>conftest.$ac_ext 6863 cat >>conftest.$ac_ext <<_ACEOF 6864 /* end confdefs.h. */ 6865 #include <unistd.h> 6866 _ACEOF 6867 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3467 6868 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3468 6869 ac_status=$? 3469 egrep -v '^ *\+' conftest.er1 >conftest.err6870 grep -v '^ *+' conftest.er1 >conftest.err 3470 6871 rm -f conftest.er1 3471 6872 cat conftest.err >&5 3472 echo "$as_me: 3472: \$? = $ac_status" >&56873 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3473 6874 (exit $ac_status); } >/dev/null; then 3474 6875 if test -s conftest.err; then … … 3481 6882 fi 3482 6883 if test -z "$ac_cpp_err"; then 3483 ac_ cv_header_unistd_h=yes6884 ac_header_preproc=yes 3484 6885 else 3485 6886 echo "$as_me: failed program was:" >&5 3486 cat conftest.$ac_ext >&5 3487 ac_cv_header_unistd_h=no 6887 sed 's/^/| /' conftest.$ac_ext >&5 6888 6889 ac_header_preproc=no 3488 6890 fi 3489 6891 rm -f conftest.err conftest.$ac_ext 3490 fi 3491 echo "$as_me:3491: result: $ac_cv_header_unistd_h" >&5 6892 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6893 echo "${ECHO_T}$ac_header_preproc" >&6 6894 6895 # So? What about this header? 6896 case $ac_header_compiler:$ac_header_preproc in 6897 yes:no ) 6898 { echo "$as_me:$LINENO: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&5 6899 echo "$as_me: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6900 { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5 6901 echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;} 6902 ( 6903 cat <<\_ASBOX 6904 ## ------------------------------------ ## 6905 ## Report this to bug-autoconf@gnu.org. ## 6906 ## ------------------------------------ ## 6907 _ASBOX 6908 ) | 6909 sed "s/^/$as_me: WARNING: /" >&2 6910 ;; 6911 no:yes ) 6912 { echo "$as_me:$LINENO: WARNING: unistd.h: present but cannot be compiled" >&5 6913 echo "$as_me: WARNING: unistd.h: present but cannot be compiled" >&2;} 6914 { echo "$as_me:$LINENO: WARNING: unistd.h: check for missing prerequisite headers?" >&5 6915 echo "$as_me: WARNING: unistd.h: check for missing prerequisite headers?" >&2;} 6916 { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5 6917 echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;} 6918 ( 6919 cat <<\_ASBOX 6920 ## ------------------------------------ ## 6921 ## Report this to bug-autoconf@gnu.org. ## 6922 ## ------------------------------------ ## 6923 _ASBOX 6924 ) | 6925 sed "s/^/$as_me: WARNING: /" >&2 6926 ;; 6927 esac 6928 echo "$as_me:$LINENO: checking for unistd.h" >&5 6929 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6 6930 if test "${ac_cv_header_unistd_h+set}" = set; then 6931 echo $ECHO_N "(cached) $ECHO_C" >&6 6932 else 6933 ac_cv_header_unistd_h=$ac_header_preproc 6934 fi 6935 echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 3492 6936 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6 6937 6938 fi 3493 6939 if test $ac_cv_header_unistd_h = yes; then 3494 cat >>confdefs.h <<\ EOF6940 cat >>confdefs.h <<\_ACEOF 3495 6941 #define PJ_HAS_UNISTD_H 1 3496 EOF 3497 3498 fi 3499 3500 echo "$as_me:3500: checking for mswsock.h" >&5 6942 _ACEOF 6943 6944 fi 6945 6946 6947 if test "${ac_cv_header_mswsock_h+set}" = set; then 6948 echo "$as_me:$LINENO: checking for mswsock.h" >&5 3501 6949 echo $ECHO_N "checking for mswsock.h... $ECHO_C" >&6 3502 6950 if test "${ac_cv_header_mswsock_h+set}" = set; then 3503 6951 echo $ECHO_N "(cached) $ECHO_C" >&6 3504 else 3505 cat >conftest.$ac_ext <<_ACEOF 3506 #line 3506 "configure" 3507 #include "confdefs.h" 6952 fi 6953 echo "$as_me:$LINENO: result: $ac_cv_header_mswsock_h" >&5 6954 echo "${ECHO_T}$ac_cv_header_mswsock_h" >&6 6955 else 6956 # Is the header compilable? 6957 echo "$as_me:$LINENO: checking mswsock.h usability" >&5 6958 echo $ECHO_N "checking mswsock.h usability... $ECHO_C" >&6 6959 cat >conftest.$ac_ext <<_ACEOF 6960 #line $LINENO "configure" 6961 /* confdefs.h. */ 6962 _ACEOF 6963 cat confdefs.h >>conftest.$ac_ext 6964 cat >>conftest.$ac_ext <<_ACEOF 6965 /* end confdefs.h. */ 6966 $ac_includes_default 3508 6967 #include <mswsock.h> 3509 6968 _ACEOF 3510 if { (eval echo "$as_me:3510: \"$ac_cpp conftest.$ac_ext\"") >&5 6969 rm -f conftest.$ac_objext 6970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6971 (eval $ac_compile) 2>&5 6972 ac_status=$? 6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6974 (exit $ac_status); } && 6975 { ac_try='test -s conftest.$ac_objext' 6976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6977 (eval $ac_try) 2>&5 6978 ac_status=$? 6979 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6980 (exit $ac_status); }; }; then 6981 ac_header_compiler=yes 6982 else 6983 echo "$as_me: failed program was:" >&5 6984 sed 's/^/| /' conftest.$ac_ext >&5 6985 6986 ac_header_compiler=no 6987 fi 6988 rm -f conftest.$ac_objext conftest.$ac_ext 6989 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6990 echo "${ECHO_T}$ac_header_compiler" >&6 6991 6992 # Is the header present? 6993 echo "$as_me:$LINENO: checking mswsock.h presence" >&5 6994 echo $ECHO_N "checking mswsock.h presence... $ECHO_C" >&6 6995 cat >conftest.$ac_ext <<_ACEOF 6996 #line $LINENO "configure" 6997 /* confdefs.h. */ 6998 _ACEOF 6999 cat confdefs.h >>conftest.$ac_ext 7000 cat >>conftest.$ac_ext <<_ACEOF 7001 /* end confdefs.h. */ 7002 #include <mswsock.h> 7003 _ACEOF 7004 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3511 7005 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3512 7006 ac_status=$? 3513 egrep -v '^ *\+' conftest.er1 >conftest.err7007 grep -v '^ *+' conftest.er1 >conftest.err 3514 7008 rm -f conftest.er1 3515 7009 cat conftest.err >&5 3516 echo "$as_me: 3516: \$? = $ac_status" >&57010 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3517 7011 (exit $ac_status); } >/dev/null; then 3518 7012 if test -s conftest.err; then … … 3525 7019 fi 3526 7020 if test -z "$ac_cpp_err"; then 3527 ac_ cv_header_mswsock_h=yes7021 ac_header_preproc=yes 3528 7022 else 3529 7023 echo "$as_me: failed program was:" >&5 3530 cat conftest.$ac_ext >&5 3531 ac_cv_header_mswsock_h=no 7024 sed 's/^/| /' conftest.$ac_ext >&5 7025 7026 ac_header_preproc=no 3532 7027 fi 3533 7028 rm -f conftest.err conftest.$ac_ext 3534 fi 3535 echo "$as_me:3535: result: $ac_cv_header_mswsock_h" >&5 7029 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7030 echo "${ECHO_T}$ac_header_preproc" >&6 7031 7032 # So? What about this header? 7033 case $ac_header_compiler:$ac_header_preproc in 7034 yes:no ) 7035 { echo "$as_me:$LINENO: WARNING: mswsock.h: accepted by the compiler, rejected by the preprocessor!" >&5 7036 echo "$as_me: WARNING: mswsock.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7037 { echo "$as_me:$LINENO: WARNING: mswsock.h: proceeding with the preprocessor's result" >&5 7038 echo "$as_me: WARNING: mswsock.h: proceeding with the preprocessor's result" >&2;} 7039 ( 7040 cat <<\_ASBOX 7041 ## ------------------------------------ ## 7042 ## Report this to bug-autoconf@gnu.org. ## 7043 ## ------------------------------------ ## 7044 _ASBOX 7045 ) | 7046 sed "s/^/$as_me: WARNING: /" >&2 7047 ;; 7048 no:yes ) 7049 { echo "$as_me:$LINENO: WARNING: mswsock.h: present but cannot be compiled" >&5 7050 echo "$as_me: WARNING: mswsock.h: present but cannot be compiled" >&2;} 7051 { echo "$as_me:$LINENO: WARNING: mswsock.h: check for missing prerequisite headers?" >&5 7052 echo "$as_me: WARNING: mswsock.h: check for missing prerequisite headers?" >&2;} 7053 { echo "$as_me:$LINENO: WARNING: mswsock.h: proceeding with the preprocessor's result" >&5 7054 echo "$as_me: WARNING: mswsock.h: proceeding with the preprocessor's result" >&2;} 7055 ( 7056 cat <<\_ASBOX 7057 ## ------------------------------------ ## 7058 ## Report this to bug-autoconf@gnu.org. ## 7059 ## ------------------------------------ ## 7060 _ASBOX 7061 ) | 7062 sed "s/^/$as_me: WARNING: /" >&2 7063 ;; 7064 esac 7065 echo "$as_me:$LINENO: checking for mswsock.h" >&5 7066 echo $ECHO_N "checking for mswsock.h... $ECHO_C" >&6 7067 if test "${ac_cv_header_mswsock_h+set}" = set; then 7068 echo $ECHO_N "(cached) $ECHO_C" >&6 7069 else 7070 ac_cv_header_mswsock_h=$ac_header_preproc 7071 fi 7072 echo "$as_me:$LINENO: result: $ac_cv_header_mswsock_h" >&5 3536 7073 echo "${ECHO_T}$ac_cv_header_mswsock_h" >&6 7074 7075 fi 3537 7076 if test $ac_cv_header_mswsock_h = yes; then 3538 cat >>confdefs.h <<\ EOF7077 cat >>confdefs.h <<\_ACEOF 3539 7078 #define PJ_HAS_MSWSOCK_H 1 3540 EOF 3541 3542 fi 3543 3544 echo "$as_me:3544: checking for winsock.h" >&5 7079 _ACEOF 7080 7081 fi 7082 7083 7084 if test "${ac_cv_header_winsock_h+set}" = set; then 7085 echo "$as_me:$LINENO: checking for winsock.h" >&5 3545 7086 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6 3546 7087 if test "${ac_cv_header_winsock_h+set}" = set; then 3547 7088 echo $ECHO_N "(cached) $ECHO_C" >&6 3548 else 3549 cat >conftest.$ac_ext <<_ACEOF 3550 #line 3550 "configure" 3551 #include "confdefs.h" 7089 fi 7090 echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 7091 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6 7092 else 7093 # Is the header compilable? 7094 echo "$as_me:$LINENO: checking winsock.h usability" >&5 7095 echo $ECHO_N "checking winsock.h usability... $ECHO_C" >&6 7096 cat >conftest.$ac_ext <<_ACEOF 7097 #line $LINENO "configure" 7098 /* confdefs.h. */ 7099 _ACEOF 7100 cat confdefs.h >>conftest.$ac_ext 7101 cat >>conftest.$ac_ext <<_ACEOF 7102 /* end confdefs.h. */ 7103 $ac_includes_default 3552 7104 #include <winsock.h> 3553 7105 _ACEOF 3554 if { (eval echo "$as_me:3554: \"$ac_cpp conftest.$ac_ext\"") >&5 7106 rm -f conftest.$ac_objext 7107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7108 (eval $ac_compile) 2>&5 7109 ac_status=$? 7110 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7111 (exit $ac_status); } && 7112 { ac_try='test -s conftest.$ac_objext' 7113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7114 (eval $ac_try) 2>&5 7115 ac_status=$? 7116 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7117 (exit $ac_status); }; }; then 7118 ac_header_compiler=yes 7119 else 7120 echo "$as_me: failed program was:" >&5 7121 sed 's/^/| /' conftest.$ac_ext >&5 7122 7123 ac_header_compiler=no 7124 fi 7125 rm -f conftest.$ac_objext conftest.$ac_ext 7126 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7127 echo "${ECHO_T}$ac_header_compiler" >&6 7128 7129 # Is the header present? 7130 echo "$as_me:$LINENO: checking winsock.h presence" >&5 7131 echo $ECHO_N "checking winsock.h presence... $ECHO_C" >&6 7132 cat >conftest.$ac_ext <<_ACEOF 7133 #line $LINENO "configure" 7134 /* confdefs.h. */ 7135 _ACEOF 7136 cat confdefs.h >>conftest.$ac_ext 7137 cat >>conftest.$ac_ext <<_ACEOF 7138 /* end confdefs.h. */ 7139 #include <winsock.h> 7140 _ACEOF 7141 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3555 7142 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3556 7143 ac_status=$? 3557 egrep -v '^ *\+' conftest.er1 >conftest.err7144 grep -v '^ *+' conftest.er1 >conftest.err 3558 7145 rm -f conftest.er1 3559 7146 cat conftest.err >&5 3560 echo "$as_me: 3560: \$? = $ac_status" >&57147 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3561 7148 (exit $ac_status); } >/dev/null; then 3562 7149 if test -s conftest.err; then … … 3569 7156 fi 3570 7157 if test -z "$ac_cpp_err"; then 3571 ac_ cv_header_winsock_h=yes7158 ac_header_preproc=yes 3572 7159 else 3573 7160 echo "$as_me: failed program was:" >&5 3574 cat conftest.$ac_ext >&5 3575 ac_cv_header_winsock_h=no 7161 sed 's/^/| /' conftest.$ac_ext >&5 7162 7163 ac_header_preproc=no 3576 7164 fi 3577 7165 rm -f conftest.err conftest.$ac_ext 3578 fi 3579 echo "$as_me:3579: result: $ac_cv_header_winsock_h" >&5 7166 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7167 echo "${ECHO_T}$ac_header_preproc" >&6 7168 7169 # So? What about this header? 7170 case $ac_header_compiler:$ac_header_preproc in 7171 yes:no ) 7172 { echo "$as_me:$LINENO: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&5 7173 echo "$as_me: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7174 { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the preprocessor's result" >&5 7175 echo "$as_me: WARNING: winsock.h: proceeding with the preprocessor's result" >&2;} 7176 ( 7177 cat <<\_ASBOX 7178 ## ------------------------------------ ## 7179 ## Report this to bug-autoconf@gnu.org. ## 7180 ## ------------------------------------ ## 7181 _ASBOX 7182 ) | 7183 sed "s/^/$as_me: WARNING: /" >&2 7184 ;; 7185 no:yes ) 7186 { echo "$as_me:$LINENO: WARNING: winsock.h: present but cannot be compiled" >&5 7187 echo "$as_me: WARNING: winsock.h: present but cannot be compiled" >&2;} 7188 { echo "$as_me:$LINENO: WARNING: winsock.h: check for missing prerequisite headers?" >&5 7189 echo "$as_me: WARNING: winsock.h: check for missing prerequisite headers?" >&2;} 7190 { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the preprocessor's result" >&5 7191 echo "$as_me: WARNING: winsock.h: proceeding with the preprocessor's result" >&2;} 7192 ( 7193 cat <<\_ASBOX 7194 ## ------------------------------------ ## 7195 ## Report this to bug-autoconf@gnu.org. ## 7196 ## ------------------------------------ ## 7197 _ASBOX 7198 ) | 7199 sed "s/^/$as_me: WARNING: /" >&2 7200 ;; 7201 esac 7202 echo "$as_me:$LINENO: checking for winsock.h" >&5 7203 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6 7204 if test "${ac_cv_header_winsock_h+set}" = set; then 7205 echo $ECHO_N "(cached) $ECHO_C" >&6 7206 else 7207 ac_cv_header_winsock_h=$ac_header_preproc 7208 fi 7209 echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 3580 7210 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6 7211 7212 fi 3581 7213 if test $ac_cv_header_winsock_h = yes; then 3582 cat >>confdefs.h <<\ EOF7214 cat >>confdefs.h <<\_ACEOF 3583 7215 #define PJ_HAS_WINSOCK_H 1 3584 EOF 3585 3586 fi 3587 3588 echo "$as_me:3588: checking for winsock2.h" >&5 7216 _ACEOF 7217 7218 fi 7219 7220 7221 if test "${ac_cv_header_winsock2_h+set}" = set; then 7222 echo "$as_me:$LINENO: checking for winsock2.h" >&5 3589 7223 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6 3590 7224 if test "${ac_cv_header_winsock2_h+set}" = set; then 3591 7225 echo $ECHO_N "(cached) $ECHO_C" >&6 3592 else 3593 cat >conftest.$ac_ext <<_ACEOF 3594 #line 3594 "configure" 3595 #include "confdefs.h" 7226 fi 7227 echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 7228 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6 7229 else 7230 # Is the header compilable? 7231 echo "$as_me:$LINENO: checking winsock2.h usability" >&5 7232 echo $ECHO_N "checking winsock2.h usability... $ECHO_C" >&6 7233 cat >conftest.$ac_ext <<_ACEOF 7234 #line $LINENO "configure" 7235 /* confdefs.h. */ 7236 _ACEOF 7237 cat confdefs.h >>conftest.$ac_ext 7238 cat >>conftest.$ac_ext <<_ACEOF 7239 /* end confdefs.h. */ 7240 $ac_includes_default 3596 7241 #include <winsock2.h> 3597 7242 _ACEOF 3598 if { (eval echo "$as_me:3598: \"$ac_cpp conftest.$ac_ext\"") >&5 7243 rm -f conftest.$ac_objext 7244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7245 (eval $ac_compile) 2>&5 7246 ac_status=$? 7247 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7248 (exit $ac_status); } && 7249 { ac_try='test -s conftest.$ac_objext' 7250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7251 (eval $ac_try) 2>&5 7252 ac_status=$? 7253 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7254 (exit $ac_status); }; }; then 7255 ac_header_compiler=yes 7256 else 7257 echo "$as_me: failed program was:" >&5 7258 sed 's/^/| /' conftest.$ac_ext >&5 7259 7260 ac_header_compiler=no 7261 fi 7262 rm -f conftest.$ac_objext conftest.$ac_ext 7263 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7264 echo "${ECHO_T}$ac_header_compiler" >&6 7265 7266 # Is the header present? 7267 echo "$as_me:$LINENO: checking winsock2.h presence" >&5 7268 echo $ECHO_N "checking winsock2.h presence... $ECHO_C" >&6 7269 cat >conftest.$ac_ext <<_ACEOF 7270 #line $LINENO "configure" 7271 /* confdefs.h. */ 7272 _ACEOF 7273 cat confdefs.h >>conftest.$ac_ext 7274 cat >>conftest.$ac_ext <<_ACEOF 7275 /* end confdefs.h. */ 7276 #include <winsock2.h> 7277 _ACEOF 7278 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3599 7279 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3600 7280 ac_status=$? 3601 egrep -v '^ *\+' conftest.er1 >conftest.err7281 grep -v '^ *+' conftest.er1 >conftest.err 3602 7282 rm -f conftest.er1 3603 7283 cat conftest.err >&5 3604 echo "$as_me: 3604: \$? = $ac_status" >&57284 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3605 7285 (exit $ac_status); } >/dev/null; then 3606 7286 if test -s conftest.err; then … … 3613 7293 fi 3614 7294 if test -z "$ac_cpp_err"; then 3615 ac_ cv_header_winsock2_h=yes7295 ac_header_preproc=yes 3616 7296 else 3617 7297 echo "$as_me: failed program was:" >&5 3618 cat conftest.$ac_ext >&5 3619 ac_cv_header_winsock2_h=no 7298 sed 's/^/| /' conftest.$ac_ext >&5 7299 7300 ac_header_preproc=no 3620 7301 fi 3621 7302 rm -f conftest.err conftest.$ac_ext 3622 fi 3623 echo "$as_me:3623: result: $ac_cv_header_winsock2_h" >&5 7303 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7304 echo "${ECHO_T}$ac_header_preproc" >&6 7305 7306 # So? What about this header? 7307 case $ac_header_compiler:$ac_header_preproc in 7308 yes:no ) 7309 { echo "$as_me:$LINENO: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&5 7310 echo "$as_me: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7311 { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the preprocessor's result" >&5 7312 echo "$as_me: WARNING: winsock2.h: proceeding with the preprocessor's result" >&2;} 7313 ( 7314 cat <<\_ASBOX 7315 ## ------------------------------------ ## 7316 ## Report this to bug-autoconf@gnu.org. ## 7317 ## ------------------------------------ ## 7318 _ASBOX 7319 ) | 7320 sed "s/^/$as_me: WARNING: /" >&2 7321 ;; 7322 no:yes ) 7323 { echo "$as_me:$LINENO: WARNING: winsock2.h: present but cannot be compiled" >&5 7324 echo "$as_me: WARNING: winsock2.h: present but cannot be compiled" >&2;} 7325 { echo "$as_me:$LINENO: WARNING: winsock2.h: check for missing prerequisite headers?" >&5 7326 echo "$as_me: WARNING: winsock2.h: check for missing prerequisite headers?" >&2;} 7327 { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the preprocessor's result" >&5 7328 echo "$as_me: WARNING: winsock2.h: proceeding with the preprocessor's result" >&2;} 7329 ( 7330 cat <<\_ASBOX 7331 ## ------------------------------------ ## 7332 ## Report this to bug-autoconf@gnu.org. ## 7333 ## ------------------------------------ ## 7334 _ASBOX 7335 ) | 7336 sed "s/^/$as_me: WARNING: /" >&2 7337 ;; 7338 esac 7339 echo "$as_me:$LINENO: checking for winsock2.h" >&5 7340 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6 7341 if test "${ac_cv_header_winsock2_h+set}" = set; then 7342 echo $ECHO_N "(cached) $ECHO_C" >&6 7343 else 7344 ac_cv_header_winsock2_h=$ac_header_preproc 7345 fi 7346 echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 3624 7347 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6 7348 7349 fi 3625 7350 if test $ac_cv_header_winsock2_h = yes; then 3626 cat >>confdefs.h <<\ EOF7351 cat >>confdefs.h <<\_ACEOF 3627 7352 #define PJ_HAS_WINSOCK2_H 1 3628 EOF 3629 3630 fi 3631 3632 echo "$as_me:3632: result: Setting PJ_OS_NAME to $target" >&5 7353 _ACEOF 7354 7355 fi 7356 7357 7358 7359 echo "$as_me:$LINENO: result: Setting PJ_OS_NAME to $target" >&5 3633 7360 echo "${ECHO_T}Setting PJ_OS_NAME to $target" >&6 3634 cat >>confdefs.h << EOF7361 cat >>confdefs.h <<_ACEOF 3635 7362 #define PJ_OS_NAME "$target" 3636 EOF 3637 3638 echo "$as_me:3638: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 7363 _ACEOF 7364 7365 7366 echo "$as_me:$LINENO: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 3639 7367 echo "${ECHO_T}Setting PJ_HAS_ERRNO_VAR to 1" >&6 3640 cat >>confdefs.h <<\ EOF7368 cat >>confdefs.h <<\_ACEOF 3641 7369 #define PJ_HAS_ERRNO_VAR 1 3642 EOF 3643 3644 echo "$as_me:3644: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 7370 _ACEOF 7371 7372 7373 echo "$as_me:$LINENO: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 3645 7374 echo "${ECHO_T}Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6 3646 cat >>confdefs.h <<\ EOF7375 cat >>confdefs.h <<\_ACEOF 3647 7376 #define PJ_HAS_HIGH_RES_TIMER 1 3648 EOF 3649 3650 echo "$as_me:3650: result: Setting PJ_HAS_MALLOC to 1" >&5 7377 _ACEOF 7378 7379 7380 echo "$as_me:$LINENO: result: Setting PJ_HAS_MALLOC to 1" >&5 3651 7381 echo "${ECHO_T}Setting PJ_HAS_MALLOC to 1" >&6 3652 cat >>confdefs.h <<\ EOF7382 cat >>confdefs.h <<\_ACEOF 3653 7383 #define PJ_HAS_MALLOC 1 3654 EOF 3655 3656 echo "$as_me:3656: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 7384 _ACEOF 7385 7386 7387 echo "$as_me:$LINENO: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 3657 7388 echo "${ECHO_T}Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6 3658 cat >>confdefs.h <<\ EOF7389 cat >>confdefs.h <<\_ACEOF 3659 7390 #define PJ_NATIVE_STRING_IS_UNICODE 0 3660 EOF 3661 3662 echo "$as_me:3662: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 7391 _ACEOF 7392 7393 7394 echo "$as_me:$LINENO: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 3663 7395 echo "${ECHO_T}Setting PJ_ATOMIC_VALUE_TYPE to long" >&6 3664 cat >>confdefs.h <<\ EOF7396 cat >>confdefs.h <<\_ACEOF 3665 7397 #define PJ_ATOMIC_VALUE_TYPE long 3666 EOF 3667 3668 echo "$as_me:3668: checking if inet_aton is available" >&5 7398 _ACEOF 7399 7400 7401 echo "$as_me:$LINENO: checking if inet_aton is available" >&5 3669 7402 echo $ECHO_N "checking if inet_aton is available... $ECHO_C" >&6 3670 7403 cat >conftest.$ac_ext <<_ACEOF 3671 #line 3671 "configure" 3672 #include "confdefs.h" 7404 #line $LINENO "configure" 7405 /* confdefs.h. */ 7406 _ACEOF 7407 cat confdefs.h >>conftest.$ac_ext 7408 cat >>conftest.$ac_ext <<_ACEOF 7409 /* end confdefs.h. */ 3673 7410 #include <arpa/inet.h> 3674 7411 int … … 3681 7418 _ACEOF 3682 7419 rm -f conftest.$ac_objext 3683 if { (eval echo "$as_me: 3683: \"$ac_compile\"") >&57420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3684 7421 (eval $ac_compile) 2>&5 3685 7422 ac_status=$? 3686 echo "$as_me: 3686: \$? = $ac_status" >&57423 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3687 7424 (exit $ac_status); } && 3688 7425 { ac_try='test -s conftest.$ac_objext' 3689 { (eval echo "$as_me: 3689: \"$ac_try\"") >&57426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3690 7427 (eval $ac_try) 2>&5 3691 7428 ac_status=$? 3692 echo "$as_me: 3692: \$? = $ac_status" >&57429 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3693 7430 (exit $ac_status); }; }; then 3694 cat >>confdefs.h <<\ EOF7431 cat >>confdefs.h <<\_ACEOF 3695 7432 #define PJ_SOCK_HAS_INET_ATON 1 3696 EOF3697 3698 echo "$as_me: 3698: result: yes" >&57433 _ACEOF 7434 7435 echo "$as_me:$LINENO: result: yes" >&5 3699 7436 echo "${ECHO_T}yes" >&6 3700 7437 else 3701 7438 echo "$as_me: failed program was:" >&5 3702 cat conftest.$ac_ext >&5 3703 echo "$as_me:3703: result: no" >&5 7439 sed 's/^/| /' conftest.$ac_ext >&5 7440 7441 echo "$as_me:$LINENO: result: no" >&5 3704 7442 echo "${ECHO_T}no" >&6 3705 7443 fi 3706 7444 rm -f conftest.$ac_objext conftest.$ac_ext 3707 7445 3708 echo "$as_me: 3708: checking if sockaddr_in has sin_len member" >&57446 echo "$as_me:$LINENO: checking if sockaddr_in has sin_len member" >&5 3709 7447 echo $ECHO_N "checking if sockaddr_in has sin_len member... $ECHO_C" >&6 3710 7448 cat >conftest.$ac_ext <<_ACEOF 3711 #line 3711 "configure" 3712 #include "confdefs.h" 7449 #line $LINENO "configure" 7450 /* confdefs.h. */ 7451 _ACEOF 7452 cat confdefs.h >>conftest.$ac_ext 7453 cat >>conftest.$ac_ext <<_ACEOF 7454 /* end confdefs.h. */ 3713 7455 #include <sys/types.h> 3714 7456 #include <sys/socket.h> … … 3724 7466 _ACEOF 3725 7467 rm -f conftest.$ac_objext 3726 if { (eval echo "$as_me: 3726: \"$ac_compile\"") >&57468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3727 7469 (eval $ac_compile) 2>&5 3728 7470 ac_status=$? 3729 echo "$as_me: 3729: \$? = $ac_status" >&57471 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3730 7472 (exit $ac_status); } && 3731 7473 { ac_try='test -s conftest.$ac_objext' 3732 { (eval echo "$as_me: 3732: \"$ac_try\"") >&57474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3733 7475 (eval $ac_try) 2>&5 3734 7476 ac_status=$? 3735 echo "$as_me: 3735: \$? = $ac_status" >&57477 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3736 7478 (exit $ac_status); }; }; then 3737 cat >>confdefs.h <<\ EOF7479 cat >>confdefs.h <<\_ACEOF 3738 7480 #define PJ_SOCKADDR_HAS_LEN 1 3739 EOF3740 3741 echo "$as_me: 3741: result: yes" >&57481 _ACEOF 7482 7483 echo "$as_me:$LINENO: result: yes" >&5 3742 7484 echo "${ECHO_T}yes" >&6 3743 7485 else 3744 7486 echo "$as_me: failed program was:" >&5 3745 cat conftest.$ac_ext >&5 3746 echo "$as_me:3746: result: no" >&5 7487 sed 's/^/| /' conftest.$ac_ext >&5 7488 7489 echo "$as_me:$LINENO: result: no" >&5 3747 7490 echo "${ECHO_T}no" >&6 3748 7491 fi 3749 7492 rm -f conftest.$ac_objext conftest.$ac_ext 3750 7493 3751 echo "$as_me: 3751: checking if socklen_t is available" >&57494 echo "$as_me:$LINENO: checking if socklen_t is available" >&5 3752 7495 echo $ECHO_N "checking if socklen_t is available... $ECHO_C" >&6 3753 7496 cat >conftest.$ac_ext <<_ACEOF 3754 #line 3754 "configure" 3755 #include "confdefs.h" 7497 #line $LINENO "configure" 7498 /* confdefs.h. */ 7499 _ACEOF 7500 cat confdefs.h >>conftest.$ac_ext 7501 cat >>conftest.$ac_ext <<_ACEOF 7502 /* end confdefs.h. */ 3756 7503 #include <unistd.h> 3757 7504 int … … 3764 7511 _ACEOF 3765 7512 rm -f conftest.$ac_objext 3766 if { (eval echo "$as_me: 3766: \"$ac_compile\"") >&57513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3767 7514 (eval $ac_compile) 2>&5 3768 7515 ac_status=$? 3769 echo "$as_me: 3769: \$? = $ac_status" >&57516 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3770 7517 (exit $ac_status); } && 3771 7518 { ac_try='test -s conftest.$ac_objext' 3772 { (eval echo "$as_me: 3772: \"$ac_try\"") >&57519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3773 7520 (eval $ac_try) 2>&5 3774 7521 ac_status=$? 3775 echo "$as_me: 3775: \$? = $ac_status" >&57522 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3776 7523 (exit $ac_status); }; }; then 3777 cat >>confdefs.h <<\ EOF7524 cat >>confdefs.h <<\_ACEOF 3778 7525 #define PJ_HAS_SOCKLEN_T 1 3779 EOF3780 3781 echo "$as_me: 3781: result: yes" >&57526 _ACEOF 7527 7528 echo "$as_me:$LINENO: result: yes" >&5 3782 7529 echo "${ECHO_T}yes" >&6 3783 7530 else 3784 7531 echo "$as_me: failed program was:" >&5 3785 cat conftest.$ac_ext >&5 3786 echo "$as_me:3786: result: no" >&5 7532 sed 's/^/| /' conftest.$ac_ext >&5 7533 7534 echo "$as_me:$LINENO: result: no" >&5 3787 7535 echo "${ECHO_T}no" >&6 3788 7536 fi 3789 7537 rm -f conftest.$ac_objext conftest.$ac_ext 3790 7538 3791 echo "$as_me: 3791: checking if SO_ERROR is available" >&57539 echo "$as_me:$LINENO: checking if SO_ERROR is available" >&5 3792 7540 echo $ECHO_N "checking if SO_ERROR is available... $ECHO_C" >&6 3793 cat >conftest.$ac_ext <<_ACEOF 3794 #line 3794 "configure" 3795 #include "confdefs.h" 7541 case $target in 7542 *mingw* | *cygw* | *win32* | *w32* ) 7543 cat >>confdefs.h <<\_ACEOF 7544 #define PJ_HAS_SO_ERROR 1 7545 _ACEOF 7546 7547 echo "$as_me:$LINENO: result: yes" >&5 7548 echo "${ECHO_T}yes" >&6 7549 ;; 7550 *) 7551 cat >conftest.$ac_ext <<_ACEOF 7552 #line $LINENO "configure" 7553 /* confdefs.h. */ 7554 _ACEOF 7555 cat confdefs.h >>conftest.$ac_ext 7556 cat >>conftest.$ac_ext <<_ACEOF 7557 /* end confdefs.h. */ 3796 7558 #include <sys/types.h> 3797 #include <sys/socket.h>3798 3799 7559 #include <sys/socket.h> 7560 #include <netinet/in.h> 7561 #include <arpa/inet.h> 3800 7562 int 3801 7563 main () … … 3807 7569 _ACEOF 3808 7570 rm -f conftest.$ac_objext 3809 if { (eval echo "$as_me: 3809: \"$ac_compile\"") >&57571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3810 7572 (eval $ac_compile) 2>&5 3811 7573 ac_status=$? 3812 echo "$as_me: 3812: \$? = $ac_status" >&57574 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3813 7575 (exit $ac_status); } && 3814 7576 { ac_try='test -s conftest.$ac_objext' 3815 { (eval echo "$as_me: 3815: \"$ac_try\"") >&57577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3816 7578 (eval $ac_try) 2>&5 3817 7579 ac_status=$? 3818 echo "$as_me: 3818: \$? = $ac_status" >&57580 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3819 7581 (exit $ac_status); }; }; then 3820 cat >>confdefs.h <<\ EOF7582 cat >>confdefs.h <<\_ACEOF 3821 7583 #define PJ_HAS_SO_ERROR 1 3822 EOF3823 3824 echo "$as_me:3824: result: yes" >&57584 _ACEOF 7585 7586 echo "$as_me:$LINENO: result: yes" >&5 3825 7587 echo "${ECHO_T}yes" >&6 3826 7588 else 3827 7589 echo "$as_me: failed program was:" >&5 3828 cat conftest.$ac_ext >&5 3829 echo "$as_me:3829: result: no" >&5 7590 sed 's/^/| /' conftest.$ac_ext >&5 7591 7592 echo "$as_me:$LINENO: result: no" >&5 3830 7593 echo "${ECHO_T}no" >&6 3831 7594 fi 3832 7595 rm -f conftest.$ac_objext conftest.$ac_ext 3833 3834 echo "$as_me:3834: checking if pthread_rwlock_t is available" >&5 7596 ;; 7597 esac 7598 7599 7600 echo "$as_me:$LINENO: checking if pthread_rwlock_t is available" >&5 3835 7601 echo $ECHO_N "checking if pthread_rwlock_t is available... $ECHO_C" >&6 3836 7602 cat >conftest.$ac_ext <<_ACEOF 3837 #line 3837 "configure" 3838 #include "confdefs.h" 7603 #line $LINENO "configure" 7604 /* confdefs.h. */ 7605 _ACEOF 7606 cat confdefs.h >>conftest.$ac_ext 7607 cat >>conftest.$ac_ext <<_ACEOF 7608 /* end confdefs.h. */ 3839 7609 #include <pthread.h> 3840 7610 int … … 3847 7617 _ACEOF 3848 7618 rm -f conftest.$ac_objext 3849 if { (eval echo "$as_me: 3849: \"$ac_compile\"") >&57619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3850 7620 (eval $ac_compile) 2>&5 3851 7621 ac_status=$? 3852 echo "$as_me: 3852: \$? = $ac_status" >&57622 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3853 7623 (exit $ac_status); } && 3854 7624 { ac_try='test -s conftest.$ac_objext' 3855 { (eval echo "$as_me: 3855: \"$ac_try\"") >&57625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3856 7626 (eval $ac_try) 2>&5 3857 7627 ac_status=$? 3858 echo "$as_me: 3858: \$? = $ac_status" >&57628 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3859 7629 (exit $ac_status); }; }; then 3860 cat >>confdefs.h <<\ EOF7630 cat >>confdefs.h <<\_ACEOF 3861 7631 #define PJ_EMULATE_RWMUTEX 0 3862 EOF3863 3864 echo "$as_me: 3864: result: yes" >&57632 _ACEOF 7633 7634 echo "$as_me:$LINENO: result: yes" >&5 3865 7635 echo "${ECHO_T}yes" >&6 3866 7636 else 3867 7637 echo "$as_me: failed program was:" >&5 3868 cat conftest.$ac_ext >&5 3869 cat >>confdefs.h <<\EOF 7638 sed 's/^/| /' conftest.$ac_ext >&5 7639 7640 cat >>confdefs.h <<\_ACEOF 3870 7641 #define PJ_EMULATE_RWMUTEX 1 3871 EOF3872 3873 echo "$as_me: 3873: result: no" >&57642 _ACEOF 7643 7644 echo "$as_me:$LINENO: result: no" >&5 3874 7645 echo "${ECHO_T}no" >&6 3875 7646 fi 3876 7647 rm -f conftest.$ac_objext conftest.$ac_ext 7648 7649 7650 case $target in 7651 *mingw* | *cygw* | *win32* | *w32* ) 7652 ac_os_objs="os_core_win32.o os_error_win32.o os_time_win32.o os_timestamp_win32.o guid_win32.o ioqueue_select.o" 7653 ;; 7654 *) 7655 ac_os_objs="os_core_unix.o os_error_unix.o os_time_unix.o os_timestamp_posix.o guid_simple.o ioqueue_select.o" 7656 ;; 7657 esac 7658 7659 7660 3877 7661 3878 7662 case $target in 3879 7663 *darwin*) 3880 7664 ac_pjmedia_snd=pa_darwinos 3881 echo "$as_me: 3881: result: Checking sound device backend... coreaudio" >&57665 echo "$as_me:$LINENO: result: Checking sound device backend... coreaudio" >&5 3882 7666 echo "${ECHO_T}Checking sound device backend... coreaudio" >&6 3883 7667 LIBS="$LIBS -framework CoreAudio" … … 3885 7669 *cygwin* | *mingw*) 3886 7670 ac_pjmedia_snd=pa_win32 3887 echo "$as_me: 3887: result: Checking sound device backend... win32 sound" >&57671 echo "$as_me:$LINENO: result: Checking sound device backend... win32 sound" >&5 3888 7672 echo "${ECHO_T}Checking sound device backend... win32 sound" >&6 3889 7673 ;; 3890 7674 *rtems*) 3891 7675 ac_pjmedia_snd=null 3892 echo "$as_me: 3892: result: Checking sound device backend... null sound" >&57676 echo "$as_me:$LINENO: result: Checking sound device backend... null sound" >&5 3893 7677 echo "${ECHO_T}Checking sound device backend... null sound" >&6 3894 7678 ;; 3895 7679 *) 3896 7680 ac_pjmedia_snd=pa_unix 3897 echo "$as_me:3897: checking for alsa/version.h" >&5 7681 if test "${ac_cv_header_alsa_version_h+set}" = set; then 7682 echo "$as_me:$LINENO: checking for alsa/version.h" >&5 3898 7683 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6 3899 7684 if test "${ac_cv_header_alsa_version_h+set}" = set; then 3900 7685 echo $ECHO_N "(cached) $ECHO_C" >&6 3901 else 3902 cat >conftest.$ac_ext <<_ACEOF 3903 #line 3903 "configure" 3904 #include "confdefs.h" 7686 fi 7687 echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 7688 echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6 7689 else 7690 # Is the header compilable? 7691 echo "$as_me:$LINENO: checking alsa/version.h usability" >&5 7692 echo $ECHO_N "checking alsa/version.h usability... $ECHO_C" >&6 7693 cat >conftest.$ac_ext <<_ACEOF 7694 #line $LINENO "configure" 7695 /* confdefs.h. */ 7696 _ACEOF 7697 cat confdefs.h >>conftest.$ac_ext 7698 cat >>conftest.$ac_ext <<_ACEOF 7699 /* end confdefs.h. */ 7700 $ac_includes_default 3905 7701 #include <alsa/version.h> 3906 7702 _ACEOF 3907 if { (eval echo "$as_me:3907: \"$ac_cpp conftest.$ac_ext\"") >&5 7703 rm -f conftest.$ac_objext 7704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7705 (eval $ac_compile) 2>&5 7706 ac_status=$? 7707 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7708 (exit $ac_status); } && 7709 { ac_try='test -s conftest.$ac_objext' 7710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7711 (eval $ac_try) 2>&5 7712 ac_status=$? 7713 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7714 (exit $ac_status); }; }; then 7715 ac_header_compiler=yes 7716 else 7717 echo "$as_me: failed program was:" >&5 7718 sed 's/^/| /' conftest.$ac_ext >&5 7719 7720 ac_header_compiler=no 7721 fi 7722 rm -f conftest.$ac_objext conftest.$ac_ext 7723 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7724 echo "${ECHO_T}$ac_header_compiler" >&6 7725 7726 # Is the header present? 7727 echo "$as_me:$LINENO: checking alsa/version.h presence" >&5 7728 echo $ECHO_N "checking alsa/version.h presence... $ECHO_C" >&6 7729 cat >conftest.$ac_ext <<_ACEOF 7730 #line $LINENO "configure" 7731 /* confdefs.h. */ 7732 _ACEOF 7733 cat confdefs.h >>conftest.$ac_ext 7734 cat >>conftest.$ac_ext <<_ACEOF 7735 /* end confdefs.h. */ 7736 #include <alsa/version.h> 7737 _ACEOF 7738 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3908 7739 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3909 7740 ac_status=$? 3910 egrep -v '^ *\+' conftest.er1 >conftest.err7741 grep -v '^ *+' conftest.er1 >conftest.err 3911 7742 rm -f conftest.er1 3912 7743 cat conftest.err >&5 3913 echo "$as_me: 3913: \$? = $ac_status" >&57744 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3914 7745 (exit $ac_status); } >/dev/null; then 3915 7746 if test -s conftest.err; then … … 3922 7753 fi 3923 7754 if test -z "$ac_cpp_err"; then 3924 ac_ cv_header_alsa_version_h=yes7755 ac_header_preproc=yes 3925 7756 else 3926 7757 echo "$as_me: failed program was:" >&5 3927 cat conftest.$ac_ext >&5 3928 ac_cv_header_alsa_version_h=no 7758 sed 's/^/| /' conftest.$ac_ext >&5 7759 7760 ac_header_preproc=no 3929 7761 fi 3930 7762 rm -f conftest.err conftest.$ac_ext 3931 fi 3932 echo "$as_me:3932: result: $ac_cv_header_alsa_version_h" >&5 7763 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7764 echo "${ECHO_T}$ac_header_preproc" >&6 7765 7766 # So? What about this header? 7767 case $ac_header_compiler:$ac_header_preproc in 7768 yes:no ) 7769 { echo "$as_me:$LINENO: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&5 7770 echo "$as_me: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7771 { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&5 7772 echo "$as_me: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&2;} 7773 ( 7774 cat <<\_ASBOX 7775 ## ------------------------------------ ## 7776 ## Report this to bug-autoconf@gnu.org. ## 7777 ## ------------------------------------ ## 7778 _ASBOX 7779 ) | 7780 sed "s/^/$as_me: WARNING: /" >&2 7781 ;; 7782 no:yes ) 7783 { echo "$as_me:$LINENO: WARNING: alsa/version.h: present but cannot be compiled" >&5 7784 echo "$as_me: WARNING: alsa/version.h: present but cannot be compiled" >&2;} 7785 { echo "$as_me:$LINENO: WARNING: alsa/version.h: check for missing prerequisite headers?" >&5 7786 echo "$as_me: WARNING: alsa/version.h: check for missing prerequisite headers?" >&2;} 7787 { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&5 7788 echo "$as_me: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&2;} 7789 ( 7790 cat <<\_ASBOX 7791 ## ------------------------------------ ## 7792 ## Report this to bug-autoconf@gnu.org. ## 7793 ## ------------------------------------ ## 7794 _ASBOX 7795 ) | 7796 sed "s/^/$as_me: WARNING: /" >&2 7797 ;; 7798 esac 7799 echo "$as_me:$LINENO: checking for alsa/version.h" >&5 7800 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6 7801 if test "${ac_cv_header_alsa_version_h+set}" = set; then 7802 echo $ECHO_N "(cached) $ECHO_C" >&6 7803 else 7804 ac_cv_header_alsa_version_h=$ac_header_preproc 7805 fi 7806 echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 3933 7807 echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6 7808 7809 fi 3934 7810 if test $ac_cv_header_alsa_version_h = yes; then 3935 7811 ac_pa_use_alsa=1 … … 3942 7818 fi 3943 7819 3944 echo "$as_me:3944: result: Checking sound device backend... unix" >&5 7820 7821 echo "$as_me:$LINENO: result: Checking sound device backend... unix" >&5 3945 7822 echo "${ECHO_T}Checking sound device backend... unix" >&6 3946 7823 ;; 3947 7824 esac 7825 3948 7826 3949 7827 # Check whether --enable-small-filter or --disable-small-filter was given. … … 3952 7830 if test "$enable_small_filter" = "no"; then 3953 7831 ac_no_small_filter='-DPJMEDIA_HAS_SMALL_FILTER=0' 3954 echo "$as_me: 3954: result: Checking if small filter is disabled... yes" >&57832 echo "$as_me:$LINENO: result: Checking if small filter is disabled... yes" >&5 3955 7833 echo "${ECHO_T}Checking if small filter is disabled... yes" >&6 3956 7834 fi 3957 7835 else 3958 echo "$as_me: 3958: result: Checking if small filter is disabled... no" >&57836 echo "$as_me:$LINENO: result: Checking if small filter is disabled... no" >&5 3959 7837 echo "${ECHO_T}Checking if small filter is disabled... no" >&6 3960 7838 fi; 7839 3961 7840 3962 7841 # Check whether --enable-large-filter or --disable-large-filter was given. … … 3965 7844 if test "$enable_large_filter" = "no"; then 3966 7845 ac_no_large_filter='-DPJMEDIA_HAS_LARGE_FILTER=0' 3967 echo "$as_me: 3967: result: Checking if large filter is disabled... yes" >&57846 echo "$as_me:$LINENO: result: Checking if large filter is disabled... yes" >&5 3968 7847 echo "${ECHO_T}Checking if large filter is disabled... yes" >&6 3969 7848 fi 3970 7849 else 3971 echo "$as_me: 3971: result: Checking if large filter is disabled... no" >&57850 echo "$as_me:$LINENO: result: Checking if large filter is disabled... no" >&5 3972 7851 echo "${ECHO_T}Checking if large filter is disabled... no" >&6 3973 7852 fi; 7853 3974 7854 3975 7855 # Check whether --enable-g711-plc or --disable-g711-plc was given. … … 3978 7858 if test "$enable_g711_plc" = "no"; then 3979 7859 ac_no_g711_plc='-DPJMEDIA_HAS_G711_PLC=0' 3980 echo "$as_me: 3980: result: Checking if G.711 Annex A PLC is disabled...yes" >&57860 echo "$as_me:$LINENO: result: Checking if G.711 Annex A PLC is disabled...yes" >&5 3981 7861 echo "${ECHO_T}Checking if G.711 Annex A PLC is disabled...yes" >&6 3982 7862 fi 3983 7863 else 3984 echo "$as_me: 3984: result: Checking if G.711 Annex A PLC is disabled...no" >&57864 echo "$as_me:$LINENO: result: Checking if G.711 Annex A PLC is disabled...no" >&5 3985 7865 echo "${ECHO_T}Checking if G.711 Annex A PLC is disabled...no" >&6 3986 7866 fi; 7867 3987 7868 3988 7869 # Check whether --enable-speex-aec or --disable-speex-aec was given. … … 3991 7872 if test "$enable_speex_aec" = "no"; then 3992 7873 ac_no_speex_aec='-DPJMEDIA_HAS_SPEEX_AEC=0' 3993 echo "$as_me: 3993: result: Checking if Speex AEC is disabled...yes" >&57874 echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...yes" >&5 3994 7875 echo "${ECHO_T}Checking if Speex AEC is disabled...yes" >&6 3995 7876 fi 3996 7877 else 3997 echo "$as_me: 3997: result: Checking if Speex AEC is disabled...no" >&57878 echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...no" >&5 3998 7879 echo "${ECHO_T}Checking if Speex AEC is disabled...no" >&6 3999 7880 fi; 7881 4000 7882 4001 7883 # Check whether --enable-g711-codec or --disable-g711-codec was given. … … 4004 7886 if test "$enable_g711_codec" = "no"; then 4005 7887 ac_no_g711_codec=1 4006 echo "$as_me: 4006: result: Checking if G.711 codec is disabled...yes" >&57888 echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...yes" >&5 4007 7889 echo "${ECHO_T}Checking if G.711 codec is disabled...yes" >&6 4008 7890 fi 4009 7891 else 4010 echo "$as_me: 4010: result: Checking if G.711 codec is disabled...no" >&57892 echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...no" >&5 4011 7893 echo "${ECHO_T}Checking if G.711 codec is disabled...no" >&6 4012 7894 fi; 7895 7896 4013 7897 4014 7898 # Check whether --enable-l16-codec or --disable-l16-codec was given. … … 4017 7901 if test "$enable_l16_codec" = "no"; then 4018 7902 ac_no_l16_codec=1 4019 echo "$as_me: 4019: result: Checking if L16 codecs are disabled...yes" >&57903 echo "$as_me:$LINENO: result: Checking if L16 codecs are disabled...yes" >&5 4020 7904 echo "${ECHO_T}Checking if L16 codecs are disabled...yes" >&6 4021 7905 fi 4022 7906 else 4023 echo "$as_me: 4023: result: Checking if G.711 codec is disabled...no" >&57907 echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...no" >&5 4024 7908 echo "${ECHO_T}Checking if G.711 codec is disabled...no" >&6 4025 7909 fi; 7910 7911 4026 7912 4027 7913 # Check whether --enable-gsm-codec or --disable-gsm-codec was given. … … 4030 7916 if test "$enable_gsm_codec" = "no"; then 4031 7917 ac_no_gsm_codec=1 4032 echo "$as_me: 4032: result: Checking if GSM codec is disabled...yes" >&57918 echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...yes" >&5 4033 7919 echo "${ECHO_T}Checking if GSM codec is disabled...yes" >&6 4034 7920 fi 4035 7921 else 4036 echo "$as_me: 4036: result: Checking if GSM codec is disabled...no" >&57922 echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...no" >&5 4037 7923 echo "${ECHO_T}Checking if GSM codec is disabled...no" >&6 4038 7924 fi; 7925 4039 7926 4040 7927 # Check whether --enable-speex-codec or --disable-speex-codec was given. … … 4043 7930 if test "$enable_speex_codec" = "no"; then 4044 7931 ac_no_speex_codec=1 4045 echo "$as_me: 4045: result: Checking if Speex codec is disabled...yes" >&57932 echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...yes" >&5 4046 7933 echo "${ECHO_T}Checking if Speex codec is disabled...yes" >&6 4047 7934 fi 4048 7935 else 4049 echo "$as_me: 4049: result: Checking if Speex codec is disabled...no" >&57936 echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...no" >&5 4050 7937 echo "${ECHO_T}Checking if Speex codec is disabled...no" >&6 4051 7938 fi; 7939 4052 7940 4053 7941 # Check whether --enable-ilbc-codec or --disable-ilbc-codec was given. … … 4056 7944 if test "$enable_ilbc_codec" = "no"; then 4057 7945 ac_no_ilbc_codec=1 4058 echo "$as_me: 4058: result: Checking if iLBC codec is disabled...yes" >&57946 echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...yes" >&5 4059 7947 echo "${ECHO_T}Checking if iLBC codec is disabled...yes" >&6 4060 7948 fi 4061 7949 else 4062 echo "$as_me: 4062: result: Checking if iLBC codec is disabled...no" >&57950 echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...no" >&5 4063 7951 echo "${ECHO_T}Checking if iLBC codec is disabled...no" >&6 4064 7952 fi; 4065 7953 4066 echo "$as_me:4066: checking if select() needs correct nfds" >&5 7954 7955 7956 7957 7958 echo "$as_me:$LINENO: checking if select() needs correct nfds" >&5 4067 7959 echo $ECHO_N "checking if select() needs correct nfds... $ECHO_C" >&6 4068 7960 case $target in 4069 *rtems*) cat >>confdefs.h <<\ EOF7961 *rtems*) cat >>confdefs.h <<\_ACEOF 4070 7962 #define PJ_SELECT_NEEDS_NFDS 1 4071 EOF4072 4073 echo "$as_me: 4073: result: yes" >&57963 _ACEOF 7964 7965 echo "$as_me:$LINENO: result: yes" >&5 4074 7966 echo "${ECHO_T}yes" >&6 4075 7967 ;; 4076 *) cat >>confdefs.h <<\ EOF7968 *) cat >>confdefs.h <<\_ACEOF 4077 7969 #define PJ_SELECT_NEEDS_NFDS 0 4078 EOF4079 4080 echo "$as_me: 4080: result: no (default)" >&57970 _ACEOF 7971 7972 echo "$as_me:$LINENO: result: no (default)" >&5 4081 7973 echo "${ECHO_T}no (default)" >&6 4082 echo "$as_me: 4082: result: ** Decided that select() doesn't need correct nfds (please check)" >&57974 echo "$as_me:$LINENO: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 4083 7975 echo "${ECHO_T}** Decided that select() doesn't need correct nfds (please check)" >&6 4084 7976 ;; 4085 7977 esac 4086 7978 4087 echo "$as_me: 4087: checking if pj_thread_create() should enforce stack size" >&57979 echo "$as_me:$LINENO: checking if pj_thread_create() should enforce stack size" >&5 4088 7980 echo $ECHO_N "checking if pj_thread_create() should enforce stack size... $ECHO_C" >&6 4089 7981 case $target in 4090 *rtems*) cat >>confdefs.h <<\ EOF7982 *rtems*) cat >>confdefs.h <<\_ACEOF 4091 7983 #define PJ_THREAD_SET_STACK_SIZE 1 4092 EOF4093 4094 echo "$as_me: 4094: result: yes" >&57984 _ACEOF 7985 7986 echo "$as_me:$LINENO: result: yes" >&5 4095 7987 echo "${ECHO_T}yes" >&6 4096 7988 ;; 4097 *) cat >>confdefs.h <<\ EOF7989 *) cat >>confdefs.h <<\_ACEOF 4098 7990 #define PJ_THREAD_SET_STACK_SIZE 0 4099 EOF4100 4101 echo "$as_me: 4101: result: no (default)" >&57991 _ACEOF 7992 7993 echo "$as_me:$LINENO: result: no (default)" >&5 4102 7994 echo "${ECHO_T}no (default)" >&6 4103 7995 ;; 4104 7996 esac 4105 7997 4106 echo "$as_me: 4106: checking if pj_thread_create() should allocate stack" >&57998 echo "$as_me:$LINENO: checking if pj_thread_create() should allocate stack" >&5 4107 7999 echo $ECHO_N "checking if pj_thread_create() should allocate stack... $ECHO_C" >&6 4108 8000 case $target in 4109 *rtems*) cat >>confdefs.h <<\ EOF8001 *rtems*) cat >>confdefs.h <<\_ACEOF 4110 8002 #define PJ_THREAD_ALLOCATE_STACK 1 4111 EOF4112 4113 echo "$as_me: 4113: result: yes" >&58003 _ACEOF 8004 8005 echo "$as_me:$LINENO: result: yes" >&5 4114 8006 echo "${ECHO_T}yes" >&6 4115 8007 ;; 4116 *) cat >>confdefs.h <<\ EOF8008 *) cat >>confdefs.h <<\_ACEOF 4117 8009 #define PJ_THREAD_ALLOCATE_STACK 0 4118 EOF4119 4120 echo "$as_me: 4120: result: no (default)" >&58010 _ACEOF 8011 8012 echo "$as_me:$LINENO: result: no (default)" >&5 4121 8013 echo "${ECHO_T}no (default)" >&6 4122 8014 ;; … … 4124 8016 4125 8017 case $target in 4126 *) cat >>confdefs.h <<\EOF 8018 *mingw* | *cygw* | *win32* | *w32* ) 8019 cat >>confdefs.h <<\_ACEOF 8020 #define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK 8021 _ACEOF 8022 8023 ;; 8024 *) cat >>confdefs.h <<\_ACEOF 4127 8025 #define PJ_BLOCKING_ERROR_VAL EAGAIN 4128 EOF4129 4130 echo "$as_me: 4130: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&58026 _ACEOF 8027 8028 echo "$as_me:$LINENO: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 4131 8029 echo "${ECHO_T}** Setting non-blocking recv() retval to EAGAIN (please check)" >&6 4132 8030 ;; … … 4134 8032 4135 8033 case $target in 4136 *) cat >>confdefs.h <<\EOF 8034 *mingw* | *cygw* | *win32* | *w32* ) 8035 cat >>confdefs.h <<\_ACEOF 8036 #define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK 8037 _ACEOF 8038 8039 ;; 8040 *) cat >>confdefs.h <<\_ACEOF 4137 8041 #define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS 4138 EOF4139 4140 echo "$as_me: 4140: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&58042 _ACEOF 8043 8044 echo "$as_me:$LINENO: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 4141 8045 echo "${ECHO_T}** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6 4142 8046 ;; 4143 8047 esac 4144 8048 8049 8050 8051 4145 8052 if test "$build" = "$host"; then 4146 8053 ac_cross_compile= … … 4151 8058 4152 8059 ac_host=unix 8060 4153 8061 4154 8062 case $target in … … 4171 8079 # the --recheck option to rerun configure. 4172 8080 # 4173 # `ac_cv_env_foo' variables (set or unset) will be overrid en when8081 # `ac_cv_env_foo' variables (set or unset) will be overridden when 4174 8082 # loading this file, other *unset* `ac_cv_foo' will be assigned the 4175 8083 # following values. … … 4206 8114 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4207 8115 : end' >>confcache 4208 if cmp -s $cache_file confcache; then :; else8116 if diff $cache_file confcache >/dev/null 2>&1; then :; else 4209 8117 if test -w $cache_file; then 4210 8118 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" … … 4237 8145 DEFS=-DHAVE_CONFIG_H 4238 8146 8147 ac_libobjs= 8148 ac_ltlibobjs= 8149 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 8150 # 1. Remove the extension, and $U if already installed. 8151 ac_i=`echo "$ac_i" | 8152 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 8153 # 2. Add them. 8154 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 8155 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 8156 done 8157 LIBOBJS=$ac_libobjs 8158 8159 LTLIBOBJS=$ac_ltlibobjs 8160 8161 8162 4239 8163 : ${CONFIG_STATUS=./config.status} 4240 8164 ac_clean_files_save=$ac_clean_files 4241 8165 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4242 { echo "$as_me: 4242: creating $CONFIG_STATUS" >&58166 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 4243 8167 echo "$as_me: creating $CONFIG_STATUS" >&6;} 4244 8168 cat >$CONFIG_STATUS <<_ACEOF 4245 8169 #! $SHELL 4246 # Generated automatically by configure.8170 # Generated by $as_me. 4247 8171 # Run this file to recreate the current configuration. 4248 8172 # Compiler output produced by configure, useful for debugging … … 4250 8174 4251 8175 debug=false 8176 ac_cs_recheck=false 8177 ac_cs_silent=false 4252 8178 SHELL=\${CONFIG_SHELL-$SHELL} 4253 ac_cs_invocation="\$0 \$@"4254 4255 8179 _ACEOF 4256 8180 4257 8181 cat >>$CONFIG_STATUS <<\_ACEOF 8182 ## --------------------- ## 8183 ## M4sh Initialization. ## 8184 ## --------------------- ## 8185 4258 8186 # Be Bourne compatible 4259 8187 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 4260 8188 emulate sh 4261 8189 NULLCMD=: 8190 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 8191 # is contrary to our usage. Disable this feature. 8192 alias -g '${1+"$@"}'='"$@"' 4262 8193 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 4263 8194 set -o posix 4264 8195 fi 4265 8196 8197 # Support unset when possible. 8198 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 8199 as_unset=unset 8200 else 8201 as_unset=false 8202 fi 8203 8204 8205 # Work around bugs in pre-3.0 UWIN ksh. 8206 $as_unset ENV MAIL MAILPATH 8207 PS1='$ ' 8208 PS2='> ' 8209 PS4='+ ' 8210 8211 # NLS nuisances. 8212 for as_var in \ 8213 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 8214 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 8215 LC_TELEPHONE LC_TIME 8216 do 8217 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then 8218 eval $as_var=C; export $as_var 8219 else 8220 $as_unset $as_var 8221 fi 8222 done 8223 8224 # Required to use basename. 8225 if expr a : '\(a\)' >/dev/null 2>&1; then 8226 as_expr=expr 8227 else 8228 as_expr=false 8229 fi 8230 8231 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 8232 as_basename=basename 8233 else 8234 as_basename=false 8235 fi 8236 8237 4266 8238 # Name of the executable. 4267 as_me=`echo "$0" |sed 's,.*[\\/],,'` 8239 as_me=`$as_basename "$0" || 8240 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 8241 X"$0" : 'X\(//\)$' \| \ 8242 X"$0" : 'X\(/\)$' \| \ 8243 . : '\(.\)' 2>/dev/null || 8244 echo X/"$0" | 8245 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 8246 /^X\/\(\/\/\)$/{ s//\1/; q; } 8247 /^X\/\(\/\).*/{ s//\1/; q; } 8248 s/.*/./; q'` 8249 8250 8251 # PATH needs CR, and LINENO needs CR and PATH. 8252 # Avoid depending upon Character Ranges. 8253 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 8254 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 8255 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 8256 as_cr_digits='0123456789' 8257 as_cr_alnum=$as_cr_Letters$as_cr_digits 8258 8259 # The user is always right. 8260 if test "${PATH_SEPARATOR+set}" != set; then 8261 echo "#! /bin/sh" >conf$$.sh 8262 echo "exit 0" >>conf$$.sh 8263 chmod +x conf$$.sh 8264 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 8265 PATH_SEPARATOR=';' 8266 else 8267 PATH_SEPARATOR=: 8268 fi 8269 rm -f conf$$.sh 8270 fi 8271 8272 8273 as_lineno_1=$LINENO 8274 as_lineno_2=$LINENO 8275 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 8276 test "x$as_lineno_1" != "x$as_lineno_2" && 8277 test "x$as_lineno_3" = "x$as_lineno_2" || { 8278 # Find who we are. Look in the path if we contain no path at all 8279 # relative or not. 8280 case $0 in 8281 *[\\/]* ) as_myself=$0 ;; 8282 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8283 for as_dir in $PATH 8284 do 8285 IFS=$as_save_IFS 8286 test -z "$as_dir" && as_dir=. 8287 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 8288 done 8289 8290 ;; 8291 esac 8292 # We did not find ourselves, most probably we were run as `sh COMMAND' 8293 # in which case we are not to be found in the path. 8294 if test "x$as_myself" = x; then 8295 as_myself=$0 8296 fi 8297 if test ! -f "$as_myself"; then 8298 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 8299 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 8300 { (exit 1); exit 1; }; } 8301 fi 8302 case $CONFIG_SHELL in 8303 '') 8304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8305 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 8306 do 8307 IFS=$as_save_IFS 8308 test -z "$as_dir" && as_dir=. 8309 for as_base in sh bash ksh sh5; do 8310 case $as_dir in 8311 /*) 8312 if ("$as_dir/$as_base" -c ' 8313 as_lineno_1=$LINENO 8314 as_lineno_2=$LINENO 8315 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 8316 test "x$as_lineno_1" != "x$as_lineno_2" && 8317 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 8318 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 8319 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 8320 CONFIG_SHELL=$as_dir/$as_base 8321 export CONFIG_SHELL 8322 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 8323 fi;; 8324 esac 8325 done 8326 done 8327 ;; 8328 esac 8329 8330 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 8331 # uniformly replaced by the line number. The first 'sed' inserts a 8332 # line-number line before each line; the second 'sed' does the real 8333 # work. The second script uses 'N' to pair each line-number line 8334 # with the numbered line, and appends trailing '-' during 8335 # substitution so that $LINENO is not a special case at line end. 8336 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 8337 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 8338 sed '=' <$as_myself | 8339 sed ' 8340 N 8341 s,$,-, 8342 : loop 8343 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 8344 t loop 8345 s,-$,, 8346 s,^['$as_cr_digits']*\n,, 8347 ' >$as_me.lineno && 8348 chmod +x $as_me.lineno || 8349 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 8350 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 8351 { (exit 1); exit 1; }; } 8352 8353 # Don't try to exec as it changes $[0], causing all sort of problems 8354 # (the dirname of $[0] is not the place where we might find the 8355 # original and so on. Autoconf is especially sensible to this). 8356 . ./$as_me.lineno 8357 # Exit status is that of the last command. 8358 exit 8359 } 8360 8361 8362 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 8363 *c*,-n*) ECHO_N= ECHO_C=' 8364 ' ECHO_T=' ' ;; 8365 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 8366 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 8367 esac 4268 8368 4269 8369 if expr a : '\(a\)' >/dev/null 2>&1; then … … 4291 8391 rm -f conf$$ conf$$.exe conf$$.file 4292 8392 8393 if mkdir -p . 2>/dev/null; then 8394 as_mkdir_p=: 8395 else 8396 as_mkdir_p=false 8397 fi 8398 4293 8399 as_executable_p="test -f" 4294 8400 4295 # Support unset when possible. 4296 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 4297 as_unset=unset 4298 else 4299 as_unset=false 4300 fi 4301 4302 # NLS nuisances. 4303 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } 4304 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } 4305 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } 4306 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } 4307 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } 4308 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } 4309 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } 4310 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } 8401 # Sed expression to map a string onto a valid CPP name. 8402 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 8403 8404 # Sed expression to map a string onto a valid variable name. 8405 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 8406 4311 8407 4312 8408 # IFS … … 4317 8413 4318 8414 # CDPATH. 4319 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }8415 $as_unset CDPATH 4320 8416 4321 8417 exec 6>&1 4322 8418 8419 # Open the log real soon, to keep \$[0] and so on meaningful, and to 8420 # report actual input values of CONFIG_FILES etc. instead of their 8421 # values after options handling. Logging --version etc. is OK. 8422 exec 5>>config.log 8423 { 8424 echo 8425 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 8426 ## Running $as_me. ## 8427 _ASBOX 8428 } >&5 8429 cat >&5 <<_CSEOF 8430 8431 This file was extended by pjproject $as_me 0.5.8, which was 8432 generated by GNU Autoconf 2.56. Invocation command line was 8433 8434 CONFIG_FILES = $CONFIG_FILES 8435 CONFIG_HEADERS = $CONFIG_HEADERS 8436 CONFIG_LINKS = $CONFIG_LINKS 8437 CONFIG_COMMANDS = $CONFIG_COMMANDS 8438 $ $0 $@ 8439 8440 _CSEOF 8441 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 8442 echo >&5 4323 8443 _ACEOF 4324 8444 … … 4340 8460 fi 4341 8461 4342 cat >>$CONFIG_STATUS <<\ EOF8462 cat >>$CONFIG_STATUS <<\_ACEOF 4343 8463 4344 8464 ac_cs_usage="\ … … 4350 8470 -h, --help print this help, then exit 4351 8471 -V, --version print version number, then exit 8472 -q, --quiet do not print progress messages 4352 8473 -d, --debug don't remove temporary files 4353 8474 --recheck update $as_me by reconfiguring in the same conditions … … 4364 8485 4365 8486 Report bugs to <bug-autoconf@gnu.org>." 4366 EOF4367 4368 cat >>$CONFIG_STATUS << EOF8487 _ACEOF 8488 8489 cat >>$CONFIG_STATUS <<_ACEOF 4369 8490 ac_cs_version="\\ 4370 8491 pjproject config.status 0.5.8 4371 configured by $0, generated by GNU Autoconf 2.5 2,8492 configured by $0, generated by GNU Autoconf 2.56, 4372 8493 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 4373 8494 … … 4377 8498 gives unlimited permission to copy, distribute and modify it." 4378 8499 srcdir=$srcdir 4379 EOF4380 4381 cat >>$CONFIG_STATUS <<\ EOF8500 _ACEOF 8501 8502 cat >>$CONFIG_STATUS <<\_ACEOF 4382 8503 # If no file are specified by the user, then we need to provide default 4383 8504 # value. By we need to know if files were specified by the user. … … 4389 8510 ac_option=`expr "x$1" : 'x\([^=]*\)='` 4390 8511 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 4391 shift 4392 set dummy "$ac_option" "$ac_optarg" ${1+"$@"} 4393 shift 8512 ac_shift=: 4394 8513 ;; 4395 -*);; 8514 -*) 8515 ac_option=$1 8516 ac_optarg=$2 8517 ac_shift=shift 8518 ;; 4396 8519 *) # This is not an option, so the user has probably given explicit 4397 8520 # arguments. 8521 ac_option=$1 4398 8522 ac_need_defaults=false;; 4399 8523 esac 4400 8524 4401 case $ 1in8525 case $ac_option in 4402 8526 # Handling of the options. 4403 EOF4404 cat >>$CONFIG_STATUS << EOF8527 _ACEOF 8528 cat >>$CONFIG_STATUS <<\_ACEOF 4405 8529 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4406 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" 4407 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; 4408 EOF 4409 cat >>$CONFIG_STATUS <<\EOF 8530 ac_cs_recheck=: ;; 4410 8531 --version | --vers* | -V ) 4411 8532 echo "$ac_cs_version"; exit 0 ;; 4412 8533 --he | --h) 4413 8534 # Conflict between --help and --header 4414 { { echo "$as_me: 4414: error: ambiguous option: $18535 { { echo "$as_me:$LINENO: error: ambiguous option: $1 4415 8536 Try \`$0 --help' for more information." >&5 4416 8537 echo "$as_me: error: ambiguous option: $1 … … 4422 8543 debug=: ;; 4423 8544 --file | --fil | --fi | --f ) 4424 shift4425 CONFIG_FILES="$CONFIG_FILES $ 1"8545 $ac_shift 8546 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 4426 8547 ac_need_defaults=false;; 4427 8548 --header | --heade | --head | --hea ) 4428 shift4429 CONFIG_HEADERS="$CONFIG_HEADERS $ 1"8549 $ac_shift 8550 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 4430 8551 ac_need_defaults=false;; 8552 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 8553 | -silent | --silent | --silen | --sile | --sil | --si | --s) 8554 ac_cs_silent=: ;; 4431 8555 4432 8556 # This is an error. 4433 -*) { { echo "$as_me: 4433: error: unrecognized option: $18557 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 4434 8558 Try \`$0 --help' for more information." >&5 4435 8559 echo "$as_me: error: unrecognized option: $1 … … 4443 8567 done 4444 8568 4445 exec 5>>config.log 4446 cat >&5 << _ACEOF 4447 4448 ## ----------------------- ## 4449 ## Running config.status. ## 4450 ## ----------------------- ## 4451 4452 This file was extended by $as_me (pjproject 0.5.8) 2.52, executed with 4453 CONFIG_FILES = $CONFIG_FILES 4454 CONFIG_HEADERS = $CONFIG_HEADERS 4455 CONFIG_LINKS = $CONFIG_LINKS 4456 CONFIG_COMMANDS = $CONFIG_COMMANDS 4457 > $ac_cs_invocation 4458 on `(hostname || uname -n) 2>/dev/null | sed 1q` 4459 4460 _ACEOF 4461 EOF 4462 4463 cat >>$CONFIG_STATUS <<\EOF 8569 ac_configure_extra_args= 8570 8571 if $ac_cs_silent; then 8572 exec 6>/dev/null 8573 ac_configure_extra_args="$ac_configure_extra_args --silent" 8574 fi 8575 8576 _ACEOF 8577 cat >>$CONFIG_STATUS <<_ACEOF 8578 if \$ac_cs_recheck; then 8579 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 8580 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8581 fi 8582 8583 _ACEOF 8584 8585 8586 8587 8588 8589 cat >>$CONFIG_STATUS <<\_ACEOF 4464 8590 for ac_config_target in $ac_config_targets 4465 8591 do … … 4474 8600 "pjlib/include/pj/compat/os_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 4475 8601 "pjlib/include/pj/compat/m_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 4476 *) { { echo "$as_me: 4476: error: invalid argument: $ac_config_target" >&58602 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 4477 8603 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 4478 8604 { (exit 1); exit 1; }; };; … … 4489 8615 fi 4490 8616 8617 # Have a temporary directory for convenience. Make it in the build tree 8618 # simply because there is no reason to put it here, and in addition, 8619 # creating and moving files from /tmp can sometimes cause problems. 4491 8620 # Create a temporary directory, and hook for its removal unless debugging. 4492 8621 $debug || … … 4497 8626 4498 8627 # Create a (secure) tmp directory for tmp files. 4499 : ${TMPDIR=/tmp} 8628 4500 8629 { 4501 tmp=`(umask 077 && mktemp -d -q " $TMPDIR/csXXXXXX") 2>/dev/null` &&8630 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 4502 8631 test -n "$tmp" && test -d "$tmp" 4503 8632 } || 4504 8633 { 4505 tmp= $TMPDIR/cs$$-$RANDOM8634 tmp=./confstat$$-$RANDOM 4506 8635 (umask 077 && mkdir $tmp) 4507 8636 } || 4508 8637 { 4509 echo "$me: cannot create a temporary directory in $TMPDIR" >&28638 echo "$me: cannot create a temporary directory in ." >&2 4510 8639 { (exit 1); exit 1; } 4511 8640 } 4512 8641 4513 EOF4514 4515 cat >>$CONFIG_STATUS << EOF8642 _ACEOF 8643 8644 cat >>$CONFIG_STATUS <<_ACEOF 4516 8645 4517 8646 # … … 4526 8655 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 4527 8656 s,@SHELL@,$SHELL,;t t 8657 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 8658 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 8659 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 8660 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 8661 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 8662 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 4528 8663 s,@exec_prefix@,$exec_prefix,;t t 4529 8664 s,@prefix@,$prefix,;t t … … 4541 8676 s,@infodir@,$infodir,;t t 4542 8677 s,@mandir@,$mandir,;t t 4543 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t4544 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t4545 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t4546 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t4547 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t4548 8678 s,@build_alias@,$build_alias,;t t 4549 8679 s,@host_alias@,$host_alias,;t t 4550 8680 s,@target_alias@,$target_alias,;t t 8681 s,@DEFS@,$DEFS,;t t 4551 8682 s,@ECHO_C@,$ECHO_C,;t t 4552 8683 s,@ECHO_N@,$ECHO_N,;t t 4553 8684 s,@ECHO_T@,$ECHO_T,;t t 4554 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t4555 s,@DEFS@,$DEFS,;t t4556 8685 s,@LIBS@,$LIBS,;t t 4557 8686 s,@build@,$build,;t t … … 4578 8707 s,@ac_ct_CXX@,$ac_ct_CXX,;t t 4579 8708 s,@CPP@,$CPP,;t t 8709 s,@EGREP@,$EGREP,;t t 8710 s,@ac_os_objs@,$ac_os_objs,;t t 4580 8711 s,@ac_pjmedia_snd@,$ac_pjmedia_snd,;t t 4581 8712 s,@ac_pa_use_alsa@,$ac_pa_use_alsa,;t t … … 4593 8724 s,@ac_host@,$ac_host,;t t 4594 8725 s,@ac_main_obj@,$ac_main_obj,;t t 8726 s,@LIBOBJS@,$LIBOBJS,;t t 8727 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 4595 8728 CEOF 4596 8729 4597 EOF4598 4599 cat >>$CONFIG_STATUS <<\ EOF8730 _ACEOF 8731 8732 cat >>$CONFIG_STATUS <<\_ACEOF 4600 8733 # Split the substitutions into bite-sized pieces for seds with 4601 8734 # small command number limits, like on Digital OSF/1 and HP-UX. … … 4636 8769 fi # test -n "$CONFIG_FILES" 4637 8770 4638 EOF4639 cat >>$CONFIG_STATUS <<\ EOF8771 _ACEOF 8772 cat >>$CONFIG_STATUS <<\_ACEOF 4640 8773 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 4641 8774 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". … … 4651 8784 4652 8785 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 4653 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8786 ac_dir=`(dirname "$ac_file") 2>/dev/null || 8787 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4654 8788 X"$ac_file" : 'X\(//\)[^/]' \| \ 4655 8789 X"$ac_file" : 'X\(//\)$' \| \ … … 4662 8796 /^X\(\/\).*/{ s//\1/; q; } 4663 8797 s/.*/./; q'` 4664 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 4665 { case "$ac_dir" in 4666 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 4667 *) as_incr_dir=.;; 8798 { if $as_mkdir_p; then 8799 mkdir -p "$ac_dir" 8800 else 8801 as_dir="$ac_dir" 8802 as_dirs= 8803 while test ! -d "$as_dir"; do 8804 as_dirs="$as_dir $as_dirs" 8805 as_dir=`(dirname "$as_dir") 2>/dev/null || 8806 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8807 X"$as_dir" : 'X\(//\)[^/]' \| \ 8808 X"$as_dir" : 'X\(//\)$' \| \ 8809 X"$as_dir" : 'X\(/\)' \| \ 8810 . : '\(.\)' 2>/dev/null || 8811 echo X"$as_dir" | 8812 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8813 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8814 /^X\(\/\/\)$/{ s//\1/; q; } 8815 /^X\(\/\).*/{ s//\1/; q; } 8816 s/.*/./; q'` 8817 done 8818 test ! -n "$as_dirs" || mkdir $as_dirs 8819 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 8820 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 8821 { (exit 1); exit 1; }; }; } 8822 8823 ac_builddir=. 8824 8825 if test "$ac_dir" != .; then 8826 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8827 # A "../" for each directory in $ac_dir_suffix. 8828 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8829 else 8830 ac_dir_suffix= ac_top_builddir= 8831 fi 8832 8833 case $srcdir in 8834 .) # No --srcdir option. We are building in place. 8835 ac_srcdir=. 8836 if test -z "$ac_top_builddir"; then 8837 ac_top_srcdir=. 8838 else 8839 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8840 fi ;; 8841 [\\/]* | ?:[\\/]* ) # Absolute path. 8842 ac_srcdir=$srcdir$ac_dir_suffix; 8843 ac_top_srcdir=$srcdir ;; 8844 *) # Relative path. 8845 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8846 ac_top_srcdir=$ac_top_builddir$srcdir ;; 4668 8847 esac 4669 as_dummy="$ac_dir" 4670 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 4671 case $as_mkdir_dir in 4672 # Skip DOS drivespec 4673 ?:) as_incr_dir=$as_mkdir_dir ;; 4674 *) 4675 as_incr_dir=$as_incr_dir/$as_mkdir_dir 4676 test -d "$as_incr_dir" || mkdir "$as_incr_dir" 4677 ;; 4678 esac 4679 done; } 4680 4681 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`" 4682 # A "../" for each directory in $ac_dir_suffix. 4683 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'` 4684 else 4685 ac_dir_suffix= ac_dots= 4686 fi 4687 4688 case $srcdir in 4689 .) ac_srcdir=. 4690 if test -z "$ac_dots"; then 4691 ac_top_srcdir=. 4692 else 4693 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` 4694 fi ;; 4695 [\\/]* | ?:[\\/]* ) 4696 ac_srcdir=$srcdir$ac_dir_suffix; 4697 ac_top_srcdir=$srcdir ;; 4698 *) # Relative path. 4699 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix 4700 ac_top_srcdir=$ac_dots$srcdir ;; 4701 esac 8848 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 8849 # absolute. 8850 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 8851 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 8852 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 8853 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 8854 8855 4702 8856 4703 8857 if test x"$ac_file" != x-; then 4704 { echo "$as_me: 4704: creating $ac_file" >&58858 { echo "$as_me:$LINENO: creating $ac_file" >&5 4705 8859 echo "$as_me: creating $ac_file" >&6;} 4706 8860 rm -f "$ac_file" … … 4708 8862 # Let's still pretend it is `configure' which instantiates (i.e., don't 4709 8863 # use $as_me), people would be surprised to read: 4710 # /* config.h. Generated automatically by config.status. */ 4711 configure_input="Generated automatically from `echo $ac_file_in | 4712 sed 's,.*/,,'` by configure." 8864 # /* config.h. Generated by config.status. */ 8865 if test x"$ac_file" = x-; then 8866 configure_input= 8867 else 8868 configure_input="$ac_file. " 8869 fi 8870 configure_input=$configure_input"Generated from `echo $ac_file_in | 8871 sed 's,.*/,,'` by configure." 4713 8872 4714 8873 # First look for the input files in the build tree, otherwise in the … … 4720 8879 [\\/$]*) 4721 8880 # Absolute (can't be DOS-style, as IFS=:) 4722 test -f "$f" || { { echo "$as_me: 4722: error: cannot find input file: $f" >&58881 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4723 8882 echo "$as_me: error: cannot find input file: $f" >&2;} 4724 8883 { (exit 1); exit 1; }; } … … 4733 8892 else 4734 8893 # /dev/null tree 4735 { { echo "$as_me: 4735: error: cannot find input file: $f" >&58894 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4736 8895 echo "$as_me: error: cannot find input file: $f" >&2;} 4737 8896 { (exit 1); exit 1; }; } … … 4739 8898 esac 4740 8899 done` || { (exit 1); exit 1; } 4741 EOF4742 cat >>$CONFIG_STATUS << EOF8900 _ACEOF 8901 cat >>$CONFIG_STATUS <<_ACEOF 4743 8902 sed "$ac_vpsub 4744 8903 $extrasub 4745 EOF4746 cat >>$CONFIG_STATUS <<\ EOF8904 _ACEOF 8905 cat >>$CONFIG_STATUS <<\_ACEOF 4747 8906 :t 4748 8907 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4749 8908 s,@configure_input@,$configure_input,;t t 4750 8909 s,@srcdir@,$ac_srcdir,;t t 8910 s,@abs_srcdir@,$ac_abs_srcdir,;t t 4751 8911 s,@top_srcdir@,$ac_top_srcdir,;t t 8912 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 8913 s,@builddir@,$ac_builddir,;t t 8914 s,@abs_builddir@,$ac_abs_builddir,;t t 8915 s,@top_builddir@,$ac_top_builddir,;t t 8916 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 4752 8917 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 4753 8918 rm -f $tmp/stdin … … 4760 8925 4761 8926 done 4762 EOF4763 cat >>$CONFIG_STATUS <<\ EOF8927 _ACEOF 8928 cat >>$CONFIG_STATUS <<\_ACEOF 4764 8929 4765 8930 # … … 4793 8958 esac 4794 8959 4795 test x"$ac_file" != x- && { echo "$as_me: 4795: creating $ac_file" >&58960 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 4796 8961 echo "$as_me: creating $ac_file" >&6;} 4797 8962 … … 4804 8969 [\\/$]*) 4805 8970 # Absolute (can't be DOS-style, as IFS=:) 4806 test -f "$f" || { { echo "$as_me: 4806: error: cannot find input file: $f" >&58971 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4807 8972 echo "$as_me: error: cannot find input file: $f" >&2;} 4808 8973 { (exit 1); exit 1; }; } … … 4817 8982 else 4818 8983 # /dev/null tree 4819 { { echo "$as_me: 4819: error: cannot find input file: $f" >&58984 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4820 8985 echo "$as_me: error: cannot find input file: $f" >&2;} 4821 8986 { (exit 1); exit 1; }; } … … 4826 8991 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 4827 8992 4828 EOF8993 _ACEOF 4829 8994 4830 8995 # Transform confdefs.h into two sed scripts, `conftest.defines' and … … 4842 9007 # 0-ary CPP macros) applies to n-ary macro definitions. 4843 9008 # See the Autoconf documentation for `clear'. 4844 cat >confdef2sed.sed <<\ EOF9009 cat >confdef2sed.sed <<\_ACEOF 4845 9010 s/[\\&,]/\\&/g 4846 9011 s,[\\$`],\\&,g 4847 9012 t clear 4848 9013 : clear 4849 s,^[ ]*#[ ]*define[ ][ ]*\( \([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp9014 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 4850 9015 t end 4851 9016 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 4852 9017 : end 4853 EOF9018 _ACEOF 4854 9019 # If some macros were called several times there might be several times 4855 9020 # the same #defines, which is useless. Nevertheless, we may not want to … … 4862 9027 # example, in the case of _POSIX_SOURCE, which is predefined and required 4863 9028 # on some systems where configure will not decide to define it. 4864 cat >>conftest.undefs <<\ EOF9029 cat >>conftest.undefs <<\_ACEOF 4865 9030 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 4866 EOF9031 _ACEOF 4867 9032 4868 9033 # Break up conftest.defines because some shells have a limit on the size 4869 9034 # of here documents, and old seds have small limits too (100 cmds). 4870 9035 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 4871 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS9036 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 4872 9037 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 4873 9038 echo ' :' >>$CONFIG_STATUS … … 4893 9058 done 4894 9059 rm -f conftest.defines 4895 echo ' fi # egrep' >>$CONFIG_STATUS9060 echo ' fi # grep' >>$CONFIG_STATUS 4896 9061 echo >>$CONFIG_STATUS 4897 9062 … … 4921 9086 rm -f conftest.undefs 4922 9087 4923 cat >>$CONFIG_STATUS <<\ EOF9088 cat >>$CONFIG_STATUS <<\_ACEOF 4924 9089 # Let's still pretend it is `configure' which instantiates (i.e., don't 4925 9090 # use $as_me), people would be surprised to read: 4926 # /* config.h. Generated automaticallyby config.status. */9091 # /* config.h. Generated by config.status. */ 4927 9092 if test x"$ac_file" = x-; then 4928 echo "/* Generated automaticallyby configure. */" >$tmp/config.h9093 echo "/* Generated by configure. */" >$tmp/config.h 4929 9094 else 4930 echo "/* $ac_file. Generated automaticallyby configure. */" >$tmp/config.h9095 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 4931 9096 fi 4932 9097 cat $tmp/in >>$tmp/config.h 4933 9098 rm -f $tmp/in 4934 9099 if test x"$ac_file" != x-; then 4935 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then4936 { echo "$as_me: 4936: $ac_file is unchanged" >&59100 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 9101 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 4937 9102 echo "$as_me: $ac_file is unchanged" >&6;} 4938 9103 else 4939 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9104 ac_dir=`(dirname "$ac_file") 2>/dev/null || 9105 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4940 9106 X"$ac_file" : 'X\(//\)[^/]' \| \ 4941 9107 X"$ac_file" : 'X\(//\)$' \| \ … … 4948 9114 /^X\(\/\).*/{ s//\1/; q; } 4949 9115 s/.*/./; q'` 4950 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 4951 { case "$ac_dir" in 4952 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 4953 *) as_incr_dir=.;; 4954 esac 4955 as_dummy="$ac_dir" 4956 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 4957 case $as_mkdir_dir in 4958 # Skip DOS drivespec 4959 ?:) as_incr_dir=$as_mkdir_dir ;; 4960 *) 4961 as_incr_dir=$as_incr_dir/$as_mkdir_dir 4962 test -d "$as_incr_dir" || mkdir "$as_incr_dir" 4963 ;; 4964 esac 4965 done; } 4966 4967 fi 9116 { if $as_mkdir_p; then 9117 mkdir -p "$ac_dir" 9118 else 9119 as_dir="$ac_dir" 9120 as_dirs= 9121 while test ! -d "$as_dir"; do 9122 as_dirs="$as_dir $as_dirs" 9123 as_dir=`(dirname "$as_dir") 2>/dev/null || 9124 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9125 X"$as_dir" : 'X\(//\)[^/]' \| \ 9126 X"$as_dir" : 'X\(//\)$' \| \ 9127 X"$as_dir" : 'X\(/\)' \| \ 9128 . : '\(.\)' 2>/dev/null || 9129 echo X"$as_dir" | 9130 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 9131 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 9132 /^X\(\/\/\)$/{ s//\1/; q; } 9133 /^X\(\/\).*/{ s//\1/; q; } 9134 s/.*/./; q'` 9135 done 9136 test ! -n "$as_dirs" || mkdir $as_dirs 9137 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 9138 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 9139 { (exit 1); exit 1; }; }; } 9140 4968 9141 rm -f $ac_file 4969 9142 mv $tmp/config.h $ac_file … … 4974 9147 fi 4975 9148 done 4976 EOF4977 4978 cat >>$CONFIG_STATUS <<\ EOF9149 _ACEOF 9150 9151 cat >>$CONFIG_STATUS <<\_ACEOF 4979 9152 4980 9153 { (exit 0); exit 0; } 4981 EOF9154 _ACEOF 4982 9155 chmod +x $CONFIG_STATUS 4983 9156 ac_clean_files=$ac_clean_files_save 9157 4984 9158 4985 9159 # configure is writing to config.log, and then calls config.status. … … 4993 9167 if test "$no_create" != yes; then 4994 9168 ac_cs_success=: 9169 ac_config_status_args= 9170 test "$silent" = yes && 9171 ac_config_status_args="$ac_config_status_args --quiet" 4995 9172 exec 5>/dev/null 4996 $SHELL $CONFIG_STATUS || ac_cs_success=false9173 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 4997 9174 exec 5>>config.log 4998 9175 # Use ||, not &&, to avoid exiting from the if with $? = 1, which … … 5001 9178 fi 5002 9179 9180
Note: See TracChangeset
for help on using the changeset viewer.