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

Comparing gvpe/configure (file contents):
Revision 1.1 by pcg, Tue Oct 14 19:39:39 2003 UTC vs.
Revision 1.16 by pcg, Sun Feb 8 07:24:25 2004 UTC

1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.57. 3# Generated by GNU Autoconf 2.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 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'.
868 --disable-rpath do not hardcode runtime library paths 869 --disable-rpath do not hardcode runtime library paths
869 --disable-nls do not use Native Language Support 870 --disable-nls do not use Native Language Support
870 --enable-iftype=TYPE/SUBTYPE 871 --enable-iftype=TYPE/SUBTYPE
871 Use kernel/net device interface TYPE/SUBTYPE. 872 Use kernel/net device interface TYPE/SUBTYPE.
872 Working combinations are: "native/linux" 873 Working combinations are: "native/linux"
873 "tincd/linux" "tincd/freebsd"; Untested combinations 874 "tincd/linux" "tincd/freebsd" "tincd/openbsd"
875 "tincd/darwin" "native/cygwin"; Untested
874 are: "tincd/netbsd" "tincd/darwin" "tincd/solaris" 876 combinations are: "tincd/netbsd" "tincd/solaris"
875 "tincd/openbsd" "tincd/cygwin"; Broken combinations 877 "tincd/mingw"; Broken combinations are:
876 are: "native/cygwin"; The default is to autodetect. 878 "tincd/cygwin"; The default is to autodetect.
877 --enable-rohc enable robust header compression (rfc3095). 879 --enable-rohc enable robust header compression (rfc3095).
878 --enable-icmp enable icmp protocol support (default disabled). 880 --enable-icmp enable icmp protocol support (default disabled).
879 --enable-tcp enable tcp protocol support (default disabled). 881 --enable-tcp enable tcp protocol support (default disabled).
880 --enable-http-proxy enable http proxy connect support (default 882 --enable-http-proxy enable http proxy connect support (default
881 disabled). 883 disabled).
954 ac_top_srcdir=$srcdir ;; 956 ac_top_srcdir=$srcdir ;;
955 *) # Relative path. 957 *) # Relative path.
956 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 958 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
957 ac_top_srcdir=$ac_top_builddir$srcdir ;; 959 ac_top_srcdir=$ac_top_builddir$srcdir ;;
958esac 960esac
959# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 961
960# absolute. 962# Do not use `cd foo && pwd` to compute absolute paths, because
961ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 963# the directories may not exist.
962ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 964case `pwd` in
963ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 965.) ac_abs_builddir="$ac_dir";;
964ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 966*)
967 case "$ac_dir" in
968 .) ac_abs_builddir=`pwd`;;
969 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
970 *) ac_abs_builddir=`pwd`/"$ac_dir";;
971 esac;;
972esac
973case $ac_abs_builddir in
974.) ac_abs_top_builddir=${ac_top_builddir}.;;
975*)
976 case ${ac_top_builddir}. in
977 .) ac_abs_top_builddir=$ac_abs_builddir;;
978 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
979 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
980 esac;;
981esac
982case $ac_abs_builddir in
983.) ac_abs_srcdir=$ac_srcdir;;
984*)
985 case $ac_srcdir in
986 .) ac_abs_srcdir=$ac_abs_builddir;;
987 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
988 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
989 esac;;
990esac
991case $ac_abs_builddir in
992.) ac_abs_top_srcdir=$ac_top_srcdir;;
993*)
994 case $ac_top_srcdir in
995 .) ac_abs_top_srcdir=$ac_abs_builddir;;
996 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
997 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
998 esac;;
999esac
965 1000
966 cd $ac_dir 1001 cd $ac_dir
967 # Check for guested configure; otherwise get Cygnus style configure. 1002 # Check for guested configure; otherwise get Cygnus style configure.
968 if test -f $ac_srcdir/configure.gnu; then 1003 if test -f $ac_srcdir/configure.gnu; then
969 echo 1004 echo
970 $SHELL $ac_srcdir/configure.gnu --help=recursive 1005 $SHELL $ac_srcdir/configure.gnu --help=recursive
971 elif test -f $ac_srcdir/configure; then 1006 elif test -f $ac_srcdir/configure; then
972 echo 1007 echo
973 $SHELL $ac_srcdir/configure --help=recursive 1008 $SHELL $ac_srcdir/configure --help=recursive
974 elif test -f $ac_srcdir/configure.ac || 1009 elif test -f $ac_srcdir/configure.ac ||
975 test -f $ac_srcdir/configure.in; then 1010 test -f $ac_srcdir/configure.in; then
976 echo 1011 echo
977 $ac_configure --help 1012 $ac_configure --help
978 else 1013 else
979 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1014 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
980 fi 1015 fi
984 1019
985test -n "$ac_init_help" && exit 0 1020test -n "$ac_init_help" && exit 0
986if $ac_init_version; then 1021if $ac_init_version; then
987 cat <<\_ACEOF 1022 cat <<\_ACEOF
988 1023
989Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
990Free Software Foundation, Inc. 1024Copyright (C) 2003 Free Software Foundation, Inc.
991This configure script is free software; the Free Software Foundation 1025This configure script is free software; the Free Software Foundation
992gives unlimited permission to copy, distribute and modify it. 1026gives unlimited permission to copy, distribute and modify it.
993_ACEOF 1027_ACEOF
994 exit 0 1028 exit 0
995fi 1029fi
997cat >&5 <<_ACEOF 1031cat >&5 <<_ACEOF
998This file contains any messages produced by compilers while 1032This file contains any messages produced by compilers while
999running configure, to aid debugging if configure makes a mistake. 1033running configure, to aid debugging if configure makes a mistake.
1000 1034
1001It was created by $as_me, which was 1035It was created by $as_me, which was
1002generated by GNU Autoconf 2.57. Invocation command line was 1036generated by GNU Autoconf 2.59. Invocation command line was
1003 1037
1004 $ $0 $@ 1038 $ $0 $@
1005 1039
1006_ACEOF 1040_ACEOF
1007{ 1041{
1074 case $ac_pass in 1108 case $ac_pass in
1075 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1109 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1076 2) 1110 2)
1077 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1111 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1078 if test $ac_must_keep_next = true; then 1112 if test $ac_must_keep_next = true; then
1079 ac_must_keep_next=false # Got value, back to normal. 1113 ac_must_keep_next=false # Got value, back to normal.
1080 else 1114 else
1081 case $ac_arg in 1115 case $ac_arg in
1082 *=* | --config-cache | -C | -disable-* | --disable-* \ 1116 *=* | --config-cache | -C | -disable-* | --disable-* \
1083 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1117 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1084 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1118 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1085 | -with-* | --with-* | -without-* | --without-* | --x) 1119 | -with-* | --with-* | -without-* | --without-* | --x)
1086 case "$ac_configure_args0 " in 1120 case "$ac_configure_args0 " in
1087 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1121 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1088 esac 1122 esac
1089 ;; 1123 ;;
1090 -* ) ac_must_keep_next=true ;; 1124 -* ) ac_must_keep_next=true ;;
1091 esac 1125 esac
1092 fi 1126 fi
1093 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1127 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1094 # Get rid of the leading space. 1128 # Get rid of the leading space.
1095 ac_sep=" " 1129 ac_sep=" "
1096 ;; 1130 ;;
1120{ 1154{
1121 (set) 2>&1 | 1155 (set) 2>&1 |
1122 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1156 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1123 *ac_space=\ *) 1157 *ac_space=\ *)
1124 sed -n \ 1158 sed -n \
1125 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1159 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1126 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1160 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1127 ;; 1161 ;;
1128 *) 1162 *)
1129 sed -n \ 1163 sed -n \
1130 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1164 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1131 ;; 1165 ;;
1132 esac; 1166 esac;
1133} 1167}
1134 echo 1168 echo
1135 1169
1154_ASBOX 1188_ASBOX
1155 echo 1189 echo
1156 for ac_var in $ac_subst_files 1190 for ac_var in $ac_subst_files
1157 do 1191 do
1158 eval ac_val=$`echo $ac_var` 1192 eval ac_val=$`echo $ac_var`
1159 echo "$ac_var='"'"'$ac_val'"'"'" 1193 echo "$ac_var='"'"'$ac_val'"'"'"
1160 done | sort 1194 done | sort
1161 echo 1195 echo
1162 fi 1196 fi
1163 1197
1164 if test -s confdefs.h; then 1198 if test -s confdefs.h; then
1253 1287
1254# Check that the precious variables saved in the cache have kept the same 1288# Check that the precious variables saved in the cache have kept the same
1255# value. 1289# value.
1256ac_cache_corrupted=false 1290ac_cache_corrupted=false
1257for ac_var in `(set) 2>&1 | 1291for ac_var in `(set) 2>&1 |
1258 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1292 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1259 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1293 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1260 eval ac_new_set=\$ac_env_${ac_var}_set 1294 eval ac_new_set=\$ac_env_${ac_var}_set
1261 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1295 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1262 eval ac_new_val="\$ac_env_${ac_var}_value" 1296 eval ac_new_val="\$ac_env_${ac_var}_value"
1263 case $ac_old_set,$ac_new_set in 1297 case $ac_old_set,$ac_new_set in
1270echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1304echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1271 ac_cache_corrupted=: ;; 1305 ac_cache_corrupted=: ;;
1272 ,);; 1306 ,);;
1273 *) 1307 *)
1274 if test "x$ac_old_val" != "x$ac_new_val"; then 1308 if test "x$ac_old_val" != "x$ac_new_val"; then
1275 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1309 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1276echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1310echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1277 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1311 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1278echo "$as_me: former value: $ac_old_val" >&2;} 1312echo "$as_me: former value: $ac_old_val" >&2;}
1279 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1313 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1280echo "$as_me: current value: $ac_new_val" >&2;} 1314echo "$as_me: current value: $ac_new_val" >&2;}
1281 ac_cache_corrupted=: 1315 ac_cache_corrupted=:
1282 fi;; 1316 fi;;
1283 esac 1317 esac
1284 # Pass precious variables to config.status. 1318 # Pass precious variables to config.status.
1285 if test "$ac_new_set" = set; then 1319 if test "$ac_new_set" = set; then
1286 case $ac_new_val in 1320 case $ac_new_val in
1443# AIX /bin/install 1477# AIX /bin/install
1444# AmigaOS /C/install, which installs bootblocks on floppy discs 1478# AmigaOS /C/install, which installs bootblocks on floppy discs
1445# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1479# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1446# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1480# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1447# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1481# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1482# OS/2's system install, which has a completely different semantic
1448# ./install, which can be erroneously created by make from ./install.sh. 1483# ./install, which can be erroneously created by make from ./install.sh.
1449echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1484echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1450echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 1485echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1451if test -z "$INSTALL"; then 1486if test -z "$INSTALL"; then
1452if test "${ac_cv_path_install+set}" = set; then 1487if test "${ac_cv_path_install+set}" = set; then
1459 test -z "$as_dir" && as_dir=. 1494 test -z "$as_dir" && as_dir=.
1460 # Account for people who put trailing slashes in PATH elements. 1495 # Account for people who put trailing slashes in PATH elements.
1461case $as_dir/ in 1496case $as_dir/ in
1462 ./ | .// | /cC/* | \ 1497 ./ | .// | /cC/* | \
1463 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1498 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1499 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1464 /usr/ucb/* ) ;; 1500 /usr/ucb/* ) ;;
1465 *) 1501 *)
1466 # OSF1 and SCO ODT 3.0 have their own names for install. 1502 # OSF1 and SCO ODT 3.0 have their own names for install.
1467 # Don't use installbsd from OSF since it installs stuff as root 1503 # Don't use installbsd from OSF since it installs stuff as root
1468 # by default. 1504 # by default.
1469 for ac_prog in ginstall scoinst install; do 1505 for ac_prog in ginstall scoinst install; do
1470 for ac_exec_ext in '' $ac_executable_extensions; do 1506 for ac_exec_ext in '' $ac_executable_extensions; do
1471 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1507 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1472 if test $ac_prog = install && 1508 if test $ac_prog = install &&
1473 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1509 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1474 # AIX install. It has an incompatible calling convention. 1510 # AIX install. It has an incompatible calling convention.
1475 : 1511 :
1476 elif test $ac_prog = install && 1512 elif test $ac_prog = install &&
1477 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1513 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1478 # program-specific install script used by HP pwplus--don't use. 1514 # program-specific install script used by HP pwplus--don't use.
1479 : 1515 :
1480 else 1516 else
1481 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1517 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1482 break 3 1518 break 3
1483 fi 1519 fi
1484 fi 1520 fi
1485 done 1521 done
1486 done 1522 done
1487 ;; 1523 ;;
1488esac 1524esac
1489done 1525done
1623 test -n "$AWK" && break 1659 test -n "$AWK" && break
1624done 1660done
1625 1661
1626echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1662echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1627echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 1663echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1628set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 1664set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1629if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1665if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1630 echo $ECHO_N "(cached) $ECHO_C" >&6 1666 echo $ECHO_N "(cached) $ECHO_C" >&6
1631else 1667else
1632 cat >conftest.make <<\_ACEOF 1668 cat >conftest.make <<\_ACEOF
1633all: 1669all:
1679fi 1715fi
1680 1716
1681 1717
1682# Define the identity of the package. 1718# Define the identity of the package.
1683 PACKAGE=vpe 1719 PACKAGE=vpe
1684 VERSION=1.2 1720 VERSION=1.5
1685 1721
1686 1722
1687cat >>confdefs.h <<_ACEOF 1723cat >>confdefs.h <<_ACEOF
1688#define PACKAGE "$PACKAGE" 1724#define PACKAGE "$PACKAGE"
1689_ACEOF 1725_ACEOF
2455 ac_status=$? 2491 ac_status=$?
2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457 (exit $ac_status); } 2493 (exit $ac_status); }
2458 2494
2459cat >conftest.$ac_ext <<_ACEOF 2495cat >conftest.$ac_ext <<_ACEOF
2460#line $LINENO "configure"
2461/* confdefs.h. */ 2496/* confdefs.h. */
2462_ACEOF 2497_ACEOF
2463cat confdefs.h >>conftest.$ac_ext 2498cat confdefs.h >>conftest.$ac_ext
2464cat >>conftest.$ac_ext <<_ACEOF 2499cat >>conftest.$ac_ext <<_ACEOF
2465/* end confdefs.h. */ 2500/* end confdefs.h. */
2475ac_clean_files_save=$ac_clean_files 2510ac_clean_files_save=$ac_clean_files
2476ac_clean_files="$ac_clean_files a.out a.exe b.out" 2511ac_clean_files="$ac_clean_files a.out a.exe b.out"
2477# Try to create an executable without -o first, disregard a.out. 2512# Try to create an executable without -o first, disregard a.out.
2478# It will help us diagnose broken compilers, and finding out an intuition 2513# It will help us diagnose broken compilers, and finding out an intuition
2479# of exeext. 2514# of exeext.
2480echo "$as_me:$LINENO: checking for C compiler default output" >&5 2515echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2481echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 2516echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2482ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2517ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2483if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 2518if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2484 (eval $ac_link_default) 2>&5 2519 (eval $ac_link_default) 2>&5
2485 ac_status=$? 2520 ac_status=$?
2486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2496for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2531for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2497do 2532do
2498 test -f "$ac_file" || continue 2533 test -f "$ac_file" || continue
2499 case $ac_file in 2534 case $ac_file in
2500 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 2535 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2501 ;; 2536 ;;
2502 conftest.$ac_ext ) 2537 conftest.$ac_ext )
2503 # This is the source file. 2538 # This is the source file.
2504 ;; 2539 ;;
2505 [ab].out ) 2540 [ab].out )
2506 # We found the default executable, but exeext='' is most 2541 # We found the default executable, but exeext='' is most
2507 # certainly right. 2542 # certainly right.
2508 break;; 2543 break;;
2509 *.* ) 2544 *.* )
2510 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2545 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2511 # FIXME: I believe we export ac_cv_exeext for Libtool, 2546 # FIXME: I believe we export ac_cv_exeext for Libtool,
2512 # but it would be cool to find out if it's true. Does anybody 2547 # but it would be cool to find out if it's true. Does anybody
2513 # maintain Libtool? --akim. 2548 # maintain Libtool? --akim.
2514 export ac_cv_exeext 2549 export ac_cv_exeext
2515 break;; 2550 break;;
2516 * ) 2551 * )
2517 break;; 2552 break;;
2518 esac 2553 esac
2519done 2554done
2520else 2555else
2521 echo "$as_me: failed program was:" >&5 2556 echo "$as_me: failed program was:" >&5
2522sed 's/^/| /' conftest.$ac_ext >&5 2557sed 's/^/| /' conftest.$ac_ext >&5
2586for ac_file in conftest.exe conftest conftest.*; do 2621for ac_file in conftest.exe conftest conftest.*; do
2587 test -f "$ac_file" || continue 2622 test -f "$ac_file" || continue
2588 case $ac_file in 2623 case $ac_file in
2589 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2624 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2590 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2625 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2591 export ac_cv_exeext 2626 export ac_cv_exeext
2592 break;; 2627 break;;
2593 * ) break;; 2628 * ) break;;
2594 esac 2629 esac
2595done 2630done
2596else 2631else
2597 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2632 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2612echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2647echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2613if test "${ac_cv_objext+set}" = set; then 2648if test "${ac_cv_objext+set}" = set; then
2614 echo $ECHO_N "(cached) $ECHO_C" >&6 2649 echo $ECHO_N "(cached) $ECHO_C" >&6
2615else 2650else
2616 cat >conftest.$ac_ext <<_ACEOF 2651 cat >conftest.$ac_ext <<_ACEOF
2617#line $LINENO "configure"
2618/* confdefs.h. */ 2652/* confdefs.h. */
2619_ACEOF 2653_ACEOF
2620cat confdefs.h >>conftest.$ac_ext 2654cat confdefs.h >>conftest.$ac_ext
2621cat >>conftest.$ac_ext <<_ACEOF 2655cat >>conftest.$ac_ext <<_ACEOF
2622/* end confdefs.h. */ 2656/* end confdefs.h. */
2663echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2697echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2664if test "${ac_cv_c_compiler_gnu+set}" = set; then 2698if test "${ac_cv_c_compiler_gnu+set}" = set; then
2665 echo $ECHO_N "(cached) $ECHO_C" >&6 2699 echo $ECHO_N "(cached) $ECHO_C" >&6
2666else 2700else
2667 cat >conftest.$ac_ext <<_ACEOF 2701 cat >conftest.$ac_ext <<_ACEOF
2668#line $LINENO "configure"
2669/* confdefs.h. */ 2702/* confdefs.h. */
2670_ACEOF 2703_ACEOF
2671cat confdefs.h >>conftest.$ac_ext 2704cat confdefs.h >>conftest.$ac_ext
2672cat >>conftest.$ac_ext <<_ACEOF 2705cat >>conftest.$ac_ext <<_ACEOF
2673/* end confdefs.h. */ 2706/* end confdefs.h. */
2683 return 0; 2716 return 0;
2684} 2717}
2685_ACEOF 2718_ACEOF
2686rm -f conftest.$ac_objext 2719rm -f conftest.$ac_objext
2687if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2720if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2688 (eval $ac_compile) 2>&5 2721 (eval $ac_compile) 2>conftest.er1
2689 ac_status=$? 2722 ac_status=$?
2723 grep -v '^ *+' conftest.er1 >conftest.err
2724 rm -f conftest.er1
2725 cat conftest.err >&5
2690 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2691 (exit $ac_status); } && 2727 (exit $ac_status); } &&
2692 { ac_try='test -s conftest.$ac_objext' 2728 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2694 (eval $ac_try) 2>&5 2730 (eval $ac_try) 2>&5
2695 ac_status=$? 2731 ac_status=$?
2696 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); }; } &&
2734 { ac_try='test -s conftest.$ac_objext'
2735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2736 (eval $ac_try) 2>&5
2737 ac_status=$?
2738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2697 (exit $ac_status); }; }; then 2739 (exit $ac_status); }; }; then
2698 ac_compiler_gnu=yes 2740 ac_compiler_gnu=yes
2699else 2741else
2700 echo "$as_me: failed program was:" >&5 2742 echo "$as_me: failed program was:" >&5
2701sed 's/^/| /' conftest.$ac_ext >&5 2743sed 's/^/| /' conftest.$ac_ext >&5
2702 2744
2703ac_compiler_gnu=no 2745ac_compiler_gnu=no
2704fi 2746fi
2705rm -f conftest.$ac_objext conftest.$ac_ext 2747rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2706ac_cv_c_compiler_gnu=$ac_compiler_gnu 2748ac_cv_c_compiler_gnu=$ac_compiler_gnu
2707 2749
2708fi 2750fi
2709echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2751echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2710echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2752echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2716echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2758echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2717if test "${ac_cv_prog_cc_g+set}" = set; then 2759if test "${ac_cv_prog_cc_g+set}" = set; then
2718 echo $ECHO_N "(cached) $ECHO_C" >&6 2760 echo $ECHO_N "(cached) $ECHO_C" >&6
2719else 2761else
2720 cat >conftest.$ac_ext <<_ACEOF 2762 cat >conftest.$ac_ext <<_ACEOF
2721#line $LINENO "configure"
2722/* confdefs.h. */ 2763/* confdefs.h. */
2723_ACEOF 2764_ACEOF
2724cat confdefs.h >>conftest.$ac_ext 2765cat confdefs.h >>conftest.$ac_ext
2725cat >>conftest.$ac_ext <<_ACEOF 2766cat >>conftest.$ac_ext <<_ACEOF
2726/* end confdefs.h. */ 2767/* end confdefs.h. */
2733 return 0; 2774 return 0;
2734} 2775}
2735_ACEOF 2776_ACEOF
2736rm -f conftest.$ac_objext 2777rm -f conftest.$ac_objext
2737if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2778if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2738 (eval $ac_compile) 2>&5 2779 (eval $ac_compile) 2>conftest.er1
2739 ac_status=$? 2780 ac_status=$?
2781 grep -v '^ *+' conftest.er1 >conftest.err
2782 rm -f conftest.er1
2783 cat conftest.err >&5
2740 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741 (exit $ac_status); } && 2785 (exit $ac_status); } &&
2742 { ac_try='test -s conftest.$ac_objext' 2786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2744 (eval $ac_try) 2>&5 2788 (eval $ac_try) 2>&5
2745 ac_status=$? 2789 ac_status=$?
2746 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2791 (exit $ac_status); }; } &&
2792 { ac_try='test -s conftest.$ac_objext'
2793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2794 (eval $ac_try) 2>&5
2795 ac_status=$?
2796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2747 (exit $ac_status); }; }; then 2797 (exit $ac_status); }; }; then
2748 ac_cv_prog_cc_g=yes 2798 ac_cv_prog_cc_g=yes
2749else 2799else
2750 echo "$as_me: failed program was:" >&5 2800 echo "$as_me: failed program was:" >&5
2751sed 's/^/| /' conftest.$ac_ext >&5 2801sed 's/^/| /' conftest.$ac_ext >&5
2752 2802
2753ac_cv_prog_cc_g=no 2803ac_cv_prog_cc_g=no
2754fi 2804fi
2755rm -f conftest.$ac_objext conftest.$ac_ext 2805rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2756fi 2806fi
2757echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2807echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2758echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2808echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2759if test "$ac_test_CFLAGS" = set; then 2809if test "$ac_test_CFLAGS" = set; then
2760 CFLAGS=$ac_save_CFLAGS 2810 CFLAGS=$ac_save_CFLAGS
2777 echo $ECHO_N "(cached) $ECHO_C" >&6 2827 echo $ECHO_N "(cached) $ECHO_C" >&6
2778else 2828else
2779 ac_cv_prog_cc_stdc=no 2829 ac_cv_prog_cc_stdc=no
2780ac_save_CC=$CC 2830ac_save_CC=$CC
2781cat >conftest.$ac_ext <<_ACEOF 2831cat >conftest.$ac_ext <<_ACEOF
2782#line $LINENO "configure"
2783/* confdefs.h. */ 2832/* confdefs.h. */
2784_ACEOF 2833_ACEOF
2785cat confdefs.h >>conftest.$ac_ext 2834cat confdefs.h >>conftest.$ac_ext
2786cat >>conftest.$ac_ext <<_ACEOF 2835cat >>conftest.$ac_ext <<_ACEOF
2787/* end confdefs.h. */ 2836/* end confdefs.h. */
2805 va_start (v,p); 2854 va_start (v,p);
2806 s = g (p, va_arg (v,int)); 2855 s = g (p, va_arg (v,int));
2807 va_end (v); 2856 va_end (v);
2808 return s; 2857 return s;
2809} 2858}
2859
2860/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2861 function prototypes and stuff, but not '\xHH' hex character constants.
2862 These don't provoke an error unfortunately, instead are silently treated
2863 as 'x'. The following induces an error, until -std1 is added to get
2864 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2865 array size at least. It's necessary to write '\x00'==0 to get something
2866 that's true only with -std1. */
2867int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2868
2810int test (int i, double x); 2869int test (int i, double x);
2811struct s1 {int (*f) (int a);}; 2870struct s1 {int (*f) (int a);};
2812struct s2 {int (*f) (double a);}; 2871struct s2 {int (*f) (double a);};
2813int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2872int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2814int argc; 2873int argc;
2831for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2890for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2832do 2891do
2833 CC="$ac_save_CC $ac_arg" 2892 CC="$ac_save_CC $ac_arg"
2834 rm -f conftest.$ac_objext 2893 rm -f conftest.$ac_objext
2835if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2894if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2836 (eval $ac_compile) 2>&5 2895 (eval $ac_compile) 2>conftest.er1
2837 ac_status=$? 2896 ac_status=$?
2897 grep -v '^ *+' conftest.er1 >conftest.err
2898 rm -f conftest.er1
2899 cat conftest.err >&5
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); } && 2901 (exit $ac_status); } &&
2902 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2904 (eval $ac_try) 2>&5
2905 ac_status=$?
2906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2907 (exit $ac_status); }; } &&
2840 { ac_try='test -s conftest.$ac_objext' 2908 { ac_try='test -s conftest.$ac_objext'
2841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2842 (eval $ac_try) 2>&5 2910 (eval $ac_try) 2>&5
2843 ac_status=$? 2911 ac_status=$?
2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); }; }; then 2913 (exit $ac_status); }; }; then
2848else 2916else
2849 echo "$as_me: failed program was:" >&5 2917 echo "$as_me: failed program was:" >&5
2850sed 's/^/| /' conftest.$ac_ext >&5 2918sed 's/^/| /' conftest.$ac_ext >&5
2851 2919
2852fi 2920fi
2853rm -f conftest.$ac_objext 2921rm -f conftest.err conftest.$ac_objext
2854done 2922done
2855rm -f conftest.$ac_ext conftest.$ac_objext 2923rm -f conftest.$ac_ext conftest.$ac_objext
2856CC=$ac_save_CC 2924CC=$ac_save_CC
2857 2925
2858fi 2926fi
2876 choke me 2944 choke me
2877#endif 2945#endif
2878_ACEOF 2946_ACEOF
2879rm -f conftest.$ac_objext 2947rm -f conftest.$ac_objext
2880if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2948if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2881 (eval $ac_compile) 2>&5 2949 (eval $ac_compile) 2>conftest.er1
2882 ac_status=$? 2950 ac_status=$?
2951 grep -v '^ *+' conftest.er1 >conftest.err
2952 rm -f conftest.er1
2953 cat conftest.err >&5
2883 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884 (exit $ac_status); } && 2955 (exit $ac_status); } &&
2956 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2958 (eval $ac_try) 2>&5
2959 ac_status=$?
2960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2961 (exit $ac_status); }; } &&
2885 { ac_try='test -s conftest.$ac_objext' 2962 { ac_try='test -s conftest.$ac_objext'
2886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2887 (eval $ac_try) 2>&5 2964 (eval $ac_try) 2>&5
2888 ac_status=$? 2965 ac_status=$?
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); }; }; then 2967 (exit $ac_status); }; }; then
2895 'extern "C" void exit (int) throw ();' \ 2972 'extern "C" void exit (int) throw ();' \
2896 'extern "C" void exit (int);' \ 2973 'extern "C" void exit (int);' \
2897 'void exit (int);' 2974 'void exit (int);'
2898do 2975do
2899 cat >conftest.$ac_ext <<_ACEOF 2976 cat >conftest.$ac_ext <<_ACEOF
2900#line $LINENO "configure"
2901/* confdefs.h. */ 2977/* confdefs.h. */
2902_ACEOF 2978_ACEOF
2903cat confdefs.h >>conftest.$ac_ext 2979cat confdefs.h >>conftest.$ac_ext
2904cat >>conftest.$ac_ext <<_ACEOF 2980cat >>conftest.$ac_ext <<_ACEOF
2905/* end confdefs.h. */ 2981/* end confdefs.h. */
2913 return 0; 2989 return 0;
2914} 2990}
2915_ACEOF 2991_ACEOF
2916rm -f conftest.$ac_objext 2992rm -f conftest.$ac_objext
2917if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2993if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2918 (eval $ac_compile) 2>&5 2994 (eval $ac_compile) 2>conftest.er1
2919 ac_status=$? 2995 ac_status=$?
2996 grep -v '^ *+' conftest.er1 >conftest.err
2997 rm -f conftest.er1
2998 cat conftest.err >&5
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); } && 3000 (exit $ac_status); } &&
2922 { ac_try='test -s conftest.$ac_objext' 3001 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2924 (eval $ac_try) 2>&5 3003 (eval $ac_try) 2>&5
2925 ac_status=$? 3004 ac_status=$?
2926 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3006 (exit $ac_status); }; } &&
3007 { ac_try='test -s conftest.$ac_objext'
3008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3009 (eval $ac_try) 2>&5
3010 ac_status=$?
3011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927 (exit $ac_status); }; }; then 3012 (exit $ac_status); }; }; then
2928 : 3013 :
2929else 3014else
2930 echo "$as_me: failed program was:" >&5 3015 echo "$as_me: failed program was:" >&5
2931sed 's/^/| /' conftest.$ac_ext >&5 3016sed 's/^/| /' conftest.$ac_ext >&5
2932 3017
2933continue 3018continue
2934fi 3019fi
2935rm -f conftest.$ac_objext conftest.$ac_ext 3020rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2936 cat >conftest.$ac_ext <<_ACEOF 3021 cat >conftest.$ac_ext <<_ACEOF
2937#line $LINENO "configure"
2938/* confdefs.h. */ 3022/* confdefs.h. */
2939_ACEOF 3023_ACEOF
2940cat confdefs.h >>conftest.$ac_ext 3024cat confdefs.h >>conftest.$ac_ext
2941cat >>conftest.$ac_ext <<_ACEOF 3025cat >>conftest.$ac_ext <<_ACEOF
2942/* end confdefs.h. */ 3026/* end confdefs.h. */
2949 return 0; 3033 return 0;
2950} 3034}
2951_ACEOF 3035_ACEOF
2952rm -f conftest.$ac_objext 3036rm -f conftest.$ac_objext
2953if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3037if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2954 (eval $ac_compile) 2>&5 3038 (eval $ac_compile) 2>conftest.er1
2955 ac_status=$? 3039 ac_status=$?
3040 grep -v '^ *+' conftest.er1 >conftest.err
3041 rm -f conftest.er1
3042 cat conftest.err >&5
2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957 (exit $ac_status); } && 3044 (exit $ac_status); } &&
2958 { ac_try='test -s conftest.$ac_objext' 3045 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2960 (eval $ac_try) 2>&5 3047 (eval $ac_try) 2>&5
2961 ac_status=$? 3048 ac_status=$?
2962 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); }; } &&
3051 { ac_try='test -s conftest.$ac_objext'
3052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3053 (eval $ac_try) 2>&5
3054 ac_status=$?
3055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963 (exit $ac_status); }; }; then 3056 (exit $ac_status); }; }; then
2964 break 3057 break
2965else 3058else
2966 echo "$as_me: failed program was:" >&5 3059 echo "$as_me: failed program was:" >&5
2967sed 's/^/| /' conftest.$ac_ext >&5 3060sed 's/^/| /' conftest.$ac_ext >&5
2968 3061
2969fi 3062fi
2970rm -f conftest.$ac_objext conftest.$ac_ext 3063rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2971done 3064done
2972rm -f conftest* 3065rm -f conftest*
2973if test -n "$ac_declaration"; then 3066if test -n "$ac_declaration"; then
2974 echo '#ifdef __cplusplus' >>confdefs.h 3067 echo '#ifdef __cplusplus' >>confdefs.h
2975 echo $ac_declaration >>confdefs.h 3068 echo $ac_declaration >>confdefs.h
2979else 3072else
2980 echo "$as_me: failed program was:" >&5 3073 echo "$as_me: failed program was:" >&5
2981sed 's/^/| /' conftest.$ac_ext >&5 3074sed 's/^/| /' conftest.$ac_ext >&5
2982 3075
2983fi 3076fi
2984rm -f conftest.$ac_objext conftest.$ac_ext 3077rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2985ac_ext=c 3078ac_ext=c
2986ac_cpp='$CPP $CPPFLAGS' 3079ac_cpp='$CPP $CPPFLAGS'
2987ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3080ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2988ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3081ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2989ac_compiler_gnu=$ac_cv_c_compiler_gnu 3082ac_compiler_gnu=$ac_cv_c_compiler_gnu
3652echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6 3745echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
3653if test "${gt_cv_func_gnugettext1_libc+set}" = set; then 3746if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
3654 echo $ECHO_N "(cached) $ECHO_C" >&6 3747 echo $ECHO_N "(cached) $ECHO_C" >&6
3655else 3748else
3656 cat >conftest.$ac_ext <<_ACEOF 3749 cat >conftest.$ac_ext <<_ACEOF
3657#line $LINENO "configure"
3658/* confdefs.h. */ 3750/* confdefs.h. */
3659_ACEOF 3751_ACEOF
3660cat confdefs.h >>conftest.$ac_ext 3752cat confdefs.h >>conftest.$ac_ext
3661cat >>conftest.$ac_ext <<_ACEOF 3753cat >>conftest.$ac_ext <<_ACEOF
3662/* end confdefs.h. */ 3754/* end confdefs.h. */
3672 return 0; 3764 return 0;
3673} 3765}
3674_ACEOF 3766_ACEOF
3675rm -f conftest.$ac_objext conftest$ac_exeext 3767rm -f conftest.$ac_objext conftest$ac_exeext
3676if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3768if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3677 (eval $ac_link) 2>&5 3769 (eval $ac_link) 2>conftest.er1
3678 ac_status=$? 3770 ac_status=$?
3771 grep -v '^ *+' conftest.er1 >conftest.err
3772 rm -f conftest.er1
3773 cat conftest.err >&5
3679 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3680 (exit $ac_status); } && 3775 (exit $ac_status); } &&
3681 { ac_try='test -s conftest$ac_exeext' 3776 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3683 (eval $ac_try) 2>&5 3778 (eval $ac_try) 2>&5
3684 ac_status=$? 3779 ac_status=$?
3685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3781 (exit $ac_status); }; } &&
3782 { ac_try='test -s conftest$ac_exeext'
3783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3784 (eval $ac_try) 2>&5
3785 ac_status=$?
3786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3686 (exit $ac_status); }; }; then 3787 (exit $ac_status); }; }; then
3687 gt_cv_func_gnugettext1_libc=yes 3788 gt_cv_func_gnugettext1_libc=yes
3688else 3789else
3689 echo "$as_me: failed program was:" >&5 3790 echo "$as_me: failed program was:" >&5
3690sed 's/^/| /' conftest.$ac_ext >&5 3791sed 's/^/| /' conftest.$ac_ext >&5
3691 3792
3692gt_cv_func_gnugettext1_libc=no 3793gt_cv_func_gnugettext1_libc=no
3693fi 3794fi
3694rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3795rm -f conftest.err conftest.$ac_objext \
3796 conftest$ac_exeext conftest.$ac_ext
3695fi 3797fi
3696echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5 3798echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
3697echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6 3799echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
3698 3800
3699 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then 3801 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
3734else 3836else
3735 3837
3736 am_cv_func_iconv="no, consider installing GNU libiconv" 3838 am_cv_func_iconv="no, consider installing GNU libiconv"
3737 am_cv_lib_iconv=no 3839 am_cv_lib_iconv=no
3738 cat >conftest.$ac_ext <<_ACEOF 3840 cat >conftest.$ac_ext <<_ACEOF
3739#line $LINENO "configure"
3740/* confdefs.h. */ 3841/* confdefs.h. */
3741_ACEOF 3842_ACEOF
3742cat confdefs.h >>conftest.$ac_ext 3843cat confdefs.h >>conftest.$ac_ext
3743cat >>conftest.$ac_ext <<_ACEOF 3844cat >>conftest.$ac_ext <<_ACEOF
3744/* end confdefs.h. */ 3845/* end confdefs.h. */
3754 return 0; 3855 return 0;
3755} 3856}
3756_ACEOF 3857_ACEOF
3757rm -f conftest.$ac_objext conftest$ac_exeext 3858rm -f conftest.$ac_objext conftest$ac_exeext
3758if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3859if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3759 (eval $ac_link) 2>&5 3860 (eval $ac_link) 2>conftest.er1
3760 ac_status=$? 3861 ac_status=$?
3862 grep -v '^ *+' conftest.er1 >conftest.err
3863 rm -f conftest.er1
3864 cat conftest.err >&5
3761 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3762 (exit $ac_status); } && 3866 (exit $ac_status); } &&
3763 { ac_try='test -s conftest$ac_exeext' 3867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3765 (eval $ac_try) 2>&5 3869 (eval $ac_try) 2>&5
3766 ac_status=$? 3870 ac_status=$?
3767 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3872 (exit $ac_status); }; } &&
3873 { ac_try='test -s conftest$ac_exeext'
3874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3875 (eval $ac_try) 2>&5
3876 ac_status=$?
3877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3768 (exit $ac_status); }; }; then 3878 (exit $ac_status); }; }; then
3769 am_cv_func_iconv=yes 3879 am_cv_func_iconv=yes
3770else 3880else
3771 echo "$as_me: failed program was:" >&5 3881 echo "$as_me: failed program was:" >&5
3772sed 's/^/| /' conftest.$ac_ext >&5 3882sed 's/^/| /' conftest.$ac_ext >&5
3773 3883
3774fi 3884fi
3775rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3885rm -f conftest.err conftest.$ac_objext \
3886 conftest$ac_exeext conftest.$ac_ext
3776 if test "$am_cv_func_iconv" != yes; then 3887 if test "$am_cv_func_iconv" != yes; then
3777 am_save_LIBS="$LIBS" 3888 am_save_LIBS="$LIBS"
3778 LIBS="$LIBS $LIBICONV" 3889 LIBS="$LIBS $LIBICONV"
3779 cat >conftest.$ac_ext <<_ACEOF 3890 cat >conftest.$ac_ext <<_ACEOF
3780#line $LINENO "configure"
3781/* confdefs.h. */ 3891/* confdefs.h. */
3782_ACEOF 3892_ACEOF
3783cat confdefs.h >>conftest.$ac_ext 3893cat confdefs.h >>conftest.$ac_ext
3784cat >>conftest.$ac_ext <<_ACEOF 3894cat >>conftest.$ac_ext <<_ACEOF
3785/* end confdefs.h. */ 3895/* end confdefs.h. */
3795 return 0; 3905 return 0;
3796} 3906}
3797_ACEOF 3907_ACEOF
3798rm -f conftest.$ac_objext conftest$ac_exeext 3908rm -f conftest.$ac_objext conftest$ac_exeext
3799if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3909if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3800 (eval $ac_link) 2>&5 3910 (eval $ac_link) 2>conftest.er1
3801 ac_status=$? 3911 ac_status=$?
3912 grep -v '^ *+' conftest.er1 >conftest.err
3913 rm -f conftest.er1
3914 cat conftest.err >&5
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); } && 3916 (exit $ac_status); } &&
3917 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3919 (eval $ac_try) 2>&5
3920 ac_status=$?
3921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3922 (exit $ac_status); }; } &&
3804 { ac_try='test -s conftest$ac_exeext' 3923 { ac_try='test -s conftest$ac_exeext'
3805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3806 (eval $ac_try) 2>&5 3925 (eval $ac_try) 2>&5
3807 ac_status=$? 3926 ac_status=$?
3808 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809 (exit $ac_status); }; }; then 3928 (exit $ac_status); }; }; then
3812else 3931else
3813 echo "$as_me: failed program was:" >&5 3932 echo "$as_me: failed program was:" >&5
3814sed 's/^/| /' conftest.$ac_ext >&5 3933sed 's/^/| /' conftest.$ac_ext >&5
3815 3934
3816fi 3935fi
3817rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3936rm -f conftest.err conftest.$ac_objext \
3937 conftest$ac_exeext conftest.$ac_ext
3818 LIBS="$am_save_LIBS" 3938 LIBS="$am_save_LIBS"
3819 fi 3939 fi
3820 3940
3821fi 3941fi
3822echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 3942echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
4228 gt_save_CPPFLAGS="$CPPFLAGS" 4348 gt_save_CPPFLAGS="$CPPFLAGS"
4229 CPPFLAGS="$CPPFLAGS $INCINTL" 4349 CPPFLAGS="$CPPFLAGS $INCINTL"
4230 gt_save_LIBS="$LIBS" 4350 gt_save_LIBS="$LIBS"
4231 LIBS="$LIBS $LIBINTL" 4351 LIBS="$LIBS $LIBINTL"
4232 cat >conftest.$ac_ext <<_ACEOF 4352 cat >conftest.$ac_ext <<_ACEOF
4233#line $LINENO "configure"
4234/* confdefs.h. */ 4353/* confdefs.h. */
4235_ACEOF 4354_ACEOF
4236cat confdefs.h >>conftest.$ac_ext 4355cat confdefs.h >>conftest.$ac_ext
4237cat >>conftest.$ac_ext <<_ACEOF 4356cat >>conftest.$ac_ext <<_ACEOF
4238/* end confdefs.h. */ 4357/* end confdefs.h. */
4252 return 0; 4371 return 0;
4253} 4372}
4254_ACEOF 4373_ACEOF
4255rm -f conftest.$ac_objext conftest$ac_exeext 4374rm -f conftest.$ac_objext conftest$ac_exeext
4256if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4375if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4257 (eval $ac_link) 2>&5 4376 (eval $ac_link) 2>conftest.er1
4258 ac_status=$? 4377 ac_status=$?
4378 grep -v '^ *+' conftest.er1 >conftest.err
4379 rm -f conftest.er1
4380 cat conftest.err >&5
4259 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4260 (exit $ac_status); } && 4382 (exit $ac_status); } &&
4261 { ac_try='test -s conftest$ac_exeext' 4383 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4263 (eval $ac_try) 2>&5 4385 (eval $ac_try) 2>&5
4264 ac_status=$? 4386 ac_status=$?
4265 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4388 (exit $ac_status); }; } &&
4389 { ac_try='test -s conftest$ac_exeext'
4390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4391 (eval $ac_try) 2>&5
4392 ac_status=$?
4393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4266 (exit $ac_status); }; }; then 4394 (exit $ac_status); }; }; then
4267 gt_cv_func_gnugettext1_libintl=yes 4395 gt_cv_func_gnugettext1_libintl=yes
4268else 4396else
4269 echo "$as_me: failed program was:" >&5 4397 echo "$as_me: failed program was:" >&5
4270sed 's/^/| /' conftest.$ac_ext >&5 4398sed 's/^/| /' conftest.$ac_ext >&5
4271 4399
4272gt_cv_func_gnugettext1_libintl=no 4400gt_cv_func_gnugettext1_libintl=no
4273fi 4401fi
4274rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4402rm -f conftest.err conftest.$ac_objext \
4403 conftest$ac_exeext conftest.$ac_ext
4275 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then 4404 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
4276 LIBS="$LIBS $LIBICONV" 4405 LIBS="$LIBS $LIBICONV"
4277 cat >conftest.$ac_ext <<_ACEOF 4406 cat >conftest.$ac_ext <<_ACEOF
4278#line $LINENO "configure"
4279/* confdefs.h. */ 4407/* confdefs.h. */
4280_ACEOF 4408_ACEOF
4281cat confdefs.h >>conftest.$ac_ext 4409cat confdefs.h >>conftest.$ac_ext
4282cat >>conftest.$ac_ext <<_ACEOF 4410cat >>conftest.$ac_ext <<_ACEOF
4283/* end confdefs.h. */ 4411/* end confdefs.h. */
4297 return 0; 4425 return 0;
4298} 4426}
4299_ACEOF 4427_ACEOF
4300rm -f conftest.$ac_objext conftest$ac_exeext 4428rm -f conftest.$ac_objext conftest$ac_exeext
4301if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4429if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4302 (eval $ac_link) 2>&5 4430 (eval $ac_link) 2>conftest.er1
4303 ac_status=$? 4431 ac_status=$?
4432 grep -v '^ *+' conftest.er1 >conftest.err
4433 rm -f conftest.er1
4434 cat conftest.err >&5
4304 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4305 (exit $ac_status); } && 4436 (exit $ac_status); } &&
4437 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4439 (eval $ac_try) 2>&5
4440 ac_status=$?
4441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4442 (exit $ac_status); }; } &&
4306 { ac_try='test -s conftest$ac_exeext' 4443 { ac_try='test -s conftest$ac_exeext'
4307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4308 (eval $ac_try) 2>&5 4445 (eval $ac_try) 2>&5
4309 ac_status=$? 4446 ac_status=$?
4310 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311 (exit $ac_status); }; }; then 4448 (exit $ac_status); }; }; then
4316else 4453else
4317 echo "$as_me: failed program was:" >&5 4454 echo "$as_me: failed program was:" >&5
4318sed 's/^/| /' conftest.$ac_ext >&5 4455sed 's/^/| /' conftest.$ac_ext >&5
4319 4456
4320fi 4457fi
4321rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4458rm -f conftest.err conftest.$ac_objext \
4459 conftest$ac_exeext conftest.$ac_ext
4322 fi 4460 fi
4323 CPPFLAGS="$gt_save_CPPFLAGS" 4461 CPPFLAGS="$gt_save_CPPFLAGS"
4324 LIBS="$gt_save_LIBS" 4462 LIBS="$gt_save_LIBS"
4325fi 4463fi
4326echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5 4464echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
4417cat >>confdefs.h <<\_ACEOF 4555cat >>confdefs.h <<\_ACEOF
4418#define _GNU_SOURCE 1 4556#define _GNU_SOURCE 1
4419_ACEOF 4557_ACEOF
4420 4558
4421 4559
4422cat >>confdefs.h <<\_ACEOF 4560# do NOT define POSIX_SOURCE, sicne this clashes with many BSDs
4423#define __USE_BSD 1
4424_ACEOF
4425
4426 4561
4427ALL_LINGUAS="" 4562ALL_LINGUAS=""
4428 4563
4429ac_ext=c 4564ac_ext=c
4430ac_cpp='$CPP $CPPFLAGS' 4565ac_cpp='$CPP $CPPFLAGS'
4765echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 4900echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4766if test "${ac_cv_c_compiler_gnu+set}" = set; then 4901if test "${ac_cv_c_compiler_gnu+set}" = set; then
4767 echo $ECHO_N "(cached) $ECHO_C" >&6 4902 echo $ECHO_N "(cached) $ECHO_C" >&6
4768else 4903else
4769 cat >conftest.$ac_ext <<_ACEOF 4904 cat >conftest.$ac_ext <<_ACEOF
4770#line $LINENO "configure"
4771/* confdefs.h. */ 4905/* confdefs.h. */
4772_ACEOF 4906_ACEOF
4773cat confdefs.h >>conftest.$ac_ext 4907cat confdefs.h >>conftest.$ac_ext
4774cat >>conftest.$ac_ext <<_ACEOF 4908cat >>conftest.$ac_ext <<_ACEOF
4775/* end confdefs.h. */ 4909/* end confdefs.h. */
4785 return 0; 4919 return 0;
4786} 4920}
4787_ACEOF 4921_ACEOF
4788rm -f conftest.$ac_objext 4922rm -f conftest.$ac_objext
4789if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4923if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4790 (eval $ac_compile) 2>&5 4924 (eval $ac_compile) 2>conftest.er1
4791 ac_status=$? 4925 ac_status=$?
4926 grep -v '^ *+' conftest.er1 >conftest.err
4927 rm -f conftest.er1
4928 cat conftest.err >&5
4792 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4793 (exit $ac_status); } && 4930 (exit $ac_status); } &&
4794 { ac_try='test -s conftest.$ac_objext' 4931 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4796 (eval $ac_try) 2>&5 4933 (eval $ac_try) 2>&5
4797 ac_status=$? 4934 ac_status=$?
4798 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4936 (exit $ac_status); }; } &&
4937 { ac_try='test -s conftest.$ac_objext'
4938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4939 (eval $ac_try) 2>&5
4940 ac_status=$?
4941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4799 (exit $ac_status); }; }; then 4942 (exit $ac_status); }; }; then
4800 ac_compiler_gnu=yes 4943 ac_compiler_gnu=yes
4801else 4944else
4802 echo "$as_me: failed program was:" >&5 4945 echo "$as_me: failed program was:" >&5
4803sed 's/^/| /' conftest.$ac_ext >&5 4946sed 's/^/| /' conftest.$ac_ext >&5
4804 4947
4805ac_compiler_gnu=no 4948ac_compiler_gnu=no
4806fi 4949fi
4807rm -f conftest.$ac_objext conftest.$ac_ext 4950rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4808ac_cv_c_compiler_gnu=$ac_compiler_gnu 4951ac_cv_c_compiler_gnu=$ac_compiler_gnu
4809 4952
4810fi 4953fi
4811echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 4954echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4812echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 4955echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4818echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 4961echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4819if test "${ac_cv_prog_cc_g+set}" = set; then 4962if test "${ac_cv_prog_cc_g+set}" = set; then
4820 echo $ECHO_N "(cached) $ECHO_C" >&6 4963 echo $ECHO_N "(cached) $ECHO_C" >&6
4821else 4964else
4822 cat >conftest.$ac_ext <<_ACEOF 4965 cat >conftest.$ac_ext <<_ACEOF
4823#line $LINENO "configure"
4824/* confdefs.h. */ 4966/* confdefs.h. */
4825_ACEOF 4967_ACEOF
4826cat confdefs.h >>conftest.$ac_ext 4968cat confdefs.h >>conftest.$ac_ext
4827cat >>conftest.$ac_ext <<_ACEOF 4969cat >>conftest.$ac_ext <<_ACEOF
4828/* end confdefs.h. */ 4970/* end confdefs.h. */
4835 return 0; 4977 return 0;
4836} 4978}
4837_ACEOF 4979_ACEOF
4838rm -f conftest.$ac_objext 4980rm -f conftest.$ac_objext
4839if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4981if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4840 (eval $ac_compile) 2>&5 4982 (eval $ac_compile) 2>conftest.er1
4841 ac_status=$? 4983 ac_status=$?
4984 grep -v '^ *+' conftest.er1 >conftest.err
4985 rm -f conftest.er1
4986 cat conftest.err >&5
4842 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843 (exit $ac_status); } && 4988 (exit $ac_status); } &&
4844 { ac_try='test -s conftest.$ac_objext' 4989 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4846 (eval $ac_try) 2>&5 4991 (eval $ac_try) 2>&5
4847 ac_status=$? 4992 ac_status=$?
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4994 (exit $ac_status); }; } &&
4995 { ac_try='test -s conftest.$ac_objext'
4996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4997 (eval $ac_try) 2>&5
4998 ac_status=$?
4999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); }; }; then 5000 (exit $ac_status); }; }; then
4850 ac_cv_prog_cc_g=yes 5001 ac_cv_prog_cc_g=yes
4851else 5002else
4852 echo "$as_me: failed program was:" >&5 5003 echo "$as_me: failed program was:" >&5
4853sed 's/^/| /' conftest.$ac_ext >&5 5004sed 's/^/| /' conftest.$ac_ext >&5
4854 5005
4855ac_cv_prog_cc_g=no 5006ac_cv_prog_cc_g=no
4856fi 5007fi
4857rm -f conftest.$ac_objext conftest.$ac_ext 5008rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4858fi 5009fi
4859echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 5010echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4860echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 5011echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4861if test "$ac_test_CFLAGS" = set; then 5012if test "$ac_test_CFLAGS" = set; then
4862 CFLAGS=$ac_save_CFLAGS 5013 CFLAGS=$ac_save_CFLAGS
4879 echo $ECHO_N "(cached) $ECHO_C" >&6 5030 echo $ECHO_N "(cached) $ECHO_C" >&6
4880else 5031else
4881 ac_cv_prog_cc_stdc=no 5032 ac_cv_prog_cc_stdc=no
4882ac_save_CC=$CC 5033ac_save_CC=$CC
4883cat >conftest.$ac_ext <<_ACEOF 5034cat >conftest.$ac_ext <<_ACEOF
4884#line $LINENO "configure"
4885/* confdefs.h. */ 5035/* confdefs.h. */
4886_ACEOF 5036_ACEOF
4887cat confdefs.h >>conftest.$ac_ext 5037cat confdefs.h >>conftest.$ac_ext
4888cat >>conftest.$ac_ext <<_ACEOF 5038cat >>conftest.$ac_ext <<_ACEOF
4889/* end confdefs.h. */ 5039/* end confdefs.h. */
4907 va_start (v,p); 5057 va_start (v,p);
4908 s = g (p, va_arg (v,int)); 5058 s = g (p, va_arg (v,int));
4909 va_end (v); 5059 va_end (v);
4910 return s; 5060 return s;
4911} 5061}
5062
5063/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5064 function prototypes and stuff, but not '\xHH' hex character constants.
5065 These don't provoke an error unfortunately, instead are silently treated
5066 as 'x'. The following induces an error, until -std1 is added to get
5067 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5068 array size at least. It's necessary to write '\x00'==0 to get something
5069 that's true only with -std1. */
5070int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5071
4912int test (int i, double x); 5072int test (int i, double x);
4913struct s1 {int (*f) (int a);}; 5073struct s1 {int (*f) (int a);};
4914struct s2 {int (*f) (double a);}; 5074struct s2 {int (*f) (double a);};
4915int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 5075int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4916int argc; 5076int argc;
4933for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 5093for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4934do 5094do
4935 CC="$ac_save_CC $ac_arg" 5095 CC="$ac_save_CC $ac_arg"
4936 rm -f conftest.$ac_objext 5096 rm -f conftest.$ac_objext
4937if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5097if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4938 (eval $ac_compile) 2>&5 5098 (eval $ac_compile) 2>conftest.er1
4939 ac_status=$? 5099 ac_status=$?
5100 grep -v '^ *+' conftest.er1 >conftest.err
5101 rm -f conftest.er1
5102 cat conftest.err >&5
4940 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941 (exit $ac_status); } && 5104 (exit $ac_status); } &&
5105 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5107 (eval $ac_try) 2>&5
5108 ac_status=$?
5109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5110 (exit $ac_status); }; } &&
4942 { ac_try='test -s conftest.$ac_objext' 5111 { ac_try='test -s conftest.$ac_objext'
4943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4944 (eval $ac_try) 2>&5 5113 (eval $ac_try) 2>&5
4945 ac_status=$? 5114 ac_status=$?
4946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4947 (exit $ac_status); }; }; then 5116 (exit $ac_status); }; }; then
4950else 5119else
4951 echo "$as_me: failed program was:" >&5 5120 echo "$as_me: failed program was:" >&5
4952sed 's/^/| /' conftest.$ac_ext >&5 5121sed 's/^/| /' conftest.$ac_ext >&5
4953 5122
4954fi 5123fi
4955rm -f conftest.$ac_objext 5124rm -f conftest.err conftest.$ac_objext
4956done 5125done
4957rm -f conftest.$ac_ext conftest.$ac_objext 5126rm -f conftest.$ac_ext conftest.$ac_objext
4958CC=$ac_save_CC 5127CC=$ac_save_CC
4959 5128
4960fi 5129fi
4978 choke me 5147 choke me
4979#endif 5148#endif
4980_ACEOF 5149_ACEOF
4981rm -f conftest.$ac_objext 5150rm -f conftest.$ac_objext
4982if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5151if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4983 (eval $ac_compile) 2>&5 5152 (eval $ac_compile) 2>conftest.er1
4984 ac_status=$? 5153 ac_status=$?
5154 grep -v '^ *+' conftest.er1 >conftest.err
5155 rm -f conftest.er1
5156 cat conftest.err >&5
4985 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4986 (exit $ac_status); } && 5158 (exit $ac_status); } &&
5159 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5161 (eval $ac_try) 2>&5
5162 ac_status=$?
5163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5164 (exit $ac_status); }; } &&
4987 { ac_try='test -s conftest.$ac_objext' 5165 { ac_try='test -s conftest.$ac_objext'
4988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4989 (eval $ac_try) 2>&5 5167 (eval $ac_try) 2>&5
4990 ac_status=$? 5168 ac_status=$?
4991 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4992 (exit $ac_status); }; }; then 5170 (exit $ac_status); }; }; then
4997 'extern "C" void exit (int) throw ();' \ 5175 'extern "C" void exit (int) throw ();' \
4998 'extern "C" void exit (int);' \ 5176 'extern "C" void exit (int);' \
4999 'void exit (int);' 5177 'void exit (int);'
5000do 5178do
5001 cat >conftest.$ac_ext <<_ACEOF 5179 cat >conftest.$ac_ext <<_ACEOF
5002#line $LINENO "configure"
5003/* confdefs.h. */ 5180/* confdefs.h. */
5004_ACEOF 5181_ACEOF
5005cat confdefs.h >>conftest.$ac_ext 5182cat confdefs.h >>conftest.$ac_ext
5006cat >>conftest.$ac_ext <<_ACEOF 5183cat >>conftest.$ac_ext <<_ACEOF
5007/* end confdefs.h. */ 5184/* end confdefs.h. */
5015 return 0; 5192 return 0;
5016} 5193}
5017_ACEOF 5194_ACEOF
5018rm -f conftest.$ac_objext 5195rm -f conftest.$ac_objext
5019if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5196if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5020 (eval $ac_compile) 2>&5 5197 (eval $ac_compile) 2>conftest.er1
5021 ac_status=$? 5198 ac_status=$?
5199 grep -v '^ *+' conftest.er1 >conftest.err
5200 rm -f conftest.er1
5201 cat conftest.err >&5
5022 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5023 (exit $ac_status); } && 5203 (exit $ac_status); } &&
5024 { ac_try='test -s conftest.$ac_objext' 5204 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5026 (eval $ac_try) 2>&5 5206 (eval $ac_try) 2>&5
5027 ac_status=$? 5207 ac_status=$?
5028 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5209 (exit $ac_status); }; } &&
5210 { ac_try='test -s conftest.$ac_objext'
5211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5212 (eval $ac_try) 2>&5
5213 ac_status=$?
5214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5029 (exit $ac_status); }; }; then 5215 (exit $ac_status); }; }; then
5030 : 5216 :
5031else 5217else
5032 echo "$as_me: failed program was:" >&5 5218 echo "$as_me: failed program was:" >&5
5033sed 's/^/| /' conftest.$ac_ext >&5 5219sed 's/^/| /' conftest.$ac_ext >&5
5034 5220
5035continue 5221continue
5036fi 5222fi
5037rm -f conftest.$ac_objext conftest.$ac_ext 5223rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5038 cat >conftest.$ac_ext <<_ACEOF 5224 cat >conftest.$ac_ext <<_ACEOF
5039#line $LINENO "configure"
5040/* confdefs.h. */ 5225/* confdefs.h. */
5041_ACEOF 5226_ACEOF
5042cat confdefs.h >>conftest.$ac_ext 5227cat confdefs.h >>conftest.$ac_ext
5043cat >>conftest.$ac_ext <<_ACEOF 5228cat >>conftest.$ac_ext <<_ACEOF
5044/* end confdefs.h. */ 5229/* end confdefs.h. */
5051 return 0; 5236 return 0;
5052} 5237}
5053_ACEOF 5238_ACEOF
5054rm -f conftest.$ac_objext 5239rm -f conftest.$ac_objext
5055if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5240if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5056 (eval $ac_compile) 2>&5 5241 (eval $ac_compile) 2>conftest.er1
5057 ac_status=$? 5242 ac_status=$?
5243 grep -v '^ *+' conftest.er1 >conftest.err
5244 rm -f conftest.er1
5245 cat conftest.err >&5
5058 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5059 (exit $ac_status); } && 5247 (exit $ac_status); } &&
5060 { ac_try='test -s conftest.$ac_objext' 5248 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5062 (eval $ac_try) 2>&5 5250 (eval $ac_try) 2>&5
5063 ac_status=$? 5251 ac_status=$?
5064 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5253 (exit $ac_status); }; } &&
5254 { ac_try='test -s conftest.$ac_objext'
5255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5256 (eval $ac_try) 2>&5
5257 ac_status=$?
5258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5065 (exit $ac_status); }; }; then 5259 (exit $ac_status); }; }; then
5066 break 5260 break
5067else 5261else
5068 echo "$as_me: failed program was:" >&5 5262 echo "$as_me: failed program was:" >&5
5069sed 's/^/| /' conftest.$ac_ext >&5 5263sed 's/^/| /' conftest.$ac_ext >&5
5070 5264
5071fi 5265fi
5072rm -f conftest.$ac_objext conftest.$ac_ext 5266rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5073done 5267done
5074rm -f conftest* 5268rm -f conftest*
5075if test -n "$ac_declaration"; then 5269if test -n "$ac_declaration"; then
5076 echo '#ifdef __cplusplus' >>confdefs.h 5270 echo '#ifdef __cplusplus' >>confdefs.h
5077 echo $ac_declaration >>confdefs.h 5271 echo $ac_declaration >>confdefs.h
5081else 5275else
5082 echo "$as_me: failed program was:" >&5 5276 echo "$as_me: failed program was:" >&5
5083sed 's/^/| /' conftest.$ac_ext >&5 5277sed 's/^/| /' conftest.$ac_ext >&5
5084 5278
5085fi 5279fi
5086rm -f conftest.$ac_objext conftest.$ac_ext 5280rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5087ac_ext=c 5281ac_ext=c
5088ac_cpp='$CPP $CPPFLAGS' 5282ac_cpp='$CPP $CPPFLAGS'
5089ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5283ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5090ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5284ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5091ac_compiler_gnu=$ac_cv_c_compiler_gnu 5285ac_compiler_gnu=$ac_cv_c_compiler_gnu
5218 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5412 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5219 # <limits.h> exists even on freestanding compilers. 5413 # <limits.h> exists even on freestanding compilers.
5220 # On the NeXT, cc -E runs the code through the compiler's parser, 5414 # On the NeXT, cc -E runs the code through the compiler's parser,
5221 # not just through cpp. "Syntax error" is here to catch this case. 5415 # not just through cpp. "Syntax error" is here to catch this case.
5222 cat >conftest.$ac_ext <<_ACEOF 5416 cat >conftest.$ac_ext <<_ACEOF
5223#line $LINENO "configure"
5224/* confdefs.h. */ 5417/* confdefs.h. */
5225_ACEOF 5418_ACEOF
5226cat confdefs.h >>conftest.$ac_ext 5419cat confdefs.h >>conftest.$ac_ext
5227cat >>conftest.$ac_ext <<_ACEOF 5420cat >>conftest.$ac_ext <<_ACEOF
5228/* end confdefs.h. */ 5421/* end confdefs.h. */
5229#ifdef __STDC__ 5422#ifdef __STDC__
5230# include <limits.h> 5423# include <limits.h>
5231#else 5424#else
5232# include <assert.h> 5425# include <assert.h>
5233#endif 5426#endif
5234 Syntax error 5427 Syntax error
5235_ACEOF 5428_ACEOF
5236if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5429if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5237 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5430 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5238 ac_status=$? 5431 ac_status=$?
5239 grep -v '^ *+' conftest.er1 >conftest.err 5432 grep -v '^ *+' conftest.er1 >conftest.err
5241 cat conftest.err >&5 5434 cat conftest.err >&5
5242 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5243 (exit $ac_status); } >/dev/null; then 5436 (exit $ac_status); } >/dev/null; then
5244 if test -s conftest.err; then 5437 if test -s conftest.err; then
5245 ac_cpp_err=$ac_c_preproc_warn_flag 5438 ac_cpp_err=$ac_c_preproc_warn_flag
5439 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5246 else 5440 else
5247 ac_cpp_err= 5441 ac_cpp_err=
5248 fi 5442 fi
5249else 5443else
5250 ac_cpp_err=yes 5444 ac_cpp_err=yes
5261rm -f conftest.err conftest.$ac_ext 5455rm -f conftest.err conftest.$ac_ext
5262 5456
5263 # OK, works on sane cases. Now check whether non-existent headers 5457 # OK, works on sane cases. Now check whether non-existent headers
5264 # can be detected and how. 5458 # can be detected and how.
5265 cat >conftest.$ac_ext <<_ACEOF 5459 cat >conftest.$ac_ext <<_ACEOF
5266#line $LINENO "configure"
5267/* confdefs.h. */ 5460/* confdefs.h. */
5268_ACEOF 5461_ACEOF
5269cat confdefs.h >>conftest.$ac_ext 5462cat confdefs.h >>conftest.$ac_ext
5270cat >>conftest.$ac_ext <<_ACEOF 5463cat >>conftest.$ac_ext <<_ACEOF
5271/* end confdefs.h. */ 5464/* end confdefs.h. */
5279 cat conftest.err >&5 5472 cat conftest.err >&5
5280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5281 (exit $ac_status); } >/dev/null; then 5474 (exit $ac_status); } >/dev/null; then
5282 if test -s conftest.err; then 5475 if test -s conftest.err; then
5283 ac_cpp_err=$ac_c_preproc_warn_flag 5476 ac_cpp_err=$ac_c_preproc_warn_flag
5477 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5284 else 5478 else
5285 ac_cpp_err= 5479 ac_cpp_err=
5286 fi 5480 fi
5287else 5481else
5288 ac_cpp_err=yes 5482 ac_cpp_err=yes
5325 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5519 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5326 # <limits.h> exists even on freestanding compilers. 5520 # <limits.h> exists even on freestanding compilers.
5327 # On the NeXT, cc -E runs the code through the compiler's parser, 5521 # On the NeXT, cc -E runs the code through the compiler's parser,
5328 # not just through cpp. "Syntax error" is here to catch this case. 5522 # not just through cpp. "Syntax error" is here to catch this case.
5329 cat >conftest.$ac_ext <<_ACEOF 5523 cat >conftest.$ac_ext <<_ACEOF
5330#line $LINENO "configure"
5331/* confdefs.h. */ 5524/* confdefs.h. */
5332_ACEOF 5525_ACEOF
5333cat confdefs.h >>conftest.$ac_ext 5526cat confdefs.h >>conftest.$ac_ext
5334cat >>conftest.$ac_ext <<_ACEOF 5527cat >>conftest.$ac_ext <<_ACEOF
5335/* end confdefs.h. */ 5528/* end confdefs.h. */
5336#ifdef __STDC__ 5529#ifdef __STDC__
5337# include <limits.h> 5530# include <limits.h>
5338#else 5531#else
5339# include <assert.h> 5532# include <assert.h>
5340#endif 5533#endif
5341 Syntax error 5534 Syntax error
5342_ACEOF 5535_ACEOF
5343if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5536if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5344 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5537 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5345 ac_status=$? 5538 ac_status=$?
5346 grep -v '^ *+' conftest.er1 >conftest.err 5539 grep -v '^ *+' conftest.er1 >conftest.err
5348 cat conftest.err >&5 5541 cat conftest.err >&5
5349 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5350 (exit $ac_status); } >/dev/null; then 5543 (exit $ac_status); } >/dev/null; then
5351 if test -s conftest.err; then 5544 if test -s conftest.err; then
5352 ac_cpp_err=$ac_c_preproc_warn_flag 5545 ac_cpp_err=$ac_c_preproc_warn_flag
5546 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5353 else 5547 else
5354 ac_cpp_err= 5548 ac_cpp_err=
5355 fi 5549 fi
5356else 5550else
5357 ac_cpp_err=yes 5551 ac_cpp_err=yes
5368rm -f conftest.err conftest.$ac_ext 5562rm -f conftest.err conftest.$ac_ext
5369 5563
5370 # OK, works on sane cases. Now check whether non-existent headers 5564 # OK, works on sane cases. Now check whether non-existent headers
5371 # can be detected and how. 5565 # can be detected and how.
5372 cat >conftest.$ac_ext <<_ACEOF 5566 cat >conftest.$ac_ext <<_ACEOF
5373#line $LINENO "configure"
5374/* confdefs.h. */ 5567/* confdefs.h. */
5375_ACEOF 5568_ACEOF
5376cat confdefs.h >>conftest.$ac_ext 5569cat confdefs.h >>conftest.$ac_ext
5377cat >>conftest.$ac_ext <<_ACEOF 5570cat >>conftest.$ac_ext <<_ACEOF
5378/* end confdefs.h. */ 5571/* end confdefs.h. */
5386 cat conftest.err >&5 5579 cat conftest.err >&5
5387 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5388 (exit $ac_status); } >/dev/null; then 5581 (exit $ac_status); } >/dev/null; then
5389 if test -s conftest.err; then 5582 if test -s conftest.err; then
5390 ac_cpp_err=$ac_c_preproc_warn_flag 5583 ac_cpp_err=$ac_c_preproc_warn_flag
5584 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5391 else 5585 else
5392 ac_cpp_err= 5586 ac_cpp_err=
5393 fi 5587 fi
5394else 5588else
5395 ac_cpp_err=yes 5589 ac_cpp_err=yes
5543echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 5737echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
5544if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 5738if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5545 echo $ECHO_N "(cached) $ECHO_C" >&6 5739 echo $ECHO_N "(cached) $ECHO_C" >&6
5546else 5740else
5547 cat >conftest.$ac_ext <<_ACEOF 5741 cat >conftest.$ac_ext <<_ACEOF
5548#line $LINENO "configure"
5549/* confdefs.h. */ 5742/* confdefs.h. */
5550_ACEOF 5743_ACEOF
5551cat confdefs.h >>conftest.$ac_ext 5744cat confdefs.h >>conftest.$ac_ext
5552cat >>conftest.$ac_ext <<_ACEOF 5745cat >>conftest.$ac_ext <<_ACEOF
5553/* end confdefs.h. */ 5746/* end confdefs.h. */
5563 return 0; 5756 return 0;
5564} 5757}
5565_ACEOF 5758_ACEOF
5566rm -f conftest.$ac_objext 5759rm -f conftest.$ac_objext
5567if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5760if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5568 (eval $ac_compile) 2>&5 5761 (eval $ac_compile) 2>conftest.er1
5569 ac_status=$? 5762 ac_status=$?
5763 grep -v '^ *+' conftest.er1 >conftest.err
5764 rm -f conftest.er1
5765 cat conftest.err >&5
5570 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5571 (exit $ac_status); } && 5767 (exit $ac_status); } &&
5572 { ac_try='test -s conftest.$ac_objext' 5768 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5574 (eval $ac_try) 2>&5 5770 (eval $ac_try) 2>&5
5575 ac_status=$? 5771 ac_status=$?
5576 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5773 (exit $ac_status); }; } &&
5774 { ac_try='test -s conftest.$ac_objext'
5775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5776 (eval $ac_try) 2>&5
5777 ac_status=$?
5778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5577 (exit $ac_status); }; }; then 5779 (exit $ac_status); }; }; then
5578 ac_compiler_gnu=yes 5780 ac_compiler_gnu=yes
5579else 5781else
5580 echo "$as_me: failed program was:" >&5 5782 echo "$as_me: failed program was:" >&5
5581sed 's/^/| /' conftest.$ac_ext >&5 5783sed 's/^/| /' conftest.$ac_ext >&5
5582 5784
5583ac_compiler_gnu=no 5785ac_compiler_gnu=no
5584fi 5786fi
5585rm -f conftest.$ac_objext conftest.$ac_ext 5787rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5586ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 5788ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5587 5789
5588fi 5790fi
5589echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 5791echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5590echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 5792echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
5596echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 5798echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
5597if test "${ac_cv_prog_cxx_g+set}" = set; then 5799if test "${ac_cv_prog_cxx_g+set}" = set; then
5598 echo $ECHO_N "(cached) $ECHO_C" >&6 5800 echo $ECHO_N "(cached) $ECHO_C" >&6
5599else 5801else
5600 cat >conftest.$ac_ext <<_ACEOF 5802 cat >conftest.$ac_ext <<_ACEOF
5601#line $LINENO "configure"
5602/* confdefs.h. */ 5803/* confdefs.h. */
5603_ACEOF 5804_ACEOF
5604cat confdefs.h >>conftest.$ac_ext 5805cat confdefs.h >>conftest.$ac_ext
5605cat >>conftest.$ac_ext <<_ACEOF 5806cat >>conftest.$ac_ext <<_ACEOF
5606/* end confdefs.h. */ 5807/* end confdefs.h. */
5613 return 0; 5814 return 0;
5614} 5815}
5615_ACEOF 5816_ACEOF
5616rm -f conftest.$ac_objext 5817rm -f conftest.$ac_objext
5617if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5818if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5618 (eval $ac_compile) 2>&5 5819 (eval $ac_compile) 2>conftest.er1
5619 ac_status=$? 5820 ac_status=$?
5821 grep -v '^ *+' conftest.er1 >conftest.err
5822 rm -f conftest.er1
5823 cat conftest.err >&5
5620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5621 (exit $ac_status); } && 5825 (exit $ac_status); } &&
5622 { ac_try='test -s conftest.$ac_objext' 5826 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5624 (eval $ac_try) 2>&5 5828 (eval $ac_try) 2>&5
5625 ac_status=$? 5829 ac_status=$?
5626 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5831 (exit $ac_status); }; } &&
5832 { ac_try='test -s conftest.$ac_objext'
5833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5834 (eval $ac_try) 2>&5
5835 ac_status=$?
5836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5627 (exit $ac_status); }; }; then 5837 (exit $ac_status); }; }; then
5628 ac_cv_prog_cxx_g=yes 5838 ac_cv_prog_cxx_g=yes
5629else 5839else
5630 echo "$as_me: failed program was:" >&5 5840 echo "$as_me: failed program was:" >&5
5631sed 's/^/| /' conftest.$ac_ext >&5 5841sed 's/^/| /' conftest.$ac_ext >&5
5632 5842
5633ac_cv_prog_cxx_g=no 5843ac_cv_prog_cxx_g=no
5634fi 5844fi
5635rm -f conftest.$ac_objext conftest.$ac_ext 5845rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5636fi 5846fi
5637echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 5847echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5638echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 5848echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5639if test "$ac_test_CXXFLAGS" = set; then 5849if test "$ac_test_CXXFLAGS" = set; then
5640 CXXFLAGS=$ac_save_CXXFLAGS 5850 CXXFLAGS=$ac_save_CXXFLAGS
5658 'extern "C" void exit (int) throw ();' \ 5868 'extern "C" void exit (int) throw ();' \
5659 'extern "C" void exit (int);' \ 5869 'extern "C" void exit (int);' \
5660 'void exit (int);' 5870 'void exit (int);'
5661do 5871do
5662 cat >conftest.$ac_ext <<_ACEOF 5872 cat >conftest.$ac_ext <<_ACEOF
5663#line $LINENO "configure"
5664/* confdefs.h. */ 5873/* confdefs.h. */
5665_ACEOF 5874_ACEOF
5666cat confdefs.h >>conftest.$ac_ext 5875cat confdefs.h >>conftest.$ac_ext
5667cat >>conftest.$ac_ext <<_ACEOF 5876cat >>conftest.$ac_ext <<_ACEOF
5668/* end confdefs.h. */ 5877/* end confdefs.h. */
5676 return 0; 5885 return 0;
5677} 5886}
5678_ACEOF 5887_ACEOF
5679rm -f conftest.$ac_objext 5888rm -f conftest.$ac_objext
5680if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5889if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5681 (eval $ac_compile) 2>&5 5890 (eval $ac_compile) 2>conftest.er1
5682 ac_status=$? 5891 ac_status=$?
5892 grep -v '^ *+' conftest.er1 >conftest.err
5893 rm -f conftest.er1
5894 cat conftest.err >&5
5683 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5684 (exit $ac_status); } && 5896 (exit $ac_status); } &&
5685 { ac_try='test -s conftest.$ac_objext' 5897 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5687 (eval $ac_try) 2>&5 5899 (eval $ac_try) 2>&5
5688 ac_status=$? 5900 ac_status=$?
5689 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5902 (exit $ac_status); }; } &&
5903 { ac_try='test -s conftest.$ac_objext'
5904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5905 (eval $ac_try) 2>&5
5906 ac_status=$?
5907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5690 (exit $ac_status); }; }; then 5908 (exit $ac_status); }; }; then
5691 : 5909 :
5692else 5910else
5693 echo "$as_me: failed program was:" >&5 5911 echo "$as_me: failed program was:" >&5
5694sed 's/^/| /' conftest.$ac_ext >&5 5912sed 's/^/| /' conftest.$ac_ext >&5
5695 5913
5696continue 5914continue
5697fi 5915fi
5698rm -f conftest.$ac_objext conftest.$ac_ext 5916rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5699 cat >conftest.$ac_ext <<_ACEOF 5917 cat >conftest.$ac_ext <<_ACEOF
5700#line $LINENO "configure"
5701/* confdefs.h. */ 5918/* confdefs.h. */
5702_ACEOF 5919_ACEOF
5703cat confdefs.h >>conftest.$ac_ext 5920cat confdefs.h >>conftest.$ac_ext
5704cat >>conftest.$ac_ext <<_ACEOF 5921cat >>conftest.$ac_ext <<_ACEOF
5705/* end confdefs.h. */ 5922/* end confdefs.h. */
5712 return 0; 5929 return 0;
5713} 5930}
5714_ACEOF 5931_ACEOF
5715rm -f conftest.$ac_objext 5932rm -f conftest.$ac_objext
5716if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5933if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5717 (eval $ac_compile) 2>&5 5934 (eval $ac_compile) 2>conftest.er1
5718 ac_status=$? 5935 ac_status=$?
5936 grep -v '^ *+' conftest.er1 >conftest.err
5937 rm -f conftest.er1
5938 cat conftest.err >&5
5719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5720 (exit $ac_status); } && 5940 (exit $ac_status); } &&
5721 { ac_try='test -s conftest.$ac_objext' 5941 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5723 (eval $ac_try) 2>&5 5943 (eval $ac_try) 2>&5
5724 ac_status=$? 5944 ac_status=$?
5725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5946 (exit $ac_status); }; } &&
5947 { ac_try='test -s conftest.$ac_objext'
5948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5949 (eval $ac_try) 2>&5
5950 ac_status=$?
5951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5726 (exit $ac_status); }; }; then 5952 (exit $ac_status); }; }; then
5727 break 5953 break
5728else 5954else
5729 echo "$as_me: failed program was:" >&5 5955 echo "$as_me: failed program was:" >&5
5730sed 's/^/| /' conftest.$ac_ext >&5 5956sed 's/^/| /' conftest.$ac_ext >&5
5731 5957
5732fi 5958fi
5733rm -f conftest.$ac_objext conftest.$ac_ext 5959rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5734done 5960done
5735rm -f conftest* 5961rm -f conftest*
5736if test -n "$ac_declaration"; then 5962if test -n "$ac_declaration"; then
5737 echo '#ifdef __cplusplus' >>confdefs.h 5963 echo '#ifdef __cplusplus' >>confdefs.h
5738 echo $ac_declaration >>confdefs.h 5964 echo $ac_declaration >>confdefs.h
5869if test "${ac_cv_prog_gcc_traditional+set}" = set; then 6095if test "${ac_cv_prog_gcc_traditional+set}" = set; then
5870 echo $ECHO_N "(cached) $ECHO_C" >&6 6096 echo $ECHO_N "(cached) $ECHO_C" >&6
5871else 6097else
5872 ac_pattern="Autoconf.*'x'" 6098 ac_pattern="Autoconf.*'x'"
5873 cat >conftest.$ac_ext <<_ACEOF 6099 cat >conftest.$ac_ext <<_ACEOF
5874#line $LINENO "configure"
5875/* confdefs.h. */ 6100/* confdefs.h. */
5876_ACEOF 6101_ACEOF
5877cat confdefs.h >>conftest.$ac_ext 6102cat confdefs.h >>conftest.$ac_ext
5878cat >>conftest.$ac_ext <<_ACEOF 6103cat >>conftest.$ac_ext <<_ACEOF
5879/* end confdefs.h. */ 6104/* end confdefs.h. */
5889rm -f conftest* 6114rm -f conftest*
5890 6115
5891 6116
5892 if test $ac_cv_prog_gcc_traditional = no; then 6117 if test $ac_cv_prog_gcc_traditional = no; then
5893 cat >conftest.$ac_ext <<_ACEOF 6118 cat >conftest.$ac_ext <<_ACEOF
5894#line $LINENO "configure"
5895/* confdefs.h. */ 6119/* confdefs.h. */
5896_ACEOF 6120_ACEOF
5897cat confdefs.h >>conftest.$ac_ext 6121cat confdefs.h >>conftest.$ac_ext
5898cat >>conftest.$ac_ext <<_ACEOF 6122cat >>conftest.$ac_ext <<_ACEOF
5899/* end confdefs.h. */ 6123/* end confdefs.h. */
5964# AIX /bin/install 6188# AIX /bin/install
5965# AmigaOS /C/install, which installs bootblocks on floppy discs 6189# AmigaOS /C/install, which installs bootblocks on floppy discs
5966# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 6190# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5967# AFS /usr/afsws/bin/install, which mishandles nonexistent args 6191# AFS /usr/afsws/bin/install, which mishandles nonexistent args
5968# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 6192# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6193# OS/2's system install, which has a completely different semantic
5969# ./install, which can be erroneously created by make from ./install.sh. 6194# ./install, which can be erroneously created by make from ./install.sh.
5970echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 6195echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5971echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 6196echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5972if test -z "$INSTALL"; then 6197if test -z "$INSTALL"; then
5973if test "${ac_cv_path_install+set}" = set; then 6198if test "${ac_cv_path_install+set}" = set; then
5980 test -z "$as_dir" && as_dir=. 6205 test -z "$as_dir" && as_dir=.
5981 # Account for people who put trailing slashes in PATH elements. 6206 # Account for people who put trailing slashes in PATH elements.
5982case $as_dir/ in 6207case $as_dir/ in
5983 ./ | .// | /cC/* | \ 6208 ./ | .// | /cC/* | \
5984 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 6209 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6210 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5985 /usr/ucb/* ) ;; 6211 /usr/ucb/* ) ;;
5986 *) 6212 *)
5987 # OSF1 and SCO ODT 3.0 have their own names for install. 6213 # OSF1 and SCO ODT 3.0 have their own names for install.
5988 # Don't use installbsd from OSF since it installs stuff as root 6214 # Don't use installbsd from OSF since it installs stuff as root
5989 # by default. 6215 # by default.
5990 for ac_prog in ginstall scoinst install; do 6216 for ac_prog in ginstall scoinst install; do
5991 for ac_exec_ext in '' $ac_executable_extensions; do 6217 for ac_exec_ext in '' $ac_executable_extensions; do
5992 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 6218 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5993 if test $ac_prog = install && 6219 if test $ac_prog = install &&
5994 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 6220 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5995 # AIX install. It has an incompatible calling convention. 6221 # AIX install. It has an incompatible calling convention.
5996 : 6222 :
5997 elif test $ac_prog = install && 6223 elif test $ac_prog = install &&
5998 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 6224 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5999 # program-specific install script used by HP pwplus--don't use. 6225 # program-specific install script used by HP pwplus--don't use.
6000 : 6226 :
6001 else 6227 else
6002 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 6228 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6003 break 3 6229 break 3
6004 fi 6230 fi
6005 fi 6231 fi
6006 done 6232 done
6007 done 6233 done
6008 ;; 6234 ;;
6009esac 6235esac
6010done 6236done
6043echo "${ECHO_T}no, using $LN_S" >&6 6269echo "${ECHO_T}no, using $LN_S" >&6
6044fi 6270fi
6045 6271
6046echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 6272echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6047echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 6273echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
6048set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 6274set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
6049if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 6275if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
6050 echo $ECHO_N "(cached) $ECHO_C" >&6 6276 echo $ECHO_N "(cached) $ECHO_C" >&6
6051else 6277else
6052 cat >conftest.make <<\_ACEOF 6278 cat >conftest.make <<\_ACEOF
6053all: 6279all:
6151else 6377else
6152 RANLIB="$ac_cv_prog_RANLIB" 6378 RANLIB="$ac_cv_prog_RANLIB"
6153fi 6379fi
6154 6380
6155 6381
6156
6157 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
6158echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
6159if test "${ac_cv_lib_cposix_strerror+set}" = set; then
6160 echo $ECHO_N "(cached) $ECHO_C" >&6
6161else
6162 ac_check_lib_save_LIBS=$LIBS
6163LIBS="-lcposix $LIBS"
6164cat >conftest.$ac_ext <<_ACEOF
6165#line $LINENO "configure"
6166/* confdefs.h. */
6167_ACEOF
6168cat confdefs.h >>conftest.$ac_ext
6169cat >>conftest.$ac_ext <<_ACEOF
6170/* end confdefs.h. */
6171
6172/* Override any gcc2 internal prototype to avoid an error. */
6173#ifdef __cplusplus
6174extern "C"
6175#endif
6176/* We use char because int might match the return type of a gcc2
6177 builtin and then its argument prototype would still apply. */
6178char strerror ();
6179int
6180main ()
6181{
6182strerror ();
6183 ;
6184 return 0;
6185}
6186_ACEOF
6187rm -f conftest.$ac_objext conftest$ac_exeext
6188if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6189 (eval $ac_link) 2>&5
6190 ac_status=$?
6191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192 (exit $ac_status); } &&
6193 { ac_try='test -s conftest$ac_exeext'
6194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6195 (eval $ac_try) 2>&5
6196 ac_status=$?
6197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6198 (exit $ac_status); }; }; then
6199 ac_cv_lib_cposix_strerror=yes
6200else
6201 echo "$as_me: failed program was:" >&5
6202sed 's/^/| /' conftest.$ac_ext >&5
6203
6204ac_cv_lib_cposix_strerror=no
6205fi
6206rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6207LIBS=$ac_check_lib_save_LIBS
6208fi
6209echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
6210echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
6211if test $ac_cv_lib_cposix_strerror = yes; then
6212 LIBS="$LIBS -lcposix"
6213fi
6214
6215
6216
6217
6218# Check whether --enable-iftype or --disable-iftype was given. 6382# Check whether --enable-iftype or --disable-iftype was given.
6219if test "${enable_iftype+set}" = set; then 6383if test "${enable_iftype+set}" = set; then
6220 enableval="$enable_iftype" 6384 enableval="$enable_iftype"
6221 6385
6222 IFTYPE=`echo $enableval | sed s%/.*%%` 6386 IFTYPE=`echo $enableval | sed s%/.*%%`
6283#define HAVE_NETBSD 1 6447#define HAVE_NETBSD 1
6284_ACEOF 6448_ACEOF
6285 6449
6286 ;; 6450 ;;
6287 *cygwin*) 6451 *cygwin*)
6288 IFTYPE=tincd 6452 IFTYPE=native
6289 IFSUBTYPE=cygwin 6453 IFSUBTYPE=cygwin
6290 6454
6291cat >>confdefs.h <<\_ACEOF 6455cat >>confdefs.h <<\_ACEOF
6292#define HAVE_CYGWIN 1 6456#define HAVE_CYGWIN 1
6293_ACEOF 6457_ACEOF
6303echo "$as_me:$LINENO: result: $IFTYPE/$IFSUBTYPE" >&5 6467echo "$as_me:$LINENO: result: $IFTYPE/$IFSUBTYPE" >&5
6304echo "${ECHO_T}$IFTYPE/$IFSUBTYPE" >&6 6468echo "${ECHO_T}$IFTYPE/$IFSUBTYPE" >&6
6305IFTYPE=$IFTYPE 6469IFTYPE=$IFTYPE
6306 6470
6307IFSUBTYPE=$IFSUBTYPE 6471IFSUBTYPE=$IFSUBTYPE
6472
6473
6474cat >>confdefs.h <<_ACEOF
6475#define IFTYPE "$IFTYPE"
6476_ACEOF
6477
6478
6479cat >>confdefs.h <<_ACEOF
6480#define IFSUBTYPE "$IFSUBTYPE"
6481_ACEOF
6308 6482
6309 6483
6310cat >confcache <<\_ACEOF 6484cat >confcache <<\_ACEOF
6311# This file is a shell script that caches the results of configure 6485# This file is a shell script that caches the results of configure
6312# tests run on this system so they can be shared between configure 6486# tests run on this system so they can be shared between configure
6333 case `(ac_space=' '; set | grep ac_space) 2>&1` in 6507 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6334 *ac_space=\ *) 6508 *ac_space=\ *)
6335 # `set' does not quote correctly, so add quotes (double-quote 6509 # `set' does not quote correctly, so add quotes (double-quote
6336 # substitution turns \\\\ into \\, and sed turns \\ into \). 6510 # substitution turns \\\\ into \\, and sed turns \\ into \).
6337 sed -n \ 6511 sed -n \
6338 "s/'/'\\\\''/g; 6512 "s/'/'\\\\''/g;
6339 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 6513 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6340 ;; 6514 ;;
6341 *) 6515 *)
6342 # `set' quotes correctly as required by POSIX, so do not add quotes. 6516 # `set' quotes correctly as required by POSIX, so do not add quotes.
6343 sed -n \ 6517 sed -n \
6344 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 6518 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6345 ;; 6519 ;;
6346 esac; 6520 esac;
6347} | 6521} |
6348 sed ' 6522 sed '
6349 t clear 6523 t clear
6392 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6566 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6393 # <limits.h> exists even on freestanding compilers. 6567 # <limits.h> exists even on freestanding compilers.
6394 # On the NeXT, cc -E runs the code through the compiler's parser, 6568 # On the NeXT, cc -E runs the code through the compiler's parser,
6395 # not just through cpp. "Syntax error" is here to catch this case. 6569 # not just through cpp. "Syntax error" is here to catch this case.
6396 cat >conftest.$ac_ext <<_ACEOF 6570 cat >conftest.$ac_ext <<_ACEOF
6397#line $LINENO "configure"
6398/* confdefs.h. */ 6571/* confdefs.h. */
6399_ACEOF 6572_ACEOF
6400cat confdefs.h >>conftest.$ac_ext 6573cat confdefs.h >>conftest.$ac_ext
6401cat >>conftest.$ac_ext <<_ACEOF 6574cat >>conftest.$ac_ext <<_ACEOF
6402/* end confdefs.h. */ 6575/* end confdefs.h. */
6403#ifdef __STDC__ 6576#ifdef __STDC__
6404# include <limits.h> 6577# include <limits.h>
6405#else 6578#else
6406# include <assert.h> 6579# include <assert.h>
6407#endif 6580#endif
6408 Syntax error 6581 Syntax error
6409_ACEOF 6582_ACEOF
6410if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6583if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6411 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6584 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6412 ac_status=$? 6585 ac_status=$?
6413 grep -v '^ *+' conftest.er1 >conftest.err 6586 grep -v '^ *+' conftest.er1 >conftest.err
6415 cat conftest.err >&5 6588 cat conftest.err >&5
6416 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6417 (exit $ac_status); } >/dev/null; then 6590 (exit $ac_status); } >/dev/null; then
6418 if test -s conftest.err; then 6591 if test -s conftest.err; then
6419 ac_cpp_err=$ac_cxx_preproc_warn_flag 6592 ac_cpp_err=$ac_cxx_preproc_warn_flag
6593 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6420 else 6594 else
6421 ac_cpp_err= 6595 ac_cpp_err=
6422 fi 6596 fi
6423else 6597else
6424 ac_cpp_err=yes 6598 ac_cpp_err=yes
6435rm -f conftest.err conftest.$ac_ext 6609rm -f conftest.err conftest.$ac_ext
6436 6610
6437 # OK, works on sane cases. Now check whether non-existent headers 6611 # OK, works on sane cases. Now check whether non-existent headers
6438 # can be detected and how. 6612 # can be detected and how.
6439 cat >conftest.$ac_ext <<_ACEOF 6613 cat >conftest.$ac_ext <<_ACEOF
6440#line $LINENO "configure"
6441/* confdefs.h. */ 6614/* confdefs.h. */
6442_ACEOF 6615_ACEOF
6443cat confdefs.h >>conftest.$ac_ext 6616cat confdefs.h >>conftest.$ac_ext
6444cat >>conftest.$ac_ext <<_ACEOF 6617cat >>conftest.$ac_ext <<_ACEOF
6445/* end confdefs.h. */ 6618/* end confdefs.h. */
6453 cat conftest.err >&5 6626 cat conftest.err >&5
6454 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6455 (exit $ac_status); } >/dev/null; then 6628 (exit $ac_status); } >/dev/null; then
6456 if test -s conftest.err; then 6629 if test -s conftest.err; then
6457 ac_cpp_err=$ac_cxx_preproc_warn_flag 6630 ac_cpp_err=$ac_cxx_preproc_warn_flag
6631 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6458 else 6632 else
6459 ac_cpp_err= 6633 ac_cpp_err=
6460 fi 6634 fi
6461else 6635else
6462 ac_cpp_err=yes 6636 ac_cpp_err=yes
6499 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6673 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6500 # <limits.h> exists even on freestanding compilers. 6674 # <limits.h> exists even on freestanding compilers.
6501 # On the NeXT, cc -E runs the code through the compiler's parser, 6675 # On the NeXT, cc -E runs the code through the compiler's parser,
6502 # not just through cpp. "Syntax error" is here to catch this case. 6676 # not just through cpp. "Syntax error" is here to catch this case.
6503 cat >conftest.$ac_ext <<_ACEOF 6677 cat >conftest.$ac_ext <<_ACEOF
6504#line $LINENO "configure"
6505/* confdefs.h. */ 6678/* confdefs.h. */
6506_ACEOF 6679_ACEOF
6507cat confdefs.h >>conftest.$ac_ext 6680cat confdefs.h >>conftest.$ac_ext
6508cat >>conftest.$ac_ext <<_ACEOF 6681cat >>conftest.$ac_ext <<_ACEOF
6509/* end confdefs.h. */ 6682/* end confdefs.h. */
6510#ifdef __STDC__ 6683#ifdef __STDC__
6511# include <limits.h> 6684# include <limits.h>
6512#else 6685#else
6513# include <assert.h> 6686# include <assert.h>
6514#endif 6687#endif
6515 Syntax error 6688 Syntax error
6516_ACEOF 6689_ACEOF
6517if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6690if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6518 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6691 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6519 ac_status=$? 6692 ac_status=$?
6520 grep -v '^ *+' conftest.er1 >conftest.err 6693 grep -v '^ *+' conftest.er1 >conftest.err
6522 cat conftest.err >&5 6695 cat conftest.err >&5
6523 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6524 (exit $ac_status); } >/dev/null; then 6697 (exit $ac_status); } >/dev/null; then
6525 if test -s conftest.err; then 6698 if test -s conftest.err; then
6526 ac_cpp_err=$ac_cxx_preproc_warn_flag 6699 ac_cpp_err=$ac_cxx_preproc_warn_flag
6700 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6527 else 6701 else
6528 ac_cpp_err= 6702 ac_cpp_err=
6529 fi 6703 fi
6530else 6704else
6531 ac_cpp_err=yes 6705 ac_cpp_err=yes
6542rm -f conftest.err conftest.$ac_ext 6716rm -f conftest.err conftest.$ac_ext
6543 6717
6544 # OK, works on sane cases. Now check whether non-existent headers 6718 # OK, works on sane cases. Now check whether non-existent headers
6545 # can be detected and how. 6719 # can be detected and how.
6546 cat >conftest.$ac_ext <<_ACEOF 6720 cat >conftest.$ac_ext <<_ACEOF
6547#line $LINENO "configure"
6548/* confdefs.h. */ 6721/* confdefs.h. */
6549_ACEOF 6722_ACEOF
6550cat confdefs.h >>conftest.$ac_ext 6723cat confdefs.h >>conftest.$ac_ext
6551cat >>conftest.$ac_ext <<_ACEOF 6724cat >>conftest.$ac_ext <<_ACEOF
6552/* end confdefs.h. */ 6725/* end confdefs.h. */
6560 cat conftest.err >&5 6733 cat conftest.err >&5
6561 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6562 (exit $ac_status); } >/dev/null; then 6735 (exit $ac_status); } >/dev/null; then
6563 if test -s conftest.err; then 6736 if test -s conftest.err; then
6564 ac_cpp_err=$ac_cxx_preproc_warn_flag 6737 ac_cpp_err=$ac_cxx_preproc_warn_flag
6738 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6565 else 6739 else
6566 ac_cpp_err= 6740 ac_cpp_err=
6567 fi 6741 fi
6568else 6742else
6569 ac_cpp_err=yes 6743 ac_cpp_err=yes
6605echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 6779echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6606if test "${ac_cv_header_stdc+set}" = set; then 6780if test "${ac_cv_header_stdc+set}" = set; then
6607 echo $ECHO_N "(cached) $ECHO_C" >&6 6781 echo $ECHO_N "(cached) $ECHO_C" >&6
6608else 6782else
6609 cat >conftest.$ac_ext <<_ACEOF 6783 cat >conftest.$ac_ext <<_ACEOF
6610#line $LINENO "configure"
6611/* confdefs.h. */ 6784/* confdefs.h. */
6612_ACEOF 6785_ACEOF
6613cat confdefs.h >>conftest.$ac_ext 6786cat confdefs.h >>conftest.$ac_ext
6614cat >>conftest.$ac_ext <<_ACEOF 6787cat >>conftest.$ac_ext <<_ACEOF
6615/* end confdefs.h. */ 6788/* end confdefs.h. */
6626 return 0; 6799 return 0;
6627} 6800}
6628_ACEOF 6801_ACEOF
6629rm -f conftest.$ac_objext 6802rm -f conftest.$ac_objext
6630if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6803if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6631 (eval $ac_compile) 2>&5 6804 (eval $ac_compile) 2>conftest.er1
6632 ac_status=$? 6805 ac_status=$?
6806 grep -v '^ *+' conftest.er1 >conftest.err
6807 rm -f conftest.er1
6808 cat conftest.err >&5
6633 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6634 (exit $ac_status); } && 6810 (exit $ac_status); } &&
6635 { ac_try='test -s conftest.$ac_objext' 6811 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6637 (eval $ac_try) 2>&5 6813 (eval $ac_try) 2>&5
6638 ac_status=$? 6814 ac_status=$?
6639 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6816 (exit $ac_status); }; } &&
6817 { ac_try='test -s conftest.$ac_objext'
6818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6819 (eval $ac_try) 2>&5
6820 ac_status=$?
6821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640 (exit $ac_status); }; }; then 6822 (exit $ac_status); }; }; then
6641 ac_cv_header_stdc=yes 6823 ac_cv_header_stdc=yes
6642else 6824else
6643 echo "$as_me: failed program was:" >&5 6825 echo "$as_me: failed program was:" >&5
6644sed 's/^/| /' conftest.$ac_ext >&5 6826sed 's/^/| /' conftest.$ac_ext >&5
6645 6827
6646ac_cv_header_stdc=no 6828ac_cv_header_stdc=no
6647fi 6829fi
6648rm -f conftest.$ac_objext conftest.$ac_ext 6830rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6649 6831
6650if test $ac_cv_header_stdc = yes; then 6832if test $ac_cv_header_stdc = yes; then
6651 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6833 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6652 cat >conftest.$ac_ext <<_ACEOF 6834 cat >conftest.$ac_ext <<_ACEOF
6653#line $LINENO "configure"
6654/* confdefs.h. */ 6835/* confdefs.h. */
6655_ACEOF 6836_ACEOF
6656cat confdefs.h >>conftest.$ac_ext 6837cat confdefs.h >>conftest.$ac_ext
6657cat >>conftest.$ac_ext <<_ACEOF 6838cat >>conftest.$ac_ext <<_ACEOF
6658/* end confdefs.h. */ 6839/* end confdefs.h. */
6670fi 6851fi
6671 6852
6672if test $ac_cv_header_stdc = yes; then 6853if test $ac_cv_header_stdc = yes; then
6673 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6854 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6674 cat >conftest.$ac_ext <<_ACEOF 6855 cat >conftest.$ac_ext <<_ACEOF
6675#line $LINENO "configure"
6676/* confdefs.h. */ 6856/* confdefs.h. */
6677_ACEOF 6857_ACEOF
6678cat confdefs.h >>conftest.$ac_ext 6858cat confdefs.h >>conftest.$ac_ext
6679cat >>conftest.$ac_ext <<_ACEOF 6859cat >>conftest.$ac_ext <<_ACEOF
6680/* end confdefs.h. */ 6860/* end confdefs.h. */
6695 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 6875 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6696 if test "$cross_compiling" = yes; then 6876 if test "$cross_compiling" = yes; then
6697 : 6877 :
6698else 6878else
6699 cat >conftest.$ac_ext <<_ACEOF 6879 cat >conftest.$ac_ext <<_ACEOF
6700#line $LINENO "configure"
6701/* confdefs.h. */ 6880/* confdefs.h. */
6702_ACEOF 6881_ACEOF
6703cat confdefs.h >>conftest.$ac_ext 6882cat confdefs.h >>conftest.$ac_ext
6704cat >>conftest.$ac_ext <<_ACEOF 6883cat >>conftest.$ac_ext <<_ACEOF
6705/* end confdefs.h. */ 6884/* end confdefs.h. */
6707#if ((' ' & 0x0FF) == 0x020) 6886#if ((' ' & 0x0FF) == 0x020)
6708# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 6887# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6709# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 6888# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6710#else 6889#else
6711# define ISLOWER(c) \ 6890# define ISLOWER(c) \
6712 (('a' <= (c) && (c) <= 'i') \ 6891 (('a' <= (c) && (c) <= 'i') \
6713 || ('j' <= (c) && (c) <= 'r') \ 6892 || ('j' <= (c) && (c) <= 'r') \
6714 || ('s' <= (c) && (c) <= 'z')) 6893 || ('s' <= (c) && (c) <= 'z'))
6715# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 6894# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6716#endif 6895#endif
6717 6896
6718#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 6897#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6719int 6898int
6720main () 6899main ()
6721{ 6900{
6722 int i; 6901 int i;
6723 for (i = 0; i < 256; i++) 6902 for (i = 0; i < 256; i++)
6724 if (XOR (islower (i), ISLOWER (i)) 6903 if (XOR (islower (i), ISLOWER (i))
6725 || toupper (i) != TOUPPER (i)) 6904 || toupper (i) != TOUPPER (i))
6726 exit(2); 6905 exit(2);
6727 exit (0); 6906 exit (0);
6728} 6907}
6729_ACEOF 6908_ACEOF
6730rm -f conftest$ac_exeext 6909rm -f conftest$ac_exeext
6770 6949
6771 6950
6772 6951
6773 6952
6774for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 6953for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6775 inttypes.h stdint.h unistd.h 6954 inttypes.h stdint.h unistd.h
6776do 6955do
6777as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6956as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6778echo "$as_me:$LINENO: checking for $ac_header" >&5 6957echo "$as_me:$LINENO: checking for $ac_header" >&5
6779echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6958echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6780if eval "test \"\${$as_ac_Header+set}\" = set"; then 6959if eval "test \"\${$as_ac_Header+set}\" = set"; then
6781 echo $ECHO_N "(cached) $ECHO_C" >&6 6960 echo $ECHO_N "(cached) $ECHO_C" >&6
6782else 6961else
6783 cat >conftest.$ac_ext <<_ACEOF 6962 cat >conftest.$ac_ext <<_ACEOF
6784#line $LINENO "configure"
6785/* confdefs.h. */ 6963/* confdefs.h. */
6786_ACEOF 6964_ACEOF
6787cat confdefs.h >>conftest.$ac_ext 6965cat confdefs.h >>conftest.$ac_ext
6788cat >>conftest.$ac_ext <<_ACEOF 6966cat >>conftest.$ac_ext <<_ACEOF
6789/* end confdefs.h. */ 6967/* end confdefs.h. */
6791 6969
6792#include <$ac_header> 6970#include <$ac_header>
6793_ACEOF 6971_ACEOF
6794rm -f conftest.$ac_objext 6972rm -f conftest.$ac_objext
6795if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6973if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6796 (eval $ac_compile) 2>&5 6974 (eval $ac_compile) 2>conftest.er1
6797 ac_status=$? 6975 ac_status=$?
6976 grep -v '^ *+' conftest.er1 >conftest.err
6977 rm -f conftest.er1
6978 cat conftest.err >&5
6798 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6799 (exit $ac_status); } && 6980 (exit $ac_status); } &&
6800 { ac_try='test -s conftest.$ac_objext' 6981 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6802 (eval $ac_try) 2>&5 6983 (eval $ac_try) 2>&5
6803 ac_status=$? 6984 ac_status=$?
6804 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6986 (exit $ac_status); }; } &&
6987 { ac_try='test -s conftest.$ac_objext'
6988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6989 (eval $ac_try) 2>&5
6990 ac_status=$?
6991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6805 (exit $ac_status); }; }; then 6992 (exit $ac_status); }; }; then
6806 eval "$as_ac_Header=yes" 6993 eval "$as_ac_Header=yes"
6807else 6994else
6808 echo "$as_me: failed program was:" >&5 6995 echo "$as_me: failed program was:" >&5
6809sed 's/^/| /' conftest.$ac_ext >&5 6996sed 's/^/| /' conftest.$ac_ext >&5
6810 6997
6811eval "$as_ac_Header=no" 6998eval "$as_ac_Header=no"
6812fi 6999fi
6813rm -f conftest.$ac_objext conftest.$ac_ext 7000rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6814fi 7001fi
6815echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7002echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6816echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7003echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6817if test `eval echo '${'$as_ac_Header'}'` = yes; then 7004if test `eval echo '${'$as_ac_Header'}'` = yes; then
6818 cat >>confdefs.h <<_ACEOF 7005 cat >>confdefs.h <<_ACEOF
6839else 7026else
6840 # Is the header compilable? 7027 # Is the header compilable?
6841echo "$as_me:$LINENO: checking $ac_header usability" >&5 7028echo "$as_me:$LINENO: checking $ac_header usability" >&5
6842echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 7029echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6843cat >conftest.$ac_ext <<_ACEOF 7030cat >conftest.$ac_ext <<_ACEOF
6844#line $LINENO "configure"
6845/* confdefs.h. */ 7031/* confdefs.h. */
6846_ACEOF 7032_ACEOF
6847cat confdefs.h >>conftest.$ac_ext 7033cat confdefs.h >>conftest.$ac_ext
6848cat >>conftest.$ac_ext <<_ACEOF 7034cat >>conftest.$ac_ext <<_ACEOF
6849/* end confdefs.h. */ 7035/* end confdefs.h. */
6850$ac_includes_default 7036$ac_includes_default
6851#include <$ac_header> 7037#include <$ac_header>
6852_ACEOF 7038_ACEOF
6853rm -f conftest.$ac_objext 7039rm -f conftest.$ac_objext
6854if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7040if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6855 (eval $ac_compile) 2>&5 7041 (eval $ac_compile) 2>conftest.er1
6856 ac_status=$? 7042 ac_status=$?
7043 grep -v '^ *+' conftest.er1 >conftest.err
7044 rm -f conftest.er1
7045 cat conftest.err >&5
6857 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6858 (exit $ac_status); } && 7047 (exit $ac_status); } &&
6859 { ac_try='test -s conftest.$ac_objext' 7048 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6861 (eval $ac_try) 2>&5 7050 (eval $ac_try) 2>&5
6862 ac_status=$? 7051 ac_status=$?
6863 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7053 (exit $ac_status); }; } &&
7054 { ac_try='test -s conftest.$ac_objext'
7055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7056 (eval $ac_try) 2>&5
7057 ac_status=$?
7058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6864 (exit $ac_status); }; }; then 7059 (exit $ac_status); }; }; then
6865 ac_header_compiler=yes 7060 ac_header_compiler=yes
6866else 7061else
6867 echo "$as_me: failed program was:" >&5 7062 echo "$as_me: failed program was:" >&5
6868sed 's/^/| /' conftest.$ac_ext >&5 7063sed 's/^/| /' conftest.$ac_ext >&5
6869 7064
6870ac_header_compiler=no 7065ac_header_compiler=no
6871fi 7066fi
6872rm -f conftest.$ac_objext conftest.$ac_ext 7067rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6873echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7068echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6874echo "${ECHO_T}$ac_header_compiler" >&6 7069echo "${ECHO_T}$ac_header_compiler" >&6
6875 7070
6876# Is the header present? 7071# Is the header present?
6877echo "$as_me:$LINENO: checking $ac_header presence" >&5 7072echo "$as_me:$LINENO: checking $ac_header presence" >&5
6878echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 7073echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6879cat >conftest.$ac_ext <<_ACEOF 7074cat >conftest.$ac_ext <<_ACEOF
6880#line $LINENO "configure"
6881/* confdefs.h. */ 7075/* confdefs.h. */
6882_ACEOF 7076_ACEOF
6883cat confdefs.h >>conftest.$ac_ext 7077cat confdefs.h >>conftest.$ac_ext
6884cat >>conftest.$ac_ext <<_ACEOF 7078cat >>conftest.$ac_ext <<_ACEOF
6885/* end confdefs.h. */ 7079/* end confdefs.h. */
6893 cat conftest.err >&5 7087 cat conftest.err >&5
6894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6895 (exit $ac_status); } >/dev/null; then 7089 (exit $ac_status); } >/dev/null; then
6896 if test -s conftest.err; then 7090 if test -s conftest.err; then
6897 ac_cpp_err=$ac_cxx_preproc_warn_flag 7091 ac_cpp_err=$ac_cxx_preproc_warn_flag
7092 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6898 else 7093 else
6899 ac_cpp_err= 7094 ac_cpp_err=
6900 fi 7095 fi
6901else 7096else
6902 ac_cpp_err=yes 7097 ac_cpp_err=yes
6912rm -f conftest.err conftest.$ac_ext 7107rm -f conftest.err conftest.$ac_ext
6913echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7108echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6914echo "${ECHO_T}$ac_header_preproc" >&6 7109echo "${ECHO_T}$ac_header_preproc" >&6
6915 7110
6916# So? What about this header? 7111# So? What about this header?
6917case $ac_header_compiler:$ac_header_preproc in 7112case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6918 yes:no ) 7113 yes:no: )
6919 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7114 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6920echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7115echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7116 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7117echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7118 ac_header_preproc=yes
7119 ;;
7120 no:yes:* )
7121 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7122echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7123 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7124echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7125 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7126echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7127 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7128echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6921 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7129 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6922echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7130echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7131 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7132echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6923 ( 7133 (
6924 cat <<\_ASBOX 7134 cat <<\_ASBOX
6925## ------------------------------------ ## 7135## ------------------------------------------ ##
6926## Report this to bug-autoconf@gnu.org. ## 7136## Report this to the AC_PACKAGE_NAME lists. ##
6927## ------------------------------------ ## 7137## ------------------------------------------ ##
6928_ASBOX
6929 ) |
6930 sed "s/^/$as_me: WARNING: /" >&2
6931 ;;
6932 no:yes )
6933 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6934echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6935 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6936echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6937 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6938echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6939 (
6940 cat <<\_ASBOX
6941## ------------------------------------ ##
6942## Report this to bug-autoconf@gnu.org. ##
6943## ------------------------------------ ##
6944_ASBOX 7138_ASBOX
6945 ) | 7139 ) |
6946 sed "s/^/$as_me: WARNING: /" >&2 7140 sed "s/^/$as_me: WARNING: /" >&2
6947 ;; 7141 ;;
6948esac 7142esac
6949echo "$as_me:$LINENO: checking for $ac_header" >&5 7143echo "$as_me:$LINENO: checking for $ac_header" >&5
6950echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7144echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6951if eval "test \"\${$as_ac_Header+set}\" = set"; then 7145if eval "test \"\${$as_ac_Header+set}\" = set"; then
6952 echo $ECHO_N "(cached) $ECHO_C" >&6 7146 echo $ECHO_N "(cached) $ECHO_C" >&6
6953else 7147else
6954 eval "$as_ac_Header=$ac_header_preproc" 7148 eval "$as_ac_Header=\$ac_header_preproc"
6955fi 7149fi
6956echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7150echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6957echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7151echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6958 7152
6959fi 7153fi
6981 7175
6982 7176
6983 7177
6984 7178
6985 7179
6986
6987
6988for ac_header in fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \ 7180for ac_header in fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \
6989 sys/file.h sys/ioctl.h sys/param.h sys/time.h netinet/in_systm.h cygwin.h arpa/inet.h \ 7181 sys/file.h sys/ioctl.h sys/param.h sys/time.h netinet/in_systm.h sys/cygwin.h \
6990 sys/poll.h sys/mman.h netinet/in.h 7182 sys/mman.h netinet/in.h
6991do 7183do
6992as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7184as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6993if eval "test \"\${$as_ac_Header+set}\" = set"; then 7185if eval "test \"\${$as_ac_Header+set}\" = set"; then
6994 echo "$as_me:$LINENO: checking for $ac_header" >&5 7186 echo "$as_me:$LINENO: checking for $ac_header" >&5
6995echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7187echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7001else 7193else
7002 # Is the header compilable? 7194 # Is the header compilable?
7003echo "$as_me:$LINENO: checking $ac_header usability" >&5 7195echo "$as_me:$LINENO: checking $ac_header usability" >&5
7004echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 7196echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7005cat >conftest.$ac_ext <<_ACEOF 7197cat >conftest.$ac_ext <<_ACEOF
7006#line $LINENO "configure"
7007/* confdefs.h. */ 7198/* confdefs.h. */
7008_ACEOF 7199_ACEOF
7009cat confdefs.h >>conftest.$ac_ext 7200cat confdefs.h >>conftest.$ac_ext
7010cat >>conftest.$ac_ext <<_ACEOF 7201cat >>conftest.$ac_ext <<_ACEOF
7011/* end confdefs.h. */ 7202/* end confdefs.h. */
7012$ac_includes_default 7203$ac_includes_default
7013#include <$ac_header> 7204#include <$ac_header>
7014_ACEOF 7205_ACEOF
7015rm -f conftest.$ac_objext 7206rm -f conftest.$ac_objext
7016if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7207if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7017 (eval $ac_compile) 2>&5 7208 (eval $ac_compile) 2>conftest.er1
7018 ac_status=$? 7209 ac_status=$?
7210 grep -v '^ *+' conftest.er1 >conftest.err
7211 rm -f conftest.er1
7212 cat conftest.err >&5
7019 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7020 (exit $ac_status); } && 7214 (exit $ac_status); } &&
7021 { ac_try='test -s conftest.$ac_objext' 7215 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7023 (eval $ac_try) 2>&5 7217 (eval $ac_try) 2>&5
7024 ac_status=$? 7218 ac_status=$?
7025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7220 (exit $ac_status); }; } &&
7221 { ac_try='test -s conftest.$ac_objext'
7222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7223 (eval $ac_try) 2>&5
7224 ac_status=$?
7225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7026 (exit $ac_status); }; }; then 7226 (exit $ac_status); }; }; then
7027 ac_header_compiler=yes 7227 ac_header_compiler=yes
7028else 7228else
7029 echo "$as_me: failed program was:" >&5 7229 echo "$as_me: failed program was:" >&5
7030sed 's/^/| /' conftest.$ac_ext >&5 7230sed 's/^/| /' conftest.$ac_ext >&5
7031 7231
7032ac_header_compiler=no 7232ac_header_compiler=no
7033fi 7233fi
7034rm -f conftest.$ac_objext conftest.$ac_ext 7234rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7035echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7235echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7036echo "${ECHO_T}$ac_header_compiler" >&6 7236echo "${ECHO_T}$ac_header_compiler" >&6
7037 7237
7038# Is the header present? 7238# Is the header present?
7039echo "$as_me:$LINENO: checking $ac_header presence" >&5 7239echo "$as_me:$LINENO: checking $ac_header presence" >&5
7040echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 7240echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7041cat >conftest.$ac_ext <<_ACEOF 7241cat >conftest.$ac_ext <<_ACEOF
7042#line $LINENO "configure"
7043/* confdefs.h. */ 7242/* confdefs.h. */
7044_ACEOF 7243_ACEOF
7045cat confdefs.h >>conftest.$ac_ext 7244cat confdefs.h >>conftest.$ac_ext
7046cat >>conftest.$ac_ext <<_ACEOF 7245cat >>conftest.$ac_ext <<_ACEOF
7047/* end confdefs.h. */ 7246/* end confdefs.h. */
7055 cat conftest.err >&5 7254 cat conftest.err >&5
7056 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7057 (exit $ac_status); } >/dev/null; then 7256 (exit $ac_status); } >/dev/null; then
7058 if test -s conftest.err; then 7257 if test -s conftest.err; then
7059 ac_cpp_err=$ac_cxx_preproc_warn_flag 7258 ac_cpp_err=$ac_cxx_preproc_warn_flag
7259 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7060 else 7260 else
7061 ac_cpp_err= 7261 ac_cpp_err=
7062 fi 7262 fi
7063else 7263else
7064 ac_cpp_err=yes 7264 ac_cpp_err=yes
7074rm -f conftest.err conftest.$ac_ext 7274rm -f conftest.err conftest.$ac_ext
7075echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7275echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7076echo "${ECHO_T}$ac_header_preproc" >&6 7276echo "${ECHO_T}$ac_header_preproc" >&6
7077 7277
7078# So? What about this header? 7278# So? What about this header?
7079case $ac_header_compiler:$ac_header_preproc in 7279case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7080 yes:no ) 7280 yes:no: )
7081 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7281 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7082echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7282echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7283 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7284echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7285 ac_header_preproc=yes
7286 ;;
7287 no:yes:* )
7288 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7289echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7290 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7291echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7292 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7293echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7294 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7295echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7083 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7296 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7084echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7297echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7298 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7299echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7085 ( 7300 (
7086 cat <<\_ASBOX 7301 cat <<\_ASBOX
7087## ------------------------------------ ## 7302## ------------------------------------------ ##
7088## Report this to bug-autoconf@gnu.org. ## 7303## Report this to the AC_PACKAGE_NAME lists. ##
7089## ------------------------------------ ## 7304## ------------------------------------------ ##
7090_ASBOX
7091 ) |
7092 sed "s/^/$as_me: WARNING: /" >&2
7093 ;;
7094 no:yes )
7095 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7096echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7097 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7098echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7099 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7100echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7101 (
7102 cat <<\_ASBOX
7103## ------------------------------------ ##
7104## Report this to bug-autoconf@gnu.org. ##
7105## ------------------------------------ ##
7106_ASBOX 7305_ASBOX
7107 ) | 7306 ) |
7108 sed "s/^/$as_me: WARNING: /" >&2 7307 sed "s/^/$as_me: WARNING: /" >&2
7109 ;; 7308 ;;
7110esac 7309esac
7111echo "$as_me:$LINENO: checking for $ac_header" >&5 7310echo "$as_me:$LINENO: checking for $ac_header" >&5
7112echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7311echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7113if eval "test \"\${$as_ac_Header+set}\" = set"; then 7312if eval "test \"\${$as_ac_Header+set}\" = set"; then
7114 echo $ECHO_N "(cached) $ECHO_C" >&6 7313 echo $ECHO_N "(cached) $ECHO_C" >&6
7115else 7314else
7116 eval "$as_ac_Header=$ac_header_preproc" 7315 eval "$as_ac_Header=\$ac_header_preproc"
7117fi 7316fi
7118echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7317echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7119echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7318echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7120 7319
7121fi 7320fi
7131 7330
7132 7331
7133 7332
7134 7333
7135 7334
7335
7136for ac_header in net/ethernet.h net/if.h netinet/ip.h netinet/tcp.h netinet/in_systm.h 7336for ac_header in arpa/inet.h net/ethernet.h net/if.h netinet/ip.h netinet/tcp.h netinet/in_systm.h
7137do 7337do
7138as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7338as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7139echo "$as_me:$LINENO: checking for $ac_header" >&5 7339echo "$as_me:$LINENO: checking for $ac_header" >&5
7140echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7340echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7141if eval "test \"\${$as_ac_Header+set}\" = set"; then 7341if eval "test \"\${$as_ac_Header+set}\" = set"; then
7142 echo $ECHO_N "(cached) $ECHO_C" >&6 7342 echo $ECHO_N "(cached) $ECHO_C" >&6
7143else 7343else
7144 cat >conftest.$ac_ext <<_ACEOF 7344 cat >conftest.$ac_ext <<_ACEOF
7145#line $LINENO "configure"
7146/* confdefs.h. */ 7345/* confdefs.h. */
7147_ACEOF 7346_ACEOF
7148cat confdefs.h >>conftest.$ac_ext 7347cat confdefs.h >>conftest.$ac_ext
7149cat >>conftest.$ac_ext <<_ACEOF 7348cat >>conftest.$ac_ext <<_ACEOF
7150/* end confdefs.h. */ 7349/* end confdefs.h. */
7164 7363
7165#include <$ac_header> 7364#include <$ac_header>
7166_ACEOF 7365_ACEOF
7167rm -f conftest.$ac_objext 7366rm -f conftest.$ac_objext
7168if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7367if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7169 (eval $ac_compile) 2>&5 7368 (eval $ac_compile) 2>conftest.er1
7170 ac_status=$? 7369 ac_status=$?
7370 grep -v '^ *+' conftest.er1 >conftest.err
7371 rm -f conftest.er1
7372 cat conftest.err >&5
7171 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7172 (exit $ac_status); } && 7374 (exit $ac_status); } &&
7173 { ac_try='test -s conftest.$ac_objext' 7375 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7175 (eval $ac_try) 2>&5 7377 (eval $ac_try) 2>&5
7176 ac_status=$? 7378 ac_status=$?
7177 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7380 (exit $ac_status); }; } &&
7381 { ac_try='test -s conftest.$ac_objext'
7382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7383 (eval $ac_try) 2>&5
7384 ac_status=$?
7385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7178 (exit $ac_status); }; }; then 7386 (exit $ac_status); }; }; then
7179 eval "$as_ac_Header=yes" 7387 eval "$as_ac_Header=yes"
7180else 7388else
7181 echo "$as_me: failed program was:" >&5 7389 echo "$as_me: failed program was:" >&5
7182sed 's/^/| /' conftest.$ac_ext >&5 7390sed 's/^/| /' conftest.$ac_ext >&5
7183 7391
7184eval "$as_ac_Header=no" 7392eval "$as_ac_Header=no"
7185fi 7393fi
7186rm -f conftest.$ac_objext conftest.$ac_ext 7394rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7187fi 7395fi
7188echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7396echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7189echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7397echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7190if test `eval echo '${'$as_ac_Header'}'` = yes; then 7398if test `eval echo '${'$as_ac_Header'}'` = yes; then
7191 cat >>confdefs.h <<_ACEOF 7399 cat >>confdefs.h <<_ACEOF
7201echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 7409echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
7202if test "${ac_cv_c_const+set}" = set; then 7410if test "${ac_cv_c_const+set}" = set; then
7203 echo $ECHO_N "(cached) $ECHO_C" >&6 7411 echo $ECHO_N "(cached) $ECHO_C" >&6
7204else 7412else
7205 cat >conftest.$ac_ext <<_ACEOF 7413 cat >conftest.$ac_ext <<_ACEOF
7206#line $LINENO "configure"
7207/* confdefs.h. */ 7414/* confdefs.h. */
7208_ACEOF 7415_ACEOF
7209cat confdefs.h >>conftest.$ac_ext 7416cat confdefs.h >>conftest.$ac_ext
7210cat >>conftest.$ac_ext <<_ACEOF 7417cat >>conftest.$ac_ext <<_ACEOF
7211/* end confdefs.h. */ 7418/* end confdefs.h. */
7264 return 0; 7471 return 0;
7265} 7472}
7266_ACEOF 7473_ACEOF
7267rm -f conftest.$ac_objext 7474rm -f conftest.$ac_objext
7268if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7475if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7269 (eval $ac_compile) 2>&5 7476 (eval $ac_compile) 2>conftest.er1
7270 ac_status=$? 7477 ac_status=$?
7478 grep -v '^ *+' conftest.er1 >conftest.err
7479 rm -f conftest.er1
7480 cat conftest.err >&5
7271 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7272 (exit $ac_status); } && 7482 (exit $ac_status); } &&
7273 { ac_try='test -s conftest.$ac_objext' 7483 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7275 (eval $ac_try) 2>&5 7485 (eval $ac_try) 2>&5
7276 ac_status=$? 7486 ac_status=$?
7277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7488 (exit $ac_status); }; } &&
7489 { ac_try='test -s conftest.$ac_objext'
7490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7491 (eval $ac_try) 2>&5
7492 ac_status=$?
7493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7278 (exit $ac_status); }; }; then 7494 (exit $ac_status); }; }; then
7279 ac_cv_c_const=yes 7495 ac_cv_c_const=yes
7280else 7496else
7281 echo "$as_me: failed program was:" >&5 7497 echo "$as_me: failed program was:" >&5
7282sed 's/^/| /' conftest.$ac_ext >&5 7498sed 's/^/| /' conftest.$ac_ext >&5
7283 7499
7284ac_cv_c_const=no 7500ac_cv_c_const=no
7285fi 7501fi
7286rm -f conftest.$ac_objext conftest.$ac_ext 7502rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7287fi 7503fi
7288echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 7504echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7289echo "${ECHO_T}$ac_cv_c_const" >&6 7505echo "${ECHO_T}$ac_cv_c_const" >&6
7290if test $ac_cv_c_const = no; then 7506if test $ac_cv_c_const = no; then
7291 7507
7299echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 7515echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
7300if test "${ac_cv_type_pid_t+set}" = set; then 7516if test "${ac_cv_type_pid_t+set}" = set; then
7301 echo $ECHO_N "(cached) $ECHO_C" >&6 7517 echo $ECHO_N "(cached) $ECHO_C" >&6
7302else 7518else
7303 cat >conftest.$ac_ext <<_ACEOF 7519 cat >conftest.$ac_ext <<_ACEOF
7304#line $LINENO "configure"
7305/* confdefs.h. */ 7520/* confdefs.h. */
7306_ACEOF 7521_ACEOF
7307cat confdefs.h >>conftest.$ac_ext 7522cat confdefs.h >>conftest.$ac_ext
7308cat >>conftest.$ac_ext <<_ACEOF 7523cat >>conftest.$ac_ext <<_ACEOF
7309/* end confdefs.h. */ 7524/* end confdefs.h. */
7319 return 0; 7534 return 0;
7320} 7535}
7321_ACEOF 7536_ACEOF
7322rm -f conftest.$ac_objext 7537rm -f conftest.$ac_objext
7323if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7538if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7324 (eval $ac_compile) 2>&5 7539 (eval $ac_compile) 2>conftest.er1
7325 ac_status=$? 7540 ac_status=$?
7541 grep -v '^ *+' conftest.er1 >conftest.err
7542 rm -f conftest.er1
7543 cat conftest.err >&5
7326 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7327 (exit $ac_status); } && 7545 (exit $ac_status); } &&
7328 { ac_try='test -s conftest.$ac_objext' 7546 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7330 (eval $ac_try) 2>&5 7548 (eval $ac_try) 2>&5
7331 ac_status=$? 7549 ac_status=$?
7332 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7551 (exit $ac_status); }; } &&
7552 { ac_try='test -s conftest.$ac_objext'
7553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7554 (eval $ac_try) 2>&5
7555 ac_status=$?
7556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7333 (exit $ac_status); }; }; then 7557 (exit $ac_status); }; }; then
7334 ac_cv_type_pid_t=yes 7558 ac_cv_type_pid_t=yes
7335else 7559else
7336 echo "$as_me: failed program was:" >&5 7560 echo "$as_me: failed program was:" >&5
7337sed 's/^/| /' conftest.$ac_ext >&5 7561sed 's/^/| /' conftest.$ac_ext >&5
7338 7562
7339ac_cv_type_pid_t=no 7563ac_cv_type_pid_t=no
7340fi 7564fi
7341rm -f conftest.$ac_objext conftest.$ac_ext 7565rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7342fi 7566fi
7343echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 7567echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7344echo "${ECHO_T}$ac_cv_type_pid_t" >&6 7568echo "${ECHO_T}$ac_cv_type_pid_t" >&6
7345if test $ac_cv_type_pid_t = yes; then 7569if test $ac_cv_type_pid_t = yes; then
7346 : 7570 :
7356echo $ECHO_N "checking for size_t... $ECHO_C" >&6 7580echo $ECHO_N "checking for size_t... $ECHO_C" >&6
7357if test "${ac_cv_type_size_t+set}" = set; then 7581if test "${ac_cv_type_size_t+set}" = set; then
7358 echo $ECHO_N "(cached) $ECHO_C" >&6 7582 echo $ECHO_N "(cached) $ECHO_C" >&6
7359else 7583else
7360 cat >conftest.$ac_ext <<_ACEOF 7584 cat >conftest.$ac_ext <<_ACEOF
7361#line $LINENO "configure"
7362/* confdefs.h. */ 7585/* confdefs.h. */
7363_ACEOF 7586_ACEOF
7364cat confdefs.h >>conftest.$ac_ext 7587cat confdefs.h >>conftest.$ac_ext
7365cat >>conftest.$ac_ext <<_ACEOF 7588cat >>conftest.$ac_ext <<_ACEOF
7366/* end confdefs.h. */ 7589/* end confdefs.h. */
7376 return 0; 7599 return 0;
7377} 7600}
7378_ACEOF 7601_ACEOF
7379rm -f conftest.$ac_objext 7602rm -f conftest.$ac_objext
7380if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7603if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7381 (eval $ac_compile) 2>&5 7604 (eval $ac_compile) 2>conftest.er1
7382 ac_status=$? 7605 ac_status=$?
7606 grep -v '^ *+' conftest.er1 >conftest.err
7607 rm -f conftest.er1
7608 cat conftest.err >&5
7383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384 (exit $ac_status); } && 7610 (exit $ac_status); } &&
7385 { ac_try='test -s conftest.$ac_objext' 7611 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7387 (eval $ac_try) 2>&5 7613 (eval $ac_try) 2>&5
7388 ac_status=$? 7614 ac_status=$?
7389 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7616 (exit $ac_status); }; } &&
7617 { ac_try='test -s conftest.$ac_objext'
7618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7619 (eval $ac_try) 2>&5
7620 ac_status=$?
7621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7390 (exit $ac_status); }; }; then 7622 (exit $ac_status); }; }; then
7391 ac_cv_type_size_t=yes 7623 ac_cv_type_size_t=yes
7392else 7624else
7393 echo "$as_me: failed program was:" >&5 7625 echo "$as_me: failed program was:" >&5
7394sed 's/^/| /' conftest.$ac_ext >&5 7626sed 's/^/| /' conftest.$ac_ext >&5
7395 7627
7396ac_cv_type_size_t=no 7628ac_cv_type_size_t=no
7397fi 7629fi
7398rm -f conftest.$ac_objext conftest.$ac_ext 7630rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7399fi 7631fi
7400echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 7632echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7401echo "${ECHO_T}$ac_cv_type_size_t" >&6 7633echo "${ECHO_T}$ac_cv_type_size_t" >&6
7402if test $ac_cv_type_size_t = yes; then 7634if test $ac_cv_type_size_t = yes; then
7403 : 7635 :
7413echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 7645echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
7414if test "${ac_cv_header_time+set}" = set; then 7646if test "${ac_cv_header_time+set}" = set; then
7415 echo $ECHO_N "(cached) $ECHO_C" >&6 7647 echo $ECHO_N "(cached) $ECHO_C" >&6
7416else 7648else
7417 cat >conftest.$ac_ext <<_ACEOF 7649 cat >conftest.$ac_ext <<_ACEOF
7418#line $LINENO "configure"
7419/* confdefs.h. */ 7650/* confdefs.h. */
7420_ACEOF 7651_ACEOF
7421cat confdefs.h >>conftest.$ac_ext 7652cat confdefs.h >>conftest.$ac_ext
7422cat >>conftest.$ac_ext <<_ACEOF 7653cat >>conftest.$ac_ext <<_ACEOF
7423/* end confdefs.h. */ 7654/* end confdefs.h. */
7434 return 0; 7665 return 0;
7435} 7666}
7436_ACEOF 7667_ACEOF
7437rm -f conftest.$ac_objext 7668rm -f conftest.$ac_objext
7438if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7669if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7439 (eval $ac_compile) 2>&5 7670 (eval $ac_compile) 2>conftest.er1
7440 ac_status=$? 7671 ac_status=$?
7672 grep -v '^ *+' conftest.er1 >conftest.err
7673 rm -f conftest.er1
7674 cat conftest.err >&5
7441 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7442 (exit $ac_status); } && 7676 (exit $ac_status); } &&
7443 { ac_try='test -s conftest.$ac_objext' 7677 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7445 (eval $ac_try) 2>&5 7679 (eval $ac_try) 2>&5
7446 ac_status=$? 7680 ac_status=$?
7447 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7682 (exit $ac_status); }; } &&
7683 { ac_try='test -s conftest.$ac_objext'
7684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7685 (eval $ac_try) 2>&5
7686 ac_status=$?
7687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7448 (exit $ac_status); }; }; then 7688 (exit $ac_status); }; }; then
7449 ac_cv_header_time=yes 7689 ac_cv_header_time=yes
7450else 7690else
7451 echo "$as_me: failed program was:" >&5 7691 echo "$as_me: failed program was:" >&5
7452sed 's/^/| /' conftest.$ac_ext >&5 7692sed 's/^/| /' conftest.$ac_ext >&5
7453 7693
7454ac_cv_header_time=no 7694ac_cv_header_time=no
7455fi 7695fi
7456rm -f conftest.$ac_objext conftest.$ac_ext 7696rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7457fi 7697fi
7458echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 7698echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
7459echo "${ECHO_T}$ac_cv_header_time" >&6 7699echo "${ECHO_T}$ac_cv_header_time" >&6
7460if test $ac_cv_header_time = yes; then 7700if test $ac_cv_header_time = yes; then
7461 7701
7469echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 7709echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
7470if test "${ac_cv_struct_tm+set}" = set; then 7710if test "${ac_cv_struct_tm+set}" = set; then
7471 echo $ECHO_N "(cached) $ECHO_C" >&6 7711 echo $ECHO_N "(cached) $ECHO_C" >&6
7472else 7712else
7473 cat >conftest.$ac_ext <<_ACEOF 7713 cat >conftest.$ac_ext <<_ACEOF
7474#line $LINENO "configure"
7475/* confdefs.h. */ 7714/* confdefs.h. */
7476_ACEOF 7715_ACEOF
7477cat confdefs.h >>conftest.$ac_ext 7716cat confdefs.h >>conftest.$ac_ext
7478cat >>conftest.$ac_ext <<_ACEOF 7717cat >>conftest.$ac_ext <<_ACEOF
7479/* end confdefs.h. */ 7718/* end confdefs.h. */
7488 return 0; 7727 return 0;
7489} 7728}
7490_ACEOF 7729_ACEOF
7491rm -f conftest.$ac_objext 7730rm -f conftest.$ac_objext
7492if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7731if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7493 (eval $ac_compile) 2>&5 7732 (eval $ac_compile) 2>conftest.er1
7494 ac_status=$? 7733 ac_status=$?
7734 grep -v '^ *+' conftest.er1 >conftest.err
7735 rm -f conftest.er1
7736 cat conftest.err >&5
7495 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7496 (exit $ac_status); } && 7738 (exit $ac_status); } &&
7497 { ac_try='test -s conftest.$ac_objext' 7739 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7499 (eval $ac_try) 2>&5 7741 (eval $ac_try) 2>&5
7500 ac_status=$? 7742 ac_status=$?
7501 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7744 (exit $ac_status); }; } &&
7745 { ac_try='test -s conftest.$ac_objext'
7746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7747 (eval $ac_try) 2>&5
7748 ac_status=$?
7749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7502 (exit $ac_status); }; }; then 7750 (exit $ac_status); }; }; then
7503 ac_cv_struct_tm=time.h 7751 ac_cv_struct_tm=time.h
7504else 7752else
7505 echo "$as_me: failed program was:" >&5 7753 echo "$as_me: failed program was:" >&5
7506sed 's/^/| /' conftest.$ac_ext >&5 7754sed 's/^/| /' conftest.$ac_ext >&5
7507 7755
7508ac_cv_struct_tm=sys/time.h 7756ac_cv_struct_tm=sys/time.h
7509fi 7757fi
7510rm -f conftest.$ac_objext conftest.$ac_ext 7758rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7511fi 7759fi
7512echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 7760echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
7513echo "${ECHO_T}$ac_cv_struct_tm" >&6 7761echo "${ECHO_T}$ac_cv_struct_tm" >&6
7514if test $ac_cv_struct_tm = sys/time.h; then 7762if test $ac_cv_struct_tm = sys/time.h; then
7515 7763
7518_ACEOF 7766_ACEOF
7519 7767
7520fi 7768fi
7521 7769
7522 7770
7771echo "$as_me:$LINENO: checking for socklen_t" >&5
7772echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
7773if test "${ac_cv_type_socklen_t+set}" = set; then
7774 echo $ECHO_N "(cached) $ECHO_C" >&6
7775else
7523 7776
7524for ac_func in poll 7777 cat >conftest.$ac_ext <<_ACEOF
7778/* confdefs.h. */
7779_ACEOF
7780cat confdefs.h >>conftest.$ac_ext
7781cat >>conftest.$ac_ext <<_ACEOF
7782/* end confdefs.h. */
7783#include <sys/types.h>
7784 #include <sys/socket.h>
7785int
7786main ()
7787{
7788socklen_t len = 42; return len;
7789 ;
7790 return 0;
7791}
7792_ACEOF
7793rm -f conftest.$ac_objext
7794if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7795 (eval $ac_compile) 2>conftest.er1
7796 ac_status=$?
7797 grep -v '^ *+' conftest.er1 >conftest.err
7798 rm -f conftest.er1
7799 cat conftest.err >&5
7800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7801 (exit $ac_status); } &&
7802 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7804 (eval $ac_try) 2>&5
7805 ac_status=$?
7806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7807 (exit $ac_status); }; } &&
7808 { ac_try='test -s conftest.$ac_objext'
7809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7810 (eval $ac_try) 2>&5
7811 ac_status=$?
7812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7813 (exit $ac_status); }; }; then
7814 ac_cv_type_socklen_t=yes
7815else
7816 echo "$as_me: failed program was:" >&5
7817sed 's/^/| /' conftest.$ac_ext >&5
7818
7819ac_cv_type_socklen_t=no
7820fi
7821rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7822
7823fi
7824echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
7825echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
7826if test $ac_cv_type_socklen_t = yes; then
7827
7828cat >>confdefs.h <<\_ACEOF
7829#define HAVE_SOCKLEN_T 1
7830_ACEOF
7831
7832fi
7833
7834echo "$as_me:$LINENO: checking for struct addrinfo" >&5
7835echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
7836if test "${ac_cv_struct_addrinfo+set}" = set; then
7837 echo $ECHO_N "(cached) $ECHO_C" >&6
7838else
7839
7840 cat >conftest.$ac_ext <<_ACEOF
7841/* confdefs.h. */
7842_ACEOF
7843cat confdefs.h >>conftest.$ac_ext
7844cat >>conftest.$ac_ext <<_ACEOF
7845/* end confdefs.h. */
7846#include <sys/types.h>
7847 #include <sys/socket.h>
7848 #include <netdb.h>
7849int
7850main ()
7851{
7852struct addrinfo ai; ai.ai_family = AF_INET; return ai.ai_family;
7853 ;
7854 return 0;
7855}
7856_ACEOF
7857rm -f conftest.$ac_objext
7858if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7859 (eval $ac_compile) 2>conftest.er1
7860 ac_status=$?
7861 grep -v '^ *+' conftest.er1 >conftest.err
7862 rm -f conftest.er1
7863 cat conftest.err >&5
7864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7865 (exit $ac_status); } &&
7866 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7868 (eval $ac_try) 2>&5
7869 ac_status=$?
7870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7871 (exit $ac_status); }; } &&
7872 { ac_try='test -s conftest.$ac_objext'
7873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7874 (eval $ac_try) 2>&5
7875 ac_status=$?
7876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7877 (exit $ac_status); }; }; then
7878 ac_cv_struct_addrinfo=yes
7879else
7880 echo "$as_me: failed program was:" >&5
7881sed 's/^/| /' conftest.$ac_ext >&5
7882
7883ac_cv_struct_addrinfo=no
7884fi
7885rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7886
7887fi
7888echo "$as_me:$LINENO: result: $ac_cv_struct_addrinfo" >&5
7889echo "${ECHO_T}$ac_cv_struct_addrinfo" >&6
7890if test $ac_cv_struct_addrinfo = yes; then
7891
7892cat >>confdefs.h <<\_ACEOF
7893#define HAVE_STRUCT_ADDRINFO 1
7894_ACEOF
7895
7896fi
7897
7898echo "$as_me:$LINENO: checking return type of signal handlers" >&5
7899echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
7900if test "${ac_cv_type_signal+set}" = set; then
7901 echo $ECHO_N "(cached) $ECHO_C" >&6
7902else
7903 cat >conftest.$ac_ext <<_ACEOF
7904/* confdefs.h. */
7905_ACEOF
7906cat confdefs.h >>conftest.$ac_ext
7907cat >>conftest.$ac_ext <<_ACEOF
7908/* end confdefs.h. */
7909#include <sys/types.h>
7910#include <signal.h>
7911#ifdef signal
7912# undef signal
7913#endif
7914#ifdef __cplusplus
7915extern "C" void (*signal (int, void (*)(int)))(int);
7916#else
7917void (*signal ()) ();
7918#endif
7919
7920int
7921main ()
7922{
7923int i;
7924 ;
7925 return 0;
7926}
7927_ACEOF
7928rm -f conftest.$ac_objext
7929if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7930 (eval $ac_compile) 2>conftest.er1
7931 ac_status=$?
7932 grep -v '^ *+' conftest.er1 >conftest.err
7933 rm -f conftest.er1
7934 cat conftest.err >&5
7935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7936 (exit $ac_status); } &&
7937 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7939 (eval $ac_try) 2>&5
7940 ac_status=$?
7941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7942 (exit $ac_status); }; } &&
7943 { ac_try='test -s conftest.$ac_objext'
7944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7945 (eval $ac_try) 2>&5
7946 ac_status=$?
7947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7948 (exit $ac_status); }; }; then
7949 ac_cv_type_signal=void
7950else
7951 echo "$as_me: failed program was:" >&5
7952sed 's/^/| /' conftest.$ac_ext >&5
7953
7954ac_cv_type_signal=int
7955fi
7956rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7957fi
7958echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
7959echo "${ECHO_T}$ac_cv_type_signal" >&6
7960
7961cat >>confdefs.h <<_ACEOF
7962#define RETSIGTYPE $ac_cv_type_signal
7963_ACEOF
7964
7965
7966
7967ac_ext=c
7968ac_cpp='$CPP $CPPFLAGS'
7969ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7970ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7971ac_compiler_gnu=$ac_cv_c_compiler_gnu
7972
7973
7974echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7975echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7976if test "${ac_cv_header_stdc+set}" = set; then
7977 echo $ECHO_N "(cached) $ECHO_C" >&6
7978else
7979 cat >conftest.$ac_ext <<_ACEOF
7980/* confdefs.h. */
7981_ACEOF
7982cat confdefs.h >>conftest.$ac_ext
7983cat >>conftest.$ac_ext <<_ACEOF
7984/* end confdefs.h. */
7985#include <stdlib.h>
7986#include <stdarg.h>
7987#include <string.h>
7988#include <float.h>
7989
7990int
7991main ()
7992{
7993
7994 ;
7995 return 0;
7996}
7997_ACEOF
7998rm -f conftest.$ac_objext
7999if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8000 (eval $ac_compile) 2>conftest.er1
8001 ac_status=$?
8002 grep -v '^ *+' conftest.er1 >conftest.err
8003 rm -f conftest.er1
8004 cat conftest.err >&5
8005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8006 (exit $ac_status); } &&
8007 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8009 (eval $ac_try) 2>&5
8010 ac_status=$?
8011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8012 (exit $ac_status); }; } &&
8013 { ac_try='test -s conftest.$ac_objext'
8014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8015 (eval $ac_try) 2>&5
8016 ac_status=$?
8017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8018 (exit $ac_status); }; }; then
8019 ac_cv_header_stdc=yes
8020else
8021 echo "$as_me: failed program was:" >&5
8022sed 's/^/| /' conftest.$ac_ext >&5
8023
8024ac_cv_header_stdc=no
8025fi
8026rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8027
8028if test $ac_cv_header_stdc = yes; then
8029 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8030 cat >conftest.$ac_ext <<_ACEOF
8031/* confdefs.h. */
8032_ACEOF
8033cat confdefs.h >>conftest.$ac_ext
8034cat >>conftest.$ac_ext <<_ACEOF
8035/* end confdefs.h. */
8036#include <string.h>
8037
8038_ACEOF
8039if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8040 $EGREP "memchr" >/dev/null 2>&1; then
8041 :
8042else
8043 ac_cv_header_stdc=no
8044fi
8045rm -f conftest*
8046
8047fi
8048
8049if test $ac_cv_header_stdc = yes; then
8050 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8051 cat >conftest.$ac_ext <<_ACEOF
8052/* confdefs.h. */
8053_ACEOF
8054cat confdefs.h >>conftest.$ac_ext
8055cat >>conftest.$ac_ext <<_ACEOF
8056/* end confdefs.h. */
8057#include <stdlib.h>
8058
8059_ACEOF
8060if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8061 $EGREP "free" >/dev/null 2>&1; then
8062 :
8063else
8064 ac_cv_header_stdc=no
8065fi
8066rm -f conftest*
8067
8068fi
8069
8070if test $ac_cv_header_stdc = yes; then
8071 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8072 if test "$cross_compiling" = yes; then
8073 :
8074else
8075 cat >conftest.$ac_ext <<_ACEOF
8076/* confdefs.h. */
8077_ACEOF
8078cat confdefs.h >>conftest.$ac_ext
8079cat >>conftest.$ac_ext <<_ACEOF
8080/* end confdefs.h. */
8081#include <ctype.h>
8082#if ((' ' & 0x0FF) == 0x020)
8083# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8084# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8085#else
8086# define ISLOWER(c) \
8087 (('a' <= (c) && (c) <= 'i') \
8088 || ('j' <= (c) && (c) <= 'r') \
8089 || ('s' <= (c) && (c) <= 'z'))
8090# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8091#endif
8092
8093#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8094int
8095main ()
8096{
8097 int i;
8098 for (i = 0; i < 256; i++)
8099 if (XOR (islower (i), ISLOWER (i))
8100 || toupper (i) != TOUPPER (i))
8101 exit(2);
8102 exit (0);
8103}
8104_ACEOF
8105rm -f conftest$ac_exeext
8106if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8107 (eval $ac_link) 2>&5
8108 ac_status=$?
8109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8110 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8112 (eval $ac_try) 2>&5
8113 ac_status=$?
8114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8115 (exit $ac_status); }; }; then
8116 :
8117else
8118 echo "$as_me: program exited with status $ac_status" >&5
8119echo "$as_me: failed program was:" >&5
8120sed 's/^/| /' conftest.$ac_ext >&5
8121
8122( exit $ac_status )
8123ac_cv_header_stdc=no
8124fi
8125rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8126fi
8127fi
8128fi
8129echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8130echo "${ECHO_T}$ac_cv_header_stdc" >&6
8131if test $ac_cv_header_stdc = yes; then
8132
8133cat >>confdefs.h <<\_ACEOF
8134#define STDC_HEADERS 1
8135_ACEOF
8136
8137fi
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150for ac_func in asprintf daemon get_current_dir_name putenv select strerror strsignal strtol unsetenv mlockall
7525do 8151do
7526as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8152as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7527echo "$as_me:$LINENO: checking for $ac_func" >&5 8153echo "$as_me:$LINENO: checking for $ac_func" >&5
7528echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8154echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7529if eval "test \"\${$as_ac_var+set}\" = set"; then 8155if eval "test \"\${$as_ac_var+set}\" = set"; then
7530 echo $ECHO_N "(cached) $ECHO_C" >&6 8156 echo $ECHO_N "(cached) $ECHO_C" >&6
7531else 8157else
7532 cat >conftest.$ac_ext <<_ACEOF 8158 cat >conftest.$ac_ext <<_ACEOF
7533#line $LINENO "configure"
7534/* confdefs.h. */ 8159/* confdefs.h. */
7535_ACEOF 8160_ACEOF
7536cat confdefs.h >>conftest.$ac_ext 8161cat confdefs.h >>conftest.$ac_ext
7537cat >>conftest.$ac_ext <<_ACEOF 8162cat >>conftest.$ac_ext <<_ACEOF
7538/* end confdefs.h. */ 8163/* end confdefs.h. */
8164/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8166#define $ac_func innocuous_$ac_func
8167
7539/* System header to define __stub macros and hopefully few prototypes, 8168/* System header to define __stub macros and hopefully few prototypes,
7540 which can conflict with char $ac_func (); below. 8169 which can conflict with char $ac_func (); below.
7541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7542 <limits.h> exists even on freestanding compilers. */ 8171 <limits.h> exists even on freestanding compilers. */
8172
7543#ifdef __STDC__ 8173#ifdef __STDC__
7544# include <limits.h> 8174# include <limits.h>
7545#else 8175#else
7546# include <assert.h> 8176# include <assert.h>
7547#endif 8177#endif
8178
8179#undef $ac_func
8180
7548/* Override any gcc2 internal prototype to avoid an error. */ 8181/* Override any gcc2 internal prototype to avoid an error. */
7549#ifdef __cplusplus 8182#ifdef __cplusplus
7550extern "C" 8183extern "C"
7551{ 8184{
7552#endif 8185#endif
7573 return 0; 8206 return 0;
7574} 8207}
7575_ACEOF 8208_ACEOF
7576rm -f conftest.$ac_objext conftest$ac_exeext 8209rm -f conftest.$ac_objext conftest$ac_exeext
7577if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8210if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7578 (eval $ac_link) 2>&5 8211 (eval $ac_link) 2>conftest.er1
7579 ac_status=$? 8212 ac_status=$?
8213 grep -v '^ *+' conftest.er1 >conftest.err
8214 rm -f conftest.er1
8215 cat conftest.err >&5
7580 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7581 (exit $ac_status); } && 8217 (exit $ac_status); } &&
7582 { ac_try='test -s conftest$ac_exeext' 8218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7584 (eval $ac_try) 2>&5 8220 (eval $ac_try) 2>&5
7585 ac_status=$? 8221 ac_status=$?
7586 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8223 (exit $ac_status); }; } &&
8224 { ac_try='test -s conftest$ac_exeext'
8225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8226 (eval $ac_try) 2>&5
8227 ac_status=$?
8228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7587 (exit $ac_status); }; }; then 8229 (exit $ac_status); }; }; then
7588 eval "$as_ac_var=yes" 8230 eval "$as_ac_var=yes"
7589else 8231else
7590 echo "$as_me: failed program was:" >&5 8232 echo "$as_me: failed program was:" >&5
7591sed 's/^/| /' conftest.$ac_ext >&5 8233sed 's/^/| /' conftest.$ac_ext >&5
7592 8234
7593eval "$as_ac_var=no" 8235eval "$as_ac_var=no"
7594fi 8236fi
7595rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7596fi
7597echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7598echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7599if test `eval echo '${'$as_ac_var'}'` = yes; then
7600 cat >>confdefs.h <<_ACEOF
7601#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7602_ACEOF
7603
7604fi
7605done
7606
7607
7608echo "$as_me:$LINENO: checking for socklen_t" >&5
7609echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
7610if test "${ac_cv_type_socklen_t+set}" = set; then
7611 echo $ECHO_N "(cached) $ECHO_C" >&6
7612else
7613
7614 cat >conftest.$ac_ext <<_ACEOF
7615#line $LINENO "configure"
7616/* confdefs.h. */
7617_ACEOF
7618cat confdefs.h >>conftest.$ac_ext
7619cat >>conftest.$ac_ext <<_ACEOF
7620/* end confdefs.h. */
7621#include <sys/types.h>
7622 #include <sys/socket.h>
7623int
7624main ()
7625{
7626socklen_t len = 42; return len;
7627 ;
7628 return 0;
7629}
7630_ACEOF
7631rm -f conftest.$ac_objext 8237rm -f conftest.err conftest.$ac_objext \
7632if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7633 (eval $ac_compile) 2>&5
7634 ac_status=$?
7635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7636 (exit $ac_status); } &&
7637 { ac_try='test -s conftest.$ac_objext'
7638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7639 (eval $ac_try) 2>&5
7640 ac_status=$?
7641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7642 (exit $ac_status); }; }; then
7643 ac_cv_type_socklen_t=yes
7644else
7645 echo "$as_me: failed program was:" >&5
7646sed 's/^/| /' conftest.$ac_ext >&5
7647
7648ac_cv_type_socklen_t=no
7649fi
7650rm -f conftest.$ac_objext conftest.$ac_ext 8238 conftest$ac_exeext conftest.$ac_ext
7651
7652fi
7653echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
7654echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
7655if test $ac_cv_type_socklen_t = yes; then
7656
7657cat >>confdefs.h <<\_ACEOF
7658#define HAVE_SOCKLEN_T 1
7659_ACEOF
7660
7661fi
7662
7663echo "$as_me:$LINENO: checking for struct addrinfo" >&5
7664echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
7665if test "${ac_cv_struct_addrinfo+set}" = set; then
7666 echo $ECHO_N "(cached) $ECHO_C" >&6
7667else
7668
7669 cat >conftest.$ac_ext <<_ACEOF
7670#line $LINENO "configure"
7671/* confdefs.h. */
7672_ACEOF
7673cat confdefs.h >>conftest.$ac_ext
7674cat >>conftest.$ac_ext <<_ACEOF
7675/* end confdefs.h. */
7676#include <sys/types.h>
7677 #include <sys/socket.h>
7678 #include <netdb.h>
7679int
7680main ()
7681{
7682struct addrinfo ai; ai.ai_family = AF_INET; return ai.ai_family;
7683 ;
7684 return 0;
7685}
7686_ACEOF
7687rm -f conftest.$ac_objext
7688if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7689 (eval $ac_compile) 2>&5
7690 ac_status=$?
7691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7692 (exit $ac_status); } &&
7693 { ac_try='test -s conftest.$ac_objext'
7694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7695 (eval $ac_try) 2>&5
7696 ac_status=$?
7697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7698 (exit $ac_status); }; }; then
7699 ac_cv_struct_addrinfo=yes
7700else
7701 echo "$as_me: failed program was:" >&5
7702sed 's/^/| /' conftest.$ac_ext >&5
7703
7704ac_cv_struct_addrinfo=no
7705fi
7706rm -f conftest.$ac_objext conftest.$ac_ext
7707
7708fi
7709echo "$as_me:$LINENO: result: $ac_cv_struct_addrinfo" >&5
7710echo "${ECHO_T}$ac_cv_struct_addrinfo" >&6
7711if test $ac_cv_struct_addrinfo = yes; then
7712
7713cat >>confdefs.h <<\_ACEOF
7714#define HAVE_STRUCT_ADDRINFO 1
7715_ACEOF
7716
7717fi
7718
7719echo "$as_me:$LINENO: checking return type of signal handlers" >&5
7720echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
7721if test "${ac_cv_type_signal+set}" = set; then
7722 echo $ECHO_N "(cached) $ECHO_C" >&6
7723else
7724 cat >conftest.$ac_ext <<_ACEOF
7725#line $LINENO "configure"
7726/* confdefs.h. */
7727_ACEOF
7728cat confdefs.h >>conftest.$ac_ext
7729cat >>conftest.$ac_ext <<_ACEOF
7730/* end confdefs.h. */
7731#include <sys/types.h>
7732#include <signal.h>
7733#ifdef signal
7734# undef signal
7735#endif
7736#ifdef __cplusplus
7737extern "C" void (*signal (int, void (*)(int)))(int);
7738#else
7739void (*signal ()) ();
7740#endif
7741
7742int
7743main ()
7744{
7745int i;
7746 ;
7747 return 0;
7748}
7749_ACEOF
7750rm -f conftest.$ac_objext
7751if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7752 (eval $ac_compile) 2>&5
7753 ac_status=$?
7754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7755 (exit $ac_status); } &&
7756 { ac_try='test -s conftest.$ac_objext'
7757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7758 (eval $ac_try) 2>&5
7759 ac_status=$?
7760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7761 (exit $ac_status); }; }; then
7762 ac_cv_type_signal=void
7763else
7764 echo "$as_me: failed program was:" >&5
7765sed 's/^/| /' conftest.$ac_ext >&5
7766
7767ac_cv_type_signal=int
7768fi
7769rm -f conftest.$ac_objext conftest.$ac_ext
7770fi
7771echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
7772echo "${ECHO_T}$ac_cv_type_signal" >&6
7773
7774cat >>confdefs.h <<_ACEOF
7775#define RETSIGTYPE $ac_cv_type_signal
7776_ACEOF
7777
7778
7779
7780ac_ext=c
7781ac_cpp='$CPP $CPPFLAGS'
7782ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7783ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7784ac_compiler_gnu=$ac_cv_c_compiler_gnu
7785
7786
7787echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7788echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7789if test "${ac_cv_header_stdc+set}" = set; then
7790 echo $ECHO_N "(cached) $ECHO_C" >&6
7791else
7792 cat >conftest.$ac_ext <<_ACEOF
7793#line $LINENO "configure"
7794/* confdefs.h. */
7795_ACEOF
7796cat confdefs.h >>conftest.$ac_ext
7797cat >>conftest.$ac_ext <<_ACEOF
7798/* end confdefs.h. */
7799#include <stdlib.h>
7800#include <stdarg.h>
7801#include <string.h>
7802#include <float.h>
7803
7804int
7805main ()
7806{
7807
7808 ;
7809 return 0;
7810}
7811_ACEOF
7812rm -f conftest.$ac_objext
7813if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7814 (eval $ac_compile) 2>&5
7815 ac_status=$?
7816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7817 (exit $ac_status); } &&
7818 { ac_try='test -s conftest.$ac_objext'
7819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7820 (eval $ac_try) 2>&5
7821 ac_status=$?
7822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7823 (exit $ac_status); }; }; then
7824 ac_cv_header_stdc=yes
7825else
7826 echo "$as_me: failed program was:" >&5
7827sed 's/^/| /' conftest.$ac_ext >&5
7828
7829ac_cv_header_stdc=no
7830fi
7831rm -f conftest.$ac_objext conftest.$ac_ext
7832
7833if test $ac_cv_header_stdc = yes; then
7834 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7835 cat >conftest.$ac_ext <<_ACEOF
7836#line $LINENO "configure"
7837/* confdefs.h. */
7838_ACEOF
7839cat confdefs.h >>conftest.$ac_ext
7840cat >>conftest.$ac_ext <<_ACEOF
7841/* end confdefs.h. */
7842#include <string.h>
7843
7844_ACEOF
7845if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7846 $EGREP "memchr" >/dev/null 2>&1; then
7847 :
7848else
7849 ac_cv_header_stdc=no
7850fi
7851rm -f conftest*
7852
7853fi
7854
7855if test $ac_cv_header_stdc = yes; then
7856 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7857 cat >conftest.$ac_ext <<_ACEOF
7858#line $LINENO "configure"
7859/* confdefs.h. */
7860_ACEOF
7861cat confdefs.h >>conftest.$ac_ext
7862cat >>conftest.$ac_ext <<_ACEOF
7863/* end confdefs.h. */
7864#include <stdlib.h>
7865
7866_ACEOF
7867if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7868 $EGREP "free" >/dev/null 2>&1; then
7869 :
7870else
7871 ac_cv_header_stdc=no
7872fi
7873rm -f conftest*
7874
7875fi
7876
7877if test $ac_cv_header_stdc = yes; then
7878 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7879 if test "$cross_compiling" = yes; then
7880 :
7881else
7882 cat >conftest.$ac_ext <<_ACEOF
7883#line $LINENO "configure"
7884/* confdefs.h. */
7885_ACEOF
7886cat confdefs.h >>conftest.$ac_ext
7887cat >>conftest.$ac_ext <<_ACEOF
7888/* end confdefs.h. */
7889#include <ctype.h>
7890#if ((' ' & 0x0FF) == 0x020)
7891# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7892# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7893#else
7894# define ISLOWER(c) \
7895 (('a' <= (c) && (c) <= 'i') \
7896 || ('j' <= (c) && (c) <= 'r') \
7897 || ('s' <= (c) && (c) <= 'z'))
7898# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7899#endif
7900
7901#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7902int
7903main ()
7904{
7905 int i;
7906 for (i = 0; i < 256; i++)
7907 if (XOR (islower (i), ISLOWER (i))
7908 || toupper (i) != TOUPPER (i))
7909 exit(2);
7910 exit (0);
7911}
7912_ACEOF
7913rm -f conftest$ac_exeext
7914if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7915 (eval $ac_link) 2>&5
7916 ac_status=$?
7917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7918 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7920 (eval $ac_try) 2>&5
7921 ac_status=$?
7922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7923 (exit $ac_status); }; }; then
7924 :
7925else
7926 echo "$as_me: program exited with status $ac_status" >&5
7927echo "$as_me: failed program was:" >&5
7928sed 's/^/| /' conftest.$ac_ext >&5
7929
7930( exit $ac_status )
7931ac_cv_header_stdc=no
7932fi
7933rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7934fi
7935fi
7936fi
7937echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7938echo "${ECHO_T}$ac_cv_header_stdc" >&6
7939if test $ac_cv_header_stdc = yes; then
7940
7941cat >>confdefs.h <<\_ACEOF
7942#define STDC_HEADERS 1
7943_ACEOF
7944
7945fi
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958for ac_func in asprintf daemon get_current_dir_name putenv select strerror strsignal strtol unsetenv mlockall
7959do
7960as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7961echo "$as_me:$LINENO: checking for $ac_func" >&5
7962echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7963if eval "test \"\${$as_ac_var+set}\" = set"; then
7964 echo $ECHO_N "(cached) $ECHO_C" >&6
7965else
7966 cat >conftest.$ac_ext <<_ACEOF
7967#line $LINENO "configure"
7968/* confdefs.h. */
7969_ACEOF
7970cat confdefs.h >>conftest.$ac_ext
7971cat >>conftest.$ac_ext <<_ACEOF
7972/* end confdefs.h. */
7973/* System header to define __stub macros and hopefully few prototypes,
7974 which can conflict with char $ac_func (); below.
7975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7976 <limits.h> exists even on freestanding compilers. */
7977#ifdef __STDC__
7978# include <limits.h>
7979#else
7980# include <assert.h>
7981#endif
7982/* Override any gcc2 internal prototype to avoid an error. */
7983#ifdef __cplusplus
7984extern "C"
7985{
7986#endif
7987/* We use char because int might match the return type of a gcc2
7988 builtin and then its argument prototype would still apply. */
7989char $ac_func ();
7990/* The GNU C library defines this for functions which it implements
7991 to always fail with ENOSYS. Some functions are actually named
7992 something starting with __ and the normal name is an alias. */
7993#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7994choke me
7995#else
7996char (*f) () = $ac_func;
7997#endif
7998#ifdef __cplusplus
7999}
8000#endif
8001
8002int
8003main ()
8004{
8005return f != $ac_func;
8006 ;
8007 return 0;
8008}
8009_ACEOF
8010rm -f conftest.$ac_objext conftest$ac_exeext
8011if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8012 (eval $ac_link) 2>&5
8013 ac_status=$?
8014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8015 (exit $ac_status); } &&
8016 { ac_try='test -s conftest$ac_exeext'
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
8021 (exit $ac_status); }; }; then
8022 eval "$as_ac_var=yes"
8023else
8024 echo "$as_me: failed program was:" >&5
8025sed 's/^/| /' conftest.$ac_ext >&5
8026
8027eval "$as_ac_var=no"
8028fi
8029rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8030fi 8239fi
8031echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 8240echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8032echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8241echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8033if test `eval echo '${'$as_ac_var'}'` = yes; then 8242if test `eval echo '${'$as_ac_var'}'` = yes; then
8034 cat >>confdefs.h <<_ACEOF 8243 cat >>confdefs.h <<_ACEOF
8045echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 8254echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
8046if test "${ac_cv_working_alloca_h+set}" = set; then 8255if test "${ac_cv_working_alloca_h+set}" = set; then
8047 echo $ECHO_N "(cached) $ECHO_C" >&6 8256 echo $ECHO_N "(cached) $ECHO_C" >&6
8048else 8257else
8049 cat >conftest.$ac_ext <<_ACEOF 8258 cat >conftest.$ac_ext <<_ACEOF
8050#line $LINENO "configure"
8051/* confdefs.h. */ 8259/* confdefs.h. */
8052_ACEOF 8260_ACEOF
8053cat confdefs.h >>conftest.$ac_ext 8261cat confdefs.h >>conftest.$ac_ext
8054cat >>conftest.$ac_ext <<_ACEOF 8262cat >>conftest.$ac_ext <<_ACEOF
8055/* end confdefs.h. */ 8263/* end confdefs.h. */
8062 return 0; 8270 return 0;
8063} 8271}
8064_ACEOF 8272_ACEOF
8065rm -f conftest.$ac_objext conftest$ac_exeext 8273rm -f conftest.$ac_objext conftest$ac_exeext
8066if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8274if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8067 (eval $ac_link) 2>&5 8275 (eval $ac_link) 2>conftest.er1
8068 ac_status=$? 8276 ac_status=$?
8277 grep -v '^ *+' conftest.er1 >conftest.err
8278 rm -f conftest.er1
8279 cat conftest.err >&5
8069 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8070 (exit $ac_status); } && 8281 (exit $ac_status); } &&
8071 { ac_try='test -s conftest$ac_exeext' 8282 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8073 (eval $ac_try) 2>&5 8284 (eval $ac_try) 2>&5
8074 ac_status=$? 8285 ac_status=$?
8075 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8287 (exit $ac_status); }; } &&
8288 { ac_try='test -s conftest$ac_exeext'
8289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8290 (eval $ac_try) 2>&5
8291 ac_status=$?
8292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8076 (exit $ac_status); }; }; then 8293 (exit $ac_status); }; }; then
8077 ac_cv_working_alloca_h=yes 8294 ac_cv_working_alloca_h=yes
8078else 8295else
8079 echo "$as_me: failed program was:" >&5 8296 echo "$as_me: failed program was:" >&5
8080sed 's/^/| /' conftest.$ac_ext >&5 8297sed 's/^/| /' conftest.$ac_ext >&5
8081 8298
8082ac_cv_working_alloca_h=no 8299ac_cv_working_alloca_h=no
8083fi 8300fi
8084rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8301rm -f conftest.err conftest.$ac_objext \
8302 conftest$ac_exeext conftest.$ac_ext
8085fi 8303fi
8086echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 8304echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
8087echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 8305echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
8088if test $ac_cv_working_alloca_h = yes; then 8306if test $ac_cv_working_alloca_h = yes; then
8089 8307
8097echo $ECHO_N "checking for alloca... $ECHO_C" >&6 8315echo $ECHO_N "checking for alloca... $ECHO_C" >&6
8098if test "${ac_cv_func_alloca_works+set}" = set; then 8316if test "${ac_cv_func_alloca_works+set}" = set; then
8099 echo $ECHO_N "(cached) $ECHO_C" >&6 8317 echo $ECHO_N "(cached) $ECHO_C" >&6
8100else 8318else
8101 cat >conftest.$ac_ext <<_ACEOF 8319 cat >conftest.$ac_ext <<_ACEOF
8102#line $LINENO "configure"
8103/* confdefs.h. */ 8320/* confdefs.h. */
8104_ACEOF 8321_ACEOF
8105cat confdefs.h >>conftest.$ac_ext 8322cat confdefs.h >>conftest.$ac_ext
8106cat >>conftest.$ac_ext <<_ACEOF 8323cat >>conftest.$ac_ext <<_ACEOF
8107/* end confdefs.h. */ 8324/* end confdefs.h. */
8134 return 0; 8351 return 0;
8135} 8352}
8136_ACEOF 8353_ACEOF
8137rm -f conftest.$ac_objext conftest$ac_exeext 8354rm -f conftest.$ac_objext conftest$ac_exeext
8138if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8355if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8139 (eval $ac_link) 2>&5 8356 (eval $ac_link) 2>conftest.er1
8140 ac_status=$? 8357 ac_status=$?
8358 grep -v '^ *+' conftest.er1 >conftest.err
8359 rm -f conftest.er1
8360 cat conftest.err >&5
8141 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8142 (exit $ac_status); } && 8362 (exit $ac_status); } &&
8143 { ac_try='test -s conftest$ac_exeext' 8363 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8145 (eval $ac_try) 2>&5 8365 (eval $ac_try) 2>&5
8146 ac_status=$? 8366 ac_status=$?
8147 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8368 (exit $ac_status); }; } &&
8369 { ac_try='test -s conftest$ac_exeext'
8370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8371 (eval $ac_try) 2>&5
8372 ac_status=$?
8373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8148 (exit $ac_status); }; }; then 8374 (exit $ac_status); }; }; then
8149 ac_cv_func_alloca_works=yes 8375 ac_cv_func_alloca_works=yes
8150else 8376else
8151 echo "$as_me: failed program was:" >&5 8377 echo "$as_me: failed program was:" >&5
8152sed 's/^/| /' conftest.$ac_ext >&5 8378sed 's/^/| /' conftest.$ac_ext >&5
8153 8379
8154ac_cv_func_alloca_works=no 8380ac_cv_func_alloca_works=no
8155fi 8381fi
8156rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8382rm -f conftest.err conftest.$ac_objext \
8383 conftest$ac_exeext conftest.$ac_ext
8157fi 8384fi
8158echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 8385echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
8159echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 8386echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
8160 8387
8161if test $ac_cv_func_alloca_works = yes; then 8388if test $ac_cv_func_alloca_works = yes; then
8181echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 8408echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
8182if test "${ac_cv_os_cray+set}" = set; then 8409if test "${ac_cv_os_cray+set}" = set; then
8183 echo $ECHO_N "(cached) $ECHO_C" >&6 8410 echo $ECHO_N "(cached) $ECHO_C" >&6
8184else 8411else
8185 cat >conftest.$ac_ext <<_ACEOF 8412 cat >conftest.$ac_ext <<_ACEOF
8186#line $LINENO "configure"
8187/* confdefs.h. */ 8413/* confdefs.h. */
8188_ACEOF 8414_ACEOF
8189cat confdefs.h >>conftest.$ac_ext 8415cat confdefs.h >>conftest.$ac_ext
8190cat >>conftest.$ac_ext <<_ACEOF 8416cat >>conftest.$ac_ext <<_ACEOF
8191/* end confdefs.h. */ 8417/* end confdefs.h. */
8214echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8440echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8215if eval "test \"\${$as_ac_var+set}\" = set"; then 8441if eval "test \"\${$as_ac_var+set}\" = set"; then
8216 echo $ECHO_N "(cached) $ECHO_C" >&6 8442 echo $ECHO_N "(cached) $ECHO_C" >&6
8217else 8443else
8218 cat >conftest.$ac_ext <<_ACEOF 8444 cat >conftest.$ac_ext <<_ACEOF
8219#line $LINENO "configure"
8220/* confdefs.h. */ 8445/* confdefs.h. */
8221_ACEOF 8446_ACEOF
8222cat confdefs.h >>conftest.$ac_ext 8447cat confdefs.h >>conftest.$ac_ext
8223cat >>conftest.$ac_ext <<_ACEOF 8448cat >>conftest.$ac_ext <<_ACEOF
8224/* end confdefs.h. */ 8449/* end confdefs.h. */
8450/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8452#define $ac_func innocuous_$ac_func
8453
8225/* System header to define __stub macros and hopefully few prototypes, 8454/* System header to define __stub macros and hopefully few prototypes,
8226 which can conflict with char $ac_func (); below. 8455 which can conflict with char $ac_func (); below.
8227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8228 <limits.h> exists even on freestanding compilers. */ 8457 <limits.h> exists even on freestanding compilers. */
8458
8229#ifdef __STDC__ 8459#ifdef __STDC__
8230# include <limits.h> 8460# include <limits.h>
8231#else 8461#else
8232# include <assert.h> 8462# include <assert.h>
8233#endif 8463#endif
8464
8465#undef $ac_func
8466
8234/* Override any gcc2 internal prototype to avoid an error. */ 8467/* Override any gcc2 internal prototype to avoid an error. */
8235#ifdef __cplusplus 8468#ifdef __cplusplus
8236extern "C" 8469extern "C"
8237{ 8470{
8238#endif 8471#endif
8259 return 0; 8492 return 0;
8260} 8493}
8261_ACEOF 8494_ACEOF
8262rm -f conftest.$ac_objext conftest$ac_exeext 8495rm -f conftest.$ac_objext conftest$ac_exeext
8263if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8496if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8264 (eval $ac_link) 2>&5 8497 (eval $ac_link) 2>conftest.er1
8265 ac_status=$? 8498 ac_status=$?
8499 grep -v '^ *+' conftest.er1 >conftest.err
8500 rm -f conftest.er1
8501 cat conftest.err >&5
8266 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8267 (exit $ac_status); } && 8503 (exit $ac_status); } &&
8268 { ac_try='test -s conftest$ac_exeext' 8504 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8270 (eval $ac_try) 2>&5 8506 (eval $ac_try) 2>&5
8271 ac_status=$? 8507 ac_status=$?
8272 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8509 (exit $ac_status); }; } &&
8510 { ac_try='test -s conftest$ac_exeext'
8511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8512 (eval $ac_try) 2>&5
8513 ac_status=$?
8514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8273 (exit $ac_status); }; }; then 8515 (exit $ac_status); }; }; then
8274 eval "$as_ac_var=yes" 8516 eval "$as_ac_var=yes"
8275else 8517else
8276 echo "$as_me: failed program was:" >&5 8518 echo "$as_me: failed program was:" >&5
8277sed 's/^/| /' conftest.$ac_ext >&5 8519sed 's/^/| /' conftest.$ac_ext >&5
8278 8520
8279eval "$as_ac_var=no" 8521eval "$as_ac_var=no"
8280fi 8522fi
8281rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8523rm -f conftest.err conftest.$ac_objext \
8524 conftest$ac_exeext conftest.$ac_ext
8282fi 8525fi
8283echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 8526echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8284echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8527echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8285if test `eval echo '${'$as_ac_var'}'` = yes; then 8528if test `eval echo '${'$as_ac_var'}'` = yes; then
8286 8529
8301else 8544else
8302 if test "$cross_compiling" = yes; then 8545 if test "$cross_compiling" = yes; then
8303 ac_cv_c_stack_direction=0 8546 ac_cv_c_stack_direction=0
8304else 8547else
8305 cat >conftest.$ac_ext <<_ACEOF 8548 cat >conftest.$ac_ext <<_ACEOF
8306#line $LINENO "configure"
8307/* confdefs.h. */ 8549/* confdefs.h. */
8308_ACEOF 8550_ACEOF
8309cat confdefs.h >>conftest.$ac_ext 8551cat confdefs.h >>conftest.$ac_ext
8310cat >>conftest.$ac_ext <<_ACEOF 8552cat >>conftest.$ac_ext <<_ACEOF
8311/* end confdefs.h. */ 8553/* end confdefs.h. */
8368echo $ECHO_N "checking for socket... $ECHO_C" >&6 8610echo $ECHO_N "checking for socket... $ECHO_C" >&6
8369if test "${ac_cv_func_socket+set}" = set; then 8611if test "${ac_cv_func_socket+set}" = set; then
8370 echo $ECHO_N "(cached) $ECHO_C" >&6 8612 echo $ECHO_N "(cached) $ECHO_C" >&6
8371else 8613else
8372 cat >conftest.$ac_ext <<_ACEOF 8614 cat >conftest.$ac_ext <<_ACEOF
8373#line $LINENO "configure"
8374/* confdefs.h. */ 8615/* confdefs.h. */
8375_ACEOF 8616_ACEOF
8376cat confdefs.h >>conftest.$ac_ext 8617cat confdefs.h >>conftest.$ac_ext
8377cat >>conftest.$ac_ext <<_ACEOF 8618cat >>conftest.$ac_ext <<_ACEOF
8378/* end confdefs.h. */ 8619/* end confdefs.h. */
8620/* Define socket to an innocuous variant, in case <limits.h> declares socket.
8621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8622#define socket innocuous_socket
8623
8379/* System header to define __stub macros and hopefully few prototypes, 8624/* System header to define __stub macros and hopefully few prototypes,
8380 which can conflict with char socket (); below. 8625 which can conflict with char socket (); below.
8381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8382 <limits.h> exists even on freestanding compilers. */ 8627 <limits.h> exists even on freestanding compilers. */
8628
8383#ifdef __STDC__ 8629#ifdef __STDC__
8384# include <limits.h> 8630# include <limits.h>
8385#else 8631#else
8386# include <assert.h> 8632# include <assert.h>
8387#endif 8633#endif
8634
8635#undef socket
8636
8388/* Override any gcc2 internal prototype to avoid an error. */ 8637/* Override any gcc2 internal prototype to avoid an error. */
8389#ifdef __cplusplus 8638#ifdef __cplusplus
8390extern "C" 8639extern "C"
8391{ 8640{
8392#endif 8641#endif
8413 return 0; 8662 return 0;
8414} 8663}
8415_ACEOF 8664_ACEOF
8416rm -f conftest.$ac_objext conftest$ac_exeext 8665rm -f conftest.$ac_objext conftest$ac_exeext
8417if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8666if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8418 (eval $ac_link) 2>&5 8667 (eval $ac_link) 2>conftest.er1
8419 ac_status=$? 8668 ac_status=$?
8669 grep -v '^ *+' conftest.er1 >conftest.err
8670 rm -f conftest.er1
8671 cat conftest.err >&5
8420 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8421 (exit $ac_status); } && 8673 (exit $ac_status); } &&
8422 { ac_try='test -s conftest$ac_exeext' 8674 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8424 (eval $ac_try) 2>&5 8676 (eval $ac_try) 2>&5
8425 ac_status=$? 8677 ac_status=$?
8426 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8679 (exit $ac_status); }; } &&
8680 { ac_try='test -s conftest$ac_exeext'
8681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8682 (eval $ac_try) 2>&5
8683 ac_status=$?
8684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8427 (exit $ac_status); }; }; then 8685 (exit $ac_status); }; }; then
8428 ac_cv_func_socket=yes 8686 ac_cv_func_socket=yes
8429else 8687else
8430 echo "$as_me: failed program was:" >&5 8688 echo "$as_me: failed program was:" >&5
8431sed 's/^/| /' conftest.$ac_ext >&5 8689sed 's/^/| /' conftest.$ac_ext >&5
8432 8690
8433ac_cv_func_socket=no 8691ac_cv_func_socket=no
8434fi 8692fi
8435rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8693rm -f conftest.err conftest.$ac_objext \
8694 conftest$ac_exeext conftest.$ac_ext
8436fi 8695fi
8437echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 8696echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
8438echo "${ECHO_T}$ac_cv_func_socket" >&6 8697echo "${ECHO_T}$ac_cv_func_socket" >&6
8439if test $ac_cv_func_socket = yes; then 8698if test $ac_cv_func_socket = yes; then
8440 : 8699 :
8447 echo $ECHO_N "(cached) $ECHO_C" >&6 8706 echo $ECHO_N "(cached) $ECHO_C" >&6
8448else 8707else
8449 ac_check_lib_save_LIBS=$LIBS 8708 ac_check_lib_save_LIBS=$LIBS
8450LIBS="-lsocket $LIBS" 8709LIBS="-lsocket $LIBS"
8451cat >conftest.$ac_ext <<_ACEOF 8710cat >conftest.$ac_ext <<_ACEOF
8452#line $LINENO "configure"
8453/* confdefs.h. */ 8711/* confdefs.h. */
8454_ACEOF 8712_ACEOF
8455cat confdefs.h >>conftest.$ac_ext 8713cat confdefs.h >>conftest.$ac_ext
8456cat >>conftest.$ac_ext <<_ACEOF 8714cat >>conftest.$ac_ext <<_ACEOF
8457/* end confdefs.h. */ 8715/* end confdefs.h. */
8471 return 0; 8729 return 0;
8472} 8730}
8473_ACEOF 8731_ACEOF
8474rm -f conftest.$ac_objext conftest$ac_exeext 8732rm -f conftest.$ac_objext conftest$ac_exeext
8475if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8733if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8476 (eval $ac_link) 2>&5 8734 (eval $ac_link) 2>conftest.er1
8477 ac_status=$? 8735 ac_status=$?
8736 grep -v '^ *+' conftest.er1 >conftest.err
8737 rm -f conftest.er1
8738 cat conftest.err >&5
8478 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8479 (exit $ac_status); } && 8740 (exit $ac_status); } &&
8480 { ac_try='test -s conftest$ac_exeext' 8741 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8482 (eval $ac_try) 2>&5 8743 (eval $ac_try) 2>&5
8483 ac_status=$? 8744 ac_status=$?
8484 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8746 (exit $ac_status); }; } &&
8747 { ac_try='test -s conftest$ac_exeext'
8748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8749 (eval $ac_try) 2>&5
8750 ac_status=$?
8751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8485 (exit $ac_status); }; }; then 8752 (exit $ac_status); }; }; then
8486 ac_cv_lib_socket_connect=yes 8753 ac_cv_lib_socket_connect=yes
8487else 8754else
8488 echo "$as_me: failed program was:" >&5 8755 echo "$as_me: failed program was:" >&5
8489sed 's/^/| /' conftest.$ac_ext >&5 8756sed 's/^/| /' conftest.$ac_ext >&5
8490 8757
8491ac_cv_lib_socket_connect=no 8758ac_cv_lib_socket_connect=no
8492fi 8759fi
8493rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8760rm -f conftest.err conftest.$ac_objext \
8761 conftest$ac_exeext conftest.$ac_ext
8494LIBS=$ac_check_lib_save_LIBS 8762LIBS=$ac_check_lib_save_LIBS
8495fi 8763fi
8496echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 8764echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
8497echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6 8765echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
8498if test $ac_cv_lib_socket_connect = yes; then 8766if test $ac_cv_lib_socket_connect = yes; then
8511echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 8779echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
8512if test "${ac_cv_func_gethostbyname+set}" = set; then 8780if test "${ac_cv_func_gethostbyname+set}" = set; then
8513 echo $ECHO_N "(cached) $ECHO_C" >&6 8781 echo $ECHO_N "(cached) $ECHO_C" >&6
8514else 8782else
8515 cat >conftest.$ac_ext <<_ACEOF 8783 cat >conftest.$ac_ext <<_ACEOF
8516#line $LINENO "configure"
8517/* confdefs.h. */ 8784/* confdefs.h. */
8518_ACEOF 8785_ACEOF
8519cat confdefs.h >>conftest.$ac_ext 8786cat confdefs.h >>conftest.$ac_ext
8520cat >>conftest.$ac_ext <<_ACEOF 8787cat >>conftest.$ac_ext <<_ACEOF
8521/* end confdefs.h. */ 8788/* end confdefs.h. */
8789/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
8790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8791#define gethostbyname innocuous_gethostbyname
8792
8522/* System header to define __stub macros and hopefully few prototypes, 8793/* System header to define __stub macros and hopefully few prototypes,
8523 which can conflict with char gethostbyname (); below. 8794 which can conflict with char gethostbyname (); below.
8524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8525 <limits.h> exists even on freestanding compilers. */ 8796 <limits.h> exists even on freestanding compilers. */
8797
8526#ifdef __STDC__ 8798#ifdef __STDC__
8527# include <limits.h> 8799# include <limits.h>
8528#else 8800#else
8529# include <assert.h> 8801# include <assert.h>
8530#endif 8802#endif
8803
8804#undef gethostbyname
8805
8531/* Override any gcc2 internal prototype to avoid an error. */ 8806/* Override any gcc2 internal prototype to avoid an error. */
8532#ifdef __cplusplus 8807#ifdef __cplusplus
8533extern "C" 8808extern "C"
8534{ 8809{
8535#endif 8810#endif
8556 return 0; 8831 return 0;
8557} 8832}
8558_ACEOF 8833_ACEOF
8559rm -f conftest.$ac_objext conftest$ac_exeext 8834rm -f conftest.$ac_objext conftest$ac_exeext
8560if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8835if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8561 (eval $ac_link) 2>&5 8836 (eval $ac_link) 2>conftest.er1
8562 ac_status=$? 8837 ac_status=$?
8838 grep -v '^ *+' conftest.er1 >conftest.err
8839 rm -f conftest.er1
8840 cat conftest.err >&5
8563 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8564 (exit $ac_status); } && 8842 (exit $ac_status); } &&
8565 { ac_try='test -s conftest$ac_exeext' 8843 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8567 (eval $ac_try) 2>&5 8845 (eval $ac_try) 2>&5
8568 ac_status=$? 8846 ac_status=$?
8569 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8848 (exit $ac_status); }; } &&
8849 { ac_try='test -s conftest$ac_exeext'
8850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8851 (eval $ac_try) 2>&5
8852 ac_status=$?
8853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8570 (exit $ac_status); }; }; then 8854 (exit $ac_status); }; }; then
8571 ac_cv_func_gethostbyname=yes 8855 ac_cv_func_gethostbyname=yes
8572else 8856else
8573 echo "$as_me: failed program was:" >&5 8857 echo "$as_me: failed program was:" >&5
8574sed 's/^/| /' conftest.$ac_ext >&5 8858sed 's/^/| /' conftest.$ac_ext >&5
8575 8859
8576ac_cv_func_gethostbyname=no 8860ac_cv_func_gethostbyname=no
8577fi 8861fi
8578rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8862rm -f conftest.err conftest.$ac_objext \
8863 conftest$ac_exeext conftest.$ac_ext
8579fi 8864fi
8580echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 8865echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
8581echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 8866echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
8582if test $ac_cv_func_gethostbyname = yes; then 8867if test $ac_cv_func_gethostbyname = yes; then
8583 : 8868 :
8590 echo $ECHO_N "(cached) $ECHO_C" >&6 8875 echo $ECHO_N "(cached) $ECHO_C" >&6
8591else 8876else
8592 ac_check_lib_save_LIBS=$LIBS 8877 ac_check_lib_save_LIBS=$LIBS
8593LIBS="-lnsl $LIBS" 8878LIBS="-lnsl $LIBS"
8594cat >conftest.$ac_ext <<_ACEOF 8879cat >conftest.$ac_ext <<_ACEOF
8595#line $LINENO "configure"
8596/* confdefs.h. */ 8880/* confdefs.h. */
8597_ACEOF 8881_ACEOF
8598cat confdefs.h >>conftest.$ac_ext 8882cat confdefs.h >>conftest.$ac_ext
8599cat >>conftest.$ac_ext <<_ACEOF 8883cat >>conftest.$ac_ext <<_ACEOF
8600/* end confdefs.h. */ 8884/* end confdefs.h. */
8614 return 0; 8898 return 0;
8615} 8899}
8616_ACEOF 8900_ACEOF
8617rm -f conftest.$ac_objext conftest$ac_exeext 8901rm -f conftest.$ac_objext conftest$ac_exeext
8618if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8902if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8619 (eval $ac_link) 2>&5 8903 (eval $ac_link) 2>conftest.er1
8620 ac_status=$? 8904 ac_status=$?
8905 grep -v '^ *+' conftest.er1 >conftest.err
8906 rm -f conftest.er1
8907 cat conftest.err >&5
8621 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8622 (exit $ac_status); } && 8909 (exit $ac_status); } &&
8623 { ac_try='test -s conftest$ac_exeext' 8910 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8625 (eval $ac_try) 2>&5 8912 (eval $ac_try) 2>&5
8626 ac_status=$? 8913 ac_status=$?
8627 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915 (exit $ac_status); }; } &&
8916 { ac_try='test -s conftest$ac_exeext'
8917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8918 (eval $ac_try) 2>&5
8919 ac_status=$?
8920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8628 (exit $ac_status); }; }; then 8921 (exit $ac_status); }; }; then
8629 ac_cv_lib_nsl_gethostbyname=yes 8922 ac_cv_lib_nsl_gethostbyname=yes
8630else 8923else
8631 echo "$as_me: failed program was:" >&5 8924 echo "$as_me: failed program was:" >&5
8632sed 's/^/| /' conftest.$ac_ext >&5 8925sed 's/^/| /' conftest.$ac_ext >&5
8633 8926
8634ac_cv_lib_nsl_gethostbyname=no 8927ac_cv_lib_nsl_gethostbyname=no
8635fi 8928fi
8636rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8929rm -f conftest.err conftest.$ac_objext \
8930 conftest$ac_exeext conftest.$ac_ext
8637LIBS=$ac_check_lib_save_LIBS 8931LIBS=$ac_check_lib_save_LIBS
8638fi 8932fi
8639echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 8933echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
8640echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 8934echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
8641if test $ac_cv_lib_nsl_gethostbyname = yes; then 8935if test $ac_cv_lib_nsl_gethostbyname = yes; then
8685 case `(ac_space=' '; set | grep ac_space) 2>&1` in 8979 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8686 *ac_space=\ *) 8980 *ac_space=\ *)
8687 # `set' does not quote correctly, so add quotes (double-quote 8981 # `set' does not quote correctly, so add quotes (double-quote
8688 # substitution turns \\\\ into \\, and sed turns \\ into \). 8982 # substitution turns \\\\ into \\, and sed turns \\ into \).
8689 sed -n \ 8983 sed -n \
8690 "s/'/'\\\\''/g; 8984 "s/'/'\\\\''/g;
8691 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 8985 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8692 ;; 8986 ;;
8693 *) 8987 *)
8694 # `set' quotes correctly as required by POSIX, so do not add quotes. 8988 # `set' quotes correctly as required by POSIX, so do not add quotes.
8695 sed -n \ 8989 sed -n \
8696 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 8990 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8697 ;; 8991 ;;
8698 esac; 8992 esac;
8699} | 8993} |
8700 sed ' 8994 sed '
8701 t clear 8995 t clear
8730if test "${tinc_cv_linux_if_tun_h+set}" = set; then 9024if test "${tinc_cv_linux_if_tun_h+set}" = set; then
8731 echo $ECHO_N "(cached) $ECHO_C" >&6 9025 echo $ECHO_N "(cached) $ECHO_C" >&6
8732else 9026else
8733 9027
8734 cat >conftest.$ac_ext <<_ACEOF 9028 cat >conftest.$ac_ext <<_ACEOF
8735#line $LINENO "configure"
8736/* confdefs.h. */ 9029/* confdefs.h. */
8737_ACEOF 9030_ACEOF
8738cat confdefs.h >>conftest.$ac_ext 9031cat confdefs.h >>conftest.$ac_ext
8739cat >>conftest.$ac_ext <<_ACEOF 9032cat >>conftest.$ac_ext <<_ACEOF
8740/* end confdefs.h. */ 9033/* end confdefs.h. */
8747 return 0; 9040 return 0;
8748} 9041}
8749_ACEOF 9042_ACEOF
8750rm -f conftest.$ac_objext 9043rm -f conftest.$ac_objext
8751if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9044if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8752 (eval $ac_compile) 2>&5 9045 (eval $ac_compile) 2>conftest.er1
8753 ac_status=$? 9046 ac_status=$?
9047 grep -v '^ *+' conftest.er1 >conftest.err
9048 rm -f conftest.er1
9049 cat conftest.err >&5
8754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8755 (exit $ac_status); } && 9051 (exit $ac_status); } &&
8756 { ac_try='test -s conftest.$ac_objext' 9052 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8758 (eval $ac_try) 2>&5 9054 (eval $ac_try) 2>&5
8759 ac_status=$? 9055 ac_status=$?
8760 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9057 (exit $ac_status); }; } &&
9058 { ac_try='test -s conftest.$ac_objext'
9059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9060 (eval $ac_try) 2>&5
9061 ac_status=$?
9062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8761 (exit $ac_status); }; }; then 9063 (exit $ac_status); }; }; then
8762 if_tun_h="\"$kerneldir/include/linux/if_tun.h\"" 9064 if_tun_h="\"$kerneldir/include/linux/if_tun.h\""
8763else 9065else
8764 echo "$as_me: failed program was:" >&5 9066 echo "$as_me: failed program was:" >&5
8765sed 's/^/| /' conftest.$ac_ext >&5 9067sed 's/^/| /' conftest.$ac_ext >&5
8766 9068
8767cat >conftest.$ac_ext <<_ACEOF 9069cat >conftest.$ac_ext <<_ACEOF
8768#line $LINENO "configure"
8769/* confdefs.h. */ 9070/* confdefs.h. */
8770_ACEOF 9071_ACEOF
8771cat confdefs.h >>conftest.$ac_ext 9072cat confdefs.h >>conftest.$ac_ext
8772cat >>conftest.$ac_ext <<_ACEOF 9073cat >>conftest.$ac_ext <<_ACEOF
8773/* end confdefs.h. */ 9074/* end confdefs.h. */
8780 return 0; 9081 return 0;
8781} 9082}
8782_ACEOF 9083_ACEOF
8783rm -f conftest.$ac_objext 9084rm -f conftest.$ac_objext
8784if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9085if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8785 (eval $ac_compile) 2>&5 9086 (eval $ac_compile) 2>conftest.er1
8786 ac_status=$? 9087 ac_status=$?
9088 grep -v '^ *+' conftest.er1 >conftest.err
9089 rm -f conftest.er1
9090 cat conftest.err >&5
8787 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8788 (exit $ac_status); } && 9092 (exit $ac_status); } &&
8789 { ac_try='test -s conftest.$ac_objext' 9093 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8791 (eval $ac_try) 2>&5 9095 (eval $ac_try) 2>&5
8792 ac_status=$? 9096 ac_status=$?
8793 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9098 (exit $ac_status); }; } &&
9099 { ac_try='test -s conftest.$ac_objext'
9100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9101 (eval $ac_try) 2>&5
9102 ac_status=$?
9103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8794 (exit $ac_status); }; }; then 9104 (exit $ac_status); }; }; then
8795 if_tun_h="default" 9105 if_tun_h="default"
8796else 9106else
8797 echo "$as_me: failed program was:" >&5 9107 echo "$as_me: failed program was:" >&5
8798sed 's/^/| /' conftest.$ac_ext >&5 9108sed 's/^/| /' conftest.$ac_ext >&5
8799 9109
8800if_tun_h="no" 9110if_tun_h="no"
8801 9111
8802fi 9112fi
8803rm -f conftest.$ac_objext conftest.$ac_ext 9113rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8804 9114
8805fi 9115fi
8806rm -f conftest.$ac_objext conftest.$ac_ext 9116rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8807 9117
8808 if test $if_tun_h = no; then 9118 if test $if_tun_h = no; then
8809 tinc_cv_linux_if_tun_h=none 9119 tinc_cv_linux_if_tun_h=none
8810 else 9120 else
8811 tinc_cv_linux_if_tun_h="$if_tun_h" 9121 tinc_cv_linux_if_tun_h="$if_tun_h"
8827#define LINUX_IF_TUN_H $tinc_cv_linux_if_tun_h 9137#define LINUX_IF_TUN_H $tinc_cv_linux_if_tun_h
8828_ACEOF 9138_ACEOF
8829 9139
8830 fi 9140 fi
8831fi 9141fi
9142
8832 9143
8833 9144
8834 9145
8835 9146
8836 tinc_ac_save_CPPFLAGS="$CPPFLAGS" 9147 tinc_ac_save_CPPFLAGS="$CPPFLAGS"
8874else 9185else
8875 # Is the header compilable? 9186 # Is the header compilable?
8876echo "$as_me:$LINENO: checking $ac_header usability" >&5 9187echo "$as_me:$LINENO: checking $ac_header usability" >&5
8877echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 9188echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8878cat >conftest.$ac_ext <<_ACEOF 9189cat >conftest.$ac_ext <<_ACEOF
8879#line $LINENO "configure"
8880/* confdefs.h. */ 9190/* confdefs.h. */
8881_ACEOF 9191_ACEOF
8882cat confdefs.h >>conftest.$ac_ext 9192cat confdefs.h >>conftest.$ac_ext
8883cat >>conftest.$ac_ext <<_ACEOF 9193cat >>conftest.$ac_ext <<_ACEOF
8884/* end confdefs.h. */ 9194/* end confdefs.h. */
8885$ac_includes_default 9195$ac_includes_default
8886#include <$ac_header> 9196#include <$ac_header>
8887_ACEOF 9197_ACEOF
8888rm -f conftest.$ac_objext 9198rm -f conftest.$ac_objext
8889if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9199if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8890 (eval $ac_compile) 2>&5 9200 (eval $ac_compile) 2>conftest.er1
8891 ac_status=$? 9201 ac_status=$?
9202 grep -v '^ *+' conftest.er1 >conftest.err
9203 rm -f conftest.er1
9204 cat conftest.err >&5
8892 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8893 (exit $ac_status); } && 9206 (exit $ac_status); } &&
8894 { ac_try='test -s conftest.$ac_objext' 9207 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8896 (eval $ac_try) 2>&5 9209 (eval $ac_try) 2>&5
8897 ac_status=$? 9210 ac_status=$?
8898 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9212 (exit $ac_status); }; } &&
9213 { ac_try='test -s conftest.$ac_objext'
9214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9215 (eval $ac_try) 2>&5
9216 ac_status=$?
9217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8899 (exit $ac_status); }; }; then 9218 (exit $ac_status); }; }; then
8900 ac_header_compiler=yes 9219 ac_header_compiler=yes
8901else 9220else
8902 echo "$as_me: failed program was:" >&5 9221 echo "$as_me: failed program was:" >&5
8903sed 's/^/| /' conftest.$ac_ext >&5 9222sed 's/^/| /' conftest.$ac_ext >&5
8904 9223
8905ac_header_compiler=no 9224ac_header_compiler=no
8906fi 9225fi
8907rm -f conftest.$ac_objext conftest.$ac_ext 9226rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8908echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9227echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8909echo "${ECHO_T}$ac_header_compiler" >&6 9228echo "${ECHO_T}$ac_header_compiler" >&6
8910 9229
8911# Is the header present? 9230# Is the header present?
8912echo "$as_me:$LINENO: checking $ac_header presence" >&5 9231echo "$as_me:$LINENO: checking $ac_header presence" >&5
8913echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 9232echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8914cat >conftest.$ac_ext <<_ACEOF 9233cat >conftest.$ac_ext <<_ACEOF
8915#line $LINENO "configure"
8916/* confdefs.h. */ 9234/* confdefs.h. */
8917_ACEOF 9235_ACEOF
8918cat confdefs.h >>conftest.$ac_ext 9236cat confdefs.h >>conftest.$ac_ext
8919cat >>conftest.$ac_ext <<_ACEOF 9237cat >>conftest.$ac_ext <<_ACEOF
8920/* end confdefs.h. */ 9238/* end confdefs.h. */
8928 cat conftest.err >&5 9246 cat conftest.err >&5
8929 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8930 (exit $ac_status); } >/dev/null; then 9248 (exit $ac_status); } >/dev/null; then
8931 if test -s conftest.err; then 9249 if test -s conftest.err; then
8932 ac_cpp_err=$ac_cxx_preproc_warn_flag 9250 ac_cpp_err=$ac_cxx_preproc_warn_flag
9251 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8933 else 9252 else
8934 ac_cpp_err= 9253 ac_cpp_err=
8935 fi 9254 fi
8936else 9255else
8937 ac_cpp_err=yes 9256 ac_cpp_err=yes
8947rm -f conftest.err conftest.$ac_ext 9266rm -f conftest.err conftest.$ac_ext
8948echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9267echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8949echo "${ECHO_T}$ac_header_preproc" >&6 9268echo "${ECHO_T}$ac_header_preproc" >&6
8950 9269
8951# So? What about this header? 9270# So? What about this header?
8952case $ac_header_compiler:$ac_header_preproc in 9271case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8953 yes:no ) 9272 yes:no: )
8954 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9273 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8955echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9274echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9276echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9277 ac_header_preproc=yes
9278 ;;
9279 no:yes:* )
9280 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9281echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9282 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9283echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9284 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9285echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9286 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9287echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8956 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9288 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8957echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9289echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9290 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9291echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8958 ( 9292 (
8959 cat <<\_ASBOX 9293 cat <<\_ASBOX
8960## ------------------------------------ ## 9294## ------------------------------------------ ##
8961## Report this to bug-autoconf@gnu.org. ## 9295## Report this to the AC_PACKAGE_NAME lists. ##
8962## ------------------------------------ ## 9296## ------------------------------------------ ##
8963_ASBOX
8964 ) |
8965 sed "s/^/$as_me: WARNING: /" >&2
8966 ;;
8967 no:yes )
8968 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8969echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8970 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8971echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8972 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8973echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8974 (
8975 cat <<\_ASBOX
8976## ------------------------------------ ##
8977## Report this to bug-autoconf@gnu.org. ##
8978## ------------------------------------ ##
8979_ASBOX 9297_ASBOX
8980 ) | 9298 ) |
8981 sed "s/^/$as_me: WARNING: /" >&2 9299 sed "s/^/$as_me: WARNING: /" >&2
8982 ;; 9300 ;;
8983esac 9301esac
8984echo "$as_me:$LINENO: checking for $ac_header" >&5 9302echo "$as_me:$LINENO: checking for $ac_header" >&5
8985echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9303echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8986if eval "test \"\${$as_ac_Header+set}\" = set"; then 9304if eval "test \"\${$as_ac_Header+set}\" = set"; then
8987 echo $ECHO_N "(cached) $ECHO_C" >&6 9305 echo $ECHO_N "(cached) $ECHO_C" >&6
8988else 9306else
8989 eval "$as_ac_Header=$ac_header_preproc" 9307 eval "$as_ac_Header=\$ac_header_preproc"
8990fi 9308fi
8991echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 9309echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8992echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9310echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8993 9311
8994fi 9312fi
9015 echo $ECHO_N "(cached) $ECHO_C" >&6 9333 echo $ECHO_N "(cached) $ECHO_C" >&6
9016else 9334else
9017 ac_check_lib_save_LIBS=$LIBS 9335 ac_check_lib_save_LIBS=$LIBS
9018LIBS="-lcrypto $LIBS" 9336LIBS="-lcrypto $LIBS"
9019cat >conftest.$ac_ext <<_ACEOF 9337cat >conftest.$ac_ext <<_ACEOF
9020#line $LINENO "configure"
9021/* confdefs.h. */ 9338/* confdefs.h. */
9022_ACEOF 9339_ACEOF
9023cat confdefs.h >>conftest.$ac_ext 9340cat confdefs.h >>conftest.$ac_ext
9024cat >>conftest.$ac_ext <<_ACEOF 9341cat >>conftest.$ac_ext <<_ACEOF
9025/* end confdefs.h. */ 9342/* end confdefs.h. */
9039 return 0; 9356 return 0;
9040} 9357}
9041_ACEOF 9358_ACEOF
9042rm -f conftest.$ac_objext conftest$ac_exeext 9359rm -f conftest.$ac_objext conftest$ac_exeext
9043if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9360if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9044 (eval $ac_link) 2>&5 9361 (eval $ac_link) 2>conftest.er1
9045 ac_status=$? 9362 ac_status=$?
9363 grep -v '^ *+' conftest.er1 >conftest.err
9364 rm -f conftest.er1
9365 cat conftest.err >&5
9046 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9047 (exit $ac_status); } && 9367 (exit $ac_status); } &&
9048 { ac_try='test -s conftest$ac_exeext' 9368 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9050 (eval $ac_try) 2>&5 9370 (eval $ac_try) 2>&5
9051 ac_status=$? 9371 ac_status=$?
9052 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9373 (exit $ac_status); }; } &&
9374 { ac_try='test -s conftest$ac_exeext'
9375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9376 (eval $ac_try) 2>&5
9377 ac_status=$?
9378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9053 (exit $ac_status); }; }; then 9379 (exit $ac_status); }; }; then
9054 ac_cv_lib_crypto_SHA1_version=yes 9380 ac_cv_lib_crypto_SHA1_version=yes
9055else 9381else
9056 echo "$as_me: failed program was:" >&5 9382 echo "$as_me: failed program was:" >&5
9057sed 's/^/| /' conftest.$ac_ext >&5 9383sed 's/^/| /' conftest.$ac_ext >&5
9058 9384
9059ac_cv_lib_crypto_SHA1_version=no 9385ac_cv_lib_crypto_SHA1_version=no
9060fi 9386fi
9061rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9387rm -f conftest.err conftest.$ac_objext \
9388 conftest$ac_exeext conftest.$ac_ext
9062LIBS=$ac_check_lib_save_LIBS 9389LIBS=$ac_check_lib_save_LIBS
9063fi 9390fi
9064echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_SHA1_version" >&5 9391echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_SHA1_version" >&5
9065echo "${ECHO_T}$ac_cv_lib_crypto_SHA1_version" >&6 9392echo "${ECHO_T}$ac_cv_lib_crypto_SHA1_version" >&6
9066if test $ac_cv_lib_crypto_SHA1_version = yes; then 9393if test $ac_cv_lib_crypto_SHA1_version = yes; then
9084echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9411echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9085if eval "test \"\${$as_ac_var+set}\" = set"; then 9412if eval "test \"\${$as_ac_var+set}\" = set"; then
9086 echo $ECHO_N "(cached) $ECHO_C" >&6 9413 echo $ECHO_N "(cached) $ECHO_C" >&6
9087else 9414else
9088 cat >conftest.$ac_ext <<_ACEOF 9415 cat >conftest.$ac_ext <<_ACEOF
9089#line $LINENO "configure"
9090/* confdefs.h. */ 9416/* confdefs.h. */
9091_ACEOF 9417_ACEOF
9092cat confdefs.h >>conftest.$ac_ext 9418cat confdefs.h >>conftest.$ac_ext
9093cat >>conftest.$ac_ext <<_ACEOF 9419cat >>conftest.$ac_ext <<_ACEOF
9094/* end confdefs.h. */ 9420/* end confdefs.h. */
9421/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9423#define $ac_func innocuous_$ac_func
9424
9095/* System header to define __stub macros and hopefully few prototypes, 9425/* System header to define __stub macros and hopefully few prototypes,
9096 which can conflict with char $ac_func (); below. 9426 which can conflict with char $ac_func (); below.
9097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 9427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9098 <limits.h> exists even on freestanding compilers. */ 9428 <limits.h> exists even on freestanding compilers. */
9429
9099#ifdef __STDC__ 9430#ifdef __STDC__
9100# include <limits.h> 9431# include <limits.h>
9101#else 9432#else
9102# include <assert.h> 9433# include <assert.h>
9103#endif 9434#endif
9435
9436#undef $ac_func
9437
9104/* Override any gcc2 internal prototype to avoid an error. */ 9438/* Override any gcc2 internal prototype to avoid an error. */
9105#ifdef __cplusplus 9439#ifdef __cplusplus
9106extern "C" 9440extern "C"
9107{ 9441{
9108#endif 9442#endif
9129 return 0; 9463 return 0;
9130} 9464}
9131_ACEOF 9465_ACEOF
9132rm -f conftest.$ac_objext conftest$ac_exeext 9466rm -f conftest.$ac_objext conftest$ac_exeext
9133if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9467if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9134 (eval $ac_link) 2>&5 9468 (eval $ac_link) 2>conftest.er1
9135 ac_status=$? 9469 ac_status=$?
9470 grep -v '^ *+' conftest.er1 >conftest.err
9471 rm -f conftest.er1
9472 cat conftest.err >&5
9136 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9137 (exit $ac_status); } && 9474 (exit $ac_status); } &&
9138 { ac_try='test -s conftest$ac_exeext' 9475 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9140 (eval $ac_try) 2>&5 9477 (eval $ac_try) 2>&5
9141 ac_status=$? 9478 ac_status=$?
9142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9480 (exit $ac_status); }; } &&
9481 { ac_try='test -s conftest$ac_exeext'
9482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9483 (eval $ac_try) 2>&5
9484 ac_status=$?
9485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9143 (exit $ac_status); }; }; then 9486 (exit $ac_status); }; }; then
9144 eval "$as_ac_var=yes" 9487 eval "$as_ac_var=yes"
9145else 9488else
9146 echo "$as_me: failed program was:" >&5 9489 echo "$as_me: failed program was:" >&5
9147sed 's/^/| /' conftest.$ac_ext >&5 9490sed 's/^/| /' conftest.$ac_ext >&5
9148 9491
9149eval "$as_ac_var=no" 9492eval "$as_ac_var=no"
9150fi 9493fi
9151rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9494rm -f conftest.err conftest.$ac_objext \
9495 conftest$ac_exeext conftest.$ac_ext
9152fi 9496fi
9153echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 9497echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9154echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9498echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9155if test `eval echo '${'$as_ac_var'}'` = yes; then 9499if test `eval echo '${'$as_ac_var'}'` = yes; then
9156 cat >>confdefs.h <<_ACEOF 9500 cat >>confdefs.h <<_ACEOF
9165echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 9509echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9166if test "${ac_cv_func_dlopen+set}" = set; then 9510if test "${ac_cv_func_dlopen+set}" = set; then
9167 echo $ECHO_N "(cached) $ECHO_C" >&6 9511 echo $ECHO_N "(cached) $ECHO_C" >&6
9168else 9512else
9169 cat >conftest.$ac_ext <<_ACEOF 9513 cat >conftest.$ac_ext <<_ACEOF
9170#line $LINENO "configure"
9171/* confdefs.h. */ 9514/* confdefs.h. */
9172_ACEOF 9515_ACEOF
9173cat confdefs.h >>conftest.$ac_ext 9516cat confdefs.h >>conftest.$ac_ext
9174cat >>conftest.$ac_ext <<_ACEOF 9517cat >>conftest.$ac_ext <<_ACEOF
9175/* end confdefs.h. */ 9518/* end confdefs.h. */
9519/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9521#define dlopen innocuous_dlopen
9522
9176/* System header to define __stub macros and hopefully few prototypes, 9523/* System header to define __stub macros and hopefully few prototypes,
9177 which can conflict with char dlopen (); below. 9524 which can conflict with char dlopen (); below.
9178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 9525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9179 <limits.h> exists even on freestanding compilers. */ 9526 <limits.h> exists even on freestanding compilers. */
9527
9180#ifdef __STDC__ 9528#ifdef __STDC__
9181# include <limits.h> 9529# include <limits.h>
9182#else 9530#else
9183# include <assert.h> 9531# include <assert.h>
9184#endif 9532#endif
9533
9534#undef dlopen
9535
9185/* Override any gcc2 internal prototype to avoid an error. */ 9536/* Override any gcc2 internal prototype to avoid an error. */
9186#ifdef __cplusplus 9537#ifdef __cplusplus
9187extern "C" 9538extern "C"
9188{ 9539{
9189#endif 9540#endif
9210 return 0; 9561 return 0;
9211} 9562}
9212_ACEOF 9563_ACEOF
9213rm -f conftest.$ac_objext conftest$ac_exeext 9564rm -f conftest.$ac_objext conftest$ac_exeext
9214if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9565if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9215 (eval $ac_link) 2>&5 9566 (eval $ac_link) 2>conftest.er1
9216 ac_status=$? 9567 ac_status=$?
9568 grep -v '^ *+' conftest.er1 >conftest.err
9569 rm -f conftest.er1
9570 cat conftest.err >&5
9217 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9218 (exit $ac_status); } && 9572 (exit $ac_status); } &&
9219 { ac_try='test -s conftest$ac_exeext' 9573 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9221 (eval $ac_try) 2>&5 9575 (eval $ac_try) 2>&5
9222 ac_status=$? 9576 ac_status=$?
9223 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9578 (exit $ac_status); }; } &&
9579 { ac_try='test -s conftest$ac_exeext'
9580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9581 (eval $ac_try) 2>&5
9582 ac_status=$?
9583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9224 (exit $ac_status); }; }; then 9584 (exit $ac_status); }; }; then
9225 ac_cv_func_dlopen=yes 9585 ac_cv_func_dlopen=yes
9226else 9586else
9227 echo "$as_me: failed program was:" >&5 9587 echo "$as_me: failed program was:" >&5
9228sed 's/^/| /' conftest.$ac_ext >&5 9588sed 's/^/| /' conftest.$ac_ext >&5
9229 9589
9230ac_cv_func_dlopen=no 9590ac_cv_func_dlopen=no
9231fi 9591fi
9232rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9592rm -f conftest.err conftest.$ac_objext \
9593 conftest$ac_exeext conftest.$ac_ext
9233fi 9594fi
9234echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 9595echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9235echo "${ECHO_T}$ac_cv_func_dlopen" >&6 9596echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9236if test $ac_cv_func_dlopen = yes; then 9597if test $ac_cv_func_dlopen = yes; then
9237 : 9598 :
9242 echo $ECHO_N "(cached) $ECHO_C" >&6 9603 echo $ECHO_N "(cached) $ECHO_C" >&6
9243else 9604else
9244 ac_check_lib_save_LIBS=$LIBS 9605 ac_check_lib_save_LIBS=$LIBS
9245LIBS="-ldl $LIBS" 9606LIBS="-ldl $LIBS"
9246cat >conftest.$ac_ext <<_ACEOF 9607cat >conftest.$ac_ext <<_ACEOF
9247#line $LINENO "configure"
9248/* confdefs.h. */ 9608/* confdefs.h. */
9249_ACEOF 9609_ACEOF
9250cat confdefs.h >>conftest.$ac_ext 9610cat confdefs.h >>conftest.$ac_ext
9251cat >>conftest.$ac_ext <<_ACEOF 9611cat >>conftest.$ac_ext <<_ACEOF
9252/* end confdefs.h. */ 9612/* end confdefs.h. */
9266 return 0; 9626 return 0;
9267} 9627}
9268_ACEOF 9628_ACEOF
9269rm -f conftest.$ac_objext conftest$ac_exeext 9629rm -f conftest.$ac_objext conftest$ac_exeext
9270if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9630if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9271 (eval $ac_link) 2>&5 9631 (eval $ac_link) 2>conftest.er1
9272 ac_status=$? 9632 ac_status=$?
9633 grep -v '^ *+' conftest.er1 >conftest.err
9634 rm -f conftest.er1
9635 cat conftest.err >&5
9273 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9274 (exit $ac_status); } && 9637 (exit $ac_status); } &&
9275 { ac_try='test -s conftest$ac_exeext' 9638 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9277 (eval $ac_try) 2>&5 9640 (eval $ac_try) 2>&5
9278 ac_status=$? 9641 ac_status=$?
9279 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9643 (exit $ac_status); }; } &&
9644 { ac_try='test -s conftest$ac_exeext'
9645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9646 (eval $ac_try) 2>&5
9647 ac_status=$?
9648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9280 (exit $ac_status); }; }; then 9649 (exit $ac_status); }; }; then
9281 ac_cv_lib_dl_dlopen=yes 9650 ac_cv_lib_dl_dlopen=yes
9282else 9651else
9283 echo "$as_me: failed program was:" >&5 9652 echo "$as_me: failed program was:" >&5
9284sed 's/^/| /' conftest.$ac_ext >&5 9653sed 's/^/| /' conftest.$ac_ext >&5
9285 9654
9286ac_cv_lib_dl_dlopen=no 9655ac_cv_lib_dl_dlopen=no
9287fi 9656fi
9288rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9657rm -f conftest.err conftest.$ac_objext \
9658 conftest$ac_exeext conftest.$ac_ext
9289LIBS=$ac_check_lib_save_LIBS 9659LIBS=$ac_check_lib_save_LIBS
9290fi 9660fi
9291echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 9661echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9292echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 9662echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9293if test $ac_cv_lib_dl_dlopen = yes; then 9663if test $ac_cv_lib_dl_dlopen = yes; then
9301 9671
9302 9672
9303fi 9673fi
9304 9674
9305 9675
9676if test "x$openssl_include" != x; then
9677 CXXFLAGS="$CXXFLAGS -I$openssl_include"
9678fi
9306 9679
9307# Check whether --enable-rohc or --disable-rohc was given. 9680# Check whether --enable-rohc or --disable-rohc was given.
9308if test "${enable_rohc+set}" = set; then 9681if test "${enable_rohc+set}" = set; then
9309 enableval="$enable_rohc" 9682 enableval="$enable_rohc"
9310 9683
9311 echo 9684 echo
9312 echo "**********************************************************************" 9685 echo "**********************************************************************"
9313 echo "**********************************************************************" 9686 echo "**********************************************************************"
9314 echo "**** --enable-rohc not yet implemented *******************************" 9687 echo "**** --enable-rohc is highly experimental, do not use ****************"
9315 echo "**********************************************************************"
9316 echo "**** uuh sorry, I am such an ass, but I didn't find any rfc3095 (ROHC)"
9317 echo "**** implementation to be used in GPL code on the web."
9318 echo "**** so this option is just a fake. Please implement one and send it"
9319 echo "**** to me ;)"
9320 echo "**********************************************************************"
9321 echo "**********************************************************************"
9322 echo "**********************************************************************" 9688 echo "**********************************************************************"
9323 echo "**********************************************************************" 9689 echo "**********************************************************************"
9324 echo 9690 echo
9691 rohc=true
9692
9693cat >>confdefs.h <<_ACEOF
9694#define ENABLE_ROHC 1
9695_ACEOF
9696
9325 9697
9326 9698
9327fi; 9699fi;
9700
9701
9702
9703if test x$rohc = xtrue; then
9704 ROHC_TRUE=
9705 ROHC_FALSE='#'
9706else
9707 ROHC_TRUE='#'
9708 ROHC_FALSE=
9709fi
9710
9328 9711
9329# Check whether --enable-icmp or --disable-icmp was given. 9712# Check whether --enable-icmp or --disable-icmp was given.
9330if test "${enable_icmp+set}" = set; then 9713if test "${enable_icmp+set}" = set; then
9331 enableval="$enable_icmp" 9714 enableval="$enable_icmp"
9332 9715
9357_ACEOF 9740_ACEOF
9358 9741
9359 9742
9360fi; 9743fi;
9361 9744
9362HMAC=12 # Check whether --enable-hmac-length or --disable-hmac-length was given. 9745HMAC=8 # Check whether --enable-hmac-length or --disable-hmac-length was given.
9363if test "${enable_hmac_length+set}" = set; then 9746if test "${enable_hmac_length+set}" = set; then
9364 enableval="$enable_hmac_length" 9747 enableval="$enable_hmac_length"
9365 HMAC=$enableval 9748 HMAC=$enableval
9366 9749
9367fi; 9750fi;
9448 9831
9449if $CXX -v --help 2>&1 | grep -q fexceptions; then 9832if $CXX -v --help 2>&1 | grep -q fexceptions; then
9450 CXXFLAGS="$CXXFLAGS -fno-exceptions" 9833 CXXFLAGS="$CXXFLAGS -fno-exceptions"
9451fi 9834fi
9452 9835
9453if $CXX -v --help 2>&1 | grep -q ffunction-sections; then
9454 CXXFLAGS="$CXXFLAGS -ffunction-sections"
9455fi
9456 9836
9457if $LD -v --help 2>&1 | grep -q gc-sections; then
9458 LDFLAGS="$LDFLAGS -Wl,--gc-sections"
9459fi
9460 9837
9461 9838
9462 9839
9463 9840
9464
9465 ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile doc/Makefile lib/Makefile m4/Makefile" 9841 ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile src/rohc/Makefile doc/Makefile lib/Makefile m4/Makefile"
9466cat >confcache <<\_ACEOF 9842cat >confcache <<\_ACEOF
9467# This file is a shell script that caches the results of configure 9843# This file is a shell script that caches the results of configure
9468# tests run on this system so they can be shared between configure 9844# tests run on this system so they can be shared between configure
9469# scripts and configure runs, see configure's option --config-cache. 9845# scripts and configure runs, see configure's option --config-cache.
9470# It is not useful on other systems. If it contains results you don't 9846# It is not useful on other systems. If it contains results you don't
9489 case `(ac_space=' '; set | grep ac_space) 2>&1` in 9865 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9490 *ac_space=\ *) 9866 *ac_space=\ *)
9491 # `set' does not quote correctly, so add quotes (double-quote 9867 # `set' does not quote correctly, so add quotes (double-quote
9492 # substitution turns \\\\ into \\, and sed turns \\ into \). 9868 # substitution turns \\\\ into \\, and sed turns \\ into \).
9493 sed -n \ 9869 sed -n \
9494 "s/'/'\\\\''/g; 9870 "s/'/'\\\\''/g;
9495 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 9871 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9496 ;; 9872 ;;
9497 *) 9873 *)
9498 # `set' quotes correctly as required by POSIX, so do not add quotes. 9874 # `set' quotes correctly as required by POSIX, so do not add quotes.
9499 sed -n \ 9875 sed -n \
9500 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 9876 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9501 ;; 9877 ;;
9502 esac; 9878 esac;
9503} | 9879} |
9504 sed ' 9880 sed '
9505 t clear 9881 t clear
9525# VPATH may cause trouble with some makes, so we remove $(srcdir), 9901# VPATH may cause trouble with some makes, so we remove $(srcdir),
9526# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 9902# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9527# trailing colons and then remove the whole line if VPATH becomes empty 9903# trailing colons and then remove the whole line if VPATH becomes empty
9528# (actually we leave an empty line to preserve line numbers). 9904# (actually we leave an empty line to preserve line numbers).
9529if test "x$srcdir" = x.; then 9905if test "x$srcdir" = x.; then
9530 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 9906 ac_vpsub='/^[ ]*VPATH[ ]*=/{
9531s/:*\$(srcdir):*/:/; 9907s/:*\$(srcdir):*/:/;
9532s/:*\${srcdir}:*/:/; 9908s/:*\${srcdir}:*/:/;
9533s/:*@srcdir@:*/:/; 9909s/:*@srcdir@:*/:/;
9534s/^\([^=]*=[ ]*\):*/\1/; 9910s/^\([^=]*=[ ]*\):*/\1/;
9535s/:*$//; 9911s/:*$//;
9536s/^[^=]*=[ ]*$//; 9912s/^[^=]*=[ ]*$//;
9537}' 9913}'
9538fi 9914fi
9539 9915
9540DEFS=-DHAVE_CONFIG_H 9916DEFS=-DHAVE_CONFIG_H
9541 9917
9542ac_libobjs= 9918ac_libobjs=
9543ac_ltlibobjs= 9919ac_ltlibobjs=
9544for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 9920for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9545 # 1. Remove the extension, and $U if already installed. 9921 # 1. Remove the extension, and $U if already installed.
9546 ac_i=`echo "$ac_i" | 9922 ac_i=`echo "$ac_i" |
9547 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 9923 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
9548 # 2. Add them. 9924 # 2. Add them.
9549 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 9925 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
9550 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 9926 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
9551done 9927done
9552LIBOBJS=$ac_libobjs 9928LIBOBJS=$ac_libobjs
9584fi 9960fi
9585if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 9961if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
9586 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. 9962 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
9587Usually this means the macro was only invoked conditionally." >&5 9963Usually this means the macro was only invoked conditionally." >&5
9588echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. 9964echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
9965Usually this means the macro was only invoked conditionally." >&2;}
9966 { (exit 1); exit 1; }; }
9967fi
9968if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then
9969 { { echo "$as_me:$LINENO: error: conditional \"ROHC\" was never defined.
9970Usually this means the macro was only invoked conditionally." >&5
9971echo "$as_me: error: conditional \"ROHC\" was never defined.
9589Usually this means the macro was only invoked conditionally." >&2;} 9972Usually this means the macro was only invoked conditionally." >&2;}
9590 { (exit 1); exit 1; }; } 9973 { (exit 1); exit 1; }; }
9591fi 9974fi
9592 9975
9593: ${CONFIG_STATUS=./config.status} 9976: ${CONFIG_STATUS=./config.status}
9621 # is contrary to our usage. Disable this feature. 10004 # is contrary to our usage. Disable this feature.
9622 alias -g '${1+"$@"}'='"$@"' 10005 alias -g '${1+"$@"}'='"$@"'
9623elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 10006elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9624 set -o posix 10007 set -o posix
9625fi 10008fi
10009DUALCASE=1; export DUALCASE # for MKS sh
9626 10010
9627# Support unset when possible. 10011# Support unset when possible.
9628if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 10012if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9629 as_unset=unset 10013 as_unset=unset
9630else 10014else
9631 as_unset=false 10015 as_unset=false
9632fi 10016fi
9633 10017
9642for as_var in \ 10026for as_var in \
9643 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 10027 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9644 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 10028 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9645 LC_TELEPHONE LC_TIME 10029 LC_TELEPHONE LC_TIME
9646do 10030do
9647 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then 10031 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9648 eval $as_var=C; export $as_var 10032 eval $as_var=C; export $as_var
9649 else 10033 else
9650 $as_unset $as_var 10034 $as_unset $as_var
9651 fi 10035 fi
9652done 10036done
9821rm -f conf$$ conf$$.exe conf$$.file 10205rm -f conf$$ conf$$.exe conf$$.file
9822 10206
9823if mkdir -p . 2>/dev/null; then 10207if mkdir -p . 2>/dev/null; then
9824 as_mkdir_p=: 10208 as_mkdir_p=:
9825else 10209else
10210 test -d ./-p && rmdir ./-p
9826 as_mkdir_p=false 10211 as_mkdir_p=false
9827fi 10212fi
9828 10213
9829as_executable_p="test -f" 10214as_executable_p="test -f"
9830 10215
9831# Sed expression to map a string onto a valid CPP name. 10216# Sed expression to map a string onto a valid CPP name.
9832as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 10217as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9833 10218
9834# Sed expression to map a string onto a valid variable name. 10219# Sed expression to map a string onto a valid variable name.
9835as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 10220as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9836 10221
9837 10222
9838# IFS 10223# IFS
9839# We need space, tab and new line, in precisely that order. 10224# We need space, tab and new line, in precisely that order.
9840as_nl=' 10225as_nl='
9857_ASBOX 10242_ASBOX
9858} >&5 10243} >&5
9859cat >&5 <<_CSEOF 10244cat >&5 <<_CSEOF
9860 10245
9861This file was extended by $as_me, which was 10246This file was extended by $as_me, which was
9862generated by GNU Autoconf 2.57. Invocation command line was 10247generated by GNU Autoconf 2.59. Invocation command line was
9863 10248
9864 CONFIG_FILES = $CONFIG_FILES 10249 CONFIG_FILES = $CONFIG_FILES
9865 CONFIG_HEADERS = $CONFIG_HEADERS 10250 CONFIG_HEADERS = $CONFIG_HEADERS
9866 CONFIG_LINKS = $CONFIG_LINKS 10251 CONFIG_LINKS = $CONFIG_LINKS
9867 CONFIG_COMMANDS = $CONFIG_COMMANDS 10252 CONFIG_COMMANDS = $CONFIG_COMMANDS
9901 -V, --version print version number, then exit 10286 -V, --version print version number, then exit
9902 -q, --quiet do not print progress messages 10287 -q, --quiet do not print progress messages
9903 -d, --debug don't remove temporary files 10288 -d, --debug don't remove temporary files
9904 --recheck update $as_me by reconfiguring in the same conditions 10289 --recheck update $as_me by reconfiguring in the same conditions
9905 --file=FILE[:TEMPLATE] 10290 --file=FILE[:TEMPLATE]
9906 instantiate the configuration file FILE 10291 instantiate the configuration file FILE
9907 --header=FILE[:TEMPLATE] 10292 --header=FILE[:TEMPLATE]
9908 instantiate the configuration header FILE 10293 instantiate the configuration header FILE
9909 10294
9910Configuration files: 10295Configuration files:
9911$config_files 10296$config_files
9912 10297
9913Configuration headers: 10298Configuration headers:
9920_ACEOF 10305_ACEOF
9921 10306
9922cat >>$CONFIG_STATUS <<_ACEOF 10307cat >>$CONFIG_STATUS <<_ACEOF
9923ac_cs_version="\\ 10308ac_cs_version="\\
9924config.status 10309config.status
9925configured by $0, generated by GNU Autoconf 2.57, 10310configured by $0, generated by GNU Autoconf 2.59,
9926 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 10311 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9927 10312
9928Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
9929Free Software Foundation, Inc. 10313Copyright (C) 2003 Free Software Foundation, Inc.
9930This config.status script is free software; the Free Software Foundation 10314This config.status script is free software; the Free Software Foundation
9931gives unlimited permission to copy, distribute and modify it." 10315gives unlimited permission to copy, distribute and modify it."
9932srcdir=$srcdir 10316srcdir=$srcdir
9933INSTALL="$INSTALL" 10317INSTALL="$INSTALL"
9934_ACEOF 10318_ACEOF
10040 case "$ac_config_target" in 10424 case "$ac_config_target" in
10041 # Handling of arguments. 10425 # Handling of arguments.
10042 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 10426 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10043 "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 10427 "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
10044 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 10428 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
10429 "src/rohc/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/rohc/Makefile" ;;
10045 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 10430 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
10046 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 10431 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
10047 "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; 10432 "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
10048 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 10433 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
10049 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 10434 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
10210s,@IFSUBTYPE@,$IFSUBTYPE,;t t 10595s,@IFSUBTYPE@,$IFSUBTYPE,;t t
10211s,@CXXCPP@,$CXXCPP,;t t 10596s,@CXXCPP@,$CXXCPP,;t t
10212s,@ALLOCA@,$ALLOCA,;t t 10597s,@ALLOCA@,$ALLOCA,;t t
10213s,@LINUX_IF_TUN_H@,$LINUX_IF_TUN_H,;t t 10598s,@LINUX_IF_TUN_H@,$LINUX_IF_TUN_H,;t t
10214s,@HAVE_TUNTAP@,$HAVE_TUNTAP,;t t 10599s,@HAVE_TUNTAP@,$HAVE_TUNTAP,;t t
10600s,@ROHC_TRUE@,$ROHC_TRUE,;t t
10601s,@ROHC_FALSE@,$ROHC_FALSE,;t t
10215s,@INCLUDES@,$INCLUDES,;t t 10602s,@INCLUDES@,$INCLUDES,;t t
10216s,@LIBOBJS@,$LIBOBJS,;t t 10603s,@LIBOBJS@,$LIBOBJS,;t t
10217s,@LTLIBOBJS@,$LTLIBOBJS,;t t 10604s,@LTLIBOBJS@,$LTLIBOBJS,;t t
10218CEOF 10605CEOF
10219 10606
10242 # is no need to browse any of the substitutions). 10629 # is no need to browse any of the substitutions).
10243 # These are the two extra sed commands mentioned above. 10630 # These are the two extra sed commands mentioned above.
10244 (echo ':t 10631 (echo ':t
10245 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 10632 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
10246 if test -z "$ac_sed_cmds"; then 10633 if test -z "$ac_sed_cmds"; then
10247 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 10634 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
10248 else 10635 else
10249 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 10636 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
10250 fi 10637 fi
10251 ac_sed_frag=`expr $ac_sed_frag + 1` 10638 ac_sed_frag=`expr $ac_sed_frag + 1`
10252 ac_beg=$ac_end 10639 ac_beg=$ac_end
10253 ac_end=`expr $ac_end + $ac_max_sed_lines` 10640 ac_end=`expr $ac_end + $ac_max_sed_lines`
10254 fi 10641 fi
10262cat >>$CONFIG_STATUS <<\_ACEOF 10649cat >>$CONFIG_STATUS <<\_ACEOF
10263for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 10650for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
10264 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 10651 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10265 case $ac_file in 10652 case $ac_file in
10266 - | *:- | *:-:* ) # input from stdin 10653 - | *:- | *:-:* ) # input from stdin
10267 cat >$tmp/stdin 10654 cat >$tmp/stdin
10268 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 10655 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10269 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 10656 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10270 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 10657 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10271 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 10658 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10272 * ) ac_file_in=$ac_file.in ;; 10659 * ) ac_file_in=$ac_file.in ;;
10273 esac 10660 esac
10274 10661
10275 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 10662 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
10276 ac_dir=`(dirname "$ac_file") 2>/dev/null || 10663 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
10277$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10664$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10278 X"$ac_file" : 'X\(//\)[^/]' \| \ 10665 X"$ac_file" : 'X\(//\)[^/]' \| \
10279 X"$ac_file" : 'X\(//\)$' \| \ 10666 X"$ac_file" : 'X\(//\)$' \| \
10280 X"$ac_file" : 'X\(/\)' \| \ 10667 X"$ac_file" : 'X\(/\)' \| \
10281 . : '\(.\)' 2>/dev/null || 10668 . : '\(.\)' 2>/dev/null ||
10282echo X"$ac_file" | 10669echo X"$ac_file" |
10283 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 10670 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10284 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 10671 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10285 /^X\(\/\/\)$/{ s//\1/; q; } 10672 /^X\(\/\/\)$/{ s//\1/; q; }
10286 /^X\(\/\).*/{ s//\1/; q; } 10673 /^X\(\/\).*/{ s//\1/; q; }
10292 as_dirs= 10679 as_dirs=
10293 while test ! -d "$as_dir"; do 10680 while test ! -d "$as_dir"; do
10294 as_dirs="$as_dir $as_dirs" 10681 as_dirs="$as_dir $as_dirs"
10295 as_dir=`(dirname "$as_dir") 2>/dev/null || 10682 as_dir=`(dirname "$as_dir") 2>/dev/null ||
10296$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10683$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10297 X"$as_dir" : 'X\(//\)[^/]' \| \ 10684 X"$as_dir" : 'X\(//\)[^/]' \| \
10298 X"$as_dir" : 'X\(//\)$' \| \ 10685 X"$as_dir" : 'X\(//\)$' \| \
10299 X"$as_dir" : 'X\(/\)' \| \ 10686 X"$as_dir" : 'X\(/\)' \| \
10300 . : '\(.\)' 2>/dev/null || 10687 . : '\(.\)' 2>/dev/null ||
10301echo X"$as_dir" | 10688echo X"$as_dir" |
10302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 10689 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10303 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 10690 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10304 /^X\(\/\/\)$/{ s//\1/; q; } 10691 /^X\(\/\/\)$/{ s//\1/; q; }
10305 /^X\(\/\).*/{ s//\1/; q; } 10692 /^X\(\/\).*/{ s//\1/; q; }
10333 ac_top_srcdir=$srcdir ;; 10720 ac_top_srcdir=$srcdir ;;
10334 *) # Relative path. 10721 *) # Relative path.
10335 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 10722 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10336 ac_top_srcdir=$ac_top_builddir$srcdir ;; 10723 ac_top_srcdir=$ac_top_builddir$srcdir ;;
10337esac 10724esac
10338# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 10725
10339# absolute. 10726# Do not use `cd foo && pwd` to compute absolute paths, because
10340ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 10727# the directories may not exist.
10341ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 10728case `pwd` in
10342ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 10729.) ac_abs_builddir="$ac_dir";;
10343ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 10730*)
10731 case "$ac_dir" in
10732 .) ac_abs_builddir=`pwd`;;
10733 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
10734 *) ac_abs_builddir=`pwd`/"$ac_dir";;
10735 esac;;
10736esac
10737case $ac_abs_builddir in
10738.) ac_abs_top_builddir=${ac_top_builddir}.;;
10739*)
10740 case ${ac_top_builddir}. in
10741 .) ac_abs_top_builddir=$ac_abs_builddir;;
10742 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
10743 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
10744 esac;;
10745esac
10746case $ac_abs_builddir in
10747.) ac_abs_srcdir=$ac_srcdir;;
10748*)
10749 case $ac_srcdir in
10750 .) ac_abs_srcdir=$ac_abs_builddir;;
10751 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
10752 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
10753 esac;;
10754esac
10755case $ac_abs_builddir in
10756.) ac_abs_top_srcdir=$ac_top_srcdir;;
10757*)
10758 case $ac_top_srcdir in
10759 .) ac_abs_top_srcdir=$ac_abs_builddir;;
10760 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
10761 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
10762 esac;;
10763esac
10344 10764
10345 10765
10346 case $INSTALL in 10766 case $INSTALL in
10347 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 10767 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10348 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 10768 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
10349 esac 10769 esac
10350 10770
10351 if test x"$ac_file" != x-; then
10352 { echo "$as_me:$LINENO: creating $ac_file" >&5
10353echo "$as_me: creating $ac_file" >&6;}
10354 rm -f "$ac_file"
10355 fi
10356 # Let's still pretend it is `configure' which instantiates (i.e., don't 10771 # Let's still pretend it is `configure' which instantiates (i.e., don't
10357 # use $as_me), people would be surprised to read: 10772 # use $as_me), people would be surprised to read:
10358 # /* config.h. Generated by config.status. */ 10773 # /* config.h. Generated by config.status. */
10359 if test x"$ac_file" = x-; then 10774 if test x"$ac_file" = x-; then
10360 configure_input= 10775 configure_input=
10361 else 10776 else
10362 configure_input="$ac_file. " 10777 configure_input="$ac_file. "
10363 fi 10778 fi
10364 configure_input=$configure_input"Generated from `echo $ac_file_in | 10779 configure_input=$configure_input"Generated from `echo $ac_file_in |
10365 sed 's,.*/,,'` by configure." 10780 sed 's,.*/,,'` by configure."
10366 10781
10367 # First look for the input files in the build tree, otherwise in the 10782 # First look for the input files in the build tree, otherwise in the
10368 # src tree. 10783 # src tree.
10369 ac_file_inputs=`IFS=: 10784 ac_file_inputs=`IFS=:
10370 for f in $ac_file_in; do 10785 for f in $ac_file_in; do
10371 case $f in 10786 case $f in
10372 -) echo $tmp/stdin ;; 10787 -) echo $tmp/stdin ;;
10373 [\\/$]*) 10788 [\\/$]*)
10374 # Absolute (can't be DOS-style, as IFS=:) 10789 # Absolute (can't be DOS-style, as IFS=:)
10375 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 10790 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10376echo "$as_me: error: cannot find input file: $f" >&2;} 10791echo "$as_me: error: cannot find input file: $f" >&2;}
10377 { (exit 1); exit 1; }; } 10792 { (exit 1); exit 1; }; }
10378 echo $f;; 10793 echo "$f";;
10379 *) # Relative 10794 *) # Relative
10380 if test -f "$f"; then 10795 if test -f "$f"; then
10381 # Build tree 10796 # Build tree
10382 echo $f 10797 echo "$f"
10383 elif test -f "$srcdir/$f"; then 10798 elif test -f "$srcdir/$f"; then
10384 # Source tree 10799 # Source tree
10385 echo $srcdir/$f 10800 echo "$srcdir/$f"
10386 else 10801 else
10387 # /dev/null tree 10802 # /dev/null tree
10388 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 10803 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10389echo "$as_me: error: cannot find input file: $f" >&2;} 10804echo "$as_me: error: cannot find input file: $f" >&2;}
10390 { (exit 1); exit 1; }; } 10805 { (exit 1); exit 1; }; }
10391 fi;; 10806 fi;;
10392 esac 10807 esac
10393 done` || { (exit 1); exit 1; } 10808 done` || { (exit 1); exit 1; }
10809
10810 if test x"$ac_file" != x-; then
10811 { echo "$as_me:$LINENO: creating $ac_file" >&5
10812echo "$as_me: creating $ac_file" >&6;}
10813 rm -f "$ac_file"
10814 fi
10394_ACEOF 10815_ACEOF
10395cat >>$CONFIG_STATUS <<_ACEOF 10816cat >>$CONFIG_STATUS <<_ACEOF
10396 sed "$ac_vpsub 10817 sed "$ac_vpsub
10397$extrasub 10818$extrasub
10398_ACEOF 10819_ACEOF
10428 10849
10429# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 10850# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
10430# NAME is the cpp macro being defined and VALUE is the value it is being given. 10851# NAME is the cpp macro being defined and VALUE is the value it is being given.
10431# 10852#
10432# ac_d sets the value in "#define NAME VALUE" lines. 10853# ac_d sets the value in "#define NAME VALUE" lines.
10433ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 10854ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
10434ac_dB='[ ].*$,\1#\2' 10855ac_dB='[ ].*$,\1#\2'
10435ac_dC=' ' 10856ac_dC=' '
10436ac_dD=',;t' 10857ac_dD=',;t'
10437# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 10858# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
10438ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 10859ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
10439ac_uB='$,\1#\2define\3' 10860ac_uB='$,\1#\2define\3'
10440ac_uC=' ' 10861ac_uC=' '
10441ac_uD=',;t' 10862ac_uD=',;t'
10442 10863
10443for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 10864for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
10444 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 10865 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10445 case $ac_file in 10866 case $ac_file in
10446 - | *:- | *:-:* ) # input from stdin 10867 - | *:- | *:-:* ) # input from stdin
10447 cat >$tmp/stdin 10868 cat >$tmp/stdin
10448 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 10869 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10449 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 10870 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10450 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 10871 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10451 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 10872 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10452 * ) ac_file_in=$ac_file.in ;; 10873 * ) ac_file_in=$ac_file.in ;;
10453 esac 10874 esac
10454 10875
10455 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 10876 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
10456echo "$as_me: creating $ac_file" >&6;} 10877echo "$as_me: creating $ac_file" >&6;}
10460 ac_file_inputs=`IFS=: 10881 ac_file_inputs=`IFS=:
10461 for f in $ac_file_in; do 10882 for f in $ac_file_in; do
10462 case $f in 10883 case $f in
10463 -) echo $tmp/stdin ;; 10884 -) echo $tmp/stdin ;;
10464 [\\/$]*) 10885 [\\/$]*)
10465 # Absolute (can't be DOS-style, as IFS=:) 10886 # Absolute (can't be DOS-style, as IFS=:)
10466 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 10887 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10467echo "$as_me: error: cannot find input file: $f" >&2;} 10888echo "$as_me: error: cannot find input file: $f" >&2;}
10468 { (exit 1); exit 1; }; } 10889 { (exit 1); exit 1; }; }
10469 echo $f;; 10890 # Do quote $f, to prevent DOS paths from being IFS'd.
10891 echo "$f";;
10470 *) # Relative 10892 *) # Relative
10471 if test -f "$f"; then 10893 if test -f "$f"; then
10472 # Build tree 10894 # Build tree
10473 echo $f 10895 echo "$f"
10474 elif test -f "$srcdir/$f"; then 10896 elif test -f "$srcdir/$f"; then
10475 # Source tree 10897 # Source tree
10476 echo $srcdir/$f 10898 echo "$srcdir/$f"
10477 else 10899 else
10478 # /dev/null tree 10900 # /dev/null tree
10479 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 10901 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10480echo "$as_me: error: cannot find input file: $f" >&2;} 10902echo "$as_me: error: cannot find input file: $f" >&2;}
10481 { (exit 1); exit 1; }; } 10903 { (exit 1); exit 1; }; }
10482 fi;; 10904 fi;;
10483 esac 10905 esac
10484 done` || { (exit 1); exit 1; } 10906 done` || { (exit 1); exit 1; }
10485 # Remove the trailing spaces. 10907 # Remove the trailing spaces.
10486 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 10908 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
10487 10909
10488_ACEOF 10910_ACEOF
10489 10911
10490# Transform confdefs.h into two sed scripts, `conftest.defines' and 10912# Transform confdefs.h into two sed scripts, `conftest.defines' and
10491# `conftest.undefs', that substitutes the proper values into 10913# `conftest.undefs', that substitutes the proper values into
10504cat >confdef2sed.sed <<\_ACEOF 10926cat >confdef2sed.sed <<\_ACEOF
10505s/[\\&,]/\\&/g 10927s/[\\&,]/\\&/g
10506s,[\\$`],\\&,g 10928s,[\\$`],\\&,g
10507t clear 10929t clear
10508: clear 10930: clear
10509s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 10931s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
10510t end 10932t end
10511s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 10933s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
10512: end 10934: end
10513_ACEOF 10935_ACEOF
10514# If some macros were called several times there might be several times 10936# If some macros were called several times there might be several times
10515# the same #defines, which is useless. Nevertheless, we may not want to 10937# the same #defines, which is useless. Nevertheless, we may not want to
10516# sort them, since we want the *last* AC-DEFINE to be honored. 10938# sort them, since we want the *last* AC-DEFINE to be honored.
10520 10942
10521# This sed command replaces #undef with comments. This is necessary, for 10943# This sed command replaces #undef with comments. This is necessary, for
10522# example, in the case of _POSIX_SOURCE, which is predefined and required 10944# example, in the case of _POSIX_SOURCE, which is predefined and required
10523# on some systems where configure will not decide to define it. 10945# on some systems where configure will not decide to define it.
10524cat >>conftest.undefs <<\_ACEOF 10946cat >>conftest.undefs <<\_ACEOF
10525s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 10947s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
10526_ACEOF 10948_ACEOF
10527 10949
10528# Break up conftest.defines because some shells have a limit on the size 10950# Break up conftest.defines because some shells have a limit on the size
10529# of here documents, and old seds have small limits too (100 cmds). 10951# of here documents, and old seds have small limits too (100 cmds).
10530echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 10952echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
10531echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 10953echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
10532echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 10954echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
10533echo ' :' >>$CONFIG_STATUS 10955echo ' :' >>$CONFIG_STATUS
10534rm -f conftest.tail 10956rm -f conftest.tail
10535while grep . conftest.defines >/dev/null 10957while grep . conftest.defines >/dev/null
10536do 10958do
10537 # Write a limited-size here document to $tmp/defines.sed. 10959 # Write a limited-size here document to $tmp/defines.sed.
10538 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 10960 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
10539 # Speed up: don't consider the non `#define' lines. 10961 # Speed up: don't consider the non `#define' lines.
10540 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 10962 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
10541 # Work around the forget-to-reset-the-flag bug. 10963 # Work around the forget-to-reset-the-flag bug.
10542 echo 't clr' >>$CONFIG_STATUS 10964 echo 't clr' >>$CONFIG_STATUS
10543 echo ': clr' >>$CONFIG_STATUS 10965 echo ': clr' >>$CONFIG_STATUS
10544 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 10966 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
10545 echo 'CEOF 10967 echo 'CEOF
10562while grep . conftest.undefs >/dev/null 10984while grep . conftest.undefs >/dev/null
10563do 10985do
10564 # Write a limited-size here document to $tmp/undefs.sed. 10986 # Write a limited-size here document to $tmp/undefs.sed.
10565 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 10987 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
10566 # Speed up: don't consider the non `#undef' 10988 # Speed up: don't consider the non `#undef'
10567 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 10989 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
10568 # Work around the forget-to-reset-the-flag bug. 10990 # Work around the forget-to-reset-the-flag bug.
10569 echo 't clr' >>$CONFIG_STATUS 10991 echo 't clr' >>$CONFIG_STATUS
10570 echo ': clr' >>$CONFIG_STATUS 10992 echo ': clr' >>$CONFIG_STATUS
10571 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 10993 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
10572 echo 'CEOF 10994 echo 'CEOF
10596 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 11018 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10597echo "$as_me: $ac_file is unchanged" >&6;} 11019echo "$as_me: $ac_file is unchanged" >&6;}
10598 else 11020 else
10599 ac_dir=`(dirname "$ac_file") 2>/dev/null || 11021 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
10600$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11022$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10601 X"$ac_file" : 'X\(//\)[^/]' \| \ 11023 X"$ac_file" : 'X\(//\)[^/]' \| \
10602 X"$ac_file" : 'X\(//\)$' \| \ 11024 X"$ac_file" : 'X\(//\)$' \| \
10603 X"$ac_file" : 'X\(/\)' \| \ 11025 X"$ac_file" : 'X\(/\)' \| \
10604 . : '\(.\)' 2>/dev/null || 11026 . : '\(.\)' 2>/dev/null ||
10605echo X"$ac_file" | 11027echo X"$ac_file" |
10606 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11028 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10607 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11029 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10608 /^X\(\/\/\)$/{ s//\1/; q; } 11030 /^X\(\/\/\)$/{ s//\1/; q; }
10609 /^X\(\/\).*/{ s//\1/; q; } 11031 /^X\(\/\).*/{ s//\1/; q; }
10615 as_dirs= 11037 as_dirs=
10616 while test ! -d "$as_dir"; do 11038 while test ! -d "$as_dir"; do
10617 as_dirs="$as_dir $as_dirs" 11039 as_dirs="$as_dir $as_dirs"
10618 as_dir=`(dirname "$as_dir") 2>/dev/null || 11040 as_dir=`(dirname "$as_dir") 2>/dev/null ||
10619$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11041$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10620 X"$as_dir" : 'X\(//\)[^/]' \| \ 11042 X"$as_dir" : 'X\(//\)[^/]' \| \
10621 X"$as_dir" : 'X\(//\)$' \| \ 11043 X"$as_dir" : 'X\(//\)$' \| \
10622 X"$as_dir" : 'X\(/\)' \| \ 11044 X"$as_dir" : 'X\(/\)' \| \
10623 . : '\(.\)' 2>/dev/null || 11045 . : '\(.\)' 2>/dev/null ||
10624echo X"$as_dir" | 11046echo X"$as_dir" |
10625 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11047 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10626 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11048 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10627 /^X\(\/\/\)$/{ s//\1/; q; } 11049 /^X\(\/\/\)$/{ s//\1/; q; }
10628 /^X\(\/\).*/{ s//\1/; q; } 11050 /^X\(\/\).*/{ s//\1/; q; }
10650 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 11072 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10651 esac 11073 esac
10652done 11074done
10653echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || 11075echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
10654$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11076$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10655 X$ac_file : 'X\(//\)[^/]' \| \ 11077 X$ac_file : 'X\(//\)[^/]' \| \
10656 X$ac_file : 'X\(//\)$' \| \ 11078 X$ac_file : 'X\(//\)$' \| \
10657 X$ac_file : 'X\(/\)' \| \ 11079 X$ac_file : 'X\(/\)' \| \
10658 . : '\(.\)' 2>/dev/null || 11080 . : '\(.\)' 2>/dev/null ||
10659echo X$ac_file | 11081echo X$ac_file |
10660 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11082 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10661 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11083 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10662 /^X\(\/\/\)$/{ s//\1/; q; } 11084 /^X\(\/\/\)$/{ s//\1/; q; }
10663 /^X\(\/\).*/{ s//\1/; q; } 11085 /^X\(\/\).*/{ s//\1/; q; }
10672for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 11094for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
10673 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 11095 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
10674 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 11096 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
10675 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 11097 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
10676$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11098$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10677 X"$ac_dest" : 'X\(//\)[^/]' \| \ 11099 X"$ac_dest" : 'X\(//\)[^/]' \| \
10678 X"$ac_dest" : 'X\(//\)$' \| \ 11100 X"$ac_dest" : 'X\(//\)$' \| \
10679 X"$ac_dest" : 'X\(/\)' \| \ 11101 X"$ac_dest" : 'X\(/\)' \| \
10680 . : '\(.\)' 2>/dev/null || 11102 . : '\(.\)' 2>/dev/null ||
10681echo X"$ac_dest" | 11103echo X"$ac_dest" |
10682 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11104 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10683 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11105 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10684 /^X\(\/\/\)$/{ s//\1/; q; } 11106 /^X\(\/\/\)$/{ s//\1/; q; }
10685 /^X\(\/\).*/{ s//\1/; q; } 11107 /^X\(\/\).*/{ s//\1/; q; }
10686 s/.*/./; q'` 11108 s/.*/./; q'`
11109 { if $as_mkdir_p; then
11110 mkdir -p "$ac_dir"
11111 else
11112 as_dir="$ac_dir"
11113 as_dirs=
11114 while test ! -d "$as_dir"; do
11115 as_dirs="$as_dir $as_dirs"
11116 as_dir=`(dirname "$as_dir") 2>/dev/null ||
11117$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11118 X"$as_dir" : 'X\(//\)[^/]' \| \
11119 X"$as_dir" : 'X\(//\)$' \| \
11120 X"$as_dir" : 'X\(/\)' \| \
11121 . : '\(.\)' 2>/dev/null ||
11122echo X"$as_dir" |
11123 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11124 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11125 /^X\(\/\/\)$/{ s//\1/; q; }
11126 /^X\(\/\).*/{ s//\1/; q; }
11127 s/.*/./; q'`
11128 done
11129 test ! -n "$as_dirs" || mkdir $as_dirs
11130 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11131echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11132 { (exit 1); exit 1; }; }; }
11133
10687 ac_builddir=. 11134 ac_builddir=.
10688 11135
10689if test "$ac_dir" != .; then 11136if test "$ac_dir" != .; then
10690 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 11137 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10691 # A "../" for each directory in $ac_dir_suffix. 11138 # A "../" for each directory in $ac_dir_suffix.
10707 ac_top_srcdir=$srcdir ;; 11154 ac_top_srcdir=$srcdir ;;
10708 *) # Relative path. 11155 *) # Relative path.
10709 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 11156 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10710 ac_top_srcdir=$ac_top_builddir$srcdir ;; 11157 ac_top_srcdir=$ac_top_builddir$srcdir ;;
10711esac 11158esac
10712# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 11159
10713# absolute. 11160# Do not use `cd foo && pwd` to compute absolute paths, because
10714ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 11161# the directories may not exist.
10715ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 11162case `pwd` in
10716ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 11163.) ac_abs_builddir="$ac_dir";;
10717ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 11164*)
11165 case "$ac_dir" in
11166 .) ac_abs_builddir=`pwd`;;
11167 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11168 *) ac_abs_builddir=`pwd`/"$ac_dir";;
11169 esac;;
11170esac
11171case $ac_abs_builddir in
11172.) ac_abs_top_builddir=${ac_top_builddir}.;;
11173*)
11174 case ${ac_top_builddir}. in
11175 .) ac_abs_top_builddir=$ac_abs_builddir;;
11176 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11177 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11178 esac;;
11179esac
11180case $ac_abs_builddir in
11181.) ac_abs_srcdir=$ac_srcdir;;
11182*)
11183 case $ac_srcdir in
11184 .) ac_abs_srcdir=$ac_abs_builddir;;
11185 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11186 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11187 esac;;
11188esac
11189case $ac_abs_builddir in
11190.) ac_abs_top_srcdir=$ac_top_srcdir;;
11191*)
11192 case $ac_top_srcdir in
11193 .) ac_abs_top_srcdir=$ac_abs_builddir;;
11194 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11195 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11196 esac;;
11197esac
10718 11198
10719 11199
10720 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 11200 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
10721echo "$as_me: executing $ac_dest commands" >&6;} 11201echo "$as_me: executing $ac_dest commands" >&6;}
10722 case $ac_dest in 11202 case $ac_dest in
10826 # each Makefile.in and add a new line on top of each file to say so. 11306 # each Makefile.in and add a new line on top of each file to say so.
10827 # So let's grep whole file. 11307 # So let's grep whole file.
10828 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 11308 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
10829 dirpart=`(dirname "$mf") 2>/dev/null || 11309 dirpart=`(dirname "$mf") 2>/dev/null ||
10830$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11310$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10831 X"$mf" : 'X\(//\)[^/]' \| \ 11311 X"$mf" : 'X\(//\)[^/]' \| \
10832 X"$mf" : 'X\(//\)$' \| \ 11312 X"$mf" : 'X\(//\)$' \| \
10833 X"$mf" : 'X\(/\)' \| \ 11313 X"$mf" : 'X\(/\)' \| \
10834 . : '\(.\)' 2>/dev/null || 11314 . : '\(.\)' 2>/dev/null ||
10835echo X"$mf" | 11315echo X"$mf" |
10836 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10837 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11317 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10838 /^X\(\/\/\)$/{ s//\1/; q; } 11318 /^X\(\/\/\)$/{ s//\1/; q; }
10839 /^X\(\/\).*/{ s//\1/; q; } 11319 /^X\(\/\).*/{ s//\1/; q; }
10865 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 11345 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10866 # Make sure the directory exists. 11346 # Make sure the directory exists.
10867 test -f "$dirpart/$file" && continue 11347 test -f "$dirpart/$file" && continue
10868 fdir=`(dirname "$file") 2>/dev/null || 11348 fdir=`(dirname "$file") 2>/dev/null ||
10869$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11349$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10870 X"$file" : 'X\(//\)[^/]' \| \ 11350 X"$file" : 'X\(//\)[^/]' \| \
10871 X"$file" : 'X\(//\)$' \| \ 11351 X"$file" : 'X\(//\)$' \| \
10872 X"$file" : 'X\(/\)' \| \ 11352 X"$file" : 'X\(/\)' \| \
10873 . : '\(.\)' 2>/dev/null || 11353 . : '\(.\)' 2>/dev/null ||
10874echo X"$file" | 11354echo X"$file" |
10875 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10876 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11356 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10877 /^X\(\/\/\)$/{ s//\1/; q; } 11357 /^X\(\/\/\)$/{ s//\1/; q; }
10878 /^X\(\/\).*/{ s//\1/; q; } 11358 /^X\(\/\).*/{ s//\1/; q; }
10884 as_dirs= 11364 as_dirs=
10885 while test ! -d "$as_dir"; do 11365 while test ! -d "$as_dir"; do
10886 as_dirs="$as_dir $as_dirs" 11366 as_dirs="$as_dir $as_dirs"
10887 as_dir=`(dirname "$as_dir") 2>/dev/null || 11367 as_dir=`(dirname "$as_dir") 2>/dev/null ||
10888$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11368$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10889 X"$as_dir" : 'X\(//\)[^/]' \| \ 11369 X"$as_dir" : 'X\(//\)[^/]' \| \
10890 X"$as_dir" : 'X\(//\)$' \| \ 11370 X"$as_dir" : 'X\(//\)$' \| \
10891 X"$as_dir" : 'X\(/\)' \| \ 11371 X"$as_dir" : 'X\(/\)' \| \
10892 . : '\(.\)' 2>/dev/null || 11372 . : '\(.\)' 2>/dev/null ||
10893echo X"$as_dir" | 11373echo X"$as_dir" |
10894 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11374 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10895 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11375 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10896 /^X\(\/\/\)$/{ s//\1/; q; } 11376 /^X\(\/\/\)$/{ s//\1/; q; }
10897 /^X\(\/\).*/{ s//\1/; q; } 11377 /^X\(\/\).*/{ s//\1/; q; }
10929echo "*** Digest used: $DIGEST" 11409echo "*** Digest used: $DIGEST"
10930echo "*** HMAC length: $HMAC" 11410echo "*** HMAC length: $HMAC"
10931echo "*** RAND used: $RAND" 11411echo "*** RAND used: $RAND"
10932echo "*** Max. MTU: $MTU" 11412echo "*** Max. MTU: $MTU"
10933echo "*** Compression: $COMPRESS" 11413echo "*** Compression: $COMPRESS"
11414
11415if test "x$DIGEST" = xmd4; then
10934echo "***" 11416echo "***"
10935
10936if test "x$DIGEST" = xmd4; then
10937echo "*** WARNING"
10938echo "*** The digest you have chosen ($DIGEST) is known to be insecure" 11417echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure"
11418fi
11419
11420if test "$HMAC" -lt 12; then
10939echo "***" 11421echo "***"
11422echo "*** WARNING: The hmac length you have chosen ($HMAC) might be insecure"
10940fi 11423fi
11424
11425if test "$RAND" -lt 8; then
11426echo "***"
11427echo "*** WARNING: The random prefix you have chosen ($RAND) might be insecure"
11428fi
11429
11430echo "***"
10941 11431
10942echo 11432echo
10943 11433
10944 11434
10945 11435

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines