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

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines