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

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines