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

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines