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

Comparing gvpe/configure (file contents):
Revision 1.2 by pcg, Tue Oct 14 19:45:35 2003 UTC vs.
Revision 1.32 by pcg, Wed Jan 18 13:17:55 2006 UTC

1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.57. 3# Generated by GNU Autoconf 2.59.
4# 4#
5# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6# Free Software Foundation, Inc. 5# Copyright (C) 2003 Free Software Foundation, Inc.
7# This configure script is free software; the Free Software Foundation 6# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it. 7# gives unlimited permission to copy, distribute and modify it.
9## --------------------- ## 8## --------------------- ##
10## M4sh Initialization. ## 9## M4sh Initialization. ##
11## --------------------- ## 10## --------------------- ##
18 # is contrary to our usage. Disable this feature. 17 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"' 18 alias -g '${1+"$@"}'='"$@"'
20elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21 set -o posix 20 set -o posix
22fi 21fi
22DUALCASE=1; export DUALCASE # for MKS sh
23 23
24# Support unset when possible. 24# Support unset when possible.
25if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset 26 as_unset=unset
27else 27else
28 as_unset=false 28 as_unset=false
29fi 29fi
30 30
39for as_var in \ 39for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME 42 LC_TELEPHONE LC_TIME
43do 43do
44 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var 45 eval $as_var=C; export $as_var
46 else 46 else
47 $as_unset $as_var 47 $as_unset $as_var
48 fi 48 fi
49done 49done
216rm -f conf$$ conf$$.exe conf$$.file 216rm -f conf$$ conf$$.exe conf$$.file
217 217
218if mkdir -p . 2>/dev/null; then 218if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=: 219 as_mkdir_p=:
220else 220else
221 test -d ./-p && rmdir ./-p
221 as_mkdir_p=false 222 as_mkdir_p=false
222fi 223fi
223 224
224as_executable_p="test -f" 225as_executable_p="test -f"
225 226
226# Sed expression to map a string onto a valid CPP name. 227# Sed expression to map a string onto a valid CPP name.
227as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 228as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
228 229
229# Sed expression to map a string onto a valid variable name. 230# Sed expression to map a string onto a valid variable name.
230as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 231as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
231 232
232 233
233# IFS 234# IFS
234# We need space, tab and new line, in precisely that order. 235# We need space, tab and new line, in precisely that order.
235as_nl=' 236as_nl='
268PACKAGE_TARNAME= 269PACKAGE_TARNAME=
269PACKAGE_VERSION= 270PACKAGE_VERSION=
270PACKAGE_STRING= 271PACKAGE_STRING=
271PACKAGE_BUGREPORT= 272PACKAGE_BUGREPORT=
272 273
273ac_unique_file="src/vped.C" 274ac_unique_file="src/gvpe.C"
274# Factoring default headers for most tests. 275# Factoring default headers for most tests.
275ac_includes_default="\ 276ac_includes_default="\
276#include <stdio.h> 277#include <stdio.h>
277#if HAVE_SYS_TYPES_H 278#if HAVE_SYS_TYPES_H
278# include <sys/types.h> 279# include <sys/types.h>
306#endif 307#endif
307#if HAVE_UNISTD_H 308#if HAVE_UNISTD_H
308# include <unistd.h> 309# include <unistd.h>
309#endif" 310#endif"
310 311
311ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT MKINSTALLDIRS MSGFMT GMSGFMT XGETTEXT MSGMERGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE USE_NLS LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE EGREP LN_S RANLIB ac_ct_RANLIB IFTYPE IFSUBTYPE CXXCPP ALLOCA LINUX_IF_TUN_H HAVE_TUNTAP INCLUDES LIBOBJS LTLIBOBJS' 312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT MKINSTALLDIRS MSGFMT GMSGFMT XGETTEXT MSGMERGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE USE_NLS LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE EGREP LN_S RANLIB ac_ct_RANLIB IFTYPE IFSUBTYPE CXXCPP ALLOCA LINUX_IF_TUN_H HAVE_TUNTAP LDFLAGS_DAEMON ROHC_TRUE ROHC_FALSE INCLUDES LIBOBJS LTLIBOBJS'
312ac_subst_files='' 313ac_subst_files=''
313 314
314# Initialize some variables set by options. 315# Initialize some variables set by options.
315ac_init_help= 316ac_init_help=
316ac_init_version=false 317ac_init_version=false
665 esac 666 esac
666done 667done
667 668
668# Be sure to have absolute paths. 669# Be sure to have absolute paths.
669for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 670for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir 671 localstatedir libdir includedir oldincludedir infodir mandir
671do 672do
672 eval ac_val=$`echo $ac_var` 673 eval ac_val=$`echo $ac_var`
673 case $ac_val in 674 case $ac_val in
674 [\\/$]* | ?:[\\/]* ) ;; 675 [\\/$]* | ?:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
705if test -z "$srcdir"; then 706if test -z "$srcdir"; then
706 ac_srcdir_defaulted=yes 707 ac_srcdir_defaulted=yes
707 # Try the directory containing this script, then its parent. 708 # Try the directory containing this script, then its parent.
708 ac_confdir=`(dirname "$0") 2>/dev/null || 709 ac_confdir=`(dirname "$0") 2>/dev/null ||
709$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 710$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \ 711 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \ 712 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \ 713 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null || 714 . : '\(.\)' 2>/dev/null ||
714echo X"$0" | 715echo X"$0" |
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; } 718 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; } 719 /^X\(\/\).*/{ s//\1/; q; }
812_ACEOF 813_ACEOF
813 814
814 cat <<_ACEOF 815 cat <<_ACEOF
815Installation directories: 816Installation directories:
816 --prefix=PREFIX install architecture-independent files in PREFIX 817 --prefix=PREFIX install architecture-independent files in PREFIX
817 [$ac_default_prefix] 818 [$ac_default_prefix]
818 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 819 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
819 [PREFIX] 820 [PREFIX]
820 821
821By default, \`make install' will install all the files in 822By default, \`make install' will install all the files in
822\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 823\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
823an installation prefix other than \`$ac_default_prefix' using \`--prefix', 824an installation prefix other than \`$ac_default_prefix' using \`--prefix',
824for instance \`--prefix=\$HOME'. 825for instance \`--prefix=\$HOME'.
859 cat <<\_ACEOF 860 cat <<\_ACEOF
860 861
861Optional Features: 862Optional Features:
862 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 863 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
863 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 864 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
864 --enable-maintainer-mode enable make rules and dependencies not useful 865 --enable-maintainer-mode enable make rules and dependencies not useful
865 (and sometimes confusing) to the casual installer 866 (and sometimes confusing) to the casual installer
866 --disable-dependency-tracking Speeds up one-time builds 867 --disable-dependency-tracking speeds up one-time build
867 --enable-dependency-tracking Do not reject slow dependency extractors 868 --enable-dependency-tracking do not reject slow dependency extractors
868 --disable-rpath do not hardcode runtime library paths 869 --disable-rpath do not hardcode runtime library paths
869 --disable-nls do not use Native Language Support 870 --disable-nls do not use Native Language Support
870 --enable-iftype=TYPE/SUBTYPE 871 --enable-iftype=TYPE/SUBTYPE
871 Use kernel/net device interface TYPE/SUBTYPE. 872 Use kernel/net device interface TYPE/SUBTYPE.
872 Working combinations are: "native/linux" 873 Working combinations are (see doc/gvpe.osdep.5.pod):
873 "tincd/linux" "tincd/freebsd"; Untested combinations 874 "native/linux" "tincd/linux" "tincd/netbsd"
875 "tincd/freebsd" "tincd/openbsd" "native/darwin"
876 "tincd/darwin" "native/cygwin"; Untested
874 are: "tincd/netbsd" "tincd/darwin" "tincd/solaris" 877 combinations are: "tincd/bsd" "tincd/solaris"
875 "tincd/openbsd" "tincd/cygwin"; Broken combinations 878 "tincd/mingw" "tincd/raw_socket" "tincd/uml_socket";
876 are: "native/cygwin"; The default is to autodetect. 879 Broken combinations are: "tincd/cygwin"; The default
880 is to autodetect.
881 --enable-static-daemon enable statically linked daemon.
877 --enable-rohc enable robust header compression (rfc3095). 882 --enable-rohc enable robust header compression (rfc3095).
878 --enable-icmp enable icmp protocol support (default disabled). 883 --enable-icmp enable icmp protocol support (default disabled).
879 --enable-tcp enable tcp protocol support (default disabled). 884 --enable-tcp enable tcp protocol support (default disabled).
885 --enable-dns enable dns tunnel protocol support (DOES NOT WORK).
880 --enable-http-proxy enable http proxy connect support (default 886 --enable-http-proxy enable http proxy connect support (default
881 disabled). 887 disabled).
882 --enable-hmac-length=BYTES 888 --enable-hmac-length=BYTES
883 use a hmac of length BYTES bytes (default 12). 889 use a hmac of length BYTES bytes (default 12).
884 Allowed values are 4, 8, 12, 16. 890 Allowed values are 4, 8, 12, 16.
886 use BYTES bytes of extra randomness (default 8). 892 use BYTES bytes of extra randomness (default 8).
887 Allowed values are 0, 4, 8. 893 Allowed values are 0, 4, 8.
888 --enable-max-mtu=BYTES enable mtu sizes upto BYTES bytes (default 1500). 894 --enable-max-mtu=BYTES enable mtu sizes upto BYTES bytes (default 1500).
889 Use 9100 for jumbogram support. 895 Use 9100 for jumbogram support.
890 --disable-compression Disable compression support. 896 --disable-compression Disable compression support.
891 --enable-cipher Select the symmetric cipher (default "bf"). Must be 897 --enable-cipher Select the symmetric cipher (default "aes-128").
892 one of "bf" (blowfish), "aes-128" (rijndael), 898 Must be one of "bf" (blowfish), "aes-128"
893 "aes-192" or "aes-256". 899 (rijndael), "aes-192" or "aes-256".
894 --enable-digest Select the digets algorithm to use (default "sha1"). 900 --enable-digest Select the digets algorithm to use (default
895 Must be one of "sha1", "ripemd160", "md5" or "md4" 901 "ripemd160"). Must be one of "sha1", "ripemd160",
896 (insecure). 902 "md5" or "md4" (insecure).
897 903
898Optional Packages: 904Optional Packages:
899 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 905 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
900 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 906 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
901 --with-gnu-ld assume the C compiler uses GNU ld default=no 907 --with-gnu-ld assume the C compiler uses GNU ld default=no
954 ac_top_srcdir=$srcdir ;; 960 ac_top_srcdir=$srcdir ;;
955 *) # Relative path. 961 *) # Relative path.
956 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 962 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
957 ac_top_srcdir=$ac_top_builddir$srcdir ;; 963 ac_top_srcdir=$ac_top_builddir$srcdir ;;
958esac 964esac
959# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 965
960# absolute. 966# Do not use `cd foo && pwd` to compute absolute paths, because
961ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 967# the directories may not exist.
962ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 968case `pwd` in
963ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 969.) ac_abs_builddir="$ac_dir";;
964ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 970*)
971 case "$ac_dir" in
972 .) ac_abs_builddir=`pwd`;;
973 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
974 *) ac_abs_builddir=`pwd`/"$ac_dir";;
975 esac;;
976esac
977case $ac_abs_builddir in
978.) ac_abs_top_builddir=${ac_top_builddir}.;;
979*)
980 case ${ac_top_builddir}. in
981 .) ac_abs_top_builddir=$ac_abs_builddir;;
982 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
983 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
984 esac;;
985esac
986case $ac_abs_builddir in
987.) ac_abs_srcdir=$ac_srcdir;;
988*)
989 case $ac_srcdir in
990 .) ac_abs_srcdir=$ac_abs_builddir;;
991 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
992 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
993 esac;;
994esac
995case $ac_abs_builddir in
996.) ac_abs_top_srcdir=$ac_top_srcdir;;
997*)
998 case $ac_top_srcdir in
999 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1000 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1001 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1002 esac;;
1003esac
965 1004
966 cd $ac_dir 1005 cd $ac_dir
967 # Check for guested configure; otherwise get Cygnus style configure. 1006 # Check for guested configure; otherwise get Cygnus style configure.
968 if test -f $ac_srcdir/configure.gnu; then 1007 if test -f $ac_srcdir/configure.gnu; then
969 echo 1008 echo
970 $SHELL $ac_srcdir/configure.gnu --help=recursive 1009 $SHELL $ac_srcdir/configure.gnu --help=recursive
971 elif test -f $ac_srcdir/configure; then 1010 elif test -f $ac_srcdir/configure; then
972 echo 1011 echo
973 $SHELL $ac_srcdir/configure --help=recursive 1012 $SHELL $ac_srcdir/configure --help=recursive
974 elif test -f $ac_srcdir/configure.ac || 1013 elif test -f $ac_srcdir/configure.ac ||
975 test -f $ac_srcdir/configure.in; then 1014 test -f $ac_srcdir/configure.in; then
976 echo 1015 echo
977 $ac_configure --help 1016 $ac_configure --help
978 else 1017 else
979 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1018 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
980 fi 1019 fi
984 1023
985test -n "$ac_init_help" && exit 0 1024test -n "$ac_init_help" && exit 0
986if $ac_init_version; then 1025if $ac_init_version; then
987 cat <<\_ACEOF 1026 cat <<\_ACEOF
988 1027
989Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
990Free Software Foundation, Inc. 1028Copyright (C) 2003 Free Software Foundation, Inc.
991This configure script is free software; the Free Software Foundation 1029This configure script is free software; the Free Software Foundation
992gives unlimited permission to copy, distribute and modify it. 1030gives unlimited permission to copy, distribute and modify it.
993_ACEOF 1031_ACEOF
994 exit 0 1032 exit 0
995fi 1033fi
997cat >&5 <<_ACEOF 1035cat >&5 <<_ACEOF
998This file contains any messages produced by compilers while 1036This file contains any messages produced by compilers while
999running configure, to aid debugging if configure makes a mistake. 1037running configure, to aid debugging if configure makes a mistake.
1000 1038
1001It was created by $as_me, which was 1039It was created by $as_me, which was
1002generated by GNU Autoconf 2.57. Invocation command line was 1040generated by GNU Autoconf 2.59. Invocation command line was
1003 1041
1004 $ $0 $@ 1042 $ $0 $@
1005 1043
1006_ACEOF 1044_ACEOF
1007{ 1045{
1074 case $ac_pass in 1112 case $ac_pass in
1075 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1113 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1076 2) 1114 2)
1077 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1115 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1078 if test $ac_must_keep_next = true; then 1116 if test $ac_must_keep_next = true; then
1079 ac_must_keep_next=false # Got value, back to normal. 1117 ac_must_keep_next=false # Got value, back to normal.
1080 else 1118 else
1081 case $ac_arg in 1119 case $ac_arg in
1082 *=* | --config-cache | -C | -disable-* | --disable-* \ 1120 *=* | --config-cache | -C | -disable-* | --disable-* \
1083 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1121 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1084 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1122 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1085 | -with-* | --with-* | -without-* | --without-* | --x) 1123 | -with-* | --with-* | -without-* | --without-* | --x)
1086 case "$ac_configure_args0 " in 1124 case "$ac_configure_args0 " in
1087 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1125 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1088 esac 1126 esac
1089 ;; 1127 ;;
1090 -* ) ac_must_keep_next=true ;; 1128 -* ) ac_must_keep_next=true ;;
1091 esac 1129 esac
1092 fi 1130 fi
1093 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1131 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1094 # Get rid of the leading space. 1132 # Get rid of the leading space.
1095 ac_sep=" " 1133 ac_sep=" "
1096 ;; 1134 ;;
1120{ 1158{
1121 (set) 2>&1 | 1159 (set) 2>&1 |
1122 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1160 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1123 *ac_space=\ *) 1161 *ac_space=\ *)
1124 sed -n \ 1162 sed -n \
1125 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1163 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1126 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1164 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1127 ;; 1165 ;;
1128 *) 1166 *)
1129 sed -n \ 1167 sed -n \
1130 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1168 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1131 ;; 1169 ;;
1132 esac; 1170 esac;
1133} 1171}
1134 echo 1172 echo
1135 1173
1154_ASBOX 1192_ASBOX
1155 echo 1193 echo
1156 for ac_var in $ac_subst_files 1194 for ac_var in $ac_subst_files
1157 do 1195 do
1158 eval ac_val=$`echo $ac_var` 1196 eval ac_val=$`echo $ac_var`
1159 echo "$ac_var='"'"'$ac_val'"'"'" 1197 echo "$ac_var='"'"'$ac_val'"'"'"
1160 done | sort 1198 done | sort
1161 echo 1199 echo
1162 fi 1200 fi
1163 1201
1164 if test -s confdefs.h; then 1202 if test -s confdefs.h; then
1253 1291
1254# Check that the precious variables saved in the cache have kept the same 1292# Check that the precious variables saved in the cache have kept the same
1255# value. 1293# value.
1256ac_cache_corrupted=false 1294ac_cache_corrupted=false
1257for ac_var in `(set) 2>&1 | 1295for ac_var in `(set) 2>&1 |
1258 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1296 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1259 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1297 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1260 eval ac_new_set=\$ac_env_${ac_var}_set 1298 eval ac_new_set=\$ac_env_${ac_var}_set
1261 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1299 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1262 eval ac_new_val="\$ac_env_${ac_var}_value" 1300 eval ac_new_val="\$ac_env_${ac_var}_value"
1263 case $ac_old_set,$ac_new_set in 1301 case $ac_old_set,$ac_new_set in
1270echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1308echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1271 ac_cache_corrupted=: ;; 1309 ac_cache_corrupted=: ;;
1272 ,);; 1310 ,);;
1273 *) 1311 *)
1274 if test "x$ac_old_val" != "x$ac_new_val"; then 1312 if test "x$ac_old_val" != "x$ac_new_val"; then
1275 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1313 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1276echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1314echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1277 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1315 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1278echo "$as_me: former value: $ac_old_val" >&2;} 1316echo "$as_me: former value: $ac_old_val" >&2;}
1279 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1317 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1280echo "$as_me: current value: $ac_new_val" >&2;} 1318echo "$as_me: current value: $ac_new_val" >&2;}
1281 ac_cache_corrupted=: 1319 ac_cache_corrupted=:
1282 fi;; 1320 fi;;
1283 esac 1321 esac
1284 # Pass precious variables to config.status. 1322 # Pass precious variables to config.status.
1285 if test "$ac_new_set" = set; then 1323 if test "$ac_new_set" = set; then
1286 case $ac_new_val in 1324 case $ac_new_val in
1324 1362
1325 1363
1326 1364
1327 1365
1328 1366
1367
1329ac_aux_dir= 1368ac_aux_dir=
1330for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1369for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1331 if test -f $ac_dir/install-sh; then 1370 if test -f $ac_dir/install-sh; then
1332 ac_aux_dir=$ac_dir 1371 ac_aux_dir=$ac_dir
1333 ac_install_sh="$ac_aux_dir/install-sh -c" 1372 ac_install_sh="$ac_aux_dir/install-sh -c"
1431# will get canonicalized. 1470# will get canonicalized.
1432test -n "$target_alias" && 1471test -n "$target_alias" &&
1433 test "$program_prefix$program_suffix$program_transform_name" = \ 1472 test "$program_prefix$program_suffix$program_transform_name" = \
1434 NONENONEs,x,x, && 1473 NONENONEs,x,x, &&
1435 program_prefix=${target_alias}- 1474 program_prefix=${target_alias}-
1436am__api_version="1.7" 1475am__api_version="1.9"
1437# Find a good install program. We prefer a C program (faster), 1476# Find a good install program. We prefer a C program (faster),
1438# so one script is as good as another. But avoid the broken or 1477# so one script is as good as another. But avoid the broken or
1439# incompatible versions: 1478# incompatible versions:
1440# SysV /etc/install, /usr/sbin/install 1479# SysV /etc/install, /usr/sbin/install
1441# SunOS /usr/etc/install 1480# SunOS /usr/etc/install
1443# AIX /bin/install 1482# AIX /bin/install
1444# AmigaOS /C/install, which installs bootblocks on floppy discs 1483# AmigaOS /C/install, which installs bootblocks on floppy discs
1445# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1484# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1446# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1485# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1447# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1486# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1487# OS/2's system install, which has a completely different semantic
1448# ./install, which can be erroneously created by make from ./install.sh. 1488# ./install, which can be erroneously created by make from ./install.sh.
1449echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1489echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1450echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 1490echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1451if test -z "$INSTALL"; then 1491if test -z "$INSTALL"; then
1452if test "${ac_cv_path_install+set}" = set; then 1492if test "${ac_cv_path_install+set}" = set; then
1459 test -z "$as_dir" && as_dir=. 1499 test -z "$as_dir" && as_dir=.
1460 # Account for people who put trailing slashes in PATH elements. 1500 # Account for people who put trailing slashes in PATH elements.
1461case $as_dir/ in 1501case $as_dir/ in
1462 ./ | .// | /cC/* | \ 1502 ./ | .// | /cC/* | \
1463 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1503 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1504 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1464 /usr/ucb/* ) ;; 1505 /usr/ucb/* ) ;;
1465 *) 1506 *)
1466 # OSF1 and SCO ODT 3.0 have their own names for install. 1507 # OSF1 and SCO ODT 3.0 have their own names for install.
1467 # Don't use installbsd from OSF since it installs stuff as root 1508 # Don't use installbsd from OSF since it installs stuff as root
1468 # by default. 1509 # by default.
1469 for ac_prog in ginstall scoinst install; do 1510 for ac_prog in ginstall scoinst install; do
1470 for ac_exec_ext in '' $ac_executable_extensions; do 1511 for ac_exec_ext in '' $ac_executable_extensions; do
1471 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1512 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1472 if test $ac_prog = install && 1513 if test $ac_prog = install &&
1473 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1514 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1474 # AIX install. It has an incompatible calling convention. 1515 # AIX install. It has an incompatible calling convention.
1475 : 1516 :
1476 elif test $ac_prog = install && 1517 elif test $ac_prog = install &&
1477 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1518 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1478 # program-specific install script used by HP pwplus--don't use. 1519 # program-specific install script used by HP pwplus--don't use.
1479 : 1520 :
1480 else 1521 else
1481 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1522 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1482 break 3 1523 break 3
1483 fi 1524 fi
1484 fi 1525 fi
1485 done 1526 done
1486 done 1527 done
1487 ;; 1528 ;;
1488esac 1529esac
1489done 1530done
1567s/[\\$]/&&/g;s/;s,x,x,$// 1608s/[\\$]/&&/g;s/;s,x,x,$//
1568_ACEOF 1609_ACEOF
1569program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1610program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1570rm conftest.sed 1611rm conftest.sed
1571 1612
1572
1573# expand $ac_aux_dir to an absolute path 1613# expand $ac_aux_dir to an absolute path
1574am_aux_dir=`cd $ac_aux_dir && pwd` 1614am_aux_dir=`cd $ac_aux_dir && pwd`
1575 1615
1576test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1616test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1577# Use eval to expand $SHELL 1617# Use eval to expand $SHELL
1579 am_missing_run="$MISSING --run " 1619 am_missing_run="$MISSING --run "
1580else 1620else
1581 am_missing_run= 1621 am_missing_run=
1582 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1622 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1583echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1623echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1624fi
1625
1626if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1627 # We used to keeping the `.' as first argument, in order to
1628 # allow $(mkdir_p) to be used without argument. As in
1629 # $(mkdir_p) $(somedir)
1630 # where $(somedir) is conditionally defined. However this is wrong
1631 # for two reasons:
1632 # 1. if the package is installed by a user who cannot write `.'
1633 # make install will fail,
1634 # 2. the above comment should most certainly read
1635 # $(mkdir_p) $(DESTDIR)$(somedir)
1636 # so it does not work when $(somedir) is undefined and
1637 # $(DESTDIR) is not.
1638 # To support the latter case, we have to write
1639 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1640 # so the `.' trick is pointless.
1641 mkdir_p='mkdir -p --'
1642else
1643 # On NextStep and OpenStep, the `mkdir' command does not
1644 # recognize any option. It will interpret all options as
1645 # directories to create, and then abort because `.' already
1646 # exists.
1647 for d in ./-p ./--version;
1648 do
1649 test -d $d && rmdir $d
1650 done
1651 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1652 if test -f "$ac_aux_dir/mkinstalldirs"; then
1653 mkdir_p='$(mkinstalldirs)'
1654 else
1655 mkdir_p='$(install_sh) -d'
1656 fi
1584fi 1657fi
1585 1658
1586for ac_prog in gawk mawk nawk awk 1659for ac_prog in gawk mawk nawk awk
1587do 1660do
1588 # Extract the first word of "$ac_prog", so it can be a program name with args. 1661 # Extract the first word of "$ac_prog", so it can be a program name with args.
1623 test -n "$AWK" && break 1696 test -n "$AWK" && break
1624done 1697done
1625 1698
1626echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1699echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1627echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 1700echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1628set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 1701set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1629if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1702if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1630 echo $ECHO_N "(cached) $ECHO_C" >&6 1703 echo $ECHO_N "(cached) $ECHO_C" >&6
1631else 1704else
1632 cat >conftest.make <<\_ACEOF 1705 cat >conftest.make <<\_ACEOF
1633all: 1706all:
1659else 1732else
1660 am__leading_dot=_ 1733 am__leading_dot=_
1661fi 1734fi
1662rmdir .tst 2>/dev/null 1735rmdir .tst 2>/dev/null
1663 1736
1664 # test to see if srcdir already configured 1737# test to see if srcdir already configured
1665if test "`cd $srcdir && pwd`" != "`pwd`" && 1738if test "`cd $srcdir && pwd`" != "`pwd`" &&
1666 test -f $srcdir/config.status; then 1739 test -f $srcdir/config.status; then
1667 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 1740 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1668echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 1741echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1669 { (exit 1); exit 1; }; } 1742 { (exit 1); exit 1; }; }
1678 fi 1751 fi
1679fi 1752fi
1680 1753
1681 1754
1682# Define the identity of the package. 1755# Define the identity of the package.
1683 PACKAGE=vpe 1756 PACKAGE=gvpe
1684 VERSION=1.2 1757 VERSION=2.0
1685 1758
1686 1759
1687cat >>confdefs.h <<_ACEOF 1760cat >>confdefs.h <<_ACEOF
1688#define PACKAGE "$PACKAGE" 1761#define PACKAGE "$PACKAGE"
1689_ACEOF 1762_ACEOF
1706 1779
1707AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 1780AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1708 1781
1709 1782
1710MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 1783MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1711
1712
1713AMTAR=${AMTAR-"${am_missing_run}tar"}
1714 1784
1715install_sh=${install_sh-"$am_aux_dir/install-sh"} 1785install_sh=${install_sh-"$am_aux_dir/install-sh"}
1716 1786
1717# Installed binaries are usually stripped using `strip' when the user 1787# Installed binaries are usually stripped using `strip' when the user
1718# run `make install-strip'. However `strip' might not be the right 1788# run `make install-strip'. However `strip' might not be the right
1802fi 1872fi
1803INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 1873INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1804 1874
1805# We need awk for the "check" target. The system "awk" is bad on 1875# We need awk for the "check" target. The system "awk" is bad on
1806# some platforms. 1876# some platforms.
1877# Always define AMTAR for backward compatibility.
1878
1879AMTAR=${AMTAR-"${am_missing_run}tar"}
1880
1881am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1882
1883
1807 1884
1808 1885
1809 1886
1810 ac_config_headers="$ac_config_headers config.h" 1887 ac_config_headers="$ac_config_headers config.h"
1811 1888
2455 ac_status=$? 2532 ac_status=$?
2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457 (exit $ac_status); } 2534 (exit $ac_status); }
2458 2535
2459cat >conftest.$ac_ext <<_ACEOF 2536cat >conftest.$ac_ext <<_ACEOF
2460#line $LINENO "configure"
2461/* confdefs.h. */ 2537/* confdefs.h. */
2462_ACEOF 2538_ACEOF
2463cat confdefs.h >>conftest.$ac_ext 2539cat confdefs.h >>conftest.$ac_ext
2464cat >>conftest.$ac_ext <<_ACEOF 2540cat >>conftest.$ac_ext <<_ACEOF
2465/* end confdefs.h. */ 2541/* end confdefs.h. */
2475ac_clean_files_save=$ac_clean_files 2551ac_clean_files_save=$ac_clean_files
2476ac_clean_files="$ac_clean_files a.out a.exe b.out" 2552ac_clean_files="$ac_clean_files a.out a.exe b.out"
2477# Try to create an executable without -o first, disregard a.out. 2553# Try to create an executable without -o first, disregard a.out.
2478# It will help us diagnose broken compilers, and finding out an intuition 2554# It will help us diagnose broken compilers, and finding out an intuition
2479# of exeext. 2555# of exeext.
2480echo "$as_me:$LINENO: checking for C compiler default output" >&5 2556echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2481echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 2557echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2482ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2558ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2483if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 2559if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2484 (eval $ac_link_default) 2>&5 2560 (eval $ac_link_default) 2>&5
2485 ac_status=$? 2561 ac_status=$?
2486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2562 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 2572for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2497do 2573do
2498 test -f "$ac_file" || continue 2574 test -f "$ac_file" || continue
2499 case $ac_file in 2575 case $ac_file in
2500 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 2576 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2501 ;; 2577 ;;
2502 conftest.$ac_ext ) 2578 conftest.$ac_ext )
2503 # This is the source file. 2579 # This is the source file.
2504 ;; 2580 ;;
2505 [ab].out ) 2581 [ab].out )
2506 # We found the default executable, but exeext='' is most 2582 # We found the default executable, but exeext='' is most
2507 # certainly right. 2583 # certainly right.
2508 break;; 2584 break;;
2509 *.* ) 2585 *.* )
2510 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2586 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2511 # FIXME: I believe we export ac_cv_exeext for Libtool, 2587 # 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 2588 # but it would be cool to find out if it's true. Does anybody
2513 # maintain Libtool? --akim. 2589 # maintain Libtool? --akim.
2514 export ac_cv_exeext 2590 export ac_cv_exeext
2515 break;; 2591 break;;
2516 * ) 2592 * )
2517 break;; 2593 break;;
2518 esac 2594 esac
2519done 2595done
2520else 2596else
2521 echo "$as_me: failed program was:" >&5 2597 echo "$as_me: failed program was:" >&5
2522sed 's/^/| /' conftest.$ac_ext >&5 2598sed 's/^/| /' conftest.$ac_ext >&5
2586for ac_file in conftest.exe conftest conftest.*; do 2662for ac_file in conftest.exe conftest conftest.*; do
2587 test -f "$ac_file" || continue 2663 test -f "$ac_file" || continue
2588 case $ac_file in 2664 case $ac_file in
2589 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2665 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2590 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2666 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2591 export ac_cv_exeext 2667 export ac_cv_exeext
2592 break;; 2668 break;;
2593 * ) break;; 2669 * ) break;;
2594 esac 2670 esac
2595done 2671done
2596else 2672else
2597 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2673 { { 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 2688echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2613if test "${ac_cv_objext+set}" = set; then 2689if test "${ac_cv_objext+set}" = set; then
2614 echo $ECHO_N "(cached) $ECHO_C" >&6 2690 echo $ECHO_N "(cached) $ECHO_C" >&6
2615else 2691else
2616 cat >conftest.$ac_ext <<_ACEOF 2692 cat >conftest.$ac_ext <<_ACEOF
2617#line $LINENO "configure"
2618/* confdefs.h. */ 2693/* confdefs.h. */
2619_ACEOF 2694_ACEOF
2620cat confdefs.h >>conftest.$ac_ext 2695cat confdefs.h >>conftest.$ac_ext
2621cat >>conftest.$ac_ext <<_ACEOF 2696cat >>conftest.$ac_ext <<_ACEOF
2622/* end confdefs.h. */ 2697/* end confdefs.h. */
2663echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2738echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2664if test "${ac_cv_c_compiler_gnu+set}" = set; then 2739if test "${ac_cv_c_compiler_gnu+set}" = set; then
2665 echo $ECHO_N "(cached) $ECHO_C" >&6 2740 echo $ECHO_N "(cached) $ECHO_C" >&6
2666else 2741else
2667 cat >conftest.$ac_ext <<_ACEOF 2742 cat >conftest.$ac_ext <<_ACEOF
2668#line $LINENO "configure"
2669/* confdefs.h. */ 2743/* confdefs.h. */
2670_ACEOF 2744_ACEOF
2671cat confdefs.h >>conftest.$ac_ext 2745cat confdefs.h >>conftest.$ac_ext
2672cat >>conftest.$ac_ext <<_ACEOF 2746cat >>conftest.$ac_ext <<_ACEOF
2673/* end confdefs.h. */ 2747/* end confdefs.h. */
2683 return 0; 2757 return 0;
2684} 2758}
2685_ACEOF 2759_ACEOF
2686rm -f conftest.$ac_objext 2760rm -f conftest.$ac_objext
2687if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2761if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2688 (eval $ac_compile) 2>&5 2762 (eval $ac_compile) 2>conftest.er1
2689 ac_status=$? 2763 ac_status=$?
2764 grep -v '^ *+' conftest.er1 >conftest.err
2765 rm -f conftest.er1
2766 cat conftest.err >&5
2690 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2691 (exit $ac_status); } && 2768 (exit $ac_status); } &&
2692 { ac_try='test -s conftest.$ac_objext' 2769 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2694 (eval $ac_try) 2>&5 2771 (eval $ac_try) 2>&5
2695 ac_status=$? 2772 ac_status=$?
2696 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2774 (exit $ac_status); }; } &&
2775 { ac_try='test -s conftest.$ac_objext'
2776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2777 (eval $ac_try) 2>&5
2778 ac_status=$?
2779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2697 (exit $ac_status); }; }; then 2780 (exit $ac_status); }; }; then
2698 ac_compiler_gnu=yes 2781 ac_compiler_gnu=yes
2699else 2782else
2700 echo "$as_me: failed program was:" >&5 2783 echo "$as_me: failed program was:" >&5
2701sed 's/^/| /' conftest.$ac_ext >&5 2784sed 's/^/| /' conftest.$ac_ext >&5
2702 2785
2703ac_compiler_gnu=no 2786ac_compiler_gnu=no
2704fi 2787fi
2705rm -f conftest.$ac_objext conftest.$ac_ext 2788rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2706ac_cv_c_compiler_gnu=$ac_compiler_gnu 2789ac_cv_c_compiler_gnu=$ac_compiler_gnu
2707 2790
2708fi 2791fi
2709echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2792echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2710echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2793echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2716echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2799echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2717if test "${ac_cv_prog_cc_g+set}" = set; then 2800if test "${ac_cv_prog_cc_g+set}" = set; then
2718 echo $ECHO_N "(cached) $ECHO_C" >&6 2801 echo $ECHO_N "(cached) $ECHO_C" >&6
2719else 2802else
2720 cat >conftest.$ac_ext <<_ACEOF 2803 cat >conftest.$ac_ext <<_ACEOF
2721#line $LINENO "configure"
2722/* confdefs.h. */ 2804/* confdefs.h. */
2723_ACEOF 2805_ACEOF
2724cat confdefs.h >>conftest.$ac_ext 2806cat confdefs.h >>conftest.$ac_ext
2725cat >>conftest.$ac_ext <<_ACEOF 2807cat >>conftest.$ac_ext <<_ACEOF
2726/* end confdefs.h. */ 2808/* end confdefs.h. */
2733 return 0; 2815 return 0;
2734} 2816}
2735_ACEOF 2817_ACEOF
2736rm -f conftest.$ac_objext 2818rm -f conftest.$ac_objext
2737if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2819if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2738 (eval $ac_compile) 2>&5 2820 (eval $ac_compile) 2>conftest.er1
2739 ac_status=$? 2821 ac_status=$?
2822 grep -v '^ *+' conftest.er1 >conftest.err
2823 rm -f conftest.er1
2824 cat conftest.err >&5
2740 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741 (exit $ac_status); } && 2826 (exit $ac_status); } &&
2742 { ac_try='test -s conftest.$ac_objext' 2827 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2744 (eval $ac_try) 2>&5 2829 (eval $ac_try) 2>&5
2745 ac_status=$? 2830 ac_status=$?
2746 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); }; } &&
2833 { ac_try='test -s conftest.$ac_objext'
2834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2835 (eval $ac_try) 2>&5
2836 ac_status=$?
2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2747 (exit $ac_status); }; }; then 2838 (exit $ac_status); }; }; then
2748 ac_cv_prog_cc_g=yes 2839 ac_cv_prog_cc_g=yes
2749else 2840else
2750 echo "$as_me: failed program was:" >&5 2841 echo "$as_me: failed program was:" >&5
2751sed 's/^/| /' conftest.$ac_ext >&5 2842sed 's/^/| /' conftest.$ac_ext >&5
2752 2843
2753ac_cv_prog_cc_g=no 2844ac_cv_prog_cc_g=no
2754fi 2845fi
2755rm -f conftest.$ac_objext conftest.$ac_ext 2846rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2756fi 2847fi
2757echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2848echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2758echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2849echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2759if test "$ac_test_CFLAGS" = set; then 2850if test "$ac_test_CFLAGS" = set; then
2760 CFLAGS=$ac_save_CFLAGS 2851 CFLAGS=$ac_save_CFLAGS
2777 echo $ECHO_N "(cached) $ECHO_C" >&6 2868 echo $ECHO_N "(cached) $ECHO_C" >&6
2778else 2869else
2779 ac_cv_prog_cc_stdc=no 2870 ac_cv_prog_cc_stdc=no
2780ac_save_CC=$CC 2871ac_save_CC=$CC
2781cat >conftest.$ac_ext <<_ACEOF 2872cat >conftest.$ac_ext <<_ACEOF
2782#line $LINENO "configure"
2783/* confdefs.h. */ 2873/* confdefs.h. */
2784_ACEOF 2874_ACEOF
2785cat confdefs.h >>conftest.$ac_ext 2875cat confdefs.h >>conftest.$ac_ext
2786cat >>conftest.$ac_ext <<_ACEOF 2876cat >>conftest.$ac_ext <<_ACEOF
2787/* end confdefs.h. */ 2877/* end confdefs.h. */
2805 va_start (v,p); 2895 va_start (v,p);
2806 s = g (p, va_arg (v,int)); 2896 s = g (p, va_arg (v,int));
2807 va_end (v); 2897 va_end (v);
2808 return s; 2898 return s;
2809} 2899}
2900
2901/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2902 function prototypes and stuff, but not '\xHH' hex character constants.
2903 These don't provoke an error unfortunately, instead are silently treated
2904 as 'x'. The following induces an error, until -std1 is added to get
2905 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2906 array size at least. It's necessary to write '\x00'==0 to get something
2907 that's true only with -std1. */
2908int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2909
2810int test (int i, double x); 2910int test (int i, double x);
2811struct s1 {int (*f) (int a);}; 2911struct s1 {int (*f) (int a);};
2812struct s2 {int (*f) (double a);}; 2912struct s2 {int (*f) (double a);};
2813int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2913int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2814int argc; 2914int argc;
2831for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2931for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2832do 2932do
2833 CC="$ac_save_CC $ac_arg" 2933 CC="$ac_save_CC $ac_arg"
2834 rm -f conftest.$ac_objext 2934 rm -f conftest.$ac_objext
2835if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2935if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2836 (eval $ac_compile) 2>&5 2936 (eval $ac_compile) 2>conftest.er1
2837 ac_status=$? 2937 ac_status=$?
2938 grep -v '^ *+' conftest.er1 >conftest.err
2939 rm -f conftest.er1
2940 cat conftest.err >&5
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); } && 2942 (exit $ac_status); } &&
2943 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2945 (eval $ac_try) 2>&5
2946 ac_status=$?
2947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948 (exit $ac_status); }; } &&
2840 { ac_try='test -s conftest.$ac_objext' 2949 { ac_try='test -s conftest.$ac_objext'
2841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2842 (eval $ac_try) 2>&5 2951 (eval $ac_try) 2>&5
2843 ac_status=$? 2952 ac_status=$?
2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); }; }; then 2954 (exit $ac_status); }; }; then
2848else 2957else
2849 echo "$as_me: failed program was:" >&5 2958 echo "$as_me: failed program was:" >&5
2850sed 's/^/| /' conftest.$ac_ext >&5 2959sed 's/^/| /' conftest.$ac_ext >&5
2851 2960
2852fi 2961fi
2853rm -f conftest.$ac_objext 2962rm -f conftest.err conftest.$ac_objext
2854done 2963done
2855rm -f conftest.$ac_ext conftest.$ac_objext 2964rm -f conftest.$ac_ext conftest.$ac_objext
2856CC=$ac_save_CC 2965CC=$ac_save_CC
2857 2966
2858fi 2967fi
2876 choke me 2985 choke me
2877#endif 2986#endif
2878_ACEOF 2987_ACEOF
2879rm -f conftest.$ac_objext 2988rm -f conftest.$ac_objext
2880if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2989if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2881 (eval $ac_compile) 2>&5 2990 (eval $ac_compile) 2>conftest.er1
2882 ac_status=$? 2991 ac_status=$?
2992 grep -v '^ *+' conftest.er1 >conftest.err
2993 rm -f conftest.er1
2994 cat conftest.err >&5
2883 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884 (exit $ac_status); } && 2996 (exit $ac_status); } &&
2997 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2999 (eval $ac_try) 2>&5
3000 ac_status=$?
3001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002 (exit $ac_status); }; } &&
2885 { ac_try='test -s conftest.$ac_objext' 3003 { ac_try='test -s conftest.$ac_objext'
2886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2887 (eval $ac_try) 2>&5 3005 (eval $ac_try) 2>&5
2888 ac_status=$? 3006 ac_status=$?
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); }; }; then 3008 (exit $ac_status); }; }; then
2895 'extern "C" void exit (int) throw ();' \ 3013 'extern "C" void exit (int) throw ();' \
2896 'extern "C" void exit (int);' \ 3014 'extern "C" void exit (int);' \
2897 'void exit (int);' 3015 'void exit (int);'
2898do 3016do
2899 cat >conftest.$ac_ext <<_ACEOF 3017 cat >conftest.$ac_ext <<_ACEOF
2900#line $LINENO "configure"
2901/* confdefs.h. */ 3018/* confdefs.h. */
2902_ACEOF 3019_ACEOF
2903cat confdefs.h >>conftest.$ac_ext 3020cat confdefs.h >>conftest.$ac_ext
2904cat >>conftest.$ac_ext <<_ACEOF 3021cat >>conftest.$ac_ext <<_ACEOF
2905/* end confdefs.h. */ 3022/* end confdefs.h. */
2913 return 0; 3030 return 0;
2914} 3031}
2915_ACEOF 3032_ACEOF
2916rm -f conftest.$ac_objext 3033rm -f conftest.$ac_objext
2917if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3034if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2918 (eval $ac_compile) 2>&5 3035 (eval $ac_compile) 2>conftest.er1
2919 ac_status=$? 3036 ac_status=$?
3037 grep -v '^ *+' conftest.er1 >conftest.err
3038 rm -f conftest.er1
3039 cat conftest.err >&5
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); } && 3041 (exit $ac_status); } &&
2922 { ac_try='test -s conftest.$ac_objext' 3042 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2924 (eval $ac_try) 2>&5 3044 (eval $ac_try) 2>&5
2925 ac_status=$? 3045 ac_status=$?
2926 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3047 (exit $ac_status); }; } &&
3048 { ac_try='test -s conftest.$ac_objext'
3049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3050 (eval $ac_try) 2>&5
3051 ac_status=$?
3052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927 (exit $ac_status); }; }; then 3053 (exit $ac_status); }; }; then
2928 : 3054 :
2929else 3055else
2930 echo "$as_me: failed program was:" >&5 3056 echo "$as_me: failed program was:" >&5
2931sed 's/^/| /' conftest.$ac_ext >&5 3057sed 's/^/| /' conftest.$ac_ext >&5
2932 3058
2933continue 3059continue
2934fi 3060fi
2935rm -f conftest.$ac_objext conftest.$ac_ext 3061rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2936 cat >conftest.$ac_ext <<_ACEOF 3062 cat >conftest.$ac_ext <<_ACEOF
2937#line $LINENO "configure"
2938/* confdefs.h. */ 3063/* confdefs.h. */
2939_ACEOF 3064_ACEOF
2940cat confdefs.h >>conftest.$ac_ext 3065cat confdefs.h >>conftest.$ac_ext
2941cat >>conftest.$ac_ext <<_ACEOF 3066cat >>conftest.$ac_ext <<_ACEOF
2942/* end confdefs.h. */ 3067/* end confdefs.h. */
2949 return 0; 3074 return 0;
2950} 3075}
2951_ACEOF 3076_ACEOF
2952rm -f conftest.$ac_objext 3077rm -f conftest.$ac_objext
2953if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3078if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2954 (eval $ac_compile) 2>&5 3079 (eval $ac_compile) 2>conftest.er1
2955 ac_status=$? 3080 ac_status=$?
3081 grep -v '^ *+' conftest.er1 >conftest.err
3082 rm -f conftest.er1
3083 cat conftest.err >&5
2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957 (exit $ac_status); } && 3085 (exit $ac_status); } &&
2958 { ac_try='test -s conftest.$ac_objext' 3086 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2960 (eval $ac_try) 2>&5 3088 (eval $ac_try) 2>&5
2961 ac_status=$? 3089 ac_status=$?
2962 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3091 (exit $ac_status); }; } &&
3092 { ac_try='test -s conftest.$ac_objext'
3093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3094 (eval $ac_try) 2>&5
3095 ac_status=$?
3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963 (exit $ac_status); }; }; then 3097 (exit $ac_status); }; }; then
2964 break 3098 break
2965else 3099else
2966 echo "$as_me: failed program was:" >&5 3100 echo "$as_me: failed program was:" >&5
2967sed 's/^/| /' conftest.$ac_ext >&5 3101sed 's/^/| /' conftest.$ac_ext >&5
2968 3102
2969fi 3103fi
2970rm -f conftest.$ac_objext conftest.$ac_ext 3104rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2971done 3105done
2972rm -f conftest* 3106rm -f conftest*
2973if test -n "$ac_declaration"; then 3107if test -n "$ac_declaration"; then
2974 echo '#ifdef __cplusplus' >>confdefs.h 3108 echo '#ifdef __cplusplus' >>confdefs.h
2975 echo $ac_declaration >>confdefs.h 3109 echo $ac_declaration >>confdefs.h
2979else 3113else
2980 echo "$as_me: failed program was:" >&5 3114 echo "$as_me: failed program was:" >&5
2981sed 's/^/| /' conftest.$ac_ext >&5 3115sed 's/^/| /' conftest.$ac_ext >&5
2982 3116
2983fi 3117fi
2984rm -f conftest.$ac_objext conftest.$ac_ext 3118rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2985ac_ext=c 3119ac_ext=c
2986ac_cpp='$CPP $CPPFLAGS' 3120ac_cpp='$CPP $CPPFLAGS'
2987ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3121ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2988ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3122ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2989ac_compiler_gnu=$ac_cv_c_compiler_gnu 3123ac_compiler_gnu=$ac_cv_c_compiler_gnu
3027 # overwrite some of them when testing with obscure command lines. 3161 # overwrite some of them when testing with obscure command lines.
3028 # This happens at least with the AIX C compiler. 3162 # This happens at least with the AIX C compiler.
3029 : > sub/conftest.c 3163 : > sub/conftest.c
3030 for i in 1 2 3 4 5 6; do 3164 for i in 1 2 3 4 5 6; do
3031 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3165 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3166 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3167 # Solaris 8's {/usr,}/bin/sh.
3032 : > sub/conftst$i.h 3168 touch sub/conftst$i.h
3033 done 3169 done
3034 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3170 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3035 3171
3036 case $depmode in 3172 case $depmode in
3037 nosideeffect) 3173 nosideeffect)
3055 >/dev/null 2>conftest.err && 3191 >/dev/null 2>conftest.err &&
3056 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3192 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3057 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3193 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3058 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3194 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3059 # icc doesn't choke on unknown options, it will just issue warnings 3195 # icc doesn't choke on unknown options, it will just issue warnings
3060 # (even with -Werror). So we grep stderr for any message 3196 # or remarks (even with -Werror). So we grep stderr for any message
3061 # that says an option was ignored. 3197 # that says an option was ignored or not supported.
3198 # When given -MP, icc 7.0 and 7.1 complain thusly:
3199 # icc: Command line warning: ignoring option '-M'; no argument required
3200 # The diagnosis changed in icc 8.0:
3201 # icc: Command line remark: option '-MP' not supported
3202 if (grep 'ignoring option' conftest.err ||
3062 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 3203 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3063 am_cv_CC_dependencies_compiler_type=$depmode 3204 am_cv_CC_dependencies_compiler_type=$depmode
3064 break 3205 break
3065 fi 3206 fi
3066 fi 3207 fi
3067 done 3208 done
3652echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6 3793echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
3653if test "${gt_cv_func_gnugettext1_libc+set}" = set; then 3794if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
3654 echo $ECHO_N "(cached) $ECHO_C" >&6 3795 echo $ECHO_N "(cached) $ECHO_C" >&6
3655else 3796else
3656 cat >conftest.$ac_ext <<_ACEOF 3797 cat >conftest.$ac_ext <<_ACEOF
3657#line $LINENO "configure"
3658/* confdefs.h. */ 3798/* confdefs.h. */
3659_ACEOF 3799_ACEOF
3660cat confdefs.h >>conftest.$ac_ext 3800cat confdefs.h >>conftest.$ac_ext
3661cat >>conftest.$ac_ext <<_ACEOF 3801cat >>conftest.$ac_ext <<_ACEOF
3662/* end confdefs.h. */ 3802/* end confdefs.h. */
3672 return 0; 3812 return 0;
3673} 3813}
3674_ACEOF 3814_ACEOF
3675rm -f conftest.$ac_objext conftest$ac_exeext 3815rm -f conftest.$ac_objext conftest$ac_exeext
3676if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3816if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3677 (eval $ac_link) 2>&5 3817 (eval $ac_link) 2>conftest.er1
3678 ac_status=$? 3818 ac_status=$?
3819 grep -v '^ *+' conftest.er1 >conftest.err
3820 rm -f conftest.er1
3821 cat conftest.err >&5
3679 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3680 (exit $ac_status); } && 3823 (exit $ac_status); } &&
3681 { ac_try='test -s conftest$ac_exeext' 3824 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3683 (eval $ac_try) 2>&5 3826 (eval $ac_try) 2>&5
3684 ac_status=$? 3827 ac_status=$?
3685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3829 (exit $ac_status); }; } &&
3830 { ac_try='test -s conftest$ac_exeext'
3831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3832 (eval $ac_try) 2>&5
3833 ac_status=$?
3834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3686 (exit $ac_status); }; }; then 3835 (exit $ac_status); }; }; then
3687 gt_cv_func_gnugettext1_libc=yes 3836 gt_cv_func_gnugettext1_libc=yes
3688else 3837else
3689 echo "$as_me: failed program was:" >&5 3838 echo "$as_me: failed program was:" >&5
3690sed 's/^/| /' conftest.$ac_ext >&5 3839sed 's/^/| /' conftest.$ac_ext >&5
3691 3840
3692gt_cv_func_gnugettext1_libc=no 3841gt_cv_func_gnugettext1_libc=no
3693fi 3842fi
3694rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3843rm -f conftest.err conftest.$ac_objext \
3844 conftest$ac_exeext conftest.$ac_ext
3695fi 3845fi
3696echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5 3846echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
3697echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6 3847echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
3698 3848
3699 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then 3849 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
3734else 3884else
3735 3885
3736 am_cv_func_iconv="no, consider installing GNU libiconv" 3886 am_cv_func_iconv="no, consider installing GNU libiconv"
3737 am_cv_lib_iconv=no 3887 am_cv_lib_iconv=no
3738 cat >conftest.$ac_ext <<_ACEOF 3888 cat >conftest.$ac_ext <<_ACEOF
3739#line $LINENO "configure"
3740/* confdefs.h. */ 3889/* confdefs.h. */
3741_ACEOF 3890_ACEOF
3742cat confdefs.h >>conftest.$ac_ext 3891cat confdefs.h >>conftest.$ac_ext
3743cat >>conftest.$ac_ext <<_ACEOF 3892cat >>conftest.$ac_ext <<_ACEOF
3744/* end confdefs.h. */ 3893/* end confdefs.h. */
3754 return 0; 3903 return 0;
3755} 3904}
3756_ACEOF 3905_ACEOF
3757rm -f conftest.$ac_objext conftest$ac_exeext 3906rm -f conftest.$ac_objext conftest$ac_exeext
3758if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3907if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3759 (eval $ac_link) 2>&5 3908 (eval $ac_link) 2>conftest.er1
3760 ac_status=$? 3909 ac_status=$?
3910 grep -v '^ *+' conftest.er1 >conftest.err
3911 rm -f conftest.er1
3912 cat conftest.err >&5
3761 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3762 (exit $ac_status); } && 3914 (exit $ac_status); } &&
3763 { ac_try='test -s conftest$ac_exeext' 3915 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3765 (eval $ac_try) 2>&5 3917 (eval $ac_try) 2>&5
3766 ac_status=$? 3918 ac_status=$?
3767 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920 (exit $ac_status); }; } &&
3921 { ac_try='test -s conftest$ac_exeext'
3922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3923 (eval $ac_try) 2>&5
3924 ac_status=$?
3925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3768 (exit $ac_status); }; }; then 3926 (exit $ac_status); }; }; then
3769 am_cv_func_iconv=yes 3927 am_cv_func_iconv=yes
3770else 3928else
3771 echo "$as_me: failed program was:" >&5 3929 echo "$as_me: failed program was:" >&5
3772sed 's/^/| /' conftest.$ac_ext >&5 3930sed 's/^/| /' conftest.$ac_ext >&5
3773 3931
3774fi 3932fi
3775rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3933rm -f conftest.err conftest.$ac_objext \
3934 conftest$ac_exeext conftest.$ac_ext
3776 if test "$am_cv_func_iconv" != yes; then 3935 if test "$am_cv_func_iconv" != yes; then
3777 am_save_LIBS="$LIBS" 3936 am_save_LIBS="$LIBS"
3778 LIBS="$LIBS $LIBICONV" 3937 LIBS="$LIBS $LIBICONV"
3779 cat >conftest.$ac_ext <<_ACEOF 3938 cat >conftest.$ac_ext <<_ACEOF
3780#line $LINENO "configure"
3781/* confdefs.h. */ 3939/* confdefs.h. */
3782_ACEOF 3940_ACEOF
3783cat confdefs.h >>conftest.$ac_ext 3941cat confdefs.h >>conftest.$ac_ext
3784cat >>conftest.$ac_ext <<_ACEOF 3942cat >>conftest.$ac_ext <<_ACEOF
3785/* end confdefs.h. */ 3943/* end confdefs.h. */
3795 return 0; 3953 return 0;
3796} 3954}
3797_ACEOF 3955_ACEOF
3798rm -f conftest.$ac_objext conftest$ac_exeext 3956rm -f conftest.$ac_objext conftest$ac_exeext
3799if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3957if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3800 (eval $ac_link) 2>&5 3958 (eval $ac_link) 2>conftest.er1
3801 ac_status=$? 3959 ac_status=$?
3960 grep -v '^ *+' conftest.er1 >conftest.err
3961 rm -f conftest.er1
3962 cat conftest.err >&5
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); } && 3964 (exit $ac_status); } &&
3965 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3967 (eval $ac_try) 2>&5
3968 ac_status=$?
3969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3970 (exit $ac_status); }; } &&
3804 { ac_try='test -s conftest$ac_exeext' 3971 { ac_try='test -s conftest$ac_exeext'
3805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3806 (eval $ac_try) 2>&5 3973 (eval $ac_try) 2>&5
3807 ac_status=$? 3974 ac_status=$?
3808 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809 (exit $ac_status); }; }; then 3976 (exit $ac_status); }; }; then
3812else 3979else
3813 echo "$as_me: failed program was:" >&5 3980 echo "$as_me: failed program was:" >&5
3814sed 's/^/| /' conftest.$ac_ext >&5 3981sed 's/^/| /' conftest.$ac_ext >&5
3815 3982
3816fi 3983fi
3817rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3984rm -f conftest.err conftest.$ac_objext \
3985 conftest$ac_exeext conftest.$ac_ext
3818 LIBS="$am_save_LIBS" 3986 LIBS="$am_save_LIBS"
3819 fi 3987 fi
3820 3988
3821fi 3989fi
3822echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 3990echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
4228 gt_save_CPPFLAGS="$CPPFLAGS" 4396 gt_save_CPPFLAGS="$CPPFLAGS"
4229 CPPFLAGS="$CPPFLAGS $INCINTL" 4397 CPPFLAGS="$CPPFLAGS $INCINTL"
4230 gt_save_LIBS="$LIBS" 4398 gt_save_LIBS="$LIBS"
4231 LIBS="$LIBS $LIBINTL" 4399 LIBS="$LIBS $LIBINTL"
4232 cat >conftest.$ac_ext <<_ACEOF 4400 cat >conftest.$ac_ext <<_ACEOF
4233#line $LINENO "configure"
4234/* confdefs.h. */ 4401/* confdefs.h. */
4235_ACEOF 4402_ACEOF
4236cat confdefs.h >>conftest.$ac_ext 4403cat confdefs.h >>conftest.$ac_ext
4237cat >>conftest.$ac_ext <<_ACEOF 4404cat >>conftest.$ac_ext <<_ACEOF
4238/* end confdefs.h. */ 4405/* end confdefs.h. */
4252 return 0; 4419 return 0;
4253} 4420}
4254_ACEOF 4421_ACEOF
4255rm -f conftest.$ac_objext conftest$ac_exeext 4422rm -f conftest.$ac_objext conftest$ac_exeext
4256if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4423if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4257 (eval $ac_link) 2>&5 4424 (eval $ac_link) 2>conftest.er1
4258 ac_status=$? 4425 ac_status=$?
4426 grep -v '^ *+' conftest.er1 >conftest.err
4427 rm -f conftest.er1
4428 cat conftest.err >&5
4259 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4260 (exit $ac_status); } && 4430 (exit $ac_status); } &&
4261 { ac_try='test -s conftest$ac_exeext' 4431 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4263 (eval $ac_try) 2>&5 4433 (eval $ac_try) 2>&5
4264 ac_status=$? 4434 ac_status=$?
4265 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4436 (exit $ac_status); }; } &&
4437 { ac_try='test -s conftest$ac_exeext'
4438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4439 (eval $ac_try) 2>&5
4440 ac_status=$?
4441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4266 (exit $ac_status); }; }; then 4442 (exit $ac_status); }; }; then
4267 gt_cv_func_gnugettext1_libintl=yes 4443 gt_cv_func_gnugettext1_libintl=yes
4268else 4444else
4269 echo "$as_me: failed program was:" >&5 4445 echo "$as_me: failed program was:" >&5
4270sed 's/^/| /' conftest.$ac_ext >&5 4446sed 's/^/| /' conftest.$ac_ext >&5
4271 4447
4272gt_cv_func_gnugettext1_libintl=no 4448gt_cv_func_gnugettext1_libintl=no
4273fi 4449fi
4274rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4450rm -f conftest.err conftest.$ac_objext \
4451 conftest$ac_exeext conftest.$ac_ext
4275 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then 4452 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
4276 LIBS="$LIBS $LIBICONV" 4453 LIBS="$LIBS $LIBICONV"
4277 cat >conftest.$ac_ext <<_ACEOF 4454 cat >conftest.$ac_ext <<_ACEOF
4278#line $LINENO "configure"
4279/* confdefs.h. */ 4455/* confdefs.h. */
4280_ACEOF 4456_ACEOF
4281cat confdefs.h >>conftest.$ac_ext 4457cat confdefs.h >>conftest.$ac_ext
4282cat >>conftest.$ac_ext <<_ACEOF 4458cat >>conftest.$ac_ext <<_ACEOF
4283/* end confdefs.h. */ 4459/* end confdefs.h. */
4297 return 0; 4473 return 0;
4298} 4474}
4299_ACEOF 4475_ACEOF
4300rm -f conftest.$ac_objext conftest$ac_exeext 4476rm -f conftest.$ac_objext conftest$ac_exeext
4301if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4477if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4302 (eval $ac_link) 2>&5 4478 (eval $ac_link) 2>conftest.er1
4303 ac_status=$? 4479 ac_status=$?
4480 grep -v '^ *+' conftest.er1 >conftest.err
4481 rm -f conftest.er1
4482 cat conftest.err >&5
4304 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4305 (exit $ac_status); } && 4484 (exit $ac_status); } &&
4485 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4487 (eval $ac_try) 2>&5
4488 ac_status=$?
4489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4490 (exit $ac_status); }; } &&
4306 { ac_try='test -s conftest$ac_exeext' 4491 { ac_try='test -s conftest$ac_exeext'
4307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4308 (eval $ac_try) 2>&5 4493 (eval $ac_try) 2>&5
4309 ac_status=$? 4494 ac_status=$?
4310 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311 (exit $ac_status); }; }; then 4496 (exit $ac_status); }; }; then
4316else 4501else
4317 echo "$as_me: failed program was:" >&5 4502 echo "$as_me: failed program was:" >&5
4318sed 's/^/| /' conftest.$ac_ext >&5 4503sed 's/^/| /' conftest.$ac_ext >&5
4319 4504
4320fi 4505fi
4321rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4506rm -f conftest.err conftest.$ac_objext \
4507 conftest$ac_exeext conftest.$ac_ext
4322 fi 4508 fi
4323 CPPFLAGS="$gt_save_CPPFLAGS" 4509 CPPFLAGS="$gt_save_CPPFLAGS"
4324 LIBS="$gt_save_LIBS" 4510 LIBS="$gt_save_LIBS"
4325fi 4511fi
4326echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5 4512echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
4417cat >>confdefs.h <<\_ACEOF 4603cat >>confdefs.h <<\_ACEOF
4418#define _GNU_SOURCE 1 4604#define _GNU_SOURCE 1
4419_ACEOF 4605_ACEOF
4420 4606
4421 4607
4422cat >>confdefs.h <<\_ACEOF 4608# do NOT define POSIX_SOURCE, sicne this clashes with many BSDs
4423#define __USE_BSD 1
4424_ACEOF
4425
4426 4609
4427ALL_LINGUAS="" 4610ALL_LINGUAS=""
4428 4611
4429ac_ext=c 4612ac_ext=c
4430ac_cpp='$CPP $CPPFLAGS' 4613ac_cpp='$CPP $CPPFLAGS'
4765echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 4948echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4766if test "${ac_cv_c_compiler_gnu+set}" = set; then 4949if test "${ac_cv_c_compiler_gnu+set}" = set; then
4767 echo $ECHO_N "(cached) $ECHO_C" >&6 4950 echo $ECHO_N "(cached) $ECHO_C" >&6
4768else 4951else
4769 cat >conftest.$ac_ext <<_ACEOF 4952 cat >conftest.$ac_ext <<_ACEOF
4770#line $LINENO "configure"
4771/* confdefs.h. */ 4953/* confdefs.h. */
4772_ACEOF 4954_ACEOF
4773cat confdefs.h >>conftest.$ac_ext 4955cat confdefs.h >>conftest.$ac_ext
4774cat >>conftest.$ac_ext <<_ACEOF 4956cat >>conftest.$ac_ext <<_ACEOF
4775/* end confdefs.h. */ 4957/* end confdefs.h. */
4785 return 0; 4967 return 0;
4786} 4968}
4787_ACEOF 4969_ACEOF
4788rm -f conftest.$ac_objext 4970rm -f conftest.$ac_objext
4789if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4971if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4790 (eval $ac_compile) 2>&5 4972 (eval $ac_compile) 2>conftest.er1
4791 ac_status=$? 4973 ac_status=$?
4974 grep -v '^ *+' conftest.er1 >conftest.err
4975 rm -f conftest.er1
4976 cat conftest.err >&5
4792 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4793 (exit $ac_status); } && 4978 (exit $ac_status); } &&
4794 { ac_try='test -s conftest.$ac_objext' 4979 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4796 (eval $ac_try) 2>&5 4981 (eval $ac_try) 2>&5
4797 ac_status=$? 4982 ac_status=$?
4798 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4984 (exit $ac_status); }; } &&
4985 { ac_try='test -s conftest.$ac_objext'
4986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4987 (eval $ac_try) 2>&5
4988 ac_status=$?
4989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4799 (exit $ac_status); }; }; then 4990 (exit $ac_status); }; }; then
4800 ac_compiler_gnu=yes 4991 ac_compiler_gnu=yes
4801else 4992else
4802 echo "$as_me: failed program was:" >&5 4993 echo "$as_me: failed program was:" >&5
4803sed 's/^/| /' conftest.$ac_ext >&5 4994sed 's/^/| /' conftest.$ac_ext >&5
4804 4995
4805ac_compiler_gnu=no 4996ac_compiler_gnu=no
4806fi 4997fi
4807rm -f conftest.$ac_objext conftest.$ac_ext 4998rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4808ac_cv_c_compiler_gnu=$ac_compiler_gnu 4999ac_cv_c_compiler_gnu=$ac_compiler_gnu
4809 5000
4810fi 5001fi
4811echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 5002echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4812echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 5003echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4818echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 5009echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4819if test "${ac_cv_prog_cc_g+set}" = set; then 5010if test "${ac_cv_prog_cc_g+set}" = set; then
4820 echo $ECHO_N "(cached) $ECHO_C" >&6 5011 echo $ECHO_N "(cached) $ECHO_C" >&6
4821else 5012else
4822 cat >conftest.$ac_ext <<_ACEOF 5013 cat >conftest.$ac_ext <<_ACEOF
4823#line $LINENO "configure"
4824/* confdefs.h. */ 5014/* confdefs.h. */
4825_ACEOF 5015_ACEOF
4826cat confdefs.h >>conftest.$ac_ext 5016cat confdefs.h >>conftest.$ac_ext
4827cat >>conftest.$ac_ext <<_ACEOF 5017cat >>conftest.$ac_ext <<_ACEOF
4828/* end confdefs.h. */ 5018/* end confdefs.h. */
4835 return 0; 5025 return 0;
4836} 5026}
4837_ACEOF 5027_ACEOF
4838rm -f conftest.$ac_objext 5028rm -f conftest.$ac_objext
4839if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5029if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4840 (eval $ac_compile) 2>&5 5030 (eval $ac_compile) 2>conftest.er1
4841 ac_status=$? 5031 ac_status=$?
5032 grep -v '^ *+' conftest.er1 >conftest.err
5033 rm -f conftest.er1
5034 cat conftest.err >&5
4842 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843 (exit $ac_status); } && 5036 (exit $ac_status); } &&
4844 { ac_try='test -s conftest.$ac_objext' 5037 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4846 (eval $ac_try) 2>&5 5039 (eval $ac_try) 2>&5
4847 ac_status=$? 5040 ac_status=$?
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5042 (exit $ac_status); }; } &&
5043 { ac_try='test -s conftest.$ac_objext'
5044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5045 (eval $ac_try) 2>&5
5046 ac_status=$?
5047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); }; }; then 5048 (exit $ac_status); }; }; then
4850 ac_cv_prog_cc_g=yes 5049 ac_cv_prog_cc_g=yes
4851else 5050else
4852 echo "$as_me: failed program was:" >&5 5051 echo "$as_me: failed program was:" >&5
4853sed 's/^/| /' conftest.$ac_ext >&5 5052sed 's/^/| /' conftest.$ac_ext >&5
4854 5053
4855ac_cv_prog_cc_g=no 5054ac_cv_prog_cc_g=no
4856fi 5055fi
4857rm -f conftest.$ac_objext conftest.$ac_ext 5056rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4858fi 5057fi
4859echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 5058echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4860echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 5059echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4861if test "$ac_test_CFLAGS" = set; then 5060if test "$ac_test_CFLAGS" = set; then
4862 CFLAGS=$ac_save_CFLAGS 5061 CFLAGS=$ac_save_CFLAGS
4879 echo $ECHO_N "(cached) $ECHO_C" >&6 5078 echo $ECHO_N "(cached) $ECHO_C" >&6
4880else 5079else
4881 ac_cv_prog_cc_stdc=no 5080 ac_cv_prog_cc_stdc=no
4882ac_save_CC=$CC 5081ac_save_CC=$CC
4883cat >conftest.$ac_ext <<_ACEOF 5082cat >conftest.$ac_ext <<_ACEOF
4884#line $LINENO "configure"
4885/* confdefs.h. */ 5083/* confdefs.h. */
4886_ACEOF 5084_ACEOF
4887cat confdefs.h >>conftest.$ac_ext 5085cat confdefs.h >>conftest.$ac_ext
4888cat >>conftest.$ac_ext <<_ACEOF 5086cat >>conftest.$ac_ext <<_ACEOF
4889/* end confdefs.h. */ 5087/* end confdefs.h. */
4907 va_start (v,p); 5105 va_start (v,p);
4908 s = g (p, va_arg (v,int)); 5106 s = g (p, va_arg (v,int));
4909 va_end (v); 5107 va_end (v);
4910 return s; 5108 return s;
4911} 5109}
5110
5111/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5112 function prototypes and stuff, but not '\xHH' hex character constants.
5113 These don't provoke an error unfortunately, instead are silently treated
5114 as 'x'. The following induces an error, until -std1 is added to get
5115 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5116 array size at least. It's necessary to write '\x00'==0 to get something
5117 that's true only with -std1. */
5118int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5119
4912int test (int i, double x); 5120int test (int i, double x);
4913struct s1 {int (*f) (int a);}; 5121struct s1 {int (*f) (int a);};
4914struct s2 {int (*f) (double a);}; 5122struct s2 {int (*f) (double a);};
4915int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 5123int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4916int argc; 5124int argc;
4933for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 5141for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4934do 5142do
4935 CC="$ac_save_CC $ac_arg" 5143 CC="$ac_save_CC $ac_arg"
4936 rm -f conftest.$ac_objext 5144 rm -f conftest.$ac_objext
4937if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5145if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4938 (eval $ac_compile) 2>&5 5146 (eval $ac_compile) 2>conftest.er1
4939 ac_status=$? 5147 ac_status=$?
5148 grep -v '^ *+' conftest.er1 >conftest.err
5149 rm -f conftest.er1
5150 cat conftest.err >&5
4940 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941 (exit $ac_status); } && 5152 (exit $ac_status); } &&
5153 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5155 (eval $ac_try) 2>&5
5156 ac_status=$?
5157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5158 (exit $ac_status); }; } &&
4942 { ac_try='test -s conftest.$ac_objext' 5159 { ac_try='test -s conftest.$ac_objext'
4943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4944 (eval $ac_try) 2>&5 5161 (eval $ac_try) 2>&5
4945 ac_status=$? 5162 ac_status=$?
4946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4947 (exit $ac_status); }; }; then 5164 (exit $ac_status); }; }; then
4950else 5167else
4951 echo "$as_me: failed program was:" >&5 5168 echo "$as_me: failed program was:" >&5
4952sed 's/^/| /' conftest.$ac_ext >&5 5169sed 's/^/| /' conftest.$ac_ext >&5
4953 5170
4954fi 5171fi
4955rm -f conftest.$ac_objext 5172rm -f conftest.err conftest.$ac_objext
4956done 5173done
4957rm -f conftest.$ac_ext conftest.$ac_objext 5174rm -f conftest.$ac_ext conftest.$ac_objext
4958CC=$ac_save_CC 5175CC=$ac_save_CC
4959 5176
4960fi 5177fi
4978 choke me 5195 choke me
4979#endif 5196#endif
4980_ACEOF 5197_ACEOF
4981rm -f conftest.$ac_objext 5198rm -f conftest.$ac_objext
4982if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5199if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4983 (eval $ac_compile) 2>&5 5200 (eval $ac_compile) 2>conftest.er1
4984 ac_status=$? 5201 ac_status=$?
5202 grep -v '^ *+' conftest.er1 >conftest.err
5203 rm -f conftest.er1
5204 cat conftest.err >&5
4985 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4986 (exit $ac_status); } && 5206 (exit $ac_status); } &&
5207 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5209 (eval $ac_try) 2>&5
5210 ac_status=$?
5211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5212 (exit $ac_status); }; } &&
4987 { ac_try='test -s conftest.$ac_objext' 5213 { ac_try='test -s conftest.$ac_objext'
4988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4989 (eval $ac_try) 2>&5 5215 (eval $ac_try) 2>&5
4990 ac_status=$? 5216 ac_status=$?
4991 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4992 (exit $ac_status); }; }; then 5218 (exit $ac_status); }; }; then
4997 'extern "C" void exit (int) throw ();' \ 5223 'extern "C" void exit (int) throw ();' \
4998 'extern "C" void exit (int);' \ 5224 'extern "C" void exit (int);' \
4999 'void exit (int);' 5225 'void exit (int);'
5000do 5226do
5001 cat >conftest.$ac_ext <<_ACEOF 5227 cat >conftest.$ac_ext <<_ACEOF
5002#line $LINENO "configure"
5003/* confdefs.h. */ 5228/* confdefs.h. */
5004_ACEOF 5229_ACEOF
5005cat confdefs.h >>conftest.$ac_ext 5230cat confdefs.h >>conftest.$ac_ext
5006cat >>conftest.$ac_ext <<_ACEOF 5231cat >>conftest.$ac_ext <<_ACEOF
5007/* end confdefs.h. */ 5232/* end confdefs.h. */
5015 return 0; 5240 return 0;
5016} 5241}
5017_ACEOF 5242_ACEOF
5018rm -f conftest.$ac_objext 5243rm -f conftest.$ac_objext
5019if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5244if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5020 (eval $ac_compile) 2>&5 5245 (eval $ac_compile) 2>conftest.er1
5021 ac_status=$? 5246 ac_status=$?
5247 grep -v '^ *+' conftest.er1 >conftest.err
5248 rm -f conftest.er1
5249 cat conftest.err >&5
5022 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5023 (exit $ac_status); } && 5251 (exit $ac_status); } &&
5024 { ac_try='test -s conftest.$ac_objext' 5252 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5026 (eval $ac_try) 2>&5 5254 (eval $ac_try) 2>&5
5027 ac_status=$? 5255 ac_status=$?
5028 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5257 (exit $ac_status); }; } &&
5258 { ac_try='test -s conftest.$ac_objext'
5259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5260 (eval $ac_try) 2>&5
5261 ac_status=$?
5262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5029 (exit $ac_status); }; }; then 5263 (exit $ac_status); }; }; then
5030 : 5264 :
5031else 5265else
5032 echo "$as_me: failed program was:" >&5 5266 echo "$as_me: failed program was:" >&5
5033sed 's/^/| /' conftest.$ac_ext >&5 5267sed 's/^/| /' conftest.$ac_ext >&5
5034 5268
5035continue 5269continue
5036fi 5270fi
5037rm -f conftest.$ac_objext conftest.$ac_ext 5271rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5038 cat >conftest.$ac_ext <<_ACEOF 5272 cat >conftest.$ac_ext <<_ACEOF
5039#line $LINENO "configure"
5040/* confdefs.h. */ 5273/* confdefs.h. */
5041_ACEOF 5274_ACEOF
5042cat confdefs.h >>conftest.$ac_ext 5275cat confdefs.h >>conftest.$ac_ext
5043cat >>conftest.$ac_ext <<_ACEOF 5276cat >>conftest.$ac_ext <<_ACEOF
5044/* end confdefs.h. */ 5277/* end confdefs.h. */
5051 return 0; 5284 return 0;
5052} 5285}
5053_ACEOF 5286_ACEOF
5054rm -f conftest.$ac_objext 5287rm -f conftest.$ac_objext
5055if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5288if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5056 (eval $ac_compile) 2>&5 5289 (eval $ac_compile) 2>conftest.er1
5057 ac_status=$? 5290 ac_status=$?
5291 grep -v '^ *+' conftest.er1 >conftest.err
5292 rm -f conftest.er1
5293 cat conftest.err >&5
5058 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5059 (exit $ac_status); } && 5295 (exit $ac_status); } &&
5060 { ac_try='test -s conftest.$ac_objext' 5296 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5062 (eval $ac_try) 2>&5 5298 (eval $ac_try) 2>&5
5063 ac_status=$? 5299 ac_status=$?
5064 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5301 (exit $ac_status); }; } &&
5302 { ac_try='test -s conftest.$ac_objext'
5303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5304 (eval $ac_try) 2>&5
5305 ac_status=$?
5306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5065 (exit $ac_status); }; }; then 5307 (exit $ac_status); }; }; then
5066 break 5308 break
5067else 5309else
5068 echo "$as_me: failed program was:" >&5 5310 echo "$as_me: failed program was:" >&5
5069sed 's/^/| /' conftest.$ac_ext >&5 5311sed 's/^/| /' conftest.$ac_ext >&5
5070 5312
5071fi 5313fi
5072rm -f conftest.$ac_objext conftest.$ac_ext 5314rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5073done 5315done
5074rm -f conftest* 5316rm -f conftest*
5075if test -n "$ac_declaration"; then 5317if test -n "$ac_declaration"; then
5076 echo '#ifdef __cplusplus' >>confdefs.h 5318 echo '#ifdef __cplusplus' >>confdefs.h
5077 echo $ac_declaration >>confdefs.h 5319 echo $ac_declaration >>confdefs.h
5081else 5323else
5082 echo "$as_me: failed program was:" >&5 5324 echo "$as_me: failed program was:" >&5
5083sed 's/^/| /' conftest.$ac_ext >&5 5325sed 's/^/| /' conftest.$ac_ext >&5
5084 5326
5085fi 5327fi
5086rm -f conftest.$ac_objext conftest.$ac_ext 5328rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5087ac_ext=c 5329ac_ext=c
5088ac_cpp='$CPP $CPPFLAGS' 5330ac_cpp='$CPP $CPPFLAGS'
5089ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5331ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5090ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5332ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5091ac_compiler_gnu=$ac_cv_c_compiler_gnu 5333ac_compiler_gnu=$ac_cv_c_compiler_gnu
5129 # overwrite some of them when testing with obscure command lines. 5371 # overwrite some of them when testing with obscure command lines.
5130 # This happens at least with the AIX C compiler. 5372 # This happens at least with the AIX C compiler.
5131 : > sub/conftest.c 5373 : > sub/conftest.c
5132 for i in 1 2 3 4 5 6; do 5374 for i in 1 2 3 4 5 6; do
5133 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5375 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5376 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5377 # Solaris 8's {/usr,}/bin/sh.
5134 : > sub/conftst$i.h 5378 touch sub/conftst$i.h
5135 done 5379 done
5136 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5380 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5137 5381
5138 case $depmode in 5382 case $depmode in
5139 nosideeffect) 5383 nosideeffect)
5157 >/dev/null 2>conftest.err && 5401 >/dev/null 2>conftest.err &&
5158 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5402 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5159 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 5403 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5160 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5404 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5161 # icc doesn't choke on unknown options, it will just issue warnings 5405 # icc doesn't choke on unknown options, it will just issue warnings
5162 # (even with -Werror). So we grep stderr for any message 5406 # or remarks (even with -Werror). So we grep stderr for any message
5163 # that says an option was ignored. 5407 # that says an option was ignored or not supported.
5408 # When given -MP, icc 7.0 and 7.1 complain thusly:
5409 # icc: Command line warning: ignoring option '-M'; no argument required
5410 # The diagnosis changed in icc 8.0:
5411 # icc: Command line remark: option '-MP' not supported
5412 if (grep 'ignoring option' conftest.err ||
5164 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 5413 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5165 am_cv_CC_dependencies_compiler_type=$depmode 5414 am_cv_CC_dependencies_compiler_type=$depmode
5166 break 5415 break
5167 fi 5416 fi
5168 fi 5417 fi
5169 done 5418 done
5218 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5467 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5219 # <limits.h> exists even on freestanding compilers. 5468 # <limits.h> exists even on freestanding compilers.
5220 # On the NeXT, cc -E runs the code through the compiler's parser, 5469 # 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. 5470 # not just through cpp. "Syntax error" is here to catch this case.
5222 cat >conftest.$ac_ext <<_ACEOF 5471 cat >conftest.$ac_ext <<_ACEOF
5223#line $LINENO "configure"
5224/* confdefs.h. */ 5472/* confdefs.h. */
5225_ACEOF 5473_ACEOF
5226cat confdefs.h >>conftest.$ac_ext 5474cat confdefs.h >>conftest.$ac_ext
5227cat >>conftest.$ac_ext <<_ACEOF 5475cat >>conftest.$ac_ext <<_ACEOF
5228/* end confdefs.h. */ 5476/* end confdefs.h. */
5229#ifdef __STDC__ 5477#ifdef __STDC__
5230# include <limits.h> 5478# include <limits.h>
5231#else 5479#else
5232# include <assert.h> 5480# include <assert.h>
5233#endif 5481#endif
5234 Syntax error 5482 Syntax error
5235_ACEOF 5483_ACEOF
5236if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5484if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5237 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5485 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5238 ac_status=$? 5486 ac_status=$?
5239 grep -v '^ *+' conftest.er1 >conftest.err 5487 grep -v '^ *+' conftest.er1 >conftest.err
5241 cat conftest.err >&5 5489 cat conftest.err >&5
5242 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5243 (exit $ac_status); } >/dev/null; then 5491 (exit $ac_status); } >/dev/null; then
5244 if test -s conftest.err; then 5492 if test -s conftest.err; then
5245 ac_cpp_err=$ac_c_preproc_warn_flag 5493 ac_cpp_err=$ac_c_preproc_warn_flag
5494 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5246 else 5495 else
5247 ac_cpp_err= 5496 ac_cpp_err=
5248 fi 5497 fi
5249else 5498else
5250 ac_cpp_err=yes 5499 ac_cpp_err=yes
5261rm -f conftest.err conftest.$ac_ext 5510rm -f conftest.err conftest.$ac_ext
5262 5511
5263 # OK, works on sane cases. Now check whether non-existent headers 5512 # OK, works on sane cases. Now check whether non-existent headers
5264 # can be detected and how. 5513 # can be detected and how.
5265 cat >conftest.$ac_ext <<_ACEOF 5514 cat >conftest.$ac_ext <<_ACEOF
5266#line $LINENO "configure"
5267/* confdefs.h. */ 5515/* confdefs.h. */
5268_ACEOF 5516_ACEOF
5269cat confdefs.h >>conftest.$ac_ext 5517cat confdefs.h >>conftest.$ac_ext
5270cat >>conftest.$ac_ext <<_ACEOF 5518cat >>conftest.$ac_ext <<_ACEOF
5271/* end confdefs.h. */ 5519/* end confdefs.h. */
5279 cat conftest.err >&5 5527 cat conftest.err >&5
5280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5281 (exit $ac_status); } >/dev/null; then 5529 (exit $ac_status); } >/dev/null; then
5282 if test -s conftest.err; then 5530 if test -s conftest.err; then
5283 ac_cpp_err=$ac_c_preproc_warn_flag 5531 ac_cpp_err=$ac_c_preproc_warn_flag
5532 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5284 else 5533 else
5285 ac_cpp_err= 5534 ac_cpp_err=
5286 fi 5535 fi
5287else 5536else
5288 ac_cpp_err=yes 5537 ac_cpp_err=yes
5325 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5574 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5326 # <limits.h> exists even on freestanding compilers. 5575 # <limits.h> exists even on freestanding compilers.
5327 # On the NeXT, cc -E runs the code through the compiler's parser, 5576 # 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. 5577 # not just through cpp. "Syntax error" is here to catch this case.
5329 cat >conftest.$ac_ext <<_ACEOF 5578 cat >conftest.$ac_ext <<_ACEOF
5330#line $LINENO "configure"
5331/* confdefs.h. */ 5579/* confdefs.h. */
5332_ACEOF 5580_ACEOF
5333cat confdefs.h >>conftest.$ac_ext 5581cat confdefs.h >>conftest.$ac_ext
5334cat >>conftest.$ac_ext <<_ACEOF 5582cat >>conftest.$ac_ext <<_ACEOF
5335/* end confdefs.h. */ 5583/* end confdefs.h. */
5336#ifdef __STDC__ 5584#ifdef __STDC__
5337# include <limits.h> 5585# include <limits.h>
5338#else 5586#else
5339# include <assert.h> 5587# include <assert.h>
5340#endif 5588#endif
5341 Syntax error 5589 Syntax error
5342_ACEOF 5590_ACEOF
5343if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5591if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5344 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5592 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5345 ac_status=$? 5593 ac_status=$?
5346 grep -v '^ *+' conftest.er1 >conftest.err 5594 grep -v '^ *+' conftest.er1 >conftest.err
5348 cat conftest.err >&5 5596 cat conftest.err >&5
5349 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5350 (exit $ac_status); } >/dev/null; then 5598 (exit $ac_status); } >/dev/null; then
5351 if test -s conftest.err; then 5599 if test -s conftest.err; then
5352 ac_cpp_err=$ac_c_preproc_warn_flag 5600 ac_cpp_err=$ac_c_preproc_warn_flag
5601 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5353 else 5602 else
5354 ac_cpp_err= 5603 ac_cpp_err=
5355 fi 5604 fi
5356else 5605else
5357 ac_cpp_err=yes 5606 ac_cpp_err=yes
5368rm -f conftest.err conftest.$ac_ext 5617rm -f conftest.err conftest.$ac_ext
5369 5618
5370 # OK, works on sane cases. Now check whether non-existent headers 5619 # OK, works on sane cases. Now check whether non-existent headers
5371 # can be detected and how. 5620 # can be detected and how.
5372 cat >conftest.$ac_ext <<_ACEOF 5621 cat >conftest.$ac_ext <<_ACEOF
5373#line $LINENO "configure"
5374/* confdefs.h. */ 5622/* confdefs.h. */
5375_ACEOF 5623_ACEOF
5376cat confdefs.h >>conftest.$ac_ext 5624cat confdefs.h >>conftest.$ac_ext
5377cat >>conftest.$ac_ext <<_ACEOF 5625cat >>conftest.$ac_ext <<_ACEOF
5378/* end confdefs.h. */ 5626/* end confdefs.h. */
5386 cat conftest.err >&5 5634 cat conftest.err >&5
5387 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5388 (exit $ac_status); } >/dev/null; then 5636 (exit $ac_status); } >/dev/null; then
5389 if test -s conftest.err; then 5637 if test -s conftest.err; then
5390 ac_cpp_err=$ac_c_preproc_warn_flag 5638 ac_cpp_err=$ac_c_preproc_warn_flag
5639 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5391 else 5640 else
5392 ac_cpp_err= 5641 ac_cpp_err=
5393 fi 5642 fi
5394else 5643else
5395 ac_cpp_err=yes 5644 ac_cpp_err=yes
5543echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 5792echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
5544if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 5793if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5545 echo $ECHO_N "(cached) $ECHO_C" >&6 5794 echo $ECHO_N "(cached) $ECHO_C" >&6
5546else 5795else
5547 cat >conftest.$ac_ext <<_ACEOF 5796 cat >conftest.$ac_ext <<_ACEOF
5548#line $LINENO "configure"
5549/* confdefs.h. */ 5797/* confdefs.h. */
5550_ACEOF 5798_ACEOF
5551cat confdefs.h >>conftest.$ac_ext 5799cat confdefs.h >>conftest.$ac_ext
5552cat >>conftest.$ac_ext <<_ACEOF 5800cat >>conftest.$ac_ext <<_ACEOF
5553/* end confdefs.h. */ 5801/* end confdefs.h. */
5563 return 0; 5811 return 0;
5564} 5812}
5565_ACEOF 5813_ACEOF
5566rm -f conftest.$ac_objext 5814rm -f conftest.$ac_objext
5567if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5815if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5568 (eval $ac_compile) 2>&5 5816 (eval $ac_compile) 2>conftest.er1
5569 ac_status=$? 5817 ac_status=$?
5818 grep -v '^ *+' conftest.er1 >conftest.err
5819 rm -f conftest.er1
5820 cat conftest.err >&5
5570 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5571 (exit $ac_status); } && 5822 (exit $ac_status); } &&
5572 { ac_try='test -s conftest.$ac_objext' 5823 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5574 (eval $ac_try) 2>&5 5825 (eval $ac_try) 2>&5
5575 ac_status=$? 5826 ac_status=$?
5576 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828 (exit $ac_status); }; } &&
5829 { ac_try='test -s conftest.$ac_objext'
5830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5831 (eval $ac_try) 2>&5
5832 ac_status=$?
5833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5577 (exit $ac_status); }; }; then 5834 (exit $ac_status); }; }; then
5578 ac_compiler_gnu=yes 5835 ac_compiler_gnu=yes
5579else 5836else
5580 echo "$as_me: failed program was:" >&5 5837 echo "$as_me: failed program was:" >&5
5581sed 's/^/| /' conftest.$ac_ext >&5 5838sed 's/^/| /' conftest.$ac_ext >&5
5582 5839
5583ac_compiler_gnu=no 5840ac_compiler_gnu=no
5584fi 5841fi
5585rm -f conftest.$ac_objext conftest.$ac_ext 5842rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5586ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 5843ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5587 5844
5588fi 5845fi
5589echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 5846echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5590echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 5847echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
5596echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 5853echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
5597if test "${ac_cv_prog_cxx_g+set}" = set; then 5854if test "${ac_cv_prog_cxx_g+set}" = set; then
5598 echo $ECHO_N "(cached) $ECHO_C" >&6 5855 echo $ECHO_N "(cached) $ECHO_C" >&6
5599else 5856else
5600 cat >conftest.$ac_ext <<_ACEOF 5857 cat >conftest.$ac_ext <<_ACEOF
5601#line $LINENO "configure"
5602/* confdefs.h. */ 5858/* confdefs.h. */
5603_ACEOF 5859_ACEOF
5604cat confdefs.h >>conftest.$ac_ext 5860cat confdefs.h >>conftest.$ac_ext
5605cat >>conftest.$ac_ext <<_ACEOF 5861cat >>conftest.$ac_ext <<_ACEOF
5606/* end confdefs.h. */ 5862/* end confdefs.h. */
5613 return 0; 5869 return 0;
5614} 5870}
5615_ACEOF 5871_ACEOF
5616rm -f conftest.$ac_objext 5872rm -f conftest.$ac_objext
5617if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5873if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5618 (eval $ac_compile) 2>&5 5874 (eval $ac_compile) 2>conftest.er1
5619 ac_status=$? 5875 ac_status=$?
5876 grep -v '^ *+' conftest.er1 >conftest.err
5877 rm -f conftest.er1
5878 cat conftest.err >&5
5620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5621 (exit $ac_status); } && 5880 (exit $ac_status); } &&
5622 { ac_try='test -s conftest.$ac_objext' 5881 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5624 (eval $ac_try) 2>&5 5883 (eval $ac_try) 2>&5
5625 ac_status=$? 5884 ac_status=$?
5626 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5886 (exit $ac_status); }; } &&
5887 { ac_try='test -s conftest.$ac_objext'
5888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5889 (eval $ac_try) 2>&5
5890 ac_status=$?
5891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5627 (exit $ac_status); }; }; then 5892 (exit $ac_status); }; }; then
5628 ac_cv_prog_cxx_g=yes 5893 ac_cv_prog_cxx_g=yes
5629else 5894else
5630 echo "$as_me: failed program was:" >&5 5895 echo "$as_me: failed program was:" >&5
5631sed 's/^/| /' conftest.$ac_ext >&5 5896sed 's/^/| /' conftest.$ac_ext >&5
5632 5897
5633ac_cv_prog_cxx_g=no 5898ac_cv_prog_cxx_g=no
5634fi 5899fi
5635rm -f conftest.$ac_objext conftest.$ac_ext 5900rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5636fi 5901fi
5637echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 5902echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5638echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 5903echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5639if test "$ac_test_CXXFLAGS" = set; then 5904if test "$ac_test_CXXFLAGS" = set; then
5640 CXXFLAGS=$ac_save_CXXFLAGS 5905 CXXFLAGS=$ac_save_CXXFLAGS
5658 'extern "C" void exit (int) throw ();' \ 5923 'extern "C" void exit (int) throw ();' \
5659 'extern "C" void exit (int);' \ 5924 'extern "C" void exit (int);' \
5660 'void exit (int);' 5925 'void exit (int);'
5661do 5926do
5662 cat >conftest.$ac_ext <<_ACEOF 5927 cat >conftest.$ac_ext <<_ACEOF
5663#line $LINENO "configure"
5664/* confdefs.h. */ 5928/* confdefs.h. */
5665_ACEOF 5929_ACEOF
5666cat confdefs.h >>conftest.$ac_ext 5930cat confdefs.h >>conftest.$ac_ext
5667cat >>conftest.$ac_ext <<_ACEOF 5931cat >>conftest.$ac_ext <<_ACEOF
5668/* end confdefs.h. */ 5932/* end confdefs.h. */
5676 return 0; 5940 return 0;
5677} 5941}
5678_ACEOF 5942_ACEOF
5679rm -f conftest.$ac_objext 5943rm -f conftest.$ac_objext
5680if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5944if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5681 (eval $ac_compile) 2>&5 5945 (eval $ac_compile) 2>conftest.er1
5682 ac_status=$? 5946 ac_status=$?
5947 grep -v '^ *+' conftest.er1 >conftest.err
5948 rm -f conftest.er1
5949 cat conftest.err >&5
5683 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5684 (exit $ac_status); } && 5951 (exit $ac_status); } &&
5685 { ac_try='test -s conftest.$ac_objext' 5952 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5687 (eval $ac_try) 2>&5 5954 (eval $ac_try) 2>&5
5688 ac_status=$? 5955 ac_status=$?
5689 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5957 (exit $ac_status); }; } &&
5958 { ac_try='test -s conftest.$ac_objext'
5959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5960 (eval $ac_try) 2>&5
5961 ac_status=$?
5962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5690 (exit $ac_status); }; }; then 5963 (exit $ac_status); }; }; then
5691 : 5964 :
5692else 5965else
5693 echo "$as_me: failed program was:" >&5 5966 echo "$as_me: failed program was:" >&5
5694sed 's/^/| /' conftest.$ac_ext >&5 5967sed 's/^/| /' conftest.$ac_ext >&5
5695 5968
5696continue 5969continue
5697fi 5970fi
5698rm -f conftest.$ac_objext conftest.$ac_ext 5971rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5699 cat >conftest.$ac_ext <<_ACEOF 5972 cat >conftest.$ac_ext <<_ACEOF
5700#line $LINENO "configure"
5701/* confdefs.h. */ 5973/* confdefs.h. */
5702_ACEOF 5974_ACEOF
5703cat confdefs.h >>conftest.$ac_ext 5975cat confdefs.h >>conftest.$ac_ext
5704cat >>conftest.$ac_ext <<_ACEOF 5976cat >>conftest.$ac_ext <<_ACEOF
5705/* end confdefs.h. */ 5977/* end confdefs.h. */
5712 return 0; 5984 return 0;
5713} 5985}
5714_ACEOF 5986_ACEOF
5715rm -f conftest.$ac_objext 5987rm -f conftest.$ac_objext
5716if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5988if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5717 (eval $ac_compile) 2>&5 5989 (eval $ac_compile) 2>conftest.er1
5718 ac_status=$? 5990 ac_status=$?
5991 grep -v '^ *+' conftest.er1 >conftest.err
5992 rm -f conftest.er1
5993 cat conftest.err >&5
5719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5720 (exit $ac_status); } && 5995 (exit $ac_status); } &&
5721 { ac_try='test -s conftest.$ac_objext' 5996 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5723 (eval $ac_try) 2>&5 5998 (eval $ac_try) 2>&5
5724 ac_status=$? 5999 ac_status=$?
5725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6001 (exit $ac_status); }; } &&
6002 { ac_try='test -s conftest.$ac_objext'
6003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6004 (eval $ac_try) 2>&5
6005 ac_status=$?
6006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5726 (exit $ac_status); }; }; then 6007 (exit $ac_status); }; }; then
5727 break 6008 break
5728else 6009else
5729 echo "$as_me: failed program was:" >&5 6010 echo "$as_me: failed program was:" >&5
5730sed 's/^/| /' conftest.$ac_ext >&5 6011sed 's/^/| /' conftest.$ac_ext >&5
5731 6012
5732fi 6013fi
5733rm -f conftest.$ac_objext conftest.$ac_ext 6014rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5734done 6015done
5735rm -f conftest* 6016rm -f conftest*
5736if test -n "$ac_declaration"; then 6017if test -n "$ac_declaration"; then
5737 echo '#ifdef __cplusplus' >>confdefs.h 6018 echo '#ifdef __cplusplus' >>confdefs.h
5738 echo $ac_declaration >>confdefs.h 6019 echo $ac_declaration >>confdefs.h
5784 # overwrite some of them when testing with obscure command lines. 6065 # overwrite some of them when testing with obscure command lines.
5785 # This happens at least with the AIX C compiler. 6066 # This happens at least with the AIX C compiler.
5786 : > sub/conftest.c 6067 : > sub/conftest.c
5787 for i in 1 2 3 4 5 6; do 6068 for i in 1 2 3 4 5 6; do
5788 echo '#include "conftst'$i'.h"' >> sub/conftest.c 6069 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6070 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6071 # Solaris 8's {/usr,}/bin/sh.
5789 : > sub/conftst$i.h 6072 touch sub/conftst$i.h
5790 done 6073 done
5791 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 6074 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5792 6075
5793 case $depmode in 6076 case $depmode in
5794 nosideeffect) 6077 nosideeffect)
5812 >/dev/null 2>conftest.err && 6095 >/dev/null 2>conftest.err &&
5813 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 6096 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5814 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 6097 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5815 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 6098 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5816 # icc doesn't choke on unknown options, it will just issue warnings 6099 # icc doesn't choke on unknown options, it will just issue warnings
5817 # (even with -Werror). So we grep stderr for any message 6100 # or remarks (even with -Werror). So we grep stderr for any message
5818 # that says an option was ignored. 6101 # that says an option was ignored or not supported.
6102 # When given -MP, icc 7.0 and 7.1 complain thusly:
6103 # icc: Command line warning: ignoring option '-M'; no argument required
6104 # The diagnosis changed in icc 8.0:
6105 # icc: Command line remark: option '-MP' not supported
6106 if (grep 'ignoring option' conftest.err ||
5819 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 6107 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5820 am_cv_CXX_dependencies_compiler_type=$depmode 6108 am_cv_CXX_dependencies_compiler_type=$depmode
5821 break 6109 break
5822 fi 6110 fi
5823 fi 6111 fi
5824 done 6112 done
5869if test "${ac_cv_prog_gcc_traditional+set}" = set; then 6157if test "${ac_cv_prog_gcc_traditional+set}" = set; then
5870 echo $ECHO_N "(cached) $ECHO_C" >&6 6158 echo $ECHO_N "(cached) $ECHO_C" >&6
5871else 6159else
5872 ac_pattern="Autoconf.*'x'" 6160 ac_pattern="Autoconf.*'x'"
5873 cat >conftest.$ac_ext <<_ACEOF 6161 cat >conftest.$ac_ext <<_ACEOF
5874#line $LINENO "configure"
5875/* confdefs.h. */ 6162/* confdefs.h. */
5876_ACEOF 6163_ACEOF
5877cat confdefs.h >>conftest.$ac_ext 6164cat confdefs.h >>conftest.$ac_ext
5878cat >>conftest.$ac_ext <<_ACEOF 6165cat >>conftest.$ac_ext <<_ACEOF
5879/* end confdefs.h. */ 6166/* end confdefs.h. */
5889rm -f conftest* 6176rm -f conftest*
5890 6177
5891 6178
5892 if test $ac_cv_prog_gcc_traditional = no; then 6179 if test $ac_cv_prog_gcc_traditional = no; then
5893 cat >conftest.$ac_ext <<_ACEOF 6180 cat >conftest.$ac_ext <<_ACEOF
5894#line $LINENO "configure"
5895/* confdefs.h. */ 6181/* confdefs.h. */
5896_ACEOF 6182_ACEOF
5897cat confdefs.h >>conftest.$ac_ext 6183cat confdefs.h >>conftest.$ac_ext
5898cat >>conftest.$ac_ext <<_ACEOF 6184cat >>conftest.$ac_ext <<_ACEOF
5899/* end confdefs.h. */ 6185/* end confdefs.h. */
5964# AIX /bin/install 6250# AIX /bin/install
5965# AmigaOS /C/install, which installs bootblocks on floppy discs 6251# AmigaOS /C/install, which installs bootblocks on floppy discs
5966# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 6252# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5967# AFS /usr/afsws/bin/install, which mishandles nonexistent args 6253# AFS /usr/afsws/bin/install, which mishandles nonexistent args
5968# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 6254# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6255# OS/2's system install, which has a completely different semantic
5969# ./install, which can be erroneously created by make from ./install.sh. 6256# ./install, which can be erroneously created by make from ./install.sh.
5970echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 6257echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5971echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 6258echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5972if test -z "$INSTALL"; then 6259if test -z "$INSTALL"; then
5973if test "${ac_cv_path_install+set}" = set; then 6260if test "${ac_cv_path_install+set}" = set; then
5980 test -z "$as_dir" && as_dir=. 6267 test -z "$as_dir" && as_dir=.
5981 # Account for people who put trailing slashes in PATH elements. 6268 # Account for people who put trailing slashes in PATH elements.
5982case $as_dir/ in 6269case $as_dir/ in
5983 ./ | .// | /cC/* | \ 6270 ./ | .// | /cC/* | \
5984 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 6271 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6272 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5985 /usr/ucb/* ) ;; 6273 /usr/ucb/* ) ;;
5986 *) 6274 *)
5987 # OSF1 and SCO ODT 3.0 have their own names for install. 6275 # 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 6276 # Don't use installbsd from OSF since it installs stuff as root
5989 # by default. 6277 # by default.
5990 for ac_prog in ginstall scoinst install; do 6278 for ac_prog in ginstall scoinst install; do
5991 for ac_exec_ext in '' $ac_executable_extensions; do 6279 for ac_exec_ext in '' $ac_executable_extensions; do
5992 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 6280 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5993 if test $ac_prog = install && 6281 if test $ac_prog = install &&
5994 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 6282 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5995 # AIX install. It has an incompatible calling convention. 6283 # AIX install. It has an incompatible calling convention.
5996 : 6284 :
5997 elif test $ac_prog = install && 6285 elif test $ac_prog = install &&
5998 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 6286 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. 6287 # program-specific install script used by HP pwplus--don't use.
6000 : 6288 :
6001 else 6289 else
6002 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 6290 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6003 break 3 6291 break 3
6004 fi 6292 fi
6005 fi 6293 fi
6006 done 6294 done
6007 done 6295 done
6008 ;; 6296 ;;
6009esac 6297esac
6010done 6298done
6043echo "${ECHO_T}no, using $LN_S" >&6 6331echo "${ECHO_T}no, using $LN_S" >&6
6044fi 6332fi
6045 6333
6046echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 6334echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6047echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 6335echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
6048set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 6336set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
6049if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 6337if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
6050 echo $ECHO_N "(cached) $ECHO_C" >&6 6338 echo $ECHO_N "(cached) $ECHO_C" >&6
6051else 6339else
6052 cat >conftest.make <<\_ACEOF 6340 cat >conftest.make <<\_ACEOF
6053all: 6341all:
6151else 6439else
6152 RANLIB="$ac_cv_prog_RANLIB" 6440 RANLIB="$ac_cv_prog_RANLIB"
6153fi 6441fi
6154 6442
6155 6443
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. 6444# Check whether --enable-iftype or --disable-iftype was given.
6219if test "${enable_iftype+set}" = set; then 6445if test "${enable_iftype+set}" = set; then
6220 enableval="$enable_iftype" 6446 enableval="$enable_iftype"
6221 6447
6222 IFTYPE=`echo $enableval | sed s%/.*%%` 6448 IFTYPE=`echo $enableval | sed s%/.*%%`
6247#define HAVE_FREEBSD 1 6473#define HAVE_FREEBSD 1
6248_ACEOF 6474_ACEOF
6249 6475
6250 ;; 6476 ;;
6251 *darwin*) 6477 *darwin*)
6252 IFTYPE=tincd 6478 IFTYPE=native
6253 IFSUBTYPE=darwin 6479 IFSUBTYPE=darwin
6254 6480
6255cat >>confdefs.h <<\_ACEOF 6481cat >>confdefs.h <<\_ACEOF
6256#define HAVE_DARWIN 1 6482#define HAVE_DARWIN 1
6257_ACEOF 6483_ACEOF
6283#define HAVE_NETBSD 1 6509#define HAVE_NETBSD 1
6284_ACEOF 6510_ACEOF
6285 6511
6286 ;; 6512 ;;
6287 *cygwin*) 6513 *cygwin*)
6288 IFTYPE=tincd 6514 IFTYPE=native
6289 IFSUBTYPE=cygwin 6515 IFSUBTYPE=cygwin
6290 6516
6291cat >>confdefs.h <<\_ACEOF 6517cat >>confdefs.h <<\_ACEOF
6292#define HAVE_CYGWIN 1 6518#define HAVE_CYGWIN 1
6293_ACEOF 6519_ACEOF
6303echo "$as_me:$LINENO: result: $IFTYPE/$IFSUBTYPE" >&5 6529echo "$as_me:$LINENO: result: $IFTYPE/$IFSUBTYPE" >&5
6304echo "${ECHO_T}$IFTYPE/$IFSUBTYPE" >&6 6530echo "${ECHO_T}$IFTYPE/$IFSUBTYPE" >&6
6305IFTYPE=$IFTYPE 6531IFTYPE=$IFTYPE
6306 6532
6307IFSUBTYPE=$IFSUBTYPE 6533IFSUBTYPE=$IFSUBTYPE
6534
6535
6536cat >>confdefs.h <<_ACEOF
6537#define IFTYPE "$IFTYPE"
6538_ACEOF
6539
6540
6541cat >>confdefs.h <<_ACEOF
6542#define IFSUBTYPE "$IFSUBTYPE"
6543_ACEOF
6308 6544
6309 6545
6310cat >confcache <<\_ACEOF 6546cat >confcache <<\_ACEOF
6311# This file is a shell script that caches the results of configure 6547# 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 6548# tests run on this system so they can be shared between configure
6333 case `(ac_space=' '; set | grep ac_space) 2>&1` in 6569 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6334 *ac_space=\ *) 6570 *ac_space=\ *)
6335 # `set' does not quote correctly, so add quotes (double-quote 6571 # `set' does not quote correctly, so add quotes (double-quote
6336 # substitution turns \\\\ into \\, and sed turns \\ into \). 6572 # substitution turns \\\\ into \\, and sed turns \\ into \).
6337 sed -n \ 6573 sed -n \
6338 "s/'/'\\\\''/g; 6574 "s/'/'\\\\''/g;
6339 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 6575 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6340 ;; 6576 ;;
6341 *) 6577 *)
6342 # `set' quotes correctly as required by POSIX, so do not add quotes. 6578 # `set' quotes correctly as required by POSIX, so do not add quotes.
6343 sed -n \ 6579 sed -n \
6344 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 6580 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6345 ;; 6581 ;;
6346 esac; 6582 esac;
6347} | 6583} |
6348 sed ' 6584 sed '
6349 t clear 6585 t clear
6392 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6628 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6393 # <limits.h> exists even on freestanding compilers. 6629 # <limits.h> exists even on freestanding compilers.
6394 # On the NeXT, cc -E runs the code through the compiler's parser, 6630 # 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. 6631 # not just through cpp. "Syntax error" is here to catch this case.
6396 cat >conftest.$ac_ext <<_ACEOF 6632 cat >conftest.$ac_ext <<_ACEOF
6397#line $LINENO "configure"
6398/* confdefs.h. */ 6633/* confdefs.h. */
6399_ACEOF 6634_ACEOF
6400cat confdefs.h >>conftest.$ac_ext 6635cat confdefs.h >>conftest.$ac_ext
6401cat >>conftest.$ac_ext <<_ACEOF 6636cat >>conftest.$ac_ext <<_ACEOF
6402/* end confdefs.h. */ 6637/* end confdefs.h. */
6403#ifdef __STDC__ 6638#ifdef __STDC__
6404# include <limits.h> 6639# include <limits.h>
6405#else 6640#else
6406# include <assert.h> 6641# include <assert.h>
6407#endif 6642#endif
6408 Syntax error 6643 Syntax error
6409_ACEOF 6644_ACEOF
6410if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6645if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6411 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6646 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6412 ac_status=$? 6647 ac_status=$?
6413 grep -v '^ *+' conftest.er1 >conftest.err 6648 grep -v '^ *+' conftest.er1 >conftest.err
6415 cat conftest.err >&5 6650 cat conftest.err >&5
6416 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6417 (exit $ac_status); } >/dev/null; then 6652 (exit $ac_status); } >/dev/null; then
6418 if test -s conftest.err; then 6653 if test -s conftest.err; then
6419 ac_cpp_err=$ac_cxx_preproc_warn_flag 6654 ac_cpp_err=$ac_cxx_preproc_warn_flag
6655 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6420 else 6656 else
6421 ac_cpp_err= 6657 ac_cpp_err=
6422 fi 6658 fi
6423else 6659else
6424 ac_cpp_err=yes 6660 ac_cpp_err=yes
6435rm -f conftest.err conftest.$ac_ext 6671rm -f conftest.err conftest.$ac_ext
6436 6672
6437 # OK, works on sane cases. Now check whether non-existent headers 6673 # OK, works on sane cases. Now check whether non-existent headers
6438 # can be detected and how. 6674 # can be detected and how.
6439 cat >conftest.$ac_ext <<_ACEOF 6675 cat >conftest.$ac_ext <<_ACEOF
6440#line $LINENO "configure"
6441/* confdefs.h. */ 6676/* confdefs.h. */
6442_ACEOF 6677_ACEOF
6443cat confdefs.h >>conftest.$ac_ext 6678cat confdefs.h >>conftest.$ac_ext
6444cat >>conftest.$ac_ext <<_ACEOF 6679cat >>conftest.$ac_ext <<_ACEOF
6445/* end confdefs.h. */ 6680/* end confdefs.h. */
6453 cat conftest.err >&5 6688 cat conftest.err >&5
6454 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6455 (exit $ac_status); } >/dev/null; then 6690 (exit $ac_status); } >/dev/null; then
6456 if test -s conftest.err; then 6691 if test -s conftest.err; then
6457 ac_cpp_err=$ac_cxx_preproc_warn_flag 6692 ac_cpp_err=$ac_cxx_preproc_warn_flag
6693 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6458 else 6694 else
6459 ac_cpp_err= 6695 ac_cpp_err=
6460 fi 6696 fi
6461else 6697else
6462 ac_cpp_err=yes 6698 ac_cpp_err=yes
6499 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6735 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6500 # <limits.h> exists even on freestanding compilers. 6736 # <limits.h> exists even on freestanding compilers.
6501 # On the NeXT, cc -E runs the code through the compiler's parser, 6737 # 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. 6738 # not just through cpp. "Syntax error" is here to catch this case.
6503 cat >conftest.$ac_ext <<_ACEOF 6739 cat >conftest.$ac_ext <<_ACEOF
6504#line $LINENO "configure"
6505/* confdefs.h. */ 6740/* confdefs.h. */
6506_ACEOF 6741_ACEOF
6507cat confdefs.h >>conftest.$ac_ext 6742cat confdefs.h >>conftest.$ac_ext
6508cat >>conftest.$ac_ext <<_ACEOF 6743cat >>conftest.$ac_ext <<_ACEOF
6509/* end confdefs.h. */ 6744/* end confdefs.h. */
6510#ifdef __STDC__ 6745#ifdef __STDC__
6511# include <limits.h> 6746# include <limits.h>
6512#else 6747#else
6513# include <assert.h> 6748# include <assert.h>
6514#endif 6749#endif
6515 Syntax error 6750 Syntax error
6516_ACEOF 6751_ACEOF
6517if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6752if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6518 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6753 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6519 ac_status=$? 6754 ac_status=$?
6520 grep -v '^ *+' conftest.er1 >conftest.err 6755 grep -v '^ *+' conftest.er1 >conftest.err
6522 cat conftest.err >&5 6757 cat conftest.err >&5
6523 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6524 (exit $ac_status); } >/dev/null; then 6759 (exit $ac_status); } >/dev/null; then
6525 if test -s conftest.err; then 6760 if test -s conftest.err; then
6526 ac_cpp_err=$ac_cxx_preproc_warn_flag 6761 ac_cpp_err=$ac_cxx_preproc_warn_flag
6762 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6527 else 6763 else
6528 ac_cpp_err= 6764 ac_cpp_err=
6529 fi 6765 fi
6530else 6766else
6531 ac_cpp_err=yes 6767 ac_cpp_err=yes
6542rm -f conftest.err conftest.$ac_ext 6778rm -f conftest.err conftest.$ac_ext
6543 6779
6544 # OK, works on sane cases. Now check whether non-existent headers 6780 # OK, works on sane cases. Now check whether non-existent headers
6545 # can be detected and how. 6781 # can be detected and how.
6546 cat >conftest.$ac_ext <<_ACEOF 6782 cat >conftest.$ac_ext <<_ACEOF
6547#line $LINENO "configure"
6548/* confdefs.h. */ 6783/* confdefs.h. */
6549_ACEOF 6784_ACEOF
6550cat confdefs.h >>conftest.$ac_ext 6785cat confdefs.h >>conftest.$ac_ext
6551cat >>conftest.$ac_ext <<_ACEOF 6786cat >>conftest.$ac_ext <<_ACEOF
6552/* end confdefs.h. */ 6787/* end confdefs.h. */
6560 cat conftest.err >&5 6795 cat conftest.err >&5
6561 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6562 (exit $ac_status); } >/dev/null; then 6797 (exit $ac_status); } >/dev/null; then
6563 if test -s conftest.err; then 6798 if test -s conftest.err; then
6564 ac_cpp_err=$ac_cxx_preproc_warn_flag 6799 ac_cpp_err=$ac_cxx_preproc_warn_flag
6800 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6565 else 6801 else
6566 ac_cpp_err= 6802 ac_cpp_err=
6567 fi 6803 fi
6568else 6804else
6569 ac_cpp_err=yes 6805 ac_cpp_err=yes
6605echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 6841echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6606if test "${ac_cv_header_stdc+set}" = set; then 6842if test "${ac_cv_header_stdc+set}" = set; then
6607 echo $ECHO_N "(cached) $ECHO_C" >&6 6843 echo $ECHO_N "(cached) $ECHO_C" >&6
6608else 6844else
6609 cat >conftest.$ac_ext <<_ACEOF 6845 cat >conftest.$ac_ext <<_ACEOF
6610#line $LINENO "configure"
6611/* confdefs.h. */ 6846/* confdefs.h. */
6612_ACEOF 6847_ACEOF
6613cat confdefs.h >>conftest.$ac_ext 6848cat confdefs.h >>conftest.$ac_ext
6614cat >>conftest.$ac_ext <<_ACEOF 6849cat >>conftest.$ac_ext <<_ACEOF
6615/* end confdefs.h. */ 6850/* end confdefs.h. */
6626 return 0; 6861 return 0;
6627} 6862}
6628_ACEOF 6863_ACEOF
6629rm -f conftest.$ac_objext 6864rm -f conftest.$ac_objext
6630if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6865if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6631 (eval $ac_compile) 2>&5 6866 (eval $ac_compile) 2>conftest.er1
6632 ac_status=$? 6867 ac_status=$?
6868 grep -v '^ *+' conftest.er1 >conftest.err
6869 rm -f conftest.er1
6870 cat conftest.err >&5
6633 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6634 (exit $ac_status); } && 6872 (exit $ac_status); } &&
6635 { ac_try='test -s conftest.$ac_objext' 6873 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6637 (eval $ac_try) 2>&5 6875 (eval $ac_try) 2>&5
6638 ac_status=$? 6876 ac_status=$?
6639 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6878 (exit $ac_status); }; } &&
6879 { ac_try='test -s conftest.$ac_objext'
6880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6881 (eval $ac_try) 2>&5
6882 ac_status=$?
6883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640 (exit $ac_status); }; }; then 6884 (exit $ac_status); }; }; then
6641 ac_cv_header_stdc=yes 6885 ac_cv_header_stdc=yes
6642else 6886else
6643 echo "$as_me: failed program was:" >&5 6887 echo "$as_me: failed program was:" >&5
6644sed 's/^/| /' conftest.$ac_ext >&5 6888sed 's/^/| /' conftest.$ac_ext >&5
6645 6889
6646ac_cv_header_stdc=no 6890ac_cv_header_stdc=no
6647fi 6891fi
6648rm -f conftest.$ac_objext conftest.$ac_ext 6892rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6649 6893
6650if test $ac_cv_header_stdc = yes; then 6894if test $ac_cv_header_stdc = yes; then
6651 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6895 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6652 cat >conftest.$ac_ext <<_ACEOF 6896 cat >conftest.$ac_ext <<_ACEOF
6653#line $LINENO "configure"
6654/* confdefs.h. */ 6897/* confdefs.h. */
6655_ACEOF 6898_ACEOF
6656cat confdefs.h >>conftest.$ac_ext 6899cat confdefs.h >>conftest.$ac_ext
6657cat >>conftest.$ac_ext <<_ACEOF 6900cat >>conftest.$ac_ext <<_ACEOF
6658/* end confdefs.h. */ 6901/* end confdefs.h. */
6670fi 6913fi
6671 6914
6672if test $ac_cv_header_stdc = yes; then 6915if test $ac_cv_header_stdc = yes; then
6673 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6916 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6674 cat >conftest.$ac_ext <<_ACEOF 6917 cat >conftest.$ac_ext <<_ACEOF
6675#line $LINENO "configure"
6676/* confdefs.h. */ 6918/* confdefs.h. */
6677_ACEOF 6919_ACEOF
6678cat confdefs.h >>conftest.$ac_ext 6920cat confdefs.h >>conftest.$ac_ext
6679cat >>conftest.$ac_ext <<_ACEOF 6921cat >>conftest.$ac_ext <<_ACEOF
6680/* end confdefs.h. */ 6922/* end confdefs.h. */
6695 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 6937 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6696 if test "$cross_compiling" = yes; then 6938 if test "$cross_compiling" = yes; then
6697 : 6939 :
6698else 6940else
6699 cat >conftest.$ac_ext <<_ACEOF 6941 cat >conftest.$ac_ext <<_ACEOF
6700#line $LINENO "configure"
6701/* confdefs.h. */ 6942/* confdefs.h. */
6702_ACEOF 6943_ACEOF
6703cat confdefs.h >>conftest.$ac_ext 6944cat confdefs.h >>conftest.$ac_ext
6704cat >>conftest.$ac_ext <<_ACEOF 6945cat >>conftest.$ac_ext <<_ACEOF
6705/* end confdefs.h. */ 6946/* end confdefs.h. */
6707#if ((' ' & 0x0FF) == 0x020) 6948#if ((' ' & 0x0FF) == 0x020)
6708# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 6949# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6709# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 6950# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6710#else 6951#else
6711# define ISLOWER(c) \ 6952# define ISLOWER(c) \
6712 (('a' <= (c) && (c) <= 'i') \ 6953 (('a' <= (c) && (c) <= 'i') \
6713 || ('j' <= (c) && (c) <= 'r') \ 6954 || ('j' <= (c) && (c) <= 'r') \
6714 || ('s' <= (c) && (c) <= 'z')) 6955 || ('s' <= (c) && (c) <= 'z'))
6715# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 6956# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6716#endif 6957#endif
6717 6958
6718#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 6959#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6719int 6960int
6720main () 6961main ()
6721{ 6962{
6722 int i; 6963 int i;
6723 for (i = 0; i < 256; i++) 6964 for (i = 0; i < 256; i++)
6724 if (XOR (islower (i), ISLOWER (i)) 6965 if (XOR (islower (i), ISLOWER (i))
6725 || toupper (i) != TOUPPER (i)) 6966 || toupper (i) != TOUPPER (i))
6726 exit(2); 6967 exit(2);
6727 exit (0); 6968 exit (0);
6728} 6969}
6729_ACEOF 6970_ACEOF
6730rm -f conftest$ac_exeext 6971rm -f conftest$ac_exeext
6770 7011
6771 7012
6772 7013
6773 7014
6774for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7015for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6775 inttypes.h stdint.h unistd.h 7016 inttypes.h stdint.h unistd.h
6776do 7017do
6777as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7018as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6778echo "$as_me:$LINENO: checking for $ac_header" >&5 7019echo "$as_me:$LINENO: checking for $ac_header" >&5
6779echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7020echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6780if eval "test \"\${$as_ac_Header+set}\" = set"; then 7021if eval "test \"\${$as_ac_Header+set}\" = set"; then
6781 echo $ECHO_N "(cached) $ECHO_C" >&6 7022 echo $ECHO_N "(cached) $ECHO_C" >&6
6782else 7023else
6783 cat >conftest.$ac_ext <<_ACEOF 7024 cat >conftest.$ac_ext <<_ACEOF
6784#line $LINENO "configure"
6785/* confdefs.h. */ 7025/* confdefs.h. */
6786_ACEOF 7026_ACEOF
6787cat confdefs.h >>conftest.$ac_ext 7027cat confdefs.h >>conftest.$ac_ext
6788cat >>conftest.$ac_ext <<_ACEOF 7028cat >>conftest.$ac_ext <<_ACEOF
6789/* end confdefs.h. */ 7029/* end confdefs.h. */
6791 7031
6792#include <$ac_header> 7032#include <$ac_header>
6793_ACEOF 7033_ACEOF
6794rm -f conftest.$ac_objext 7034rm -f conftest.$ac_objext
6795if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7035if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6796 (eval $ac_compile) 2>&5 7036 (eval $ac_compile) 2>conftest.er1
6797 ac_status=$? 7037 ac_status=$?
7038 grep -v '^ *+' conftest.er1 >conftest.err
7039 rm -f conftest.er1
7040 cat conftest.err >&5
6798 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6799 (exit $ac_status); } && 7042 (exit $ac_status); } &&
6800 { ac_try='test -s conftest.$ac_objext' 7043 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6802 (eval $ac_try) 2>&5 7045 (eval $ac_try) 2>&5
6803 ac_status=$? 7046 ac_status=$?
6804 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7048 (exit $ac_status); }; } &&
7049 { ac_try='test -s conftest.$ac_objext'
7050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7051 (eval $ac_try) 2>&5
7052 ac_status=$?
7053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6805 (exit $ac_status); }; }; then 7054 (exit $ac_status); }; }; then
6806 eval "$as_ac_Header=yes" 7055 eval "$as_ac_Header=yes"
6807else 7056else
6808 echo "$as_me: failed program was:" >&5 7057 echo "$as_me: failed program was:" >&5
6809sed 's/^/| /' conftest.$ac_ext >&5 7058sed 's/^/| /' conftest.$ac_ext >&5
6810 7059
6811eval "$as_ac_Header=no" 7060eval "$as_ac_Header=no"
6812fi 7061fi
6813rm -f conftest.$ac_objext conftest.$ac_ext 7062rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6814fi 7063fi
6815echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7064echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6816echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7065echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6817if test `eval echo '${'$as_ac_Header'}'` = yes; then 7066if test `eval echo '${'$as_ac_Header'}'` = yes; then
6818 cat >>confdefs.h <<_ACEOF 7067 cat >>confdefs.h <<_ACEOF
6823 7072
6824done 7073done
6825 7074
6826 7075
6827 7076
7077
6828for ac_header in ext/hash_map 7078for ac_header in ext/hash_map clocale
6829do 7079do
6830as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7080as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6831if eval "test \"\${$as_ac_Header+set}\" = set"; then 7081if eval "test \"\${$as_ac_Header+set}\" = set"; then
6832 echo "$as_me:$LINENO: checking for $ac_header" >&5 7082 echo "$as_me:$LINENO: checking for $ac_header" >&5
6833echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7083echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6839else 7089else
6840 # Is the header compilable? 7090 # Is the header compilable?
6841echo "$as_me:$LINENO: checking $ac_header usability" >&5 7091echo "$as_me:$LINENO: checking $ac_header usability" >&5
6842echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 7092echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6843cat >conftest.$ac_ext <<_ACEOF 7093cat >conftest.$ac_ext <<_ACEOF
6844#line $LINENO "configure"
6845/* confdefs.h. */ 7094/* confdefs.h. */
6846_ACEOF 7095_ACEOF
6847cat confdefs.h >>conftest.$ac_ext 7096cat confdefs.h >>conftest.$ac_ext
6848cat >>conftest.$ac_ext <<_ACEOF 7097cat >>conftest.$ac_ext <<_ACEOF
6849/* end confdefs.h. */ 7098/* end confdefs.h. */
6850$ac_includes_default 7099$ac_includes_default
6851#include <$ac_header> 7100#include <$ac_header>
6852_ACEOF 7101_ACEOF
6853rm -f conftest.$ac_objext 7102rm -f conftest.$ac_objext
6854if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7103if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6855 (eval $ac_compile) 2>&5 7104 (eval $ac_compile) 2>conftest.er1
6856 ac_status=$? 7105 ac_status=$?
7106 grep -v '^ *+' conftest.er1 >conftest.err
7107 rm -f conftest.er1
7108 cat conftest.err >&5
6857 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6858 (exit $ac_status); } && 7110 (exit $ac_status); } &&
6859 { ac_try='test -s conftest.$ac_objext' 7111 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6861 (eval $ac_try) 2>&5 7113 (eval $ac_try) 2>&5
6862 ac_status=$? 7114 ac_status=$?
6863 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7116 (exit $ac_status); }; } &&
7117 { ac_try='test -s conftest.$ac_objext'
7118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7119 (eval $ac_try) 2>&5
7120 ac_status=$?
7121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6864 (exit $ac_status); }; }; then 7122 (exit $ac_status); }; }; then
6865 ac_header_compiler=yes 7123 ac_header_compiler=yes
6866else 7124else
6867 echo "$as_me: failed program was:" >&5 7125 echo "$as_me: failed program was:" >&5
6868sed 's/^/| /' conftest.$ac_ext >&5 7126sed 's/^/| /' conftest.$ac_ext >&5
6869 7127
6870ac_header_compiler=no 7128ac_header_compiler=no
6871fi 7129fi
6872rm -f conftest.$ac_objext conftest.$ac_ext 7130rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6873echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7131echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6874echo "${ECHO_T}$ac_header_compiler" >&6 7132echo "${ECHO_T}$ac_header_compiler" >&6
6875 7133
6876# Is the header present? 7134# Is the header present?
6877echo "$as_me:$LINENO: checking $ac_header presence" >&5 7135echo "$as_me:$LINENO: checking $ac_header presence" >&5
6878echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 7136echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6879cat >conftest.$ac_ext <<_ACEOF 7137cat >conftest.$ac_ext <<_ACEOF
6880#line $LINENO "configure"
6881/* confdefs.h. */ 7138/* confdefs.h. */
6882_ACEOF 7139_ACEOF
6883cat confdefs.h >>conftest.$ac_ext 7140cat confdefs.h >>conftest.$ac_ext
6884cat >>conftest.$ac_ext <<_ACEOF 7141cat >>conftest.$ac_ext <<_ACEOF
6885/* end confdefs.h. */ 7142/* end confdefs.h. */
6893 cat conftest.err >&5 7150 cat conftest.err >&5
6894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6895 (exit $ac_status); } >/dev/null; then 7152 (exit $ac_status); } >/dev/null; then
6896 if test -s conftest.err; then 7153 if test -s conftest.err; then
6897 ac_cpp_err=$ac_cxx_preproc_warn_flag 7154 ac_cpp_err=$ac_cxx_preproc_warn_flag
7155 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6898 else 7156 else
6899 ac_cpp_err= 7157 ac_cpp_err=
6900 fi 7158 fi
6901else 7159else
6902 ac_cpp_err=yes 7160 ac_cpp_err=yes
6912rm -f conftest.err conftest.$ac_ext 7170rm -f conftest.err conftest.$ac_ext
6913echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7171echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6914echo "${ECHO_T}$ac_header_preproc" >&6 7172echo "${ECHO_T}$ac_header_preproc" >&6
6915 7173
6916# So? What about this header? 7174# So? What about this header?
6917case $ac_header_compiler:$ac_header_preproc in 7175case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6918 yes:no ) 7176 yes:no: )
6919 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7177 { 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;} 7178echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7179 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7180echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7181 ac_header_preproc=yes
7182 ;;
7183 no:yes:* )
7184 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7185echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7186 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7187echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7188 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7189echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7190 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7191echo "$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 7192 { 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;} 7193echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7194 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7195echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6923 ( 7196 (
6924 cat <<\_ASBOX 7197 cat <<\_ASBOX
6925## ------------------------------------ ## 7198## ------------------------------------------ ##
6926## Report this to bug-autoconf@gnu.org. ## 7199## Report this to the AC_PACKAGE_NAME lists. ##
6927## ------------------------------------ ## 7200## ------------------------------------------ ##
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 7201_ASBOX
6945 ) | 7202 ) |
6946 sed "s/^/$as_me: WARNING: /" >&2 7203 sed "s/^/$as_me: WARNING: /" >&2
6947 ;; 7204 ;;
6948esac 7205esac
6949echo "$as_me:$LINENO: checking for $ac_header" >&5 7206echo "$as_me:$LINENO: checking for $ac_header" >&5
6950echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7207echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6951if eval "test \"\${$as_ac_Header+set}\" = set"; then 7208if eval "test \"\${$as_ac_Header+set}\" = set"; then
6952 echo $ECHO_N "(cached) $ECHO_C" >&6 7209 echo $ECHO_N "(cached) $ECHO_C" >&6
6953else 7210else
6954 eval "$as_ac_Header=$ac_header_preproc" 7211 eval "$as_ac_Header=\$ac_header_preproc"
6955fi 7212fi
6956echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7213echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6957echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7214echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6958 7215
6959fi 7216fi
6981 7238
6982 7239
6983 7240
6984 7241
6985 7242
6986
6987
6988for ac_header in fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \ 7243for 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 \ 7244 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 7245 sys/mman.h netinet/in.h
6991do 7246do
6992as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7247as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6993if eval "test \"\${$as_ac_Header+set}\" = set"; then 7248if eval "test \"\${$as_ac_Header+set}\" = set"; then
6994 echo "$as_me:$LINENO: checking for $ac_header" >&5 7249 echo "$as_me:$LINENO: checking for $ac_header" >&5
6995echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7250echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7001else 7256else
7002 # Is the header compilable? 7257 # Is the header compilable?
7003echo "$as_me:$LINENO: checking $ac_header usability" >&5 7258echo "$as_me:$LINENO: checking $ac_header usability" >&5
7004echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 7259echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7005cat >conftest.$ac_ext <<_ACEOF 7260cat >conftest.$ac_ext <<_ACEOF
7006#line $LINENO "configure"
7007/* confdefs.h. */ 7261/* confdefs.h. */
7008_ACEOF 7262_ACEOF
7009cat confdefs.h >>conftest.$ac_ext 7263cat confdefs.h >>conftest.$ac_ext
7010cat >>conftest.$ac_ext <<_ACEOF 7264cat >>conftest.$ac_ext <<_ACEOF
7011/* end confdefs.h. */ 7265/* end confdefs.h. */
7012$ac_includes_default 7266$ac_includes_default
7013#include <$ac_header> 7267#include <$ac_header>
7014_ACEOF 7268_ACEOF
7015rm -f conftest.$ac_objext 7269rm -f conftest.$ac_objext
7016if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7270if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7017 (eval $ac_compile) 2>&5 7271 (eval $ac_compile) 2>conftest.er1
7018 ac_status=$? 7272 ac_status=$?
7273 grep -v '^ *+' conftest.er1 >conftest.err
7274 rm -f conftest.er1
7275 cat conftest.err >&5
7019 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7020 (exit $ac_status); } && 7277 (exit $ac_status); } &&
7021 { ac_try='test -s conftest.$ac_objext' 7278 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7023 (eval $ac_try) 2>&5 7280 (eval $ac_try) 2>&5
7024 ac_status=$? 7281 ac_status=$?
7025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7283 (exit $ac_status); }; } &&
7284 { ac_try='test -s conftest.$ac_objext'
7285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7286 (eval $ac_try) 2>&5
7287 ac_status=$?
7288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7026 (exit $ac_status); }; }; then 7289 (exit $ac_status); }; }; then
7027 ac_header_compiler=yes 7290 ac_header_compiler=yes
7028else 7291else
7029 echo "$as_me: failed program was:" >&5 7292 echo "$as_me: failed program was:" >&5
7030sed 's/^/| /' conftest.$ac_ext >&5 7293sed 's/^/| /' conftest.$ac_ext >&5
7031 7294
7032ac_header_compiler=no 7295ac_header_compiler=no
7033fi 7296fi
7034rm -f conftest.$ac_objext conftest.$ac_ext 7297rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7035echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7298echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7036echo "${ECHO_T}$ac_header_compiler" >&6 7299echo "${ECHO_T}$ac_header_compiler" >&6
7037 7300
7038# Is the header present? 7301# Is the header present?
7039echo "$as_me:$LINENO: checking $ac_header presence" >&5 7302echo "$as_me:$LINENO: checking $ac_header presence" >&5
7040echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 7303echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7041cat >conftest.$ac_ext <<_ACEOF 7304cat >conftest.$ac_ext <<_ACEOF
7042#line $LINENO "configure"
7043/* confdefs.h. */ 7305/* confdefs.h. */
7044_ACEOF 7306_ACEOF
7045cat confdefs.h >>conftest.$ac_ext 7307cat confdefs.h >>conftest.$ac_ext
7046cat >>conftest.$ac_ext <<_ACEOF 7308cat >>conftest.$ac_ext <<_ACEOF
7047/* end confdefs.h. */ 7309/* end confdefs.h. */
7055 cat conftest.err >&5 7317 cat conftest.err >&5
7056 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7057 (exit $ac_status); } >/dev/null; then 7319 (exit $ac_status); } >/dev/null; then
7058 if test -s conftest.err; then 7320 if test -s conftest.err; then
7059 ac_cpp_err=$ac_cxx_preproc_warn_flag 7321 ac_cpp_err=$ac_cxx_preproc_warn_flag
7322 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7060 else 7323 else
7061 ac_cpp_err= 7324 ac_cpp_err=
7062 fi 7325 fi
7063else 7326else
7064 ac_cpp_err=yes 7327 ac_cpp_err=yes
7074rm -f conftest.err conftest.$ac_ext 7337rm -f conftest.err conftest.$ac_ext
7075echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7338echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7076echo "${ECHO_T}$ac_header_preproc" >&6 7339echo "${ECHO_T}$ac_header_preproc" >&6
7077 7340
7078# So? What about this header? 7341# So? What about this header?
7079case $ac_header_compiler:$ac_header_preproc in 7342case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7080 yes:no ) 7343 yes:no: )
7081 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7344 { 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;} 7345echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7347echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7348 ac_header_preproc=yes
7349 ;;
7350 no:yes:* )
7351 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7352echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7353 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7354echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7355 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7356echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7357 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7358echo "$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 7359 { 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;} 7360echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7361 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7362echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7085 ( 7363 (
7086 cat <<\_ASBOX 7364 cat <<\_ASBOX
7087## ------------------------------------ ## 7365## ------------------------------------------ ##
7088## Report this to bug-autoconf@gnu.org. ## 7366## Report this to the AC_PACKAGE_NAME lists. ##
7089## ------------------------------------ ## 7367## ------------------------------------------ ##
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 7368_ASBOX
7107 ) | 7369 ) |
7108 sed "s/^/$as_me: WARNING: /" >&2 7370 sed "s/^/$as_me: WARNING: /" >&2
7109 ;; 7371 ;;
7110esac 7372esac
7111echo "$as_me:$LINENO: checking for $ac_header" >&5 7373echo "$as_me:$LINENO: checking for $ac_header" >&5
7112echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7374echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7113if eval "test \"\${$as_ac_Header+set}\" = set"; then 7375if eval "test \"\${$as_ac_Header+set}\" = set"; then
7114 echo $ECHO_N "(cached) $ECHO_C" >&6 7376 echo $ECHO_N "(cached) $ECHO_C" >&6
7115else 7377else
7116 eval "$as_ac_Header=$ac_header_preproc" 7378 eval "$as_ac_Header=\$ac_header_preproc"
7117fi 7379fi
7118echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7380echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7119echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7381echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7120 7382
7121fi 7383fi
7131 7393
7132 7394
7133 7395
7134 7396
7135 7397
7398
7136for ac_header in net/ethernet.h net/if.h netinet/ip.h netinet/tcp.h netinet/in_systm.h 7399for ac_header in arpa/inet.h net/ethernet.h net/if.h netinet/ip.h netinet/tcp.h netinet/in_systm.h
7137do 7400do
7138as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7401as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7139echo "$as_me:$LINENO: checking for $ac_header" >&5 7402echo "$as_me:$LINENO: checking for $ac_header" >&5
7140echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7403echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7141if eval "test \"\${$as_ac_Header+set}\" = set"; then 7404if eval "test \"\${$as_ac_Header+set}\" = set"; then
7142 echo $ECHO_N "(cached) $ECHO_C" >&6 7405 echo $ECHO_N "(cached) $ECHO_C" >&6
7143else 7406else
7144 cat >conftest.$ac_ext <<_ACEOF 7407 cat >conftest.$ac_ext <<_ACEOF
7145#line $LINENO "configure"
7146/* confdefs.h. */ 7408/* confdefs.h. */
7147_ACEOF 7409_ACEOF
7148cat confdefs.h >>conftest.$ac_ext 7410cat confdefs.h >>conftest.$ac_ext
7149cat >>conftest.$ac_ext <<_ACEOF 7411cat >>conftest.$ac_ext <<_ACEOF
7150/* end confdefs.h. */ 7412/* end confdefs.h. */
7164 7426
7165#include <$ac_header> 7427#include <$ac_header>
7166_ACEOF 7428_ACEOF
7167rm -f conftest.$ac_objext 7429rm -f conftest.$ac_objext
7168if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7430if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7169 (eval $ac_compile) 2>&5 7431 (eval $ac_compile) 2>conftest.er1
7170 ac_status=$? 7432 ac_status=$?
7433 grep -v '^ *+' conftest.er1 >conftest.err
7434 rm -f conftest.er1
7435 cat conftest.err >&5
7171 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7172 (exit $ac_status); } && 7437 (exit $ac_status); } &&
7173 { ac_try='test -s conftest.$ac_objext' 7438 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7175 (eval $ac_try) 2>&5 7440 (eval $ac_try) 2>&5
7176 ac_status=$? 7441 ac_status=$?
7177 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7443 (exit $ac_status); }; } &&
7444 { ac_try='test -s conftest.$ac_objext'
7445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7446 (eval $ac_try) 2>&5
7447 ac_status=$?
7448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7178 (exit $ac_status); }; }; then 7449 (exit $ac_status); }; }; then
7179 eval "$as_ac_Header=yes" 7450 eval "$as_ac_Header=yes"
7180else 7451else
7181 echo "$as_me: failed program was:" >&5 7452 echo "$as_me: failed program was:" >&5
7182sed 's/^/| /' conftest.$ac_ext >&5 7453sed 's/^/| /' conftest.$ac_ext >&5
7183 7454
7184eval "$as_ac_Header=no" 7455eval "$as_ac_Header=no"
7185fi 7456fi
7186rm -f conftest.$ac_objext conftest.$ac_ext 7457rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7187fi 7458fi
7188echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7459echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7189echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7460echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7190if test `eval echo '${'$as_ac_Header'}'` = yes; then 7461if test `eval echo '${'$as_ac_Header'}'` = yes; then
7191 cat >>confdefs.h <<_ACEOF 7462 cat >>confdefs.h <<_ACEOF
7201echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 7472echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
7202if test "${ac_cv_c_const+set}" = set; then 7473if test "${ac_cv_c_const+set}" = set; then
7203 echo $ECHO_N "(cached) $ECHO_C" >&6 7474 echo $ECHO_N "(cached) $ECHO_C" >&6
7204else 7475else
7205 cat >conftest.$ac_ext <<_ACEOF 7476 cat >conftest.$ac_ext <<_ACEOF
7206#line $LINENO "configure"
7207/* confdefs.h. */ 7477/* confdefs.h. */
7208_ACEOF 7478_ACEOF
7209cat confdefs.h >>conftest.$ac_ext 7479cat confdefs.h >>conftest.$ac_ext
7210cat >>conftest.$ac_ext <<_ACEOF 7480cat >>conftest.$ac_ext <<_ACEOF
7211/* end confdefs.h. */ 7481/* end confdefs.h. */
7264 return 0; 7534 return 0;
7265} 7535}
7266_ACEOF 7536_ACEOF
7267rm -f conftest.$ac_objext 7537rm -f conftest.$ac_objext
7268if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7538if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7269 (eval $ac_compile) 2>&5 7539 (eval $ac_compile) 2>conftest.er1
7270 ac_status=$? 7540 ac_status=$?
7541 grep -v '^ *+' conftest.er1 >conftest.err
7542 rm -f conftest.er1
7543 cat conftest.err >&5
7271 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7272 (exit $ac_status); } && 7545 (exit $ac_status); } &&
7273 { ac_try='test -s conftest.$ac_objext' 7546 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7275 (eval $ac_try) 2>&5 7548 (eval $ac_try) 2>&5
7276 ac_status=$? 7549 ac_status=$?
7277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7551 (exit $ac_status); }; } &&
7552 { ac_try='test -s conftest.$ac_objext'
7553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7554 (eval $ac_try) 2>&5
7555 ac_status=$?
7556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7278 (exit $ac_status); }; }; then 7557 (exit $ac_status); }; }; then
7279 ac_cv_c_const=yes 7558 ac_cv_c_const=yes
7280else 7559else
7281 echo "$as_me: failed program was:" >&5 7560 echo "$as_me: failed program was:" >&5
7282sed 's/^/| /' conftest.$ac_ext >&5 7561sed 's/^/| /' conftest.$ac_ext >&5
7283 7562
7284ac_cv_c_const=no 7563ac_cv_c_const=no
7285fi 7564fi
7286rm -f conftest.$ac_objext conftest.$ac_ext 7565rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7287fi 7566fi
7288echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 7567echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7289echo "${ECHO_T}$ac_cv_c_const" >&6 7568echo "${ECHO_T}$ac_cv_c_const" >&6
7290if test $ac_cv_c_const = no; then 7569if test $ac_cv_c_const = no; then
7291 7570
7299echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 7578echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
7300if test "${ac_cv_type_pid_t+set}" = set; then 7579if test "${ac_cv_type_pid_t+set}" = set; then
7301 echo $ECHO_N "(cached) $ECHO_C" >&6 7580 echo $ECHO_N "(cached) $ECHO_C" >&6
7302else 7581else
7303 cat >conftest.$ac_ext <<_ACEOF 7582 cat >conftest.$ac_ext <<_ACEOF
7304#line $LINENO "configure"
7305/* confdefs.h. */ 7583/* confdefs.h. */
7306_ACEOF 7584_ACEOF
7307cat confdefs.h >>conftest.$ac_ext 7585cat confdefs.h >>conftest.$ac_ext
7308cat >>conftest.$ac_ext <<_ACEOF 7586cat >>conftest.$ac_ext <<_ACEOF
7309/* end confdefs.h. */ 7587/* end confdefs.h. */
7319 return 0; 7597 return 0;
7320} 7598}
7321_ACEOF 7599_ACEOF
7322rm -f conftest.$ac_objext 7600rm -f conftest.$ac_objext
7323if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7601if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7324 (eval $ac_compile) 2>&5 7602 (eval $ac_compile) 2>conftest.er1
7325 ac_status=$? 7603 ac_status=$?
7604 grep -v '^ *+' conftest.er1 >conftest.err
7605 rm -f conftest.er1
7606 cat conftest.err >&5
7326 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7327 (exit $ac_status); } && 7608 (exit $ac_status); } &&
7328 { ac_try='test -s conftest.$ac_objext' 7609 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7330 (eval $ac_try) 2>&5 7611 (eval $ac_try) 2>&5
7331 ac_status=$? 7612 ac_status=$?
7332 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7614 (exit $ac_status); }; } &&
7615 { ac_try='test -s conftest.$ac_objext'
7616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7617 (eval $ac_try) 2>&5
7618 ac_status=$?
7619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7333 (exit $ac_status); }; }; then 7620 (exit $ac_status); }; }; then
7334 ac_cv_type_pid_t=yes 7621 ac_cv_type_pid_t=yes
7335else 7622else
7336 echo "$as_me: failed program was:" >&5 7623 echo "$as_me: failed program was:" >&5
7337sed 's/^/| /' conftest.$ac_ext >&5 7624sed 's/^/| /' conftest.$ac_ext >&5
7338 7625
7339ac_cv_type_pid_t=no 7626ac_cv_type_pid_t=no
7340fi 7627fi
7341rm -f conftest.$ac_objext conftest.$ac_ext 7628rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7342fi 7629fi
7343echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 7630echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7344echo "${ECHO_T}$ac_cv_type_pid_t" >&6 7631echo "${ECHO_T}$ac_cv_type_pid_t" >&6
7345if test $ac_cv_type_pid_t = yes; then 7632if test $ac_cv_type_pid_t = yes; then
7346 : 7633 :
7356echo $ECHO_N "checking for size_t... $ECHO_C" >&6 7643echo $ECHO_N "checking for size_t... $ECHO_C" >&6
7357if test "${ac_cv_type_size_t+set}" = set; then 7644if test "${ac_cv_type_size_t+set}" = set; then
7358 echo $ECHO_N "(cached) $ECHO_C" >&6 7645 echo $ECHO_N "(cached) $ECHO_C" >&6
7359else 7646else
7360 cat >conftest.$ac_ext <<_ACEOF 7647 cat >conftest.$ac_ext <<_ACEOF
7361#line $LINENO "configure"
7362/* confdefs.h. */ 7648/* confdefs.h. */
7363_ACEOF 7649_ACEOF
7364cat confdefs.h >>conftest.$ac_ext 7650cat confdefs.h >>conftest.$ac_ext
7365cat >>conftest.$ac_ext <<_ACEOF 7651cat >>conftest.$ac_ext <<_ACEOF
7366/* end confdefs.h. */ 7652/* end confdefs.h. */
7376 return 0; 7662 return 0;
7377} 7663}
7378_ACEOF 7664_ACEOF
7379rm -f conftest.$ac_objext 7665rm -f conftest.$ac_objext
7380if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7666if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7381 (eval $ac_compile) 2>&5 7667 (eval $ac_compile) 2>conftest.er1
7382 ac_status=$? 7668 ac_status=$?
7669 grep -v '^ *+' conftest.er1 >conftest.err
7670 rm -f conftest.er1
7671 cat conftest.err >&5
7383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384 (exit $ac_status); } && 7673 (exit $ac_status); } &&
7385 { ac_try='test -s conftest.$ac_objext' 7674 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7387 (eval $ac_try) 2>&5 7676 (eval $ac_try) 2>&5
7388 ac_status=$? 7677 ac_status=$?
7389 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7679 (exit $ac_status); }; } &&
7680 { ac_try='test -s conftest.$ac_objext'
7681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7682 (eval $ac_try) 2>&5
7683 ac_status=$?
7684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7390 (exit $ac_status); }; }; then 7685 (exit $ac_status); }; }; then
7391 ac_cv_type_size_t=yes 7686 ac_cv_type_size_t=yes
7392else 7687else
7393 echo "$as_me: failed program was:" >&5 7688 echo "$as_me: failed program was:" >&5
7394sed 's/^/| /' conftest.$ac_ext >&5 7689sed 's/^/| /' conftest.$ac_ext >&5
7395 7690
7396ac_cv_type_size_t=no 7691ac_cv_type_size_t=no
7397fi 7692fi
7398rm -f conftest.$ac_objext conftest.$ac_ext 7693rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7399fi 7694fi
7400echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 7695echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7401echo "${ECHO_T}$ac_cv_type_size_t" >&6 7696echo "${ECHO_T}$ac_cv_type_size_t" >&6
7402if test $ac_cv_type_size_t = yes; then 7697if test $ac_cv_type_size_t = yes; then
7403 : 7698 :
7413echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 7708echo $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 7709if test "${ac_cv_header_time+set}" = set; then
7415 echo $ECHO_N "(cached) $ECHO_C" >&6 7710 echo $ECHO_N "(cached) $ECHO_C" >&6
7416else 7711else
7417 cat >conftest.$ac_ext <<_ACEOF 7712 cat >conftest.$ac_ext <<_ACEOF
7418#line $LINENO "configure"
7419/* confdefs.h. */ 7713/* confdefs.h. */
7420_ACEOF 7714_ACEOF
7421cat confdefs.h >>conftest.$ac_ext 7715cat confdefs.h >>conftest.$ac_ext
7422cat >>conftest.$ac_ext <<_ACEOF 7716cat >>conftest.$ac_ext <<_ACEOF
7423/* end confdefs.h. */ 7717/* end confdefs.h. */
7434 return 0; 7728 return 0;
7435} 7729}
7436_ACEOF 7730_ACEOF
7437rm -f conftest.$ac_objext 7731rm -f conftest.$ac_objext
7438if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7732if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7439 (eval $ac_compile) 2>&5 7733 (eval $ac_compile) 2>conftest.er1
7440 ac_status=$? 7734 ac_status=$?
7735 grep -v '^ *+' conftest.er1 >conftest.err
7736 rm -f conftest.er1
7737 cat conftest.err >&5
7441 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7442 (exit $ac_status); } && 7739 (exit $ac_status); } &&
7443 { ac_try='test -s conftest.$ac_objext' 7740 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7445 (eval $ac_try) 2>&5 7742 (eval $ac_try) 2>&5
7446 ac_status=$? 7743 ac_status=$?
7447 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7745 (exit $ac_status); }; } &&
7746 { ac_try='test -s conftest.$ac_objext'
7747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7748 (eval $ac_try) 2>&5
7749 ac_status=$?
7750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7448 (exit $ac_status); }; }; then 7751 (exit $ac_status); }; }; then
7449 ac_cv_header_time=yes 7752 ac_cv_header_time=yes
7450else 7753else
7451 echo "$as_me: failed program was:" >&5 7754 echo "$as_me: failed program was:" >&5
7452sed 's/^/| /' conftest.$ac_ext >&5 7755sed 's/^/| /' conftest.$ac_ext >&5
7453 7756
7454ac_cv_header_time=no 7757ac_cv_header_time=no
7455fi 7758fi
7456rm -f conftest.$ac_objext conftest.$ac_ext 7759rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7457fi 7760fi
7458echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 7761echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
7459echo "${ECHO_T}$ac_cv_header_time" >&6 7762echo "${ECHO_T}$ac_cv_header_time" >&6
7460if test $ac_cv_header_time = yes; then 7763if test $ac_cv_header_time = yes; then
7461 7764
7469echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 7772echo $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 7773if test "${ac_cv_struct_tm+set}" = set; then
7471 echo $ECHO_N "(cached) $ECHO_C" >&6 7774 echo $ECHO_N "(cached) $ECHO_C" >&6
7472else 7775else
7473 cat >conftest.$ac_ext <<_ACEOF 7776 cat >conftest.$ac_ext <<_ACEOF
7474#line $LINENO "configure"
7475/* confdefs.h. */ 7777/* confdefs.h. */
7476_ACEOF 7778_ACEOF
7477cat confdefs.h >>conftest.$ac_ext 7779cat confdefs.h >>conftest.$ac_ext
7478cat >>conftest.$ac_ext <<_ACEOF 7780cat >>conftest.$ac_ext <<_ACEOF
7479/* end confdefs.h. */ 7781/* end confdefs.h. */
7488 return 0; 7790 return 0;
7489} 7791}
7490_ACEOF 7792_ACEOF
7491rm -f conftest.$ac_objext 7793rm -f conftest.$ac_objext
7492if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7794if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7493 (eval $ac_compile) 2>&5 7795 (eval $ac_compile) 2>conftest.er1
7494 ac_status=$? 7796 ac_status=$?
7797 grep -v '^ *+' conftest.er1 >conftest.err
7798 rm -f conftest.er1
7799 cat conftest.err >&5
7495 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7496 (exit $ac_status); } && 7801 (exit $ac_status); } &&
7497 { ac_try='test -s conftest.$ac_objext' 7802 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7499 (eval $ac_try) 2>&5 7804 (eval $ac_try) 2>&5
7500 ac_status=$? 7805 ac_status=$?
7501 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7807 (exit $ac_status); }; } &&
7808 { ac_try='test -s conftest.$ac_objext'
7809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7810 (eval $ac_try) 2>&5
7811 ac_status=$?
7812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7502 (exit $ac_status); }; }; then 7813 (exit $ac_status); }; }; then
7503 ac_cv_struct_tm=time.h 7814 ac_cv_struct_tm=time.h
7504else 7815else
7505 echo "$as_me: failed program was:" >&5 7816 echo "$as_me: failed program was:" >&5
7506sed 's/^/| /' conftest.$ac_ext >&5 7817sed 's/^/| /' conftest.$ac_ext >&5
7507 7818
7508ac_cv_struct_tm=sys/time.h 7819ac_cv_struct_tm=sys/time.h
7509fi 7820fi
7510rm -f conftest.$ac_objext conftest.$ac_ext 7821rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7511fi 7822fi
7512echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 7823echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
7513echo "${ECHO_T}$ac_cv_struct_tm" >&6 7824echo "${ECHO_T}$ac_cv_struct_tm" >&6
7514if test $ac_cv_struct_tm = sys/time.h; then 7825if test $ac_cv_struct_tm = sys/time.h; then
7515 7826
7518_ACEOF 7829_ACEOF
7519 7830
7520fi 7831fi
7521 7832
7522 7833
7834echo "$as_me:$LINENO: checking for socklen_t" >&5
7835echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
7836if test "${ac_cv_type_socklen_t+set}" = set; then
7837 echo $ECHO_N "(cached) $ECHO_C" >&6
7838else
7523 7839
7840 cat >conftest.$ac_ext <<_ACEOF
7841/* confdefs.h. */
7842_ACEOF
7843cat confdefs.h >>conftest.$ac_ext
7844cat >>conftest.$ac_ext <<_ACEOF
7845/* end confdefs.h. */
7846#include <sys/types.h>
7847 #include <sys/socket.h>
7848int
7849main ()
7850{
7851socklen_t len = 42; return len;
7852 ;
7853 return 0;
7854}
7855_ACEOF
7856rm -f conftest.$ac_objext
7857if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7858 (eval $ac_compile) 2>conftest.er1
7859 ac_status=$?
7860 grep -v '^ *+' conftest.er1 >conftest.err
7861 rm -f conftest.er1
7862 cat conftest.err >&5
7863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7864 (exit $ac_status); } &&
7865 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7867 (eval $ac_try) 2>&5
7868 ac_status=$?
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
7876 (exit $ac_status); }; }; then
7877 ac_cv_type_socklen_t=yes
7878else
7879 echo "$as_me: failed program was:" >&5
7880sed 's/^/| /' conftest.$ac_ext >&5
7524 7881
7525for ac_func in poll mlockall 7882ac_cv_type_socklen_t=no
7883fi
7884rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7885
7886fi
7887echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
7888echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
7889if test $ac_cv_type_socklen_t = yes; then
7890
7891cat >>confdefs.h <<\_ACEOF
7892#define HAVE_SOCKLEN_T 1
7893_ACEOF
7894
7895fi
7896
7897echo "$as_me:$LINENO: checking for struct addrinfo" >&5
7898echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
7899if test "${ac_cv_struct_addrinfo+set}" = set; then
7900 echo $ECHO_N "(cached) $ECHO_C" >&6
7901else
7902
7903 cat >conftest.$ac_ext <<_ACEOF
7904/* confdefs.h. */
7905_ACEOF
7906cat confdefs.h >>conftest.$ac_ext
7907cat >>conftest.$ac_ext <<_ACEOF
7908/* end confdefs.h. */
7909#include <sys/types.h>
7910 #include <sys/socket.h>
7911 #include <netdb.h>
7912int
7913main ()
7914{
7915struct addrinfo ai; ai.ai_family = AF_INET; return ai.ai_family;
7916 ;
7917 return 0;
7918}
7919_ACEOF
7920rm -f conftest.$ac_objext
7921if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7922 (eval $ac_compile) 2>conftest.er1
7923 ac_status=$?
7924 grep -v '^ *+' conftest.er1 >conftest.err
7925 rm -f conftest.er1
7926 cat conftest.err >&5
7927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7928 (exit $ac_status); } &&
7929 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7931 (eval $ac_try) 2>&5
7932 ac_status=$?
7933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7934 (exit $ac_status); }; } &&
7935 { ac_try='test -s conftest.$ac_objext'
7936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7937 (eval $ac_try) 2>&5
7938 ac_status=$?
7939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7940 (exit $ac_status); }; }; then
7941 ac_cv_struct_addrinfo=yes
7942else
7943 echo "$as_me: failed program was:" >&5
7944sed 's/^/| /' conftest.$ac_ext >&5
7945
7946ac_cv_struct_addrinfo=no
7947fi
7948rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7949
7950fi
7951echo "$as_me:$LINENO: result: $ac_cv_struct_addrinfo" >&5
7952echo "${ECHO_T}$ac_cv_struct_addrinfo" >&6
7953if test $ac_cv_struct_addrinfo = yes; then
7954
7955cat >>confdefs.h <<\_ACEOF
7956#define HAVE_STRUCT_ADDRINFO 1
7957_ACEOF
7958
7959fi
7960
7961echo "$as_me:$LINENO: checking return type of signal handlers" >&5
7962echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
7963if test "${ac_cv_type_signal+set}" = set; then
7964 echo $ECHO_N "(cached) $ECHO_C" >&6
7965else
7966 cat >conftest.$ac_ext <<_ACEOF
7967/* confdefs.h. */
7968_ACEOF
7969cat confdefs.h >>conftest.$ac_ext
7970cat >>conftest.$ac_ext <<_ACEOF
7971/* end confdefs.h. */
7972#include <sys/types.h>
7973#include <signal.h>
7974#ifdef signal
7975# undef signal
7976#endif
7977#ifdef __cplusplus
7978extern "C" void (*signal (int, void (*)(int)))(int);
7979#else
7980void (*signal ()) ();
7981#endif
7982
7983int
7984main ()
7985{
7986int i;
7987 ;
7988 return 0;
7989}
7990_ACEOF
7991rm -f conftest.$ac_objext
7992if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7993 (eval $ac_compile) 2>conftest.er1
7994 ac_status=$?
7995 grep -v '^ *+' conftest.er1 >conftest.err
7996 rm -f conftest.er1
7997 cat conftest.err >&5
7998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7999 (exit $ac_status); } &&
8000 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8002 (eval $ac_try) 2>&5
8003 ac_status=$?
8004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8005 (exit $ac_status); }; } &&
8006 { ac_try='test -s conftest.$ac_objext'
8007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8008 (eval $ac_try) 2>&5
8009 ac_status=$?
8010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8011 (exit $ac_status); }; }; then
8012 ac_cv_type_signal=void
8013else
8014 echo "$as_me: failed program was:" >&5
8015sed 's/^/| /' conftest.$ac_ext >&5
8016
8017ac_cv_type_signal=int
8018fi
8019rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8020fi
8021echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
8022echo "${ECHO_T}$ac_cv_type_signal" >&6
8023
8024cat >>confdefs.h <<_ACEOF
8025#define RETSIGTYPE $ac_cv_type_signal
8026_ACEOF
8027
8028
8029
8030ac_ext=c
8031ac_cpp='$CPP $CPPFLAGS'
8032ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8033ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8034ac_compiler_gnu=$ac_cv_c_compiler_gnu
8035
8036
8037echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8038echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
8039if test "${ac_cv_header_stdc+set}" = set; then
8040 echo $ECHO_N "(cached) $ECHO_C" >&6
8041else
8042 cat >conftest.$ac_ext <<_ACEOF
8043/* confdefs.h. */
8044_ACEOF
8045cat confdefs.h >>conftest.$ac_ext
8046cat >>conftest.$ac_ext <<_ACEOF
8047/* end confdefs.h. */
8048#include <stdlib.h>
8049#include <stdarg.h>
8050#include <string.h>
8051#include <float.h>
8052
8053int
8054main ()
8055{
8056
8057 ;
8058 return 0;
8059}
8060_ACEOF
8061rm -f conftest.$ac_objext
8062if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8063 (eval $ac_compile) 2>conftest.er1
8064 ac_status=$?
8065 grep -v '^ *+' conftest.er1 >conftest.err
8066 rm -f conftest.er1
8067 cat conftest.err >&5
8068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8069 (exit $ac_status); } &&
8070 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8072 (eval $ac_try) 2>&5
8073 ac_status=$?
8074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8075 (exit $ac_status); }; } &&
8076 { ac_try='test -s conftest.$ac_objext'
8077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8078 (eval $ac_try) 2>&5
8079 ac_status=$?
8080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8081 (exit $ac_status); }; }; then
8082 ac_cv_header_stdc=yes
8083else
8084 echo "$as_me: failed program was:" >&5
8085sed 's/^/| /' conftest.$ac_ext >&5
8086
8087ac_cv_header_stdc=no
8088fi
8089rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8090
8091if test $ac_cv_header_stdc = yes; then
8092 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8093 cat >conftest.$ac_ext <<_ACEOF
8094/* confdefs.h. */
8095_ACEOF
8096cat confdefs.h >>conftest.$ac_ext
8097cat >>conftest.$ac_ext <<_ACEOF
8098/* end confdefs.h. */
8099#include <string.h>
8100
8101_ACEOF
8102if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8103 $EGREP "memchr" >/dev/null 2>&1; then
8104 :
8105else
8106 ac_cv_header_stdc=no
8107fi
8108rm -f conftest*
8109
8110fi
8111
8112if test $ac_cv_header_stdc = yes; then
8113 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8114 cat >conftest.$ac_ext <<_ACEOF
8115/* confdefs.h. */
8116_ACEOF
8117cat confdefs.h >>conftest.$ac_ext
8118cat >>conftest.$ac_ext <<_ACEOF
8119/* end confdefs.h. */
8120#include <stdlib.h>
8121
8122_ACEOF
8123if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8124 $EGREP "free" >/dev/null 2>&1; then
8125 :
8126else
8127 ac_cv_header_stdc=no
8128fi
8129rm -f conftest*
8130
8131fi
8132
8133if test $ac_cv_header_stdc = yes; then
8134 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8135 if test "$cross_compiling" = yes; then
8136 :
8137else
8138 cat >conftest.$ac_ext <<_ACEOF
8139/* confdefs.h. */
8140_ACEOF
8141cat confdefs.h >>conftest.$ac_ext
8142cat >>conftest.$ac_ext <<_ACEOF
8143/* end confdefs.h. */
8144#include <ctype.h>
8145#if ((' ' & 0x0FF) == 0x020)
8146# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8147# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8148#else
8149# define ISLOWER(c) \
8150 (('a' <= (c) && (c) <= 'i') \
8151 || ('j' <= (c) && (c) <= 'r') \
8152 || ('s' <= (c) && (c) <= 'z'))
8153# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8154#endif
8155
8156#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8157int
8158main ()
8159{
8160 int i;
8161 for (i = 0; i < 256; i++)
8162 if (XOR (islower (i), ISLOWER (i))
8163 || toupper (i) != TOUPPER (i))
8164 exit(2);
8165 exit (0);
8166}
8167_ACEOF
8168rm -f conftest$ac_exeext
8169if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8170 (eval $ac_link) 2>&5
8171 ac_status=$?
8172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8173 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8175 (eval $ac_try) 2>&5
8176 ac_status=$?
8177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178 (exit $ac_status); }; }; then
8179 :
8180else
8181 echo "$as_me: program exited with status $ac_status" >&5
8182echo "$as_me: failed program was:" >&5
8183sed 's/^/| /' conftest.$ac_ext >&5
8184
8185( exit $ac_status )
8186ac_cv_header_stdc=no
8187fi
8188rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8189fi
8190fi
8191fi
8192echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8193echo "${ECHO_T}$ac_cv_header_stdc" >&6
8194if test $ac_cv_header_stdc = yes; then
8195
8196cat >>confdefs.h <<\_ACEOF
8197#define STDC_HEADERS 1
8198_ACEOF
8199
8200fi
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213for ac_func in asprintf daemon get_current_dir_name putenv select strerror strsignal strtol unsetenv mlockall
7526do 8214do
7527as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8215as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7528echo "$as_me:$LINENO: checking for $ac_func" >&5 8216echo "$as_me:$LINENO: checking for $ac_func" >&5
7529echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8217echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7530if eval "test \"\${$as_ac_var+set}\" = set"; then 8218if eval "test \"\${$as_ac_var+set}\" = set"; then
7531 echo $ECHO_N "(cached) $ECHO_C" >&6 8219 echo $ECHO_N "(cached) $ECHO_C" >&6
7532else 8220else
7533 cat >conftest.$ac_ext <<_ACEOF 8221 cat >conftest.$ac_ext <<_ACEOF
7534#line $LINENO "configure"
7535/* confdefs.h. */ 8222/* confdefs.h. */
7536_ACEOF 8223_ACEOF
7537cat confdefs.h >>conftest.$ac_ext 8224cat confdefs.h >>conftest.$ac_ext
7538cat >>conftest.$ac_ext <<_ACEOF 8225cat >>conftest.$ac_ext <<_ACEOF
7539/* end confdefs.h. */ 8226/* end confdefs.h. */
8227/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8229#define $ac_func innocuous_$ac_func
8230
7540/* System header to define __stub macros and hopefully few prototypes, 8231/* System header to define __stub macros and hopefully few prototypes,
7541 which can conflict with char $ac_func (); below. 8232 which can conflict with char $ac_func (); below.
7542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7543 <limits.h> exists even on freestanding compilers. */ 8234 <limits.h> exists even on freestanding compilers. */
8235
7544#ifdef __STDC__ 8236#ifdef __STDC__
7545# include <limits.h> 8237# include <limits.h>
7546#else 8238#else
7547# include <assert.h> 8239# include <assert.h>
7548#endif 8240#endif
8241
8242#undef $ac_func
8243
7549/* Override any gcc2 internal prototype to avoid an error. */ 8244/* Override any gcc2 internal prototype to avoid an error. */
7550#ifdef __cplusplus 8245#ifdef __cplusplus
7551extern "C" 8246extern "C"
7552{ 8247{
7553#endif 8248#endif
7574 return 0; 8269 return 0;
7575} 8270}
7576_ACEOF 8271_ACEOF
7577rm -f conftest.$ac_objext conftest$ac_exeext 8272rm -f conftest.$ac_objext conftest$ac_exeext
7578if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8273if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7579 (eval $ac_link) 2>&5 8274 (eval $ac_link) 2>conftest.er1
7580 ac_status=$? 8275 ac_status=$?
8276 grep -v '^ *+' conftest.er1 >conftest.err
8277 rm -f conftest.er1
8278 cat conftest.err >&5
7581 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7582 (exit $ac_status); } && 8280 (exit $ac_status); } &&
7583 { ac_try='test -s conftest$ac_exeext' 8281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7585 (eval $ac_try) 2>&5 8283 (eval $ac_try) 2>&5
7586 ac_status=$? 8284 ac_status=$?
7587 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
7588 (exit $ac_status); }; }; then 8292 (exit $ac_status); }; }; then
7589 eval "$as_ac_var=yes" 8293 eval "$as_ac_var=yes"
7590else 8294else
7591 echo "$as_me: failed program was:" >&5 8295 echo "$as_me: failed program was:" >&5
7592sed 's/^/| /' conftest.$ac_ext >&5 8296sed 's/^/| /' conftest.$ac_ext >&5
7593 8297
7594eval "$as_ac_var=no" 8298eval "$as_ac_var=no"
7595fi 8299fi
7596rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7597fi
7598echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7599echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7600if test `eval echo '${'$as_ac_var'}'` = yes; then
7601 cat >>confdefs.h <<_ACEOF
7602#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7603_ACEOF
7604
7605fi
7606done
7607
7608
7609echo "$as_me:$LINENO: checking for socklen_t" >&5
7610echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
7611if test "${ac_cv_type_socklen_t+set}" = set; then
7612 echo $ECHO_N "(cached) $ECHO_C" >&6
7613else
7614
7615 cat >conftest.$ac_ext <<_ACEOF
7616#line $LINENO "configure"
7617/* confdefs.h. */
7618_ACEOF
7619cat confdefs.h >>conftest.$ac_ext
7620cat >>conftest.$ac_ext <<_ACEOF
7621/* end confdefs.h. */
7622#include <sys/types.h>
7623 #include <sys/socket.h>
7624int
7625main ()
7626{
7627socklen_t len = 42; return len;
7628 ;
7629 return 0;
7630}
7631_ACEOF
7632rm -f conftest.$ac_objext 8300rm -f conftest.err conftest.$ac_objext \
7633if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7634 (eval $ac_compile) 2>&5
7635 ac_status=$?
7636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7637 (exit $ac_status); } &&
7638 { ac_try='test -s conftest.$ac_objext'
7639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7640 (eval $ac_try) 2>&5
7641 ac_status=$?
7642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7643 (exit $ac_status); }; }; then
7644 ac_cv_type_socklen_t=yes
7645else
7646 echo "$as_me: failed program was:" >&5
7647sed 's/^/| /' conftest.$ac_ext >&5
7648
7649ac_cv_type_socklen_t=no
7650fi
7651rm -f conftest.$ac_objext conftest.$ac_ext 8301 conftest$ac_exeext conftest.$ac_ext
7652
7653fi
7654echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
7655echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
7656if test $ac_cv_type_socklen_t = yes; then
7657
7658cat >>confdefs.h <<\_ACEOF
7659#define HAVE_SOCKLEN_T 1
7660_ACEOF
7661
7662fi
7663
7664echo "$as_me:$LINENO: checking for struct addrinfo" >&5
7665echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
7666if test "${ac_cv_struct_addrinfo+set}" = set; then
7667 echo $ECHO_N "(cached) $ECHO_C" >&6
7668else
7669
7670 cat >conftest.$ac_ext <<_ACEOF
7671#line $LINENO "configure"
7672/* confdefs.h. */
7673_ACEOF
7674cat confdefs.h >>conftest.$ac_ext
7675cat >>conftest.$ac_ext <<_ACEOF
7676/* end confdefs.h. */
7677#include <sys/types.h>
7678 #include <sys/socket.h>
7679 #include <netdb.h>
7680int
7681main ()
7682{
7683struct addrinfo ai; ai.ai_family = AF_INET; return ai.ai_family;
7684 ;
7685 return 0;
7686}
7687_ACEOF
7688rm -f conftest.$ac_objext
7689if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7690 (eval $ac_compile) 2>&5
7691 ac_status=$?
7692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7693 (exit $ac_status); } &&
7694 { ac_try='test -s conftest.$ac_objext'
7695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7696 (eval $ac_try) 2>&5
7697 ac_status=$?
7698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7699 (exit $ac_status); }; }; then
7700 ac_cv_struct_addrinfo=yes
7701else
7702 echo "$as_me: failed program was:" >&5
7703sed 's/^/| /' conftest.$ac_ext >&5
7704
7705ac_cv_struct_addrinfo=no
7706fi
7707rm -f conftest.$ac_objext conftest.$ac_ext
7708
7709fi
7710echo "$as_me:$LINENO: result: $ac_cv_struct_addrinfo" >&5
7711echo "${ECHO_T}$ac_cv_struct_addrinfo" >&6
7712if test $ac_cv_struct_addrinfo = yes; then
7713
7714cat >>confdefs.h <<\_ACEOF
7715#define HAVE_STRUCT_ADDRINFO 1
7716_ACEOF
7717
7718fi
7719
7720echo "$as_me:$LINENO: checking return type of signal handlers" >&5
7721echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
7722if test "${ac_cv_type_signal+set}" = set; then
7723 echo $ECHO_N "(cached) $ECHO_C" >&6
7724else
7725 cat >conftest.$ac_ext <<_ACEOF
7726#line $LINENO "configure"
7727/* confdefs.h. */
7728_ACEOF
7729cat confdefs.h >>conftest.$ac_ext
7730cat >>conftest.$ac_ext <<_ACEOF
7731/* end confdefs.h. */
7732#include <sys/types.h>
7733#include <signal.h>
7734#ifdef signal
7735# undef signal
7736#endif
7737#ifdef __cplusplus
7738extern "C" void (*signal (int, void (*)(int)))(int);
7739#else
7740void (*signal ()) ();
7741#endif
7742
7743int
7744main ()
7745{
7746int i;
7747 ;
7748 return 0;
7749}
7750_ACEOF
7751rm -f conftest.$ac_objext
7752if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7753 (eval $ac_compile) 2>&5
7754 ac_status=$?
7755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7756 (exit $ac_status); } &&
7757 { ac_try='test -s conftest.$ac_objext'
7758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7759 (eval $ac_try) 2>&5
7760 ac_status=$?
7761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7762 (exit $ac_status); }; }; then
7763 ac_cv_type_signal=void
7764else
7765 echo "$as_me: failed program was:" >&5
7766sed 's/^/| /' conftest.$ac_ext >&5
7767
7768ac_cv_type_signal=int
7769fi
7770rm -f conftest.$ac_objext conftest.$ac_ext
7771fi
7772echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
7773echo "${ECHO_T}$ac_cv_type_signal" >&6
7774
7775cat >>confdefs.h <<_ACEOF
7776#define RETSIGTYPE $ac_cv_type_signal
7777_ACEOF
7778
7779
7780
7781ac_ext=c
7782ac_cpp='$CPP $CPPFLAGS'
7783ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7784ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7785ac_compiler_gnu=$ac_cv_c_compiler_gnu
7786
7787
7788echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7789echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7790if test "${ac_cv_header_stdc+set}" = set; then
7791 echo $ECHO_N "(cached) $ECHO_C" >&6
7792else
7793 cat >conftest.$ac_ext <<_ACEOF
7794#line $LINENO "configure"
7795/* confdefs.h. */
7796_ACEOF
7797cat confdefs.h >>conftest.$ac_ext
7798cat >>conftest.$ac_ext <<_ACEOF
7799/* end confdefs.h. */
7800#include <stdlib.h>
7801#include <stdarg.h>
7802#include <string.h>
7803#include <float.h>
7804
7805int
7806main ()
7807{
7808
7809 ;
7810 return 0;
7811}
7812_ACEOF
7813rm -f conftest.$ac_objext
7814if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7815 (eval $ac_compile) 2>&5
7816 ac_status=$?
7817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7818 (exit $ac_status); } &&
7819 { ac_try='test -s conftest.$ac_objext'
7820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7821 (eval $ac_try) 2>&5
7822 ac_status=$?
7823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7824 (exit $ac_status); }; }; then
7825 ac_cv_header_stdc=yes
7826else
7827 echo "$as_me: failed program was:" >&5
7828sed 's/^/| /' conftest.$ac_ext >&5
7829
7830ac_cv_header_stdc=no
7831fi
7832rm -f conftest.$ac_objext conftest.$ac_ext
7833
7834if test $ac_cv_header_stdc = yes; then
7835 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7836 cat >conftest.$ac_ext <<_ACEOF
7837#line $LINENO "configure"
7838/* confdefs.h. */
7839_ACEOF
7840cat confdefs.h >>conftest.$ac_ext
7841cat >>conftest.$ac_ext <<_ACEOF
7842/* end confdefs.h. */
7843#include <string.h>
7844
7845_ACEOF
7846if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7847 $EGREP "memchr" >/dev/null 2>&1; then
7848 :
7849else
7850 ac_cv_header_stdc=no
7851fi
7852rm -f conftest*
7853
7854fi
7855
7856if test $ac_cv_header_stdc = yes; then
7857 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7858 cat >conftest.$ac_ext <<_ACEOF
7859#line $LINENO "configure"
7860/* confdefs.h. */
7861_ACEOF
7862cat confdefs.h >>conftest.$ac_ext
7863cat >>conftest.$ac_ext <<_ACEOF
7864/* end confdefs.h. */
7865#include <stdlib.h>
7866
7867_ACEOF
7868if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7869 $EGREP "free" >/dev/null 2>&1; then
7870 :
7871else
7872 ac_cv_header_stdc=no
7873fi
7874rm -f conftest*
7875
7876fi
7877
7878if test $ac_cv_header_stdc = yes; then
7879 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7880 if test "$cross_compiling" = yes; then
7881 :
7882else
7883 cat >conftest.$ac_ext <<_ACEOF
7884#line $LINENO "configure"
7885/* confdefs.h. */
7886_ACEOF
7887cat confdefs.h >>conftest.$ac_ext
7888cat >>conftest.$ac_ext <<_ACEOF
7889/* end confdefs.h. */
7890#include <ctype.h>
7891#if ((' ' & 0x0FF) == 0x020)
7892# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7893# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7894#else
7895# define ISLOWER(c) \
7896 (('a' <= (c) && (c) <= 'i') \
7897 || ('j' <= (c) && (c) <= 'r') \
7898 || ('s' <= (c) && (c) <= 'z'))
7899# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7900#endif
7901
7902#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7903int
7904main ()
7905{
7906 int i;
7907 for (i = 0; i < 256; i++)
7908 if (XOR (islower (i), ISLOWER (i))
7909 || toupper (i) != TOUPPER (i))
7910 exit(2);
7911 exit (0);
7912}
7913_ACEOF
7914rm -f conftest$ac_exeext
7915if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7916 (eval $ac_link) 2>&5
7917 ac_status=$?
7918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7919 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7921 (eval $ac_try) 2>&5
7922 ac_status=$?
7923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7924 (exit $ac_status); }; }; then
7925 :
7926else
7927 echo "$as_me: program exited with status $ac_status" >&5
7928echo "$as_me: failed program was:" >&5
7929sed 's/^/| /' conftest.$ac_ext >&5
7930
7931( exit $ac_status )
7932ac_cv_header_stdc=no
7933fi
7934rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7935fi
7936fi
7937fi
7938echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7939echo "${ECHO_T}$ac_cv_header_stdc" >&6
7940if test $ac_cv_header_stdc = yes; then
7941
7942cat >>confdefs.h <<\_ACEOF
7943#define STDC_HEADERS 1
7944_ACEOF
7945
7946fi
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959for ac_func in asprintf daemon get_current_dir_name putenv select strerror strsignal strtol unsetenv mlockall
7960do
7961as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7962echo "$as_me:$LINENO: checking for $ac_func" >&5
7963echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7964if eval "test \"\${$as_ac_var+set}\" = set"; then
7965 echo $ECHO_N "(cached) $ECHO_C" >&6
7966else
7967 cat >conftest.$ac_ext <<_ACEOF
7968#line $LINENO "configure"
7969/* confdefs.h. */
7970_ACEOF
7971cat confdefs.h >>conftest.$ac_ext
7972cat >>conftest.$ac_ext <<_ACEOF
7973/* end confdefs.h. */
7974/* System header to define __stub macros and hopefully few prototypes,
7975 which can conflict with char $ac_func (); below.
7976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7977 <limits.h> exists even on freestanding compilers. */
7978#ifdef __STDC__
7979# include <limits.h>
7980#else
7981# include <assert.h>
7982#endif
7983/* Override any gcc2 internal prototype to avoid an error. */
7984#ifdef __cplusplus
7985extern "C"
7986{
7987#endif
7988/* We use char because int might match the return type of a gcc2
7989 builtin and then its argument prototype would still apply. */
7990char $ac_func ();
7991/* The GNU C library defines this for functions which it implements
7992 to always fail with ENOSYS. Some functions are actually named
7993 something starting with __ and the normal name is an alias. */
7994#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7995choke me
7996#else
7997char (*f) () = $ac_func;
7998#endif
7999#ifdef __cplusplus
8000}
8001#endif
8002
8003int
8004main ()
8005{
8006return f != $ac_func;
8007 ;
8008 return 0;
8009}
8010_ACEOF
8011rm -f conftest.$ac_objext conftest$ac_exeext
8012if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8013 (eval $ac_link) 2>&5
8014 ac_status=$?
8015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8016 (exit $ac_status); } &&
8017 { ac_try='test -s conftest$ac_exeext'
8018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8019 (eval $ac_try) 2>&5
8020 ac_status=$?
8021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8022 (exit $ac_status); }; }; then
8023 eval "$as_ac_var=yes"
8024else
8025 echo "$as_me: failed program was:" >&5
8026sed 's/^/| /' conftest.$ac_ext >&5
8027
8028eval "$as_ac_var=no"
8029fi
8030rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8031fi 8302fi
8032echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 8303echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8033echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8304echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8034if test `eval echo '${'$as_ac_var'}'` = yes; then 8305if test `eval echo '${'$as_ac_var'}'` = yes; then
8035 cat >>confdefs.h <<_ACEOF 8306 cat >>confdefs.h <<_ACEOF
8046echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 8317echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
8047if test "${ac_cv_working_alloca_h+set}" = set; then 8318if test "${ac_cv_working_alloca_h+set}" = set; then
8048 echo $ECHO_N "(cached) $ECHO_C" >&6 8319 echo $ECHO_N "(cached) $ECHO_C" >&6
8049else 8320else
8050 cat >conftest.$ac_ext <<_ACEOF 8321 cat >conftest.$ac_ext <<_ACEOF
8051#line $LINENO "configure"
8052/* confdefs.h. */ 8322/* confdefs.h. */
8053_ACEOF 8323_ACEOF
8054cat confdefs.h >>conftest.$ac_ext 8324cat confdefs.h >>conftest.$ac_ext
8055cat >>conftest.$ac_ext <<_ACEOF 8325cat >>conftest.$ac_ext <<_ACEOF
8056/* end confdefs.h. */ 8326/* end confdefs.h. */
8063 return 0; 8333 return 0;
8064} 8334}
8065_ACEOF 8335_ACEOF
8066rm -f conftest.$ac_objext conftest$ac_exeext 8336rm -f conftest.$ac_objext conftest$ac_exeext
8067if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8337if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8068 (eval $ac_link) 2>&5 8338 (eval $ac_link) 2>conftest.er1
8069 ac_status=$? 8339 ac_status=$?
8340 grep -v '^ *+' conftest.er1 >conftest.err
8341 rm -f conftest.er1
8342 cat conftest.err >&5
8070 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8071 (exit $ac_status); } && 8344 (exit $ac_status); } &&
8072 { ac_try='test -s conftest$ac_exeext' 8345 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8074 (eval $ac_try) 2>&5 8347 (eval $ac_try) 2>&5
8075 ac_status=$? 8348 ac_status=$?
8076 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8350 (exit $ac_status); }; } &&
8351 { ac_try='test -s conftest$ac_exeext'
8352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8353 (eval $ac_try) 2>&5
8354 ac_status=$?
8355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8077 (exit $ac_status); }; }; then 8356 (exit $ac_status); }; }; then
8078 ac_cv_working_alloca_h=yes 8357 ac_cv_working_alloca_h=yes
8079else 8358else
8080 echo "$as_me: failed program was:" >&5 8359 echo "$as_me: failed program was:" >&5
8081sed 's/^/| /' conftest.$ac_ext >&5 8360sed 's/^/| /' conftest.$ac_ext >&5
8082 8361
8083ac_cv_working_alloca_h=no 8362ac_cv_working_alloca_h=no
8084fi 8363fi
8085rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8364rm -f conftest.err conftest.$ac_objext \
8365 conftest$ac_exeext conftest.$ac_ext
8086fi 8366fi
8087echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 8367echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
8088echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 8368echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
8089if test $ac_cv_working_alloca_h = yes; then 8369if test $ac_cv_working_alloca_h = yes; then
8090 8370
8098echo $ECHO_N "checking for alloca... $ECHO_C" >&6 8378echo $ECHO_N "checking for alloca... $ECHO_C" >&6
8099if test "${ac_cv_func_alloca_works+set}" = set; then 8379if test "${ac_cv_func_alloca_works+set}" = set; then
8100 echo $ECHO_N "(cached) $ECHO_C" >&6 8380 echo $ECHO_N "(cached) $ECHO_C" >&6
8101else 8381else
8102 cat >conftest.$ac_ext <<_ACEOF 8382 cat >conftest.$ac_ext <<_ACEOF
8103#line $LINENO "configure"
8104/* confdefs.h. */ 8383/* confdefs.h. */
8105_ACEOF 8384_ACEOF
8106cat confdefs.h >>conftest.$ac_ext 8385cat confdefs.h >>conftest.$ac_ext
8107cat >>conftest.$ac_ext <<_ACEOF 8386cat >>conftest.$ac_ext <<_ACEOF
8108/* end confdefs.h. */ 8387/* end confdefs.h. */
8135 return 0; 8414 return 0;
8136} 8415}
8137_ACEOF 8416_ACEOF
8138rm -f conftest.$ac_objext conftest$ac_exeext 8417rm -f conftest.$ac_objext conftest$ac_exeext
8139if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8418if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8140 (eval $ac_link) 2>&5 8419 (eval $ac_link) 2>conftest.er1
8141 ac_status=$? 8420 ac_status=$?
8421 grep -v '^ *+' conftest.er1 >conftest.err
8422 rm -f conftest.er1
8423 cat conftest.err >&5
8142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8143 (exit $ac_status); } && 8425 (exit $ac_status); } &&
8144 { ac_try='test -s conftest$ac_exeext' 8426 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8146 (eval $ac_try) 2>&5 8428 (eval $ac_try) 2>&5
8147 ac_status=$? 8429 ac_status=$?
8148 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8431 (exit $ac_status); }; } &&
8432 { ac_try='test -s conftest$ac_exeext'
8433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8434 (eval $ac_try) 2>&5
8435 ac_status=$?
8436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8149 (exit $ac_status); }; }; then 8437 (exit $ac_status); }; }; then
8150 ac_cv_func_alloca_works=yes 8438 ac_cv_func_alloca_works=yes
8151else 8439else
8152 echo "$as_me: failed program was:" >&5 8440 echo "$as_me: failed program was:" >&5
8153sed 's/^/| /' conftest.$ac_ext >&5 8441sed 's/^/| /' conftest.$ac_ext >&5
8154 8442
8155ac_cv_func_alloca_works=no 8443ac_cv_func_alloca_works=no
8156fi 8444fi
8157rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8445rm -f conftest.err conftest.$ac_objext \
8446 conftest$ac_exeext conftest.$ac_ext
8158fi 8447fi
8159echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 8448echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
8160echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 8449echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
8161 8450
8162if test $ac_cv_func_alloca_works = yes; then 8451if test $ac_cv_func_alloca_works = yes; then
8182echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 8471echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
8183if test "${ac_cv_os_cray+set}" = set; then 8472if test "${ac_cv_os_cray+set}" = set; then
8184 echo $ECHO_N "(cached) $ECHO_C" >&6 8473 echo $ECHO_N "(cached) $ECHO_C" >&6
8185else 8474else
8186 cat >conftest.$ac_ext <<_ACEOF 8475 cat >conftest.$ac_ext <<_ACEOF
8187#line $LINENO "configure"
8188/* confdefs.h. */ 8476/* confdefs.h. */
8189_ACEOF 8477_ACEOF
8190cat confdefs.h >>conftest.$ac_ext 8478cat confdefs.h >>conftest.$ac_ext
8191cat >>conftest.$ac_ext <<_ACEOF 8479cat >>conftest.$ac_ext <<_ACEOF
8192/* end confdefs.h. */ 8480/* end confdefs.h. */
8215echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8503echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8216if eval "test \"\${$as_ac_var+set}\" = set"; then 8504if eval "test \"\${$as_ac_var+set}\" = set"; then
8217 echo $ECHO_N "(cached) $ECHO_C" >&6 8505 echo $ECHO_N "(cached) $ECHO_C" >&6
8218else 8506else
8219 cat >conftest.$ac_ext <<_ACEOF 8507 cat >conftest.$ac_ext <<_ACEOF
8220#line $LINENO "configure"
8221/* confdefs.h. */ 8508/* confdefs.h. */
8222_ACEOF 8509_ACEOF
8223cat confdefs.h >>conftest.$ac_ext 8510cat confdefs.h >>conftest.$ac_ext
8224cat >>conftest.$ac_ext <<_ACEOF 8511cat >>conftest.$ac_ext <<_ACEOF
8225/* end confdefs.h. */ 8512/* end confdefs.h. */
8513/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8515#define $ac_func innocuous_$ac_func
8516
8226/* System header to define __stub macros and hopefully few prototypes, 8517/* System header to define __stub macros and hopefully few prototypes,
8227 which can conflict with char $ac_func (); below. 8518 which can conflict with char $ac_func (); below.
8228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8229 <limits.h> exists even on freestanding compilers. */ 8520 <limits.h> exists even on freestanding compilers. */
8521
8230#ifdef __STDC__ 8522#ifdef __STDC__
8231# include <limits.h> 8523# include <limits.h>
8232#else 8524#else
8233# include <assert.h> 8525# include <assert.h>
8234#endif 8526#endif
8527
8528#undef $ac_func
8529
8235/* Override any gcc2 internal prototype to avoid an error. */ 8530/* Override any gcc2 internal prototype to avoid an error. */
8236#ifdef __cplusplus 8531#ifdef __cplusplus
8237extern "C" 8532extern "C"
8238{ 8533{
8239#endif 8534#endif
8260 return 0; 8555 return 0;
8261} 8556}
8262_ACEOF 8557_ACEOF
8263rm -f conftest.$ac_objext conftest$ac_exeext 8558rm -f conftest.$ac_objext conftest$ac_exeext
8264if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8559if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8265 (eval $ac_link) 2>&5 8560 (eval $ac_link) 2>conftest.er1
8266 ac_status=$? 8561 ac_status=$?
8562 grep -v '^ *+' conftest.er1 >conftest.err
8563 rm -f conftest.er1
8564 cat conftest.err >&5
8267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8268 (exit $ac_status); } && 8566 (exit $ac_status); } &&
8269 { ac_try='test -s conftest$ac_exeext' 8567 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8271 (eval $ac_try) 2>&5 8569 (eval $ac_try) 2>&5
8272 ac_status=$? 8570 ac_status=$?
8273 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8572 (exit $ac_status); }; } &&
8573 { ac_try='test -s conftest$ac_exeext'
8574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8575 (eval $ac_try) 2>&5
8576 ac_status=$?
8577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8274 (exit $ac_status); }; }; then 8578 (exit $ac_status); }; }; then
8275 eval "$as_ac_var=yes" 8579 eval "$as_ac_var=yes"
8276else 8580else
8277 echo "$as_me: failed program was:" >&5 8581 echo "$as_me: failed program was:" >&5
8278sed 's/^/| /' conftest.$ac_ext >&5 8582sed 's/^/| /' conftest.$ac_ext >&5
8279 8583
8280eval "$as_ac_var=no" 8584eval "$as_ac_var=no"
8281fi 8585fi
8282rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8586rm -f conftest.err conftest.$ac_objext \
8587 conftest$ac_exeext conftest.$ac_ext
8283fi 8588fi
8284echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 8589echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8285echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8590echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8286if test `eval echo '${'$as_ac_var'}'` = yes; then 8591if test `eval echo '${'$as_ac_var'}'` = yes; then
8287 8592
8302else 8607else
8303 if test "$cross_compiling" = yes; then 8608 if test "$cross_compiling" = yes; then
8304 ac_cv_c_stack_direction=0 8609 ac_cv_c_stack_direction=0
8305else 8610else
8306 cat >conftest.$ac_ext <<_ACEOF 8611 cat >conftest.$ac_ext <<_ACEOF
8307#line $LINENO "configure"
8308/* confdefs.h. */ 8612/* confdefs.h. */
8309_ACEOF 8613_ACEOF
8310cat confdefs.h >>conftest.$ac_ext 8614cat confdefs.h >>conftest.$ac_ext
8311cat >>conftest.$ac_ext <<_ACEOF 8615cat >>conftest.$ac_ext <<_ACEOF
8312/* end confdefs.h. */ 8616/* end confdefs.h. */
8369echo $ECHO_N "checking for socket... $ECHO_C" >&6 8673echo $ECHO_N "checking for socket... $ECHO_C" >&6
8370if test "${ac_cv_func_socket+set}" = set; then 8674if test "${ac_cv_func_socket+set}" = set; then
8371 echo $ECHO_N "(cached) $ECHO_C" >&6 8675 echo $ECHO_N "(cached) $ECHO_C" >&6
8372else 8676else
8373 cat >conftest.$ac_ext <<_ACEOF 8677 cat >conftest.$ac_ext <<_ACEOF
8374#line $LINENO "configure"
8375/* confdefs.h. */ 8678/* confdefs.h. */
8376_ACEOF 8679_ACEOF
8377cat confdefs.h >>conftest.$ac_ext 8680cat confdefs.h >>conftest.$ac_ext
8378cat >>conftest.$ac_ext <<_ACEOF 8681cat >>conftest.$ac_ext <<_ACEOF
8379/* end confdefs.h. */ 8682/* end confdefs.h. */
8683/* Define socket to an innocuous variant, in case <limits.h> declares socket.
8684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8685#define socket innocuous_socket
8686
8380/* System header to define __stub macros and hopefully few prototypes, 8687/* System header to define __stub macros and hopefully few prototypes,
8381 which can conflict with char socket (); below. 8688 which can conflict with char socket (); below.
8382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8383 <limits.h> exists even on freestanding compilers. */ 8690 <limits.h> exists even on freestanding compilers. */
8691
8384#ifdef __STDC__ 8692#ifdef __STDC__
8385# include <limits.h> 8693# include <limits.h>
8386#else 8694#else
8387# include <assert.h> 8695# include <assert.h>
8388#endif 8696#endif
8697
8698#undef socket
8699
8389/* Override any gcc2 internal prototype to avoid an error. */ 8700/* Override any gcc2 internal prototype to avoid an error. */
8390#ifdef __cplusplus 8701#ifdef __cplusplus
8391extern "C" 8702extern "C"
8392{ 8703{
8393#endif 8704#endif
8414 return 0; 8725 return 0;
8415} 8726}
8416_ACEOF 8727_ACEOF
8417rm -f conftest.$ac_objext conftest$ac_exeext 8728rm -f conftest.$ac_objext conftest$ac_exeext
8418if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8729if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8419 (eval $ac_link) 2>&5 8730 (eval $ac_link) 2>conftest.er1
8420 ac_status=$? 8731 ac_status=$?
8732 grep -v '^ *+' conftest.er1 >conftest.err
8733 rm -f conftest.er1
8734 cat conftest.err >&5
8421 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8422 (exit $ac_status); } && 8736 (exit $ac_status); } &&
8423 { ac_try='test -s conftest$ac_exeext' 8737 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8425 (eval $ac_try) 2>&5 8739 (eval $ac_try) 2>&5
8426 ac_status=$? 8740 ac_status=$?
8427 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8742 (exit $ac_status); }; } &&
8743 { ac_try='test -s conftest$ac_exeext'
8744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8745 (eval $ac_try) 2>&5
8746 ac_status=$?
8747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8428 (exit $ac_status); }; }; then 8748 (exit $ac_status); }; }; then
8429 ac_cv_func_socket=yes 8749 ac_cv_func_socket=yes
8430else 8750else
8431 echo "$as_me: failed program was:" >&5 8751 echo "$as_me: failed program was:" >&5
8432sed 's/^/| /' conftest.$ac_ext >&5 8752sed 's/^/| /' conftest.$ac_ext >&5
8433 8753
8434ac_cv_func_socket=no 8754ac_cv_func_socket=no
8435fi 8755fi
8436rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8756rm -f conftest.err conftest.$ac_objext \
8757 conftest$ac_exeext conftest.$ac_ext
8437fi 8758fi
8438echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 8759echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
8439echo "${ECHO_T}$ac_cv_func_socket" >&6 8760echo "${ECHO_T}$ac_cv_func_socket" >&6
8440if test $ac_cv_func_socket = yes; then 8761if test $ac_cv_func_socket = yes; then
8441 : 8762 :
8448 echo $ECHO_N "(cached) $ECHO_C" >&6 8769 echo $ECHO_N "(cached) $ECHO_C" >&6
8449else 8770else
8450 ac_check_lib_save_LIBS=$LIBS 8771 ac_check_lib_save_LIBS=$LIBS
8451LIBS="-lsocket $LIBS" 8772LIBS="-lsocket $LIBS"
8452cat >conftest.$ac_ext <<_ACEOF 8773cat >conftest.$ac_ext <<_ACEOF
8453#line $LINENO "configure"
8454/* confdefs.h. */ 8774/* confdefs.h. */
8455_ACEOF 8775_ACEOF
8456cat confdefs.h >>conftest.$ac_ext 8776cat confdefs.h >>conftest.$ac_ext
8457cat >>conftest.$ac_ext <<_ACEOF 8777cat >>conftest.$ac_ext <<_ACEOF
8458/* end confdefs.h. */ 8778/* end confdefs.h. */
8472 return 0; 8792 return 0;
8473} 8793}
8474_ACEOF 8794_ACEOF
8475rm -f conftest.$ac_objext conftest$ac_exeext 8795rm -f conftest.$ac_objext conftest$ac_exeext
8476if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8796if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8477 (eval $ac_link) 2>&5 8797 (eval $ac_link) 2>conftest.er1
8478 ac_status=$? 8798 ac_status=$?
8799 grep -v '^ *+' conftest.er1 >conftest.err
8800 rm -f conftest.er1
8801 cat conftest.err >&5
8479 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8480 (exit $ac_status); } && 8803 (exit $ac_status); } &&
8481 { ac_try='test -s conftest$ac_exeext' 8804 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8483 (eval $ac_try) 2>&5 8806 (eval $ac_try) 2>&5
8484 ac_status=$? 8807 ac_status=$?
8485 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8809 (exit $ac_status); }; } &&
8810 { ac_try='test -s conftest$ac_exeext'
8811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8812 (eval $ac_try) 2>&5
8813 ac_status=$?
8814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8486 (exit $ac_status); }; }; then 8815 (exit $ac_status); }; }; then
8487 ac_cv_lib_socket_connect=yes 8816 ac_cv_lib_socket_connect=yes
8488else 8817else
8489 echo "$as_me: failed program was:" >&5 8818 echo "$as_me: failed program was:" >&5
8490sed 's/^/| /' conftest.$ac_ext >&5 8819sed 's/^/| /' conftest.$ac_ext >&5
8491 8820
8492ac_cv_lib_socket_connect=no 8821ac_cv_lib_socket_connect=no
8493fi 8822fi
8494rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8823rm -f conftest.err conftest.$ac_objext \
8824 conftest$ac_exeext conftest.$ac_ext
8495LIBS=$ac_check_lib_save_LIBS 8825LIBS=$ac_check_lib_save_LIBS
8496fi 8826fi
8497echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 8827echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
8498echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6 8828echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
8499if test $ac_cv_lib_socket_connect = yes; then 8829if test $ac_cv_lib_socket_connect = yes; then
8512echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 8842echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
8513if test "${ac_cv_func_gethostbyname+set}" = set; then 8843if test "${ac_cv_func_gethostbyname+set}" = set; then
8514 echo $ECHO_N "(cached) $ECHO_C" >&6 8844 echo $ECHO_N "(cached) $ECHO_C" >&6
8515else 8845else
8516 cat >conftest.$ac_ext <<_ACEOF 8846 cat >conftest.$ac_ext <<_ACEOF
8517#line $LINENO "configure"
8518/* confdefs.h. */ 8847/* confdefs.h. */
8519_ACEOF 8848_ACEOF
8520cat confdefs.h >>conftest.$ac_ext 8849cat confdefs.h >>conftest.$ac_ext
8521cat >>conftest.$ac_ext <<_ACEOF 8850cat >>conftest.$ac_ext <<_ACEOF
8522/* end confdefs.h. */ 8851/* end confdefs.h. */
8852/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
8853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8854#define gethostbyname innocuous_gethostbyname
8855
8523/* System header to define __stub macros and hopefully few prototypes, 8856/* System header to define __stub macros and hopefully few prototypes,
8524 which can conflict with char gethostbyname (); below. 8857 which can conflict with char gethostbyname (); below.
8525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8526 <limits.h> exists even on freestanding compilers. */ 8859 <limits.h> exists even on freestanding compilers. */
8860
8527#ifdef __STDC__ 8861#ifdef __STDC__
8528# include <limits.h> 8862# include <limits.h>
8529#else 8863#else
8530# include <assert.h> 8864# include <assert.h>
8531#endif 8865#endif
8866
8867#undef gethostbyname
8868
8532/* Override any gcc2 internal prototype to avoid an error. */ 8869/* Override any gcc2 internal prototype to avoid an error. */
8533#ifdef __cplusplus 8870#ifdef __cplusplus
8534extern "C" 8871extern "C"
8535{ 8872{
8536#endif 8873#endif
8557 return 0; 8894 return 0;
8558} 8895}
8559_ACEOF 8896_ACEOF
8560rm -f conftest.$ac_objext conftest$ac_exeext 8897rm -f conftest.$ac_objext conftest$ac_exeext
8561if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8898if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8562 (eval $ac_link) 2>&5 8899 (eval $ac_link) 2>conftest.er1
8563 ac_status=$? 8900 ac_status=$?
8901 grep -v '^ *+' conftest.er1 >conftest.err
8902 rm -f conftest.er1
8903 cat conftest.err >&5
8564 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8565 (exit $ac_status); } && 8905 (exit $ac_status); } &&
8566 { ac_try='test -s conftest$ac_exeext' 8906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8568 (eval $ac_try) 2>&5 8908 (eval $ac_try) 2>&5
8569 ac_status=$? 8909 ac_status=$?
8570 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8911 (exit $ac_status); }; } &&
8912 { ac_try='test -s conftest$ac_exeext'
8913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8914 (eval $ac_try) 2>&5
8915 ac_status=$?
8916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8571 (exit $ac_status); }; }; then 8917 (exit $ac_status); }; }; then
8572 ac_cv_func_gethostbyname=yes 8918 ac_cv_func_gethostbyname=yes
8573else 8919else
8574 echo "$as_me: failed program was:" >&5 8920 echo "$as_me: failed program was:" >&5
8575sed 's/^/| /' conftest.$ac_ext >&5 8921sed 's/^/| /' conftest.$ac_ext >&5
8576 8922
8577ac_cv_func_gethostbyname=no 8923ac_cv_func_gethostbyname=no
8578fi 8924fi
8579rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8925rm -f conftest.err conftest.$ac_objext \
8926 conftest$ac_exeext conftest.$ac_ext
8580fi 8927fi
8581echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 8928echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
8582echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 8929echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
8583if test $ac_cv_func_gethostbyname = yes; then 8930if test $ac_cv_func_gethostbyname = yes; then
8584 : 8931 :
8591 echo $ECHO_N "(cached) $ECHO_C" >&6 8938 echo $ECHO_N "(cached) $ECHO_C" >&6
8592else 8939else
8593 ac_check_lib_save_LIBS=$LIBS 8940 ac_check_lib_save_LIBS=$LIBS
8594LIBS="-lnsl $LIBS" 8941LIBS="-lnsl $LIBS"
8595cat >conftest.$ac_ext <<_ACEOF 8942cat >conftest.$ac_ext <<_ACEOF
8596#line $LINENO "configure"
8597/* confdefs.h. */ 8943/* confdefs.h. */
8598_ACEOF 8944_ACEOF
8599cat confdefs.h >>conftest.$ac_ext 8945cat confdefs.h >>conftest.$ac_ext
8600cat >>conftest.$ac_ext <<_ACEOF 8946cat >>conftest.$ac_ext <<_ACEOF
8601/* end confdefs.h. */ 8947/* end confdefs.h. */
8615 return 0; 8961 return 0;
8616} 8962}
8617_ACEOF 8963_ACEOF
8618rm -f conftest.$ac_objext conftest$ac_exeext 8964rm -f conftest.$ac_objext conftest$ac_exeext
8619if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8965if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8620 (eval $ac_link) 2>&5 8966 (eval $ac_link) 2>conftest.er1
8621 ac_status=$? 8967 ac_status=$?
8968 grep -v '^ *+' conftest.er1 >conftest.err
8969 rm -f conftest.er1
8970 cat conftest.err >&5
8622 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8623 (exit $ac_status); } && 8972 (exit $ac_status); } &&
8624 { ac_try='test -s conftest$ac_exeext' 8973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8626 (eval $ac_try) 2>&5 8975 (eval $ac_try) 2>&5
8627 ac_status=$? 8976 ac_status=$?
8628 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8978 (exit $ac_status); }; } &&
8979 { ac_try='test -s conftest$ac_exeext'
8980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8981 (eval $ac_try) 2>&5
8982 ac_status=$?
8983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8629 (exit $ac_status); }; }; then 8984 (exit $ac_status); }; }; then
8630 ac_cv_lib_nsl_gethostbyname=yes 8985 ac_cv_lib_nsl_gethostbyname=yes
8631else 8986else
8632 echo "$as_me: failed program was:" >&5 8987 echo "$as_me: failed program was:" >&5
8633sed 's/^/| /' conftest.$ac_ext >&5 8988sed 's/^/| /' conftest.$ac_ext >&5
8634 8989
8635ac_cv_lib_nsl_gethostbyname=no 8990ac_cv_lib_nsl_gethostbyname=no
8636fi 8991fi
8637rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8992rm -f conftest.err conftest.$ac_objext \
8993 conftest$ac_exeext conftest.$ac_ext
8638LIBS=$ac_check_lib_save_LIBS 8994LIBS=$ac_check_lib_save_LIBS
8639fi 8995fi
8640echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 8996echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
8641echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 8997echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
8642if test $ac_cv_lib_nsl_gethostbyname = yes; then 8998if test $ac_cv_lib_nsl_gethostbyname = yes; then
8686 case `(ac_space=' '; set | grep ac_space) 2>&1` in 9042 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8687 *ac_space=\ *) 9043 *ac_space=\ *)
8688 # `set' does not quote correctly, so add quotes (double-quote 9044 # `set' does not quote correctly, so add quotes (double-quote
8689 # substitution turns \\\\ into \\, and sed turns \\ into \). 9045 # substitution turns \\\\ into \\, and sed turns \\ into \).
8690 sed -n \ 9046 sed -n \
8691 "s/'/'\\\\''/g; 9047 "s/'/'\\\\''/g;
8692 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 9048 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8693 ;; 9049 ;;
8694 *) 9050 *)
8695 # `set' quotes correctly as required by POSIX, so do not add quotes. 9051 # `set' quotes correctly as required by POSIX, so do not add quotes.
8696 sed -n \ 9052 sed -n \
8697 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 9053 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8698 ;; 9054 ;;
8699 esac; 9055 esac;
8700} | 9056} |
8701 sed ' 9057 sed '
8702 t clear 9058 t clear
8731if test "${tinc_cv_linux_if_tun_h+set}" = set; then 9087if test "${tinc_cv_linux_if_tun_h+set}" = set; then
8732 echo $ECHO_N "(cached) $ECHO_C" >&6 9088 echo $ECHO_N "(cached) $ECHO_C" >&6
8733else 9089else
8734 9090
8735 cat >conftest.$ac_ext <<_ACEOF 9091 cat >conftest.$ac_ext <<_ACEOF
8736#line $LINENO "configure"
8737/* confdefs.h. */ 9092/* confdefs.h. */
8738_ACEOF 9093_ACEOF
8739cat confdefs.h >>conftest.$ac_ext 9094cat confdefs.h >>conftest.$ac_ext
8740cat >>conftest.$ac_ext <<_ACEOF 9095cat >>conftest.$ac_ext <<_ACEOF
8741/* end confdefs.h. */ 9096/* end confdefs.h. */
8748 return 0; 9103 return 0;
8749} 9104}
8750_ACEOF 9105_ACEOF
8751rm -f conftest.$ac_objext 9106rm -f conftest.$ac_objext
8752if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9107if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8753 (eval $ac_compile) 2>&5 9108 (eval $ac_compile) 2>conftest.er1
8754 ac_status=$? 9109 ac_status=$?
9110 grep -v '^ *+' conftest.er1 >conftest.err
9111 rm -f conftest.er1
9112 cat conftest.err >&5
8755 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8756 (exit $ac_status); } && 9114 (exit $ac_status); } &&
8757 { ac_try='test -s conftest.$ac_objext' 9115 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8759 (eval $ac_try) 2>&5 9117 (eval $ac_try) 2>&5
8760 ac_status=$? 9118 ac_status=$?
8761 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9120 (exit $ac_status); }; } &&
9121 { ac_try='test -s conftest.$ac_objext'
9122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9123 (eval $ac_try) 2>&5
9124 ac_status=$?
9125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8762 (exit $ac_status); }; }; then 9126 (exit $ac_status); }; }; then
8763 if_tun_h="\"$kerneldir/include/linux/if_tun.h\"" 9127 if_tun_h="\"$kerneldir/include/linux/if_tun.h\""
8764else 9128else
8765 echo "$as_me: failed program was:" >&5 9129 echo "$as_me: failed program was:" >&5
8766sed 's/^/| /' conftest.$ac_ext >&5 9130sed 's/^/| /' conftest.$ac_ext >&5
8767 9131
8768cat >conftest.$ac_ext <<_ACEOF 9132cat >conftest.$ac_ext <<_ACEOF
8769#line $LINENO "configure"
8770/* confdefs.h. */ 9133/* confdefs.h. */
8771_ACEOF 9134_ACEOF
8772cat confdefs.h >>conftest.$ac_ext 9135cat confdefs.h >>conftest.$ac_ext
8773cat >>conftest.$ac_ext <<_ACEOF 9136cat >>conftest.$ac_ext <<_ACEOF
8774/* end confdefs.h. */ 9137/* end confdefs.h. */
8781 return 0; 9144 return 0;
8782} 9145}
8783_ACEOF 9146_ACEOF
8784rm -f conftest.$ac_objext 9147rm -f conftest.$ac_objext
8785if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9148if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8786 (eval $ac_compile) 2>&5 9149 (eval $ac_compile) 2>conftest.er1
8787 ac_status=$? 9150 ac_status=$?
9151 grep -v '^ *+' conftest.er1 >conftest.err
9152 rm -f conftest.er1
9153 cat conftest.err >&5
8788 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8789 (exit $ac_status); } && 9155 (exit $ac_status); } &&
8790 { ac_try='test -s conftest.$ac_objext' 9156 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8792 (eval $ac_try) 2>&5 9158 (eval $ac_try) 2>&5
8793 ac_status=$? 9159 ac_status=$?
8794 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9161 (exit $ac_status); }; } &&
9162 { ac_try='test -s conftest.$ac_objext'
9163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9164 (eval $ac_try) 2>&5
9165 ac_status=$?
9166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8795 (exit $ac_status); }; }; then 9167 (exit $ac_status); }; }; then
8796 if_tun_h="default" 9168 if_tun_h="default"
8797else 9169else
8798 echo "$as_me: failed program was:" >&5 9170 echo "$as_me: failed program was:" >&5
8799sed 's/^/| /' conftest.$ac_ext >&5 9171sed 's/^/| /' conftest.$ac_ext >&5
8800 9172
8801if_tun_h="no" 9173if_tun_h="no"
8802 9174
8803fi 9175fi
8804rm -f conftest.$ac_objext conftest.$ac_ext 9176rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8805 9177
8806fi 9178fi
8807rm -f conftest.$ac_objext conftest.$ac_ext 9179rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8808 9180
8809 if test $if_tun_h = no; then 9181 if test $if_tun_h = no; then
8810 tinc_cv_linux_if_tun_h=none 9182 tinc_cv_linux_if_tun_h=none
8811 else 9183 else
8812 tinc_cv_linux_if_tun_h="$if_tun_h" 9184 tinc_cv_linux_if_tun_h="$if_tun_h"
8828#define LINUX_IF_TUN_H $tinc_cv_linux_if_tun_h 9200#define LINUX_IF_TUN_H $tinc_cv_linux_if_tun_h
8829_ACEOF 9201_ACEOF
8830 9202
8831 fi 9203 fi
8832fi 9204fi
9205
8833 9206
8834 9207
8835 9208
8836 9209
8837 tinc_ac_save_CPPFLAGS="$CPPFLAGS" 9210 tinc_ac_save_CPPFLAGS="$CPPFLAGS"
8875else 9248else
8876 # Is the header compilable? 9249 # Is the header compilable?
8877echo "$as_me:$LINENO: checking $ac_header usability" >&5 9250echo "$as_me:$LINENO: checking $ac_header usability" >&5
8878echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 9251echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8879cat >conftest.$ac_ext <<_ACEOF 9252cat >conftest.$ac_ext <<_ACEOF
8880#line $LINENO "configure"
8881/* confdefs.h. */ 9253/* confdefs.h. */
8882_ACEOF 9254_ACEOF
8883cat confdefs.h >>conftest.$ac_ext 9255cat confdefs.h >>conftest.$ac_ext
8884cat >>conftest.$ac_ext <<_ACEOF 9256cat >>conftest.$ac_ext <<_ACEOF
8885/* end confdefs.h. */ 9257/* end confdefs.h. */
8886$ac_includes_default 9258$ac_includes_default
8887#include <$ac_header> 9259#include <$ac_header>
8888_ACEOF 9260_ACEOF
8889rm -f conftest.$ac_objext 9261rm -f conftest.$ac_objext
8890if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9262if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8891 (eval $ac_compile) 2>&5 9263 (eval $ac_compile) 2>conftest.er1
8892 ac_status=$? 9264 ac_status=$?
9265 grep -v '^ *+' conftest.er1 >conftest.err
9266 rm -f conftest.er1
9267 cat conftest.err >&5
8893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8894 (exit $ac_status); } && 9269 (exit $ac_status); } &&
8895 { ac_try='test -s conftest.$ac_objext' 9270 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8897 (eval $ac_try) 2>&5 9272 (eval $ac_try) 2>&5
8898 ac_status=$? 9273 ac_status=$?
8899 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9275 (exit $ac_status); }; } &&
9276 { ac_try='test -s conftest.$ac_objext'
9277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9278 (eval $ac_try) 2>&5
9279 ac_status=$?
9280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8900 (exit $ac_status); }; }; then 9281 (exit $ac_status); }; }; then
8901 ac_header_compiler=yes 9282 ac_header_compiler=yes
8902else 9283else
8903 echo "$as_me: failed program was:" >&5 9284 echo "$as_me: failed program was:" >&5
8904sed 's/^/| /' conftest.$ac_ext >&5 9285sed 's/^/| /' conftest.$ac_ext >&5
8905 9286
8906ac_header_compiler=no 9287ac_header_compiler=no
8907fi 9288fi
8908rm -f conftest.$ac_objext conftest.$ac_ext 9289rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8909echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9290echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8910echo "${ECHO_T}$ac_header_compiler" >&6 9291echo "${ECHO_T}$ac_header_compiler" >&6
8911 9292
8912# Is the header present? 9293# Is the header present?
8913echo "$as_me:$LINENO: checking $ac_header presence" >&5 9294echo "$as_me:$LINENO: checking $ac_header presence" >&5
8914echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 9295echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8915cat >conftest.$ac_ext <<_ACEOF 9296cat >conftest.$ac_ext <<_ACEOF
8916#line $LINENO "configure"
8917/* confdefs.h. */ 9297/* confdefs.h. */
8918_ACEOF 9298_ACEOF
8919cat confdefs.h >>conftest.$ac_ext 9299cat confdefs.h >>conftest.$ac_ext
8920cat >>conftest.$ac_ext <<_ACEOF 9300cat >>conftest.$ac_ext <<_ACEOF
8921/* end confdefs.h. */ 9301/* end confdefs.h. */
8929 cat conftest.err >&5 9309 cat conftest.err >&5
8930 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8931 (exit $ac_status); } >/dev/null; then 9311 (exit $ac_status); } >/dev/null; then
8932 if test -s conftest.err; then 9312 if test -s conftest.err; then
8933 ac_cpp_err=$ac_cxx_preproc_warn_flag 9313 ac_cpp_err=$ac_cxx_preproc_warn_flag
9314 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8934 else 9315 else
8935 ac_cpp_err= 9316 ac_cpp_err=
8936 fi 9317 fi
8937else 9318else
8938 ac_cpp_err=yes 9319 ac_cpp_err=yes
8948rm -f conftest.err conftest.$ac_ext 9329rm -f conftest.err conftest.$ac_ext
8949echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9330echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8950echo "${ECHO_T}$ac_header_preproc" >&6 9331echo "${ECHO_T}$ac_header_preproc" >&6
8951 9332
8952# So? What about this header? 9333# So? What about this header?
8953case $ac_header_compiler:$ac_header_preproc in 9334case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8954 yes:no ) 9335 yes:no: )
8955 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9336 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8956echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9337echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9338 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9339echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9340 ac_header_preproc=yes
9341 ;;
9342 no:yes:* )
9343 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9344echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9345 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9346echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9347 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9348echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9349 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9350echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8957 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9351 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8958echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9352echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9353 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9354echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8959 ( 9355 (
8960 cat <<\_ASBOX 9356 cat <<\_ASBOX
8961## ------------------------------------ ## 9357## ------------------------------------------ ##
8962## Report this to bug-autoconf@gnu.org. ## 9358## Report this to the AC_PACKAGE_NAME lists. ##
8963## ------------------------------------ ## 9359## ------------------------------------------ ##
8964_ASBOX
8965 ) |
8966 sed "s/^/$as_me: WARNING: /" >&2
8967 ;;
8968 no:yes )
8969 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8970echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8971 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8972echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8973 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8974echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8975 (
8976 cat <<\_ASBOX
8977## ------------------------------------ ##
8978## Report this to bug-autoconf@gnu.org. ##
8979## ------------------------------------ ##
8980_ASBOX 9360_ASBOX
8981 ) | 9361 ) |
8982 sed "s/^/$as_me: WARNING: /" >&2 9362 sed "s/^/$as_me: WARNING: /" >&2
8983 ;; 9363 ;;
8984esac 9364esac
8985echo "$as_me:$LINENO: checking for $ac_header" >&5 9365echo "$as_me:$LINENO: checking for $ac_header" >&5
8986echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9366echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8987if eval "test \"\${$as_ac_Header+set}\" = set"; then 9367if eval "test \"\${$as_ac_Header+set}\" = set"; then
8988 echo $ECHO_N "(cached) $ECHO_C" >&6 9368 echo $ECHO_N "(cached) $ECHO_C" >&6
8989else 9369else
8990 eval "$as_ac_Header=$ac_header_preproc" 9370 eval "$as_ac_Header=\$ac_header_preproc"
8991fi 9371fi
8992echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 9372echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8993echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9373echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8994 9374
8995fi 9375fi
9016 echo $ECHO_N "(cached) $ECHO_C" >&6 9396 echo $ECHO_N "(cached) $ECHO_C" >&6
9017else 9397else
9018 ac_check_lib_save_LIBS=$LIBS 9398 ac_check_lib_save_LIBS=$LIBS
9019LIBS="-lcrypto $LIBS" 9399LIBS="-lcrypto $LIBS"
9020cat >conftest.$ac_ext <<_ACEOF 9400cat >conftest.$ac_ext <<_ACEOF
9021#line $LINENO "configure"
9022/* confdefs.h. */ 9401/* confdefs.h. */
9023_ACEOF 9402_ACEOF
9024cat confdefs.h >>conftest.$ac_ext 9403cat confdefs.h >>conftest.$ac_ext
9025cat >>conftest.$ac_ext <<_ACEOF 9404cat >>conftest.$ac_ext <<_ACEOF
9026/* end confdefs.h. */ 9405/* end confdefs.h. */
9040 return 0; 9419 return 0;
9041} 9420}
9042_ACEOF 9421_ACEOF
9043rm -f conftest.$ac_objext conftest$ac_exeext 9422rm -f conftest.$ac_objext conftest$ac_exeext
9044if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9423if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9045 (eval $ac_link) 2>&5 9424 (eval $ac_link) 2>conftest.er1
9046 ac_status=$? 9425 ac_status=$?
9426 grep -v '^ *+' conftest.er1 >conftest.err
9427 rm -f conftest.er1
9428 cat conftest.err >&5
9047 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9048 (exit $ac_status); } && 9430 (exit $ac_status); } &&
9049 { ac_try='test -s conftest$ac_exeext' 9431 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9051 (eval $ac_try) 2>&5 9433 (eval $ac_try) 2>&5
9052 ac_status=$? 9434 ac_status=$?
9053 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9436 (exit $ac_status); }; } &&
9437 { ac_try='test -s conftest$ac_exeext'
9438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9439 (eval $ac_try) 2>&5
9440 ac_status=$?
9441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9054 (exit $ac_status); }; }; then 9442 (exit $ac_status); }; }; then
9055 ac_cv_lib_crypto_SHA1_version=yes 9443 ac_cv_lib_crypto_SHA1_version=yes
9056else 9444else
9057 echo "$as_me: failed program was:" >&5 9445 echo "$as_me: failed program was:" >&5
9058sed 's/^/| /' conftest.$ac_ext >&5 9446sed 's/^/| /' conftest.$ac_ext >&5
9059 9447
9060ac_cv_lib_crypto_SHA1_version=no 9448ac_cv_lib_crypto_SHA1_version=no
9061fi 9449fi
9062rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9450rm -f conftest.err conftest.$ac_objext \
9451 conftest$ac_exeext conftest.$ac_ext
9063LIBS=$ac_check_lib_save_LIBS 9452LIBS=$ac_check_lib_save_LIBS
9064fi 9453fi
9065echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_SHA1_version" >&5 9454echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_SHA1_version" >&5
9066echo "${ECHO_T}$ac_cv_lib_crypto_SHA1_version" >&6 9455echo "${ECHO_T}$ac_cv_lib_crypto_SHA1_version" >&6
9067if test $ac_cv_lib_crypto_SHA1_version = yes; then 9456if test $ac_cv_lib_crypto_SHA1_version = yes; then
9085echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9474echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9086if eval "test \"\${$as_ac_var+set}\" = set"; then 9475if eval "test \"\${$as_ac_var+set}\" = set"; then
9087 echo $ECHO_N "(cached) $ECHO_C" >&6 9476 echo $ECHO_N "(cached) $ECHO_C" >&6
9088else 9477else
9089 cat >conftest.$ac_ext <<_ACEOF 9478 cat >conftest.$ac_ext <<_ACEOF
9090#line $LINENO "configure"
9091/* confdefs.h. */ 9479/* confdefs.h. */
9092_ACEOF 9480_ACEOF
9093cat confdefs.h >>conftest.$ac_ext 9481cat confdefs.h >>conftest.$ac_ext
9094cat >>conftest.$ac_ext <<_ACEOF 9482cat >>conftest.$ac_ext <<_ACEOF
9095/* end confdefs.h. */ 9483/* end confdefs.h. */
9484/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9486#define $ac_func innocuous_$ac_func
9487
9096/* System header to define __stub macros and hopefully few prototypes, 9488/* System header to define __stub macros and hopefully few prototypes,
9097 which can conflict with char $ac_func (); below. 9489 which can conflict with char $ac_func (); below.
9098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 9490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9099 <limits.h> exists even on freestanding compilers. */ 9491 <limits.h> exists even on freestanding compilers. */
9492
9100#ifdef __STDC__ 9493#ifdef __STDC__
9101# include <limits.h> 9494# include <limits.h>
9102#else 9495#else
9103# include <assert.h> 9496# include <assert.h>
9104#endif 9497#endif
9498
9499#undef $ac_func
9500
9105/* Override any gcc2 internal prototype to avoid an error. */ 9501/* Override any gcc2 internal prototype to avoid an error. */
9106#ifdef __cplusplus 9502#ifdef __cplusplus
9107extern "C" 9503extern "C"
9108{ 9504{
9109#endif 9505#endif
9130 return 0; 9526 return 0;
9131} 9527}
9132_ACEOF 9528_ACEOF
9133rm -f conftest.$ac_objext conftest$ac_exeext 9529rm -f conftest.$ac_objext conftest$ac_exeext
9134if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9530if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9135 (eval $ac_link) 2>&5 9531 (eval $ac_link) 2>conftest.er1
9136 ac_status=$? 9532 ac_status=$?
9533 grep -v '^ *+' conftest.er1 >conftest.err
9534 rm -f conftest.er1
9535 cat conftest.err >&5
9137 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9138 (exit $ac_status); } && 9537 (exit $ac_status); } &&
9139 { ac_try='test -s conftest$ac_exeext' 9538 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9141 (eval $ac_try) 2>&5 9540 (eval $ac_try) 2>&5
9142 ac_status=$? 9541 ac_status=$?
9143 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9543 (exit $ac_status); }; } &&
9544 { ac_try='test -s conftest$ac_exeext'
9545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9546 (eval $ac_try) 2>&5
9547 ac_status=$?
9548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9144 (exit $ac_status); }; }; then 9549 (exit $ac_status); }; }; then
9145 eval "$as_ac_var=yes" 9550 eval "$as_ac_var=yes"
9146else 9551else
9147 echo "$as_me: failed program was:" >&5 9552 echo "$as_me: failed program was:" >&5
9148sed 's/^/| /' conftest.$ac_ext >&5 9553sed 's/^/| /' conftest.$ac_ext >&5
9149 9554
9150eval "$as_ac_var=no" 9555eval "$as_ac_var=no"
9151fi 9556fi
9152rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9557rm -f conftest.err conftest.$ac_objext \
9558 conftest$ac_exeext conftest.$ac_ext
9153fi 9559fi
9154echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 9560echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9155echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9561echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9156if test `eval echo '${'$as_ac_var'}'` = yes; then 9562if test `eval echo '${'$as_ac_var'}'` = yes; then
9157 cat >>confdefs.h <<_ACEOF 9563 cat >>confdefs.h <<_ACEOF
9166echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 9572echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9167if test "${ac_cv_func_dlopen+set}" = set; then 9573if test "${ac_cv_func_dlopen+set}" = set; then
9168 echo $ECHO_N "(cached) $ECHO_C" >&6 9574 echo $ECHO_N "(cached) $ECHO_C" >&6
9169else 9575else
9170 cat >conftest.$ac_ext <<_ACEOF 9576 cat >conftest.$ac_ext <<_ACEOF
9171#line $LINENO "configure"
9172/* confdefs.h. */ 9577/* confdefs.h. */
9173_ACEOF 9578_ACEOF
9174cat confdefs.h >>conftest.$ac_ext 9579cat confdefs.h >>conftest.$ac_ext
9175cat >>conftest.$ac_ext <<_ACEOF 9580cat >>conftest.$ac_ext <<_ACEOF
9176/* end confdefs.h. */ 9581/* end confdefs.h. */
9582/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9584#define dlopen innocuous_dlopen
9585
9177/* System header to define __stub macros and hopefully few prototypes, 9586/* System header to define __stub macros and hopefully few prototypes,
9178 which can conflict with char dlopen (); below. 9587 which can conflict with char dlopen (); below.
9179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 9588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9180 <limits.h> exists even on freestanding compilers. */ 9589 <limits.h> exists even on freestanding compilers. */
9590
9181#ifdef __STDC__ 9591#ifdef __STDC__
9182# include <limits.h> 9592# include <limits.h>
9183#else 9593#else
9184# include <assert.h> 9594# include <assert.h>
9185#endif 9595#endif
9596
9597#undef dlopen
9598
9186/* Override any gcc2 internal prototype to avoid an error. */ 9599/* Override any gcc2 internal prototype to avoid an error. */
9187#ifdef __cplusplus 9600#ifdef __cplusplus
9188extern "C" 9601extern "C"
9189{ 9602{
9190#endif 9603#endif
9211 return 0; 9624 return 0;
9212} 9625}
9213_ACEOF 9626_ACEOF
9214rm -f conftest.$ac_objext conftest$ac_exeext 9627rm -f conftest.$ac_objext conftest$ac_exeext
9215if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9628if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9216 (eval $ac_link) 2>&5 9629 (eval $ac_link) 2>conftest.er1
9217 ac_status=$? 9630 ac_status=$?
9631 grep -v '^ *+' conftest.er1 >conftest.err
9632 rm -f conftest.er1
9633 cat conftest.err >&5
9218 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9219 (exit $ac_status); } && 9635 (exit $ac_status); } &&
9220 { ac_try='test -s conftest$ac_exeext' 9636 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9222 (eval $ac_try) 2>&5 9638 (eval $ac_try) 2>&5
9223 ac_status=$? 9639 ac_status=$?
9224 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9641 (exit $ac_status); }; } &&
9642 { ac_try='test -s conftest$ac_exeext'
9643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9644 (eval $ac_try) 2>&5
9645 ac_status=$?
9646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9225 (exit $ac_status); }; }; then 9647 (exit $ac_status); }; }; then
9226 ac_cv_func_dlopen=yes 9648 ac_cv_func_dlopen=yes
9227else 9649else
9228 echo "$as_me: failed program was:" >&5 9650 echo "$as_me: failed program was:" >&5
9229sed 's/^/| /' conftest.$ac_ext >&5 9651sed 's/^/| /' conftest.$ac_ext >&5
9230 9652
9231ac_cv_func_dlopen=no 9653ac_cv_func_dlopen=no
9232fi 9654fi
9233rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9655rm -f conftest.err conftest.$ac_objext \
9656 conftest$ac_exeext conftest.$ac_ext
9234fi 9657fi
9235echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 9658echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9236echo "${ECHO_T}$ac_cv_func_dlopen" >&6 9659echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9237if test $ac_cv_func_dlopen = yes; then 9660if test $ac_cv_func_dlopen = yes; then
9238 : 9661 :
9243 echo $ECHO_N "(cached) $ECHO_C" >&6 9666 echo $ECHO_N "(cached) $ECHO_C" >&6
9244else 9667else
9245 ac_check_lib_save_LIBS=$LIBS 9668 ac_check_lib_save_LIBS=$LIBS
9246LIBS="-ldl $LIBS" 9669LIBS="-ldl $LIBS"
9247cat >conftest.$ac_ext <<_ACEOF 9670cat >conftest.$ac_ext <<_ACEOF
9248#line $LINENO "configure"
9249/* confdefs.h. */ 9671/* confdefs.h. */
9250_ACEOF 9672_ACEOF
9251cat confdefs.h >>conftest.$ac_ext 9673cat confdefs.h >>conftest.$ac_ext
9252cat >>conftest.$ac_ext <<_ACEOF 9674cat >>conftest.$ac_ext <<_ACEOF
9253/* end confdefs.h. */ 9675/* end confdefs.h. */
9267 return 0; 9689 return 0;
9268} 9690}
9269_ACEOF 9691_ACEOF
9270rm -f conftest.$ac_objext conftest$ac_exeext 9692rm -f conftest.$ac_objext conftest$ac_exeext
9271if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9693if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9272 (eval $ac_link) 2>&5 9694 (eval $ac_link) 2>conftest.er1
9273 ac_status=$? 9695 ac_status=$?
9696 grep -v '^ *+' conftest.er1 >conftest.err
9697 rm -f conftest.er1
9698 cat conftest.err >&5
9274 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9275 (exit $ac_status); } && 9700 (exit $ac_status); } &&
9276 { ac_try='test -s conftest$ac_exeext' 9701 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9278 (eval $ac_try) 2>&5 9703 (eval $ac_try) 2>&5
9279 ac_status=$? 9704 ac_status=$?
9280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9706 (exit $ac_status); }; } &&
9707 { ac_try='test -s conftest$ac_exeext'
9708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9709 (eval $ac_try) 2>&5
9710 ac_status=$?
9711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9281 (exit $ac_status); }; }; then 9712 (exit $ac_status); }; }; then
9282 ac_cv_lib_dl_dlopen=yes 9713 ac_cv_lib_dl_dlopen=yes
9283else 9714else
9284 echo "$as_me: failed program was:" >&5 9715 echo "$as_me: failed program was:" >&5
9285sed 's/^/| /' conftest.$ac_ext >&5 9716sed 's/^/| /' conftest.$ac_ext >&5
9286 9717
9287ac_cv_lib_dl_dlopen=no 9718ac_cv_lib_dl_dlopen=no
9288fi 9719fi
9289rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9720rm -f conftest.err conftest.$ac_objext \
9721 conftest$ac_exeext conftest.$ac_ext
9290LIBS=$ac_check_lib_save_LIBS 9722LIBS=$ac_check_lib_save_LIBS
9291fi 9723fi
9292echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 9724echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9293echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 9725echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9294if test $ac_cv_lib_dl_dlopen = yes; then 9726if test $ac_cv_lib_dl_dlopen = yes; then
9302 9734
9303 9735
9304fi 9736fi
9305 9737
9306 9738
9739if test "x$openssl_include" != x; then
9740 CXXFLAGS="$CXXFLAGS -I$openssl_include"
9741fi
9742
9743# Check whether --enable-static-daemon or --disable-static-daemon was given.
9744if test "${enable_static_daemon+set}" = set; then
9745 enableval="$enable_static_daemon"
9746 LDFLAGS_DAEMON=-static
9747
9748fi;
9749
9307 9750
9308# Check whether --enable-rohc or --disable-rohc was given. 9751# Check whether --enable-rohc or --disable-rohc was given.
9309if test "${enable_rohc+set}" = set; then 9752if test "${enable_rohc+set}" = set; then
9310 enableval="$enable_rohc" 9753 enableval="$enable_rohc"
9311 9754
9312 echo 9755 echo
9313 echo "**********************************************************************" 9756 echo "**********************************************************************"
9314 echo "**********************************************************************" 9757 echo "**********************************************************************"
9315 echo "**** --enable-rohc not yet implemented *******************************" 9758 echo "**** --enable-rohc is highly experimental, do not use ****************"
9316 echo "**********************************************************************"
9317 echo "**** uuh sorry, I am such an ass, but I didn't find any rfc3095 (ROHC)"
9318 echo "**** implementation to be used in GPL code on the web."
9319 echo "**** so this option is just a fake. Please implement one and send it"
9320 echo "**** to me ;)"
9321 echo "**********************************************************************"
9322 echo "**********************************************************************"
9323 echo "**********************************************************************" 9759 echo "**********************************************************************"
9324 echo "**********************************************************************" 9760 echo "**********************************************************************"
9325 echo 9761 echo
9762 rohc=true
9763
9764cat >>confdefs.h <<_ACEOF
9765#define ENABLE_ROHC 1
9766_ACEOF
9767
9326 9768
9327 9769
9328fi; 9770fi;
9771
9772
9773
9774if test x$rohc = xtrue; then
9775 ROHC_TRUE=
9776 ROHC_FALSE='#'
9777else
9778 ROHC_TRUE='#'
9779 ROHC_FALSE=
9780fi
9781
9782
9329 9783
9330# Check whether --enable-icmp or --disable-icmp was given. 9784# Check whether --enable-icmp or --disable-icmp was given.
9331if test "${enable_icmp+set}" = set; then 9785if test "${enable_icmp+set}" = set; then
9332 enableval="$enable_icmp" 9786 enableval="$enable_icmp"
9333 9787
9347_ACEOF 9801_ACEOF
9348 9802
9349 9803
9350fi; 9804fi;
9351 9805
9806# Check whether --enable-dns or --disable-dns was given.
9807if test "${enable_dns+set}" = set; then
9808 enableval="$enable_dns"
9809
9810 if test "${ac_cv_header_gmp_h+set}" = set; then
9811 echo "$as_me:$LINENO: checking for gmp.h" >&5
9812echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6
9813if test "${ac_cv_header_gmp_h+set}" = set; then
9814 echo $ECHO_N "(cached) $ECHO_C" >&6
9815fi
9816echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5
9817echo "${ECHO_T}$ac_cv_header_gmp_h" >&6
9818else
9819 # Is the header compilable?
9820echo "$as_me:$LINENO: checking gmp.h usability" >&5
9821echo $ECHO_N "checking gmp.h usability... $ECHO_C" >&6
9822cat >conftest.$ac_ext <<_ACEOF
9823/* confdefs.h. */
9824_ACEOF
9825cat confdefs.h >>conftest.$ac_ext
9826cat >>conftest.$ac_ext <<_ACEOF
9827/* end confdefs.h. */
9828$ac_includes_default
9829#include <gmp.h>
9830_ACEOF
9831rm -f conftest.$ac_objext
9832if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9833 (eval $ac_compile) 2>conftest.er1
9834 ac_status=$?
9835 grep -v '^ *+' conftest.er1 >conftest.err
9836 rm -f conftest.er1
9837 cat conftest.err >&5
9838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9839 (exit $ac_status); } &&
9840 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9842 (eval $ac_try) 2>&5
9843 ac_status=$?
9844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9845 (exit $ac_status); }; } &&
9846 { ac_try='test -s conftest.$ac_objext'
9847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9848 (eval $ac_try) 2>&5
9849 ac_status=$?
9850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9851 (exit $ac_status); }; }; then
9852 ac_header_compiler=yes
9853else
9854 echo "$as_me: failed program was:" >&5
9855sed 's/^/| /' conftest.$ac_ext >&5
9856
9857ac_header_compiler=no
9858fi
9859rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9860echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9861echo "${ECHO_T}$ac_header_compiler" >&6
9862
9863# Is the header present?
9864echo "$as_me:$LINENO: checking gmp.h presence" >&5
9865echo $ECHO_N "checking gmp.h presence... $ECHO_C" >&6
9866cat >conftest.$ac_ext <<_ACEOF
9867/* confdefs.h. */
9868_ACEOF
9869cat confdefs.h >>conftest.$ac_ext
9870cat >>conftest.$ac_ext <<_ACEOF
9871/* end confdefs.h. */
9872#include <gmp.h>
9873_ACEOF
9874if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9875 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9876 ac_status=$?
9877 grep -v '^ *+' conftest.er1 >conftest.err
9878 rm -f conftest.er1
9879 cat conftest.err >&5
9880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9881 (exit $ac_status); } >/dev/null; then
9882 if test -s conftest.err; then
9883 ac_cpp_err=$ac_cxx_preproc_warn_flag
9884 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
9885 else
9886 ac_cpp_err=
9887 fi
9888else
9889 ac_cpp_err=yes
9890fi
9891if test -z "$ac_cpp_err"; then
9892 ac_header_preproc=yes
9893else
9894 echo "$as_me: failed program was:" >&5
9895sed 's/^/| /' conftest.$ac_ext >&5
9896
9897 ac_header_preproc=no
9898fi
9899rm -f conftest.err conftest.$ac_ext
9900echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9901echo "${ECHO_T}$ac_header_preproc" >&6
9902
9903# So? What about this header?
9904case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9905 yes:no: )
9906 { echo "$as_me:$LINENO: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&5
9907echo "$as_me: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9908 { echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the compiler's result" >&5
9909echo "$as_me: WARNING: gmp.h: proceeding with the compiler's result" >&2;}
9910 ac_header_preproc=yes
9911 ;;
9912 no:yes:* )
9913 { echo "$as_me:$LINENO: WARNING: gmp.h: present but cannot be compiled" >&5
9914echo "$as_me: WARNING: gmp.h: present but cannot be compiled" >&2;}
9915 { echo "$as_me:$LINENO: WARNING: gmp.h: check for missing prerequisite headers?" >&5
9916echo "$as_me: WARNING: gmp.h: check for missing prerequisite headers?" >&2;}
9917 { echo "$as_me:$LINENO: WARNING: gmp.h: see the Autoconf documentation" >&5
9918echo "$as_me: WARNING: gmp.h: see the Autoconf documentation" >&2;}
9919 { echo "$as_me:$LINENO: WARNING: gmp.h: section \"Present But Cannot Be Compiled\"" >&5
9920echo "$as_me: WARNING: gmp.h: section \"Present But Cannot Be Compiled\"" >&2;}
9921 { echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the preprocessor's result" >&5
9922echo "$as_me: WARNING: gmp.h: proceeding with the preprocessor's result" >&2;}
9923 { echo "$as_me:$LINENO: WARNING: gmp.h: in the future, the compiler will take precedence" >&5
9924echo "$as_me: WARNING: gmp.h: in the future, the compiler will take precedence" >&2;}
9925 (
9926 cat <<\_ASBOX
9927## ------------------------------------------ ##
9928## Report this to the AC_PACKAGE_NAME lists. ##
9929## ------------------------------------------ ##
9930_ASBOX
9931 ) |
9932 sed "s/^/$as_me: WARNING: /" >&2
9933 ;;
9934esac
9935echo "$as_me:$LINENO: checking for gmp.h" >&5
9936echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6
9937if test "${ac_cv_header_gmp_h+set}" = set; then
9938 echo $ECHO_N "(cached) $ECHO_C" >&6
9939else
9940 ac_cv_header_gmp_h=$ac_header_preproc
9941fi
9942echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5
9943echo "${ECHO_T}$ac_cv_header_gmp_h" >&6
9944
9945fi
9946if test $ac_cv_header_gmp_h = yes; then
9947 :
9948else
9949 { { echo "$as_me:$LINENO: error: gmp.h not found, required for --enable-dns" >&5
9950echo "$as_me: error: gmp.h not found, required for --enable-dns" >&2;}
9951 { (exit 1); exit 1; }; }
9952fi
9953
9954
9955
9956echo "$as_me:$LINENO: checking for main in -lgmp" >&5
9957echo $ECHO_N "checking for main in -lgmp... $ECHO_C" >&6
9958if test "${ac_cv_lib_gmp_main+set}" = set; then
9959 echo $ECHO_N "(cached) $ECHO_C" >&6
9960else
9961 ac_check_lib_save_LIBS=$LIBS
9962LIBS="-lgmp $LIBS"
9963cat >conftest.$ac_ext <<_ACEOF
9964/* confdefs.h. */
9965_ACEOF
9966cat confdefs.h >>conftest.$ac_ext
9967cat >>conftest.$ac_ext <<_ACEOF
9968/* end confdefs.h. */
9969
9970
9971int
9972main ()
9973{
9974main ();
9975 ;
9976 return 0;
9977}
9978_ACEOF
9979rm -f conftest.$ac_objext conftest$ac_exeext
9980if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9981 (eval $ac_link) 2>conftest.er1
9982 ac_status=$?
9983 grep -v '^ *+' conftest.er1 >conftest.err
9984 rm -f conftest.er1
9985 cat conftest.err >&5
9986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9987 (exit $ac_status); } &&
9988 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9990 (eval $ac_try) 2>&5
9991 ac_status=$?
9992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9993 (exit $ac_status); }; } &&
9994 { ac_try='test -s conftest$ac_exeext'
9995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9996 (eval $ac_try) 2>&5
9997 ac_status=$?
9998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9999 (exit $ac_status); }; }; then
10000 ac_cv_lib_gmp_main=yes
10001else
10002 echo "$as_me: failed program was:" >&5
10003sed 's/^/| /' conftest.$ac_ext >&5
10004
10005ac_cv_lib_gmp_main=no
10006fi
10007rm -f conftest.err conftest.$ac_objext \
10008 conftest$ac_exeext conftest.$ac_ext
10009LIBS=$ac_check_lib_save_LIBS
10010fi
10011echo "$as_me:$LINENO: result: $ac_cv_lib_gmp_main" >&5
10012echo "${ECHO_T}$ac_cv_lib_gmp_main" >&6
10013if test $ac_cv_lib_gmp_main = yes; then
10014 cat >>confdefs.h <<_ACEOF
10015#define HAVE_LIBGMP 1
10016_ACEOF
10017
10018 LIBS="-lgmp $LIBS"
10019
10020else
10021 { { echo "$as_me:$LINENO: error: libgmp not found, required for --enable-dns" >&5
10022echo "$as_me: error: libgmp not found, required for --enable-dns" >&2;}
10023 { (exit 1); exit 1; }; }
10024fi
10025
10026
10027
10028cat >>confdefs.h <<_ACEOF
10029#define ENABLE_DNS 1
10030_ACEOF
10031
10032
10033
10034fi;
10035
9352# Check whether --enable-http-proxy or --disable-http-proxy was given. 10036# Check whether --enable-http-proxy or --disable-http-proxy was given.
9353if test "${enable_http_proxy+set}" = set; then 10037if test "${enable_http_proxy+set}" = set; then
9354 enableval="$enable_http_proxy" 10038 enableval="$enable_http_proxy"
9355 10039
9356cat >>confdefs.h <<_ACEOF 10040cat >>confdefs.h <<_ACEOF
9358_ACEOF 10042_ACEOF
9359 10043
9360 10044
9361fi; 10045fi;
9362 10046
10047HMAC=12
9363HMAC=12 # Check whether --enable-hmac-length or --disable-hmac-length was given. 10048# Check whether --enable-hmac-length or --disable-hmac-length was given.
9364if test "${enable_hmac_length+set}" = set; then 10049if test "${enable_hmac_length+set}" = set; then
9365 enableval="$enable_hmac_length" 10050 enableval="$enable_hmac_length"
9366 HMAC=$enableval 10051 HMAC=$enableval
9367 10052
9368fi; 10053fi;
9370cat >>confdefs.h <<_ACEOF 10055cat >>confdefs.h <<_ACEOF
9371#define HMACLENGTH $HMAC 10056#define HMACLENGTH $HMAC
9372_ACEOF 10057_ACEOF
9373 10058
9374 10059
10060RAND=8
9375RAND=8 # Check whether --enable-rand-length or --disable-rand-length was given. 10061# Check whether --enable-rand-length or --disable-rand-length was given.
9376if test "${enable_rand_length+set}" = set; then 10062if test "${enable_rand_length+set}" = set; then
9377 enableval="$enable_rand_length" 10063 enableval="$enable_rand_length"
9378 RAND=$enableval 10064 RAND=$enableval
9379 10065
9380fi; 10066fi;
9382cat >>confdefs.h <<_ACEOF 10068cat >>confdefs.h <<_ACEOF
9383#define RAND_SIZE $RAND 10069#define RAND_SIZE $RAND
9384_ACEOF 10070_ACEOF
9385 10071
9386 10072
10073MTU=1500
9387MTU=1500 # Check whether --enable-mtu or --disable-mtu was given. 10074# Check whether --enable-mtu or --disable-mtu was given.
9388if test "${enable_mtu+set}" = set; then 10075if test "${enable_mtu+set}" = set; then
9389 enableval="$enable_mtu" 10076 enableval="$enable_mtu"
9390 MTU=$enableval 10077 MTU=$enableval
9391 10078
9392fi; 10079fi;
9409cat >>confdefs.h <<_ACEOF 10096cat >>confdefs.h <<_ACEOF
9410#define ENABLE_COMPRESSION $COMPRESS 10097#define ENABLE_COMPRESSION $COMPRESS
9411_ACEOF 10098_ACEOF
9412 10099
9413 10100
9414CIPHER=bf_cbc 10101CIPHER=aes_128_cbc
9415# Check whether --enable-cipher or --disable-cipher was given. 10102# Check whether --enable-cipher or --disable-cipher was given.
9416if test "${enable_cipher+set}" = set; then 10103if test "${enable_cipher+set}" = set; then
9417 enableval="$enable_cipher" 10104 enableval="$enable_cipher"
9418 if test "x$enableval" = xbf ; then CIPHER=bf_cbc ; fi 10105 if test "x$enableval" = xbf ; then CIPHER=bf_cbc ; fi
9419 if test "x$enableval" = xaes-128; then CIPHER=aes_128_cbc; fi 10106 if test "x$enableval" = xaes-128; then CIPHER=aes_128_cbc; fi
9425cat >>confdefs.h <<_ACEOF 10112cat >>confdefs.h <<_ACEOF
9426#define ENABLE_CIPHER EVP_${CIPHER} 10113#define ENABLE_CIPHER EVP_${CIPHER}
9427_ACEOF 10114_ACEOF
9428 10115
9429 10116
9430DIGEST=sha1 10117DIGEST=ripemd160
9431# Check whether --enable-digest or --disable-digest was given. 10118# Check whether --enable-digest or --disable-digest was given.
9432if test "${enable_digest+set}" = set; then 10119if test "${enable_digest+set}" = set; then
9433 enableval="$enable_digest" 10120 enableval="$enable_digest"
9434 if test "x$enableval" = xsha1 ; then DIGEST=sha1 ; fi 10121 if test "x$enableval" = xsha1 ; then DIGEST=sha1 ; fi
9435 if test "x$enableval" = xripemd160; then DIGEST=ripemd160; fi 10122 if test "x$enableval" = xripemd160; then DIGEST=ripemd160; fi
9449 10136
9450if $CXX -v --help 2>&1 | grep -q fexceptions; then 10137if $CXX -v --help 2>&1 | grep -q fexceptions; then
9451 CXXFLAGS="$CXXFLAGS -fno-exceptions" 10138 CXXFLAGS="$CXXFLAGS -fno-exceptions"
9452fi 10139fi
9453 10140
9454if $CXX -v --help 2>&1 | grep -q ffunction-sections; then
9455 CXXFLAGS="$CXXFLAGS -ffunction-sections"
9456fi
9457
9458if $LD -v --help 2>&1 | grep -q gc-sections; then
9459 LDFLAGS="$LDFLAGS -Wl,--gc-sections"
9460fi
9461
9462
9463 10141
9464 10142
9465 10143
9466 ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile doc/Makefile lib/Makefile m4/Makefile" 10144 ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile doc/Makefile lib/Makefile m4/Makefile"
10145
9467cat >confcache <<\_ACEOF 10146cat >confcache <<\_ACEOF
9468# This file is a shell script that caches the results of configure 10147# This file is a shell script that caches the results of configure
9469# tests run on this system so they can be shared between configure 10148# tests run on this system so they can be shared between configure
9470# scripts and configure runs, see configure's option --config-cache. 10149# scripts and configure runs, see configure's option --config-cache.
9471# It is not useful on other systems. If it contains results you don't 10150# It is not useful on other systems. If it contains results you don't
9490 case `(ac_space=' '; set | grep ac_space) 2>&1` in 10169 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9491 *ac_space=\ *) 10170 *ac_space=\ *)
9492 # `set' does not quote correctly, so add quotes (double-quote 10171 # `set' does not quote correctly, so add quotes (double-quote
9493 # substitution turns \\\\ into \\, and sed turns \\ into \). 10172 # substitution turns \\\\ into \\, and sed turns \\ into \).
9494 sed -n \ 10173 sed -n \
9495 "s/'/'\\\\''/g; 10174 "s/'/'\\\\''/g;
9496 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 10175 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9497 ;; 10176 ;;
9498 *) 10177 *)
9499 # `set' quotes correctly as required by POSIX, so do not add quotes. 10178 # `set' quotes correctly as required by POSIX, so do not add quotes.
9500 sed -n \ 10179 sed -n \
9501 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 10180 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9502 ;; 10181 ;;
9503 esac; 10182 esac;
9504} | 10183} |
9505 sed ' 10184 sed '
9506 t clear 10185 t clear
9526# VPATH may cause trouble with some makes, so we remove $(srcdir), 10205# VPATH may cause trouble with some makes, so we remove $(srcdir),
9527# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 10206# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9528# trailing colons and then remove the whole line if VPATH becomes empty 10207# trailing colons and then remove the whole line if VPATH becomes empty
9529# (actually we leave an empty line to preserve line numbers). 10208# (actually we leave an empty line to preserve line numbers).
9530if test "x$srcdir" = x.; then 10209if test "x$srcdir" = x.; then
9531 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 10210 ac_vpsub='/^[ ]*VPATH[ ]*=/{
9532s/:*\$(srcdir):*/:/; 10211s/:*\$(srcdir):*/:/;
9533s/:*\${srcdir}:*/:/; 10212s/:*\${srcdir}:*/:/;
9534s/:*@srcdir@:*/:/; 10213s/:*@srcdir@:*/:/;
9535s/^\([^=]*=[ ]*\):*/\1/; 10214s/^\([^=]*=[ ]*\):*/\1/;
9536s/:*$//; 10215s/:*$//;
9537s/^[^=]*=[ ]*$//; 10216s/^[^=]*=[ ]*$//;
9538}' 10217}'
9539fi 10218fi
9540 10219
9541DEFS=-DHAVE_CONFIG_H 10220DEFS=-DHAVE_CONFIG_H
9542 10221
9543ac_libobjs= 10222ac_libobjs=
9544ac_ltlibobjs= 10223ac_ltlibobjs=
9545for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 10224for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9546 # 1. Remove the extension, and $U if already installed. 10225 # 1. Remove the extension, and $U if already installed.
9547 ac_i=`echo "$ac_i" | 10226 ac_i=`echo "$ac_i" |
9548 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 10227 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
9549 # 2. Add them. 10228 # 2. Add them.
9550 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 10229 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
9551 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 10230 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
9552done 10231done
9553LIBOBJS=$ac_libobjs 10232LIBOBJS=$ac_libobjs
9585fi 10264fi
9586if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 10265if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
9587 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. 10266 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
9588Usually this means the macro was only invoked conditionally." >&5 10267Usually this means the macro was only invoked conditionally." >&5
9589echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. 10268echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
10269Usually this means the macro was only invoked conditionally." >&2;}
10270 { (exit 1); exit 1; }; }
10271fi
10272if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then
10273 { { echo "$as_me:$LINENO: error: conditional \"ROHC\" was never defined.
10274Usually this means the macro was only invoked conditionally." >&5
10275echo "$as_me: error: conditional \"ROHC\" was never defined.
9590Usually this means the macro was only invoked conditionally." >&2;} 10276Usually this means the macro was only invoked conditionally." >&2;}
9591 { (exit 1); exit 1; }; } 10277 { (exit 1); exit 1; }; }
9592fi 10278fi
9593 10279
9594: ${CONFIG_STATUS=./config.status} 10280: ${CONFIG_STATUS=./config.status}
9622 # is contrary to our usage. Disable this feature. 10308 # is contrary to our usage. Disable this feature.
9623 alias -g '${1+"$@"}'='"$@"' 10309 alias -g '${1+"$@"}'='"$@"'
9624elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 10310elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9625 set -o posix 10311 set -o posix
9626fi 10312fi
10313DUALCASE=1; export DUALCASE # for MKS sh
9627 10314
9628# Support unset when possible. 10315# Support unset when possible.
9629if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 10316if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9630 as_unset=unset 10317 as_unset=unset
9631else 10318else
9632 as_unset=false 10319 as_unset=false
9633fi 10320fi
9634 10321
9643for as_var in \ 10330for as_var in \
9644 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 10331 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9645 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 10332 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9646 LC_TELEPHONE LC_TIME 10333 LC_TELEPHONE LC_TIME
9647do 10334do
9648 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then 10335 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9649 eval $as_var=C; export $as_var 10336 eval $as_var=C; export $as_var
9650 else 10337 else
9651 $as_unset $as_var 10338 $as_unset $as_var
9652 fi 10339 fi
9653done 10340done
9822rm -f conf$$ conf$$.exe conf$$.file 10509rm -f conf$$ conf$$.exe conf$$.file
9823 10510
9824if mkdir -p . 2>/dev/null; then 10511if mkdir -p . 2>/dev/null; then
9825 as_mkdir_p=: 10512 as_mkdir_p=:
9826else 10513else
10514 test -d ./-p && rmdir ./-p
9827 as_mkdir_p=false 10515 as_mkdir_p=false
9828fi 10516fi
9829 10517
9830as_executable_p="test -f" 10518as_executable_p="test -f"
9831 10519
9832# Sed expression to map a string onto a valid CPP name. 10520# Sed expression to map a string onto a valid CPP name.
9833as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 10521as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9834 10522
9835# Sed expression to map a string onto a valid variable name. 10523# Sed expression to map a string onto a valid variable name.
9836as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 10524as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9837 10525
9838 10526
9839# IFS 10527# IFS
9840# We need space, tab and new line, in precisely that order. 10528# We need space, tab and new line, in precisely that order.
9841as_nl=' 10529as_nl='
9858_ASBOX 10546_ASBOX
9859} >&5 10547} >&5
9860cat >&5 <<_CSEOF 10548cat >&5 <<_CSEOF
9861 10549
9862This file was extended by $as_me, which was 10550This file was extended by $as_me, which was
9863generated by GNU Autoconf 2.57. Invocation command line was 10551generated by GNU Autoconf 2.59. Invocation command line was
9864 10552
9865 CONFIG_FILES = $CONFIG_FILES 10553 CONFIG_FILES = $CONFIG_FILES
9866 CONFIG_HEADERS = $CONFIG_HEADERS 10554 CONFIG_HEADERS = $CONFIG_HEADERS
9867 CONFIG_LINKS = $CONFIG_LINKS 10555 CONFIG_LINKS = $CONFIG_LINKS
9868 CONFIG_COMMANDS = $CONFIG_COMMANDS 10556 CONFIG_COMMANDS = $CONFIG_COMMANDS
9902 -V, --version print version number, then exit 10590 -V, --version print version number, then exit
9903 -q, --quiet do not print progress messages 10591 -q, --quiet do not print progress messages
9904 -d, --debug don't remove temporary files 10592 -d, --debug don't remove temporary files
9905 --recheck update $as_me by reconfiguring in the same conditions 10593 --recheck update $as_me by reconfiguring in the same conditions
9906 --file=FILE[:TEMPLATE] 10594 --file=FILE[:TEMPLATE]
9907 instantiate the configuration file FILE 10595 instantiate the configuration file FILE
9908 --header=FILE[:TEMPLATE] 10596 --header=FILE[:TEMPLATE]
9909 instantiate the configuration header FILE 10597 instantiate the configuration header FILE
9910 10598
9911Configuration files: 10599Configuration files:
9912$config_files 10600$config_files
9913 10601
9914Configuration headers: 10602Configuration headers:
9921_ACEOF 10609_ACEOF
9922 10610
9923cat >>$CONFIG_STATUS <<_ACEOF 10611cat >>$CONFIG_STATUS <<_ACEOF
9924ac_cs_version="\\ 10612ac_cs_version="\\
9925config.status 10613config.status
9926configured by $0, generated by GNU Autoconf 2.57, 10614configured by $0, generated by GNU Autoconf 2.59,
9927 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 10615 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9928 10616
9929Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
9930Free Software Foundation, Inc. 10617Copyright (C) 2003 Free Software Foundation, Inc.
9931This config.status script is free software; the Free Software Foundation 10618This config.status script is free software; the Free Software Foundation
9932gives unlimited permission to copy, distribute and modify it." 10619gives unlimited permission to copy, distribute and modify it."
9933srcdir=$srcdir 10620srcdir=$srcdir
9934INSTALL="$INSTALL" 10621INSTALL="$INSTALL"
9935_ACEOF 10622_ACEOF
10155s,@ACLOCAL@,$ACLOCAL,;t t 10842s,@ACLOCAL@,$ACLOCAL,;t t
10156s,@AUTOCONF@,$AUTOCONF,;t t 10843s,@AUTOCONF@,$AUTOCONF,;t t
10157s,@AUTOMAKE@,$AUTOMAKE,;t t 10844s,@AUTOMAKE@,$AUTOMAKE,;t t
10158s,@AUTOHEADER@,$AUTOHEADER,;t t 10845s,@AUTOHEADER@,$AUTOHEADER,;t t
10159s,@MAKEINFO@,$MAKEINFO,;t t 10846s,@MAKEINFO@,$MAKEINFO,;t t
10160s,@AMTAR@,$AMTAR,;t t
10161s,@install_sh@,$install_sh,;t t 10847s,@install_sh@,$install_sh,;t t
10162s,@STRIP@,$STRIP,;t t 10848s,@STRIP@,$STRIP,;t t
10163s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 10849s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
10164s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 10850s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
10851s,@mkdir_p@,$mkdir_p,;t t
10165s,@AWK@,$AWK,;t t 10852s,@AWK@,$AWK,;t t
10166s,@SET_MAKE@,$SET_MAKE,;t t 10853s,@SET_MAKE@,$SET_MAKE,;t t
10167s,@am__leading_dot@,$am__leading_dot,;t t 10854s,@am__leading_dot@,$am__leading_dot,;t t
10855s,@AMTAR@,$AMTAR,;t t
10856s,@am__tar@,$am__tar,;t t
10857s,@am__untar@,$am__untar,;t t
10168s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t 10858s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
10169s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t 10859s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
10170s,@MAINT@,$MAINT,;t t 10860s,@MAINT@,$MAINT,;t t
10171s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t 10861s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
10172s,@MSGFMT@,$MSGFMT,;t t 10862s,@MSGFMT@,$MSGFMT,;t t
10211s,@IFSUBTYPE@,$IFSUBTYPE,;t t 10901s,@IFSUBTYPE@,$IFSUBTYPE,;t t
10212s,@CXXCPP@,$CXXCPP,;t t 10902s,@CXXCPP@,$CXXCPP,;t t
10213s,@ALLOCA@,$ALLOCA,;t t 10903s,@ALLOCA@,$ALLOCA,;t t
10214s,@LINUX_IF_TUN_H@,$LINUX_IF_TUN_H,;t t 10904s,@LINUX_IF_TUN_H@,$LINUX_IF_TUN_H,;t t
10215s,@HAVE_TUNTAP@,$HAVE_TUNTAP,;t t 10905s,@HAVE_TUNTAP@,$HAVE_TUNTAP,;t t
10906s,@LDFLAGS_DAEMON@,$LDFLAGS_DAEMON,;t t
10907s,@ROHC_TRUE@,$ROHC_TRUE,;t t
10908s,@ROHC_FALSE@,$ROHC_FALSE,;t t
10216s,@INCLUDES@,$INCLUDES,;t t 10909s,@INCLUDES@,$INCLUDES,;t t
10217s,@LIBOBJS@,$LIBOBJS,;t t 10910s,@LIBOBJS@,$LIBOBJS,;t t
10218s,@LTLIBOBJS@,$LTLIBOBJS,;t t 10911s,@LTLIBOBJS@,$LTLIBOBJS,;t t
10219CEOF 10912CEOF
10220 10913
10243 # is no need to browse any of the substitutions). 10936 # is no need to browse any of the substitutions).
10244 # These are the two extra sed commands mentioned above. 10937 # These are the two extra sed commands mentioned above.
10245 (echo ':t 10938 (echo ':t
10246 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 10939 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
10247 if test -z "$ac_sed_cmds"; then 10940 if test -z "$ac_sed_cmds"; then
10248 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 10941 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
10249 else 10942 else
10250 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 10943 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
10251 fi 10944 fi
10252 ac_sed_frag=`expr $ac_sed_frag + 1` 10945 ac_sed_frag=`expr $ac_sed_frag + 1`
10253 ac_beg=$ac_end 10946 ac_beg=$ac_end
10254 ac_end=`expr $ac_end + $ac_max_sed_lines` 10947 ac_end=`expr $ac_end + $ac_max_sed_lines`
10255 fi 10948 fi
10263cat >>$CONFIG_STATUS <<\_ACEOF 10956cat >>$CONFIG_STATUS <<\_ACEOF
10264for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 10957for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
10265 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 10958 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10266 case $ac_file in 10959 case $ac_file in
10267 - | *:- | *:-:* ) # input from stdin 10960 - | *:- | *:-:* ) # input from stdin
10268 cat >$tmp/stdin 10961 cat >$tmp/stdin
10269 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 10962 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10270 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 10963 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10271 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 10964 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10272 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 10965 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10273 * ) ac_file_in=$ac_file.in ;; 10966 * ) ac_file_in=$ac_file.in ;;
10274 esac 10967 esac
10275 10968
10276 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 10969 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
10277 ac_dir=`(dirname "$ac_file") 2>/dev/null || 10970 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
10278$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10971$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10279 X"$ac_file" : 'X\(//\)[^/]' \| \ 10972 X"$ac_file" : 'X\(//\)[^/]' \| \
10280 X"$ac_file" : 'X\(//\)$' \| \ 10973 X"$ac_file" : 'X\(//\)$' \| \
10281 X"$ac_file" : 'X\(/\)' \| \ 10974 X"$ac_file" : 'X\(/\)' \| \
10282 . : '\(.\)' 2>/dev/null || 10975 . : '\(.\)' 2>/dev/null ||
10283echo X"$ac_file" | 10976echo X"$ac_file" |
10284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 10977 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10285 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 10978 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10286 /^X\(\/\/\)$/{ s//\1/; q; } 10979 /^X\(\/\/\)$/{ s//\1/; q; }
10287 /^X\(\/\).*/{ s//\1/; q; } 10980 /^X\(\/\).*/{ s//\1/; q; }
10293 as_dirs= 10986 as_dirs=
10294 while test ! -d "$as_dir"; do 10987 while test ! -d "$as_dir"; do
10295 as_dirs="$as_dir $as_dirs" 10988 as_dirs="$as_dir $as_dirs"
10296 as_dir=`(dirname "$as_dir") 2>/dev/null || 10989 as_dir=`(dirname "$as_dir") 2>/dev/null ||
10297$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10990$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10298 X"$as_dir" : 'X\(//\)[^/]' \| \ 10991 X"$as_dir" : 'X\(//\)[^/]' \| \
10299 X"$as_dir" : 'X\(//\)$' \| \ 10992 X"$as_dir" : 'X\(//\)$' \| \
10300 X"$as_dir" : 'X\(/\)' \| \ 10993 X"$as_dir" : 'X\(/\)' \| \
10301 . : '\(.\)' 2>/dev/null || 10994 . : '\(.\)' 2>/dev/null ||
10302echo X"$as_dir" | 10995echo X"$as_dir" |
10303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 10996 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10304 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 10997 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10305 /^X\(\/\/\)$/{ s//\1/; q; } 10998 /^X\(\/\/\)$/{ s//\1/; q; }
10306 /^X\(\/\).*/{ s//\1/; q; } 10999 /^X\(\/\).*/{ s//\1/; q; }
10334 ac_top_srcdir=$srcdir ;; 11027 ac_top_srcdir=$srcdir ;;
10335 *) # Relative path. 11028 *) # Relative path.
10336 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 11029 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10337 ac_top_srcdir=$ac_top_builddir$srcdir ;; 11030 ac_top_srcdir=$ac_top_builddir$srcdir ;;
10338esac 11031esac
10339# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 11032
10340# absolute. 11033# Do not use `cd foo && pwd` to compute absolute paths, because
10341ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 11034# the directories may not exist.
10342ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 11035case `pwd` in
10343ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 11036.) ac_abs_builddir="$ac_dir";;
10344ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 11037*)
11038 case "$ac_dir" in
11039 .) ac_abs_builddir=`pwd`;;
11040 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11041 *) ac_abs_builddir=`pwd`/"$ac_dir";;
11042 esac;;
11043esac
11044case $ac_abs_builddir in
11045.) ac_abs_top_builddir=${ac_top_builddir}.;;
11046*)
11047 case ${ac_top_builddir}. in
11048 .) ac_abs_top_builddir=$ac_abs_builddir;;
11049 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11050 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11051 esac;;
11052esac
11053case $ac_abs_builddir in
11054.) ac_abs_srcdir=$ac_srcdir;;
11055*)
11056 case $ac_srcdir in
11057 .) ac_abs_srcdir=$ac_abs_builddir;;
11058 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11059 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11060 esac;;
11061esac
11062case $ac_abs_builddir in
11063.) ac_abs_top_srcdir=$ac_top_srcdir;;
11064*)
11065 case $ac_top_srcdir in
11066 .) ac_abs_top_srcdir=$ac_abs_builddir;;
11067 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11068 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11069 esac;;
11070esac
10345 11071
10346 11072
10347 case $INSTALL in 11073 case $INSTALL in
10348 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 11074 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10349 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 11075 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
10350 esac 11076 esac
10351 11077
10352 if test x"$ac_file" != x-; then
10353 { echo "$as_me:$LINENO: creating $ac_file" >&5
10354echo "$as_me: creating $ac_file" >&6;}
10355 rm -f "$ac_file"
10356 fi
10357 # Let's still pretend it is `configure' which instantiates (i.e., don't 11078 # Let's still pretend it is `configure' which instantiates (i.e., don't
10358 # use $as_me), people would be surprised to read: 11079 # use $as_me), people would be surprised to read:
10359 # /* config.h. Generated by config.status. */ 11080 # /* config.h. Generated by config.status. */
10360 if test x"$ac_file" = x-; then 11081 if test x"$ac_file" = x-; then
10361 configure_input= 11082 configure_input=
10362 else 11083 else
10363 configure_input="$ac_file. " 11084 configure_input="$ac_file. "
10364 fi 11085 fi
10365 configure_input=$configure_input"Generated from `echo $ac_file_in | 11086 configure_input=$configure_input"Generated from `echo $ac_file_in |
10366 sed 's,.*/,,'` by configure." 11087 sed 's,.*/,,'` by configure."
10367 11088
10368 # First look for the input files in the build tree, otherwise in the 11089 # First look for the input files in the build tree, otherwise in the
10369 # src tree. 11090 # src tree.
10370 ac_file_inputs=`IFS=: 11091 ac_file_inputs=`IFS=:
10371 for f in $ac_file_in; do 11092 for f in $ac_file_in; do
10372 case $f in 11093 case $f in
10373 -) echo $tmp/stdin ;; 11094 -) echo $tmp/stdin ;;
10374 [\\/$]*) 11095 [\\/$]*)
10375 # Absolute (can't be DOS-style, as IFS=:) 11096 # Absolute (can't be DOS-style, as IFS=:)
10376 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 11097 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10377echo "$as_me: error: cannot find input file: $f" >&2;} 11098echo "$as_me: error: cannot find input file: $f" >&2;}
10378 { (exit 1); exit 1; }; } 11099 { (exit 1); exit 1; }; }
10379 echo $f;; 11100 echo "$f";;
10380 *) # Relative 11101 *) # Relative
10381 if test -f "$f"; then 11102 if test -f "$f"; then
10382 # Build tree 11103 # Build tree
10383 echo $f 11104 echo "$f"
10384 elif test -f "$srcdir/$f"; then 11105 elif test -f "$srcdir/$f"; then
10385 # Source tree 11106 # Source tree
10386 echo $srcdir/$f 11107 echo "$srcdir/$f"
10387 else 11108 else
10388 # /dev/null tree 11109 # /dev/null tree
10389 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 11110 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10390echo "$as_me: error: cannot find input file: $f" >&2;} 11111echo "$as_me: error: cannot find input file: $f" >&2;}
10391 { (exit 1); exit 1; }; } 11112 { (exit 1); exit 1; }; }
10392 fi;; 11113 fi;;
10393 esac 11114 esac
10394 done` || { (exit 1); exit 1; } 11115 done` || { (exit 1); exit 1; }
11116
11117 if test x"$ac_file" != x-; then
11118 { echo "$as_me:$LINENO: creating $ac_file" >&5
11119echo "$as_me: creating $ac_file" >&6;}
11120 rm -f "$ac_file"
11121 fi
10395_ACEOF 11122_ACEOF
10396cat >>$CONFIG_STATUS <<_ACEOF 11123cat >>$CONFIG_STATUS <<_ACEOF
10397 sed "$ac_vpsub 11124 sed "$ac_vpsub
10398$extrasub 11125$extrasub
10399_ACEOF 11126_ACEOF
10429 11156
10430# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 11157# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
10431# NAME is the cpp macro being defined and VALUE is the value it is being given. 11158# NAME is the cpp macro being defined and VALUE is the value it is being given.
10432# 11159#
10433# ac_d sets the value in "#define NAME VALUE" lines. 11160# ac_d sets the value in "#define NAME VALUE" lines.
10434ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 11161ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
10435ac_dB='[ ].*$,\1#\2' 11162ac_dB='[ ].*$,\1#\2'
10436ac_dC=' ' 11163ac_dC=' '
10437ac_dD=',;t' 11164ac_dD=',;t'
10438# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 11165# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
10439ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 11166ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
10440ac_uB='$,\1#\2define\3' 11167ac_uB='$,\1#\2define\3'
10441ac_uC=' ' 11168ac_uC=' '
10442ac_uD=',;t' 11169ac_uD=',;t'
10443 11170
10444for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 11171for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
10445 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 11172 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10446 case $ac_file in 11173 case $ac_file in
10447 - | *:- | *:-:* ) # input from stdin 11174 - | *:- | *:-:* ) # input from stdin
10448 cat >$tmp/stdin 11175 cat >$tmp/stdin
10449 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 11176 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10450 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 11177 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10451 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 11178 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10452 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 11179 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10453 * ) ac_file_in=$ac_file.in ;; 11180 * ) ac_file_in=$ac_file.in ;;
10454 esac 11181 esac
10455 11182
10456 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 11183 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
10457echo "$as_me: creating $ac_file" >&6;} 11184echo "$as_me: creating $ac_file" >&6;}
10461 ac_file_inputs=`IFS=: 11188 ac_file_inputs=`IFS=:
10462 for f in $ac_file_in; do 11189 for f in $ac_file_in; do
10463 case $f in 11190 case $f in
10464 -) echo $tmp/stdin ;; 11191 -) echo $tmp/stdin ;;
10465 [\\/$]*) 11192 [\\/$]*)
10466 # Absolute (can't be DOS-style, as IFS=:) 11193 # Absolute (can't be DOS-style, as IFS=:)
10467 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 11194 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10468echo "$as_me: error: cannot find input file: $f" >&2;} 11195echo "$as_me: error: cannot find input file: $f" >&2;}
10469 { (exit 1); exit 1; }; } 11196 { (exit 1); exit 1; }; }
10470 echo $f;; 11197 # Do quote $f, to prevent DOS paths from being IFS'd.
11198 echo "$f";;
10471 *) # Relative 11199 *) # Relative
10472 if test -f "$f"; then 11200 if test -f "$f"; then
10473 # Build tree 11201 # Build tree
10474 echo $f 11202 echo "$f"
10475 elif test -f "$srcdir/$f"; then 11203 elif test -f "$srcdir/$f"; then
10476 # Source tree 11204 # Source tree
10477 echo $srcdir/$f 11205 echo "$srcdir/$f"
10478 else 11206 else
10479 # /dev/null tree 11207 # /dev/null tree
10480 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 11208 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10481echo "$as_me: error: cannot find input file: $f" >&2;} 11209echo "$as_me: error: cannot find input file: $f" >&2;}
10482 { (exit 1); exit 1; }; } 11210 { (exit 1); exit 1; }; }
10483 fi;; 11211 fi;;
10484 esac 11212 esac
10485 done` || { (exit 1); exit 1; } 11213 done` || { (exit 1); exit 1; }
10486 # Remove the trailing spaces. 11214 # Remove the trailing spaces.
10487 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 11215 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
10488 11216
10489_ACEOF 11217_ACEOF
10490 11218
10491# Transform confdefs.h into two sed scripts, `conftest.defines' and 11219# Transform confdefs.h into two sed scripts, `conftest.defines' and
10492# `conftest.undefs', that substitutes the proper values into 11220# `conftest.undefs', that substitutes the proper values into
10505cat >confdef2sed.sed <<\_ACEOF 11233cat >confdef2sed.sed <<\_ACEOF
10506s/[\\&,]/\\&/g 11234s/[\\&,]/\\&/g
10507s,[\\$`],\\&,g 11235s,[\\$`],\\&,g
10508t clear 11236t clear
10509: clear 11237: clear
10510s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 11238s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
10511t end 11239t end
10512s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 11240s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
10513: end 11241: end
10514_ACEOF 11242_ACEOF
10515# If some macros were called several times there might be several times 11243# If some macros were called several times there might be several times
10516# the same #defines, which is useless. Nevertheless, we may not want to 11244# the same #defines, which is useless. Nevertheless, we may not want to
10517# sort them, since we want the *last* AC-DEFINE to be honored. 11245# sort them, since we want the *last* AC-DEFINE to be honored.
10521 11249
10522# This sed command replaces #undef with comments. This is necessary, for 11250# This sed command replaces #undef with comments. This is necessary, for
10523# example, in the case of _POSIX_SOURCE, which is predefined and required 11251# example, in the case of _POSIX_SOURCE, which is predefined and required
10524# on some systems where configure will not decide to define it. 11252# on some systems where configure will not decide to define it.
10525cat >>conftest.undefs <<\_ACEOF 11253cat >>conftest.undefs <<\_ACEOF
10526s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 11254s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
10527_ACEOF 11255_ACEOF
10528 11256
10529# Break up conftest.defines because some shells have a limit on the size 11257# Break up conftest.defines because some shells have a limit on the size
10530# of here documents, and old seds have small limits too (100 cmds). 11258# of here documents, and old seds have small limits too (100 cmds).
10531echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 11259echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
10532echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 11260echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
10533echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 11261echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
10534echo ' :' >>$CONFIG_STATUS 11262echo ' :' >>$CONFIG_STATUS
10535rm -f conftest.tail 11263rm -f conftest.tail
10536while grep . conftest.defines >/dev/null 11264while grep . conftest.defines >/dev/null
10537do 11265do
10538 # Write a limited-size here document to $tmp/defines.sed. 11266 # Write a limited-size here document to $tmp/defines.sed.
10539 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 11267 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
10540 # Speed up: don't consider the non `#define' lines. 11268 # Speed up: don't consider the non `#define' lines.
10541 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 11269 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
10542 # Work around the forget-to-reset-the-flag bug. 11270 # Work around the forget-to-reset-the-flag bug.
10543 echo 't clr' >>$CONFIG_STATUS 11271 echo 't clr' >>$CONFIG_STATUS
10544 echo ': clr' >>$CONFIG_STATUS 11272 echo ': clr' >>$CONFIG_STATUS
10545 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 11273 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
10546 echo 'CEOF 11274 echo 'CEOF
10563while grep . conftest.undefs >/dev/null 11291while grep . conftest.undefs >/dev/null
10564do 11292do
10565 # Write a limited-size here document to $tmp/undefs.sed. 11293 # Write a limited-size here document to $tmp/undefs.sed.
10566 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 11294 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
10567 # Speed up: don't consider the non `#undef' 11295 # Speed up: don't consider the non `#undef'
10568 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 11296 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
10569 # Work around the forget-to-reset-the-flag bug. 11297 # Work around the forget-to-reset-the-flag bug.
10570 echo 't clr' >>$CONFIG_STATUS 11298 echo 't clr' >>$CONFIG_STATUS
10571 echo ': clr' >>$CONFIG_STATUS 11299 echo ': clr' >>$CONFIG_STATUS
10572 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 11300 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
10573 echo 'CEOF 11301 echo 'CEOF
10597 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 11325 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10598echo "$as_me: $ac_file is unchanged" >&6;} 11326echo "$as_me: $ac_file is unchanged" >&6;}
10599 else 11327 else
10600 ac_dir=`(dirname "$ac_file") 2>/dev/null || 11328 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
10601$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11329$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10602 X"$ac_file" : 'X\(//\)[^/]' \| \ 11330 X"$ac_file" : 'X\(//\)[^/]' \| \
10603 X"$ac_file" : 'X\(//\)$' \| \ 11331 X"$ac_file" : 'X\(//\)$' \| \
10604 X"$ac_file" : 'X\(/\)' \| \ 11332 X"$ac_file" : 'X\(/\)' \| \
10605 . : '\(.\)' 2>/dev/null || 11333 . : '\(.\)' 2>/dev/null ||
10606echo X"$ac_file" | 11334echo X"$ac_file" |
10607 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10608 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11336 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10609 /^X\(\/\/\)$/{ s//\1/; q; } 11337 /^X\(\/\/\)$/{ s//\1/; q; }
10610 /^X\(\/\).*/{ s//\1/; q; } 11338 /^X\(\/\).*/{ s//\1/; q; }
10616 as_dirs= 11344 as_dirs=
10617 while test ! -d "$as_dir"; do 11345 while test ! -d "$as_dir"; do
10618 as_dirs="$as_dir $as_dirs" 11346 as_dirs="$as_dir $as_dirs"
10619 as_dir=`(dirname "$as_dir") 2>/dev/null || 11347 as_dir=`(dirname "$as_dir") 2>/dev/null ||
10620$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11348$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10621 X"$as_dir" : 'X\(//\)[^/]' \| \ 11349 X"$as_dir" : 'X\(//\)[^/]' \| \
10622 X"$as_dir" : 'X\(//\)$' \| \ 11350 X"$as_dir" : 'X\(//\)$' \| \
10623 X"$as_dir" : 'X\(/\)' \| \ 11351 X"$as_dir" : 'X\(/\)' \| \
10624 . : '\(.\)' 2>/dev/null || 11352 . : '\(.\)' 2>/dev/null ||
10625echo X"$as_dir" | 11353echo X"$as_dir" |
10626 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11354 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10627 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11355 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10628 /^X\(\/\/\)$/{ s//\1/; q; } 11356 /^X\(\/\/\)$/{ s//\1/; q; }
10629 /^X\(\/\).*/{ s//\1/; q; } 11357 /^X\(\/\).*/{ s//\1/; q; }
10651 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 11379 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10652 esac 11380 esac
10653done 11381done
10654echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || 11382echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
10655$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11383$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10656 X$ac_file : 'X\(//\)[^/]' \| \ 11384 X$ac_file : 'X\(//\)[^/]' \| \
10657 X$ac_file : 'X\(//\)$' \| \ 11385 X$ac_file : 'X\(//\)$' \| \
10658 X$ac_file : 'X\(/\)' \| \ 11386 X$ac_file : 'X\(/\)' \| \
10659 . : '\(.\)' 2>/dev/null || 11387 . : '\(.\)' 2>/dev/null ||
10660echo X$ac_file | 11388echo X$ac_file |
10661 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11389 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10662 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11390 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10663 /^X\(\/\/\)$/{ s//\1/; q; } 11391 /^X\(\/\/\)$/{ s//\1/; q; }
10664 /^X\(\/\).*/{ s//\1/; q; } 11392 /^X\(\/\).*/{ s//\1/; q; }
10673for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 11401for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
10674 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 11402 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
10675 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 11403 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
10676 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 11404 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
10677$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11405$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10678 X"$ac_dest" : 'X\(//\)[^/]' \| \ 11406 X"$ac_dest" : 'X\(//\)[^/]' \| \
10679 X"$ac_dest" : 'X\(//\)$' \| \ 11407 X"$ac_dest" : 'X\(//\)$' \| \
10680 X"$ac_dest" : 'X\(/\)' \| \ 11408 X"$ac_dest" : 'X\(/\)' \| \
10681 . : '\(.\)' 2>/dev/null || 11409 . : '\(.\)' 2>/dev/null ||
10682echo X"$ac_dest" | 11410echo X"$ac_dest" |
10683 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11411 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10684 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11412 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10685 /^X\(\/\/\)$/{ s//\1/; q; } 11413 /^X\(\/\/\)$/{ s//\1/; q; }
10686 /^X\(\/\).*/{ s//\1/; q; } 11414 /^X\(\/\).*/{ s//\1/; q; }
10687 s/.*/./; q'` 11415 s/.*/./; q'`
11416 { if $as_mkdir_p; then
11417 mkdir -p "$ac_dir"
11418 else
11419 as_dir="$ac_dir"
11420 as_dirs=
11421 while test ! -d "$as_dir"; do
11422 as_dirs="$as_dir $as_dirs"
11423 as_dir=`(dirname "$as_dir") 2>/dev/null ||
11424$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11425 X"$as_dir" : 'X\(//\)[^/]' \| \
11426 X"$as_dir" : 'X\(//\)$' \| \
11427 X"$as_dir" : 'X\(/\)' \| \
11428 . : '\(.\)' 2>/dev/null ||
11429echo X"$as_dir" |
11430 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11431 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11432 /^X\(\/\/\)$/{ s//\1/; q; }
11433 /^X\(\/\).*/{ s//\1/; q; }
11434 s/.*/./; q'`
11435 done
11436 test ! -n "$as_dirs" || mkdir $as_dirs
11437 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11438echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11439 { (exit 1); exit 1; }; }; }
11440
10688 ac_builddir=. 11441 ac_builddir=.
10689 11442
10690if test "$ac_dir" != .; then 11443if test "$ac_dir" != .; then
10691 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 11444 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10692 # A "../" for each directory in $ac_dir_suffix. 11445 # A "../" for each directory in $ac_dir_suffix.
10708 ac_top_srcdir=$srcdir ;; 11461 ac_top_srcdir=$srcdir ;;
10709 *) # Relative path. 11462 *) # Relative path.
10710 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 11463 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10711 ac_top_srcdir=$ac_top_builddir$srcdir ;; 11464 ac_top_srcdir=$ac_top_builddir$srcdir ;;
10712esac 11465esac
10713# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 11466
10714# absolute. 11467# Do not use `cd foo && pwd` to compute absolute paths, because
10715ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 11468# the directories may not exist.
10716ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 11469case `pwd` in
10717ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 11470.) ac_abs_builddir="$ac_dir";;
10718ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 11471*)
11472 case "$ac_dir" in
11473 .) ac_abs_builddir=`pwd`;;
11474 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11475 *) ac_abs_builddir=`pwd`/"$ac_dir";;
11476 esac;;
11477esac
11478case $ac_abs_builddir in
11479.) ac_abs_top_builddir=${ac_top_builddir}.;;
11480*)
11481 case ${ac_top_builddir}. in
11482 .) ac_abs_top_builddir=$ac_abs_builddir;;
11483 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11484 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11485 esac;;
11486esac
11487case $ac_abs_builddir in
11488.) ac_abs_srcdir=$ac_srcdir;;
11489*)
11490 case $ac_srcdir in
11491 .) ac_abs_srcdir=$ac_abs_builddir;;
11492 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11493 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11494 esac;;
11495esac
11496case $ac_abs_builddir in
11497.) ac_abs_top_srcdir=$ac_top_srcdir;;
11498*)
11499 case $ac_top_srcdir in
11500 .) ac_abs_top_srcdir=$ac_abs_builddir;;
11501 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11502 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11503 esac;;
11504esac
10719 11505
10720 11506
10721 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 11507 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
10722echo "$as_me: executing $ac_dest commands" >&6;} 11508echo "$as_me: executing $ac_dest commands" >&6;}
10723 case $ac_dest in 11509 case $ac_dest in
10827 # each Makefile.in and add a new line on top of each file to say so. 11613 # each Makefile.in and add a new line on top of each file to say so.
10828 # So let's grep whole file. 11614 # So let's grep whole file.
10829 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 11615 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
10830 dirpart=`(dirname "$mf") 2>/dev/null || 11616 dirpart=`(dirname "$mf") 2>/dev/null ||
10831$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11617$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10832 X"$mf" : 'X\(//\)[^/]' \| \ 11618 X"$mf" : 'X\(//\)[^/]' \| \
10833 X"$mf" : 'X\(//\)$' \| \ 11619 X"$mf" : 'X\(//\)$' \| \
10834 X"$mf" : 'X\(/\)' \| \ 11620 X"$mf" : 'X\(/\)' \| \
10835 . : '\(.\)' 2>/dev/null || 11621 . : '\(.\)' 2>/dev/null ||
10836echo X"$mf" | 11622echo X"$mf" |
10837 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11623 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10838 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11624 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10839 /^X\(\/\/\)$/{ s//\1/; q; } 11625 /^X\(\/\/\)$/{ s//\1/; q; }
10840 /^X\(\/\).*/{ s//\1/; q; } 11626 /^X\(\/\).*/{ s//\1/; q; }
10841 s/.*/./; q'` 11627 s/.*/./; q'`
10842 else 11628 else
10843 continue 11629 continue
10844 fi 11630 fi
10845 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue 11631 # Extract the definition of DEPDIR, am__include, and am__quote
10846 # Extract the definition of DEP_FILES from the Makefile without 11632 # from the Makefile without running `make'.
10847 # running `make'.
10848 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 11633 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10849 test -z "$DEPDIR" && continue 11634 test -z "$DEPDIR" && continue
11635 am__include=`sed -n 's/^am__include = //p' < "$mf"`
11636 test -z "am__include" && continue
11637 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10850 # When using ansi2knr, U may be empty or an underscore; expand it 11638 # When using ansi2knr, U may be empty or an underscore; expand it
10851 U=`sed -n -e '/^U = / s///p' < "$mf"` 11639 U=`sed -n 's/^U = //p' < "$mf"`
10852 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 11640 # Find all dependency output files, they are included files with
10853 # We invoke sed twice because it is the simplest approach to 11641 # $(DEPDIR) in their names. We invoke sed twice because it is the
10854 # changing $(DEPDIR) to its actual value in the expansion. 11642 # simplest approach to changing $(DEPDIR) to its actual value in the
11643 # expansion.
10855 for file in `sed -n -e ' 11644 for file in `sed -n "
10856 /^DEP_FILES = .*\\\\$/ { 11645 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10857 s/^DEP_FILES = //
10858 :loop
10859 s/\\\\$//
10860 p
10861 n
10862 /\\\\$/ b loop
10863 p
10864 }
10865 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
10866 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 11646 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10867 # Make sure the directory exists. 11647 # Make sure the directory exists.
10868 test -f "$dirpart/$file" && continue 11648 test -f "$dirpart/$file" && continue
10869 fdir=`(dirname "$file") 2>/dev/null || 11649 fdir=`(dirname "$file") 2>/dev/null ||
10870$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11650$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10871 X"$file" : 'X\(//\)[^/]' \| \ 11651 X"$file" : 'X\(//\)[^/]' \| \
10872 X"$file" : 'X\(//\)$' \| \ 11652 X"$file" : 'X\(//\)$' \| \
10873 X"$file" : 'X\(/\)' \| \ 11653 X"$file" : 'X\(/\)' \| \
10874 . : '\(.\)' 2>/dev/null || 11654 . : '\(.\)' 2>/dev/null ||
10875echo X"$file" | 11655echo X"$file" |
10876 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11656 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10877 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11657 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10878 /^X\(\/\/\)$/{ s//\1/; q; } 11658 /^X\(\/\/\)$/{ s//\1/; q; }
10879 /^X\(\/\).*/{ s//\1/; q; } 11659 /^X\(\/\).*/{ s//\1/; q; }
10885 as_dirs= 11665 as_dirs=
10886 while test ! -d "$as_dir"; do 11666 while test ! -d "$as_dir"; do
10887 as_dirs="$as_dir $as_dirs" 11667 as_dirs="$as_dir $as_dirs"
10888 as_dir=`(dirname "$as_dir") 2>/dev/null || 11668 as_dir=`(dirname "$as_dir") 2>/dev/null ||
10889$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11669$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10890 X"$as_dir" : 'X\(//\)[^/]' \| \ 11670 X"$as_dir" : 'X\(//\)[^/]' \| \
10891 X"$as_dir" : 'X\(//\)$' \| \ 11671 X"$as_dir" : 'X\(//\)$' \| \
10892 X"$as_dir" : 'X\(/\)' \| \ 11672 X"$as_dir" : 'X\(/\)' \| \
10893 . : '\(.\)' 2>/dev/null || 11673 . : '\(.\)' 2>/dev/null ||
10894echo X"$as_dir" | 11674echo X"$as_dir" |
10895 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11675 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10896 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11676 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10897 /^X\(\/\/\)$/{ s//\1/; q; } 11677 /^X\(\/\/\)$/{ s//\1/; q; }
10898 /^X\(\/\).*/{ s//\1/; q; } 11678 /^X\(\/\).*/{ s//\1/; q; }
10916 11696
10917{ (exit 0); exit 0; } 11697{ (exit 0); exit 0; }
10918_ACEOF 11698_ACEOF
10919chmod +x $CONFIG_STATUS 11699chmod +x $CONFIG_STATUS
10920ac_clean_files=$ac_clean_files_save 11700ac_clean_files=$ac_clean_files_save
10921
10922
10923
10924echo
10925echo "***"
10926echo "*** Configuration Summary"
10927echo "***"
10928echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE"
10929echo "*** Cipher used: $CIPHER"
10930echo "*** Digest used: $DIGEST"
10931echo "*** HMAC length: $HMAC"
10932echo "*** RAND used: $RAND"
10933echo "*** Max. MTU: $MTU"
10934echo "*** Compression: $COMPRESS"
10935echo "***"
10936
10937if test "x$DIGEST" = xmd4; then
10938echo "*** WARNING"
10939echo "*** The digest you have chosen ($DIGEST) is known to be insecure"
10940echo "***"
10941fi
10942
10943echo
10944
10945 11701
10946 11702
10947# configure is writing to config.log, and then calls config.status. 11703# configure is writing to config.log, and then calls config.status.
10948# config.status does its own redirection, appending to config.log. 11704# config.status does its own redirection, appending to config.log.
10949# Unfortunately, on DOS this fails, as config.log is still kept open 11705# Unfortunately, on DOS this fails, as config.log is still kept open
10963 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 11719 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10964 # would make configure fail if this is the last instruction. 11720 # would make configure fail if this is the last instruction.
10965 $ac_cs_success || { (exit 1); exit 1; } 11721 $ac_cs_success || { (exit 1); exit 1; }
10966fi 11722fi
10967 11723
11724
11725echo
11726echo "***"
11727echo "*** Configuration Summary"
11728echo "***"
11729echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE"
11730echo "*** Cipher used: $CIPHER"
11731echo "*** Digest used: $DIGEST"
11732echo "*** HMAC length: $HMAC"
11733echo "*** RAND used: $RAND"
11734echo "*** Max. MTU: $MTU"
11735
11736echo "***"
11737echo "*** Enable options:"
11738grep ENABLE_ config.h | sed -e 's/^/*** /'
11739
11740if test "x$DIGEST" = xmd4; then
11741echo "***"
11742echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure"
11743fi
11744
11745if test "$HMAC" -lt 12; then
11746echo "***"
11747echo "*** WARNING: The hmac length you have chosen ($HMAC) is probably insecure"
11748fi
11749
11750if test "$RAND" -lt 8; then
11751echo "***"
11752echo "*** WARNING: The random prefix you have chosen ($RAND) is probably insecure"
11753fi
11754
11755echo "***"
11756echo
11757
11758

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines