ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/configure
(Generate patch)

Comparing gvpe/configure (file contents):
Revision 1.2 by pcg, Tue Oct 14 19:45:35 2003 UTC vs.
Revision 1.13 by pcg, Sat Jan 17 15:43:02 2004 UTC

1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.57. 3# Generated by GNU Autoconf 2.58.
4# 4#
5# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6# Free Software Foundation, Inc. 5# Copyright (C) 2003 Free Software Foundation, Inc.
7# This configure script is free software; the Free Software Foundation 6# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it. 7# gives unlimited permission to copy, distribute and modify it.
9## --------------------- ## 8## --------------------- ##
10## M4sh Initialization. ## 9## M4sh Initialization. ##
11## --------------------- ## 10## --------------------- ##
18 # is contrary to our usage. Disable this feature. 17 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"' 18 alias -g '${1+"$@"}'='"$@"'
20elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21 set -o posix 20 set -o posix
22fi 21fi
22DUALCASE=1; export DUALCASE # for MKS sh
23 23
24# Support unset when possible. 24# Support unset when possible.
25if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset 26 as_unset=unset
27else 27else
28 as_unset=false 28 as_unset=false
29fi 29fi
30 30
39for as_var in \ 39for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 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 \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME 42 LC_TELEPHONE LC_TIME
43do 43do
44 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var 45 eval $as_var=C; export $as_var
46 else 46 else
47 $as_unset $as_var 47 $as_unset $as_var
48 fi 48 fi
49done 49done
216rm -f conf$$ conf$$.exe conf$$.file 216rm -f conf$$ conf$$.exe conf$$.file
217 217
218if mkdir -p . 2>/dev/null; then 218if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=: 219 as_mkdir_p=:
220else 220else
221 test -d ./-p && rmdir ./-p
221 as_mkdir_p=false 222 as_mkdir_p=false
222fi 223fi
223 224
224as_executable_p="test -f" 225as_executable_p="test -f"
225 226
226# Sed expression to map a string onto a valid CPP name. 227# Sed expression to map a string onto a valid CPP name.
227as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 228as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
228 229
229# Sed expression to map a string onto a valid variable name. 230# Sed expression to map a string onto a valid variable name.
230as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 231as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
231 232
232 233
233# IFS 234# IFS
234# We need space, tab and new line, in precisely that order. 235# We need space, tab and new line, in precisely that order.
235as_nl=' 236as_nl='
665 esac 666 esac
666done 667done
667 668
668# Be sure to have absolute paths. 669# Be sure to have absolute paths.
669for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 670for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir 671 localstatedir libdir includedir oldincludedir infodir mandir
671do 672do
672 eval ac_val=$`echo $ac_var` 673 eval ac_val=$`echo $ac_var`
673 case $ac_val in 674 case $ac_val in
674 [\\/$]* | ?:[\\/]* ) ;; 675 [\\/$]* | ?:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
705if test -z "$srcdir"; then 706if test -z "$srcdir"; then
706 ac_srcdir_defaulted=yes 707 ac_srcdir_defaulted=yes
707 # Try the directory containing this script, then its parent. 708 # Try the directory containing this script, then its parent.
708 ac_confdir=`(dirname "$0") 2>/dev/null || 709 ac_confdir=`(dirname "$0") 2>/dev/null ||
709$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 710$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \ 711 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \ 712 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \ 713 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null || 714 . : '\(.\)' 2>/dev/null ||
714echo X"$0" | 715echo X"$0" |
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; } 718 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; } 719 /^X\(\/\).*/{ s//\1/; q; }
812_ACEOF 813_ACEOF
813 814
814 cat <<_ACEOF 815 cat <<_ACEOF
815Installation directories: 816Installation directories:
816 --prefix=PREFIX install architecture-independent files in PREFIX 817 --prefix=PREFIX install architecture-independent files in PREFIX
817 [$ac_default_prefix] 818 [$ac_default_prefix]
818 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 819 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
819 [PREFIX] 820 [PREFIX]
820 821
821By default, \`make install' will install all the files in 822By default, \`make install' will install all the files in
822\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 823\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
823an installation prefix other than \`$ac_default_prefix' using \`--prefix', 824an installation prefix other than \`$ac_default_prefix' using \`--prefix',
824for instance \`--prefix=\$HOME'. 825for instance \`--prefix=\$HOME'.
866 --disable-dependency-tracking Speeds up one-time builds 867 --disable-dependency-tracking Speeds up one-time builds
867 --enable-dependency-tracking Do not reject slow dependency extractors 868 --enable-dependency-tracking Do not reject slow dependency extractors
868 --disable-rpath do not hardcode runtime library paths 869 --disable-rpath do not hardcode runtime library paths
869 --disable-nls do not use Native Language Support 870 --disable-nls do not use Native Language Support
870 --enable-iftype=TYPE/SUBTYPE 871 --enable-iftype=TYPE/SUBTYPE
871 Use kernel/net device interface TYPE/SUBTYPE. 872 Use kernel/net device interface TYPE/SUBTYPE. Working combinations are:
872 Working combinations are: "native/linux" 873 "native/linux" "tincd/linux" "tincd/freebsd" "tincd/openbsd" "tincd/darwin" "native/cygwin"; Untested
873 "tincd/linux" "tincd/freebsd"; Untested combinations 874 combinations are: "tincd/netbsd" "tincd/solaris" "tincd/mingw"; Broken combinations are:
874 are: "tincd/netbsd" "tincd/darwin" "tincd/solaris"
875 "tincd/openbsd" "tincd/cygwin"; Broken combinations
876 are: "native/cygwin"; The default is to autodetect. 875 "tincd/cygwin"; The default is to autodetect.
877 --enable-rohc enable robust header compression (rfc3095). 876 --enable-rohc
878 --enable-icmp enable icmp protocol support (default disabled). 877 enable robust header compression (rfc3095).
879 --enable-tcp enable tcp protocol support (default disabled). 878 --enable-icmp
880 --enable-http-proxy enable http proxy connect support (default 879 enable icmp protocol support (default disabled).
881 disabled). 880 --enable-tcp
881 enable tcp protocol support (default disabled).
882 --enable-http-proxy
883 enable http proxy connect support (default disabled).
882 --enable-hmac-length=BYTES 884 --enable-hmac-length=BYTES
883 use a hmac of length BYTES bytes (default 12). 885 use a hmac of length BYTES bytes (default
884 Allowed values are 4, 8, 12, 16. 886 12). Allowed values are 4, 8, 12, 16.
885 --enable-rand-length=BYTES 887 --enable-rand-length=BYTES
886 use BYTES bytes of extra randomness (default 8). 888 use BYTES bytes of extra randomness (default 8).
887 Allowed values are 0, 4, 8. 889 Allowed values are 0, 4, 8.
888 --enable-max-mtu=BYTES enable mtu sizes upto BYTES bytes (default 1500). 890 --enable-max-mtu=BYTES
891 enable mtu sizes upto BYTES bytes (default 1500).
889 Use 9100 for jumbogram support. 892 Use 9100 for jumbogram support.
890 --disable-compression Disable compression support. 893 --disable-compression
894 Disable compression support.
895 --enable-cipher
891 --enable-cipher Select the symmetric cipher (default "bf"). Must be 896 Select the symmetric cipher (default "bf"). Must be
892 one of "bf" (blowfish), "aes-128" (rijndael), 897 one of "bf" (blowfish), "aes-128" (rijndael), "aes-192" or "aes-256".
893 "aes-192" or "aes-256". 898 --enable-digest
894 --enable-digest Select the digets algorithm to use (default "sha1"). 899 Select the digets algorithm to use (default "sha1").
895 Must be one of "sha1", "ripemd160", "md5" or "md4" 900 Must be one of "sha1", "ripemd160", "md5" or "md4"
896 (insecure). 901 (insecure).
897 902
898Optional Packages: 903Optional Packages:
899 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 904 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
907 (default: /usr/src/linux) 912 (default: /usr/src/linux)
908 --with-openssl-include=DIR OpenSSL headers directory (without trailing /openssl) 913 --with-openssl-include=DIR OpenSSL headers directory (without trailing /openssl)
909 --with-openssl-lib=DIR OpenSSL library directory 914 --with-openssl-lib=DIR OpenSSL library directory
910 915
911Some influential environment variables: 916Some influential environment variables:
912 CC C compiler command 917 CC
913 CFLAGS C compiler flags 918 C compiler command
919 CFLAGS
920 C compiler flags
921 LDFLAGS
914 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 922 linker flags, e.g. -L<lib dir> if you have
915 nonstandard directory <lib dir> 923 libraries in a nonstandard directory <lib dir>
924 CPPFLAGS
916 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 925 C/C++ preprocessor flags, e.g. -I<include dir> if you
917 headers in a nonstandard directory <include dir> 926 have headers in a nonstandard directory <include dir>
918 CPP C preprocessor 927 CPP
928 C preprocessor
929 CXX
919 CXX C++ compiler command 930 C++ compiler command
931 CXXFLAGS
920 CXXFLAGS C++ compiler flags 932 C++ compiler flags
933 CXXCPP
921 CXXCPP C++ preprocessor 934 C++ preprocessor
922 935
923Use these variables to override the choices made by `configure' or to help 936Use these variables to override the choices made by `configure' or to help
924it to find libraries and programs with nonstandard names/locations. 937it to find libraries and programs with nonstandard names/locations.
925 938
926_ACEOF 939_ACEOF
954 ac_top_srcdir=$srcdir ;; 967 ac_top_srcdir=$srcdir ;;
955 *) # Relative path. 968 *) # Relative path.
956 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 969 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
957 ac_top_srcdir=$ac_top_builddir$srcdir ;; 970 ac_top_srcdir=$ac_top_builddir$srcdir ;;
958esac 971esac
959# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 972
960# absolute. 973# Do not use `cd foo && pwd` to compute absolute paths, because
961ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 974# the directories may not exist.
962ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 975case `pwd` in
963ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 976.) ac_abs_builddir="$ac_dir";;
964ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 977*)
978 case "$ac_dir" in
979 .) ac_abs_builddir=`pwd`;;
980 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
981 *) ac_abs_builddir=`pwd`/"$ac_dir";;
982 esac;;
983esac
984case $ac_abs_builddir in
985.) ac_abs_top_builddir=${ac_top_builddir}.;;
986*)
987 case ${ac_top_builddir}. in
988 .) ac_abs_top_builddir=$ac_abs_builddir;;
989 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
990 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
991 esac;;
992esac
993case $ac_abs_builddir in
994.) ac_abs_srcdir=$ac_srcdir;;
995*)
996 case $ac_srcdir in
997 .) ac_abs_srcdir=$ac_abs_builddir;;
998 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
999 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1000 esac;;
1001esac
1002case $ac_abs_builddir in
1003.) ac_abs_top_srcdir=$ac_top_srcdir;;
1004*)
1005 case $ac_top_srcdir in
1006 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1007 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1008 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1009 esac;;
1010esac
965 1011
966 cd $ac_dir 1012 cd $ac_dir
967 # Check for guested configure; otherwise get Cygnus style configure. 1013 # Check for guested configure; otherwise get Cygnus style configure.
968 if test -f $ac_srcdir/configure.gnu; then 1014 if test -f $ac_srcdir/configure.gnu; then
969 echo 1015 echo
970 $SHELL $ac_srcdir/configure.gnu --help=recursive 1016 $SHELL $ac_srcdir/configure.gnu --help=recursive
971 elif test -f $ac_srcdir/configure; then 1017 elif test -f $ac_srcdir/configure; then
972 echo 1018 echo
973 $SHELL $ac_srcdir/configure --help=recursive 1019 $SHELL $ac_srcdir/configure --help=recursive
974 elif test -f $ac_srcdir/configure.ac || 1020 elif test -f $ac_srcdir/configure.ac ||
975 test -f $ac_srcdir/configure.in; then 1021 test -f $ac_srcdir/configure.in; then
976 echo 1022 echo
977 $ac_configure --help 1023 $ac_configure --help
978 else 1024 else
979 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1025 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
980 fi 1026 fi
984 1030
985test -n "$ac_init_help" && exit 0 1031test -n "$ac_init_help" && exit 0
986if $ac_init_version; then 1032if $ac_init_version; then
987 cat <<\_ACEOF 1033 cat <<\_ACEOF
988 1034
989Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
990Free Software Foundation, Inc. 1035Copyright (C) 2003 Free Software Foundation, Inc.
991This configure script is free software; the Free Software Foundation 1036This configure script is free software; the Free Software Foundation
992gives unlimited permission to copy, distribute and modify it. 1037gives unlimited permission to copy, distribute and modify it.
993_ACEOF 1038_ACEOF
994 exit 0 1039 exit 0
995fi 1040fi
997cat >&5 <<_ACEOF 1042cat >&5 <<_ACEOF
998This file contains any messages produced by compilers while 1043This file contains any messages produced by compilers while
999running configure, to aid debugging if configure makes a mistake. 1044running configure, to aid debugging if configure makes a mistake.
1000 1045
1001It was created by $as_me, which was 1046It was created by $as_me, which was
1002generated by GNU Autoconf 2.57. Invocation command line was 1047generated by GNU Autoconf 2.58. Invocation command line was
1003 1048
1004 $ $0 $@ 1049 $ $0 $@
1005 1050
1006_ACEOF 1051_ACEOF
1007{ 1052{
1074 case $ac_pass in 1119 case $ac_pass in
1075 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1120 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1076 2) 1121 2)
1077 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1122 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1078 if test $ac_must_keep_next = true; then 1123 if test $ac_must_keep_next = true; then
1079 ac_must_keep_next=false # Got value, back to normal. 1124 ac_must_keep_next=false # Got value, back to normal.
1080 else 1125 else
1081 case $ac_arg in 1126 case $ac_arg in
1082 *=* | --config-cache | -C | -disable-* | --disable-* \ 1127 *=* | --config-cache | -C | -disable-* | --disable-* \
1083 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1128 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1084 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1129 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1085 | -with-* | --with-* | -without-* | --without-* | --x) 1130 | -with-* | --with-* | -without-* | --without-* | --x)
1086 case "$ac_configure_args0 " in 1131 case "$ac_configure_args0 " in
1087 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1132 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1088 esac 1133 esac
1089 ;; 1134 ;;
1090 -* ) ac_must_keep_next=true ;; 1135 -* ) ac_must_keep_next=true ;;
1091 esac 1136 esac
1092 fi 1137 fi
1093 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1138 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1094 # Get rid of the leading space. 1139 # Get rid of the leading space.
1095 ac_sep=" " 1140 ac_sep=" "
1096 ;; 1141 ;;
1120{ 1165{
1121 (set) 2>&1 | 1166 (set) 2>&1 |
1122 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1167 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1123 *ac_space=\ *) 1168 *ac_space=\ *)
1124 sed -n \ 1169 sed -n \
1125 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1170 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1126 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1171 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1127 ;; 1172 ;;
1128 *) 1173 *)
1129 sed -n \ 1174 sed -n \
1130 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1175 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1131 ;; 1176 ;;
1132 esac; 1177 esac;
1133} 1178}
1134 echo 1179 echo
1135 1180
1154_ASBOX 1199_ASBOX
1155 echo 1200 echo
1156 for ac_var in $ac_subst_files 1201 for ac_var in $ac_subst_files
1157 do 1202 do
1158 eval ac_val=$`echo $ac_var` 1203 eval ac_val=$`echo $ac_var`
1159 echo "$ac_var='"'"'$ac_val'"'"'" 1204 echo "$ac_var='"'"'$ac_val'"'"'"
1160 done | sort 1205 done | sort
1161 echo 1206 echo
1162 fi 1207 fi
1163 1208
1164 if test -s confdefs.h; then 1209 if test -s confdefs.h; then
1253 1298
1254# Check that the precious variables saved in the cache have kept the same 1299# Check that the precious variables saved in the cache have kept the same
1255# value. 1300# value.
1256ac_cache_corrupted=false 1301ac_cache_corrupted=false
1257for ac_var in `(set) 2>&1 | 1302for ac_var in `(set) 2>&1 |
1258 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1303 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1259 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1304 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1260 eval ac_new_set=\$ac_env_${ac_var}_set 1305 eval ac_new_set=\$ac_env_${ac_var}_set
1261 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1306 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1262 eval ac_new_val="\$ac_env_${ac_var}_value" 1307 eval ac_new_val="\$ac_env_${ac_var}_value"
1263 case $ac_old_set,$ac_new_set in 1308 case $ac_old_set,$ac_new_set in
1270echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1315echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1271 ac_cache_corrupted=: ;; 1316 ac_cache_corrupted=: ;;
1272 ,);; 1317 ,);;
1273 *) 1318 *)
1274 if test "x$ac_old_val" != "x$ac_new_val"; then 1319 if test "x$ac_old_val" != "x$ac_new_val"; then
1275 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1320 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1276echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1321echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1277 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1322 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1278echo "$as_me: former value: $ac_old_val" >&2;} 1323echo "$as_me: former value: $ac_old_val" >&2;}
1279 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1324 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1280echo "$as_me: current value: $ac_new_val" >&2;} 1325echo "$as_me: current value: $ac_new_val" >&2;}
1281 ac_cache_corrupted=: 1326 ac_cache_corrupted=:
1282 fi;; 1327 fi;;
1283 esac 1328 esac
1284 # Pass precious variables to config.status. 1329 # Pass precious variables to config.status.
1285 if test "$ac_new_set" = set; then 1330 if test "$ac_new_set" = set; then
1286 case $ac_new_val in 1331 case $ac_new_val in
1443# AIX /bin/install 1488# AIX /bin/install
1444# AmigaOS /C/install, which installs bootblocks on floppy discs 1489# AmigaOS /C/install, which installs bootblocks on floppy discs
1445# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1490# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1446# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1491# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1447# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1492# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1493# OS/2's system install, which has a completely different semantic
1448# ./install, which can be erroneously created by make from ./install.sh. 1494# ./install, which can be erroneously created by make from ./install.sh.
1449echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1495echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1450echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 1496echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1451if test -z "$INSTALL"; then 1497if test -z "$INSTALL"; then
1452if test "${ac_cv_path_install+set}" = set; then 1498if test "${ac_cv_path_install+set}" = set; then
1459 test -z "$as_dir" && as_dir=. 1505 test -z "$as_dir" && as_dir=.
1460 # Account for people who put trailing slashes in PATH elements. 1506 # Account for people who put trailing slashes in PATH elements.
1461case $as_dir/ in 1507case $as_dir/ in
1462 ./ | .// | /cC/* | \ 1508 ./ | .// | /cC/* | \
1463 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1509 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1510 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1464 /usr/ucb/* ) ;; 1511 /usr/ucb/* ) ;;
1465 *) 1512 *)
1466 # OSF1 and SCO ODT 3.0 have their own names for install. 1513 # OSF1 and SCO ODT 3.0 have their own names for install.
1467 # Don't use installbsd from OSF since it installs stuff as root 1514 # Don't use installbsd from OSF since it installs stuff as root
1468 # by default. 1515 # by default.
1469 for ac_prog in ginstall scoinst install; do 1516 for ac_prog in ginstall scoinst install; do
1470 for ac_exec_ext in '' $ac_executable_extensions; do 1517 for ac_exec_ext in '' $ac_executable_extensions; do
1471 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1518 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1472 if test $ac_prog = install && 1519 if test $ac_prog = install &&
1473 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1520 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1474 # AIX install. It has an incompatible calling convention. 1521 # AIX install. It has an incompatible calling convention.
1475 : 1522 :
1476 elif test $ac_prog = install && 1523 elif test $ac_prog = install &&
1477 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1524 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1478 # program-specific install script used by HP pwplus--don't use. 1525 # program-specific install script used by HP pwplus--don't use.
1479 : 1526 :
1480 else 1527 else
1481 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1528 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1482 break 3 1529 break 3
1483 fi 1530 fi
1484 fi 1531 fi
1485 done 1532 done
1486 done 1533 done
1487 ;; 1534 ;;
1488esac 1535esac
1489done 1536done
1623 test -n "$AWK" && break 1670 test -n "$AWK" && break
1624done 1671done
1625 1672
1626echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1673echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1627echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 1674echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1628set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 1675set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1629if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1676if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1630 echo $ECHO_N "(cached) $ECHO_C" >&6 1677 echo $ECHO_N "(cached) $ECHO_C" >&6
1631else 1678else
1632 cat >conftest.make <<\_ACEOF 1679 cat >conftest.make <<\_ACEOF
1633all: 1680all:
1679fi 1726fi
1680 1727
1681 1728
1682# Define the identity of the package. 1729# Define the identity of the package.
1683 PACKAGE=vpe 1730 PACKAGE=vpe
1684 VERSION=1.2 1731 VERSION=1.4
1685 1732
1686 1733
1687cat >>confdefs.h <<_ACEOF 1734cat >>confdefs.h <<_ACEOF
1688#define PACKAGE "$PACKAGE" 1735#define PACKAGE "$PACKAGE"
1689_ACEOF 1736_ACEOF
2455 ac_status=$? 2502 ac_status=$?
2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457 (exit $ac_status); } 2504 (exit $ac_status); }
2458 2505
2459cat >conftest.$ac_ext <<_ACEOF 2506cat >conftest.$ac_ext <<_ACEOF
2460#line $LINENO "configure"
2461/* confdefs.h. */ 2507/* confdefs.h. */
2462_ACEOF 2508_ACEOF
2463cat confdefs.h >>conftest.$ac_ext 2509cat confdefs.h >>conftest.$ac_ext
2464cat >>conftest.$ac_ext <<_ACEOF 2510cat >>conftest.$ac_ext <<_ACEOF
2465/* end confdefs.h. */ 2511/* end confdefs.h. */
2475ac_clean_files_save=$ac_clean_files 2521ac_clean_files_save=$ac_clean_files
2476ac_clean_files="$ac_clean_files a.out a.exe b.out" 2522ac_clean_files="$ac_clean_files a.out a.exe b.out"
2477# Try to create an executable without -o first, disregard a.out. 2523# Try to create an executable without -o first, disregard a.out.
2478# It will help us diagnose broken compilers, and finding out an intuition 2524# It will help us diagnose broken compilers, and finding out an intuition
2479# of exeext. 2525# of exeext.
2480echo "$as_me:$LINENO: checking for C compiler default output" >&5 2526echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2481echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 2527echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2482ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2528ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2483if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 2529if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2484 (eval $ac_link_default) 2>&5 2530 (eval $ac_link_default) 2>&5
2485 ac_status=$? 2531 ac_status=$?
2486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2496for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2542for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2497do 2543do
2498 test -f "$ac_file" || continue 2544 test -f "$ac_file" || continue
2499 case $ac_file in 2545 case $ac_file in
2500 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 2546 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2501 ;; 2547 ;;
2502 conftest.$ac_ext ) 2548 conftest.$ac_ext )
2503 # This is the source file. 2549 # This is the source file.
2504 ;; 2550 ;;
2505 [ab].out ) 2551 [ab].out )
2506 # We found the default executable, but exeext='' is most 2552 # We found the default executable, but exeext='' is most
2507 # certainly right. 2553 # certainly right.
2508 break;; 2554 break;;
2509 *.* ) 2555 *.* )
2510 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2556 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2511 # FIXME: I believe we export ac_cv_exeext for Libtool, 2557 # FIXME: I believe we export ac_cv_exeext for Libtool,
2512 # but it would be cool to find out if it's true. Does anybody 2558 # but it would be cool to find out if it's true. Does anybody
2513 # maintain Libtool? --akim. 2559 # maintain Libtool? --akim.
2514 export ac_cv_exeext 2560 export ac_cv_exeext
2515 break;; 2561 break;;
2516 * ) 2562 * )
2517 break;; 2563 break;;
2518 esac 2564 esac
2519done 2565done
2520else 2566else
2521 echo "$as_me: failed program was:" >&5 2567 echo "$as_me: failed program was:" >&5
2522sed 's/^/| /' conftest.$ac_ext >&5 2568sed 's/^/| /' conftest.$ac_ext >&5
2586for ac_file in conftest.exe conftest conftest.*; do 2632for ac_file in conftest.exe conftest conftest.*; do
2587 test -f "$ac_file" || continue 2633 test -f "$ac_file" || continue
2588 case $ac_file in 2634 case $ac_file in
2589 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2635 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2590 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2636 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2591 export ac_cv_exeext 2637 export ac_cv_exeext
2592 break;; 2638 break;;
2593 * ) break;; 2639 * ) break;;
2594 esac 2640 esac
2595done 2641done
2596else 2642else
2597 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2643 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2612echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2658echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2613if test "${ac_cv_objext+set}" = set; then 2659if test "${ac_cv_objext+set}" = set; then
2614 echo $ECHO_N "(cached) $ECHO_C" >&6 2660 echo $ECHO_N "(cached) $ECHO_C" >&6
2615else 2661else
2616 cat >conftest.$ac_ext <<_ACEOF 2662 cat >conftest.$ac_ext <<_ACEOF
2617#line $LINENO "configure"
2618/* confdefs.h. */ 2663/* confdefs.h. */
2619_ACEOF 2664_ACEOF
2620cat confdefs.h >>conftest.$ac_ext 2665cat confdefs.h >>conftest.$ac_ext
2621cat >>conftest.$ac_ext <<_ACEOF 2666cat >>conftest.$ac_ext <<_ACEOF
2622/* end confdefs.h. */ 2667/* end confdefs.h. */
2663echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2708echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2664if test "${ac_cv_c_compiler_gnu+set}" = set; then 2709if test "${ac_cv_c_compiler_gnu+set}" = set; then
2665 echo $ECHO_N "(cached) $ECHO_C" >&6 2710 echo $ECHO_N "(cached) $ECHO_C" >&6
2666else 2711else
2667 cat >conftest.$ac_ext <<_ACEOF 2712 cat >conftest.$ac_ext <<_ACEOF
2668#line $LINENO "configure"
2669/* confdefs.h. */ 2713/* confdefs.h. */
2670_ACEOF 2714_ACEOF
2671cat confdefs.h >>conftest.$ac_ext 2715cat confdefs.h >>conftest.$ac_ext
2672cat >>conftest.$ac_ext <<_ACEOF 2716cat >>conftest.$ac_ext <<_ACEOF
2673/* end confdefs.h. */ 2717/* end confdefs.h. */
2683 return 0; 2727 return 0;
2684} 2728}
2685_ACEOF 2729_ACEOF
2686rm -f conftest.$ac_objext 2730rm -f conftest.$ac_objext
2687if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2731if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2688 (eval $ac_compile) 2>&5 2732 (eval $ac_compile) 2>conftest.er1
2689 ac_status=$? 2733 ac_status=$?
2734 grep -v '^ *+' conftest.er1 >conftest.err
2735 rm -f conftest.er1
2736 cat conftest.err >&5
2690 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2691 (exit $ac_status); } && 2738 (exit $ac_status); } &&
2692 { ac_try='test -s conftest.$ac_objext' 2739 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2694 (eval $ac_try) 2>&5 2741 (eval $ac_try) 2>&5
2695 ac_status=$? 2742 ac_status=$?
2696 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2744 (exit $ac_status); }; } &&
2745 { ac_try='test -s conftest.$ac_objext'
2746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2747 (eval $ac_try) 2>&5
2748 ac_status=$?
2749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2697 (exit $ac_status); }; }; then 2750 (exit $ac_status); }; }; then
2698 ac_compiler_gnu=yes 2751 ac_compiler_gnu=yes
2699else 2752else
2700 echo "$as_me: failed program was:" >&5 2753 echo "$as_me: failed program was:" >&5
2701sed 's/^/| /' conftest.$ac_ext >&5 2754sed 's/^/| /' conftest.$ac_ext >&5
2702 2755
2703ac_compiler_gnu=no 2756ac_compiler_gnu=no
2704fi 2757fi
2705rm -f conftest.$ac_objext conftest.$ac_ext 2758rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2706ac_cv_c_compiler_gnu=$ac_compiler_gnu 2759ac_cv_c_compiler_gnu=$ac_compiler_gnu
2707 2760
2708fi 2761fi
2709echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2762echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2710echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2763echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2716echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2769echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2717if test "${ac_cv_prog_cc_g+set}" = set; then 2770if test "${ac_cv_prog_cc_g+set}" = set; then
2718 echo $ECHO_N "(cached) $ECHO_C" >&6 2771 echo $ECHO_N "(cached) $ECHO_C" >&6
2719else 2772else
2720 cat >conftest.$ac_ext <<_ACEOF 2773 cat >conftest.$ac_ext <<_ACEOF
2721#line $LINENO "configure"
2722/* confdefs.h. */ 2774/* confdefs.h. */
2723_ACEOF 2775_ACEOF
2724cat confdefs.h >>conftest.$ac_ext 2776cat confdefs.h >>conftest.$ac_ext
2725cat >>conftest.$ac_ext <<_ACEOF 2777cat >>conftest.$ac_ext <<_ACEOF
2726/* end confdefs.h. */ 2778/* end confdefs.h. */
2733 return 0; 2785 return 0;
2734} 2786}
2735_ACEOF 2787_ACEOF
2736rm -f conftest.$ac_objext 2788rm -f conftest.$ac_objext
2737if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2789if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2738 (eval $ac_compile) 2>&5 2790 (eval $ac_compile) 2>conftest.er1
2739 ac_status=$? 2791 ac_status=$?
2792 grep -v '^ *+' conftest.er1 >conftest.err
2793 rm -f conftest.er1
2794 cat conftest.err >&5
2740 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741 (exit $ac_status); } && 2796 (exit $ac_status); } &&
2742 { ac_try='test -s conftest.$ac_objext' 2797 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2744 (eval $ac_try) 2>&5 2799 (eval $ac_try) 2>&5
2745 ac_status=$? 2800 ac_status=$?
2746 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2802 (exit $ac_status); }; } &&
2803 { ac_try='test -s conftest.$ac_objext'
2804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2805 (eval $ac_try) 2>&5
2806 ac_status=$?
2807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2747 (exit $ac_status); }; }; then 2808 (exit $ac_status); }; }; then
2748 ac_cv_prog_cc_g=yes 2809 ac_cv_prog_cc_g=yes
2749else 2810else
2750 echo "$as_me: failed program was:" >&5 2811 echo "$as_me: failed program was:" >&5
2751sed 's/^/| /' conftest.$ac_ext >&5 2812sed 's/^/| /' conftest.$ac_ext >&5
2752 2813
2753ac_cv_prog_cc_g=no 2814ac_cv_prog_cc_g=no
2754fi 2815fi
2755rm -f conftest.$ac_objext conftest.$ac_ext 2816rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2756fi 2817fi
2757echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2818echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2758echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2819echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2759if test "$ac_test_CFLAGS" = set; then 2820if test "$ac_test_CFLAGS" = set; then
2760 CFLAGS=$ac_save_CFLAGS 2821 CFLAGS=$ac_save_CFLAGS
2777 echo $ECHO_N "(cached) $ECHO_C" >&6 2838 echo $ECHO_N "(cached) $ECHO_C" >&6
2778else 2839else
2779 ac_cv_prog_cc_stdc=no 2840 ac_cv_prog_cc_stdc=no
2780ac_save_CC=$CC 2841ac_save_CC=$CC
2781cat >conftest.$ac_ext <<_ACEOF 2842cat >conftest.$ac_ext <<_ACEOF
2782#line $LINENO "configure"
2783/* confdefs.h. */ 2843/* confdefs.h. */
2784_ACEOF 2844_ACEOF
2785cat confdefs.h >>conftest.$ac_ext 2845cat confdefs.h >>conftest.$ac_ext
2786cat >>conftest.$ac_ext <<_ACEOF 2846cat >>conftest.$ac_ext <<_ACEOF
2787/* end confdefs.h. */ 2847/* end confdefs.h. */
2805 va_start (v,p); 2865 va_start (v,p);
2806 s = g (p, va_arg (v,int)); 2866 s = g (p, va_arg (v,int));
2807 va_end (v); 2867 va_end (v);
2808 return s; 2868 return s;
2809} 2869}
2870
2871/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2872 function prototypes and stuff, but not '\xHH' hex character constants.
2873 These don't provoke an error unfortunately, instead are silently treated
2874 as 'x'. The following induces an error, until -std1 is added to get
2875 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2876 array size at least. It's necessary to write '\x00'==0 to get something
2877 that's true only with -std1. */
2878int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2879
2810int test (int i, double x); 2880int test (int i, double x);
2811struct s1 {int (*f) (int a);}; 2881struct s1 {int (*f) (int a);};
2812struct s2 {int (*f) (double a);}; 2882struct s2 {int (*f) (double a);};
2813int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2883int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2814int argc; 2884int argc;
2831for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2901for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2832do 2902do
2833 CC="$ac_save_CC $ac_arg" 2903 CC="$ac_save_CC $ac_arg"
2834 rm -f conftest.$ac_objext 2904 rm -f conftest.$ac_objext
2835if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2905if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2836 (eval $ac_compile) 2>&5 2906 (eval $ac_compile) 2>conftest.er1
2837 ac_status=$? 2907 ac_status=$?
2908 grep -v '^ *+' conftest.er1 >conftest.err
2909 rm -f conftest.er1
2910 cat conftest.err >&5
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); } && 2912 (exit $ac_status); } &&
2913 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2915 (eval $ac_try) 2>&5
2916 ac_status=$?
2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918 (exit $ac_status); }; } &&
2840 { ac_try='test -s conftest.$ac_objext' 2919 { ac_try='test -s conftest.$ac_objext'
2841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2842 (eval $ac_try) 2>&5 2921 (eval $ac_try) 2>&5
2843 ac_status=$? 2922 ac_status=$?
2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); }; }; then 2924 (exit $ac_status); }; }; then
2848else 2927else
2849 echo "$as_me: failed program was:" >&5 2928 echo "$as_me: failed program was:" >&5
2850sed 's/^/| /' conftest.$ac_ext >&5 2929sed 's/^/| /' conftest.$ac_ext >&5
2851 2930
2852fi 2931fi
2853rm -f conftest.$ac_objext 2932rm -f conftest.err conftest.$ac_objext
2854done 2933done
2855rm -f conftest.$ac_ext conftest.$ac_objext 2934rm -f conftest.$ac_ext conftest.$ac_objext
2856CC=$ac_save_CC 2935CC=$ac_save_CC
2857 2936
2858fi 2937fi
2876 choke me 2955 choke me
2877#endif 2956#endif
2878_ACEOF 2957_ACEOF
2879rm -f conftest.$ac_objext 2958rm -f conftest.$ac_objext
2880if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2959if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2881 (eval $ac_compile) 2>&5 2960 (eval $ac_compile) 2>conftest.er1
2882 ac_status=$? 2961 ac_status=$?
2962 grep -v '^ *+' conftest.er1 >conftest.err
2963 rm -f conftest.er1
2964 cat conftest.err >&5
2883 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884 (exit $ac_status); } && 2966 (exit $ac_status); } &&
2967 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2969 (eval $ac_try) 2>&5
2970 ac_status=$?
2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 (exit $ac_status); }; } &&
2885 { ac_try='test -s conftest.$ac_objext' 2973 { ac_try='test -s conftest.$ac_objext'
2886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2887 (eval $ac_try) 2>&5 2975 (eval $ac_try) 2>&5
2888 ac_status=$? 2976 ac_status=$?
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); }; }; then 2978 (exit $ac_status); }; }; then
2895 'extern "C" void exit (int) throw ();' \ 2983 'extern "C" void exit (int) throw ();' \
2896 'extern "C" void exit (int);' \ 2984 'extern "C" void exit (int);' \
2897 'void exit (int);' 2985 'void exit (int);'
2898do 2986do
2899 cat >conftest.$ac_ext <<_ACEOF 2987 cat >conftest.$ac_ext <<_ACEOF
2900#line $LINENO "configure"
2901/* confdefs.h. */ 2988/* confdefs.h. */
2902_ACEOF 2989_ACEOF
2903cat confdefs.h >>conftest.$ac_ext 2990cat confdefs.h >>conftest.$ac_ext
2904cat >>conftest.$ac_ext <<_ACEOF 2991cat >>conftest.$ac_ext <<_ACEOF
2905/* end confdefs.h. */ 2992/* end confdefs.h. */
2913 return 0; 3000 return 0;
2914} 3001}
2915_ACEOF 3002_ACEOF
2916rm -f conftest.$ac_objext 3003rm -f conftest.$ac_objext
2917if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3004if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2918 (eval $ac_compile) 2>&5 3005 (eval $ac_compile) 2>conftest.er1
2919 ac_status=$? 3006 ac_status=$?
3007 grep -v '^ *+' conftest.er1 >conftest.err
3008 rm -f conftest.er1
3009 cat conftest.err >&5
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); } && 3011 (exit $ac_status); } &&
2922 { ac_try='test -s conftest.$ac_objext' 3012 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2924 (eval $ac_try) 2>&5 3014 (eval $ac_try) 2>&5
2925 ac_status=$? 3015 ac_status=$?
2926 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3017 (exit $ac_status); }; } &&
3018 { ac_try='test -s conftest.$ac_objext'
3019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3020 (eval $ac_try) 2>&5
3021 ac_status=$?
3022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927 (exit $ac_status); }; }; then 3023 (exit $ac_status); }; }; then
2928 : 3024 :
2929else 3025else
2930 echo "$as_me: failed program was:" >&5 3026 echo "$as_me: failed program was:" >&5
2931sed 's/^/| /' conftest.$ac_ext >&5 3027sed 's/^/| /' conftest.$ac_ext >&5
2932 3028
2933continue 3029continue
2934fi 3030fi
2935rm -f conftest.$ac_objext conftest.$ac_ext 3031rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2936 cat >conftest.$ac_ext <<_ACEOF 3032 cat >conftest.$ac_ext <<_ACEOF
2937#line $LINENO "configure"
2938/* confdefs.h. */ 3033/* confdefs.h. */
2939_ACEOF 3034_ACEOF
2940cat confdefs.h >>conftest.$ac_ext 3035cat confdefs.h >>conftest.$ac_ext
2941cat >>conftest.$ac_ext <<_ACEOF 3036cat >>conftest.$ac_ext <<_ACEOF
2942/* end confdefs.h. */ 3037/* end confdefs.h. */
2949 return 0; 3044 return 0;
2950} 3045}
2951_ACEOF 3046_ACEOF
2952rm -f conftest.$ac_objext 3047rm -f conftest.$ac_objext
2953if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3048if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2954 (eval $ac_compile) 2>&5 3049 (eval $ac_compile) 2>conftest.er1
2955 ac_status=$? 3050 ac_status=$?
3051 grep -v '^ *+' conftest.er1 >conftest.err
3052 rm -f conftest.er1
3053 cat conftest.err >&5
2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957 (exit $ac_status); } && 3055 (exit $ac_status); } &&
2958 { ac_try='test -s conftest.$ac_objext' 3056 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2960 (eval $ac_try) 2>&5 3058 (eval $ac_try) 2>&5
2961 ac_status=$? 3059 ac_status=$?
2962 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3061 (exit $ac_status); }; } &&
3062 { ac_try='test -s conftest.$ac_objext'
3063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3064 (eval $ac_try) 2>&5
3065 ac_status=$?
3066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963 (exit $ac_status); }; }; then 3067 (exit $ac_status); }; }; then
2964 break 3068 break
2965else 3069else
2966 echo "$as_me: failed program was:" >&5 3070 echo "$as_me: failed program was:" >&5
2967sed 's/^/| /' conftest.$ac_ext >&5 3071sed 's/^/| /' conftest.$ac_ext >&5
2968 3072
2969fi 3073fi
2970rm -f conftest.$ac_objext conftest.$ac_ext 3074rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2971done 3075done
2972rm -f conftest* 3076rm -f conftest*
2973if test -n "$ac_declaration"; then 3077if test -n "$ac_declaration"; then
2974 echo '#ifdef __cplusplus' >>confdefs.h 3078 echo '#ifdef __cplusplus' >>confdefs.h
2975 echo $ac_declaration >>confdefs.h 3079 echo $ac_declaration >>confdefs.h
2979else 3083else
2980 echo "$as_me: failed program was:" >&5 3084 echo "$as_me: failed program was:" >&5
2981sed 's/^/| /' conftest.$ac_ext >&5 3085sed 's/^/| /' conftest.$ac_ext >&5
2982 3086
2983fi 3087fi
2984rm -f conftest.$ac_objext conftest.$ac_ext 3088rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2985ac_ext=c 3089ac_ext=c
2986ac_cpp='$CPP $CPPFLAGS' 3090ac_cpp='$CPP $CPPFLAGS'
2987ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3091ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2988ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3092ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2989ac_compiler_gnu=$ac_cv_c_compiler_gnu 3093ac_compiler_gnu=$ac_cv_c_compiler_gnu
3652echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6 3756echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
3653if test "${gt_cv_func_gnugettext1_libc+set}" = set; then 3757if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
3654 echo $ECHO_N "(cached) $ECHO_C" >&6 3758 echo $ECHO_N "(cached) $ECHO_C" >&6
3655else 3759else
3656 cat >conftest.$ac_ext <<_ACEOF 3760 cat >conftest.$ac_ext <<_ACEOF
3657#line $LINENO "configure"
3658/* confdefs.h. */ 3761/* confdefs.h. */
3659_ACEOF 3762_ACEOF
3660cat confdefs.h >>conftest.$ac_ext 3763cat confdefs.h >>conftest.$ac_ext
3661cat >>conftest.$ac_ext <<_ACEOF 3764cat >>conftest.$ac_ext <<_ACEOF
3662/* end confdefs.h. */ 3765/* end confdefs.h. */
3672 return 0; 3775 return 0;
3673} 3776}
3674_ACEOF 3777_ACEOF
3675rm -f conftest.$ac_objext conftest$ac_exeext 3778rm -f conftest.$ac_objext conftest$ac_exeext
3676if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3779if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3677 (eval $ac_link) 2>&5 3780 (eval $ac_link) 2>conftest.er1
3678 ac_status=$? 3781 ac_status=$?
3782 grep -v '^ *+' conftest.er1 >conftest.err
3783 rm -f conftest.er1
3784 cat conftest.err >&5
3679 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3680 (exit $ac_status); } && 3786 (exit $ac_status); } &&
3681 { ac_try='test -s conftest$ac_exeext' 3787 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3683 (eval $ac_try) 2>&5 3789 (eval $ac_try) 2>&5
3684 ac_status=$? 3790 ac_status=$?
3685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3792 (exit $ac_status); }; } &&
3793 { ac_try='test -s conftest$ac_exeext'
3794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3795 (eval $ac_try) 2>&5
3796 ac_status=$?
3797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3686 (exit $ac_status); }; }; then 3798 (exit $ac_status); }; }; then
3687 gt_cv_func_gnugettext1_libc=yes 3799 gt_cv_func_gnugettext1_libc=yes
3688else 3800else
3689 echo "$as_me: failed program was:" >&5 3801 echo "$as_me: failed program was:" >&5
3690sed 's/^/| /' conftest.$ac_ext >&5 3802sed 's/^/| /' conftest.$ac_ext >&5
3691 3803
3692gt_cv_func_gnugettext1_libc=no 3804gt_cv_func_gnugettext1_libc=no
3693fi 3805fi
3694rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3806rm -f conftest.err conftest.$ac_objext \
3807 conftest$ac_exeext conftest.$ac_ext
3695fi 3808fi
3696echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5 3809echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
3697echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6 3810echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
3698 3811
3699 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then 3812 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
3734else 3847else
3735 3848
3736 am_cv_func_iconv="no, consider installing GNU libiconv" 3849 am_cv_func_iconv="no, consider installing GNU libiconv"
3737 am_cv_lib_iconv=no 3850 am_cv_lib_iconv=no
3738 cat >conftest.$ac_ext <<_ACEOF 3851 cat >conftest.$ac_ext <<_ACEOF
3739#line $LINENO "configure"
3740/* confdefs.h. */ 3852/* confdefs.h. */
3741_ACEOF 3853_ACEOF
3742cat confdefs.h >>conftest.$ac_ext 3854cat confdefs.h >>conftest.$ac_ext
3743cat >>conftest.$ac_ext <<_ACEOF 3855cat >>conftest.$ac_ext <<_ACEOF
3744/* end confdefs.h. */ 3856/* end confdefs.h. */
3754 return 0; 3866 return 0;
3755} 3867}
3756_ACEOF 3868_ACEOF
3757rm -f conftest.$ac_objext conftest$ac_exeext 3869rm -f conftest.$ac_objext conftest$ac_exeext
3758if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3870if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3759 (eval $ac_link) 2>&5 3871 (eval $ac_link) 2>conftest.er1
3760 ac_status=$? 3872 ac_status=$?
3873 grep -v '^ *+' conftest.er1 >conftest.err
3874 rm -f conftest.er1
3875 cat conftest.err >&5
3761 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3762 (exit $ac_status); } && 3877 (exit $ac_status); } &&
3763 { ac_try='test -s conftest$ac_exeext' 3878 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3765 (eval $ac_try) 2>&5 3880 (eval $ac_try) 2>&5
3766 ac_status=$? 3881 ac_status=$?
3767 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3883 (exit $ac_status); }; } &&
3884 { ac_try='test -s conftest$ac_exeext'
3885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3886 (eval $ac_try) 2>&5
3887 ac_status=$?
3888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3768 (exit $ac_status); }; }; then 3889 (exit $ac_status); }; }; then
3769 am_cv_func_iconv=yes 3890 am_cv_func_iconv=yes
3770else 3891else
3771 echo "$as_me: failed program was:" >&5 3892 echo "$as_me: failed program was:" >&5
3772sed 's/^/| /' conftest.$ac_ext >&5 3893sed 's/^/| /' conftest.$ac_ext >&5
3773 3894
3774fi 3895fi
3775rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3896rm -f conftest.err conftest.$ac_objext \
3897 conftest$ac_exeext conftest.$ac_ext
3776 if test "$am_cv_func_iconv" != yes; then 3898 if test "$am_cv_func_iconv" != yes; then
3777 am_save_LIBS="$LIBS" 3899 am_save_LIBS="$LIBS"
3778 LIBS="$LIBS $LIBICONV" 3900 LIBS="$LIBS $LIBICONV"
3779 cat >conftest.$ac_ext <<_ACEOF 3901 cat >conftest.$ac_ext <<_ACEOF
3780#line $LINENO "configure"
3781/* confdefs.h. */ 3902/* confdefs.h. */
3782_ACEOF 3903_ACEOF
3783cat confdefs.h >>conftest.$ac_ext 3904cat confdefs.h >>conftest.$ac_ext
3784cat >>conftest.$ac_ext <<_ACEOF 3905cat >>conftest.$ac_ext <<_ACEOF
3785/* end confdefs.h. */ 3906/* end confdefs.h. */
3795 return 0; 3916 return 0;
3796} 3917}
3797_ACEOF 3918_ACEOF
3798rm -f conftest.$ac_objext conftest$ac_exeext 3919rm -f conftest.$ac_objext conftest$ac_exeext
3799if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3920if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3800 (eval $ac_link) 2>&5 3921 (eval $ac_link) 2>conftest.er1
3801 ac_status=$? 3922 ac_status=$?
3923 grep -v '^ *+' conftest.er1 >conftest.err
3924 rm -f conftest.er1
3925 cat conftest.err >&5
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); } && 3927 (exit $ac_status); } &&
3928 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3930 (eval $ac_try) 2>&5
3931 ac_status=$?
3932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3933 (exit $ac_status); }; } &&
3804 { ac_try='test -s conftest$ac_exeext' 3934 { ac_try='test -s conftest$ac_exeext'
3805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3806 (eval $ac_try) 2>&5 3936 (eval $ac_try) 2>&5
3807 ac_status=$? 3937 ac_status=$?
3808 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809 (exit $ac_status); }; }; then 3939 (exit $ac_status); }; }; then
3812else 3942else
3813 echo "$as_me: failed program was:" >&5 3943 echo "$as_me: failed program was:" >&5
3814sed 's/^/| /' conftest.$ac_ext >&5 3944sed 's/^/| /' conftest.$ac_ext >&5
3815 3945
3816fi 3946fi
3817rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3947rm -f conftest.err conftest.$ac_objext \
3948 conftest$ac_exeext conftest.$ac_ext
3818 LIBS="$am_save_LIBS" 3949 LIBS="$am_save_LIBS"
3819 fi 3950 fi
3820 3951
3821fi 3952fi
3822echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 3953echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
4228 gt_save_CPPFLAGS="$CPPFLAGS" 4359 gt_save_CPPFLAGS="$CPPFLAGS"
4229 CPPFLAGS="$CPPFLAGS $INCINTL" 4360 CPPFLAGS="$CPPFLAGS $INCINTL"
4230 gt_save_LIBS="$LIBS" 4361 gt_save_LIBS="$LIBS"
4231 LIBS="$LIBS $LIBINTL" 4362 LIBS="$LIBS $LIBINTL"
4232 cat >conftest.$ac_ext <<_ACEOF 4363 cat >conftest.$ac_ext <<_ACEOF
4233#line $LINENO "configure"
4234/* confdefs.h. */ 4364/* confdefs.h. */
4235_ACEOF 4365_ACEOF
4236cat confdefs.h >>conftest.$ac_ext 4366cat confdefs.h >>conftest.$ac_ext
4237cat >>conftest.$ac_ext <<_ACEOF 4367cat >>conftest.$ac_ext <<_ACEOF
4238/* end confdefs.h. */ 4368/* end confdefs.h. */
4252 return 0; 4382 return 0;
4253} 4383}
4254_ACEOF 4384_ACEOF
4255rm -f conftest.$ac_objext conftest$ac_exeext 4385rm -f conftest.$ac_objext conftest$ac_exeext
4256if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4386if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4257 (eval $ac_link) 2>&5 4387 (eval $ac_link) 2>conftest.er1
4258 ac_status=$? 4388 ac_status=$?
4389 grep -v '^ *+' conftest.er1 >conftest.err
4390 rm -f conftest.er1
4391 cat conftest.err >&5
4259 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4260 (exit $ac_status); } && 4393 (exit $ac_status); } &&
4261 { ac_try='test -s conftest$ac_exeext' 4394 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4263 (eval $ac_try) 2>&5 4396 (eval $ac_try) 2>&5
4264 ac_status=$? 4397 ac_status=$?
4265 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4399 (exit $ac_status); }; } &&
4400 { ac_try='test -s conftest$ac_exeext'
4401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4402 (eval $ac_try) 2>&5
4403 ac_status=$?
4404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4266 (exit $ac_status); }; }; then 4405 (exit $ac_status); }; }; then
4267 gt_cv_func_gnugettext1_libintl=yes 4406 gt_cv_func_gnugettext1_libintl=yes
4268else 4407else
4269 echo "$as_me: failed program was:" >&5 4408 echo "$as_me: failed program was:" >&5
4270sed 's/^/| /' conftest.$ac_ext >&5 4409sed 's/^/| /' conftest.$ac_ext >&5
4271 4410
4272gt_cv_func_gnugettext1_libintl=no 4411gt_cv_func_gnugettext1_libintl=no
4273fi 4412fi
4274rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4413rm -f conftest.err conftest.$ac_objext \
4414 conftest$ac_exeext conftest.$ac_ext
4275 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then 4415 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
4276 LIBS="$LIBS $LIBICONV" 4416 LIBS="$LIBS $LIBICONV"
4277 cat >conftest.$ac_ext <<_ACEOF 4417 cat >conftest.$ac_ext <<_ACEOF
4278#line $LINENO "configure"
4279/* confdefs.h. */ 4418/* confdefs.h. */
4280_ACEOF 4419_ACEOF
4281cat confdefs.h >>conftest.$ac_ext 4420cat confdefs.h >>conftest.$ac_ext
4282cat >>conftest.$ac_ext <<_ACEOF 4421cat >>conftest.$ac_ext <<_ACEOF
4283/* end confdefs.h. */ 4422/* end confdefs.h. */
4297 return 0; 4436 return 0;
4298} 4437}
4299_ACEOF 4438_ACEOF
4300rm -f conftest.$ac_objext conftest$ac_exeext 4439rm -f conftest.$ac_objext conftest$ac_exeext
4301if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4440if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4302 (eval $ac_link) 2>&5 4441 (eval $ac_link) 2>conftest.er1
4303 ac_status=$? 4442 ac_status=$?
4443 grep -v '^ *+' conftest.er1 >conftest.err
4444 rm -f conftest.er1
4445 cat conftest.err >&5
4304 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4305 (exit $ac_status); } && 4447 (exit $ac_status); } &&
4448 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4450 (eval $ac_try) 2>&5
4451 ac_status=$?
4452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4453 (exit $ac_status); }; } &&
4306 { ac_try='test -s conftest$ac_exeext' 4454 { ac_try='test -s conftest$ac_exeext'
4307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4308 (eval $ac_try) 2>&5 4456 (eval $ac_try) 2>&5
4309 ac_status=$? 4457 ac_status=$?
4310 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311 (exit $ac_status); }; }; then 4459 (exit $ac_status); }; }; then
4316else 4464else
4317 echo "$as_me: failed program was:" >&5 4465 echo "$as_me: failed program was:" >&5
4318sed 's/^/| /' conftest.$ac_ext >&5 4466sed 's/^/| /' conftest.$ac_ext >&5
4319 4467
4320fi 4468fi
4321rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4469rm -f conftest.err conftest.$ac_objext \
4470 conftest$ac_exeext conftest.$ac_ext
4322 fi 4471 fi
4323 CPPFLAGS="$gt_save_CPPFLAGS" 4472 CPPFLAGS="$gt_save_CPPFLAGS"
4324 LIBS="$gt_save_LIBS" 4473 LIBS="$gt_save_LIBS"
4325fi 4474fi
4326echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5 4475echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
4417cat >>confdefs.h <<\_ACEOF 4566cat >>confdefs.h <<\_ACEOF
4418#define _GNU_SOURCE 1 4567#define _GNU_SOURCE 1
4419_ACEOF 4568_ACEOF
4420 4569
4421 4570
4422cat >>confdefs.h <<\_ACEOF 4571# do NOT define POSIX_SOURCE, sicne this clashes with many BSDs
4423#define __USE_BSD 1
4424_ACEOF
4425
4426 4572
4427ALL_LINGUAS="" 4573ALL_LINGUAS=""
4428 4574
4429ac_ext=c 4575ac_ext=c
4430ac_cpp='$CPP $CPPFLAGS' 4576ac_cpp='$CPP $CPPFLAGS'
4765echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 4911echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4766if test "${ac_cv_c_compiler_gnu+set}" = set; then 4912if test "${ac_cv_c_compiler_gnu+set}" = set; then
4767 echo $ECHO_N "(cached) $ECHO_C" >&6 4913 echo $ECHO_N "(cached) $ECHO_C" >&6
4768else 4914else
4769 cat >conftest.$ac_ext <<_ACEOF 4915 cat >conftest.$ac_ext <<_ACEOF
4770#line $LINENO "configure"
4771/* confdefs.h. */ 4916/* confdefs.h. */
4772_ACEOF 4917_ACEOF
4773cat confdefs.h >>conftest.$ac_ext 4918cat confdefs.h >>conftest.$ac_ext
4774cat >>conftest.$ac_ext <<_ACEOF 4919cat >>conftest.$ac_ext <<_ACEOF
4775/* end confdefs.h. */ 4920/* end confdefs.h. */
4785 return 0; 4930 return 0;
4786} 4931}
4787_ACEOF 4932_ACEOF
4788rm -f conftest.$ac_objext 4933rm -f conftest.$ac_objext
4789if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4934if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4790 (eval $ac_compile) 2>&5 4935 (eval $ac_compile) 2>conftest.er1
4791 ac_status=$? 4936 ac_status=$?
4937 grep -v '^ *+' conftest.er1 >conftest.err
4938 rm -f conftest.er1
4939 cat conftest.err >&5
4792 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4793 (exit $ac_status); } && 4941 (exit $ac_status); } &&
4794 { ac_try='test -s conftest.$ac_objext' 4942 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4796 (eval $ac_try) 2>&5 4944 (eval $ac_try) 2>&5
4797 ac_status=$? 4945 ac_status=$?
4798 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4947 (exit $ac_status); }; } &&
4948 { ac_try='test -s conftest.$ac_objext'
4949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4950 (eval $ac_try) 2>&5
4951 ac_status=$?
4952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4799 (exit $ac_status); }; }; then 4953 (exit $ac_status); }; }; then
4800 ac_compiler_gnu=yes 4954 ac_compiler_gnu=yes
4801else 4955else
4802 echo "$as_me: failed program was:" >&5 4956 echo "$as_me: failed program was:" >&5
4803sed 's/^/| /' conftest.$ac_ext >&5 4957sed 's/^/| /' conftest.$ac_ext >&5
4804 4958
4805ac_compiler_gnu=no 4959ac_compiler_gnu=no
4806fi 4960fi
4807rm -f conftest.$ac_objext conftest.$ac_ext 4961rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4808ac_cv_c_compiler_gnu=$ac_compiler_gnu 4962ac_cv_c_compiler_gnu=$ac_compiler_gnu
4809 4963
4810fi 4964fi
4811echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 4965echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4812echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 4966echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4818echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 4972echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4819if test "${ac_cv_prog_cc_g+set}" = set; then 4973if test "${ac_cv_prog_cc_g+set}" = set; then
4820 echo $ECHO_N "(cached) $ECHO_C" >&6 4974 echo $ECHO_N "(cached) $ECHO_C" >&6
4821else 4975else
4822 cat >conftest.$ac_ext <<_ACEOF 4976 cat >conftest.$ac_ext <<_ACEOF
4823#line $LINENO "configure"
4824/* confdefs.h. */ 4977/* confdefs.h. */
4825_ACEOF 4978_ACEOF
4826cat confdefs.h >>conftest.$ac_ext 4979cat confdefs.h >>conftest.$ac_ext
4827cat >>conftest.$ac_ext <<_ACEOF 4980cat >>conftest.$ac_ext <<_ACEOF
4828/* end confdefs.h. */ 4981/* end confdefs.h. */
4835 return 0; 4988 return 0;
4836} 4989}
4837_ACEOF 4990_ACEOF
4838rm -f conftest.$ac_objext 4991rm -f conftest.$ac_objext
4839if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4992if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4840 (eval $ac_compile) 2>&5 4993 (eval $ac_compile) 2>conftest.er1
4841 ac_status=$? 4994 ac_status=$?
4995 grep -v '^ *+' conftest.er1 >conftest.err
4996 rm -f conftest.er1
4997 cat conftest.err >&5
4842 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843 (exit $ac_status); } && 4999 (exit $ac_status); } &&
4844 { ac_try='test -s conftest.$ac_objext' 5000 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4846 (eval $ac_try) 2>&5 5002 (eval $ac_try) 2>&5
4847 ac_status=$? 5003 ac_status=$?
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5005 (exit $ac_status); }; } &&
5006 { ac_try='test -s conftest.$ac_objext'
5007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5008 (eval $ac_try) 2>&5
5009 ac_status=$?
5010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); }; }; then 5011 (exit $ac_status); }; }; then
4850 ac_cv_prog_cc_g=yes 5012 ac_cv_prog_cc_g=yes
4851else 5013else
4852 echo "$as_me: failed program was:" >&5 5014 echo "$as_me: failed program was:" >&5
4853sed 's/^/| /' conftest.$ac_ext >&5 5015sed 's/^/| /' conftest.$ac_ext >&5
4854 5016
4855ac_cv_prog_cc_g=no 5017ac_cv_prog_cc_g=no
4856fi 5018fi
4857rm -f conftest.$ac_objext conftest.$ac_ext 5019rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4858fi 5020fi
4859echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 5021echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4860echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 5022echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4861if test "$ac_test_CFLAGS" = set; then 5023if test "$ac_test_CFLAGS" = set; then
4862 CFLAGS=$ac_save_CFLAGS 5024 CFLAGS=$ac_save_CFLAGS
4879 echo $ECHO_N "(cached) $ECHO_C" >&6 5041 echo $ECHO_N "(cached) $ECHO_C" >&6
4880else 5042else
4881 ac_cv_prog_cc_stdc=no 5043 ac_cv_prog_cc_stdc=no
4882ac_save_CC=$CC 5044ac_save_CC=$CC
4883cat >conftest.$ac_ext <<_ACEOF 5045cat >conftest.$ac_ext <<_ACEOF
4884#line $LINENO "configure"
4885/* confdefs.h. */ 5046/* confdefs.h. */
4886_ACEOF 5047_ACEOF
4887cat confdefs.h >>conftest.$ac_ext 5048cat confdefs.h >>conftest.$ac_ext
4888cat >>conftest.$ac_ext <<_ACEOF 5049cat >>conftest.$ac_ext <<_ACEOF
4889/* end confdefs.h. */ 5050/* end confdefs.h. */
4907 va_start (v,p); 5068 va_start (v,p);
4908 s = g (p, va_arg (v,int)); 5069 s = g (p, va_arg (v,int));
4909 va_end (v); 5070 va_end (v);
4910 return s; 5071 return s;
4911} 5072}
5073
5074/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5075 function prototypes and stuff, but not '\xHH' hex character constants.
5076 These don't provoke an error unfortunately, instead are silently treated
5077 as 'x'. The following induces an error, until -std1 is added to get
5078 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5079 array size at least. It's necessary to write '\x00'==0 to get something
5080 that's true only with -std1. */
5081int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5082
4912int test (int i, double x); 5083int test (int i, double x);
4913struct s1 {int (*f) (int a);}; 5084struct s1 {int (*f) (int a);};
4914struct s2 {int (*f) (double a);}; 5085struct s2 {int (*f) (double a);};
4915int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 5086int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4916int argc; 5087int argc;
4933for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 5104for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4934do 5105do
4935 CC="$ac_save_CC $ac_arg" 5106 CC="$ac_save_CC $ac_arg"
4936 rm -f conftest.$ac_objext 5107 rm -f conftest.$ac_objext
4937if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5108if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4938 (eval $ac_compile) 2>&5 5109 (eval $ac_compile) 2>conftest.er1
4939 ac_status=$? 5110 ac_status=$?
5111 grep -v '^ *+' conftest.er1 >conftest.err
5112 rm -f conftest.er1
5113 cat conftest.err >&5
4940 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941 (exit $ac_status); } && 5115 (exit $ac_status); } &&
5116 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5118 (eval $ac_try) 2>&5
5119 ac_status=$?
5120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5121 (exit $ac_status); }; } &&
4942 { ac_try='test -s conftest.$ac_objext' 5122 { ac_try='test -s conftest.$ac_objext'
4943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4944 (eval $ac_try) 2>&5 5124 (eval $ac_try) 2>&5
4945 ac_status=$? 5125 ac_status=$?
4946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4947 (exit $ac_status); }; }; then 5127 (exit $ac_status); }; }; then
4950else 5130else
4951 echo "$as_me: failed program was:" >&5 5131 echo "$as_me: failed program was:" >&5
4952sed 's/^/| /' conftest.$ac_ext >&5 5132sed 's/^/| /' conftest.$ac_ext >&5
4953 5133
4954fi 5134fi
4955rm -f conftest.$ac_objext 5135rm -f conftest.err conftest.$ac_objext
4956done 5136done
4957rm -f conftest.$ac_ext conftest.$ac_objext 5137rm -f conftest.$ac_ext conftest.$ac_objext
4958CC=$ac_save_CC 5138CC=$ac_save_CC
4959 5139
4960fi 5140fi
4978 choke me 5158 choke me
4979#endif 5159#endif
4980_ACEOF 5160_ACEOF
4981rm -f conftest.$ac_objext 5161rm -f conftest.$ac_objext
4982if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5162if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4983 (eval $ac_compile) 2>&5 5163 (eval $ac_compile) 2>conftest.er1
4984 ac_status=$? 5164 ac_status=$?
5165 grep -v '^ *+' conftest.er1 >conftest.err
5166 rm -f conftest.er1
5167 cat conftest.err >&5
4985 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4986 (exit $ac_status); } && 5169 (exit $ac_status); } &&
5170 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5172 (eval $ac_try) 2>&5
5173 ac_status=$?
5174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5175 (exit $ac_status); }; } &&
4987 { ac_try='test -s conftest.$ac_objext' 5176 { ac_try='test -s conftest.$ac_objext'
4988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4989 (eval $ac_try) 2>&5 5178 (eval $ac_try) 2>&5
4990 ac_status=$? 5179 ac_status=$?
4991 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4992 (exit $ac_status); }; }; then 5181 (exit $ac_status); }; }; then
4997 'extern "C" void exit (int) throw ();' \ 5186 'extern "C" void exit (int) throw ();' \
4998 'extern "C" void exit (int);' \ 5187 'extern "C" void exit (int);' \
4999 'void exit (int);' 5188 'void exit (int);'
5000do 5189do
5001 cat >conftest.$ac_ext <<_ACEOF 5190 cat >conftest.$ac_ext <<_ACEOF
5002#line $LINENO "configure"
5003/* confdefs.h. */ 5191/* confdefs.h. */
5004_ACEOF 5192_ACEOF
5005cat confdefs.h >>conftest.$ac_ext 5193cat confdefs.h >>conftest.$ac_ext
5006cat >>conftest.$ac_ext <<_ACEOF 5194cat >>conftest.$ac_ext <<_ACEOF
5007/* end confdefs.h. */ 5195/* end confdefs.h. */
5015 return 0; 5203 return 0;
5016} 5204}
5017_ACEOF 5205_ACEOF
5018rm -f conftest.$ac_objext 5206rm -f conftest.$ac_objext
5019if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5207if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5020 (eval $ac_compile) 2>&5 5208 (eval $ac_compile) 2>conftest.er1
5021 ac_status=$? 5209 ac_status=$?
5210 grep -v '^ *+' conftest.er1 >conftest.err
5211 rm -f conftest.er1
5212 cat conftest.err >&5
5022 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5023 (exit $ac_status); } && 5214 (exit $ac_status); } &&
5024 { ac_try='test -s conftest.$ac_objext' 5215 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5026 (eval $ac_try) 2>&5 5217 (eval $ac_try) 2>&5
5027 ac_status=$? 5218 ac_status=$?
5028 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5220 (exit $ac_status); }; } &&
5221 { ac_try='test -s conftest.$ac_objext'
5222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5223 (eval $ac_try) 2>&5
5224 ac_status=$?
5225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5029 (exit $ac_status); }; }; then 5226 (exit $ac_status); }; }; then
5030 : 5227 :
5031else 5228else
5032 echo "$as_me: failed program was:" >&5 5229 echo "$as_me: failed program was:" >&5
5033sed 's/^/| /' conftest.$ac_ext >&5 5230sed 's/^/| /' conftest.$ac_ext >&5
5034 5231
5035continue 5232continue
5036fi 5233fi
5037rm -f conftest.$ac_objext conftest.$ac_ext 5234rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5038 cat >conftest.$ac_ext <<_ACEOF 5235 cat >conftest.$ac_ext <<_ACEOF
5039#line $LINENO "configure"
5040/* confdefs.h. */ 5236/* confdefs.h. */
5041_ACEOF 5237_ACEOF
5042cat confdefs.h >>conftest.$ac_ext 5238cat confdefs.h >>conftest.$ac_ext
5043cat >>conftest.$ac_ext <<_ACEOF 5239cat >>conftest.$ac_ext <<_ACEOF
5044/* end confdefs.h. */ 5240/* end confdefs.h. */
5051 return 0; 5247 return 0;
5052} 5248}
5053_ACEOF 5249_ACEOF
5054rm -f conftest.$ac_objext 5250rm -f conftest.$ac_objext
5055if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5251if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5056 (eval $ac_compile) 2>&5 5252 (eval $ac_compile) 2>conftest.er1
5057 ac_status=$? 5253 ac_status=$?
5254 grep -v '^ *+' conftest.er1 >conftest.err
5255 rm -f conftest.er1
5256 cat conftest.err >&5
5058 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5059 (exit $ac_status); } && 5258 (exit $ac_status); } &&
5060 { ac_try='test -s conftest.$ac_objext' 5259 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5062 (eval $ac_try) 2>&5 5261 (eval $ac_try) 2>&5
5063 ac_status=$? 5262 ac_status=$?
5064 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5264 (exit $ac_status); }; } &&
5265 { ac_try='test -s conftest.$ac_objext'
5266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5267 (eval $ac_try) 2>&5
5268 ac_status=$?
5269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5065 (exit $ac_status); }; }; then 5270 (exit $ac_status); }; }; then
5066 break 5271 break
5067else 5272else
5068 echo "$as_me: failed program was:" >&5 5273 echo "$as_me: failed program was:" >&5
5069sed 's/^/| /' conftest.$ac_ext >&5 5274sed 's/^/| /' conftest.$ac_ext >&5
5070 5275
5071fi 5276fi
5072rm -f conftest.$ac_objext conftest.$ac_ext 5277rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5073done 5278done
5074rm -f conftest* 5279rm -f conftest*
5075if test -n "$ac_declaration"; then 5280if test -n "$ac_declaration"; then
5076 echo '#ifdef __cplusplus' >>confdefs.h 5281 echo '#ifdef __cplusplus' >>confdefs.h
5077 echo $ac_declaration >>confdefs.h 5282 echo $ac_declaration >>confdefs.h
5081else 5286else
5082 echo "$as_me: failed program was:" >&5 5287 echo "$as_me: failed program was:" >&5
5083sed 's/^/| /' conftest.$ac_ext >&5 5288sed 's/^/| /' conftest.$ac_ext >&5
5084 5289
5085fi 5290fi
5086rm -f conftest.$ac_objext conftest.$ac_ext 5291rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5087ac_ext=c 5292ac_ext=c
5088ac_cpp='$CPP $CPPFLAGS' 5293ac_cpp='$CPP $CPPFLAGS'
5089ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5294ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5090ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5295ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5091ac_compiler_gnu=$ac_cv_c_compiler_gnu 5296ac_compiler_gnu=$ac_cv_c_compiler_gnu
5218 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5423 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5219 # <limits.h> exists even on freestanding compilers. 5424 # <limits.h> exists even on freestanding compilers.
5220 # On the NeXT, cc -E runs the code through the compiler's parser, 5425 # On the NeXT, cc -E runs the code through the compiler's parser,
5221 # not just through cpp. "Syntax error" is here to catch this case. 5426 # not just through cpp. "Syntax error" is here to catch this case.
5222 cat >conftest.$ac_ext <<_ACEOF 5427 cat >conftest.$ac_ext <<_ACEOF
5223#line $LINENO "configure"
5224/* confdefs.h. */ 5428/* confdefs.h. */
5225_ACEOF 5429_ACEOF
5226cat confdefs.h >>conftest.$ac_ext 5430cat confdefs.h >>conftest.$ac_ext
5227cat >>conftest.$ac_ext <<_ACEOF 5431cat >>conftest.$ac_ext <<_ACEOF
5228/* end confdefs.h. */ 5432/* end confdefs.h. */
5229#ifdef __STDC__ 5433#ifdef __STDC__
5230# include <limits.h> 5434# include <limits.h>
5231#else 5435#else
5232# include <assert.h> 5436# include <assert.h>
5233#endif 5437#endif
5234 Syntax error 5438 Syntax error
5235_ACEOF 5439_ACEOF
5236if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5440if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5237 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5441 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5238 ac_status=$? 5442 ac_status=$?
5239 grep -v '^ *+' conftest.er1 >conftest.err 5443 grep -v '^ *+' conftest.er1 >conftest.err
5241 cat conftest.err >&5 5445 cat conftest.err >&5
5242 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5243 (exit $ac_status); } >/dev/null; then 5447 (exit $ac_status); } >/dev/null; then
5244 if test -s conftest.err; then 5448 if test -s conftest.err; then
5245 ac_cpp_err=$ac_c_preproc_warn_flag 5449 ac_cpp_err=$ac_c_preproc_warn_flag
5450 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5246 else 5451 else
5247 ac_cpp_err= 5452 ac_cpp_err=
5248 fi 5453 fi
5249else 5454else
5250 ac_cpp_err=yes 5455 ac_cpp_err=yes
5261rm -f conftest.err conftest.$ac_ext 5466rm -f conftest.err conftest.$ac_ext
5262 5467
5263 # OK, works on sane cases. Now check whether non-existent headers 5468 # OK, works on sane cases. Now check whether non-existent headers
5264 # can be detected and how. 5469 # can be detected and how.
5265 cat >conftest.$ac_ext <<_ACEOF 5470 cat >conftest.$ac_ext <<_ACEOF
5266#line $LINENO "configure"
5267/* confdefs.h. */ 5471/* confdefs.h. */
5268_ACEOF 5472_ACEOF
5269cat confdefs.h >>conftest.$ac_ext 5473cat confdefs.h >>conftest.$ac_ext
5270cat >>conftest.$ac_ext <<_ACEOF 5474cat >>conftest.$ac_ext <<_ACEOF
5271/* end confdefs.h. */ 5475/* end confdefs.h. */
5279 cat conftest.err >&5 5483 cat conftest.err >&5
5280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5281 (exit $ac_status); } >/dev/null; then 5485 (exit $ac_status); } >/dev/null; then
5282 if test -s conftest.err; then 5486 if test -s conftest.err; then
5283 ac_cpp_err=$ac_c_preproc_warn_flag 5487 ac_cpp_err=$ac_c_preproc_warn_flag
5488 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5284 else 5489 else
5285 ac_cpp_err= 5490 ac_cpp_err=
5286 fi 5491 fi
5287else 5492else
5288 ac_cpp_err=yes 5493 ac_cpp_err=yes
5325 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5530 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5326 # <limits.h> exists even on freestanding compilers. 5531 # <limits.h> exists even on freestanding compilers.
5327 # On the NeXT, cc -E runs the code through the compiler's parser, 5532 # On the NeXT, cc -E runs the code through the compiler's parser,
5328 # not just through cpp. "Syntax error" is here to catch this case. 5533 # not just through cpp. "Syntax error" is here to catch this case.
5329 cat >conftest.$ac_ext <<_ACEOF 5534 cat >conftest.$ac_ext <<_ACEOF
5330#line $LINENO "configure"
5331/* confdefs.h. */ 5535/* confdefs.h. */
5332_ACEOF 5536_ACEOF
5333cat confdefs.h >>conftest.$ac_ext 5537cat confdefs.h >>conftest.$ac_ext
5334cat >>conftest.$ac_ext <<_ACEOF 5538cat >>conftest.$ac_ext <<_ACEOF
5335/* end confdefs.h. */ 5539/* end confdefs.h. */
5336#ifdef __STDC__ 5540#ifdef __STDC__
5337# include <limits.h> 5541# include <limits.h>
5338#else 5542#else
5339# include <assert.h> 5543# include <assert.h>
5340#endif 5544#endif
5341 Syntax error 5545 Syntax error
5342_ACEOF 5546_ACEOF
5343if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5547if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5344 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5548 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5345 ac_status=$? 5549 ac_status=$?
5346 grep -v '^ *+' conftest.er1 >conftest.err 5550 grep -v '^ *+' conftest.er1 >conftest.err
5348 cat conftest.err >&5 5552 cat conftest.err >&5
5349 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5350 (exit $ac_status); } >/dev/null; then 5554 (exit $ac_status); } >/dev/null; then
5351 if test -s conftest.err; then 5555 if test -s conftest.err; then
5352 ac_cpp_err=$ac_c_preproc_warn_flag 5556 ac_cpp_err=$ac_c_preproc_warn_flag
5557 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5353 else 5558 else
5354 ac_cpp_err= 5559 ac_cpp_err=
5355 fi 5560 fi
5356else 5561else
5357 ac_cpp_err=yes 5562 ac_cpp_err=yes
5368rm -f conftest.err conftest.$ac_ext 5573rm -f conftest.err conftest.$ac_ext
5369 5574
5370 # OK, works on sane cases. Now check whether non-existent headers 5575 # OK, works on sane cases. Now check whether non-existent headers
5371 # can be detected and how. 5576 # can be detected and how.
5372 cat >conftest.$ac_ext <<_ACEOF 5577 cat >conftest.$ac_ext <<_ACEOF
5373#line $LINENO "configure"
5374/* confdefs.h. */ 5578/* confdefs.h. */
5375_ACEOF 5579_ACEOF
5376cat confdefs.h >>conftest.$ac_ext 5580cat confdefs.h >>conftest.$ac_ext
5377cat >>conftest.$ac_ext <<_ACEOF 5581cat >>conftest.$ac_ext <<_ACEOF
5378/* end confdefs.h. */ 5582/* end confdefs.h. */
5386 cat conftest.err >&5 5590 cat conftest.err >&5
5387 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5388 (exit $ac_status); } >/dev/null; then 5592 (exit $ac_status); } >/dev/null; then
5389 if test -s conftest.err; then 5593 if test -s conftest.err; then
5390 ac_cpp_err=$ac_c_preproc_warn_flag 5594 ac_cpp_err=$ac_c_preproc_warn_flag
5595 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5391 else 5596 else
5392 ac_cpp_err= 5597 ac_cpp_err=
5393 fi 5598 fi
5394else 5599else
5395 ac_cpp_err=yes 5600 ac_cpp_err=yes
5543echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 5748echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
5544if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 5749if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5545 echo $ECHO_N "(cached) $ECHO_C" >&6 5750 echo $ECHO_N "(cached) $ECHO_C" >&6
5546else 5751else
5547 cat >conftest.$ac_ext <<_ACEOF 5752 cat >conftest.$ac_ext <<_ACEOF
5548#line $LINENO "configure"
5549/* confdefs.h. */ 5753/* confdefs.h. */
5550_ACEOF 5754_ACEOF
5551cat confdefs.h >>conftest.$ac_ext 5755cat confdefs.h >>conftest.$ac_ext
5552cat >>conftest.$ac_ext <<_ACEOF 5756cat >>conftest.$ac_ext <<_ACEOF
5553/* end confdefs.h. */ 5757/* end confdefs.h. */
5563 return 0; 5767 return 0;
5564} 5768}
5565_ACEOF 5769_ACEOF
5566rm -f conftest.$ac_objext 5770rm -f conftest.$ac_objext
5567if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5771if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5568 (eval $ac_compile) 2>&5 5772 (eval $ac_compile) 2>conftest.er1
5569 ac_status=$? 5773 ac_status=$?
5774 grep -v '^ *+' conftest.er1 >conftest.err
5775 rm -f conftest.er1
5776 cat conftest.err >&5
5570 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5571 (exit $ac_status); } && 5778 (exit $ac_status); } &&
5572 { ac_try='test -s conftest.$ac_objext' 5779 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5574 (eval $ac_try) 2>&5 5781 (eval $ac_try) 2>&5
5575 ac_status=$? 5782 ac_status=$?
5576 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5784 (exit $ac_status); }; } &&
5785 { ac_try='test -s conftest.$ac_objext'
5786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5787 (eval $ac_try) 2>&5
5788 ac_status=$?
5789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5577 (exit $ac_status); }; }; then 5790 (exit $ac_status); }; }; then
5578 ac_compiler_gnu=yes 5791 ac_compiler_gnu=yes
5579else 5792else
5580 echo "$as_me: failed program was:" >&5 5793 echo "$as_me: failed program was:" >&5
5581sed 's/^/| /' conftest.$ac_ext >&5 5794sed 's/^/| /' conftest.$ac_ext >&5
5582 5795
5583ac_compiler_gnu=no 5796ac_compiler_gnu=no
5584fi 5797fi
5585rm -f conftest.$ac_objext conftest.$ac_ext 5798rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5586ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 5799ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5587 5800
5588fi 5801fi
5589echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 5802echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5590echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 5803echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
5596echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 5809echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
5597if test "${ac_cv_prog_cxx_g+set}" = set; then 5810if test "${ac_cv_prog_cxx_g+set}" = set; then
5598 echo $ECHO_N "(cached) $ECHO_C" >&6 5811 echo $ECHO_N "(cached) $ECHO_C" >&6
5599else 5812else
5600 cat >conftest.$ac_ext <<_ACEOF 5813 cat >conftest.$ac_ext <<_ACEOF
5601#line $LINENO "configure"
5602/* confdefs.h. */ 5814/* confdefs.h. */
5603_ACEOF 5815_ACEOF
5604cat confdefs.h >>conftest.$ac_ext 5816cat confdefs.h >>conftest.$ac_ext
5605cat >>conftest.$ac_ext <<_ACEOF 5817cat >>conftest.$ac_ext <<_ACEOF
5606/* end confdefs.h. */ 5818/* end confdefs.h. */
5613 return 0; 5825 return 0;
5614} 5826}
5615_ACEOF 5827_ACEOF
5616rm -f conftest.$ac_objext 5828rm -f conftest.$ac_objext
5617if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5829if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5618 (eval $ac_compile) 2>&5 5830 (eval $ac_compile) 2>conftest.er1
5619 ac_status=$? 5831 ac_status=$?
5832 grep -v '^ *+' conftest.er1 >conftest.err
5833 rm -f conftest.er1
5834 cat conftest.err >&5
5620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5621 (exit $ac_status); } && 5836 (exit $ac_status); } &&
5622 { ac_try='test -s conftest.$ac_objext' 5837 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5624 (eval $ac_try) 2>&5 5839 (eval $ac_try) 2>&5
5625 ac_status=$? 5840 ac_status=$?
5626 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5842 (exit $ac_status); }; } &&
5843 { ac_try='test -s conftest.$ac_objext'
5844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5845 (eval $ac_try) 2>&5
5846 ac_status=$?
5847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5627 (exit $ac_status); }; }; then 5848 (exit $ac_status); }; }; then
5628 ac_cv_prog_cxx_g=yes 5849 ac_cv_prog_cxx_g=yes
5629else 5850else
5630 echo "$as_me: failed program was:" >&5 5851 echo "$as_me: failed program was:" >&5
5631sed 's/^/| /' conftest.$ac_ext >&5 5852sed 's/^/| /' conftest.$ac_ext >&5
5632 5853
5633ac_cv_prog_cxx_g=no 5854ac_cv_prog_cxx_g=no
5634fi 5855fi
5635rm -f conftest.$ac_objext conftest.$ac_ext 5856rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5636fi 5857fi
5637echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 5858echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5638echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 5859echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5639if test "$ac_test_CXXFLAGS" = set; then 5860if test "$ac_test_CXXFLAGS" = set; then
5640 CXXFLAGS=$ac_save_CXXFLAGS 5861 CXXFLAGS=$ac_save_CXXFLAGS
5658 'extern "C" void exit (int) throw ();' \ 5879 'extern "C" void exit (int) throw ();' \
5659 'extern "C" void exit (int);' \ 5880 'extern "C" void exit (int);' \
5660 'void exit (int);' 5881 'void exit (int);'
5661do 5882do
5662 cat >conftest.$ac_ext <<_ACEOF 5883 cat >conftest.$ac_ext <<_ACEOF
5663#line $LINENO "configure"
5664/* confdefs.h. */ 5884/* confdefs.h. */
5665_ACEOF 5885_ACEOF
5666cat confdefs.h >>conftest.$ac_ext 5886cat confdefs.h >>conftest.$ac_ext
5667cat >>conftest.$ac_ext <<_ACEOF 5887cat >>conftest.$ac_ext <<_ACEOF
5668/* end confdefs.h. */ 5888/* end confdefs.h. */
5676 return 0; 5896 return 0;
5677} 5897}
5678_ACEOF 5898_ACEOF
5679rm -f conftest.$ac_objext 5899rm -f conftest.$ac_objext
5680if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5900if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5681 (eval $ac_compile) 2>&5 5901 (eval $ac_compile) 2>conftest.er1
5682 ac_status=$? 5902 ac_status=$?
5903 grep -v '^ *+' conftest.er1 >conftest.err
5904 rm -f conftest.er1
5905 cat conftest.err >&5
5683 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5684 (exit $ac_status); } && 5907 (exit $ac_status); } &&
5685 { ac_try='test -s conftest.$ac_objext' 5908 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5687 (eval $ac_try) 2>&5 5910 (eval $ac_try) 2>&5
5688 ac_status=$? 5911 ac_status=$?
5689 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5913 (exit $ac_status); }; } &&
5914 { ac_try='test -s conftest.$ac_objext'
5915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5916 (eval $ac_try) 2>&5
5917 ac_status=$?
5918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5690 (exit $ac_status); }; }; then 5919 (exit $ac_status); }; }; then
5691 : 5920 :
5692else 5921else
5693 echo "$as_me: failed program was:" >&5 5922 echo "$as_me: failed program was:" >&5
5694sed 's/^/| /' conftest.$ac_ext >&5 5923sed 's/^/| /' conftest.$ac_ext >&5
5695 5924
5696continue 5925continue
5697fi 5926fi
5698rm -f conftest.$ac_objext conftest.$ac_ext 5927rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5699 cat >conftest.$ac_ext <<_ACEOF 5928 cat >conftest.$ac_ext <<_ACEOF
5700#line $LINENO "configure"
5701/* confdefs.h. */ 5929/* confdefs.h. */
5702_ACEOF 5930_ACEOF
5703cat confdefs.h >>conftest.$ac_ext 5931cat confdefs.h >>conftest.$ac_ext
5704cat >>conftest.$ac_ext <<_ACEOF 5932cat >>conftest.$ac_ext <<_ACEOF
5705/* end confdefs.h. */ 5933/* end confdefs.h. */
5712 return 0; 5940 return 0;
5713} 5941}
5714_ACEOF 5942_ACEOF
5715rm -f conftest.$ac_objext 5943rm -f conftest.$ac_objext
5716if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5944if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5717 (eval $ac_compile) 2>&5 5945 (eval $ac_compile) 2>conftest.er1
5718 ac_status=$? 5946 ac_status=$?
5947 grep -v '^ *+' conftest.er1 >conftest.err
5948 rm -f conftest.er1
5949 cat conftest.err >&5
5719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5720 (exit $ac_status); } && 5951 (exit $ac_status); } &&
5721 { ac_try='test -s conftest.$ac_objext' 5952 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5723 (eval $ac_try) 2>&5 5954 (eval $ac_try) 2>&5
5724 ac_status=$? 5955 ac_status=$?
5725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5957 (exit $ac_status); }; } &&
5958 { ac_try='test -s conftest.$ac_objext'
5959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5960 (eval $ac_try) 2>&5
5961 ac_status=$?
5962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5726 (exit $ac_status); }; }; then 5963 (exit $ac_status); }; }; then
5727 break 5964 break
5728else 5965else
5729 echo "$as_me: failed program was:" >&5 5966 echo "$as_me: failed program was:" >&5
5730sed 's/^/| /' conftest.$ac_ext >&5 5967sed 's/^/| /' conftest.$ac_ext >&5
5731 5968
5732fi 5969fi
5733rm -f conftest.$ac_objext conftest.$ac_ext 5970rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5734done 5971done
5735rm -f conftest* 5972rm -f conftest*
5736if test -n "$ac_declaration"; then 5973if test -n "$ac_declaration"; then
5737 echo '#ifdef __cplusplus' >>confdefs.h 5974 echo '#ifdef __cplusplus' >>confdefs.h
5738 echo $ac_declaration >>confdefs.h 5975 echo $ac_declaration >>confdefs.h
5869if test "${ac_cv_prog_gcc_traditional+set}" = set; then 6106if test "${ac_cv_prog_gcc_traditional+set}" = set; then
5870 echo $ECHO_N "(cached) $ECHO_C" >&6 6107 echo $ECHO_N "(cached) $ECHO_C" >&6
5871else 6108else
5872 ac_pattern="Autoconf.*'x'" 6109 ac_pattern="Autoconf.*'x'"
5873 cat >conftest.$ac_ext <<_ACEOF 6110 cat >conftest.$ac_ext <<_ACEOF
5874#line $LINENO "configure"
5875/* confdefs.h. */ 6111/* confdefs.h. */
5876_ACEOF 6112_ACEOF
5877cat confdefs.h >>conftest.$ac_ext 6113cat confdefs.h >>conftest.$ac_ext
5878cat >>conftest.$ac_ext <<_ACEOF 6114cat >>conftest.$ac_ext <<_ACEOF
5879/* end confdefs.h. */ 6115/* end confdefs.h. */
5889rm -f conftest* 6125rm -f conftest*
5890 6126
5891 6127
5892 if test $ac_cv_prog_gcc_traditional = no; then 6128 if test $ac_cv_prog_gcc_traditional = no; then
5893 cat >conftest.$ac_ext <<_ACEOF 6129 cat >conftest.$ac_ext <<_ACEOF
5894#line $LINENO "configure"
5895/* confdefs.h. */ 6130/* confdefs.h. */
5896_ACEOF 6131_ACEOF
5897cat confdefs.h >>conftest.$ac_ext 6132cat confdefs.h >>conftest.$ac_ext
5898cat >>conftest.$ac_ext <<_ACEOF 6133cat >>conftest.$ac_ext <<_ACEOF
5899/* end confdefs.h. */ 6134/* end confdefs.h. */
5964# AIX /bin/install 6199# AIX /bin/install
5965# AmigaOS /C/install, which installs bootblocks on floppy discs 6200# AmigaOS /C/install, which installs bootblocks on floppy discs
5966# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 6201# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5967# AFS /usr/afsws/bin/install, which mishandles nonexistent args 6202# AFS /usr/afsws/bin/install, which mishandles nonexistent args
5968# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 6203# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6204# OS/2's system install, which has a completely different semantic
5969# ./install, which can be erroneously created by make from ./install.sh. 6205# ./install, which can be erroneously created by make from ./install.sh.
5970echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 6206echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5971echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 6207echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5972if test -z "$INSTALL"; then 6208if test -z "$INSTALL"; then
5973if test "${ac_cv_path_install+set}" = set; then 6209if test "${ac_cv_path_install+set}" = set; then
5980 test -z "$as_dir" && as_dir=. 6216 test -z "$as_dir" && as_dir=.
5981 # Account for people who put trailing slashes in PATH elements. 6217 # Account for people who put trailing slashes in PATH elements.
5982case $as_dir/ in 6218case $as_dir/ in
5983 ./ | .// | /cC/* | \ 6219 ./ | .// | /cC/* | \
5984 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 6220 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6221 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5985 /usr/ucb/* ) ;; 6222 /usr/ucb/* ) ;;
5986 *) 6223 *)
5987 # OSF1 and SCO ODT 3.0 have their own names for install. 6224 # OSF1 and SCO ODT 3.0 have their own names for install.
5988 # Don't use installbsd from OSF since it installs stuff as root 6225 # Don't use installbsd from OSF since it installs stuff as root
5989 # by default. 6226 # by default.
5990 for ac_prog in ginstall scoinst install; do 6227 for ac_prog in ginstall scoinst install; do
5991 for ac_exec_ext in '' $ac_executable_extensions; do 6228 for ac_exec_ext in '' $ac_executable_extensions; do
5992 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 6229 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5993 if test $ac_prog = install && 6230 if test $ac_prog = install &&
5994 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 6231 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5995 # AIX install. It has an incompatible calling convention. 6232 # AIX install. It has an incompatible calling convention.
5996 : 6233 :
5997 elif test $ac_prog = install && 6234 elif test $ac_prog = install &&
5998 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 6235 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5999 # program-specific install script used by HP pwplus--don't use. 6236 # program-specific install script used by HP pwplus--don't use.
6000 : 6237 :
6001 else 6238 else
6002 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 6239 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6003 break 3 6240 break 3
6004 fi 6241 fi
6005 fi 6242 fi
6006 done 6243 done
6007 done 6244 done
6008 ;; 6245 ;;
6009esac 6246esac
6010done 6247done
6043echo "${ECHO_T}no, using $LN_S" >&6 6280echo "${ECHO_T}no, using $LN_S" >&6
6044fi 6281fi
6045 6282
6046echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 6283echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6047echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 6284echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
6048set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 6285set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
6049if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 6286if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
6050 echo $ECHO_N "(cached) $ECHO_C" >&6 6287 echo $ECHO_N "(cached) $ECHO_C" >&6
6051else 6288else
6052 cat >conftest.make <<\_ACEOF 6289 cat >conftest.make <<\_ACEOF
6053all: 6290all:
6151else 6388else
6152 RANLIB="$ac_cv_prog_RANLIB" 6389 RANLIB="$ac_cv_prog_RANLIB"
6153fi 6390fi
6154 6391
6155 6392
6156
6157 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
6158echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
6159if test "${ac_cv_lib_cposix_strerror+set}" = set; then
6160 echo $ECHO_N "(cached) $ECHO_C" >&6
6161else
6162 ac_check_lib_save_LIBS=$LIBS
6163LIBS="-lcposix $LIBS"
6164cat >conftest.$ac_ext <<_ACEOF
6165#line $LINENO "configure"
6166/* confdefs.h. */
6167_ACEOF
6168cat confdefs.h >>conftest.$ac_ext
6169cat >>conftest.$ac_ext <<_ACEOF
6170/* end confdefs.h. */
6171
6172/* Override any gcc2 internal prototype to avoid an error. */
6173#ifdef __cplusplus
6174extern "C"
6175#endif
6176/* We use char because int might match the return type of a gcc2
6177 builtin and then its argument prototype would still apply. */
6178char strerror ();
6179int
6180main ()
6181{
6182strerror ();
6183 ;
6184 return 0;
6185}
6186_ACEOF
6187rm -f conftest.$ac_objext conftest$ac_exeext
6188if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6189 (eval $ac_link) 2>&5
6190 ac_status=$?
6191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192 (exit $ac_status); } &&
6193 { ac_try='test -s conftest$ac_exeext'
6194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6195 (eval $ac_try) 2>&5
6196 ac_status=$?
6197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6198 (exit $ac_status); }; }; then
6199 ac_cv_lib_cposix_strerror=yes
6200else
6201 echo "$as_me: failed program was:" >&5
6202sed 's/^/| /' conftest.$ac_ext >&5
6203
6204ac_cv_lib_cposix_strerror=no
6205fi
6206rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6207LIBS=$ac_check_lib_save_LIBS
6208fi
6209echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
6210echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
6211if test $ac_cv_lib_cposix_strerror = yes; then
6212 LIBS="$LIBS -lcposix"
6213fi
6214
6215
6216
6217
6218# Check whether --enable-iftype or --disable-iftype was given. 6393# Check whether --enable-iftype or --disable-iftype was given.
6219if test "${enable_iftype+set}" = set; then 6394if test "${enable_iftype+set}" = set; then
6220 enableval="$enable_iftype" 6395 enableval="$enable_iftype"
6221 6396
6222 IFTYPE=`echo $enableval | sed s%/.*%%` 6397 IFTYPE=`echo $enableval | sed s%/.*%%`
6283#define HAVE_NETBSD 1 6458#define HAVE_NETBSD 1
6284_ACEOF 6459_ACEOF
6285 6460
6286 ;; 6461 ;;
6287 *cygwin*) 6462 *cygwin*)
6288 IFTYPE=tincd 6463 IFTYPE=native
6289 IFSUBTYPE=cygwin 6464 IFSUBTYPE=cygwin
6290 6465
6291cat >>confdefs.h <<\_ACEOF 6466cat >>confdefs.h <<\_ACEOF
6292#define HAVE_CYGWIN 1 6467#define HAVE_CYGWIN 1
6293_ACEOF 6468_ACEOF
6303echo "$as_me:$LINENO: result: $IFTYPE/$IFSUBTYPE" >&5 6478echo "$as_me:$LINENO: result: $IFTYPE/$IFSUBTYPE" >&5
6304echo "${ECHO_T}$IFTYPE/$IFSUBTYPE" >&6 6479echo "${ECHO_T}$IFTYPE/$IFSUBTYPE" >&6
6305IFTYPE=$IFTYPE 6480IFTYPE=$IFTYPE
6306 6481
6307IFSUBTYPE=$IFSUBTYPE 6482IFSUBTYPE=$IFSUBTYPE
6483
6484
6485cat >>confdefs.h <<_ACEOF
6486#define IFTYPE "$IFTYPE"
6487_ACEOF
6488
6489
6490cat >>confdefs.h <<_ACEOF
6491#define IFSUBTYPE "$IFSUBTYPE"
6492_ACEOF
6308 6493
6309 6494
6310cat >confcache <<\_ACEOF 6495cat >confcache <<\_ACEOF
6311# This file is a shell script that caches the results of configure 6496# This file is a shell script that caches the results of configure
6312# tests run on this system so they can be shared between configure 6497# tests run on this system so they can be shared between configure
6333 case `(ac_space=' '; set | grep ac_space) 2>&1` in 6518 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6334 *ac_space=\ *) 6519 *ac_space=\ *)
6335 # `set' does not quote correctly, so add quotes (double-quote 6520 # `set' does not quote correctly, so add quotes (double-quote
6336 # substitution turns \\\\ into \\, and sed turns \\ into \). 6521 # substitution turns \\\\ into \\, and sed turns \\ into \).
6337 sed -n \ 6522 sed -n \
6338 "s/'/'\\\\''/g; 6523 "s/'/'\\\\''/g;
6339 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 6524 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6340 ;; 6525 ;;
6341 *) 6526 *)
6342 # `set' quotes correctly as required by POSIX, so do not add quotes. 6527 # `set' quotes correctly as required by POSIX, so do not add quotes.
6343 sed -n \ 6528 sed -n \
6344 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 6529 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6345 ;; 6530 ;;
6346 esac; 6531 esac;
6347} | 6532} |
6348 sed ' 6533 sed '
6349 t clear 6534 t clear
6392 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6577 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6393 # <limits.h> exists even on freestanding compilers. 6578 # <limits.h> exists even on freestanding compilers.
6394 # On the NeXT, cc -E runs the code through the compiler's parser, 6579 # On the NeXT, cc -E runs the code through the compiler's parser,
6395 # not just through cpp. "Syntax error" is here to catch this case. 6580 # not just through cpp. "Syntax error" is here to catch this case.
6396 cat >conftest.$ac_ext <<_ACEOF 6581 cat >conftest.$ac_ext <<_ACEOF
6397#line $LINENO "configure"
6398/* confdefs.h. */ 6582/* confdefs.h. */
6399_ACEOF 6583_ACEOF
6400cat confdefs.h >>conftest.$ac_ext 6584cat confdefs.h >>conftest.$ac_ext
6401cat >>conftest.$ac_ext <<_ACEOF 6585cat >>conftest.$ac_ext <<_ACEOF
6402/* end confdefs.h. */ 6586/* end confdefs.h. */
6403#ifdef __STDC__ 6587#ifdef __STDC__
6404# include <limits.h> 6588# include <limits.h>
6405#else 6589#else
6406# include <assert.h> 6590# include <assert.h>
6407#endif 6591#endif
6408 Syntax error 6592 Syntax error
6409_ACEOF 6593_ACEOF
6410if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6594if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6411 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6595 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6412 ac_status=$? 6596 ac_status=$?
6413 grep -v '^ *+' conftest.er1 >conftest.err 6597 grep -v '^ *+' conftest.er1 >conftest.err
6415 cat conftest.err >&5 6599 cat conftest.err >&5
6416 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6417 (exit $ac_status); } >/dev/null; then 6601 (exit $ac_status); } >/dev/null; then
6418 if test -s conftest.err; then 6602 if test -s conftest.err; then
6419 ac_cpp_err=$ac_cxx_preproc_warn_flag 6603 ac_cpp_err=$ac_cxx_preproc_warn_flag
6604 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6420 else 6605 else
6421 ac_cpp_err= 6606 ac_cpp_err=
6422 fi 6607 fi
6423else 6608else
6424 ac_cpp_err=yes 6609 ac_cpp_err=yes
6435rm -f conftest.err conftest.$ac_ext 6620rm -f conftest.err conftest.$ac_ext
6436 6621
6437 # OK, works on sane cases. Now check whether non-existent headers 6622 # OK, works on sane cases. Now check whether non-existent headers
6438 # can be detected and how. 6623 # can be detected and how.
6439 cat >conftest.$ac_ext <<_ACEOF 6624 cat >conftest.$ac_ext <<_ACEOF
6440#line $LINENO "configure"
6441/* confdefs.h. */ 6625/* confdefs.h. */
6442_ACEOF 6626_ACEOF
6443cat confdefs.h >>conftest.$ac_ext 6627cat confdefs.h >>conftest.$ac_ext
6444cat >>conftest.$ac_ext <<_ACEOF 6628cat >>conftest.$ac_ext <<_ACEOF
6445/* end confdefs.h. */ 6629/* end confdefs.h. */
6453 cat conftest.err >&5 6637 cat conftest.err >&5
6454 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6455 (exit $ac_status); } >/dev/null; then 6639 (exit $ac_status); } >/dev/null; then
6456 if test -s conftest.err; then 6640 if test -s conftest.err; then
6457 ac_cpp_err=$ac_cxx_preproc_warn_flag 6641 ac_cpp_err=$ac_cxx_preproc_warn_flag
6642 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6458 else 6643 else
6459 ac_cpp_err= 6644 ac_cpp_err=
6460 fi 6645 fi
6461else 6646else
6462 ac_cpp_err=yes 6647 ac_cpp_err=yes
6499 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6684 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6500 # <limits.h> exists even on freestanding compilers. 6685 # <limits.h> exists even on freestanding compilers.
6501 # On the NeXT, cc -E runs the code through the compiler's parser, 6686 # On the NeXT, cc -E runs the code through the compiler's parser,
6502 # not just through cpp. "Syntax error" is here to catch this case. 6687 # not just through cpp. "Syntax error" is here to catch this case.
6503 cat >conftest.$ac_ext <<_ACEOF 6688 cat >conftest.$ac_ext <<_ACEOF
6504#line $LINENO "configure"
6505/* confdefs.h. */ 6689/* confdefs.h. */
6506_ACEOF 6690_ACEOF
6507cat confdefs.h >>conftest.$ac_ext 6691cat confdefs.h >>conftest.$ac_ext
6508cat >>conftest.$ac_ext <<_ACEOF 6692cat >>conftest.$ac_ext <<_ACEOF
6509/* end confdefs.h. */ 6693/* end confdefs.h. */
6510#ifdef __STDC__ 6694#ifdef __STDC__
6511# include <limits.h> 6695# include <limits.h>
6512#else 6696#else
6513# include <assert.h> 6697# include <assert.h>
6514#endif 6698#endif
6515 Syntax error 6699 Syntax error
6516_ACEOF 6700_ACEOF
6517if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6701if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6518 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6702 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6519 ac_status=$? 6703 ac_status=$?
6520 grep -v '^ *+' conftest.er1 >conftest.err 6704 grep -v '^ *+' conftest.er1 >conftest.err
6522 cat conftest.err >&5 6706 cat conftest.err >&5
6523 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6524 (exit $ac_status); } >/dev/null; then 6708 (exit $ac_status); } >/dev/null; then
6525 if test -s conftest.err; then 6709 if test -s conftest.err; then
6526 ac_cpp_err=$ac_cxx_preproc_warn_flag 6710 ac_cpp_err=$ac_cxx_preproc_warn_flag
6711 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6527 else 6712 else
6528 ac_cpp_err= 6713 ac_cpp_err=
6529 fi 6714 fi
6530else 6715else
6531 ac_cpp_err=yes 6716 ac_cpp_err=yes
6542rm -f conftest.err conftest.$ac_ext 6727rm -f conftest.err conftest.$ac_ext
6543 6728
6544 # OK, works on sane cases. Now check whether non-existent headers 6729 # OK, works on sane cases. Now check whether non-existent headers
6545 # can be detected and how. 6730 # can be detected and how.
6546 cat >conftest.$ac_ext <<_ACEOF 6731 cat >conftest.$ac_ext <<_ACEOF
6547#line $LINENO "configure"
6548/* confdefs.h. */ 6732/* confdefs.h. */
6549_ACEOF 6733_ACEOF
6550cat confdefs.h >>conftest.$ac_ext 6734cat confdefs.h >>conftest.$ac_ext
6551cat >>conftest.$ac_ext <<_ACEOF 6735cat >>conftest.$ac_ext <<_ACEOF
6552/* end confdefs.h. */ 6736/* end confdefs.h. */
6560 cat conftest.err >&5 6744 cat conftest.err >&5
6561 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6562 (exit $ac_status); } >/dev/null; then 6746 (exit $ac_status); } >/dev/null; then
6563 if test -s conftest.err; then 6747 if test -s conftest.err; then
6564 ac_cpp_err=$ac_cxx_preproc_warn_flag 6748 ac_cpp_err=$ac_cxx_preproc_warn_flag
6749 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6565 else 6750 else
6566 ac_cpp_err= 6751 ac_cpp_err=
6567 fi 6752 fi
6568else 6753else
6569 ac_cpp_err=yes 6754 ac_cpp_err=yes
6605echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 6790echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6606if test "${ac_cv_header_stdc+set}" = set; then 6791if test "${ac_cv_header_stdc+set}" = set; then
6607 echo $ECHO_N "(cached) $ECHO_C" >&6 6792 echo $ECHO_N "(cached) $ECHO_C" >&6
6608else 6793else
6609 cat >conftest.$ac_ext <<_ACEOF 6794 cat >conftest.$ac_ext <<_ACEOF
6610#line $LINENO "configure"
6611/* confdefs.h. */ 6795/* confdefs.h. */
6612_ACEOF 6796_ACEOF
6613cat confdefs.h >>conftest.$ac_ext 6797cat confdefs.h >>conftest.$ac_ext
6614cat >>conftest.$ac_ext <<_ACEOF 6798cat >>conftest.$ac_ext <<_ACEOF
6615/* end confdefs.h. */ 6799/* end confdefs.h. */
6626 return 0; 6810 return 0;
6627} 6811}
6628_ACEOF 6812_ACEOF
6629rm -f conftest.$ac_objext 6813rm -f conftest.$ac_objext
6630if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6814if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6631 (eval $ac_compile) 2>&5 6815 (eval $ac_compile) 2>conftest.er1
6632 ac_status=$? 6816 ac_status=$?
6817 grep -v '^ *+' conftest.er1 >conftest.err
6818 rm -f conftest.er1
6819 cat conftest.err >&5
6633 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6634 (exit $ac_status); } && 6821 (exit $ac_status); } &&
6635 { ac_try='test -s conftest.$ac_objext' 6822 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6637 (eval $ac_try) 2>&5 6824 (eval $ac_try) 2>&5
6638 ac_status=$? 6825 ac_status=$?
6639 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6827 (exit $ac_status); }; } &&
6828 { ac_try='test -s conftest.$ac_objext'
6829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6830 (eval $ac_try) 2>&5
6831 ac_status=$?
6832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640 (exit $ac_status); }; }; then 6833 (exit $ac_status); }; }; then
6641 ac_cv_header_stdc=yes 6834 ac_cv_header_stdc=yes
6642else 6835else
6643 echo "$as_me: failed program was:" >&5 6836 echo "$as_me: failed program was:" >&5
6644sed 's/^/| /' conftest.$ac_ext >&5 6837sed 's/^/| /' conftest.$ac_ext >&5
6645 6838
6646ac_cv_header_stdc=no 6839ac_cv_header_stdc=no
6647fi 6840fi
6648rm -f conftest.$ac_objext conftest.$ac_ext 6841rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6649 6842
6650if test $ac_cv_header_stdc = yes; then 6843if test $ac_cv_header_stdc = yes; then
6651 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6844 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6652 cat >conftest.$ac_ext <<_ACEOF 6845 cat >conftest.$ac_ext <<_ACEOF
6653#line $LINENO "configure"
6654/* confdefs.h. */ 6846/* confdefs.h. */
6655_ACEOF 6847_ACEOF
6656cat confdefs.h >>conftest.$ac_ext 6848cat confdefs.h >>conftest.$ac_ext
6657cat >>conftest.$ac_ext <<_ACEOF 6849cat >>conftest.$ac_ext <<_ACEOF
6658/* end confdefs.h. */ 6850/* end confdefs.h. */
6670fi 6862fi
6671 6863
6672if test $ac_cv_header_stdc = yes; then 6864if test $ac_cv_header_stdc = yes; then
6673 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6865 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6674 cat >conftest.$ac_ext <<_ACEOF 6866 cat >conftest.$ac_ext <<_ACEOF
6675#line $LINENO "configure"
6676/* confdefs.h. */ 6867/* confdefs.h. */
6677_ACEOF 6868_ACEOF
6678cat confdefs.h >>conftest.$ac_ext 6869cat confdefs.h >>conftest.$ac_ext
6679cat >>conftest.$ac_ext <<_ACEOF 6870cat >>conftest.$ac_ext <<_ACEOF
6680/* end confdefs.h. */ 6871/* end confdefs.h. */
6695 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 6886 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6696 if test "$cross_compiling" = yes; then 6887 if test "$cross_compiling" = yes; then
6697 : 6888 :
6698else 6889else
6699 cat >conftest.$ac_ext <<_ACEOF 6890 cat >conftest.$ac_ext <<_ACEOF
6700#line $LINENO "configure"
6701/* confdefs.h. */ 6891/* confdefs.h. */
6702_ACEOF 6892_ACEOF
6703cat confdefs.h >>conftest.$ac_ext 6893cat confdefs.h >>conftest.$ac_ext
6704cat >>conftest.$ac_ext <<_ACEOF 6894cat >>conftest.$ac_ext <<_ACEOF
6705/* end confdefs.h. */ 6895/* end confdefs.h. */
6707#if ((' ' & 0x0FF) == 0x020) 6897#if ((' ' & 0x0FF) == 0x020)
6708# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 6898# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6709# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 6899# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6710#else 6900#else
6711# define ISLOWER(c) \ 6901# define ISLOWER(c) \
6712 (('a' <= (c) && (c) <= 'i') \ 6902 (('a' <= (c) && (c) <= 'i') \
6713 || ('j' <= (c) && (c) <= 'r') \ 6903 || ('j' <= (c) && (c) <= 'r') \
6714 || ('s' <= (c) && (c) <= 'z')) 6904 || ('s' <= (c) && (c) <= 'z'))
6715# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 6905# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6716#endif 6906#endif
6717 6907
6718#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 6908#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6719int 6909int
6720main () 6910main ()
6721{ 6911{
6722 int i; 6912 int i;
6723 for (i = 0; i < 256; i++) 6913 for (i = 0; i < 256; i++)
6724 if (XOR (islower (i), ISLOWER (i)) 6914 if (XOR (islower (i), ISLOWER (i))
6725 || toupper (i) != TOUPPER (i)) 6915 || toupper (i) != TOUPPER (i))
6726 exit(2); 6916 exit(2);
6727 exit (0); 6917 exit (0);
6728} 6918}
6729_ACEOF 6919_ACEOF
6730rm -f conftest$ac_exeext 6920rm -f conftest$ac_exeext
6770 6960
6771 6961
6772 6962
6773 6963
6774for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 6964for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6775 inttypes.h stdint.h unistd.h 6965 inttypes.h stdint.h unistd.h
6776do 6966do
6777as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6967as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6778echo "$as_me:$LINENO: checking for $ac_header" >&5 6968echo "$as_me:$LINENO: checking for $ac_header" >&5
6779echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6969echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6780if eval "test \"\${$as_ac_Header+set}\" = set"; then 6970if eval "test \"\${$as_ac_Header+set}\" = set"; then
6781 echo $ECHO_N "(cached) $ECHO_C" >&6 6971 echo $ECHO_N "(cached) $ECHO_C" >&6
6782else 6972else
6783 cat >conftest.$ac_ext <<_ACEOF 6973 cat >conftest.$ac_ext <<_ACEOF
6784#line $LINENO "configure"
6785/* confdefs.h. */ 6974/* confdefs.h. */
6786_ACEOF 6975_ACEOF
6787cat confdefs.h >>conftest.$ac_ext 6976cat confdefs.h >>conftest.$ac_ext
6788cat >>conftest.$ac_ext <<_ACEOF 6977cat >>conftest.$ac_ext <<_ACEOF
6789/* end confdefs.h. */ 6978/* end confdefs.h. */
6791 6980
6792#include <$ac_header> 6981#include <$ac_header>
6793_ACEOF 6982_ACEOF
6794rm -f conftest.$ac_objext 6983rm -f conftest.$ac_objext
6795if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6984if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6796 (eval $ac_compile) 2>&5 6985 (eval $ac_compile) 2>conftest.er1
6797 ac_status=$? 6986 ac_status=$?
6987 grep -v '^ *+' conftest.er1 >conftest.err
6988 rm -f conftest.er1
6989 cat conftest.err >&5
6798 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6799 (exit $ac_status); } && 6991 (exit $ac_status); } &&
6800 { ac_try='test -s conftest.$ac_objext' 6992 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6802 (eval $ac_try) 2>&5 6994 (eval $ac_try) 2>&5
6803 ac_status=$? 6995 ac_status=$?
6804 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6997 (exit $ac_status); }; } &&
6998 { ac_try='test -s conftest.$ac_objext'
6999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7000 (eval $ac_try) 2>&5
7001 ac_status=$?
7002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6805 (exit $ac_status); }; }; then 7003 (exit $ac_status); }; }; then
6806 eval "$as_ac_Header=yes" 7004 eval "$as_ac_Header=yes"
6807else 7005else
6808 echo "$as_me: failed program was:" >&5 7006 echo "$as_me: failed program was:" >&5
6809sed 's/^/| /' conftest.$ac_ext >&5 7007sed 's/^/| /' conftest.$ac_ext >&5
6810 7008
6811eval "$as_ac_Header=no" 7009eval "$as_ac_Header=no"
6812fi 7010fi
6813rm -f conftest.$ac_objext conftest.$ac_ext 7011rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6814fi 7012fi
6815echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7013echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6816echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7014echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6817if test `eval echo '${'$as_ac_Header'}'` = yes; then 7015if test `eval echo '${'$as_ac_Header'}'` = yes; then
6818 cat >>confdefs.h <<_ACEOF 7016 cat >>confdefs.h <<_ACEOF
6839else 7037else
6840 # Is the header compilable? 7038 # Is the header compilable?
6841echo "$as_me:$LINENO: checking $ac_header usability" >&5 7039echo "$as_me:$LINENO: checking $ac_header usability" >&5
6842echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 7040echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6843cat >conftest.$ac_ext <<_ACEOF 7041cat >conftest.$ac_ext <<_ACEOF
6844#line $LINENO "configure"
6845/* confdefs.h. */ 7042/* confdefs.h. */
6846_ACEOF 7043_ACEOF
6847cat confdefs.h >>conftest.$ac_ext 7044cat confdefs.h >>conftest.$ac_ext
6848cat >>conftest.$ac_ext <<_ACEOF 7045cat >>conftest.$ac_ext <<_ACEOF
6849/* end confdefs.h. */ 7046/* end confdefs.h. */
6850$ac_includes_default 7047$ac_includes_default
6851#include <$ac_header> 7048#include <$ac_header>
6852_ACEOF 7049_ACEOF
6853rm -f conftest.$ac_objext 7050rm -f conftest.$ac_objext
6854if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7051if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6855 (eval $ac_compile) 2>&5 7052 (eval $ac_compile) 2>conftest.er1
6856 ac_status=$? 7053 ac_status=$?
7054 grep -v '^ *+' conftest.er1 >conftest.err
7055 rm -f conftest.er1
7056 cat conftest.err >&5
6857 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6858 (exit $ac_status); } && 7058 (exit $ac_status); } &&
6859 { ac_try='test -s conftest.$ac_objext' 7059 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6861 (eval $ac_try) 2>&5 7061 (eval $ac_try) 2>&5
6862 ac_status=$? 7062 ac_status=$?
6863 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7064 (exit $ac_status); }; } &&
7065 { ac_try='test -s conftest.$ac_objext'
7066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7067 (eval $ac_try) 2>&5
7068 ac_status=$?
7069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6864 (exit $ac_status); }; }; then 7070 (exit $ac_status); }; }; then
6865 ac_header_compiler=yes 7071 ac_header_compiler=yes
6866else 7072else
6867 echo "$as_me: failed program was:" >&5 7073 echo "$as_me: failed program was:" >&5
6868sed 's/^/| /' conftest.$ac_ext >&5 7074sed 's/^/| /' conftest.$ac_ext >&5
6869 7075
6870ac_header_compiler=no 7076ac_header_compiler=no
6871fi 7077fi
6872rm -f conftest.$ac_objext conftest.$ac_ext 7078rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6873echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7079echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6874echo "${ECHO_T}$ac_header_compiler" >&6 7080echo "${ECHO_T}$ac_header_compiler" >&6
6875 7081
6876# Is the header present? 7082# Is the header present?
6877echo "$as_me:$LINENO: checking $ac_header presence" >&5 7083echo "$as_me:$LINENO: checking $ac_header presence" >&5
6878echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 7084echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6879cat >conftest.$ac_ext <<_ACEOF 7085cat >conftest.$ac_ext <<_ACEOF
6880#line $LINENO "configure"
6881/* confdefs.h. */ 7086/* confdefs.h. */
6882_ACEOF 7087_ACEOF
6883cat confdefs.h >>conftest.$ac_ext 7088cat confdefs.h >>conftest.$ac_ext
6884cat >>conftest.$ac_ext <<_ACEOF 7089cat >>conftest.$ac_ext <<_ACEOF
6885/* end confdefs.h. */ 7090/* end confdefs.h. */
6893 cat conftest.err >&5 7098 cat conftest.err >&5
6894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6895 (exit $ac_status); } >/dev/null; then 7100 (exit $ac_status); } >/dev/null; then
6896 if test -s conftest.err; then 7101 if test -s conftest.err; then
6897 ac_cpp_err=$ac_cxx_preproc_warn_flag 7102 ac_cpp_err=$ac_cxx_preproc_warn_flag
7103 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6898 else 7104 else
6899 ac_cpp_err= 7105 ac_cpp_err=
6900 fi 7106 fi
6901else 7107else
6902 ac_cpp_err=yes 7108 ac_cpp_err=yes
6912rm -f conftest.err conftest.$ac_ext 7118rm -f conftest.err conftest.$ac_ext
6913echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7119echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6914echo "${ECHO_T}$ac_header_preproc" >&6 7120echo "${ECHO_T}$ac_header_preproc" >&6
6915 7121
6916# So? What about this header? 7122# So? What about this header?
6917case $ac_header_compiler:$ac_header_preproc in 7123case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6918 yes:no ) 7124 yes:no: )
6919 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7125 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6920echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7126echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7127 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7128echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7129 ac_header_preproc=yes
7130 ;;
7131 no:yes:* )
7132 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7133echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7134 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7135echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7136 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7137echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7138 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7139echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6921 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7140 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6922echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7141echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7142 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7143echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6923 ( 7144 (
6924 cat <<\_ASBOX 7145 cat <<\_ASBOX
6925## ------------------------------------ ## 7146## ------------------------------------------ ##
6926## Report this to bug-autoconf@gnu.org. ## 7147## Report this to the AC_PACKAGE_NAME lists. ##
6927## ------------------------------------ ## 7148## ------------------------------------------ ##
6928_ASBOX
6929 ) |
6930 sed "s/^/$as_me: WARNING: /" >&2
6931 ;;
6932 no:yes )
6933 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6934echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6935 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6936echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6937 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6938echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6939 (
6940 cat <<\_ASBOX
6941## ------------------------------------ ##
6942## Report this to bug-autoconf@gnu.org. ##
6943## ------------------------------------ ##
6944_ASBOX 7149_ASBOX
6945 ) | 7150 ) |
6946 sed "s/^/$as_me: WARNING: /" >&2 7151 sed "s/^/$as_me: WARNING: /" >&2
6947 ;; 7152 ;;
6948esac 7153esac
6949echo "$as_me:$LINENO: checking for $ac_header" >&5 7154echo "$as_me:$LINENO: checking for $ac_header" >&5
6950echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7155echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6951if eval "test \"\${$as_ac_Header+set}\" = set"; then 7156if eval "test \"\${$as_ac_Header+set}\" = set"; then
6952 echo $ECHO_N "(cached) $ECHO_C" >&6 7157 echo $ECHO_N "(cached) $ECHO_C" >&6
6953else 7158else
6954 eval "$as_ac_Header=$ac_header_preproc" 7159 eval "$as_ac_Header=\$ac_header_preproc"
6955fi 7160fi
6956echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7161echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6957echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7162echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6958 7163
6959fi 7164fi
6981 7186
6982 7187
6983 7188
6984 7189
6985 7190
6986
6987
6988for ac_header in fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \ 7191for ac_header in fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \
6989 sys/file.h sys/ioctl.h sys/param.h sys/time.h netinet/in_systm.h cygwin.h arpa/inet.h \ 7192 sys/file.h sys/ioctl.h sys/param.h sys/time.h netinet/in_systm.h sys/cygwin.h \
6990 sys/poll.h sys/mman.h netinet/in.h 7193 sys/mman.h netinet/in.h
6991do 7194do
6992as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7195as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6993if eval "test \"\${$as_ac_Header+set}\" = set"; then 7196if eval "test \"\${$as_ac_Header+set}\" = set"; then
6994 echo "$as_me:$LINENO: checking for $ac_header" >&5 7197 echo "$as_me:$LINENO: checking for $ac_header" >&5
6995echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7198echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7001else 7204else
7002 # Is the header compilable? 7205 # Is the header compilable?
7003echo "$as_me:$LINENO: checking $ac_header usability" >&5 7206echo "$as_me:$LINENO: checking $ac_header usability" >&5
7004echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 7207echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7005cat >conftest.$ac_ext <<_ACEOF 7208cat >conftest.$ac_ext <<_ACEOF
7006#line $LINENO "configure"
7007/* confdefs.h. */ 7209/* confdefs.h. */
7008_ACEOF 7210_ACEOF
7009cat confdefs.h >>conftest.$ac_ext 7211cat confdefs.h >>conftest.$ac_ext
7010cat >>conftest.$ac_ext <<_ACEOF 7212cat >>conftest.$ac_ext <<_ACEOF
7011/* end confdefs.h. */ 7213/* end confdefs.h. */
7012$ac_includes_default 7214$ac_includes_default
7013#include <$ac_header> 7215#include <$ac_header>
7014_ACEOF 7216_ACEOF
7015rm -f conftest.$ac_objext 7217rm -f conftest.$ac_objext
7016if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7218if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7017 (eval $ac_compile) 2>&5 7219 (eval $ac_compile) 2>conftest.er1
7018 ac_status=$? 7220 ac_status=$?
7221 grep -v '^ *+' conftest.er1 >conftest.err
7222 rm -f conftest.er1
7223 cat conftest.err >&5
7019 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7020 (exit $ac_status); } && 7225 (exit $ac_status); } &&
7021 { ac_try='test -s conftest.$ac_objext' 7226 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7023 (eval $ac_try) 2>&5 7228 (eval $ac_try) 2>&5
7024 ac_status=$? 7229 ac_status=$?
7025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7231 (exit $ac_status); }; } &&
7232 { ac_try='test -s conftest.$ac_objext'
7233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7234 (eval $ac_try) 2>&5
7235 ac_status=$?
7236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7026 (exit $ac_status); }; }; then 7237 (exit $ac_status); }; }; then
7027 ac_header_compiler=yes 7238 ac_header_compiler=yes
7028else 7239else
7029 echo "$as_me: failed program was:" >&5 7240 echo "$as_me: failed program was:" >&5
7030sed 's/^/| /' conftest.$ac_ext >&5 7241sed 's/^/| /' conftest.$ac_ext >&5
7031 7242
7032ac_header_compiler=no 7243ac_header_compiler=no
7033fi 7244fi
7034rm -f conftest.$ac_objext conftest.$ac_ext 7245rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7035echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7246echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7036echo "${ECHO_T}$ac_header_compiler" >&6 7247echo "${ECHO_T}$ac_header_compiler" >&6
7037 7248
7038# Is the header present? 7249# Is the header present?
7039echo "$as_me:$LINENO: checking $ac_header presence" >&5 7250echo "$as_me:$LINENO: checking $ac_header presence" >&5
7040echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 7251echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7041cat >conftest.$ac_ext <<_ACEOF 7252cat >conftest.$ac_ext <<_ACEOF
7042#line $LINENO "configure"
7043/* confdefs.h. */ 7253/* confdefs.h. */
7044_ACEOF 7254_ACEOF
7045cat confdefs.h >>conftest.$ac_ext 7255cat confdefs.h >>conftest.$ac_ext
7046cat >>conftest.$ac_ext <<_ACEOF 7256cat >>conftest.$ac_ext <<_ACEOF
7047/* end confdefs.h. */ 7257/* end confdefs.h. */
7055 cat conftest.err >&5 7265 cat conftest.err >&5
7056 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7057 (exit $ac_status); } >/dev/null; then 7267 (exit $ac_status); } >/dev/null; then
7058 if test -s conftest.err; then 7268 if test -s conftest.err; then
7059 ac_cpp_err=$ac_cxx_preproc_warn_flag 7269 ac_cpp_err=$ac_cxx_preproc_warn_flag
7270 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7060 else 7271 else
7061 ac_cpp_err= 7272 ac_cpp_err=
7062 fi 7273 fi
7063else 7274else
7064 ac_cpp_err=yes 7275 ac_cpp_err=yes
7074rm -f conftest.err conftest.$ac_ext 7285rm -f conftest.err conftest.$ac_ext
7075echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7286echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7076echo "${ECHO_T}$ac_header_preproc" >&6 7287echo "${ECHO_T}$ac_header_preproc" >&6
7077 7288
7078# So? What about this header? 7289# So? What about this header?
7079case $ac_header_compiler:$ac_header_preproc in 7290case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7080 yes:no ) 7291 yes:no: )
7081 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7292 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7082echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7293echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7294 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7295echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7296 ac_header_preproc=yes
7297 ;;
7298 no:yes:* )
7299 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7300echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7301 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7302echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7303 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7304echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7305 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7306echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7083 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7307 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7084echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7308echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7309 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7310echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7085 ( 7311 (
7086 cat <<\_ASBOX 7312 cat <<\_ASBOX
7087## ------------------------------------ ## 7313## ------------------------------------------ ##
7088## Report this to bug-autoconf@gnu.org. ## 7314## Report this to the AC_PACKAGE_NAME lists. ##
7089## ------------------------------------ ## 7315## ------------------------------------------ ##
7090_ASBOX
7091 ) |
7092 sed "s/^/$as_me: WARNING: /" >&2
7093 ;;
7094 no:yes )
7095 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7096echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7097 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7098echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7099 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7100echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7101 (
7102 cat <<\_ASBOX
7103## ------------------------------------ ##
7104## Report this to bug-autoconf@gnu.org. ##
7105## ------------------------------------ ##
7106_ASBOX 7316_ASBOX
7107 ) | 7317 ) |
7108 sed "s/^/$as_me: WARNING: /" >&2 7318 sed "s/^/$as_me: WARNING: /" >&2
7109 ;; 7319 ;;
7110esac 7320esac
7111echo "$as_me:$LINENO: checking for $ac_header" >&5 7321echo "$as_me:$LINENO: checking for $ac_header" >&5
7112echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7322echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7113if eval "test \"\${$as_ac_Header+set}\" = set"; then 7323if eval "test \"\${$as_ac_Header+set}\" = set"; then
7114 echo $ECHO_N "(cached) $ECHO_C" >&6 7324 echo $ECHO_N "(cached) $ECHO_C" >&6
7115else 7325else
7116 eval "$as_ac_Header=$ac_header_preproc" 7326 eval "$as_ac_Header=\$ac_header_preproc"
7117fi 7327fi
7118echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7328echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7119echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7329echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7120 7330
7121fi 7331fi
7131 7341
7132 7342
7133 7343
7134 7344
7135 7345
7346
7136for ac_header in net/ethernet.h net/if.h netinet/ip.h netinet/tcp.h netinet/in_systm.h 7347for ac_header in arpa/inet.h net/ethernet.h net/if.h netinet/ip.h netinet/tcp.h netinet/in_systm.h
7137do 7348do
7138as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7349as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7139echo "$as_me:$LINENO: checking for $ac_header" >&5 7350echo "$as_me:$LINENO: checking for $ac_header" >&5
7140echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7351echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7141if eval "test \"\${$as_ac_Header+set}\" = set"; then 7352if eval "test \"\${$as_ac_Header+set}\" = set"; then
7142 echo $ECHO_N "(cached) $ECHO_C" >&6 7353 echo $ECHO_N "(cached) $ECHO_C" >&6
7143else 7354else
7144 cat >conftest.$ac_ext <<_ACEOF 7355 cat >conftest.$ac_ext <<_ACEOF
7145#line $LINENO "configure"
7146/* confdefs.h. */ 7356/* confdefs.h. */
7147_ACEOF 7357_ACEOF
7148cat confdefs.h >>conftest.$ac_ext 7358cat confdefs.h >>conftest.$ac_ext
7149cat >>conftest.$ac_ext <<_ACEOF 7359cat >>conftest.$ac_ext <<_ACEOF
7150/* end confdefs.h. */ 7360/* end confdefs.h. */
7164 7374
7165#include <$ac_header> 7375#include <$ac_header>
7166_ACEOF 7376_ACEOF
7167rm -f conftest.$ac_objext 7377rm -f conftest.$ac_objext
7168if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7378if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7169 (eval $ac_compile) 2>&5 7379 (eval $ac_compile) 2>conftest.er1
7170 ac_status=$? 7380 ac_status=$?
7381 grep -v '^ *+' conftest.er1 >conftest.err
7382 rm -f conftest.er1
7383 cat conftest.err >&5
7171 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7172 (exit $ac_status); } && 7385 (exit $ac_status); } &&
7173 { ac_try='test -s conftest.$ac_objext' 7386 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7175 (eval $ac_try) 2>&5 7388 (eval $ac_try) 2>&5
7176 ac_status=$? 7389 ac_status=$?
7177 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7391 (exit $ac_status); }; } &&
7392 { ac_try='test -s conftest.$ac_objext'
7393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7394 (eval $ac_try) 2>&5
7395 ac_status=$?
7396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7178 (exit $ac_status); }; }; then 7397 (exit $ac_status); }; }; then
7179 eval "$as_ac_Header=yes" 7398 eval "$as_ac_Header=yes"
7180else 7399else
7181 echo "$as_me: failed program was:" >&5 7400 echo "$as_me: failed program was:" >&5
7182sed 's/^/| /' conftest.$ac_ext >&5 7401sed 's/^/| /' conftest.$ac_ext >&5
7183 7402
7184eval "$as_ac_Header=no" 7403eval "$as_ac_Header=no"
7185fi 7404fi
7186rm -f conftest.$ac_objext conftest.$ac_ext 7405rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7187fi 7406fi
7188echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7407echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7189echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7408echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7190if test `eval echo '${'$as_ac_Header'}'` = yes; then 7409if test `eval echo '${'$as_ac_Header'}'` = yes; then
7191 cat >>confdefs.h <<_ACEOF 7410 cat >>confdefs.h <<_ACEOF
7201echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 7420echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
7202if test "${ac_cv_c_const+set}" = set; then 7421if test "${ac_cv_c_const+set}" = set; then
7203 echo $ECHO_N "(cached) $ECHO_C" >&6 7422 echo $ECHO_N "(cached) $ECHO_C" >&6
7204else 7423else
7205 cat >conftest.$ac_ext <<_ACEOF 7424 cat >conftest.$ac_ext <<_ACEOF
7206#line $LINENO "configure"
7207/* confdefs.h. */ 7425/* confdefs.h. */
7208_ACEOF 7426_ACEOF
7209cat confdefs.h >>conftest.$ac_ext 7427cat confdefs.h >>conftest.$ac_ext
7210cat >>conftest.$ac_ext <<_ACEOF 7428cat >>conftest.$ac_ext <<_ACEOF
7211/* end confdefs.h. */ 7429/* end confdefs.h. */
7264 return 0; 7482 return 0;
7265} 7483}
7266_ACEOF 7484_ACEOF
7267rm -f conftest.$ac_objext 7485rm -f conftest.$ac_objext
7268if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7486if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7269 (eval $ac_compile) 2>&5 7487 (eval $ac_compile) 2>conftest.er1
7270 ac_status=$? 7488 ac_status=$?
7489 grep -v '^ *+' conftest.er1 >conftest.err
7490 rm -f conftest.er1
7491 cat conftest.err >&5
7271 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7272 (exit $ac_status); } && 7493 (exit $ac_status); } &&
7273 { ac_try='test -s conftest.$ac_objext' 7494 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7275 (eval $ac_try) 2>&5 7496 (eval $ac_try) 2>&5
7276 ac_status=$? 7497 ac_status=$?
7277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7499 (exit $ac_status); }; } &&
7500 { ac_try='test -s conftest.$ac_objext'
7501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7502 (eval $ac_try) 2>&5
7503 ac_status=$?
7504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7278 (exit $ac_status); }; }; then 7505 (exit $ac_status); }; }; then
7279 ac_cv_c_const=yes 7506 ac_cv_c_const=yes
7280else 7507else
7281 echo "$as_me: failed program was:" >&5 7508 echo "$as_me: failed program was:" >&5
7282sed 's/^/| /' conftest.$ac_ext >&5 7509sed 's/^/| /' conftest.$ac_ext >&5
7283 7510
7284ac_cv_c_const=no 7511ac_cv_c_const=no
7285fi 7512fi
7286rm -f conftest.$ac_objext conftest.$ac_ext 7513rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7287fi 7514fi
7288echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 7515echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7289echo "${ECHO_T}$ac_cv_c_const" >&6 7516echo "${ECHO_T}$ac_cv_c_const" >&6
7290if test $ac_cv_c_const = no; then 7517if test $ac_cv_c_const = no; then
7291 7518
7299echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 7526echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
7300if test "${ac_cv_type_pid_t+set}" = set; then 7527if test "${ac_cv_type_pid_t+set}" = set; then
7301 echo $ECHO_N "(cached) $ECHO_C" >&6 7528 echo $ECHO_N "(cached) $ECHO_C" >&6
7302else 7529else
7303 cat >conftest.$ac_ext <<_ACEOF 7530 cat >conftest.$ac_ext <<_ACEOF
7304#line $LINENO "configure"
7305/* confdefs.h. */ 7531/* confdefs.h. */
7306_ACEOF 7532_ACEOF
7307cat confdefs.h >>conftest.$ac_ext 7533cat confdefs.h >>conftest.$ac_ext
7308cat >>conftest.$ac_ext <<_ACEOF 7534cat >>conftest.$ac_ext <<_ACEOF
7309/* end confdefs.h. */ 7535/* end confdefs.h. */
7319 return 0; 7545 return 0;
7320} 7546}
7321_ACEOF 7547_ACEOF
7322rm -f conftest.$ac_objext 7548rm -f conftest.$ac_objext
7323if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7549if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7324 (eval $ac_compile) 2>&5 7550 (eval $ac_compile) 2>conftest.er1
7325 ac_status=$? 7551 ac_status=$?
7552 grep -v '^ *+' conftest.er1 >conftest.err
7553 rm -f conftest.er1
7554 cat conftest.err >&5
7326 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7327 (exit $ac_status); } && 7556 (exit $ac_status); } &&
7328 { ac_try='test -s conftest.$ac_objext' 7557 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7330 (eval $ac_try) 2>&5 7559 (eval $ac_try) 2>&5
7331 ac_status=$? 7560 ac_status=$?
7332 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7562 (exit $ac_status); }; } &&
7563 { ac_try='test -s conftest.$ac_objext'
7564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7565 (eval $ac_try) 2>&5
7566 ac_status=$?
7567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7333 (exit $ac_status); }; }; then 7568 (exit $ac_status); }; }; then
7334 ac_cv_type_pid_t=yes 7569 ac_cv_type_pid_t=yes
7335else 7570else
7336 echo "$as_me: failed program was:" >&5 7571 echo "$as_me: failed program was:" >&5
7337sed 's/^/| /' conftest.$ac_ext >&5 7572sed 's/^/| /' conftest.$ac_ext >&5
7338 7573
7339ac_cv_type_pid_t=no 7574ac_cv_type_pid_t=no
7340fi 7575fi
7341rm -f conftest.$ac_objext conftest.$ac_ext 7576rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7342fi 7577fi
7343echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 7578echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7344echo "${ECHO_T}$ac_cv_type_pid_t" >&6 7579echo "${ECHO_T}$ac_cv_type_pid_t" >&6
7345if test $ac_cv_type_pid_t = yes; then 7580if test $ac_cv_type_pid_t = yes; then
7346 : 7581 :
7356echo $ECHO_N "checking for size_t... $ECHO_C" >&6 7591echo $ECHO_N "checking for size_t... $ECHO_C" >&6
7357if test "${ac_cv_type_size_t+set}" = set; then 7592if test "${ac_cv_type_size_t+set}" = set; then
7358 echo $ECHO_N "(cached) $ECHO_C" >&6 7593 echo $ECHO_N "(cached) $ECHO_C" >&6
7359else 7594else
7360 cat >conftest.$ac_ext <<_ACEOF 7595 cat >conftest.$ac_ext <<_ACEOF
7361#line $LINENO "configure"
7362/* confdefs.h. */ 7596/* confdefs.h. */
7363_ACEOF 7597_ACEOF
7364cat confdefs.h >>conftest.$ac_ext 7598cat confdefs.h >>conftest.$ac_ext
7365cat >>conftest.$ac_ext <<_ACEOF 7599cat >>conftest.$ac_ext <<_ACEOF
7366/* end confdefs.h. */ 7600/* end confdefs.h. */
7376 return 0; 7610 return 0;
7377} 7611}
7378_ACEOF 7612_ACEOF
7379rm -f conftest.$ac_objext 7613rm -f conftest.$ac_objext
7380if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7614if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7381 (eval $ac_compile) 2>&5 7615 (eval $ac_compile) 2>conftest.er1
7382 ac_status=$? 7616 ac_status=$?
7617 grep -v '^ *+' conftest.er1 >conftest.err
7618 rm -f conftest.er1
7619 cat conftest.err >&5
7383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384 (exit $ac_status); } && 7621 (exit $ac_status); } &&
7385 { ac_try='test -s conftest.$ac_objext' 7622 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7387 (eval $ac_try) 2>&5 7624 (eval $ac_try) 2>&5
7388 ac_status=$? 7625 ac_status=$?
7389 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7627 (exit $ac_status); }; } &&
7628 { ac_try='test -s conftest.$ac_objext'
7629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7630 (eval $ac_try) 2>&5
7631 ac_status=$?
7632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7390 (exit $ac_status); }; }; then 7633 (exit $ac_status); }; }; then
7391 ac_cv_type_size_t=yes 7634 ac_cv_type_size_t=yes
7392else 7635else
7393 echo "$as_me: failed program was:" >&5 7636 echo "$as_me: failed program was:" >&5
7394sed 's/^/| /' conftest.$ac_ext >&5 7637sed 's/^/| /' conftest.$ac_ext >&5
7395 7638
7396ac_cv_type_size_t=no 7639ac_cv_type_size_t=no
7397fi 7640fi
7398rm -f conftest.$ac_objext conftest.$ac_ext 7641rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7399fi 7642fi
7400echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 7643echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7401echo "${ECHO_T}$ac_cv_type_size_t" >&6 7644echo "${ECHO_T}$ac_cv_type_size_t" >&6
7402if test $ac_cv_type_size_t = yes; then 7645if test $ac_cv_type_size_t = yes; then
7403 : 7646 :
7413echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 7656echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
7414if test "${ac_cv_header_time+set}" = set; then 7657if test "${ac_cv_header_time+set}" = set; then
7415 echo $ECHO_N "(cached) $ECHO_C" >&6 7658 echo $ECHO_N "(cached) $ECHO_C" >&6
7416else 7659else
7417 cat >conftest.$ac_ext <<_ACEOF 7660 cat >conftest.$ac_ext <<_ACEOF
7418#line $LINENO "configure"
7419/* confdefs.h. */ 7661/* confdefs.h. */
7420_ACEOF 7662_ACEOF
7421cat confdefs.h >>conftest.$ac_ext 7663cat confdefs.h >>conftest.$ac_ext
7422cat >>conftest.$ac_ext <<_ACEOF 7664cat >>conftest.$ac_ext <<_ACEOF
7423/* end confdefs.h. */ 7665/* end confdefs.h. */
7434 return 0; 7676 return 0;
7435} 7677}
7436_ACEOF 7678_ACEOF
7437rm -f conftest.$ac_objext 7679rm -f conftest.$ac_objext
7438if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7680if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7439 (eval $ac_compile) 2>&5 7681 (eval $ac_compile) 2>conftest.er1
7440 ac_status=$? 7682 ac_status=$?
7683 grep -v '^ *+' conftest.er1 >conftest.err
7684 rm -f conftest.er1
7685 cat conftest.err >&5
7441 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7442 (exit $ac_status); } && 7687 (exit $ac_status); } &&
7443 { ac_try='test -s conftest.$ac_objext' 7688 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7445 (eval $ac_try) 2>&5 7690 (eval $ac_try) 2>&5
7446 ac_status=$? 7691 ac_status=$?
7447 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7693 (exit $ac_status); }; } &&
7694 { ac_try='test -s conftest.$ac_objext'
7695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7696 (eval $ac_try) 2>&5
7697 ac_status=$?
7698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7448 (exit $ac_status); }; }; then 7699 (exit $ac_status); }; }; then
7449 ac_cv_header_time=yes 7700 ac_cv_header_time=yes
7450else 7701else
7451 echo "$as_me: failed program was:" >&5 7702 echo "$as_me: failed program was:" >&5
7452sed 's/^/| /' conftest.$ac_ext >&5 7703sed 's/^/| /' conftest.$ac_ext >&5
7453 7704
7454ac_cv_header_time=no 7705ac_cv_header_time=no
7455fi 7706fi
7456rm -f conftest.$ac_objext conftest.$ac_ext 7707rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7457fi 7708fi
7458echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 7709echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
7459echo "${ECHO_T}$ac_cv_header_time" >&6 7710echo "${ECHO_T}$ac_cv_header_time" >&6
7460if test $ac_cv_header_time = yes; then 7711if test $ac_cv_header_time = yes; then
7461 7712
7469echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 7720echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
7470if test "${ac_cv_struct_tm+set}" = set; then 7721if test "${ac_cv_struct_tm+set}" = set; then
7471 echo $ECHO_N "(cached) $ECHO_C" >&6 7722 echo $ECHO_N "(cached) $ECHO_C" >&6
7472else 7723else
7473 cat >conftest.$ac_ext <<_ACEOF 7724 cat >conftest.$ac_ext <<_ACEOF
7474#line $LINENO "configure"
7475/* confdefs.h. */ 7725/* confdefs.h. */
7476_ACEOF 7726_ACEOF
7477cat confdefs.h >>conftest.$ac_ext 7727cat confdefs.h >>conftest.$ac_ext
7478cat >>conftest.$ac_ext <<_ACEOF 7728cat >>conftest.$ac_ext <<_ACEOF
7479/* end confdefs.h. */ 7729/* end confdefs.h. */
7488 return 0; 7738 return 0;
7489} 7739}
7490_ACEOF 7740_ACEOF
7491rm -f conftest.$ac_objext 7741rm -f conftest.$ac_objext
7492if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7742if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7493 (eval $ac_compile) 2>&5 7743 (eval $ac_compile) 2>conftest.er1
7494 ac_status=$? 7744 ac_status=$?
7745 grep -v '^ *+' conftest.er1 >conftest.err
7746 rm -f conftest.er1
7747 cat conftest.err >&5
7495 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7496 (exit $ac_status); } && 7749 (exit $ac_status); } &&
7497 { ac_try='test -s conftest.$ac_objext' 7750 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7499 (eval $ac_try) 2>&5 7752 (eval $ac_try) 2>&5
7500 ac_status=$? 7753 ac_status=$?
7501 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7755 (exit $ac_status); }; } &&
7756 { ac_try='test -s conftest.$ac_objext'
7757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7758 (eval $ac_try) 2>&5
7759 ac_status=$?
7760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7502 (exit $ac_status); }; }; then 7761 (exit $ac_status); }; }; then
7503 ac_cv_struct_tm=time.h 7762 ac_cv_struct_tm=time.h
7504else 7763else
7505 echo "$as_me: failed program was:" >&5 7764 echo "$as_me: failed program was:" >&5
7506sed 's/^/| /' conftest.$ac_ext >&5 7765sed 's/^/| /' conftest.$ac_ext >&5
7507 7766
7508ac_cv_struct_tm=sys/time.h 7767ac_cv_struct_tm=sys/time.h
7509fi 7768fi
7510rm -f conftest.$ac_objext conftest.$ac_ext 7769rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7511fi 7770fi
7512echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 7771echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
7513echo "${ECHO_T}$ac_cv_struct_tm" >&6 7772echo "${ECHO_T}$ac_cv_struct_tm" >&6
7514if test $ac_cv_struct_tm = sys/time.h; then 7773if test $ac_cv_struct_tm = sys/time.h; then
7515 7774
7518_ACEOF 7777_ACEOF
7519 7778
7520fi 7779fi
7521 7780
7522 7781
7782echo "$as_me:$LINENO: checking for socklen_t" >&5
7783echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
7784if test "${ac_cv_type_socklen_t+set}" = set; then
7785 echo $ECHO_N "(cached) $ECHO_C" >&6
7786else
7523 7787
7788 cat >conftest.$ac_ext <<_ACEOF
7789/* confdefs.h. */
7790_ACEOF
7791cat confdefs.h >>conftest.$ac_ext
7792cat >>conftest.$ac_ext <<_ACEOF
7793/* end confdefs.h. */
7794#include <sys/types.h>
7795 #include <sys/socket.h>
7796int
7797main ()
7798{
7799socklen_t len = 42; return len;
7800 ;
7801 return 0;
7802}
7803_ACEOF
7804rm -f conftest.$ac_objext
7805if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7806 (eval $ac_compile) 2>conftest.er1
7807 ac_status=$?
7808 grep -v '^ *+' conftest.er1 >conftest.err
7809 rm -f conftest.er1
7810 cat conftest.err >&5
7811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7812 (exit $ac_status); } &&
7813 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7815 (eval $ac_try) 2>&5
7816 ac_status=$?
7817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7818 (exit $ac_status); }; } &&
7819 { ac_try='test -s conftest.$ac_objext'
7820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7821 (eval $ac_try) 2>&5
7822 ac_status=$?
7823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7824 (exit $ac_status); }; }; then
7825 ac_cv_type_socklen_t=yes
7826else
7827 echo "$as_me: failed program was:" >&5
7828sed 's/^/| /' conftest.$ac_ext >&5
7524 7829
7525for ac_func in poll mlockall 7830ac_cv_type_socklen_t=no
7831fi
7832rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7833
7834fi
7835echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
7836echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
7837if test $ac_cv_type_socklen_t = yes; then
7838
7839cat >>confdefs.h <<\_ACEOF
7840#define HAVE_SOCKLEN_T 1
7841_ACEOF
7842
7843fi
7844
7845echo "$as_me:$LINENO: checking for struct addrinfo" >&5
7846echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
7847if test "${ac_cv_struct_addrinfo+set}" = set; then
7848 echo $ECHO_N "(cached) $ECHO_C" >&6
7849else
7850
7851 cat >conftest.$ac_ext <<_ACEOF
7852/* confdefs.h. */
7853_ACEOF
7854cat confdefs.h >>conftest.$ac_ext
7855cat >>conftest.$ac_ext <<_ACEOF
7856/* end confdefs.h. */
7857#include <sys/types.h>
7858 #include <sys/socket.h>
7859 #include <netdb.h>
7860int
7861main ()
7862{
7863struct addrinfo ai; ai.ai_family = AF_INET; return ai.ai_family;
7864 ;
7865 return 0;
7866}
7867_ACEOF
7868rm -f conftest.$ac_objext
7869if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7870 (eval $ac_compile) 2>conftest.er1
7871 ac_status=$?
7872 grep -v '^ *+' conftest.er1 >conftest.err
7873 rm -f conftest.er1
7874 cat conftest.err >&5
7875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7876 (exit $ac_status); } &&
7877 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7879 (eval $ac_try) 2>&5
7880 ac_status=$?
7881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7882 (exit $ac_status); }; } &&
7883 { ac_try='test -s conftest.$ac_objext'
7884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7885 (eval $ac_try) 2>&5
7886 ac_status=$?
7887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7888 (exit $ac_status); }; }; then
7889 ac_cv_struct_addrinfo=yes
7890else
7891 echo "$as_me: failed program was:" >&5
7892sed 's/^/| /' conftest.$ac_ext >&5
7893
7894ac_cv_struct_addrinfo=no
7895fi
7896rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7897
7898fi
7899echo "$as_me:$LINENO: result: $ac_cv_struct_addrinfo" >&5
7900echo "${ECHO_T}$ac_cv_struct_addrinfo" >&6
7901if test $ac_cv_struct_addrinfo = yes; then
7902
7903cat >>confdefs.h <<\_ACEOF
7904#define HAVE_STRUCT_ADDRINFO 1
7905_ACEOF
7906
7907fi
7908
7909echo "$as_me:$LINENO: checking return type of signal handlers" >&5
7910echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
7911if test "${ac_cv_type_signal+set}" = set; then
7912 echo $ECHO_N "(cached) $ECHO_C" >&6
7913else
7914 cat >conftest.$ac_ext <<_ACEOF
7915/* confdefs.h. */
7916_ACEOF
7917cat confdefs.h >>conftest.$ac_ext
7918cat >>conftest.$ac_ext <<_ACEOF
7919/* end confdefs.h. */
7920#include <sys/types.h>
7921#include <signal.h>
7922#ifdef signal
7923# undef signal
7924#endif
7925#ifdef __cplusplus
7926extern "C" void (*signal (int, void (*)(int)))(int);
7927#else
7928void (*signal ()) ();
7929#endif
7930
7931int
7932main ()
7933{
7934int i;
7935 ;
7936 return 0;
7937}
7938_ACEOF
7939rm -f conftest.$ac_objext
7940if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7941 (eval $ac_compile) 2>conftest.er1
7942 ac_status=$?
7943 grep -v '^ *+' conftest.er1 >conftest.err
7944 rm -f conftest.er1
7945 cat conftest.err >&5
7946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7947 (exit $ac_status); } &&
7948 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7950 (eval $ac_try) 2>&5
7951 ac_status=$?
7952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7953 (exit $ac_status); }; } &&
7954 { ac_try='test -s conftest.$ac_objext'
7955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7956 (eval $ac_try) 2>&5
7957 ac_status=$?
7958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7959 (exit $ac_status); }; }; then
7960 ac_cv_type_signal=void
7961else
7962 echo "$as_me: failed program was:" >&5
7963sed 's/^/| /' conftest.$ac_ext >&5
7964
7965ac_cv_type_signal=int
7966fi
7967rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7968fi
7969echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
7970echo "${ECHO_T}$ac_cv_type_signal" >&6
7971
7972cat >>confdefs.h <<_ACEOF
7973#define RETSIGTYPE $ac_cv_type_signal
7974_ACEOF
7975
7976
7977
7978ac_ext=c
7979ac_cpp='$CPP $CPPFLAGS'
7980ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7981ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7982ac_compiler_gnu=$ac_cv_c_compiler_gnu
7983
7984
7985echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7986echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7987if test "${ac_cv_header_stdc+set}" = set; then
7988 echo $ECHO_N "(cached) $ECHO_C" >&6
7989else
7990 cat >conftest.$ac_ext <<_ACEOF
7991/* confdefs.h. */
7992_ACEOF
7993cat confdefs.h >>conftest.$ac_ext
7994cat >>conftest.$ac_ext <<_ACEOF
7995/* end confdefs.h. */
7996#include <stdlib.h>
7997#include <stdarg.h>
7998#include <string.h>
7999#include <float.h>
8000
8001int
8002main ()
8003{
8004
8005 ;
8006 return 0;
8007}
8008_ACEOF
8009rm -f conftest.$ac_objext
8010if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8011 (eval $ac_compile) 2>conftest.er1
8012 ac_status=$?
8013 grep -v '^ *+' conftest.er1 >conftest.err
8014 rm -f conftest.er1
8015 cat conftest.err >&5
8016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8017 (exit $ac_status); } &&
8018 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8020 (eval $ac_try) 2>&5
8021 ac_status=$?
8022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8023 (exit $ac_status); }; } &&
8024 { ac_try='test -s conftest.$ac_objext'
8025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8026 (eval $ac_try) 2>&5
8027 ac_status=$?
8028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8029 (exit $ac_status); }; }; then
8030 ac_cv_header_stdc=yes
8031else
8032 echo "$as_me: failed program was:" >&5
8033sed 's/^/| /' conftest.$ac_ext >&5
8034
8035ac_cv_header_stdc=no
8036fi
8037rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8038
8039if test $ac_cv_header_stdc = yes; then
8040 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8041 cat >conftest.$ac_ext <<_ACEOF
8042/* confdefs.h. */
8043_ACEOF
8044cat confdefs.h >>conftest.$ac_ext
8045cat >>conftest.$ac_ext <<_ACEOF
8046/* end confdefs.h. */
8047#include <string.h>
8048
8049_ACEOF
8050if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8051 $EGREP "memchr" >/dev/null 2>&1; then
8052 :
8053else
8054 ac_cv_header_stdc=no
8055fi
8056rm -f conftest*
8057
8058fi
8059
8060if test $ac_cv_header_stdc = yes; then
8061 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8062 cat >conftest.$ac_ext <<_ACEOF
8063/* confdefs.h. */
8064_ACEOF
8065cat confdefs.h >>conftest.$ac_ext
8066cat >>conftest.$ac_ext <<_ACEOF
8067/* end confdefs.h. */
8068#include <stdlib.h>
8069
8070_ACEOF
8071if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8072 $EGREP "free" >/dev/null 2>&1; then
8073 :
8074else
8075 ac_cv_header_stdc=no
8076fi
8077rm -f conftest*
8078
8079fi
8080
8081if test $ac_cv_header_stdc = yes; then
8082 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8083 if test "$cross_compiling" = yes; then
8084 :
8085else
8086 cat >conftest.$ac_ext <<_ACEOF
8087/* confdefs.h. */
8088_ACEOF
8089cat confdefs.h >>conftest.$ac_ext
8090cat >>conftest.$ac_ext <<_ACEOF
8091/* end confdefs.h. */
8092#include <ctype.h>
8093#if ((' ' & 0x0FF) == 0x020)
8094# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8095# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8096#else
8097# define ISLOWER(c) \
8098 (('a' <= (c) && (c) <= 'i') \
8099 || ('j' <= (c) && (c) <= 'r') \
8100 || ('s' <= (c) && (c) <= 'z'))
8101# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8102#endif
8103
8104#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8105int
8106main ()
8107{
8108 int i;
8109 for (i = 0; i < 256; i++)
8110 if (XOR (islower (i), ISLOWER (i))
8111 || toupper (i) != TOUPPER (i))
8112 exit(2);
8113 exit (0);
8114}
8115_ACEOF
8116rm -f conftest$ac_exeext
8117if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8118 (eval $ac_link) 2>&5
8119 ac_status=$?
8120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8121 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8123 (eval $ac_try) 2>&5
8124 ac_status=$?
8125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8126 (exit $ac_status); }; }; then
8127 :
8128else
8129 echo "$as_me: program exited with status $ac_status" >&5
8130echo "$as_me: failed program was:" >&5
8131sed 's/^/| /' conftest.$ac_ext >&5
8132
8133( exit $ac_status )
8134ac_cv_header_stdc=no
8135fi
8136rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8137fi
8138fi
8139fi
8140echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8141echo "${ECHO_T}$ac_cv_header_stdc" >&6
8142if test $ac_cv_header_stdc = yes; then
8143
8144cat >>confdefs.h <<\_ACEOF
8145#define STDC_HEADERS 1
8146_ACEOF
8147
8148fi
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161for ac_func in asprintf daemon get_current_dir_name putenv select strerror strsignal strtol unsetenv mlockall
7526do 8162do
7527as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8163as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7528echo "$as_me:$LINENO: checking for $ac_func" >&5 8164echo "$as_me:$LINENO: checking for $ac_func" >&5
7529echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8165echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7530if eval "test \"\${$as_ac_var+set}\" = set"; then 8166if eval "test \"\${$as_ac_var+set}\" = set"; then
7531 echo $ECHO_N "(cached) $ECHO_C" >&6 8167 echo $ECHO_N "(cached) $ECHO_C" >&6
7532else 8168else
7533 cat >conftest.$ac_ext <<_ACEOF 8169 cat >conftest.$ac_ext <<_ACEOF
7534#line $LINENO "configure"
7535/* confdefs.h. */ 8170/* confdefs.h. */
7536_ACEOF 8171_ACEOF
7537cat confdefs.h >>conftest.$ac_ext 8172cat confdefs.h >>conftest.$ac_ext
7538cat >>conftest.$ac_ext <<_ACEOF 8173cat >>conftest.$ac_ext <<_ACEOF
7539/* end confdefs.h. */ 8174/* end confdefs.h. */
8175/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8176 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8177#define $ac_func innocuous_$ac_func
8178
7540/* System header to define __stub macros and hopefully few prototypes, 8179/* System header to define __stub macros and hopefully few prototypes,
7541 which can conflict with char $ac_func (); below. 8180 which can conflict with char $ac_func (); below.
7542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7543 <limits.h> exists even on freestanding compilers. */ 8182 <limits.h> exists even on freestanding compilers. */
8183
7544#ifdef __STDC__ 8184#ifdef __STDC__
7545# include <limits.h> 8185# include <limits.h>
7546#else 8186#else
7547# include <assert.h> 8187# include <assert.h>
7548#endif 8188#endif
8189
8190#undef $ac_func
8191
7549/* Override any gcc2 internal prototype to avoid an error. */ 8192/* Override any gcc2 internal prototype to avoid an error. */
7550#ifdef __cplusplus 8193#ifdef __cplusplus
7551extern "C" 8194extern "C"
7552{ 8195{
7553#endif 8196#endif
7574 return 0; 8217 return 0;
7575} 8218}
7576_ACEOF 8219_ACEOF
7577rm -f conftest.$ac_objext conftest$ac_exeext 8220rm -f conftest.$ac_objext conftest$ac_exeext
7578if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8221if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7579 (eval $ac_link) 2>&5 8222 (eval $ac_link) 2>conftest.er1
7580 ac_status=$? 8223 ac_status=$?
8224 grep -v '^ *+' conftest.er1 >conftest.err
8225 rm -f conftest.er1
8226 cat conftest.err >&5
7581 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7582 (exit $ac_status); } && 8228 (exit $ac_status); } &&
7583 { ac_try='test -s conftest$ac_exeext' 8229 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7585 (eval $ac_try) 2>&5 8231 (eval $ac_try) 2>&5
7586 ac_status=$? 8232 ac_status=$?
7587 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8234 (exit $ac_status); }; } &&
8235 { ac_try='test -s conftest$ac_exeext'
8236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8237 (eval $ac_try) 2>&5
8238 ac_status=$?
8239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7588 (exit $ac_status); }; }; then 8240 (exit $ac_status); }; }; then
7589 eval "$as_ac_var=yes" 8241 eval "$as_ac_var=yes"
7590else 8242else
7591 echo "$as_me: failed program was:" >&5 8243 echo "$as_me: failed program was:" >&5
7592sed 's/^/| /' conftest.$ac_ext >&5 8244sed 's/^/| /' conftest.$ac_ext >&5
7593 8245
7594eval "$as_ac_var=no" 8246eval "$as_ac_var=no"
7595fi 8247fi
7596rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7597fi
7598echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7599echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7600if test `eval echo '${'$as_ac_var'}'` = yes; then
7601 cat >>confdefs.h <<_ACEOF
7602#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7603_ACEOF
7604
7605fi
7606done
7607
7608
7609echo "$as_me:$LINENO: checking for socklen_t" >&5
7610echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
7611if test "${ac_cv_type_socklen_t+set}" = set; then
7612 echo $ECHO_N "(cached) $ECHO_C" >&6
7613else
7614
7615 cat >conftest.$ac_ext <<_ACEOF
7616#line $LINENO "configure"
7617/* confdefs.h. */
7618_ACEOF
7619cat confdefs.h >>conftest.$ac_ext
7620cat >>conftest.$ac_ext <<_ACEOF
7621/* end confdefs.h. */
7622#include <sys/types.h>
7623 #include <sys/socket.h>
7624int
7625main ()
7626{
7627socklen_t len = 42; return len;
7628 ;
7629 return 0;
7630}
7631_ACEOF
7632rm -f conftest.$ac_objext 8248rm -f conftest.err conftest.$ac_objext \
7633if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7634 (eval $ac_compile) 2>&5
7635 ac_status=$?
7636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7637 (exit $ac_status); } &&
7638 { ac_try='test -s conftest.$ac_objext'
7639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7640 (eval $ac_try) 2>&5
7641 ac_status=$?
7642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7643 (exit $ac_status); }; }; then
7644 ac_cv_type_socklen_t=yes
7645else
7646 echo "$as_me: failed program was:" >&5
7647sed 's/^/| /' conftest.$ac_ext >&5
7648
7649ac_cv_type_socklen_t=no
7650fi
7651rm -f conftest.$ac_objext conftest.$ac_ext 8249 conftest$ac_exeext conftest.$ac_ext
7652
7653fi
7654echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
7655echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
7656if test $ac_cv_type_socklen_t = yes; then
7657
7658cat >>confdefs.h <<\_ACEOF
7659#define HAVE_SOCKLEN_T 1
7660_ACEOF
7661
7662fi
7663
7664echo "$as_me:$LINENO: checking for struct addrinfo" >&5
7665echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
7666if test "${ac_cv_struct_addrinfo+set}" = set; then
7667 echo $ECHO_N "(cached) $ECHO_C" >&6
7668else
7669
7670 cat >conftest.$ac_ext <<_ACEOF
7671#line $LINENO "configure"
7672/* confdefs.h. */
7673_ACEOF
7674cat confdefs.h >>conftest.$ac_ext
7675cat >>conftest.$ac_ext <<_ACEOF
7676/* end confdefs.h. */
7677#include <sys/types.h>
7678 #include <sys/socket.h>
7679 #include <netdb.h>
7680int
7681main ()
7682{
7683struct addrinfo ai; ai.ai_family = AF_INET; return ai.ai_family;
7684 ;
7685 return 0;
7686}
7687_ACEOF
7688rm -f conftest.$ac_objext
7689if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7690 (eval $ac_compile) 2>&5
7691 ac_status=$?
7692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7693 (exit $ac_status); } &&
7694 { ac_try='test -s conftest.$ac_objext'
7695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7696 (eval $ac_try) 2>&5
7697 ac_status=$?
7698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7699 (exit $ac_status); }; }; then
7700 ac_cv_struct_addrinfo=yes
7701else
7702 echo "$as_me: failed program was:" >&5
7703sed 's/^/| /' conftest.$ac_ext >&5
7704
7705ac_cv_struct_addrinfo=no
7706fi
7707rm -f conftest.$ac_objext conftest.$ac_ext
7708
7709fi
7710echo "$as_me:$LINENO: result: $ac_cv_struct_addrinfo" >&5
7711echo "${ECHO_T}$ac_cv_struct_addrinfo" >&6
7712if test $ac_cv_struct_addrinfo = yes; then
7713
7714cat >>confdefs.h <<\_ACEOF
7715#define HAVE_STRUCT_ADDRINFO 1
7716_ACEOF
7717
7718fi
7719
7720echo "$as_me:$LINENO: checking return type of signal handlers" >&5
7721echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
7722if test "${ac_cv_type_signal+set}" = set; then
7723 echo $ECHO_N "(cached) $ECHO_C" >&6
7724else
7725 cat >conftest.$ac_ext <<_ACEOF
7726#line $LINENO "configure"
7727/* confdefs.h. */
7728_ACEOF
7729cat confdefs.h >>conftest.$ac_ext
7730cat >>conftest.$ac_ext <<_ACEOF
7731/* end confdefs.h. */
7732#include <sys/types.h>
7733#include <signal.h>
7734#ifdef signal
7735# undef signal
7736#endif
7737#ifdef __cplusplus
7738extern "C" void (*signal (int, void (*)(int)))(int);
7739#else
7740void (*signal ()) ();
7741#endif
7742
7743int
7744main ()
7745{
7746int i;
7747 ;
7748 return 0;
7749}
7750_ACEOF
7751rm -f conftest.$ac_objext
7752if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7753 (eval $ac_compile) 2>&5
7754 ac_status=$?
7755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7756 (exit $ac_status); } &&
7757 { ac_try='test -s conftest.$ac_objext'
7758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7759 (eval $ac_try) 2>&5
7760 ac_status=$?
7761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7762 (exit $ac_status); }; }; then
7763 ac_cv_type_signal=void
7764else
7765 echo "$as_me: failed program was:" >&5
7766sed 's/^/| /' conftest.$ac_ext >&5
7767
7768ac_cv_type_signal=int
7769fi
7770rm -f conftest.$ac_objext conftest.$ac_ext
7771fi
7772echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
7773echo "${ECHO_T}$ac_cv_type_signal" >&6
7774
7775cat >>confdefs.h <<_ACEOF
7776#define RETSIGTYPE $ac_cv_type_signal
7777_ACEOF
7778
7779
7780
7781ac_ext=c
7782ac_cpp='$CPP $CPPFLAGS'
7783ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7784ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7785ac_compiler_gnu=$ac_cv_c_compiler_gnu
7786
7787
7788echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7789echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7790if test "${ac_cv_header_stdc+set}" = set; then
7791 echo $ECHO_N "(cached) $ECHO_C" >&6
7792else
7793 cat >conftest.$ac_ext <<_ACEOF
7794#line $LINENO "configure"
7795/* confdefs.h. */
7796_ACEOF
7797cat confdefs.h >>conftest.$ac_ext
7798cat >>conftest.$ac_ext <<_ACEOF
7799/* end confdefs.h. */
7800#include <stdlib.h>
7801#include <stdarg.h>
7802#include <string.h>
7803#include <float.h>
7804
7805int
7806main ()
7807{
7808
7809 ;
7810 return 0;
7811}
7812_ACEOF
7813rm -f conftest.$ac_objext
7814if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7815 (eval $ac_compile) 2>&5
7816 ac_status=$?
7817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7818 (exit $ac_status); } &&
7819 { ac_try='test -s conftest.$ac_objext'
7820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7821 (eval $ac_try) 2>&5
7822 ac_status=$?
7823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7824 (exit $ac_status); }; }; then
7825 ac_cv_header_stdc=yes
7826else
7827 echo "$as_me: failed program was:" >&5
7828sed 's/^/| /' conftest.$ac_ext >&5
7829
7830ac_cv_header_stdc=no
7831fi
7832rm -f conftest.$ac_objext conftest.$ac_ext
7833
7834if test $ac_cv_header_stdc = yes; then
7835 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7836 cat >conftest.$ac_ext <<_ACEOF
7837#line $LINENO "configure"
7838/* confdefs.h. */
7839_ACEOF
7840cat confdefs.h >>conftest.$ac_ext
7841cat >>conftest.$ac_ext <<_ACEOF
7842/* end confdefs.h. */
7843#include <string.h>
7844
7845_ACEOF
7846if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7847 $EGREP "memchr" >/dev/null 2>&1; then
7848 :
7849else
7850 ac_cv_header_stdc=no
7851fi
7852rm -f conftest*
7853
7854fi
7855
7856if test $ac_cv_header_stdc = yes; then
7857 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7858 cat >conftest.$ac_ext <<_ACEOF
7859#line $LINENO "configure"
7860/* confdefs.h. */
7861_ACEOF
7862cat confdefs.h >>conftest.$ac_ext
7863cat >>conftest.$ac_ext <<_ACEOF
7864/* end confdefs.h. */
7865#include <stdlib.h>
7866
7867_ACEOF
7868if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7869 $EGREP "free" >/dev/null 2>&1; then
7870 :
7871else
7872 ac_cv_header_stdc=no
7873fi
7874rm -f conftest*
7875
7876fi
7877
7878if test $ac_cv_header_stdc = yes; then
7879 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7880 if test "$cross_compiling" = yes; then
7881 :
7882else
7883 cat >conftest.$ac_ext <<_ACEOF
7884#line $LINENO "configure"
7885/* confdefs.h. */
7886_ACEOF
7887cat confdefs.h >>conftest.$ac_ext
7888cat >>conftest.$ac_ext <<_ACEOF
7889/* end confdefs.h. */
7890#include <ctype.h>
7891#if ((' ' & 0x0FF) == 0x020)
7892# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7893# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7894#else
7895# define ISLOWER(c) \
7896 (('a' <= (c) && (c) <= 'i') \
7897 || ('j' <= (c) && (c) <= 'r') \
7898 || ('s' <= (c) && (c) <= 'z'))
7899# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7900#endif
7901
7902#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7903int
7904main ()
7905{
7906 int i;
7907 for (i = 0; i < 256; i++)
7908 if (XOR (islower (i), ISLOWER (i))
7909 || toupper (i) != TOUPPER (i))
7910 exit(2);
7911 exit (0);
7912}
7913_ACEOF
7914rm -f conftest$ac_exeext
7915if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7916 (eval $ac_link) 2>&5
7917 ac_status=$?
7918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7919 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7921 (eval $ac_try) 2>&5
7922 ac_status=$?
7923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7924 (exit $ac_status); }; }; then
7925 :
7926else
7927 echo "$as_me: program exited with status $ac_status" >&5
7928echo "$as_me: failed program was:" >&5
7929sed 's/^/| /' conftest.$ac_ext >&5
7930
7931( exit $ac_status )
7932ac_cv_header_stdc=no
7933fi
7934rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7935fi
7936fi
7937fi
7938echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7939echo "${ECHO_T}$ac_cv_header_stdc" >&6
7940if test $ac_cv_header_stdc = yes; then
7941
7942cat >>confdefs.h <<\_ACEOF
7943#define STDC_HEADERS 1
7944_ACEOF
7945
7946fi
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959for ac_func in asprintf daemon get_current_dir_name putenv select strerror strsignal strtol unsetenv mlockall
7960do
7961as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7962echo "$as_me:$LINENO: checking for $ac_func" >&5
7963echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7964if eval "test \"\${$as_ac_var+set}\" = set"; then
7965 echo $ECHO_N "(cached) $ECHO_C" >&6
7966else
7967 cat >conftest.$ac_ext <<_ACEOF
7968#line $LINENO "configure"
7969/* confdefs.h. */
7970_ACEOF
7971cat confdefs.h >>conftest.$ac_ext
7972cat >>conftest.$ac_ext <<_ACEOF
7973/* end confdefs.h. */
7974/* System header to define __stub macros and hopefully few prototypes,
7975 which can conflict with char $ac_func (); below.
7976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7977 <limits.h> exists even on freestanding compilers. */
7978#ifdef __STDC__
7979# include <limits.h>
7980#else
7981# include <assert.h>
7982#endif
7983/* Override any gcc2 internal prototype to avoid an error. */
7984#ifdef __cplusplus
7985extern "C"
7986{
7987#endif
7988/* We use char because int might match the return type of a gcc2
7989 builtin and then its argument prototype would still apply. */
7990char $ac_func ();
7991/* The GNU C library defines this for functions which it implements
7992 to always fail with ENOSYS. Some functions are actually named
7993 something starting with __ and the normal name is an alias. */
7994#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7995choke me
7996#else
7997char (*f) () = $ac_func;
7998#endif
7999#ifdef __cplusplus
8000}
8001#endif
8002
8003int
8004main ()
8005{
8006return f != $ac_func;
8007 ;
8008 return 0;
8009}
8010_ACEOF
8011rm -f conftest.$ac_objext conftest$ac_exeext
8012if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8013 (eval $ac_link) 2>&5
8014 ac_status=$?
8015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8016 (exit $ac_status); } &&
8017 { ac_try='test -s conftest$ac_exeext'
8018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8019 (eval $ac_try) 2>&5
8020 ac_status=$?
8021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8022 (exit $ac_status); }; }; then
8023 eval "$as_ac_var=yes"
8024else
8025 echo "$as_me: failed program was:" >&5
8026sed 's/^/| /' conftest.$ac_ext >&5
8027
8028eval "$as_ac_var=no"
8029fi
8030rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8031fi 8250fi
8032echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 8251echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8033echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8252echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8034if test `eval echo '${'$as_ac_var'}'` = yes; then 8253if test `eval echo '${'$as_ac_var'}'` = yes; then
8035 cat >>confdefs.h <<_ACEOF 8254 cat >>confdefs.h <<_ACEOF
8046echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 8265echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
8047if test "${ac_cv_working_alloca_h+set}" = set; then 8266if test "${ac_cv_working_alloca_h+set}" = set; then
8048 echo $ECHO_N "(cached) $ECHO_C" >&6 8267 echo $ECHO_N "(cached) $ECHO_C" >&6
8049else 8268else
8050 cat >conftest.$ac_ext <<_ACEOF 8269 cat >conftest.$ac_ext <<_ACEOF
8051#line $LINENO "configure"
8052/* confdefs.h. */ 8270/* confdefs.h. */
8053_ACEOF 8271_ACEOF
8054cat confdefs.h >>conftest.$ac_ext 8272cat confdefs.h >>conftest.$ac_ext
8055cat >>conftest.$ac_ext <<_ACEOF 8273cat >>conftest.$ac_ext <<_ACEOF
8056/* end confdefs.h. */ 8274/* end confdefs.h. */
8063 return 0; 8281 return 0;
8064} 8282}
8065_ACEOF 8283_ACEOF
8066rm -f conftest.$ac_objext conftest$ac_exeext 8284rm -f conftest.$ac_objext conftest$ac_exeext
8067if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8285if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8068 (eval $ac_link) 2>&5 8286 (eval $ac_link) 2>conftest.er1
8069 ac_status=$? 8287 ac_status=$?
8288 grep -v '^ *+' conftest.er1 >conftest.err
8289 rm -f conftest.er1
8290 cat conftest.err >&5
8070 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8071 (exit $ac_status); } && 8292 (exit $ac_status); } &&
8072 { ac_try='test -s conftest$ac_exeext' 8293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8074 (eval $ac_try) 2>&5 8295 (eval $ac_try) 2>&5
8075 ac_status=$? 8296 ac_status=$?
8076 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8298 (exit $ac_status); }; } &&
8299 { ac_try='test -s conftest$ac_exeext'
8300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8301 (eval $ac_try) 2>&5
8302 ac_status=$?
8303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8077 (exit $ac_status); }; }; then 8304 (exit $ac_status); }; }; then
8078 ac_cv_working_alloca_h=yes 8305 ac_cv_working_alloca_h=yes
8079else 8306else
8080 echo "$as_me: failed program was:" >&5 8307 echo "$as_me: failed program was:" >&5
8081sed 's/^/| /' conftest.$ac_ext >&5 8308sed 's/^/| /' conftest.$ac_ext >&5
8082 8309
8083ac_cv_working_alloca_h=no 8310ac_cv_working_alloca_h=no
8084fi 8311fi
8085rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8312rm -f conftest.err conftest.$ac_objext \
8313 conftest$ac_exeext conftest.$ac_ext
8086fi 8314fi
8087echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 8315echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
8088echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 8316echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
8089if test $ac_cv_working_alloca_h = yes; then 8317if test $ac_cv_working_alloca_h = yes; then
8090 8318
8098echo $ECHO_N "checking for alloca... $ECHO_C" >&6 8326echo $ECHO_N "checking for alloca... $ECHO_C" >&6
8099if test "${ac_cv_func_alloca_works+set}" = set; then 8327if test "${ac_cv_func_alloca_works+set}" = set; then
8100 echo $ECHO_N "(cached) $ECHO_C" >&6 8328 echo $ECHO_N "(cached) $ECHO_C" >&6
8101else 8329else
8102 cat >conftest.$ac_ext <<_ACEOF 8330 cat >conftest.$ac_ext <<_ACEOF
8103#line $LINENO "configure"
8104/* confdefs.h. */ 8331/* confdefs.h. */
8105_ACEOF 8332_ACEOF
8106cat confdefs.h >>conftest.$ac_ext 8333cat confdefs.h >>conftest.$ac_ext
8107cat >>conftest.$ac_ext <<_ACEOF 8334cat >>conftest.$ac_ext <<_ACEOF
8108/* end confdefs.h. */ 8335/* end confdefs.h. */
8135 return 0; 8362 return 0;
8136} 8363}
8137_ACEOF 8364_ACEOF
8138rm -f conftest.$ac_objext conftest$ac_exeext 8365rm -f conftest.$ac_objext conftest$ac_exeext
8139if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8366if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8140 (eval $ac_link) 2>&5 8367 (eval $ac_link) 2>conftest.er1
8141 ac_status=$? 8368 ac_status=$?
8369 grep -v '^ *+' conftest.er1 >conftest.err
8370 rm -f conftest.er1
8371 cat conftest.err >&5
8142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8143 (exit $ac_status); } && 8373 (exit $ac_status); } &&
8144 { ac_try='test -s conftest$ac_exeext' 8374 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8146 (eval $ac_try) 2>&5 8376 (eval $ac_try) 2>&5
8147 ac_status=$? 8377 ac_status=$?
8148 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8379 (exit $ac_status); }; } &&
8380 { ac_try='test -s conftest$ac_exeext'
8381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8382 (eval $ac_try) 2>&5
8383 ac_status=$?
8384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8149 (exit $ac_status); }; }; then 8385 (exit $ac_status); }; }; then
8150 ac_cv_func_alloca_works=yes 8386 ac_cv_func_alloca_works=yes
8151else 8387else
8152 echo "$as_me: failed program was:" >&5 8388 echo "$as_me: failed program was:" >&5
8153sed 's/^/| /' conftest.$ac_ext >&5 8389sed 's/^/| /' conftest.$ac_ext >&5
8154 8390
8155ac_cv_func_alloca_works=no 8391ac_cv_func_alloca_works=no
8156fi 8392fi
8157rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8393rm -f conftest.err conftest.$ac_objext \
8394 conftest$ac_exeext conftest.$ac_ext
8158fi 8395fi
8159echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 8396echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
8160echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 8397echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
8161 8398
8162if test $ac_cv_func_alloca_works = yes; then 8399if test $ac_cv_func_alloca_works = yes; then
8182echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 8419echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
8183if test "${ac_cv_os_cray+set}" = set; then 8420if test "${ac_cv_os_cray+set}" = set; then
8184 echo $ECHO_N "(cached) $ECHO_C" >&6 8421 echo $ECHO_N "(cached) $ECHO_C" >&6
8185else 8422else
8186 cat >conftest.$ac_ext <<_ACEOF 8423 cat >conftest.$ac_ext <<_ACEOF
8187#line $LINENO "configure"
8188/* confdefs.h. */ 8424/* confdefs.h. */
8189_ACEOF 8425_ACEOF
8190cat confdefs.h >>conftest.$ac_ext 8426cat confdefs.h >>conftest.$ac_ext
8191cat >>conftest.$ac_ext <<_ACEOF 8427cat >>conftest.$ac_ext <<_ACEOF
8192/* end confdefs.h. */ 8428/* end confdefs.h. */
8215echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8451echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8216if eval "test \"\${$as_ac_var+set}\" = set"; then 8452if eval "test \"\${$as_ac_var+set}\" = set"; then
8217 echo $ECHO_N "(cached) $ECHO_C" >&6 8453 echo $ECHO_N "(cached) $ECHO_C" >&6
8218else 8454else
8219 cat >conftest.$ac_ext <<_ACEOF 8455 cat >conftest.$ac_ext <<_ACEOF
8220#line $LINENO "configure"
8221/* confdefs.h. */ 8456/* confdefs.h. */
8222_ACEOF 8457_ACEOF
8223cat confdefs.h >>conftest.$ac_ext 8458cat confdefs.h >>conftest.$ac_ext
8224cat >>conftest.$ac_ext <<_ACEOF 8459cat >>conftest.$ac_ext <<_ACEOF
8225/* end confdefs.h. */ 8460/* end confdefs.h. */
8461/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8463#define $ac_func innocuous_$ac_func
8464
8226/* System header to define __stub macros and hopefully few prototypes, 8465/* System header to define __stub macros and hopefully few prototypes,
8227 which can conflict with char $ac_func (); below. 8466 which can conflict with char $ac_func (); below.
8228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8229 <limits.h> exists even on freestanding compilers. */ 8468 <limits.h> exists even on freestanding compilers. */
8469
8230#ifdef __STDC__ 8470#ifdef __STDC__
8231# include <limits.h> 8471# include <limits.h>
8232#else 8472#else
8233# include <assert.h> 8473# include <assert.h>
8234#endif 8474#endif
8475
8476#undef $ac_func
8477
8235/* Override any gcc2 internal prototype to avoid an error. */ 8478/* Override any gcc2 internal prototype to avoid an error. */
8236#ifdef __cplusplus 8479#ifdef __cplusplus
8237extern "C" 8480extern "C"
8238{ 8481{
8239#endif 8482#endif
8260 return 0; 8503 return 0;
8261} 8504}
8262_ACEOF 8505_ACEOF
8263rm -f conftest.$ac_objext conftest$ac_exeext 8506rm -f conftest.$ac_objext conftest$ac_exeext
8264if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8507if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8265 (eval $ac_link) 2>&5 8508 (eval $ac_link) 2>conftest.er1
8266 ac_status=$? 8509 ac_status=$?
8510 grep -v '^ *+' conftest.er1 >conftest.err
8511 rm -f conftest.er1
8512 cat conftest.err >&5
8267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8268 (exit $ac_status); } && 8514 (exit $ac_status); } &&
8269 { ac_try='test -s conftest$ac_exeext' 8515 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8271 (eval $ac_try) 2>&5 8517 (eval $ac_try) 2>&5
8272 ac_status=$? 8518 ac_status=$?
8273 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8520 (exit $ac_status); }; } &&
8521 { ac_try='test -s conftest$ac_exeext'
8522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8523 (eval $ac_try) 2>&5
8524 ac_status=$?
8525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8274 (exit $ac_status); }; }; then 8526 (exit $ac_status); }; }; then
8275 eval "$as_ac_var=yes" 8527 eval "$as_ac_var=yes"
8276else 8528else
8277 echo "$as_me: failed program was:" >&5 8529 echo "$as_me: failed program was:" >&5
8278sed 's/^/| /' conftest.$ac_ext >&5 8530sed 's/^/| /' conftest.$ac_ext >&5
8279 8531
8280eval "$as_ac_var=no" 8532eval "$as_ac_var=no"
8281fi 8533fi
8282rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8534rm -f conftest.err conftest.$ac_objext \
8535 conftest$ac_exeext conftest.$ac_ext
8283fi 8536fi
8284echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 8537echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8285echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8538echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8286if test `eval echo '${'$as_ac_var'}'` = yes; then 8539if test `eval echo '${'$as_ac_var'}'` = yes; then
8287 8540
8302else 8555else
8303 if test "$cross_compiling" = yes; then 8556 if test "$cross_compiling" = yes; then
8304 ac_cv_c_stack_direction=0 8557 ac_cv_c_stack_direction=0
8305else 8558else
8306 cat >conftest.$ac_ext <<_ACEOF 8559 cat >conftest.$ac_ext <<_ACEOF
8307#line $LINENO "configure"
8308/* confdefs.h. */ 8560/* confdefs.h. */
8309_ACEOF 8561_ACEOF
8310cat confdefs.h >>conftest.$ac_ext 8562cat confdefs.h >>conftest.$ac_ext
8311cat >>conftest.$ac_ext <<_ACEOF 8563cat >>conftest.$ac_ext <<_ACEOF
8312/* end confdefs.h. */ 8564/* end confdefs.h. */
8369echo $ECHO_N "checking for socket... $ECHO_C" >&6 8621echo $ECHO_N "checking for socket... $ECHO_C" >&6
8370if test "${ac_cv_func_socket+set}" = set; then 8622if test "${ac_cv_func_socket+set}" = set; then
8371 echo $ECHO_N "(cached) $ECHO_C" >&6 8623 echo $ECHO_N "(cached) $ECHO_C" >&6
8372else 8624else
8373 cat >conftest.$ac_ext <<_ACEOF 8625 cat >conftest.$ac_ext <<_ACEOF
8374#line $LINENO "configure"
8375/* confdefs.h. */ 8626/* confdefs.h. */
8376_ACEOF 8627_ACEOF
8377cat confdefs.h >>conftest.$ac_ext 8628cat confdefs.h >>conftest.$ac_ext
8378cat >>conftest.$ac_ext <<_ACEOF 8629cat >>conftest.$ac_ext <<_ACEOF
8379/* end confdefs.h. */ 8630/* end confdefs.h. */
8631/* Define socket to an innocuous variant, in case <limits.h> declares socket.
8632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8633#define socket innocuous_socket
8634
8380/* System header to define __stub macros and hopefully few prototypes, 8635/* System header to define __stub macros and hopefully few prototypes,
8381 which can conflict with char socket (); below. 8636 which can conflict with char socket (); below.
8382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8383 <limits.h> exists even on freestanding compilers. */ 8638 <limits.h> exists even on freestanding compilers. */
8639
8384#ifdef __STDC__ 8640#ifdef __STDC__
8385# include <limits.h> 8641# include <limits.h>
8386#else 8642#else
8387# include <assert.h> 8643# include <assert.h>
8388#endif 8644#endif
8645
8646#undef socket
8647
8389/* Override any gcc2 internal prototype to avoid an error. */ 8648/* Override any gcc2 internal prototype to avoid an error. */
8390#ifdef __cplusplus 8649#ifdef __cplusplus
8391extern "C" 8650extern "C"
8392{ 8651{
8393#endif 8652#endif
8414 return 0; 8673 return 0;
8415} 8674}
8416_ACEOF 8675_ACEOF
8417rm -f conftest.$ac_objext conftest$ac_exeext 8676rm -f conftest.$ac_objext conftest$ac_exeext
8418if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8677if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8419 (eval $ac_link) 2>&5 8678 (eval $ac_link) 2>conftest.er1
8420 ac_status=$? 8679 ac_status=$?
8680 grep -v '^ *+' conftest.er1 >conftest.err
8681 rm -f conftest.er1
8682 cat conftest.err >&5
8421 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8422 (exit $ac_status); } && 8684 (exit $ac_status); } &&
8423 { ac_try='test -s conftest$ac_exeext' 8685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8425 (eval $ac_try) 2>&5 8687 (eval $ac_try) 2>&5
8426 ac_status=$? 8688 ac_status=$?
8427 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8690 (exit $ac_status); }; } &&
8691 { ac_try='test -s conftest$ac_exeext'
8692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8693 (eval $ac_try) 2>&5
8694 ac_status=$?
8695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8428 (exit $ac_status); }; }; then 8696 (exit $ac_status); }; }; then
8429 ac_cv_func_socket=yes 8697 ac_cv_func_socket=yes
8430else 8698else
8431 echo "$as_me: failed program was:" >&5 8699 echo "$as_me: failed program was:" >&5
8432sed 's/^/| /' conftest.$ac_ext >&5 8700sed 's/^/| /' conftest.$ac_ext >&5
8433 8701
8434ac_cv_func_socket=no 8702ac_cv_func_socket=no
8435fi 8703fi
8436rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8704rm -f conftest.err conftest.$ac_objext \
8705 conftest$ac_exeext conftest.$ac_ext
8437fi 8706fi
8438echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 8707echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
8439echo "${ECHO_T}$ac_cv_func_socket" >&6 8708echo "${ECHO_T}$ac_cv_func_socket" >&6
8440if test $ac_cv_func_socket = yes; then 8709if test $ac_cv_func_socket = yes; then
8441 : 8710 :
8448 echo $ECHO_N "(cached) $ECHO_C" >&6 8717 echo $ECHO_N "(cached) $ECHO_C" >&6
8449else 8718else
8450 ac_check_lib_save_LIBS=$LIBS 8719 ac_check_lib_save_LIBS=$LIBS
8451LIBS="-lsocket $LIBS" 8720LIBS="-lsocket $LIBS"
8452cat >conftest.$ac_ext <<_ACEOF 8721cat >conftest.$ac_ext <<_ACEOF
8453#line $LINENO "configure"
8454/* confdefs.h. */ 8722/* confdefs.h. */
8455_ACEOF 8723_ACEOF
8456cat confdefs.h >>conftest.$ac_ext 8724cat confdefs.h >>conftest.$ac_ext
8457cat >>conftest.$ac_ext <<_ACEOF 8725cat >>conftest.$ac_ext <<_ACEOF
8458/* end confdefs.h. */ 8726/* end confdefs.h. */
8472 return 0; 8740 return 0;
8473} 8741}
8474_ACEOF 8742_ACEOF
8475rm -f conftest.$ac_objext conftest$ac_exeext 8743rm -f conftest.$ac_objext conftest$ac_exeext
8476if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8744if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8477 (eval $ac_link) 2>&5 8745 (eval $ac_link) 2>conftest.er1
8478 ac_status=$? 8746 ac_status=$?
8747 grep -v '^ *+' conftest.er1 >conftest.err
8748 rm -f conftest.er1
8749 cat conftest.err >&5
8479 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8480 (exit $ac_status); } && 8751 (exit $ac_status); } &&
8481 { ac_try='test -s conftest$ac_exeext' 8752 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8483 (eval $ac_try) 2>&5 8754 (eval $ac_try) 2>&5
8484 ac_status=$? 8755 ac_status=$?
8485 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8757 (exit $ac_status); }; } &&
8758 { ac_try='test -s conftest$ac_exeext'
8759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8760 (eval $ac_try) 2>&5
8761 ac_status=$?
8762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8486 (exit $ac_status); }; }; then 8763 (exit $ac_status); }; }; then
8487 ac_cv_lib_socket_connect=yes 8764 ac_cv_lib_socket_connect=yes
8488else 8765else
8489 echo "$as_me: failed program was:" >&5 8766 echo "$as_me: failed program was:" >&5
8490sed 's/^/| /' conftest.$ac_ext >&5 8767sed 's/^/| /' conftest.$ac_ext >&5
8491 8768
8492ac_cv_lib_socket_connect=no 8769ac_cv_lib_socket_connect=no
8493fi 8770fi
8494rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8771rm -f conftest.err conftest.$ac_objext \
8772 conftest$ac_exeext conftest.$ac_ext
8495LIBS=$ac_check_lib_save_LIBS 8773LIBS=$ac_check_lib_save_LIBS
8496fi 8774fi
8497echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 8775echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
8498echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6 8776echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
8499if test $ac_cv_lib_socket_connect = yes; then 8777if test $ac_cv_lib_socket_connect = yes; then
8512echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 8790echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
8513if test "${ac_cv_func_gethostbyname+set}" = set; then 8791if test "${ac_cv_func_gethostbyname+set}" = set; then
8514 echo $ECHO_N "(cached) $ECHO_C" >&6 8792 echo $ECHO_N "(cached) $ECHO_C" >&6
8515else 8793else
8516 cat >conftest.$ac_ext <<_ACEOF 8794 cat >conftest.$ac_ext <<_ACEOF
8517#line $LINENO "configure"
8518/* confdefs.h. */ 8795/* confdefs.h. */
8519_ACEOF 8796_ACEOF
8520cat confdefs.h >>conftest.$ac_ext 8797cat confdefs.h >>conftest.$ac_ext
8521cat >>conftest.$ac_ext <<_ACEOF 8798cat >>conftest.$ac_ext <<_ACEOF
8522/* end confdefs.h. */ 8799/* end confdefs.h. */
8800/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
8801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8802#define gethostbyname innocuous_gethostbyname
8803
8523/* System header to define __stub macros and hopefully few prototypes, 8804/* System header to define __stub macros and hopefully few prototypes,
8524 which can conflict with char gethostbyname (); below. 8805 which can conflict with char gethostbyname (); below.
8525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8526 <limits.h> exists even on freestanding compilers. */ 8807 <limits.h> exists even on freestanding compilers. */
8808
8527#ifdef __STDC__ 8809#ifdef __STDC__
8528# include <limits.h> 8810# include <limits.h>
8529#else 8811#else
8530# include <assert.h> 8812# include <assert.h>
8531#endif 8813#endif
8814
8815#undef gethostbyname
8816
8532/* Override any gcc2 internal prototype to avoid an error. */ 8817/* Override any gcc2 internal prototype to avoid an error. */
8533#ifdef __cplusplus 8818#ifdef __cplusplus
8534extern "C" 8819extern "C"
8535{ 8820{
8536#endif 8821#endif
8557 return 0; 8842 return 0;
8558} 8843}
8559_ACEOF 8844_ACEOF
8560rm -f conftest.$ac_objext conftest$ac_exeext 8845rm -f conftest.$ac_objext conftest$ac_exeext
8561if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8846if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8562 (eval $ac_link) 2>&5 8847 (eval $ac_link) 2>conftest.er1
8563 ac_status=$? 8848 ac_status=$?
8849 grep -v '^ *+' conftest.er1 >conftest.err
8850 rm -f conftest.er1
8851 cat conftest.err >&5
8564 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8565 (exit $ac_status); } && 8853 (exit $ac_status); } &&
8566 { ac_try='test -s conftest$ac_exeext' 8854 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8568 (eval $ac_try) 2>&5 8856 (eval $ac_try) 2>&5
8569 ac_status=$? 8857 ac_status=$?
8570 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8859 (exit $ac_status); }; } &&
8860 { ac_try='test -s conftest$ac_exeext'
8861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8862 (eval $ac_try) 2>&5
8863 ac_status=$?
8864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8571 (exit $ac_status); }; }; then 8865 (exit $ac_status); }; }; then
8572 ac_cv_func_gethostbyname=yes 8866 ac_cv_func_gethostbyname=yes
8573else 8867else
8574 echo "$as_me: failed program was:" >&5 8868 echo "$as_me: failed program was:" >&5
8575sed 's/^/| /' conftest.$ac_ext >&5 8869sed 's/^/| /' conftest.$ac_ext >&5
8576 8870
8577ac_cv_func_gethostbyname=no 8871ac_cv_func_gethostbyname=no
8578fi 8872fi
8579rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8873rm -f conftest.err conftest.$ac_objext \
8874 conftest$ac_exeext conftest.$ac_ext
8580fi 8875fi
8581echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 8876echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
8582echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 8877echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
8583if test $ac_cv_func_gethostbyname = yes; then 8878if test $ac_cv_func_gethostbyname = yes; then
8584 : 8879 :
8591 echo $ECHO_N "(cached) $ECHO_C" >&6 8886 echo $ECHO_N "(cached) $ECHO_C" >&6
8592else 8887else
8593 ac_check_lib_save_LIBS=$LIBS 8888 ac_check_lib_save_LIBS=$LIBS
8594LIBS="-lnsl $LIBS" 8889LIBS="-lnsl $LIBS"
8595cat >conftest.$ac_ext <<_ACEOF 8890cat >conftest.$ac_ext <<_ACEOF
8596#line $LINENO "configure"
8597/* confdefs.h. */ 8891/* confdefs.h. */
8598_ACEOF 8892_ACEOF
8599cat confdefs.h >>conftest.$ac_ext 8893cat confdefs.h >>conftest.$ac_ext
8600cat >>conftest.$ac_ext <<_ACEOF 8894cat >>conftest.$ac_ext <<_ACEOF
8601/* end confdefs.h. */ 8895/* end confdefs.h. */
8615 return 0; 8909 return 0;
8616} 8910}
8617_ACEOF 8911_ACEOF
8618rm -f conftest.$ac_objext conftest$ac_exeext 8912rm -f conftest.$ac_objext conftest$ac_exeext
8619if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8913if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8620 (eval $ac_link) 2>&5 8914 (eval $ac_link) 2>conftest.er1
8621 ac_status=$? 8915 ac_status=$?
8916 grep -v '^ *+' conftest.er1 >conftest.err
8917 rm -f conftest.er1
8918 cat conftest.err >&5
8622 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8623 (exit $ac_status); } && 8920 (exit $ac_status); } &&
8624 { ac_try='test -s conftest$ac_exeext' 8921 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8626 (eval $ac_try) 2>&5 8923 (eval $ac_try) 2>&5
8627 ac_status=$? 8924 ac_status=$?
8628 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8926 (exit $ac_status); }; } &&
8927 { ac_try='test -s conftest$ac_exeext'
8928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8929 (eval $ac_try) 2>&5
8930 ac_status=$?
8931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8629 (exit $ac_status); }; }; then 8932 (exit $ac_status); }; }; then
8630 ac_cv_lib_nsl_gethostbyname=yes 8933 ac_cv_lib_nsl_gethostbyname=yes
8631else 8934else
8632 echo "$as_me: failed program was:" >&5 8935 echo "$as_me: failed program was:" >&5
8633sed 's/^/| /' conftest.$ac_ext >&5 8936sed 's/^/| /' conftest.$ac_ext >&5
8634 8937
8635ac_cv_lib_nsl_gethostbyname=no 8938ac_cv_lib_nsl_gethostbyname=no
8636fi 8939fi
8637rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8940rm -f conftest.err conftest.$ac_objext \
8941 conftest$ac_exeext conftest.$ac_ext
8638LIBS=$ac_check_lib_save_LIBS 8942LIBS=$ac_check_lib_save_LIBS
8639fi 8943fi
8640echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 8944echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
8641echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 8945echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
8642if test $ac_cv_lib_nsl_gethostbyname = yes; then 8946if test $ac_cv_lib_nsl_gethostbyname = yes; then
8686 case `(ac_space=' '; set | grep ac_space) 2>&1` in 8990 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8687 *ac_space=\ *) 8991 *ac_space=\ *)
8688 # `set' does not quote correctly, so add quotes (double-quote 8992 # `set' does not quote correctly, so add quotes (double-quote
8689 # substitution turns \\\\ into \\, and sed turns \\ into \). 8993 # substitution turns \\\\ into \\, and sed turns \\ into \).
8690 sed -n \ 8994 sed -n \
8691 "s/'/'\\\\''/g; 8995 "s/'/'\\\\''/g;
8692 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 8996 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8693 ;; 8997 ;;
8694 *) 8998 *)
8695 # `set' quotes correctly as required by POSIX, so do not add quotes. 8999 # `set' quotes correctly as required by POSIX, so do not add quotes.
8696 sed -n \ 9000 sed -n \
8697 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 9001 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8698 ;; 9002 ;;
8699 esac; 9003 esac;
8700} | 9004} |
8701 sed ' 9005 sed '
8702 t clear 9006 t clear
8731if test "${tinc_cv_linux_if_tun_h+set}" = set; then 9035if test "${tinc_cv_linux_if_tun_h+set}" = set; then
8732 echo $ECHO_N "(cached) $ECHO_C" >&6 9036 echo $ECHO_N "(cached) $ECHO_C" >&6
8733else 9037else
8734 9038
8735 cat >conftest.$ac_ext <<_ACEOF 9039 cat >conftest.$ac_ext <<_ACEOF
8736#line $LINENO "configure"
8737/* confdefs.h. */ 9040/* confdefs.h. */
8738_ACEOF 9041_ACEOF
8739cat confdefs.h >>conftest.$ac_ext 9042cat confdefs.h >>conftest.$ac_ext
8740cat >>conftest.$ac_ext <<_ACEOF 9043cat >>conftest.$ac_ext <<_ACEOF
8741/* end confdefs.h. */ 9044/* end confdefs.h. */
8748 return 0; 9051 return 0;
8749} 9052}
8750_ACEOF 9053_ACEOF
8751rm -f conftest.$ac_objext 9054rm -f conftest.$ac_objext
8752if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9055if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8753 (eval $ac_compile) 2>&5 9056 (eval $ac_compile) 2>conftest.er1
8754 ac_status=$? 9057 ac_status=$?
9058 grep -v '^ *+' conftest.er1 >conftest.err
9059 rm -f conftest.er1
9060 cat conftest.err >&5
8755 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8756 (exit $ac_status); } && 9062 (exit $ac_status); } &&
8757 { ac_try='test -s conftest.$ac_objext' 9063 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8759 (eval $ac_try) 2>&5 9065 (eval $ac_try) 2>&5
8760 ac_status=$? 9066 ac_status=$?
8761 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9068 (exit $ac_status); }; } &&
9069 { ac_try='test -s conftest.$ac_objext'
9070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9071 (eval $ac_try) 2>&5
9072 ac_status=$?
9073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8762 (exit $ac_status); }; }; then 9074 (exit $ac_status); }; }; then
8763 if_tun_h="\"$kerneldir/include/linux/if_tun.h\"" 9075 if_tun_h="\"$kerneldir/include/linux/if_tun.h\""
8764else 9076else
8765 echo "$as_me: failed program was:" >&5 9077 echo "$as_me: failed program was:" >&5
8766sed 's/^/| /' conftest.$ac_ext >&5 9078sed 's/^/| /' conftest.$ac_ext >&5
8767 9079
8768cat >conftest.$ac_ext <<_ACEOF 9080cat >conftest.$ac_ext <<_ACEOF
8769#line $LINENO "configure"
8770/* confdefs.h. */ 9081/* confdefs.h. */
8771_ACEOF 9082_ACEOF
8772cat confdefs.h >>conftest.$ac_ext 9083cat confdefs.h >>conftest.$ac_ext
8773cat >>conftest.$ac_ext <<_ACEOF 9084cat >>conftest.$ac_ext <<_ACEOF
8774/* end confdefs.h. */ 9085/* end confdefs.h. */
8781 return 0; 9092 return 0;
8782} 9093}
8783_ACEOF 9094_ACEOF
8784rm -f conftest.$ac_objext 9095rm -f conftest.$ac_objext
8785if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9096if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8786 (eval $ac_compile) 2>&5 9097 (eval $ac_compile) 2>conftest.er1
8787 ac_status=$? 9098 ac_status=$?
9099 grep -v '^ *+' conftest.er1 >conftest.err
9100 rm -f conftest.er1
9101 cat conftest.err >&5
8788 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8789 (exit $ac_status); } && 9103 (exit $ac_status); } &&
8790 { ac_try='test -s conftest.$ac_objext' 9104 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8792 (eval $ac_try) 2>&5 9106 (eval $ac_try) 2>&5
8793 ac_status=$? 9107 ac_status=$?
8794 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9109 (exit $ac_status); }; } &&
9110 { ac_try='test -s conftest.$ac_objext'
9111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9112 (eval $ac_try) 2>&5
9113 ac_status=$?
9114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8795 (exit $ac_status); }; }; then 9115 (exit $ac_status); }; }; then
8796 if_tun_h="default" 9116 if_tun_h="default"
8797else 9117else
8798 echo "$as_me: failed program was:" >&5 9118 echo "$as_me: failed program was:" >&5
8799sed 's/^/| /' conftest.$ac_ext >&5 9119sed 's/^/| /' conftest.$ac_ext >&5
8800 9120
8801if_tun_h="no" 9121if_tun_h="no"
8802 9122
8803fi 9123fi
8804rm -f conftest.$ac_objext conftest.$ac_ext 9124rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8805 9125
8806fi 9126fi
8807rm -f conftest.$ac_objext conftest.$ac_ext 9127rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8808 9128
8809 if test $if_tun_h = no; then 9129 if test $if_tun_h = no; then
8810 tinc_cv_linux_if_tun_h=none 9130 tinc_cv_linux_if_tun_h=none
8811 else 9131 else
8812 tinc_cv_linux_if_tun_h="$if_tun_h" 9132 tinc_cv_linux_if_tun_h="$if_tun_h"
8828#define LINUX_IF_TUN_H $tinc_cv_linux_if_tun_h 9148#define LINUX_IF_TUN_H $tinc_cv_linux_if_tun_h
8829_ACEOF 9149_ACEOF
8830 9150
8831 fi 9151 fi
8832fi 9152fi
9153
8833 9154
8834 9155
8835 9156
8836 9157
8837 tinc_ac_save_CPPFLAGS="$CPPFLAGS" 9158 tinc_ac_save_CPPFLAGS="$CPPFLAGS"
8875else 9196else
8876 # Is the header compilable? 9197 # Is the header compilable?
8877echo "$as_me:$LINENO: checking $ac_header usability" >&5 9198echo "$as_me:$LINENO: checking $ac_header usability" >&5
8878echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 9199echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8879cat >conftest.$ac_ext <<_ACEOF 9200cat >conftest.$ac_ext <<_ACEOF
8880#line $LINENO "configure"
8881/* confdefs.h. */ 9201/* confdefs.h. */
8882_ACEOF 9202_ACEOF
8883cat confdefs.h >>conftest.$ac_ext 9203cat confdefs.h >>conftest.$ac_ext
8884cat >>conftest.$ac_ext <<_ACEOF 9204cat >>conftest.$ac_ext <<_ACEOF
8885/* end confdefs.h. */ 9205/* end confdefs.h. */
8886$ac_includes_default 9206$ac_includes_default
8887#include <$ac_header> 9207#include <$ac_header>
8888_ACEOF 9208_ACEOF
8889rm -f conftest.$ac_objext 9209rm -f conftest.$ac_objext
8890if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9210if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8891 (eval $ac_compile) 2>&5 9211 (eval $ac_compile) 2>conftest.er1
8892 ac_status=$? 9212 ac_status=$?
9213 grep -v '^ *+' conftest.er1 >conftest.err
9214 rm -f conftest.er1
9215 cat conftest.err >&5
8893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8894 (exit $ac_status); } && 9217 (exit $ac_status); } &&
8895 { ac_try='test -s conftest.$ac_objext' 9218 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8897 (eval $ac_try) 2>&5 9220 (eval $ac_try) 2>&5
8898 ac_status=$? 9221 ac_status=$?
8899 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9223 (exit $ac_status); }; } &&
9224 { ac_try='test -s conftest.$ac_objext'
9225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9226 (eval $ac_try) 2>&5
9227 ac_status=$?
9228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8900 (exit $ac_status); }; }; then 9229 (exit $ac_status); }; }; then
8901 ac_header_compiler=yes 9230 ac_header_compiler=yes
8902else 9231else
8903 echo "$as_me: failed program was:" >&5 9232 echo "$as_me: failed program was:" >&5
8904sed 's/^/| /' conftest.$ac_ext >&5 9233sed 's/^/| /' conftest.$ac_ext >&5
8905 9234
8906ac_header_compiler=no 9235ac_header_compiler=no
8907fi 9236fi
8908rm -f conftest.$ac_objext conftest.$ac_ext 9237rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8909echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9238echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8910echo "${ECHO_T}$ac_header_compiler" >&6 9239echo "${ECHO_T}$ac_header_compiler" >&6
8911 9240
8912# Is the header present? 9241# Is the header present?
8913echo "$as_me:$LINENO: checking $ac_header presence" >&5 9242echo "$as_me:$LINENO: checking $ac_header presence" >&5
8914echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 9243echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8915cat >conftest.$ac_ext <<_ACEOF 9244cat >conftest.$ac_ext <<_ACEOF
8916#line $LINENO "configure"
8917/* confdefs.h. */ 9245/* confdefs.h. */
8918_ACEOF 9246_ACEOF
8919cat confdefs.h >>conftest.$ac_ext 9247cat confdefs.h >>conftest.$ac_ext
8920cat >>conftest.$ac_ext <<_ACEOF 9248cat >>conftest.$ac_ext <<_ACEOF
8921/* end confdefs.h. */ 9249/* end confdefs.h. */
8929 cat conftest.err >&5 9257 cat conftest.err >&5
8930 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8931 (exit $ac_status); } >/dev/null; then 9259 (exit $ac_status); } >/dev/null; then
8932 if test -s conftest.err; then 9260 if test -s conftest.err; then
8933 ac_cpp_err=$ac_cxx_preproc_warn_flag 9261 ac_cpp_err=$ac_cxx_preproc_warn_flag
9262 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8934 else 9263 else
8935 ac_cpp_err= 9264 ac_cpp_err=
8936 fi 9265 fi
8937else 9266else
8938 ac_cpp_err=yes 9267 ac_cpp_err=yes
8948rm -f conftest.err conftest.$ac_ext 9277rm -f conftest.err conftest.$ac_ext
8949echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9278echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8950echo "${ECHO_T}$ac_header_preproc" >&6 9279echo "${ECHO_T}$ac_header_preproc" >&6
8951 9280
8952# So? What about this header? 9281# So? What about this header?
8953case $ac_header_compiler:$ac_header_preproc in 9282case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8954 yes:no ) 9283 yes:no: )
8955 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9284 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8956echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9285echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9286 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9287echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9288 ac_header_preproc=yes
9289 ;;
9290 no:yes:* )
9291 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9292echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9293 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9294echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9295 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9296echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9297 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9298echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8957 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8958echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9300echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9301 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9302echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8959 ( 9303 (
8960 cat <<\_ASBOX 9304 cat <<\_ASBOX
8961## ------------------------------------ ## 9305## ------------------------------------------ ##
8962## Report this to bug-autoconf@gnu.org. ## 9306## Report this to the AC_PACKAGE_NAME lists. ##
8963## ------------------------------------ ## 9307## ------------------------------------------ ##
8964_ASBOX
8965 ) |
8966 sed "s/^/$as_me: WARNING: /" >&2
8967 ;;
8968 no:yes )
8969 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8970echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8971 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8972echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8973 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8974echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8975 (
8976 cat <<\_ASBOX
8977## ------------------------------------ ##
8978## Report this to bug-autoconf@gnu.org. ##
8979## ------------------------------------ ##
8980_ASBOX 9308_ASBOX
8981 ) | 9309 ) |
8982 sed "s/^/$as_me: WARNING: /" >&2 9310 sed "s/^/$as_me: WARNING: /" >&2
8983 ;; 9311 ;;
8984esac 9312esac
8985echo "$as_me:$LINENO: checking for $ac_header" >&5 9313echo "$as_me:$LINENO: checking for $ac_header" >&5
8986echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9314echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8987if eval "test \"\${$as_ac_Header+set}\" = set"; then 9315if eval "test \"\${$as_ac_Header+set}\" = set"; then
8988 echo $ECHO_N "(cached) $ECHO_C" >&6 9316 echo $ECHO_N "(cached) $ECHO_C" >&6
8989else 9317else
8990 eval "$as_ac_Header=$ac_header_preproc" 9318 eval "$as_ac_Header=\$ac_header_preproc"
8991fi 9319fi
8992echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 9320echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8993echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9321echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8994 9322
8995fi 9323fi
9016 echo $ECHO_N "(cached) $ECHO_C" >&6 9344 echo $ECHO_N "(cached) $ECHO_C" >&6
9017else 9345else
9018 ac_check_lib_save_LIBS=$LIBS 9346 ac_check_lib_save_LIBS=$LIBS
9019LIBS="-lcrypto $LIBS" 9347LIBS="-lcrypto $LIBS"
9020cat >conftest.$ac_ext <<_ACEOF 9348cat >conftest.$ac_ext <<_ACEOF
9021#line $LINENO "configure"
9022/* confdefs.h. */ 9349/* confdefs.h. */
9023_ACEOF 9350_ACEOF
9024cat confdefs.h >>conftest.$ac_ext 9351cat confdefs.h >>conftest.$ac_ext
9025cat >>conftest.$ac_ext <<_ACEOF 9352cat >>conftest.$ac_ext <<_ACEOF
9026/* end confdefs.h. */ 9353/* end confdefs.h. */
9040 return 0; 9367 return 0;
9041} 9368}
9042_ACEOF 9369_ACEOF
9043rm -f conftest.$ac_objext conftest$ac_exeext 9370rm -f conftest.$ac_objext conftest$ac_exeext
9044if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9371if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9045 (eval $ac_link) 2>&5 9372 (eval $ac_link) 2>conftest.er1
9046 ac_status=$? 9373 ac_status=$?
9374 grep -v '^ *+' conftest.er1 >conftest.err
9375 rm -f conftest.er1
9376 cat conftest.err >&5
9047 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9048 (exit $ac_status); } && 9378 (exit $ac_status); } &&
9049 { ac_try='test -s conftest$ac_exeext' 9379 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9051 (eval $ac_try) 2>&5 9381 (eval $ac_try) 2>&5
9052 ac_status=$? 9382 ac_status=$?
9053 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9384 (exit $ac_status); }; } &&
9385 { ac_try='test -s conftest$ac_exeext'
9386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9387 (eval $ac_try) 2>&5
9388 ac_status=$?
9389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9054 (exit $ac_status); }; }; then 9390 (exit $ac_status); }; }; then
9055 ac_cv_lib_crypto_SHA1_version=yes 9391 ac_cv_lib_crypto_SHA1_version=yes
9056else 9392else
9057 echo "$as_me: failed program was:" >&5 9393 echo "$as_me: failed program was:" >&5
9058sed 's/^/| /' conftest.$ac_ext >&5 9394sed 's/^/| /' conftest.$ac_ext >&5
9059 9395
9060ac_cv_lib_crypto_SHA1_version=no 9396ac_cv_lib_crypto_SHA1_version=no
9061fi 9397fi
9062rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9398rm -f conftest.err conftest.$ac_objext \
9399 conftest$ac_exeext conftest.$ac_ext
9063LIBS=$ac_check_lib_save_LIBS 9400LIBS=$ac_check_lib_save_LIBS
9064fi 9401fi
9065echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_SHA1_version" >&5 9402echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_SHA1_version" >&5
9066echo "${ECHO_T}$ac_cv_lib_crypto_SHA1_version" >&6 9403echo "${ECHO_T}$ac_cv_lib_crypto_SHA1_version" >&6
9067if test $ac_cv_lib_crypto_SHA1_version = yes; then 9404if test $ac_cv_lib_crypto_SHA1_version = yes; then
9085echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9422echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9086if eval "test \"\${$as_ac_var+set}\" = set"; then 9423if eval "test \"\${$as_ac_var+set}\" = set"; then
9087 echo $ECHO_N "(cached) $ECHO_C" >&6 9424 echo $ECHO_N "(cached) $ECHO_C" >&6
9088else 9425else
9089 cat >conftest.$ac_ext <<_ACEOF 9426 cat >conftest.$ac_ext <<_ACEOF
9090#line $LINENO "configure"
9091/* confdefs.h. */ 9427/* confdefs.h. */
9092_ACEOF 9428_ACEOF
9093cat confdefs.h >>conftest.$ac_ext 9429cat confdefs.h >>conftest.$ac_ext
9094cat >>conftest.$ac_ext <<_ACEOF 9430cat >>conftest.$ac_ext <<_ACEOF
9095/* end confdefs.h. */ 9431/* end confdefs.h. */
9432/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9434#define $ac_func innocuous_$ac_func
9435
9096/* System header to define __stub macros and hopefully few prototypes, 9436/* System header to define __stub macros and hopefully few prototypes,
9097 which can conflict with char $ac_func (); below. 9437 which can conflict with char $ac_func (); below.
9098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 9438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9099 <limits.h> exists even on freestanding compilers. */ 9439 <limits.h> exists even on freestanding compilers. */
9440
9100#ifdef __STDC__ 9441#ifdef __STDC__
9101# include <limits.h> 9442# include <limits.h>
9102#else 9443#else
9103# include <assert.h> 9444# include <assert.h>
9104#endif 9445#endif
9446
9447#undef $ac_func
9448
9105/* Override any gcc2 internal prototype to avoid an error. */ 9449/* Override any gcc2 internal prototype to avoid an error. */
9106#ifdef __cplusplus 9450#ifdef __cplusplus
9107extern "C" 9451extern "C"
9108{ 9452{
9109#endif 9453#endif
9130 return 0; 9474 return 0;
9131} 9475}
9132_ACEOF 9476_ACEOF
9133rm -f conftest.$ac_objext conftest$ac_exeext 9477rm -f conftest.$ac_objext conftest$ac_exeext
9134if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9478if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9135 (eval $ac_link) 2>&5 9479 (eval $ac_link) 2>conftest.er1
9136 ac_status=$? 9480 ac_status=$?
9481 grep -v '^ *+' conftest.er1 >conftest.err
9482 rm -f conftest.er1
9483 cat conftest.err >&5
9137 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9138 (exit $ac_status); } && 9485 (exit $ac_status); } &&
9139 { ac_try='test -s conftest$ac_exeext' 9486 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9141 (eval $ac_try) 2>&5 9488 (eval $ac_try) 2>&5
9142 ac_status=$? 9489 ac_status=$?
9143 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9491 (exit $ac_status); }; } &&
9492 { ac_try='test -s conftest$ac_exeext'
9493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9494 (eval $ac_try) 2>&5
9495 ac_status=$?
9496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9144 (exit $ac_status); }; }; then 9497 (exit $ac_status); }; }; then
9145 eval "$as_ac_var=yes" 9498 eval "$as_ac_var=yes"
9146else 9499else
9147 echo "$as_me: failed program was:" >&5 9500 echo "$as_me: failed program was:" >&5
9148sed 's/^/| /' conftest.$ac_ext >&5 9501sed 's/^/| /' conftest.$ac_ext >&5
9149 9502
9150eval "$as_ac_var=no" 9503eval "$as_ac_var=no"
9151fi 9504fi
9152rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9505rm -f conftest.err conftest.$ac_objext \
9506 conftest$ac_exeext conftest.$ac_ext
9153fi 9507fi
9154echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 9508echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9155echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9509echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9156if test `eval echo '${'$as_ac_var'}'` = yes; then 9510if test `eval echo '${'$as_ac_var'}'` = yes; then
9157 cat >>confdefs.h <<_ACEOF 9511 cat >>confdefs.h <<_ACEOF
9166echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 9520echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9167if test "${ac_cv_func_dlopen+set}" = set; then 9521if test "${ac_cv_func_dlopen+set}" = set; then
9168 echo $ECHO_N "(cached) $ECHO_C" >&6 9522 echo $ECHO_N "(cached) $ECHO_C" >&6
9169else 9523else
9170 cat >conftest.$ac_ext <<_ACEOF 9524 cat >conftest.$ac_ext <<_ACEOF
9171#line $LINENO "configure"
9172/* confdefs.h. */ 9525/* confdefs.h. */
9173_ACEOF 9526_ACEOF
9174cat confdefs.h >>conftest.$ac_ext 9527cat confdefs.h >>conftest.$ac_ext
9175cat >>conftest.$ac_ext <<_ACEOF 9528cat >>conftest.$ac_ext <<_ACEOF
9176/* end confdefs.h. */ 9529/* end confdefs.h. */
9530/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9532#define dlopen innocuous_dlopen
9533
9177/* System header to define __stub macros and hopefully few prototypes, 9534/* System header to define __stub macros and hopefully few prototypes,
9178 which can conflict with char dlopen (); below. 9535 which can conflict with char dlopen (); below.
9179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 9536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9180 <limits.h> exists even on freestanding compilers. */ 9537 <limits.h> exists even on freestanding compilers. */
9538
9181#ifdef __STDC__ 9539#ifdef __STDC__
9182# include <limits.h> 9540# include <limits.h>
9183#else 9541#else
9184# include <assert.h> 9542# include <assert.h>
9185#endif 9543#endif
9544
9545#undef dlopen
9546
9186/* Override any gcc2 internal prototype to avoid an error. */ 9547/* Override any gcc2 internal prototype to avoid an error. */
9187#ifdef __cplusplus 9548#ifdef __cplusplus
9188extern "C" 9549extern "C"
9189{ 9550{
9190#endif 9551#endif
9211 return 0; 9572 return 0;
9212} 9573}
9213_ACEOF 9574_ACEOF
9214rm -f conftest.$ac_objext conftest$ac_exeext 9575rm -f conftest.$ac_objext conftest$ac_exeext
9215if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9576if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9216 (eval $ac_link) 2>&5 9577 (eval $ac_link) 2>conftest.er1
9217 ac_status=$? 9578 ac_status=$?
9579 grep -v '^ *+' conftest.er1 >conftest.err
9580 rm -f conftest.er1
9581 cat conftest.err >&5
9218 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9219 (exit $ac_status); } && 9583 (exit $ac_status); } &&
9220 { ac_try='test -s conftest$ac_exeext' 9584 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9222 (eval $ac_try) 2>&5 9586 (eval $ac_try) 2>&5
9223 ac_status=$? 9587 ac_status=$?
9224 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9589 (exit $ac_status); }; } &&
9590 { ac_try='test -s conftest$ac_exeext'
9591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9592 (eval $ac_try) 2>&5
9593 ac_status=$?
9594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9225 (exit $ac_status); }; }; then 9595 (exit $ac_status); }; }; then
9226 ac_cv_func_dlopen=yes 9596 ac_cv_func_dlopen=yes
9227else 9597else
9228 echo "$as_me: failed program was:" >&5 9598 echo "$as_me: failed program was:" >&5
9229sed 's/^/| /' conftest.$ac_ext >&5 9599sed 's/^/| /' conftest.$ac_ext >&5
9230 9600
9231ac_cv_func_dlopen=no 9601ac_cv_func_dlopen=no
9232fi 9602fi
9233rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9603rm -f conftest.err conftest.$ac_objext \
9604 conftest$ac_exeext conftest.$ac_ext
9234fi 9605fi
9235echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 9606echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9236echo "${ECHO_T}$ac_cv_func_dlopen" >&6 9607echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9237if test $ac_cv_func_dlopen = yes; then 9608if test $ac_cv_func_dlopen = yes; then
9238 : 9609 :
9243 echo $ECHO_N "(cached) $ECHO_C" >&6 9614 echo $ECHO_N "(cached) $ECHO_C" >&6
9244else 9615else
9245 ac_check_lib_save_LIBS=$LIBS 9616 ac_check_lib_save_LIBS=$LIBS
9246LIBS="-ldl $LIBS" 9617LIBS="-ldl $LIBS"
9247cat >conftest.$ac_ext <<_ACEOF 9618cat >conftest.$ac_ext <<_ACEOF
9248#line $LINENO "configure"
9249/* confdefs.h. */ 9619/* confdefs.h. */
9250_ACEOF 9620_ACEOF
9251cat confdefs.h >>conftest.$ac_ext 9621cat confdefs.h >>conftest.$ac_ext
9252cat >>conftest.$ac_ext <<_ACEOF 9622cat >>conftest.$ac_ext <<_ACEOF
9253/* end confdefs.h. */ 9623/* end confdefs.h. */
9267 return 0; 9637 return 0;
9268} 9638}
9269_ACEOF 9639_ACEOF
9270rm -f conftest.$ac_objext conftest$ac_exeext 9640rm -f conftest.$ac_objext conftest$ac_exeext
9271if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9641if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9272 (eval $ac_link) 2>&5 9642 (eval $ac_link) 2>conftest.er1
9273 ac_status=$? 9643 ac_status=$?
9644 grep -v '^ *+' conftest.er1 >conftest.err
9645 rm -f conftest.er1
9646 cat conftest.err >&5
9274 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9275 (exit $ac_status); } && 9648 (exit $ac_status); } &&
9276 { ac_try='test -s conftest$ac_exeext' 9649 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9278 (eval $ac_try) 2>&5 9651 (eval $ac_try) 2>&5
9279 ac_status=$? 9652 ac_status=$?
9280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9654 (exit $ac_status); }; } &&
9655 { ac_try='test -s conftest$ac_exeext'
9656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9657 (eval $ac_try) 2>&5
9658 ac_status=$?
9659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9281 (exit $ac_status); }; }; then 9660 (exit $ac_status); }; }; then
9282 ac_cv_lib_dl_dlopen=yes 9661 ac_cv_lib_dl_dlopen=yes
9283else 9662else
9284 echo "$as_me: failed program was:" >&5 9663 echo "$as_me: failed program was:" >&5
9285sed 's/^/| /' conftest.$ac_ext >&5 9664sed 's/^/| /' conftest.$ac_ext >&5
9286 9665
9287ac_cv_lib_dl_dlopen=no 9666ac_cv_lib_dl_dlopen=no
9288fi 9667fi
9289rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9668rm -f conftest.err conftest.$ac_objext \
9669 conftest$ac_exeext conftest.$ac_ext
9290LIBS=$ac_check_lib_save_LIBS 9670LIBS=$ac_check_lib_save_LIBS
9291fi 9671fi
9292echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 9672echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9293echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 9673echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9294if test $ac_cv_lib_dl_dlopen = yes; then 9674if test $ac_cv_lib_dl_dlopen = yes; then
9302 9682
9303 9683
9304fi 9684fi
9305 9685
9306 9686
9687if test "x$openssl_include" != x; then
9688 CXXFLAGS="$CXXFLAGS -I$openssl_include"
9689fi
9307 9690
9308# Check whether --enable-rohc or --disable-rohc was given. 9691# Check whether --enable-rohc or --disable-rohc was given.
9309if test "${enable_rohc+set}" = set; then 9692if test "${enable_rohc+set}" = set; then
9310 enableval="$enable_rohc" 9693 enableval="$enable_rohc"
9311 9694
9358_ACEOF 9741_ACEOF
9359 9742
9360 9743
9361fi; 9744fi;
9362 9745
9363HMAC=12 # Check whether --enable-hmac-length or --disable-hmac-length was given. 9746HMAC=8 # Check whether --enable-hmac-length or --disable-hmac-length was given.
9364if test "${enable_hmac_length+set}" = set; then 9747if test "${enable_hmac_length+set}" = set; then
9365 enableval="$enable_hmac_length" 9748 enableval="$enable_hmac_length"
9366 HMAC=$enableval 9749 HMAC=$enableval
9367 9750
9368fi; 9751fi;
9449 9832
9450if $CXX -v --help 2>&1 | grep -q fexceptions; then 9833if $CXX -v --help 2>&1 | grep -q fexceptions; then
9451 CXXFLAGS="$CXXFLAGS -fno-exceptions" 9834 CXXFLAGS="$CXXFLAGS -fno-exceptions"
9452fi 9835fi
9453 9836
9454if $CXX -v --help 2>&1 | grep -q ffunction-sections; then
9455 CXXFLAGS="$CXXFLAGS -ffunction-sections"
9456fi
9457
9458if $LD -v --help 2>&1 | grep -q gc-sections; then
9459 LDFLAGS="$LDFLAGS -Wl,--gc-sections"
9460fi
9461 9837
9462 9838
9463 9839
9464 9840
9465 9841
9490 case `(ac_space=' '; set | grep ac_space) 2>&1` in 9866 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9491 *ac_space=\ *) 9867 *ac_space=\ *)
9492 # `set' does not quote correctly, so add quotes (double-quote 9868 # `set' does not quote correctly, so add quotes (double-quote
9493 # substitution turns \\\\ into \\, and sed turns \\ into \). 9869 # substitution turns \\\\ into \\, and sed turns \\ into \).
9494 sed -n \ 9870 sed -n \
9495 "s/'/'\\\\''/g; 9871 "s/'/'\\\\''/g;
9496 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 9872 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9497 ;; 9873 ;;
9498 *) 9874 *)
9499 # `set' quotes correctly as required by POSIX, so do not add quotes. 9875 # `set' quotes correctly as required by POSIX, so do not add quotes.
9500 sed -n \ 9876 sed -n \
9501 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 9877 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9502 ;; 9878 ;;
9503 esac; 9879 esac;
9504} | 9880} |
9505 sed ' 9881 sed '
9506 t clear 9882 t clear
9526# VPATH may cause trouble with some makes, so we remove $(srcdir), 9902# VPATH may cause trouble with some makes, so we remove $(srcdir),
9527# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 9903# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9528# trailing colons and then remove the whole line if VPATH becomes empty 9904# trailing colons and then remove the whole line if VPATH becomes empty
9529# (actually we leave an empty line to preserve line numbers). 9905# (actually we leave an empty line to preserve line numbers).
9530if test "x$srcdir" = x.; then 9906if test "x$srcdir" = x.; then
9531 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 9907 ac_vpsub='/^[ ]*VPATH[ ]*=/{
9532s/:*\$(srcdir):*/:/; 9908s/:*\$(srcdir):*/:/;
9533s/:*\${srcdir}:*/:/; 9909s/:*\${srcdir}:*/:/;
9534s/:*@srcdir@:*/:/; 9910s/:*@srcdir@:*/:/;
9535s/^\([^=]*=[ ]*\):*/\1/; 9911s/^\([^=]*=[ ]*\):*/\1/;
9536s/:*$//; 9912s/:*$//;
9537s/^[^=]*=[ ]*$//; 9913s/^[^=]*=[ ]*$//;
9538}' 9914}'
9539fi 9915fi
9540 9916
9541DEFS=-DHAVE_CONFIG_H 9917DEFS=-DHAVE_CONFIG_H
9542 9918
9543ac_libobjs= 9919ac_libobjs=
9544ac_ltlibobjs= 9920ac_ltlibobjs=
9545for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 9921for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9546 # 1. Remove the extension, and $U if already installed. 9922 # 1. Remove the extension, and $U if already installed.
9547 ac_i=`echo "$ac_i" | 9923 ac_i=`echo "$ac_i" |
9548 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 9924 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
9549 # 2. Add them. 9925 # 2. Add them.
9550 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 9926 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
9551 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 9927 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
9552done 9928done
9553LIBOBJS=$ac_libobjs 9929LIBOBJS=$ac_libobjs
9622 # is contrary to our usage. Disable this feature. 9998 # is contrary to our usage. Disable this feature.
9623 alias -g '${1+"$@"}'='"$@"' 9999 alias -g '${1+"$@"}'='"$@"'
9624elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 10000elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9625 set -o posix 10001 set -o posix
9626fi 10002fi
10003DUALCASE=1; export DUALCASE # for MKS sh
9627 10004
9628# Support unset when possible. 10005# Support unset when possible.
9629if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 10006if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9630 as_unset=unset 10007 as_unset=unset
9631else 10008else
9632 as_unset=false 10009 as_unset=false
9633fi 10010fi
9634 10011
9643for as_var in \ 10020for as_var in \
9644 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 10021 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9645 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 10022 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9646 LC_TELEPHONE LC_TIME 10023 LC_TELEPHONE LC_TIME
9647do 10024do
9648 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then 10025 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9649 eval $as_var=C; export $as_var 10026 eval $as_var=C; export $as_var
9650 else 10027 else
9651 $as_unset $as_var 10028 $as_unset $as_var
9652 fi 10029 fi
9653done 10030done
9822rm -f conf$$ conf$$.exe conf$$.file 10199rm -f conf$$ conf$$.exe conf$$.file
9823 10200
9824if mkdir -p . 2>/dev/null; then 10201if mkdir -p . 2>/dev/null; then
9825 as_mkdir_p=: 10202 as_mkdir_p=:
9826else 10203else
10204 test -d ./-p && rmdir ./-p
9827 as_mkdir_p=false 10205 as_mkdir_p=false
9828fi 10206fi
9829 10207
9830as_executable_p="test -f" 10208as_executable_p="test -f"
9831 10209
9832# Sed expression to map a string onto a valid CPP name. 10210# Sed expression to map a string onto a valid CPP name.
9833as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 10211as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9834 10212
9835# Sed expression to map a string onto a valid variable name. 10213# Sed expression to map a string onto a valid variable name.
9836as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 10214as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9837 10215
9838 10216
9839# IFS 10217# IFS
9840# We need space, tab and new line, in precisely that order. 10218# We need space, tab and new line, in precisely that order.
9841as_nl=' 10219as_nl='
9858_ASBOX 10236_ASBOX
9859} >&5 10237} >&5
9860cat >&5 <<_CSEOF 10238cat >&5 <<_CSEOF
9861 10239
9862This file was extended by $as_me, which was 10240This file was extended by $as_me, which was
9863generated by GNU Autoconf 2.57. Invocation command line was 10241generated by GNU Autoconf 2.58. Invocation command line was
9864 10242
9865 CONFIG_FILES = $CONFIG_FILES 10243 CONFIG_FILES = $CONFIG_FILES
9866 CONFIG_HEADERS = $CONFIG_HEADERS 10244 CONFIG_HEADERS = $CONFIG_HEADERS
9867 CONFIG_LINKS = $CONFIG_LINKS 10245 CONFIG_LINKS = $CONFIG_LINKS
9868 CONFIG_COMMANDS = $CONFIG_COMMANDS 10246 CONFIG_COMMANDS = $CONFIG_COMMANDS
9902 -V, --version print version number, then exit 10280 -V, --version print version number, then exit
9903 -q, --quiet do not print progress messages 10281 -q, --quiet do not print progress messages
9904 -d, --debug don't remove temporary files 10282 -d, --debug don't remove temporary files
9905 --recheck update $as_me by reconfiguring in the same conditions 10283 --recheck update $as_me by reconfiguring in the same conditions
9906 --file=FILE[:TEMPLATE] 10284 --file=FILE[:TEMPLATE]
9907 instantiate the configuration file FILE 10285 instantiate the configuration file FILE
9908 --header=FILE[:TEMPLATE] 10286 --header=FILE[:TEMPLATE]
9909 instantiate the configuration header FILE 10287 instantiate the configuration header FILE
9910 10288
9911Configuration files: 10289Configuration files:
9912$config_files 10290$config_files
9913 10291
9914Configuration headers: 10292Configuration headers:
9921_ACEOF 10299_ACEOF
9922 10300
9923cat >>$CONFIG_STATUS <<_ACEOF 10301cat >>$CONFIG_STATUS <<_ACEOF
9924ac_cs_version="\\ 10302ac_cs_version="\\
9925config.status 10303config.status
9926configured by $0, generated by GNU Autoconf 2.57, 10304configured by $0, generated by GNU Autoconf 2.58,
9927 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 10305 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9928 10306
9929Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
9930Free Software Foundation, Inc. 10307Copyright (C) 2003 Free Software Foundation, Inc.
9931This config.status script is free software; the Free Software Foundation 10308This config.status script is free software; the Free Software Foundation
9932gives unlimited permission to copy, distribute and modify it." 10309gives unlimited permission to copy, distribute and modify it."
9933srcdir=$srcdir 10310srcdir=$srcdir
9934INSTALL="$INSTALL" 10311INSTALL="$INSTALL"
9935_ACEOF 10312_ACEOF
10243 # is no need to browse any of the substitutions). 10620 # is no need to browse any of the substitutions).
10244 # These are the two extra sed commands mentioned above. 10621 # These are the two extra sed commands mentioned above.
10245 (echo ':t 10622 (echo ':t
10246 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 10623 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
10247 if test -z "$ac_sed_cmds"; then 10624 if test -z "$ac_sed_cmds"; then
10248 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 10625 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
10249 else 10626 else
10250 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 10627 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
10251 fi 10628 fi
10252 ac_sed_frag=`expr $ac_sed_frag + 1` 10629 ac_sed_frag=`expr $ac_sed_frag + 1`
10253 ac_beg=$ac_end 10630 ac_beg=$ac_end
10254 ac_end=`expr $ac_end + $ac_max_sed_lines` 10631 ac_end=`expr $ac_end + $ac_max_sed_lines`
10255 fi 10632 fi
10263cat >>$CONFIG_STATUS <<\_ACEOF 10640cat >>$CONFIG_STATUS <<\_ACEOF
10264for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 10641for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
10265 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 10642 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10266 case $ac_file in 10643 case $ac_file in
10267 - | *:- | *:-:* ) # input from stdin 10644 - | *:- | *:-:* ) # input from stdin
10268 cat >$tmp/stdin 10645 cat >$tmp/stdin
10269 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 10646 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10270 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 10647 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10271 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 10648 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10272 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 10649 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10273 * ) ac_file_in=$ac_file.in ;; 10650 * ) ac_file_in=$ac_file.in ;;
10274 esac 10651 esac
10275 10652
10276 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 10653 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
10277 ac_dir=`(dirname "$ac_file") 2>/dev/null || 10654 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
10278$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10655$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10279 X"$ac_file" : 'X\(//\)[^/]' \| \ 10656 X"$ac_file" : 'X\(//\)[^/]' \| \
10280 X"$ac_file" : 'X\(//\)$' \| \ 10657 X"$ac_file" : 'X\(//\)$' \| \
10281 X"$ac_file" : 'X\(/\)' \| \ 10658 X"$ac_file" : 'X\(/\)' \| \
10282 . : '\(.\)' 2>/dev/null || 10659 . : '\(.\)' 2>/dev/null ||
10283echo X"$ac_file" | 10660echo X"$ac_file" |
10284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 10661 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10285 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 10662 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10286 /^X\(\/\/\)$/{ s//\1/; q; } 10663 /^X\(\/\/\)$/{ s//\1/; q; }
10287 /^X\(\/\).*/{ s//\1/; q; } 10664 /^X\(\/\).*/{ s//\1/; q; }
10293 as_dirs= 10670 as_dirs=
10294 while test ! -d "$as_dir"; do 10671 while test ! -d "$as_dir"; do
10295 as_dirs="$as_dir $as_dirs" 10672 as_dirs="$as_dir $as_dirs"
10296 as_dir=`(dirname "$as_dir") 2>/dev/null || 10673 as_dir=`(dirname "$as_dir") 2>/dev/null ||
10297$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10674$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10298 X"$as_dir" : 'X\(//\)[^/]' \| \ 10675 X"$as_dir" : 'X\(//\)[^/]' \| \
10299 X"$as_dir" : 'X\(//\)$' \| \ 10676 X"$as_dir" : 'X\(//\)$' \| \
10300 X"$as_dir" : 'X\(/\)' \| \ 10677 X"$as_dir" : 'X\(/\)' \| \
10301 . : '\(.\)' 2>/dev/null || 10678 . : '\(.\)' 2>/dev/null ||
10302echo X"$as_dir" | 10679echo X"$as_dir" |
10303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 10680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10304 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 10681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10305 /^X\(\/\/\)$/{ s//\1/; q; } 10682 /^X\(\/\/\)$/{ s//\1/; q; }
10306 /^X\(\/\).*/{ s//\1/; q; } 10683 /^X\(\/\).*/{ s//\1/; q; }
10334 ac_top_srcdir=$srcdir ;; 10711 ac_top_srcdir=$srcdir ;;
10335 *) # Relative path. 10712 *) # Relative path.
10336 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 10713 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10337 ac_top_srcdir=$ac_top_builddir$srcdir ;; 10714 ac_top_srcdir=$ac_top_builddir$srcdir ;;
10338esac 10715esac
10339# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 10716
10340# absolute. 10717# Do not use `cd foo && pwd` to compute absolute paths, because
10341ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 10718# the directories may not exist.
10342ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 10719case `pwd` in
10343ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 10720.) ac_abs_builddir="$ac_dir";;
10344ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 10721*)
10722 case "$ac_dir" in
10723 .) ac_abs_builddir=`pwd`;;
10724 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
10725 *) ac_abs_builddir=`pwd`/"$ac_dir";;
10726 esac;;
10727esac
10728case $ac_abs_builddir in
10729.) ac_abs_top_builddir=${ac_top_builddir}.;;
10730*)
10731 case ${ac_top_builddir}. in
10732 .) ac_abs_top_builddir=$ac_abs_builddir;;
10733 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
10734 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
10735 esac;;
10736esac
10737case $ac_abs_builddir in
10738.) ac_abs_srcdir=$ac_srcdir;;
10739*)
10740 case $ac_srcdir in
10741 .) ac_abs_srcdir=$ac_abs_builddir;;
10742 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
10743 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
10744 esac;;
10745esac
10746case $ac_abs_builddir in
10747.) ac_abs_top_srcdir=$ac_top_srcdir;;
10748*)
10749 case $ac_top_srcdir in
10750 .) ac_abs_top_srcdir=$ac_abs_builddir;;
10751 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
10752 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
10753 esac;;
10754esac
10345 10755
10346 10756
10347 case $INSTALL in 10757 case $INSTALL in
10348 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 10758 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10349 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 10759 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
10350 esac 10760 esac
10351 10761
10352 if test x"$ac_file" != x-; then
10353 { echo "$as_me:$LINENO: creating $ac_file" >&5
10354echo "$as_me: creating $ac_file" >&6;}
10355 rm -f "$ac_file"
10356 fi
10357 # Let's still pretend it is `configure' which instantiates (i.e., don't 10762 # Let's still pretend it is `configure' which instantiates (i.e., don't
10358 # use $as_me), people would be surprised to read: 10763 # use $as_me), people would be surprised to read:
10359 # /* config.h. Generated by config.status. */ 10764 # /* config.h. Generated by config.status. */
10360 if test x"$ac_file" = x-; then 10765 if test x"$ac_file" = x-; then
10361 configure_input= 10766 configure_input=
10362 else 10767 else
10363 configure_input="$ac_file. " 10768 configure_input="$ac_file. "
10364 fi 10769 fi
10365 configure_input=$configure_input"Generated from `echo $ac_file_in | 10770 configure_input=$configure_input"Generated from `echo $ac_file_in |
10366 sed 's,.*/,,'` by configure." 10771 sed 's,.*/,,'` by configure."
10367 10772
10368 # First look for the input files in the build tree, otherwise in the 10773 # First look for the input files in the build tree, otherwise in the
10369 # src tree. 10774 # src tree.
10370 ac_file_inputs=`IFS=: 10775 ac_file_inputs=`IFS=:
10371 for f in $ac_file_in; do 10776 for f in $ac_file_in; do
10372 case $f in 10777 case $f in
10373 -) echo $tmp/stdin ;; 10778 -) echo $tmp/stdin ;;
10374 [\\/$]*) 10779 [\\/$]*)
10375 # Absolute (can't be DOS-style, as IFS=:) 10780 # Absolute (can't be DOS-style, as IFS=:)
10376 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 10781 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10377echo "$as_me: error: cannot find input file: $f" >&2;} 10782echo "$as_me: error: cannot find input file: $f" >&2;}
10378 { (exit 1); exit 1; }; } 10783 { (exit 1); exit 1; }; }
10379 echo $f;; 10784 echo "$f";;
10380 *) # Relative 10785 *) # Relative
10381 if test -f "$f"; then 10786 if test -f "$f"; then
10382 # Build tree 10787 # Build tree
10383 echo $f 10788 echo "$f"
10384 elif test -f "$srcdir/$f"; then 10789 elif test -f "$srcdir/$f"; then
10385 # Source tree 10790 # Source tree
10386 echo $srcdir/$f 10791 echo "$srcdir/$f"
10387 else 10792 else
10388 # /dev/null tree 10793 # /dev/null tree
10389 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 10794 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10390echo "$as_me: error: cannot find input file: $f" >&2;} 10795echo "$as_me: error: cannot find input file: $f" >&2;}
10391 { (exit 1); exit 1; }; } 10796 { (exit 1); exit 1; }; }
10392 fi;; 10797 fi;;
10393 esac 10798 esac
10394 done` || { (exit 1); exit 1; } 10799 done` || { (exit 1); exit 1; }
10800
10801 if test x"$ac_file" != x-; then
10802 { echo "$as_me:$LINENO: creating $ac_file" >&5
10803echo "$as_me: creating $ac_file" >&6;}
10804 rm -f "$ac_file"
10805 fi
10395_ACEOF 10806_ACEOF
10396cat >>$CONFIG_STATUS <<_ACEOF 10807cat >>$CONFIG_STATUS <<_ACEOF
10397 sed "$ac_vpsub 10808 sed "$ac_vpsub
10398$extrasub 10809$extrasub
10399_ACEOF 10810_ACEOF
10429 10840
10430# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 10841# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
10431# NAME is the cpp macro being defined and VALUE is the value it is being given. 10842# NAME is the cpp macro being defined and VALUE is the value it is being given.
10432# 10843#
10433# ac_d sets the value in "#define NAME VALUE" lines. 10844# ac_d sets the value in "#define NAME VALUE" lines.
10434ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 10845ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
10435ac_dB='[ ].*$,\1#\2' 10846ac_dB='[ ].*$,\1#\2'
10436ac_dC=' ' 10847ac_dC=' '
10437ac_dD=',;t' 10848ac_dD=',;t'
10438# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 10849# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
10439ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 10850ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
10440ac_uB='$,\1#\2define\3' 10851ac_uB='$,\1#\2define\3'
10441ac_uC=' ' 10852ac_uC=' '
10442ac_uD=',;t' 10853ac_uD=',;t'
10443 10854
10444for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 10855for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
10445 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 10856 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10446 case $ac_file in 10857 case $ac_file in
10447 - | *:- | *:-:* ) # input from stdin 10858 - | *:- | *:-:* ) # input from stdin
10448 cat >$tmp/stdin 10859 cat >$tmp/stdin
10449 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 10860 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10450 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 10861 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10451 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 10862 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10452 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 10863 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10453 * ) ac_file_in=$ac_file.in ;; 10864 * ) ac_file_in=$ac_file.in ;;
10454 esac 10865 esac
10455 10866
10456 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 10867 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
10457echo "$as_me: creating $ac_file" >&6;} 10868echo "$as_me: creating $ac_file" >&6;}
10461 ac_file_inputs=`IFS=: 10872 ac_file_inputs=`IFS=:
10462 for f in $ac_file_in; do 10873 for f in $ac_file_in; do
10463 case $f in 10874 case $f in
10464 -) echo $tmp/stdin ;; 10875 -) echo $tmp/stdin ;;
10465 [\\/$]*) 10876 [\\/$]*)
10466 # Absolute (can't be DOS-style, as IFS=:) 10877 # Absolute (can't be DOS-style, as IFS=:)
10467 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 10878 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10468echo "$as_me: error: cannot find input file: $f" >&2;} 10879echo "$as_me: error: cannot find input file: $f" >&2;}
10469 { (exit 1); exit 1; }; } 10880 { (exit 1); exit 1; }; }
10470 echo $f;; 10881 # Do quote $f, to prevent DOS paths from being IFS'd.
10882 echo "$f";;
10471 *) # Relative 10883 *) # Relative
10472 if test -f "$f"; then 10884 if test -f "$f"; then
10473 # Build tree 10885 # Build tree
10474 echo $f 10886 echo "$f"
10475 elif test -f "$srcdir/$f"; then 10887 elif test -f "$srcdir/$f"; then
10476 # Source tree 10888 # Source tree
10477 echo $srcdir/$f 10889 echo "$srcdir/$f"
10478 else 10890 else
10479 # /dev/null tree 10891 # /dev/null tree
10480 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 10892 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10481echo "$as_me: error: cannot find input file: $f" >&2;} 10893echo "$as_me: error: cannot find input file: $f" >&2;}
10482 { (exit 1); exit 1; }; } 10894 { (exit 1); exit 1; }; }
10483 fi;; 10895 fi;;
10484 esac 10896 esac
10485 done` || { (exit 1); exit 1; } 10897 done` || { (exit 1); exit 1; }
10486 # Remove the trailing spaces. 10898 # Remove the trailing spaces.
10487 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 10899 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
10488 10900
10489_ACEOF 10901_ACEOF
10490 10902
10491# Transform confdefs.h into two sed scripts, `conftest.defines' and 10903# Transform confdefs.h into two sed scripts, `conftest.defines' and
10492# `conftest.undefs', that substitutes the proper values into 10904# `conftest.undefs', that substitutes the proper values into
10505cat >confdef2sed.sed <<\_ACEOF 10917cat >confdef2sed.sed <<\_ACEOF
10506s/[\\&,]/\\&/g 10918s/[\\&,]/\\&/g
10507s,[\\$`],\\&,g 10919s,[\\$`],\\&,g
10508t clear 10920t clear
10509: clear 10921: clear
10510s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 10922s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
10511t end 10923t end
10512s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 10924s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
10513: end 10925: end
10514_ACEOF 10926_ACEOF
10515# If some macros were called several times there might be several times 10927# If some macros were called several times there might be several times
10516# the same #defines, which is useless. Nevertheless, we may not want to 10928# the same #defines, which is useless. Nevertheless, we may not want to
10517# sort them, since we want the *last* AC-DEFINE to be honored. 10929# sort them, since we want the *last* AC-DEFINE to be honored.
10521 10933
10522# This sed command replaces #undef with comments. This is necessary, for 10934# This sed command replaces #undef with comments. This is necessary, for
10523# example, in the case of _POSIX_SOURCE, which is predefined and required 10935# example, in the case of _POSIX_SOURCE, which is predefined and required
10524# on some systems where configure will not decide to define it. 10936# on some systems where configure will not decide to define it.
10525cat >>conftest.undefs <<\_ACEOF 10937cat >>conftest.undefs <<\_ACEOF
10526s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 10938s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
10527_ACEOF 10939_ACEOF
10528 10940
10529# Break up conftest.defines because some shells have a limit on the size 10941# Break up conftest.defines because some shells have a limit on the size
10530# of here documents, and old seds have small limits too (100 cmds). 10942# of here documents, and old seds have small limits too (100 cmds).
10531echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 10943echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
10532echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 10944echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
10533echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 10945echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
10534echo ' :' >>$CONFIG_STATUS 10946echo ' :' >>$CONFIG_STATUS
10535rm -f conftest.tail 10947rm -f conftest.tail
10536while grep . conftest.defines >/dev/null 10948while grep . conftest.defines >/dev/null
10537do 10949do
10538 # Write a limited-size here document to $tmp/defines.sed. 10950 # Write a limited-size here document to $tmp/defines.sed.
10539 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 10951 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
10540 # Speed up: don't consider the non `#define' lines. 10952 # Speed up: don't consider the non `#define' lines.
10541 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 10953 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
10542 # Work around the forget-to-reset-the-flag bug. 10954 # Work around the forget-to-reset-the-flag bug.
10543 echo 't clr' >>$CONFIG_STATUS 10955 echo 't clr' >>$CONFIG_STATUS
10544 echo ': clr' >>$CONFIG_STATUS 10956 echo ': clr' >>$CONFIG_STATUS
10545 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 10957 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
10546 echo 'CEOF 10958 echo 'CEOF
10563while grep . conftest.undefs >/dev/null 10975while grep . conftest.undefs >/dev/null
10564do 10976do
10565 # Write a limited-size here document to $tmp/undefs.sed. 10977 # Write a limited-size here document to $tmp/undefs.sed.
10566 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 10978 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
10567 # Speed up: don't consider the non `#undef' 10979 # Speed up: don't consider the non `#undef'
10568 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 10980 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
10569 # Work around the forget-to-reset-the-flag bug. 10981 # Work around the forget-to-reset-the-flag bug.
10570 echo 't clr' >>$CONFIG_STATUS 10982 echo 't clr' >>$CONFIG_STATUS
10571 echo ': clr' >>$CONFIG_STATUS 10983 echo ': clr' >>$CONFIG_STATUS
10572 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 10984 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
10573 echo 'CEOF 10985 echo 'CEOF
10597 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 11009 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10598echo "$as_me: $ac_file is unchanged" >&6;} 11010echo "$as_me: $ac_file is unchanged" >&6;}
10599 else 11011 else
10600 ac_dir=`(dirname "$ac_file") 2>/dev/null || 11012 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
10601$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11013$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10602 X"$ac_file" : 'X\(//\)[^/]' \| \ 11014 X"$ac_file" : 'X\(//\)[^/]' \| \
10603 X"$ac_file" : 'X\(//\)$' \| \ 11015 X"$ac_file" : 'X\(//\)$' \| \
10604 X"$ac_file" : 'X\(/\)' \| \ 11016 X"$ac_file" : 'X\(/\)' \| \
10605 . : '\(.\)' 2>/dev/null || 11017 . : '\(.\)' 2>/dev/null ||
10606echo X"$ac_file" | 11018echo X"$ac_file" |
10607 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11019 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10608 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11020 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10609 /^X\(\/\/\)$/{ s//\1/; q; } 11021 /^X\(\/\/\)$/{ s//\1/; q; }
10610 /^X\(\/\).*/{ s//\1/; q; } 11022 /^X\(\/\).*/{ s//\1/; q; }
10616 as_dirs= 11028 as_dirs=
10617 while test ! -d "$as_dir"; do 11029 while test ! -d "$as_dir"; do
10618 as_dirs="$as_dir $as_dirs" 11030 as_dirs="$as_dir $as_dirs"
10619 as_dir=`(dirname "$as_dir") 2>/dev/null || 11031 as_dir=`(dirname "$as_dir") 2>/dev/null ||
10620$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11032$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10621 X"$as_dir" : 'X\(//\)[^/]' \| \ 11033 X"$as_dir" : 'X\(//\)[^/]' \| \
10622 X"$as_dir" : 'X\(//\)$' \| \ 11034 X"$as_dir" : 'X\(//\)$' \| \
10623 X"$as_dir" : 'X\(/\)' \| \ 11035 X"$as_dir" : 'X\(/\)' \| \
10624 . : '\(.\)' 2>/dev/null || 11036 . : '\(.\)' 2>/dev/null ||
10625echo X"$as_dir" | 11037echo X"$as_dir" |
10626 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11038 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10627 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11039 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10628 /^X\(\/\/\)$/{ s//\1/; q; } 11040 /^X\(\/\/\)$/{ s//\1/; q; }
10629 /^X\(\/\).*/{ s//\1/; q; } 11041 /^X\(\/\).*/{ s//\1/; q; }
10651 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 11063 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10652 esac 11064 esac
10653done 11065done
10654echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || 11066echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
10655$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11067$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10656 X$ac_file : 'X\(//\)[^/]' \| \ 11068 X$ac_file : 'X\(//\)[^/]' \| \
10657 X$ac_file : 'X\(//\)$' \| \ 11069 X$ac_file : 'X\(//\)$' \| \
10658 X$ac_file : 'X\(/\)' \| \ 11070 X$ac_file : 'X\(/\)' \| \
10659 . : '\(.\)' 2>/dev/null || 11071 . : '\(.\)' 2>/dev/null ||
10660echo X$ac_file | 11072echo X$ac_file |
10661 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11073 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10662 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11074 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10663 /^X\(\/\/\)$/{ s//\1/; q; } 11075 /^X\(\/\/\)$/{ s//\1/; q; }
10664 /^X\(\/\).*/{ s//\1/; q; } 11076 /^X\(\/\).*/{ s//\1/; q; }
10673for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 11085for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
10674 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 11086 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
10675 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 11087 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
10676 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 11088 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
10677$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11089$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10678 X"$ac_dest" : 'X\(//\)[^/]' \| \ 11090 X"$ac_dest" : 'X\(//\)[^/]' \| \
10679 X"$ac_dest" : 'X\(//\)$' \| \ 11091 X"$ac_dest" : 'X\(//\)$' \| \
10680 X"$ac_dest" : 'X\(/\)' \| \ 11092 X"$ac_dest" : 'X\(/\)' \| \
10681 . : '\(.\)' 2>/dev/null || 11093 . : '\(.\)' 2>/dev/null ||
10682echo X"$ac_dest" | 11094echo X"$ac_dest" |
10683 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11095 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10684 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11096 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10685 /^X\(\/\/\)$/{ s//\1/; q; } 11097 /^X\(\/\/\)$/{ s//\1/; q; }
10686 /^X\(\/\).*/{ s//\1/; q; } 11098 /^X\(\/\).*/{ s//\1/; q; }
10687 s/.*/./; q'` 11099 s/.*/./; q'`
11100 { if $as_mkdir_p; then
11101 mkdir -p "$ac_dir"
11102 else
11103 as_dir="$ac_dir"
11104 as_dirs=
11105 while test ! -d "$as_dir"; do
11106 as_dirs="$as_dir $as_dirs"
11107 as_dir=`(dirname "$as_dir") 2>/dev/null ||
11108$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11109 X"$as_dir" : 'X\(//\)[^/]' \| \
11110 X"$as_dir" : 'X\(//\)$' \| \
11111 X"$as_dir" : 'X\(/\)' \| \
11112 . : '\(.\)' 2>/dev/null ||
11113echo X"$as_dir" |
11114 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11115 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11116 /^X\(\/\/\)$/{ s//\1/; q; }
11117 /^X\(\/\).*/{ s//\1/; q; }
11118 s/.*/./; q'`
11119 done
11120 test ! -n "$as_dirs" || mkdir $as_dirs
11121 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11122echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11123 { (exit 1); exit 1; }; }; }
11124
10688 ac_builddir=. 11125 ac_builddir=.
10689 11126
10690if test "$ac_dir" != .; then 11127if test "$ac_dir" != .; then
10691 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 11128 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10692 # A "../" for each directory in $ac_dir_suffix. 11129 # A "../" for each directory in $ac_dir_suffix.
10708 ac_top_srcdir=$srcdir ;; 11145 ac_top_srcdir=$srcdir ;;
10709 *) # Relative path. 11146 *) # Relative path.
10710 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 11147 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10711 ac_top_srcdir=$ac_top_builddir$srcdir ;; 11148 ac_top_srcdir=$ac_top_builddir$srcdir ;;
10712esac 11149esac
10713# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 11150
10714# absolute. 11151# Do not use `cd foo && pwd` to compute absolute paths, because
10715ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 11152# the directories may not exist.
10716ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 11153case `pwd` in
10717ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 11154.) ac_abs_builddir="$ac_dir";;
10718ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 11155*)
11156 case "$ac_dir" in
11157 .) ac_abs_builddir=`pwd`;;
11158 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11159 *) ac_abs_builddir=`pwd`/"$ac_dir";;
11160 esac;;
11161esac
11162case $ac_abs_builddir in
11163.) ac_abs_top_builddir=${ac_top_builddir}.;;
11164*)
11165 case ${ac_top_builddir}. in
11166 .) ac_abs_top_builddir=$ac_abs_builddir;;
11167 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11168 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11169 esac;;
11170esac
11171case $ac_abs_builddir in
11172.) ac_abs_srcdir=$ac_srcdir;;
11173*)
11174 case $ac_srcdir in
11175 .) ac_abs_srcdir=$ac_abs_builddir;;
11176 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11177 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11178 esac;;
11179esac
11180case $ac_abs_builddir in
11181.) ac_abs_top_srcdir=$ac_top_srcdir;;
11182*)
11183 case $ac_top_srcdir in
11184 .) ac_abs_top_srcdir=$ac_abs_builddir;;
11185 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11186 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11187 esac;;
11188esac
10719 11189
10720 11190
10721 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 11191 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
10722echo "$as_me: executing $ac_dest commands" >&6;} 11192echo "$as_me: executing $ac_dest commands" >&6;}
10723 case $ac_dest in 11193 case $ac_dest in
10827 # each Makefile.in and add a new line on top of each file to say so. 11297 # each Makefile.in and add a new line on top of each file to say so.
10828 # So let's grep whole file. 11298 # So let's grep whole file.
10829 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 11299 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
10830 dirpart=`(dirname "$mf") 2>/dev/null || 11300 dirpart=`(dirname "$mf") 2>/dev/null ||
10831$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11301$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10832 X"$mf" : 'X\(//\)[^/]' \| \ 11302 X"$mf" : 'X\(//\)[^/]' \| \
10833 X"$mf" : 'X\(//\)$' \| \ 11303 X"$mf" : 'X\(//\)$' \| \
10834 X"$mf" : 'X\(/\)' \| \ 11304 X"$mf" : 'X\(/\)' \| \
10835 . : '\(.\)' 2>/dev/null || 11305 . : '\(.\)' 2>/dev/null ||
10836echo X"$mf" | 11306echo X"$mf" |
10837 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10838 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11308 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10839 /^X\(\/\/\)$/{ s//\1/; q; } 11309 /^X\(\/\/\)$/{ s//\1/; q; }
10840 /^X\(\/\).*/{ s//\1/; q; } 11310 /^X\(\/\).*/{ s//\1/; q; }
10866 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 11336 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10867 # Make sure the directory exists. 11337 # Make sure the directory exists.
10868 test -f "$dirpart/$file" && continue 11338 test -f "$dirpart/$file" && continue
10869 fdir=`(dirname "$file") 2>/dev/null || 11339 fdir=`(dirname "$file") 2>/dev/null ||
10870$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11340$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10871 X"$file" : 'X\(//\)[^/]' \| \ 11341 X"$file" : 'X\(//\)[^/]' \| \
10872 X"$file" : 'X\(//\)$' \| \ 11342 X"$file" : 'X\(//\)$' \| \
10873 X"$file" : 'X\(/\)' \| \ 11343 X"$file" : 'X\(/\)' \| \
10874 . : '\(.\)' 2>/dev/null || 11344 . : '\(.\)' 2>/dev/null ||
10875echo X"$file" | 11345echo X"$file" |
10876 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10877 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11347 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10878 /^X\(\/\/\)$/{ s//\1/; q; } 11348 /^X\(\/\/\)$/{ s//\1/; q; }
10879 /^X\(\/\).*/{ s//\1/; q; } 11349 /^X\(\/\).*/{ s//\1/; q; }
10885 as_dirs= 11355 as_dirs=
10886 while test ! -d "$as_dir"; do 11356 while test ! -d "$as_dir"; do
10887 as_dirs="$as_dir $as_dirs" 11357 as_dirs="$as_dir $as_dirs"
10888 as_dir=`(dirname "$as_dir") 2>/dev/null || 11358 as_dir=`(dirname "$as_dir") 2>/dev/null ||
10889$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11359$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10890 X"$as_dir" : 'X\(//\)[^/]' \| \ 11360 X"$as_dir" : 'X\(//\)[^/]' \| \
10891 X"$as_dir" : 'X\(//\)$' \| \ 11361 X"$as_dir" : 'X\(//\)$' \| \
10892 X"$as_dir" : 'X\(/\)' \| \ 11362 X"$as_dir" : 'X\(/\)' \| \
10893 . : '\(.\)' 2>/dev/null || 11363 . : '\(.\)' 2>/dev/null ||
10894echo X"$as_dir" | 11364echo X"$as_dir" |
10895 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10896 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11366 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10897 /^X\(\/\/\)$/{ s//\1/; q; } 11367 /^X\(\/\/\)$/{ s//\1/; q; }
10898 /^X\(\/\).*/{ s//\1/; q; } 11368 /^X\(\/\).*/{ s//\1/; q; }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines