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

Comparing gvpe/configure (file contents):
Revision 1.8 by pcg, Thu Oct 16 20:35:14 2003 UTC vs.
Revision 1.31 by pcg, Mon Dec 5 13:00:15 2005 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.59.
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='
268PACKAGE_TARNAME= 269PACKAGE_TARNAME=
269PACKAGE_VERSION= 270PACKAGE_VERSION=
270PACKAGE_STRING= 271PACKAGE_STRING=
271PACKAGE_BUGREPORT= 272PACKAGE_BUGREPORT=
272 273
273ac_unique_file="src/vped.C" 274ac_unique_file="src/gvpe.C"
274# Factoring default headers for most tests. 275# Factoring default headers for most tests.
275ac_includes_default="\ 276ac_includes_default="\
276#include <stdio.h> 277#include <stdio.h>
277#if HAVE_SYS_TYPES_H 278#if HAVE_SYS_TYPES_H
278# include <sys/types.h> 279# include <sys/types.h>
306#endif 307#endif
307#if HAVE_UNISTD_H 308#if HAVE_UNISTD_H
308# include <unistd.h> 309# include <unistd.h>
309#endif" 310#endif"
310 311
311ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT MKINSTALLDIRS MSGFMT GMSGFMT XGETTEXT MSGMERGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE USE_NLS LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE EGREP LN_S RANLIB ac_ct_RANLIB IFTYPE IFSUBTYPE CXXCPP ALLOCA LINUX_IF_TUN_H HAVE_TUNTAP INCLUDES LIBOBJS LTLIBOBJS' 312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT MKINSTALLDIRS MSGFMT GMSGFMT XGETTEXT MSGMERGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE USE_NLS LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE EGREP LN_S RANLIB ac_ct_RANLIB IFTYPE IFSUBTYPE CXXCPP ALLOCA LINUX_IF_TUN_H HAVE_TUNTAP LDFLAGS_DAEMON ROHC_TRUE ROHC_FALSE INCLUDES LIBOBJS LTLIBOBJS'
312ac_subst_files='' 313ac_subst_files=''
313 314
314# Initialize some variables set by options. 315# Initialize some variables set by options.
315ac_init_help= 316ac_init_help=
316ac_init_version=false 317ac_init_version=false
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'.
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.
872 Working combinations are: "native/linux" 873 Working combinations are (see doc/gvpe.osdep.5.pod):
874 "native/linux" "tincd/linux" "tincd/netbsd"
873 "tincd/linux" "tincd/freebsd" "tincd/openbsd" 875 "tincd/freebsd" "tincd/openbsd" "native/darwin"
874 "tincd/darwin" "native/cygwin"; Untested 876 "tincd/darwin" "native/cygwin"; Untested
875 combinations are: "tincd/netbsd" "tincd/solaris" 877 combinations are: "tincd/bsd" "tincd/solaris"
876 "tincd/mingw"; Broken combinations are: 878 "tincd/mingw" "tincd/raw_socket" "tincd/uml_socket";
879 Broken combinations are: "tincd/cygwin"; The default
877 "tincd/cygwin"; The default is to autodetect. 880 is to autodetect.
881 --enable-static-daemon enable statically linked daemon.
878 --enable-rohc enable robust header compression (rfc3095). 882 --enable-rohc enable robust header compression (rfc3095).
879 --enable-icmp enable icmp protocol support (default disabled). 883 --enable-icmp enable icmp protocol support (default disabled).
880 --enable-tcp enable tcp protocol support (default disabled). 884 --enable-tcp enable tcp protocol support (default disabled).
885 --enable-dns enable dns tunnel protocol support (DOES NOT WORK).
881 --enable-http-proxy enable http proxy connect support (default 886 --enable-http-proxy enable http proxy connect support (default
882 disabled). 887 disabled).
883 --enable-hmac-length=BYTES 888 --enable-hmac-length=BYTES
884 use a hmac of length BYTES bytes (default 12). 889 use a hmac of length BYTES bytes (default 12).
885 Allowed values are 4, 8, 12, 16. 890 Allowed values are 4, 8, 12, 16.
887 use BYTES bytes of extra randomness (default 8). 892 use BYTES bytes of extra randomness (default 8).
888 Allowed values are 0, 4, 8. 893 Allowed values are 0, 4, 8.
889 --enable-max-mtu=BYTES enable mtu sizes upto BYTES bytes (default 1500). 894 --enable-max-mtu=BYTES enable mtu sizes upto BYTES bytes (default 1500).
890 Use 9100 for jumbogram support. 895 Use 9100 for jumbogram support.
891 --disable-compression Disable compression support. 896 --disable-compression Disable compression support.
892 --enable-cipher Select the symmetric cipher (default "bf"). Must be 897 --enable-cipher Select the symmetric cipher (default "aes-128").
893 one of "bf" (blowfish), "aes-128" (rijndael), 898 Must be one of "bf" (blowfish), "aes-128"
894 "aes-192" or "aes-256". 899 (rijndael), "aes-192" or "aes-256".
895 --enable-digest Select the digets algorithm to use (default "sha1"). 900 --enable-digest Select the digets algorithm to use (default
896 Must be one of "sha1", "ripemd160", "md5" or "md4" 901 "ripemd160"). Must be one of "sha1", "ripemd160",
897 (insecure). 902 "md5" or "md4" (insecure).
898 903
899Optional Packages: 904Optional Packages:
900 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 905 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
901 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 906 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
902 --with-gnu-ld assume the C compiler uses GNU ld default=no 907 --with-gnu-ld assume the C compiler uses GNU ld default=no
955 ac_top_srcdir=$srcdir ;; 960 ac_top_srcdir=$srcdir ;;
956 *) # Relative path. 961 *) # Relative path.
957 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 962 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
958 ac_top_srcdir=$ac_top_builddir$srcdir ;; 963 ac_top_srcdir=$ac_top_builddir$srcdir ;;
959esac 964esac
960# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 965
961# absolute. 966# Do not use `cd foo && pwd` to compute absolute paths, because
962ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 967# the directories may not exist.
963ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 968case `pwd` in
964ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 969.) ac_abs_builddir="$ac_dir";;
965ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 970*)
971 case "$ac_dir" in
972 .) ac_abs_builddir=`pwd`;;
973 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
974 *) ac_abs_builddir=`pwd`/"$ac_dir";;
975 esac;;
976esac
977case $ac_abs_builddir in
978.) ac_abs_top_builddir=${ac_top_builddir}.;;
979*)
980 case ${ac_top_builddir}. in
981 .) ac_abs_top_builddir=$ac_abs_builddir;;
982 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
983 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
984 esac;;
985esac
986case $ac_abs_builddir in
987.) ac_abs_srcdir=$ac_srcdir;;
988*)
989 case $ac_srcdir in
990 .) ac_abs_srcdir=$ac_abs_builddir;;
991 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
992 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
993 esac;;
994esac
995case $ac_abs_builddir in
996.) ac_abs_top_srcdir=$ac_top_srcdir;;
997*)
998 case $ac_top_srcdir in
999 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1000 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1001 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1002 esac;;
1003esac
966 1004
967 cd $ac_dir 1005 cd $ac_dir
968 # Check for guested configure; otherwise get Cygnus style configure. 1006 # Check for guested configure; otherwise get Cygnus style configure.
969 if test -f $ac_srcdir/configure.gnu; then 1007 if test -f $ac_srcdir/configure.gnu; then
970 echo 1008 echo
971 $SHELL $ac_srcdir/configure.gnu --help=recursive 1009 $SHELL $ac_srcdir/configure.gnu --help=recursive
972 elif test -f $ac_srcdir/configure; then 1010 elif test -f $ac_srcdir/configure; then
973 echo 1011 echo
974 $SHELL $ac_srcdir/configure --help=recursive 1012 $SHELL $ac_srcdir/configure --help=recursive
975 elif test -f $ac_srcdir/configure.ac || 1013 elif test -f $ac_srcdir/configure.ac ||
976 test -f $ac_srcdir/configure.in; then 1014 test -f $ac_srcdir/configure.in; then
977 echo 1015 echo
978 $ac_configure --help 1016 $ac_configure --help
979 else 1017 else
980 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1018 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
981 fi 1019 fi
985 1023
986test -n "$ac_init_help" && exit 0 1024test -n "$ac_init_help" && exit 0
987if $ac_init_version; then 1025if $ac_init_version; then
988 cat <<\_ACEOF 1026 cat <<\_ACEOF
989 1027
990Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
991Free Software Foundation, Inc. 1028Copyright (C) 2003 Free Software Foundation, Inc.
992This configure script is free software; the Free Software Foundation 1029This configure script is free software; the Free Software Foundation
993gives unlimited permission to copy, distribute and modify it. 1030gives unlimited permission to copy, distribute and modify it.
994_ACEOF 1031_ACEOF
995 exit 0 1032 exit 0
996fi 1033fi
998cat >&5 <<_ACEOF 1035cat >&5 <<_ACEOF
999This file contains any messages produced by compilers while 1036This file contains any messages produced by compilers while
1000running configure, to aid debugging if configure makes a mistake. 1037running configure, to aid debugging if configure makes a mistake.
1001 1038
1002It was created by $as_me, which was 1039It was created by $as_me, which was
1003generated by GNU Autoconf 2.57. Invocation command line was 1040generated by GNU Autoconf 2.59. Invocation command line was
1004 1041
1005 $ $0 $@ 1042 $ $0 $@
1006 1043
1007_ACEOF 1044_ACEOF
1008{ 1045{
1075 case $ac_pass in 1112 case $ac_pass in
1076 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1113 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1077 2) 1114 2)
1078 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1115 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1079 if test $ac_must_keep_next = true; then 1116 if test $ac_must_keep_next = true; then
1080 ac_must_keep_next=false # Got value, back to normal. 1117 ac_must_keep_next=false # Got value, back to normal.
1081 else 1118 else
1082 case $ac_arg in 1119 case $ac_arg in
1083 *=* | --config-cache | -C | -disable-* | --disable-* \ 1120 *=* | --config-cache | -C | -disable-* | --disable-* \
1084 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1121 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1085 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1122 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1086 | -with-* | --with-* | -without-* | --without-* | --x) 1123 | -with-* | --with-* | -without-* | --without-* | --x)
1087 case "$ac_configure_args0 " in 1124 case "$ac_configure_args0 " in
1088 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1125 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1089 esac 1126 esac
1090 ;; 1127 ;;
1091 -* ) ac_must_keep_next=true ;; 1128 -* ) ac_must_keep_next=true ;;
1092 esac 1129 esac
1093 fi 1130 fi
1094 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1131 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1095 # Get rid of the leading space. 1132 # Get rid of the leading space.
1096 ac_sep=" " 1133 ac_sep=" "
1097 ;; 1134 ;;
1121{ 1158{
1122 (set) 2>&1 | 1159 (set) 2>&1 |
1123 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1160 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1124 *ac_space=\ *) 1161 *ac_space=\ *)
1125 sed -n \ 1162 sed -n \
1126 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1163 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1127 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1164 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1128 ;; 1165 ;;
1129 *) 1166 *)
1130 sed -n \ 1167 sed -n \
1131 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1168 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1132 ;; 1169 ;;
1133 esac; 1170 esac;
1134} 1171}
1135 echo 1172 echo
1136 1173
1155_ASBOX 1192_ASBOX
1156 echo 1193 echo
1157 for ac_var in $ac_subst_files 1194 for ac_var in $ac_subst_files
1158 do 1195 do
1159 eval ac_val=$`echo $ac_var` 1196 eval ac_val=$`echo $ac_var`
1160 echo "$ac_var='"'"'$ac_val'"'"'" 1197 echo "$ac_var='"'"'$ac_val'"'"'"
1161 done | sort 1198 done | sort
1162 echo 1199 echo
1163 fi 1200 fi
1164 1201
1165 if test -s confdefs.h; then 1202 if test -s confdefs.h; then
1254 1291
1255# Check that the precious variables saved in the cache have kept the same 1292# Check that the precious variables saved in the cache have kept the same
1256# value. 1293# value.
1257ac_cache_corrupted=false 1294ac_cache_corrupted=false
1258for ac_var in `(set) 2>&1 | 1295for ac_var in `(set) 2>&1 |
1259 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1296 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1260 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1297 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1261 eval ac_new_set=\$ac_env_${ac_var}_set 1298 eval ac_new_set=\$ac_env_${ac_var}_set
1262 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1299 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1263 eval ac_new_val="\$ac_env_${ac_var}_value" 1300 eval ac_new_val="\$ac_env_${ac_var}_value"
1264 case $ac_old_set,$ac_new_set in 1301 case $ac_old_set,$ac_new_set in
1271echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1308echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1272 ac_cache_corrupted=: ;; 1309 ac_cache_corrupted=: ;;
1273 ,);; 1310 ,);;
1274 *) 1311 *)
1275 if test "x$ac_old_val" != "x$ac_new_val"; then 1312 if test "x$ac_old_val" != "x$ac_new_val"; then
1276 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1313 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1277echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1314echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1278 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1315 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1279echo "$as_me: former value: $ac_old_val" >&2;} 1316echo "$as_me: former value: $ac_old_val" >&2;}
1280 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1317 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1281echo "$as_me: current value: $ac_new_val" >&2;} 1318echo "$as_me: current value: $ac_new_val" >&2;}
1282 ac_cache_corrupted=: 1319 ac_cache_corrupted=:
1283 fi;; 1320 fi;;
1284 esac 1321 esac
1285 # Pass precious variables to config.status. 1322 # Pass precious variables to config.status.
1286 if test "$ac_new_set" = set; then 1323 if test "$ac_new_set" = set; then
1287 case $ac_new_val in 1324 case $ac_new_val in
1325 1362
1326 1363
1327 1364
1328 1365
1329 1366
1367
1330ac_aux_dir= 1368ac_aux_dir=
1331for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1369for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1332 if test -f $ac_dir/install-sh; then 1370 if test -f $ac_dir/install-sh; then
1333 ac_aux_dir=$ac_dir 1371 ac_aux_dir=$ac_dir
1334 ac_install_sh="$ac_aux_dir/install-sh -c" 1372 ac_install_sh="$ac_aux_dir/install-sh -c"
1444# AIX /bin/install 1482# AIX /bin/install
1445# AmigaOS /C/install, which installs bootblocks on floppy discs 1483# AmigaOS /C/install, which installs bootblocks on floppy discs
1446# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1484# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1447# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1485# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1448# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1486# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1487# OS/2's system install, which has a completely different semantic
1449# ./install, which can be erroneously created by make from ./install.sh. 1488# ./install, which can be erroneously created by make from ./install.sh.
1450echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1489echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1451echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 1490echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1452if test -z "$INSTALL"; then 1491if test -z "$INSTALL"; then
1453if test "${ac_cv_path_install+set}" = set; then 1492if test "${ac_cv_path_install+set}" = set; then
1460 test -z "$as_dir" && as_dir=. 1499 test -z "$as_dir" && as_dir=.
1461 # Account for people who put trailing slashes in PATH elements. 1500 # Account for people who put trailing slashes in PATH elements.
1462case $as_dir/ in 1501case $as_dir/ in
1463 ./ | .// | /cC/* | \ 1502 ./ | .// | /cC/* | \
1464 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1503 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1504 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1465 /usr/ucb/* ) ;; 1505 /usr/ucb/* ) ;;
1466 *) 1506 *)
1467 # OSF1 and SCO ODT 3.0 have their own names for install. 1507 # OSF1 and SCO ODT 3.0 have their own names for install.
1468 # Don't use installbsd from OSF since it installs stuff as root 1508 # Don't use installbsd from OSF since it installs stuff as root
1469 # by default. 1509 # by default.
1470 for ac_prog in ginstall scoinst install; do 1510 for ac_prog in ginstall scoinst install; do
1471 for ac_exec_ext in '' $ac_executable_extensions; do 1511 for ac_exec_ext in '' $ac_executable_extensions; do
1472 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1512 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1473 if test $ac_prog = install && 1513 if test $ac_prog = install &&
1474 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1514 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1475 # AIX install. It has an incompatible calling convention. 1515 # AIX install. It has an incompatible calling convention.
1476 : 1516 :
1477 elif test $ac_prog = install && 1517 elif test $ac_prog = install &&
1478 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1518 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1479 # program-specific install script used by HP pwplus--don't use. 1519 # program-specific install script used by HP pwplus--don't use.
1480 : 1520 :
1481 else 1521 else
1482 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1522 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1483 break 3 1523 break 3
1484 fi 1524 fi
1485 fi 1525 fi
1486 done 1526 done
1487 done 1527 done
1488 ;; 1528 ;;
1489esac 1529esac
1490done 1530done
1624 test -n "$AWK" && break 1664 test -n "$AWK" && break
1625done 1665done
1626 1666
1627echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1667echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1628echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 1668echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1629set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 1669set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1630if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1670if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1631 echo $ECHO_N "(cached) $ECHO_C" >&6 1671 echo $ECHO_N "(cached) $ECHO_C" >&6
1632else 1672else
1633 cat >conftest.make <<\_ACEOF 1673 cat >conftest.make <<\_ACEOF
1634all: 1674all:
1679 fi 1719 fi
1680fi 1720fi
1681 1721
1682 1722
1683# Define the identity of the package. 1723# Define the identity of the package.
1684 PACKAGE=vpe 1724 PACKAGE=gvpe
1685 VERSION=1.2 1725 VERSION=2.0
1686 1726
1687 1727
1688cat >>confdefs.h <<_ACEOF 1728cat >>confdefs.h <<_ACEOF
1689#define PACKAGE "$PACKAGE" 1729#define PACKAGE "$PACKAGE"
1690_ACEOF 1730_ACEOF
2456 ac_status=$? 2496 ac_status=$?
2457 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458 (exit $ac_status); } 2498 (exit $ac_status); }
2459 2499
2460cat >conftest.$ac_ext <<_ACEOF 2500cat >conftest.$ac_ext <<_ACEOF
2461#line $LINENO "configure"
2462/* confdefs.h. */ 2501/* confdefs.h. */
2463_ACEOF 2502_ACEOF
2464cat confdefs.h >>conftest.$ac_ext 2503cat confdefs.h >>conftest.$ac_ext
2465cat >>conftest.$ac_ext <<_ACEOF 2504cat >>conftest.$ac_ext <<_ACEOF
2466/* end confdefs.h. */ 2505/* end confdefs.h. */
2476ac_clean_files_save=$ac_clean_files 2515ac_clean_files_save=$ac_clean_files
2477ac_clean_files="$ac_clean_files a.out a.exe b.out" 2516ac_clean_files="$ac_clean_files a.out a.exe b.out"
2478# Try to create an executable without -o first, disregard a.out. 2517# Try to create an executable without -o first, disregard a.out.
2479# It will help us diagnose broken compilers, and finding out an intuition 2518# It will help us diagnose broken compilers, and finding out an intuition
2480# of exeext. 2519# of exeext.
2481echo "$as_me:$LINENO: checking for C compiler default output" >&5 2520echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2482echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 2521echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2483ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2522ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2484if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 2523if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2485 (eval $ac_link_default) 2>&5 2524 (eval $ac_link_default) 2>&5
2486 ac_status=$? 2525 ac_status=$?
2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2536for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2498do 2537do
2499 test -f "$ac_file" || continue 2538 test -f "$ac_file" || continue
2500 case $ac_file in 2539 case $ac_file in
2501 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 2540 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2502 ;; 2541 ;;
2503 conftest.$ac_ext ) 2542 conftest.$ac_ext )
2504 # This is the source file. 2543 # This is the source file.
2505 ;; 2544 ;;
2506 [ab].out ) 2545 [ab].out )
2507 # We found the default executable, but exeext='' is most 2546 # We found the default executable, but exeext='' is most
2508 # certainly right. 2547 # certainly right.
2509 break;; 2548 break;;
2510 *.* ) 2549 *.* )
2511 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2550 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2512 # FIXME: I believe we export ac_cv_exeext for Libtool, 2551 # FIXME: I believe we export ac_cv_exeext for Libtool,
2513 # but it would be cool to find out if it's true. Does anybody 2552 # but it would be cool to find out if it's true. Does anybody
2514 # maintain Libtool? --akim. 2553 # maintain Libtool? --akim.
2515 export ac_cv_exeext 2554 export ac_cv_exeext
2516 break;; 2555 break;;
2517 * ) 2556 * )
2518 break;; 2557 break;;
2519 esac 2558 esac
2520done 2559done
2521else 2560else
2522 echo "$as_me: failed program was:" >&5 2561 echo "$as_me: failed program was:" >&5
2523sed 's/^/| /' conftest.$ac_ext >&5 2562sed 's/^/| /' conftest.$ac_ext >&5
2587for ac_file in conftest.exe conftest conftest.*; do 2626for ac_file in conftest.exe conftest conftest.*; do
2588 test -f "$ac_file" || continue 2627 test -f "$ac_file" || continue
2589 case $ac_file in 2628 case $ac_file in
2590 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2629 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2591 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2630 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2592 export ac_cv_exeext 2631 export ac_cv_exeext
2593 break;; 2632 break;;
2594 * ) break;; 2633 * ) break;;
2595 esac 2634 esac
2596done 2635done
2597else 2636else
2598 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2637 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2613echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2652echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2614if test "${ac_cv_objext+set}" = set; then 2653if test "${ac_cv_objext+set}" = set; then
2615 echo $ECHO_N "(cached) $ECHO_C" >&6 2654 echo $ECHO_N "(cached) $ECHO_C" >&6
2616else 2655else
2617 cat >conftest.$ac_ext <<_ACEOF 2656 cat >conftest.$ac_ext <<_ACEOF
2618#line $LINENO "configure"
2619/* confdefs.h. */ 2657/* confdefs.h. */
2620_ACEOF 2658_ACEOF
2621cat confdefs.h >>conftest.$ac_ext 2659cat confdefs.h >>conftest.$ac_ext
2622cat >>conftest.$ac_ext <<_ACEOF 2660cat >>conftest.$ac_ext <<_ACEOF
2623/* end confdefs.h. */ 2661/* end confdefs.h. */
2664echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2702echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2665if test "${ac_cv_c_compiler_gnu+set}" = set; then 2703if test "${ac_cv_c_compiler_gnu+set}" = set; then
2666 echo $ECHO_N "(cached) $ECHO_C" >&6 2704 echo $ECHO_N "(cached) $ECHO_C" >&6
2667else 2705else
2668 cat >conftest.$ac_ext <<_ACEOF 2706 cat >conftest.$ac_ext <<_ACEOF
2669#line $LINENO "configure"
2670/* confdefs.h. */ 2707/* confdefs.h. */
2671_ACEOF 2708_ACEOF
2672cat confdefs.h >>conftest.$ac_ext 2709cat confdefs.h >>conftest.$ac_ext
2673cat >>conftest.$ac_ext <<_ACEOF 2710cat >>conftest.$ac_ext <<_ACEOF
2674/* end confdefs.h. */ 2711/* end confdefs.h. */
2684 return 0; 2721 return 0;
2685} 2722}
2686_ACEOF 2723_ACEOF
2687rm -f conftest.$ac_objext 2724rm -f conftest.$ac_objext
2688if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2725if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2689 (eval $ac_compile) 2>&5 2726 (eval $ac_compile) 2>conftest.er1
2690 ac_status=$? 2727 ac_status=$?
2728 grep -v '^ *+' conftest.er1 >conftest.err
2729 rm -f conftest.er1
2730 cat conftest.err >&5
2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); } && 2732 (exit $ac_status); } &&
2693 { ac_try='test -s conftest.$ac_objext' 2733 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2695 (eval $ac_try) 2>&5 2735 (eval $ac_try) 2>&5
2696 ac_status=$? 2736 ac_status=$?
2697 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738 (exit $ac_status); }; } &&
2739 { ac_try='test -s conftest.$ac_objext'
2740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2741 (eval $ac_try) 2>&5
2742 ac_status=$?
2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698 (exit $ac_status); }; }; then 2744 (exit $ac_status); }; }; then
2699 ac_compiler_gnu=yes 2745 ac_compiler_gnu=yes
2700else 2746else
2701 echo "$as_me: failed program was:" >&5 2747 echo "$as_me: failed program was:" >&5
2702sed 's/^/| /' conftest.$ac_ext >&5 2748sed 's/^/| /' conftest.$ac_ext >&5
2703 2749
2704ac_compiler_gnu=no 2750ac_compiler_gnu=no
2705fi 2751fi
2706rm -f conftest.$ac_objext conftest.$ac_ext 2752rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2707ac_cv_c_compiler_gnu=$ac_compiler_gnu 2753ac_cv_c_compiler_gnu=$ac_compiler_gnu
2708 2754
2709fi 2755fi
2710echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2756echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2711echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2757echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2717echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2763echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2718if test "${ac_cv_prog_cc_g+set}" = set; then 2764if test "${ac_cv_prog_cc_g+set}" = set; then
2719 echo $ECHO_N "(cached) $ECHO_C" >&6 2765 echo $ECHO_N "(cached) $ECHO_C" >&6
2720else 2766else
2721 cat >conftest.$ac_ext <<_ACEOF 2767 cat >conftest.$ac_ext <<_ACEOF
2722#line $LINENO "configure"
2723/* confdefs.h. */ 2768/* confdefs.h. */
2724_ACEOF 2769_ACEOF
2725cat confdefs.h >>conftest.$ac_ext 2770cat confdefs.h >>conftest.$ac_ext
2726cat >>conftest.$ac_ext <<_ACEOF 2771cat >>conftest.$ac_ext <<_ACEOF
2727/* end confdefs.h. */ 2772/* end confdefs.h. */
2734 return 0; 2779 return 0;
2735} 2780}
2736_ACEOF 2781_ACEOF
2737rm -f conftest.$ac_objext 2782rm -f conftest.$ac_objext
2738if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2783if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2739 (eval $ac_compile) 2>&5 2784 (eval $ac_compile) 2>conftest.er1
2740 ac_status=$? 2785 ac_status=$?
2786 grep -v '^ *+' conftest.er1 >conftest.err
2787 rm -f conftest.er1
2788 cat conftest.err >&5
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); } && 2790 (exit $ac_status); } &&
2743 { ac_try='test -s conftest.$ac_objext' 2791 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2745 (eval $ac_try) 2>&5 2793 (eval $ac_try) 2>&5
2746 ac_status=$? 2794 ac_status=$?
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796 (exit $ac_status); }; } &&
2797 { ac_try='test -s conftest.$ac_objext'
2798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2799 (eval $ac_try) 2>&5
2800 ac_status=$?
2801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); }; }; then 2802 (exit $ac_status); }; }; then
2749 ac_cv_prog_cc_g=yes 2803 ac_cv_prog_cc_g=yes
2750else 2804else
2751 echo "$as_me: failed program was:" >&5 2805 echo "$as_me: failed program was:" >&5
2752sed 's/^/| /' conftest.$ac_ext >&5 2806sed 's/^/| /' conftest.$ac_ext >&5
2753 2807
2754ac_cv_prog_cc_g=no 2808ac_cv_prog_cc_g=no
2755fi 2809fi
2756rm -f conftest.$ac_objext conftest.$ac_ext 2810rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2757fi 2811fi
2758echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2812echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2759echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2813echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2760if test "$ac_test_CFLAGS" = set; then 2814if test "$ac_test_CFLAGS" = set; then
2761 CFLAGS=$ac_save_CFLAGS 2815 CFLAGS=$ac_save_CFLAGS
2778 echo $ECHO_N "(cached) $ECHO_C" >&6 2832 echo $ECHO_N "(cached) $ECHO_C" >&6
2779else 2833else
2780 ac_cv_prog_cc_stdc=no 2834 ac_cv_prog_cc_stdc=no
2781ac_save_CC=$CC 2835ac_save_CC=$CC
2782cat >conftest.$ac_ext <<_ACEOF 2836cat >conftest.$ac_ext <<_ACEOF
2783#line $LINENO "configure"
2784/* confdefs.h. */ 2837/* confdefs.h. */
2785_ACEOF 2838_ACEOF
2786cat confdefs.h >>conftest.$ac_ext 2839cat confdefs.h >>conftest.$ac_ext
2787cat >>conftest.$ac_ext <<_ACEOF 2840cat >>conftest.$ac_ext <<_ACEOF
2788/* end confdefs.h. */ 2841/* end confdefs.h. */
2806 va_start (v,p); 2859 va_start (v,p);
2807 s = g (p, va_arg (v,int)); 2860 s = g (p, va_arg (v,int));
2808 va_end (v); 2861 va_end (v);
2809 return s; 2862 return s;
2810} 2863}
2864
2865/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2866 function prototypes and stuff, but not '\xHH' hex character constants.
2867 These don't provoke an error unfortunately, instead are silently treated
2868 as 'x'. The following induces an error, until -std1 is added to get
2869 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2870 array size at least. It's necessary to write '\x00'==0 to get something
2871 that's true only with -std1. */
2872int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2873
2811int test (int i, double x); 2874int test (int i, double x);
2812struct s1 {int (*f) (int a);}; 2875struct s1 {int (*f) (int a);};
2813struct s2 {int (*f) (double a);}; 2876struct s2 {int (*f) (double a);};
2814int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2877int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2815int argc; 2878int argc;
2832for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2895for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2833do 2896do
2834 CC="$ac_save_CC $ac_arg" 2897 CC="$ac_save_CC $ac_arg"
2835 rm -f conftest.$ac_objext 2898 rm -f conftest.$ac_objext
2836if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2899if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2837 (eval $ac_compile) 2>&5 2900 (eval $ac_compile) 2>conftest.er1
2838 ac_status=$? 2901 ac_status=$?
2902 grep -v '^ *+' conftest.er1 >conftest.err
2903 rm -f conftest.er1
2904 cat conftest.err >&5
2839 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840 (exit $ac_status); } && 2906 (exit $ac_status); } &&
2907 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2909 (eval $ac_try) 2>&5
2910 ac_status=$?
2911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2912 (exit $ac_status); }; } &&
2841 { ac_try='test -s conftest.$ac_objext' 2913 { ac_try='test -s conftest.$ac_objext'
2842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2843 (eval $ac_try) 2>&5 2915 (eval $ac_try) 2>&5
2844 ac_status=$? 2916 ac_status=$?
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); }; }; then 2918 (exit $ac_status); }; }; then
2849else 2921else
2850 echo "$as_me: failed program was:" >&5 2922 echo "$as_me: failed program was:" >&5
2851sed 's/^/| /' conftest.$ac_ext >&5 2923sed 's/^/| /' conftest.$ac_ext >&5
2852 2924
2853fi 2925fi
2854rm -f conftest.$ac_objext 2926rm -f conftest.err conftest.$ac_objext
2855done 2927done
2856rm -f conftest.$ac_ext conftest.$ac_objext 2928rm -f conftest.$ac_ext conftest.$ac_objext
2857CC=$ac_save_CC 2929CC=$ac_save_CC
2858 2930
2859fi 2931fi
2877 choke me 2949 choke me
2878#endif 2950#endif
2879_ACEOF 2951_ACEOF
2880rm -f conftest.$ac_objext 2952rm -f conftest.$ac_objext
2881if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2953if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2882 (eval $ac_compile) 2>&5 2954 (eval $ac_compile) 2>conftest.er1
2883 ac_status=$? 2955 ac_status=$?
2956 grep -v '^ *+' conftest.er1 >conftest.err
2957 rm -f conftest.er1
2958 cat conftest.err >&5
2884 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885 (exit $ac_status); } && 2960 (exit $ac_status); } &&
2961 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2963 (eval $ac_try) 2>&5
2964 ac_status=$?
2965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966 (exit $ac_status); }; } &&
2886 { ac_try='test -s conftest.$ac_objext' 2967 { ac_try='test -s conftest.$ac_objext'
2887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2888 (eval $ac_try) 2>&5 2969 (eval $ac_try) 2>&5
2889 ac_status=$? 2970 ac_status=$?
2890 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2891 (exit $ac_status); }; }; then 2972 (exit $ac_status); }; }; then
2896 'extern "C" void exit (int) throw ();' \ 2977 'extern "C" void exit (int) throw ();' \
2897 'extern "C" void exit (int);' \ 2978 'extern "C" void exit (int);' \
2898 'void exit (int);' 2979 'void exit (int);'
2899do 2980do
2900 cat >conftest.$ac_ext <<_ACEOF 2981 cat >conftest.$ac_ext <<_ACEOF
2901#line $LINENO "configure"
2902/* confdefs.h. */ 2982/* confdefs.h. */
2903_ACEOF 2983_ACEOF
2904cat confdefs.h >>conftest.$ac_ext 2984cat confdefs.h >>conftest.$ac_ext
2905cat >>conftest.$ac_ext <<_ACEOF 2985cat >>conftest.$ac_ext <<_ACEOF
2906/* end confdefs.h. */ 2986/* end confdefs.h. */
2914 return 0; 2994 return 0;
2915} 2995}
2916_ACEOF 2996_ACEOF
2917rm -f conftest.$ac_objext 2997rm -f conftest.$ac_objext
2918if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2998if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2919 (eval $ac_compile) 2>&5 2999 (eval $ac_compile) 2>conftest.er1
2920 ac_status=$? 3000 ac_status=$?
3001 grep -v '^ *+' conftest.er1 >conftest.err
3002 rm -f conftest.er1
3003 cat conftest.err >&5
2921 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922 (exit $ac_status); } && 3005 (exit $ac_status); } &&
2923 { ac_try='test -s conftest.$ac_objext' 3006 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2925 (eval $ac_try) 2>&5 3008 (eval $ac_try) 2>&5
2926 ac_status=$? 3009 ac_status=$?
2927 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011 (exit $ac_status); }; } &&
3012 { ac_try='test -s conftest.$ac_objext'
3013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3014 (eval $ac_try) 2>&5
3015 ac_status=$?
3016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2928 (exit $ac_status); }; }; then 3017 (exit $ac_status); }; }; then
2929 : 3018 :
2930else 3019else
2931 echo "$as_me: failed program was:" >&5 3020 echo "$as_me: failed program was:" >&5
2932sed 's/^/| /' conftest.$ac_ext >&5 3021sed 's/^/| /' conftest.$ac_ext >&5
2933 3022
2934continue 3023continue
2935fi 3024fi
2936rm -f conftest.$ac_objext conftest.$ac_ext 3025rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2937 cat >conftest.$ac_ext <<_ACEOF 3026 cat >conftest.$ac_ext <<_ACEOF
2938#line $LINENO "configure"
2939/* confdefs.h. */ 3027/* confdefs.h. */
2940_ACEOF 3028_ACEOF
2941cat confdefs.h >>conftest.$ac_ext 3029cat confdefs.h >>conftest.$ac_ext
2942cat >>conftest.$ac_ext <<_ACEOF 3030cat >>conftest.$ac_ext <<_ACEOF
2943/* end confdefs.h. */ 3031/* end confdefs.h. */
2950 return 0; 3038 return 0;
2951} 3039}
2952_ACEOF 3040_ACEOF
2953rm -f conftest.$ac_objext 3041rm -f conftest.$ac_objext
2954if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3042if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2955 (eval $ac_compile) 2>&5 3043 (eval $ac_compile) 2>conftest.er1
2956 ac_status=$? 3044 ac_status=$?
3045 grep -v '^ *+' conftest.er1 >conftest.err
3046 rm -f conftest.er1
3047 cat conftest.err >&5
2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); } && 3049 (exit $ac_status); } &&
2959 { ac_try='test -s conftest.$ac_objext' 3050 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2961 (eval $ac_try) 2>&5 3052 (eval $ac_try) 2>&5
2962 ac_status=$? 3053 ac_status=$?
2963 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3055 (exit $ac_status); }; } &&
3056 { ac_try='test -s conftest.$ac_objext'
3057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3058 (eval $ac_try) 2>&5
3059 ac_status=$?
3060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2964 (exit $ac_status); }; }; then 3061 (exit $ac_status); }; }; then
2965 break 3062 break
2966else 3063else
2967 echo "$as_me: failed program was:" >&5 3064 echo "$as_me: failed program was:" >&5
2968sed 's/^/| /' conftest.$ac_ext >&5 3065sed 's/^/| /' conftest.$ac_ext >&5
2969 3066
2970fi 3067fi
2971rm -f conftest.$ac_objext conftest.$ac_ext 3068rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2972done 3069done
2973rm -f conftest* 3070rm -f conftest*
2974if test -n "$ac_declaration"; then 3071if test -n "$ac_declaration"; then
2975 echo '#ifdef __cplusplus' >>confdefs.h 3072 echo '#ifdef __cplusplus' >>confdefs.h
2976 echo $ac_declaration >>confdefs.h 3073 echo $ac_declaration >>confdefs.h
2980else 3077else
2981 echo "$as_me: failed program was:" >&5 3078 echo "$as_me: failed program was:" >&5
2982sed 's/^/| /' conftest.$ac_ext >&5 3079sed 's/^/| /' conftest.$ac_ext >&5
2983 3080
2984fi 3081fi
2985rm -f conftest.$ac_objext conftest.$ac_ext 3082rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2986ac_ext=c 3083ac_ext=c
2987ac_cpp='$CPP $CPPFLAGS' 3084ac_cpp='$CPP $CPPFLAGS'
2988ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3085ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2989ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3086ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2990ac_compiler_gnu=$ac_cv_c_compiler_gnu 3087ac_compiler_gnu=$ac_cv_c_compiler_gnu
3653echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6 3750echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
3654if test "${gt_cv_func_gnugettext1_libc+set}" = set; then 3751if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
3655 echo $ECHO_N "(cached) $ECHO_C" >&6 3752 echo $ECHO_N "(cached) $ECHO_C" >&6
3656else 3753else
3657 cat >conftest.$ac_ext <<_ACEOF 3754 cat >conftest.$ac_ext <<_ACEOF
3658#line $LINENO "configure"
3659/* confdefs.h. */ 3755/* confdefs.h. */
3660_ACEOF 3756_ACEOF
3661cat confdefs.h >>conftest.$ac_ext 3757cat confdefs.h >>conftest.$ac_ext
3662cat >>conftest.$ac_ext <<_ACEOF 3758cat >>conftest.$ac_ext <<_ACEOF
3663/* end confdefs.h. */ 3759/* end confdefs.h. */
3673 return 0; 3769 return 0;
3674} 3770}
3675_ACEOF 3771_ACEOF
3676rm -f conftest.$ac_objext conftest$ac_exeext 3772rm -f conftest.$ac_objext conftest$ac_exeext
3677if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3773if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3678 (eval $ac_link) 2>&5 3774 (eval $ac_link) 2>conftest.er1
3679 ac_status=$? 3775 ac_status=$?
3776 grep -v '^ *+' conftest.er1 >conftest.err
3777 rm -f conftest.er1
3778 cat conftest.err >&5
3680 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681 (exit $ac_status); } && 3780 (exit $ac_status); } &&
3682 { ac_try='test -s conftest$ac_exeext' 3781 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3684 (eval $ac_try) 2>&5 3783 (eval $ac_try) 2>&5
3685 ac_status=$? 3784 ac_status=$?
3686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3786 (exit $ac_status); }; } &&
3787 { ac_try='test -s conftest$ac_exeext'
3788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3789 (eval $ac_try) 2>&5
3790 ac_status=$?
3791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3687 (exit $ac_status); }; }; then 3792 (exit $ac_status); }; }; then
3688 gt_cv_func_gnugettext1_libc=yes 3793 gt_cv_func_gnugettext1_libc=yes
3689else 3794else
3690 echo "$as_me: failed program was:" >&5 3795 echo "$as_me: failed program was:" >&5
3691sed 's/^/| /' conftest.$ac_ext >&5 3796sed 's/^/| /' conftest.$ac_ext >&5
3692 3797
3693gt_cv_func_gnugettext1_libc=no 3798gt_cv_func_gnugettext1_libc=no
3694fi 3799fi
3695rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3800rm -f conftest.err conftest.$ac_objext \
3801 conftest$ac_exeext conftest.$ac_ext
3696fi 3802fi
3697echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5 3803echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
3698echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6 3804echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
3699 3805
3700 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then 3806 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
3735else 3841else
3736 3842
3737 am_cv_func_iconv="no, consider installing GNU libiconv" 3843 am_cv_func_iconv="no, consider installing GNU libiconv"
3738 am_cv_lib_iconv=no 3844 am_cv_lib_iconv=no
3739 cat >conftest.$ac_ext <<_ACEOF 3845 cat >conftest.$ac_ext <<_ACEOF
3740#line $LINENO "configure"
3741/* confdefs.h. */ 3846/* confdefs.h. */
3742_ACEOF 3847_ACEOF
3743cat confdefs.h >>conftest.$ac_ext 3848cat confdefs.h >>conftest.$ac_ext
3744cat >>conftest.$ac_ext <<_ACEOF 3849cat >>conftest.$ac_ext <<_ACEOF
3745/* end confdefs.h. */ 3850/* end confdefs.h. */
3755 return 0; 3860 return 0;
3756} 3861}
3757_ACEOF 3862_ACEOF
3758rm -f conftest.$ac_objext conftest$ac_exeext 3863rm -f conftest.$ac_objext conftest$ac_exeext
3759if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3864if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3760 (eval $ac_link) 2>&5 3865 (eval $ac_link) 2>conftest.er1
3761 ac_status=$? 3866 ac_status=$?
3867 grep -v '^ *+' conftest.er1 >conftest.err
3868 rm -f conftest.er1
3869 cat conftest.err >&5
3762 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3763 (exit $ac_status); } && 3871 (exit $ac_status); } &&
3764 { ac_try='test -s conftest$ac_exeext' 3872 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3766 (eval $ac_try) 2>&5 3874 (eval $ac_try) 2>&5
3767 ac_status=$? 3875 ac_status=$?
3768 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3877 (exit $ac_status); }; } &&
3878 { ac_try='test -s conftest$ac_exeext'
3879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3880 (eval $ac_try) 2>&5
3881 ac_status=$?
3882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3769 (exit $ac_status); }; }; then 3883 (exit $ac_status); }; }; then
3770 am_cv_func_iconv=yes 3884 am_cv_func_iconv=yes
3771else 3885else
3772 echo "$as_me: failed program was:" >&5 3886 echo "$as_me: failed program was:" >&5
3773sed 's/^/| /' conftest.$ac_ext >&5 3887sed 's/^/| /' conftest.$ac_ext >&5
3774 3888
3775fi 3889fi
3776rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3890rm -f conftest.err conftest.$ac_objext \
3891 conftest$ac_exeext conftest.$ac_ext
3777 if test "$am_cv_func_iconv" != yes; then 3892 if test "$am_cv_func_iconv" != yes; then
3778 am_save_LIBS="$LIBS" 3893 am_save_LIBS="$LIBS"
3779 LIBS="$LIBS $LIBICONV" 3894 LIBS="$LIBS $LIBICONV"
3780 cat >conftest.$ac_ext <<_ACEOF 3895 cat >conftest.$ac_ext <<_ACEOF
3781#line $LINENO "configure"
3782/* confdefs.h. */ 3896/* confdefs.h. */
3783_ACEOF 3897_ACEOF
3784cat confdefs.h >>conftest.$ac_ext 3898cat confdefs.h >>conftest.$ac_ext
3785cat >>conftest.$ac_ext <<_ACEOF 3899cat >>conftest.$ac_ext <<_ACEOF
3786/* end confdefs.h. */ 3900/* end confdefs.h. */
3796 return 0; 3910 return 0;
3797} 3911}
3798_ACEOF 3912_ACEOF
3799rm -f conftest.$ac_objext conftest$ac_exeext 3913rm -f conftest.$ac_objext conftest$ac_exeext
3800if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3914if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3801 (eval $ac_link) 2>&5 3915 (eval $ac_link) 2>conftest.er1
3802 ac_status=$? 3916 ac_status=$?
3917 grep -v '^ *+' conftest.er1 >conftest.err
3918 rm -f conftest.er1
3919 cat conftest.err >&5
3803 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3804 (exit $ac_status); } && 3921 (exit $ac_status); } &&
3922 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3924 (eval $ac_try) 2>&5
3925 ac_status=$?
3926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3927 (exit $ac_status); }; } &&
3805 { ac_try='test -s conftest$ac_exeext' 3928 { ac_try='test -s conftest$ac_exeext'
3806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3807 (eval $ac_try) 2>&5 3930 (eval $ac_try) 2>&5
3808 ac_status=$? 3931 ac_status=$?
3809 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810 (exit $ac_status); }; }; then 3933 (exit $ac_status); }; }; then
3813else 3936else
3814 echo "$as_me: failed program was:" >&5 3937 echo "$as_me: failed program was:" >&5
3815sed 's/^/| /' conftest.$ac_ext >&5 3938sed 's/^/| /' conftest.$ac_ext >&5
3816 3939
3817fi 3940fi
3818rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3941rm -f conftest.err conftest.$ac_objext \
3942 conftest$ac_exeext conftest.$ac_ext
3819 LIBS="$am_save_LIBS" 3943 LIBS="$am_save_LIBS"
3820 fi 3944 fi
3821 3945
3822fi 3946fi
3823echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 3947echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
4229 gt_save_CPPFLAGS="$CPPFLAGS" 4353 gt_save_CPPFLAGS="$CPPFLAGS"
4230 CPPFLAGS="$CPPFLAGS $INCINTL" 4354 CPPFLAGS="$CPPFLAGS $INCINTL"
4231 gt_save_LIBS="$LIBS" 4355 gt_save_LIBS="$LIBS"
4232 LIBS="$LIBS $LIBINTL" 4356 LIBS="$LIBS $LIBINTL"
4233 cat >conftest.$ac_ext <<_ACEOF 4357 cat >conftest.$ac_ext <<_ACEOF
4234#line $LINENO "configure"
4235/* confdefs.h. */ 4358/* confdefs.h. */
4236_ACEOF 4359_ACEOF
4237cat confdefs.h >>conftest.$ac_ext 4360cat confdefs.h >>conftest.$ac_ext
4238cat >>conftest.$ac_ext <<_ACEOF 4361cat >>conftest.$ac_ext <<_ACEOF
4239/* end confdefs.h. */ 4362/* end confdefs.h. */
4253 return 0; 4376 return 0;
4254} 4377}
4255_ACEOF 4378_ACEOF
4256rm -f conftest.$ac_objext conftest$ac_exeext 4379rm -f conftest.$ac_objext conftest$ac_exeext
4257if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4380if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4258 (eval $ac_link) 2>&5 4381 (eval $ac_link) 2>conftest.er1
4259 ac_status=$? 4382 ac_status=$?
4383 grep -v '^ *+' conftest.er1 >conftest.err
4384 rm -f conftest.er1
4385 cat conftest.err >&5
4260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4261 (exit $ac_status); } && 4387 (exit $ac_status); } &&
4262 { ac_try='test -s conftest$ac_exeext' 4388 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4264 (eval $ac_try) 2>&5 4390 (eval $ac_try) 2>&5
4265 ac_status=$? 4391 ac_status=$?
4266 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4393 (exit $ac_status); }; } &&
4394 { ac_try='test -s conftest$ac_exeext'
4395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4396 (eval $ac_try) 2>&5
4397 ac_status=$?
4398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4267 (exit $ac_status); }; }; then 4399 (exit $ac_status); }; }; then
4268 gt_cv_func_gnugettext1_libintl=yes 4400 gt_cv_func_gnugettext1_libintl=yes
4269else 4401else
4270 echo "$as_me: failed program was:" >&5 4402 echo "$as_me: failed program was:" >&5
4271sed 's/^/| /' conftest.$ac_ext >&5 4403sed 's/^/| /' conftest.$ac_ext >&5
4272 4404
4273gt_cv_func_gnugettext1_libintl=no 4405gt_cv_func_gnugettext1_libintl=no
4274fi 4406fi
4275rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4407rm -f conftest.err conftest.$ac_objext \
4408 conftest$ac_exeext conftest.$ac_ext
4276 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then 4409 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
4277 LIBS="$LIBS $LIBICONV" 4410 LIBS="$LIBS $LIBICONV"
4278 cat >conftest.$ac_ext <<_ACEOF 4411 cat >conftest.$ac_ext <<_ACEOF
4279#line $LINENO "configure"
4280/* confdefs.h. */ 4412/* confdefs.h. */
4281_ACEOF 4413_ACEOF
4282cat confdefs.h >>conftest.$ac_ext 4414cat confdefs.h >>conftest.$ac_ext
4283cat >>conftest.$ac_ext <<_ACEOF 4415cat >>conftest.$ac_ext <<_ACEOF
4284/* end confdefs.h. */ 4416/* end confdefs.h. */
4298 return 0; 4430 return 0;
4299} 4431}
4300_ACEOF 4432_ACEOF
4301rm -f conftest.$ac_objext conftest$ac_exeext 4433rm -f conftest.$ac_objext conftest$ac_exeext
4302if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4434if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4303 (eval $ac_link) 2>&5 4435 (eval $ac_link) 2>conftest.er1
4304 ac_status=$? 4436 ac_status=$?
4437 grep -v '^ *+' conftest.er1 >conftest.err
4438 rm -f conftest.er1
4439 cat conftest.err >&5
4305 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4306 (exit $ac_status); } && 4441 (exit $ac_status); } &&
4442 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4444 (eval $ac_try) 2>&5
4445 ac_status=$?
4446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447 (exit $ac_status); }; } &&
4307 { ac_try='test -s conftest$ac_exeext' 4448 { ac_try='test -s conftest$ac_exeext'
4308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4309 (eval $ac_try) 2>&5 4450 (eval $ac_try) 2>&5
4310 ac_status=$? 4451 ac_status=$?
4311 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4312 (exit $ac_status); }; }; then 4453 (exit $ac_status); }; }; then
4317else 4458else
4318 echo "$as_me: failed program was:" >&5 4459 echo "$as_me: failed program was:" >&5
4319sed 's/^/| /' conftest.$ac_ext >&5 4460sed 's/^/| /' conftest.$ac_ext >&5
4320 4461
4321fi 4462fi
4322rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4463rm -f conftest.err conftest.$ac_objext \
4464 conftest$ac_exeext conftest.$ac_ext
4323 fi 4465 fi
4324 CPPFLAGS="$gt_save_CPPFLAGS" 4466 CPPFLAGS="$gt_save_CPPFLAGS"
4325 LIBS="$gt_save_LIBS" 4467 LIBS="$gt_save_LIBS"
4326fi 4468fi
4327echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5 4469echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
4418cat >>confdefs.h <<\_ACEOF 4560cat >>confdefs.h <<\_ACEOF
4419#define _GNU_SOURCE 1 4561#define _GNU_SOURCE 1
4420_ACEOF 4562_ACEOF
4421 4563
4422 4564
4423cat >>confdefs.h <<\_ACEOF 4565# do NOT define POSIX_SOURCE, sicne this clashes with many BSDs
4424#define __USE_BSD 1
4425_ACEOF
4426
4427 4566
4428ALL_LINGUAS="" 4567ALL_LINGUAS=""
4429 4568
4430ac_ext=c 4569ac_ext=c
4431ac_cpp='$CPP $CPPFLAGS' 4570ac_cpp='$CPP $CPPFLAGS'
4766echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 4905echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4767if test "${ac_cv_c_compiler_gnu+set}" = set; then 4906if test "${ac_cv_c_compiler_gnu+set}" = set; then
4768 echo $ECHO_N "(cached) $ECHO_C" >&6 4907 echo $ECHO_N "(cached) $ECHO_C" >&6
4769else 4908else
4770 cat >conftest.$ac_ext <<_ACEOF 4909 cat >conftest.$ac_ext <<_ACEOF
4771#line $LINENO "configure"
4772/* confdefs.h. */ 4910/* confdefs.h. */
4773_ACEOF 4911_ACEOF
4774cat confdefs.h >>conftest.$ac_ext 4912cat confdefs.h >>conftest.$ac_ext
4775cat >>conftest.$ac_ext <<_ACEOF 4913cat >>conftest.$ac_ext <<_ACEOF
4776/* end confdefs.h. */ 4914/* end confdefs.h. */
4786 return 0; 4924 return 0;
4787} 4925}
4788_ACEOF 4926_ACEOF
4789rm -f conftest.$ac_objext 4927rm -f conftest.$ac_objext
4790if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4928if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4791 (eval $ac_compile) 2>&5 4929 (eval $ac_compile) 2>conftest.er1
4792 ac_status=$? 4930 ac_status=$?
4931 grep -v '^ *+' conftest.er1 >conftest.err
4932 rm -f conftest.er1
4933 cat conftest.err >&5
4793 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4794 (exit $ac_status); } && 4935 (exit $ac_status); } &&
4795 { ac_try='test -s conftest.$ac_objext' 4936 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4797 (eval $ac_try) 2>&5 4938 (eval $ac_try) 2>&5
4798 ac_status=$? 4939 ac_status=$?
4799 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941 (exit $ac_status); }; } &&
4942 { ac_try='test -s conftest.$ac_objext'
4943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4944 (eval $ac_try) 2>&5
4945 ac_status=$?
4946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4800 (exit $ac_status); }; }; then 4947 (exit $ac_status); }; }; then
4801 ac_compiler_gnu=yes 4948 ac_compiler_gnu=yes
4802else 4949else
4803 echo "$as_me: failed program was:" >&5 4950 echo "$as_me: failed program was:" >&5
4804sed 's/^/| /' conftest.$ac_ext >&5 4951sed 's/^/| /' conftest.$ac_ext >&5
4805 4952
4806ac_compiler_gnu=no 4953ac_compiler_gnu=no
4807fi 4954fi
4808rm -f conftest.$ac_objext conftest.$ac_ext 4955rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4809ac_cv_c_compiler_gnu=$ac_compiler_gnu 4956ac_cv_c_compiler_gnu=$ac_compiler_gnu
4810 4957
4811fi 4958fi
4812echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 4959echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4813echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 4960echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4819echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 4966echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4820if test "${ac_cv_prog_cc_g+set}" = set; then 4967if test "${ac_cv_prog_cc_g+set}" = set; then
4821 echo $ECHO_N "(cached) $ECHO_C" >&6 4968 echo $ECHO_N "(cached) $ECHO_C" >&6
4822else 4969else
4823 cat >conftest.$ac_ext <<_ACEOF 4970 cat >conftest.$ac_ext <<_ACEOF
4824#line $LINENO "configure"
4825/* confdefs.h. */ 4971/* confdefs.h. */
4826_ACEOF 4972_ACEOF
4827cat confdefs.h >>conftest.$ac_ext 4973cat confdefs.h >>conftest.$ac_ext
4828cat >>conftest.$ac_ext <<_ACEOF 4974cat >>conftest.$ac_ext <<_ACEOF
4829/* end confdefs.h. */ 4975/* end confdefs.h. */
4836 return 0; 4982 return 0;
4837} 4983}
4838_ACEOF 4984_ACEOF
4839rm -f conftest.$ac_objext 4985rm -f conftest.$ac_objext
4840if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4986if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4841 (eval $ac_compile) 2>&5 4987 (eval $ac_compile) 2>conftest.er1
4842 ac_status=$? 4988 ac_status=$?
4989 grep -v '^ *+' conftest.er1 >conftest.err
4990 rm -f conftest.er1
4991 cat conftest.err >&5
4843 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4844 (exit $ac_status); } && 4993 (exit $ac_status); } &&
4845 { ac_try='test -s conftest.$ac_objext' 4994 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4847 (eval $ac_try) 2>&5 4996 (eval $ac_try) 2>&5
4848 ac_status=$? 4997 ac_status=$?
4849 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4999 (exit $ac_status); }; } &&
5000 { ac_try='test -s conftest.$ac_objext'
5001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5002 (eval $ac_try) 2>&5
5003 ac_status=$?
5004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4850 (exit $ac_status); }; }; then 5005 (exit $ac_status); }; }; then
4851 ac_cv_prog_cc_g=yes 5006 ac_cv_prog_cc_g=yes
4852else 5007else
4853 echo "$as_me: failed program was:" >&5 5008 echo "$as_me: failed program was:" >&5
4854sed 's/^/| /' conftest.$ac_ext >&5 5009sed 's/^/| /' conftest.$ac_ext >&5
4855 5010
4856ac_cv_prog_cc_g=no 5011ac_cv_prog_cc_g=no
4857fi 5012fi
4858rm -f conftest.$ac_objext conftest.$ac_ext 5013rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4859fi 5014fi
4860echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 5015echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4861echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 5016echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4862if test "$ac_test_CFLAGS" = set; then 5017if test "$ac_test_CFLAGS" = set; then
4863 CFLAGS=$ac_save_CFLAGS 5018 CFLAGS=$ac_save_CFLAGS
4880 echo $ECHO_N "(cached) $ECHO_C" >&6 5035 echo $ECHO_N "(cached) $ECHO_C" >&6
4881else 5036else
4882 ac_cv_prog_cc_stdc=no 5037 ac_cv_prog_cc_stdc=no
4883ac_save_CC=$CC 5038ac_save_CC=$CC
4884cat >conftest.$ac_ext <<_ACEOF 5039cat >conftest.$ac_ext <<_ACEOF
4885#line $LINENO "configure"
4886/* confdefs.h. */ 5040/* confdefs.h. */
4887_ACEOF 5041_ACEOF
4888cat confdefs.h >>conftest.$ac_ext 5042cat confdefs.h >>conftest.$ac_ext
4889cat >>conftest.$ac_ext <<_ACEOF 5043cat >>conftest.$ac_ext <<_ACEOF
4890/* end confdefs.h. */ 5044/* end confdefs.h. */
4908 va_start (v,p); 5062 va_start (v,p);
4909 s = g (p, va_arg (v,int)); 5063 s = g (p, va_arg (v,int));
4910 va_end (v); 5064 va_end (v);
4911 return s; 5065 return s;
4912} 5066}
5067
5068/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5069 function prototypes and stuff, but not '\xHH' hex character constants.
5070 These don't provoke an error unfortunately, instead are silently treated
5071 as 'x'. The following induces an error, until -std1 is added to get
5072 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5073 array size at least. It's necessary to write '\x00'==0 to get something
5074 that's true only with -std1. */
5075int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5076
4913int test (int i, double x); 5077int test (int i, double x);
4914struct s1 {int (*f) (int a);}; 5078struct s1 {int (*f) (int a);};
4915struct s2 {int (*f) (double a);}; 5079struct s2 {int (*f) (double a);};
4916int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 5080int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4917int argc; 5081int argc;
4934for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 5098for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4935do 5099do
4936 CC="$ac_save_CC $ac_arg" 5100 CC="$ac_save_CC $ac_arg"
4937 rm -f conftest.$ac_objext 5101 rm -f conftest.$ac_objext
4938if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5102if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4939 (eval $ac_compile) 2>&5 5103 (eval $ac_compile) 2>conftest.er1
4940 ac_status=$? 5104 ac_status=$?
5105 grep -v '^ *+' conftest.er1 >conftest.err
5106 rm -f conftest.er1
5107 cat conftest.err >&5
4941 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4942 (exit $ac_status); } && 5109 (exit $ac_status); } &&
5110 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5112 (eval $ac_try) 2>&5
5113 ac_status=$?
5114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115 (exit $ac_status); }; } &&
4943 { ac_try='test -s conftest.$ac_objext' 5116 { ac_try='test -s conftest.$ac_objext'
4944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4945 (eval $ac_try) 2>&5 5118 (eval $ac_try) 2>&5
4946 ac_status=$? 5119 ac_status=$?
4947 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4948 (exit $ac_status); }; }; then 5121 (exit $ac_status); }; }; then
4951else 5124else
4952 echo "$as_me: failed program was:" >&5 5125 echo "$as_me: failed program was:" >&5
4953sed 's/^/| /' conftest.$ac_ext >&5 5126sed 's/^/| /' conftest.$ac_ext >&5
4954 5127
4955fi 5128fi
4956rm -f conftest.$ac_objext 5129rm -f conftest.err conftest.$ac_objext
4957done 5130done
4958rm -f conftest.$ac_ext conftest.$ac_objext 5131rm -f conftest.$ac_ext conftest.$ac_objext
4959CC=$ac_save_CC 5132CC=$ac_save_CC
4960 5133
4961fi 5134fi
4979 choke me 5152 choke me
4980#endif 5153#endif
4981_ACEOF 5154_ACEOF
4982rm -f conftest.$ac_objext 5155rm -f conftest.$ac_objext
4983if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5156if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4984 (eval $ac_compile) 2>&5 5157 (eval $ac_compile) 2>conftest.er1
4985 ac_status=$? 5158 ac_status=$?
5159 grep -v '^ *+' conftest.er1 >conftest.err
5160 rm -f conftest.er1
5161 cat conftest.err >&5
4986 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4987 (exit $ac_status); } && 5163 (exit $ac_status); } &&
5164 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5166 (eval $ac_try) 2>&5
5167 ac_status=$?
5168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5169 (exit $ac_status); }; } &&
4988 { ac_try='test -s conftest.$ac_objext' 5170 { ac_try='test -s conftest.$ac_objext'
4989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4990 (eval $ac_try) 2>&5 5172 (eval $ac_try) 2>&5
4991 ac_status=$? 5173 ac_status=$?
4992 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4993 (exit $ac_status); }; }; then 5175 (exit $ac_status); }; }; then
4998 'extern "C" void exit (int) throw ();' \ 5180 'extern "C" void exit (int) throw ();' \
4999 'extern "C" void exit (int);' \ 5181 'extern "C" void exit (int);' \
5000 'void exit (int);' 5182 'void exit (int);'
5001do 5183do
5002 cat >conftest.$ac_ext <<_ACEOF 5184 cat >conftest.$ac_ext <<_ACEOF
5003#line $LINENO "configure"
5004/* confdefs.h. */ 5185/* confdefs.h. */
5005_ACEOF 5186_ACEOF
5006cat confdefs.h >>conftest.$ac_ext 5187cat confdefs.h >>conftest.$ac_ext
5007cat >>conftest.$ac_ext <<_ACEOF 5188cat >>conftest.$ac_ext <<_ACEOF
5008/* end confdefs.h. */ 5189/* end confdefs.h. */
5016 return 0; 5197 return 0;
5017} 5198}
5018_ACEOF 5199_ACEOF
5019rm -f conftest.$ac_objext 5200rm -f conftest.$ac_objext
5020if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5201if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5021 (eval $ac_compile) 2>&5 5202 (eval $ac_compile) 2>conftest.er1
5022 ac_status=$? 5203 ac_status=$?
5204 grep -v '^ *+' conftest.er1 >conftest.err
5205 rm -f conftest.er1
5206 cat conftest.err >&5
5023 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5024 (exit $ac_status); } && 5208 (exit $ac_status); } &&
5025 { ac_try='test -s conftest.$ac_objext' 5209 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5027 (eval $ac_try) 2>&5 5211 (eval $ac_try) 2>&5
5028 ac_status=$? 5212 ac_status=$?
5029 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5214 (exit $ac_status); }; } &&
5215 { ac_try='test -s conftest.$ac_objext'
5216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5217 (eval $ac_try) 2>&5
5218 ac_status=$?
5219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030 (exit $ac_status); }; }; then 5220 (exit $ac_status); }; }; then
5031 : 5221 :
5032else 5222else
5033 echo "$as_me: failed program was:" >&5 5223 echo "$as_me: failed program was:" >&5
5034sed 's/^/| /' conftest.$ac_ext >&5 5224sed 's/^/| /' conftest.$ac_ext >&5
5035 5225
5036continue 5226continue
5037fi 5227fi
5038rm -f conftest.$ac_objext conftest.$ac_ext 5228rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5039 cat >conftest.$ac_ext <<_ACEOF 5229 cat >conftest.$ac_ext <<_ACEOF
5040#line $LINENO "configure"
5041/* confdefs.h. */ 5230/* confdefs.h. */
5042_ACEOF 5231_ACEOF
5043cat confdefs.h >>conftest.$ac_ext 5232cat confdefs.h >>conftest.$ac_ext
5044cat >>conftest.$ac_ext <<_ACEOF 5233cat >>conftest.$ac_ext <<_ACEOF
5045/* end confdefs.h. */ 5234/* end confdefs.h. */
5052 return 0; 5241 return 0;
5053} 5242}
5054_ACEOF 5243_ACEOF
5055rm -f conftest.$ac_objext 5244rm -f conftest.$ac_objext
5056if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5245if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5057 (eval $ac_compile) 2>&5 5246 (eval $ac_compile) 2>conftest.er1
5058 ac_status=$? 5247 ac_status=$?
5248 grep -v '^ *+' conftest.er1 >conftest.err
5249 rm -f conftest.er1
5250 cat conftest.err >&5
5059 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5060 (exit $ac_status); } && 5252 (exit $ac_status); } &&
5061 { ac_try='test -s conftest.$ac_objext' 5253 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5063 (eval $ac_try) 2>&5 5255 (eval $ac_try) 2>&5
5064 ac_status=$? 5256 ac_status=$?
5065 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5258 (exit $ac_status); }; } &&
5259 { ac_try='test -s conftest.$ac_objext'
5260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5261 (eval $ac_try) 2>&5
5262 ac_status=$?
5263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5066 (exit $ac_status); }; }; then 5264 (exit $ac_status); }; }; then
5067 break 5265 break
5068else 5266else
5069 echo "$as_me: failed program was:" >&5 5267 echo "$as_me: failed program was:" >&5
5070sed 's/^/| /' conftest.$ac_ext >&5 5268sed 's/^/| /' conftest.$ac_ext >&5
5071 5269
5072fi 5270fi
5073rm -f conftest.$ac_objext conftest.$ac_ext 5271rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5074done 5272done
5075rm -f conftest* 5273rm -f conftest*
5076if test -n "$ac_declaration"; then 5274if test -n "$ac_declaration"; then
5077 echo '#ifdef __cplusplus' >>confdefs.h 5275 echo '#ifdef __cplusplus' >>confdefs.h
5078 echo $ac_declaration >>confdefs.h 5276 echo $ac_declaration >>confdefs.h
5082else 5280else
5083 echo "$as_me: failed program was:" >&5 5281 echo "$as_me: failed program was:" >&5
5084sed 's/^/| /' conftest.$ac_ext >&5 5282sed 's/^/| /' conftest.$ac_ext >&5
5085 5283
5086fi 5284fi
5087rm -f conftest.$ac_objext conftest.$ac_ext 5285rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5088ac_ext=c 5286ac_ext=c
5089ac_cpp='$CPP $CPPFLAGS' 5287ac_cpp='$CPP $CPPFLAGS'
5090ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5288ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5091ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5289ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5092ac_compiler_gnu=$ac_cv_c_compiler_gnu 5290ac_compiler_gnu=$ac_cv_c_compiler_gnu
5219 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5417 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5220 # <limits.h> exists even on freestanding compilers. 5418 # <limits.h> exists even on freestanding compilers.
5221 # On the NeXT, cc -E runs the code through the compiler's parser, 5419 # On the NeXT, cc -E runs the code through the compiler's parser,
5222 # not just through cpp. "Syntax error" is here to catch this case. 5420 # not just through cpp. "Syntax error" is here to catch this case.
5223 cat >conftest.$ac_ext <<_ACEOF 5421 cat >conftest.$ac_ext <<_ACEOF
5224#line $LINENO "configure"
5225/* confdefs.h. */ 5422/* confdefs.h. */
5226_ACEOF 5423_ACEOF
5227cat confdefs.h >>conftest.$ac_ext 5424cat confdefs.h >>conftest.$ac_ext
5228cat >>conftest.$ac_ext <<_ACEOF 5425cat >>conftest.$ac_ext <<_ACEOF
5229/* end confdefs.h. */ 5426/* end confdefs.h. */
5230#ifdef __STDC__ 5427#ifdef __STDC__
5231# include <limits.h> 5428# include <limits.h>
5232#else 5429#else
5233# include <assert.h> 5430# include <assert.h>
5234#endif 5431#endif
5235 Syntax error 5432 Syntax error
5236_ACEOF 5433_ACEOF
5237if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5434if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5238 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5435 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5239 ac_status=$? 5436 ac_status=$?
5240 grep -v '^ *+' conftest.er1 >conftest.err 5437 grep -v '^ *+' conftest.er1 >conftest.err
5242 cat conftest.err >&5 5439 cat conftest.err >&5
5243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5244 (exit $ac_status); } >/dev/null; then 5441 (exit $ac_status); } >/dev/null; then
5245 if test -s conftest.err; then 5442 if test -s conftest.err; then
5246 ac_cpp_err=$ac_c_preproc_warn_flag 5443 ac_cpp_err=$ac_c_preproc_warn_flag
5444 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5247 else 5445 else
5248 ac_cpp_err= 5446 ac_cpp_err=
5249 fi 5447 fi
5250else 5448else
5251 ac_cpp_err=yes 5449 ac_cpp_err=yes
5262rm -f conftest.err conftest.$ac_ext 5460rm -f conftest.err conftest.$ac_ext
5263 5461
5264 # OK, works on sane cases. Now check whether non-existent headers 5462 # OK, works on sane cases. Now check whether non-existent headers
5265 # can be detected and how. 5463 # can be detected and how.
5266 cat >conftest.$ac_ext <<_ACEOF 5464 cat >conftest.$ac_ext <<_ACEOF
5267#line $LINENO "configure"
5268/* confdefs.h. */ 5465/* confdefs.h. */
5269_ACEOF 5466_ACEOF
5270cat confdefs.h >>conftest.$ac_ext 5467cat confdefs.h >>conftest.$ac_ext
5271cat >>conftest.$ac_ext <<_ACEOF 5468cat >>conftest.$ac_ext <<_ACEOF
5272/* end confdefs.h. */ 5469/* end confdefs.h. */
5280 cat conftest.err >&5 5477 cat conftest.err >&5
5281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5282 (exit $ac_status); } >/dev/null; then 5479 (exit $ac_status); } >/dev/null; then
5283 if test -s conftest.err; then 5480 if test -s conftest.err; then
5284 ac_cpp_err=$ac_c_preproc_warn_flag 5481 ac_cpp_err=$ac_c_preproc_warn_flag
5482 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5285 else 5483 else
5286 ac_cpp_err= 5484 ac_cpp_err=
5287 fi 5485 fi
5288else 5486else
5289 ac_cpp_err=yes 5487 ac_cpp_err=yes
5326 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5524 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5327 # <limits.h> exists even on freestanding compilers. 5525 # <limits.h> exists even on freestanding compilers.
5328 # On the NeXT, cc -E runs the code through the compiler's parser, 5526 # On the NeXT, cc -E runs the code through the compiler's parser,
5329 # not just through cpp. "Syntax error" is here to catch this case. 5527 # not just through cpp. "Syntax error" is here to catch this case.
5330 cat >conftest.$ac_ext <<_ACEOF 5528 cat >conftest.$ac_ext <<_ACEOF
5331#line $LINENO "configure"
5332/* confdefs.h. */ 5529/* confdefs.h. */
5333_ACEOF 5530_ACEOF
5334cat confdefs.h >>conftest.$ac_ext 5531cat confdefs.h >>conftest.$ac_ext
5335cat >>conftest.$ac_ext <<_ACEOF 5532cat >>conftest.$ac_ext <<_ACEOF
5336/* end confdefs.h. */ 5533/* end confdefs.h. */
5337#ifdef __STDC__ 5534#ifdef __STDC__
5338# include <limits.h> 5535# include <limits.h>
5339#else 5536#else
5340# include <assert.h> 5537# include <assert.h>
5341#endif 5538#endif
5342 Syntax error 5539 Syntax error
5343_ACEOF 5540_ACEOF
5344if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5541if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5345 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5542 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5346 ac_status=$? 5543 ac_status=$?
5347 grep -v '^ *+' conftest.er1 >conftest.err 5544 grep -v '^ *+' conftest.er1 >conftest.err
5349 cat conftest.err >&5 5546 cat conftest.err >&5
5350 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5351 (exit $ac_status); } >/dev/null; then 5548 (exit $ac_status); } >/dev/null; then
5352 if test -s conftest.err; then 5549 if test -s conftest.err; then
5353 ac_cpp_err=$ac_c_preproc_warn_flag 5550 ac_cpp_err=$ac_c_preproc_warn_flag
5551 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5354 else 5552 else
5355 ac_cpp_err= 5553 ac_cpp_err=
5356 fi 5554 fi
5357else 5555else
5358 ac_cpp_err=yes 5556 ac_cpp_err=yes
5369rm -f conftest.err conftest.$ac_ext 5567rm -f conftest.err conftest.$ac_ext
5370 5568
5371 # OK, works on sane cases. Now check whether non-existent headers 5569 # OK, works on sane cases. Now check whether non-existent headers
5372 # can be detected and how. 5570 # can be detected and how.
5373 cat >conftest.$ac_ext <<_ACEOF 5571 cat >conftest.$ac_ext <<_ACEOF
5374#line $LINENO "configure"
5375/* confdefs.h. */ 5572/* confdefs.h. */
5376_ACEOF 5573_ACEOF
5377cat confdefs.h >>conftest.$ac_ext 5574cat confdefs.h >>conftest.$ac_ext
5378cat >>conftest.$ac_ext <<_ACEOF 5575cat >>conftest.$ac_ext <<_ACEOF
5379/* end confdefs.h. */ 5576/* end confdefs.h. */
5387 cat conftest.err >&5 5584 cat conftest.err >&5
5388 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5389 (exit $ac_status); } >/dev/null; then 5586 (exit $ac_status); } >/dev/null; then
5390 if test -s conftest.err; then 5587 if test -s conftest.err; then
5391 ac_cpp_err=$ac_c_preproc_warn_flag 5588 ac_cpp_err=$ac_c_preproc_warn_flag
5589 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5392 else 5590 else
5393 ac_cpp_err= 5591 ac_cpp_err=
5394 fi 5592 fi
5395else 5593else
5396 ac_cpp_err=yes 5594 ac_cpp_err=yes
5544echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 5742echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
5545if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 5743if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5546 echo $ECHO_N "(cached) $ECHO_C" >&6 5744 echo $ECHO_N "(cached) $ECHO_C" >&6
5547else 5745else
5548 cat >conftest.$ac_ext <<_ACEOF 5746 cat >conftest.$ac_ext <<_ACEOF
5549#line $LINENO "configure"
5550/* confdefs.h. */ 5747/* confdefs.h. */
5551_ACEOF 5748_ACEOF
5552cat confdefs.h >>conftest.$ac_ext 5749cat confdefs.h >>conftest.$ac_ext
5553cat >>conftest.$ac_ext <<_ACEOF 5750cat >>conftest.$ac_ext <<_ACEOF
5554/* end confdefs.h. */ 5751/* end confdefs.h. */
5564 return 0; 5761 return 0;
5565} 5762}
5566_ACEOF 5763_ACEOF
5567rm -f conftest.$ac_objext 5764rm -f conftest.$ac_objext
5568if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5765if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5569 (eval $ac_compile) 2>&5 5766 (eval $ac_compile) 2>conftest.er1
5570 ac_status=$? 5767 ac_status=$?
5768 grep -v '^ *+' conftest.er1 >conftest.err
5769 rm -f conftest.er1
5770 cat conftest.err >&5
5571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5572 (exit $ac_status); } && 5772 (exit $ac_status); } &&
5573 { ac_try='test -s conftest.$ac_objext' 5773 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5575 (eval $ac_try) 2>&5 5775 (eval $ac_try) 2>&5
5576 ac_status=$? 5776 ac_status=$?
5577 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5778 (exit $ac_status); }; } &&
5779 { ac_try='test -s conftest.$ac_objext'
5780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5781 (eval $ac_try) 2>&5
5782 ac_status=$?
5783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5578 (exit $ac_status); }; }; then 5784 (exit $ac_status); }; }; then
5579 ac_compiler_gnu=yes 5785 ac_compiler_gnu=yes
5580else 5786else
5581 echo "$as_me: failed program was:" >&5 5787 echo "$as_me: failed program was:" >&5
5582sed 's/^/| /' conftest.$ac_ext >&5 5788sed 's/^/| /' conftest.$ac_ext >&5
5583 5789
5584ac_compiler_gnu=no 5790ac_compiler_gnu=no
5585fi 5791fi
5586rm -f conftest.$ac_objext conftest.$ac_ext 5792rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5587ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 5793ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5588 5794
5589fi 5795fi
5590echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 5796echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5591echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 5797echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
5597echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 5803echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
5598if test "${ac_cv_prog_cxx_g+set}" = set; then 5804if test "${ac_cv_prog_cxx_g+set}" = set; then
5599 echo $ECHO_N "(cached) $ECHO_C" >&6 5805 echo $ECHO_N "(cached) $ECHO_C" >&6
5600else 5806else
5601 cat >conftest.$ac_ext <<_ACEOF 5807 cat >conftest.$ac_ext <<_ACEOF
5602#line $LINENO "configure"
5603/* confdefs.h. */ 5808/* confdefs.h. */
5604_ACEOF 5809_ACEOF
5605cat confdefs.h >>conftest.$ac_ext 5810cat confdefs.h >>conftest.$ac_ext
5606cat >>conftest.$ac_ext <<_ACEOF 5811cat >>conftest.$ac_ext <<_ACEOF
5607/* end confdefs.h. */ 5812/* end confdefs.h. */
5614 return 0; 5819 return 0;
5615} 5820}
5616_ACEOF 5821_ACEOF
5617rm -f conftest.$ac_objext 5822rm -f conftest.$ac_objext
5618if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5823if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5619 (eval $ac_compile) 2>&5 5824 (eval $ac_compile) 2>conftest.er1
5620 ac_status=$? 5825 ac_status=$?
5826 grep -v '^ *+' conftest.er1 >conftest.err
5827 rm -f conftest.er1
5828 cat conftest.err >&5
5621 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5622 (exit $ac_status); } && 5830 (exit $ac_status); } &&
5623 { ac_try='test -s conftest.$ac_objext' 5831 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5625 (eval $ac_try) 2>&5 5833 (eval $ac_try) 2>&5
5626 ac_status=$? 5834 ac_status=$?
5627 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5836 (exit $ac_status); }; } &&
5837 { ac_try='test -s conftest.$ac_objext'
5838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5839 (eval $ac_try) 2>&5
5840 ac_status=$?
5841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5628 (exit $ac_status); }; }; then 5842 (exit $ac_status); }; }; then
5629 ac_cv_prog_cxx_g=yes 5843 ac_cv_prog_cxx_g=yes
5630else 5844else
5631 echo "$as_me: failed program was:" >&5 5845 echo "$as_me: failed program was:" >&5
5632sed 's/^/| /' conftest.$ac_ext >&5 5846sed 's/^/| /' conftest.$ac_ext >&5
5633 5847
5634ac_cv_prog_cxx_g=no 5848ac_cv_prog_cxx_g=no
5635fi 5849fi
5636rm -f conftest.$ac_objext conftest.$ac_ext 5850rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5637fi 5851fi
5638echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 5852echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5639echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 5853echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5640if test "$ac_test_CXXFLAGS" = set; then 5854if test "$ac_test_CXXFLAGS" = set; then
5641 CXXFLAGS=$ac_save_CXXFLAGS 5855 CXXFLAGS=$ac_save_CXXFLAGS
5659 'extern "C" void exit (int) throw ();' \ 5873 'extern "C" void exit (int) throw ();' \
5660 'extern "C" void exit (int);' \ 5874 'extern "C" void exit (int);' \
5661 'void exit (int);' 5875 'void exit (int);'
5662do 5876do
5663 cat >conftest.$ac_ext <<_ACEOF 5877 cat >conftest.$ac_ext <<_ACEOF
5664#line $LINENO "configure"
5665/* confdefs.h. */ 5878/* confdefs.h. */
5666_ACEOF 5879_ACEOF
5667cat confdefs.h >>conftest.$ac_ext 5880cat confdefs.h >>conftest.$ac_ext
5668cat >>conftest.$ac_ext <<_ACEOF 5881cat >>conftest.$ac_ext <<_ACEOF
5669/* end confdefs.h. */ 5882/* end confdefs.h. */
5677 return 0; 5890 return 0;
5678} 5891}
5679_ACEOF 5892_ACEOF
5680rm -f conftest.$ac_objext 5893rm -f conftest.$ac_objext
5681if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5894if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5682 (eval $ac_compile) 2>&5 5895 (eval $ac_compile) 2>conftest.er1
5683 ac_status=$? 5896 ac_status=$?
5897 grep -v '^ *+' conftest.er1 >conftest.err
5898 rm -f conftest.er1
5899 cat conftest.err >&5
5684 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5685 (exit $ac_status); } && 5901 (exit $ac_status); } &&
5686 { ac_try='test -s conftest.$ac_objext' 5902 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5688 (eval $ac_try) 2>&5 5904 (eval $ac_try) 2>&5
5689 ac_status=$? 5905 ac_status=$?
5690 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5907 (exit $ac_status); }; } &&
5908 { ac_try='test -s conftest.$ac_objext'
5909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5910 (eval $ac_try) 2>&5
5911 ac_status=$?
5912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5691 (exit $ac_status); }; }; then 5913 (exit $ac_status); }; }; then
5692 : 5914 :
5693else 5915else
5694 echo "$as_me: failed program was:" >&5 5916 echo "$as_me: failed program was:" >&5
5695sed 's/^/| /' conftest.$ac_ext >&5 5917sed 's/^/| /' conftest.$ac_ext >&5
5696 5918
5697continue 5919continue
5698fi 5920fi
5699rm -f conftest.$ac_objext conftest.$ac_ext 5921rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5700 cat >conftest.$ac_ext <<_ACEOF 5922 cat >conftest.$ac_ext <<_ACEOF
5701#line $LINENO "configure"
5702/* confdefs.h. */ 5923/* confdefs.h. */
5703_ACEOF 5924_ACEOF
5704cat confdefs.h >>conftest.$ac_ext 5925cat confdefs.h >>conftest.$ac_ext
5705cat >>conftest.$ac_ext <<_ACEOF 5926cat >>conftest.$ac_ext <<_ACEOF
5706/* end confdefs.h. */ 5927/* end confdefs.h. */
5713 return 0; 5934 return 0;
5714} 5935}
5715_ACEOF 5936_ACEOF
5716rm -f conftest.$ac_objext 5937rm -f conftest.$ac_objext
5717if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5938if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5718 (eval $ac_compile) 2>&5 5939 (eval $ac_compile) 2>conftest.er1
5719 ac_status=$? 5940 ac_status=$?
5941 grep -v '^ *+' conftest.er1 >conftest.err
5942 rm -f conftest.er1
5943 cat conftest.err >&5
5720 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5721 (exit $ac_status); } && 5945 (exit $ac_status); } &&
5722 { ac_try='test -s conftest.$ac_objext' 5946 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5724 (eval $ac_try) 2>&5 5948 (eval $ac_try) 2>&5
5725 ac_status=$? 5949 ac_status=$?
5726 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5951 (exit $ac_status); }; } &&
5952 { ac_try='test -s conftest.$ac_objext'
5953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5954 (eval $ac_try) 2>&5
5955 ac_status=$?
5956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5727 (exit $ac_status); }; }; then 5957 (exit $ac_status); }; }; then
5728 break 5958 break
5729else 5959else
5730 echo "$as_me: failed program was:" >&5 5960 echo "$as_me: failed program was:" >&5
5731sed 's/^/| /' conftest.$ac_ext >&5 5961sed 's/^/| /' conftest.$ac_ext >&5
5732 5962
5733fi 5963fi
5734rm -f conftest.$ac_objext conftest.$ac_ext 5964rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5735done 5965done
5736rm -f conftest* 5966rm -f conftest*
5737if test -n "$ac_declaration"; then 5967if test -n "$ac_declaration"; then
5738 echo '#ifdef __cplusplus' >>confdefs.h 5968 echo '#ifdef __cplusplus' >>confdefs.h
5739 echo $ac_declaration >>confdefs.h 5969 echo $ac_declaration >>confdefs.h
5870if test "${ac_cv_prog_gcc_traditional+set}" = set; then 6100if test "${ac_cv_prog_gcc_traditional+set}" = set; then
5871 echo $ECHO_N "(cached) $ECHO_C" >&6 6101 echo $ECHO_N "(cached) $ECHO_C" >&6
5872else 6102else
5873 ac_pattern="Autoconf.*'x'" 6103 ac_pattern="Autoconf.*'x'"
5874 cat >conftest.$ac_ext <<_ACEOF 6104 cat >conftest.$ac_ext <<_ACEOF
5875#line $LINENO "configure"
5876/* confdefs.h. */ 6105/* confdefs.h. */
5877_ACEOF 6106_ACEOF
5878cat confdefs.h >>conftest.$ac_ext 6107cat confdefs.h >>conftest.$ac_ext
5879cat >>conftest.$ac_ext <<_ACEOF 6108cat >>conftest.$ac_ext <<_ACEOF
5880/* end confdefs.h. */ 6109/* end confdefs.h. */
5890rm -f conftest* 6119rm -f conftest*
5891 6120
5892 6121
5893 if test $ac_cv_prog_gcc_traditional = no; then 6122 if test $ac_cv_prog_gcc_traditional = no; then
5894 cat >conftest.$ac_ext <<_ACEOF 6123 cat >conftest.$ac_ext <<_ACEOF
5895#line $LINENO "configure"
5896/* confdefs.h. */ 6124/* confdefs.h. */
5897_ACEOF 6125_ACEOF
5898cat confdefs.h >>conftest.$ac_ext 6126cat confdefs.h >>conftest.$ac_ext
5899cat >>conftest.$ac_ext <<_ACEOF 6127cat >>conftest.$ac_ext <<_ACEOF
5900/* end confdefs.h. */ 6128/* end confdefs.h. */
5965# AIX /bin/install 6193# AIX /bin/install
5966# AmigaOS /C/install, which installs bootblocks on floppy discs 6194# AmigaOS /C/install, which installs bootblocks on floppy discs
5967# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 6195# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5968# AFS /usr/afsws/bin/install, which mishandles nonexistent args 6196# AFS /usr/afsws/bin/install, which mishandles nonexistent args
5969# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 6197# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6198# OS/2's system install, which has a completely different semantic
5970# ./install, which can be erroneously created by make from ./install.sh. 6199# ./install, which can be erroneously created by make from ./install.sh.
5971echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 6200echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5972echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 6201echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5973if test -z "$INSTALL"; then 6202if test -z "$INSTALL"; then
5974if test "${ac_cv_path_install+set}" = set; then 6203if test "${ac_cv_path_install+set}" = set; then
5981 test -z "$as_dir" && as_dir=. 6210 test -z "$as_dir" && as_dir=.
5982 # Account for people who put trailing slashes in PATH elements. 6211 # Account for people who put trailing slashes in PATH elements.
5983case $as_dir/ in 6212case $as_dir/ in
5984 ./ | .// | /cC/* | \ 6213 ./ | .// | /cC/* | \
5985 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 6214 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6215 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5986 /usr/ucb/* ) ;; 6216 /usr/ucb/* ) ;;
5987 *) 6217 *)
5988 # OSF1 and SCO ODT 3.0 have their own names for install. 6218 # OSF1 and SCO ODT 3.0 have their own names for install.
5989 # Don't use installbsd from OSF since it installs stuff as root 6219 # Don't use installbsd from OSF since it installs stuff as root
5990 # by default. 6220 # by default.
5991 for ac_prog in ginstall scoinst install; do 6221 for ac_prog in ginstall scoinst install; do
5992 for ac_exec_ext in '' $ac_executable_extensions; do 6222 for ac_exec_ext in '' $ac_executable_extensions; do
5993 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 6223 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5994 if test $ac_prog = install && 6224 if test $ac_prog = install &&
5995 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 6225 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5996 # AIX install. It has an incompatible calling convention. 6226 # AIX install. It has an incompatible calling convention.
5997 : 6227 :
5998 elif test $ac_prog = install && 6228 elif test $ac_prog = install &&
5999 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 6229 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6000 # program-specific install script used by HP pwplus--don't use. 6230 # program-specific install script used by HP pwplus--don't use.
6001 : 6231 :
6002 else 6232 else
6003 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 6233 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6004 break 3 6234 break 3
6005 fi 6235 fi
6006 fi 6236 fi
6007 done 6237 done
6008 done 6238 done
6009 ;; 6239 ;;
6010esac 6240esac
6011done 6241done
6044echo "${ECHO_T}no, using $LN_S" >&6 6274echo "${ECHO_T}no, using $LN_S" >&6
6045fi 6275fi
6046 6276
6047echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 6277echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6048echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 6278echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
6049set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 6279set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
6050if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 6280if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
6051 echo $ECHO_N "(cached) $ECHO_C" >&6 6281 echo $ECHO_N "(cached) $ECHO_C" >&6
6052else 6282else
6053 cat >conftest.make <<\_ACEOF 6283 cat >conftest.make <<\_ACEOF
6054all: 6284all:
6152else 6382else
6153 RANLIB="$ac_cv_prog_RANLIB" 6383 RANLIB="$ac_cv_prog_RANLIB"
6154fi 6384fi
6155 6385
6156 6386
6157
6158 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
6159echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
6160if test "${ac_cv_lib_cposix_strerror+set}" = set; then
6161 echo $ECHO_N "(cached) $ECHO_C" >&6
6162else
6163 ac_check_lib_save_LIBS=$LIBS
6164LIBS="-lcposix $LIBS"
6165cat >conftest.$ac_ext <<_ACEOF
6166#line $LINENO "configure"
6167/* confdefs.h. */
6168_ACEOF
6169cat confdefs.h >>conftest.$ac_ext
6170cat >>conftest.$ac_ext <<_ACEOF
6171/* end confdefs.h. */
6172
6173/* Override any gcc2 internal prototype to avoid an error. */
6174#ifdef __cplusplus
6175extern "C"
6176#endif
6177/* We use char because int might match the return type of a gcc2
6178 builtin and then its argument prototype would still apply. */
6179char strerror ();
6180int
6181main ()
6182{
6183strerror ();
6184 ;
6185 return 0;
6186}
6187_ACEOF
6188rm -f conftest.$ac_objext conftest$ac_exeext
6189if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6190 (eval $ac_link) 2>&5
6191 ac_status=$?
6192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6193 (exit $ac_status); } &&
6194 { ac_try='test -s conftest$ac_exeext'
6195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6196 (eval $ac_try) 2>&5
6197 ac_status=$?
6198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6199 (exit $ac_status); }; }; then
6200 ac_cv_lib_cposix_strerror=yes
6201else
6202 echo "$as_me: failed program was:" >&5
6203sed 's/^/| /' conftest.$ac_ext >&5
6204
6205ac_cv_lib_cposix_strerror=no
6206fi
6207rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6208LIBS=$ac_check_lib_save_LIBS
6209fi
6210echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
6211echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
6212if test $ac_cv_lib_cposix_strerror = yes; then
6213 LIBS="$LIBS -lcposix"
6214fi
6215
6216
6217
6218
6219# Check whether --enable-iftype or --disable-iftype was given. 6387# Check whether --enable-iftype or --disable-iftype was given.
6220if test "${enable_iftype+set}" = set; then 6388if test "${enable_iftype+set}" = set; then
6221 enableval="$enable_iftype" 6389 enableval="$enable_iftype"
6222 6390
6223 IFTYPE=`echo $enableval | sed s%/.*%%` 6391 IFTYPE=`echo $enableval | sed s%/.*%%`
6248#define HAVE_FREEBSD 1 6416#define HAVE_FREEBSD 1
6249_ACEOF 6417_ACEOF
6250 6418
6251 ;; 6419 ;;
6252 *darwin*) 6420 *darwin*)
6253 IFTYPE=tincd 6421 IFTYPE=native
6254 IFSUBTYPE=darwin 6422 IFSUBTYPE=darwin
6255 6423
6256cat >>confdefs.h <<\_ACEOF 6424cat >>confdefs.h <<\_ACEOF
6257#define HAVE_DARWIN 1 6425#define HAVE_DARWIN 1
6258_ACEOF 6426_ACEOF
6304echo "$as_me:$LINENO: result: $IFTYPE/$IFSUBTYPE" >&5 6472echo "$as_me:$LINENO: result: $IFTYPE/$IFSUBTYPE" >&5
6305echo "${ECHO_T}$IFTYPE/$IFSUBTYPE" >&6 6473echo "${ECHO_T}$IFTYPE/$IFSUBTYPE" >&6
6306IFTYPE=$IFTYPE 6474IFTYPE=$IFTYPE
6307 6475
6308IFSUBTYPE=$IFSUBTYPE 6476IFSUBTYPE=$IFSUBTYPE
6477
6478
6479cat >>confdefs.h <<_ACEOF
6480#define IFTYPE "$IFTYPE"
6481_ACEOF
6482
6483
6484cat >>confdefs.h <<_ACEOF
6485#define IFSUBTYPE "$IFSUBTYPE"
6486_ACEOF
6309 6487
6310 6488
6311cat >confcache <<\_ACEOF 6489cat >confcache <<\_ACEOF
6312# This file is a shell script that caches the results of configure 6490# This file is a shell script that caches the results of configure
6313# tests run on this system so they can be shared between configure 6491# tests run on this system so they can be shared between configure
6334 case `(ac_space=' '; set | grep ac_space) 2>&1` in 6512 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6335 *ac_space=\ *) 6513 *ac_space=\ *)
6336 # `set' does not quote correctly, so add quotes (double-quote 6514 # `set' does not quote correctly, so add quotes (double-quote
6337 # substitution turns \\\\ into \\, and sed turns \\ into \). 6515 # substitution turns \\\\ into \\, and sed turns \\ into \).
6338 sed -n \ 6516 sed -n \
6339 "s/'/'\\\\''/g; 6517 "s/'/'\\\\''/g;
6340 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 6518 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6341 ;; 6519 ;;
6342 *) 6520 *)
6343 # `set' quotes correctly as required by POSIX, so do not add quotes. 6521 # `set' quotes correctly as required by POSIX, so do not add quotes.
6344 sed -n \ 6522 sed -n \
6345 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 6523 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6346 ;; 6524 ;;
6347 esac; 6525 esac;
6348} | 6526} |
6349 sed ' 6527 sed '
6350 t clear 6528 t clear
6393 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6571 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6394 # <limits.h> exists even on freestanding compilers. 6572 # <limits.h> exists even on freestanding compilers.
6395 # On the NeXT, cc -E runs the code through the compiler's parser, 6573 # On the NeXT, cc -E runs the code through the compiler's parser,
6396 # not just through cpp. "Syntax error" is here to catch this case. 6574 # not just through cpp. "Syntax error" is here to catch this case.
6397 cat >conftest.$ac_ext <<_ACEOF 6575 cat >conftest.$ac_ext <<_ACEOF
6398#line $LINENO "configure"
6399/* confdefs.h. */ 6576/* confdefs.h. */
6400_ACEOF 6577_ACEOF
6401cat confdefs.h >>conftest.$ac_ext 6578cat confdefs.h >>conftest.$ac_ext
6402cat >>conftest.$ac_ext <<_ACEOF 6579cat >>conftest.$ac_ext <<_ACEOF
6403/* end confdefs.h. */ 6580/* end confdefs.h. */
6404#ifdef __STDC__ 6581#ifdef __STDC__
6405# include <limits.h> 6582# include <limits.h>
6406#else 6583#else
6407# include <assert.h> 6584# include <assert.h>
6408#endif 6585#endif
6409 Syntax error 6586 Syntax error
6410_ACEOF 6587_ACEOF
6411if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6588if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6412 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6589 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6413 ac_status=$? 6590 ac_status=$?
6414 grep -v '^ *+' conftest.er1 >conftest.err 6591 grep -v '^ *+' conftest.er1 >conftest.err
6416 cat conftest.err >&5 6593 cat conftest.err >&5
6417 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6418 (exit $ac_status); } >/dev/null; then 6595 (exit $ac_status); } >/dev/null; then
6419 if test -s conftest.err; then 6596 if test -s conftest.err; then
6420 ac_cpp_err=$ac_cxx_preproc_warn_flag 6597 ac_cpp_err=$ac_cxx_preproc_warn_flag
6598 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6421 else 6599 else
6422 ac_cpp_err= 6600 ac_cpp_err=
6423 fi 6601 fi
6424else 6602else
6425 ac_cpp_err=yes 6603 ac_cpp_err=yes
6436rm -f conftest.err conftest.$ac_ext 6614rm -f conftest.err conftest.$ac_ext
6437 6615
6438 # OK, works on sane cases. Now check whether non-existent headers 6616 # OK, works on sane cases. Now check whether non-existent headers
6439 # can be detected and how. 6617 # can be detected and how.
6440 cat >conftest.$ac_ext <<_ACEOF 6618 cat >conftest.$ac_ext <<_ACEOF
6441#line $LINENO "configure"
6442/* confdefs.h. */ 6619/* confdefs.h. */
6443_ACEOF 6620_ACEOF
6444cat confdefs.h >>conftest.$ac_ext 6621cat confdefs.h >>conftest.$ac_ext
6445cat >>conftest.$ac_ext <<_ACEOF 6622cat >>conftest.$ac_ext <<_ACEOF
6446/* end confdefs.h. */ 6623/* end confdefs.h. */
6454 cat conftest.err >&5 6631 cat conftest.err >&5
6455 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6456 (exit $ac_status); } >/dev/null; then 6633 (exit $ac_status); } >/dev/null; then
6457 if test -s conftest.err; then 6634 if test -s conftest.err; then
6458 ac_cpp_err=$ac_cxx_preproc_warn_flag 6635 ac_cpp_err=$ac_cxx_preproc_warn_flag
6636 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6459 else 6637 else
6460 ac_cpp_err= 6638 ac_cpp_err=
6461 fi 6639 fi
6462else 6640else
6463 ac_cpp_err=yes 6641 ac_cpp_err=yes
6500 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6678 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6501 # <limits.h> exists even on freestanding compilers. 6679 # <limits.h> exists even on freestanding compilers.
6502 # On the NeXT, cc -E runs the code through the compiler's parser, 6680 # On the NeXT, cc -E runs the code through the compiler's parser,
6503 # not just through cpp. "Syntax error" is here to catch this case. 6681 # not just through cpp. "Syntax error" is here to catch this case.
6504 cat >conftest.$ac_ext <<_ACEOF 6682 cat >conftest.$ac_ext <<_ACEOF
6505#line $LINENO "configure"
6506/* confdefs.h. */ 6683/* confdefs.h. */
6507_ACEOF 6684_ACEOF
6508cat confdefs.h >>conftest.$ac_ext 6685cat confdefs.h >>conftest.$ac_ext
6509cat >>conftest.$ac_ext <<_ACEOF 6686cat >>conftest.$ac_ext <<_ACEOF
6510/* end confdefs.h. */ 6687/* end confdefs.h. */
6511#ifdef __STDC__ 6688#ifdef __STDC__
6512# include <limits.h> 6689# include <limits.h>
6513#else 6690#else
6514# include <assert.h> 6691# include <assert.h>
6515#endif 6692#endif
6516 Syntax error 6693 Syntax error
6517_ACEOF 6694_ACEOF
6518if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6695if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6519 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6696 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6520 ac_status=$? 6697 ac_status=$?
6521 grep -v '^ *+' conftest.er1 >conftest.err 6698 grep -v '^ *+' conftest.er1 >conftest.err
6523 cat conftest.err >&5 6700 cat conftest.err >&5
6524 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6525 (exit $ac_status); } >/dev/null; then 6702 (exit $ac_status); } >/dev/null; then
6526 if test -s conftest.err; then 6703 if test -s conftest.err; then
6527 ac_cpp_err=$ac_cxx_preproc_warn_flag 6704 ac_cpp_err=$ac_cxx_preproc_warn_flag
6705 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6528 else 6706 else
6529 ac_cpp_err= 6707 ac_cpp_err=
6530 fi 6708 fi
6531else 6709else
6532 ac_cpp_err=yes 6710 ac_cpp_err=yes
6543rm -f conftest.err conftest.$ac_ext 6721rm -f conftest.err conftest.$ac_ext
6544 6722
6545 # OK, works on sane cases. Now check whether non-existent headers 6723 # OK, works on sane cases. Now check whether non-existent headers
6546 # can be detected and how. 6724 # can be detected and how.
6547 cat >conftest.$ac_ext <<_ACEOF 6725 cat >conftest.$ac_ext <<_ACEOF
6548#line $LINENO "configure"
6549/* confdefs.h. */ 6726/* confdefs.h. */
6550_ACEOF 6727_ACEOF
6551cat confdefs.h >>conftest.$ac_ext 6728cat confdefs.h >>conftest.$ac_ext
6552cat >>conftest.$ac_ext <<_ACEOF 6729cat >>conftest.$ac_ext <<_ACEOF
6553/* end confdefs.h. */ 6730/* end confdefs.h. */
6561 cat conftest.err >&5 6738 cat conftest.err >&5
6562 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6563 (exit $ac_status); } >/dev/null; then 6740 (exit $ac_status); } >/dev/null; then
6564 if test -s conftest.err; then 6741 if test -s conftest.err; then
6565 ac_cpp_err=$ac_cxx_preproc_warn_flag 6742 ac_cpp_err=$ac_cxx_preproc_warn_flag
6743 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6566 else 6744 else
6567 ac_cpp_err= 6745 ac_cpp_err=
6568 fi 6746 fi
6569else 6747else
6570 ac_cpp_err=yes 6748 ac_cpp_err=yes
6606echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 6784echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6607if test "${ac_cv_header_stdc+set}" = set; then 6785if test "${ac_cv_header_stdc+set}" = set; then
6608 echo $ECHO_N "(cached) $ECHO_C" >&6 6786 echo $ECHO_N "(cached) $ECHO_C" >&6
6609else 6787else
6610 cat >conftest.$ac_ext <<_ACEOF 6788 cat >conftest.$ac_ext <<_ACEOF
6611#line $LINENO "configure"
6612/* confdefs.h. */ 6789/* confdefs.h. */
6613_ACEOF 6790_ACEOF
6614cat confdefs.h >>conftest.$ac_ext 6791cat confdefs.h >>conftest.$ac_ext
6615cat >>conftest.$ac_ext <<_ACEOF 6792cat >>conftest.$ac_ext <<_ACEOF
6616/* end confdefs.h. */ 6793/* end confdefs.h. */
6627 return 0; 6804 return 0;
6628} 6805}
6629_ACEOF 6806_ACEOF
6630rm -f conftest.$ac_objext 6807rm -f conftest.$ac_objext
6631if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6808if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6632 (eval $ac_compile) 2>&5 6809 (eval $ac_compile) 2>conftest.er1
6633 ac_status=$? 6810 ac_status=$?
6811 grep -v '^ *+' conftest.er1 >conftest.err
6812 rm -f conftest.er1
6813 cat conftest.err >&5
6634 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6635 (exit $ac_status); } && 6815 (exit $ac_status); } &&
6636 { ac_try='test -s conftest.$ac_objext' 6816 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6638 (eval $ac_try) 2>&5 6818 (eval $ac_try) 2>&5
6639 ac_status=$? 6819 ac_status=$?
6640 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6821 (exit $ac_status); }; } &&
6822 { ac_try='test -s conftest.$ac_objext'
6823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6824 (eval $ac_try) 2>&5
6825 ac_status=$?
6826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6641 (exit $ac_status); }; }; then 6827 (exit $ac_status); }; }; then
6642 ac_cv_header_stdc=yes 6828 ac_cv_header_stdc=yes
6643else 6829else
6644 echo "$as_me: failed program was:" >&5 6830 echo "$as_me: failed program was:" >&5
6645sed 's/^/| /' conftest.$ac_ext >&5 6831sed 's/^/| /' conftest.$ac_ext >&5
6646 6832
6647ac_cv_header_stdc=no 6833ac_cv_header_stdc=no
6648fi 6834fi
6649rm -f conftest.$ac_objext conftest.$ac_ext 6835rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6650 6836
6651if test $ac_cv_header_stdc = yes; then 6837if test $ac_cv_header_stdc = yes; then
6652 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6838 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6653 cat >conftest.$ac_ext <<_ACEOF 6839 cat >conftest.$ac_ext <<_ACEOF
6654#line $LINENO "configure"
6655/* confdefs.h. */ 6840/* confdefs.h. */
6656_ACEOF 6841_ACEOF
6657cat confdefs.h >>conftest.$ac_ext 6842cat confdefs.h >>conftest.$ac_ext
6658cat >>conftest.$ac_ext <<_ACEOF 6843cat >>conftest.$ac_ext <<_ACEOF
6659/* end confdefs.h. */ 6844/* end confdefs.h. */
6671fi 6856fi
6672 6857
6673if test $ac_cv_header_stdc = yes; then 6858if test $ac_cv_header_stdc = yes; then
6674 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6859 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6675 cat >conftest.$ac_ext <<_ACEOF 6860 cat >conftest.$ac_ext <<_ACEOF
6676#line $LINENO "configure"
6677/* confdefs.h. */ 6861/* confdefs.h. */
6678_ACEOF 6862_ACEOF
6679cat confdefs.h >>conftest.$ac_ext 6863cat confdefs.h >>conftest.$ac_ext
6680cat >>conftest.$ac_ext <<_ACEOF 6864cat >>conftest.$ac_ext <<_ACEOF
6681/* end confdefs.h. */ 6865/* end confdefs.h. */
6696 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 6880 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6697 if test "$cross_compiling" = yes; then 6881 if test "$cross_compiling" = yes; then
6698 : 6882 :
6699else 6883else
6700 cat >conftest.$ac_ext <<_ACEOF 6884 cat >conftest.$ac_ext <<_ACEOF
6701#line $LINENO "configure"
6702/* confdefs.h. */ 6885/* confdefs.h. */
6703_ACEOF 6886_ACEOF
6704cat confdefs.h >>conftest.$ac_ext 6887cat confdefs.h >>conftest.$ac_ext
6705cat >>conftest.$ac_ext <<_ACEOF 6888cat >>conftest.$ac_ext <<_ACEOF
6706/* end confdefs.h. */ 6889/* end confdefs.h. */
6708#if ((' ' & 0x0FF) == 0x020) 6891#if ((' ' & 0x0FF) == 0x020)
6709# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 6892# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6710# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 6893# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6711#else 6894#else
6712# define ISLOWER(c) \ 6895# define ISLOWER(c) \
6713 (('a' <= (c) && (c) <= 'i') \ 6896 (('a' <= (c) && (c) <= 'i') \
6714 || ('j' <= (c) && (c) <= 'r') \ 6897 || ('j' <= (c) && (c) <= 'r') \
6715 || ('s' <= (c) && (c) <= 'z')) 6898 || ('s' <= (c) && (c) <= 'z'))
6716# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 6899# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6717#endif 6900#endif
6718 6901
6719#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 6902#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6720int 6903int
6721main () 6904main ()
6722{ 6905{
6723 int i; 6906 int i;
6724 for (i = 0; i < 256; i++) 6907 for (i = 0; i < 256; i++)
6725 if (XOR (islower (i), ISLOWER (i)) 6908 if (XOR (islower (i), ISLOWER (i))
6726 || toupper (i) != TOUPPER (i)) 6909 || toupper (i) != TOUPPER (i))
6727 exit(2); 6910 exit(2);
6728 exit (0); 6911 exit (0);
6729} 6912}
6730_ACEOF 6913_ACEOF
6731rm -f conftest$ac_exeext 6914rm -f conftest$ac_exeext
6771 6954
6772 6955
6773 6956
6774 6957
6775for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 6958for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6776 inttypes.h stdint.h unistd.h 6959 inttypes.h stdint.h unistd.h
6777do 6960do
6778as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6961as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6779echo "$as_me:$LINENO: checking for $ac_header" >&5 6962echo "$as_me:$LINENO: checking for $ac_header" >&5
6780echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6963echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6781if eval "test \"\${$as_ac_Header+set}\" = set"; then 6964if eval "test \"\${$as_ac_Header+set}\" = set"; then
6782 echo $ECHO_N "(cached) $ECHO_C" >&6 6965 echo $ECHO_N "(cached) $ECHO_C" >&6
6783else 6966else
6784 cat >conftest.$ac_ext <<_ACEOF 6967 cat >conftest.$ac_ext <<_ACEOF
6785#line $LINENO "configure"
6786/* confdefs.h. */ 6968/* confdefs.h. */
6787_ACEOF 6969_ACEOF
6788cat confdefs.h >>conftest.$ac_ext 6970cat confdefs.h >>conftest.$ac_ext
6789cat >>conftest.$ac_ext <<_ACEOF 6971cat >>conftest.$ac_ext <<_ACEOF
6790/* end confdefs.h. */ 6972/* end confdefs.h. */
6792 6974
6793#include <$ac_header> 6975#include <$ac_header>
6794_ACEOF 6976_ACEOF
6795rm -f conftest.$ac_objext 6977rm -f conftest.$ac_objext
6796if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6978if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6797 (eval $ac_compile) 2>&5 6979 (eval $ac_compile) 2>conftest.er1
6798 ac_status=$? 6980 ac_status=$?
6981 grep -v '^ *+' conftest.er1 >conftest.err
6982 rm -f conftest.er1
6983 cat conftest.err >&5
6799 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6800 (exit $ac_status); } && 6985 (exit $ac_status); } &&
6801 { ac_try='test -s conftest.$ac_objext' 6986 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6803 (eval $ac_try) 2>&5 6988 (eval $ac_try) 2>&5
6804 ac_status=$? 6989 ac_status=$?
6805 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6991 (exit $ac_status); }; } &&
6992 { ac_try='test -s conftest.$ac_objext'
6993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6994 (eval $ac_try) 2>&5
6995 ac_status=$?
6996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6806 (exit $ac_status); }; }; then 6997 (exit $ac_status); }; }; then
6807 eval "$as_ac_Header=yes" 6998 eval "$as_ac_Header=yes"
6808else 6999else
6809 echo "$as_me: failed program was:" >&5 7000 echo "$as_me: failed program was:" >&5
6810sed 's/^/| /' conftest.$ac_ext >&5 7001sed 's/^/| /' conftest.$ac_ext >&5
6811 7002
6812eval "$as_ac_Header=no" 7003eval "$as_ac_Header=no"
6813fi 7004fi
6814rm -f conftest.$ac_objext conftest.$ac_ext 7005rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6815fi 7006fi
6816echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7007echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6817echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7008echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6818if test `eval echo '${'$as_ac_Header'}'` = yes; then 7009if test `eval echo '${'$as_ac_Header'}'` = yes; then
6819 cat >>confdefs.h <<_ACEOF 7010 cat >>confdefs.h <<_ACEOF
6824 7015
6825done 7016done
6826 7017
6827 7018
6828 7019
7020
6829for ac_header in ext/hash_map 7021for ac_header in ext/hash_map clocale
6830do 7022do
6831as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7023as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6832if eval "test \"\${$as_ac_Header+set}\" = set"; then 7024if eval "test \"\${$as_ac_Header+set}\" = set"; then
6833 echo "$as_me:$LINENO: checking for $ac_header" >&5 7025 echo "$as_me:$LINENO: checking for $ac_header" >&5
6834echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7026echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6840else 7032else
6841 # Is the header compilable? 7033 # Is the header compilable?
6842echo "$as_me:$LINENO: checking $ac_header usability" >&5 7034echo "$as_me:$LINENO: checking $ac_header usability" >&5
6843echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 7035echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6844cat >conftest.$ac_ext <<_ACEOF 7036cat >conftest.$ac_ext <<_ACEOF
6845#line $LINENO "configure"
6846/* confdefs.h. */ 7037/* confdefs.h. */
6847_ACEOF 7038_ACEOF
6848cat confdefs.h >>conftest.$ac_ext 7039cat confdefs.h >>conftest.$ac_ext
6849cat >>conftest.$ac_ext <<_ACEOF 7040cat >>conftest.$ac_ext <<_ACEOF
6850/* end confdefs.h. */ 7041/* end confdefs.h. */
6851$ac_includes_default 7042$ac_includes_default
6852#include <$ac_header> 7043#include <$ac_header>
6853_ACEOF 7044_ACEOF
6854rm -f conftest.$ac_objext 7045rm -f conftest.$ac_objext
6855if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7046if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6856 (eval $ac_compile) 2>&5 7047 (eval $ac_compile) 2>conftest.er1
6857 ac_status=$? 7048 ac_status=$?
7049 grep -v '^ *+' conftest.er1 >conftest.err
7050 rm -f conftest.er1
7051 cat conftest.err >&5
6858 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6859 (exit $ac_status); } && 7053 (exit $ac_status); } &&
6860 { ac_try='test -s conftest.$ac_objext' 7054 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6862 (eval $ac_try) 2>&5 7056 (eval $ac_try) 2>&5
6863 ac_status=$? 7057 ac_status=$?
6864 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7059 (exit $ac_status); }; } &&
7060 { ac_try='test -s conftest.$ac_objext'
7061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7062 (eval $ac_try) 2>&5
7063 ac_status=$?
7064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6865 (exit $ac_status); }; }; then 7065 (exit $ac_status); }; }; then
6866 ac_header_compiler=yes 7066 ac_header_compiler=yes
6867else 7067else
6868 echo "$as_me: failed program was:" >&5 7068 echo "$as_me: failed program was:" >&5
6869sed 's/^/| /' conftest.$ac_ext >&5 7069sed 's/^/| /' conftest.$ac_ext >&5
6870 7070
6871ac_header_compiler=no 7071ac_header_compiler=no
6872fi 7072fi
6873rm -f conftest.$ac_objext conftest.$ac_ext 7073rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6874echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7074echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6875echo "${ECHO_T}$ac_header_compiler" >&6 7075echo "${ECHO_T}$ac_header_compiler" >&6
6876 7076
6877# Is the header present? 7077# Is the header present?
6878echo "$as_me:$LINENO: checking $ac_header presence" >&5 7078echo "$as_me:$LINENO: checking $ac_header presence" >&5
6879echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 7079echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6880cat >conftest.$ac_ext <<_ACEOF 7080cat >conftest.$ac_ext <<_ACEOF
6881#line $LINENO "configure"
6882/* confdefs.h. */ 7081/* confdefs.h. */
6883_ACEOF 7082_ACEOF
6884cat confdefs.h >>conftest.$ac_ext 7083cat confdefs.h >>conftest.$ac_ext
6885cat >>conftest.$ac_ext <<_ACEOF 7084cat >>conftest.$ac_ext <<_ACEOF
6886/* end confdefs.h. */ 7085/* end confdefs.h. */
6894 cat conftest.err >&5 7093 cat conftest.err >&5
6895 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896 (exit $ac_status); } >/dev/null; then 7095 (exit $ac_status); } >/dev/null; then
6897 if test -s conftest.err; then 7096 if test -s conftest.err; then
6898 ac_cpp_err=$ac_cxx_preproc_warn_flag 7097 ac_cpp_err=$ac_cxx_preproc_warn_flag
7098 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6899 else 7099 else
6900 ac_cpp_err= 7100 ac_cpp_err=
6901 fi 7101 fi
6902else 7102else
6903 ac_cpp_err=yes 7103 ac_cpp_err=yes
6913rm -f conftest.err conftest.$ac_ext 7113rm -f conftest.err conftest.$ac_ext
6914echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7114echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6915echo "${ECHO_T}$ac_header_preproc" >&6 7115echo "${ECHO_T}$ac_header_preproc" >&6
6916 7116
6917# So? What about this header? 7117# So? What about this header?
6918case $ac_header_compiler:$ac_header_preproc in 7118case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6919 yes:no ) 7119 yes:no: )
6920 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7120 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6921echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7121echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7122 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7123echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7124 ac_header_preproc=yes
7125 ;;
7126 no:yes:* )
7127 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7128echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7129 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7130echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7131 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7132echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7133 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7134echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6922 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7135 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6923echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7136echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7137 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7138echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6924 ( 7139 (
6925 cat <<\_ASBOX 7140 cat <<\_ASBOX
6926## ------------------------------------ ## 7141## ------------------------------------------ ##
6927## Report this to bug-autoconf@gnu.org. ## 7142## Report this to the AC_PACKAGE_NAME lists. ##
6928## ------------------------------------ ## 7143## ------------------------------------------ ##
6929_ASBOX
6930 ) |
6931 sed "s/^/$as_me: WARNING: /" >&2
6932 ;;
6933 no:yes )
6934 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6935echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6936 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6937echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6938 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6939echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6940 (
6941 cat <<\_ASBOX
6942## ------------------------------------ ##
6943## Report this to bug-autoconf@gnu.org. ##
6944## ------------------------------------ ##
6945_ASBOX 7144_ASBOX
6946 ) | 7145 ) |
6947 sed "s/^/$as_me: WARNING: /" >&2 7146 sed "s/^/$as_me: WARNING: /" >&2
6948 ;; 7147 ;;
6949esac 7148esac
6950echo "$as_me:$LINENO: checking for $ac_header" >&5 7149echo "$as_me:$LINENO: checking for $ac_header" >&5
6951echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7150echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6952if eval "test \"\${$as_ac_Header+set}\" = set"; then 7151if eval "test \"\${$as_ac_Header+set}\" = set"; then
6953 echo $ECHO_N "(cached) $ECHO_C" >&6 7152 echo $ECHO_N "(cached) $ECHO_C" >&6
6954else 7153else
6955 eval "$as_ac_Header=$ac_header_preproc" 7154 eval "$as_ac_Header=\$ac_header_preproc"
6956fi 7155fi
6957echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7156echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6958echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7157echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6959 7158
6960fi 7159fi
6982 7181
6983 7182
6984 7183
6985 7184
6986 7185
6987
6988
6989for ac_header in fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \ 7186for ac_header in fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \
6990 sys/file.h sys/ioctl.h sys/param.h sys/time.h netinet/in_systm.h sys/cygwin.h arpa/inet.h \ 7187 sys/file.h sys/ioctl.h sys/param.h sys/time.h netinet/in_systm.h sys/cygwin.h \
6991 sys/poll.h sys/mman.h netinet/in.h 7188 sys/mman.h netinet/in.h
6992do 7189do
6993as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7190as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6994if eval "test \"\${$as_ac_Header+set}\" = set"; then 7191if eval "test \"\${$as_ac_Header+set}\" = set"; then
6995 echo "$as_me:$LINENO: checking for $ac_header" >&5 7192 echo "$as_me:$LINENO: checking for $ac_header" >&5
6996echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7193echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7002else 7199else
7003 # Is the header compilable? 7200 # Is the header compilable?
7004echo "$as_me:$LINENO: checking $ac_header usability" >&5 7201echo "$as_me:$LINENO: checking $ac_header usability" >&5
7005echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 7202echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7006cat >conftest.$ac_ext <<_ACEOF 7203cat >conftest.$ac_ext <<_ACEOF
7007#line $LINENO "configure"
7008/* confdefs.h. */ 7204/* confdefs.h. */
7009_ACEOF 7205_ACEOF
7010cat confdefs.h >>conftest.$ac_ext 7206cat confdefs.h >>conftest.$ac_ext
7011cat >>conftest.$ac_ext <<_ACEOF 7207cat >>conftest.$ac_ext <<_ACEOF
7012/* end confdefs.h. */ 7208/* end confdefs.h. */
7013$ac_includes_default 7209$ac_includes_default
7014#include <$ac_header> 7210#include <$ac_header>
7015_ACEOF 7211_ACEOF
7016rm -f conftest.$ac_objext 7212rm -f conftest.$ac_objext
7017if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7213if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7018 (eval $ac_compile) 2>&5 7214 (eval $ac_compile) 2>conftest.er1
7019 ac_status=$? 7215 ac_status=$?
7216 grep -v '^ *+' conftest.er1 >conftest.err
7217 rm -f conftest.er1
7218 cat conftest.err >&5
7020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7021 (exit $ac_status); } && 7220 (exit $ac_status); } &&
7022 { ac_try='test -s conftest.$ac_objext' 7221 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7024 (eval $ac_try) 2>&5 7223 (eval $ac_try) 2>&5
7025 ac_status=$? 7224 ac_status=$?
7026 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7226 (exit $ac_status); }; } &&
7227 { ac_try='test -s conftest.$ac_objext'
7228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7229 (eval $ac_try) 2>&5
7230 ac_status=$?
7231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7027 (exit $ac_status); }; }; then 7232 (exit $ac_status); }; }; then
7028 ac_header_compiler=yes 7233 ac_header_compiler=yes
7029else 7234else
7030 echo "$as_me: failed program was:" >&5 7235 echo "$as_me: failed program was:" >&5
7031sed 's/^/| /' conftest.$ac_ext >&5 7236sed 's/^/| /' conftest.$ac_ext >&5
7032 7237
7033ac_header_compiler=no 7238ac_header_compiler=no
7034fi 7239fi
7035rm -f conftest.$ac_objext conftest.$ac_ext 7240rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7036echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7241echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7037echo "${ECHO_T}$ac_header_compiler" >&6 7242echo "${ECHO_T}$ac_header_compiler" >&6
7038 7243
7039# Is the header present? 7244# Is the header present?
7040echo "$as_me:$LINENO: checking $ac_header presence" >&5 7245echo "$as_me:$LINENO: checking $ac_header presence" >&5
7041echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 7246echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7042cat >conftest.$ac_ext <<_ACEOF 7247cat >conftest.$ac_ext <<_ACEOF
7043#line $LINENO "configure"
7044/* confdefs.h. */ 7248/* confdefs.h. */
7045_ACEOF 7249_ACEOF
7046cat confdefs.h >>conftest.$ac_ext 7250cat confdefs.h >>conftest.$ac_ext
7047cat >>conftest.$ac_ext <<_ACEOF 7251cat >>conftest.$ac_ext <<_ACEOF
7048/* end confdefs.h. */ 7252/* end confdefs.h. */
7056 cat conftest.err >&5 7260 cat conftest.err >&5
7057 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7058 (exit $ac_status); } >/dev/null; then 7262 (exit $ac_status); } >/dev/null; then
7059 if test -s conftest.err; then 7263 if test -s conftest.err; then
7060 ac_cpp_err=$ac_cxx_preproc_warn_flag 7264 ac_cpp_err=$ac_cxx_preproc_warn_flag
7265 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7061 else 7266 else
7062 ac_cpp_err= 7267 ac_cpp_err=
7063 fi 7268 fi
7064else 7269else
7065 ac_cpp_err=yes 7270 ac_cpp_err=yes
7075rm -f conftest.err conftest.$ac_ext 7280rm -f conftest.err conftest.$ac_ext
7076echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7281echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7077echo "${ECHO_T}$ac_header_preproc" >&6 7282echo "${ECHO_T}$ac_header_preproc" >&6
7078 7283
7079# So? What about this header? 7284# So? What about this header?
7080case $ac_header_compiler:$ac_header_preproc in 7285case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7081 yes:no ) 7286 yes:no: )
7082 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7287 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7083echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7288echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7289 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7290echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7291 ac_header_preproc=yes
7292 ;;
7293 no:yes:* )
7294 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7295echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7296 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7297echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7298 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7299echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7300 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7301echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7084 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7302 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7085echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7303echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7304 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7305echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7086 ( 7306 (
7087 cat <<\_ASBOX 7307 cat <<\_ASBOX
7088## ------------------------------------ ## 7308## ------------------------------------------ ##
7089## Report this to bug-autoconf@gnu.org. ## 7309## Report this to the AC_PACKAGE_NAME lists. ##
7090## ------------------------------------ ## 7310## ------------------------------------------ ##
7091_ASBOX
7092 ) |
7093 sed "s/^/$as_me: WARNING: /" >&2
7094 ;;
7095 no:yes )
7096 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7097echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7098 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7099echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7100 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7101echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7102 (
7103 cat <<\_ASBOX
7104## ------------------------------------ ##
7105## Report this to bug-autoconf@gnu.org. ##
7106## ------------------------------------ ##
7107_ASBOX 7311_ASBOX
7108 ) | 7312 ) |
7109 sed "s/^/$as_me: WARNING: /" >&2 7313 sed "s/^/$as_me: WARNING: /" >&2
7110 ;; 7314 ;;
7111esac 7315esac
7112echo "$as_me:$LINENO: checking for $ac_header" >&5 7316echo "$as_me:$LINENO: checking for $ac_header" >&5
7113echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7317echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7114if eval "test \"\${$as_ac_Header+set}\" = set"; then 7318if eval "test \"\${$as_ac_Header+set}\" = set"; then
7115 echo $ECHO_N "(cached) $ECHO_C" >&6 7319 echo $ECHO_N "(cached) $ECHO_C" >&6
7116else 7320else
7117 eval "$as_ac_Header=$ac_header_preproc" 7321 eval "$as_ac_Header=\$ac_header_preproc"
7118fi 7322fi
7119echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7323echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7120echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7324echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7121 7325
7122fi 7326fi
7132 7336
7133 7337
7134 7338
7135 7339
7136 7340
7341
7137for ac_header in net/ethernet.h net/if.h netinet/ip.h netinet/tcp.h netinet/in_systm.h 7342for ac_header in arpa/inet.h net/ethernet.h net/if.h netinet/ip.h netinet/tcp.h netinet/in_systm.h
7138do 7343do
7139as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7344as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7140echo "$as_me:$LINENO: checking for $ac_header" >&5 7345echo "$as_me:$LINENO: checking for $ac_header" >&5
7141echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7346echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7142if eval "test \"\${$as_ac_Header+set}\" = set"; then 7347if eval "test \"\${$as_ac_Header+set}\" = set"; then
7143 echo $ECHO_N "(cached) $ECHO_C" >&6 7348 echo $ECHO_N "(cached) $ECHO_C" >&6
7144else 7349else
7145 cat >conftest.$ac_ext <<_ACEOF 7350 cat >conftest.$ac_ext <<_ACEOF
7146#line $LINENO "configure"
7147/* confdefs.h. */ 7351/* confdefs.h. */
7148_ACEOF 7352_ACEOF
7149cat confdefs.h >>conftest.$ac_ext 7353cat confdefs.h >>conftest.$ac_ext
7150cat >>conftest.$ac_ext <<_ACEOF 7354cat >>conftest.$ac_ext <<_ACEOF
7151/* end confdefs.h. */ 7355/* end confdefs.h. */
7165 7369
7166#include <$ac_header> 7370#include <$ac_header>
7167_ACEOF 7371_ACEOF
7168rm -f conftest.$ac_objext 7372rm -f conftest.$ac_objext
7169if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7373if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7170 (eval $ac_compile) 2>&5 7374 (eval $ac_compile) 2>conftest.er1
7171 ac_status=$? 7375 ac_status=$?
7376 grep -v '^ *+' conftest.er1 >conftest.err
7377 rm -f conftest.er1
7378 cat conftest.err >&5
7172 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7173 (exit $ac_status); } && 7380 (exit $ac_status); } &&
7174 { ac_try='test -s conftest.$ac_objext' 7381 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7176 (eval $ac_try) 2>&5 7383 (eval $ac_try) 2>&5
7177 ac_status=$? 7384 ac_status=$?
7178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7386 (exit $ac_status); }; } &&
7387 { ac_try='test -s conftest.$ac_objext'
7388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7389 (eval $ac_try) 2>&5
7390 ac_status=$?
7391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7179 (exit $ac_status); }; }; then 7392 (exit $ac_status); }; }; then
7180 eval "$as_ac_Header=yes" 7393 eval "$as_ac_Header=yes"
7181else 7394else
7182 echo "$as_me: failed program was:" >&5 7395 echo "$as_me: failed program was:" >&5
7183sed 's/^/| /' conftest.$ac_ext >&5 7396sed 's/^/| /' conftest.$ac_ext >&5
7184 7397
7185eval "$as_ac_Header=no" 7398eval "$as_ac_Header=no"
7186fi 7399fi
7187rm -f conftest.$ac_objext conftest.$ac_ext 7400rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7188fi 7401fi
7189echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7402echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7190echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7403echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7191if test `eval echo '${'$as_ac_Header'}'` = yes; then 7404if test `eval echo '${'$as_ac_Header'}'` = yes; then
7192 cat >>confdefs.h <<_ACEOF 7405 cat >>confdefs.h <<_ACEOF
7202echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 7415echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
7203if test "${ac_cv_c_const+set}" = set; then 7416if test "${ac_cv_c_const+set}" = set; then
7204 echo $ECHO_N "(cached) $ECHO_C" >&6 7417 echo $ECHO_N "(cached) $ECHO_C" >&6
7205else 7418else
7206 cat >conftest.$ac_ext <<_ACEOF 7419 cat >conftest.$ac_ext <<_ACEOF
7207#line $LINENO "configure"
7208/* confdefs.h. */ 7420/* confdefs.h. */
7209_ACEOF 7421_ACEOF
7210cat confdefs.h >>conftest.$ac_ext 7422cat confdefs.h >>conftest.$ac_ext
7211cat >>conftest.$ac_ext <<_ACEOF 7423cat >>conftest.$ac_ext <<_ACEOF
7212/* end confdefs.h. */ 7424/* end confdefs.h. */
7265 return 0; 7477 return 0;
7266} 7478}
7267_ACEOF 7479_ACEOF
7268rm -f conftest.$ac_objext 7480rm -f conftest.$ac_objext
7269if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7481if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7270 (eval $ac_compile) 2>&5 7482 (eval $ac_compile) 2>conftest.er1
7271 ac_status=$? 7483 ac_status=$?
7484 grep -v '^ *+' conftest.er1 >conftest.err
7485 rm -f conftest.er1
7486 cat conftest.err >&5
7272 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7273 (exit $ac_status); } && 7488 (exit $ac_status); } &&
7274 { ac_try='test -s conftest.$ac_objext' 7489 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7276 (eval $ac_try) 2>&5 7491 (eval $ac_try) 2>&5
7277 ac_status=$? 7492 ac_status=$?
7278 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7494 (exit $ac_status); }; } &&
7495 { ac_try='test -s conftest.$ac_objext'
7496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7497 (eval $ac_try) 2>&5
7498 ac_status=$?
7499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7279 (exit $ac_status); }; }; then 7500 (exit $ac_status); }; }; then
7280 ac_cv_c_const=yes 7501 ac_cv_c_const=yes
7281else 7502else
7282 echo "$as_me: failed program was:" >&5 7503 echo "$as_me: failed program was:" >&5
7283sed 's/^/| /' conftest.$ac_ext >&5 7504sed 's/^/| /' conftest.$ac_ext >&5
7284 7505
7285ac_cv_c_const=no 7506ac_cv_c_const=no
7286fi 7507fi
7287rm -f conftest.$ac_objext conftest.$ac_ext 7508rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7288fi 7509fi
7289echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 7510echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7290echo "${ECHO_T}$ac_cv_c_const" >&6 7511echo "${ECHO_T}$ac_cv_c_const" >&6
7291if test $ac_cv_c_const = no; then 7512if test $ac_cv_c_const = no; then
7292 7513
7300echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 7521echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
7301if test "${ac_cv_type_pid_t+set}" = set; then 7522if test "${ac_cv_type_pid_t+set}" = set; then
7302 echo $ECHO_N "(cached) $ECHO_C" >&6 7523 echo $ECHO_N "(cached) $ECHO_C" >&6
7303else 7524else
7304 cat >conftest.$ac_ext <<_ACEOF 7525 cat >conftest.$ac_ext <<_ACEOF
7305#line $LINENO "configure"
7306/* confdefs.h. */ 7526/* confdefs.h. */
7307_ACEOF 7527_ACEOF
7308cat confdefs.h >>conftest.$ac_ext 7528cat confdefs.h >>conftest.$ac_ext
7309cat >>conftest.$ac_ext <<_ACEOF 7529cat >>conftest.$ac_ext <<_ACEOF
7310/* end confdefs.h. */ 7530/* end confdefs.h. */
7320 return 0; 7540 return 0;
7321} 7541}
7322_ACEOF 7542_ACEOF
7323rm -f conftest.$ac_objext 7543rm -f conftest.$ac_objext
7324if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7544if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7325 (eval $ac_compile) 2>&5 7545 (eval $ac_compile) 2>conftest.er1
7326 ac_status=$? 7546 ac_status=$?
7547 grep -v '^ *+' conftest.er1 >conftest.err
7548 rm -f conftest.er1
7549 cat conftest.err >&5
7327 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7328 (exit $ac_status); } && 7551 (exit $ac_status); } &&
7329 { ac_try='test -s conftest.$ac_objext' 7552 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7331 (eval $ac_try) 2>&5 7554 (eval $ac_try) 2>&5
7332 ac_status=$? 7555 ac_status=$?
7333 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7557 (exit $ac_status); }; } &&
7558 { ac_try='test -s conftest.$ac_objext'
7559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7560 (eval $ac_try) 2>&5
7561 ac_status=$?
7562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7334 (exit $ac_status); }; }; then 7563 (exit $ac_status); }; }; then
7335 ac_cv_type_pid_t=yes 7564 ac_cv_type_pid_t=yes
7336else 7565else
7337 echo "$as_me: failed program was:" >&5 7566 echo "$as_me: failed program was:" >&5
7338sed 's/^/| /' conftest.$ac_ext >&5 7567sed 's/^/| /' conftest.$ac_ext >&5
7339 7568
7340ac_cv_type_pid_t=no 7569ac_cv_type_pid_t=no
7341fi 7570fi
7342rm -f conftest.$ac_objext conftest.$ac_ext 7571rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7343fi 7572fi
7344echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 7573echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7345echo "${ECHO_T}$ac_cv_type_pid_t" >&6 7574echo "${ECHO_T}$ac_cv_type_pid_t" >&6
7346if test $ac_cv_type_pid_t = yes; then 7575if test $ac_cv_type_pid_t = yes; then
7347 : 7576 :
7357echo $ECHO_N "checking for size_t... $ECHO_C" >&6 7586echo $ECHO_N "checking for size_t... $ECHO_C" >&6
7358if test "${ac_cv_type_size_t+set}" = set; then 7587if test "${ac_cv_type_size_t+set}" = set; then
7359 echo $ECHO_N "(cached) $ECHO_C" >&6 7588 echo $ECHO_N "(cached) $ECHO_C" >&6
7360else 7589else
7361 cat >conftest.$ac_ext <<_ACEOF 7590 cat >conftest.$ac_ext <<_ACEOF
7362#line $LINENO "configure"
7363/* confdefs.h. */ 7591/* confdefs.h. */
7364_ACEOF 7592_ACEOF
7365cat confdefs.h >>conftest.$ac_ext 7593cat confdefs.h >>conftest.$ac_ext
7366cat >>conftest.$ac_ext <<_ACEOF 7594cat >>conftest.$ac_ext <<_ACEOF
7367/* end confdefs.h. */ 7595/* end confdefs.h. */
7377 return 0; 7605 return 0;
7378} 7606}
7379_ACEOF 7607_ACEOF
7380rm -f conftest.$ac_objext 7608rm -f conftest.$ac_objext
7381if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7609if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7382 (eval $ac_compile) 2>&5 7610 (eval $ac_compile) 2>conftest.er1
7383 ac_status=$? 7611 ac_status=$?
7612 grep -v '^ *+' conftest.er1 >conftest.err
7613 rm -f conftest.er1
7614 cat conftest.err >&5
7384 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7385 (exit $ac_status); } && 7616 (exit $ac_status); } &&
7386 { ac_try='test -s conftest.$ac_objext' 7617 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7388 (eval $ac_try) 2>&5 7619 (eval $ac_try) 2>&5
7389 ac_status=$? 7620 ac_status=$?
7390 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7622 (exit $ac_status); }; } &&
7623 { ac_try='test -s conftest.$ac_objext'
7624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7625 (eval $ac_try) 2>&5
7626 ac_status=$?
7627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7391 (exit $ac_status); }; }; then 7628 (exit $ac_status); }; }; then
7392 ac_cv_type_size_t=yes 7629 ac_cv_type_size_t=yes
7393else 7630else
7394 echo "$as_me: failed program was:" >&5 7631 echo "$as_me: failed program was:" >&5
7395sed 's/^/| /' conftest.$ac_ext >&5 7632sed 's/^/| /' conftest.$ac_ext >&5
7396 7633
7397ac_cv_type_size_t=no 7634ac_cv_type_size_t=no
7398fi 7635fi
7399rm -f conftest.$ac_objext conftest.$ac_ext 7636rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7400fi 7637fi
7401echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 7638echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7402echo "${ECHO_T}$ac_cv_type_size_t" >&6 7639echo "${ECHO_T}$ac_cv_type_size_t" >&6
7403if test $ac_cv_type_size_t = yes; then 7640if test $ac_cv_type_size_t = yes; then
7404 : 7641 :
7414echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 7651echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
7415if test "${ac_cv_header_time+set}" = set; then 7652if test "${ac_cv_header_time+set}" = set; then
7416 echo $ECHO_N "(cached) $ECHO_C" >&6 7653 echo $ECHO_N "(cached) $ECHO_C" >&6
7417else 7654else
7418 cat >conftest.$ac_ext <<_ACEOF 7655 cat >conftest.$ac_ext <<_ACEOF
7419#line $LINENO "configure"
7420/* confdefs.h. */ 7656/* confdefs.h. */
7421_ACEOF 7657_ACEOF
7422cat confdefs.h >>conftest.$ac_ext 7658cat confdefs.h >>conftest.$ac_ext
7423cat >>conftest.$ac_ext <<_ACEOF 7659cat >>conftest.$ac_ext <<_ACEOF
7424/* end confdefs.h. */ 7660/* end confdefs.h. */
7435 return 0; 7671 return 0;
7436} 7672}
7437_ACEOF 7673_ACEOF
7438rm -f conftest.$ac_objext 7674rm -f conftest.$ac_objext
7439if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7675if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7440 (eval $ac_compile) 2>&5 7676 (eval $ac_compile) 2>conftest.er1
7441 ac_status=$? 7677 ac_status=$?
7678 grep -v '^ *+' conftest.er1 >conftest.err
7679 rm -f conftest.er1
7680 cat conftest.err >&5
7442 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7443 (exit $ac_status); } && 7682 (exit $ac_status); } &&
7444 { ac_try='test -s conftest.$ac_objext' 7683 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7446 (eval $ac_try) 2>&5 7685 (eval $ac_try) 2>&5
7447 ac_status=$? 7686 ac_status=$?
7448 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7688 (exit $ac_status); }; } &&
7689 { ac_try='test -s conftest.$ac_objext'
7690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7691 (eval $ac_try) 2>&5
7692 ac_status=$?
7693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7449 (exit $ac_status); }; }; then 7694 (exit $ac_status); }; }; then
7450 ac_cv_header_time=yes 7695 ac_cv_header_time=yes
7451else 7696else
7452 echo "$as_me: failed program was:" >&5 7697 echo "$as_me: failed program was:" >&5
7453sed 's/^/| /' conftest.$ac_ext >&5 7698sed 's/^/| /' conftest.$ac_ext >&5
7454 7699
7455ac_cv_header_time=no 7700ac_cv_header_time=no
7456fi 7701fi
7457rm -f conftest.$ac_objext conftest.$ac_ext 7702rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7458fi 7703fi
7459echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 7704echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
7460echo "${ECHO_T}$ac_cv_header_time" >&6 7705echo "${ECHO_T}$ac_cv_header_time" >&6
7461if test $ac_cv_header_time = yes; then 7706if test $ac_cv_header_time = yes; then
7462 7707
7470echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 7715echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
7471if test "${ac_cv_struct_tm+set}" = set; then 7716if test "${ac_cv_struct_tm+set}" = set; then
7472 echo $ECHO_N "(cached) $ECHO_C" >&6 7717 echo $ECHO_N "(cached) $ECHO_C" >&6
7473else 7718else
7474 cat >conftest.$ac_ext <<_ACEOF 7719 cat >conftest.$ac_ext <<_ACEOF
7475#line $LINENO "configure"
7476/* confdefs.h. */ 7720/* confdefs.h. */
7477_ACEOF 7721_ACEOF
7478cat confdefs.h >>conftest.$ac_ext 7722cat confdefs.h >>conftest.$ac_ext
7479cat >>conftest.$ac_ext <<_ACEOF 7723cat >>conftest.$ac_ext <<_ACEOF
7480/* end confdefs.h. */ 7724/* end confdefs.h. */
7489 return 0; 7733 return 0;
7490} 7734}
7491_ACEOF 7735_ACEOF
7492rm -f conftest.$ac_objext 7736rm -f conftest.$ac_objext
7493if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7737if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7494 (eval $ac_compile) 2>&5 7738 (eval $ac_compile) 2>conftest.er1
7495 ac_status=$? 7739 ac_status=$?
7740 grep -v '^ *+' conftest.er1 >conftest.err
7741 rm -f conftest.er1
7742 cat conftest.err >&5
7496 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7497 (exit $ac_status); } && 7744 (exit $ac_status); } &&
7498 { ac_try='test -s conftest.$ac_objext' 7745 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7500 (eval $ac_try) 2>&5 7747 (eval $ac_try) 2>&5
7501 ac_status=$? 7748 ac_status=$?
7502 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7750 (exit $ac_status); }; } &&
7751 { ac_try='test -s conftest.$ac_objext'
7752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7753 (eval $ac_try) 2>&5
7754 ac_status=$?
7755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7503 (exit $ac_status); }; }; then 7756 (exit $ac_status); }; }; then
7504 ac_cv_struct_tm=time.h 7757 ac_cv_struct_tm=time.h
7505else 7758else
7506 echo "$as_me: failed program was:" >&5 7759 echo "$as_me: failed program was:" >&5
7507sed 's/^/| /' conftest.$ac_ext >&5 7760sed 's/^/| /' conftest.$ac_ext >&5
7508 7761
7509ac_cv_struct_tm=sys/time.h 7762ac_cv_struct_tm=sys/time.h
7510fi 7763fi
7511rm -f conftest.$ac_objext conftest.$ac_ext 7764rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7512fi 7765fi
7513echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 7766echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
7514echo "${ECHO_T}$ac_cv_struct_tm" >&6 7767echo "${ECHO_T}$ac_cv_struct_tm" >&6
7515if test $ac_cv_struct_tm = sys/time.h; then 7768if test $ac_cv_struct_tm = sys/time.h; then
7516 7769
7526if test "${ac_cv_type_socklen_t+set}" = set; then 7779if test "${ac_cv_type_socklen_t+set}" = set; then
7527 echo $ECHO_N "(cached) $ECHO_C" >&6 7780 echo $ECHO_N "(cached) $ECHO_C" >&6
7528else 7781else
7529 7782
7530 cat >conftest.$ac_ext <<_ACEOF 7783 cat >conftest.$ac_ext <<_ACEOF
7531#line $LINENO "configure"
7532/* confdefs.h. */ 7784/* confdefs.h. */
7533_ACEOF 7785_ACEOF
7534cat confdefs.h >>conftest.$ac_ext 7786cat confdefs.h >>conftest.$ac_ext
7535cat >>conftest.$ac_ext <<_ACEOF 7787cat >>conftest.$ac_ext <<_ACEOF
7536/* end confdefs.h. */ 7788/* end confdefs.h. */
7544 return 0; 7796 return 0;
7545} 7797}
7546_ACEOF 7798_ACEOF
7547rm -f conftest.$ac_objext 7799rm -f conftest.$ac_objext
7548if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7800if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7549 (eval $ac_compile) 2>&5 7801 (eval $ac_compile) 2>conftest.er1
7550 ac_status=$? 7802 ac_status=$?
7803 grep -v '^ *+' conftest.er1 >conftest.err
7804 rm -f conftest.er1
7805 cat conftest.err >&5
7551 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7552 (exit $ac_status); } && 7807 (exit $ac_status); } &&
7553 { ac_try='test -s conftest.$ac_objext' 7808 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7555 (eval $ac_try) 2>&5 7810 (eval $ac_try) 2>&5
7556 ac_status=$? 7811 ac_status=$?
7557 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7813 (exit $ac_status); }; } &&
7814 { ac_try='test -s conftest.$ac_objext'
7815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7816 (eval $ac_try) 2>&5
7817 ac_status=$?
7818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7558 (exit $ac_status); }; }; then 7819 (exit $ac_status); }; }; then
7559 ac_cv_type_socklen_t=yes 7820 ac_cv_type_socklen_t=yes
7560else 7821else
7561 echo "$as_me: failed program was:" >&5 7822 echo "$as_me: failed program was:" >&5
7562sed 's/^/| /' conftest.$ac_ext >&5 7823sed 's/^/| /' conftest.$ac_ext >&5
7563 7824
7564ac_cv_type_socklen_t=no 7825ac_cv_type_socklen_t=no
7565fi 7826fi
7566rm -f conftest.$ac_objext conftest.$ac_ext 7827rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7567 7828
7568fi 7829fi
7569echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 7830echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
7570echo "${ECHO_T}$ac_cv_type_socklen_t" >&6 7831echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
7571if test $ac_cv_type_socklen_t = yes; then 7832if test $ac_cv_type_socklen_t = yes; then
7581if test "${ac_cv_struct_addrinfo+set}" = set; then 7842if test "${ac_cv_struct_addrinfo+set}" = set; then
7582 echo $ECHO_N "(cached) $ECHO_C" >&6 7843 echo $ECHO_N "(cached) $ECHO_C" >&6
7583else 7844else
7584 7845
7585 cat >conftest.$ac_ext <<_ACEOF 7846 cat >conftest.$ac_ext <<_ACEOF
7586#line $LINENO "configure"
7587/* confdefs.h. */ 7847/* confdefs.h. */
7588_ACEOF 7848_ACEOF
7589cat confdefs.h >>conftest.$ac_ext 7849cat confdefs.h >>conftest.$ac_ext
7590cat >>conftest.$ac_ext <<_ACEOF 7850cat >>conftest.$ac_ext <<_ACEOF
7591/* end confdefs.h. */ 7851/* end confdefs.h. */
7600 return 0; 7860 return 0;
7601} 7861}
7602_ACEOF 7862_ACEOF
7603rm -f conftest.$ac_objext 7863rm -f conftest.$ac_objext
7604if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7864if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7605 (eval $ac_compile) 2>&5 7865 (eval $ac_compile) 2>conftest.er1
7606 ac_status=$? 7866 ac_status=$?
7867 grep -v '^ *+' conftest.er1 >conftest.err
7868 rm -f conftest.er1
7869 cat conftest.err >&5
7607 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7608 (exit $ac_status); } && 7871 (exit $ac_status); } &&
7609 { ac_try='test -s conftest.$ac_objext' 7872 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7611 (eval $ac_try) 2>&5 7874 (eval $ac_try) 2>&5
7612 ac_status=$? 7875 ac_status=$?
7613 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7877 (exit $ac_status); }; } &&
7878 { ac_try='test -s conftest.$ac_objext'
7879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7880 (eval $ac_try) 2>&5
7881 ac_status=$?
7882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7614 (exit $ac_status); }; }; then 7883 (exit $ac_status); }; }; then
7615 ac_cv_struct_addrinfo=yes 7884 ac_cv_struct_addrinfo=yes
7616else 7885else
7617 echo "$as_me: failed program was:" >&5 7886 echo "$as_me: failed program was:" >&5
7618sed 's/^/| /' conftest.$ac_ext >&5 7887sed 's/^/| /' conftest.$ac_ext >&5
7619 7888
7620ac_cv_struct_addrinfo=no 7889ac_cv_struct_addrinfo=no
7621fi 7890fi
7622rm -f conftest.$ac_objext conftest.$ac_ext 7891rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7623 7892
7624fi 7893fi
7625echo "$as_me:$LINENO: result: $ac_cv_struct_addrinfo" >&5 7894echo "$as_me:$LINENO: result: $ac_cv_struct_addrinfo" >&5
7626echo "${ECHO_T}$ac_cv_struct_addrinfo" >&6 7895echo "${ECHO_T}$ac_cv_struct_addrinfo" >&6
7627if test $ac_cv_struct_addrinfo = yes; then 7896if test $ac_cv_struct_addrinfo = yes; then
7636echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 7905echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
7637if test "${ac_cv_type_signal+set}" = set; then 7906if test "${ac_cv_type_signal+set}" = set; then
7638 echo $ECHO_N "(cached) $ECHO_C" >&6 7907 echo $ECHO_N "(cached) $ECHO_C" >&6
7639else 7908else
7640 cat >conftest.$ac_ext <<_ACEOF 7909 cat >conftest.$ac_ext <<_ACEOF
7641#line $LINENO "configure"
7642/* confdefs.h. */ 7910/* confdefs.h. */
7643_ACEOF 7911_ACEOF
7644cat confdefs.h >>conftest.$ac_ext 7912cat confdefs.h >>conftest.$ac_ext
7645cat >>conftest.$ac_ext <<_ACEOF 7913cat >>conftest.$ac_ext <<_ACEOF
7646/* end confdefs.h. */ 7914/* end confdefs.h. */
7663 return 0; 7931 return 0;
7664} 7932}
7665_ACEOF 7933_ACEOF
7666rm -f conftest.$ac_objext 7934rm -f conftest.$ac_objext
7667if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7935if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7668 (eval $ac_compile) 2>&5 7936 (eval $ac_compile) 2>conftest.er1
7669 ac_status=$? 7937 ac_status=$?
7938 grep -v '^ *+' conftest.er1 >conftest.err
7939 rm -f conftest.er1
7940 cat conftest.err >&5
7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7671 (exit $ac_status); } && 7942 (exit $ac_status); } &&
7672 { ac_try='test -s conftest.$ac_objext' 7943 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7674 (eval $ac_try) 2>&5 7945 (eval $ac_try) 2>&5
7675 ac_status=$? 7946 ac_status=$?
7676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7948 (exit $ac_status); }; } &&
7949 { ac_try='test -s conftest.$ac_objext'
7950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7951 (eval $ac_try) 2>&5
7952 ac_status=$?
7953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7677 (exit $ac_status); }; }; then 7954 (exit $ac_status); }; }; then
7678 ac_cv_type_signal=void 7955 ac_cv_type_signal=void
7679else 7956else
7680 echo "$as_me: failed program was:" >&5 7957 echo "$as_me: failed program was:" >&5
7681sed 's/^/| /' conftest.$ac_ext >&5 7958sed 's/^/| /' conftest.$ac_ext >&5
7682 7959
7683ac_cv_type_signal=int 7960ac_cv_type_signal=int
7684fi 7961fi
7685rm -f conftest.$ac_objext conftest.$ac_ext 7962rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7686fi 7963fi
7687echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 7964echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
7688echo "${ECHO_T}$ac_cv_type_signal" >&6 7965echo "${ECHO_T}$ac_cv_type_signal" >&6
7689 7966
7690cat >>confdefs.h <<_ACEOF 7967cat >>confdefs.h <<_ACEOF
7704echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 7981echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7705if test "${ac_cv_header_stdc+set}" = set; then 7982if test "${ac_cv_header_stdc+set}" = set; then
7706 echo $ECHO_N "(cached) $ECHO_C" >&6 7983 echo $ECHO_N "(cached) $ECHO_C" >&6
7707else 7984else
7708 cat >conftest.$ac_ext <<_ACEOF 7985 cat >conftest.$ac_ext <<_ACEOF
7709#line $LINENO "configure"
7710/* confdefs.h. */ 7986/* confdefs.h. */
7711_ACEOF 7987_ACEOF
7712cat confdefs.h >>conftest.$ac_ext 7988cat confdefs.h >>conftest.$ac_ext
7713cat >>conftest.$ac_ext <<_ACEOF 7989cat >>conftest.$ac_ext <<_ACEOF
7714/* end confdefs.h. */ 7990/* end confdefs.h. */
7725 return 0; 8001 return 0;
7726} 8002}
7727_ACEOF 8003_ACEOF
7728rm -f conftest.$ac_objext 8004rm -f conftest.$ac_objext
7729if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8005if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7730 (eval $ac_compile) 2>&5 8006 (eval $ac_compile) 2>conftest.er1
7731 ac_status=$? 8007 ac_status=$?
8008 grep -v '^ *+' conftest.er1 >conftest.err
8009 rm -f conftest.er1
8010 cat conftest.err >&5
7732 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7733 (exit $ac_status); } && 8012 (exit $ac_status); } &&
7734 { ac_try='test -s conftest.$ac_objext' 8013 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7736 (eval $ac_try) 2>&5 8015 (eval $ac_try) 2>&5
7737 ac_status=$? 8016 ac_status=$?
7738 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8018 (exit $ac_status); }; } &&
8019 { ac_try='test -s conftest.$ac_objext'
8020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8021 (eval $ac_try) 2>&5
8022 ac_status=$?
8023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7739 (exit $ac_status); }; }; then 8024 (exit $ac_status); }; }; then
7740 ac_cv_header_stdc=yes 8025 ac_cv_header_stdc=yes
7741else 8026else
7742 echo "$as_me: failed program was:" >&5 8027 echo "$as_me: failed program was:" >&5
7743sed 's/^/| /' conftest.$ac_ext >&5 8028sed 's/^/| /' conftest.$ac_ext >&5
7744 8029
7745ac_cv_header_stdc=no 8030ac_cv_header_stdc=no
7746fi 8031fi
7747rm -f conftest.$ac_objext conftest.$ac_ext 8032rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7748 8033
7749if test $ac_cv_header_stdc = yes; then 8034if test $ac_cv_header_stdc = yes; then
7750 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 8035 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7751 cat >conftest.$ac_ext <<_ACEOF 8036 cat >conftest.$ac_ext <<_ACEOF
7752#line $LINENO "configure"
7753/* confdefs.h. */ 8037/* confdefs.h. */
7754_ACEOF 8038_ACEOF
7755cat confdefs.h >>conftest.$ac_ext 8039cat confdefs.h >>conftest.$ac_ext
7756cat >>conftest.$ac_ext <<_ACEOF 8040cat >>conftest.$ac_ext <<_ACEOF
7757/* end confdefs.h. */ 8041/* end confdefs.h. */
7769fi 8053fi
7770 8054
7771if test $ac_cv_header_stdc = yes; then 8055if test $ac_cv_header_stdc = yes; then
7772 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 8056 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7773 cat >conftest.$ac_ext <<_ACEOF 8057 cat >conftest.$ac_ext <<_ACEOF
7774#line $LINENO "configure"
7775/* confdefs.h. */ 8058/* confdefs.h. */
7776_ACEOF 8059_ACEOF
7777cat confdefs.h >>conftest.$ac_ext 8060cat confdefs.h >>conftest.$ac_ext
7778cat >>conftest.$ac_ext <<_ACEOF 8061cat >>conftest.$ac_ext <<_ACEOF
7779/* end confdefs.h. */ 8062/* end confdefs.h. */
7794 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 8077 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7795 if test "$cross_compiling" = yes; then 8078 if test "$cross_compiling" = yes; then
7796 : 8079 :
7797else 8080else
7798 cat >conftest.$ac_ext <<_ACEOF 8081 cat >conftest.$ac_ext <<_ACEOF
7799#line $LINENO "configure"
7800/* confdefs.h. */ 8082/* confdefs.h. */
7801_ACEOF 8083_ACEOF
7802cat confdefs.h >>conftest.$ac_ext 8084cat confdefs.h >>conftest.$ac_ext
7803cat >>conftest.$ac_ext <<_ACEOF 8085cat >>conftest.$ac_ext <<_ACEOF
7804/* end confdefs.h. */ 8086/* end confdefs.h. */
7806#if ((' ' & 0x0FF) == 0x020) 8088#if ((' ' & 0x0FF) == 0x020)
7807# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 8089# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7808# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 8090# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7809#else 8091#else
7810# define ISLOWER(c) \ 8092# define ISLOWER(c) \
7811 (('a' <= (c) && (c) <= 'i') \ 8093 (('a' <= (c) && (c) <= 'i') \
7812 || ('j' <= (c) && (c) <= 'r') \ 8094 || ('j' <= (c) && (c) <= 'r') \
7813 || ('s' <= (c) && (c) <= 'z')) 8095 || ('s' <= (c) && (c) <= 'z'))
7814# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 8096# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7815#endif 8097#endif
7816 8098
7817#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 8099#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7818int 8100int
7819main () 8101main ()
7820{ 8102{
7821 int i; 8103 int i;
7822 for (i = 0; i < 256; i++) 8104 for (i = 0; i < 256; i++)
7823 if (XOR (islower (i), ISLOWER (i)) 8105 if (XOR (islower (i), ISLOWER (i))
7824 || toupper (i) != TOUPPER (i)) 8106 || toupper (i) != TOUPPER (i))
7825 exit(2); 8107 exit(2);
7826 exit (0); 8108 exit (0);
7827} 8109}
7828_ACEOF 8110_ACEOF
7829rm -f conftest$ac_exeext 8111rm -f conftest$ac_exeext
7869 8151
7870 8152
7871 8153
7872 8154
7873 8155
7874
7875for ac_func in asprintf daemon get_current_dir_name putenv select strerror strsignal strtol unsetenv mlockall poll 8156for ac_func in asprintf daemon get_current_dir_name putenv select strerror strsignal strtol unsetenv mlockall
7876do 8157do
7877as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8158as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7878echo "$as_me:$LINENO: checking for $ac_func" >&5 8159echo "$as_me:$LINENO: checking for $ac_func" >&5
7879echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8160echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7880if eval "test \"\${$as_ac_var+set}\" = set"; then 8161if eval "test \"\${$as_ac_var+set}\" = set"; then
7881 echo $ECHO_N "(cached) $ECHO_C" >&6 8162 echo $ECHO_N "(cached) $ECHO_C" >&6
7882else 8163else
7883 cat >conftest.$ac_ext <<_ACEOF 8164 cat >conftest.$ac_ext <<_ACEOF
7884#line $LINENO "configure"
7885/* confdefs.h. */ 8165/* confdefs.h. */
7886_ACEOF 8166_ACEOF
7887cat confdefs.h >>conftest.$ac_ext 8167cat confdefs.h >>conftest.$ac_ext
7888cat >>conftest.$ac_ext <<_ACEOF 8168cat >>conftest.$ac_ext <<_ACEOF
7889/* end confdefs.h. */ 8169/* end confdefs.h. */
8170/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8172#define $ac_func innocuous_$ac_func
8173
7890/* System header to define __stub macros and hopefully few prototypes, 8174/* System header to define __stub macros and hopefully few prototypes,
7891 which can conflict with char $ac_func (); below. 8175 which can conflict with char $ac_func (); below.
7892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7893 <limits.h> exists even on freestanding compilers. */ 8177 <limits.h> exists even on freestanding compilers. */
8178
7894#ifdef __STDC__ 8179#ifdef __STDC__
7895# include <limits.h> 8180# include <limits.h>
7896#else 8181#else
7897# include <assert.h> 8182# include <assert.h>
7898#endif 8183#endif
8184
8185#undef $ac_func
8186
7899/* Override any gcc2 internal prototype to avoid an error. */ 8187/* Override any gcc2 internal prototype to avoid an error. */
7900#ifdef __cplusplus 8188#ifdef __cplusplus
7901extern "C" 8189extern "C"
7902{ 8190{
7903#endif 8191#endif
7924 return 0; 8212 return 0;
7925} 8213}
7926_ACEOF 8214_ACEOF
7927rm -f conftest.$ac_objext conftest$ac_exeext 8215rm -f conftest.$ac_objext conftest$ac_exeext
7928if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8216if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7929 (eval $ac_link) 2>&5 8217 (eval $ac_link) 2>conftest.er1
7930 ac_status=$? 8218 ac_status=$?
8219 grep -v '^ *+' conftest.er1 >conftest.err
8220 rm -f conftest.er1
8221 cat conftest.err >&5
7931 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7932 (exit $ac_status); } && 8223 (exit $ac_status); } &&
7933 { ac_try='test -s conftest$ac_exeext' 8224 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7935 (eval $ac_try) 2>&5 8226 (eval $ac_try) 2>&5
7936 ac_status=$? 8227 ac_status=$?
7937 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8229 (exit $ac_status); }; } &&
8230 { ac_try='test -s conftest$ac_exeext'
8231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8232 (eval $ac_try) 2>&5
8233 ac_status=$?
8234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7938 (exit $ac_status); }; }; then 8235 (exit $ac_status); }; }; then
7939 eval "$as_ac_var=yes" 8236 eval "$as_ac_var=yes"
7940else 8237else
7941 echo "$as_me: failed program was:" >&5 8238 echo "$as_me: failed program was:" >&5
7942sed 's/^/| /' conftest.$ac_ext >&5 8239sed 's/^/| /' conftest.$ac_ext >&5
7943 8240
7944eval "$as_ac_var=no" 8241eval "$as_ac_var=no"
7945fi 8242fi
7946rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8243rm -f conftest.err conftest.$ac_objext \
8244 conftest$ac_exeext conftest.$ac_ext
7947fi 8245fi
7948echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 8246echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7949echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8247echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7950if test `eval echo '${'$as_ac_var'}'` = yes; then 8248if test `eval echo '${'$as_ac_var'}'` = yes; then
7951 cat >>confdefs.h <<_ACEOF 8249 cat >>confdefs.h <<_ACEOF
7962echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 8260echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
7963if test "${ac_cv_working_alloca_h+set}" = set; then 8261if test "${ac_cv_working_alloca_h+set}" = set; then
7964 echo $ECHO_N "(cached) $ECHO_C" >&6 8262 echo $ECHO_N "(cached) $ECHO_C" >&6
7965else 8263else
7966 cat >conftest.$ac_ext <<_ACEOF 8264 cat >conftest.$ac_ext <<_ACEOF
7967#line $LINENO "configure"
7968/* confdefs.h. */ 8265/* confdefs.h. */
7969_ACEOF 8266_ACEOF
7970cat confdefs.h >>conftest.$ac_ext 8267cat confdefs.h >>conftest.$ac_ext
7971cat >>conftest.$ac_ext <<_ACEOF 8268cat >>conftest.$ac_ext <<_ACEOF
7972/* end confdefs.h. */ 8269/* end confdefs.h. */
7979 return 0; 8276 return 0;
7980} 8277}
7981_ACEOF 8278_ACEOF
7982rm -f conftest.$ac_objext conftest$ac_exeext 8279rm -f conftest.$ac_objext conftest$ac_exeext
7983if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8280if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7984 (eval $ac_link) 2>&5 8281 (eval $ac_link) 2>conftest.er1
7985 ac_status=$? 8282 ac_status=$?
8283 grep -v '^ *+' conftest.er1 >conftest.err
8284 rm -f conftest.er1
8285 cat conftest.err >&5
7986 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7987 (exit $ac_status); } && 8287 (exit $ac_status); } &&
7988 { ac_try='test -s conftest$ac_exeext' 8288 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7990 (eval $ac_try) 2>&5 8290 (eval $ac_try) 2>&5
7991 ac_status=$? 8291 ac_status=$?
7992 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8293 (exit $ac_status); }; } &&
8294 { ac_try='test -s conftest$ac_exeext'
8295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8296 (eval $ac_try) 2>&5
8297 ac_status=$?
8298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7993 (exit $ac_status); }; }; then 8299 (exit $ac_status); }; }; then
7994 ac_cv_working_alloca_h=yes 8300 ac_cv_working_alloca_h=yes
7995else 8301else
7996 echo "$as_me: failed program was:" >&5 8302 echo "$as_me: failed program was:" >&5
7997sed 's/^/| /' conftest.$ac_ext >&5 8303sed 's/^/| /' conftest.$ac_ext >&5
7998 8304
7999ac_cv_working_alloca_h=no 8305ac_cv_working_alloca_h=no
8000fi 8306fi
8001rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8307rm -f conftest.err conftest.$ac_objext \
8308 conftest$ac_exeext conftest.$ac_ext
8002fi 8309fi
8003echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 8310echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
8004echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 8311echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
8005if test $ac_cv_working_alloca_h = yes; then 8312if test $ac_cv_working_alloca_h = yes; then
8006 8313
8014echo $ECHO_N "checking for alloca... $ECHO_C" >&6 8321echo $ECHO_N "checking for alloca... $ECHO_C" >&6
8015if test "${ac_cv_func_alloca_works+set}" = set; then 8322if test "${ac_cv_func_alloca_works+set}" = set; then
8016 echo $ECHO_N "(cached) $ECHO_C" >&6 8323 echo $ECHO_N "(cached) $ECHO_C" >&6
8017else 8324else
8018 cat >conftest.$ac_ext <<_ACEOF 8325 cat >conftest.$ac_ext <<_ACEOF
8019#line $LINENO "configure"
8020/* confdefs.h. */ 8326/* confdefs.h. */
8021_ACEOF 8327_ACEOF
8022cat confdefs.h >>conftest.$ac_ext 8328cat confdefs.h >>conftest.$ac_ext
8023cat >>conftest.$ac_ext <<_ACEOF 8329cat >>conftest.$ac_ext <<_ACEOF
8024/* end confdefs.h. */ 8330/* end confdefs.h. */
8051 return 0; 8357 return 0;
8052} 8358}
8053_ACEOF 8359_ACEOF
8054rm -f conftest.$ac_objext conftest$ac_exeext 8360rm -f conftest.$ac_objext conftest$ac_exeext
8055if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8361if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8056 (eval $ac_link) 2>&5 8362 (eval $ac_link) 2>conftest.er1
8057 ac_status=$? 8363 ac_status=$?
8364 grep -v '^ *+' conftest.er1 >conftest.err
8365 rm -f conftest.er1
8366 cat conftest.err >&5
8058 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8059 (exit $ac_status); } && 8368 (exit $ac_status); } &&
8060 { ac_try='test -s conftest$ac_exeext' 8369 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8062 (eval $ac_try) 2>&5 8371 (eval $ac_try) 2>&5
8063 ac_status=$? 8372 ac_status=$?
8064 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8374 (exit $ac_status); }; } &&
8375 { ac_try='test -s conftest$ac_exeext'
8376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8377 (eval $ac_try) 2>&5
8378 ac_status=$?
8379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8065 (exit $ac_status); }; }; then 8380 (exit $ac_status); }; }; then
8066 ac_cv_func_alloca_works=yes 8381 ac_cv_func_alloca_works=yes
8067else 8382else
8068 echo "$as_me: failed program was:" >&5 8383 echo "$as_me: failed program was:" >&5
8069sed 's/^/| /' conftest.$ac_ext >&5 8384sed 's/^/| /' conftest.$ac_ext >&5
8070 8385
8071ac_cv_func_alloca_works=no 8386ac_cv_func_alloca_works=no
8072fi 8387fi
8073rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8388rm -f conftest.err conftest.$ac_objext \
8389 conftest$ac_exeext conftest.$ac_ext
8074fi 8390fi
8075echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 8391echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
8076echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 8392echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
8077 8393
8078if test $ac_cv_func_alloca_works = yes; then 8394if test $ac_cv_func_alloca_works = yes; then
8098echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 8414echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
8099if test "${ac_cv_os_cray+set}" = set; then 8415if test "${ac_cv_os_cray+set}" = set; then
8100 echo $ECHO_N "(cached) $ECHO_C" >&6 8416 echo $ECHO_N "(cached) $ECHO_C" >&6
8101else 8417else
8102 cat >conftest.$ac_ext <<_ACEOF 8418 cat >conftest.$ac_ext <<_ACEOF
8103#line $LINENO "configure"
8104/* confdefs.h. */ 8419/* confdefs.h. */
8105_ACEOF 8420_ACEOF
8106cat confdefs.h >>conftest.$ac_ext 8421cat confdefs.h >>conftest.$ac_ext
8107cat >>conftest.$ac_ext <<_ACEOF 8422cat >>conftest.$ac_ext <<_ACEOF
8108/* end confdefs.h. */ 8423/* end confdefs.h. */
8131echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8446echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8132if eval "test \"\${$as_ac_var+set}\" = set"; then 8447if eval "test \"\${$as_ac_var+set}\" = set"; then
8133 echo $ECHO_N "(cached) $ECHO_C" >&6 8448 echo $ECHO_N "(cached) $ECHO_C" >&6
8134else 8449else
8135 cat >conftest.$ac_ext <<_ACEOF 8450 cat >conftest.$ac_ext <<_ACEOF
8136#line $LINENO "configure"
8137/* confdefs.h. */ 8451/* confdefs.h. */
8138_ACEOF 8452_ACEOF
8139cat confdefs.h >>conftest.$ac_ext 8453cat confdefs.h >>conftest.$ac_ext
8140cat >>conftest.$ac_ext <<_ACEOF 8454cat >>conftest.$ac_ext <<_ACEOF
8141/* end confdefs.h. */ 8455/* end confdefs.h. */
8456/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8458#define $ac_func innocuous_$ac_func
8459
8142/* System header to define __stub macros and hopefully few prototypes, 8460/* System header to define __stub macros and hopefully few prototypes,
8143 which can conflict with char $ac_func (); below. 8461 which can conflict with char $ac_func (); below.
8144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8145 <limits.h> exists even on freestanding compilers. */ 8463 <limits.h> exists even on freestanding compilers. */
8464
8146#ifdef __STDC__ 8465#ifdef __STDC__
8147# include <limits.h> 8466# include <limits.h>
8148#else 8467#else
8149# include <assert.h> 8468# include <assert.h>
8150#endif 8469#endif
8470
8471#undef $ac_func
8472
8151/* Override any gcc2 internal prototype to avoid an error. */ 8473/* Override any gcc2 internal prototype to avoid an error. */
8152#ifdef __cplusplus 8474#ifdef __cplusplus
8153extern "C" 8475extern "C"
8154{ 8476{
8155#endif 8477#endif
8176 return 0; 8498 return 0;
8177} 8499}
8178_ACEOF 8500_ACEOF
8179rm -f conftest.$ac_objext conftest$ac_exeext 8501rm -f conftest.$ac_objext conftest$ac_exeext
8180if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8502if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8181 (eval $ac_link) 2>&5 8503 (eval $ac_link) 2>conftest.er1
8182 ac_status=$? 8504 ac_status=$?
8505 grep -v '^ *+' conftest.er1 >conftest.err
8506 rm -f conftest.er1
8507 cat conftest.err >&5
8183 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8184 (exit $ac_status); } && 8509 (exit $ac_status); } &&
8185 { ac_try='test -s conftest$ac_exeext' 8510 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8187 (eval $ac_try) 2>&5 8512 (eval $ac_try) 2>&5
8188 ac_status=$? 8513 ac_status=$?
8189 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8515 (exit $ac_status); }; } &&
8516 { ac_try='test -s conftest$ac_exeext'
8517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8518 (eval $ac_try) 2>&5
8519 ac_status=$?
8520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8190 (exit $ac_status); }; }; then 8521 (exit $ac_status); }; }; then
8191 eval "$as_ac_var=yes" 8522 eval "$as_ac_var=yes"
8192else 8523else
8193 echo "$as_me: failed program was:" >&5 8524 echo "$as_me: failed program was:" >&5
8194sed 's/^/| /' conftest.$ac_ext >&5 8525sed 's/^/| /' conftest.$ac_ext >&5
8195 8526
8196eval "$as_ac_var=no" 8527eval "$as_ac_var=no"
8197fi 8528fi
8198rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8529rm -f conftest.err conftest.$ac_objext \
8530 conftest$ac_exeext conftest.$ac_ext
8199fi 8531fi
8200echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 8532echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8201echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8533echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8202if test `eval echo '${'$as_ac_var'}'` = yes; then 8534if test `eval echo '${'$as_ac_var'}'` = yes; then
8203 8535
8218else 8550else
8219 if test "$cross_compiling" = yes; then 8551 if test "$cross_compiling" = yes; then
8220 ac_cv_c_stack_direction=0 8552 ac_cv_c_stack_direction=0
8221else 8553else
8222 cat >conftest.$ac_ext <<_ACEOF 8554 cat >conftest.$ac_ext <<_ACEOF
8223#line $LINENO "configure"
8224/* confdefs.h. */ 8555/* confdefs.h. */
8225_ACEOF 8556_ACEOF
8226cat confdefs.h >>conftest.$ac_ext 8557cat confdefs.h >>conftest.$ac_ext
8227cat >>conftest.$ac_ext <<_ACEOF 8558cat >>conftest.$ac_ext <<_ACEOF
8228/* end confdefs.h. */ 8559/* end confdefs.h. */
8285echo $ECHO_N "checking for socket... $ECHO_C" >&6 8616echo $ECHO_N "checking for socket... $ECHO_C" >&6
8286if test "${ac_cv_func_socket+set}" = set; then 8617if test "${ac_cv_func_socket+set}" = set; then
8287 echo $ECHO_N "(cached) $ECHO_C" >&6 8618 echo $ECHO_N "(cached) $ECHO_C" >&6
8288else 8619else
8289 cat >conftest.$ac_ext <<_ACEOF 8620 cat >conftest.$ac_ext <<_ACEOF
8290#line $LINENO "configure"
8291/* confdefs.h. */ 8621/* confdefs.h. */
8292_ACEOF 8622_ACEOF
8293cat confdefs.h >>conftest.$ac_ext 8623cat confdefs.h >>conftest.$ac_ext
8294cat >>conftest.$ac_ext <<_ACEOF 8624cat >>conftest.$ac_ext <<_ACEOF
8295/* end confdefs.h. */ 8625/* end confdefs.h. */
8626/* Define socket to an innocuous variant, in case <limits.h> declares socket.
8627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8628#define socket innocuous_socket
8629
8296/* System header to define __stub macros and hopefully few prototypes, 8630/* System header to define __stub macros and hopefully few prototypes,
8297 which can conflict with char socket (); below. 8631 which can conflict with char socket (); below.
8298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8299 <limits.h> exists even on freestanding compilers. */ 8633 <limits.h> exists even on freestanding compilers. */
8634
8300#ifdef __STDC__ 8635#ifdef __STDC__
8301# include <limits.h> 8636# include <limits.h>
8302#else 8637#else
8303# include <assert.h> 8638# include <assert.h>
8304#endif 8639#endif
8640
8641#undef socket
8642
8305/* Override any gcc2 internal prototype to avoid an error. */ 8643/* Override any gcc2 internal prototype to avoid an error. */
8306#ifdef __cplusplus 8644#ifdef __cplusplus
8307extern "C" 8645extern "C"
8308{ 8646{
8309#endif 8647#endif
8330 return 0; 8668 return 0;
8331} 8669}
8332_ACEOF 8670_ACEOF
8333rm -f conftest.$ac_objext conftest$ac_exeext 8671rm -f conftest.$ac_objext conftest$ac_exeext
8334if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8672if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8335 (eval $ac_link) 2>&5 8673 (eval $ac_link) 2>conftest.er1
8336 ac_status=$? 8674 ac_status=$?
8675 grep -v '^ *+' conftest.er1 >conftest.err
8676 rm -f conftest.er1
8677 cat conftest.err >&5
8337 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8338 (exit $ac_status); } && 8679 (exit $ac_status); } &&
8339 { ac_try='test -s conftest$ac_exeext' 8680 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8341 (eval $ac_try) 2>&5 8682 (eval $ac_try) 2>&5
8342 ac_status=$? 8683 ac_status=$?
8343 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8685 (exit $ac_status); }; } &&
8686 { ac_try='test -s conftest$ac_exeext'
8687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8688 (eval $ac_try) 2>&5
8689 ac_status=$?
8690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8344 (exit $ac_status); }; }; then 8691 (exit $ac_status); }; }; then
8345 ac_cv_func_socket=yes 8692 ac_cv_func_socket=yes
8346else 8693else
8347 echo "$as_me: failed program was:" >&5 8694 echo "$as_me: failed program was:" >&5
8348sed 's/^/| /' conftest.$ac_ext >&5 8695sed 's/^/| /' conftest.$ac_ext >&5
8349 8696
8350ac_cv_func_socket=no 8697ac_cv_func_socket=no
8351fi 8698fi
8352rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8699rm -f conftest.err conftest.$ac_objext \
8700 conftest$ac_exeext conftest.$ac_ext
8353fi 8701fi
8354echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 8702echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
8355echo "${ECHO_T}$ac_cv_func_socket" >&6 8703echo "${ECHO_T}$ac_cv_func_socket" >&6
8356if test $ac_cv_func_socket = yes; then 8704if test $ac_cv_func_socket = yes; then
8357 : 8705 :
8364 echo $ECHO_N "(cached) $ECHO_C" >&6 8712 echo $ECHO_N "(cached) $ECHO_C" >&6
8365else 8713else
8366 ac_check_lib_save_LIBS=$LIBS 8714 ac_check_lib_save_LIBS=$LIBS
8367LIBS="-lsocket $LIBS" 8715LIBS="-lsocket $LIBS"
8368cat >conftest.$ac_ext <<_ACEOF 8716cat >conftest.$ac_ext <<_ACEOF
8369#line $LINENO "configure"
8370/* confdefs.h. */ 8717/* confdefs.h. */
8371_ACEOF 8718_ACEOF
8372cat confdefs.h >>conftest.$ac_ext 8719cat confdefs.h >>conftest.$ac_ext
8373cat >>conftest.$ac_ext <<_ACEOF 8720cat >>conftest.$ac_ext <<_ACEOF
8374/* end confdefs.h. */ 8721/* end confdefs.h. */
8388 return 0; 8735 return 0;
8389} 8736}
8390_ACEOF 8737_ACEOF
8391rm -f conftest.$ac_objext conftest$ac_exeext 8738rm -f conftest.$ac_objext conftest$ac_exeext
8392if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8739if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8393 (eval $ac_link) 2>&5 8740 (eval $ac_link) 2>conftest.er1
8394 ac_status=$? 8741 ac_status=$?
8742 grep -v '^ *+' conftest.er1 >conftest.err
8743 rm -f conftest.er1
8744 cat conftest.err >&5
8395 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8396 (exit $ac_status); } && 8746 (exit $ac_status); } &&
8397 { ac_try='test -s conftest$ac_exeext' 8747 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8399 (eval $ac_try) 2>&5 8749 (eval $ac_try) 2>&5
8400 ac_status=$? 8750 ac_status=$?
8401 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8752 (exit $ac_status); }; } &&
8753 { ac_try='test -s conftest$ac_exeext'
8754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8755 (eval $ac_try) 2>&5
8756 ac_status=$?
8757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8402 (exit $ac_status); }; }; then 8758 (exit $ac_status); }; }; then
8403 ac_cv_lib_socket_connect=yes 8759 ac_cv_lib_socket_connect=yes
8404else 8760else
8405 echo "$as_me: failed program was:" >&5 8761 echo "$as_me: failed program was:" >&5
8406sed 's/^/| /' conftest.$ac_ext >&5 8762sed 's/^/| /' conftest.$ac_ext >&5
8407 8763
8408ac_cv_lib_socket_connect=no 8764ac_cv_lib_socket_connect=no
8409fi 8765fi
8410rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8766rm -f conftest.err conftest.$ac_objext \
8767 conftest$ac_exeext conftest.$ac_ext
8411LIBS=$ac_check_lib_save_LIBS 8768LIBS=$ac_check_lib_save_LIBS
8412fi 8769fi
8413echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 8770echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
8414echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6 8771echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
8415if test $ac_cv_lib_socket_connect = yes; then 8772if test $ac_cv_lib_socket_connect = yes; then
8428echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 8785echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
8429if test "${ac_cv_func_gethostbyname+set}" = set; then 8786if test "${ac_cv_func_gethostbyname+set}" = set; then
8430 echo $ECHO_N "(cached) $ECHO_C" >&6 8787 echo $ECHO_N "(cached) $ECHO_C" >&6
8431else 8788else
8432 cat >conftest.$ac_ext <<_ACEOF 8789 cat >conftest.$ac_ext <<_ACEOF
8433#line $LINENO "configure"
8434/* confdefs.h. */ 8790/* confdefs.h. */
8435_ACEOF 8791_ACEOF
8436cat confdefs.h >>conftest.$ac_ext 8792cat confdefs.h >>conftest.$ac_ext
8437cat >>conftest.$ac_ext <<_ACEOF 8793cat >>conftest.$ac_ext <<_ACEOF
8438/* end confdefs.h. */ 8794/* end confdefs.h. */
8795/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
8796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8797#define gethostbyname innocuous_gethostbyname
8798
8439/* System header to define __stub macros and hopefully few prototypes, 8799/* System header to define __stub macros and hopefully few prototypes,
8440 which can conflict with char gethostbyname (); below. 8800 which can conflict with char gethostbyname (); below.
8441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8442 <limits.h> exists even on freestanding compilers. */ 8802 <limits.h> exists even on freestanding compilers. */
8803
8443#ifdef __STDC__ 8804#ifdef __STDC__
8444# include <limits.h> 8805# include <limits.h>
8445#else 8806#else
8446# include <assert.h> 8807# include <assert.h>
8447#endif 8808#endif
8809
8810#undef gethostbyname
8811
8448/* Override any gcc2 internal prototype to avoid an error. */ 8812/* Override any gcc2 internal prototype to avoid an error. */
8449#ifdef __cplusplus 8813#ifdef __cplusplus
8450extern "C" 8814extern "C"
8451{ 8815{
8452#endif 8816#endif
8473 return 0; 8837 return 0;
8474} 8838}
8475_ACEOF 8839_ACEOF
8476rm -f conftest.$ac_objext conftest$ac_exeext 8840rm -f conftest.$ac_objext conftest$ac_exeext
8477if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8841if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8478 (eval $ac_link) 2>&5 8842 (eval $ac_link) 2>conftest.er1
8479 ac_status=$? 8843 ac_status=$?
8844 grep -v '^ *+' conftest.er1 >conftest.err
8845 rm -f conftest.er1
8846 cat conftest.err >&5
8480 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8481 (exit $ac_status); } && 8848 (exit $ac_status); } &&
8482 { ac_try='test -s conftest$ac_exeext' 8849 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8484 (eval $ac_try) 2>&5 8851 (eval $ac_try) 2>&5
8485 ac_status=$? 8852 ac_status=$?
8486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8854 (exit $ac_status); }; } &&
8855 { ac_try='test -s conftest$ac_exeext'
8856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8857 (eval $ac_try) 2>&5
8858 ac_status=$?
8859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8487 (exit $ac_status); }; }; then 8860 (exit $ac_status); }; }; then
8488 ac_cv_func_gethostbyname=yes 8861 ac_cv_func_gethostbyname=yes
8489else 8862else
8490 echo "$as_me: failed program was:" >&5 8863 echo "$as_me: failed program was:" >&5
8491sed 's/^/| /' conftest.$ac_ext >&5 8864sed 's/^/| /' conftest.$ac_ext >&5
8492 8865
8493ac_cv_func_gethostbyname=no 8866ac_cv_func_gethostbyname=no
8494fi 8867fi
8495rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8868rm -f conftest.err conftest.$ac_objext \
8869 conftest$ac_exeext conftest.$ac_ext
8496fi 8870fi
8497echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 8871echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
8498echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 8872echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
8499if test $ac_cv_func_gethostbyname = yes; then 8873if test $ac_cv_func_gethostbyname = yes; then
8500 : 8874 :
8507 echo $ECHO_N "(cached) $ECHO_C" >&6 8881 echo $ECHO_N "(cached) $ECHO_C" >&6
8508else 8882else
8509 ac_check_lib_save_LIBS=$LIBS 8883 ac_check_lib_save_LIBS=$LIBS
8510LIBS="-lnsl $LIBS" 8884LIBS="-lnsl $LIBS"
8511cat >conftest.$ac_ext <<_ACEOF 8885cat >conftest.$ac_ext <<_ACEOF
8512#line $LINENO "configure"
8513/* confdefs.h. */ 8886/* confdefs.h. */
8514_ACEOF 8887_ACEOF
8515cat confdefs.h >>conftest.$ac_ext 8888cat confdefs.h >>conftest.$ac_ext
8516cat >>conftest.$ac_ext <<_ACEOF 8889cat >>conftest.$ac_ext <<_ACEOF
8517/* end confdefs.h. */ 8890/* end confdefs.h. */
8531 return 0; 8904 return 0;
8532} 8905}
8533_ACEOF 8906_ACEOF
8534rm -f conftest.$ac_objext conftest$ac_exeext 8907rm -f conftest.$ac_objext conftest$ac_exeext
8535if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8908if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8536 (eval $ac_link) 2>&5 8909 (eval $ac_link) 2>conftest.er1
8537 ac_status=$? 8910 ac_status=$?
8911 grep -v '^ *+' conftest.er1 >conftest.err
8912 rm -f conftest.er1
8913 cat conftest.err >&5
8538 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8539 (exit $ac_status); } && 8915 (exit $ac_status); } &&
8540 { ac_try='test -s conftest$ac_exeext' 8916 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8542 (eval $ac_try) 2>&5 8918 (eval $ac_try) 2>&5
8543 ac_status=$? 8919 ac_status=$?
8544 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8921 (exit $ac_status); }; } &&
8922 { ac_try='test -s conftest$ac_exeext'
8923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8924 (eval $ac_try) 2>&5
8925 ac_status=$?
8926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8545 (exit $ac_status); }; }; then 8927 (exit $ac_status); }; }; then
8546 ac_cv_lib_nsl_gethostbyname=yes 8928 ac_cv_lib_nsl_gethostbyname=yes
8547else 8929else
8548 echo "$as_me: failed program was:" >&5 8930 echo "$as_me: failed program was:" >&5
8549sed 's/^/| /' conftest.$ac_ext >&5 8931sed 's/^/| /' conftest.$ac_ext >&5
8550 8932
8551ac_cv_lib_nsl_gethostbyname=no 8933ac_cv_lib_nsl_gethostbyname=no
8552fi 8934fi
8553rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8935rm -f conftest.err conftest.$ac_objext \
8936 conftest$ac_exeext conftest.$ac_ext
8554LIBS=$ac_check_lib_save_LIBS 8937LIBS=$ac_check_lib_save_LIBS
8555fi 8938fi
8556echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 8939echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
8557echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 8940echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
8558if test $ac_cv_lib_nsl_gethostbyname = yes; then 8941if test $ac_cv_lib_nsl_gethostbyname = yes; then
8602 case `(ac_space=' '; set | grep ac_space) 2>&1` in 8985 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8603 *ac_space=\ *) 8986 *ac_space=\ *)
8604 # `set' does not quote correctly, so add quotes (double-quote 8987 # `set' does not quote correctly, so add quotes (double-quote
8605 # substitution turns \\\\ into \\, and sed turns \\ into \). 8988 # substitution turns \\\\ into \\, and sed turns \\ into \).
8606 sed -n \ 8989 sed -n \
8607 "s/'/'\\\\''/g; 8990 "s/'/'\\\\''/g;
8608 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 8991 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8609 ;; 8992 ;;
8610 *) 8993 *)
8611 # `set' quotes correctly as required by POSIX, so do not add quotes. 8994 # `set' quotes correctly as required by POSIX, so do not add quotes.
8612 sed -n \ 8995 sed -n \
8613 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 8996 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8614 ;; 8997 ;;
8615 esac; 8998 esac;
8616} | 8999} |
8617 sed ' 9000 sed '
8618 t clear 9001 t clear
8647if test "${tinc_cv_linux_if_tun_h+set}" = set; then 9030if test "${tinc_cv_linux_if_tun_h+set}" = set; then
8648 echo $ECHO_N "(cached) $ECHO_C" >&6 9031 echo $ECHO_N "(cached) $ECHO_C" >&6
8649else 9032else
8650 9033
8651 cat >conftest.$ac_ext <<_ACEOF 9034 cat >conftest.$ac_ext <<_ACEOF
8652#line $LINENO "configure"
8653/* confdefs.h. */ 9035/* confdefs.h. */
8654_ACEOF 9036_ACEOF
8655cat confdefs.h >>conftest.$ac_ext 9037cat confdefs.h >>conftest.$ac_ext
8656cat >>conftest.$ac_ext <<_ACEOF 9038cat >>conftest.$ac_ext <<_ACEOF
8657/* end confdefs.h. */ 9039/* end confdefs.h. */
8664 return 0; 9046 return 0;
8665} 9047}
8666_ACEOF 9048_ACEOF
8667rm -f conftest.$ac_objext 9049rm -f conftest.$ac_objext
8668if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9050if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8669 (eval $ac_compile) 2>&5 9051 (eval $ac_compile) 2>conftest.er1
8670 ac_status=$? 9052 ac_status=$?
9053 grep -v '^ *+' conftest.er1 >conftest.err
9054 rm -f conftest.er1
9055 cat conftest.err >&5
8671 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8672 (exit $ac_status); } && 9057 (exit $ac_status); } &&
8673 { ac_try='test -s conftest.$ac_objext' 9058 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8675 (eval $ac_try) 2>&5 9060 (eval $ac_try) 2>&5
8676 ac_status=$? 9061 ac_status=$?
8677 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9063 (exit $ac_status); }; } &&
9064 { ac_try='test -s conftest.$ac_objext'
9065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9066 (eval $ac_try) 2>&5
9067 ac_status=$?
9068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8678 (exit $ac_status); }; }; then 9069 (exit $ac_status); }; }; then
8679 if_tun_h="\"$kerneldir/include/linux/if_tun.h\"" 9070 if_tun_h="\"$kerneldir/include/linux/if_tun.h\""
8680else 9071else
8681 echo "$as_me: failed program was:" >&5 9072 echo "$as_me: failed program was:" >&5
8682sed 's/^/| /' conftest.$ac_ext >&5 9073sed 's/^/| /' conftest.$ac_ext >&5
8683 9074
8684cat >conftest.$ac_ext <<_ACEOF 9075cat >conftest.$ac_ext <<_ACEOF
8685#line $LINENO "configure"
8686/* confdefs.h. */ 9076/* confdefs.h. */
8687_ACEOF 9077_ACEOF
8688cat confdefs.h >>conftest.$ac_ext 9078cat confdefs.h >>conftest.$ac_ext
8689cat >>conftest.$ac_ext <<_ACEOF 9079cat >>conftest.$ac_ext <<_ACEOF
8690/* end confdefs.h. */ 9080/* end confdefs.h. */
8697 return 0; 9087 return 0;
8698} 9088}
8699_ACEOF 9089_ACEOF
8700rm -f conftest.$ac_objext 9090rm -f conftest.$ac_objext
8701if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9091if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8702 (eval $ac_compile) 2>&5 9092 (eval $ac_compile) 2>conftest.er1
8703 ac_status=$? 9093 ac_status=$?
9094 grep -v '^ *+' conftest.er1 >conftest.err
9095 rm -f conftest.er1
9096 cat conftest.err >&5
8704 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8705 (exit $ac_status); } && 9098 (exit $ac_status); } &&
8706 { ac_try='test -s conftest.$ac_objext' 9099 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8708 (eval $ac_try) 2>&5 9101 (eval $ac_try) 2>&5
8709 ac_status=$? 9102 ac_status=$?
8710 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9104 (exit $ac_status); }; } &&
9105 { ac_try='test -s conftest.$ac_objext'
9106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9107 (eval $ac_try) 2>&5
9108 ac_status=$?
9109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8711 (exit $ac_status); }; }; then 9110 (exit $ac_status); }; }; then
8712 if_tun_h="default" 9111 if_tun_h="default"
8713else 9112else
8714 echo "$as_me: failed program was:" >&5 9113 echo "$as_me: failed program was:" >&5
8715sed 's/^/| /' conftest.$ac_ext >&5 9114sed 's/^/| /' conftest.$ac_ext >&5
8716 9115
8717if_tun_h="no" 9116if_tun_h="no"
8718 9117
8719fi 9118fi
8720rm -f conftest.$ac_objext conftest.$ac_ext 9119rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8721 9120
8722fi 9121fi
8723rm -f conftest.$ac_objext conftest.$ac_ext 9122rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8724 9123
8725 if test $if_tun_h = no; then 9124 if test $if_tun_h = no; then
8726 tinc_cv_linux_if_tun_h=none 9125 tinc_cv_linux_if_tun_h=none
8727 else 9126 else
8728 tinc_cv_linux_if_tun_h="$if_tun_h" 9127 tinc_cv_linux_if_tun_h="$if_tun_h"
8792else 9191else
8793 # Is the header compilable? 9192 # Is the header compilable?
8794echo "$as_me:$LINENO: checking $ac_header usability" >&5 9193echo "$as_me:$LINENO: checking $ac_header usability" >&5
8795echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 9194echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8796cat >conftest.$ac_ext <<_ACEOF 9195cat >conftest.$ac_ext <<_ACEOF
8797#line $LINENO "configure"
8798/* confdefs.h. */ 9196/* confdefs.h. */
8799_ACEOF 9197_ACEOF
8800cat confdefs.h >>conftest.$ac_ext 9198cat confdefs.h >>conftest.$ac_ext
8801cat >>conftest.$ac_ext <<_ACEOF 9199cat >>conftest.$ac_ext <<_ACEOF
8802/* end confdefs.h. */ 9200/* end confdefs.h. */
8803$ac_includes_default 9201$ac_includes_default
8804#include <$ac_header> 9202#include <$ac_header>
8805_ACEOF 9203_ACEOF
8806rm -f conftest.$ac_objext 9204rm -f conftest.$ac_objext
8807if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9205if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8808 (eval $ac_compile) 2>&5 9206 (eval $ac_compile) 2>conftest.er1
8809 ac_status=$? 9207 ac_status=$?
9208 grep -v '^ *+' conftest.er1 >conftest.err
9209 rm -f conftest.er1
9210 cat conftest.err >&5
8810 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8811 (exit $ac_status); } && 9212 (exit $ac_status); } &&
8812 { ac_try='test -s conftest.$ac_objext' 9213 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8814 (eval $ac_try) 2>&5 9215 (eval $ac_try) 2>&5
8815 ac_status=$? 9216 ac_status=$?
8816 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9218 (exit $ac_status); }; } &&
9219 { ac_try='test -s conftest.$ac_objext'
9220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9221 (eval $ac_try) 2>&5
9222 ac_status=$?
9223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8817 (exit $ac_status); }; }; then 9224 (exit $ac_status); }; }; then
8818 ac_header_compiler=yes 9225 ac_header_compiler=yes
8819else 9226else
8820 echo "$as_me: failed program was:" >&5 9227 echo "$as_me: failed program was:" >&5
8821sed 's/^/| /' conftest.$ac_ext >&5 9228sed 's/^/| /' conftest.$ac_ext >&5
8822 9229
8823ac_header_compiler=no 9230ac_header_compiler=no
8824fi 9231fi
8825rm -f conftest.$ac_objext conftest.$ac_ext 9232rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8826echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9233echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8827echo "${ECHO_T}$ac_header_compiler" >&6 9234echo "${ECHO_T}$ac_header_compiler" >&6
8828 9235
8829# Is the header present? 9236# Is the header present?
8830echo "$as_me:$LINENO: checking $ac_header presence" >&5 9237echo "$as_me:$LINENO: checking $ac_header presence" >&5
8831echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 9238echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8832cat >conftest.$ac_ext <<_ACEOF 9239cat >conftest.$ac_ext <<_ACEOF
8833#line $LINENO "configure"
8834/* confdefs.h. */ 9240/* confdefs.h. */
8835_ACEOF 9241_ACEOF
8836cat confdefs.h >>conftest.$ac_ext 9242cat confdefs.h >>conftest.$ac_ext
8837cat >>conftest.$ac_ext <<_ACEOF 9243cat >>conftest.$ac_ext <<_ACEOF
8838/* end confdefs.h. */ 9244/* end confdefs.h. */
8846 cat conftest.err >&5 9252 cat conftest.err >&5
8847 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8848 (exit $ac_status); } >/dev/null; then 9254 (exit $ac_status); } >/dev/null; then
8849 if test -s conftest.err; then 9255 if test -s conftest.err; then
8850 ac_cpp_err=$ac_cxx_preproc_warn_flag 9256 ac_cpp_err=$ac_cxx_preproc_warn_flag
9257 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8851 else 9258 else
8852 ac_cpp_err= 9259 ac_cpp_err=
8853 fi 9260 fi
8854else 9261else
8855 ac_cpp_err=yes 9262 ac_cpp_err=yes
8865rm -f conftest.err conftest.$ac_ext 9272rm -f conftest.err conftest.$ac_ext
8866echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9273echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8867echo "${ECHO_T}$ac_header_preproc" >&6 9274echo "${ECHO_T}$ac_header_preproc" >&6
8868 9275
8869# So? What about this header? 9276# So? What about this header?
8870case $ac_header_compiler:$ac_header_preproc in 9277case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8871 yes:no ) 9278 yes:no: )
8872 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9279 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8873echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9280echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9281 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9282echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9283 ac_header_preproc=yes
9284 ;;
9285 no:yes:* )
9286 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9287echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9288 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9289echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9290 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9291echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9292 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9293echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8874 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9294 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8875echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9295echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9296 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9297echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8876 ( 9298 (
8877 cat <<\_ASBOX 9299 cat <<\_ASBOX
8878## ------------------------------------ ## 9300## ------------------------------------------ ##
8879## Report this to bug-autoconf@gnu.org. ## 9301## Report this to the AC_PACKAGE_NAME lists. ##
8880## ------------------------------------ ## 9302## ------------------------------------------ ##
8881_ASBOX
8882 ) |
8883 sed "s/^/$as_me: WARNING: /" >&2
8884 ;;
8885 no:yes )
8886 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8887echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8888 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8889echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8890 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8891echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8892 (
8893 cat <<\_ASBOX
8894## ------------------------------------ ##
8895## Report this to bug-autoconf@gnu.org. ##
8896## ------------------------------------ ##
8897_ASBOX 9303_ASBOX
8898 ) | 9304 ) |
8899 sed "s/^/$as_me: WARNING: /" >&2 9305 sed "s/^/$as_me: WARNING: /" >&2
8900 ;; 9306 ;;
8901esac 9307esac
8902echo "$as_me:$LINENO: checking for $ac_header" >&5 9308echo "$as_me:$LINENO: checking for $ac_header" >&5
8903echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9309echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8904if eval "test \"\${$as_ac_Header+set}\" = set"; then 9310if eval "test \"\${$as_ac_Header+set}\" = set"; then
8905 echo $ECHO_N "(cached) $ECHO_C" >&6 9311 echo $ECHO_N "(cached) $ECHO_C" >&6
8906else 9312else
8907 eval "$as_ac_Header=$ac_header_preproc" 9313 eval "$as_ac_Header=\$ac_header_preproc"
8908fi 9314fi
8909echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 9315echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8910echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9316echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8911 9317
8912fi 9318fi
8933 echo $ECHO_N "(cached) $ECHO_C" >&6 9339 echo $ECHO_N "(cached) $ECHO_C" >&6
8934else 9340else
8935 ac_check_lib_save_LIBS=$LIBS 9341 ac_check_lib_save_LIBS=$LIBS
8936LIBS="-lcrypto $LIBS" 9342LIBS="-lcrypto $LIBS"
8937cat >conftest.$ac_ext <<_ACEOF 9343cat >conftest.$ac_ext <<_ACEOF
8938#line $LINENO "configure"
8939/* confdefs.h. */ 9344/* confdefs.h. */
8940_ACEOF 9345_ACEOF
8941cat confdefs.h >>conftest.$ac_ext 9346cat confdefs.h >>conftest.$ac_ext
8942cat >>conftest.$ac_ext <<_ACEOF 9347cat >>conftest.$ac_ext <<_ACEOF
8943/* end confdefs.h. */ 9348/* end confdefs.h. */
8957 return 0; 9362 return 0;
8958} 9363}
8959_ACEOF 9364_ACEOF
8960rm -f conftest.$ac_objext conftest$ac_exeext 9365rm -f conftest.$ac_objext conftest$ac_exeext
8961if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9366if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8962 (eval $ac_link) 2>&5 9367 (eval $ac_link) 2>conftest.er1
8963 ac_status=$? 9368 ac_status=$?
9369 grep -v '^ *+' conftest.er1 >conftest.err
9370 rm -f conftest.er1
9371 cat conftest.err >&5
8964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8965 (exit $ac_status); } && 9373 (exit $ac_status); } &&
8966 { ac_try='test -s conftest$ac_exeext' 9374 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8968 (eval $ac_try) 2>&5 9376 (eval $ac_try) 2>&5
8969 ac_status=$? 9377 ac_status=$?
8970 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9379 (exit $ac_status); }; } &&
9380 { ac_try='test -s conftest$ac_exeext'
9381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9382 (eval $ac_try) 2>&5
9383 ac_status=$?
9384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8971 (exit $ac_status); }; }; then 9385 (exit $ac_status); }; }; then
8972 ac_cv_lib_crypto_SHA1_version=yes 9386 ac_cv_lib_crypto_SHA1_version=yes
8973else 9387else
8974 echo "$as_me: failed program was:" >&5 9388 echo "$as_me: failed program was:" >&5
8975sed 's/^/| /' conftest.$ac_ext >&5 9389sed 's/^/| /' conftest.$ac_ext >&5
8976 9390
8977ac_cv_lib_crypto_SHA1_version=no 9391ac_cv_lib_crypto_SHA1_version=no
8978fi 9392fi
8979rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9393rm -f conftest.err conftest.$ac_objext \
9394 conftest$ac_exeext conftest.$ac_ext
8980LIBS=$ac_check_lib_save_LIBS 9395LIBS=$ac_check_lib_save_LIBS
8981fi 9396fi
8982echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_SHA1_version" >&5 9397echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_SHA1_version" >&5
8983echo "${ECHO_T}$ac_cv_lib_crypto_SHA1_version" >&6 9398echo "${ECHO_T}$ac_cv_lib_crypto_SHA1_version" >&6
8984if test $ac_cv_lib_crypto_SHA1_version = yes; then 9399if test $ac_cv_lib_crypto_SHA1_version = yes; then
9002echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9417echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9003if eval "test \"\${$as_ac_var+set}\" = set"; then 9418if eval "test \"\${$as_ac_var+set}\" = set"; then
9004 echo $ECHO_N "(cached) $ECHO_C" >&6 9419 echo $ECHO_N "(cached) $ECHO_C" >&6
9005else 9420else
9006 cat >conftest.$ac_ext <<_ACEOF 9421 cat >conftest.$ac_ext <<_ACEOF
9007#line $LINENO "configure"
9008/* confdefs.h. */ 9422/* confdefs.h. */
9009_ACEOF 9423_ACEOF
9010cat confdefs.h >>conftest.$ac_ext 9424cat confdefs.h >>conftest.$ac_ext
9011cat >>conftest.$ac_ext <<_ACEOF 9425cat >>conftest.$ac_ext <<_ACEOF
9012/* end confdefs.h. */ 9426/* end confdefs.h. */
9427/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9429#define $ac_func innocuous_$ac_func
9430
9013/* System header to define __stub macros and hopefully few prototypes, 9431/* System header to define __stub macros and hopefully few prototypes,
9014 which can conflict with char $ac_func (); below. 9432 which can conflict with char $ac_func (); below.
9015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 9433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9016 <limits.h> exists even on freestanding compilers. */ 9434 <limits.h> exists even on freestanding compilers. */
9435
9017#ifdef __STDC__ 9436#ifdef __STDC__
9018# include <limits.h> 9437# include <limits.h>
9019#else 9438#else
9020# include <assert.h> 9439# include <assert.h>
9021#endif 9440#endif
9441
9442#undef $ac_func
9443
9022/* Override any gcc2 internal prototype to avoid an error. */ 9444/* Override any gcc2 internal prototype to avoid an error. */
9023#ifdef __cplusplus 9445#ifdef __cplusplus
9024extern "C" 9446extern "C"
9025{ 9447{
9026#endif 9448#endif
9047 return 0; 9469 return 0;
9048} 9470}
9049_ACEOF 9471_ACEOF
9050rm -f conftest.$ac_objext conftest$ac_exeext 9472rm -f conftest.$ac_objext conftest$ac_exeext
9051if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9473if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9052 (eval $ac_link) 2>&5 9474 (eval $ac_link) 2>conftest.er1
9053 ac_status=$? 9475 ac_status=$?
9476 grep -v '^ *+' conftest.er1 >conftest.err
9477 rm -f conftest.er1
9478 cat conftest.err >&5
9054 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9055 (exit $ac_status); } && 9480 (exit $ac_status); } &&
9056 { ac_try='test -s conftest$ac_exeext' 9481 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9058 (eval $ac_try) 2>&5 9483 (eval $ac_try) 2>&5
9059 ac_status=$? 9484 ac_status=$?
9060 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9486 (exit $ac_status); }; } &&
9487 { ac_try='test -s conftest$ac_exeext'
9488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9489 (eval $ac_try) 2>&5
9490 ac_status=$?
9491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9061 (exit $ac_status); }; }; then 9492 (exit $ac_status); }; }; then
9062 eval "$as_ac_var=yes" 9493 eval "$as_ac_var=yes"
9063else 9494else
9064 echo "$as_me: failed program was:" >&5 9495 echo "$as_me: failed program was:" >&5
9065sed 's/^/| /' conftest.$ac_ext >&5 9496sed 's/^/| /' conftest.$ac_ext >&5
9066 9497
9067eval "$as_ac_var=no" 9498eval "$as_ac_var=no"
9068fi 9499fi
9069rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9500rm -f conftest.err conftest.$ac_objext \
9501 conftest$ac_exeext conftest.$ac_ext
9070fi 9502fi
9071echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 9503echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9072echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9504echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9073if test `eval echo '${'$as_ac_var'}'` = yes; then 9505if test `eval echo '${'$as_ac_var'}'` = yes; then
9074 cat >>confdefs.h <<_ACEOF 9506 cat >>confdefs.h <<_ACEOF
9083echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 9515echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9084if test "${ac_cv_func_dlopen+set}" = set; then 9516if test "${ac_cv_func_dlopen+set}" = set; then
9085 echo $ECHO_N "(cached) $ECHO_C" >&6 9517 echo $ECHO_N "(cached) $ECHO_C" >&6
9086else 9518else
9087 cat >conftest.$ac_ext <<_ACEOF 9519 cat >conftest.$ac_ext <<_ACEOF
9088#line $LINENO "configure"
9089/* confdefs.h. */ 9520/* confdefs.h. */
9090_ACEOF 9521_ACEOF
9091cat confdefs.h >>conftest.$ac_ext 9522cat confdefs.h >>conftest.$ac_ext
9092cat >>conftest.$ac_ext <<_ACEOF 9523cat >>conftest.$ac_ext <<_ACEOF
9093/* end confdefs.h. */ 9524/* end confdefs.h. */
9525/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9527#define dlopen innocuous_dlopen
9528
9094/* System header to define __stub macros and hopefully few prototypes, 9529/* System header to define __stub macros and hopefully few prototypes,
9095 which can conflict with char dlopen (); below. 9530 which can conflict with char dlopen (); below.
9096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 9531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9097 <limits.h> exists even on freestanding compilers. */ 9532 <limits.h> exists even on freestanding compilers. */
9533
9098#ifdef __STDC__ 9534#ifdef __STDC__
9099# include <limits.h> 9535# include <limits.h>
9100#else 9536#else
9101# include <assert.h> 9537# include <assert.h>
9102#endif 9538#endif
9539
9540#undef dlopen
9541
9103/* Override any gcc2 internal prototype to avoid an error. */ 9542/* Override any gcc2 internal prototype to avoid an error. */
9104#ifdef __cplusplus 9543#ifdef __cplusplus
9105extern "C" 9544extern "C"
9106{ 9545{
9107#endif 9546#endif
9128 return 0; 9567 return 0;
9129} 9568}
9130_ACEOF 9569_ACEOF
9131rm -f conftest.$ac_objext conftest$ac_exeext 9570rm -f conftest.$ac_objext conftest$ac_exeext
9132if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9571if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9133 (eval $ac_link) 2>&5 9572 (eval $ac_link) 2>conftest.er1
9134 ac_status=$? 9573 ac_status=$?
9574 grep -v '^ *+' conftest.er1 >conftest.err
9575 rm -f conftest.er1
9576 cat conftest.err >&5
9135 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9136 (exit $ac_status); } && 9578 (exit $ac_status); } &&
9137 { ac_try='test -s conftest$ac_exeext' 9579 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9139 (eval $ac_try) 2>&5 9581 (eval $ac_try) 2>&5
9140 ac_status=$? 9582 ac_status=$?
9141 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9584 (exit $ac_status); }; } &&
9585 { ac_try='test -s conftest$ac_exeext'
9586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9587 (eval $ac_try) 2>&5
9588 ac_status=$?
9589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9142 (exit $ac_status); }; }; then 9590 (exit $ac_status); }; }; then
9143 ac_cv_func_dlopen=yes 9591 ac_cv_func_dlopen=yes
9144else 9592else
9145 echo "$as_me: failed program was:" >&5 9593 echo "$as_me: failed program was:" >&5
9146sed 's/^/| /' conftest.$ac_ext >&5 9594sed 's/^/| /' conftest.$ac_ext >&5
9147 9595
9148ac_cv_func_dlopen=no 9596ac_cv_func_dlopen=no
9149fi 9597fi
9150rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9598rm -f conftest.err conftest.$ac_objext \
9599 conftest$ac_exeext conftest.$ac_ext
9151fi 9600fi
9152echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 9601echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9153echo "${ECHO_T}$ac_cv_func_dlopen" >&6 9602echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9154if test $ac_cv_func_dlopen = yes; then 9603if test $ac_cv_func_dlopen = yes; then
9155 : 9604 :
9160 echo $ECHO_N "(cached) $ECHO_C" >&6 9609 echo $ECHO_N "(cached) $ECHO_C" >&6
9161else 9610else
9162 ac_check_lib_save_LIBS=$LIBS 9611 ac_check_lib_save_LIBS=$LIBS
9163LIBS="-ldl $LIBS" 9612LIBS="-ldl $LIBS"
9164cat >conftest.$ac_ext <<_ACEOF 9613cat >conftest.$ac_ext <<_ACEOF
9165#line $LINENO "configure"
9166/* confdefs.h. */ 9614/* confdefs.h. */
9167_ACEOF 9615_ACEOF
9168cat confdefs.h >>conftest.$ac_ext 9616cat confdefs.h >>conftest.$ac_ext
9169cat >>conftest.$ac_ext <<_ACEOF 9617cat >>conftest.$ac_ext <<_ACEOF
9170/* end confdefs.h. */ 9618/* end confdefs.h. */
9184 return 0; 9632 return 0;
9185} 9633}
9186_ACEOF 9634_ACEOF
9187rm -f conftest.$ac_objext conftest$ac_exeext 9635rm -f conftest.$ac_objext conftest$ac_exeext
9188if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9636if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9189 (eval $ac_link) 2>&5 9637 (eval $ac_link) 2>conftest.er1
9190 ac_status=$? 9638 ac_status=$?
9639 grep -v '^ *+' conftest.er1 >conftest.err
9640 rm -f conftest.er1
9641 cat conftest.err >&5
9191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9192 (exit $ac_status); } && 9643 (exit $ac_status); } &&
9193 { ac_try='test -s conftest$ac_exeext' 9644 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9195 (eval $ac_try) 2>&5 9646 (eval $ac_try) 2>&5
9196 ac_status=$? 9647 ac_status=$?
9197 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9649 (exit $ac_status); }; } &&
9650 { ac_try='test -s conftest$ac_exeext'
9651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9652 (eval $ac_try) 2>&5
9653 ac_status=$?
9654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9198 (exit $ac_status); }; }; then 9655 (exit $ac_status); }; }; then
9199 ac_cv_lib_dl_dlopen=yes 9656 ac_cv_lib_dl_dlopen=yes
9200else 9657else
9201 echo "$as_me: failed program was:" >&5 9658 echo "$as_me: failed program was:" >&5
9202sed 's/^/| /' conftest.$ac_ext >&5 9659sed 's/^/| /' conftest.$ac_ext >&5
9203 9660
9204ac_cv_lib_dl_dlopen=no 9661ac_cv_lib_dl_dlopen=no
9205fi 9662fi
9206rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9663rm -f conftest.err conftest.$ac_objext \
9664 conftest$ac_exeext conftest.$ac_ext
9207LIBS=$ac_check_lib_save_LIBS 9665LIBS=$ac_check_lib_save_LIBS
9208fi 9666fi
9209echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 9667echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9210echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 9668echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9211if test $ac_cv_lib_dl_dlopen = yes; then 9669if test $ac_cv_lib_dl_dlopen = yes; then
9223 9681
9224if test "x$openssl_include" != x; then 9682if test "x$openssl_include" != x; then
9225 CXXFLAGS="$CXXFLAGS -I$openssl_include" 9683 CXXFLAGS="$CXXFLAGS -I$openssl_include"
9226fi 9684fi
9227 9685
9686# Check whether --enable-static-daemon or --disable-static-daemon was given.
9687if test "${enable_static_daemon+set}" = set; then
9688 enableval="$enable_static_daemon"
9689 LDFLAGS_DAEMON=-static
9690
9691fi;
9692
9693
9228# Check whether --enable-rohc or --disable-rohc was given. 9694# Check whether --enable-rohc or --disable-rohc was given.
9229if test "${enable_rohc+set}" = set; then 9695if test "${enable_rohc+set}" = set; then
9230 enableval="$enable_rohc" 9696 enableval="$enable_rohc"
9231 9697
9232 echo 9698 echo
9233 echo "**********************************************************************" 9699 echo "**********************************************************************"
9234 echo "**********************************************************************" 9700 echo "**********************************************************************"
9235 echo "**** --enable-rohc not yet implemented *******************************" 9701 echo "**** --enable-rohc is highly experimental, do not use ****************"
9236 echo "**********************************************************************"
9237 echo "**** uuh sorry, I am such an ass, but I didn't find any rfc3095 (ROHC)"
9238 echo "**** implementation to be used in GPL code on the web."
9239 echo "**** so this option is just a fake. Please implement one and send it"
9240 echo "**** to me ;)"
9241 echo "**********************************************************************"
9242 echo "**********************************************************************"
9243 echo "**********************************************************************" 9702 echo "**********************************************************************"
9244 echo "**********************************************************************" 9703 echo "**********************************************************************"
9245 echo 9704 echo
9705 rohc=true
9706
9707cat >>confdefs.h <<_ACEOF
9708#define ENABLE_ROHC 1
9709_ACEOF
9710
9246 9711
9247 9712
9248fi; 9713fi;
9714
9715
9716
9717if test x$rohc = xtrue; then
9718 ROHC_TRUE=
9719 ROHC_FALSE='#'
9720else
9721 ROHC_TRUE='#'
9722 ROHC_FALSE=
9723fi
9724
9725
9249 9726
9250# Check whether --enable-icmp or --disable-icmp was given. 9727# Check whether --enable-icmp or --disable-icmp was given.
9251if test "${enable_icmp+set}" = set; then 9728if test "${enable_icmp+set}" = set; then
9252 enableval="$enable_icmp" 9729 enableval="$enable_icmp"
9253 9730
9267_ACEOF 9744_ACEOF
9268 9745
9269 9746
9270fi; 9747fi;
9271 9748
9749# Check whether --enable-dns or --disable-dns was given.
9750if test "${enable_dns+set}" = set; then
9751 enableval="$enable_dns"
9752
9753 if test "${ac_cv_header_gmp_h+set}" = set; then
9754 echo "$as_me:$LINENO: checking for gmp.h" >&5
9755echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6
9756if test "${ac_cv_header_gmp_h+set}" = set; then
9757 echo $ECHO_N "(cached) $ECHO_C" >&6
9758fi
9759echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5
9760echo "${ECHO_T}$ac_cv_header_gmp_h" >&6
9761else
9762 # Is the header compilable?
9763echo "$as_me:$LINENO: checking gmp.h usability" >&5
9764echo $ECHO_N "checking gmp.h usability... $ECHO_C" >&6
9765cat >conftest.$ac_ext <<_ACEOF
9766/* confdefs.h. */
9767_ACEOF
9768cat confdefs.h >>conftest.$ac_ext
9769cat >>conftest.$ac_ext <<_ACEOF
9770/* end confdefs.h. */
9771$ac_includes_default
9772#include <gmp.h>
9773_ACEOF
9774rm -f conftest.$ac_objext
9775if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9776 (eval $ac_compile) 2>conftest.er1
9777 ac_status=$?
9778 grep -v '^ *+' conftest.er1 >conftest.err
9779 rm -f conftest.er1
9780 cat conftest.err >&5
9781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9782 (exit $ac_status); } &&
9783 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9785 (eval $ac_try) 2>&5
9786 ac_status=$?
9787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9788 (exit $ac_status); }; } &&
9789 { ac_try='test -s conftest.$ac_objext'
9790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9791 (eval $ac_try) 2>&5
9792 ac_status=$?
9793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9794 (exit $ac_status); }; }; then
9795 ac_header_compiler=yes
9796else
9797 echo "$as_me: failed program was:" >&5
9798sed 's/^/| /' conftest.$ac_ext >&5
9799
9800ac_header_compiler=no
9801fi
9802rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9803echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9804echo "${ECHO_T}$ac_header_compiler" >&6
9805
9806# Is the header present?
9807echo "$as_me:$LINENO: checking gmp.h presence" >&5
9808echo $ECHO_N "checking gmp.h presence... $ECHO_C" >&6
9809cat >conftest.$ac_ext <<_ACEOF
9810/* confdefs.h. */
9811_ACEOF
9812cat confdefs.h >>conftest.$ac_ext
9813cat >>conftest.$ac_ext <<_ACEOF
9814/* end confdefs.h. */
9815#include <gmp.h>
9816_ACEOF
9817if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9818 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9819 ac_status=$?
9820 grep -v '^ *+' conftest.er1 >conftest.err
9821 rm -f conftest.er1
9822 cat conftest.err >&5
9823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9824 (exit $ac_status); } >/dev/null; then
9825 if test -s conftest.err; then
9826 ac_cpp_err=$ac_cxx_preproc_warn_flag
9827 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
9828 else
9829 ac_cpp_err=
9830 fi
9831else
9832 ac_cpp_err=yes
9833fi
9834if test -z "$ac_cpp_err"; then
9835 ac_header_preproc=yes
9836else
9837 echo "$as_me: failed program was:" >&5
9838sed 's/^/| /' conftest.$ac_ext >&5
9839
9840 ac_header_preproc=no
9841fi
9842rm -f conftest.err conftest.$ac_ext
9843echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9844echo "${ECHO_T}$ac_header_preproc" >&6
9845
9846# So? What about this header?
9847case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9848 yes:no: )
9849 { echo "$as_me:$LINENO: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&5
9850echo "$as_me: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9851 { echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the compiler's result" >&5
9852echo "$as_me: WARNING: gmp.h: proceeding with the compiler's result" >&2;}
9853 ac_header_preproc=yes
9854 ;;
9855 no:yes:* )
9856 { echo "$as_me:$LINENO: WARNING: gmp.h: present but cannot be compiled" >&5
9857echo "$as_me: WARNING: gmp.h: present but cannot be compiled" >&2;}
9858 { echo "$as_me:$LINENO: WARNING: gmp.h: check for missing prerequisite headers?" >&5
9859echo "$as_me: WARNING: gmp.h: check for missing prerequisite headers?" >&2;}
9860 { echo "$as_me:$LINENO: WARNING: gmp.h: see the Autoconf documentation" >&5
9861echo "$as_me: WARNING: gmp.h: see the Autoconf documentation" >&2;}
9862 { echo "$as_me:$LINENO: WARNING: gmp.h: section \"Present But Cannot Be Compiled\"" >&5
9863echo "$as_me: WARNING: gmp.h: section \"Present But Cannot Be Compiled\"" >&2;}
9864 { echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the preprocessor's result" >&5
9865echo "$as_me: WARNING: gmp.h: proceeding with the preprocessor's result" >&2;}
9866 { echo "$as_me:$LINENO: WARNING: gmp.h: in the future, the compiler will take precedence" >&5
9867echo "$as_me: WARNING: gmp.h: in the future, the compiler will take precedence" >&2;}
9868 (
9869 cat <<\_ASBOX
9870## ------------------------------------------ ##
9871## Report this to the AC_PACKAGE_NAME lists. ##
9872## ------------------------------------------ ##
9873_ASBOX
9874 ) |
9875 sed "s/^/$as_me: WARNING: /" >&2
9876 ;;
9877esac
9878echo "$as_me:$LINENO: checking for gmp.h" >&5
9879echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6
9880if test "${ac_cv_header_gmp_h+set}" = set; then
9881 echo $ECHO_N "(cached) $ECHO_C" >&6
9882else
9883 ac_cv_header_gmp_h=$ac_header_preproc
9884fi
9885echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5
9886echo "${ECHO_T}$ac_cv_header_gmp_h" >&6
9887
9888fi
9889if test $ac_cv_header_gmp_h = yes; then
9890 :
9891else
9892 { { echo "$as_me:$LINENO: error: gmp.h not found, required for --enable-dns" >&5
9893echo "$as_me: error: gmp.h not found, required for --enable-dns" >&2;}
9894 { (exit 1); exit 1; }; }
9895fi
9896
9897
9898
9899echo "$as_me:$LINENO: checking for main in -lgmp" >&5
9900echo $ECHO_N "checking for main in -lgmp... $ECHO_C" >&6
9901if test "${ac_cv_lib_gmp_main+set}" = set; then
9902 echo $ECHO_N "(cached) $ECHO_C" >&6
9903else
9904 ac_check_lib_save_LIBS=$LIBS
9905LIBS="-lgmp $LIBS"
9906cat >conftest.$ac_ext <<_ACEOF
9907/* confdefs.h. */
9908_ACEOF
9909cat confdefs.h >>conftest.$ac_ext
9910cat >>conftest.$ac_ext <<_ACEOF
9911/* end confdefs.h. */
9912
9913
9914int
9915main ()
9916{
9917main ();
9918 ;
9919 return 0;
9920}
9921_ACEOF
9922rm -f conftest.$ac_objext conftest$ac_exeext
9923if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9924 (eval $ac_link) 2>conftest.er1
9925 ac_status=$?
9926 grep -v '^ *+' conftest.er1 >conftest.err
9927 rm -f conftest.er1
9928 cat conftest.err >&5
9929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9930 (exit $ac_status); } &&
9931 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9933 (eval $ac_try) 2>&5
9934 ac_status=$?
9935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9936 (exit $ac_status); }; } &&
9937 { ac_try='test -s conftest$ac_exeext'
9938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9939 (eval $ac_try) 2>&5
9940 ac_status=$?
9941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9942 (exit $ac_status); }; }; then
9943 ac_cv_lib_gmp_main=yes
9944else
9945 echo "$as_me: failed program was:" >&5
9946sed 's/^/| /' conftest.$ac_ext >&5
9947
9948ac_cv_lib_gmp_main=no
9949fi
9950rm -f conftest.err conftest.$ac_objext \
9951 conftest$ac_exeext conftest.$ac_ext
9952LIBS=$ac_check_lib_save_LIBS
9953fi
9954echo "$as_me:$LINENO: result: $ac_cv_lib_gmp_main" >&5
9955echo "${ECHO_T}$ac_cv_lib_gmp_main" >&6
9956if test $ac_cv_lib_gmp_main = yes; then
9957 cat >>confdefs.h <<_ACEOF
9958#define HAVE_LIBGMP 1
9959_ACEOF
9960
9961 LIBS="-lgmp $LIBS"
9962
9963else
9964 { { echo "$as_me:$LINENO: error: libgmp not found, required for --enable-dns" >&5
9965echo "$as_me: error: libgmp not found, required for --enable-dns" >&2;}
9966 { (exit 1); exit 1; }; }
9967fi
9968
9969
9970
9971cat >>confdefs.h <<_ACEOF
9972#define ENABLE_DNS 1
9973_ACEOF
9974
9975
9976
9977fi;
9978
9272# Check whether --enable-http-proxy or --disable-http-proxy was given. 9979# Check whether --enable-http-proxy or --disable-http-proxy was given.
9273if test "${enable_http_proxy+set}" = set; then 9980if test "${enable_http_proxy+set}" = set; then
9274 enableval="$enable_http_proxy" 9981 enableval="$enable_http_proxy"
9275 9982
9276cat >>confdefs.h <<_ACEOF 9983cat >>confdefs.h <<_ACEOF
9278_ACEOF 9985_ACEOF
9279 9986
9280 9987
9281fi; 9988fi;
9282 9989
9990HMAC=12
9283HMAC=8 # Check whether --enable-hmac-length or --disable-hmac-length was given. 9991# Check whether --enable-hmac-length or --disable-hmac-length was given.
9284if test "${enable_hmac_length+set}" = set; then 9992if test "${enable_hmac_length+set}" = set; then
9285 enableval="$enable_hmac_length" 9993 enableval="$enable_hmac_length"
9286 HMAC=$enableval 9994 HMAC=$enableval
9287 9995
9288fi; 9996fi;
9290cat >>confdefs.h <<_ACEOF 9998cat >>confdefs.h <<_ACEOF
9291#define HMACLENGTH $HMAC 9999#define HMACLENGTH $HMAC
9292_ACEOF 10000_ACEOF
9293 10001
9294 10002
10003RAND=8
9295RAND=8 # Check whether --enable-rand-length or --disable-rand-length was given. 10004# Check whether --enable-rand-length or --disable-rand-length was given.
9296if test "${enable_rand_length+set}" = set; then 10005if test "${enable_rand_length+set}" = set; then
9297 enableval="$enable_rand_length" 10006 enableval="$enable_rand_length"
9298 RAND=$enableval 10007 RAND=$enableval
9299 10008
9300fi; 10009fi;
9302cat >>confdefs.h <<_ACEOF 10011cat >>confdefs.h <<_ACEOF
9303#define RAND_SIZE $RAND 10012#define RAND_SIZE $RAND
9304_ACEOF 10013_ACEOF
9305 10014
9306 10015
10016MTU=1500
9307MTU=1500 # Check whether --enable-mtu or --disable-mtu was given. 10017# Check whether --enable-mtu or --disable-mtu was given.
9308if test "${enable_mtu+set}" = set; then 10018if test "${enable_mtu+set}" = set; then
9309 enableval="$enable_mtu" 10019 enableval="$enable_mtu"
9310 MTU=$enableval 10020 MTU=$enableval
9311 10021
9312fi; 10022fi;
9329cat >>confdefs.h <<_ACEOF 10039cat >>confdefs.h <<_ACEOF
9330#define ENABLE_COMPRESSION $COMPRESS 10040#define ENABLE_COMPRESSION $COMPRESS
9331_ACEOF 10041_ACEOF
9332 10042
9333 10043
9334CIPHER=bf_cbc 10044CIPHER=aes_128_cbc
9335# Check whether --enable-cipher or --disable-cipher was given. 10045# Check whether --enable-cipher or --disable-cipher was given.
9336if test "${enable_cipher+set}" = set; then 10046if test "${enable_cipher+set}" = set; then
9337 enableval="$enable_cipher" 10047 enableval="$enable_cipher"
9338 if test "x$enableval" = xbf ; then CIPHER=bf_cbc ; fi 10048 if test "x$enableval" = xbf ; then CIPHER=bf_cbc ; fi
9339 if test "x$enableval" = xaes-128; then CIPHER=aes_128_cbc; fi 10049 if test "x$enableval" = xaes-128; then CIPHER=aes_128_cbc; fi
9345cat >>confdefs.h <<_ACEOF 10055cat >>confdefs.h <<_ACEOF
9346#define ENABLE_CIPHER EVP_${CIPHER} 10056#define ENABLE_CIPHER EVP_${CIPHER}
9347_ACEOF 10057_ACEOF
9348 10058
9349 10059
9350DIGEST=sha1 10060DIGEST=ripemd160
9351# Check whether --enable-digest or --disable-digest was given. 10061# Check whether --enable-digest or --disable-digest was given.
9352if test "${enable_digest+set}" = set; then 10062if test "${enable_digest+set}" = set; then
9353 enableval="$enable_digest" 10063 enableval="$enable_digest"
9354 if test "x$enableval" = xsha1 ; then DIGEST=sha1 ; fi 10064 if test "x$enableval" = xsha1 ; then DIGEST=sha1 ; fi
9355 if test "x$enableval" = xripemd160; then DIGEST=ripemd160; fi 10065 if test "x$enableval" = xripemd160; then DIGEST=ripemd160; fi
9369 10079
9370if $CXX -v --help 2>&1 | grep -q fexceptions; then 10080if $CXX -v --help 2>&1 | grep -q fexceptions; then
9371 CXXFLAGS="$CXXFLAGS -fno-exceptions" 10081 CXXFLAGS="$CXXFLAGS -fno-exceptions"
9372fi 10082fi
9373 10083
9374if $CXX -v --help 2>&1 | grep -q ffunction-sections; then
9375 CXXFLAGS="$CXXFLAGS -ffunction-sections"
9376fi
9377
9378if $LD -v --help 2>&1 | grep -q gc-sections; then
9379 LDFLAGS="$LDFLAGS -Wl,--gc-sections"
9380fi
9381
9382
9383 10084
9384 10085
9385 10086
9386 ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile doc/Makefile lib/Makefile m4/Makefile" 10087 ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile doc/Makefile lib/Makefile m4/Makefile"
10088
9387cat >confcache <<\_ACEOF 10089cat >confcache <<\_ACEOF
9388# This file is a shell script that caches the results of configure 10090# This file is a shell script that caches the results of configure
9389# tests run on this system so they can be shared between configure 10091# tests run on this system so they can be shared between configure
9390# scripts and configure runs, see configure's option --config-cache. 10092# scripts and configure runs, see configure's option --config-cache.
9391# It is not useful on other systems. If it contains results you don't 10093# It is not useful on other systems. If it contains results you don't
9410 case `(ac_space=' '; set | grep ac_space) 2>&1` in 10112 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9411 *ac_space=\ *) 10113 *ac_space=\ *)
9412 # `set' does not quote correctly, so add quotes (double-quote 10114 # `set' does not quote correctly, so add quotes (double-quote
9413 # substitution turns \\\\ into \\, and sed turns \\ into \). 10115 # substitution turns \\\\ into \\, and sed turns \\ into \).
9414 sed -n \ 10116 sed -n \
9415 "s/'/'\\\\''/g; 10117 "s/'/'\\\\''/g;
9416 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 10118 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9417 ;; 10119 ;;
9418 *) 10120 *)
9419 # `set' quotes correctly as required by POSIX, so do not add quotes. 10121 # `set' quotes correctly as required by POSIX, so do not add quotes.
9420 sed -n \ 10122 sed -n \
9421 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 10123 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9422 ;; 10124 ;;
9423 esac; 10125 esac;
9424} | 10126} |
9425 sed ' 10127 sed '
9426 t clear 10128 t clear
9446# VPATH may cause trouble with some makes, so we remove $(srcdir), 10148# VPATH may cause trouble with some makes, so we remove $(srcdir),
9447# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 10149# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9448# trailing colons and then remove the whole line if VPATH becomes empty 10150# trailing colons and then remove the whole line if VPATH becomes empty
9449# (actually we leave an empty line to preserve line numbers). 10151# (actually we leave an empty line to preserve line numbers).
9450if test "x$srcdir" = x.; then 10152if test "x$srcdir" = x.; then
9451 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 10153 ac_vpsub='/^[ ]*VPATH[ ]*=/{
9452s/:*\$(srcdir):*/:/; 10154s/:*\$(srcdir):*/:/;
9453s/:*\${srcdir}:*/:/; 10155s/:*\${srcdir}:*/:/;
9454s/:*@srcdir@:*/:/; 10156s/:*@srcdir@:*/:/;
9455s/^\([^=]*=[ ]*\):*/\1/; 10157s/^\([^=]*=[ ]*\):*/\1/;
9456s/:*$//; 10158s/:*$//;
9457s/^[^=]*=[ ]*$//; 10159s/^[^=]*=[ ]*$//;
9458}' 10160}'
9459fi 10161fi
9460 10162
9461DEFS=-DHAVE_CONFIG_H 10163DEFS=-DHAVE_CONFIG_H
9462 10164
9463ac_libobjs= 10165ac_libobjs=
9464ac_ltlibobjs= 10166ac_ltlibobjs=
9465for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 10167for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9466 # 1. Remove the extension, and $U if already installed. 10168 # 1. Remove the extension, and $U if already installed.
9467 ac_i=`echo "$ac_i" | 10169 ac_i=`echo "$ac_i" |
9468 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 10170 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
9469 # 2. Add them. 10171 # 2. Add them.
9470 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 10172 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
9471 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 10173 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
9472done 10174done
9473LIBOBJS=$ac_libobjs 10175LIBOBJS=$ac_libobjs
9505fi 10207fi
9506if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 10208if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
9507 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. 10209 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
9508Usually this means the macro was only invoked conditionally." >&5 10210Usually this means the macro was only invoked conditionally." >&5
9509echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. 10211echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
10212Usually this means the macro was only invoked conditionally." >&2;}
10213 { (exit 1); exit 1; }; }
10214fi
10215if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then
10216 { { echo "$as_me:$LINENO: error: conditional \"ROHC\" was never defined.
10217Usually this means the macro was only invoked conditionally." >&5
10218echo "$as_me: error: conditional \"ROHC\" was never defined.
9510Usually this means the macro was only invoked conditionally." >&2;} 10219Usually this means the macro was only invoked conditionally." >&2;}
9511 { (exit 1); exit 1; }; } 10220 { (exit 1); exit 1; }; }
9512fi 10221fi
9513 10222
9514: ${CONFIG_STATUS=./config.status} 10223: ${CONFIG_STATUS=./config.status}
9542 # is contrary to our usage. Disable this feature. 10251 # is contrary to our usage. Disable this feature.
9543 alias -g '${1+"$@"}'='"$@"' 10252 alias -g '${1+"$@"}'='"$@"'
9544elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 10253elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9545 set -o posix 10254 set -o posix
9546fi 10255fi
10256DUALCASE=1; export DUALCASE # for MKS sh
9547 10257
9548# Support unset when possible. 10258# Support unset when possible.
9549if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 10259if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9550 as_unset=unset 10260 as_unset=unset
9551else 10261else
9552 as_unset=false 10262 as_unset=false
9553fi 10263fi
9554 10264
9563for as_var in \ 10273for as_var in \
9564 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 10274 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9565 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 10275 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9566 LC_TELEPHONE LC_TIME 10276 LC_TELEPHONE LC_TIME
9567do 10277do
9568 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then 10278 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9569 eval $as_var=C; export $as_var 10279 eval $as_var=C; export $as_var
9570 else 10280 else
9571 $as_unset $as_var 10281 $as_unset $as_var
9572 fi 10282 fi
9573done 10283done
9742rm -f conf$$ conf$$.exe conf$$.file 10452rm -f conf$$ conf$$.exe conf$$.file
9743 10453
9744if mkdir -p . 2>/dev/null; then 10454if mkdir -p . 2>/dev/null; then
9745 as_mkdir_p=: 10455 as_mkdir_p=:
9746else 10456else
10457 test -d ./-p && rmdir ./-p
9747 as_mkdir_p=false 10458 as_mkdir_p=false
9748fi 10459fi
9749 10460
9750as_executable_p="test -f" 10461as_executable_p="test -f"
9751 10462
9752# Sed expression to map a string onto a valid CPP name. 10463# Sed expression to map a string onto a valid CPP name.
9753as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 10464as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9754 10465
9755# Sed expression to map a string onto a valid variable name. 10466# Sed expression to map a string onto a valid variable name.
9756as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 10467as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9757 10468
9758 10469
9759# IFS 10470# IFS
9760# We need space, tab and new line, in precisely that order. 10471# We need space, tab and new line, in precisely that order.
9761as_nl=' 10472as_nl='
9778_ASBOX 10489_ASBOX
9779} >&5 10490} >&5
9780cat >&5 <<_CSEOF 10491cat >&5 <<_CSEOF
9781 10492
9782This file was extended by $as_me, which was 10493This file was extended by $as_me, which was
9783generated by GNU Autoconf 2.57. Invocation command line was 10494generated by GNU Autoconf 2.59. Invocation command line was
9784 10495
9785 CONFIG_FILES = $CONFIG_FILES 10496 CONFIG_FILES = $CONFIG_FILES
9786 CONFIG_HEADERS = $CONFIG_HEADERS 10497 CONFIG_HEADERS = $CONFIG_HEADERS
9787 CONFIG_LINKS = $CONFIG_LINKS 10498 CONFIG_LINKS = $CONFIG_LINKS
9788 CONFIG_COMMANDS = $CONFIG_COMMANDS 10499 CONFIG_COMMANDS = $CONFIG_COMMANDS
9822 -V, --version print version number, then exit 10533 -V, --version print version number, then exit
9823 -q, --quiet do not print progress messages 10534 -q, --quiet do not print progress messages
9824 -d, --debug don't remove temporary files 10535 -d, --debug don't remove temporary files
9825 --recheck update $as_me by reconfiguring in the same conditions 10536 --recheck update $as_me by reconfiguring in the same conditions
9826 --file=FILE[:TEMPLATE] 10537 --file=FILE[:TEMPLATE]
9827 instantiate the configuration file FILE 10538 instantiate the configuration file FILE
9828 --header=FILE[:TEMPLATE] 10539 --header=FILE[:TEMPLATE]
9829 instantiate the configuration header FILE 10540 instantiate the configuration header FILE
9830 10541
9831Configuration files: 10542Configuration files:
9832$config_files 10543$config_files
9833 10544
9834Configuration headers: 10545Configuration headers:
9841_ACEOF 10552_ACEOF
9842 10553
9843cat >>$CONFIG_STATUS <<_ACEOF 10554cat >>$CONFIG_STATUS <<_ACEOF
9844ac_cs_version="\\ 10555ac_cs_version="\\
9845config.status 10556config.status
9846configured by $0, generated by GNU Autoconf 2.57, 10557configured by $0, generated by GNU Autoconf 2.59,
9847 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 10558 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9848 10559
9849Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
9850Free Software Foundation, Inc. 10560Copyright (C) 2003 Free Software Foundation, Inc.
9851This config.status script is free software; the Free Software Foundation 10561This config.status script is free software; the Free Software Foundation
9852gives unlimited permission to copy, distribute and modify it." 10562gives unlimited permission to copy, distribute and modify it."
9853srcdir=$srcdir 10563srcdir=$srcdir
9854INSTALL="$INSTALL" 10564INSTALL="$INSTALL"
9855_ACEOF 10565_ACEOF
10131s,@IFSUBTYPE@,$IFSUBTYPE,;t t 10841s,@IFSUBTYPE@,$IFSUBTYPE,;t t
10132s,@CXXCPP@,$CXXCPP,;t t 10842s,@CXXCPP@,$CXXCPP,;t t
10133s,@ALLOCA@,$ALLOCA,;t t 10843s,@ALLOCA@,$ALLOCA,;t t
10134s,@LINUX_IF_TUN_H@,$LINUX_IF_TUN_H,;t t 10844s,@LINUX_IF_TUN_H@,$LINUX_IF_TUN_H,;t t
10135s,@HAVE_TUNTAP@,$HAVE_TUNTAP,;t t 10845s,@HAVE_TUNTAP@,$HAVE_TUNTAP,;t t
10846s,@LDFLAGS_DAEMON@,$LDFLAGS_DAEMON,;t t
10847s,@ROHC_TRUE@,$ROHC_TRUE,;t t
10848s,@ROHC_FALSE@,$ROHC_FALSE,;t t
10136s,@INCLUDES@,$INCLUDES,;t t 10849s,@INCLUDES@,$INCLUDES,;t t
10137s,@LIBOBJS@,$LIBOBJS,;t t 10850s,@LIBOBJS@,$LIBOBJS,;t t
10138s,@LTLIBOBJS@,$LTLIBOBJS,;t t 10851s,@LTLIBOBJS@,$LTLIBOBJS,;t t
10139CEOF 10852CEOF
10140 10853
10163 # is no need to browse any of the substitutions). 10876 # is no need to browse any of the substitutions).
10164 # These are the two extra sed commands mentioned above. 10877 # These are the two extra sed commands mentioned above.
10165 (echo ':t 10878 (echo ':t
10166 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 10879 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
10167 if test -z "$ac_sed_cmds"; then 10880 if test -z "$ac_sed_cmds"; then
10168 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 10881 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
10169 else 10882 else
10170 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 10883 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
10171 fi 10884 fi
10172 ac_sed_frag=`expr $ac_sed_frag + 1` 10885 ac_sed_frag=`expr $ac_sed_frag + 1`
10173 ac_beg=$ac_end 10886 ac_beg=$ac_end
10174 ac_end=`expr $ac_end + $ac_max_sed_lines` 10887 ac_end=`expr $ac_end + $ac_max_sed_lines`
10175 fi 10888 fi
10183cat >>$CONFIG_STATUS <<\_ACEOF 10896cat >>$CONFIG_STATUS <<\_ACEOF
10184for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 10897for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
10185 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 10898 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10186 case $ac_file in 10899 case $ac_file in
10187 - | *:- | *:-:* ) # input from stdin 10900 - | *:- | *:-:* ) # input from stdin
10188 cat >$tmp/stdin 10901 cat >$tmp/stdin
10189 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 10902 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10190 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 10903 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10191 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 10904 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10192 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 10905 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10193 * ) ac_file_in=$ac_file.in ;; 10906 * ) ac_file_in=$ac_file.in ;;
10194 esac 10907 esac
10195 10908
10196 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 10909 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
10197 ac_dir=`(dirname "$ac_file") 2>/dev/null || 10910 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
10198$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10911$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10199 X"$ac_file" : 'X\(//\)[^/]' \| \ 10912 X"$ac_file" : 'X\(//\)[^/]' \| \
10200 X"$ac_file" : 'X\(//\)$' \| \ 10913 X"$ac_file" : 'X\(//\)$' \| \
10201 X"$ac_file" : 'X\(/\)' \| \ 10914 X"$ac_file" : 'X\(/\)' \| \
10202 . : '\(.\)' 2>/dev/null || 10915 . : '\(.\)' 2>/dev/null ||
10203echo X"$ac_file" | 10916echo X"$ac_file" |
10204 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 10917 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10205 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 10918 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10206 /^X\(\/\/\)$/{ s//\1/; q; } 10919 /^X\(\/\/\)$/{ s//\1/; q; }
10207 /^X\(\/\).*/{ s//\1/; q; } 10920 /^X\(\/\).*/{ s//\1/; q; }
10213 as_dirs= 10926 as_dirs=
10214 while test ! -d "$as_dir"; do 10927 while test ! -d "$as_dir"; do
10215 as_dirs="$as_dir $as_dirs" 10928 as_dirs="$as_dir $as_dirs"
10216 as_dir=`(dirname "$as_dir") 2>/dev/null || 10929 as_dir=`(dirname "$as_dir") 2>/dev/null ||
10217$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10930$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10218 X"$as_dir" : 'X\(//\)[^/]' \| \ 10931 X"$as_dir" : 'X\(//\)[^/]' \| \
10219 X"$as_dir" : 'X\(//\)$' \| \ 10932 X"$as_dir" : 'X\(//\)$' \| \
10220 X"$as_dir" : 'X\(/\)' \| \ 10933 X"$as_dir" : 'X\(/\)' \| \
10221 . : '\(.\)' 2>/dev/null || 10934 . : '\(.\)' 2>/dev/null ||
10222echo X"$as_dir" | 10935echo X"$as_dir" |
10223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 10936 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10224 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 10937 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10225 /^X\(\/\/\)$/{ s//\1/; q; } 10938 /^X\(\/\/\)$/{ s//\1/; q; }
10226 /^X\(\/\).*/{ s//\1/; q; } 10939 /^X\(\/\).*/{ s//\1/; q; }
10254 ac_top_srcdir=$srcdir ;; 10967 ac_top_srcdir=$srcdir ;;
10255 *) # Relative path. 10968 *) # Relative path.
10256 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 10969 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10257 ac_top_srcdir=$ac_top_builddir$srcdir ;; 10970 ac_top_srcdir=$ac_top_builddir$srcdir ;;
10258esac 10971esac
10259# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 10972
10260# absolute. 10973# Do not use `cd foo && pwd` to compute absolute paths, because
10261ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 10974# the directories may not exist.
10262ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 10975case `pwd` in
10263ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 10976.) ac_abs_builddir="$ac_dir";;
10264ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 10977*)
10978 case "$ac_dir" in
10979 .) ac_abs_builddir=`pwd`;;
10980 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
10981 *) ac_abs_builddir=`pwd`/"$ac_dir";;
10982 esac;;
10983esac
10984case $ac_abs_builddir in
10985.) ac_abs_top_builddir=${ac_top_builddir}.;;
10986*)
10987 case ${ac_top_builddir}. in
10988 .) ac_abs_top_builddir=$ac_abs_builddir;;
10989 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
10990 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
10991 esac;;
10992esac
10993case $ac_abs_builddir in
10994.) ac_abs_srcdir=$ac_srcdir;;
10995*)
10996 case $ac_srcdir in
10997 .) ac_abs_srcdir=$ac_abs_builddir;;
10998 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
10999 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11000 esac;;
11001esac
11002case $ac_abs_builddir in
11003.) ac_abs_top_srcdir=$ac_top_srcdir;;
11004*)
11005 case $ac_top_srcdir in
11006 .) ac_abs_top_srcdir=$ac_abs_builddir;;
11007 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11008 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11009 esac;;
11010esac
10265 11011
10266 11012
10267 case $INSTALL in 11013 case $INSTALL in
10268 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 11014 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10269 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 11015 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
10270 esac 11016 esac
10271 11017
10272 if test x"$ac_file" != x-; then
10273 { echo "$as_me:$LINENO: creating $ac_file" >&5
10274echo "$as_me: creating $ac_file" >&6;}
10275 rm -f "$ac_file"
10276 fi
10277 # Let's still pretend it is `configure' which instantiates (i.e., don't 11018 # Let's still pretend it is `configure' which instantiates (i.e., don't
10278 # use $as_me), people would be surprised to read: 11019 # use $as_me), people would be surprised to read:
10279 # /* config.h. Generated by config.status. */ 11020 # /* config.h. Generated by config.status. */
10280 if test x"$ac_file" = x-; then 11021 if test x"$ac_file" = x-; then
10281 configure_input= 11022 configure_input=
10282 else 11023 else
10283 configure_input="$ac_file. " 11024 configure_input="$ac_file. "
10284 fi 11025 fi
10285 configure_input=$configure_input"Generated from `echo $ac_file_in | 11026 configure_input=$configure_input"Generated from `echo $ac_file_in |
10286 sed 's,.*/,,'` by configure." 11027 sed 's,.*/,,'` by configure."
10287 11028
10288 # First look for the input files in the build tree, otherwise in the 11029 # First look for the input files in the build tree, otherwise in the
10289 # src tree. 11030 # src tree.
10290 ac_file_inputs=`IFS=: 11031 ac_file_inputs=`IFS=:
10291 for f in $ac_file_in; do 11032 for f in $ac_file_in; do
10292 case $f in 11033 case $f in
10293 -) echo $tmp/stdin ;; 11034 -) echo $tmp/stdin ;;
10294 [\\/$]*) 11035 [\\/$]*)
10295 # Absolute (can't be DOS-style, as IFS=:) 11036 # Absolute (can't be DOS-style, as IFS=:)
10296 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 11037 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10297echo "$as_me: error: cannot find input file: $f" >&2;} 11038echo "$as_me: error: cannot find input file: $f" >&2;}
10298 { (exit 1); exit 1; }; } 11039 { (exit 1); exit 1; }; }
10299 echo $f;; 11040 echo "$f";;
10300 *) # Relative 11041 *) # Relative
10301 if test -f "$f"; then 11042 if test -f "$f"; then
10302 # Build tree 11043 # Build tree
10303 echo $f 11044 echo "$f"
10304 elif test -f "$srcdir/$f"; then 11045 elif test -f "$srcdir/$f"; then
10305 # Source tree 11046 # Source tree
10306 echo $srcdir/$f 11047 echo "$srcdir/$f"
10307 else 11048 else
10308 # /dev/null tree 11049 # /dev/null tree
10309 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 11050 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10310echo "$as_me: error: cannot find input file: $f" >&2;} 11051echo "$as_me: error: cannot find input file: $f" >&2;}
10311 { (exit 1); exit 1; }; } 11052 { (exit 1); exit 1; }; }
10312 fi;; 11053 fi;;
10313 esac 11054 esac
10314 done` || { (exit 1); exit 1; } 11055 done` || { (exit 1); exit 1; }
11056
11057 if test x"$ac_file" != x-; then
11058 { echo "$as_me:$LINENO: creating $ac_file" >&5
11059echo "$as_me: creating $ac_file" >&6;}
11060 rm -f "$ac_file"
11061 fi
10315_ACEOF 11062_ACEOF
10316cat >>$CONFIG_STATUS <<_ACEOF 11063cat >>$CONFIG_STATUS <<_ACEOF
10317 sed "$ac_vpsub 11064 sed "$ac_vpsub
10318$extrasub 11065$extrasub
10319_ACEOF 11066_ACEOF
10349 11096
10350# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 11097# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
10351# NAME is the cpp macro being defined and VALUE is the value it is being given. 11098# NAME is the cpp macro being defined and VALUE is the value it is being given.
10352# 11099#
10353# ac_d sets the value in "#define NAME VALUE" lines. 11100# ac_d sets the value in "#define NAME VALUE" lines.
10354ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 11101ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
10355ac_dB='[ ].*$,\1#\2' 11102ac_dB='[ ].*$,\1#\2'
10356ac_dC=' ' 11103ac_dC=' '
10357ac_dD=',;t' 11104ac_dD=',;t'
10358# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 11105# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
10359ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 11106ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
10360ac_uB='$,\1#\2define\3' 11107ac_uB='$,\1#\2define\3'
10361ac_uC=' ' 11108ac_uC=' '
10362ac_uD=',;t' 11109ac_uD=',;t'
10363 11110
10364for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 11111for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
10365 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 11112 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10366 case $ac_file in 11113 case $ac_file in
10367 - | *:- | *:-:* ) # input from stdin 11114 - | *:- | *:-:* ) # input from stdin
10368 cat >$tmp/stdin 11115 cat >$tmp/stdin
10369 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 11116 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10370 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 11117 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10371 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 11118 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10372 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 11119 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10373 * ) ac_file_in=$ac_file.in ;; 11120 * ) ac_file_in=$ac_file.in ;;
10374 esac 11121 esac
10375 11122
10376 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 11123 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
10377echo "$as_me: creating $ac_file" >&6;} 11124echo "$as_me: creating $ac_file" >&6;}
10381 ac_file_inputs=`IFS=: 11128 ac_file_inputs=`IFS=:
10382 for f in $ac_file_in; do 11129 for f in $ac_file_in; do
10383 case $f in 11130 case $f in
10384 -) echo $tmp/stdin ;; 11131 -) echo $tmp/stdin ;;
10385 [\\/$]*) 11132 [\\/$]*)
10386 # Absolute (can't be DOS-style, as IFS=:) 11133 # Absolute (can't be DOS-style, as IFS=:)
10387 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 11134 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10388echo "$as_me: error: cannot find input file: $f" >&2;} 11135echo "$as_me: error: cannot find input file: $f" >&2;}
10389 { (exit 1); exit 1; }; } 11136 { (exit 1); exit 1; }; }
10390 echo $f;; 11137 # Do quote $f, to prevent DOS paths from being IFS'd.
11138 echo "$f";;
10391 *) # Relative 11139 *) # Relative
10392 if test -f "$f"; then 11140 if test -f "$f"; then
10393 # Build tree 11141 # Build tree
10394 echo $f 11142 echo "$f"
10395 elif test -f "$srcdir/$f"; then 11143 elif test -f "$srcdir/$f"; then
10396 # Source tree 11144 # Source tree
10397 echo $srcdir/$f 11145 echo "$srcdir/$f"
10398 else 11146 else
10399 # /dev/null tree 11147 # /dev/null tree
10400 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 11148 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10401echo "$as_me: error: cannot find input file: $f" >&2;} 11149echo "$as_me: error: cannot find input file: $f" >&2;}
10402 { (exit 1); exit 1; }; } 11150 { (exit 1); exit 1; }; }
10403 fi;; 11151 fi;;
10404 esac 11152 esac
10405 done` || { (exit 1); exit 1; } 11153 done` || { (exit 1); exit 1; }
10406 # Remove the trailing spaces. 11154 # Remove the trailing spaces.
10407 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 11155 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
10408 11156
10409_ACEOF 11157_ACEOF
10410 11158
10411# Transform confdefs.h into two sed scripts, `conftest.defines' and 11159# Transform confdefs.h into two sed scripts, `conftest.defines' and
10412# `conftest.undefs', that substitutes the proper values into 11160# `conftest.undefs', that substitutes the proper values into
10425cat >confdef2sed.sed <<\_ACEOF 11173cat >confdef2sed.sed <<\_ACEOF
10426s/[\\&,]/\\&/g 11174s/[\\&,]/\\&/g
10427s,[\\$`],\\&,g 11175s,[\\$`],\\&,g
10428t clear 11176t clear
10429: clear 11177: clear
10430s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 11178s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
10431t end 11179t end
10432s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 11180s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
10433: end 11181: end
10434_ACEOF 11182_ACEOF
10435# If some macros were called several times there might be several times 11183# If some macros were called several times there might be several times
10436# the same #defines, which is useless. Nevertheless, we may not want to 11184# the same #defines, which is useless. Nevertheless, we may not want to
10437# sort them, since we want the *last* AC-DEFINE to be honored. 11185# sort them, since we want the *last* AC-DEFINE to be honored.
10441 11189
10442# This sed command replaces #undef with comments. This is necessary, for 11190# This sed command replaces #undef with comments. This is necessary, for
10443# example, in the case of _POSIX_SOURCE, which is predefined and required 11191# example, in the case of _POSIX_SOURCE, which is predefined and required
10444# on some systems where configure will not decide to define it. 11192# on some systems where configure will not decide to define it.
10445cat >>conftest.undefs <<\_ACEOF 11193cat >>conftest.undefs <<\_ACEOF
10446s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 11194s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
10447_ACEOF 11195_ACEOF
10448 11196
10449# Break up conftest.defines because some shells have a limit on the size 11197# Break up conftest.defines because some shells have a limit on the size
10450# of here documents, and old seds have small limits too (100 cmds). 11198# of here documents, and old seds have small limits too (100 cmds).
10451echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 11199echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
10452echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 11200echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
10453echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 11201echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
10454echo ' :' >>$CONFIG_STATUS 11202echo ' :' >>$CONFIG_STATUS
10455rm -f conftest.tail 11203rm -f conftest.tail
10456while grep . conftest.defines >/dev/null 11204while grep . conftest.defines >/dev/null
10457do 11205do
10458 # Write a limited-size here document to $tmp/defines.sed. 11206 # Write a limited-size here document to $tmp/defines.sed.
10459 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 11207 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
10460 # Speed up: don't consider the non `#define' lines. 11208 # Speed up: don't consider the non `#define' lines.
10461 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 11209 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
10462 # Work around the forget-to-reset-the-flag bug. 11210 # Work around the forget-to-reset-the-flag bug.
10463 echo 't clr' >>$CONFIG_STATUS 11211 echo 't clr' >>$CONFIG_STATUS
10464 echo ': clr' >>$CONFIG_STATUS 11212 echo ': clr' >>$CONFIG_STATUS
10465 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 11213 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
10466 echo 'CEOF 11214 echo 'CEOF
10483while grep . conftest.undefs >/dev/null 11231while grep . conftest.undefs >/dev/null
10484do 11232do
10485 # Write a limited-size here document to $tmp/undefs.sed. 11233 # Write a limited-size here document to $tmp/undefs.sed.
10486 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 11234 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
10487 # Speed up: don't consider the non `#undef' 11235 # Speed up: don't consider the non `#undef'
10488 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 11236 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
10489 # Work around the forget-to-reset-the-flag bug. 11237 # Work around the forget-to-reset-the-flag bug.
10490 echo 't clr' >>$CONFIG_STATUS 11238 echo 't clr' >>$CONFIG_STATUS
10491 echo ': clr' >>$CONFIG_STATUS 11239 echo ': clr' >>$CONFIG_STATUS
10492 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 11240 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
10493 echo 'CEOF 11241 echo 'CEOF
10517 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 11265 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10518echo "$as_me: $ac_file is unchanged" >&6;} 11266echo "$as_me: $ac_file is unchanged" >&6;}
10519 else 11267 else
10520 ac_dir=`(dirname "$ac_file") 2>/dev/null || 11268 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
10521$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11269$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10522 X"$ac_file" : 'X\(//\)[^/]' \| \ 11270 X"$ac_file" : 'X\(//\)[^/]' \| \
10523 X"$ac_file" : 'X\(//\)$' \| \ 11271 X"$ac_file" : 'X\(//\)$' \| \
10524 X"$ac_file" : 'X\(/\)' \| \ 11272 X"$ac_file" : 'X\(/\)' \| \
10525 . : '\(.\)' 2>/dev/null || 11273 . : '\(.\)' 2>/dev/null ||
10526echo X"$ac_file" | 11274echo X"$ac_file" |
10527 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11275 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10528 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11276 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10529 /^X\(\/\/\)$/{ s//\1/; q; } 11277 /^X\(\/\/\)$/{ s//\1/; q; }
10530 /^X\(\/\).*/{ s//\1/; q; } 11278 /^X\(\/\).*/{ s//\1/; q; }
10536 as_dirs= 11284 as_dirs=
10537 while test ! -d "$as_dir"; do 11285 while test ! -d "$as_dir"; do
10538 as_dirs="$as_dir $as_dirs" 11286 as_dirs="$as_dir $as_dirs"
10539 as_dir=`(dirname "$as_dir") 2>/dev/null || 11287 as_dir=`(dirname "$as_dir") 2>/dev/null ||
10540$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11288$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10541 X"$as_dir" : 'X\(//\)[^/]' \| \ 11289 X"$as_dir" : 'X\(//\)[^/]' \| \
10542 X"$as_dir" : 'X\(//\)$' \| \ 11290 X"$as_dir" : 'X\(//\)$' \| \
10543 X"$as_dir" : 'X\(/\)' \| \ 11291 X"$as_dir" : 'X\(/\)' \| \
10544 . : '\(.\)' 2>/dev/null || 11292 . : '\(.\)' 2>/dev/null ||
10545echo X"$as_dir" | 11293echo X"$as_dir" |
10546 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11294 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10547 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11295 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10548 /^X\(\/\/\)$/{ s//\1/; q; } 11296 /^X\(\/\/\)$/{ s//\1/; q; }
10549 /^X\(\/\).*/{ s//\1/; q; } 11297 /^X\(\/\).*/{ s//\1/; q; }
10571 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 11319 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10572 esac 11320 esac
10573done 11321done
10574echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || 11322echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
10575$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11323$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10576 X$ac_file : 'X\(//\)[^/]' \| \ 11324 X$ac_file : 'X\(//\)[^/]' \| \
10577 X$ac_file : 'X\(//\)$' \| \ 11325 X$ac_file : 'X\(//\)$' \| \
10578 X$ac_file : 'X\(/\)' \| \ 11326 X$ac_file : 'X\(/\)' \| \
10579 . : '\(.\)' 2>/dev/null || 11327 . : '\(.\)' 2>/dev/null ||
10580echo X$ac_file | 11328echo X$ac_file |
10581 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11329 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10582 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11330 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10583 /^X\(\/\/\)$/{ s//\1/; q; } 11331 /^X\(\/\/\)$/{ s//\1/; q; }
10584 /^X\(\/\).*/{ s//\1/; q; } 11332 /^X\(\/\).*/{ s//\1/; q; }
10593for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 11341for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
10594 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 11342 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
10595 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 11343 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
10596 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 11344 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
10597$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11345$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10598 X"$ac_dest" : 'X\(//\)[^/]' \| \ 11346 X"$ac_dest" : 'X\(//\)[^/]' \| \
10599 X"$ac_dest" : 'X\(//\)$' \| \ 11347 X"$ac_dest" : 'X\(//\)$' \| \
10600 X"$ac_dest" : 'X\(/\)' \| \ 11348 X"$ac_dest" : 'X\(/\)' \| \
10601 . : '\(.\)' 2>/dev/null || 11349 . : '\(.\)' 2>/dev/null ||
10602echo X"$ac_dest" | 11350echo X"$ac_dest" |
10603 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11351 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10604 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11352 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10605 /^X\(\/\/\)$/{ s//\1/; q; } 11353 /^X\(\/\/\)$/{ s//\1/; q; }
10606 /^X\(\/\).*/{ s//\1/; q; } 11354 /^X\(\/\).*/{ s//\1/; q; }
10607 s/.*/./; q'` 11355 s/.*/./; q'`
11356 { if $as_mkdir_p; then
11357 mkdir -p "$ac_dir"
11358 else
11359 as_dir="$ac_dir"
11360 as_dirs=
11361 while test ! -d "$as_dir"; do
11362 as_dirs="$as_dir $as_dirs"
11363 as_dir=`(dirname "$as_dir") 2>/dev/null ||
11364$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11365 X"$as_dir" : 'X\(//\)[^/]' \| \
11366 X"$as_dir" : 'X\(//\)$' \| \
11367 X"$as_dir" : 'X\(/\)' \| \
11368 . : '\(.\)' 2>/dev/null ||
11369echo X"$as_dir" |
11370 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11371 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11372 /^X\(\/\/\)$/{ s//\1/; q; }
11373 /^X\(\/\).*/{ s//\1/; q; }
11374 s/.*/./; q'`
11375 done
11376 test ! -n "$as_dirs" || mkdir $as_dirs
11377 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11378echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11379 { (exit 1); exit 1; }; }; }
11380
10608 ac_builddir=. 11381 ac_builddir=.
10609 11382
10610if test "$ac_dir" != .; then 11383if test "$ac_dir" != .; then
10611 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 11384 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10612 # A "../" for each directory in $ac_dir_suffix. 11385 # A "../" for each directory in $ac_dir_suffix.
10628 ac_top_srcdir=$srcdir ;; 11401 ac_top_srcdir=$srcdir ;;
10629 *) # Relative path. 11402 *) # Relative path.
10630 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 11403 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10631 ac_top_srcdir=$ac_top_builddir$srcdir ;; 11404 ac_top_srcdir=$ac_top_builddir$srcdir ;;
10632esac 11405esac
10633# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 11406
10634# absolute. 11407# Do not use `cd foo && pwd` to compute absolute paths, because
10635ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 11408# the directories may not exist.
10636ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 11409case `pwd` in
10637ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 11410.) ac_abs_builddir="$ac_dir";;
10638ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 11411*)
11412 case "$ac_dir" in
11413 .) ac_abs_builddir=`pwd`;;
11414 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11415 *) ac_abs_builddir=`pwd`/"$ac_dir";;
11416 esac;;
11417esac
11418case $ac_abs_builddir in
11419.) ac_abs_top_builddir=${ac_top_builddir}.;;
11420*)
11421 case ${ac_top_builddir}. in
11422 .) ac_abs_top_builddir=$ac_abs_builddir;;
11423 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11424 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11425 esac;;
11426esac
11427case $ac_abs_builddir in
11428.) ac_abs_srcdir=$ac_srcdir;;
11429*)
11430 case $ac_srcdir in
11431 .) ac_abs_srcdir=$ac_abs_builddir;;
11432 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11433 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11434 esac;;
11435esac
11436case $ac_abs_builddir in
11437.) ac_abs_top_srcdir=$ac_top_srcdir;;
11438*)
11439 case $ac_top_srcdir in
11440 .) ac_abs_top_srcdir=$ac_abs_builddir;;
11441 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11442 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11443 esac;;
11444esac
10639 11445
10640 11446
10641 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 11447 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
10642echo "$as_me: executing $ac_dest commands" >&6;} 11448echo "$as_me: executing $ac_dest commands" >&6;}
10643 case $ac_dest in 11449 case $ac_dest in
10747 # each Makefile.in and add a new line on top of each file to say so. 11553 # each Makefile.in and add a new line on top of each file to say so.
10748 # So let's grep whole file. 11554 # So let's grep whole file.
10749 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 11555 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
10750 dirpart=`(dirname "$mf") 2>/dev/null || 11556 dirpart=`(dirname "$mf") 2>/dev/null ||
10751$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11557$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10752 X"$mf" : 'X\(//\)[^/]' \| \ 11558 X"$mf" : 'X\(//\)[^/]' \| \
10753 X"$mf" : 'X\(//\)$' \| \ 11559 X"$mf" : 'X\(//\)$' \| \
10754 X"$mf" : 'X\(/\)' \| \ 11560 X"$mf" : 'X\(/\)' \| \
10755 . : '\(.\)' 2>/dev/null || 11561 . : '\(.\)' 2>/dev/null ||
10756echo X"$mf" | 11562echo X"$mf" |
10757 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11563 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10758 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11564 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10759 /^X\(\/\/\)$/{ s//\1/; q; } 11565 /^X\(\/\/\)$/{ s//\1/; q; }
10760 /^X\(\/\).*/{ s//\1/; q; } 11566 /^X\(\/\).*/{ s//\1/; q; }
10786 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 11592 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10787 # Make sure the directory exists. 11593 # Make sure the directory exists.
10788 test -f "$dirpart/$file" && continue 11594 test -f "$dirpart/$file" && continue
10789 fdir=`(dirname "$file") 2>/dev/null || 11595 fdir=`(dirname "$file") 2>/dev/null ||
10790$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11596$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10791 X"$file" : 'X\(//\)[^/]' \| \ 11597 X"$file" : 'X\(//\)[^/]' \| \
10792 X"$file" : 'X\(//\)$' \| \ 11598 X"$file" : 'X\(//\)$' \| \
10793 X"$file" : 'X\(/\)' \| \ 11599 X"$file" : 'X\(/\)' \| \
10794 . : '\(.\)' 2>/dev/null || 11600 . : '\(.\)' 2>/dev/null ||
10795echo X"$file" | 11601echo X"$file" |
10796 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11602 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10797 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11603 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10798 /^X\(\/\/\)$/{ s//\1/; q; } 11604 /^X\(\/\/\)$/{ s//\1/; q; }
10799 /^X\(\/\).*/{ s//\1/; q; } 11605 /^X\(\/\).*/{ s//\1/; q; }
10805 as_dirs= 11611 as_dirs=
10806 while test ! -d "$as_dir"; do 11612 while test ! -d "$as_dir"; do
10807 as_dirs="$as_dir $as_dirs" 11613 as_dirs="$as_dir $as_dirs"
10808 as_dir=`(dirname "$as_dir") 2>/dev/null || 11614 as_dir=`(dirname "$as_dir") 2>/dev/null ||
10809$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11615$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10810 X"$as_dir" : 'X\(//\)[^/]' \| \ 11616 X"$as_dir" : 'X\(//\)[^/]' \| \
10811 X"$as_dir" : 'X\(//\)$' \| \ 11617 X"$as_dir" : 'X\(//\)$' \| \
10812 X"$as_dir" : 'X\(/\)' \| \ 11618 X"$as_dir" : 'X\(/\)' \| \
10813 . : '\(.\)' 2>/dev/null || 11619 . : '\(.\)' 2>/dev/null ||
10814echo X"$as_dir" | 11620echo X"$as_dir" |
10815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11621 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10816 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11622 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10817 /^X\(\/\/\)$/{ s//\1/; q; } 11623 /^X\(\/\/\)$/{ s//\1/; q; }
10818 /^X\(\/\).*/{ s//\1/; q; } 11624 /^X\(\/\).*/{ s//\1/; q; }
10836 11642
10837{ (exit 0); exit 0; } 11643{ (exit 0); exit 0; }
10838_ACEOF 11644_ACEOF
10839chmod +x $CONFIG_STATUS 11645chmod +x $CONFIG_STATUS
10840ac_clean_files=$ac_clean_files_save 11646ac_clean_files=$ac_clean_files_save
10841
10842
10843
10844echo
10845echo "***"
10846echo "*** Configuration Summary"
10847echo "***"
10848echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE"
10849echo "*** Cipher used: $CIPHER"
10850echo "*** Digest used: $DIGEST"
10851echo "*** HMAC length: $HMAC"
10852echo "*** RAND used: $RAND"
10853echo "*** Max. MTU: $MTU"
10854echo "*** Compression: $COMPRESS"
10855echo "***"
10856
10857if test "x$DIGEST" = xmd4; then
10858echo "*** WARNING"
10859echo "*** The digest you have chosen ($DIGEST) is known to be insecure"
10860echo "***"
10861fi
10862
10863echo
10864
10865 11647
10866 11648
10867# configure is writing to config.log, and then calls config.status. 11649# configure is writing to config.log, and then calls config.status.
10868# config.status does its own redirection, appending to config.log. 11650# config.status does its own redirection, appending to config.log.
10869# Unfortunately, on DOS this fails, as config.log is still kept open 11651# Unfortunately, on DOS this fails, as config.log is still kept open
10883 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 11665 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10884 # would make configure fail if this is the last instruction. 11666 # would make configure fail if this is the last instruction.
10885 $ac_cs_success || { (exit 1); exit 1; } 11667 $ac_cs_success || { (exit 1); exit 1; }
10886fi 11668fi
10887 11669
11670
11671echo
11672echo "***"
11673echo "*** Configuration Summary"
11674echo "***"
11675echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE"
11676echo "*** Cipher used: $CIPHER"
11677echo "*** Digest used: $DIGEST"
11678echo "*** HMAC length: $HMAC"
11679echo "*** RAND used: $RAND"
11680echo "*** Max. MTU: $MTU"
11681
11682echo "***"
11683echo "*** Enable options:"
11684grep ENABLE_ config.h | sed -e 's/^/*** /'
11685
11686if test "x$DIGEST" = xmd4; then
11687echo "***"
11688echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure"
11689fi
11690
11691if test "$HMAC" -lt 12; then
11692echo "***"
11693echo "*** WARNING: The hmac length you have chosen ($HMAC) is probably insecure"
11694fi
11695
11696if test "$RAND" -lt 8; then
11697echo "***"
11698echo "*** WARNING: The random prefix you have chosen ($RAND) is probably insecure"
11699fi
11700
11701echo "***"
11702echo
11703
11704

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines