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

Comparing gvpe/configure (file contents):
Revision 1.5 by pcg, Wed Oct 15 01:35:45 2003 UTC vs.
Revision 1.12 by pcg, Sat Jan 17 14:50:40 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"; Broken combinations are:
876 "tincd/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
4765echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 4914echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4766if test "${ac_cv_c_compiler_gnu+set}" = set; then 4915if test "${ac_cv_c_compiler_gnu+set}" = set; then
4767 echo $ECHO_N "(cached) $ECHO_C" >&6 4916 echo $ECHO_N "(cached) $ECHO_C" >&6
4768else 4917else
4769 cat >conftest.$ac_ext <<_ACEOF 4918 cat >conftest.$ac_ext <<_ACEOF
4770#line $LINENO "configure"
4771/* confdefs.h. */ 4919/* confdefs.h. */
4772_ACEOF 4920_ACEOF
4773cat confdefs.h >>conftest.$ac_ext 4921cat confdefs.h >>conftest.$ac_ext
4774cat >>conftest.$ac_ext <<_ACEOF 4922cat >>conftest.$ac_ext <<_ACEOF
4775/* end confdefs.h. */ 4923/* end confdefs.h. */
4785 return 0; 4933 return 0;
4786} 4934}
4787_ACEOF 4935_ACEOF
4788rm -f conftest.$ac_objext 4936rm -f conftest.$ac_objext
4789if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4937if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4790 (eval $ac_compile) 2>&5 4938 (eval $ac_compile) 2>conftest.er1
4791 ac_status=$? 4939 ac_status=$?
4940 grep -v '^ *+' conftest.er1 >conftest.err
4941 rm -f conftest.er1
4942 cat conftest.err >&5
4792 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4793 (exit $ac_status); } && 4944 (exit $ac_status); } &&
4794 { ac_try='test -s conftest.$ac_objext' 4945 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4796 (eval $ac_try) 2>&5 4947 (eval $ac_try) 2>&5
4797 ac_status=$? 4948 ac_status=$?
4798 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4950 (exit $ac_status); }; } &&
4951 { ac_try='test -s conftest.$ac_objext'
4952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4953 (eval $ac_try) 2>&5
4954 ac_status=$?
4955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4799 (exit $ac_status); }; }; then 4956 (exit $ac_status); }; }; then
4800 ac_compiler_gnu=yes 4957 ac_compiler_gnu=yes
4801else 4958else
4802 echo "$as_me: failed program was:" >&5 4959 echo "$as_me: failed program was:" >&5
4803sed 's/^/| /' conftest.$ac_ext >&5 4960sed 's/^/| /' conftest.$ac_ext >&5
4804 4961
4805ac_compiler_gnu=no 4962ac_compiler_gnu=no
4806fi 4963fi
4807rm -f conftest.$ac_objext conftest.$ac_ext 4964rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4808ac_cv_c_compiler_gnu=$ac_compiler_gnu 4965ac_cv_c_compiler_gnu=$ac_compiler_gnu
4809 4966
4810fi 4967fi
4811echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 4968echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4812echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 4969echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4818echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 4975echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4819if test "${ac_cv_prog_cc_g+set}" = set; then 4976if test "${ac_cv_prog_cc_g+set}" = set; then
4820 echo $ECHO_N "(cached) $ECHO_C" >&6 4977 echo $ECHO_N "(cached) $ECHO_C" >&6
4821else 4978else
4822 cat >conftest.$ac_ext <<_ACEOF 4979 cat >conftest.$ac_ext <<_ACEOF
4823#line $LINENO "configure"
4824/* confdefs.h. */ 4980/* confdefs.h. */
4825_ACEOF 4981_ACEOF
4826cat confdefs.h >>conftest.$ac_ext 4982cat confdefs.h >>conftest.$ac_ext
4827cat >>conftest.$ac_ext <<_ACEOF 4983cat >>conftest.$ac_ext <<_ACEOF
4828/* end confdefs.h. */ 4984/* end confdefs.h. */
4835 return 0; 4991 return 0;
4836} 4992}
4837_ACEOF 4993_ACEOF
4838rm -f conftest.$ac_objext 4994rm -f conftest.$ac_objext
4839if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4995if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4840 (eval $ac_compile) 2>&5 4996 (eval $ac_compile) 2>conftest.er1
4841 ac_status=$? 4997 ac_status=$?
4998 grep -v '^ *+' conftest.er1 >conftest.err
4999 rm -f conftest.er1
5000 cat conftest.err >&5
4842 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843 (exit $ac_status); } && 5002 (exit $ac_status); } &&
4844 { ac_try='test -s conftest.$ac_objext' 5003 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4846 (eval $ac_try) 2>&5 5005 (eval $ac_try) 2>&5
4847 ac_status=$? 5006 ac_status=$?
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5008 (exit $ac_status); }; } &&
5009 { ac_try='test -s conftest.$ac_objext'
5010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5011 (eval $ac_try) 2>&5
5012 ac_status=$?
5013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); }; }; then 5014 (exit $ac_status); }; }; then
4850 ac_cv_prog_cc_g=yes 5015 ac_cv_prog_cc_g=yes
4851else 5016else
4852 echo "$as_me: failed program was:" >&5 5017 echo "$as_me: failed program was:" >&5
4853sed 's/^/| /' conftest.$ac_ext >&5 5018sed 's/^/| /' conftest.$ac_ext >&5
4854 5019
4855ac_cv_prog_cc_g=no 5020ac_cv_prog_cc_g=no
4856fi 5021fi
4857rm -f conftest.$ac_objext conftest.$ac_ext 5022rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4858fi 5023fi
4859echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 5024echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4860echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 5025echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4861if test "$ac_test_CFLAGS" = set; then 5026if test "$ac_test_CFLAGS" = set; then
4862 CFLAGS=$ac_save_CFLAGS 5027 CFLAGS=$ac_save_CFLAGS
4879 echo $ECHO_N "(cached) $ECHO_C" >&6 5044 echo $ECHO_N "(cached) $ECHO_C" >&6
4880else 5045else
4881 ac_cv_prog_cc_stdc=no 5046 ac_cv_prog_cc_stdc=no
4882ac_save_CC=$CC 5047ac_save_CC=$CC
4883cat >conftest.$ac_ext <<_ACEOF 5048cat >conftest.$ac_ext <<_ACEOF
4884#line $LINENO "configure"
4885/* confdefs.h. */ 5049/* confdefs.h. */
4886_ACEOF 5050_ACEOF
4887cat confdefs.h >>conftest.$ac_ext 5051cat confdefs.h >>conftest.$ac_ext
4888cat >>conftest.$ac_ext <<_ACEOF 5052cat >>conftest.$ac_ext <<_ACEOF
4889/* end confdefs.h. */ 5053/* end confdefs.h. */
4907 va_start (v,p); 5071 va_start (v,p);
4908 s = g (p, va_arg (v,int)); 5072 s = g (p, va_arg (v,int));
4909 va_end (v); 5073 va_end (v);
4910 return s; 5074 return s;
4911} 5075}
5076
5077/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5078 function prototypes and stuff, but not '\xHH' hex character constants.
5079 These don't provoke an error unfortunately, instead are silently treated
5080 as 'x'. The following induces an error, until -std1 is added to get
5081 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5082 array size at least. It's necessary to write '\x00'==0 to get something
5083 that's true only with -std1. */
5084int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5085
4912int test (int i, double x); 5086int test (int i, double x);
4913struct s1 {int (*f) (int a);}; 5087struct s1 {int (*f) (int a);};
4914struct s2 {int (*f) (double a);}; 5088struct s2 {int (*f) (double a);};
4915int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 5089int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4916int argc; 5090int argc;
4933for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 5107for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4934do 5108do
4935 CC="$ac_save_CC $ac_arg" 5109 CC="$ac_save_CC $ac_arg"
4936 rm -f conftest.$ac_objext 5110 rm -f conftest.$ac_objext
4937if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5111if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4938 (eval $ac_compile) 2>&5 5112 (eval $ac_compile) 2>conftest.er1
4939 ac_status=$? 5113 ac_status=$?
5114 grep -v '^ *+' conftest.er1 >conftest.err
5115 rm -f conftest.er1
5116 cat conftest.err >&5
4940 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941 (exit $ac_status); } && 5118 (exit $ac_status); } &&
5119 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5121 (eval $ac_try) 2>&5
5122 ac_status=$?
5123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5124 (exit $ac_status); }; } &&
4942 { ac_try='test -s conftest.$ac_objext' 5125 { ac_try='test -s conftest.$ac_objext'
4943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4944 (eval $ac_try) 2>&5 5127 (eval $ac_try) 2>&5
4945 ac_status=$? 5128 ac_status=$?
4946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4947 (exit $ac_status); }; }; then 5130 (exit $ac_status); }; }; then
4950else 5133else
4951 echo "$as_me: failed program was:" >&5 5134 echo "$as_me: failed program was:" >&5
4952sed 's/^/| /' conftest.$ac_ext >&5 5135sed 's/^/| /' conftest.$ac_ext >&5
4953 5136
4954fi 5137fi
4955rm -f conftest.$ac_objext 5138rm -f conftest.err conftest.$ac_objext
4956done 5139done
4957rm -f conftest.$ac_ext conftest.$ac_objext 5140rm -f conftest.$ac_ext conftest.$ac_objext
4958CC=$ac_save_CC 5141CC=$ac_save_CC
4959 5142
4960fi 5143fi
4978 choke me 5161 choke me
4979#endif 5162#endif
4980_ACEOF 5163_ACEOF
4981rm -f conftest.$ac_objext 5164rm -f conftest.$ac_objext
4982if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5165if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4983 (eval $ac_compile) 2>&5 5166 (eval $ac_compile) 2>conftest.er1
4984 ac_status=$? 5167 ac_status=$?
5168 grep -v '^ *+' conftest.er1 >conftest.err
5169 rm -f conftest.er1
5170 cat conftest.err >&5
4985 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4986 (exit $ac_status); } && 5172 (exit $ac_status); } &&
5173 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5175 (eval $ac_try) 2>&5
5176 ac_status=$?
5177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5178 (exit $ac_status); }; } &&
4987 { ac_try='test -s conftest.$ac_objext' 5179 { ac_try='test -s conftest.$ac_objext'
4988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4989 (eval $ac_try) 2>&5 5181 (eval $ac_try) 2>&5
4990 ac_status=$? 5182 ac_status=$?
4991 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4992 (exit $ac_status); }; }; then 5184 (exit $ac_status); }; }; then
4997 'extern "C" void exit (int) throw ();' \ 5189 'extern "C" void exit (int) throw ();' \
4998 'extern "C" void exit (int);' \ 5190 'extern "C" void exit (int);' \
4999 'void exit (int);' 5191 'void exit (int);'
5000do 5192do
5001 cat >conftest.$ac_ext <<_ACEOF 5193 cat >conftest.$ac_ext <<_ACEOF
5002#line $LINENO "configure"
5003/* confdefs.h. */ 5194/* confdefs.h. */
5004_ACEOF 5195_ACEOF
5005cat confdefs.h >>conftest.$ac_ext 5196cat confdefs.h >>conftest.$ac_ext
5006cat >>conftest.$ac_ext <<_ACEOF 5197cat >>conftest.$ac_ext <<_ACEOF
5007/* end confdefs.h. */ 5198/* end confdefs.h. */
5015 return 0; 5206 return 0;
5016} 5207}
5017_ACEOF 5208_ACEOF
5018rm -f conftest.$ac_objext 5209rm -f conftest.$ac_objext
5019if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5210if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5020 (eval $ac_compile) 2>&5 5211 (eval $ac_compile) 2>conftest.er1
5021 ac_status=$? 5212 ac_status=$?
5213 grep -v '^ *+' conftest.er1 >conftest.err
5214 rm -f conftest.er1
5215 cat conftest.err >&5
5022 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5023 (exit $ac_status); } && 5217 (exit $ac_status); } &&
5024 { ac_try='test -s conftest.$ac_objext' 5218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5026 (eval $ac_try) 2>&5 5220 (eval $ac_try) 2>&5
5027 ac_status=$? 5221 ac_status=$?
5028 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5223 (exit $ac_status); }; } &&
5224 { ac_try='test -s conftest.$ac_objext'
5225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5226 (eval $ac_try) 2>&5
5227 ac_status=$?
5228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5029 (exit $ac_status); }; }; then 5229 (exit $ac_status); }; }; then
5030 : 5230 :
5031else 5231else
5032 echo "$as_me: failed program was:" >&5 5232 echo "$as_me: failed program was:" >&5
5033sed 's/^/| /' conftest.$ac_ext >&5 5233sed 's/^/| /' conftest.$ac_ext >&5
5034 5234
5035continue 5235continue
5036fi 5236fi
5037rm -f conftest.$ac_objext conftest.$ac_ext 5237rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5038 cat >conftest.$ac_ext <<_ACEOF 5238 cat >conftest.$ac_ext <<_ACEOF
5039#line $LINENO "configure"
5040/* confdefs.h. */ 5239/* confdefs.h. */
5041_ACEOF 5240_ACEOF
5042cat confdefs.h >>conftest.$ac_ext 5241cat confdefs.h >>conftest.$ac_ext
5043cat >>conftest.$ac_ext <<_ACEOF 5242cat >>conftest.$ac_ext <<_ACEOF
5044/* end confdefs.h. */ 5243/* end confdefs.h. */
5051 return 0; 5250 return 0;
5052} 5251}
5053_ACEOF 5252_ACEOF
5054rm -f conftest.$ac_objext 5253rm -f conftest.$ac_objext
5055if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5254if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5056 (eval $ac_compile) 2>&5 5255 (eval $ac_compile) 2>conftest.er1
5057 ac_status=$? 5256 ac_status=$?
5257 grep -v '^ *+' conftest.er1 >conftest.err
5258 rm -f conftest.er1
5259 cat conftest.err >&5
5058 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5059 (exit $ac_status); } && 5261 (exit $ac_status); } &&
5060 { ac_try='test -s conftest.$ac_objext' 5262 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5062 (eval $ac_try) 2>&5 5264 (eval $ac_try) 2>&5
5063 ac_status=$? 5265 ac_status=$?
5064 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5267 (exit $ac_status); }; } &&
5268 { ac_try='test -s conftest.$ac_objext'
5269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5270 (eval $ac_try) 2>&5
5271 ac_status=$?
5272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5065 (exit $ac_status); }; }; then 5273 (exit $ac_status); }; }; then
5066 break 5274 break
5067else 5275else
5068 echo "$as_me: failed program was:" >&5 5276 echo "$as_me: failed program was:" >&5
5069sed 's/^/| /' conftest.$ac_ext >&5 5277sed 's/^/| /' conftest.$ac_ext >&5
5070 5278
5071fi 5279fi
5072rm -f conftest.$ac_objext conftest.$ac_ext 5280rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5073done 5281done
5074rm -f conftest* 5282rm -f conftest*
5075if test -n "$ac_declaration"; then 5283if test -n "$ac_declaration"; then
5076 echo '#ifdef __cplusplus' >>confdefs.h 5284 echo '#ifdef __cplusplus' >>confdefs.h
5077 echo $ac_declaration >>confdefs.h 5285 echo $ac_declaration >>confdefs.h
5081else 5289else
5082 echo "$as_me: failed program was:" >&5 5290 echo "$as_me: failed program was:" >&5
5083sed 's/^/| /' conftest.$ac_ext >&5 5291sed 's/^/| /' conftest.$ac_ext >&5
5084 5292
5085fi 5293fi
5086rm -f conftest.$ac_objext conftest.$ac_ext 5294rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5087ac_ext=c 5295ac_ext=c
5088ac_cpp='$CPP $CPPFLAGS' 5296ac_cpp='$CPP $CPPFLAGS'
5089ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5297ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5090ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5298ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5091ac_compiler_gnu=$ac_cv_c_compiler_gnu 5299ac_compiler_gnu=$ac_cv_c_compiler_gnu
5218 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5426 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5219 # <limits.h> exists even on freestanding compilers. 5427 # <limits.h> exists even on freestanding compilers.
5220 # On the NeXT, cc -E runs the code through the compiler's parser, 5428 # 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. 5429 # not just through cpp. "Syntax error" is here to catch this case.
5222 cat >conftest.$ac_ext <<_ACEOF 5430 cat >conftest.$ac_ext <<_ACEOF
5223#line $LINENO "configure"
5224/* confdefs.h. */ 5431/* confdefs.h. */
5225_ACEOF 5432_ACEOF
5226cat confdefs.h >>conftest.$ac_ext 5433cat confdefs.h >>conftest.$ac_ext
5227cat >>conftest.$ac_ext <<_ACEOF 5434cat >>conftest.$ac_ext <<_ACEOF
5228/* end confdefs.h. */ 5435/* end confdefs.h. */
5229#ifdef __STDC__ 5436#ifdef __STDC__
5230# include <limits.h> 5437# include <limits.h>
5231#else 5438#else
5232# include <assert.h> 5439# include <assert.h>
5233#endif 5440#endif
5234 Syntax error 5441 Syntax error
5235_ACEOF 5442_ACEOF
5236if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5443if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5237 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5444 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5238 ac_status=$? 5445 ac_status=$?
5239 grep -v '^ *+' conftest.er1 >conftest.err 5446 grep -v '^ *+' conftest.er1 >conftest.err
5241 cat conftest.err >&5 5448 cat conftest.err >&5
5242 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5243 (exit $ac_status); } >/dev/null; then 5450 (exit $ac_status); } >/dev/null; then
5244 if test -s conftest.err; then 5451 if test -s conftest.err; then
5245 ac_cpp_err=$ac_c_preproc_warn_flag 5452 ac_cpp_err=$ac_c_preproc_warn_flag
5453 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5246 else 5454 else
5247 ac_cpp_err= 5455 ac_cpp_err=
5248 fi 5456 fi
5249else 5457else
5250 ac_cpp_err=yes 5458 ac_cpp_err=yes
5261rm -f conftest.err conftest.$ac_ext 5469rm -f conftest.err conftest.$ac_ext
5262 5470
5263 # OK, works on sane cases. Now check whether non-existent headers 5471 # OK, works on sane cases. Now check whether non-existent headers
5264 # can be detected and how. 5472 # can be detected and how.
5265 cat >conftest.$ac_ext <<_ACEOF 5473 cat >conftest.$ac_ext <<_ACEOF
5266#line $LINENO "configure"
5267/* confdefs.h. */ 5474/* confdefs.h. */
5268_ACEOF 5475_ACEOF
5269cat confdefs.h >>conftest.$ac_ext 5476cat confdefs.h >>conftest.$ac_ext
5270cat >>conftest.$ac_ext <<_ACEOF 5477cat >>conftest.$ac_ext <<_ACEOF
5271/* end confdefs.h. */ 5478/* end confdefs.h. */
5279 cat conftest.err >&5 5486 cat conftest.err >&5
5280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5281 (exit $ac_status); } >/dev/null; then 5488 (exit $ac_status); } >/dev/null; then
5282 if test -s conftest.err; then 5489 if test -s conftest.err; then
5283 ac_cpp_err=$ac_c_preproc_warn_flag 5490 ac_cpp_err=$ac_c_preproc_warn_flag
5491 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5284 else 5492 else
5285 ac_cpp_err= 5493 ac_cpp_err=
5286 fi 5494 fi
5287else 5495else
5288 ac_cpp_err=yes 5496 ac_cpp_err=yes
5325 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5533 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5326 # <limits.h> exists even on freestanding compilers. 5534 # <limits.h> exists even on freestanding compilers.
5327 # On the NeXT, cc -E runs the code through the compiler's parser, 5535 # 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. 5536 # not just through cpp. "Syntax error" is here to catch this case.
5329 cat >conftest.$ac_ext <<_ACEOF 5537 cat >conftest.$ac_ext <<_ACEOF
5330#line $LINENO "configure"
5331/* confdefs.h. */ 5538/* confdefs.h. */
5332_ACEOF 5539_ACEOF
5333cat confdefs.h >>conftest.$ac_ext 5540cat confdefs.h >>conftest.$ac_ext
5334cat >>conftest.$ac_ext <<_ACEOF 5541cat >>conftest.$ac_ext <<_ACEOF
5335/* end confdefs.h. */ 5542/* end confdefs.h. */
5336#ifdef __STDC__ 5543#ifdef __STDC__
5337# include <limits.h> 5544# include <limits.h>
5338#else 5545#else
5339# include <assert.h> 5546# include <assert.h>
5340#endif 5547#endif
5341 Syntax error 5548 Syntax error
5342_ACEOF 5549_ACEOF
5343if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5550if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5344 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5551 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5345 ac_status=$? 5552 ac_status=$?
5346 grep -v '^ *+' conftest.er1 >conftest.err 5553 grep -v '^ *+' conftest.er1 >conftest.err
5348 cat conftest.err >&5 5555 cat conftest.err >&5
5349 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5350 (exit $ac_status); } >/dev/null; then 5557 (exit $ac_status); } >/dev/null; then
5351 if test -s conftest.err; then 5558 if test -s conftest.err; then
5352 ac_cpp_err=$ac_c_preproc_warn_flag 5559 ac_cpp_err=$ac_c_preproc_warn_flag
5560 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5353 else 5561 else
5354 ac_cpp_err= 5562 ac_cpp_err=
5355 fi 5563 fi
5356else 5564else
5357 ac_cpp_err=yes 5565 ac_cpp_err=yes
5368rm -f conftest.err conftest.$ac_ext 5576rm -f conftest.err conftest.$ac_ext
5369 5577
5370 # OK, works on sane cases. Now check whether non-existent headers 5578 # OK, works on sane cases. Now check whether non-existent headers
5371 # can be detected and how. 5579 # can be detected and how.
5372 cat >conftest.$ac_ext <<_ACEOF 5580 cat >conftest.$ac_ext <<_ACEOF
5373#line $LINENO "configure"
5374/* confdefs.h. */ 5581/* confdefs.h. */
5375_ACEOF 5582_ACEOF
5376cat confdefs.h >>conftest.$ac_ext 5583cat confdefs.h >>conftest.$ac_ext
5377cat >>conftest.$ac_ext <<_ACEOF 5584cat >>conftest.$ac_ext <<_ACEOF
5378/* end confdefs.h. */ 5585/* end confdefs.h. */
5386 cat conftest.err >&5 5593 cat conftest.err >&5
5387 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5388 (exit $ac_status); } >/dev/null; then 5595 (exit $ac_status); } >/dev/null; then
5389 if test -s conftest.err; then 5596 if test -s conftest.err; then
5390 ac_cpp_err=$ac_c_preproc_warn_flag 5597 ac_cpp_err=$ac_c_preproc_warn_flag
5598 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5391 else 5599 else
5392 ac_cpp_err= 5600 ac_cpp_err=
5393 fi 5601 fi
5394else 5602else
5395 ac_cpp_err=yes 5603 ac_cpp_err=yes
5543echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 5751echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
5544if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 5752if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5545 echo $ECHO_N "(cached) $ECHO_C" >&6 5753 echo $ECHO_N "(cached) $ECHO_C" >&6
5546else 5754else
5547 cat >conftest.$ac_ext <<_ACEOF 5755 cat >conftest.$ac_ext <<_ACEOF
5548#line $LINENO "configure"
5549/* confdefs.h. */ 5756/* confdefs.h. */
5550_ACEOF 5757_ACEOF
5551cat confdefs.h >>conftest.$ac_ext 5758cat confdefs.h >>conftest.$ac_ext
5552cat >>conftest.$ac_ext <<_ACEOF 5759cat >>conftest.$ac_ext <<_ACEOF
5553/* end confdefs.h. */ 5760/* end confdefs.h. */
5563 return 0; 5770 return 0;
5564} 5771}
5565_ACEOF 5772_ACEOF
5566rm -f conftest.$ac_objext 5773rm -f conftest.$ac_objext
5567if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5774if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5568 (eval $ac_compile) 2>&5 5775 (eval $ac_compile) 2>conftest.er1
5569 ac_status=$? 5776 ac_status=$?
5777 grep -v '^ *+' conftest.er1 >conftest.err
5778 rm -f conftest.er1
5779 cat conftest.err >&5
5570 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5571 (exit $ac_status); } && 5781 (exit $ac_status); } &&
5572 { ac_try='test -s conftest.$ac_objext' 5782 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5574 (eval $ac_try) 2>&5 5784 (eval $ac_try) 2>&5
5575 ac_status=$? 5785 ac_status=$?
5576 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5787 (exit $ac_status); }; } &&
5788 { ac_try='test -s conftest.$ac_objext'
5789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5790 (eval $ac_try) 2>&5
5791 ac_status=$?
5792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5577 (exit $ac_status); }; }; then 5793 (exit $ac_status); }; }; then
5578 ac_compiler_gnu=yes 5794 ac_compiler_gnu=yes
5579else 5795else
5580 echo "$as_me: failed program was:" >&5 5796 echo "$as_me: failed program was:" >&5
5581sed 's/^/| /' conftest.$ac_ext >&5 5797sed 's/^/| /' conftest.$ac_ext >&5
5582 5798
5583ac_compiler_gnu=no 5799ac_compiler_gnu=no
5584fi 5800fi
5585rm -f conftest.$ac_objext conftest.$ac_ext 5801rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5586ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 5802ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5587 5803
5588fi 5804fi
5589echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 5805echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5590echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 5806echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
5596echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 5812echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
5597if test "${ac_cv_prog_cxx_g+set}" = set; then 5813if test "${ac_cv_prog_cxx_g+set}" = set; then
5598 echo $ECHO_N "(cached) $ECHO_C" >&6 5814 echo $ECHO_N "(cached) $ECHO_C" >&6
5599else 5815else
5600 cat >conftest.$ac_ext <<_ACEOF 5816 cat >conftest.$ac_ext <<_ACEOF
5601#line $LINENO "configure"
5602/* confdefs.h. */ 5817/* confdefs.h. */
5603_ACEOF 5818_ACEOF
5604cat confdefs.h >>conftest.$ac_ext 5819cat confdefs.h >>conftest.$ac_ext
5605cat >>conftest.$ac_ext <<_ACEOF 5820cat >>conftest.$ac_ext <<_ACEOF
5606/* end confdefs.h. */ 5821/* end confdefs.h. */
5613 return 0; 5828 return 0;
5614} 5829}
5615_ACEOF 5830_ACEOF
5616rm -f conftest.$ac_objext 5831rm -f conftest.$ac_objext
5617if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5832if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5618 (eval $ac_compile) 2>&5 5833 (eval $ac_compile) 2>conftest.er1
5619 ac_status=$? 5834 ac_status=$?
5835 grep -v '^ *+' conftest.er1 >conftest.err
5836 rm -f conftest.er1
5837 cat conftest.err >&5
5620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5621 (exit $ac_status); } && 5839 (exit $ac_status); } &&
5622 { ac_try='test -s conftest.$ac_objext' 5840 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5624 (eval $ac_try) 2>&5 5842 (eval $ac_try) 2>&5
5625 ac_status=$? 5843 ac_status=$?
5626 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5845 (exit $ac_status); }; } &&
5846 { ac_try='test -s conftest.$ac_objext'
5847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5848 (eval $ac_try) 2>&5
5849 ac_status=$?
5850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5627 (exit $ac_status); }; }; then 5851 (exit $ac_status); }; }; then
5628 ac_cv_prog_cxx_g=yes 5852 ac_cv_prog_cxx_g=yes
5629else 5853else
5630 echo "$as_me: failed program was:" >&5 5854 echo "$as_me: failed program was:" >&5
5631sed 's/^/| /' conftest.$ac_ext >&5 5855sed 's/^/| /' conftest.$ac_ext >&5
5632 5856
5633ac_cv_prog_cxx_g=no 5857ac_cv_prog_cxx_g=no
5634fi 5858fi
5635rm -f conftest.$ac_objext conftest.$ac_ext 5859rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5636fi 5860fi
5637echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 5861echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5638echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 5862echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5639if test "$ac_test_CXXFLAGS" = set; then 5863if test "$ac_test_CXXFLAGS" = set; then
5640 CXXFLAGS=$ac_save_CXXFLAGS 5864 CXXFLAGS=$ac_save_CXXFLAGS
5658 'extern "C" void exit (int) throw ();' \ 5882 'extern "C" void exit (int) throw ();' \
5659 'extern "C" void exit (int);' \ 5883 'extern "C" void exit (int);' \
5660 'void exit (int);' 5884 'void exit (int);'
5661do 5885do
5662 cat >conftest.$ac_ext <<_ACEOF 5886 cat >conftest.$ac_ext <<_ACEOF
5663#line $LINENO "configure"
5664/* confdefs.h. */ 5887/* confdefs.h. */
5665_ACEOF 5888_ACEOF
5666cat confdefs.h >>conftest.$ac_ext 5889cat confdefs.h >>conftest.$ac_ext
5667cat >>conftest.$ac_ext <<_ACEOF 5890cat >>conftest.$ac_ext <<_ACEOF
5668/* end confdefs.h. */ 5891/* end confdefs.h. */
5676 return 0; 5899 return 0;
5677} 5900}
5678_ACEOF 5901_ACEOF
5679rm -f conftest.$ac_objext 5902rm -f conftest.$ac_objext
5680if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5903if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5681 (eval $ac_compile) 2>&5 5904 (eval $ac_compile) 2>conftest.er1
5682 ac_status=$? 5905 ac_status=$?
5906 grep -v '^ *+' conftest.er1 >conftest.err
5907 rm -f conftest.er1
5908 cat conftest.err >&5
5683 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5684 (exit $ac_status); } && 5910 (exit $ac_status); } &&
5685 { ac_try='test -s conftest.$ac_objext' 5911 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5687 (eval $ac_try) 2>&5 5913 (eval $ac_try) 2>&5
5688 ac_status=$? 5914 ac_status=$?
5689 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5916 (exit $ac_status); }; } &&
5917 { ac_try='test -s conftest.$ac_objext'
5918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5919 (eval $ac_try) 2>&5
5920 ac_status=$?
5921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5690 (exit $ac_status); }; }; then 5922 (exit $ac_status); }; }; then
5691 : 5923 :
5692else 5924else
5693 echo "$as_me: failed program was:" >&5 5925 echo "$as_me: failed program was:" >&5
5694sed 's/^/| /' conftest.$ac_ext >&5 5926sed 's/^/| /' conftest.$ac_ext >&5
5695 5927
5696continue 5928continue
5697fi 5929fi
5698rm -f conftest.$ac_objext conftest.$ac_ext 5930rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5699 cat >conftest.$ac_ext <<_ACEOF 5931 cat >conftest.$ac_ext <<_ACEOF
5700#line $LINENO "configure"
5701/* confdefs.h. */ 5932/* confdefs.h. */
5702_ACEOF 5933_ACEOF
5703cat confdefs.h >>conftest.$ac_ext 5934cat confdefs.h >>conftest.$ac_ext
5704cat >>conftest.$ac_ext <<_ACEOF 5935cat >>conftest.$ac_ext <<_ACEOF
5705/* end confdefs.h. */ 5936/* end confdefs.h. */
5712 return 0; 5943 return 0;
5713} 5944}
5714_ACEOF 5945_ACEOF
5715rm -f conftest.$ac_objext 5946rm -f conftest.$ac_objext
5716if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5947if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5717 (eval $ac_compile) 2>&5 5948 (eval $ac_compile) 2>conftest.er1
5718 ac_status=$? 5949 ac_status=$?
5950 grep -v '^ *+' conftest.er1 >conftest.err
5951 rm -f conftest.er1
5952 cat conftest.err >&5
5719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5720 (exit $ac_status); } && 5954 (exit $ac_status); } &&
5721 { ac_try='test -s conftest.$ac_objext' 5955 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5723 (eval $ac_try) 2>&5 5957 (eval $ac_try) 2>&5
5724 ac_status=$? 5958 ac_status=$?
5725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5960 (exit $ac_status); }; } &&
5961 { ac_try='test -s conftest.$ac_objext'
5962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5963 (eval $ac_try) 2>&5
5964 ac_status=$?
5965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5726 (exit $ac_status); }; }; then 5966 (exit $ac_status); }; }; then
5727 break 5967 break
5728else 5968else
5729 echo "$as_me: failed program was:" >&5 5969 echo "$as_me: failed program was:" >&5
5730sed 's/^/| /' conftest.$ac_ext >&5 5970sed 's/^/| /' conftest.$ac_ext >&5
5731 5971
5732fi 5972fi
5733rm -f conftest.$ac_objext conftest.$ac_ext 5973rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5734done 5974done
5735rm -f conftest* 5975rm -f conftest*
5736if test -n "$ac_declaration"; then 5976if test -n "$ac_declaration"; then
5737 echo '#ifdef __cplusplus' >>confdefs.h 5977 echo '#ifdef __cplusplus' >>confdefs.h
5738 echo $ac_declaration >>confdefs.h 5978 echo $ac_declaration >>confdefs.h
5869if test "${ac_cv_prog_gcc_traditional+set}" = set; then 6109if test "${ac_cv_prog_gcc_traditional+set}" = set; then
5870 echo $ECHO_N "(cached) $ECHO_C" >&6 6110 echo $ECHO_N "(cached) $ECHO_C" >&6
5871else 6111else
5872 ac_pattern="Autoconf.*'x'" 6112 ac_pattern="Autoconf.*'x'"
5873 cat >conftest.$ac_ext <<_ACEOF 6113 cat >conftest.$ac_ext <<_ACEOF
5874#line $LINENO "configure"
5875/* confdefs.h. */ 6114/* confdefs.h. */
5876_ACEOF 6115_ACEOF
5877cat confdefs.h >>conftest.$ac_ext 6116cat confdefs.h >>conftest.$ac_ext
5878cat >>conftest.$ac_ext <<_ACEOF 6117cat >>conftest.$ac_ext <<_ACEOF
5879/* end confdefs.h. */ 6118/* end confdefs.h. */
5889rm -f conftest* 6128rm -f conftest*
5890 6129
5891 6130
5892 if test $ac_cv_prog_gcc_traditional = no; then 6131 if test $ac_cv_prog_gcc_traditional = no; then
5893 cat >conftest.$ac_ext <<_ACEOF 6132 cat >conftest.$ac_ext <<_ACEOF
5894#line $LINENO "configure"
5895/* confdefs.h. */ 6133/* confdefs.h. */
5896_ACEOF 6134_ACEOF
5897cat confdefs.h >>conftest.$ac_ext 6135cat confdefs.h >>conftest.$ac_ext
5898cat >>conftest.$ac_ext <<_ACEOF 6136cat >>conftest.$ac_ext <<_ACEOF
5899/* end confdefs.h. */ 6137/* end confdefs.h. */
5964# AIX /bin/install 6202# AIX /bin/install
5965# AmigaOS /C/install, which installs bootblocks on floppy discs 6203# AmigaOS /C/install, which installs bootblocks on floppy discs
5966# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 6204# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5967# AFS /usr/afsws/bin/install, which mishandles nonexistent args 6205# AFS /usr/afsws/bin/install, which mishandles nonexistent args
5968# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 6206# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6207# OS/2's system install, which has a completely different semantic
5969# ./install, which can be erroneously created by make from ./install.sh. 6208# ./install, which can be erroneously created by make from ./install.sh.
5970echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 6209echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5971echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 6210echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5972if test -z "$INSTALL"; then 6211if test -z "$INSTALL"; then
5973if test "${ac_cv_path_install+set}" = set; then 6212if test "${ac_cv_path_install+set}" = set; then
5980 test -z "$as_dir" && as_dir=. 6219 test -z "$as_dir" && as_dir=.
5981 # Account for people who put trailing slashes in PATH elements. 6220 # Account for people who put trailing slashes in PATH elements.
5982case $as_dir/ in 6221case $as_dir/ in
5983 ./ | .// | /cC/* | \ 6222 ./ | .// | /cC/* | \
5984 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 6223 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6224 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5985 /usr/ucb/* ) ;; 6225 /usr/ucb/* ) ;;
5986 *) 6226 *)
5987 # OSF1 and SCO ODT 3.0 have their own names for install. 6227 # 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 6228 # Don't use installbsd from OSF since it installs stuff as root
5989 # by default. 6229 # by default.
5990 for ac_prog in ginstall scoinst install; do 6230 for ac_prog in ginstall scoinst install; do
5991 for ac_exec_ext in '' $ac_executable_extensions; do 6231 for ac_exec_ext in '' $ac_executable_extensions; do
5992 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 6232 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5993 if test $ac_prog = install && 6233 if test $ac_prog = install &&
5994 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 6234 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5995 # AIX install. It has an incompatible calling convention. 6235 # AIX install. It has an incompatible calling convention.
5996 : 6236 :
5997 elif test $ac_prog = install && 6237 elif test $ac_prog = install &&
5998 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 6238 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. 6239 # program-specific install script used by HP pwplus--don't use.
6000 : 6240 :
6001 else 6241 else
6002 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 6242 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6003 break 3 6243 break 3
6004 fi 6244 fi
6005 fi 6245 fi
6006 done 6246 done
6007 done 6247 done
6008 ;; 6248 ;;
6009esac 6249esac
6010done 6250done
6043echo "${ECHO_T}no, using $LN_S" >&6 6283echo "${ECHO_T}no, using $LN_S" >&6
6044fi 6284fi
6045 6285
6046echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 6286echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6047echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 6287echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
6048set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 6288set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
6049if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 6289if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
6050 echo $ECHO_N "(cached) $ECHO_C" >&6 6290 echo $ECHO_N "(cached) $ECHO_C" >&6
6051else 6291else
6052 cat >conftest.make <<\_ACEOF 6292 cat >conftest.make <<\_ACEOF
6053all: 6293all:
6160 echo $ECHO_N "(cached) $ECHO_C" >&6 6400 echo $ECHO_N "(cached) $ECHO_C" >&6
6161else 6401else
6162 ac_check_lib_save_LIBS=$LIBS 6402 ac_check_lib_save_LIBS=$LIBS
6163LIBS="-lcposix $LIBS" 6403LIBS="-lcposix $LIBS"
6164cat >conftest.$ac_ext <<_ACEOF 6404cat >conftest.$ac_ext <<_ACEOF
6165#line $LINENO "configure"
6166/* confdefs.h. */ 6405/* confdefs.h. */
6167_ACEOF 6406_ACEOF
6168cat confdefs.h >>conftest.$ac_ext 6407cat confdefs.h >>conftest.$ac_ext
6169cat >>conftest.$ac_ext <<_ACEOF 6408cat >>conftest.$ac_ext <<_ACEOF
6170/* end confdefs.h. */ 6409/* end confdefs.h. */
6184 return 0; 6423 return 0;
6185} 6424}
6186_ACEOF 6425_ACEOF
6187rm -f conftest.$ac_objext conftest$ac_exeext 6426rm -f conftest.$ac_objext conftest$ac_exeext
6188if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6427if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6189 (eval $ac_link) 2>&5 6428 (eval $ac_link) 2>conftest.er1
6190 ac_status=$? 6429 ac_status=$?
6430 grep -v '^ *+' conftest.er1 >conftest.err
6431 rm -f conftest.er1
6432 cat conftest.err >&5
6191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192 (exit $ac_status); } && 6434 (exit $ac_status); } &&
6193 { ac_try='test -s conftest$ac_exeext' 6435 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6195 (eval $ac_try) 2>&5 6437 (eval $ac_try) 2>&5
6196 ac_status=$? 6438 ac_status=$?
6197 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6440 (exit $ac_status); }; } &&
6441 { ac_try='test -s conftest$ac_exeext'
6442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6443 (eval $ac_try) 2>&5
6444 ac_status=$?
6445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6198 (exit $ac_status); }; }; then 6446 (exit $ac_status); }; }; then
6199 ac_cv_lib_cposix_strerror=yes 6447 ac_cv_lib_cposix_strerror=yes
6200else 6448else
6201 echo "$as_me: failed program was:" >&5 6449 echo "$as_me: failed program was:" >&5
6202sed 's/^/| /' conftest.$ac_ext >&5 6450sed 's/^/| /' conftest.$ac_ext >&5
6203 6451
6204ac_cv_lib_cposix_strerror=no 6452ac_cv_lib_cposix_strerror=no
6205fi 6453fi
6206rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6454rm -f conftest.err conftest.$ac_objext \
6455 conftest$ac_exeext conftest.$ac_ext
6207LIBS=$ac_check_lib_save_LIBS 6456LIBS=$ac_check_lib_save_LIBS
6208fi 6457fi
6209echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5 6458echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
6210echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6 6459echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
6211if test $ac_cv_lib_cposix_strerror = yes; then 6460if test $ac_cv_lib_cposix_strerror = yes; then
6283#define HAVE_NETBSD 1 6532#define HAVE_NETBSD 1
6284_ACEOF 6533_ACEOF
6285 6534
6286 ;; 6535 ;;
6287 *cygwin*) 6536 *cygwin*)
6288 IFTYPE=tincd 6537 IFTYPE=native
6289 IFSUBTYPE=cygwin 6538 IFSUBTYPE=cygwin
6290 6539
6291cat >>confdefs.h <<\_ACEOF 6540cat >>confdefs.h <<\_ACEOF
6292#define HAVE_CYGWIN 1 6541#define HAVE_CYGWIN 1
6293_ACEOF 6542_ACEOF
6303echo "$as_me:$LINENO: result: $IFTYPE/$IFSUBTYPE" >&5 6552echo "$as_me:$LINENO: result: $IFTYPE/$IFSUBTYPE" >&5
6304echo "${ECHO_T}$IFTYPE/$IFSUBTYPE" >&6 6553echo "${ECHO_T}$IFTYPE/$IFSUBTYPE" >&6
6305IFTYPE=$IFTYPE 6554IFTYPE=$IFTYPE
6306 6555
6307IFSUBTYPE=$IFSUBTYPE 6556IFSUBTYPE=$IFSUBTYPE
6557
6558
6559cat >>confdefs.h <<_ACEOF
6560#define IFTYPE "$IFTYPE"
6561_ACEOF
6562
6563
6564cat >>confdefs.h <<_ACEOF
6565#define IFSUBTYPE "$IFSUBTYPE"
6566_ACEOF
6308 6567
6309 6568
6310cat >confcache <<\_ACEOF 6569cat >confcache <<\_ACEOF
6311# This file is a shell script that caches the results of configure 6570# 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 6571# tests run on this system so they can be shared between configure
6333 case `(ac_space=' '; set | grep ac_space) 2>&1` in 6592 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6334 *ac_space=\ *) 6593 *ac_space=\ *)
6335 # `set' does not quote correctly, so add quotes (double-quote 6594 # `set' does not quote correctly, so add quotes (double-quote
6336 # substitution turns \\\\ into \\, and sed turns \\ into \). 6595 # substitution turns \\\\ into \\, and sed turns \\ into \).
6337 sed -n \ 6596 sed -n \
6338 "s/'/'\\\\''/g; 6597 "s/'/'\\\\''/g;
6339 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 6598 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6340 ;; 6599 ;;
6341 *) 6600 *)
6342 # `set' quotes correctly as required by POSIX, so do not add quotes. 6601 # `set' quotes correctly as required by POSIX, so do not add quotes.
6343 sed -n \ 6602 sed -n \
6344 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 6603 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6345 ;; 6604 ;;
6346 esac; 6605 esac;
6347} | 6606} |
6348 sed ' 6607 sed '
6349 t clear 6608 t clear
6392 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6651 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6393 # <limits.h> exists even on freestanding compilers. 6652 # <limits.h> exists even on freestanding compilers.
6394 # On the NeXT, cc -E runs the code through the compiler's parser, 6653 # 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. 6654 # not just through cpp. "Syntax error" is here to catch this case.
6396 cat >conftest.$ac_ext <<_ACEOF 6655 cat >conftest.$ac_ext <<_ACEOF
6397#line $LINENO "configure"
6398/* confdefs.h. */ 6656/* confdefs.h. */
6399_ACEOF 6657_ACEOF
6400cat confdefs.h >>conftest.$ac_ext 6658cat confdefs.h >>conftest.$ac_ext
6401cat >>conftest.$ac_ext <<_ACEOF 6659cat >>conftest.$ac_ext <<_ACEOF
6402/* end confdefs.h. */ 6660/* end confdefs.h. */
6403#ifdef __STDC__ 6661#ifdef __STDC__
6404# include <limits.h> 6662# include <limits.h>
6405#else 6663#else
6406# include <assert.h> 6664# include <assert.h>
6407#endif 6665#endif
6408 Syntax error 6666 Syntax error
6409_ACEOF 6667_ACEOF
6410if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6668if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6411 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6669 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6412 ac_status=$? 6670 ac_status=$?
6413 grep -v '^ *+' conftest.er1 >conftest.err 6671 grep -v '^ *+' conftest.er1 >conftest.err
6415 cat conftest.err >&5 6673 cat conftest.err >&5
6416 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6417 (exit $ac_status); } >/dev/null; then 6675 (exit $ac_status); } >/dev/null; then
6418 if test -s conftest.err; then 6676 if test -s conftest.err; then
6419 ac_cpp_err=$ac_cxx_preproc_warn_flag 6677 ac_cpp_err=$ac_cxx_preproc_warn_flag
6678 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6420 else 6679 else
6421 ac_cpp_err= 6680 ac_cpp_err=
6422 fi 6681 fi
6423else 6682else
6424 ac_cpp_err=yes 6683 ac_cpp_err=yes
6435rm -f conftest.err conftest.$ac_ext 6694rm -f conftest.err conftest.$ac_ext
6436 6695
6437 # OK, works on sane cases. Now check whether non-existent headers 6696 # OK, works on sane cases. Now check whether non-existent headers
6438 # can be detected and how. 6697 # can be detected and how.
6439 cat >conftest.$ac_ext <<_ACEOF 6698 cat >conftest.$ac_ext <<_ACEOF
6440#line $LINENO "configure"
6441/* confdefs.h. */ 6699/* confdefs.h. */
6442_ACEOF 6700_ACEOF
6443cat confdefs.h >>conftest.$ac_ext 6701cat confdefs.h >>conftest.$ac_ext
6444cat >>conftest.$ac_ext <<_ACEOF 6702cat >>conftest.$ac_ext <<_ACEOF
6445/* end confdefs.h. */ 6703/* end confdefs.h. */
6453 cat conftest.err >&5 6711 cat conftest.err >&5
6454 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6455 (exit $ac_status); } >/dev/null; then 6713 (exit $ac_status); } >/dev/null; then
6456 if test -s conftest.err; then 6714 if test -s conftest.err; then
6457 ac_cpp_err=$ac_cxx_preproc_warn_flag 6715 ac_cpp_err=$ac_cxx_preproc_warn_flag
6716 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6458 else 6717 else
6459 ac_cpp_err= 6718 ac_cpp_err=
6460 fi 6719 fi
6461else 6720else
6462 ac_cpp_err=yes 6721 ac_cpp_err=yes
6499 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6758 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6500 # <limits.h> exists even on freestanding compilers. 6759 # <limits.h> exists even on freestanding compilers.
6501 # On the NeXT, cc -E runs the code through the compiler's parser, 6760 # 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. 6761 # not just through cpp. "Syntax error" is here to catch this case.
6503 cat >conftest.$ac_ext <<_ACEOF 6762 cat >conftest.$ac_ext <<_ACEOF
6504#line $LINENO "configure"
6505/* confdefs.h. */ 6763/* confdefs.h. */
6506_ACEOF 6764_ACEOF
6507cat confdefs.h >>conftest.$ac_ext 6765cat confdefs.h >>conftest.$ac_ext
6508cat >>conftest.$ac_ext <<_ACEOF 6766cat >>conftest.$ac_ext <<_ACEOF
6509/* end confdefs.h. */ 6767/* end confdefs.h. */
6510#ifdef __STDC__ 6768#ifdef __STDC__
6511# include <limits.h> 6769# include <limits.h>
6512#else 6770#else
6513# include <assert.h> 6771# include <assert.h>
6514#endif 6772#endif
6515 Syntax error 6773 Syntax error
6516_ACEOF 6774_ACEOF
6517if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6775if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6518 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6776 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6519 ac_status=$? 6777 ac_status=$?
6520 grep -v '^ *+' conftest.er1 >conftest.err 6778 grep -v '^ *+' conftest.er1 >conftest.err
6522 cat conftest.err >&5 6780 cat conftest.err >&5
6523 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6524 (exit $ac_status); } >/dev/null; then 6782 (exit $ac_status); } >/dev/null; then
6525 if test -s conftest.err; then 6783 if test -s conftest.err; then
6526 ac_cpp_err=$ac_cxx_preproc_warn_flag 6784 ac_cpp_err=$ac_cxx_preproc_warn_flag
6785 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6527 else 6786 else
6528 ac_cpp_err= 6787 ac_cpp_err=
6529 fi 6788 fi
6530else 6789else
6531 ac_cpp_err=yes 6790 ac_cpp_err=yes
6542rm -f conftest.err conftest.$ac_ext 6801rm -f conftest.err conftest.$ac_ext
6543 6802
6544 # OK, works on sane cases. Now check whether non-existent headers 6803 # OK, works on sane cases. Now check whether non-existent headers
6545 # can be detected and how. 6804 # can be detected and how.
6546 cat >conftest.$ac_ext <<_ACEOF 6805 cat >conftest.$ac_ext <<_ACEOF
6547#line $LINENO "configure"
6548/* confdefs.h. */ 6806/* confdefs.h. */
6549_ACEOF 6807_ACEOF
6550cat confdefs.h >>conftest.$ac_ext 6808cat confdefs.h >>conftest.$ac_ext
6551cat >>conftest.$ac_ext <<_ACEOF 6809cat >>conftest.$ac_ext <<_ACEOF
6552/* end confdefs.h. */ 6810/* end confdefs.h. */
6560 cat conftest.err >&5 6818 cat conftest.err >&5
6561 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6562 (exit $ac_status); } >/dev/null; then 6820 (exit $ac_status); } >/dev/null; then
6563 if test -s conftest.err; then 6821 if test -s conftest.err; then
6564 ac_cpp_err=$ac_cxx_preproc_warn_flag 6822 ac_cpp_err=$ac_cxx_preproc_warn_flag
6823 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6565 else 6824 else
6566 ac_cpp_err= 6825 ac_cpp_err=
6567 fi 6826 fi
6568else 6827else
6569 ac_cpp_err=yes 6828 ac_cpp_err=yes
6605echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 6864echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6606if test "${ac_cv_header_stdc+set}" = set; then 6865if test "${ac_cv_header_stdc+set}" = set; then
6607 echo $ECHO_N "(cached) $ECHO_C" >&6 6866 echo $ECHO_N "(cached) $ECHO_C" >&6
6608else 6867else
6609 cat >conftest.$ac_ext <<_ACEOF 6868 cat >conftest.$ac_ext <<_ACEOF
6610#line $LINENO "configure"
6611/* confdefs.h. */ 6869/* confdefs.h. */
6612_ACEOF 6870_ACEOF
6613cat confdefs.h >>conftest.$ac_ext 6871cat confdefs.h >>conftest.$ac_ext
6614cat >>conftest.$ac_ext <<_ACEOF 6872cat >>conftest.$ac_ext <<_ACEOF
6615/* end confdefs.h. */ 6873/* end confdefs.h. */
6626 return 0; 6884 return 0;
6627} 6885}
6628_ACEOF 6886_ACEOF
6629rm -f conftest.$ac_objext 6887rm -f conftest.$ac_objext
6630if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6888if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6631 (eval $ac_compile) 2>&5 6889 (eval $ac_compile) 2>conftest.er1
6632 ac_status=$? 6890 ac_status=$?
6891 grep -v '^ *+' conftest.er1 >conftest.err
6892 rm -f conftest.er1
6893 cat conftest.err >&5
6633 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6634 (exit $ac_status); } && 6895 (exit $ac_status); } &&
6635 { ac_try='test -s conftest.$ac_objext' 6896 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6637 (eval $ac_try) 2>&5 6898 (eval $ac_try) 2>&5
6638 ac_status=$? 6899 ac_status=$?
6639 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6901 (exit $ac_status); }; } &&
6902 { ac_try='test -s conftest.$ac_objext'
6903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6904 (eval $ac_try) 2>&5
6905 ac_status=$?
6906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640 (exit $ac_status); }; }; then 6907 (exit $ac_status); }; }; then
6641 ac_cv_header_stdc=yes 6908 ac_cv_header_stdc=yes
6642else 6909else
6643 echo "$as_me: failed program was:" >&5 6910 echo "$as_me: failed program was:" >&5
6644sed 's/^/| /' conftest.$ac_ext >&5 6911sed 's/^/| /' conftest.$ac_ext >&5
6645 6912
6646ac_cv_header_stdc=no 6913ac_cv_header_stdc=no
6647fi 6914fi
6648rm -f conftest.$ac_objext conftest.$ac_ext 6915rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6649 6916
6650if test $ac_cv_header_stdc = yes; then 6917if test $ac_cv_header_stdc = yes; then
6651 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6918 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6652 cat >conftest.$ac_ext <<_ACEOF 6919 cat >conftest.$ac_ext <<_ACEOF
6653#line $LINENO "configure"
6654/* confdefs.h. */ 6920/* confdefs.h. */
6655_ACEOF 6921_ACEOF
6656cat confdefs.h >>conftest.$ac_ext 6922cat confdefs.h >>conftest.$ac_ext
6657cat >>conftest.$ac_ext <<_ACEOF 6923cat >>conftest.$ac_ext <<_ACEOF
6658/* end confdefs.h. */ 6924/* end confdefs.h. */
6670fi 6936fi
6671 6937
6672if test $ac_cv_header_stdc = yes; then 6938if test $ac_cv_header_stdc = yes; then
6673 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6939 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6674 cat >conftest.$ac_ext <<_ACEOF 6940 cat >conftest.$ac_ext <<_ACEOF
6675#line $LINENO "configure"
6676/* confdefs.h. */ 6941/* confdefs.h. */
6677_ACEOF 6942_ACEOF
6678cat confdefs.h >>conftest.$ac_ext 6943cat confdefs.h >>conftest.$ac_ext
6679cat >>conftest.$ac_ext <<_ACEOF 6944cat >>conftest.$ac_ext <<_ACEOF
6680/* end confdefs.h. */ 6945/* end confdefs.h. */
6695 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 6960 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6696 if test "$cross_compiling" = yes; then 6961 if test "$cross_compiling" = yes; then
6697 : 6962 :
6698else 6963else
6699 cat >conftest.$ac_ext <<_ACEOF 6964 cat >conftest.$ac_ext <<_ACEOF
6700#line $LINENO "configure"
6701/* confdefs.h. */ 6965/* confdefs.h. */
6702_ACEOF 6966_ACEOF
6703cat confdefs.h >>conftest.$ac_ext 6967cat confdefs.h >>conftest.$ac_ext
6704cat >>conftest.$ac_ext <<_ACEOF 6968cat >>conftest.$ac_ext <<_ACEOF
6705/* end confdefs.h. */ 6969/* end confdefs.h. */
6707#if ((' ' & 0x0FF) == 0x020) 6971#if ((' ' & 0x0FF) == 0x020)
6708# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 6972# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6709# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 6973# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6710#else 6974#else
6711# define ISLOWER(c) \ 6975# define ISLOWER(c) \
6712 (('a' <= (c) && (c) <= 'i') \ 6976 (('a' <= (c) && (c) <= 'i') \
6713 || ('j' <= (c) && (c) <= 'r') \ 6977 || ('j' <= (c) && (c) <= 'r') \
6714 || ('s' <= (c) && (c) <= 'z')) 6978 || ('s' <= (c) && (c) <= 'z'))
6715# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 6979# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6716#endif 6980#endif
6717 6981
6718#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 6982#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6719int 6983int
6720main () 6984main ()
6721{ 6985{
6722 int i; 6986 int i;
6723 for (i = 0; i < 256; i++) 6987 for (i = 0; i < 256; i++)
6724 if (XOR (islower (i), ISLOWER (i)) 6988 if (XOR (islower (i), ISLOWER (i))
6725 || toupper (i) != TOUPPER (i)) 6989 || toupper (i) != TOUPPER (i))
6726 exit(2); 6990 exit(2);
6727 exit (0); 6991 exit (0);
6728} 6992}
6729_ACEOF 6993_ACEOF
6730rm -f conftest$ac_exeext 6994rm -f conftest$ac_exeext
6770 7034
6771 7035
6772 7036
6773 7037
6774for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7038for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6775 inttypes.h stdint.h unistd.h 7039 inttypes.h stdint.h unistd.h
6776do 7040do
6777as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7041as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6778echo "$as_me:$LINENO: checking for $ac_header" >&5 7042echo "$as_me:$LINENO: checking for $ac_header" >&5
6779echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7043echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6780if eval "test \"\${$as_ac_Header+set}\" = set"; then 7044if eval "test \"\${$as_ac_Header+set}\" = set"; then
6781 echo $ECHO_N "(cached) $ECHO_C" >&6 7045 echo $ECHO_N "(cached) $ECHO_C" >&6
6782else 7046else
6783 cat >conftest.$ac_ext <<_ACEOF 7047 cat >conftest.$ac_ext <<_ACEOF
6784#line $LINENO "configure"
6785/* confdefs.h. */ 7048/* confdefs.h. */
6786_ACEOF 7049_ACEOF
6787cat confdefs.h >>conftest.$ac_ext 7050cat confdefs.h >>conftest.$ac_ext
6788cat >>conftest.$ac_ext <<_ACEOF 7051cat >>conftest.$ac_ext <<_ACEOF
6789/* end confdefs.h. */ 7052/* end confdefs.h. */
6791 7054
6792#include <$ac_header> 7055#include <$ac_header>
6793_ACEOF 7056_ACEOF
6794rm -f conftest.$ac_objext 7057rm -f conftest.$ac_objext
6795if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7058if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6796 (eval $ac_compile) 2>&5 7059 (eval $ac_compile) 2>conftest.er1
6797 ac_status=$? 7060 ac_status=$?
7061 grep -v '^ *+' conftest.er1 >conftest.err
7062 rm -f conftest.er1
7063 cat conftest.err >&5
6798 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6799 (exit $ac_status); } && 7065 (exit $ac_status); } &&
6800 { ac_try='test -s conftest.$ac_objext' 7066 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6802 (eval $ac_try) 2>&5 7068 (eval $ac_try) 2>&5
6803 ac_status=$? 7069 ac_status=$?
6804 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7071 (exit $ac_status); }; } &&
7072 { ac_try='test -s conftest.$ac_objext'
7073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7074 (eval $ac_try) 2>&5
7075 ac_status=$?
7076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6805 (exit $ac_status); }; }; then 7077 (exit $ac_status); }; }; then
6806 eval "$as_ac_Header=yes" 7078 eval "$as_ac_Header=yes"
6807else 7079else
6808 echo "$as_me: failed program was:" >&5 7080 echo "$as_me: failed program was:" >&5
6809sed 's/^/| /' conftest.$ac_ext >&5 7081sed 's/^/| /' conftest.$ac_ext >&5
6810 7082
6811eval "$as_ac_Header=no" 7083eval "$as_ac_Header=no"
6812fi 7084fi
6813rm -f conftest.$ac_objext conftest.$ac_ext 7085rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6814fi 7086fi
6815echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7087echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6816echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7088echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6817if test `eval echo '${'$as_ac_Header'}'` = yes; then 7089if test `eval echo '${'$as_ac_Header'}'` = yes; then
6818 cat >>confdefs.h <<_ACEOF 7090 cat >>confdefs.h <<_ACEOF
6839else 7111else
6840 # Is the header compilable? 7112 # Is the header compilable?
6841echo "$as_me:$LINENO: checking $ac_header usability" >&5 7113echo "$as_me:$LINENO: checking $ac_header usability" >&5
6842echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 7114echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6843cat >conftest.$ac_ext <<_ACEOF 7115cat >conftest.$ac_ext <<_ACEOF
6844#line $LINENO "configure"
6845/* confdefs.h. */ 7116/* confdefs.h. */
6846_ACEOF 7117_ACEOF
6847cat confdefs.h >>conftest.$ac_ext 7118cat confdefs.h >>conftest.$ac_ext
6848cat >>conftest.$ac_ext <<_ACEOF 7119cat >>conftest.$ac_ext <<_ACEOF
6849/* end confdefs.h. */ 7120/* end confdefs.h. */
6850$ac_includes_default 7121$ac_includes_default
6851#include <$ac_header> 7122#include <$ac_header>
6852_ACEOF 7123_ACEOF
6853rm -f conftest.$ac_objext 7124rm -f conftest.$ac_objext
6854if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7125if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6855 (eval $ac_compile) 2>&5 7126 (eval $ac_compile) 2>conftest.er1
6856 ac_status=$? 7127 ac_status=$?
7128 grep -v '^ *+' conftest.er1 >conftest.err
7129 rm -f conftest.er1
7130 cat conftest.err >&5
6857 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6858 (exit $ac_status); } && 7132 (exit $ac_status); } &&
6859 { ac_try='test -s conftest.$ac_objext' 7133 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6861 (eval $ac_try) 2>&5 7135 (eval $ac_try) 2>&5
6862 ac_status=$? 7136 ac_status=$?
6863 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7138 (exit $ac_status); }; } &&
7139 { ac_try='test -s conftest.$ac_objext'
7140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7141 (eval $ac_try) 2>&5
7142 ac_status=$?
7143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6864 (exit $ac_status); }; }; then 7144 (exit $ac_status); }; }; then
6865 ac_header_compiler=yes 7145 ac_header_compiler=yes
6866else 7146else
6867 echo "$as_me: failed program was:" >&5 7147 echo "$as_me: failed program was:" >&5
6868sed 's/^/| /' conftest.$ac_ext >&5 7148sed 's/^/| /' conftest.$ac_ext >&5
6869 7149
6870ac_header_compiler=no 7150ac_header_compiler=no
6871fi 7151fi
6872rm -f conftest.$ac_objext conftest.$ac_ext 7152rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6873echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7153echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6874echo "${ECHO_T}$ac_header_compiler" >&6 7154echo "${ECHO_T}$ac_header_compiler" >&6
6875 7155
6876# Is the header present? 7156# Is the header present?
6877echo "$as_me:$LINENO: checking $ac_header presence" >&5 7157echo "$as_me:$LINENO: checking $ac_header presence" >&5
6878echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 7158echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6879cat >conftest.$ac_ext <<_ACEOF 7159cat >conftest.$ac_ext <<_ACEOF
6880#line $LINENO "configure"
6881/* confdefs.h. */ 7160/* confdefs.h. */
6882_ACEOF 7161_ACEOF
6883cat confdefs.h >>conftest.$ac_ext 7162cat confdefs.h >>conftest.$ac_ext
6884cat >>conftest.$ac_ext <<_ACEOF 7163cat >>conftest.$ac_ext <<_ACEOF
6885/* end confdefs.h. */ 7164/* end confdefs.h. */
6893 cat conftest.err >&5 7172 cat conftest.err >&5
6894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6895 (exit $ac_status); } >/dev/null; then 7174 (exit $ac_status); } >/dev/null; then
6896 if test -s conftest.err; then 7175 if test -s conftest.err; then
6897 ac_cpp_err=$ac_cxx_preproc_warn_flag 7176 ac_cpp_err=$ac_cxx_preproc_warn_flag
7177 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6898 else 7178 else
6899 ac_cpp_err= 7179 ac_cpp_err=
6900 fi 7180 fi
6901else 7181else
6902 ac_cpp_err=yes 7182 ac_cpp_err=yes
6912rm -f conftest.err conftest.$ac_ext 7192rm -f conftest.err conftest.$ac_ext
6913echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7193echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6914echo "${ECHO_T}$ac_header_preproc" >&6 7194echo "${ECHO_T}$ac_header_preproc" >&6
6915 7195
6916# So? What about this header? 7196# So? What about this header?
6917case $ac_header_compiler:$ac_header_preproc in 7197case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6918 yes:no ) 7198 yes:no: )
6919 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7199 { 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;} 7200echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7201 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7202echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7203 ac_header_preproc=yes
7204 ;;
7205 no:yes:* )
7206 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7207echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7208 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7209echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7210 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7211echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7212 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7213echo "$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 7214 { 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;} 7215echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7216 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7217echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6923 ( 7218 (
6924 cat <<\_ASBOX 7219 cat <<\_ASBOX
6925## ------------------------------------ ## 7220## ------------------------------------------ ##
6926## Report this to bug-autoconf@gnu.org. ## 7221## Report this to the AC_PACKAGE_NAME lists. ##
6927## ------------------------------------ ## 7222## ------------------------------------------ ##
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 7223_ASBOX
6945 ) | 7224 ) |
6946 sed "s/^/$as_me: WARNING: /" >&2 7225 sed "s/^/$as_me: WARNING: /" >&2
6947 ;; 7226 ;;
6948esac 7227esac
6949echo "$as_me:$LINENO: checking for $ac_header" >&5 7228echo "$as_me:$LINENO: checking for $ac_header" >&5
6950echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7229echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6951if eval "test \"\${$as_ac_Header+set}\" = set"; then 7230if eval "test \"\${$as_ac_Header+set}\" = set"; then
6952 echo $ECHO_N "(cached) $ECHO_C" >&6 7231 echo $ECHO_N "(cached) $ECHO_C" >&6
6953else 7232else
6954 eval "$as_ac_Header=$ac_header_preproc" 7233 eval "$as_ac_Header=\$ac_header_preproc"
6955fi 7234fi
6956echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7235echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6957echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7236echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6958 7237
6959fi 7238fi
6982 7261
6983 7262
6984 7263
6985 7264
6986 7265
6987
6988for ac_header in fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \ 7266for 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 sys/cygwin.h arpa/inet.h \ 7267 sys/file.h sys/ioctl.h sys/param.h sys/time.h netinet/in_systm.h sys/cygwin.h arpa/inet.h \
6990 sys/poll.h sys/mman.h netinet/in.h 7268 sys/mman.h netinet/in.h
6991do 7269do
6992as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7270as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6993if eval "test \"\${$as_ac_Header+set}\" = set"; then 7271if eval "test \"\${$as_ac_Header+set}\" = set"; then
6994 echo "$as_me:$LINENO: checking for $ac_header" >&5 7272 echo "$as_me:$LINENO: checking for $ac_header" >&5
6995echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7273echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7001else 7279else
7002 # Is the header compilable? 7280 # Is the header compilable?
7003echo "$as_me:$LINENO: checking $ac_header usability" >&5 7281echo "$as_me:$LINENO: checking $ac_header usability" >&5
7004echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 7282echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7005cat >conftest.$ac_ext <<_ACEOF 7283cat >conftest.$ac_ext <<_ACEOF
7006#line $LINENO "configure"
7007/* confdefs.h. */ 7284/* confdefs.h. */
7008_ACEOF 7285_ACEOF
7009cat confdefs.h >>conftest.$ac_ext 7286cat confdefs.h >>conftest.$ac_ext
7010cat >>conftest.$ac_ext <<_ACEOF 7287cat >>conftest.$ac_ext <<_ACEOF
7011/* end confdefs.h. */ 7288/* end confdefs.h. */
7012$ac_includes_default 7289$ac_includes_default
7013#include <$ac_header> 7290#include <$ac_header>
7014_ACEOF 7291_ACEOF
7015rm -f conftest.$ac_objext 7292rm -f conftest.$ac_objext
7016if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7293if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7017 (eval $ac_compile) 2>&5 7294 (eval $ac_compile) 2>conftest.er1
7018 ac_status=$? 7295 ac_status=$?
7296 grep -v '^ *+' conftest.er1 >conftest.err
7297 rm -f conftest.er1
7298 cat conftest.err >&5
7019 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7020 (exit $ac_status); } && 7300 (exit $ac_status); } &&
7021 { ac_try='test -s conftest.$ac_objext' 7301 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7023 (eval $ac_try) 2>&5 7303 (eval $ac_try) 2>&5
7024 ac_status=$? 7304 ac_status=$?
7025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7306 (exit $ac_status); }; } &&
7307 { ac_try='test -s conftest.$ac_objext'
7308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7309 (eval $ac_try) 2>&5
7310 ac_status=$?
7311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7026 (exit $ac_status); }; }; then 7312 (exit $ac_status); }; }; then
7027 ac_header_compiler=yes 7313 ac_header_compiler=yes
7028else 7314else
7029 echo "$as_me: failed program was:" >&5 7315 echo "$as_me: failed program was:" >&5
7030sed 's/^/| /' conftest.$ac_ext >&5 7316sed 's/^/| /' conftest.$ac_ext >&5
7031 7317
7032ac_header_compiler=no 7318ac_header_compiler=no
7033fi 7319fi
7034rm -f conftest.$ac_objext conftest.$ac_ext 7320rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7035echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7321echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7036echo "${ECHO_T}$ac_header_compiler" >&6 7322echo "${ECHO_T}$ac_header_compiler" >&6
7037 7323
7038# Is the header present? 7324# Is the header present?
7039echo "$as_me:$LINENO: checking $ac_header presence" >&5 7325echo "$as_me:$LINENO: checking $ac_header presence" >&5
7040echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 7326echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7041cat >conftest.$ac_ext <<_ACEOF 7327cat >conftest.$ac_ext <<_ACEOF
7042#line $LINENO "configure"
7043/* confdefs.h. */ 7328/* confdefs.h. */
7044_ACEOF 7329_ACEOF
7045cat confdefs.h >>conftest.$ac_ext 7330cat confdefs.h >>conftest.$ac_ext
7046cat >>conftest.$ac_ext <<_ACEOF 7331cat >>conftest.$ac_ext <<_ACEOF
7047/* end confdefs.h. */ 7332/* end confdefs.h. */
7055 cat conftest.err >&5 7340 cat conftest.err >&5
7056 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7057 (exit $ac_status); } >/dev/null; then 7342 (exit $ac_status); } >/dev/null; then
7058 if test -s conftest.err; then 7343 if test -s conftest.err; then
7059 ac_cpp_err=$ac_cxx_preproc_warn_flag 7344 ac_cpp_err=$ac_cxx_preproc_warn_flag
7345 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7060 else 7346 else
7061 ac_cpp_err= 7347 ac_cpp_err=
7062 fi 7348 fi
7063else 7349else
7064 ac_cpp_err=yes 7350 ac_cpp_err=yes
7074rm -f conftest.err conftest.$ac_ext 7360rm -f conftest.err conftest.$ac_ext
7075echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7361echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7076echo "${ECHO_T}$ac_header_preproc" >&6 7362echo "${ECHO_T}$ac_header_preproc" >&6
7077 7363
7078# So? What about this header? 7364# So? What about this header?
7079case $ac_header_compiler:$ac_header_preproc in 7365case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7080 yes:no ) 7366 yes:no: )
7081 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7367 { 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;} 7368echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7369 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7370echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7371 ac_header_preproc=yes
7372 ;;
7373 no:yes:* )
7374 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7375echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7376 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7377echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7378 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7379echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7380 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7381echo "$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 7382 { 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;} 7383echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7384 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7385echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7085 ( 7386 (
7086 cat <<\_ASBOX 7387 cat <<\_ASBOX
7087## ------------------------------------ ## 7388## ------------------------------------------ ##
7088## Report this to bug-autoconf@gnu.org. ## 7389## Report this to the AC_PACKAGE_NAME lists. ##
7089## ------------------------------------ ## 7390## ------------------------------------------ ##
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 7391_ASBOX
7107 ) | 7392 ) |
7108 sed "s/^/$as_me: WARNING: /" >&2 7393 sed "s/^/$as_me: WARNING: /" >&2
7109 ;; 7394 ;;
7110esac 7395esac
7111echo "$as_me:$LINENO: checking for $ac_header" >&5 7396echo "$as_me:$LINENO: checking for $ac_header" >&5
7112echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7397echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7113if eval "test \"\${$as_ac_Header+set}\" = set"; then 7398if eval "test \"\${$as_ac_Header+set}\" = set"; then
7114 echo $ECHO_N "(cached) $ECHO_C" >&6 7399 echo $ECHO_N "(cached) $ECHO_C" >&6
7115else 7400else
7116 eval "$as_ac_Header=$ac_header_preproc" 7401 eval "$as_ac_Header=\$ac_header_preproc"
7117fi 7402fi
7118echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7403echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7119echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7404echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7120 7405
7121fi 7406fi
7140echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7425echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7141if eval "test \"\${$as_ac_Header+set}\" = set"; then 7426if eval "test \"\${$as_ac_Header+set}\" = set"; then
7142 echo $ECHO_N "(cached) $ECHO_C" >&6 7427 echo $ECHO_N "(cached) $ECHO_C" >&6
7143else 7428else
7144 cat >conftest.$ac_ext <<_ACEOF 7429 cat >conftest.$ac_ext <<_ACEOF
7145#line $LINENO "configure"
7146/* confdefs.h. */ 7430/* confdefs.h. */
7147_ACEOF 7431_ACEOF
7148cat confdefs.h >>conftest.$ac_ext 7432cat confdefs.h >>conftest.$ac_ext
7149cat >>conftest.$ac_ext <<_ACEOF 7433cat >>conftest.$ac_ext <<_ACEOF
7150/* end confdefs.h. */ 7434/* end confdefs.h. */
7164 7448
7165#include <$ac_header> 7449#include <$ac_header>
7166_ACEOF 7450_ACEOF
7167rm -f conftest.$ac_objext 7451rm -f conftest.$ac_objext
7168if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7452if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7169 (eval $ac_compile) 2>&5 7453 (eval $ac_compile) 2>conftest.er1
7170 ac_status=$? 7454 ac_status=$?
7455 grep -v '^ *+' conftest.er1 >conftest.err
7456 rm -f conftest.er1
7457 cat conftest.err >&5
7171 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7172 (exit $ac_status); } && 7459 (exit $ac_status); } &&
7173 { ac_try='test -s conftest.$ac_objext' 7460 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7175 (eval $ac_try) 2>&5 7462 (eval $ac_try) 2>&5
7176 ac_status=$? 7463 ac_status=$?
7177 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7465 (exit $ac_status); }; } &&
7466 { ac_try='test -s conftest.$ac_objext'
7467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7468 (eval $ac_try) 2>&5
7469 ac_status=$?
7470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7178 (exit $ac_status); }; }; then 7471 (exit $ac_status); }; }; then
7179 eval "$as_ac_Header=yes" 7472 eval "$as_ac_Header=yes"
7180else 7473else
7181 echo "$as_me: failed program was:" >&5 7474 echo "$as_me: failed program was:" >&5
7182sed 's/^/| /' conftest.$ac_ext >&5 7475sed 's/^/| /' conftest.$ac_ext >&5
7183 7476
7184eval "$as_ac_Header=no" 7477eval "$as_ac_Header=no"
7185fi 7478fi
7186rm -f conftest.$ac_objext conftest.$ac_ext 7479rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7187fi 7480fi
7188echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7481echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7189echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7482echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7190if test `eval echo '${'$as_ac_Header'}'` = yes; then 7483if test `eval echo '${'$as_ac_Header'}'` = yes; then
7191 cat >>confdefs.h <<_ACEOF 7484 cat >>confdefs.h <<_ACEOF
7201echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 7494echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
7202if test "${ac_cv_c_const+set}" = set; then 7495if test "${ac_cv_c_const+set}" = set; then
7203 echo $ECHO_N "(cached) $ECHO_C" >&6 7496 echo $ECHO_N "(cached) $ECHO_C" >&6
7204else 7497else
7205 cat >conftest.$ac_ext <<_ACEOF 7498 cat >conftest.$ac_ext <<_ACEOF
7206#line $LINENO "configure"
7207/* confdefs.h. */ 7499/* confdefs.h. */
7208_ACEOF 7500_ACEOF
7209cat confdefs.h >>conftest.$ac_ext 7501cat confdefs.h >>conftest.$ac_ext
7210cat >>conftest.$ac_ext <<_ACEOF 7502cat >>conftest.$ac_ext <<_ACEOF
7211/* end confdefs.h. */ 7503/* end confdefs.h. */
7264 return 0; 7556 return 0;
7265} 7557}
7266_ACEOF 7558_ACEOF
7267rm -f conftest.$ac_objext 7559rm -f conftest.$ac_objext
7268if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7560if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7269 (eval $ac_compile) 2>&5 7561 (eval $ac_compile) 2>conftest.er1
7270 ac_status=$? 7562 ac_status=$?
7563 grep -v '^ *+' conftest.er1 >conftest.err
7564 rm -f conftest.er1
7565 cat conftest.err >&5
7271 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7272 (exit $ac_status); } && 7567 (exit $ac_status); } &&
7273 { ac_try='test -s conftest.$ac_objext' 7568 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7275 (eval $ac_try) 2>&5 7570 (eval $ac_try) 2>&5
7276 ac_status=$? 7571 ac_status=$?
7277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7573 (exit $ac_status); }; } &&
7574 { ac_try='test -s conftest.$ac_objext'
7575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7576 (eval $ac_try) 2>&5
7577 ac_status=$?
7578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7278 (exit $ac_status); }; }; then 7579 (exit $ac_status); }; }; then
7279 ac_cv_c_const=yes 7580 ac_cv_c_const=yes
7280else 7581else
7281 echo "$as_me: failed program was:" >&5 7582 echo "$as_me: failed program was:" >&5
7282sed 's/^/| /' conftest.$ac_ext >&5 7583sed 's/^/| /' conftest.$ac_ext >&5
7283 7584
7284ac_cv_c_const=no 7585ac_cv_c_const=no
7285fi 7586fi
7286rm -f conftest.$ac_objext conftest.$ac_ext 7587rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7287fi 7588fi
7288echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 7589echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7289echo "${ECHO_T}$ac_cv_c_const" >&6 7590echo "${ECHO_T}$ac_cv_c_const" >&6
7290if test $ac_cv_c_const = no; then 7591if test $ac_cv_c_const = no; then
7291 7592
7299echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 7600echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
7300if test "${ac_cv_type_pid_t+set}" = set; then 7601if test "${ac_cv_type_pid_t+set}" = set; then
7301 echo $ECHO_N "(cached) $ECHO_C" >&6 7602 echo $ECHO_N "(cached) $ECHO_C" >&6
7302else 7603else
7303 cat >conftest.$ac_ext <<_ACEOF 7604 cat >conftest.$ac_ext <<_ACEOF
7304#line $LINENO "configure"
7305/* confdefs.h. */ 7605/* confdefs.h. */
7306_ACEOF 7606_ACEOF
7307cat confdefs.h >>conftest.$ac_ext 7607cat confdefs.h >>conftest.$ac_ext
7308cat >>conftest.$ac_ext <<_ACEOF 7608cat >>conftest.$ac_ext <<_ACEOF
7309/* end confdefs.h. */ 7609/* end confdefs.h. */
7319 return 0; 7619 return 0;
7320} 7620}
7321_ACEOF 7621_ACEOF
7322rm -f conftest.$ac_objext 7622rm -f conftest.$ac_objext
7323if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7623if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7324 (eval $ac_compile) 2>&5 7624 (eval $ac_compile) 2>conftest.er1
7325 ac_status=$? 7625 ac_status=$?
7626 grep -v '^ *+' conftest.er1 >conftest.err
7627 rm -f conftest.er1
7628 cat conftest.err >&5
7326 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7327 (exit $ac_status); } && 7630 (exit $ac_status); } &&
7328 { ac_try='test -s conftest.$ac_objext' 7631 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7330 (eval $ac_try) 2>&5 7633 (eval $ac_try) 2>&5
7331 ac_status=$? 7634 ac_status=$?
7332 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7636 (exit $ac_status); }; } &&
7637 { ac_try='test -s conftest.$ac_objext'
7638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7639 (eval $ac_try) 2>&5
7640 ac_status=$?
7641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7333 (exit $ac_status); }; }; then 7642 (exit $ac_status); }; }; then
7334 ac_cv_type_pid_t=yes 7643 ac_cv_type_pid_t=yes
7335else 7644else
7336 echo "$as_me: failed program was:" >&5 7645 echo "$as_me: failed program was:" >&5
7337sed 's/^/| /' conftest.$ac_ext >&5 7646sed 's/^/| /' conftest.$ac_ext >&5
7338 7647
7339ac_cv_type_pid_t=no 7648ac_cv_type_pid_t=no
7340fi 7649fi
7341rm -f conftest.$ac_objext conftest.$ac_ext 7650rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7342fi 7651fi
7343echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 7652echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7344echo "${ECHO_T}$ac_cv_type_pid_t" >&6 7653echo "${ECHO_T}$ac_cv_type_pid_t" >&6
7345if test $ac_cv_type_pid_t = yes; then 7654if test $ac_cv_type_pid_t = yes; then
7346 : 7655 :
7356echo $ECHO_N "checking for size_t... $ECHO_C" >&6 7665echo $ECHO_N "checking for size_t... $ECHO_C" >&6
7357if test "${ac_cv_type_size_t+set}" = set; then 7666if test "${ac_cv_type_size_t+set}" = set; then
7358 echo $ECHO_N "(cached) $ECHO_C" >&6 7667 echo $ECHO_N "(cached) $ECHO_C" >&6
7359else 7668else
7360 cat >conftest.$ac_ext <<_ACEOF 7669 cat >conftest.$ac_ext <<_ACEOF
7361#line $LINENO "configure"
7362/* confdefs.h. */ 7670/* confdefs.h. */
7363_ACEOF 7671_ACEOF
7364cat confdefs.h >>conftest.$ac_ext 7672cat confdefs.h >>conftest.$ac_ext
7365cat >>conftest.$ac_ext <<_ACEOF 7673cat >>conftest.$ac_ext <<_ACEOF
7366/* end confdefs.h. */ 7674/* end confdefs.h. */
7376 return 0; 7684 return 0;
7377} 7685}
7378_ACEOF 7686_ACEOF
7379rm -f conftest.$ac_objext 7687rm -f conftest.$ac_objext
7380if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7688if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7381 (eval $ac_compile) 2>&5 7689 (eval $ac_compile) 2>conftest.er1
7382 ac_status=$? 7690 ac_status=$?
7691 grep -v '^ *+' conftest.er1 >conftest.err
7692 rm -f conftest.er1
7693 cat conftest.err >&5
7383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384 (exit $ac_status); } && 7695 (exit $ac_status); } &&
7385 { ac_try='test -s conftest.$ac_objext' 7696 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7387 (eval $ac_try) 2>&5 7698 (eval $ac_try) 2>&5
7388 ac_status=$? 7699 ac_status=$?
7389 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7701 (exit $ac_status); }; } &&
7702 { ac_try='test -s conftest.$ac_objext'
7703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7704 (eval $ac_try) 2>&5
7705 ac_status=$?
7706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7390 (exit $ac_status); }; }; then 7707 (exit $ac_status); }; }; then
7391 ac_cv_type_size_t=yes 7708 ac_cv_type_size_t=yes
7392else 7709else
7393 echo "$as_me: failed program was:" >&5 7710 echo "$as_me: failed program was:" >&5
7394sed 's/^/| /' conftest.$ac_ext >&5 7711sed 's/^/| /' conftest.$ac_ext >&5
7395 7712
7396ac_cv_type_size_t=no 7713ac_cv_type_size_t=no
7397fi 7714fi
7398rm -f conftest.$ac_objext conftest.$ac_ext 7715rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7399fi 7716fi
7400echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 7717echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7401echo "${ECHO_T}$ac_cv_type_size_t" >&6 7718echo "${ECHO_T}$ac_cv_type_size_t" >&6
7402if test $ac_cv_type_size_t = yes; then 7719if test $ac_cv_type_size_t = yes; then
7403 : 7720 :
7413echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 7730echo $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 7731if test "${ac_cv_header_time+set}" = set; then
7415 echo $ECHO_N "(cached) $ECHO_C" >&6 7732 echo $ECHO_N "(cached) $ECHO_C" >&6
7416else 7733else
7417 cat >conftest.$ac_ext <<_ACEOF 7734 cat >conftest.$ac_ext <<_ACEOF
7418#line $LINENO "configure"
7419/* confdefs.h. */ 7735/* confdefs.h. */
7420_ACEOF 7736_ACEOF
7421cat confdefs.h >>conftest.$ac_ext 7737cat confdefs.h >>conftest.$ac_ext
7422cat >>conftest.$ac_ext <<_ACEOF 7738cat >>conftest.$ac_ext <<_ACEOF
7423/* end confdefs.h. */ 7739/* end confdefs.h. */
7434 return 0; 7750 return 0;
7435} 7751}
7436_ACEOF 7752_ACEOF
7437rm -f conftest.$ac_objext 7753rm -f conftest.$ac_objext
7438if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7754if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7439 (eval $ac_compile) 2>&5 7755 (eval $ac_compile) 2>conftest.er1
7440 ac_status=$? 7756 ac_status=$?
7757 grep -v '^ *+' conftest.er1 >conftest.err
7758 rm -f conftest.er1
7759 cat conftest.err >&5
7441 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7442 (exit $ac_status); } && 7761 (exit $ac_status); } &&
7443 { ac_try='test -s conftest.$ac_objext' 7762 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7445 (eval $ac_try) 2>&5 7764 (eval $ac_try) 2>&5
7446 ac_status=$? 7765 ac_status=$?
7447 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7767 (exit $ac_status); }; } &&
7768 { ac_try='test -s conftest.$ac_objext'
7769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7770 (eval $ac_try) 2>&5
7771 ac_status=$?
7772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7448 (exit $ac_status); }; }; then 7773 (exit $ac_status); }; }; then
7449 ac_cv_header_time=yes 7774 ac_cv_header_time=yes
7450else 7775else
7451 echo "$as_me: failed program was:" >&5 7776 echo "$as_me: failed program was:" >&5
7452sed 's/^/| /' conftest.$ac_ext >&5 7777sed 's/^/| /' conftest.$ac_ext >&5
7453 7778
7454ac_cv_header_time=no 7779ac_cv_header_time=no
7455fi 7780fi
7456rm -f conftest.$ac_objext conftest.$ac_ext 7781rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7457fi 7782fi
7458echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 7783echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
7459echo "${ECHO_T}$ac_cv_header_time" >&6 7784echo "${ECHO_T}$ac_cv_header_time" >&6
7460if test $ac_cv_header_time = yes; then 7785if test $ac_cv_header_time = yes; then
7461 7786
7469echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 7794echo $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 7795if test "${ac_cv_struct_tm+set}" = set; then
7471 echo $ECHO_N "(cached) $ECHO_C" >&6 7796 echo $ECHO_N "(cached) $ECHO_C" >&6
7472else 7797else
7473 cat >conftest.$ac_ext <<_ACEOF 7798 cat >conftest.$ac_ext <<_ACEOF
7474#line $LINENO "configure"
7475/* confdefs.h. */ 7799/* confdefs.h. */
7476_ACEOF 7800_ACEOF
7477cat confdefs.h >>conftest.$ac_ext 7801cat confdefs.h >>conftest.$ac_ext
7478cat >>conftest.$ac_ext <<_ACEOF 7802cat >>conftest.$ac_ext <<_ACEOF
7479/* end confdefs.h. */ 7803/* end confdefs.h. */
7488 return 0; 7812 return 0;
7489} 7813}
7490_ACEOF 7814_ACEOF
7491rm -f conftest.$ac_objext 7815rm -f conftest.$ac_objext
7492if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7816if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7493 (eval $ac_compile) 2>&5 7817 (eval $ac_compile) 2>conftest.er1
7494 ac_status=$? 7818 ac_status=$?
7819 grep -v '^ *+' conftest.er1 >conftest.err
7820 rm -f conftest.er1
7821 cat conftest.err >&5
7495 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7496 (exit $ac_status); } && 7823 (exit $ac_status); } &&
7497 { ac_try='test -s conftest.$ac_objext' 7824 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7499 (eval $ac_try) 2>&5 7826 (eval $ac_try) 2>&5
7500 ac_status=$? 7827 ac_status=$?
7501 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7829 (exit $ac_status); }; } &&
7830 { ac_try='test -s conftest.$ac_objext'
7831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7832 (eval $ac_try) 2>&5
7833 ac_status=$?
7834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7502 (exit $ac_status); }; }; then 7835 (exit $ac_status); }; }; then
7503 ac_cv_struct_tm=time.h 7836 ac_cv_struct_tm=time.h
7504else 7837else
7505 echo "$as_me: failed program was:" >&5 7838 echo "$as_me: failed program was:" >&5
7506sed 's/^/| /' conftest.$ac_ext >&5 7839sed 's/^/| /' conftest.$ac_ext >&5
7507 7840
7508ac_cv_struct_tm=sys/time.h 7841ac_cv_struct_tm=sys/time.h
7509fi 7842fi
7510rm -f conftest.$ac_objext conftest.$ac_ext 7843rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7511fi 7844fi
7512echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 7845echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
7513echo "${ECHO_T}$ac_cv_struct_tm" >&6 7846echo "${ECHO_T}$ac_cv_struct_tm" >&6
7514if test $ac_cv_struct_tm = sys/time.h; then 7847if test $ac_cv_struct_tm = sys/time.h; then
7515 7848
7525if test "${ac_cv_type_socklen_t+set}" = set; then 7858if test "${ac_cv_type_socklen_t+set}" = set; then
7526 echo $ECHO_N "(cached) $ECHO_C" >&6 7859 echo $ECHO_N "(cached) $ECHO_C" >&6
7527else 7860else
7528 7861
7529 cat >conftest.$ac_ext <<_ACEOF 7862 cat >conftest.$ac_ext <<_ACEOF
7530#line $LINENO "configure"
7531/* confdefs.h. */ 7863/* confdefs.h. */
7532_ACEOF 7864_ACEOF
7533cat confdefs.h >>conftest.$ac_ext 7865cat confdefs.h >>conftest.$ac_ext
7534cat >>conftest.$ac_ext <<_ACEOF 7866cat >>conftest.$ac_ext <<_ACEOF
7535/* end confdefs.h. */ 7867/* end confdefs.h. */
7543 return 0; 7875 return 0;
7544} 7876}
7545_ACEOF 7877_ACEOF
7546rm -f conftest.$ac_objext 7878rm -f conftest.$ac_objext
7547if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7879if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7548 (eval $ac_compile) 2>&5 7880 (eval $ac_compile) 2>conftest.er1
7549 ac_status=$? 7881 ac_status=$?
7882 grep -v '^ *+' conftest.er1 >conftest.err
7883 rm -f conftest.er1
7884 cat conftest.err >&5
7550 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7551 (exit $ac_status); } && 7886 (exit $ac_status); } &&
7552 { ac_try='test -s conftest.$ac_objext' 7887 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7554 (eval $ac_try) 2>&5 7889 (eval $ac_try) 2>&5
7555 ac_status=$? 7890 ac_status=$?
7556 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7892 (exit $ac_status); }; } &&
7893 { ac_try='test -s conftest.$ac_objext'
7894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7895 (eval $ac_try) 2>&5
7896 ac_status=$?
7897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7557 (exit $ac_status); }; }; then 7898 (exit $ac_status); }; }; then
7558 ac_cv_type_socklen_t=yes 7899 ac_cv_type_socklen_t=yes
7559else 7900else
7560 echo "$as_me: failed program was:" >&5 7901 echo "$as_me: failed program was:" >&5
7561sed 's/^/| /' conftest.$ac_ext >&5 7902sed 's/^/| /' conftest.$ac_ext >&5
7562 7903
7563ac_cv_type_socklen_t=no 7904ac_cv_type_socklen_t=no
7564fi 7905fi
7565rm -f conftest.$ac_objext conftest.$ac_ext 7906rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7566 7907
7567fi 7908fi
7568echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 7909echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
7569echo "${ECHO_T}$ac_cv_type_socklen_t" >&6 7910echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
7570if test $ac_cv_type_socklen_t = yes; then 7911if test $ac_cv_type_socklen_t = yes; then
7580if test "${ac_cv_struct_addrinfo+set}" = set; then 7921if test "${ac_cv_struct_addrinfo+set}" = set; then
7581 echo $ECHO_N "(cached) $ECHO_C" >&6 7922 echo $ECHO_N "(cached) $ECHO_C" >&6
7582else 7923else
7583 7924
7584 cat >conftest.$ac_ext <<_ACEOF 7925 cat >conftest.$ac_ext <<_ACEOF
7585#line $LINENO "configure"
7586/* confdefs.h. */ 7926/* confdefs.h. */
7587_ACEOF 7927_ACEOF
7588cat confdefs.h >>conftest.$ac_ext 7928cat confdefs.h >>conftest.$ac_ext
7589cat >>conftest.$ac_ext <<_ACEOF 7929cat >>conftest.$ac_ext <<_ACEOF
7590/* end confdefs.h. */ 7930/* end confdefs.h. */
7599 return 0; 7939 return 0;
7600} 7940}
7601_ACEOF 7941_ACEOF
7602rm -f conftest.$ac_objext 7942rm -f conftest.$ac_objext
7603if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7943if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7604 (eval $ac_compile) 2>&5 7944 (eval $ac_compile) 2>conftest.er1
7605 ac_status=$? 7945 ac_status=$?
7946 grep -v '^ *+' conftest.er1 >conftest.err
7947 rm -f conftest.er1
7948 cat conftest.err >&5
7606 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7607 (exit $ac_status); } && 7950 (exit $ac_status); } &&
7608 { ac_try='test -s conftest.$ac_objext' 7951 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7610 (eval $ac_try) 2>&5 7953 (eval $ac_try) 2>&5
7611 ac_status=$? 7954 ac_status=$?
7612 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7956 (exit $ac_status); }; } &&
7957 { ac_try='test -s conftest.$ac_objext'
7958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7959 (eval $ac_try) 2>&5
7960 ac_status=$?
7961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7613 (exit $ac_status); }; }; then 7962 (exit $ac_status); }; }; then
7614 ac_cv_struct_addrinfo=yes 7963 ac_cv_struct_addrinfo=yes
7615else 7964else
7616 echo "$as_me: failed program was:" >&5 7965 echo "$as_me: failed program was:" >&5
7617sed 's/^/| /' conftest.$ac_ext >&5 7966sed 's/^/| /' conftest.$ac_ext >&5
7618 7967
7619ac_cv_struct_addrinfo=no 7968ac_cv_struct_addrinfo=no
7620fi 7969fi
7621rm -f conftest.$ac_objext conftest.$ac_ext 7970rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7622 7971
7623fi 7972fi
7624echo "$as_me:$LINENO: result: $ac_cv_struct_addrinfo" >&5 7973echo "$as_me:$LINENO: result: $ac_cv_struct_addrinfo" >&5
7625echo "${ECHO_T}$ac_cv_struct_addrinfo" >&6 7974echo "${ECHO_T}$ac_cv_struct_addrinfo" >&6
7626if test $ac_cv_struct_addrinfo = yes; then 7975if test $ac_cv_struct_addrinfo = yes; then
7635echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 7984echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
7636if test "${ac_cv_type_signal+set}" = set; then 7985if test "${ac_cv_type_signal+set}" = set; then
7637 echo $ECHO_N "(cached) $ECHO_C" >&6 7986 echo $ECHO_N "(cached) $ECHO_C" >&6
7638else 7987else
7639 cat >conftest.$ac_ext <<_ACEOF 7988 cat >conftest.$ac_ext <<_ACEOF
7640#line $LINENO "configure"
7641/* confdefs.h. */ 7989/* confdefs.h. */
7642_ACEOF 7990_ACEOF
7643cat confdefs.h >>conftest.$ac_ext 7991cat confdefs.h >>conftest.$ac_ext
7644cat >>conftest.$ac_ext <<_ACEOF 7992cat >>conftest.$ac_ext <<_ACEOF
7645/* end confdefs.h. */ 7993/* end confdefs.h. */
7662 return 0; 8010 return 0;
7663} 8011}
7664_ACEOF 8012_ACEOF
7665rm -f conftest.$ac_objext 8013rm -f conftest.$ac_objext
7666if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8014if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7667 (eval $ac_compile) 2>&5 8015 (eval $ac_compile) 2>conftest.er1
7668 ac_status=$? 8016 ac_status=$?
8017 grep -v '^ *+' conftest.er1 >conftest.err
8018 rm -f conftest.er1
8019 cat conftest.err >&5
7669 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7670 (exit $ac_status); } && 8021 (exit $ac_status); } &&
7671 { ac_try='test -s conftest.$ac_objext' 8022 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7673 (eval $ac_try) 2>&5 8024 (eval $ac_try) 2>&5
7674 ac_status=$? 8025 ac_status=$?
7675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8027 (exit $ac_status); }; } &&
8028 { ac_try='test -s conftest.$ac_objext'
8029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8030 (eval $ac_try) 2>&5
8031 ac_status=$?
8032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7676 (exit $ac_status); }; }; then 8033 (exit $ac_status); }; }; then
7677 ac_cv_type_signal=void 8034 ac_cv_type_signal=void
7678else 8035else
7679 echo "$as_me: failed program was:" >&5 8036 echo "$as_me: failed program was:" >&5
7680sed 's/^/| /' conftest.$ac_ext >&5 8037sed 's/^/| /' conftest.$ac_ext >&5
7681 8038
7682ac_cv_type_signal=int 8039ac_cv_type_signal=int
7683fi 8040fi
7684rm -f conftest.$ac_objext conftest.$ac_ext 8041rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7685fi 8042fi
7686echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 8043echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
7687echo "${ECHO_T}$ac_cv_type_signal" >&6 8044echo "${ECHO_T}$ac_cv_type_signal" >&6
7688 8045
7689cat >>confdefs.h <<_ACEOF 8046cat >>confdefs.h <<_ACEOF
7703echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 8060echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7704if test "${ac_cv_header_stdc+set}" = set; then 8061if test "${ac_cv_header_stdc+set}" = set; then
7705 echo $ECHO_N "(cached) $ECHO_C" >&6 8062 echo $ECHO_N "(cached) $ECHO_C" >&6
7706else 8063else
7707 cat >conftest.$ac_ext <<_ACEOF 8064 cat >conftest.$ac_ext <<_ACEOF
7708#line $LINENO "configure"
7709/* confdefs.h. */ 8065/* confdefs.h. */
7710_ACEOF 8066_ACEOF
7711cat confdefs.h >>conftest.$ac_ext 8067cat confdefs.h >>conftest.$ac_ext
7712cat >>conftest.$ac_ext <<_ACEOF 8068cat >>conftest.$ac_ext <<_ACEOF
7713/* end confdefs.h. */ 8069/* end confdefs.h. */
7724 return 0; 8080 return 0;
7725} 8081}
7726_ACEOF 8082_ACEOF
7727rm -f conftest.$ac_objext 8083rm -f conftest.$ac_objext
7728if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8084if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7729 (eval $ac_compile) 2>&5 8085 (eval $ac_compile) 2>conftest.er1
7730 ac_status=$? 8086 ac_status=$?
8087 grep -v '^ *+' conftest.er1 >conftest.err
8088 rm -f conftest.er1
8089 cat conftest.err >&5
7731 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7732 (exit $ac_status); } && 8091 (exit $ac_status); } &&
7733 { ac_try='test -s conftest.$ac_objext' 8092 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7735 (eval $ac_try) 2>&5 8094 (eval $ac_try) 2>&5
7736 ac_status=$? 8095 ac_status=$?
7737 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8097 (exit $ac_status); }; } &&
8098 { ac_try='test -s conftest.$ac_objext'
8099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8100 (eval $ac_try) 2>&5
8101 ac_status=$?
8102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7738 (exit $ac_status); }; }; then 8103 (exit $ac_status); }; }; then
7739 ac_cv_header_stdc=yes 8104 ac_cv_header_stdc=yes
7740else 8105else
7741 echo "$as_me: failed program was:" >&5 8106 echo "$as_me: failed program was:" >&5
7742sed 's/^/| /' conftest.$ac_ext >&5 8107sed 's/^/| /' conftest.$ac_ext >&5
7743 8108
7744ac_cv_header_stdc=no 8109ac_cv_header_stdc=no
7745fi 8110fi
7746rm -f conftest.$ac_objext conftest.$ac_ext 8111rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7747 8112
7748if test $ac_cv_header_stdc = yes; then 8113if test $ac_cv_header_stdc = yes; then
7749 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 8114 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7750 cat >conftest.$ac_ext <<_ACEOF 8115 cat >conftest.$ac_ext <<_ACEOF
7751#line $LINENO "configure"
7752/* confdefs.h. */ 8116/* confdefs.h. */
7753_ACEOF 8117_ACEOF
7754cat confdefs.h >>conftest.$ac_ext 8118cat confdefs.h >>conftest.$ac_ext
7755cat >>conftest.$ac_ext <<_ACEOF 8119cat >>conftest.$ac_ext <<_ACEOF
7756/* end confdefs.h. */ 8120/* end confdefs.h. */
7768fi 8132fi
7769 8133
7770if test $ac_cv_header_stdc = yes; then 8134if test $ac_cv_header_stdc = yes; then
7771 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 8135 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7772 cat >conftest.$ac_ext <<_ACEOF 8136 cat >conftest.$ac_ext <<_ACEOF
7773#line $LINENO "configure"
7774/* confdefs.h. */ 8137/* confdefs.h. */
7775_ACEOF 8138_ACEOF
7776cat confdefs.h >>conftest.$ac_ext 8139cat confdefs.h >>conftest.$ac_ext
7777cat >>conftest.$ac_ext <<_ACEOF 8140cat >>conftest.$ac_ext <<_ACEOF
7778/* end confdefs.h. */ 8141/* end confdefs.h. */
7793 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 8156 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7794 if test "$cross_compiling" = yes; then 8157 if test "$cross_compiling" = yes; then
7795 : 8158 :
7796else 8159else
7797 cat >conftest.$ac_ext <<_ACEOF 8160 cat >conftest.$ac_ext <<_ACEOF
7798#line $LINENO "configure"
7799/* confdefs.h. */ 8161/* confdefs.h. */
7800_ACEOF 8162_ACEOF
7801cat confdefs.h >>conftest.$ac_ext 8163cat confdefs.h >>conftest.$ac_ext
7802cat >>conftest.$ac_ext <<_ACEOF 8164cat >>conftest.$ac_ext <<_ACEOF
7803/* end confdefs.h. */ 8165/* end confdefs.h. */
7805#if ((' ' & 0x0FF) == 0x020) 8167#if ((' ' & 0x0FF) == 0x020)
7806# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 8168# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7807# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 8169# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7808#else 8170#else
7809# define ISLOWER(c) \ 8171# define ISLOWER(c) \
7810 (('a' <= (c) && (c) <= 'i') \ 8172 (('a' <= (c) && (c) <= 'i') \
7811 || ('j' <= (c) && (c) <= 'r') \ 8173 || ('j' <= (c) && (c) <= 'r') \
7812 || ('s' <= (c) && (c) <= 'z')) 8174 || ('s' <= (c) && (c) <= 'z'))
7813# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 8175# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7814#endif 8176#endif
7815 8177
7816#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 8178#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7817int 8179int
7818main () 8180main ()
7819{ 8181{
7820 int i; 8182 int i;
7821 for (i = 0; i < 256; i++) 8183 for (i = 0; i < 256; i++)
7822 if (XOR (islower (i), ISLOWER (i)) 8184 if (XOR (islower (i), ISLOWER (i))
7823 || toupper (i) != TOUPPER (i)) 8185 || toupper (i) != TOUPPER (i))
7824 exit(2); 8186 exit(2);
7825 exit (0); 8187 exit (0);
7826} 8188}
7827_ACEOF 8189_ACEOF
7828rm -f conftest$ac_exeext 8190rm -f conftest$ac_exeext
7868 8230
7869 8231
7870 8232
7871 8233
7872 8234
7873
7874for ac_func in asprintf daemon get_current_dir_name putenv select strerror strsignal strtol unsetenv mlockall poll 8235for ac_func in asprintf daemon get_current_dir_name putenv select strerror strsignal strtol unsetenv mlockall
7875do 8236do
7876as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8237as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7877echo "$as_me:$LINENO: checking for $ac_func" >&5 8238echo "$as_me:$LINENO: checking for $ac_func" >&5
7878echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8239echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7879if eval "test \"\${$as_ac_var+set}\" = set"; then 8240if eval "test \"\${$as_ac_var+set}\" = set"; then
7880 echo $ECHO_N "(cached) $ECHO_C" >&6 8241 echo $ECHO_N "(cached) $ECHO_C" >&6
7881else 8242else
7882 cat >conftest.$ac_ext <<_ACEOF 8243 cat >conftest.$ac_ext <<_ACEOF
7883#line $LINENO "configure"
7884/* confdefs.h. */ 8244/* confdefs.h. */
7885_ACEOF 8245_ACEOF
7886cat confdefs.h >>conftest.$ac_ext 8246cat confdefs.h >>conftest.$ac_ext
7887cat >>conftest.$ac_ext <<_ACEOF 8247cat >>conftest.$ac_ext <<_ACEOF
7888/* end confdefs.h. */ 8248/* end confdefs.h. */
8249/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8251#define $ac_func innocuous_$ac_func
8252
7889/* System header to define __stub macros and hopefully few prototypes, 8253/* System header to define __stub macros and hopefully few prototypes,
7890 which can conflict with char $ac_func (); below. 8254 which can conflict with char $ac_func (); below.
7891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7892 <limits.h> exists even on freestanding compilers. */ 8256 <limits.h> exists even on freestanding compilers. */
8257
7893#ifdef __STDC__ 8258#ifdef __STDC__
7894# include <limits.h> 8259# include <limits.h>
7895#else 8260#else
7896# include <assert.h> 8261# include <assert.h>
7897#endif 8262#endif
8263
8264#undef $ac_func
8265
7898/* Override any gcc2 internal prototype to avoid an error. */ 8266/* Override any gcc2 internal prototype to avoid an error. */
7899#ifdef __cplusplus 8267#ifdef __cplusplus
7900extern "C" 8268extern "C"
7901{ 8269{
7902#endif 8270#endif
7923 return 0; 8291 return 0;
7924} 8292}
7925_ACEOF 8293_ACEOF
7926rm -f conftest.$ac_objext conftest$ac_exeext 8294rm -f conftest.$ac_objext conftest$ac_exeext
7927if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8295if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7928 (eval $ac_link) 2>&5 8296 (eval $ac_link) 2>conftest.er1
7929 ac_status=$? 8297 ac_status=$?
8298 grep -v '^ *+' conftest.er1 >conftest.err
8299 rm -f conftest.er1
8300 cat conftest.err >&5
7930 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7931 (exit $ac_status); } && 8302 (exit $ac_status); } &&
7932 { ac_try='test -s conftest$ac_exeext' 8303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7934 (eval $ac_try) 2>&5 8305 (eval $ac_try) 2>&5
7935 ac_status=$? 8306 ac_status=$?
7936 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8308 (exit $ac_status); }; } &&
8309 { ac_try='test -s conftest$ac_exeext'
8310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8311 (eval $ac_try) 2>&5
8312 ac_status=$?
8313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7937 (exit $ac_status); }; }; then 8314 (exit $ac_status); }; }; then
7938 eval "$as_ac_var=yes" 8315 eval "$as_ac_var=yes"
7939else 8316else
7940 echo "$as_me: failed program was:" >&5 8317 echo "$as_me: failed program was:" >&5
7941sed 's/^/| /' conftest.$ac_ext >&5 8318sed 's/^/| /' conftest.$ac_ext >&5
7942 8319
7943eval "$as_ac_var=no" 8320eval "$as_ac_var=no"
7944fi 8321fi
7945rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8322rm -f conftest.err conftest.$ac_objext \
8323 conftest$ac_exeext conftest.$ac_ext
7946fi 8324fi
7947echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 8325echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7948echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8326echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7949if test `eval echo '${'$as_ac_var'}'` = yes; then 8327if test `eval echo '${'$as_ac_var'}'` = yes; then
7950 cat >>confdefs.h <<_ACEOF 8328 cat >>confdefs.h <<_ACEOF
7961echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 8339echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
7962if test "${ac_cv_working_alloca_h+set}" = set; then 8340if test "${ac_cv_working_alloca_h+set}" = set; then
7963 echo $ECHO_N "(cached) $ECHO_C" >&6 8341 echo $ECHO_N "(cached) $ECHO_C" >&6
7964else 8342else
7965 cat >conftest.$ac_ext <<_ACEOF 8343 cat >conftest.$ac_ext <<_ACEOF
7966#line $LINENO "configure"
7967/* confdefs.h. */ 8344/* confdefs.h. */
7968_ACEOF 8345_ACEOF
7969cat confdefs.h >>conftest.$ac_ext 8346cat confdefs.h >>conftest.$ac_ext
7970cat >>conftest.$ac_ext <<_ACEOF 8347cat >>conftest.$ac_ext <<_ACEOF
7971/* end confdefs.h. */ 8348/* end confdefs.h. */
7978 return 0; 8355 return 0;
7979} 8356}
7980_ACEOF 8357_ACEOF
7981rm -f conftest.$ac_objext conftest$ac_exeext 8358rm -f conftest.$ac_objext conftest$ac_exeext
7982if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8359if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7983 (eval $ac_link) 2>&5 8360 (eval $ac_link) 2>conftest.er1
7984 ac_status=$? 8361 ac_status=$?
8362 grep -v '^ *+' conftest.er1 >conftest.err
8363 rm -f conftest.er1
8364 cat conftest.err >&5
7985 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7986 (exit $ac_status); } && 8366 (exit $ac_status); } &&
7987 { ac_try='test -s conftest$ac_exeext' 8367 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7989 (eval $ac_try) 2>&5 8369 (eval $ac_try) 2>&5
7990 ac_status=$? 8370 ac_status=$?
7991 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8372 (exit $ac_status); }; } &&
8373 { ac_try='test -s conftest$ac_exeext'
8374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8375 (eval $ac_try) 2>&5
8376 ac_status=$?
8377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7992 (exit $ac_status); }; }; then 8378 (exit $ac_status); }; }; then
7993 ac_cv_working_alloca_h=yes 8379 ac_cv_working_alloca_h=yes
7994else 8380else
7995 echo "$as_me: failed program was:" >&5 8381 echo "$as_me: failed program was:" >&5
7996sed 's/^/| /' conftest.$ac_ext >&5 8382sed 's/^/| /' conftest.$ac_ext >&5
7997 8383
7998ac_cv_working_alloca_h=no 8384ac_cv_working_alloca_h=no
7999fi 8385fi
8000rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8386rm -f conftest.err conftest.$ac_objext \
8387 conftest$ac_exeext conftest.$ac_ext
8001fi 8388fi
8002echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 8389echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
8003echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 8390echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
8004if test $ac_cv_working_alloca_h = yes; then 8391if test $ac_cv_working_alloca_h = yes; then
8005 8392
8013echo $ECHO_N "checking for alloca... $ECHO_C" >&6 8400echo $ECHO_N "checking for alloca... $ECHO_C" >&6
8014if test "${ac_cv_func_alloca_works+set}" = set; then 8401if test "${ac_cv_func_alloca_works+set}" = set; then
8015 echo $ECHO_N "(cached) $ECHO_C" >&6 8402 echo $ECHO_N "(cached) $ECHO_C" >&6
8016else 8403else
8017 cat >conftest.$ac_ext <<_ACEOF 8404 cat >conftest.$ac_ext <<_ACEOF
8018#line $LINENO "configure"
8019/* confdefs.h. */ 8405/* confdefs.h. */
8020_ACEOF 8406_ACEOF
8021cat confdefs.h >>conftest.$ac_ext 8407cat confdefs.h >>conftest.$ac_ext
8022cat >>conftest.$ac_ext <<_ACEOF 8408cat >>conftest.$ac_ext <<_ACEOF
8023/* end confdefs.h. */ 8409/* end confdefs.h. */
8050 return 0; 8436 return 0;
8051} 8437}
8052_ACEOF 8438_ACEOF
8053rm -f conftest.$ac_objext conftest$ac_exeext 8439rm -f conftest.$ac_objext conftest$ac_exeext
8054if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8440if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8055 (eval $ac_link) 2>&5 8441 (eval $ac_link) 2>conftest.er1
8056 ac_status=$? 8442 ac_status=$?
8443 grep -v '^ *+' conftest.er1 >conftest.err
8444 rm -f conftest.er1
8445 cat conftest.err >&5
8057 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8058 (exit $ac_status); } && 8447 (exit $ac_status); } &&
8059 { ac_try='test -s conftest$ac_exeext' 8448 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8061 (eval $ac_try) 2>&5 8450 (eval $ac_try) 2>&5
8062 ac_status=$? 8451 ac_status=$?
8063 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8453 (exit $ac_status); }; } &&
8454 { ac_try='test -s conftest$ac_exeext'
8455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8456 (eval $ac_try) 2>&5
8457 ac_status=$?
8458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8064 (exit $ac_status); }; }; then 8459 (exit $ac_status); }; }; then
8065 ac_cv_func_alloca_works=yes 8460 ac_cv_func_alloca_works=yes
8066else 8461else
8067 echo "$as_me: failed program was:" >&5 8462 echo "$as_me: failed program was:" >&5
8068sed 's/^/| /' conftest.$ac_ext >&5 8463sed 's/^/| /' conftest.$ac_ext >&5
8069 8464
8070ac_cv_func_alloca_works=no 8465ac_cv_func_alloca_works=no
8071fi 8466fi
8072rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8467rm -f conftest.err conftest.$ac_objext \
8468 conftest$ac_exeext conftest.$ac_ext
8073fi 8469fi
8074echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 8470echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
8075echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 8471echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
8076 8472
8077if test $ac_cv_func_alloca_works = yes; then 8473if test $ac_cv_func_alloca_works = yes; then
8097echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 8493echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
8098if test "${ac_cv_os_cray+set}" = set; then 8494if test "${ac_cv_os_cray+set}" = set; then
8099 echo $ECHO_N "(cached) $ECHO_C" >&6 8495 echo $ECHO_N "(cached) $ECHO_C" >&6
8100else 8496else
8101 cat >conftest.$ac_ext <<_ACEOF 8497 cat >conftest.$ac_ext <<_ACEOF
8102#line $LINENO "configure"
8103/* confdefs.h. */ 8498/* confdefs.h. */
8104_ACEOF 8499_ACEOF
8105cat confdefs.h >>conftest.$ac_ext 8500cat confdefs.h >>conftest.$ac_ext
8106cat >>conftest.$ac_ext <<_ACEOF 8501cat >>conftest.$ac_ext <<_ACEOF
8107/* end confdefs.h. */ 8502/* end confdefs.h. */
8130echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8525echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8131if eval "test \"\${$as_ac_var+set}\" = set"; then 8526if eval "test \"\${$as_ac_var+set}\" = set"; then
8132 echo $ECHO_N "(cached) $ECHO_C" >&6 8527 echo $ECHO_N "(cached) $ECHO_C" >&6
8133else 8528else
8134 cat >conftest.$ac_ext <<_ACEOF 8529 cat >conftest.$ac_ext <<_ACEOF
8135#line $LINENO "configure"
8136/* confdefs.h. */ 8530/* confdefs.h. */
8137_ACEOF 8531_ACEOF
8138cat confdefs.h >>conftest.$ac_ext 8532cat confdefs.h >>conftest.$ac_ext
8139cat >>conftest.$ac_ext <<_ACEOF 8533cat >>conftest.$ac_ext <<_ACEOF
8140/* end confdefs.h. */ 8534/* end confdefs.h. */
8535/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8537#define $ac_func innocuous_$ac_func
8538
8141/* System header to define __stub macros and hopefully few prototypes, 8539/* System header to define __stub macros and hopefully few prototypes,
8142 which can conflict with char $ac_func (); below. 8540 which can conflict with char $ac_func (); below.
8143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8144 <limits.h> exists even on freestanding compilers. */ 8542 <limits.h> exists even on freestanding compilers. */
8543
8145#ifdef __STDC__ 8544#ifdef __STDC__
8146# include <limits.h> 8545# include <limits.h>
8147#else 8546#else
8148# include <assert.h> 8547# include <assert.h>
8149#endif 8548#endif
8549
8550#undef $ac_func
8551
8150/* Override any gcc2 internal prototype to avoid an error. */ 8552/* Override any gcc2 internal prototype to avoid an error. */
8151#ifdef __cplusplus 8553#ifdef __cplusplus
8152extern "C" 8554extern "C"
8153{ 8555{
8154#endif 8556#endif
8175 return 0; 8577 return 0;
8176} 8578}
8177_ACEOF 8579_ACEOF
8178rm -f conftest.$ac_objext conftest$ac_exeext 8580rm -f conftest.$ac_objext conftest$ac_exeext
8179if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8581if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8180 (eval $ac_link) 2>&5 8582 (eval $ac_link) 2>conftest.er1
8181 ac_status=$? 8583 ac_status=$?
8584 grep -v '^ *+' conftest.er1 >conftest.err
8585 rm -f conftest.er1
8586 cat conftest.err >&5
8182 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8183 (exit $ac_status); } && 8588 (exit $ac_status); } &&
8184 { ac_try='test -s conftest$ac_exeext' 8589 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8186 (eval $ac_try) 2>&5 8591 (eval $ac_try) 2>&5
8187 ac_status=$? 8592 ac_status=$?
8188 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8594 (exit $ac_status); }; } &&
8595 { ac_try='test -s conftest$ac_exeext'
8596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8597 (eval $ac_try) 2>&5
8598 ac_status=$?
8599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8189 (exit $ac_status); }; }; then 8600 (exit $ac_status); }; }; then
8190 eval "$as_ac_var=yes" 8601 eval "$as_ac_var=yes"
8191else 8602else
8192 echo "$as_me: failed program was:" >&5 8603 echo "$as_me: failed program was:" >&5
8193sed 's/^/| /' conftest.$ac_ext >&5 8604sed 's/^/| /' conftest.$ac_ext >&5
8194 8605
8195eval "$as_ac_var=no" 8606eval "$as_ac_var=no"
8196fi 8607fi
8197rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8608rm -f conftest.err conftest.$ac_objext \
8609 conftest$ac_exeext conftest.$ac_ext
8198fi 8610fi
8199echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 8611echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8200echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8612echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8201if test `eval echo '${'$as_ac_var'}'` = yes; then 8613if test `eval echo '${'$as_ac_var'}'` = yes; then
8202 8614
8217else 8629else
8218 if test "$cross_compiling" = yes; then 8630 if test "$cross_compiling" = yes; then
8219 ac_cv_c_stack_direction=0 8631 ac_cv_c_stack_direction=0
8220else 8632else
8221 cat >conftest.$ac_ext <<_ACEOF 8633 cat >conftest.$ac_ext <<_ACEOF
8222#line $LINENO "configure"
8223/* confdefs.h. */ 8634/* confdefs.h. */
8224_ACEOF 8635_ACEOF
8225cat confdefs.h >>conftest.$ac_ext 8636cat confdefs.h >>conftest.$ac_ext
8226cat >>conftest.$ac_ext <<_ACEOF 8637cat >>conftest.$ac_ext <<_ACEOF
8227/* end confdefs.h. */ 8638/* end confdefs.h. */
8284echo $ECHO_N "checking for socket... $ECHO_C" >&6 8695echo $ECHO_N "checking for socket... $ECHO_C" >&6
8285if test "${ac_cv_func_socket+set}" = set; then 8696if test "${ac_cv_func_socket+set}" = set; then
8286 echo $ECHO_N "(cached) $ECHO_C" >&6 8697 echo $ECHO_N "(cached) $ECHO_C" >&6
8287else 8698else
8288 cat >conftest.$ac_ext <<_ACEOF 8699 cat >conftest.$ac_ext <<_ACEOF
8289#line $LINENO "configure"
8290/* confdefs.h. */ 8700/* confdefs.h. */
8291_ACEOF 8701_ACEOF
8292cat confdefs.h >>conftest.$ac_ext 8702cat confdefs.h >>conftest.$ac_ext
8293cat >>conftest.$ac_ext <<_ACEOF 8703cat >>conftest.$ac_ext <<_ACEOF
8294/* end confdefs.h. */ 8704/* end confdefs.h. */
8705/* Define socket to an innocuous variant, in case <limits.h> declares socket.
8706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8707#define socket innocuous_socket
8708
8295/* System header to define __stub macros and hopefully few prototypes, 8709/* System header to define __stub macros and hopefully few prototypes,
8296 which can conflict with char socket (); below. 8710 which can conflict with char socket (); below.
8297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8298 <limits.h> exists even on freestanding compilers. */ 8712 <limits.h> exists even on freestanding compilers. */
8713
8299#ifdef __STDC__ 8714#ifdef __STDC__
8300# include <limits.h> 8715# include <limits.h>
8301#else 8716#else
8302# include <assert.h> 8717# include <assert.h>
8303#endif 8718#endif
8719
8720#undef socket
8721
8304/* Override any gcc2 internal prototype to avoid an error. */ 8722/* Override any gcc2 internal prototype to avoid an error. */
8305#ifdef __cplusplus 8723#ifdef __cplusplus
8306extern "C" 8724extern "C"
8307{ 8725{
8308#endif 8726#endif
8329 return 0; 8747 return 0;
8330} 8748}
8331_ACEOF 8749_ACEOF
8332rm -f conftest.$ac_objext conftest$ac_exeext 8750rm -f conftest.$ac_objext conftest$ac_exeext
8333if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8751if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8334 (eval $ac_link) 2>&5 8752 (eval $ac_link) 2>conftest.er1
8335 ac_status=$? 8753 ac_status=$?
8754 grep -v '^ *+' conftest.er1 >conftest.err
8755 rm -f conftest.er1
8756 cat conftest.err >&5
8336 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8337 (exit $ac_status); } && 8758 (exit $ac_status); } &&
8338 { ac_try='test -s conftest$ac_exeext' 8759 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8340 (eval $ac_try) 2>&5 8761 (eval $ac_try) 2>&5
8341 ac_status=$? 8762 ac_status=$?
8342 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8764 (exit $ac_status); }; } &&
8765 { ac_try='test -s conftest$ac_exeext'
8766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8767 (eval $ac_try) 2>&5
8768 ac_status=$?
8769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8343 (exit $ac_status); }; }; then 8770 (exit $ac_status); }; }; then
8344 ac_cv_func_socket=yes 8771 ac_cv_func_socket=yes
8345else 8772else
8346 echo "$as_me: failed program was:" >&5 8773 echo "$as_me: failed program was:" >&5
8347sed 's/^/| /' conftest.$ac_ext >&5 8774sed 's/^/| /' conftest.$ac_ext >&5
8348 8775
8349ac_cv_func_socket=no 8776ac_cv_func_socket=no
8350fi 8777fi
8351rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8778rm -f conftest.err conftest.$ac_objext \
8779 conftest$ac_exeext conftest.$ac_ext
8352fi 8780fi
8353echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 8781echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
8354echo "${ECHO_T}$ac_cv_func_socket" >&6 8782echo "${ECHO_T}$ac_cv_func_socket" >&6
8355if test $ac_cv_func_socket = yes; then 8783if test $ac_cv_func_socket = yes; then
8356 : 8784 :
8363 echo $ECHO_N "(cached) $ECHO_C" >&6 8791 echo $ECHO_N "(cached) $ECHO_C" >&6
8364else 8792else
8365 ac_check_lib_save_LIBS=$LIBS 8793 ac_check_lib_save_LIBS=$LIBS
8366LIBS="-lsocket $LIBS" 8794LIBS="-lsocket $LIBS"
8367cat >conftest.$ac_ext <<_ACEOF 8795cat >conftest.$ac_ext <<_ACEOF
8368#line $LINENO "configure"
8369/* confdefs.h. */ 8796/* confdefs.h. */
8370_ACEOF 8797_ACEOF
8371cat confdefs.h >>conftest.$ac_ext 8798cat confdefs.h >>conftest.$ac_ext
8372cat >>conftest.$ac_ext <<_ACEOF 8799cat >>conftest.$ac_ext <<_ACEOF
8373/* end confdefs.h. */ 8800/* end confdefs.h. */
8387 return 0; 8814 return 0;
8388} 8815}
8389_ACEOF 8816_ACEOF
8390rm -f conftest.$ac_objext conftest$ac_exeext 8817rm -f conftest.$ac_objext conftest$ac_exeext
8391if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8818if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8392 (eval $ac_link) 2>&5 8819 (eval $ac_link) 2>conftest.er1
8393 ac_status=$? 8820 ac_status=$?
8821 grep -v '^ *+' conftest.er1 >conftest.err
8822 rm -f conftest.er1
8823 cat conftest.err >&5
8394 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8395 (exit $ac_status); } && 8825 (exit $ac_status); } &&
8396 { ac_try='test -s conftest$ac_exeext' 8826 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8398 (eval $ac_try) 2>&5 8828 (eval $ac_try) 2>&5
8399 ac_status=$? 8829 ac_status=$?
8400 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8831 (exit $ac_status); }; } &&
8832 { ac_try='test -s conftest$ac_exeext'
8833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8834 (eval $ac_try) 2>&5
8835 ac_status=$?
8836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8401 (exit $ac_status); }; }; then 8837 (exit $ac_status); }; }; then
8402 ac_cv_lib_socket_connect=yes 8838 ac_cv_lib_socket_connect=yes
8403else 8839else
8404 echo "$as_me: failed program was:" >&5 8840 echo "$as_me: failed program was:" >&5
8405sed 's/^/| /' conftest.$ac_ext >&5 8841sed 's/^/| /' conftest.$ac_ext >&5
8406 8842
8407ac_cv_lib_socket_connect=no 8843ac_cv_lib_socket_connect=no
8408fi 8844fi
8409rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8845rm -f conftest.err conftest.$ac_objext \
8846 conftest$ac_exeext conftest.$ac_ext
8410LIBS=$ac_check_lib_save_LIBS 8847LIBS=$ac_check_lib_save_LIBS
8411fi 8848fi
8412echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 8849echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
8413echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6 8850echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
8414if test $ac_cv_lib_socket_connect = yes; then 8851if test $ac_cv_lib_socket_connect = yes; then
8427echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 8864echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
8428if test "${ac_cv_func_gethostbyname+set}" = set; then 8865if test "${ac_cv_func_gethostbyname+set}" = set; then
8429 echo $ECHO_N "(cached) $ECHO_C" >&6 8866 echo $ECHO_N "(cached) $ECHO_C" >&6
8430else 8867else
8431 cat >conftest.$ac_ext <<_ACEOF 8868 cat >conftest.$ac_ext <<_ACEOF
8432#line $LINENO "configure"
8433/* confdefs.h. */ 8869/* confdefs.h. */
8434_ACEOF 8870_ACEOF
8435cat confdefs.h >>conftest.$ac_ext 8871cat confdefs.h >>conftest.$ac_ext
8436cat >>conftest.$ac_ext <<_ACEOF 8872cat >>conftest.$ac_ext <<_ACEOF
8437/* end confdefs.h. */ 8873/* end confdefs.h. */
8874/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
8875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8876#define gethostbyname innocuous_gethostbyname
8877
8438/* System header to define __stub macros and hopefully few prototypes, 8878/* System header to define __stub macros and hopefully few prototypes,
8439 which can conflict with char gethostbyname (); below. 8879 which can conflict with char gethostbyname (); below.
8440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8441 <limits.h> exists even on freestanding compilers. */ 8881 <limits.h> exists even on freestanding compilers. */
8882
8442#ifdef __STDC__ 8883#ifdef __STDC__
8443# include <limits.h> 8884# include <limits.h>
8444#else 8885#else
8445# include <assert.h> 8886# include <assert.h>
8446#endif 8887#endif
8888
8889#undef gethostbyname
8890
8447/* Override any gcc2 internal prototype to avoid an error. */ 8891/* Override any gcc2 internal prototype to avoid an error. */
8448#ifdef __cplusplus 8892#ifdef __cplusplus
8449extern "C" 8893extern "C"
8450{ 8894{
8451#endif 8895#endif
8472 return 0; 8916 return 0;
8473} 8917}
8474_ACEOF 8918_ACEOF
8475rm -f conftest.$ac_objext conftest$ac_exeext 8919rm -f conftest.$ac_objext conftest$ac_exeext
8476if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8920if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8477 (eval $ac_link) 2>&5 8921 (eval $ac_link) 2>conftest.er1
8478 ac_status=$? 8922 ac_status=$?
8923 grep -v '^ *+' conftest.er1 >conftest.err
8924 rm -f conftest.er1
8925 cat conftest.err >&5
8479 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8480 (exit $ac_status); } && 8927 (exit $ac_status); } &&
8481 { ac_try='test -s conftest$ac_exeext' 8928 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8483 (eval $ac_try) 2>&5 8930 (eval $ac_try) 2>&5
8484 ac_status=$? 8931 ac_status=$?
8485 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8933 (exit $ac_status); }; } &&
8934 { ac_try='test -s conftest$ac_exeext'
8935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8936 (eval $ac_try) 2>&5
8937 ac_status=$?
8938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8486 (exit $ac_status); }; }; then 8939 (exit $ac_status); }; }; then
8487 ac_cv_func_gethostbyname=yes 8940 ac_cv_func_gethostbyname=yes
8488else 8941else
8489 echo "$as_me: failed program was:" >&5 8942 echo "$as_me: failed program was:" >&5
8490sed 's/^/| /' conftest.$ac_ext >&5 8943sed 's/^/| /' conftest.$ac_ext >&5
8491 8944
8492ac_cv_func_gethostbyname=no 8945ac_cv_func_gethostbyname=no
8493fi 8946fi
8494rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8947rm -f conftest.err conftest.$ac_objext \
8948 conftest$ac_exeext conftest.$ac_ext
8495fi 8949fi
8496echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 8950echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
8497echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 8951echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
8498if test $ac_cv_func_gethostbyname = yes; then 8952if test $ac_cv_func_gethostbyname = yes; then
8499 : 8953 :
8506 echo $ECHO_N "(cached) $ECHO_C" >&6 8960 echo $ECHO_N "(cached) $ECHO_C" >&6
8507else 8961else
8508 ac_check_lib_save_LIBS=$LIBS 8962 ac_check_lib_save_LIBS=$LIBS
8509LIBS="-lnsl $LIBS" 8963LIBS="-lnsl $LIBS"
8510cat >conftest.$ac_ext <<_ACEOF 8964cat >conftest.$ac_ext <<_ACEOF
8511#line $LINENO "configure"
8512/* confdefs.h. */ 8965/* confdefs.h. */
8513_ACEOF 8966_ACEOF
8514cat confdefs.h >>conftest.$ac_ext 8967cat confdefs.h >>conftest.$ac_ext
8515cat >>conftest.$ac_ext <<_ACEOF 8968cat >>conftest.$ac_ext <<_ACEOF
8516/* end confdefs.h. */ 8969/* end confdefs.h. */
8530 return 0; 8983 return 0;
8531} 8984}
8532_ACEOF 8985_ACEOF
8533rm -f conftest.$ac_objext conftest$ac_exeext 8986rm -f conftest.$ac_objext conftest$ac_exeext
8534if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8987if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8535 (eval $ac_link) 2>&5 8988 (eval $ac_link) 2>conftest.er1
8536 ac_status=$? 8989 ac_status=$?
8990 grep -v '^ *+' conftest.er1 >conftest.err
8991 rm -f conftest.er1
8992 cat conftest.err >&5
8537 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8538 (exit $ac_status); } && 8994 (exit $ac_status); } &&
8539 { ac_try='test -s conftest$ac_exeext' 8995 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8541 (eval $ac_try) 2>&5 8997 (eval $ac_try) 2>&5
8542 ac_status=$? 8998 ac_status=$?
8543 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9000 (exit $ac_status); }; } &&
9001 { ac_try='test -s conftest$ac_exeext'
9002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9003 (eval $ac_try) 2>&5
9004 ac_status=$?
9005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8544 (exit $ac_status); }; }; then 9006 (exit $ac_status); }; }; then
8545 ac_cv_lib_nsl_gethostbyname=yes 9007 ac_cv_lib_nsl_gethostbyname=yes
8546else 9008else
8547 echo "$as_me: failed program was:" >&5 9009 echo "$as_me: failed program was:" >&5
8548sed 's/^/| /' conftest.$ac_ext >&5 9010sed 's/^/| /' conftest.$ac_ext >&5
8549 9011
8550ac_cv_lib_nsl_gethostbyname=no 9012ac_cv_lib_nsl_gethostbyname=no
8551fi 9013fi
8552rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9014rm -f conftest.err conftest.$ac_objext \
9015 conftest$ac_exeext conftest.$ac_ext
8553LIBS=$ac_check_lib_save_LIBS 9016LIBS=$ac_check_lib_save_LIBS
8554fi 9017fi
8555echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 9018echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
8556echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 9019echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
8557if test $ac_cv_lib_nsl_gethostbyname = yes; then 9020if test $ac_cv_lib_nsl_gethostbyname = yes; then
8601 case `(ac_space=' '; set | grep ac_space) 2>&1` in 9064 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8602 *ac_space=\ *) 9065 *ac_space=\ *)
8603 # `set' does not quote correctly, so add quotes (double-quote 9066 # `set' does not quote correctly, so add quotes (double-quote
8604 # substitution turns \\\\ into \\, and sed turns \\ into \). 9067 # substitution turns \\\\ into \\, and sed turns \\ into \).
8605 sed -n \ 9068 sed -n \
8606 "s/'/'\\\\''/g; 9069 "s/'/'\\\\''/g;
8607 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 9070 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8608 ;; 9071 ;;
8609 *) 9072 *)
8610 # `set' quotes correctly as required by POSIX, so do not add quotes. 9073 # `set' quotes correctly as required by POSIX, so do not add quotes.
8611 sed -n \ 9074 sed -n \
8612 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 9075 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8613 ;; 9076 ;;
8614 esac; 9077 esac;
8615} | 9078} |
8616 sed ' 9079 sed '
8617 t clear 9080 t clear
8646if test "${tinc_cv_linux_if_tun_h+set}" = set; then 9109if test "${tinc_cv_linux_if_tun_h+set}" = set; then
8647 echo $ECHO_N "(cached) $ECHO_C" >&6 9110 echo $ECHO_N "(cached) $ECHO_C" >&6
8648else 9111else
8649 9112
8650 cat >conftest.$ac_ext <<_ACEOF 9113 cat >conftest.$ac_ext <<_ACEOF
8651#line $LINENO "configure"
8652/* confdefs.h. */ 9114/* confdefs.h. */
8653_ACEOF 9115_ACEOF
8654cat confdefs.h >>conftest.$ac_ext 9116cat confdefs.h >>conftest.$ac_ext
8655cat >>conftest.$ac_ext <<_ACEOF 9117cat >>conftest.$ac_ext <<_ACEOF
8656/* end confdefs.h. */ 9118/* end confdefs.h. */
8663 return 0; 9125 return 0;
8664} 9126}
8665_ACEOF 9127_ACEOF
8666rm -f conftest.$ac_objext 9128rm -f conftest.$ac_objext
8667if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9129if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8668 (eval $ac_compile) 2>&5 9130 (eval $ac_compile) 2>conftest.er1
8669 ac_status=$? 9131 ac_status=$?
9132 grep -v '^ *+' conftest.er1 >conftest.err
9133 rm -f conftest.er1
9134 cat conftest.err >&5
8670 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8671 (exit $ac_status); } && 9136 (exit $ac_status); } &&
8672 { ac_try='test -s conftest.$ac_objext' 9137 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8674 (eval $ac_try) 2>&5 9139 (eval $ac_try) 2>&5
8675 ac_status=$? 9140 ac_status=$?
8676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9142 (exit $ac_status); }; } &&
9143 { ac_try='test -s conftest.$ac_objext'
9144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9145 (eval $ac_try) 2>&5
9146 ac_status=$?
9147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8677 (exit $ac_status); }; }; then 9148 (exit $ac_status); }; }; then
8678 if_tun_h="\"$kerneldir/include/linux/if_tun.h\"" 9149 if_tun_h="\"$kerneldir/include/linux/if_tun.h\""
8679else 9150else
8680 echo "$as_me: failed program was:" >&5 9151 echo "$as_me: failed program was:" >&5
8681sed 's/^/| /' conftest.$ac_ext >&5 9152sed 's/^/| /' conftest.$ac_ext >&5
8682 9153
8683cat >conftest.$ac_ext <<_ACEOF 9154cat >conftest.$ac_ext <<_ACEOF
8684#line $LINENO "configure"
8685/* confdefs.h. */ 9155/* confdefs.h. */
8686_ACEOF 9156_ACEOF
8687cat confdefs.h >>conftest.$ac_ext 9157cat confdefs.h >>conftest.$ac_ext
8688cat >>conftest.$ac_ext <<_ACEOF 9158cat >>conftest.$ac_ext <<_ACEOF
8689/* end confdefs.h. */ 9159/* end confdefs.h. */
8696 return 0; 9166 return 0;
8697} 9167}
8698_ACEOF 9168_ACEOF
8699rm -f conftest.$ac_objext 9169rm -f conftest.$ac_objext
8700if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9170if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8701 (eval $ac_compile) 2>&5 9171 (eval $ac_compile) 2>conftest.er1
8702 ac_status=$? 9172 ac_status=$?
9173 grep -v '^ *+' conftest.er1 >conftest.err
9174 rm -f conftest.er1
9175 cat conftest.err >&5
8703 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8704 (exit $ac_status); } && 9177 (exit $ac_status); } &&
8705 { ac_try='test -s conftest.$ac_objext' 9178 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8707 (eval $ac_try) 2>&5 9180 (eval $ac_try) 2>&5
8708 ac_status=$? 9181 ac_status=$?
8709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9183 (exit $ac_status); }; } &&
9184 { ac_try='test -s conftest.$ac_objext'
9185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9186 (eval $ac_try) 2>&5
9187 ac_status=$?
9188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8710 (exit $ac_status); }; }; then 9189 (exit $ac_status); }; }; then
8711 if_tun_h="default" 9190 if_tun_h="default"
8712else 9191else
8713 echo "$as_me: failed program was:" >&5 9192 echo "$as_me: failed program was:" >&5
8714sed 's/^/| /' conftest.$ac_ext >&5 9193sed 's/^/| /' conftest.$ac_ext >&5
8715 9194
8716if_tun_h="no" 9195if_tun_h="no"
8717 9196
8718fi 9197fi
8719rm -f conftest.$ac_objext conftest.$ac_ext 9198rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8720 9199
8721fi 9200fi
8722rm -f conftest.$ac_objext conftest.$ac_ext 9201rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8723 9202
8724 if test $if_tun_h = no; then 9203 if test $if_tun_h = no; then
8725 tinc_cv_linux_if_tun_h=none 9204 tinc_cv_linux_if_tun_h=none
8726 else 9205 else
8727 tinc_cv_linux_if_tun_h="$if_tun_h" 9206 tinc_cv_linux_if_tun_h="$if_tun_h"
8743#define LINUX_IF_TUN_H $tinc_cv_linux_if_tun_h 9222#define LINUX_IF_TUN_H $tinc_cv_linux_if_tun_h
8744_ACEOF 9223_ACEOF
8745 9224
8746 fi 9225 fi
8747fi 9226fi
9227
8748 9228
8749 9229
8750 9230
8751 9231
8752 tinc_ac_save_CPPFLAGS="$CPPFLAGS" 9232 tinc_ac_save_CPPFLAGS="$CPPFLAGS"
8790else 9270else
8791 # Is the header compilable? 9271 # Is the header compilable?
8792echo "$as_me:$LINENO: checking $ac_header usability" >&5 9272echo "$as_me:$LINENO: checking $ac_header usability" >&5
8793echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 9273echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8794cat >conftest.$ac_ext <<_ACEOF 9274cat >conftest.$ac_ext <<_ACEOF
8795#line $LINENO "configure"
8796/* confdefs.h. */ 9275/* confdefs.h. */
8797_ACEOF 9276_ACEOF
8798cat confdefs.h >>conftest.$ac_ext 9277cat confdefs.h >>conftest.$ac_ext
8799cat >>conftest.$ac_ext <<_ACEOF 9278cat >>conftest.$ac_ext <<_ACEOF
8800/* end confdefs.h. */ 9279/* end confdefs.h. */
8801$ac_includes_default 9280$ac_includes_default
8802#include <$ac_header> 9281#include <$ac_header>
8803_ACEOF 9282_ACEOF
8804rm -f conftest.$ac_objext 9283rm -f conftest.$ac_objext
8805if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9284if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8806 (eval $ac_compile) 2>&5 9285 (eval $ac_compile) 2>conftest.er1
8807 ac_status=$? 9286 ac_status=$?
9287 grep -v '^ *+' conftest.er1 >conftest.err
9288 rm -f conftest.er1
9289 cat conftest.err >&5
8808 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8809 (exit $ac_status); } && 9291 (exit $ac_status); } &&
8810 { ac_try='test -s conftest.$ac_objext' 9292 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8812 (eval $ac_try) 2>&5 9294 (eval $ac_try) 2>&5
8813 ac_status=$? 9295 ac_status=$?
8814 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9297 (exit $ac_status); }; } &&
9298 { ac_try='test -s conftest.$ac_objext'
9299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9300 (eval $ac_try) 2>&5
9301 ac_status=$?
9302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8815 (exit $ac_status); }; }; then 9303 (exit $ac_status); }; }; then
8816 ac_header_compiler=yes 9304 ac_header_compiler=yes
8817else 9305else
8818 echo "$as_me: failed program was:" >&5 9306 echo "$as_me: failed program was:" >&5
8819sed 's/^/| /' conftest.$ac_ext >&5 9307sed 's/^/| /' conftest.$ac_ext >&5
8820 9308
8821ac_header_compiler=no 9309ac_header_compiler=no
8822fi 9310fi
8823rm -f conftest.$ac_objext conftest.$ac_ext 9311rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8824echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9312echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8825echo "${ECHO_T}$ac_header_compiler" >&6 9313echo "${ECHO_T}$ac_header_compiler" >&6
8826 9314
8827# Is the header present? 9315# Is the header present?
8828echo "$as_me:$LINENO: checking $ac_header presence" >&5 9316echo "$as_me:$LINENO: checking $ac_header presence" >&5
8829echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 9317echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8830cat >conftest.$ac_ext <<_ACEOF 9318cat >conftest.$ac_ext <<_ACEOF
8831#line $LINENO "configure"
8832/* confdefs.h. */ 9319/* confdefs.h. */
8833_ACEOF 9320_ACEOF
8834cat confdefs.h >>conftest.$ac_ext 9321cat confdefs.h >>conftest.$ac_ext
8835cat >>conftest.$ac_ext <<_ACEOF 9322cat >>conftest.$ac_ext <<_ACEOF
8836/* end confdefs.h. */ 9323/* end confdefs.h. */
8844 cat conftest.err >&5 9331 cat conftest.err >&5
8845 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8846 (exit $ac_status); } >/dev/null; then 9333 (exit $ac_status); } >/dev/null; then
8847 if test -s conftest.err; then 9334 if test -s conftest.err; then
8848 ac_cpp_err=$ac_cxx_preproc_warn_flag 9335 ac_cpp_err=$ac_cxx_preproc_warn_flag
9336 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8849 else 9337 else
8850 ac_cpp_err= 9338 ac_cpp_err=
8851 fi 9339 fi
8852else 9340else
8853 ac_cpp_err=yes 9341 ac_cpp_err=yes
8863rm -f conftest.err conftest.$ac_ext 9351rm -f conftest.err conftest.$ac_ext
8864echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9352echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8865echo "${ECHO_T}$ac_header_preproc" >&6 9353echo "${ECHO_T}$ac_header_preproc" >&6
8866 9354
8867# So? What about this header? 9355# So? What about this header?
8868case $ac_header_compiler:$ac_header_preproc in 9356case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8869 yes:no ) 9357 yes:no: )
8870 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9358 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8871echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9359echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9360 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9361echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9362 ac_header_preproc=yes
9363 ;;
9364 no:yes:* )
9365 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9366echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9367 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9368echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9369 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9370echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9371 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9372echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8872 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9373 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8873echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9374echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9375 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9376echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8874 ( 9377 (
8875 cat <<\_ASBOX 9378 cat <<\_ASBOX
8876## ------------------------------------ ## 9379## ------------------------------------------ ##
8877## Report this to bug-autoconf@gnu.org. ## 9380## Report this to the AC_PACKAGE_NAME lists. ##
8878## ------------------------------------ ## 9381## ------------------------------------------ ##
8879_ASBOX
8880 ) |
8881 sed "s/^/$as_me: WARNING: /" >&2
8882 ;;
8883 no:yes )
8884 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8885echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8886 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8887echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8888 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8889echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8890 (
8891 cat <<\_ASBOX
8892## ------------------------------------ ##
8893## Report this to bug-autoconf@gnu.org. ##
8894## ------------------------------------ ##
8895_ASBOX 9382_ASBOX
8896 ) | 9383 ) |
8897 sed "s/^/$as_me: WARNING: /" >&2 9384 sed "s/^/$as_me: WARNING: /" >&2
8898 ;; 9385 ;;
8899esac 9386esac
8900echo "$as_me:$LINENO: checking for $ac_header" >&5 9387echo "$as_me:$LINENO: checking for $ac_header" >&5
8901echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9388echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8902if eval "test \"\${$as_ac_Header+set}\" = set"; then 9389if eval "test \"\${$as_ac_Header+set}\" = set"; then
8903 echo $ECHO_N "(cached) $ECHO_C" >&6 9390 echo $ECHO_N "(cached) $ECHO_C" >&6
8904else 9391else
8905 eval "$as_ac_Header=$ac_header_preproc" 9392 eval "$as_ac_Header=\$ac_header_preproc"
8906fi 9393fi
8907echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 9394echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8908echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9395echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8909 9396
8910fi 9397fi
8931 echo $ECHO_N "(cached) $ECHO_C" >&6 9418 echo $ECHO_N "(cached) $ECHO_C" >&6
8932else 9419else
8933 ac_check_lib_save_LIBS=$LIBS 9420 ac_check_lib_save_LIBS=$LIBS
8934LIBS="-lcrypto $LIBS" 9421LIBS="-lcrypto $LIBS"
8935cat >conftest.$ac_ext <<_ACEOF 9422cat >conftest.$ac_ext <<_ACEOF
8936#line $LINENO "configure"
8937/* confdefs.h. */ 9423/* confdefs.h. */
8938_ACEOF 9424_ACEOF
8939cat confdefs.h >>conftest.$ac_ext 9425cat confdefs.h >>conftest.$ac_ext
8940cat >>conftest.$ac_ext <<_ACEOF 9426cat >>conftest.$ac_ext <<_ACEOF
8941/* end confdefs.h. */ 9427/* end confdefs.h. */
8955 return 0; 9441 return 0;
8956} 9442}
8957_ACEOF 9443_ACEOF
8958rm -f conftest.$ac_objext conftest$ac_exeext 9444rm -f conftest.$ac_objext conftest$ac_exeext
8959if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9445if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8960 (eval $ac_link) 2>&5 9446 (eval $ac_link) 2>conftest.er1
8961 ac_status=$? 9447 ac_status=$?
9448 grep -v '^ *+' conftest.er1 >conftest.err
9449 rm -f conftest.er1
9450 cat conftest.err >&5
8962 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8963 (exit $ac_status); } && 9452 (exit $ac_status); } &&
8964 { ac_try='test -s conftest$ac_exeext' 9453 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8966 (eval $ac_try) 2>&5 9455 (eval $ac_try) 2>&5
8967 ac_status=$? 9456 ac_status=$?
8968 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9458 (exit $ac_status); }; } &&
9459 { ac_try='test -s conftest$ac_exeext'
9460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9461 (eval $ac_try) 2>&5
9462 ac_status=$?
9463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8969 (exit $ac_status); }; }; then 9464 (exit $ac_status); }; }; then
8970 ac_cv_lib_crypto_SHA1_version=yes 9465 ac_cv_lib_crypto_SHA1_version=yes
8971else 9466else
8972 echo "$as_me: failed program was:" >&5 9467 echo "$as_me: failed program was:" >&5
8973sed 's/^/| /' conftest.$ac_ext >&5 9468sed 's/^/| /' conftest.$ac_ext >&5
8974 9469
8975ac_cv_lib_crypto_SHA1_version=no 9470ac_cv_lib_crypto_SHA1_version=no
8976fi 9471fi
8977rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9472rm -f conftest.err conftest.$ac_objext \
9473 conftest$ac_exeext conftest.$ac_ext
8978LIBS=$ac_check_lib_save_LIBS 9474LIBS=$ac_check_lib_save_LIBS
8979fi 9475fi
8980echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_SHA1_version" >&5 9476echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_SHA1_version" >&5
8981echo "${ECHO_T}$ac_cv_lib_crypto_SHA1_version" >&6 9477echo "${ECHO_T}$ac_cv_lib_crypto_SHA1_version" >&6
8982if test $ac_cv_lib_crypto_SHA1_version = yes; then 9478if test $ac_cv_lib_crypto_SHA1_version = yes; then
9000echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9496echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9001if eval "test \"\${$as_ac_var+set}\" = set"; then 9497if eval "test \"\${$as_ac_var+set}\" = set"; then
9002 echo $ECHO_N "(cached) $ECHO_C" >&6 9498 echo $ECHO_N "(cached) $ECHO_C" >&6
9003else 9499else
9004 cat >conftest.$ac_ext <<_ACEOF 9500 cat >conftest.$ac_ext <<_ACEOF
9005#line $LINENO "configure"
9006/* confdefs.h. */ 9501/* confdefs.h. */
9007_ACEOF 9502_ACEOF
9008cat confdefs.h >>conftest.$ac_ext 9503cat confdefs.h >>conftest.$ac_ext
9009cat >>conftest.$ac_ext <<_ACEOF 9504cat >>conftest.$ac_ext <<_ACEOF
9010/* end confdefs.h. */ 9505/* end confdefs.h. */
9506/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9508#define $ac_func innocuous_$ac_func
9509
9011/* System header to define __stub macros and hopefully few prototypes, 9510/* System header to define __stub macros and hopefully few prototypes,
9012 which can conflict with char $ac_func (); below. 9511 which can conflict with char $ac_func (); below.
9013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 9512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9014 <limits.h> exists even on freestanding compilers. */ 9513 <limits.h> exists even on freestanding compilers. */
9514
9015#ifdef __STDC__ 9515#ifdef __STDC__
9016# include <limits.h> 9516# include <limits.h>
9017#else 9517#else
9018# include <assert.h> 9518# include <assert.h>
9019#endif 9519#endif
9520
9521#undef $ac_func
9522
9020/* Override any gcc2 internal prototype to avoid an error. */ 9523/* Override any gcc2 internal prototype to avoid an error. */
9021#ifdef __cplusplus 9524#ifdef __cplusplus
9022extern "C" 9525extern "C"
9023{ 9526{
9024#endif 9527#endif
9045 return 0; 9548 return 0;
9046} 9549}
9047_ACEOF 9550_ACEOF
9048rm -f conftest.$ac_objext conftest$ac_exeext 9551rm -f conftest.$ac_objext conftest$ac_exeext
9049if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9552if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9050 (eval $ac_link) 2>&5 9553 (eval $ac_link) 2>conftest.er1
9051 ac_status=$? 9554 ac_status=$?
9555 grep -v '^ *+' conftest.er1 >conftest.err
9556 rm -f conftest.er1
9557 cat conftest.err >&5
9052 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9053 (exit $ac_status); } && 9559 (exit $ac_status); } &&
9054 { ac_try='test -s conftest$ac_exeext' 9560 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9056 (eval $ac_try) 2>&5 9562 (eval $ac_try) 2>&5
9057 ac_status=$? 9563 ac_status=$?
9058 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9565 (exit $ac_status); }; } &&
9566 { ac_try='test -s conftest$ac_exeext'
9567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9568 (eval $ac_try) 2>&5
9569 ac_status=$?
9570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9059 (exit $ac_status); }; }; then 9571 (exit $ac_status); }; }; then
9060 eval "$as_ac_var=yes" 9572 eval "$as_ac_var=yes"
9061else 9573else
9062 echo "$as_me: failed program was:" >&5 9574 echo "$as_me: failed program was:" >&5
9063sed 's/^/| /' conftest.$ac_ext >&5 9575sed 's/^/| /' conftest.$ac_ext >&5
9064 9576
9065eval "$as_ac_var=no" 9577eval "$as_ac_var=no"
9066fi 9578fi
9067rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9579rm -f conftest.err conftest.$ac_objext \
9580 conftest$ac_exeext conftest.$ac_ext
9068fi 9581fi
9069echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 9582echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9070echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9583echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9071if test `eval echo '${'$as_ac_var'}'` = yes; then 9584if test `eval echo '${'$as_ac_var'}'` = yes; then
9072 cat >>confdefs.h <<_ACEOF 9585 cat >>confdefs.h <<_ACEOF
9081echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 9594echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9082if test "${ac_cv_func_dlopen+set}" = set; then 9595if test "${ac_cv_func_dlopen+set}" = set; then
9083 echo $ECHO_N "(cached) $ECHO_C" >&6 9596 echo $ECHO_N "(cached) $ECHO_C" >&6
9084else 9597else
9085 cat >conftest.$ac_ext <<_ACEOF 9598 cat >conftest.$ac_ext <<_ACEOF
9086#line $LINENO "configure"
9087/* confdefs.h. */ 9599/* confdefs.h. */
9088_ACEOF 9600_ACEOF
9089cat confdefs.h >>conftest.$ac_ext 9601cat confdefs.h >>conftest.$ac_ext
9090cat >>conftest.$ac_ext <<_ACEOF 9602cat >>conftest.$ac_ext <<_ACEOF
9091/* end confdefs.h. */ 9603/* end confdefs.h. */
9604/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9606#define dlopen innocuous_dlopen
9607
9092/* System header to define __stub macros and hopefully few prototypes, 9608/* System header to define __stub macros and hopefully few prototypes,
9093 which can conflict with char dlopen (); below. 9609 which can conflict with char dlopen (); below.
9094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 9610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9095 <limits.h> exists even on freestanding compilers. */ 9611 <limits.h> exists even on freestanding compilers. */
9612
9096#ifdef __STDC__ 9613#ifdef __STDC__
9097# include <limits.h> 9614# include <limits.h>
9098#else 9615#else
9099# include <assert.h> 9616# include <assert.h>
9100#endif 9617#endif
9618
9619#undef dlopen
9620
9101/* Override any gcc2 internal prototype to avoid an error. */ 9621/* Override any gcc2 internal prototype to avoid an error. */
9102#ifdef __cplusplus 9622#ifdef __cplusplus
9103extern "C" 9623extern "C"
9104{ 9624{
9105#endif 9625#endif
9126 return 0; 9646 return 0;
9127} 9647}
9128_ACEOF 9648_ACEOF
9129rm -f conftest.$ac_objext conftest$ac_exeext 9649rm -f conftest.$ac_objext conftest$ac_exeext
9130if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9650if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9131 (eval $ac_link) 2>&5 9651 (eval $ac_link) 2>conftest.er1
9132 ac_status=$? 9652 ac_status=$?
9653 grep -v '^ *+' conftest.er1 >conftest.err
9654 rm -f conftest.er1
9655 cat conftest.err >&5
9133 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9134 (exit $ac_status); } && 9657 (exit $ac_status); } &&
9135 { ac_try='test -s conftest$ac_exeext' 9658 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9137 (eval $ac_try) 2>&5 9660 (eval $ac_try) 2>&5
9138 ac_status=$? 9661 ac_status=$?
9139 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9663 (exit $ac_status); }; } &&
9664 { ac_try='test -s conftest$ac_exeext'
9665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9666 (eval $ac_try) 2>&5
9667 ac_status=$?
9668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140 (exit $ac_status); }; }; then 9669 (exit $ac_status); }; }; then
9141 ac_cv_func_dlopen=yes 9670 ac_cv_func_dlopen=yes
9142else 9671else
9143 echo "$as_me: failed program was:" >&5 9672 echo "$as_me: failed program was:" >&5
9144sed 's/^/| /' conftest.$ac_ext >&5 9673sed 's/^/| /' conftest.$ac_ext >&5
9145 9674
9146ac_cv_func_dlopen=no 9675ac_cv_func_dlopen=no
9147fi 9676fi
9148rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9677rm -f conftest.err conftest.$ac_objext \
9678 conftest$ac_exeext conftest.$ac_ext
9149fi 9679fi
9150echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 9680echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9151echo "${ECHO_T}$ac_cv_func_dlopen" >&6 9681echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9152if test $ac_cv_func_dlopen = yes; then 9682if test $ac_cv_func_dlopen = yes; then
9153 : 9683 :
9158 echo $ECHO_N "(cached) $ECHO_C" >&6 9688 echo $ECHO_N "(cached) $ECHO_C" >&6
9159else 9689else
9160 ac_check_lib_save_LIBS=$LIBS 9690 ac_check_lib_save_LIBS=$LIBS
9161LIBS="-ldl $LIBS" 9691LIBS="-ldl $LIBS"
9162cat >conftest.$ac_ext <<_ACEOF 9692cat >conftest.$ac_ext <<_ACEOF
9163#line $LINENO "configure"
9164/* confdefs.h. */ 9693/* confdefs.h. */
9165_ACEOF 9694_ACEOF
9166cat confdefs.h >>conftest.$ac_ext 9695cat confdefs.h >>conftest.$ac_ext
9167cat >>conftest.$ac_ext <<_ACEOF 9696cat >>conftest.$ac_ext <<_ACEOF
9168/* end confdefs.h. */ 9697/* end confdefs.h. */
9182 return 0; 9711 return 0;
9183} 9712}
9184_ACEOF 9713_ACEOF
9185rm -f conftest.$ac_objext conftest$ac_exeext 9714rm -f conftest.$ac_objext conftest$ac_exeext
9186if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9715if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9187 (eval $ac_link) 2>&5 9716 (eval $ac_link) 2>conftest.er1
9188 ac_status=$? 9717 ac_status=$?
9718 grep -v '^ *+' conftest.er1 >conftest.err
9719 rm -f conftest.er1
9720 cat conftest.err >&5
9189 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9190 (exit $ac_status); } && 9722 (exit $ac_status); } &&
9191 { ac_try='test -s conftest$ac_exeext' 9723 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9193 (eval $ac_try) 2>&5 9725 (eval $ac_try) 2>&5
9194 ac_status=$? 9726 ac_status=$?
9195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9728 (exit $ac_status); }; } &&
9729 { ac_try='test -s conftest$ac_exeext'
9730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9731 (eval $ac_try) 2>&5
9732 ac_status=$?
9733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9196 (exit $ac_status); }; }; then 9734 (exit $ac_status); }; }; then
9197 ac_cv_lib_dl_dlopen=yes 9735 ac_cv_lib_dl_dlopen=yes
9198else 9736else
9199 echo "$as_me: failed program was:" >&5 9737 echo "$as_me: failed program was:" >&5
9200sed 's/^/| /' conftest.$ac_ext >&5 9738sed 's/^/| /' conftest.$ac_ext >&5
9201 9739
9202ac_cv_lib_dl_dlopen=no 9740ac_cv_lib_dl_dlopen=no
9203fi 9741fi
9204rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9742rm -f conftest.err conftest.$ac_objext \
9743 conftest$ac_exeext conftest.$ac_ext
9205LIBS=$ac_check_lib_save_LIBS 9744LIBS=$ac_check_lib_save_LIBS
9206fi 9745fi
9207echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 9746echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9208echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 9747echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9209if test $ac_cv_lib_dl_dlopen = yes; then 9748if test $ac_cv_lib_dl_dlopen = yes; then
9217 9756
9218 9757
9219fi 9758fi
9220 9759
9221 9760
9761if test "x$openssl_include" != x; then
9222CXXFLAGS="$CXXFLAGS -I$openssl_include" 9762 CXXFLAGS="$CXXFLAGS -I$openssl_include"
9763fi
9223 9764
9224# Check whether --enable-rohc or --disable-rohc was given. 9765# Check whether --enable-rohc or --disable-rohc was given.
9225if test "${enable_rohc+set}" = set; then 9766if test "${enable_rohc+set}" = set; then
9226 enableval="$enable_rohc" 9767 enableval="$enable_rohc"
9227 9768
9274_ACEOF 9815_ACEOF
9275 9816
9276 9817
9277fi; 9818fi;
9278 9819
9279HMAC=12 # Check whether --enable-hmac-length or --disable-hmac-length was given. 9820HMAC=8 # Check whether --enable-hmac-length or --disable-hmac-length was given.
9280if test "${enable_hmac_length+set}" = set; then 9821if test "${enable_hmac_length+set}" = set; then
9281 enableval="$enable_hmac_length" 9822 enableval="$enable_hmac_length"
9282 HMAC=$enableval 9823 HMAC=$enableval
9283 9824
9284fi; 9825fi;
9365 9906
9366if $CXX -v --help 2>&1 | grep -q fexceptions; then 9907if $CXX -v --help 2>&1 | grep -q fexceptions; then
9367 CXXFLAGS="$CXXFLAGS -fno-exceptions" 9908 CXXFLAGS="$CXXFLAGS -fno-exceptions"
9368fi 9909fi
9369 9910
9370if $CXX -v --help 2>&1 | grep -q ffunction-sections; then
9371 CXXFLAGS="$CXXFLAGS -ffunction-sections"
9372fi
9373
9374if $LD -v --help 2>&1 | grep -q gc-sections; then
9375 LDFLAGS="$LDFLAGS -Wl,--gc-sections"
9376fi
9377 9911
9378 9912
9379 9913
9380 9914
9381 9915
9406 case `(ac_space=' '; set | grep ac_space) 2>&1` in 9940 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9407 *ac_space=\ *) 9941 *ac_space=\ *)
9408 # `set' does not quote correctly, so add quotes (double-quote 9942 # `set' does not quote correctly, so add quotes (double-quote
9409 # substitution turns \\\\ into \\, and sed turns \\ into \). 9943 # substitution turns \\\\ into \\, and sed turns \\ into \).
9410 sed -n \ 9944 sed -n \
9411 "s/'/'\\\\''/g; 9945 "s/'/'\\\\''/g;
9412 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 9946 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9413 ;; 9947 ;;
9414 *) 9948 *)
9415 # `set' quotes correctly as required by POSIX, so do not add quotes. 9949 # `set' quotes correctly as required by POSIX, so do not add quotes.
9416 sed -n \ 9950 sed -n \
9417 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 9951 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9418 ;; 9952 ;;
9419 esac; 9953 esac;
9420} | 9954} |
9421 sed ' 9955 sed '
9422 t clear 9956 t clear
9442# VPATH may cause trouble with some makes, so we remove $(srcdir), 9976# VPATH may cause trouble with some makes, so we remove $(srcdir),
9443# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 9977# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9444# trailing colons and then remove the whole line if VPATH becomes empty 9978# trailing colons and then remove the whole line if VPATH becomes empty
9445# (actually we leave an empty line to preserve line numbers). 9979# (actually we leave an empty line to preserve line numbers).
9446if test "x$srcdir" = x.; then 9980if test "x$srcdir" = x.; then
9447 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 9981 ac_vpsub='/^[ ]*VPATH[ ]*=/{
9448s/:*\$(srcdir):*/:/; 9982s/:*\$(srcdir):*/:/;
9449s/:*\${srcdir}:*/:/; 9983s/:*\${srcdir}:*/:/;
9450s/:*@srcdir@:*/:/; 9984s/:*@srcdir@:*/:/;
9451s/^\([^=]*=[ ]*\):*/\1/; 9985s/^\([^=]*=[ ]*\):*/\1/;
9452s/:*$//; 9986s/:*$//;
9453s/^[^=]*=[ ]*$//; 9987s/^[^=]*=[ ]*$//;
9454}' 9988}'
9455fi 9989fi
9456 9990
9457DEFS=-DHAVE_CONFIG_H 9991DEFS=-DHAVE_CONFIG_H
9458 9992
9459ac_libobjs= 9993ac_libobjs=
9460ac_ltlibobjs= 9994ac_ltlibobjs=
9461for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 9995for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9462 # 1. Remove the extension, and $U if already installed. 9996 # 1. Remove the extension, and $U if already installed.
9463 ac_i=`echo "$ac_i" | 9997 ac_i=`echo "$ac_i" |
9464 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 9998 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
9465 # 2. Add them. 9999 # 2. Add them.
9466 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 10000 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
9467 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 10001 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
9468done 10002done
9469LIBOBJS=$ac_libobjs 10003LIBOBJS=$ac_libobjs
9538 # is contrary to our usage. Disable this feature. 10072 # is contrary to our usage. Disable this feature.
9539 alias -g '${1+"$@"}'='"$@"' 10073 alias -g '${1+"$@"}'='"$@"'
9540elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 10074elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9541 set -o posix 10075 set -o posix
9542fi 10076fi
10077DUALCASE=1; export DUALCASE # for MKS sh
9543 10078
9544# Support unset when possible. 10079# Support unset when possible.
9545if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 10080if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9546 as_unset=unset 10081 as_unset=unset
9547else 10082else
9548 as_unset=false 10083 as_unset=false
9549fi 10084fi
9550 10085
9559for as_var in \ 10094for as_var in \
9560 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 10095 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9561 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 10096 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9562 LC_TELEPHONE LC_TIME 10097 LC_TELEPHONE LC_TIME
9563do 10098do
9564 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then 10099 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9565 eval $as_var=C; export $as_var 10100 eval $as_var=C; export $as_var
9566 else 10101 else
9567 $as_unset $as_var 10102 $as_unset $as_var
9568 fi 10103 fi
9569done 10104done
9738rm -f conf$$ conf$$.exe conf$$.file 10273rm -f conf$$ conf$$.exe conf$$.file
9739 10274
9740if mkdir -p . 2>/dev/null; then 10275if mkdir -p . 2>/dev/null; then
9741 as_mkdir_p=: 10276 as_mkdir_p=:
9742else 10277else
10278 test -d ./-p && rmdir ./-p
9743 as_mkdir_p=false 10279 as_mkdir_p=false
9744fi 10280fi
9745 10281
9746as_executable_p="test -f" 10282as_executable_p="test -f"
9747 10283
9748# Sed expression to map a string onto a valid CPP name. 10284# Sed expression to map a string onto a valid CPP name.
9749as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 10285as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9750 10286
9751# Sed expression to map a string onto a valid variable name. 10287# Sed expression to map a string onto a valid variable name.
9752as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 10288as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9753 10289
9754 10290
9755# IFS 10291# IFS
9756# We need space, tab and new line, in precisely that order. 10292# We need space, tab and new line, in precisely that order.
9757as_nl=' 10293as_nl='
9774_ASBOX 10310_ASBOX
9775} >&5 10311} >&5
9776cat >&5 <<_CSEOF 10312cat >&5 <<_CSEOF
9777 10313
9778This file was extended by $as_me, which was 10314This file was extended by $as_me, which was
9779generated by GNU Autoconf 2.57. Invocation command line was 10315generated by GNU Autoconf 2.58. Invocation command line was
9780 10316
9781 CONFIG_FILES = $CONFIG_FILES 10317 CONFIG_FILES = $CONFIG_FILES
9782 CONFIG_HEADERS = $CONFIG_HEADERS 10318 CONFIG_HEADERS = $CONFIG_HEADERS
9783 CONFIG_LINKS = $CONFIG_LINKS 10319 CONFIG_LINKS = $CONFIG_LINKS
9784 CONFIG_COMMANDS = $CONFIG_COMMANDS 10320 CONFIG_COMMANDS = $CONFIG_COMMANDS
9818 -V, --version print version number, then exit 10354 -V, --version print version number, then exit
9819 -q, --quiet do not print progress messages 10355 -q, --quiet do not print progress messages
9820 -d, --debug don't remove temporary files 10356 -d, --debug don't remove temporary files
9821 --recheck update $as_me by reconfiguring in the same conditions 10357 --recheck update $as_me by reconfiguring in the same conditions
9822 --file=FILE[:TEMPLATE] 10358 --file=FILE[:TEMPLATE]
9823 instantiate the configuration file FILE 10359 instantiate the configuration file FILE
9824 --header=FILE[:TEMPLATE] 10360 --header=FILE[:TEMPLATE]
9825 instantiate the configuration header FILE 10361 instantiate the configuration header FILE
9826 10362
9827Configuration files: 10363Configuration files:
9828$config_files 10364$config_files
9829 10365
9830Configuration headers: 10366Configuration headers:
9837_ACEOF 10373_ACEOF
9838 10374
9839cat >>$CONFIG_STATUS <<_ACEOF 10375cat >>$CONFIG_STATUS <<_ACEOF
9840ac_cs_version="\\ 10376ac_cs_version="\\
9841config.status 10377config.status
9842configured by $0, generated by GNU Autoconf 2.57, 10378configured by $0, generated by GNU Autoconf 2.58,
9843 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 10379 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9844 10380
9845Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
9846Free Software Foundation, Inc. 10381Copyright (C) 2003 Free Software Foundation, Inc.
9847This config.status script is free software; the Free Software Foundation 10382This config.status script is free software; the Free Software Foundation
9848gives unlimited permission to copy, distribute and modify it." 10383gives unlimited permission to copy, distribute and modify it."
9849srcdir=$srcdir 10384srcdir=$srcdir
9850INSTALL="$INSTALL" 10385INSTALL="$INSTALL"
9851_ACEOF 10386_ACEOF
10159 # is no need to browse any of the substitutions). 10694 # is no need to browse any of the substitutions).
10160 # These are the two extra sed commands mentioned above. 10695 # These are the two extra sed commands mentioned above.
10161 (echo ':t 10696 (echo ':t
10162 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 10697 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
10163 if test -z "$ac_sed_cmds"; then 10698 if test -z "$ac_sed_cmds"; then
10164 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 10699 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
10165 else 10700 else
10166 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 10701 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
10167 fi 10702 fi
10168 ac_sed_frag=`expr $ac_sed_frag + 1` 10703 ac_sed_frag=`expr $ac_sed_frag + 1`
10169 ac_beg=$ac_end 10704 ac_beg=$ac_end
10170 ac_end=`expr $ac_end + $ac_max_sed_lines` 10705 ac_end=`expr $ac_end + $ac_max_sed_lines`
10171 fi 10706 fi
10179cat >>$CONFIG_STATUS <<\_ACEOF 10714cat >>$CONFIG_STATUS <<\_ACEOF
10180for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 10715for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
10181 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 10716 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10182 case $ac_file in 10717 case $ac_file in
10183 - | *:- | *:-:* ) # input from stdin 10718 - | *:- | *:-:* ) # input from stdin
10184 cat >$tmp/stdin 10719 cat >$tmp/stdin
10185 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 10720 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10186 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 10721 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10187 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 10722 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10188 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 10723 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10189 * ) ac_file_in=$ac_file.in ;; 10724 * ) ac_file_in=$ac_file.in ;;
10190 esac 10725 esac
10191 10726
10192 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 10727 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
10193 ac_dir=`(dirname "$ac_file") 2>/dev/null || 10728 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
10194$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10729$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10195 X"$ac_file" : 'X\(//\)[^/]' \| \ 10730 X"$ac_file" : 'X\(//\)[^/]' \| \
10196 X"$ac_file" : 'X\(//\)$' \| \ 10731 X"$ac_file" : 'X\(//\)$' \| \
10197 X"$ac_file" : 'X\(/\)' \| \ 10732 X"$ac_file" : 'X\(/\)' \| \
10198 . : '\(.\)' 2>/dev/null || 10733 . : '\(.\)' 2>/dev/null ||
10199echo X"$ac_file" | 10734echo X"$ac_file" |
10200 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 10735 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10201 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 10736 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10202 /^X\(\/\/\)$/{ s//\1/; q; } 10737 /^X\(\/\/\)$/{ s//\1/; q; }
10203 /^X\(\/\).*/{ s//\1/; q; } 10738 /^X\(\/\).*/{ s//\1/; q; }
10209 as_dirs= 10744 as_dirs=
10210 while test ! -d "$as_dir"; do 10745 while test ! -d "$as_dir"; do
10211 as_dirs="$as_dir $as_dirs" 10746 as_dirs="$as_dir $as_dirs"
10212 as_dir=`(dirname "$as_dir") 2>/dev/null || 10747 as_dir=`(dirname "$as_dir") 2>/dev/null ||
10213$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10748$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10214 X"$as_dir" : 'X\(//\)[^/]' \| \ 10749 X"$as_dir" : 'X\(//\)[^/]' \| \
10215 X"$as_dir" : 'X\(//\)$' \| \ 10750 X"$as_dir" : 'X\(//\)$' \| \
10216 X"$as_dir" : 'X\(/\)' \| \ 10751 X"$as_dir" : 'X\(/\)' \| \
10217 . : '\(.\)' 2>/dev/null || 10752 . : '\(.\)' 2>/dev/null ||
10218echo X"$as_dir" | 10753echo X"$as_dir" |
10219 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 10754 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10220 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 10755 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10221 /^X\(\/\/\)$/{ s//\1/; q; } 10756 /^X\(\/\/\)$/{ s//\1/; q; }
10222 /^X\(\/\).*/{ s//\1/; q; } 10757 /^X\(\/\).*/{ s//\1/; q; }
10250 ac_top_srcdir=$srcdir ;; 10785 ac_top_srcdir=$srcdir ;;
10251 *) # Relative path. 10786 *) # Relative path.
10252 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 10787 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10253 ac_top_srcdir=$ac_top_builddir$srcdir ;; 10788 ac_top_srcdir=$ac_top_builddir$srcdir ;;
10254esac 10789esac
10255# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 10790
10256# absolute. 10791# Do not use `cd foo && pwd` to compute absolute paths, because
10257ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 10792# the directories may not exist.
10258ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 10793case `pwd` in
10259ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 10794.) ac_abs_builddir="$ac_dir";;
10260ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 10795*)
10796 case "$ac_dir" in
10797 .) ac_abs_builddir=`pwd`;;
10798 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
10799 *) ac_abs_builddir=`pwd`/"$ac_dir";;
10800 esac;;
10801esac
10802case $ac_abs_builddir in
10803.) ac_abs_top_builddir=${ac_top_builddir}.;;
10804*)
10805 case ${ac_top_builddir}. in
10806 .) ac_abs_top_builddir=$ac_abs_builddir;;
10807 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
10808 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
10809 esac;;
10810esac
10811case $ac_abs_builddir in
10812.) ac_abs_srcdir=$ac_srcdir;;
10813*)
10814 case $ac_srcdir in
10815 .) ac_abs_srcdir=$ac_abs_builddir;;
10816 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
10817 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
10818 esac;;
10819esac
10820case $ac_abs_builddir in
10821.) ac_abs_top_srcdir=$ac_top_srcdir;;
10822*)
10823 case $ac_top_srcdir in
10824 .) ac_abs_top_srcdir=$ac_abs_builddir;;
10825 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
10826 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
10827 esac;;
10828esac
10261 10829
10262 10830
10263 case $INSTALL in 10831 case $INSTALL in
10264 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 10832 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10265 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 10833 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
10266 esac 10834 esac
10267 10835
10268 if test x"$ac_file" != x-; then
10269 { echo "$as_me:$LINENO: creating $ac_file" >&5
10270echo "$as_me: creating $ac_file" >&6;}
10271 rm -f "$ac_file"
10272 fi
10273 # Let's still pretend it is `configure' which instantiates (i.e., don't 10836 # Let's still pretend it is `configure' which instantiates (i.e., don't
10274 # use $as_me), people would be surprised to read: 10837 # use $as_me), people would be surprised to read:
10275 # /* config.h. Generated by config.status. */ 10838 # /* config.h. Generated by config.status. */
10276 if test x"$ac_file" = x-; then 10839 if test x"$ac_file" = x-; then
10277 configure_input= 10840 configure_input=
10278 else 10841 else
10279 configure_input="$ac_file. " 10842 configure_input="$ac_file. "
10280 fi 10843 fi
10281 configure_input=$configure_input"Generated from `echo $ac_file_in | 10844 configure_input=$configure_input"Generated from `echo $ac_file_in |
10282 sed 's,.*/,,'` by configure." 10845 sed 's,.*/,,'` by configure."
10283 10846
10284 # First look for the input files in the build tree, otherwise in the 10847 # First look for the input files in the build tree, otherwise in the
10285 # src tree. 10848 # src tree.
10286 ac_file_inputs=`IFS=: 10849 ac_file_inputs=`IFS=:
10287 for f in $ac_file_in; do 10850 for f in $ac_file_in; do
10288 case $f in 10851 case $f in
10289 -) echo $tmp/stdin ;; 10852 -) echo $tmp/stdin ;;
10290 [\\/$]*) 10853 [\\/$]*)
10291 # Absolute (can't be DOS-style, as IFS=:) 10854 # Absolute (can't be DOS-style, as IFS=:)
10292 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 10855 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10293echo "$as_me: error: cannot find input file: $f" >&2;} 10856echo "$as_me: error: cannot find input file: $f" >&2;}
10294 { (exit 1); exit 1; }; } 10857 { (exit 1); exit 1; }; }
10295 echo $f;; 10858 echo "$f";;
10296 *) # Relative 10859 *) # Relative
10297 if test -f "$f"; then 10860 if test -f "$f"; then
10298 # Build tree 10861 # Build tree
10299 echo $f 10862 echo "$f"
10300 elif test -f "$srcdir/$f"; then 10863 elif test -f "$srcdir/$f"; then
10301 # Source tree 10864 # Source tree
10302 echo $srcdir/$f 10865 echo "$srcdir/$f"
10303 else 10866 else
10304 # /dev/null tree 10867 # /dev/null tree
10305 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 10868 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10306echo "$as_me: error: cannot find input file: $f" >&2;} 10869echo "$as_me: error: cannot find input file: $f" >&2;}
10307 { (exit 1); exit 1; }; } 10870 { (exit 1); exit 1; }; }
10308 fi;; 10871 fi;;
10309 esac 10872 esac
10310 done` || { (exit 1); exit 1; } 10873 done` || { (exit 1); exit 1; }
10874
10875 if test x"$ac_file" != x-; then
10876 { echo "$as_me:$LINENO: creating $ac_file" >&5
10877echo "$as_me: creating $ac_file" >&6;}
10878 rm -f "$ac_file"
10879 fi
10311_ACEOF 10880_ACEOF
10312cat >>$CONFIG_STATUS <<_ACEOF 10881cat >>$CONFIG_STATUS <<_ACEOF
10313 sed "$ac_vpsub 10882 sed "$ac_vpsub
10314$extrasub 10883$extrasub
10315_ACEOF 10884_ACEOF
10345 10914
10346# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 10915# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
10347# NAME is the cpp macro being defined and VALUE is the value it is being given. 10916# NAME is the cpp macro being defined and VALUE is the value it is being given.
10348# 10917#
10349# ac_d sets the value in "#define NAME VALUE" lines. 10918# ac_d sets the value in "#define NAME VALUE" lines.
10350ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 10919ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
10351ac_dB='[ ].*$,\1#\2' 10920ac_dB='[ ].*$,\1#\2'
10352ac_dC=' ' 10921ac_dC=' '
10353ac_dD=',;t' 10922ac_dD=',;t'
10354# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 10923# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
10355ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 10924ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
10356ac_uB='$,\1#\2define\3' 10925ac_uB='$,\1#\2define\3'
10357ac_uC=' ' 10926ac_uC=' '
10358ac_uD=',;t' 10927ac_uD=',;t'
10359 10928
10360for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 10929for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
10361 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 10930 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10362 case $ac_file in 10931 case $ac_file in
10363 - | *:- | *:-:* ) # input from stdin 10932 - | *:- | *:-:* ) # input from stdin
10364 cat >$tmp/stdin 10933 cat >$tmp/stdin
10365 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 10934 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10366 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 10935 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10367 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 10936 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10368 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 10937 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10369 * ) ac_file_in=$ac_file.in ;; 10938 * ) ac_file_in=$ac_file.in ;;
10370 esac 10939 esac
10371 10940
10372 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 10941 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
10373echo "$as_me: creating $ac_file" >&6;} 10942echo "$as_me: creating $ac_file" >&6;}
10377 ac_file_inputs=`IFS=: 10946 ac_file_inputs=`IFS=:
10378 for f in $ac_file_in; do 10947 for f in $ac_file_in; do
10379 case $f in 10948 case $f in
10380 -) echo $tmp/stdin ;; 10949 -) echo $tmp/stdin ;;
10381 [\\/$]*) 10950 [\\/$]*)
10382 # Absolute (can't be DOS-style, as IFS=:) 10951 # Absolute (can't be DOS-style, as IFS=:)
10383 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 10952 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10384echo "$as_me: error: cannot find input file: $f" >&2;} 10953echo "$as_me: error: cannot find input file: $f" >&2;}
10385 { (exit 1); exit 1; }; } 10954 { (exit 1); exit 1; }; }
10386 echo $f;; 10955 # Do quote $f, to prevent DOS paths from being IFS'd.
10956 echo "$f";;
10387 *) # Relative 10957 *) # Relative
10388 if test -f "$f"; then 10958 if test -f "$f"; then
10389 # Build tree 10959 # Build tree
10390 echo $f 10960 echo "$f"
10391 elif test -f "$srcdir/$f"; then 10961 elif test -f "$srcdir/$f"; then
10392 # Source tree 10962 # Source tree
10393 echo $srcdir/$f 10963 echo "$srcdir/$f"
10394 else 10964 else
10395 # /dev/null tree 10965 # /dev/null tree
10396 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 10966 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10397echo "$as_me: error: cannot find input file: $f" >&2;} 10967echo "$as_me: error: cannot find input file: $f" >&2;}
10398 { (exit 1); exit 1; }; } 10968 { (exit 1); exit 1; }; }
10399 fi;; 10969 fi;;
10400 esac 10970 esac
10401 done` || { (exit 1); exit 1; } 10971 done` || { (exit 1); exit 1; }
10402 # Remove the trailing spaces. 10972 # Remove the trailing spaces.
10403 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 10973 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
10404 10974
10405_ACEOF 10975_ACEOF
10406 10976
10407# Transform confdefs.h into two sed scripts, `conftest.defines' and 10977# Transform confdefs.h into two sed scripts, `conftest.defines' and
10408# `conftest.undefs', that substitutes the proper values into 10978# `conftest.undefs', that substitutes the proper values into
10421cat >confdef2sed.sed <<\_ACEOF 10991cat >confdef2sed.sed <<\_ACEOF
10422s/[\\&,]/\\&/g 10992s/[\\&,]/\\&/g
10423s,[\\$`],\\&,g 10993s,[\\$`],\\&,g
10424t clear 10994t clear
10425: clear 10995: clear
10426s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 10996s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
10427t end 10997t end
10428s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 10998s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
10429: end 10999: end
10430_ACEOF 11000_ACEOF
10431# If some macros were called several times there might be several times 11001# If some macros were called several times there might be several times
10432# the same #defines, which is useless. Nevertheless, we may not want to 11002# the same #defines, which is useless. Nevertheless, we may not want to
10433# sort them, since we want the *last* AC-DEFINE to be honored. 11003# sort them, since we want the *last* AC-DEFINE to be honored.
10437 11007
10438# This sed command replaces #undef with comments. This is necessary, for 11008# This sed command replaces #undef with comments. This is necessary, for
10439# example, in the case of _POSIX_SOURCE, which is predefined and required 11009# example, in the case of _POSIX_SOURCE, which is predefined and required
10440# on some systems where configure will not decide to define it. 11010# on some systems where configure will not decide to define it.
10441cat >>conftest.undefs <<\_ACEOF 11011cat >>conftest.undefs <<\_ACEOF
10442s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 11012s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
10443_ACEOF 11013_ACEOF
10444 11014
10445# Break up conftest.defines because some shells have a limit on the size 11015# Break up conftest.defines because some shells have a limit on the size
10446# of here documents, and old seds have small limits too (100 cmds). 11016# of here documents, and old seds have small limits too (100 cmds).
10447echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 11017echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
10448echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 11018echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
10449echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 11019echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
10450echo ' :' >>$CONFIG_STATUS 11020echo ' :' >>$CONFIG_STATUS
10451rm -f conftest.tail 11021rm -f conftest.tail
10452while grep . conftest.defines >/dev/null 11022while grep . conftest.defines >/dev/null
10453do 11023do
10454 # Write a limited-size here document to $tmp/defines.sed. 11024 # Write a limited-size here document to $tmp/defines.sed.
10455 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 11025 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
10456 # Speed up: don't consider the non `#define' lines. 11026 # Speed up: don't consider the non `#define' lines.
10457 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 11027 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
10458 # Work around the forget-to-reset-the-flag bug. 11028 # Work around the forget-to-reset-the-flag bug.
10459 echo 't clr' >>$CONFIG_STATUS 11029 echo 't clr' >>$CONFIG_STATUS
10460 echo ': clr' >>$CONFIG_STATUS 11030 echo ': clr' >>$CONFIG_STATUS
10461 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 11031 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
10462 echo 'CEOF 11032 echo 'CEOF
10479while grep . conftest.undefs >/dev/null 11049while grep . conftest.undefs >/dev/null
10480do 11050do
10481 # Write a limited-size here document to $tmp/undefs.sed. 11051 # Write a limited-size here document to $tmp/undefs.sed.
10482 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 11052 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
10483 # Speed up: don't consider the non `#undef' 11053 # Speed up: don't consider the non `#undef'
10484 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 11054 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
10485 # Work around the forget-to-reset-the-flag bug. 11055 # Work around the forget-to-reset-the-flag bug.
10486 echo 't clr' >>$CONFIG_STATUS 11056 echo 't clr' >>$CONFIG_STATUS
10487 echo ': clr' >>$CONFIG_STATUS 11057 echo ': clr' >>$CONFIG_STATUS
10488 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 11058 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
10489 echo 'CEOF 11059 echo 'CEOF
10513 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 11083 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10514echo "$as_me: $ac_file is unchanged" >&6;} 11084echo "$as_me: $ac_file is unchanged" >&6;}
10515 else 11085 else
10516 ac_dir=`(dirname "$ac_file") 2>/dev/null || 11086 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
10517$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11087$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10518 X"$ac_file" : 'X\(//\)[^/]' \| \ 11088 X"$ac_file" : 'X\(//\)[^/]' \| \
10519 X"$ac_file" : 'X\(//\)$' \| \ 11089 X"$ac_file" : 'X\(//\)$' \| \
10520 X"$ac_file" : 'X\(/\)' \| \ 11090 X"$ac_file" : 'X\(/\)' \| \
10521 . : '\(.\)' 2>/dev/null || 11091 . : '\(.\)' 2>/dev/null ||
10522echo X"$ac_file" | 11092echo X"$ac_file" |
10523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11093 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10524 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11094 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10525 /^X\(\/\/\)$/{ s//\1/; q; } 11095 /^X\(\/\/\)$/{ s//\1/; q; }
10526 /^X\(\/\).*/{ s//\1/; q; } 11096 /^X\(\/\).*/{ s//\1/; q; }
10532 as_dirs= 11102 as_dirs=
10533 while test ! -d "$as_dir"; do 11103 while test ! -d "$as_dir"; do
10534 as_dirs="$as_dir $as_dirs" 11104 as_dirs="$as_dir $as_dirs"
10535 as_dir=`(dirname "$as_dir") 2>/dev/null || 11105 as_dir=`(dirname "$as_dir") 2>/dev/null ||
10536$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11106$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10537 X"$as_dir" : 'X\(//\)[^/]' \| \ 11107 X"$as_dir" : 'X\(//\)[^/]' \| \
10538 X"$as_dir" : 'X\(//\)$' \| \ 11108 X"$as_dir" : 'X\(//\)$' \| \
10539 X"$as_dir" : 'X\(/\)' \| \ 11109 X"$as_dir" : 'X\(/\)' \| \
10540 . : '\(.\)' 2>/dev/null || 11110 . : '\(.\)' 2>/dev/null ||
10541echo X"$as_dir" | 11111echo X"$as_dir" |
10542 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11112 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10543 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11113 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10544 /^X\(\/\/\)$/{ s//\1/; q; } 11114 /^X\(\/\/\)$/{ s//\1/; q; }
10545 /^X\(\/\).*/{ s//\1/; q; } 11115 /^X\(\/\).*/{ s//\1/; q; }
10567 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 11137 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10568 esac 11138 esac
10569done 11139done
10570echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || 11140echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
10571$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11141$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10572 X$ac_file : 'X\(//\)[^/]' \| \ 11142 X$ac_file : 'X\(//\)[^/]' \| \
10573 X$ac_file : 'X\(//\)$' \| \ 11143 X$ac_file : 'X\(//\)$' \| \
10574 X$ac_file : 'X\(/\)' \| \ 11144 X$ac_file : 'X\(/\)' \| \
10575 . : '\(.\)' 2>/dev/null || 11145 . : '\(.\)' 2>/dev/null ||
10576echo X$ac_file | 11146echo X$ac_file |
10577 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11147 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10578 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11148 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10579 /^X\(\/\/\)$/{ s//\1/; q; } 11149 /^X\(\/\/\)$/{ s//\1/; q; }
10580 /^X\(\/\).*/{ s//\1/; q; } 11150 /^X\(\/\).*/{ s//\1/; q; }
10589for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 11159for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
10590 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 11160 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
10591 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 11161 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
10592 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 11162 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
10593$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11163$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10594 X"$ac_dest" : 'X\(//\)[^/]' \| \ 11164 X"$ac_dest" : 'X\(//\)[^/]' \| \
10595 X"$ac_dest" : 'X\(//\)$' \| \ 11165 X"$ac_dest" : 'X\(//\)$' \| \
10596 X"$ac_dest" : 'X\(/\)' \| \ 11166 X"$ac_dest" : 'X\(/\)' \| \
10597 . : '\(.\)' 2>/dev/null || 11167 . : '\(.\)' 2>/dev/null ||
10598echo X"$ac_dest" | 11168echo X"$ac_dest" |
10599 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11169 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10600 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11170 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10601 /^X\(\/\/\)$/{ s//\1/; q; } 11171 /^X\(\/\/\)$/{ s//\1/; q; }
10602 /^X\(\/\).*/{ s//\1/; q; } 11172 /^X\(\/\).*/{ s//\1/; q; }
10603 s/.*/./; q'` 11173 s/.*/./; q'`
11174 { if $as_mkdir_p; then
11175 mkdir -p "$ac_dir"
11176 else
11177 as_dir="$ac_dir"
11178 as_dirs=
11179 while test ! -d "$as_dir"; do
11180 as_dirs="$as_dir $as_dirs"
11181 as_dir=`(dirname "$as_dir") 2>/dev/null ||
11182$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11183 X"$as_dir" : 'X\(//\)[^/]' \| \
11184 X"$as_dir" : 'X\(//\)$' \| \
11185 X"$as_dir" : 'X\(/\)' \| \
11186 . : '\(.\)' 2>/dev/null ||
11187echo X"$as_dir" |
11188 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11189 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11190 /^X\(\/\/\)$/{ s//\1/; q; }
11191 /^X\(\/\).*/{ s//\1/; q; }
11192 s/.*/./; q'`
11193 done
11194 test ! -n "$as_dirs" || mkdir $as_dirs
11195 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11196echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11197 { (exit 1); exit 1; }; }; }
11198
10604 ac_builddir=. 11199 ac_builddir=.
10605 11200
10606if test "$ac_dir" != .; then 11201if test "$ac_dir" != .; then
10607 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 11202 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10608 # A "../" for each directory in $ac_dir_suffix. 11203 # A "../" for each directory in $ac_dir_suffix.
10624 ac_top_srcdir=$srcdir ;; 11219 ac_top_srcdir=$srcdir ;;
10625 *) # Relative path. 11220 *) # Relative path.
10626 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 11221 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10627 ac_top_srcdir=$ac_top_builddir$srcdir ;; 11222 ac_top_srcdir=$ac_top_builddir$srcdir ;;
10628esac 11223esac
10629# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 11224
10630# absolute. 11225# Do not use `cd foo && pwd` to compute absolute paths, because
10631ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 11226# the directories may not exist.
10632ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 11227case `pwd` in
10633ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 11228.) ac_abs_builddir="$ac_dir";;
10634ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 11229*)
11230 case "$ac_dir" in
11231 .) ac_abs_builddir=`pwd`;;
11232 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11233 *) ac_abs_builddir=`pwd`/"$ac_dir";;
11234 esac;;
11235esac
11236case $ac_abs_builddir in
11237.) ac_abs_top_builddir=${ac_top_builddir}.;;
11238*)
11239 case ${ac_top_builddir}. in
11240 .) ac_abs_top_builddir=$ac_abs_builddir;;
11241 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11242 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11243 esac;;
11244esac
11245case $ac_abs_builddir in
11246.) ac_abs_srcdir=$ac_srcdir;;
11247*)
11248 case $ac_srcdir in
11249 .) ac_abs_srcdir=$ac_abs_builddir;;
11250 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11251 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11252 esac;;
11253esac
11254case $ac_abs_builddir in
11255.) ac_abs_top_srcdir=$ac_top_srcdir;;
11256*)
11257 case $ac_top_srcdir in
11258 .) ac_abs_top_srcdir=$ac_abs_builddir;;
11259 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11260 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11261 esac;;
11262esac
10635 11263
10636 11264
10637 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 11265 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
10638echo "$as_me: executing $ac_dest commands" >&6;} 11266echo "$as_me: executing $ac_dest commands" >&6;}
10639 case $ac_dest in 11267 case $ac_dest in
10743 # each Makefile.in and add a new line on top of each file to say so. 11371 # each Makefile.in and add a new line on top of each file to say so.
10744 # So let's grep whole file. 11372 # So let's grep whole file.
10745 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 11373 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
10746 dirpart=`(dirname "$mf") 2>/dev/null || 11374 dirpart=`(dirname "$mf") 2>/dev/null ||
10747$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11375$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10748 X"$mf" : 'X\(//\)[^/]' \| \ 11376 X"$mf" : 'X\(//\)[^/]' \| \
10749 X"$mf" : 'X\(//\)$' \| \ 11377 X"$mf" : 'X\(//\)$' \| \
10750 X"$mf" : 'X\(/\)' \| \ 11378 X"$mf" : 'X\(/\)' \| \
10751 . : '\(.\)' 2>/dev/null || 11379 . : '\(.\)' 2>/dev/null ||
10752echo X"$mf" | 11380echo X"$mf" |
10753 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11381 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10754 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11382 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10755 /^X\(\/\/\)$/{ s//\1/; q; } 11383 /^X\(\/\/\)$/{ s//\1/; q; }
10756 /^X\(\/\).*/{ s//\1/; q; } 11384 /^X\(\/\).*/{ s//\1/; q; }
10782 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 11410 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10783 # Make sure the directory exists. 11411 # Make sure the directory exists.
10784 test -f "$dirpart/$file" && continue 11412 test -f "$dirpart/$file" && continue
10785 fdir=`(dirname "$file") 2>/dev/null || 11413 fdir=`(dirname "$file") 2>/dev/null ||
10786$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11414$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10787 X"$file" : 'X\(//\)[^/]' \| \ 11415 X"$file" : 'X\(//\)[^/]' \| \
10788 X"$file" : 'X\(//\)$' \| \ 11416 X"$file" : 'X\(//\)$' \| \
10789 X"$file" : 'X\(/\)' \| \ 11417 X"$file" : 'X\(/\)' \| \
10790 . : '\(.\)' 2>/dev/null || 11418 . : '\(.\)' 2>/dev/null ||
10791echo X"$file" | 11419echo X"$file" |
10792 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11420 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10793 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11421 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10794 /^X\(\/\/\)$/{ s//\1/; q; } 11422 /^X\(\/\/\)$/{ s//\1/; q; }
10795 /^X\(\/\).*/{ s//\1/; q; } 11423 /^X\(\/\).*/{ s//\1/; q; }
10801 as_dirs= 11429 as_dirs=
10802 while test ! -d "$as_dir"; do 11430 while test ! -d "$as_dir"; do
10803 as_dirs="$as_dir $as_dirs" 11431 as_dirs="$as_dir $as_dirs"
10804 as_dir=`(dirname "$as_dir") 2>/dev/null || 11432 as_dir=`(dirname "$as_dir") 2>/dev/null ||
10805$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11433$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10806 X"$as_dir" : 'X\(//\)[^/]' \| \ 11434 X"$as_dir" : 'X\(//\)[^/]' \| \
10807 X"$as_dir" : 'X\(//\)$' \| \ 11435 X"$as_dir" : 'X\(//\)$' \| \
10808 X"$as_dir" : 'X\(/\)' \| \ 11436 X"$as_dir" : 'X\(/\)' \| \
10809 . : '\(.\)' 2>/dev/null || 11437 . : '\(.\)' 2>/dev/null ||
10810echo X"$as_dir" | 11438echo X"$as_dir" |
10811 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10812 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11440 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10813 /^X\(\/\/\)$/{ s//\1/; q; } 11441 /^X\(\/\/\)$/{ s//\1/; q; }
10814 /^X\(\/\).*/{ s//\1/; q; } 11442 /^X\(\/\).*/{ s//\1/; q; }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines