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

Comparing gvpe/configure (file contents):
Revision 1.7 by pcg, Thu Oct 16 14:17:00 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):
874 "native/linux" "tincd/linux" "tincd/netbsd"
873 "tincd/linux" "tincd/freebsd" "tincd/openbsd" 875 "tincd/freebsd" "tincd/openbsd" "native/darwin"
874 "native/cygwin"; Untested combinations are: 876 "tincd/darwin" "native/cygwin"; Untested
877 combinations are: "tincd/bsd" "tincd/solaris"
875 "tincd/netbsd" "tincd/darwin" "tincd/solaris" 878 "tincd/mingw" "tincd/raw_socket" "tincd/uml_socket";
876 "tincd/mingw"; Broken combinations are: 879 Broken combinations are: "tincd/cygwin"; The default
877 "tincd/cygwin"; The default is to autodetect. 880 is to autodetect.
881 --enable-static-daemon enable statically linked daemon.
878 --enable-rohc enable robust header compression (rfc3095). 882 --enable-rohc enable robust header compression (rfc3095).
879 --enable-icmp enable icmp protocol support (default disabled). 883 --enable-icmp enable icmp protocol support (default disabled).
880 --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).
881 --enable-http-proxy enable http proxy connect support (default 886 --enable-http-proxy enable http proxy connect support (default
882 disabled). 887 disabled).
883 --enable-hmac-length=BYTES 888 --enable-hmac-length=BYTES
884 use a hmac of length BYTES bytes (default 12). 889 use a hmac of length BYTES bytes (default 12).
885 Allowed values are 4, 8, 12, 16. 890 Allowed values are 4, 8, 12, 16.
887 use BYTES bytes of extra randomness (default 8). 892 use BYTES bytes of extra randomness (default 8).
888 Allowed values are 0, 4, 8. 893 Allowed values are 0, 4, 8.
889 --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).
890 Use 9100 for jumbogram support. 895 Use 9100 for jumbogram support.
891 --disable-compression Disable compression support. 896 --disable-compression Disable compression support.
892 --enable-cipher Select the symmetric cipher (default "bf"). Must be 897 --enable-cipher Select the symmetric cipher (default "aes-128").
893 one of "bf" (blowfish), "aes-128" (rijndael), 898 Must be one of "bf" (blowfish), "aes-128"
894 "aes-192" or "aes-256". 899 (rijndael), "aes-192" or "aes-256".
895 --enable-digest Select the digets algorithm to use (default "sha1"). 900 --enable-digest Select the digets algorithm to use (default
896 Must be one of "sha1", "ripemd160", "md5" or "md4" 901 "ripemd160"). Must be one of "sha1", "ripemd160",
897 (insecure). 902 "md5" or "md4" (insecure).
898 903
899Optional Packages: 904Optional Packages:
900 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 905 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
901 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 906 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
902 --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
955 ac_top_srcdir=$srcdir ;; 960 ac_top_srcdir=$srcdir ;;
956 *) # Relative path. 961 *) # Relative path.
957 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 962 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
958 ac_top_srcdir=$ac_top_builddir$srcdir ;; 963 ac_top_srcdir=$ac_top_builddir$srcdir ;;
959esac 964esac
960# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 965
961# absolute. 966# Do not use `cd foo && pwd` to compute absolute paths, because
962ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 967# the directories may not exist.
963ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 968case `pwd` in
964ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 969.) ac_abs_builddir="$ac_dir";;
965ac_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
966 1004
967 cd $ac_dir 1005 cd $ac_dir
968 # Check for guested configure; otherwise get Cygnus style configure. 1006 # Check for guested configure; otherwise get Cygnus style configure.
969 if test -f $ac_srcdir/configure.gnu; then 1007 if test -f $ac_srcdir/configure.gnu; then
970 echo 1008 echo
971 $SHELL $ac_srcdir/configure.gnu --help=recursive 1009 $SHELL $ac_srcdir/configure.gnu --help=recursive
972 elif test -f $ac_srcdir/configure; then 1010 elif test -f $ac_srcdir/configure; then
973 echo 1011 echo
974 $SHELL $ac_srcdir/configure --help=recursive 1012 $SHELL $ac_srcdir/configure --help=recursive
975 elif test -f $ac_srcdir/configure.ac || 1013 elif test -f $ac_srcdir/configure.ac ||
976 test -f $ac_srcdir/configure.in; then 1014 test -f $ac_srcdir/configure.in; then
977 echo 1015 echo
978 $ac_configure --help 1016 $ac_configure --help
979 else 1017 else
980 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
981 fi 1019 fi
985 1023
986test -n "$ac_init_help" && exit 0 1024test -n "$ac_init_help" && exit 0
987if $ac_init_version; then 1025if $ac_init_version; then
988 cat <<\_ACEOF 1026 cat <<\_ACEOF
989 1027
990Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
991Free Software Foundation, Inc. 1028Copyright (C) 2003 Free Software Foundation, Inc.
992This configure script is free software; the Free Software Foundation 1029This configure script is free software; the Free Software Foundation
993gives unlimited permission to copy, distribute and modify it. 1030gives unlimited permission to copy, distribute and modify it.
994_ACEOF 1031_ACEOF
995 exit 0 1032 exit 0
996fi 1033fi
998cat >&5 <<_ACEOF 1035cat >&5 <<_ACEOF
999This file contains any messages produced by compilers while 1036This file contains any messages produced by compilers while
1000running configure, to aid debugging if configure makes a mistake. 1037running configure, to aid debugging if configure makes a mistake.
1001 1038
1002It was created by $as_me, which was 1039It was created by $as_me, which was
1003generated by GNU Autoconf 2.57. Invocation command line was 1040generated by GNU Autoconf 2.59. Invocation command line was
1004 1041
1005 $ $0 $@ 1042 $ $0 $@
1006 1043
1007_ACEOF 1044_ACEOF
1008{ 1045{
1075 case $ac_pass in 1112 case $ac_pass in
1076 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1113 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1077 2) 1114 2)
1078 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1115 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1079 if test $ac_must_keep_next = true; then 1116 if test $ac_must_keep_next = true; then
1080 ac_must_keep_next=false # Got value, back to normal. 1117 ac_must_keep_next=false # Got value, back to normal.
1081 else 1118 else
1082 case $ac_arg in 1119 case $ac_arg in
1083 *=* | --config-cache | -C | -disable-* | --disable-* \ 1120 *=* | --config-cache | -C | -disable-* | --disable-* \
1084 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1121 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1085 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1122 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1086 | -with-* | --with-* | -without-* | --without-* | --x) 1123 | -with-* | --with-* | -without-* | --without-* | --x)
1087 case "$ac_configure_args0 " in 1124 case "$ac_configure_args0 " in
1088 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1125 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1089 esac 1126 esac
1090 ;; 1127 ;;
1091 -* ) ac_must_keep_next=true ;; 1128 -* ) ac_must_keep_next=true ;;
1092 esac 1129 esac
1093 fi 1130 fi
1094 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1131 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1095 # Get rid of the leading space. 1132 # Get rid of the leading space.
1096 ac_sep=" " 1133 ac_sep=" "
1097 ;; 1134 ;;
1121{ 1158{
1122 (set) 2>&1 | 1159 (set) 2>&1 |
1123 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1160 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1124 *ac_space=\ *) 1161 *ac_space=\ *)
1125 sed -n \ 1162 sed -n \
1126 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1163 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1127 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1164 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1128 ;; 1165 ;;
1129 *) 1166 *)
1130 sed -n \ 1167 sed -n \
1131 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1168 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1132 ;; 1169 ;;
1133 esac; 1170 esac;
1134} 1171}
1135 echo 1172 echo
1136 1173
1155_ASBOX 1192_ASBOX
1156 echo 1193 echo
1157 for ac_var in $ac_subst_files 1194 for ac_var in $ac_subst_files
1158 do 1195 do
1159 eval ac_val=$`echo $ac_var` 1196 eval ac_val=$`echo $ac_var`
1160 echo "$ac_var='"'"'$ac_val'"'"'" 1197 echo "$ac_var='"'"'$ac_val'"'"'"
1161 done | sort 1198 done | sort
1162 echo 1199 echo
1163 fi 1200 fi
1164 1201
1165 if test -s confdefs.h; then 1202 if test -s confdefs.h; then
1254 1291
1255# 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
1256# value. 1293# value.
1257ac_cache_corrupted=false 1294ac_cache_corrupted=false
1258for ac_var in `(set) 2>&1 | 1295for ac_var in `(set) 2>&1 |
1259 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
1260 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1297 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1261 eval ac_new_set=\$ac_env_${ac_var}_set 1298 eval ac_new_set=\$ac_env_${ac_var}_set
1262 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1299 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1263 eval ac_new_val="\$ac_env_${ac_var}_value" 1300 eval ac_new_val="\$ac_env_${ac_var}_value"
1264 case $ac_old_set,$ac_new_set in 1301 case $ac_old_set,$ac_new_set in
1271echo "$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;}
1272 ac_cache_corrupted=: ;; 1309 ac_cache_corrupted=: ;;
1273 ,);; 1310 ,);;
1274 *) 1311 *)
1275 if test "x$ac_old_val" != "x$ac_new_val"; then 1312 if test "x$ac_old_val" != "x$ac_new_val"; then
1276 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1313 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1277echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1314echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1278 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1315 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1279echo "$as_me: former value: $ac_old_val" >&2;} 1316echo "$as_me: former value: $ac_old_val" >&2;}
1280 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1317 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1281echo "$as_me: current value: $ac_new_val" >&2;} 1318echo "$as_me: current value: $ac_new_val" >&2;}
1282 ac_cache_corrupted=: 1319 ac_cache_corrupted=:
1283 fi;; 1320 fi;;
1284 esac 1321 esac
1285 # Pass precious variables to config.status. 1322 # Pass precious variables to config.status.
1286 if test "$ac_new_set" = set; then 1323 if test "$ac_new_set" = set; then
1287 case $ac_new_val in 1324 case $ac_new_val in
1325 1362
1326 1363
1327 1364
1328 1365
1329 1366
1367
1330ac_aux_dir= 1368ac_aux_dir=
1331for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1369for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1332 if test -f $ac_dir/install-sh; then 1370 if test -f $ac_dir/install-sh; then
1333 ac_aux_dir=$ac_dir 1371 ac_aux_dir=$ac_dir
1334 ac_install_sh="$ac_aux_dir/install-sh -c" 1372 ac_install_sh="$ac_aux_dir/install-sh -c"
1432# will get canonicalized. 1470# will get canonicalized.
1433test -n "$target_alias" && 1471test -n "$target_alias" &&
1434 test "$program_prefix$program_suffix$program_transform_name" = \ 1472 test "$program_prefix$program_suffix$program_transform_name" = \
1435 NONENONEs,x,x, && 1473 NONENONEs,x,x, &&
1436 program_prefix=${target_alias}- 1474 program_prefix=${target_alias}-
1437am__api_version="1.7" 1475am__api_version="1.9"
1438# Find a good install program. We prefer a C program (faster), 1476# Find a good install program. We prefer a C program (faster),
1439# 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
1440# incompatible versions: 1478# incompatible versions:
1441# SysV /etc/install, /usr/sbin/install 1479# SysV /etc/install, /usr/sbin/install
1442# SunOS /usr/etc/install 1480# SunOS /usr/etc/install
1444# AIX /bin/install 1482# AIX /bin/install
1445# AmigaOS /C/install, which installs bootblocks on floppy discs 1483# AmigaOS /C/install, which installs bootblocks on floppy discs
1446# 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
1447# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1485# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1448# 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
1449# ./install, which can be erroneously created by make from ./install.sh. 1488# ./install, which can be erroneously created by make from ./install.sh.
1450echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1489echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1451echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 1490echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1452if test -z "$INSTALL"; then 1491if test -z "$INSTALL"; then
1453if test "${ac_cv_path_install+set}" = set; then 1492if test "${ac_cv_path_install+set}" = set; then
1460 test -z "$as_dir" && as_dir=. 1499 test -z "$as_dir" && as_dir=.
1461 # Account for people who put trailing slashes in PATH elements. 1500 # Account for people who put trailing slashes in PATH elements.
1462case $as_dir/ in 1501case $as_dir/ in
1463 ./ | .// | /cC/* | \ 1502 ./ | .// | /cC/* | \
1464 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1503 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1504 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1465 /usr/ucb/* ) ;; 1505 /usr/ucb/* ) ;;
1466 *) 1506 *)
1467 # 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.
1468 # 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
1469 # by default. 1509 # by default.
1470 for ac_prog in ginstall scoinst install; do 1510 for ac_prog in ginstall scoinst install; do
1471 for ac_exec_ext in '' $ac_executable_extensions; do 1511 for ac_exec_ext in '' $ac_executable_extensions; do
1472 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
1473 if test $ac_prog = install && 1513 if test $ac_prog = install &&
1474 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
1475 # AIX install. It has an incompatible calling convention. 1515 # AIX install. It has an incompatible calling convention.
1476 : 1516 :
1477 elif test $ac_prog = install && 1517 elif test $ac_prog = install &&
1478 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
1479 # program-specific install script used by HP pwplus--don't use. 1519 # program-specific install script used by HP pwplus--don't use.
1480 : 1520 :
1481 else 1521 else
1482 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"
1483 break 3 1523 break 3
1484 fi 1524 fi
1485 fi 1525 fi
1486 done 1526 done
1487 done 1527 done
1488 ;; 1528 ;;
1489esac 1529esac
1490done 1530done
1568s/[\\$]/&&/g;s/;s,x,x,$// 1608s/[\\$]/&&/g;s/;s,x,x,$//
1569_ACEOF 1609_ACEOF
1570program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1610program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1571rm conftest.sed 1611rm conftest.sed
1572 1612
1573
1574# expand $ac_aux_dir to an absolute path 1613# expand $ac_aux_dir to an absolute path
1575am_aux_dir=`cd $ac_aux_dir && pwd` 1614am_aux_dir=`cd $ac_aux_dir && pwd`
1576 1615
1577test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1616test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1578# Use eval to expand $SHELL 1617# Use eval to expand $SHELL
1580 am_missing_run="$MISSING --run " 1619 am_missing_run="$MISSING --run "
1581else 1620else
1582 am_missing_run= 1621 am_missing_run=
1583 { 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
1584echo "$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
1585fi 1657fi
1586 1658
1587for ac_prog in gawk mawk nawk awk 1659for ac_prog in gawk mawk nawk awk
1588do 1660do
1589 # 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.
1624 test -n "$AWK" && break 1696 test -n "$AWK" && break
1625done 1697done
1626 1698
1627echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1699echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1628echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 1700echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1629set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 1701set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1630if 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
1631 echo $ECHO_N "(cached) $ECHO_C" >&6 1703 echo $ECHO_N "(cached) $ECHO_C" >&6
1632else 1704else
1633 cat >conftest.make <<\_ACEOF 1705 cat >conftest.make <<\_ACEOF
1634all: 1706all:
1660else 1732else
1661 am__leading_dot=_ 1733 am__leading_dot=_
1662fi 1734fi
1663rmdir .tst 2>/dev/null 1735rmdir .tst 2>/dev/null
1664 1736
1665 # test to see if srcdir already configured 1737# test to see if srcdir already configured
1666if test "`cd $srcdir && pwd`" != "`pwd`" && 1738if test "`cd $srcdir && pwd`" != "`pwd`" &&
1667 test -f $srcdir/config.status; then 1739 test -f $srcdir/config.status; then
1668 { { 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
1669echo "$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;}
1670 { (exit 1); exit 1; }; } 1742 { (exit 1); exit 1; }; }
1679 fi 1751 fi
1680fi 1752fi
1681 1753
1682 1754
1683# Define the identity of the package. 1755# Define the identity of the package.
1684 PACKAGE=vpe 1756 PACKAGE=gvpe
1685 VERSION=1.2 1757 VERSION=2.0
1686 1758
1687 1759
1688cat >>confdefs.h <<_ACEOF 1760cat >>confdefs.h <<_ACEOF
1689#define PACKAGE "$PACKAGE" 1761#define PACKAGE "$PACKAGE"
1690_ACEOF 1762_ACEOF
1707 1779
1708AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 1780AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1709 1781
1710 1782
1711MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 1783MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1712
1713
1714AMTAR=${AMTAR-"${am_missing_run}tar"}
1715 1784
1716install_sh=${install_sh-"$am_aux_dir/install-sh"} 1785install_sh=${install_sh-"$am_aux_dir/install-sh"}
1717 1786
1718# Installed binaries are usually stripped using `strip' when the user 1787# Installed binaries are usually stripped using `strip' when the user
1719# run `make install-strip'. However `strip' might not be the right 1788# run `make install-strip'. However `strip' might not be the right
1803fi 1872fi
1804INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 1873INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1805 1874
1806# 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
1807# 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
1808 1884
1809 1885
1810 1886
1811 ac_config_headers="$ac_config_headers config.h" 1887 ac_config_headers="$ac_config_headers config.h"
1812 1888
2456 ac_status=$? 2532 ac_status=$?
2457 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458 (exit $ac_status); } 2534 (exit $ac_status); }
2459 2535
2460cat >conftest.$ac_ext <<_ACEOF 2536cat >conftest.$ac_ext <<_ACEOF
2461#line $LINENO "configure"
2462/* confdefs.h. */ 2537/* confdefs.h. */
2463_ACEOF 2538_ACEOF
2464cat confdefs.h >>conftest.$ac_ext 2539cat confdefs.h >>conftest.$ac_ext
2465cat >>conftest.$ac_ext <<_ACEOF 2540cat >>conftest.$ac_ext <<_ACEOF
2466/* end confdefs.h. */ 2541/* end confdefs.h. */
2476ac_clean_files_save=$ac_clean_files 2551ac_clean_files_save=$ac_clean_files
2477ac_clean_files="$ac_clean_files a.out a.exe b.out" 2552ac_clean_files="$ac_clean_files a.out a.exe b.out"
2478# Try to create an executable without -o first, disregard a.out. 2553# Try to create an executable without -o first, disregard a.out.
2479# 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
2480# of exeext. 2555# of exeext.
2481echo "$as_me:$LINENO: checking for C compiler default output" >&5 2556echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2482echo $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
2483ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2558ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2484if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 2559if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2485 (eval $ac_link_default) 2>&5 2560 (eval $ac_link_default) 2>&5
2486 ac_status=$? 2561 ac_status=$?
2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2572for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2498do 2573do
2499 test -f "$ac_file" || continue 2574 test -f "$ac_file" || continue
2500 case $ac_file in 2575 case $ac_file in
2501 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 2576 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2502 ;; 2577 ;;
2503 conftest.$ac_ext ) 2578 conftest.$ac_ext )
2504 # This is the source file. 2579 # This is the source file.
2505 ;; 2580 ;;
2506 [ab].out ) 2581 [ab].out )
2507 # We found the default executable, but exeext='' is most 2582 # We found the default executable, but exeext='' is most
2508 # certainly right. 2583 # certainly right.
2509 break;; 2584 break;;
2510 *.* ) 2585 *.* )
2511 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2586 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2512 # FIXME: I believe we export ac_cv_exeext for Libtool, 2587 # FIXME: I believe we export ac_cv_exeext for Libtool,
2513 # but it would be cool to find out if it's true. Does anybody 2588 # but it would be cool to find out if it's true. Does anybody
2514 # maintain Libtool? --akim. 2589 # maintain Libtool? --akim.
2515 export ac_cv_exeext 2590 export ac_cv_exeext
2516 break;; 2591 break;;
2517 * ) 2592 * )
2518 break;; 2593 break;;
2519 esac 2594 esac
2520done 2595done
2521else 2596else
2522 echo "$as_me: failed program was:" >&5 2597 echo "$as_me: failed program was:" >&5
2523sed 's/^/| /' conftest.$ac_ext >&5 2598sed 's/^/| /' conftest.$ac_ext >&5
2587for ac_file in conftest.exe conftest conftest.*; do 2662for ac_file in conftest.exe conftest conftest.*; do
2588 test -f "$ac_file" || continue 2663 test -f "$ac_file" || continue
2589 case $ac_file in 2664 case $ac_file in
2590 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2665 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2591 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2666 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2592 export ac_cv_exeext 2667 export ac_cv_exeext
2593 break;; 2668 break;;
2594 * ) break;; 2669 * ) break;;
2595 esac 2670 esac
2596done 2671done
2597else 2672else
2598 { { 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
2613echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2688echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2614if test "${ac_cv_objext+set}" = set; then 2689if test "${ac_cv_objext+set}" = set; then
2615 echo $ECHO_N "(cached) $ECHO_C" >&6 2690 echo $ECHO_N "(cached) $ECHO_C" >&6
2616else 2691else
2617 cat >conftest.$ac_ext <<_ACEOF 2692 cat >conftest.$ac_ext <<_ACEOF
2618#line $LINENO "configure"
2619/* confdefs.h. */ 2693/* confdefs.h. */
2620_ACEOF 2694_ACEOF
2621cat confdefs.h >>conftest.$ac_ext 2695cat confdefs.h >>conftest.$ac_ext
2622cat >>conftest.$ac_ext <<_ACEOF 2696cat >>conftest.$ac_ext <<_ACEOF
2623/* end confdefs.h. */ 2697/* end confdefs.h. */
2664echo $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
2665if test "${ac_cv_c_compiler_gnu+set}" = set; then 2739if test "${ac_cv_c_compiler_gnu+set}" = set; then
2666 echo $ECHO_N "(cached) $ECHO_C" >&6 2740 echo $ECHO_N "(cached) $ECHO_C" >&6
2667else 2741else
2668 cat >conftest.$ac_ext <<_ACEOF 2742 cat >conftest.$ac_ext <<_ACEOF
2669#line $LINENO "configure"
2670/* confdefs.h. */ 2743/* confdefs.h. */
2671_ACEOF 2744_ACEOF
2672cat confdefs.h >>conftest.$ac_ext 2745cat confdefs.h >>conftest.$ac_ext
2673cat >>conftest.$ac_ext <<_ACEOF 2746cat >>conftest.$ac_ext <<_ACEOF
2674/* end confdefs.h. */ 2747/* end confdefs.h. */
2684 return 0; 2757 return 0;
2685} 2758}
2686_ACEOF 2759_ACEOF
2687rm -f conftest.$ac_objext 2760rm -f conftest.$ac_objext
2688if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2761if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2689 (eval $ac_compile) 2>&5 2762 (eval $ac_compile) 2>conftest.er1
2690 ac_status=$? 2763 ac_status=$?
2764 grep -v '^ *+' conftest.er1 >conftest.err
2765 rm -f conftest.er1
2766 cat conftest.err >&5
2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); } && 2768 (exit $ac_status); } &&
2693 { ac_try='test -s conftest.$ac_objext' 2769 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2695 (eval $ac_try) 2>&5 2771 (eval $ac_try) 2>&5
2696 ac_status=$? 2772 ac_status=$?
2697 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
2698 (exit $ac_status); }; }; then 2780 (exit $ac_status); }; }; then
2699 ac_compiler_gnu=yes 2781 ac_compiler_gnu=yes
2700else 2782else
2701 echo "$as_me: failed program was:" >&5 2783 echo "$as_me: failed program was:" >&5
2702sed 's/^/| /' conftest.$ac_ext >&5 2784sed 's/^/| /' conftest.$ac_ext >&5
2703 2785
2704ac_compiler_gnu=no 2786ac_compiler_gnu=no
2705fi 2787fi
2706rm -f conftest.$ac_objext conftest.$ac_ext 2788rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2707ac_cv_c_compiler_gnu=$ac_compiler_gnu 2789ac_cv_c_compiler_gnu=$ac_compiler_gnu
2708 2790
2709fi 2791fi
2710echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2792echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2711echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2793echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2717echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2799echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2718if test "${ac_cv_prog_cc_g+set}" = set; then 2800if test "${ac_cv_prog_cc_g+set}" = set; then
2719 echo $ECHO_N "(cached) $ECHO_C" >&6 2801 echo $ECHO_N "(cached) $ECHO_C" >&6
2720else 2802else
2721 cat >conftest.$ac_ext <<_ACEOF 2803 cat >conftest.$ac_ext <<_ACEOF
2722#line $LINENO "configure"
2723/* confdefs.h. */ 2804/* confdefs.h. */
2724_ACEOF 2805_ACEOF
2725cat confdefs.h >>conftest.$ac_ext 2806cat confdefs.h >>conftest.$ac_ext
2726cat >>conftest.$ac_ext <<_ACEOF 2807cat >>conftest.$ac_ext <<_ACEOF
2727/* end confdefs.h. */ 2808/* end confdefs.h. */
2734 return 0; 2815 return 0;
2735} 2816}
2736_ACEOF 2817_ACEOF
2737rm -f conftest.$ac_objext 2818rm -f conftest.$ac_objext
2738if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2819if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2739 (eval $ac_compile) 2>&5 2820 (eval $ac_compile) 2>conftest.er1
2740 ac_status=$? 2821 ac_status=$?
2822 grep -v '^ *+' conftest.er1 >conftest.err
2823 rm -f conftest.er1
2824 cat conftest.err >&5
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); } && 2826 (exit $ac_status); } &&
2743 { ac_try='test -s conftest.$ac_objext' 2827 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2745 (eval $ac_try) 2>&5 2829 (eval $ac_try) 2>&5
2746 ac_status=$? 2830 ac_status=$?
2747 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
2748 (exit $ac_status); }; }; then 2838 (exit $ac_status); }; }; then
2749 ac_cv_prog_cc_g=yes 2839 ac_cv_prog_cc_g=yes
2750else 2840else
2751 echo "$as_me: failed program was:" >&5 2841 echo "$as_me: failed program was:" >&5
2752sed 's/^/| /' conftest.$ac_ext >&5 2842sed 's/^/| /' conftest.$ac_ext >&5
2753 2843
2754ac_cv_prog_cc_g=no 2844ac_cv_prog_cc_g=no
2755fi 2845fi
2756rm -f conftest.$ac_objext conftest.$ac_ext 2846rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2757fi 2847fi
2758echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2848echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2759echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2849echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2760if test "$ac_test_CFLAGS" = set; then 2850if test "$ac_test_CFLAGS" = set; then
2761 CFLAGS=$ac_save_CFLAGS 2851 CFLAGS=$ac_save_CFLAGS
2778 echo $ECHO_N "(cached) $ECHO_C" >&6 2868 echo $ECHO_N "(cached) $ECHO_C" >&6
2779else 2869else
2780 ac_cv_prog_cc_stdc=no 2870 ac_cv_prog_cc_stdc=no
2781ac_save_CC=$CC 2871ac_save_CC=$CC
2782cat >conftest.$ac_ext <<_ACEOF 2872cat >conftest.$ac_ext <<_ACEOF
2783#line $LINENO "configure"
2784/* confdefs.h. */ 2873/* confdefs.h. */
2785_ACEOF 2874_ACEOF
2786cat confdefs.h >>conftest.$ac_ext 2875cat confdefs.h >>conftest.$ac_ext
2787cat >>conftest.$ac_ext <<_ACEOF 2876cat >>conftest.$ac_ext <<_ACEOF
2788/* end confdefs.h. */ 2877/* end confdefs.h. */
2806 va_start (v,p); 2895 va_start (v,p);
2807 s = g (p, va_arg (v,int)); 2896 s = g (p, va_arg (v,int));
2808 va_end (v); 2897 va_end (v);
2809 return s; 2898 return s;
2810} 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
2811int test (int i, double x); 2910int test (int i, double x);
2812struct s1 {int (*f) (int a);}; 2911struct s1 {int (*f) (int a);};
2813struct s2 {int (*f) (double a);}; 2912struct s2 {int (*f) (double a);};
2814int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2913int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2815int argc; 2914int argc;
2832for 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__"
2833do 2932do
2834 CC="$ac_save_CC $ac_arg" 2933 CC="$ac_save_CC $ac_arg"
2835 rm -f conftest.$ac_objext 2934 rm -f conftest.$ac_objext
2836if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2935if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2837 (eval $ac_compile) 2>&5 2936 (eval $ac_compile) 2>conftest.er1
2838 ac_status=$? 2937 ac_status=$?
2938 grep -v '^ *+' conftest.er1 >conftest.err
2939 rm -f conftest.er1
2940 cat conftest.err >&5
2839 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840 (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); }; } &&
2841 { ac_try='test -s conftest.$ac_objext' 2949 { ac_try='test -s conftest.$ac_objext'
2842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2843 (eval $ac_try) 2>&5 2951 (eval $ac_try) 2>&5
2844 ac_status=$? 2952 ac_status=$?
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); }; }; then 2954 (exit $ac_status); }; }; then
2849else 2957else
2850 echo "$as_me: failed program was:" >&5 2958 echo "$as_me: failed program was:" >&5
2851sed 's/^/| /' conftest.$ac_ext >&5 2959sed 's/^/| /' conftest.$ac_ext >&5
2852 2960
2853fi 2961fi
2854rm -f conftest.$ac_objext 2962rm -f conftest.err conftest.$ac_objext
2855done 2963done
2856rm -f conftest.$ac_ext conftest.$ac_objext 2964rm -f conftest.$ac_ext conftest.$ac_objext
2857CC=$ac_save_CC 2965CC=$ac_save_CC
2858 2966
2859fi 2967fi
2877 choke me 2985 choke me
2878#endif 2986#endif
2879_ACEOF 2987_ACEOF
2880rm -f conftest.$ac_objext 2988rm -f conftest.$ac_objext
2881if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2989if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2882 (eval $ac_compile) 2>&5 2990 (eval $ac_compile) 2>conftest.er1
2883 ac_status=$? 2991 ac_status=$?
2992 grep -v '^ *+' conftest.er1 >conftest.err
2993 rm -f conftest.er1
2994 cat conftest.err >&5
2884 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885 (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); }; } &&
2886 { ac_try='test -s conftest.$ac_objext' 3003 { ac_try='test -s conftest.$ac_objext'
2887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2888 (eval $ac_try) 2>&5 3005 (eval $ac_try) 2>&5
2889 ac_status=$? 3006 ac_status=$?
2890 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2891 (exit $ac_status); }; }; then 3008 (exit $ac_status); }; }; then
2896 'extern "C" void exit (int) throw ();' \ 3013 'extern "C" void exit (int) throw ();' \
2897 'extern "C" void exit (int);' \ 3014 'extern "C" void exit (int);' \
2898 'void exit (int);' 3015 'void exit (int);'
2899do 3016do
2900 cat >conftest.$ac_ext <<_ACEOF 3017 cat >conftest.$ac_ext <<_ACEOF
2901#line $LINENO "configure"
2902/* confdefs.h. */ 3018/* confdefs.h. */
2903_ACEOF 3019_ACEOF
2904cat confdefs.h >>conftest.$ac_ext 3020cat confdefs.h >>conftest.$ac_ext
2905cat >>conftest.$ac_ext <<_ACEOF 3021cat >>conftest.$ac_ext <<_ACEOF
2906/* end confdefs.h. */ 3022/* end confdefs.h. */
2914 return 0; 3030 return 0;
2915} 3031}
2916_ACEOF 3032_ACEOF
2917rm -f conftest.$ac_objext 3033rm -f conftest.$ac_objext
2918if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3034if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2919 (eval $ac_compile) 2>&5 3035 (eval $ac_compile) 2>conftest.er1
2920 ac_status=$? 3036 ac_status=$?
3037 grep -v '^ *+' conftest.er1 >conftest.err
3038 rm -f conftest.er1
3039 cat conftest.err >&5
2921 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922 (exit $ac_status); } && 3041 (exit $ac_status); } &&
2923 { ac_try='test -s conftest.$ac_objext' 3042 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2925 (eval $ac_try) 2>&5 3044 (eval $ac_try) 2>&5
2926 ac_status=$? 3045 ac_status=$?
2927 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
2928 (exit $ac_status); }; }; then 3053 (exit $ac_status); }; }; then
2929 : 3054 :
2930else 3055else
2931 echo "$as_me: failed program was:" >&5 3056 echo "$as_me: failed program was:" >&5
2932sed 's/^/| /' conftest.$ac_ext >&5 3057sed 's/^/| /' conftest.$ac_ext >&5
2933 3058
2934continue 3059continue
2935fi 3060fi
2936rm -f conftest.$ac_objext conftest.$ac_ext 3061rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2937 cat >conftest.$ac_ext <<_ACEOF 3062 cat >conftest.$ac_ext <<_ACEOF
2938#line $LINENO "configure"
2939/* confdefs.h. */ 3063/* confdefs.h. */
2940_ACEOF 3064_ACEOF
2941cat confdefs.h >>conftest.$ac_ext 3065cat confdefs.h >>conftest.$ac_ext
2942cat >>conftest.$ac_ext <<_ACEOF 3066cat >>conftest.$ac_ext <<_ACEOF
2943/* end confdefs.h. */ 3067/* end confdefs.h. */
2950 return 0; 3074 return 0;
2951} 3075}
2952_ACEOF 3076_ACEOF
2953rm -f conftest.$ac_objext 3077rm -f conftest.$ac_objext
2954if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3078if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2955 (eval $ac_compile) 2>&5 3079 (eval $ac_compile) 2>conftest.er1
2956 ac_status=$? 3080 ac_status=$?
3081 grep -v '^ *+' conftest.er1 >conftest.err
3082 rm -f conftest.er1
3083 cat conftest.err >&5
2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); } && 3085 (exit $ac_status); } &&
2959 { ac_try='test -s conftest.$ac_objext' 3086 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2961 (eval $ac_try) 2>&5 3088 (eval $ac_try) 2>&5
2962 ac_status=$? 3089 ac_status=$?
2963 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
2964 (exit $ac_status); }; }; then 3097 (exit $ac_status); }; }; then
2965 break 3098 break
2966else 3099else
2967 echo "$as_me: failed program was:" >&5 3100 echo "$as_me: failed program was:" >&5
2968sed 's/^/| /' conftest.$ac_ext >&5 3101sed 's/^/| /' conftest.$ac_ext >&5
2969 3102
2970fi 3103fi
2971rm -f conftest.$ac_objext conftest.$ac_ext 3104rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2972done 3105done
2973rm -f conftest* 3106rm -f conftest*
2974if test -n "$ac_declaration"; then 3107if test -n "$ac_declaration"; then
2975 echo '#ifdef __cplusplus' >>confdefs.h 3108 echo '#ifdef __cplusplus' >>confdefs.h
2976 echo $ac_declaration >>confdefs.h 3109 echo $ac_declaration >>confdefs.h
2980else 3113else
2981 echo "$as_me: failed program was:" >&5 3114 echo "$as_me: failed program was:" >&5
2982sed 's/^/| /' conftest.$ac_ext >&5 3115sed 's/^/| /' conftest.$ac_ext >&5
2983 3116
2984fi 3117fi
2985rm -f conftest.$ac_objext conftest.$ac_ext 3118rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2986ac_ext=c 3119ac_ext=c
2987ac_cpp='$CPP $CPPFLAGS' 3120ac_cpp='$CPP $CPPFLAGS'
2988ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3121ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2989ac_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'
2990ac_compiler_gnu=$ac_cv_c_compiler_gnu 3123ac_compiler_gnu=$ac_cv_c_compiler_gnu
3028 # overwrite some of them when testing with obscure command lines. 3161 # overwrite some of them when testing with obscure command lines.
3029 # This happens at least with the AIX C compiler. 3162 # This happens at least with the AIX C compiler.
3030 : > sub/conftest.c 3163 : > sub/conftest.c
3031 for i in 1 2 3 4 5 6; do 3164 for i in 1 2 3 4 5 6; do
3032 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.
3033 : > sub/conftst$i.h 3168 touch sub/conftst$i.h
3034 done 3169 done
3035 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3170 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3036 3171
3037 case $depmode in 3172 case $depmode in
3038 nosideeffect) 3173 nosideeffect)
3056 >/dev/null 2>conftest.err && 3191 >/dev/null 2>conftest.err &&
3057 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3192 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3058 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 &&
3059 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3194 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3060 # 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
3061 # (even with -Werror). So we grep stderr for any message 3196 # or remarks (even with -Werror). So we grep stderr for any message
3062 # 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 ||
3063 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 3203 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3064 am_cv_CC_dependencies_compiler_type=$depmode 3204 am_cv_CC_dependencies_compiler_type=$depmode
3065 break 3205 break
3066 fi 3206 fi
3067 fi 3207 fi
3068 done 3208 done
3653echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6 3793echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
3654if test "${gt_cv_func_gnugettext1_libc+set}" = set; then 3794if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
3655 echo $ECHO_N "(cached) $ECHO_C" >&6 3795 echo $ECHO_N "(cached) $ECHO_C" >&6
3656else 3796else
3657 cat >conftest.$ac_ext <<_ACEOF 3797 cat >conftest.$ac_ext <<_ACEOF
3658#line $LINENO "configure"
3659/* confdefs.h. */ 3798/* confdefs.h. */
3660_ACEOF 3799_ACEOF
3661cat confdefs.h >>conftest.$ac_ext 3800cat confdefs.h >>conftest.$ac_ext
3662cat >>conftest.$ac_ext <<_ACEOF 3801cat >>conftest.$ac_ext <<_ACEOF
3663/* end confdefs.h. */ 3802/* end confdefs.h. */
3673 return 0; 3812 return 0;
3674} 3813}
3675_ACEOF 3814_ACEOF
3676rm -f conftest.$ac_objext conftest$ac_exeext 3815rm -f conftest.$ac_objext conftest$ac_exeext
3677if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3816if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3678 (eval $ac_link) 2>&5 3817 (eval $ac_link) 2>conftest.er1
3679 ac_status=$? 3818 ac_status=$?
3819 grep -v '^ *+' conftest.er1 >conftest.err
3820 rm -f conftest.er1
3821 cat conftest.err >&5
3680 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681 (exit $ac_status); } && 3823 (exit $ac_status); } &&
3682 { ac_try='test -s conftest$ac_exeext' 3824 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3684 (eval $ac_try) 2>&5 3826 (eval $ac_try) 2>&5
3685 ac_status=$? 3827 ac_status=$?
3686 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
3687 (exit $ac_status); }; }; then 3835 (exit $ac_status); }; }; then
3688 gt_cv_func_gnugettext1_libc=yes 3836 gt_cv_func_gnugettext1_libc=yes
3689else 3837else
3690 echo "$as_me: failed program was:" >&5 3838 echo "$as_me: failed program was:" >&5
3691sed 's/^/| /' conftest.$ac_ext >&5 3839sed 's/^/| /' conftest.$ac_ext >&5
3692 3840
3693gt_cv_func_gnugettext1_libc=no 3841gt_cv_func_gnugettext1_libc=no
3694fi 3842fi
3695rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3843rm -f conftest.err conftest.$ac_objext \
3844 conftest$ac_exeext conftest.$ac_ext
3696fi 3845fi
3697echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5 3846echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
3698echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6 3847echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
3699 3848
3700 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then 3849 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
3735else 3884else
3736 3885
3737 am_cv_func_iconv="no, consider installing GNU libiconv" 3886 am_cv_func_iconv="no, consider installing GNU libiconv"
3738 am_cv_lib_iconv=no 3887 am_cv_lib_iconv=no
3739 cat >conftest.$ac_ext <<_ACEOF 3888 cat >conftest.$ac_ext <<_ACEOF
3740#line $LINENO "configure"
3741/* confdefs.h. */ 3889/* confdefs.h. */
3742_ACEOF 3890_ACEOF
3743cat confdefs.h >>conftest.$ac_ext 3891cat confdefs.h >>conftest.$ac_ext
3744cat >>conftest.$ac_ext <<_ACEOF 3892cat >>conftest.$ac_ext <<_ACEOF
3745/* end confdefs.h. */ 3893/* end confdefs.h. */
3755 return 0; 3903 return 0;
3756} 3904}
3757_ACEOF 3905_ACEOF
3758rm -f conftest.$ac_objext conftest$ac_exeext 3906rm -f conftest.$ac_objext conftest$ac_exeext
3759if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3907if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3760 (eval $ac_link) 2>&5 3908 (eval $ac_link) 2>conftest.er1
3761 ac_status=$? 3909 ac_status=$?
3910 grep -v '^ *+' conftest.er1 >conftest.err
3911 rm -f conftest.er1
3912 cat conftest.err >&5
3762 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3763 (exit $ac_status); } && 3914 (exit $ac_status); } &&
3764 { ac_try='test -s conftest$ac_exeext' 3915 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3766 (eval $ac_try) 2>&5 3917 (eval $ac_try) 2>&5
3767 ac_status=$? 3918 ac_status=$?
3768 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
3769 (exit $ac_status); }; }; then 3926 (exit $ac_status); }; }; then
3770 am_cv_func_iconv=yes 3927 am_cv_func_iconv=yes
3771else 3928else
3772 echo "$as_me: failed program was:" >&5 3929 echo "$as_me: failed program was:" >&5
3773sed 's/^/| /' conftest.$ac_ext >&5 3930sed 's/^/| /' conftest.$ac_ext >&5
3774 3931
3775fi 3932fi
3776rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3933rm -f conftest.err conftest.$ac_objext \
3934 conftest$ac_exeext conftest.$ac_ext
3777 if test "$am_cv_func_iconv" != yes; then 3935 if test "$am_cv_func_iconv" != yes; then
3778 am_save_LIBS="$LIBS" 3936 am_save_LIBS="$LIBS"
3779 LIBS="$LIBS $LIBICONV" 3937 LIBS="$LIBS $LIBICONV"
3780 cat >conftest.$ac_ext <<_ACEOF 3938 cat >conftest.$ac_ext <<_ACEOF
3781#line $LINENO "configure"
3782/* confdefs.h. */ 3939/* confdefs.h. */
3783_ACEOF 3940_ACEOF
3784cat confdefs.h >>conftest.$ac_ext 3941cat confdefs.h >>conftest.$ac_ext
3785cat >>conftest.$ac_ext <<_ACEOF 3942cat >>conftest.$ac_ext <<_ACEOF
3786/* end confdefs.h. */ 3943/* end confdefs.h. */
3796 return 0; 3953 return 0;
3797} 3954}
3798_ACEOF 3955_ACEOF
3799rm -f conftest.$ac_objext conftest$ac_exeext 3956rm -f conftest.$ac_objext conftest$ac_exeext
3800if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3957if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3801 (eval $ac_link) 2>&5 3958 (eval $ac_link) 2>conftest.er1
3802 ac_status=$? 3959 ac_status=$?
3960 grep -v '^ *+' conftest.er1 >conftest.err
3961 rm -f conftest.er1
3962 cat conftest.err >&5
3803 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3804 (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); }; } &&
3805 { ac_try='test -s conftest$ac_exeext' 3971 { ac_try='test -s conftest$ac_exeext'
3806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3807 (eval $ac_try) 2>&5 3973 (eval $ac_try) 2>&5
3808 ac_status=$? 3974 ac_status=$?
3809 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810 (exit $ac_status); }; }; then 3976 (exit $ac_status); }; }; then
3813else 3979else
3814 echo "$as_me: failed program was:" >&5 3980 echo "$as_me: failed program was:" >&5
3815sed 's/^/| /' conftest.$ac_ext >&5 3981sed 's/^/| /' conftest.$ac_ext >&5
3816 3982
3817fi 3983fi
3818rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3984rm -f conftest.err conftest.$ac_objext \
3985 conftest$ac_exeext conftest.$ac_ext
3819 LIBS="$am_save_LIBS" 3986 LIBS="$am_save_LIBS"
3820 fi 3987 fi
3821 3988
3822fi 3989fi
3823echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 3990echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
4229 gt_save_CPPFLAGS="$CPPFLAGS" 4396 gt_save_CPPFLAGS="$CPPFLAGS"
4230 CPPFLAGS="$CPPFLAGS $INCINTL" 4397 CPPFLAGS="$CPPFLAGS $INCINTL"
4231 gt_save_LIBS="$LIBS" 4398 gt_save_LIBS="$LIBS"
4232 LIBS="$LIBS $LIBINTL" 4399 LIBS="$LIBS $LIBINTL"
4233 cat >conftest.$ac_ext <<_ACEOF 4400 cat >conftest.$ac_ext <<_ACEOF
4234#line $LINENO "configure"
4235/* confdefs.h. */ 4401/* confdefs.h. */
4236_ACEOF 4402_ACEOF
4237cat confdefs.h >>conftest.$ac_ext 4403cat confdefs.h >>conftest.$ac_ext
4238cat >>conftest.$ac_ext <<_ACEOF 4404cat >>conftest.$ac_ext <<_ACEOF
4239/* end confdefs.h. */ 4405/* end confdefs.h. */
4253 return 0; 4419 return 0;
4254} 4420}
4255_ACEOF 4421_ACEOF
4256rm -f conftest.$ac_objext conftest$ac_exeext 4422rm -f conftest.$ac_objext conftest$ac_exeext
4257if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4423if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4258 (eval $ac_link) 2>&5 4424 (eval $ac_link) 2>conftest.er1
4259 ac_status=$? 4425 ac_status=$?
4426 grep -v '^ *+' conftest.er1 >conftest.err
4427 rm -f conftest.er1
4428 cat conftest.err >&5
4260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4261 (exit $ac_status); } && 4430 (exit $ac_status); } &&
4262 { ac_try='test -s conftest$ac_exeext' 4431 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4264 (eval $ac_try) 2>&5 4433 (eval $ac_try) 2>&5
4265 ac_status=$? 4434 ac_status=$?
4266 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
4267 (exit $ac_status); }; }; then 4442 (exit $ac_status); }; }; then
4268 gt_cv_func_gnugettext1_libintl=yes 4443 gt_cv_func_gnugettext1_libintl=yes
4269else 4444else
4270 echo "$as_me: failed program was:" >&5 4445 echo "$as_me: failed program was:" >&5
4271sed 's/^/| /' conftest.$ac_ext >&5 4446sed 's/^/| /' conftest.$ac_ext >&5
4272 4447
4273gt_cv_func_gnugettext1_libintl=no 4448gt_cv_func_gnugettext1_libintl=no
4274fi 4449fi
4275rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4450rm -f conftest.err conftest.$ac_objext \
4451 conftest$ac_exeext conftest.$ac_ext
4276 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
4277 LIBS="$LIBS $LIBICONV" 4453 LIBS="$LIBS $LIBICONV"
4278 cat >conftest.$ac_ext <<_ACEOF 4454 cat >conftest.$ac_ext <<_ACEOF
4279#line $LINENO "configure"
4280/* confdefs.h. */ 4455/* confdefs.h. */
4281_ACEOF 4456_ACEOF
4282cat confdefs.h >>conftest.$ac_ext 4457cat confdefs.h >>conftest.$ac_ext
4283cat >>conftest.$ac_ext <<_ACEOF 4458cat >>conftest.$ac_ext <<_ACEOF
4284/* end confdefs.h. */ 4459/* end confdefs.h. */
4298 return 0; 4473 return 0;
4299} 4474}
4300_ACEOF 4475_ACEOF
4301rm -f conftest.$ac_objext conftest$ac_exeext 4476rm -f conftest.$ac_objext conftest$ac_exeext
4302if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4477if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4303 (eval $ac_link) 2>&5 4478 (eval $ac_link) 2>conftest.er1
4304 ac_status=$? 4479 ac_status=$?
4480 grep -v '^ *+' conftest.er1 >conftest.err
4481 rm -f conftest.er1
4482 cat conftest.err >&5
4305 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4306 (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); }; } &&
4307 { ac_try='test -s conftest$ac_exeext' 4491 { ac_try='test -s conftest$ac_exeext'
4308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4309 (eval $ac_try) 2>&5 4493 (eval $ac_try) 2>&5
4310 ac_status=$? 4494 ac_status=$?
4311 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4312 (exit $ac_status); }; }; then 4496 (exit $ac_status); }; }; then
4317else 4501else
4318 echo "$as_me: failed program was:" >&5 4502 echo "$as_me: failed program was:" >&5
4319sed 's/^/| /' conftest.$ac_ext >&5 4503sed 's/^/| /' conftest.$ac_ext >&5
4320 4504
4321fi 4505fi
4322rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4506rm -f conftest.err conftest.$ac_objext \
4507 conftest$ac_exeext conftest.$ac_ext
4323 fi 4508 fi
4324 CPPFLAGS="$gt_save_CPPFLAGS" 4509 CPPFLAGS="$gt_save_CPPFLAGS"
4325 LIBS="$gt_save_LIBS" 4510 LIBS="$gt_save_LIBS"
4326fi 4511fi
4327echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5 4512echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
4418cat >>confdefs.h <<\_ACEOF 4603cat >>confdefs.h <<\_ACEOF
4419#define _GNU_SOURCE 1 4604#define _GNU_SOURCE 1
4420_ACEOF 4605_ACEOF
4421 4606
4422 4607
4423cat >>confdefs.h <<\_ACEOF 4608# do NOT define POSIX_SOURCE, sicne this clashes with many BSDs
4424#define __USE_BSD 1
4425_ACEOF
4426
4427 4609
4428ALL_LINGUAS="" 4610ALL_LINGUAS=""
4429 4611
4430ac_ext=c 4612ac_ext=c
4431ac_cpp='$CPP $CPPFLAGS' 4613ac_cpp='$CPP $CPPFLAGS'
4766echo $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
4767if test "${ac_cv_c_compiler_gnu+set}" = set; then 4949if test "${ac_cv_c_compiler_gnu+set}" = set; then
4768 echo $ECHO_N "(cached) $ECHO_C" >&6 4950 echo $ECHO_N "(cached) $ECHO_C" >&6
4769else 4951else
4770 cat >conftest.$ac_ext <<_ACEOF 4952 cat >conftest.$ac_ext <<_ACEOF
4771#line $LINENO "configure"
4772/* confdefs.h. */ 4953/* confdefs.h. */
4773_ACEOF 4954_ACEOF
4774cat confdefs.h >>conftest.$ac_ext 4955cat confdefs.h >>conftest.$ac_ext
4775cat >>conftest.$ac_ext <<_ACEOF 4956cat >>conftest.$ac_ext <<_ACEOF
4776/* end confdefs.h. */ 4957/* end confdefs.h. */
4786 return 0; 4967 return 0;
4787} 4968}
4788_ACEOF 4969_ACEOF
4789rm -f conftest.$ac_objext 4970rm -f conftest.$ac_objext
4790if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4971if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4791 (eval $ac_compile) 2>&5 4972 (eval $ac_compile) 2>conftest.er1
4792 ac_status=$? 4973 ac_status=$?
4974 grep -v '^ *+' conftest.er1 >conftest.err
4975 rm -f conftest.er1
4976 cat conftest.err >&5
4793 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4794 (exit $ac_status); } && 4978 (exit $ac_status); } &&
4795 { ac_try='test -s conftest.$ac_objext' 4979 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4797 (eval $ac_try) 2>&5 4981 (eval $ac_try) 2>&5
4798 ac_status=$? 4982 ac_status=$?
4799 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
4800 (exit $ac_status); }; }; then 4990 (exit $ac_status); }; }; then
4801 ac_compiler_gnu=yes 4991 ac_compiler_gnu=yes
4802else 4992else
4803 echo "$as_me: failed program was:" >&5 4993 echo "$as_me: failed program was:" >&5
4804sed 's/^/| /' conftest.$ac_ext >&5 4994sed 's/^/| /' conftest.$ac_ext >&5
4805 4995
4806ac_compiler_gnu=no 4996ac_compiler_gnu=no
4807fi 4997fi
4808rm -f conftest.$ac_objext conftest.$ac_ext 4998rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4809ac_cv_c_compiler_gnu=$ac_compiler_gnu 4999ac_cv_c_compiler_gnu=$ac_compiler_gnu
4810 5000
4811fi 5001fi
4812echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 5002echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4813echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 5003echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4819echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 5009echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4820if test "${ac_cv_prog_cc_g+set}" = set; then 5010if test "${ac_cv_prog_cc_g+set}" = set; then
4821 echo $ECHO_N "(cached) $ECHO_C" >&6 5011 echo $ECHO_N "(cached) $ECHO_C" >&6
4822else 5012else
4823 cat >conftest.$ac_ext <<_ACEOF 5013 cat >conftest.$ac_ext <<_ACEOF
4824#line $LINENO "configure"
4825/* confdefs.h. */ 5014/* confdefs.h. */
4826_ACEOF 5015_ACEOF
4827cat confdefs.h >>conftest.$ac_ext 5016cat confdefs.h >>conftest.$ac_ext
4828cat >>conftest.$ac_ext <<_ACEOF 5017cat >>conftest.$ac_ext <<_ACEOF
4829/* end confdefs.h. */ 5018/* end confdefs.h. */
4836 return 0; 5025 return 0;
4837} 5026}
4838_ACEOF 5027_ACEOF
4839rm -f conftest.$ac_objext 5028rm -f conftest.$ac_objext
4840if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5029if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4841 (eval $ac_compile) 2>&5 5030 (eval $ac_compile) 2>conftest.er1
4842 ac_status=$? 5031 ac_status=$?
5032 grep -v '^ *+' conftest.er1 >conftest.err
5033 rm -f conftest.er1
5034 cat conftest.err >&5
4843 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4844 (exit $ac_status); } && 5036 (exit $ac_status); } &&
4845 { ac_try='test -s conftest.$ac_objext' 5037 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4847 (eval $ac_try) 2>&5 5039 (eval $ac_try) 2>&5
4848 ac_status=$? 5040 ac_status=$?
4849 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
4850 (exit $ac_status); }; }; then 5048 (exit $ac_status); }; }; then
4851 ac_cv_prog_cc_g=yes 5049 ac_cv_prog_cc_g=yes
4852else 5050else
4853 echo "$as_me: failed program was:" >&5 5051 echo "$as_me: failed program was:" >&5
4854sed 's/^/| /' conftest.$ac_ext >&5 5052sed 's/^/| /' conftest.$ac_ext >&5
4855 5053
4856ac_cv_prog_cc_g=no 5054ac_cv_prog_cc_g=no
4857fi 5055fi
4858rm -f conftest.$ac_objext conftest.$ac_ext 5056rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4859fi 5057fi
4860echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 5058echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4861echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 5059echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4862if test "$ac_test_CFLAGS" = set; then 5060if test "$ac_test_CFLAGS" = set; then
4863 CFLAGS=$ac_save_CFLAGS 5061 CFLAGS=$ac_save_CFLAGS
4880 echo $ECHO_N "(cached) $ECHO_C" >&6 5078 echo $ECHO_N "(cached) $ECHO_C" >&6
4881else 5079else
4882 ac_cv_prog_cc_stdc=no 5080 ac_cv_prog_cc_stdc=no
4883ac_save_CC=$CC 5081ac_save_CC=$CC
4884cat >conftest.$ac_ext <<_ACEOF 5082cat >conftest.$ac_ext <<_ACEOF
4885#line $LINENO "configure"
4886/* confdefs.h. */ 5083/* confdefs.h. */
4887_ACEOF 5084_ACEOF
4888cat confdefs.h >>conftest.$ac_ext 5085cat confdefs.h >>conftest.$ac_ext
4889cat >>conftest.$ac_ext <<_ACEOF 5086cat >>conftest.$ac_ext <<_ACEOF
4890/* end confdefs.h. */ 5087/* end confdefs.h. */
4908 va_start (v,p); 5105 va_start (v,p);
4909 s = g (p, va_arg (v,int)); 5106 s = g (p, va_arg (v,int));
4910 va_end (v); 5107 va_end (v);
4911 return s; 5108 return s;
4912} 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
4913int test (int i, double x); 5120int test (int i, double x);
4914struct s1 {int (*f) (int a);}; 5121struct s1 {int (*f) (int a);};
4915struct s2 {int (*f) (double a);}; 5122struct s2 {int (*f) (double a);};
4916int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 5123int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4917int argc; 5124int argc;
4934for 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__"
4935do 5142do
4936 CC="$ac_save_CC $ac_arg" 5143 CC="$ac_save_CC $ac_arg"
4937 rm -f conftest.$ac_objext 5144 rm -f conftest.$ac_objext
4938if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5145if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4939 (eval $ac_compile) 2>&5 5146 (eval $ac_compile) 2>conftest.er1
4940 ac_status=$? 5147 ac_status=$?
5148 grep -v '^ *+' conftest.er1 >conftest.err
5149 rm -f conftest.er1
5150 cat conftest.err >&5
4941 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4942 (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); }; } &&
4943 { ac_try='test -s conftest.$ac_objext' 5159 { ac_try='test -s conftest.$ac_objext'
4944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4945 (eval $ac_try) 2>&5 5161 (eval $ac_try) 2>&5
4946 ac_status=$? 5162 ac_status=$?
4947 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4948 (exit $ac_status); }; }; then 5164 (exit $ac_status); }; }; then
4951else 5167else
4952 echo "$as_me: failed program was:" >&5 5168 echo "$as_me: failed program was:" >&5
4953sed 's/^/| /' conftest.$ac_ext >&5 5169sed 's/^/| /' conftest.$ac_ext >&5
4954 5170
4955fi 5171fi
4956rm -f conftest.$ac_objext 5172rm -f conftest.err conftest.$ac_objext
4957done 5173done
4958rm -f conftest.$ac_ext conftest.$ac_objext 5174rm -f conftest.$ac_ext conftest.$ac_objext
4959CC=$ac_save_CC 5175CC=$ac_save_CC
4960 5176
4961fi 5177fi
4979 choke me 5195 choke me
4980#endif 5196#endif
4981_ACEOF 5197_ACEOF
4982rm -f conftest.$ac_objext 5198rm -f conftest.$ac_objext
4983if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5199if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4984 (eval $ac_compile) 2>&5 5200 (eval $ac_compile) 2>conftest.er1
4985 ac_status=$? 5201 ac_status=$?
5202 grep -v '^ *+' conftest.er1 >conftest.err
5203 rm -f conftest.er1
5204 cat conftest.err >&5
4986 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4987 (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); }; } &&
4988 { ac_try='test -s conftest.$ac_objext' 5213 { ac_try='test -s conftest.$ac_objext'
4989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4990 (eval $ac_try) 2>&5 5215 (eval $ac_try) 2>&5
4991 ac_status=$? 5216 ac_status=$?
4992 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4993 (exit $ac_status); }; }; then 5218 (exit $ac_status); }; }; then
4998 'extern "C" void exit (int) throw ();' \ 5223 'extern "C" void exit (int) throw ();' \
4999 'extern "C" void exit (int);' \ 5224 'extern "C" void exit (int);' \
5000 'void exit (int);' 5225 'void exit (int);'
5001do 5226do
5002 cat >conftest.$ac_ext <<_ACEOF 5227 cat >conftest.$ac_ext <<_ACEOF
5003#line $LINENO "configure"
5004/* confdefs.h. */ 5228/* confdefs.h. */
5005_ACEOF 5229_ACEOF
5006cat confdefs.h >>conftest.$ac_ext 5230cat confdefs.h >>conftest.$ac_ext
5007cat >>conftest.$ac_ext <<_ACEOF 5231cat >>conftest.$ac_ext <<_ACEOF
5008/* end confdefs.h. */ 5232/* end confdefs.h. */
5016 return 0; 5240 return 0;
5017} 5241}
5018_ACEOF 5242_ACEOF
5019rm -f conftest.$ac_objext 5243rm -f conftest.$ac_objext
5020if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5244if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5021 (eval $ac_compile) 2>&5 5245 (eval $ac_compile) 2>conftest.er1
5022 ac_status=$? 5246 ac_status=$?
5247 grep -v '^ *+' conftest.er1 >conftest.err
5248 rm -f conftest.er1
5249 cat conftest.err >&5
5023 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5024 (exit $ac_status); } && 5251 (exit $ac_status); } &&
5025 { ac_try='test -s conftest.$ac_objext' 5252 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5027 (eval $ac_try) 2>&5 5254 (eval $ac_try) 2>&5
5028 ac_status=$? 5255 ac_status=$?
5029 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
5030 (exit $ac_status); }; }; then 5263 (exit $ac_status); }; }; then
5031 : 5264 :
5032else 5265else
5033 echo "$as_me: failed program was:" >&5 5266 echo "$as_me: failed program was:" >&5
5034sed 's/^/| /' conftest.$ac_ext >&5 5267sed 's/^/| /' conftest.$ac_ext >&5
5035 5268
5036continue 5269continue
5037fi 5270fi
5038rm -f conftest.$ac_objext conftest.$ac_ext 5271rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5039 cat >conftest.$ac_ext <<_ACEOF 5272 cat >conftest.$ac_ext <<_ACEOF
5040#line $LINENO "configure"
5041/* confdefs.h. */ 5273/* confdefs.h. */
5042_ACEOF 5274_ACEOF
5043cat confdefs.h >>conftest.$ac_ext 5275cat confdefs.h >>conftest.$ac_ext
5044cat >>conftest.$ac_ext <<_ACEOF 5276cat >>conftest.$ac_ext <<_ACEOF
5045/* end confdefs.h. */ 5277/* end confdefs.h. */
5052 return 0; 5284 return 0;
5053} 5285}
5054_ACEOF 5286_ACEOF
5055rm -f conftest.$ac_objext 5287rm -f conftest.$ac_objext
5056if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5288if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5057 (eval $ac_compile) 2>&5 5289 (eval $ac_compile) 2>conftest.er1
5058 ac_status=$? 5290 ac_status=$?
5291 grep -v '^ *+' conftest.er1 >conftest.err
5292 rm -f conftest.er1
5293 cat conftest.err >&5
5059 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5060 (exit $ac_status); } && 5295 (exit $ac_status); } &&
5061 { ac_try='test -s conftest.$ac_objext' 5296 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5063 (eval $ac_try) 2>&5 5298 (eval $ac_try) 2>&5
5064 ac_status=$? 5299 ac_status=$?
5065 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
5066 (exit $ac_status); }; }; then 5307 (exit $ac_status); }; }; then
5067 break 5308 break
5068else 5309else
5069 echo "$as_me: failed program was:" >&5 5310 echo "$as_me: failed program was:" >&5
5070sed 's/^/| /' conftest.$ac_ext >&5 5311sed 's/^/| /' conftest.$ac_ext >&5
5071 5312
5072fi 5313fi
5073rm -f conftest.$ac_objext conftest.$ac_ext 5314rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5074done 5315done
5075rm -f conftest* 5316rm -f conftest*
5076if test -n "$ac_declaration"; then 5317if test -n "$ac_declaration"; then
5077 echo '#ifdef __cplusplus' >>confdefs.h 5318 echo '#ifdef __cplusplus' >>confdefs.h
5078 echo $ac_declaration >>confdefs.h 5319 echo $ac_declaration >>confdefs.h
5082else 5323else
5083 echo "$as_me: failed program was:" >&5 5324 echo "$as_me: failed program was:" >&5
5084sed 's/^/| /' conftest.$ac_ext >&5 5325sed 's/^/| /' conftest.$ac_ext >&5
5085 5326
5086fi 5327fi
5087rm -f conftest.$ac_objext conftest.$ac_ext 5328rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5088ac_ext=c 5329ac_ext=c
5089ac_cpp='$CPP $CPPFLAGS' 5330ac_cpp='$CPP $CPPFLAGS'
5090ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5331ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5091ac_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'
5092ac_compiler_gnu=$ac_cv_c_compiler_gnu 5333ac_compiler_gnu=$ac_cv_c_compiler_gnu
5130 # overwrite some of them when testing with obscure command lines. 5371 # overwrite some of them when testing with obscure command lines.
5131 # This happens at least with the AIX C compiler. 5372 # This happens at least with the AIX C compiler.
5132 : > sub/conftest.c 5373 : > sub/conftest.c
5133 for i in 1 2 3 4 5 6; do 5374 for i in 1 2 3 4 5 6; do
5134 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.
5135 : > sub/conftst$i.h 5378 touch sub/conftst$i.h
5136 done 5379 done
5137 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5380 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5138 5381
5139 case $depmode in 5382 case $depmode in
5140 nosideeffect) 5383 nosideeffect)
5158 >/dev/null 2>conftest.err && 5401 >/dev/null 2>conftest.err &&
5159 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5402 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5160 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 &&
5161 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5404 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5162 # 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
5163 # (even with -Werror). So we grep stderr for any message 5406 # or remarks (even with -Werror). So we grep stderr for any message
5164 # 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 ||
5165 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 5413 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5166 am_cv_CC_dependencies_compiler_type=$depmode 5414 am_cv_CC_dependencies_compiler_type=$depmode
5167 break 5415 break
5168 fi 5416 fi
5169 fi 5417 fi
5170 done 5418 done
5219 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5467 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5220 # <limits.h> exists even on freestanding compilers. 5468 # <limits.h> exists even on freestanding compilers.
5221 # 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,
5222 # 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.
5223 cat >conftest.$ac_ext <<_ACEOF 5471 cat >conftest.$ac_ext <<_ACEOF
5224#line $LINENO "configure"
5225/* confdefs.h. */ 5472/* confdefs.h. */
5226_ACEOF 5473_ACEOF
5227cat confdefs.h >>conftest.$ac_ext 5474cat confdefs.h >>conftest.$ac_ext
5228cat >>conftest.$ac_ext <<_ACEOF 5475cat >>conftest.$ac_ext <<_ACEOF
5229/* end confdefs.h. */ 5476/* end confdefs.h. */
5230#ifdef __STDC__ 5477#ifdef __STDC__
5231# include <limits.h> 5478# include <limits.h>
5232#else 5479#else
5233# include <assert.h> 5480# include <assert.h>
5234#endif 5481#endif
5235 Syntax error 5482 Syntax error
5236_ACEOF 5483_ACEOF
5237if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5484if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5238 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5485 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5239 ac_status=$? 5486 ac_status=$?
5240 grep -v '^ *+' conftest.er1 >conftest.err 5487 grep -v '^ *+' conftest.er1 >conftest.err
5242 cat conftest.err >&5 5489 cat conftest.err >&5
5243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5244 (exit $ac_status); } >/dev/null; then 5491 (exit $ac_status); } >/dev/null; then
5245 if test -s conftest.err; then 5492 if test -s conftest.err; then
5246 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
5247 else 5495 else
5248 ac_cpp_err= 5496 ac_cpp_err=
5249 fi 5497 fi
5250else 5498else
5251 ac_cpp_err=yes 5499 ac_cpp_err=yes
5262rm -f conftest.err conftest.$ac_ext 5510rm -f conftest.err conftest.$ac_ext
5263 5511
5264 # OK, works on sane cases. Now check whether non-existent headers 5512 # OK, works on sane cases. Now check whether non-existent headers
5265 # can be detected and how. 5513 # can be detected and how.
5266 cat >conftest.$ac_ext <<_ACEOF 5514 cat >conftest.$ac_ext <<_ACEOF
5267#line $LINENO "configure"
5268/* confdefs.h. */ 5515/* confdefs.h. */
5269_ACEOF 5516_ACEOF
5270cat confdefs.h >>conftest.$ac_ext 5517cat confdefs.h >>conftest.$ac_ext
5271cat >>conftest.$ac_ext <<_ACEOF 5518cat >>conftest.$ac_ext <<_ACEOF
5272/* end confdefs.h. */ 5519/* end confdefs.h. */
5280 cat conftest.err >&5 5527 cat conftest.err >&5
5281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5282 (exit $ac_status); } >/dev/null; then 5529 (exit $ac_status); } >/dev/null; then
5283 if test -s conftest.err; then 5530 if test -s conftest.err; then
5284 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
5285 else 5533 else
5286 ac_cpp_err= 5534 ac_cpp_err=
5287 fi 5535 fi
5288else 5536else
5289 ac_cpp_err=yes 5537 ac_cpp_err=yes
5326 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5574 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5327 # <limits.h> exists even on freestanding compilers. 5575 # <limits.h> exists even on freestanding compilers.
5328 # 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,
5329 # 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.
5330 cat >conftest.$ac_ext <<_ACEOF 5578 cat >conftest.$ac_ext <<_ACEOF
5331#line $LINENO "configure"
5332/* confdefs.h. */ 5579/* confdefs.h. */
5333_ACEOF 5580_ACEOF
5334cat confdefs.h >>conftest.$ac_ext 5581cat confdefs.h >>conftest.$ac_ext
5335cat >>conftest.$ac_ext <<_ACEOF 5582cat >>conftest.$ac_ext <<_ACEOF
5336/* end confdefs.h. */ 5583/* end confdefs.h. */
5337#ifdef __STDC__ 5584#ifdef __STDC__
5338# include <limits.h> 5585# include <limits.h>
5339#else 5586#else
5340# include <assert.h> 5587# include <assert.h>
5341#endif 5588#endif
5342 Syntax error 5589 Syntax error
5343_ACEOF 5590_ACEOF
5344if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5591if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5345 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5592 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5346 ac_status=$? 5593 ac_status=$?
5347 grep -v '^ *+' conftest.er1 >conftest.err 5594 grep -v '^ *+' conftest.er1 >conftest.err
5349 cat conftest.err >&5 5596 cat conftest.err >&5
5350 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5351 (exit $ac_status); } >/dev/null; then 5598 (exit $ac_status); } >/dev/null; then
5352 if test -s conftest.err; then 5599 if test -s conftest.err; then
5353 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
5354 else 5602 else
5355 ac_cpp_err= 5603 ac_cpp_err=
5356 fi 5604 fi
5357else 5605else
5358 ac_cpp_err=yes 5606 ac_cpp_err=yes
5369rm -f conftest.err conftest.$ac_ext 5617rm -f conftest.err conftest.$ac_ext
5370 5618
5371 # OK, works on sane cases. Now check whether non-existent headers 5619 # OK, works on sane cases. Now check whether non-existent headers
5372 # can be detected and how. 5620 # can be detected and how.
5373 cat >conftest.$ac_ext <<_ACEOF 5621 cat >conftest.$ac_ext <<_ACEOF
5374#line $LINENO "configure"
5375/* confdefs.h. */ 5622/* confdefs.h. */
5376_ACEOF 5623_ACEOF
5377cat confdefs.h >>conftest.$ac_ext 5624cat confdefs.h >>conftest.$ac_ext
5378cat >>conftest.$ac_ext <<_ACEOF 5625cat >>conftest.$ac_ext <<_ACEOF
5379/* end confdefs.h. */ 5626/* end confdefs.h. */
5387 cat conftest.err >&5 5634 cat conftest.err >&5
5388 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5389 (exit $ac_status); } >/dev/null; then 5636 (exit $ac_status); } >/dev/null; then
5390 if test -s conftest.err; then 5637 if test -s conftest.err; then
5391 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
5392 else 5640 else
5393 ac_cpp_err= 5641 ac_cpp_err=
5394 fi 5642 fi
5395else 5643else
5396 ac_cpp_err=yes 5644 ac_cpp_err=yes
5544echo $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
5545if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 5793if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5546 echo $ECHO_N "(cached) $ECHO_C" >&6 5794 echo $ECHO_N "(cached) $ECHO_C" >&6
5547else 5795else
5548 cat >conftest.$ac_ext <<_ACEOF 5796 cat >conftest.$ac_ext <<_ACEOF
5549#line $LINENO "configure"
5550/* confdefs.h. */ 5797/* confdefs.h. */
5551_ACEOF 5798_ACEOF
5552cat confdefs.h >>conftest.$ac_ext 5799cat confdefs.h >>conftest.$ac_ext
5553cat >>conftest.$ac_ext <<_ACEOF 5800cat >>conftest.$ac_ext <<_ACEOF
5554/* end confdefs.h. */ 5801/* end confdefs.h. */
5564 return 0; 5811 return 0;
5565} 5812}
5566_ACEOF 5813_ACEOF
5567rm -f conftest.$ac_objext 5814rm -f conftest.$ac_objext
5568if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5815if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5569 (eval $ac_compile) 2>&5 5816 (eval $ac_compile) 2>conftest.er1
5570 ac_status=$? 5817 ac_status=$?
5818 grep -v '^ *+' conftest.er1 >conftest.err
5819 rm -f conftest.er1
5820 cat conftest.err >&5
5571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5572 (exit $ac_status); } && 5822 (exit $ac_status); } &&
5573 { ac_try='test -s conftest.$ac_objext' 5823 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5575 (eval $ac_try) 2>&5 5825 (eval $ac_try) 2>&5
5576 ac_status=$? 5826 ac_status=$?
5577 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
5578 (exit $ac_status); }; }; then 5834 (exit $ac_status); }; }; then
5579 ac_compiler_gnu=yes 5835 ac_compiler_gnu=yes
5580else 5836else
5581 echo "$as_me: failed program was:" >&5 5837 echo "$as_me: failed program was:" >&5
5582sed 's/^/| /' conftest.$ac_ext >&5 5838sed 's/^/| /' conftest.$ac_ext >&5
5583 5839
5584ac_compiler_gnu=no 5840ac_compiler_gnu=no
5585fi 5841fi
5586rm -f conftest.$ac_objext conftest.$ac_ext 5842rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5587ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 5843ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5588 5844
5589fi 5845fi
5590echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 5846echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5591echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 5847echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
5597echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 5853echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
5598if test "${ac_cv_prog_cxx_g+set}" = set; then 5854if test "${ac_cv_prog_cxx_g+set}" = set; then
5599 echo $ECHO_N "(cached) $ECHO_C" >&6 5855 echo $ECHO_N "(cached) $ECHO_C" >&6
5600else 5856else
5601 cat >conftest.$ac_ext <<_ACEOF 5857 cat >conftest.$ac_ext <<_ACEOF
5602#line $LINENO "configure"
5603/* confdefs.h. */ 5858/* confdefs.h. */
5604_ACEOF 5859_ACEOF
5605cat confdefs.h >>conftest.$ac_ext 5860cat confdefs.h >>conftest.$ac_ext
5606cat >>conftest.$ac_ext <<_ACEOF 5861cat >>conftest.$ac_ext <<_ACEOF
5607/* end confdefs.h. */ 5862/* end confdefs.h. */
5614 return 0; 5869 return 0;
5615} 5870}
5616_ACEOF 5871_ACEOF
5617rm -f conftest.$ac_objext 5872rm -f conftest.$ac_objext
5618if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5873if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5619 (eval $ac_compile) 2>&5 5874 (eval $ac_compile) 2>conftest.er1
5620 ac_status=$? 5875 ac_status=$?
5876 grep -v '^ *+' conftest.er1 >conftest.err
5877 rm -f conftest.er1
5878 cat conftest.err >&5
5621 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5622 (exit $ac_status); } && 5880 (exit $ac_status); } &&
5623 { ac_try='test -s conftest.$ac_objext' 5881 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5625 (eval $ac_try) 2>&5 5883 (eval $ac_try) 2>&5
5626 ac_status=$? 5884 ac_status=$?
5627 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
5628 (exit $ac_status); }; }; then 5892 (exit $ac_status); }; }; then
5629 ac_cv_prog_cxx_g=yes 5893 ac_cv_prog_cxx_g=yes
5630else 5894else
5631 echo "$as_me: failed program was:" >&5 5895 echo "$as_me: failed program was:" >&5
5632sed 's/^/| /' conftest.$ac_ext >&5 5896sed 's/^/| /' conftest.$ac_ext >&5
5633 5897
5634ac_cv_prog_cxx_g=no 5898ac_cv_prog_cxx_g=no
5635fi 5899fi
5636rm -f conftest.$ac_objext conftest.$ac_ext 5900rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5637fi 5901fi
5638echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 5902echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5639echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 5903echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5640if test "$ac_test_CXXFLAGS" = set; then 5904if test "$ac_test_CXXFLAGS" = set; then
5641 CXXFLAGS=$ac_save_CXXFLAGS 5905 CXXFLAGS=$ac_save_CXXFLAGS
5659 'extern "C" void exit (int) throw ();' \ 5923 'extern "C" void exit (int) throw ();' \
5660 'extern "C" void exit (int);' \ 5924 'extern "C" void exit (int);' \
5661 'void exit (int);' 5925 'void exit (int);'
5662do 5926do
5663 cat >conftest.$ac_ext <<_ACEOF 5927 cat >conftest.$ac_ext <<_ACEOF
5664#line $LINENO "configure"
5665/* confdefs.h. */ 5928/* confdefs.h. */
5666_ACEOF 5929_ACEOF
5667cat confdefs.h >>conftest.$ac_ext 5930cat confdefs.h >>conftest.$ac_ext
5668cat >>conftest.$ac_ext <<_ACEOF 5931cat >>conftest.$ac_ext <<_ACEOF
5669/* end confdefs.h. */ 5932/* end confdefs.h. */
5677 return 0; 5940 return 0;
5678} 5941}
5679_ACEOF 5942_ACEOF
5680rm -f conftest.$ac_objext 5943rm -f conftest.$ac_objext
5681if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5944if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5682 (eval $ac_compile) 2>&5 5945 (eval $ac_compile) 2>conftest.er1
5683 ac_status=$? 5946 ac_status=$?
5947 grep -v '^ *+' conftest.er1 >conftest.err
5948 rm -f conftest.er1
5949 cat conftest.err >&5
5684 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5685 (exit $ac_status); } && 5951 (exit $ac_status); } &&
5686 { ac_try='test -s conftest.$ac_objext' 5952 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5688 (eval $ac_try) 2>&5 5954 (eval $ac_try) 2>&5
5689 ac_status=$? 5955 ac_status=$?
5690 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
5691 (exit $ac_status); }; }; then 5963 (exit $ac_status); }; }; then
5692 : 5964 :
5693else 5965else
5694 echo "$as_me: failed program was:" >&5 5966 echo "$as_me: failed program was:" >&5
5695sed 's/^/| /' conftest.$ac_ext >&5 5967sed 's/^/| /' conftest.$ac_ext >&5
5696 5968
5697continue 5969continue
5698fi 5970fi
5699rm -f conftest.$ac_objext conftest.$ac_ext 5971rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5700 cat >conftest.$ac_ext <<_ACEOF 5972 cat >conftest.$ac_ext <<_ACEOF
5701#line $LINENO "configure"
5702/* confdefs.h. */ 5973/* confdefs.h. */
5703_ACEOF 5974_ACEOF
5704cat confdefs.h >>conftest.$ac_ext 5975cat confdefs.h >>conftest.$ac_ext
5705cat >>conftest.$ac_ext <<_ACEOF 5976cat >>conftest.$ac_ext <<_ACEOF
5706/* end confdefs.h. */ 5977/* end confdefs.h. */
5713 return 0; 5984 return 0;
5714} 5985}
5715_ACEOF 5986_ACEOF
5716rm -f conftest.$ac_objext 5987rm -f conftest.$ac_objext
5717if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5988if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5718 (eval $ac_compile) 2>&5 5989 (eval $ac_compile) 2>conftest.er1
5719 ac_status=$? 5990 ac_status=$?
5991 grep -v '^ *+' conftest.er1 >conftest.err
5992 rm -f conftest.er1
5993 cat conftest.err >&5
5720 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5721 (exit $ac_status); } && 5995 (exit $ac_status); } &&
5722 { ac_try='test -s conftest.$ac_objext' 5996 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5724 (eval $ac_try) 2>&5 5998 (eval $ac_try) 2>&5
5725 ac_status=$? 5999 ac_status=$?
5726 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
5727 (exit $ac_status); }; }; then 6007 (exit $ac_status); }; }; then
5728 break 6008 break
5729else 6009else
5730 echo "$as_me: failed program was:" >&5 6010 echo "$as_me: failed program was:" >&5
5731sed 's/^/| /' conftest.$ac_ext >&5 6011sed 's/^/| /' conftest.$ac_ext >&5
5732 6012
5733fi 6013fi
5734rm -f conftest.$ac_objext conftest.$ac_ext 6014rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5735done 6015done
5736rm -f conftest* 6016rm -f conftest*
5737if test -n "$ac_declaration"; then 6017if test -n "$ac_declaration"; then
5738 echo '#ifdef __cplusplus' >>confdefs.h 6018 echo '#ifdef __cplusplus' >>confdefs.h
5739 echo $ac_declaration >>confdefs.h 6019 echo $ac_declaration >>confdefs.h
5785 # overwrite some of them when testing with obscure command lines. 6065 # overwrite some of them when testing with obscure command lines.
5786 # This happens at least with the AIX C compiler. 6066 # This happens at least with the AIX C compiler.
5787 : > sub/conftest.c 6067 : > sub/conftest.c
5788 for i in 1 2 3 4 5 6; do 6068 for i in 1 2 3 4 5 6; do
5789 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.
5790 : > sub/conftst$i.h 6072 touch sub/conftst$i.h
5791 done 6073 done
5792 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 6074 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5793 6075
5794 case $depmode in 6076 case $depmode in
5795 nosideeffect) 6077 nosideeffect)
5813 >/dev/null 2>conftest.err && 6095 >/dev/null 2>conftest.err &&
5814 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 6096 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5815 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 &&
5816 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 6098 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5817 # 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
5818 # (even with -Werror). So we grep stderr for any message 6100 # or remarks (even with -Werror). So we grep stderr for any message
5819 # 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 ||
5820 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 6107 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5821 am_cv_CXX_dependencies_compiler_type=$depmode 6108 am_cv_CXX_dependencies_compiler_type=$depmode
5822 break 6109 break
5823 fi 6110 fi
5824 fi 6111 fi
5825 done 6112 done
5870if test "${ac_cv_prog_gcc_traditional+set}" = set; then 6157if test "${ac_cv_prog_gcc_traditional+set}" = set; then
5871 echo $ECHO_N "(cached) $ECHO_C" >&6 6158 echo $ECHO_N "(cached) $ECHO_C" >&6
5872else 6159else
5873 ac_pattern="Autoconf.*'x'" 6160 ac_pattern="Autoconf.*'x'"
5874 cat >conftest.$ac_ext <<_ACEOF 6161 cat >conftest.$ac_ext <<_ACEOF
5875#line $LINENO "configure"
5876/* confdefs.h. */ 6162/* confdefs.h. */
5877_ACEOF 6163_ACEOF
5878cat confdefs.h >>conftest.$ac_ext 6164cat confdefs.h >>conftest.$ac_ext
5879cat >>conftest.$ac_ext <<_ACEOF 6165cat >>conftest.$ac_ext <<_ACEOF
5880/* end confdefs.h. */ 6166/* end confdefs.h. */
5890rm -f conftest* 6176rm -f conftest*
5891 6177
5892 6178
5893 if test $ac_cv_prog_gcc_traditional = no; then 6179 if test $ac_cv_prog_gcc_traditional = no; then
5894 cat >conftest.$ac_ext <<_ACEOF 6180 cat >conftest.$ac_ext <<_ACEOF
5895#line $LINENO "configure"
5896/* confdefs.h. */ 6181/* confdefs.h. */
5897_ACEOF 6182_ACEOF
5898cat confdefs.h >>conftest.$ac_ext 6183cat confdefs.h >>conftest.$ac_ext
5899cat >>conftest.$ac_ext <<_ACEOF 6184cat >>conftest.$ac_ext <<_ACEOF
5900/* end confdefs.h. */ 6185/* end confdefs.h. */
5965# AIX /bin/install 6250# AIX /bin/install
5966# AmigaOS /C/install, which installs bootblocks on floppy discs 6251# AmigaOS /C/install, which installs bootblocks on floppy discs
5967# 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
5968# AFS /usr/afsws/bin/install, which mishandles nonexistent args 6253# AFS /usr/afsws/bin/install, which mishandles nonexistent args
5969# 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
5970# ./install, which can be erroneously created by make from ./install.sh. 6256# ./install, which can be erroneously created by make from ./install.sh.
5971echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 6257echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5972echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 6258echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5973if test -z "$INSTALL"; then 6259if test -z "$INSTALL"; then
5974if test "${ac_cv_path_install+set}" = set; then 6260if test "${ac_cv_path_install+set}" = set; then
5981 test -z "$as_dir" && as_dir=. 6267 test -z "$as_dir" && as_dir=.
5982 # Account for people who put trailing slashes in PATH elements. 6268 # Account for people who put trailing slashes in PATH elements.
5983case $as_dir/ in 6269case $as_dir/ in
5984 ./ | .// | /cC/* | \ 6270 ./ | .// | /cC/* | \
5985 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 6271 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6272 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5986 /usr/ucb/* ) ;; 6273 /usr/ucb/* ) ;;
5987 *) 6274 *)
5988 # 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.
5989 # 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
5990 # by default. 6277 # by default.
5991 for ac_prog in ginstall scoinst install; do 6278 for ac_prog in ginstall scoinst install; do
5992 for ac_exec_ext in '' $ac_executable_extensions; do 6279 for ac_exec_ext in '' $ac_executable_extensions; do
5993 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
5994 if test $ac_prog = install && 6281 if test $ac_prog = install &&
5995 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
5996 # AIX install. It has an incompatible calling convention. 6283 # AIX install. It has an incompatible calling convention.
5997 : 6284 :
5998 elif test $ac_prog = install && 6285 elif test $ac_prog = install &&
5999 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
6000 # program-specific install script used by HP pwplus--don't use. 6287 # program-specific install script used by HP pwplus--don't use.
6001 : 6288 :
6002 else 6289 else
6003 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"
6004 break 3 6291 break 3
6005 fi 6292 fi
6006 fi 6293 fi
6007 done 6294 done
6008 done 6295 done
6009 ;; 6296 ;;
6010esac 6297esac
6011done 6298done
6044echo "${ECHO_T}no, using $LN_S" >&6 6331echo "${ECHO_T}no, using $LN_S" >&6
6045fi 6332fi
6046 6333
6047echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 6334echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6048echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 6335echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
6049set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 6336set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
6050if 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
6051 echo $ECHO_N "(cached) $ECHO_C" >&6 6338 echo $ECHO_N "(cached) $ECHO_C" >&6
6052else 6339else
6053 cat >conftest.make <<\_ACEOF 6340 cat >conftest.make <<\_ACEOF
6054all: 6341all:
6152else 6439else
6153 RANLIB="$ac_cv_prog_RANLIB" 6440 RANLIB="$ac_cv_prog_RANLIB"
6154fi 6441fi
6155 6442
6156 6443
6157
6158 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
6159echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
6160if test "${ac_cv_lib_cposix_strerror+set}" = set; then
6161 echo $ECHO_N "(cached) $ECHO_C" >&6
6162else
6163 ac_check_lib_save_LIBS=$LIBS
6164LIBS="-lcposix $LIBS"
6165cat >conftest.$ac_ext <<_ACEOF
6166#line $LINENO "configure"
6167/* confdefs.h. */
6168_ACEOF
6169cat confdefs.h >>conftest.$ac_ext
6170cat >>conftest.$ac_ext <<_ACEOF
6171/* end confdefs.h. */
6172
6173/* Override any gcc2 internal prototype to avoid an error. */
6174#ifdef __cplusplus
6175extern "C"
6176#endif
6177/* We use char because int might match the return type of a gcc2
6178 builtin and then its argument prototype would still apply. */
6179char strerror ();
6180int
6181main ()
6182{
6183strerror ();
6184 ;
6185 return 0;
6186}
6187_ACEOF
6188rm -f conftest.$ac_objext conftest$ac_exeext
6189if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6190 (eval $ac_link) 2>&5
6191 ac_status=$?
6192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6193 (exit $ac_status); } &&
6194 { ac_try='test -s conftest$ac_exeext'
6195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6196 (eval $ac_try) 2>&5
6197 ac_status=$?
6198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6199 (exit $ac_status); }; }; then
6200 ac_cv_lib_cposix_strerror=yes
6201else
6202 echo "$as_me: failed program was:" >&5
6203sed 's/^/| /' conftest.$ac_ext >&5
6204
6205ac_cv_lib_cposix_strerror=no
6206fi
6207rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6208LIBS=$ac_check_lib_save_LIBS
6209fi
6210echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
6211echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
6212if test $ac_cv_lib_cposix_strerror = yes; then
6213 LIBS="$LIBS -lcposix"
6214fi
6215
6216
6217
6218
6219# Check whether --enable-iftype or --disable-iftype was given. 6444# Check whether --enable-iftype or --disable-iftype was given.
6220if test "${enable_iftype+set}" = set; then 6445if test "${enable_iftype+set}" = set; then
6221 enableval="$enable_iftype" 6446 enableval="$enable_iftype"
6222 6447
6223 IFTYPE=`echo $enableval | sed s%/.*%%` 6448 IFTYPE=`echo $enableval | sed s%/.*%%`
6248#define HAVE_FREEBSD 1 6473#define HAVE_FREEBSD 1
6249_ACEOF 6474_ACEOF
6250 6475
6251 ;; 6476 ;;
6252 *darwin*) 6477 *darwin*)
6253 IFTYPE=tincd 6478 IFTYPE=native
6254 IFSUBTYPE=darwin 6479 IFSUBTYPE=darwin
6255 6480
6256cat >>confdefs.h <<\_ACEOF 6481cat >>confdefs.h <<\_ACEOF
6257#define HAVE_DARWIN 1 6482#define HAVE_DARWIN 1
6258_ACEOF 6483_ACEOF
6304echo "$as_me:$LINENO: result: $IFTYPE/$IFSUBTYPE" >&5 6529echo "$as_me:$LINENO: result: $IFTYPE/$IFSUBTYPE" >&5
6305echo "${ECHO_T}$IFTYPE/$IFSUBTYPE" >&6 6530echo "${ECHO_T}$IFTYPE/$IFSUBTYPE" >&6
6306IFTYPE=$IFTYPE 6531IFTYPE=$IFTYPE
6307 6532
6308IFSUBTYPE=$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
6309 6544
6310 6545
6311cat >confcache <<\_ACEOF 6546cat >confcache <<\_ACEOF
6312# 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
6313# 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
6334 case `(ac_space=' '; set | grep ac_space) 2>&1` in 6569 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6335 *ac_space=\ *) 6570 *ac_space=\ *)
6336 # `set' does not quote correctly, so add quotes (double-quote 6571 # `set' does not quote correctly, so add quotes (double-quote
6337 # substitution turns \\\\ into \\, and sed turns \\ into \). 6572 # substitution turns \\\\ into \\, and sed turns \\ into \).
6338 sed -n \ 6573 sed -n \
6339 "s/'/'\\\\''/g; 6574 "s/'/'\\\\''/g;
6340 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 6575 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6341 ;; 6576 ;;
6342 *) 6577 *)
6343 # `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.
6344 sed -n \ 6579 sed -n \
6345 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 6580 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6346 ;; 6581 ;;
6347 esac; 6582 esac;
6348} | 6583} |
6349 sed ' 6584 sed '
6350 t clear 6585 t clear
6393 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6628 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6394 # <limits.h> exists even on freestanding compilers. 6629 # <limits.h> exists even on freestanding compilers.
6395 # 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,
6396 # 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.
6397 cat >conftest.$ac_ext <<_ACEOF 6632 cat >conftest.$ac_ext <<_ACEOF
6398#line $LINENO "configure"
6399/* confdefs.h. */ 6633/* confdefs.h. */
6400_ACEOF 6634_ACEOF
6401cat confdefs.h >>conftest.$ac_ext 6635cat confdefs.h >>conftest.$ac_ext
6402cat >>conftest.$ac_ext <<_ACEOF 6636cat >>conftest.$ac_ext <<_ACEOF
6403/* end confdefs.h. */ 6637/* end confdefs.h. */
6404#ifdef __STDC__ 6638#ifdef __STDC__
6405# include <limits.h> 6639# include <limits.h>
6406#else 6640#else
6407# include <assert.h> 6641# include <assert.h>
6408#endif 6642#endif
6409 Syntax error 6643 Syntax error
6410_ACEOF 6644_ACEOF
6411if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6645if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6412 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6646 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6413 ac_status=$? 6647 ac_status=$?
6414 grep -v '^ *+' conftest.er1 >conftest.err 6648 grep -v '^ *+' conftest.er1 >conftest.err
6416 cat conftest.err >&5 6650 cat conftest.err >&5
6417 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6418 (exit $ac_status); } >/dev/null; then 6652 (exit $ac_status); } >/dev/null; then
6419 if test -s conftest.err; then 6653 if test -s conftest.err; then
6420 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
6421 else 6656 else
6422 ac_cpp_err= 6657 ac_cpp_err=
6423 fi 6658 fi
6424else 6659else
6425 ac_cpp_err=yes 6660 ac_cpp_err=yes
6436rm -f conftest.err conftest.$ac_ext 6671rm -f conftest.err conftest.$ac_ext
6437 6672
6438 # OK, works on sane cases. Now check whether non-existent headers 6673 # OK, works on sane cases. Now check whether non-existent headers
6439 # can be detected and how. 6674 # can be detected and how.
6440 cat >conftest.$ac_ext <<_ACEOF 6675 cat >conftest.$ac_ext <<_ACEOF
6441#line $LINENO "configure"
6442/* confdefs.h. */ 6676/* confdefs.h. */
6443_ACEOF 6677_ACEOF
6444cat confdefs.h >>conftest.$ac_ext 6678cat confdefs.h >>conftest.$ac_ext
6445cat >>conftest.$ac_ext <<_ACEOF 6679cat >>conftest.$ac_ext <<_ACEOF
6446/* end confdefs.h. */ 6680/* end confdefs.h. */
6454 cat conftest.err >&5 6688 cat conftest.err >&5
6455 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6456 (exit $ac_status); } >/dev/null; then 6690 (exit $ac_status); } >/dev/null; then
6457 if test -s conftest.err; then 6691 if test -s conftest.err; then
6458 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
6459 else 6694 else
6460 ac_cpp_err= 6695 ac_cpp_err=
6461 fi 6696 fi
6462else 6697else
6463 ac_cpp_err=yes 6698 ac_cpp_err=yes
6500 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6735 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6501 # <limits.h> exists even on freestanding compilers. 6736 # <limits.h> exists even on freestanding compilers.
6502 # 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,
6503 # 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.
6504 cat >conftest.$ac_ext <<_ACEOF 6739 cat >conftest.$ac_ext <<_ACEOF
6505#line $LINENO "configure"
6506/* confdefs.h. */ 6740/* confdefs.h. */
6507_ACEOF 6741_ACEOF
6508cat confdefs.h >>conftest.$ac_ext 6742cat confdefs.h >>conftest.$ac_ext
6509cat >>conftest.$ac_ext <<_ACEOF 6743cat >>conftest.$ac_ext <<_ACEOF
6510/* end confdefs.h. */ 6744/* end confdefs.h. */
6511#ifdef __STDC__ 6745#ifdef __STDC__
6512# include <limits.h> 6746# include <limits.h>
6513#else 6747#else
6514# include <assert.h> 6748# include <assert.h>
6515#endif 6749#endif
6516 Syntax error 6750 Syntax error
6517_ACEOF 6751_ACEOF
6518if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6752if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6519 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6753 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6520 ac_status=$? 6754 ac_status=$?
6521 grep -v '^ *+' conftest.er1 >conftest.err 6755 grep -v '^ *+' conftest.er1 >conftest.err
6523 cat conftest.err >&5 6757 cat conftest.err >&5
6524 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6525 (exit $ac_status); } >/dev/null; then 6759 (exit $ac_status); } >/dev/null; then
6526 if test -s conftest.err; then 6760 if test -s conftest.err; then
6527 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
6528 else 6763 else
6529 ac_cpp_err= 6764 ac_cpp_err=
6530 fi 6765 fi
6531else 6766else
6532 ac_cpp_err=yes 6767 ac_cpp_err=yes
6543rm -f conftest.err conftest.$ac_ext 6778rm -f conftest.err conftest.$ac_ext
6544 6779
6545 # OK, works on sane cases. Now check whether non-existent headers 6780 # OK, works on sane cases. Now check whether non-existent headers
6546 # can be detected and how. 6781 # can be detected and how.
6547 cat >conftest.$ac_ext <<_ACEOF 6782 cat >conftest.$ac_ext <<_ACEOF
6548#line $LINENO "configure"
6549/* confdefs.h. */ 6783/* confdefs.h. */
6550_ACEOF 6784_ACEOF
6551cat confdefs.h >>conftest.$ac_ext 6785cat confdefs.h >>conftest.$ac_ext
6552cat >>conftest.$ac_ext <<_ACEOF 6786cat >>conftest.$ac_ext <<_ACEOF
6553/* end confdefs.h. */ 6787/* end confdefs.h. */
6561 cat conftest.err >&5 6795 cat conftest.err >&5
6562 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6563 (exit $ac_status); } >/dev/null; then 6797 (exit $ac_status); } >/dev/null; then
6564 if test -s conftest.err; then 6798 if test -s conftest.err; then
6565 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
6566 else 6801 else
6567 ac_cpp_err= 6802 ac_cpp_err=
6568 fi 6803 fi
6569else 6804else
6570 ac_cpp_err=yes 6805 ac_cpp_err=yes
6606echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 6841echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6607if test "${ac_cv_header_stdc+set}" = set; then 6842if test "${ac_cv_header_stdc+set}" = set; then
6608 echo $ECHO_N "(cached) $ECHO_C" >&6 6843 echo $ECHO_N "(cached) $ECHO_C" >&6
6609else 6844else
6610 cat >conftest.$ac_ext <<_ACEOF 6845 cat >conftest.$ac_ext <<_ACEOF
6611#line $LINENO "configure"
6612/* confdefs.h. */ 6846/* confdefs.h. */
6613_ACEOF 6847_ACEOF
6614cat confdefs.h >>conftest.$ac_ext 6848cat confdefs.h >>conftest.$ac_ext
6615cat >>conftest.$ac_ext <<_ACEOF 6849cat >>conftest.$ac_ext <<_ACEOF
6616/* end confdefs.h. */ 6850/* end confdefs.h. */
6627 return 0; 6861 return 0;
6628} 6862}
6629_ACEOF 6863_ACEOF
6630rm -f conftest.$ac_objext 6864rm -f conftest.$ac_objext
6631if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6865if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6632 (eval $ac_compile) 2>&5 6866 (eval $ac_compile) 2>conftest.er1
6633 ac_status=$? 6867 ac_status=$?
6868 grep -v '^ *+' conftest.er1 >conftest.err
6869 rm -f conftest.er1
6870 cat conftest.err >&5
6634 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6635 (exit $ac_status); } && 6872 (exit $ac_status); } &&
6636 { ac_try='test -s conftest.$ac_objext' 6873 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6638 (eval $ac_try) 2>&5 6875 (eval $ac_try) 2>&5
6639 ac_status=$? 6876 ac_status=$?
6640 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
6641 (exit $ac_status); }; }; then 6884 (exit $ac_status); }; }; then
6642 ac_cv_header_stdc=yes 6885 ac_cv_header_stdc=yes
6643else 6886else
6644 echo "$as_me: failed program was:" >&5 6887 echo "$as_me: failed program was:" >&5
6645sed 's/^/| /' conftest.$ac_ext >&5 6888sed 's/^/| /' conftest.$ac_ext >&5
6646 6889
6647ac_cv_header_stdc=no 6890ac_cv_header_stdc=no
6648fi 6891fi
6649rm -f conftest.$ac_objext conftest.$ac_ext 6892rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6650 6893
6651if test $ac_cv_header_stdc = yes; then 6894if test $ac_cv_header_stdc = yes; then
6652 # 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.
6653 cat >conftest.$ac_ext <<_ACEOF 6896 cat >conftest.$ac_ext <<_ACEOF
6654#line $LINENO "configure"
6655/* confdefs.h. */ 6897/* confdefs.h. */
6656_ACEOF 6898_ACEOF
6657cat confdefs.h >>conftest.$ac_ext 6899cat confdefs.h >>conftest.$ac_ext
6658cat >>conftest.$ac_ext <<_ACEOF 6900cat >>conftest.$ac_ext <<_ACEOF
6659/* end confdefs.h. */ 6901/* end confdefs.h. */
6671fi 6913fi
6672 6914
6673if test $ac_cv_header_stdc = yes; then 6915if test $ac_cv_header_stdc = yes; then
6674 # 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.
6675 cat >conftest.$ac_ext <<_ACEOF 6917 cat >conftest.$ac_ext <<_ACEOF
6676#line $LINENO "configure"
6677/* confdefs.h. */ 6918/* confdefs.h. */
6678_ACEOF 6919_ACEOF
6679cat confdefs.h >>conftest.$ac_ext 6920cat confdefs.h >>conftest.$ac_ext
6680cat >>conftest.$ac_ext <<_ACEOF 6921cat >>conftest.$ac_ext <<_ACEOF
6681/* end confdefs.h. */ 6922/* end confdefs.h. */
6696 # /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.
6697 if test "$cross_compiling" = yes; then 6938 if test "$cross_compiling" = yes; then
6698 : 6939 :
6699else 6940else
6700 cat >conftest.$ac_ext <<_ACEOF 6941 cat >conftest.$ac_ext <<_ACEOF
6701#line $LINENO "configure"
6702/* confdefs.h. */ 6942/* confdefs.h. */
6703_ACEOF 6943_ACEOF
6704cat confdefs.h >>conftest.$ac_ext 6944cat confdefs.h >>conftest.$ac_ext
6705cat >>conftest.$ac_ext <<_ACEOF 6945cat >>conftest.$ac_ext <<_ACEOF
6706/* end confdefs.h. */ 6946/* end confdefs.h. */
6708#if ((' ' & 0x0FF) == 0x020) 6948#if ((' ' & 0x0FF) == 0x020)
6709# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 6949# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6710# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 6950# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6711#else 6951#else
6712# define ISLOWER(c) \ 6952# define ISLOWER(c) \
6713 (('a' <= (c) && (c) <= 'i') \ 6953 (('a' <= (c) && (c) <= 'i') \
6714 || ('j' <= (c) && (c) <= 'r') \ 6954 || ('j' <= (c) && (c) <= 'r') \
6715 || ('s' <= (c) && (c) <= 'z')) 6955 || ('s' <= (c) && (c) <= 'z'))
6716# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 6956# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6717#endif 6957#endif
6718 6958
6719#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 6959#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6720int 6960int
6721main () 6961main ()
6722{ 6962{
6723 int i; 6963 int i;
6724 for (i = 0; i < 256; i++) 6964 for (i = 0; i < 256; i++)
6725 if (XOR (islower (i), ISLOWER (i)) 6965 if (XOR (islower (i), ISLOWER (i))
6726 || toupper (i) != TOUPPER (i)) 6966 || toupper (i) != TOUPPER (i))
6727 exit(2); 6967 exit(2);
6728 exit (0); 6968 exit (0);
6729} 6969}
6730_ACEOF 6970_ACEOF
6731rm -f conftest$ac_exeext 6971rm -f conftest$ac_exeext
6771 7011
6772 7012
6773 7013
6774 7014
6775for 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 \
6776 inttypes.h stdint.h unistd.h 7016 inttypes.h stdint.h unistd.h
6777do 7017do
6778as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7018as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6779echo "$as_me:$LINENO: checking for $ac_header" >&5 7019echo "$as_me:$LINENO: checking for $ac_header" >&5
6780echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7020echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6781if eval "test \"\${$as_ac_Header+set}\" = set"; then 7021if eval "test \"\${$as_ac_Header+set}\" = set"; then
6782 echo $ECHO_N "(cached) $ECHO_C" >&6 7022 echo $ECHO_N "(cached) $ECHO_C" >&6
6783else 7023else
6784 cat >conftest.$ac_ext <<_ACEOF 7024 cat >conftest.$ac_ext <<_ACEOF
6785#line $LINENO "configure"
6786/* confdefs.h. */ 7025/* confdefs.h. */
6787_ACEOF 7026_ACEOF
6788cat confdefs.h >>conftest.$ac_ext 7027cat confdefs.h >>conftest.$ac_ext
6789cat >>conftest.$ac_ext <<_ACEOF 7028cat >>conftest.$ac_ext <<_ACEOF
6790/* end confdefs.h. */ 7029/* end confdefs.h. */
6792 7031
6793#include <$ac_header> 7032#include <$ac_header>
6794_ACEOF 7033_ACEOF
6795rm -f conftest.$ac_objext 7034rm -f conftest.$ac_objext
6796if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7035if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6797 (eval $ac_compile) 2>&5 7036 (eval $ac_compile) 2>conftest.er1
6798 ac_status=$? 7037 ac_status=$?
7038 grep -v '^ *+' conftest.er1 >conftest.err
7039 rm -f conftest.er1
7040 cat conftest.err >&5
6799 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6800 (exit $ac_status); } && 7042 (exit $ac_status); } &&
6801 { ac_try='test -s conftest.$ac_objext' 7043 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6803 (eval $ac_try) 2>&5 7045 (eval $ac_try) 2>&5
6804 ac_status=$? 7046 ac_status=$?
6805 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
6806 (exit $ac_status); }; }; then 7054 (exit $ac_status); }; }; then
6807 eval "$as_ac_Header=yes" 7055 eval "$as_ac_Header=yes"
6808else 7056else
6809 echo "$as_me: failed program was:" >&5 7057 echo "$as_me: failed program was:" >&5
6810sed 's/^/| /' conftest.$ac_ext >&5 7058sed 's/^/| /' conftest.$ac_ext >&5
6811 7059
6812eval "$as_ac_Header=no" 7060eval "$as_ac_Header=no"
6813fi 7061fi
6814rm -f conftest.$ac_objext conftest.$ac_ext 7062rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6815fi 7063fi
6816echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7064echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6817echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7065echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6818if test `eval echo '${'$as_ac_Header'}'` = yes; then 7066if test `eval echo '${'$as_ac_Header'}'` = yes; then
6819 cat >>confdefs.h <<_ACEOF 7067 cat >>confdefs.h <<_ACEOF
6824 7072
6825done 7073done
6826 7074
6827 7075
6828 7076
7077
6829for ac_header in ext/hash_map 7078for ac_header in ext/hash_map clocale
6830do 7079do
6831as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7080as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6832if eval "test \"\${$as_ac_Header+set}\" = set"; then 7081if eval "test \"\${$as_ac_Header+set}\" = set"; then
6833 echo "$as_me:$LINENO: checking for $ac_header" >&5 7082 echo "$as_me:$LINENO: checking for $ac_header" >&5
6834echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7083echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6840else 7089else
6841 # Is the header compilable? 7090 # Is the header compilable?
6842echo "$as_me:$LINENO: checking $ac_header usability" >&5 7091echo "$as_me:$LINENO: checking $ac_header usability" >&5
6843echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 7092echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6844cat >conftest.$ac_ext <<_ACEOF 7093cat >conftest.$ac_ext <<_ACEOF
6845#line $LINENO "configure"
6846/* confdefs.h. */ 7094/* confdefs.h. */
6847_ACEOF 7095_ACEOF
6848cat confdefs.h >>conftest.$ac_ext 7096cat confdefs.h >>conftest.$ac_ext
6849cat >>conftest.$ac_ext <<_ACEOF 7097cat >>conftest.$ac_ext <<_ACEOF
6850/* end confdefs.h. */ 7098/* end confdefs.h. */
6851$ac_includes_default 7099$ac_includes_default
6852#include <$ac_header> 7100#include <$ac_header>
6853_ACEOF 7101_ACEOF
6854rm -f conftest.$ac_objext 7102rm -f conftest.$ac_objext
6855if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7103if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6856 (eval $ac_compile) 2>&5 7104 (eval $ac_compile) 2>conftest.er1
6857 ac_status=$? 7105 ac_status=$?
7106 grep -v '^ *+' conftest.er1 >conftest.err
7107 rm -f conftest.er1
7108 cat conftest.err >&5
6858 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6859 (exit $ac_status); } && 7110 (exit $ac_status); } &&
6860 { ac_try='test -s conftest.$ac_objext' 7111 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6862 (eval $ac_try) 2>&5 7113 (eval $ac_try) 2>&5
6863 ac_status=$? 7114 ac_status=$?
6864 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
6865 (exit $ac_status); }; }; then 7122 (exit $ac_status); }; }; then
6866 ac_header_compiler=yes 7123 ac_header_compiler=yes
6867else 7124else
6868 echo "$as_me: failed program was:" >&5 7125 echo "$as_me: failed program was:" >&5
6869sed 's/^/| /' conftest.$ac_ext >&5 7126sed 's/^/| /' conftest.$ac_ext >&5
6870 7127
6871ac_header_compiler=no 7128ac_header_compiler=no
6872fi 7129fi
6873rm -f conftest.$ac_objext conftest.$ac_ext 7130rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6874echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7131echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6875echo "${ECHO_T}$ac_header_compiler" >&6 7132echo "${ECHO_T}$ac_header_compiler" >&6
6876 7133
6877# Is the header present? 7134# Is the header present?
6878echo "$as_me:$LINENO: checking $ac_header presence" >&5 7135echo "$as_me:$LINENO: checking $ac_header presence" >&5
6879echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 7136echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6880cat >conftest.$ac_ext <<_ACEOF 7137cat >conftest.$ac_ext <<_ACEOF
6881#line $LINENO "configure"
6882/* confdefs.h. */ 7138/* confdefs.h. */
6883_ACEOF 7139_ACEOF
6884cat confdefs.h >>conftest.$ac_ext 7140cat confdefs.h >>conftest.$ac_ext
6885cat >>conftest.$ac_ext <<_ACEOF 7141cat >>conftest.$ac_ext <<_ACEOF
6886/* end confdefs.h. */ 7142/* end confdefs.h. */
6894 cat conftest.err >&5 7150 cat conftest.err >&5
6895 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896 (exit $ac_status); } >/dev/null; then 7152 (exit $ac_status); } >/dev/null; then
6897 if test -s conftest.err; then 7153 if test -s conftest.err; then
6898 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
6899 else 7156 else
6900 ac_cpp_err= 7157 ac_cpp_err=
6901 fi 7158 fi
6902else 7159else
6903 ac_cpp_err=yes 7160 ac_cpp_err=yes
6913rm -f conftest.err conftest.$ac_ext 7170rm -f conftest.err conftest.$ac_ext
6914echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7171echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6915echo "${ECHO_T}$ac_header_preproc" >&6 7172echo "${ECHO_T}$ac_header_preproc" >&6
6916 7173
6917# So? What about this header? 7174# So? What about this header?
6918case $ac_header_compiler:$ac_header_preproc in 7175case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6919 yes:no ) 7176 yes:no: )
6920 { 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
6921echo "$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;}
6922 { 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
6923echo "$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;}
6924 ( 7196 (
6925 cat <<\_ASBOX 7197 cat <<\_ASBOX
6926## ------------------------------------ ## 7198## ------------------------------------------ ##
6927## Report this to bug-autoconf@gnu.org. ## 7199## Report this to the AC_PACKAGE_NAME lists. ##
6928## ------------------------------------ ## 7200## ------------------------------------------ ##
6929_ASBOX
6930 ) |
6931 sed "s/^/$as_me: WARNING: /" >&2
6932 ;;
6933 no:yes )
6934 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6935echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6936 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6937echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6938 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6939echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6940 (
6941 cat <<\_ASBOX
6942## ------------------------------------ ##
6943## Report this to bug-autoconf@gnu.org. ##
6944## ------------------------------------ ##
6945_ASBOX 7201_ASBOX
6946 ) | 7202 ) |
6947 sed "s/^/$as_me: WARNING: /" >&2 7203 sed "s/^/$as_me: WARNING: /" >&2
6948 ;; 7204 ;;
6949esac 7205esac
6950echo "$as_me:$LINENO: checking for $ac_header" >&5 7206echo "$as_me:$LINENO: checking for $ac_header" >&5
6951echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7207echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6952if eval "test \"\${$as_ac_Header+set}\" = set"; then 7208if eval "test \"\${$as_ac_Header+set}\" = set"; then
6953 echo $ECHO_N "(cached) $ECHO_C" >&6 7209 echo $ECHO_N "(cached) $ECHO_C" >&6
6954else 7210else
6955 eval "$as_ac_Header=$ac_header_preproc" 7211 eval "$as_ac_Header=\$ac_header_preproc"
6956fi 7212fi
6957echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7213echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6958echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7214echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6959 7215
6960fi 7216fi
6982 7238
6983 7239
6984 7240
6985 7241
6986 7242
6987
6988
6989for 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 \
6990 sys/file.h sys/ioctl.h sys/param.h sys/time.h netinet/in_systm.h sys/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 \
6991 sys/poll.h sys/mman.h netinet/in.h 7245 sys/mman.h netinet/in.h
6992do 7246do
6993as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7247as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6994if eval "test \"\${$as_ac_Header+set}\" = set"; then 7248if eval "test \"\${$as_ac_Header+set}\" = set"; then
6995 echo "$as_me:$LINENO: checking for $ac_header" >&5 7249 echo "$as_me:$LINENO: checking for $ac_header" >&5
6996echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7250echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7002else 7256else
7003 # Is the header compilable? 7257 # Is the header compilable?
7004echo "$as_me:$LINENO: checking $ac_header usability" >&5 7258echo "$as_me:$LINENO: checking $ac_header usability" >&5
7005echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 7259echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7006cat >conftest.$ac_ext <<_ACEOF 7260cat >conftest.$ac_ext <<_ACEOF
7007#line $LINENO "configure"
7008/* confdefs.h. */ 7261/* confdefs.h. */
7009_ACEOF 7262_ACEOF
7010cat confdefs.h >>conftest.$ac_ext 7263cat confdefs.h >>conftest.$ac_ext
7011cat >>conftest.$ac_ext <<_ACEOF 7264cat >>conftest.$ac_ext <<_ACEOF
7012/* end confdefs.h. */ 7265/* end confdefs.h. */
7013$ac_includes_default 7266$ac_includes_default
7014#include <$ac_header> 7267#include <$ac_header>
7015_ACEOF 7268_ACEOF
7016rm -f conftest.$ac_objext 7269rm -f conftest.$ac_objext
7017if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7270if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7018 (eval $ac_compile) 2>&5 7271 (eval $ac_compile) 2>conftest.er1
7019 ac_status=$? 7272 ac_status=$?
7273 grep -v '^ *+' conftest.er1 >conftest.err
7274 rm -f conftest.er1
7275 cat conftest.err >&5
7020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7021 (exit $ac_status); } && 7277 (exit $ac_status); } &&
7022 { ac_try='test -s conftest.$ac_objext' 7278 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7024 (eval $ac_try) 2>&5 7280 (eval $ac_try) 2>&5
7025 ac_status=$? 7281 ac_status=$?
7026 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
7027 (exit $ac_status); }; }; then 7289 (exit $ac_status); }; }; then
7028 ac_header_compiler=yes 7290 ac_header_compiler=yes
7029else 7291else
7030 echo "$as_me: failed program was:" >&5 7292 echo "$as_me: failed program was:" >&5
7031sed 's/^/| /' conftest.$ac_ext >&5 7293sed 's/^/| /' conftest.$ac_ext >&5
7032 7294
7033ac_header_compiler=no 7295ac_header_compiler=no
7034fi 7296fi
7035rm -f conftest.$ac_objext conftest.$ac_ext 7297rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7036echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7298echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7037echo "${ECHO_T}$ac_header_compiler" >&6 7299echo "${ECHO_T}$ac_header_compiler" >&6
7038 7300
7039# Is the header present? 7301# Is the header present?
7040echo "$as_me:$LINENO: checking $ac_header presence" >&5 7302echo "$as_me:$LINENO: checking $ac_header presence" >&5
7041echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 7303echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7042cat >conftest.$ac_ext <<_ACEOF 7304cat >conftest.$ac_ext <<_ACEOF
7043#line $LINENO "configure"
7044/* confdefs.h. */ 7305/* confdefs.h. */
7045_ACEOF 7306_ACEOF
7046cat confdefs.h >>conftest.$ac_ext 7307cat confdefs.h >>conftest.$ac_ext
7047cat >>conftest.$ac_ext <<_ACEOF 7308cat >>conftest.$ac_ext <<_ACEOF
7048/* end confdefs.h. */ 7309/* end confdefs.h. */
7056 cat conftest.err >&5 7317 cat conftest.err >&5
7057 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7058 (exit $ac_status); } >/dev/null; then 7319 (exit $ac_status); } >/dev/null; then
7059 if test -s conftest.err; then 7320 if test -s conftest.err; then
7060 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
7061 else 7323 else
7062 ac_cpp_err= 7324 ac_cpp_err=
7063 fi 7325 fi
7064else 7326else
7065 ac_cpp_err=yes 7327 ac_cpp_err=yes
7075rm -f conftest.err conftest.$ac_ext 7337rm -f conftest.err conftest.$ac_ext
7076echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7338echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7077echo "${ECHO_T}$ac_header_preproc" >&6 7339echo "${ECHO_T}$ac_header_preproc" >&6
7078 7340
7079# So? What about this header? 7341# So? What about this header?
7080case $ac_header_compiler:$ac_header_preproc in 7342case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7081 yes:no ) 7343 yes:no: )
7082 { 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
7083echo "$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;}
7084 { 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
7085echo "$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;}
7086 ( 7363 (
7087 cat <<\_ASBOX 7364 cat <<\_ASBOX
7088## ------------------------------------ ## 7365## ------------------------------------------ ##
7089## Report this to bug-autoconf@gnu.org. ## 7366## Report this to the AC_PACKAGE_NAME lists. ##
7090## ------------------------------------ ## 7367## ------------------------------------------ ##
7091_ASBOX
7092 ) |
7093 sed "s/^/$as_me: WARNING: /" >&2
7094 ;;
7095 no:yes )
7096 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7097echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7098 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7099echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7100 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7101echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7102 (
7103 cat <<\_ASBOX
7104## ------------------------------------ ##
7105## Report this to bug-autoconf@gnu.org. ##
7106## ------------------------------------ ##
7107_ASBOX 7368_ASBOX
7108 ) | 7369 ) |
7109 sed "s/^/$as_me: WARNING: /" >&2 7370 sed "s/^/$as_me: WARNING: /" >&2
7110 ;; 7371 ;;
7111esac 7372esac
7112echo "$as_me:$LINENO: checking for $ac_header" >&5 7373echo "$as_me:$LINENO: checking for $ac_header" >&5
7113echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7374echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7114if eval "test \"\${$as_ac_Header+set}\" = set"; then 7375if eval "test \"\${$as_ac_Header+set}\" = set"; then
7115 echo $ECHO_N "(cached) $ECHO_C" >&6 7376 echo $ECHO_N "(cached) $ECHO_C" >&6
7116else 7377else
7117 eval "$as_ac_Header=$ac_header_preproc" 7378 eval "$as_ac_Header=\$ac_header_preproc"
7118fi 7379fi
7119echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7380echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7120echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7381echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7121 7382
7122fi 7383fi
7132 7393
7133 7394
7134 7395
7135 7396
7136 7397
7398
7137for 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
7138do 7400do
7139as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7401as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7140echo "$as_me:$LINENO: checking for $ac_header" >&5 7402echo "$as_me:$LINENO: checking for $ac_header" >&5
7141echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7403echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7142if eval "test \"\${$as_ac_Header+set}\" = set"; then 7404if eval "test \"\${$as_ac_Header+set}\" = set"; then
7143 echo $ECHO_N "(cached) $ECHO_C" >&6 7405 echo $ECHO_N "(cached) $ECHO_C" >&6
7144else 7406else
7145 cat >conftest.$ac_ext <<_ACEOF 7407 cat >conftest.$ac_ext <<_ACEOF
7146#line $LINENO "configure"
7147/* confdefs.h. */ 7408/* confdefs.h. */
7148_ACEOF 7409_ACEOF
7149cat confdefs.h >>conftest.$ac_ext 7410cat confdefs.h >>conftest.$ac_ext
7150cat >>conftest.$ac_ext <<_ACEOF 7411cat >>conftest.$ac_ext <<_ACEOF
7151/* end confdefs.h. */ 7412/* end confdefs.h. */
7165 7426
7166#include <$ac_header> 7427#include <$ac_header>
7167_ACEOF 7428_ACEOF
7168rm -f conftest.$ac_objext 7429rm -f conftest.$ac_objext
7169if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7430if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7170 (eval $ac_compile) 2>&5 7431 (eval $ac_compile) 2>conftest.er1
7171 ac_status=$? 7432 ac_status=$?
7433 grep -v '^ *+' conftest.er1 >conftest.err
7434 rm -f conftest.er1
7435 cat conftest.err >&5
7172 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7173 (exit $ac_status); } && 7437 (exit $ac_status); } &&
7174 { ac_try='test -s conftest.$ac_objext' 7438 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7176 (eval $ac_try) 2>&5 7440 (eval $ac_try) 2>&5
7177 ac_status=$? 7441 ac_status=$?
7178 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
7179 (exit $ac_status); }; }; then 7449 (exit $ac_status); }; }; then
7180 eval "$as_ac_Header=yes" 7450 eval "$as_ac_Header=yes"
7181else 7451else
7182 echo "$as_me: failed program was:" >&5 7452 echo "$as_me: failed program was:" >&5
7183sed 's/^/| /' conftest.$ac_ext >&5 7453sed 's/^/| /' conftest.$ac_ext >&5
7184 7454
7185eval "$as_ac_Header=no" 7455eval "$as_ac_Header=no"
7186fi 7456fi
7187rm -f conftest.$ac_objext conftest.$ac_ext 7457rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7188fi 7458fi
7189echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7459echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7190echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7460echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7191if test `eval echo '${'$as_ac_Header'}'` = yes; then 7461if test `eval echo '${'$as_ac_Header'}'` = yes; then
7192 cat >>confdefs.h <<_ACEOF 7462 cat >>confdefs.h <<_ACEOF
7202echo $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
7203if test "${ac_cv_c_const+set}" = set; then 7473if test "${ac_cv_c_const+set}" = set; then
7204 echo $ECHO_N "(cached) $ECHO_C" >&6 7474 echo $ECHO_N "(cached) $ECHO_C" >&6
7205else 7475else
7206 cat >conftest.$ac_ext <<_ACEOF 7476 cat >conftest.$ac_ext <<_ACEOF
7207#line $LINENO "configure"
7208/* confdefs.h. */ 7477/* confdefs.h. */
7209_ACEOF 7478_ACEOF
7210cat confdefs.h >>conftest.$ac_ext 7479cat confdefs.h >>conftest.$ac_ext
7211cat >>conftest.$ac_ext <<_ACEOF 7480cat >>conftest.$ac_ext <<_ACEOF
7212/* end confdefs.h. */ 7481/* end confdefs.h. */
7265 return 0; 7534 return 0;
7266} 7535}
7267_ACEOF 7536_ACEOF
7268rm -f conftest.$ac_objext 7537rm -f conftest.$ac_objext
7269if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7538if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7270 (eval $ac_compile) 2>&5 7539 (eval $ac_compile) 2>conftest.er1
7271 ac_status=$? 7540 ac_status=$?
7541 grep -v '^ *+' conftest.er1 >conftest.err
7542 rm -f conftest.er1
7543 cat conftest.err >&5
7272 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7273 (exit $ac_status); } && 7545 (exit $ac_status); } &&
7274 { ac_try='test -s conftest.$ac_objext' 7546 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7276 (eval $ac_try) 2>&5 7548 (eval $ac_try) 2>&5
7277 ac_status=$? 7549 ac_status=$?
7278 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
7279 (exit $ac_status); }; }; then 7557 (exit $ac_status); }; }; then
7280 ac_cv_c_const=yes 7558 ac_cv_c_const=yes
7281else 7559else
7282 echo "$as_me: failed program was:" >&5 7560 echo "$as_me: failed program was:" >&5
7283sed 's/^/| /' conftest.$ac_ext >&5 7561sed 's/^/| /' conftest.$ac_ext >&5
7284 7562
7285ac_cv_c_const=no 7563ac_cv_c_const=no
7286fi 7564fi
7287rm -f conftest.$ac_objext conftest.$ac_ext 7565rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7288fi 7566fi
7289echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 7567echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7290echo "${ECHO_T}$ac_cv_c_const" >&6 7568echo "${ECHO_T}$ac_cv_c_const" >&6
7291if test $ac_cv_c_const = no; then 7569if test $ac_cv_c_const = no; then
7292 7570
7300echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 7578echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
7301if test "${ac_cv_type_pid_t+set}" = set; then 7579if test "${ac_cv_type_pid_t+set}" = set; then
7302 echo $ECHO_N "(cached) $ECHO_C" >&6 7580 echo $ECHO_N "(cached) $ECHO_C" >&6
7303else 7581else
7304 cat >conftest.$ac_ext <<_ACEOF 7582 cat >conftest.$ac_ext <<_ACEOF
7305#line $LINENO "configure"
7306/* confdefs.h. */ 7583/* confdefs.h. */
7307_ACEOF 7584_ACEOF
7308cat confdefs.h >>conftest.$ac_ext 7585cat confdefs.h >>conftest.$ac_ext
7309cat >>conftest.$ac_ext <<_ACEOF 7586cat >>conftest.$ac_ext <<_ACEOF
7310/* end confdefs.h. */ 7587/* end confdefs.h. */
7320 return 0; 7597 return 0;
7321} 7598}
7322_ACEOF 7599_ACEOF
7323rm -f conftest.$ac_objext 7600rm -f conftest.$ac_objext
7324if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7601if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7325 (eval $ac_compile) 2>&5 7602 (eval $ac_compile) 2>conftest.er1
7326 ac_status=$? 7603 ac_status=$?
7604 grep -v '^ *+' conftest.er1 >conftest.err
7605 rm -f conftest.er1
7606 cat conftest.err >&5
7327 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7328 (exit $ac_status); } && 7608 (exit $ac_status); } &&
7329 { ac_try='test -s conftest.$ac_objext' 7609 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7331 (eval $ac_try) 2>&5 7611 (eval $ac_try) 2>&5
7332 ac_status=$? 7612 ac_status=$?
7333 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
7334 (exit $ac_status); }; }; then 7620 (exit $ac_status); }; }; then
7335 ac_cv_type_pid_t=yes 7621 ac_cv_type_pid_t=yes
7336else 7622else
7337 echo "$as_me: failed program was:" >&5 7623 echo "$as_me: failed program was:" >&5
7338sed 's/^/| /' conftest.$ac_ext >&5 7624sed 's/^/| /' conftest.$ac_ext >&5
7339 7625
7340ac_cv_type_pid_t=no 7626ac_cv_type_pid_t=no
7341fi 7627fi
7342rm -f conftest.$ac_objext conftest.$ac_ext 7628rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7343fi 7629fi
7344echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 7630echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7345echo "${ECHO_T}$ac_cv_type_pid_t" >&6 7631echo "${ECHO_T}$ac_cv_type_pid_t" >&6
7346if test $ac_cv_type_pid_t = yes; then 7632if test $ac_cv_type_pid_t = yes; then
7347 : 7633 :
7357echo $ECHO_N "checking for size_t... $ECHO_C" >&6 7643echo $ECHO_N "checking for size_t... $ECHO_C" >&6
7358if test "${ac_cv_type_size_t+set}" = set; then 7644if test "${ac_cv_type_size_t+set}" = set; then
7359 echo $ECHO_N "(cached) $ECHO_C" >&6 7645 echo $ECHO_N "(cached) $ECHO_C" >&6
7360else 7646else
7361 cat >conftest.$ac_ext <<_ACEOF 7647 cat >conftest.$ac_ext <<_ACEOF
7362#line $LINENO "configure"
7363/* confdefs.h. */ 7648/* confdefs.h. */
7364_ACEOF 7649_ACEOF
7365cat confdefs.h >>conftest.$ac_ext 7650cat confdefs.h >>conftest.$ac_ext
7366cat >>conftest.$ac_ext <<_ACEOF 7651cat >>conftest.$ac_ext <<_ACEOF
7367/* end confdefs.h. */ 7652/* end confdefs.h. */
7377 return 0; 7662 return 0;
7378} 7663}
7379_ACEOF 7664_ACEOF
7380rm -f conftest.$ac_objext 7665rm -f conftest.$ac_objext
7381if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7666if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7382 (eval $ac_compile) 2>&5 7667 (eval $ac_compile) 2>conftest.er1
7383 ac_status=$? 7668 ac_status=$?
7669 grep -v '^ *+' conftest.er1 >conftest.err
7670 rm -f conftest.er1
7671 cat conftest.err >&5
7384 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7385 (exit $ac_status); } && 7673 (exit $ac_status); } &&
7386 { ac_try='test -s conftest.$ac_objext' 7674 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7388 (eval $ac_try) 2>&5 7676 (eval $ac_try) 2>&5
7389 ac_status=$? 7677 ac_status=$?
7390 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
7391 (exit $ac_status); }; }; then 7685 (exit $ac_status); }; }; then
7392 ac_cv_type_size_t=yes 7686 ac_cv_type_size_t=yes
7393else 7687else
7394 echo "$as_me: failed program was:" >&5 7688 echo "$as_me: failed program was:" >&5
7395sed 's/^/| /' conftest.$ac_ext >&5 7689sed 's/^/| /' conftest.$ac_ext >&5
7396 7690
7397ac_cv_type_size_t=no 7691ac_cv_type_size_t=no
7398fi 7692fi
7399rm -f conftest.$ac_objext conftest.$ac_ext 7693rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7400fi 7694fi
7401echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 7695echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7402echo "${ECHO_T}$ac_cv_type_size_t" >&6 7696echo "${ECHO_T}$ac_cv_type_size_t" >&6
7403if test $ac_cv_type_size_t = yes; then 7697if test $ac_cv_type_size_t = yes; then
7404 : 7698 :
7414echo $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
7415if test "${ac_cv_header_time+set}" = set; then 7709if test "${ac_cv_header_time+set}" = set; then
7416 echo $ECHO_N "(cached) $ECHO_C" >&6 7710 echo $ECHO_N "(cached) $ECHO_C" >&6
7417else 7711else
7418 cat >conftest.$ac_ext <<_ACEOF 7712 cat >conftest.$ac_ext <<_ACEOF
7419#line $LINENO "configure"
7420/* confdefs.h. */ 7713/* confdefs.h. */
7421_ACEOF 7714_ACEOF
7422cat confdefs.h >>conftest.$ac_ext 7715cat confdefs.h >>conftest.$ac_ext
7423cat >>conftest.$ac_ext <<_ACEOF 7716cat >>conftest.$ac_ext <<_ACEOF
7424/* end confdefs.h. */ 7717/* end confdefs.h. */
7435 return 0; 7728 return 0;
7436} 7729}
7437_ACEOF 7730_ACEOF
7438rm -f conftest.$ac_objext 7731rm -f conftest.$ac_objext
7439if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7732if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7440 (eval $ac_compile) 2>&5 7733 (eval $ac_compile) 2>conftest.er1
7441 ac_status=$? 7734 ac_status=$?
7735 grep -v '^ *+' conftest.er1 >conftest.err
7736 rm -f conftest.er1
7737 cat conftest.err >&5
7442 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7443 (exit $ac_status); } && 7739 (exit $ac_status); } &&
7444 { ac_try='test -s conftest.$ac_objext' 7740 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7446 (eval $ac_try) 2>&5 7742 (eval $ac_try) 2>&5
7447 ac_status=$? 7743 ac_status=$?
7448 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
7449 (exit $ac_status); }; }; then 7751 (exit $ac_status); }; }; then
7450 ac_cv_header_time=yes 7752 ac_cv_header_time=yes
7451else 7753else
7452 echo "$as_me: failed program was:" >&5 7754 echo "$as_me: failed program was:" >&5
7453sed 's/^/| /' conftest.$ac_ext >&5 7755sed 's/^/| /' conftest.$ac_ext >&5
7454 7756
7455ac_cv_header_time=no 7757ac_cv_header_time=no
7456fi 7758fi
7457rm -f conftest.$ac_objext conftest.$ac_ext 7759rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7458fi 7760fi
7459echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 7761echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
7460echo "${ECHO_T}$ac_cv_header_time" >&6 7762echo "${ECHO_T}$ac_cv_header_time" >&6
7461if test $ac_cv_header_time = yes; then 7763if test $ac_cv_header_time = yes; then
7462 7764
7470echo $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
7471if test "${ac_cv_struct_tm+set}" = set; then 7773if test "${ac_cv_struct_tm+set}" = set; then
7472 echo $ECHO_N "(cached) $ECHO_C" >&6 7774 echo $ECHO_N "(cached) $ECHO_C" >&6
7473else 7775else
7474 cat >conftest.$ac_ext <<_ACEOF 7776 cat >conftest.$ac_ext <<_ACEOF
7475#line $LINENO "configure"
7476/* confdefs.h. */ 7777/* confdefs.h. */
7477_ACEOF 7778_ACEOF
7478cat confdefs.h >>conftest.$ac_ext 7779cat confdefs.h >>conftest.$ac_ext
7479cat >>conftest.$ac_ext <<_ACEOF 7780cat >>conftest.$ac_ext <<_ACEOF
7480/* end confdefs.h. */ 7781/* end confdefs.h. */
7489 return 0; 7790 return 0;
7490} 7791}
7491_ACEOF 7792_ACEOF
7492rm -f conftest.$ac_objext 7793rm -f conftest.$ac_objext
7493if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7794if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7494 (eval $ac_compile) 2>&5 7795 (eval $ac_compile) 2>conftest.er1
7495 ac_status=$? 7796 ac_status=$?
7797 grep -v '^ *+' conftest.er1 >conftest.err
7798 rm -f conftest.er1
7799 cat conftest.err >&5
7496 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7497 (exit $ac_status); } && 7801 (exit $ac_status); } &&
7498 { ac_try='test -s conftest.$ac_objext' 7802 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7500 (eval $ac_try) 2>&5 7804 (eval $ac_try) 2>&5
7501 ac_status=$? 7805 ac_status=$?
7502 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
7503 (exit $ac_status); }; }; then 7813 (exit $ac_status); }; }; then
7504 ac_cv_struct_tm=time.h 7814 ac_cv_struct_tm=time.h
7505else 7815else
7506 echo "$as_me: failed program was:" >&5 7816 echo "$as_me: failed program was:" >&5
7507sed 's/^/| /' conftest.$ac_ext >&5 7817sed 's/^/| /' conftest.$ac_ext >&5
7508 7818
7509ac_cv_struct_tm=sys/time.h 7819ac_cv_struct_tm=sys/time.h
7510fi 7820fi
7511rm -f conftest.$ac_objext conftest.$ac_ext 7821rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7512fi 7822fi
7513echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 7823echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
7514echo "${ECHO_T}$ac_cv_struct_tm" >&6 7824echo "${ECHO_T}$ac_cv_struct_tm" >&6
7515if test $ac_cv_struct_tm = sys/time.h; then 7825if test $ac_cv_struct_tm = sys/time.h; then
7516 7826
7526if test "${ac_cv_type_socklen_t+set}" = set; then 7836if test "${ac_cv_type_socklen_t+set}" = set; then
7527 echo $ECHO_N "(cached) $ECHO_C" >&6 7837 echo $ECHO_N "(cached) $ECHO_C" >&6
7528else 7838else
7529 7839
7530 cat >conftest.$ac_ext <<_ACEOF 7840 cat >conftest.$ac_ext <<_ACEOF
7531#line $LINENO "configure"
7532/* confdefs.h. */ 7841/* confdefs.h. */
7533_ACEOF 7842_ACEOF
7534cat confdefs.h >>conftest.$ac_ext 7843cat confdefs.h >>conftest.$ac_ext
7535cat >>conftest.$ac_ext <<_ACEOF 7844cat >>conftest.$ac_ext <<_ACEOF
7536/* end confdefs.h. */ 7845/* end confdefs.h. */
7544 return 0; 7853 return 0;
7545} 7854}
7546_ACEOF 7855_ACEOF
7547rm -f conftest.$ac_objext 7856rm -f conftest.$ac_objext
7548if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7857if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7549 (eval $ac_compile) 2>&5 7858 (eval $ac_compile) 2>conftest.er1
7550 ac_status=$? 7859 ac_status=$?
7860 grep -v '^ *+' conftest.er1 >conftest.err
7861 rm -f conftest.er1
7862 cat conftest.err >&5
7551 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7552 (exit $ac_status); } && 7864 (exit $ac_status); } &&
7553 { ac_try='test -s conftest.$ac_objext' 7865 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7555 (eval $ac_try) 2>&5 7867 (eval $ac_try) 2>&5
7556 ac_status=$? 7868 ac_status=$?
7557 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7870 (exit $ac_status); }; } &&
7871 { ac_try='test -s conftest.$ac_objext'
7872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7873 (eval $ac_try) 2>&5
7874 ac_status=$?
7875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7558 (exit $ac_status); }; }; then 7876 (exit $ac_status); }; }; then
7559 ac_cv_type_socklen_t=yes 7877 ac_cv_type_socklen_t=yes
7560else 7878else
7561 echo "$as_me: failed program was:" >&5 7879 echo "$as_me: failed program was:" >&5
7562sed 's/^/| /' conftest.$ac_ext >&5 7880sed 's/^/| /' conftest.$ac_ext >&5
7563 7881
7564ac_cv_type_socklen_t=no 7882ac_cv_type_socklen_t=no
7565fi 7883fi
7566rm -f conftest.$ac_objext conftest.$ac_ext 7884rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7567 7885
7568fi 7886fi
7569echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 7887echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
7570echo "${ECHO_T}$ac_cv_type_socklen_t" >&6 7888echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
7571if test $ac_cv_type_socklen_t = yes; then 7889if test $ac_cv_type_socklen_t = yes; then
7581if test "${ac_cv_struct_addrinfo+set}" = set; then 7899if test "${ac_cv_struct_addrinfo+set}" = set; then
7582 echo $ECHO_N "(cached) $ECHO_C" >&6 7900 echo $ECHO_N "(cached) $ECHO_C" >&6
7583else 7901else
7584 7902
7585 cat >conftest.$ac_ext <<_ACEOF 7903 cat >conftest.$ac_ext <<_ACEOF
7586#line $LINENO "configure"
7587/* confdefs.h. */ 7904/* confdefs.h. */
7588_ACEOF 7905_ACEOF
7589cat confdefs.h >>conftest.$ac_ext 7906cat confdefs.h >>conftest.$ac_ext
7590cat >>conftest.$ac_ext <<_ACEOF 7907cat >>conftest.$ac_ext <<_ACEOF
7591/* end confdefs.h. */ 7908/* end confdefs.h. */
7600 return 0; 7917 return 0;
7601} 7918}
7602_ACEOF 7919_ACEOF
7603rm -f conftest.$ac_objext 7920rm -f conftest.$ac_objext
7604if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7921if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7605 (eval $ac_compile) 2>&5 7922 (eval $ac_compile) 2>conftest.er1
7606 ac_status=$? 7923 ac_status=$?
7924 grep -v '^ *+' conftest.er1 >conftest.err
7925 rm -f conftest.er1
7926 cat conftest.err >&5
7607 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7608 (exit $ac_status); } && 7928 (exit $ac_status); } &&
7609 { ac_try='test -s conftest.$ac_objext' 7929 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7611 (eval $ac_try) 2>&5 7931 (eval $ac_try) 2>&5
7612 ac_status=$? 7932 ac_status=$?
7613 echo "$as_me:$LINENO: \$? = $ac_status" >&5 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
7614 (exit $ac_status); }; }; then 7940 (exit $ac_status); }; }; then
7615 ac_cv_struct_addrinfo=yes 7941 ac_cv_struct_addrinfo=yes
7616else 7942else
7617 echo "$as_me: failed program was:" >&5 7943 echo "$as_me: failed program was:" >&5
7618sed 's/^/| /' conftest.$ac_ext >&5 7944sed 's/^/| /' conftest.$ac_ext >&5
7619 7945
7620ac_cv_struct_addrinfo=no 7946ac_cv_struct_addrinfo=no
7621fi 7947fi
7622rm -f conftest.$ac_objext conftest.$ac_ext 7948rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7623 7949
7624fi 7950fi
7625echo "$as_me:$LINENO: result: $ac_cv_struct_addrinfo" >&5 7951echo "$as_me:$LINENO: result: $ac_cv_struct_addrinfo" >&5
7626echo "${ECHO_T}$ac_cv_struct_addrinfo" >&6 7952echo "${ECHO_T}$ac_cv_struct_addrinfo" >&6
7627if test $ac_cv_struct_addrinfo = yes; then 7953if test $ac_cv_struct_addrinfo = yes; then
7636echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 7962echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
7637if test "${ac_cv_type_signal+set}" = set; then 7963if test "${ac_cv_type_signal+set}" = set; then
7638 echo $ECHO_N "(cached) $ECHO_C" >&6 7964 echo $ECHO_N "(cached) $ECHO_C" >&6
7639else 7965else
7640 cat >conftest.$ac_ext <<_ACEOF 7966 cat >conftest.$ac_ext <<_ACEOF
7641#line $LINENO "configure"
7642/* confdefs.h. */ 7967/* confdefs.h. */
7643_ACEOF 7968_ACEOF
7644cat confdefs.h >>conftest.$ac_ext 7969cat confdefs.h >>conftest.$ac_ext
7645cat >>conftest.$ac_ext <<_ACEOF 7970cat >>conftest.$ac_ext <<_ACEOF
7646/* end confdefs.h. */ 7971/* end confdefs.h. */
7663 return 0; 7988 return 0;
7664} 7989}
7665_ACEOF 7990_ACEOF
7666rm -f conftest.$ac_objext 7991rm -f conftest.$ac_objext
7667if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7992if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7668 (eval $ac_compile) 2>&5 7993 (eval $ac_compile) 2>conftest.er1
7669 ac_status=$? 7994 ac_status=$?
7995 grep -v '^ *+' conftest.er1 >conftest.err
7996 rm -f conftest.er1
7997 cat conftest.err >&5
7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7671 (exit $ac_status); } && 7999 (exit $ac_status); } &&
7672 { ac_try='test -s conftest.$ac_objext' 8000 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7674 (eval $ac_try) 2>&5 8002 (eval $ac_try) 2>&5
7675 ac_status=$? 8003 ac_status=$?
7676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 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
7677 (exit $ac_status); }; }; then 8011 (exit $ac_status); }; }; then
7678 ac_cv_type_signal=void 8012 ac_cv_type_signal=void
7679else 8013else
7680 echo "$as_me: failed program was:" >&5 8014 echo "$as_me: failed program was:" >&5
7681sed 's/^/| /' conftest.$ac_ext >&5 8015sed 's/^/| /' conftest.$ac_ext >&5
7682 8016
7683ac_cv_type_signal=int 8017ac_cv_type_signal=int
7684fi 8018fi
7685rm -f conftest.$ac_objext conftest.$ac_ext 8019rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7686fi 8020fi
7687echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 8021echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
7688echo "${ECHO_T}$ac_cv_type_signal" >&6 8022echo "${ECHO_T}$ac_cv_type_signal" >&6
7689 8023
7690cat >>confdefs.h <<_ACEOF 8024cat >>confdefs.h <<_ACEOF
7704echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 8038echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7705if test "${ac_cv_header_stdc+set}" = set; then 8039if test "${ac_cv_header_stdc+set}" = set; then
7706 echo $ECHO_N "(cached) $ECHO_C" >&6 8040 echo $ECHO_N "(cached) $ECHO_C" >&6
7707else 8041else
7708 cat >conftest.$ac_ext <<_ACEOF 8042 cat >conftest.$ac_ext <<_ACEOF
7709#line $LINENO "configure"
7710/* confdefs.h. */ 8043/* confdefs.h. */
7711_ACEOF 8044_ACEOF
7712cat confdefs.h >>conftest.$ac_ext 8045cat confdefs.h >>conftest.$ac_ext
7713cat >>conftest.$ac_ext <<_ACEOF 8046cat >>conftest.$ac_ext <<_ACEOF
7714/* end confdefs.h. */ 8047/* end confdefs.h. */
7725 return 0; 8058 return 0;
7726} 8059}
7727_ACEOF 8060_ACEOF
7728rm -f conftest.$ac_objext 8061rm -f conftest.$ac_objext
7729if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8062if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7730 (eval $ac_compile) 2>&5 8063 (eval $ac_compile) 2>conftest.er1
7731 ac_status=$? 8064 ac_status=$?
8065 grep -v '^ *+' conftest.er1 >conftest.err
8066 rm -f conftest.er1
8067 cat conftest.err >&5
7732 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7733 (exit $ac_status); } && 8069 (exit $ac_status); } &&
7734 { ac_try='test -s conftest.$ac_objext' 8070 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7736 (eval $ac_try) 2>&5 8072 (eval $ac_try) 2>&5
7737 ac_status=$? 8073 ac_status=$?
7738 echo "$as_me:$LINENO: \$? = $ac_status" >&5 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
7739 (exit $ac_status); }; }; then 8081 (exit $ac_status); }; }; then
7740 ac_cv_header_stdc=yes 8082 ac_cv_header_stdc=yes
7741else 8083else
7742 echo "$as_me: failed program was:" >&5 8084 echo "$as_me: failed program was:" >&5
7743sed 's/^/| /' conftest.$ac_ext >&5 8085sed 's/^/| /' conftest.$ac_ext >&5
7744 8086
7745ac_cv_header_stdc=no 8087ac_cv_header_stdc=no
7746fi 8088fi
7747rm -f conftest.$ac_objext conftest.$ac_ext 8089rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7748 8090
7749if test $ac_cv_header_stdc = yes; then 8091if test $ac_cv_header_stdc = yes; then
7750 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 8092 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7751 cat >conftest.$ac_ext <<_ACEOF 8093 cat >conftest.$ac_ext <<_ACEOF
7752#line $LINENO "configure"
7753/* confdefs.h. */ 8094/* confdefs.h. */
7754_ACEOF 8095_ACEOF
7755cat confdefs.h >>conftest.$ac_ext 8096cat confdefs.h >>conftest.$ac_ext
7756cat >>conftest.$ac_ext <<_ACEOF 8097cat >>conftest.$ac_ext <<_ACEOF
7757/* end confdefs.h. */ 8098/* end confdefs.h. */
7769fi 8110fi
7770 8111
7771if test $ac_cv_header_stdc = yes; then 8112if test $ac_cv_header_stdc = yes; then
7772 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 8113 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7773 cat >conftest.$ac_ext <<_ACEOF 8114 cat >conftest.$ac_ext <<_ACEOF
7774#line $LINENO "configure"
7775/* confdefs.h. */ 8115/* confdefs.h. */
7776_ACEOF 8116_ACEOF
7777cat confdefs.h >>conftest.$ac_ext 8117cat confdefs.h >>conftest.$ac_ext
7778cat >>conftest.$ac_ext <<_ACEOF 8118cat >>conftest.$ac_ext <<_ACEOF
7779/* end confdefs.h. */ 8119/* end confdefs.h. */
7794 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 8134 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7795 if test "$cross_compiling" = yes; then 8135 if test "$cross_compiling" = yes; then
7796 : 8136 :
7797else 8137else
7798 cat >conftest.$ac_ext <<_ACEOF 8138 cat >conftest.$ac_ext <<_ACEOF
7799#line $LINENO "configure"
7800/* confdefs.h. */ 8139/* confdefs.h. */
7801_ACEOF 8140_ACEOF
7802cat confdefs.h >>conftest.$ac_ext 8141cat confdefs.h >>conftest.$ac_ext
7803cat >>conftest.$ac_ext <<_ACEOF 8142cat >>conftest.$ac_ext <<_ACEOF
7804/* end confdefs.h. */ 8143/* end confdefs.h. */
7806#if ((' ' & 0x0FF) == 0x020) 8145#if ((' ' & 0x0FF) == 0x020)
7807# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 8146# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7808# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 8147# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7809#else 8148#else
7810# define ISLOWER(c) \ 8149# define ISLOWER(c) \
7811 (('a' <= (c) && (c) <= 'i') \ 8150 (('a' <= (c) && (c) <= 'i') \
7812 || ('j' <= (c) && (c) <= 'r') \ 8151 || ('j' <= (c) && (c) <= 'r') \
7813 || ('s' <= (c) && (c) <= 'z')) 8152 || ('s' <= (c) && (c) <= 'z'))
7814# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 8153# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7815#endif 8154#endif
7816 8155
7817#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 8156#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7818int 8157int
7819main () 8158main ()
7820{ 8159{
7821 int i; 8160 int i;
7822 for (i = 0; i < 256; i++) 8161 for (i = 0; i < 256; i++)
7823 if (XOR (islower (i), ISLOWER (i)) 8162 if (XOR (islower (i), ISLOWER (i))
7824 || toupper (i) != TOUPPER (i)) 8163 || toupper (i) != TOUPPER (i))
7825 exit(2); 8164 exit(2);
7826 exit (0); 8165 exit (0);
7827} 8166}
7828_ACEOF 8167_ACEOF
7829rm -f conftest$ac_exeext 8168rm -f conftest$ac_exeext
7869 8208
7870 8209
7871 8210
7872 8211
7873 8212
7874
7875for ac_func in asprintf daemon get_current_dir_name putenv select strerror strsignal strtol unsetenv mlockall poll 8213for ac_func in asprintf daemon get_current_dir_name putenv select strerror strsignal strtol unsetenv mlockall
7876do 8214do
7877as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8215as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7878echo "$as_me:$LINENO: checking for $ac_func" >&5 8216echo "$as_me:$LINENO: checking for $ac_func" >&5
7879echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8217echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7880if eval "test \"\${$as_ac_var+set}\" = set"; then 8218if eval "test \"\${$as_ac_var+set}\" = set"; then
7881 echo $ECHO_N "(cached) $ECHO_C" >&6 8219 echo $ECHO_N "(cached) $ECHO_C" >&6
7882else 8220else
7883 cat >conftest.$ac_ext <<_ACEOF 8221 cat >conftest.$ac_ext <<_ACEOF
7884#line $LINENO "configure"
7885/* confdefs.h. */ 8222/* confdefs.h. */
7886_ACEOF 8223_ACEOF
7887cat confdefs.h >>conftest.$ac_ext 8224cat confdefs.h >>conftest.$ac_ext
7888cat >>conftest.$ac_ext <<_ACEOF 8225cat >>conftest.$ac_ext <<_ACEOF
7889/* 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
7890/* System header to define __stub macros and hopefully few prototypes, 8231/* System header to define __stub macros and hopefully few prototypes,
7891 which can conflict with char $ac_func (); below. 8232 which can conflict with char $ac_func (); below.
7892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7893 <limits.h> exists even on freestanding compilers. */ 8234 <limits.h> exists even on freestanding compilers. */
8235
7894#ifdef __STDC__ 8236#ifdef __STDC__
7895# include <limits.h> 8237# include <limits.h>
7896#else 8238#else
7897# include <assert.h> 8239# include <assert.h>
7898#endif 8240#endif
8241
8242#undef $ac_func
8243
7899/* Override any gcc2 internal prototype to avoid an error. */ 8244/* Override any gcc2 internal prototype to avoid an error. */
7900#ifdef __cplusplus 8245#ifdef __cplusplus
7901extern "C" 8246extern "C"
7902{ 8247{
7903#endif 8248#endif
7924 return 0; 8269 return 0;
7925} 8270}
7926_ACEOF 8271_ACEOF
7927rm -f conftest.$ac_objext conftest$ac_exeext 8272rm -f conftest.$ac_objext conftest$ac_exeext
7928if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8273if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7929 (eval $ac_link) 2>&5 8274 (eval $ac_link) 2>conftest.er1
7930 ac_status=$? 8275 ac_status=$?
8276 grep -v '^ *+' conftest.er1 >conftest.err
8277 rm -f conftest.er1
8278 cat conftest.err >&5
7931 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7932 (exit $ac_status); } && 8280 (exit $ac_status); } &&
7933 { ac_try='test -s conftest$ac_exeext' 8281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7935 (eval $ac_try) 2>&5 8283 (eval $ac_try) 2>&5
7936 ac_status=$? 8284 ac_status=$?
7937 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
7938 (exit $ac_status); }; }; then 8292 (exit $ac_status); }; }; then
7939 eval "$as_ac_var=yes" 8293 eval "$as_ac_var=yes"
7940else 8294else
7941 echo "$as_me: failed program was:" >&5 8295 echo "$as_me: failed program was:" >&5
7942sed 's/^/| /' conftest.$ac_ext >&5 8296sed 's/^/| /' conftest.$ac_ext >&5
7943 8297
7944eval "$as_ac_var=no" 8298eval "$as_ac_var=no"
7945fi 8299fi
7946rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8300rm -f conftest.err conftest.$ac_objext \
8301 conftest$ac_exeext conftest.$ac_ext
7947fi 8302fi
7948echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 8303echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7949echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8304echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7950if test `eval echo '${'$as_ac_var'}'` = yes; then 8305if test `eval echo '${'$as_ac_var'}'` = yes; then
7951 cat >>confdefs.h <<_ACEOF 8306 cat >>confdefs.h <<_ACEOF
7962echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 8317echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
7963if test "${ac_cv_working_alloca_h+set}" = set; then 8318if test "${ac_cv_working_alloca_h+set}" = set; then
7964 echo $ECHO_N "(cached) $ECHO_C" >&6 8319 echo $ECHO_N "(cached) $ECHO_C" >&6
7965else 8320else
7966 cat >conftest.$ac_ext <<_ACEOF 8321 cat >conftest.$ac_ext <<_ACEOF
7967#line $LINENO "configure"
7968/* confdefs.h. */ 8322/* confdefs.h. */
7969_ACEOF 8323_ACEOF
7970cat confdefs.h >>conftest.$ac_ext 8324cat confdefs.h >>conftest.$ac_ext
7971cat >>conftest.$ac_ext <<_ACEOF 8325cat >>conftest.$ac_ext <<_ACEOF
7972/* end confdefs.h. */ 8326/* end confdefs.h. */
7979 return 0; 8333 return 0;
7980} 8334}
7981_ACEOF 8335_ACEOF
7982rm -f conftest.$ac_objext conftest$ac_exeext 8336rm -f conftest.$ac_objext conftest$ac_exeext
7983if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8337if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7984 (eval $ac_link) 2>&5 8338 (eval $ac_link) 2>conftest.er1
7985 ac_status=$? 8339 ac_status=$?
8340 grep -v '^ *+' conftest.er1 >conftest.err
8341 rm -f conftest.er1
8342 cat conftest.err >&5
7986 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7987 (exit $ac_status); } && 8344 (exit $ac_status); } &&
7988 { ac_try='test -s conftest$ac_exeext' 8345 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7990 (eval $ac_try) 2>&5 8347 (eval $ac_try) 2>&5
7991 ac_status=$? 8348 ac_status=$?
7992 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
7993 (exit $ac_status); }; }; then 8356 (exit $ac_status); }; }; then
7994 ac_cv_working_alloca_h=yes 8357 ac_cv_working_alloca_h=yes
7995else 8358else
7996 echo "$as_me: failed program was:" >&5 8359 echo "$as_me: failed program was:" >&5
7997sed 's/^/| /' conftest.$ac_ext >&5 8360sed 's/^/| /' conftest.$ac_ext >&5
7998 8361
7999ac_cv_working_alloca_h=no 8362ac_cv_working_alloca_h=no
8000fi 8363fi
8001rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8364rm -f conftest.err conftest.$ac_objext \
8365 conftest$ac_exeext conftest.$ac_ext
8002fi 8366fi
8003echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 8367echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
8004echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 8368echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
8005if test $ac_cv_working_alloca_h = yes; then 8369if test $ac_cv_working_alloca_h = yes; then
8006 8370
8014echo $ECHO_N "checking for alloca... $ECHO_C" >&6 8378echo $ECHO_N "checking for alloca... $ECHO_C" >&6
8015if test "${ac_cv_func_alloca_works+set}" = set; then 8379if test "${ac_cv_func_alloca_works+set}" = set; then
8016 echo $ECHO_N "(cached) $ECHO_C" >&6 8380 echo $ECHO_N "(cached) $ECHO_C" >&6
8017else 8381else
8018 cat >conftest.$ac_ext <<_ACEOF 8382 cat >conftest.$ac_ext <<_ACEOF
8019#line $LINENO "configure"
8020/* confdefs.h. */ 8383/* confdefs.h. */
8021_ACEOF 8384_ACEOF
8022cat confdefs.h >>conftest.$ac_ext 8385cat confdefs.h >>conftest.$ac_ext
8023cat >>conftest.$ac_ext <<_ACEOF 8386cat >>conftest.$ac_ext <<_ACEOF
8024/* end confdefs.h. */ 8387/* end confdefs.h. */
8051 return 0; 8414 return 0;
8052} 8415}
8053_ACEOF 8416_ACEOF
8054rm -f conftest.$ac_objext conftest$ac_exeext 8417rm -f conftest.$ac_objext conftest$ac_exeext
8055if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8418if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8056 (eval $ac_link) 2>&5 8419 (eval $ac_link) 2>conftest.er1
8057 ac_status=$? 8420 ac_status=$?
8421 grep -v '^ *+' conftest.er1 >conftest.err
8422 rm -f conftest.er1
8423 cat conftest.err >&5
8058 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8059 (exit $ac_status); } && 8425 (exit $ac_status); } &&
8060 { ac_try='test -s conftest$ac_exeext' 8426 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8062 (eval $ac_try) 2>&5 8428 (eval $ac_try) 2>&5
8063 ac_status=$? 8429 ac_status=$?
8064 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
8065 (exit $ac_status); }; }; then 8437 (exit $ac_status); }; }; then
8066 ac_cv_func_alloca_works=yes 8438 ac_cv_func_alloca_works=yes
8067else 8439else
8068 echo "$as_me: failed program was:" >&5 8440 echo "$as_me: failed program was:" >&5
8069sed 's/^/| /' conftest.$ac_ext >&5 8441sed 's/^/| /' conftest.$ac_ext >&5
8070 8442
8071ac_cv_func_alloca_works=no 8443ac_cv_func_alloca_works=no
8072fi 8444fi
8073rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8445rm -f conftest.err conftest.$ac_objext \
8446 conftest$ac_exeext conftest.$ac_ext
8074fi 8447fi
8075echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 8448echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
8076echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 8449echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
8077 8450
8078if test $ac_cv_func_alloca_works = yes; then 8451if test $ac_cv_func_alloca_works = yes; then
8098echo $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
8099if test "${ac_cv_os_cray+set}" = set; then 8472if test "${ac_cv_os_cray+set}" = set; then
8100 echo $ECHO_N "(cached) $ECHO_C" >&6 8473 echo $ECHO_N "(cached) $ECHO_C" >&6
8101else 8474else
8102 cat >conftest.$ac_ext <<_ACEOF 8475 cat >conftest.$ac_ext <<_ACEOF
8103#line $LINENO "configure"
8104/* confdefs.h. */ 8476/* confdefs.h. */
8105_ACEOF 8477_ACEOF
8106cat confdefs.h >>conftest.$ac_ext 8478cat confdefs.h >>conftest.$ac_ext
8107cat >>conftest.$ac_ext <<_ACEOF 8479cat >>conftest.$ac_ext <<_ACEOF
8108/* end confdefs.h. */ 8480/* end confdefs.h. */
8131echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8503echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8132if eval "test \"\${$as_ac_var+set}\" = set"; then 8504if eval "test \"\${$as_ac_var+set}\" = set"; then
8133 echo $ECHO_N "(cached) $ECHO_C" >&6 8505 echo $ECHO_N "(cached) $ECHO_C" >&6
8134else 8506else
8135 cat >conftest.$ac_ext <<_ACEOF 8507 cat >conftest.$ac_ext <<_ACEOF
8136#line $LINENO "configure"
8137/* confdefs.h. */ 8508/* confdefs.h. */
8138_ACEOF 8509_ACEOF
8139cat confdefs.h >>conftest.$ac_ext 8510cat confdefs.h >>conftest.$ac_ext
8140cat >>conftest.$ac_ext <<_ACEOF 8511cat >>conftest.$ac_ext <<_ACEOF
8141/* 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
8142/* System header to define __stub macros and hopefully few prototypes, 8517/* System header to define __stub macros and hopefully few prototypes,
8143 which can conflict with char $ac_func (); below. 8518 which can conflict with char $ac_func (); below.
8144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8145 <limits.h> exists even on freestanding compilers. */ 8520 <limits.h> exists even on freestanding compilers. */
8521
8146#ifdef __STDC__ 8522#ifdef __STDC__
8147# include <limits.h> 8523# include <limits.h>
8148#else 8524#else
8149# include <assert.h> 8525# include <assert.h>
8150#endif 8526#endif
8527
8528#undef $ac_func
8529
8151/* Override any gcc2 internal prototype to avoid an error. */ 8530/* Override any gcc2 internal prototype to avoid an error. */
8152#ifdef __cplusplus 8531#ifdef __cplusplus
8153extern "C" 8532extern "C"
8154{ 8533{
8155#endif 8534#endif
8176 return 0; 8555 return 0;
8177} 8556}
8178_ACEOF 8557_ACEOF
8179rm -f conftest.$ac_objext conftest$ac_exeext 8558rm -f conftest.$ac_objext conftest$ac_exeext
8180if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8559if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8181 (eval $ac_link) 2>&5 8560 (eval $ac_link) 2>conftest.er1
8182 ac_status=$? 8561 ac_status=$?
8562 grep -v '^ *+' conftest.er1 >conftest.err
8563 rm -f conftest.er1
8564 cat conftest.err >&5
8183 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8184 (exit $ac_status); } && 8566 (exit $ac_status); } &&
8185 { ac_try='test -s conftest$ac_exeext' 8567 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8187 (eval $ac_try) 2>&5 8569 (eval $ac_try) 2>&5
8188 ac_status=$? 8570 ac_status=$?
8189 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
8190 (exit $ac_status); }; }; then 8578 (exit $ac_status); }; }; then
8191 eval "$as_ac_var=yes" 8579 eval "$as_ac_var=yes"
8192else 8580else
8193 echo "$as_me: failed program was:" >&5 8581 echo "$as_me: failed program was:" >&5
8194sed 's/^/| /' conftest.$ac_ext >&5 8582sed 's/^/| /' conftest.$ac_ext >&5
8195 8583
8196eval "$as_ac_var=no" 8584eval "$as_ac_var=no"
8197fi 8585fi
8198rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8586rm -f conftest.err conftest.$ac_objext \
8587 conftest$ac_exeext conftest.$ac_ext
8199fi 8588fi
8200echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 8589echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8201echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8590echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8202if test `eval echo '${'$as_ac_var'}'` = yes; then 8591if test `eval echo '${'$as_ac_var'}'` = yes; then
8203 8592
8218else 8607else
8219 if test "$cross_compiling" = yes; then 8608 if test "$cross_compiling" = yes; then
8220 ac_cv_c_stack_direction=0 8609 ac_cv_c_stack_direction=0
8221else 8610else
8222 cat >conftest.$ac_ext <<_ACEOF 8611 cat >conftest.$ac_ext <<_ACEOF
8223#line $LINENO "configure"
8224/* confdefs.h. */ 8612/* confdefs.h. */
8225_ACEOF 8613_ACEOF
8226cat confdefs.h >>conftest.$ac_ext 8614cat confdefs.h >>conftest.$ac_ext
8227cat >>conftest.$ac_ext <<_ACEOF 8615cat >>conftest.$ac_ext <<_ACEOF
8228/* end confdefs.h. */ 8616/* end confdefs.h. */
8285echo $ECHO_N "checking for socket... $ECHO_C" >&6 8673echo $ECHO_N "checking for socket... $ECHO_C" >&6
8286if test "${ac_cv_func_socket+set}" = set; then 8674if test "${ac_cv_func_socket+set}" = set; then
8287 echo $ECHO_N "(cached) $ECHO_C" >&6 8675 echo $ECHO_N "(cached) $ECHO_C" >&6
8288else 8676else
8289 cat >conftest.$ac_ext <<_ACEOF 8677 cat >conftest.$ac_ext <<_ACEOF
8290#line $LINENO "configure"
8291/* confdefs.h. */ 8678/* confdefs.h. */
8292_ACEOF 8679_ACEOF
8293cat confdefs.h >>conftest.$ac_ext 8680cat confdefs.h >>conftest.$ac_ext
8294cat >>conftest.$ac_ext <<_ACEOF 8681cat >>conftest.$ac_ext <<_ACEOF
8295/* 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
8296/* System header to define __stub macros and hopefully few prototypes, 8687/* System header to define __stub macros and hopefully few prototypes,
8297 which can conflict with char socket (); below. 8688 which can conflict with char socket (); below.
8298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8299 <limits.h> exists even on freestanding compilers. */ 8690 <limits.h> exists even on freestanding compilers. */
8691
8300#ifdef __STDC__ 8692#ifdef __STDC__
8301# include <limits.h> 8693# include <limits.h>
8302#else 8694#else
8303# include <assert.h> 8695# include <assert.h>
8304#endif 8696#endif
8697
8698#undef socket
8699
8305/* Override any gcc2 internal prototype to avoid an error. */ 8700/* Override any gcc2 internal prototype to avoid an error. */
8306#ifdef __cplusplus 8701#ifdef __cplusplus
8307extern "C" 8702extern "C"
8308{ 8703{
8309#endif 8704#endif
8330 return 0; 8725 return 0;
8331} 8726}
8332_ACEOF 8727_ACEOF
8333rm -f conftest.$ac_objext conftest$ac_exeext 8728rm -f conftest.$ac_objext conftest$ac_exeext
8334if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8729if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8335 (eval $ac_link) 2>&5 8730 (eval $ac_link) 2>conftest.er1
8336 ac_status=$? 8731 ac_status=$?
8732 grep -v '^ *+' conftest.er1 >conftest.err
8733 rm -f conftest.er1
8734 cat conftest.err >&5
8337 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8338 (exit $ac_status); } && 8736 (exit $ac_status); } &&
8339 { ac_try='test -s conftest$ac_exeext' 8737 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8341 (eval $ac_try) 2>&5 8739 (eval $ac_try) 2>&5
8342 ac_status=$? 8740 ac_status=$?
8343 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
8344 (exit $ac_status); }; }; then 8748 (exit $ac_status); }; }; then
8345 ac_cv_func_socket=yes 8749 ac_cv_func_socket=yes
8346else 8750else
8347 echo "$as_me: failed program was:" >&5 8751 echo "$as_me: failed program was:" >&5
8348sed 's/^/| /' conftest.$ac_ext >&5 8752sed 's/^/| /' conftest.$ac_ext >&5
8349 8753
8350ac_cv_func_socket=no 8754ac_cv_func_socket=no
8351fi 8755fi
8352rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8756rm -f conftest.err conftest.$ac_objext \
8757 conftest$ac_exeext conftest.$ac_ext
8353fi 8758fi
8354echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 8759echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
8355echo "${ECHO_T}$ac_cv_func_socket" >&6 8760echo "${ECHO_T}$ac_cv_func_socket" >&6
8356if test $ac_cv_func_socket = yes; then 8761if test $ac_cv_func_socket = yes; then
8357 : 8762 :
8364 echo $ECHO_N "(cached) $ECHO_C" >&6 8769 echo $ECHO_N "(cached) $ECHO_C" >&6
8365else 8770else
8366 ac_check_lib_save_LIBS=$LIBS 8771 ac_check_lib_save_LIBS=$LIBS
8367LIBS="-lsocket $LIBS" 8772LIBS="-lsocket $LIBS"
8368cat >conftest.$ac_ext <<_ACEOF 8773cat >conftest.$ac_ext <<_ACEOF
8369#line $LINENO "configure"
8370/* confdefs.h. */ 8774/* confdefs.h. */
8371_ACEOF 8775_ACEOF
8372cat confdefs.h >>conftest.$ac_ext 8776cat confdefs.h >>conftest.$ac_ext
8373cat >>conftest.$ac_ext <<_ACEOF 8777cat >>conftest.$ac_ext <<_ACEOF
8374/* end confdefs.h. */ 8778/* end confdefs.h. */
8388 return 0; 8792 return 0;
8389} 8793}
8390_ACEOF 8794_ACEOF
8391rm -f conftest.$ac_objext conftest$ac_exeext 8795rm -f conftest.$ac_objext conftest$ac_exeext
8392if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8796if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8393 (eval $ac_link) 2>&5 8797 (eval $ac_link) 2>conftest.er1
8394 ac_status=$? 8798 ac_status=$?
8799 grep -v '^ *+' conftest.er1 >conftest.err
8800 rm -f conftest.er1
8801 cat conftest.err >&5
8395 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8396 (exit $ac_status); } && 8803 (exit $ac_status); } &&
8397 { ac_try='test -s conftest$ac_exeext' 8804 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8399 (eval $ac_try) 2>&5 8806 (eval $ac_try) 2>&5
8400 ac_status=$? 8807 ac_status=$?
8401 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
8402 (exit $ac_status); }; }; then 8815 (exit $ac_status); }; }; then
8403 ac_cv_lib_socket_connect=yes 8816 ac_cv_lib_socket_connect=yes
8404else 8817else
8405 echo "$as_me: failed program was:" >&5 8818 echo "$as_me: failed program was:" >&5
8406sed 's/^/| /' conftest.$ac_ext >&5 8819sed 's/^/| /' conftest.$ac_ext >&5
8407 8820
8408ac_cv_lib_socket_connect=no 8821ac_cv_lib_socket_connect=no
8409fi 8822fi
8410rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8823rm -f conftest.err conftest.$ac_objext \
8824 conftest$ac_exeext conftest.$ac_ext
8411LIBS=$ac_check_lib_save_LIBS 8825LIBS=$ac_check_lib_save_LIBS
8412fi 8826fi
8413echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 8827echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
8414echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6 8828echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
8415if test $ac_cv_lib_socket_connect = yes; then 8829if test $ac_cv_lib_socket_connect = yes; then
8428echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 8842echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
8429if test "${ac_cv_func_gethostbyname+set}" = set; then 8843if test "${ac_cv_func_gethostbyname+set}" = set; then
8430 echo $ECHO_N "(cached) $ECHO_C" >&6 8844 echo $ECHO_N "(cached) $ECHO_C" >&6
8431else 8845else
8432 cat >conftest.$ac_ext <<_ACEOF 8846 cat >conftest.$ac_ext <<_ACEOF
8433#line $LINENO "configure"
8434/* confdefs.h. */ 8847/* confdefs.h. */
8435_ACEOF 8848_ACEOF
8436cat confdefs.h >>conftest.$ac_ext 8849cat confdefs.h >>conftest.$ac_ext
8437cat >>conftest.$ac_ext <<_ACEOF 8850cat >>conftest.$ac_ext <<_ACEOF
8438/* 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
8439/* System header to define __stub macros and hopefully few prototypes, 8856/* System header to define __stub macros and hopefully few prototypes,
8440 which can conflict with char gethostbyname (); below. 8857 which can conflict with char gethostbyname (); below.
8441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8442 <limits.h> exists even on freestanding compilers. */ 8859 <limits.h> exists even on freestanding compilers. */
8860
8443#ifdef __STDC__ 8861#ifdef __STDC__
8444# include <limits.h> 8862# include <limits.h>
8445#else 8863#else
8446# include <assert.h> 8864# include <assert.h>
8447#endif 8865#endif
8866
8867#undef gethostbyname
8868
8448/* Override any gcc2 internal prototype to avoid an error. */ 8869/* Override any gcc2 internal prototype to avoid an error. */
8449#ifdef __cplusplus 8870#ifdef __cplusplus
8450extern "C" 8871extern "C"
8451{ 8872{
8452#endif 8873#endif
8473 return 0; 8894 return 0;
8474} 8895}
8475_ACEOF 8896_ACEOF
8476rm -f conftest.$ac_objext conftest$ac_exeext 8897rm -f conftest.$ac_objext conftest$ac_exeext
8477if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8898if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8478 (eval $ac_link) 2>&5 8899 (eval $ac_link) 2>conftest.er1
8479 ac_status=$? 8900 ac_status=$?
8901 grep -v '^ *+' conftest.er1 >conftest.err
8902 rm -f conftest.er1
8903 cat conftest.err >&5
8480 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8481 (exit $ac_status); } && 8905 (exit $ac_status); } &&
8482 { ac_try='test -s conftest$ac_exeext' 8906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8484 (eval $ac_try) 2>&5 8908 (eval $ac_try) 2>&5
8485 ac_status=$? 8909 ac_status=$?
8486 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
8487 (exit $ac_status); }; }; then 8917 (exit $ac_status); }; }; then
8488 ac_cv_func_gethostbyname=yes 8918 ac_cv_func_gethostbyname=yes
8489else 8919else
8490 echo "$as_me: failed program was:" >&5 8920 echo "$as_me: failed program was:" >&5
8491sed 's/^/| /' conftest.$ac_ext >&5 8921sed 's/^/| /' conftest.$ac_ext >&5
8492 8922
8493ac_cv_func_gethostbyname=no 8923ac_cv_func_gethostbyname=no
8494fi 8924fi
8495rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8925rm -f conftest.err conftest.$ac_objext \
8926 conftest$ac_exeext conftest.$ac_ext
8496fi 8927fi
8497echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 8928echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
8498echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 8929echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
8499if test $ac_cv_func_gethostbyname = yes; then 8930if test $ac_cv_func_gethostbyname = yes; then
8500 : 8931 :
8507 echo $ECHO_N "(cached) $ECHO_C" >&6 8938 echo $ECHO_N "(cached) $ECHO_C" >&6
8508else 8939else
8509 ac_check_lib_save_LIBS=$LIBS 8940 ac_check_lib_save_LIBS=$LIBS
8510LIBS="-lnsl $LIBS" 8941LIBS="-lnsl $LIBS"
8511cat >conftest.$ac_ext <<_ACEOF 8942cat >conftest.$ac_ext <<_ACEOF
8512#line $LINENO "configure"
8513/* confdefs.h. */ 8943/* confdefs.h. */
8514_ACEOF 8944_ACEOF
8515cat confdefs.h >>conftest.$ac_ext 8945cat confdefs.h >>conftest.$ac_ext
8516cat >>conftest.$ac_ext <<_ACEOF 8946cat >>conftest.$ac_ext <<_ACEOF
8517/* end confdefs.h. */ 8947/* end confdefs.h. */
8531 return 0; 8961 return 0;
8532} 8962}
8533_ACEOF 8963_ACEOF
8534rm -f conftest.$ac_objext conftest$ac_exeext 8964rm -f conftest.$ac_objext conftest$ac_exeext
8535if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8965if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8536 (eval $ac_link) 2>&5 8966 (eval $ac_link) 2>conftest.er1
8537 ac_status=$? 8967 ac_status=$?
8968 grep -v '^ *+' conftest.er1 >conftest.err
8969 rm -f conftest.er1
8970 cat conftest.err >&5
8538 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8539 (exit $ac_status); } && 8972 (exit $ac_status); } &&
8540 { ac_try='test -s conftest$ac_exeext' 8973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8542 (eval $ac_try) 2>&5 8975 (eval $ac_try) 2>&5
8543 ac_status=$? 8976 ac_status=$?
8544 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
8545 (exit $ac_status); }; }; then 8984 (exit $ac_status); }; }; then
8546 ac_cv_lib_nsl_gethostbyname=yes 8985 ac_cv_lib_nsl_gethostbyname=yes
8547else 8986else
8548 echo "$as_me: failed program was:" >&5 8987 echo "$as_me: failed program was:" >&5
8549sed 's/^/| /' conftest.$ac_ext >&5 8988sed 's/^/| /' conftest.$ac_ext >&5
8550 8989
8551ac_cv_lib_nsl_gethostbyname=no 8990ac_cv_lib_nsl_gethostbyname=no
8552fi 8991fi
8553rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8992rm -f conftest.err conftest.$ac_objext \
8993 conftest$ac_exeext conftest.$ac_ext
8554LIBS=$ac_check_lib_save_LIBS 8994LIBS=$ac_check_lib_save_LIBS
8555fi 8995fi
8556echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 8996echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
8557echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 8997echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
8558if test $ac_cv_lib_nsl_gethostbyname = yes; then 8998if test $ac_cv_lib_nsl_gethostbyname = yes; then
8602 case `(ac_space=' '; set | grep ac_space) 2>&1` in 9042 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8603 *ac_space=\ *) 9043 *ac_space=\ *)
8604 # `set' does not quote correctly, so add quotes (double-quote 9044 # `set' does not quote correctly, so add quotes (double-quote
8605 # substitution turns \\\\ into \\, and sed turns \\ into \). 9045 # substitution turns \\\\ into \\, and sed turns \\ into \).
8606 sed -n \ 9046 sed -n \
8607 "s/'/'\\\\''/g; 9047 "s/'/'\\\\''/g;
8608 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 9048 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8609 ;; 9049 ;;
8610 *) 9050 *)
8611 # `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.
8612 sed -n \ 9052 sed -n \
8613 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 9053 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8614 ;; 9054 ;;
8615 esac; 9055 esac;
8616} | 9056} |
8617 sed ' 9057 sed '
8618 t clear 9058 t clear
8647if test "${tinc_cv_linux_if_tun_h+set}" = set; then 9087if test "${tinc_cv_linux_if_tun_h+set}" = set; then
8648 echo $ECHO_N "(cached) $ECHO_C" >&6 9088 echo $ECHO_N "(cached) $ECHO_C" >&6
8649else 9089else
8650 9090
8651 cat >conftest.$ac_ext <<_ACEOF 9091 cat >conftest.$ac_ext <<_ACEOF
8652#line $LINENO "configure"
8653/* confdefs.h. */ 9092/* confdefs.h. */
8654_ACEOF 9093_ACEOF
8655cat confdefs.h >>conftest.$ac_ext 9094cat confdefs.h >>conftest.$ac_ext
8656cat >>conftest.$ac_ext <<_ACEOF 9095cat >>conftest.$ac_ext <<_ACEOF
8657/* end confdefs.h. */ 9096/* end confdefs.h. */
8664 return 0; 9103 return 0;
8665} 9104}
8666_ACEOF 9105_ACEOF
8667rm -f conftest.$ac_objext 9106rm -f conftest.$ac_objext
8668if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9107if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8669 (eval $ac_compile) 2>&5 9108 (eval $ac_compile) 2>conftest.er1
8670 ac_status=$? 9109 ac_status=$?
9110 grep -v '^ *+' conftest.er1 >conftest.err
9111 rm -f conftest.er1
9112 cat conftest.err >&5
8671 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8672 (exit $ac_status); } && 9114 (exit $ac_status); } &&
8673 { ac_try='test -s conftest.$ac_objext' 9115 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8675 (eval $ac_try) 2>&5 9117 (eval $ac_try) 2>&5
8676 ac_status=$? 9118 ac_status=$?
8677 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
8678 (exit $ac_status); }; }; then 9126 (exit $ac_status); }; }; then
8679 if_tun_h="\"$kerneldir/include/linux/if_tun.h\"" 9127 if_tun_h="\"$kerneldir/include/linux/if_tun.h\""
8680else 9128else
8681 echo "$as_me: failed program was:" >&5 9129 echo "$as_me: failed program was:" >&5
8682sed 's/^/| /' conftest.$ac_ext >&5 9130sed 's/^/| /' conftest.$ac_ext >&5
8683 9131
8684cat >conftest.$ac_ext <<_ACEOF 9132cat >conftest.$ac_ext <<_ACEOF
8685#line $LINENO "configure"
8686/* confdefs.h. */ 9133/* confdefs.h. */
8687_ACEOF 9134_ACEOF
8688cat confdefs.h >>conftest.$ac_ext 9135cat confdefs.h >>conftest.$ac_ext
8689cat >>conftest.$ac_ext <<_ACEOF 9136cat >>conftest.$ac_ext <<_ACEOF
8690/* end confdefs.h. */ 9137/* end confdefs.h. */
8697 return 0; 9144 return 0;
8698} 9145}
8699_ACEOF 9146_ACEOF
8700rm -f conftest.$ac_objext 9147rm -f conftest.$ac_objext
8701if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9148if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8702 (eval $ac_compile) 2>&5 9149 (eval $ac_compile) 2>conftest.er1
8703 ac_status=$? 9150 ac_status=$?
9151 grep -v '^ *+' conftest.er1 >conftest.err
9152 rm -f conftest.er1
9153 cat conftest.err >&5
8704 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8705 (exit $ac_status); } && 9155 (exit $ac_status); } &&
8706 { ac_try='test -s conftest.$ac_objext' 9156 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8708 (eval $ac_try) 2>&5 9158 (eval $ac_try) 2>&5
8709 ac_status=$? 9159 ac_status=$?
8710 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
8711 (exit $ac_status); }; }; then 9167 (exit $ac_status); }; }; then
8712 if_tun_h="default" 9168 if_tun_h="default"
8713else 9169else
8714 echo "$as_me: failed program was:" >&5 9170 echo "$as_me: failed program was:" >&5
8715sed 's/^/| /' conftest.$ac_ext >&5 9171sed 's/^/| /' conftest.$ac_ext >&5
8716 9172
8717if_tun_h="no" 9173if_tun_h="no"
8718 9174
8719fi 9175fi
8720rm -f conftest.$ac_objext conftest.$ac_ext 9176rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8721 9177
8722fi 9178fi
8723rm -f conftest.$ac_objext conftest.$ac_ext 9179rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8724 9180
8725 if test $if_tun_h = no; then 9181 if test $if_tun_h = no; then
8726 tinc_cv_linux_if_tun_h=none 9182 tinc_cv_linux_if_tun_h=none
8727 else 9183 else
8728 tinc_cv_linux_if_tun_h="$if_tun_h" 9184 tinc_cv_linux_if_tun_h="$if_tun_h"
8792else 9248else
8793 # Is the header compilable? 9249 # Is the header compilable?
8794echo "$as_me:$LINENO: checking $ac_header usability" >&5 9250echo "$as_me:$LINENO: checking $ac_header usability" >&5
8795echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 9251echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8796cat >conftest.$ac_ext <<_ACEOF 9252cat >conftest.$ac_ext <<_ACEOF
8797#line $LINENO "configure"
8798/* confdefs.h. */ 9253/* confdefs.h. */
8799_ACEOF 9254_ACEOF
8800cat confdefs.h >>conftest.$ac_ext 9255cat confdefs.h >>conftest.$ac_ext
8801cat >>conftest.$ac_ext <<_ACEOF 9256cat >>conftest.$ac_ext <<_ACEOF
8802/* end confdefs.h. */ 9257/* end confdefs.h. */
8803$ac_includes_default 9258$ac_includes_default
8804#include <$ac_header> 9259#include <$ac_header>
8805_ACEOF 9260_ACEOF
8806rm -f conftest.$ac_objext 9261rm -f conftest.$ac_objext
8807if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9262if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8808 (eval $ac_compile) 2>&5 9263 (eval $ac_compile) 2>conftest.er1
8809 ac_status=$? 9264 ac_status=$?
9265 grep -v '^ *+' conftest.er1 >conftest.err
9266 rm -f conftest.er1
9267 cat conftest.err >&5
8810 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8811 (exit $ac_status); } && 9269 (exit $ac_status); } &&
8812 { ac_try='test -s conftest.$ac_objext' 9270 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8814 (eval $ac_try) 2>&5 9272 (eval $ac_try) 2>&5
8815 ac_status=$? 9273 ac_status=$?
8816 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
8817 (exit $ac_status); }; }; then 9281 (exit $ac_status); }; }; then
8818 ac_header_compiler=yes 9282 ac_header_compiler=yes
8819else 9283else
8820 echo "$as_me: failed program was:" >&5 9284 echo "$as_me: failed program was:" >&5
8821sed 's/^/| /' conftest.$ac_ext >&5 9285sed 's/^/| /' conftest.$ac_ext >&5
8822 9286
8823ac_header_compiler=no 9287ac_header_compiler=no
8824fi 9288fi
8825rm -f conftest.$ac_objext conftest.$ac_ext 9289rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8826echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9290echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8827echo "${ECHO_T}$ac_header_compiler" >&6 9291echo "${ECHO_T}$ac_header_compiler" >&6
8828 9292
8829# Is the header present? 9293# Is the header present?
8830echo "$as_me:$LINENO: checking $ac_header presence" >&5 9294echo "$as_me:$LINENO: checking $ac_header presence" >&5
8831echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 9295echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8832cat >conftest.$ac_ext <<_ACEOF 9296cat >conftest.$ac_ext <<_ACEOF
8833#line $LINENO "configure"
8834/* confdefs.h. */ 9297/* confdefs.h. */
8835_ACEOF 9298_ACEOF
8836cat confdefs.h >>conftest.$ac_ext 9299cat confdefs.h >>conftest.$ac_ext
8837cat >>conftest.$ac_ext <<_ACEOF 9300cat >>conftest.$ac_ext <<_ACEOF
8838/* end confdefs.h. */ 9301/* end confdefs.h. */
8846 cat conftest.err >&5 9309 cat conftest.err >&5
8847 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8848 (exit $ac_status); } >/dev/null; then 9311 (exit $ac_status); } >/dev/null; then
8849 if test -s conftest.err; then 9312 if test -s conftest.err; then
8850 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
8851 else 9315 else
8852 ac_cpp_err= 9316 ac_cpp_err=
8853 fi 9317 fi
8854else 9318else
8855 ac_cpp_err=yes 9319 ac_cpp_err=yes
8865rm -f conftest.err conftest.$ac_ext 9329rm -f conftest.err conftest.$ac_ext
8866echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9330echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8867echo "${ECHO_T}$ac_header_preproc" >&6 9331echo "${ECHO_T}$ac_header_preproc" >&6
8868 9332
8869# So? What about this header? 9333# So? What about this header?
8870case $ac_header_compiler:$ac_header_preproc in 9334case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8871 yes:no ) 9335 yes:no: )
8872 { 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
8873echo "$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;}
8874 { 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
8875echo "$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;}
8876 ( 9355 (
8877 cat <<\_ASBOX 9356 cat <<\_ASBOX
8878## ------------------------------------ ## 9357## ------------------------------------------ ##
8879## Report this to bug-autoconf@gnu.org. ## 9358## Report this to the AC_PACKAGE_NAME lists. ##
8880## ------------------------------------ ## 9359## ------------------------------------------ ##
8881_ASBOX
8882 ) |
8883 sed "s/^/$as_me: WARNING: /" >&2
8884 ;;
8885 no:yes )
8886 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8887echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8888 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8889echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8890 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8891echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8892 (
8893 cat <<\_ASBOX
8894## ------------------------------------ ##
8895## Report this to bug-autoconf@gnu.org. ##
8896## ------------------------------------ ##
8897_ASBOX 9360_ASBOX
8898 ) | 9361 ) |
8899 sed "s/^/$as_me: WARNING: /" >&2 9362 sed "s/^/$as_me: WARNING: /" >&2
8900 ;; 9363 ;;
8901esac 9364esac
8902echo "$as_me:$LINENO: checking for $ac_header" >&5 9365echo "$as_me:$LINENO: checking for $ac_header" >&5
8903echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9366echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8904if eval "test \"\${$as_ac_Header+set}\" = set"; then 9367if eval "test \"\${$as_ac_Header+set}\" = set"; then
8905 echo $ECHO_N "(cached) $ECHO_C" >&6 9368 echo $ECHO_N "(cached) $ECHO_C" >&6
8906else 9369else
8907 eval "$as_ac_Header=$ac_header_preproc" 9370 eval "$as_ac_Header=\$ac_header_preproc"
8908fi 9371fi
8909echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 9372echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8910echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9373echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8911 9374
8912fi 9375fi
8933 echo $ECHO_N "(cached) $ECHO_C" >&6 9396 echo $ECHO_N "(cached) $ECHO_C" >&6
8934else 9397else
8935 ac_check_lib_save_LIBS=$LIBS 9398 ac_check_lib_save_LIBS=$LIBS
8936LIBS="-lcrypto $LIBS" 9399LIBS="-lcrypto $LIBS"
8937cat >conftest.$ac_ext <<_ACEOF 9400cat >conftest.$ac_ext <<_ACEOF
8938#line $LINENO "configure"
8939/* confdefs.h. */ 9401/* confdefs.h. */
8940_ACEOF 9402_ACEOF
8941cat confdefs.h >>conftest.$ac_ext 9403cat confdefs.h >>conftest.$ac_ext
8942cat >>conftest.$ac_ext <<_ACEOF 9404cat >>conftest.$ac_ext <<_ACEOF
8943/* end confdefs.h. */ 9405/* end confdefs.h. */
8957 return 0; 9419 return 0;
8958} 9420}
8959_ACEOF 9421_ACEOF
8960rm -f conftest.$ac_objext conftest$ac_exeext 9422rm -f conftest.$ac_objext conftest$ac_exeext
8961if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9423if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8962 (eval $ac_link) 2>&5 9424 (eval $ac_link) 2>conftest.er1
8963 ac_status=$? 9425 ac_status=$?
9426 grep -v '^ *+' conftest.er1 >conftest.err
9427 rm -f conftest.er1
9428 cat conftest.err >&5
8964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8965 (exit $ac_status); } && 9430 (exit $ac_status); } &&
8966 { ac_try='test -s conftest$ac_exeext' 9431 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8968 (eval $ac_try) 2>&5 9433 (eval $ac_try) 2>&5
8969 ac_status=$? 9434 ac_status=$?
8970 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
8971 (exit $ac_status); }; }; then 9442 (exit $ac_status); }; }; then
8972 ac_cv_lib_crypto_SHA1_version=yes 9443 ac_cv_lib_crypto_SHA1_version=yes
8973else 9444else
8974 echo "$as_me: failed program was:" >&5 9445 echo "$as_me: failed program was:" >&5
8975sed 's/^/| /' conftest.$ac_ext >&5 9446sed 's/^/| /' conftest.$ac_ext >&5
8976 9447
8977ac_cv_lib_crypto_SHA1_version=no 9448ac_cv_lib_crypto_SHA1_version=no
8978fi 9449fi
8979rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9450rm -f conftest.err conftest.$ac_objext \
9451 conftest$ac_exeext conftest.$ac_ext
8980LIBS=$ac_check_lib_save_LIBS 9452LIBS=$ac_check_lib_save_LIBS
8981fi 9453fi
8982echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_SHA1_version" >&5 9454echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_SHA1_version" >&5
8983echo "${ECHO_T}$ac_cv_lib_crypto_SHA1_version" >&6 9455echo "${ECHO_T}$ac_cv_lib_crypto_SHA1_version" >&6
8984if test $ac_cv_lib_crypto_SHA1_version = yes; then 9456if test $ac_cv_lib_crypto_SHA1_version = yes; then
9002echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9474echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9003if eval "test \"\${$as_ac_var+set}\" = set"; then 9475if eval "test \"\${$as_ac_var+set}\" = set"; then
9004 echo $ECHO_N "(cached) $ECHO_C" >&6 9476 echo $ECHO_N "(cached) $ECHO_C" >&6
9005else 9477else
9006 cat >conftest.$ac_ext <<_ACEOF 9478 cat >conftest.$ac_ext <<_ACEOF
9007#line $LINENO "configure"
9008/* confdefs.h. */ 9479/* confdefs.h. */
9009_ACEOF 9480_ACEOF
9010cat confdefs.h >>conftest.$ac_ext 9481cat confdefs.h >>conftest.$ac_ext
9011cat >>conftest.$ac_ext <<_ACEOF 9482cat >>conftest.$ac_ext <<_ACEOF
9012/* 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
9013/* System header to define __stub macros and hopefully few prototypes, 9488/* System header to define __stub macros and hopefully few prototypes,
9014 which can conflict with char $ac_func (); below. 9489 which can conflict with char $ac_func (); below.
9015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 9490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9016 <limits.h> exists even on freestanding compilers. */ 9491 <limits.h> exists even on freestanding compilers. */
9492
9017#ifdef __STDC__ 9493#ifdef __STDC__
9018# include <limits.h> 9494# include <limits.h>
9019#else 9495#else
9020# include <assert.h> 9496# include <assert.h>
9021#endif 9497#endif
9498
9499#undef $ac_func
9500
9022/* Override any gcc2 internal prototype to avoid an error. */ 9501/* Override any gcc2 internal prototype to avoid an error. */
9023#ifdef __cplusplus 9502#ifdef __cplusplus
9024extern "C" 9503extern "C"
9025{ 9504{
9026#endif 9505#endif
9047 return 0; 9526 return 0;
9048} 9527}
9049_ACEOF 9528_ACEOF
9050rm -f conftest.$ac_objext conftest$ac_exeext 9529rm -f conftest.$ac_objext conftest$ac_exeext
9051if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9530if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9052 (eval $ac_link) 2>&5 9531 (eval $ac_link) 2>conftest.er1
9053 ac_status=$? 9532 ac_status=$?
9533 grep -v '^ *+' conftest.er1 >conftest.err
9534 rm -f conftest.er1
9535 cat conftest.err >&5
9054 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9055 (exit $ac_status); } && 9537 (exit $ac_status); } &&
9056 { ac_try='test -s conftest$ac_exeext' 9538 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9058 (eval $ac_try) 2>&5 9540 (eval $ac_try) 2>&5
9059 ac_status=$? 9541 ac_status=$?
9060 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
9061 (exit $ac_status); }; }; then 9549 (exit $ac_status); }; }; then
9062 eval "$as_ac_var=yes" 9550 eval "$as_ac_var=yes"
9063else 9551else
9064 echo "$as_me: failed program was:" >&5 9552 echo "$as_me: failed program was:" >&5
9065sed 's/^/| /' conftest.$ac_ext >&5 9553sed 's/^/| /' conftest.$ac_ext >&5
9066 9554
9067eval "$as_ac_var=no" 9555eval "$as_ac_var=no"
9068fi 9556fi
9069rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9557rm -f conftest.err conftest.$ac_objext \
9558 conftest$ac_exeext conftest.$ac_ext
9070fi 9559fi
9071echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 9560echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9072echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9561echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9073if test `eval echo '${'$as_ac_var'}'` = yes; then 9562if test `eval echo '${'$as_ac_var'}'` = yes; then
9074 cat >>confdefs.h <<_ACEOF 9563 cat >>confdefs.h <<_ACEOF
9083echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 9572echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9084if test "${ac_cv_func_dlopen+set}" = set; then 9573if test "${ac_cv_func_dlopen+set}" = set; then
9085 echo $ECHO_N "(cached) $ECHO_C" >&6 9574 echo $ECHO_N "(cached) $ECHO_C" >&6
9086else 9575else
9087 cat >conftest.$ac_ext <<_ACEOF 9576 cat >conftest.$ac_ext <<_ACEOF
9088#line $LINENO "configure"
9089/* confdefs.h. */ 9577/* confdefs.h. */
9090_ACEOF 9578_ACEOF
9091cat confdefs.h >>conftest.$ac_ext 9579cat confdefs.h >>conftest.$ac_ext
9092cat >>conftest.$ac_ext <<_ACEOF 9580cat >>conftest.$ac_ext <<_ACEOF
9093/* 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
9094/* System header to define __stub macros and hopefully few prototypes, 9586/* System header to define __stub macros and hopefully few prototypes,
9095 which can conflict with char dlopen (); below. 9587 which can conflict with char dlopen (); below.
9096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 9588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9097 <limits.h> exists even on freestanding compilers. */ 9589 <limits.h> exists even on freestanding compilers. */
9590
9098#ifdef __STDC__ 9591#ifdef __STDC__
9099# include <limits.h> 9592# include <limits.h>
9100#else 9593#else
9101# include <assert.h> 9594# include <assert.h>
9102#endif 9595#endif
9596
9597#undef dlopen
9598
9103/* Override any gcc2 internal prototype to avoid an error. */ 9599/* Override any gcc2 internal prototype to avoid an error. */
9104#ifdef __cplusplus 9600#ifdef __cplusplus
9105extern "C" 9601extern "C"
9106{ 9602{
9107#endif 9603#endif
9128 return 0; 9624 return 0;
9129} 9625}
9130_ACEOF 9626_ACEOF
9131rm -f conftest.$ac_objext conftest$ac_exeext 9627rm -f conftest.$ac_objext conftest$ac_exeext
9132if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9628if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9133 (eval $ac_link) 2>&5 9629 (eval $ac_link) 2>conftest.er1
9134 ac_status=$? 9630 ac_status=$?
9631 grep -v '^ *+' conftest.er1 >conftest.err
9632 rm -f conftest.er1
9633 cat conftest.err >&5
9135 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9136 (exit $ac_status); } && 9635 (exit $ac_status); } &&
9137 { ac_try='test -s conftest$ac_exeext' 9636 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9139 (eval $ac_try) 2>&5 9638 (eval $ac_try) 2>&5
9140 ac_status=$? 9639 ac_status=$?
9141 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
9142 (exit $ac_status); }; }; then 9647 (exit $ac_status); }; }; then
9143 ac_cv_func_dlopen=yes 9648 ac_cv_func_dlopen=yes
9144else 9649else
9145 echo "$as_me: failed program was:" >&5 9650 echo "$as_me: failed program was:" >&5
9146sed 's/^/| /' conftest.$ac_ext >&5 9651sed 's/^/| /' conftest.$ac_ext >&5
9147 9652
9148ac_cv_func_dlopen=no 9653ac_cv_func_dlopen=no
9149fi 9654fi
9150rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9655rm -f conftest.err conftest.$ac_objext \
9656 conftest$ac_exeext conftest.$ac_ext
9151fi 9657fi
9152echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 9658echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9153echo "${ECHO_T}$ac_cv_func_dlopen" >&6 9659echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9154if test $ac_cv_func_dlopen = yes; then 9660if test $ac_cv_func_dlopen = yes; then
9155 : 9661 :
9160 echo $ECHO_N "(cached) $ECHO_C" >&6 9666 echo $ECHO_N "(cached) $ECHO_C" >&6
9161else 9667else
9162 ac_check_lib_save_LIBS=$LIBS 9668 ac_check_lib_save_LIBS=$LIBS
9163LIBS="-ldl $LIBS" 9669LIBS="-ldl $LIBS"
9164cat >conftest.$ac_ext <<_ACEOF 9670cat >conftest.$ac_ext <<_ACEOF
9165#line $LINENO "configure"
9166/* confdefs.h. */ 9671/* confdefs.h. */
9167_ACEOF 9672_ACEOF
9168cat confdefs.h >>conftest.$ac_ext 9673cat confdefs.h >>conftest.$ac_ext
9169cat >>conftest.$ac_ext <<_ACEOF 9674cat >>conftest.$ac_ext <<_ACEOF
9170/* end confdefs.h. */ 9675/* end confdefs.h. */
9184 return 0; 9689 return 0;
9185} 9690}
9186_ACEOF 9691_ACEOF
9187rm -f conftest.$ac_objext conftest$ac_exeext 9692rm -f conftest.$ac_objext conftest$ac_exeext
9188if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9693if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9189 (eval $ac_link) 2>&5 9694 (eval $ac_link) 2>conftest.er1
9190 ac_status=$? 9695 ac_status=$?
9696 grep -v '^ *+' conftest.er1 >conftest.err
9697 rm -f conftest.er1
9698 cat conftest.err >&5
9191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9192 (exit $ac_status); } && 9700 (exit $ac_status); } &&
9193 { ac_try='test -s conftest$ac_exeext' 9701 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9195 (eval $ac_try) 2>&5 9703 (eval $ac_try) 2>&5
9196 ac_status=$? 9704 ac_status=$?
9197 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
9198 (exit $ac_status); }; }; then 9712 (exit $ac_status); }; }; then
9199 ac_cv_lib_dl_dlopen=yes 9713 ac_cv_lib_dl_dlopen=yes
9200else 9714else
9201 echo "$as_me: failed program was:" >&5 9715 echo "$as_me: failed program was:" >&5
9202sed 's/^/| /' conftest.$ac_ext >&5 9716sed 's/^/| /' conftest.$ac_ext >&5
9203 9717
9204ac_cv_lib_dl_dlopen=no 9718ac_cv_lib_dl_dlopen=no
9205fi 9719fi
9206rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9720rm -f conftest.err conftest.$ac_objext \
9721 conftest$ac_exeext conftest.$ac_ext
9207LIBS=$ac_check_lib_save_LIBS 9722LIBS=$ac_check_lib_save_LIBS
9208fi 9723fi
9209echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 9724echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9210echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 9725echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9211if test $ac_cv_lib_dl_dlopen = yes; then 9726if test $ac_cv_lib_dl_dlopen = yes; then
9223 9738
9224if test "x$openssl_include" != x; then 9739if test "x$openssl_include" != x; then
9225 CXXFLAGS="$CXXFLAGS -I$openssl_include" 9740 CXXFLAGS="$CXXFLAGS -I$openssl_include"
9226fi 9741fi
9227 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
9750
9228# Check whether --enable-rohc or --disable-rohc was given. 9751# Check whether --enable-rohc or --disable-rohc was given.
9229if test "${enable_rohc+set}" = set; then 9752if test "${enable_rohc+set}" = set; then
9230 enableval="$enable_rohc" 9753 enableval="$enable_rohc"
9231 9754
9232 echo 9755 echo
9233 echo "**********************************************************************" 9756 echo "**********************************************************************"
9234 echo "**********************************************************************" 9757 echo "**********************************************************************"
9235 echo "**** --enable-rohc not yet implemented *******************************" 9758 echo "**** --enable-rohc is highly experimental, do not use ****************"
9236 echo "**********************************************************************"
9237 echo "**** uuh sorry, I am such an ass, but I didn't find any rfc3095 (ROHC)"
9238 echo "**** implementation to be used in GPL code on the web."
9239 echo "**** so this option is just a fake. Please implement one and send it"
9240 echo "**** to me ;)"
9241 echo "**********************************************************************"
9242 echo "**********************************************************************"
9243 echo "**********************************************************************" 9759 echo "**********************************************************************"
9244 echo "**********************************************************************" 9760 echo "**********************************************************************"
9245 echo 9761 echo
9762 rohc=true
9763
9764cat >>confdefs.h <<_ACEOF
9765#define ENABLE_ROHC 1
9766_ACEOF
9767
9246 9768
9247 9769
9248fi; 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
9249 9783
9250# Check whether --enable-icmp or --disable-icmp was given. 9784# Check whether --enable-icmp or --disable-icmp was given.
9251if test "${enable_icmp+set}" = set; then 9785if test "${enable_icmp+set}" = set; then
9252 enableval="$enable_icmp" 9786 enableval="$enable_icmp"
9253 9787
9267_ACEOF 9801_ACEOF
9268 9802
9269 9803
9270fi; 9804fi;
9271 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
9272# Check whether --enable-http-proxy or --disable-http-proxy was given. 10036# Check whether --enable-http-proxy or --disable-http-proxy was given.
9273if test "${enable_http_proxy+set}" = set; then 10037if test "${enable_http_proxy+set}" = set; then
9274 enableval="$enable_http_proxy" 10038 enableval="$enable_http_proxy"
9275 10039
9276cat >>confdefs.h <<_ACEOF 10040cat >>confdefs.h <<_ACEOF
9278_ACEOF 10042_ACEOF
9279 10043
9280 10044
9281fi; 10045fi;
9282 10046
10047HMAC=12
9283HMAC=12 # Check whether --enable-hmac-length or --disable-hmac-length was given. 10048# Check whether --enable-hmac-length or --disable-hmac-length was given.
9284if test "${enable_hmac_length+set}" = set; then 10049if test "${enable_hmac_length+set}" = set; then
9285 enableval="$enable_hmac_length" 10050 enableval="$enable_hmac_length"
9286 HMAC=$enableval 10051 HMAC=$enableval
9287 10052
9288fi; 10053fi;
9290cat >>confdefs.h <<_ACEOF 10055cat >>confdefs.h <<_ACEOF
9291#define HMACLENGTH $HMAC 10056#define HMACLENGTH $HMAC
9292_ACEOF 10057_ACEOF
9293 10058
9294 10059
10060RAND=8
9295RAND=8 # Check whether --enable-rand-length or --disable-rand-length was given. 10061# Check whether --enable-rand-length or --disable-rand-length was given.
9296if test "${enable_rand_length+set}" = set; then 10062if test "${enable_rand_length+set}" = set; then
9297 enableval="$enable_rand_length" 10063 enableval="$enable_rand_length"
9298 RAND=$enableval 10064 RAND=$enableval
9299 10065
9300fi; 10066fi;
9302cat >>confdefs.h <<_ACEOF 10068cat >>confdefs.h <<_ACEOF
9303#define RAND_SIZE $RAND 10069#define RAND_SIZE $RAND
9304_ACEOF 10070_ACEOF
9305 10071
9306 10072
10073MTU=1500
9307MTU=1500 # Check whether --enable-mtu or --disable-mtu was given. 10074# Check whether --enable-mtu or --disable-mtu was given.
9308if test "${enable_mtu+set}" = set; then 10075if test "${enable_mtu+set}" = set; then
9309 enableval="$enable_mtu" 10076 enableval="$enable_mtu"
9310 MTU=$enableval 10077 MTU=$enableval
9311 10078
9312fi; 10079fi;
9329cat >>confdefs.h <<_ACEOF 10096cat >>confdefs.h <<_ACEOF
9330#define ENABLE_COMPRESSION $COMPRESS 10097#define ENABLE_COMPRESSION $COMPRESS
9331_ACEOF 10098_ACEOF
9332 10099
9333 10100
9334CIPHER=bf_cbc 10101CIPHER=aes_128_cbc
9335# Check whether --enable-cipher or --disable-cipher was given. 10102# Check whether --enable-cipher or --disable-cipher was given.
9336if test "${enable_cipher+set}" = set; then 10103if test "${enable_cipher+set}" = set; then
9337 enableval="$enable_cipher" 10104 enableval="$enable_cipher"
9338 if test "x$enableval" = xbf ; then CIPHER=bf_cbc ; fi 10105 if test "x$enableval" = xbf ; then CIPHER=bf_cbc ; fi
9339 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
9345cat >>confdefs.h <<_ACEOF 10112cat >>confdefs.h <<_ACEOF
9346#define ENABLE_CIPHER EVP_${CIPHER} 10113#define ENABLE_CIPHER EVP_${CIPHER}
9347_ACEOF 10114_ACEOF
9348 10115
9349 10116
9350DIGEST=sha1 10117DIGEST=ripemd160
9351# Check whether --enable-digest or --disable-digest was given. 10118# Check whether --enable-digest or --disable-digest was given.
9352if test "${enable_digest+set}" = set; then 10119if test "${enable_digest+set}" = set; then
9353 enableval="$enable_digest" 10120 enableval="$enable_digest"
9354 if test "x$enableval" = xsha1 ; then DIGEST=sha1 ; fi 10121 if test "x$enableval" = xsha1 ; then DIGEST=sha1 ; fi
9355 if test "x$enableval" = xripemd160; then DIGEST=ripemd160; fi 10122 if test "x$enableval" = xripemd160; then DIGEST=ripemd160; fi
9369 10136
9370if $CXX -v --help 2>&1 | grep -q fexceptions; then 10137if $CXX -v --help 2>&1 | grep -q fexceptions; then
9371 CXXFLAGS="$CXXFLAGS -fno-exceptions" 10138 CXXFLAGS="$CXXFLAGS -fno-exceptions"
9372fi 10139fi
9373 10140
9374if $CXX -v --help 2>&1 | grep -q ffunction-sections; then
9375 CXXFLAGS="$CXXFLAGS -ffunction-sections"
9376fi
9377
9378if $LD -v --help 2>&1 | grep -q gc-sections; then
9379 LDFLAGS="$LDFLAGS -Wl,--gc-sections"
9380fi
9381
9382
9383 10141
9384 10142
9385 10143
9386 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
9387cat >confcache <<\_ACEOF 10146cat >confcache <<\_ACEOF
9388# 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
9389# 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
9390# scripts and configure runs, see configure's option --config-cache. 10149# scripts and configure runs, see configure's option --config-cache.
9391# 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
9410 case `(ac_space=' '; set | grep ac_space) 2>&1` in 10169 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9411 *ac_space=\ *) 10170 *ac_space=\ *)
9412 # `set' does not quote correctly, so add quotes (double-quote 10171 # `set' does not quote correctly, so add quotes (double-quote
9413 # substitution turns \\\\ into \\, and sed turns \\ into \). 10172 # substitution turns \\\\ into \\, and sed turns \\ into \).
9414 sed -n \ 10173 sed -n \
9415 "s/'/'\\\\''/g; 10174 "s/'/'\\\\''/g;
9416 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 10175 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9417 ;; 10176 ;;
9418 *) 10177 *)
9419 # `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.
9420 sed -n \ 10179 sed -n \
9421 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 10180 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9422 ;; 10181 ;;
9423 esac; 10182 esac;
9424} | 10183} |
9425 sed ' 10184 sed '
9426 t clear 10185 t clear
9446# VPATH may cause trouble with some makes, so we remove $(srcdir), 10205# VPATH may cause trouble with some makes, so we remove $(srcdir),
9447# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 10206# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9448# 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
9449# (actually we leave an empty line to preserve line numbers). 10208# (actually we leave an empty line to preserve line numbers).
9450if test "x$srcdir" = x.; then 10209if test "x$srcdir" = x.; then
9451 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 10210 ac_vpsub='/^[ ]*VPATH[ ]*=/{
9452s/:*\$(srcdir):*/:/; 10211s/:*\$(srcdir):*/:/;
9453s/:*\${srcdir}:*/:/; 10212s/:*\${srcdir}:*/:/;
9454s/:*@srcdir@:*/:/; 10213s/:*@srcdir@:*/:/;
9455s/^\([^=]*=[ ]*\):*/\1/; 10214s/^\([^=]*=[ ]*\):*/\1/;
9456s/:*$//; 10215s/:*$//;
9457s/^[^=]*=[ ]*$//; 10216s/^[^=]*=[ ]*$//;
9458}' 10217}'
9459fi 10218fi
9460 10219
9461DEFS=-DHAVE_CONFIG_H 10220DEFS=-DHAVE_CONFIG_H
9462 10221
9463ac_libobjs= 10222ac_libobjs=
9464ac_ltlibobjs= 10223ac_ltlibobjs=
9465for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 10224for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9466 # 1. Remove the extension, and $U if already installed. 10225 # 1. Remove the extension, and $U if already installed.
9467 ac_i=`echo "$ac_i" | 10226 ac_i=`echo "$ac_i" |
9468 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 10227 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
9469 # 2. Add them. 10228 # 2. Add them.
9470 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 10229 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
9471 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 10230 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
9472done 10231done
9473LIBOBJS=$ac_libobjs 10232LIBOBJS=$ac_libobjs
9505fi 10264fi
9506if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 10265if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
9507 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. 10266 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
9508Usually this means the macro was only invoked conditionally." >&5 10267Usually this means the macro was only invoked conditionally." >&5
9509echo "$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.
9510Usually this means the macro was only invoked conditionally." >&2;} 10276Usually this means the macro was only invoked conditionally." >&2;}
9511 { (exit 1); exit 1; }; } 10277 { (exit 1); exit 1; }; }
9512fi 10278fi
9513 10279
9514: ${CONFIG_STATUS=./config.status} 10280: ${CONFIG_STATUS=./config.status}
9542 # is contrary to our usage. Disable this feature. 10308 # is contrary to our usage. Disable this feature.
9543 alias -g '${1+"$@"}'='"$@"' 10309 alias -g '${1+"$@"}'='"$@"'
9544elif 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
9545 set -o posix 10311 set -o posix
9546fi 10312fi
10313DUALCASE=1; export DUALCASE # for MKS sh
9547 10314
9548# Support unset when possible. 10315# Support unset when possible.
9549if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 10316if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9550 as_unset=unset 10317 as_unset=unset
9551else 10318else
9552 as_unset=false 10319 as_unset=false
9553fi 10320fi
9554 10321
9563for as_var in \ 10330for as_var in \
9564 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 \
9565 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 \
9566 LC_TELEPHONE LC_TIME 10333 LC_TELEPHONE LC_TIME
9567do 10334do
9568 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
9569 eval $as_var=C; export $as_var 10336 eval $as_var=C; export $as_var
9570 else 10337 else
9571 $as_unset $as_var 10338 $as_unset $as_var
9572 fi 10339 fi
9573done 10340done
9742rm -f conf$$ conf$$.exe conf$$.file 10509rm -f conf$$ conf$$.exe conf$$.file
9743 10510
9744if mkdir -p . 2>/dev/null; then 10511if mkdir -p . 2>/dev/null; then
9745 as_mkdir_p=: 10512 as_mkdir_p=:
9746else 10513else
10514 test -d ./-p && rmdir ./-p
9747 as_mkdir_p=false 10515 as_mkdir_p=false
9748fi 10516fi
9749 10517
9750as_executable_p="test -f" 10518as_executable_p="test -f"
9751 10519
9752# Sed expression to map a string onto a valid CPP name. 10520# Sed expression to map a string onto a valid CPP name.
9753as_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'"
9754 10522
9755# Sed expression to map a string onto a valid variable name. 10523# Sed expression to map a string onto a valid variable name.
9756as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 10524as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9757 10525
9758 10526
9759# IFS 10527# IFS
9760# We need space, tab and new line, in precisely that order. 10528# We need space, tab and new line, in precisely that order.
9761as_nl=' 10529as_nl='
9778_ASBOX 10546_ASBOX
9779} >&5 10547} >&5
9780cat >&5 <<_CSEOF 10548cat >&5 <<_CSEOF
9781 10549
9782This file was extended by $as_me, which was 10550This file was extended by $as_me, which was
9783generated by GNU Autoconf 2.57. Invocation command line was 10551generated by GNU Autoconf 2.59. Invocation command line was
9784 10552
9785 CONFIG_FILES = $CONFIG_FILES 10553 CONFIG_FILES = $CONFIG_FILES
9786 CONFIG_HEADERS = $CONFIG_HEADERS 10554 CONFIG_HEADERS = $CONFIG_HEADERS
9787 CONFIG_LINKS = $CONFIG_LINKS 10555 CONFIG_LINKS = $CONFIG_LINKS
9788 CONFIG_COMMANDS = $CONFIG_COMMANDS 10556 CONFIG_COMMANDS = $CONFIG_COMMANDS
9822 -V, --version print version number, then exit 10590 -V, --version print version number, then exit
9823 -q, --quiet do not print progress messages 10591 -q, --quiet do not print progress messages
9824 -d, --debug don't remove temporary files 10592 -d, --debug don't remove temporary files
9825 --recheck update $as_me by reconfiguring in the same conditions 10593 --recheck update $as_me by reconfiguring in the same conditions
9826 --file=FILE[:TEMPLATE] 10594 --file=FILE[:TEMPLATE]
9827 instantiate the configuration file FILE 10595 instantiate the configuration file FILE
9828 --header=FILE[:TEMPLATE] 10596 --header=FILE[:TEMPLATE]
9829 instantiate the configuration header FILE 10597 instantiate the configuration header FILE
9830 10598
9831Configuration files: 10599Configuration files:
9832$config_files 10600$config_files
9833 10601
9834Configuration headers: 10602Configuration headers:
9841_ACEOF 10609_ACEOF
9842 10610
9843cat >>$CONFIG_STATUS <<_ACEOF 10611cat >>$CONFIG_STATUS <<_ACEOF
9844ac_cs_version="\\ 10612ac_cs_version="\\
9845config.status 10613config.status
9846configured by $0, generated by GNU Autoconf 2.57, 10614configured by $0, generated by GNU Autoconf 2.59,
9847 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 10615 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9848 10616
9849Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
9850Free Software Foundation, Inc. 10617Copyright (C) 2003 Free Software Foundation, Inc.
9851This config.status script is free software; the Free Software Foundation 10618This config.status script is free software; the Free Software Foundation
9852gives unlimited permission to copy, distribute and modify it." 10619gives unlimited permission to copy, distribute and modify it."
9853srcdir=$srcdir 10620srcdir=$srcdir
9854INSTALL="$INSTALL" 10621INSTALL="$INSTALL"
9855_ACEOF 10622_ACEOF
10075s,@ACLOCAL@,$ACLOCAL,;t t 10842s,@ACLOCAL@,$ACLOCAL,;t t
10076s,@AUTOCONF@,$AUTOCONF,;t t 10843s,@AUTOCONF@,$AUTOCONF,;t t
10077s,@AUTOMAKE@,$AUTOMAKE,;t t 10844s,@AUTOMAKE@,$AUTOMAKE,;t t
10078s,@AUTOHEADER@,$AUTOHEADER,;t t 10845s,@AUTOHEADER@,$AUTOHEADER,;t t
10079s,@MAKEINFO@,$MAKEINFO,;t t 10846s,@MAKEINFO@,$MAKEINFO,;t t
10080s,@AMTAR@,$AMTAR,;t t
10081s,@install_sh@,$install_sh,;t t 10847s,@install_sh@,$install_sh,;t t
10082s,@STRIP@,$STRIP,;t t 10848s,@STRIP@,$STRIP,;t t
10083s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 10849s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
10084s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 10850s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
10851s,@mkdir_p@,$mkdir_p,;t t
10085s,@AWK@,$AWK,;t t 10852s,@AWK@,$AWK,;t t
10086s,@SET_MAKE@,$SET_MAKE,;t t 10853s,@SET_MAKE@,$SET_MAKE,;t t
10087s,@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
10088s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t 10858s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
10089s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t 10859s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
10090s,@MAINT@,$MAINT,;t t 10860s,@MAINT@,$MAINT,;t t
10091s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t 10861s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
10092s,@MSGFMT@,$MSGFMT,;t t 10862s,@MSGFMT@,$MSGFMT,;t t
10131s,@IFSUBTYPE@,$IFSUBTYPE,;t t 10901s,@IFSUBTYPE@,$IFSUBTYPE,;t t
10132s,@CXXCPP@,$CXXCPP,;t t 10902s,@CXXCPP@,$CXXCPP,;t t
10133s,@ALLOCA@,$ALLOCA,;t t 10903s,@ALLOCA@,$ALLOCA,;t t
10134s,@LINUX_IF_TUN_H@,$LINUX_IF_TUN_H,;t t 10904s,@LINUX_IF_TUN_H@,$LINUX_IF_TUN_H,;t t
10135s,@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
10136s,@INCLUDES@,$INCLUDES,;t t 10909s,@INCLUDES@,$INCLUDES,;t t
10137s,@LIBOBJS@,$LIBOBJS,;t t 10910s,@LIBOBJS@,$LIBOBJS,;t t
10138s,@LTLIBOBJS@,$LTLIBOBJS,;t t 10911s,@LTLIBOBJS@,$LTLIBOBJS,;t t
10139CEOF 10912CEOF
10140 10913
10163 # is no need to browse any of the substitutions). 10936 # is no need to browse any of the substitutions).
10164 # These are the two extra sed commands mentioned above. 10937 # These are the two extra sed commands mentioned above.
10165 (echo ':t 10938 (echo ':t
10166 /@[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
10167 if test -z "$ac_sed_cmds"; then 10940 if test -z "$ac_sed_cmds"; then
10168 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 10941 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
10169 else 10942 else
10170 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"
10171 fi 10944 fi
10172 ac_sed_frag=`expr $ac_sed_frag + 1` 10945 ac_sed_frag=`expr $ac_sed_frag + 1`
10173 ac_beg=$ac_end 10946 ac_beg=$ac_end
10174 ac_end=`expr $ac_end + $ac_max_sed_lines` 10947 ac_end=`expr $ac_end + $ac_max_sed_lines`
10175 fi 10948 fi
10183cat >>$CONFIG_STATUS <<\_ACEOF 10956cat >>$CONFIG_STATUS <<\_ACEOF
10184for 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
10185 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 10958 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10186 case $ac_file in 10959 case $ac_file in
10187 - | *:- | *:-:* ) # input from stdin 10960 - | *:- | *:-:* ) # input from stdin
10188 cat >$tmp/stdin 10961 cat >$tmp/stdin
10189 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 10962 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10190 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 10963 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10191 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 10964 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10192 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 10965 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10193 * ) ac_file_in=$ac_file.in ;; 10966 * ) ac_file_in=$ac_file.in ;;
10194 esac 10967 esac
10195 10968
10196 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 10969 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
10197 ac_dir=`(dirname "$ac_file") 2>/dev/null || 10970 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
10198$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10971$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10199 X"$ac_file" : 'X\(//\)[^/]' \| \ 10972 X"$ac_file" : 'X\(//\)[^/]' \| \
10200 X"$ac_file" : 'X\(//\)$' \| \ 10973 X"$ac_file" : 'X\(//\)$' \| \
10201 X"$ac_file" : 'X\(/\)' \| \ 10974 X"$ac_file" : 'X\(/\)' \| \
10202 . : '\(.\)' 2>/dev/null || 10975 . : '\(.\)' 2>/dev/null ||
10203echo X"$ac_file" | 10976echo X"$ac_file" |
10204 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 10977 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10205 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 10978 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10206 /^X\(\/\/\)$/{ s//\1/; q; } 10979 /^X\(\/\/\)$/{ s//\1/; q; }
10207 /^X\(\/\).*/{ s//\1/; q; } 10980 /^X\(\/\).*/{ s//\1/; q; }
10213 as_dirs= 10986 as_dirs=
10214 while test ! -d "$as_dir"; do 10987 while test ! -d "$as_dir"; do
10215 as_dirs="$as_dir $as_dirs" 10988 as_dirs="$as_dir $as_dirs"
10216 as_dir=`(dirname "$as_dir") 2>/dev/null || 10989 as_dir=`(dirname "$as_dir") 2>/dev/null ||
10217$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10990$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10218 X"$as_dir" : 'X\(//\)[^/]' \| \ 10991 X"$as_dir" : 'X\(//\)[^/]' \| \
10219 X"$as_dir" : 'X\(//\)$' \| \ 10992 X"$as_dir" : 'X\(//\)$' \| \
10220 X"$as_dir" : 'X\(/\)' \| \ 10993 X"$as_dir" : 'X\(/\)' \| \
10221 . : '\(.\)' 2>/dev/null || 10994 . : '\(.\)' 2>/dev/null ||
10222echo X"$as_dir" | 10995echo X"$as_dir" |
10223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 10996 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10224 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 10997 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10225 /^X\(\/\/\)$/{ s//\1/; q; } 10998 /^X\(\/\/\)$/{ s//\1/; q; }
10226 /^X\(\/\).*/{ s//\1/; q; } 10999 /^X\(\/\).*/{ s//\1/; q; }
10254 ac_top_srcdir=$srcdir ;; 11027 ac_top_srcdir=$srcdir ;;
10255 *) # Relative path. 11028 *) # Relative path.
10256 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 11029 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10257 ac_top_srcdir=$ac_top_builddir$srcdir ;; 11030 ac_top_srcdir=$ac_top_builddir$srcdir ;;
10258esac 11031esac
10259# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 11032
10260# absolute. 11033# Do not use `cd foo && pwd` to compute absolute paths, because
10261ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 11034# the directories may not exist.
10262ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 11035case `pwd` in
10263ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 11036.) ac_abs_builddir="$ac_dir";;
10264ac_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
10265 11071
10266 11072
10267 case $INSTALL in 11073 case $INSTALL in
10268 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 11074 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10269 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 11075 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
10270 esac 11076 esac
10271 11077
10272 if test x"$ac_file" != x-; then
10273 { echo "$as_me:$LINENO: creating $ac_file" >&5
10274echo "$as_me: creating $ac_file" >&6;}
10275 rm -f "$ac_file"
10276 fi
10277 # 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
10278 # use $as_me), people would be surprised to read: 11079 # use $as_me), people would be surprised to read:
10279 # /* config.h. Generated by config.status. */ 11080 # /* config.h. Generated by config.status. */
10280 if test x"$ac_file" = x-; then 11081 if test x"$ac_file" = x-; then
10281 configure_input= 11082 configure_input=
10282 else 11083 else
10283 configure_input="$ac_file. " 11084 configure_input="$ac_file. "
10284 fi 11085 fi
10285 configure_input=$configure_input"Generated from `echo $ac_file_in | 11086 configure_input=$configure_input"Generated from `echo $ac_file_in |
10286 sed 's,.*/,,'` by configure." 11087 sed 's,.*/,,'` by configure."
10287 11088
10288 # 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
10289 # src tree. 11090 # src tree.
10290 ac_file_inputs=`IFS=: 11091 ac_file_inputs=`IFS=:
10291 for f in $ac_file_in; do 11092 for f in $ac_file_in; do
10292 case $f in 11093 case $f in
10293 -) echo $tmp/stdin ;; 11094 -) echo $tmp/stdin ;;
10294 [\\/$]*) 11095 [\\/$]*)
10295 # Absolute (can't be DOS-style, as IFS=:) 11096 # Absolute (can't be DOS-style, as IFS=:)
10296 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
10297echo "$as_me: error: cannot find input file: $f" >&2;} 11098echo "$as_me: error: cannot find input file: $f" >&2;}
10298 { (exit 1); exit 1; }; } 11099 { (exit 1); exit 1; }; }
10299 echo $f;; 11100 echo "$f";;
10300 *) # Relative 11101 *) # Relative
10301 if test -f "$f"; then 11102 if test -f "$f"; then
10302 # Build tree 11103 # Build tree
10303 echo $f 11104 echo "$f"
10304 elif test -f "$srcdir/$f"; then 11105 elif test -f "$srcdir/$f"; then
10305 # Source tree 11106 # Source tree
10306 echo $srcdir/$f 11107 echo "$srcdir/$f"
10307 else 11108 else
10308 # /dev/null tree 11109 # /dev/null tree
10309 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 11110 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10310echo "$as_me: error: cannot find input file: $f" >&2;} 11111echo "$as_me: error: cannot find input file: $f" >&2;}
10311 { (exit 1); exit 1; }; } 11112 { (exit 1); exit 1; }; }
10312 fi;; 11113 fi;;
10313 esac 11114 esac
10314 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
10315_ACEOF 11122_ACEOF
10316cat >>$CONFIG_STATUS <<_ACEOF 11123cat >>$CONFIG_STATUS <<_ACEOF
10317 sed "$ac_vpsub 11124 sed "$ac_vpsub
10318$extrasub 11125$extrasub
10319_ACEOF 11126_ACEOF
10349 11156
10350# 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
10351# 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.
10352# 11159#
10353# ac_d sets the value in "#define NAME VALUE" lines. 11160# ac_d sets the value in "#define NAME VALUE" lines.
10354ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 11161ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
10355ac_dB='[ ].*$,\1#\2' 11162ac_dB='[ ].*$,\1#\2'
10356ac_dC=' ' 11163ac_dC=' '
10357ac_dD=',;t' 11164ac_dD=',;t'
10358# 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".
10359ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 11166ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
10360ac_uB='$,\1#\2define\3' 11167ac_uB='$,\1#\2define\3'
10361ac_uC=' ' 11168ac_uC=' '
10362ac_uD=',;t' 11169ac_uD=',;t'
10363 11170
10364for 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
10365 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 11172 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10366 case $ac_file in 11173 case $ac_file in
10367 - | *:- | *:-:* ) # input from stdin 11174 - | *:- | *:-:* ) # input from stdin
10368 cat >$tmp/stdin 11175 cat >$tmp/stdin
10369 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 11176 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10370 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 11177 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10371 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 11178 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10372 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 11179 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10373 * ) ac_file_in=$ac_file.in ;; 11180 * ) ac_file_in=$ac_file.in ;;
10374 esac 11181 esac
10375 11182
10376 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
10377echo "$as_me: creating $ac_file" >&6;} 11184echo "$as_me: creating $ac_file" >&6;}
10381 ac_file_inputs=`IFS=: 11188 ac_file_inputs=`IFS=:
10382 for f in $ac_file_in; do 11189 for f in $ac_file_in; do
10383 case $f in 11190 case $f in
10384 -) echo $tmp/stdin ;; 11191 -) echo $tmp/stdin ;;
10385 [\\/$]*) 11192 [\\/$]*)
10386 # Absolute (can't be DOS-style, as IFS=:) 11193 # Absolute (can't be DOS-style, as IFS=:)
10387 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
10388echo "$as_me: error: cannot find input file: $f" >&2;} 11195echo "$as_me: error: cannot find input file: $f" >&2;}
10389 { (exit 1); exit 1; }; } 11196 { (exit 1); exit 1; }; }
10390 echo $f;; 11197 # Do quote $f, to prevent DOS paths from being IFS'd.
11198 echo "$f";;
10391 *) # Relative 11199 *) # Relative
10392 if test -f "$f"; then 11200 if test -f "$f"; then
10393 # Build tree 11201 # Build tree
10394 echo $f 11202 echo "$f"
10395 elif test -f "$srcdir/$f"; then 11203 elif test -f "$srcdir/$f"; then
10396 # Source tree 11204 # Source tree
10397 echo $srcdir/$f 11205 echo "$srcdir/$f"
10398 else 11206 else
10399 # /dev/null tree 11207 # /dev/null tree
10400 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 11208 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10401echo "$as_me: error: cannot find input file: $f" >&2;} 11209echo "$as_me: error: cannot find input file: $f" >&2;}
10402 { (exit 1); exit 1; }; } 11210 { (exit 1); exit 1; }; }
10403 fi;; 11211 fi;;
10404 esac 11212 esac
10405 done` || { (exit 1); exit 1; } 11213 done` || { (exit 1); exit 1; }
10406 # Remove the trailing spaces. 11214 # Remove the trailing spaces.
10407 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 11215 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
10408 11216
10409_ACEOF 11217_ACEOF
10410 11218
10411# Transform confdefs.h into two sed scripts, `conftest.defines' and 11219# Transform confdefs.h into two sed scripts, `conftest.defines' and
10412# `conftest.undefs', that substitutes the proper values into 11220# `conftest.undefs', that substitutes the proper values into
10425cat >confdef2sed.sed <<\_ACEOF 11233cat >confdef2sed.sed <<\_ACEOF
10426s/[\\&,]/\\&/g 11234s/[\\&,]/\\&/g
10427s,[\\$`],\\&,g 11235s,[\\$`],\\&,g
10428t clear 11236t clear
10429: clear 11237: clear
10430s,^[ ]*#[ ]*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
10431t end 11239t end
10432s,^[ ]*#[ ]*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
10433: end 11241: end
10434_ACEOF 11242_ACEOF
10435# 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
10436# 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
10437# 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.
10441 11249
10442# This sed command replaces #undef with comments. This is necessary, for 11250# This sed command replaces #undef with comments. This is necessary, for
10443# 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
10444# on some systems where configure will not decide to define it. 11252# on some systems where configure will not decide to define it.
10445cat >>conftest.undefs <<\_ACEOF 11253cat >>conftest.undefs <<\_ACEOF
10446s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 11254s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
10447_ACEOF 11255_ACEOF
10448 11256
10449# 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
10450# 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).
10451echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 11259echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
10452echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 11260echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
10453echo ' # 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
10454echo ' :' >>$CONFIG_STATUS 11262echo ' :' >>$CONFIG_STATUS
10455rm -f conftest.tail 11263rm -f conftest.tail
10456while grep . conftest.defines >/dev/null 11264while grep . conftest.defines >/dev/null
10457do 11265do
10458 # Write a limited-size here document to $tmp/defines.sed. 11266 # Write a limited-size here document to $tmp/defines.sed.
10459 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 11267 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
10460 # Speed up: don't consider the non `#define' lines. 11268 # Speed up: don't consider the non `#define' lines.
10461 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 11269 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
10462 # Work around the forget-to-reset-the-flag bug. 11270 # Work around the forget-to-reset-the-flag bug.
10463 echo 't clr' >>$CONFIG_STATUS 11271 echo 't clr' >>$CONFIG_STATUS
10464 echo ': clr' >>$CONFIG_STATUS 11272 echo ': clr' >>$CONFIG_STATUS
10465 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 11273 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
10466 echo 'CEOF 11274 echo 'CEOF
10483while grep . conftest.undefs >/dev/null 11291while grep . conftest.undefs >/dev/null
10484do 11292do
10485 # Write a limited-size here document to $tmp/undefs.sed. 11293 # Write a limited-size here document to $tmp/undefs.sed.
10486 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 11294 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
10487 # Speed up: don't consider the non `#undef' 11295 # Speed up: don't consider the non `#undef'
10488 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 11296 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
10489 # Work around the forget-to-reset-the-flag bug. 11297 # Work around the forget-to-reset-the-flag bug.
10490 echo 't clr' >>$CONFIG_STATUS 11298 echo 't clr' >>$CONFIG_STATUS
10491 echo ': clr' >>$CONFIG_STATUS 11299 echo ': clr' >>$CONFIG_STATUS
10492 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 11300 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
10493 echo 'CEOF 11301 echo 'CEOF
10517 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 11325 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10518echo "$as_me: $ac_file is unchanged" >&6;} 11326echo "$as_me: $ac_file is unchanged" >&6;}
10519 else 11327 else
10520 ac_dir=`(dirname "$ac_file") 2>/dev/null || 11328 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
10521$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11329$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10522 X"$ac_file" : 'X\(//\)[^/]' \| \ 11330 X"$ac_file" : 'X\(//\)[^/]' \| \
10523 X"$ac_file" : 'X\(//\)$' \| \ 11331 X"$ac_file" : 'X\(//\)$' \| \
10524 X"$ac_file" : 'X\(/\)' \| \ 11332 X"$ac_file" : 'X\(/\)' \| \
10525 . : '\(.\)' 2>/dev/null || 11333 . : '\(.\)' 2>/dev/null ||
10526echo X"$ac_file" | 11334echo X"$ac_file" |
10527 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10528 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11336 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10529 /^X\(\/\/\)$/{ s//\1/; q; } 11337 /^X\(\/\/\)$/{ s//\1/; q; }
10530 /^X\(\/\).*/{ s//\1/; q; } 11338 /^X\(\/\).*/{ s//\1/; q; }
10536 as_dirs= 11344 as_dirs=
10537 while test ! -d "$as_dir"; do 11345 while test ! -d "$as_dir"; do
10538 as_dirs="$as_dir $as_dirs" 11346 as_dirs="$as_dir $as_dirs"
10539 as_dir=`(dirname "$as_dir") 2>/dev/null || 11347 as_dir=`(dirname "$as_dir") 2>/dev/null ||
10540$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11348$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10541 X"$as_dir" : 'X\(//\)[^/]' \| \ 11349 X"$as_dir" : 'X\(//\)[^/]' \| \
10542 X"$as_dir" : 'X\(//\)$' \| \ 11350 X"$as_dir" : 'X\(//\)$' \| \
10543 X"$as_dir" : 'X\(/\)' \| \ 11351 X"$as_dir" : 'X\(/\)' \| \
10544 . : '\(.\)' 2>/dev/null || 11352 . : '\(.\)' 2>/dev/null ||
10545echo X"$as_dir" | 11353echo X"$as_dir" |
10546 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11354 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10547 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11355 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10548 /^X\(\/\/\)$/{ s//\1/; q; } 11356 /^X\(\/\/\)$/{ s//\1/; q; }
10549 /^X\(\/\).*/{ s//\1/; q; } 11357 /^X\(\/\).*/{ s//\1/; q; }
10571 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 11379 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10572 esac 11380 esac
10573done 11381done
10574echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || 11382echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
10575$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11383$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10576 X$ac_file : 'X\(//\)[^/]' \| \ 11384 X$ac_file : 'X\(//\)[^/]' \| \
10577 X$ac_file : 'X\(//\)$' \| \ 11385 X$ac_file : 'X\(//\)$' \| \
10578 X$ac_file : 'X\(/\)' \| \ 11386 X$ac_file : 'X\(/\)' \| \
10579 . : '\(.\)' 2>/dev/null || 11387 . : '\(.\)' 2>/dev/null ||
10580echo X$ac_file | 11388echo X$ac_file |
10581 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11389 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10582 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11390 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10583 /^X\(\/\/\)$/{ s//\1/; q; } 11391 /^X\(\/\/\)$/{ s//\1/; q; }
10584 /^X\(\/\).*/{ s//\1/; q; } 11392 /^X\(\/\).*/{ s//\1/; q; }
10593for 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
10594 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 11402 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
10595 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 11403 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
10596 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 11404 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
10597$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11405$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10598 X"$ac_dest" : 'X\(//\)[^/]' \| \ 11406 X"$ac_dest" : 'X\(//\)[^/]' \| \
10599 X"$ac_dest" : 'X\(//\)$' \| \ 11407 X"$ac_dest" : 'X\(//\)$' \| \
10600 X"$ac_dest" : 'X\(/\)' \| \ 11408 X"$ac_dest" : 'X\(/\)' \| \
10601 . : '\(.\)' 2>/dev/null || 11409 . : '\(.\)' 2>/dev/null ||
10602echo X"$ac_dest" | 11410echo X"$ac_dest" |
10603 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11411 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10604 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11412 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10605 /^X\(\/\/\)$/{ s//\1/; q; } 11413 /^X\(\/\/\)$/{ s//\1/; q; }
10606 /^X\(\/\).*/{ s//\1/; q; } 11414 /^X\(\/\).*/{ s//\1/; q; }
10607 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
10608 ac_builddir=. 11441 ac_builddir=.
10609 11442
10610if test "$ac_dir" != .; then 11443if test "$ac_dir" != .; then
10611 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 11444 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10612 # A "../" for each directory in $ac_dir_suffix. 11445 # A "../" for each directory in $ac_dir_suffix.
10628 ac_top_srcdir=$srcdir ;; 11461 ac_top_srcdir=$srcdir ;;
10629 *) # Relative path. 11462 *) # Relative path.
10630 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 11463 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10631 ac_top_srcdir=$ac_top_builddir$srcdir ;; 11464 ac_top_srcdir=$ac_top_builddir$srcdir ;;
10632esac 11465esac
10633# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 11466
10634# absolute. 11467# Do not use `cd foo && pwd` to compute absolute paths, because
10635ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 11468# the directories may not exist.
10636ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 11469case `pwd` in
10637ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 11470.) ac_abs_builddir="$ac_dir";;
10638ac_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
10639 11505
10640 11506
10641 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 11507 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
10642echo "$as_me: executing $ac_dest commands" >&6;} 11508echo "$as_me: executing $ac_dest commands" >&6;}
10643 case $ac_dest in 11509 case $ac_dest in
10747 # 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.
10748 # So let's grep whole file. 11614 # So let's grep whole file.
10749 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 11615 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
10750 dirpart=`(dirname "$mf") 2>/dev/null || 11616 dirpart=`(dirname "$mf") 2>/dev/null ||
10751$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11617$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10752 X"$mf" : 'X\(//\)[^/]' \| \ 11618 X"$mf" : 'X\(//\)[^/]' \| \
10753 X"$mf" : 'X\(//\)$' \| \ 11619 X"$mf" : 'X\(//\)$' \| \
10754 X"$mf" : 'X\(/\)' \| \ 11620 X"$mf" : 'X\(/\)' \| \
10755 . : '\(.\)' 2>/dev/null || 11621 . : '\(.\)' 2>/dev/null ||
10756echo X"$mf" | 11622echo X"$mf" |
10757 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11623 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10758 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11624 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10759 /^X\(\/\/\)$/{ s//\1/; q; } 11625 /^X\(\/\/\)$/{ s//\1/; q; }
10760 /^X\(\/\).*/{ s//\1/; q; } 11626 /^X\(\/\).*/{ s//\1/; q; }
10761 s/.*/./; q'` 11627 s/.*/./; q'`
10762 else 11628 else
10763 continue 11629 continue
10764 fi 11630 fi
10765 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue 11631 # Extract the definition of DEPDIR, am__include, and am__quote
10766 # Extract the definition of DEP_FILES from the Makefile without 11632 # from the Makefile without running `make'.
10767 # running `make'.
10768 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 11633 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10769 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"`
10770 # 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
10771 U=`sed -n -e '/^U = / s///p' < "$mf"` 11639 U=`sed -n 's/^U = //p' < "$mf"`
10772 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 11640 # Find all dependency output files, they are included files with
10773 # We invoke sed twice because it is the simplest approach to 11641 # $(DEPDIR) in their names. We invoke sed twice because it is the
10774 # changing $(DEPDIR) to its actual value in the expansion. 11642 # simplest approach to changing $(DEPDIR) to its actual value in the
11643 # expansion.
10775 for file in `sed -n -e ' 11644 for file in `sed -n "
10776 /^DEP_FILES = .*\\\\$/ { 11645 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10777 s/^DEP_FILES = //
10778 :loop
10779 s/\\\\$//
10780 p
10781 n
10782 /\\\\$/ b loop
10783 p
10784 }
10785 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
10786 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
10787 # Make sure the directory exists. 11647 # Make sure the directory exists.
10788 test -f "$dirpart/$file" && continue 11648 test -f "$dirpart/$file" && continue
10789 fdir=`(dirname "$file") 2>/dev/null || 11649 fdir=`(dirname "$file") 2>/dev/null ||
10790$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11650$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10791 X"$file" : 'X\(//\)[^/]' \| \ 11651 X"$file" : 'X\(//\)[^/]' \| \
10792 X"$file" : 'X\(//\)$' \| \ 11652 X"$file" : 'X\(//\)$' \| \
10793 X"$file" : 'X\(/\)' \| \ 11653 X"$file" : 'X\(/\)' \| \
10794 . : '\(.\)' 2>/dev/null || 11654 . : '\(.\)' 2>/dev/null ||
10795echo X"$file" | 11655echo X"$file" |
10796 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11656 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10797 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11657 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10798 /^X\(\/\/\)$/{ s//\1/; q; } 11658 /^X\(\/\/\)$/{ s//\1/; q; }
10799 /^X\(\/\).*/{ s//\1/; q; } 11659 /^X\(\/\).*/{ s//\1/; q; }
10805 as_dirs= 11665 as_dirs=
10806 while test ! -d "$as_dir"; do 11666 while test ! -d "$as_dir"; do
10807 as_dirs="$as_dir $as_dirs" 11667 as_dirs="$as_dir $as_dirs"
10808 as_dir=`(dirname "$as_dir") 2>/dev/null || 11668 as_dir=`(dirname "$as_dir") 2>/dev/null ||
10809$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11669$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10810 X"$as_dir" : 'X\(//\)[^/]' \| \ 11670 X"$as_dir" : 'X\(//\)[^/]' \| \
10811 X"$as_dir" : 'X\(//\)$' \| \ 11671 X"$as_dir" : 'X\(//\)$' \| \
10812 X"$as_dir" : 'X\(/\)' \| \ 11672 X"$as_dir" : 'X\(/\)' \| \
10813 . : '\(.\)' 2>/dev/null || 11673 . : '\(.\)' 2>/dev/null ||
10814echo X"$as_dir" | 11674echo X"$as_dir" |
10815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11675 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10816 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11676 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10817 /^X\(\/\/\)$/{ s//\1/; q; } 11677 /^X\(\/\/\)$/{ s//\1/; q; }
10818 /^X\(\/\).*/{ s//\1/; q; } 11678 /^X\(\/\).*/{ s//\1/; q; }
10836 11696
10837{ (exit 0); exit 0; } 11697{ (exit 0); exit 0; }
10838_ACEOF 11698_ACEOF
10839chmod +x $CONFIG_STATUS 11699chmod +x $CONFIG_STATUS
10840ac_clean_files=$ac_clean_files_save 11700ac_clean_files=$ac_clean_files_save
10841
10842
10843
10844echo
10845echo "***"
10846echo "*** Configuration Summary"
10847echo "***"
10848echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE"
10849echo "*** Cipher used: $CIPHER"
10850echo "*** Digest used: $DIGEST"
10851echo "*** HMAC length: $HMAC"
10852echo "*** RAND used: $RAND"
10853echo "*** Max. MTU: $MTU"
10854echo "*** Compression: $COMPRESS"
10855echo "***"
10856
10857if test "x$DIGEST" = xmd4; then
10858echo "*** WARNING"
10859echo "*** The digest you have chosen ($DIGEST) is known to be insecure"
10860echo "***"
10861fi
10862
10863echo
10864
10865 11701
10866 11702
10867# configure is writing to config.log, and then calls config.status. 11703# configure is writing to config.log, and then calls config.status.
10868# config.status does its own redirection, appending to config.log. 11704# config.status does its own redirection, appending to config.log.
10869# 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
10883 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 11719 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10884 # would make configure fail if this is the last instruction. 11720 # would make configure fail if this is the last instruction.
10885 $ac_cs_success || { (exit 1); exit 1; } 11721 $ac_cs_success || { (exit 1); exit 1; }
10886fi 11722fi
10887 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