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

Comparing gvpe/configure (file contents):
Revision 1.10 by pcg, Sun Oct 19 17:11:14 2003 UTC vs.
Revision 1.25 by pcg, Sat Mar 5 19:25:21 2005 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines