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

Comparing gvpe/configure (file contents):
Revision 1.10 by pcg, Sun Oct 19 17:11:14 2003 UTC vs.
Revision 1.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 "tincd/darwin" "native/cygwin"; Untested 876 "tincd/darwin" "native/cygwin"; Untested
875 combinations are: "tincd/netbsd" "tincd/solaris" 877 combinations are: "tincd/bsd" "tincd/solaris"
876 "tincd/mingw"; Broken combinations are: 878 "tincd/mingw" "tincd/raw_socket" "tincd/uml_socket";
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
6344 case `(ac_space=' '; set | grep ac_space) 2>&1` in 6569 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6345 *ac_space=\ *) 6570 *ac_space=\ *)
6346 # `set' does not quote correctly, so add quotes (double-quote 6571 # `set' does not quote correctly, so add quotes (double-quote
6347 # substitution turns \\\\ into \\, and sed turns \\ into \). 6572 # substitution turns \\\\ into \\, and sed turns \\ into \).
6348 sed -n \ 6573 sed -n \
6349 "s/'/'\\\\''/g; 6574 "s/'/'\\\\''/g;
6350 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 6575 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6351 ;; 6576 ;;
6352 *) 6577 *)
6353 # `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.
6354 sed -n \ 6579 sed -n \
6355 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 6580 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6356 ;; 6581 ;;
6357 esac; 6582 esac;
6358} | 6583} |
6359 sed ' 6584 sed '
6360 t clear 6585 t clear
6403 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6628 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6404 # <limits.h> exists even on freestanding compilers. 6629 # <limits.h> exists even on freestanding compilers.
6405 # 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,
6406 # 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.
6407 cat >conftest.$ac_ext <<_ACEOF 6632 cat >conftest.$ac_ext <<_ACEOF
6408#line $LINENO "configure"
6409/* confdefs.h. */ 6633/* confdefs.h. */
6410_ACEOF 6634_ACEOF
6411cat confdefs.h >>conftest.$ac_ext 6635cat confdefs.h >>conftest.$ac_ext
6412cat >>conftest.$ac_ext <<_ACEOF 6636cat >>conftest.$ac_ext <<_ACEOF
6413/* end confdefs.h. */ 6637/* end confdefs.h. */
6414#ifdef __STDC__ 6638#ifdef __STDC__
6415# include <limits.h> 6639# include <limits.h>
6416#else 6640#else
6417# include <assert.h> 6641# include <assert.h>
6418#endif 6642#endif
6419 Syntax error 6643 Syntax error
6420_ACEOF 6644_ACEOF
6421if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6645if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6422 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6646 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6423 ac_status=$? 6647 ac_status=$?
6424 grep -v '^ *+' conftest.er1 >conftest.err 6648 grep -v '^ *+' conftest.er1 >conftest.err
6426 cat conftest.err >&5 6650 cat conftest.err >&5
6427 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6428 (exit $ac_status); } >/dev/null; then 6652 (exit $ac_status); } >/dev/null; then
6429 if test -s conftest.err; then 6653 if test -s conftest.err; then
6430 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
6431 else 6656 else
6432 ac_cpp_err= 6657 ac_cpp_err=
6433 fi 6658 fi
6434else 6659else
6435 ac_cpp_err=yes 6660 ac_cpp_err=yes
6446rm -f conftest.err conftest.$ac_ext 6671rm -f conftest.err conftest.$ac_ext
6447 6672
6448 # OK, works on sane cases. Now check whether non-existent headers 6673 # OK, works on sane cases. Now check whether non-existent headers
6449 # can be detected and how. 6674 # can be detected and how.
6450 cat >conftest.$ac_ext <<_ACEOF 6675 cat >conftest.$ac_ext <<_ACEOF
6451#line $LINENO "configure"
6452/* confdefs.h. */ 6676/* confdefs.h. */
6453_ACEOF 6677_ACEOF
6454cat confdefs.h >>conftest.$ac_ext 6678cat confdefs.h >>conftest.$ac_ext
6455cat >>conftest.$ac_ext <<_ACEOF 6679cat >>conftest.$ac_ext <<_ACEOF
6456/* end confdefs.h. */ 6680/* end confdefs.h. */
6464 cat conftest.err >&5 6688 cat conftest.err >&5
6465 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6466 (exit $ac_status); } >/dev/null; then 6690 (exit $ac_status); } >/dev/null; then
6467 if test -s conftest.err; then 6691 if test -s conftest.err; then
6468 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
6469 else 6694 else
6470 ac_cpp_err= 6695 ac_cpp_err=
6471 fi 6696 fi
6472else 6697else
6473 ac_cpp_err=yes 6698 ac_cpp_err=yes
6510 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6735 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6511 # <limits.h> exists even on freestanding compilers. 6736 # <limits.h> exists even on freestanding compilers.
6512 # 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,
6513 # 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.
6514 cat >conftest.$ac_ext <<_ACEOF 6739 cat >conftest.$ac_ext <<_ACEOF
6515#line $LINENO "configure"
6516/* confdefs.h. */ 6740/* confdefs.h. */
6517_ACEOF 6741_ACEOF
6518cat confdefs.h >>conftest.$ac_ext 6742cat confdefs.h >>conftest.$ac_ext
6519cat >>conftest.$ac_ext <<_ACEOF 6743cat >>conftest.$ac_ext <<_ACEOF
6520/* end confdefs.h. */ 6744/* end confdefs.h. */
6521#ifdef __STDC__ 6745#ifdef __STDC__
6522# include <limits.h> 6746# include <limits.h>
6523#else 6747#else
6524# include <assert.h> 6748# include <assert.h>
6525#endif 6749#endif
6526 Syntax error 6750 Syntax error
6527_ACEOF 6751_ACEOF
6528if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6752if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6529 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6753 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6530 ac_status=$? 6754 ac_status=$?
6531 grep -v '^ *+' conftest.er1 >conftest.err 6755 grep -v '^ *+' conftest.er1 >conftest.err
6533 cat conftest.err >&5 6757 cat conftest.err >&5
6534 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6535 (exit $ac_status); } >/dev/null; then 6759 (exit $ac_status); } >/dev/null; then
6536 if test -s conftest.err; then 6760 if test -s conftest.err; then
6537 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
6538 else 6763 else
6539 ac_cpp_err= 6764 ac_cpp_err=
6540 fi 6765 fi
6541else 6766else
6542 ac_cpp_err=yes 6767 ac_cpp_err=yes
6553rm -f conftest.err conftest.$ac_ext 6778rm -f conftest.err conftest.$ac_ext
6554 6779
6555 # OK, works on sane cases. Now check whether non-existent headers 6780 # OK, works on sane cases. Now check whether non-existent headers
6556 # can be detected and how. 6781 # can be detected and how.
6557 cat >conftest.$ac_ext <<_ACEOF 6782 cat >conftest.$ac_ext <<_ACEOF
6558#line $LINENO "configure"
6559/* confdefs.h. */ 6783/* confdefs.h. */
6560_ACEOF 6784_ACEOF
6561cat confdefs.h >>conftest.$ac_ext 6785cat confdefs.h >>conftest.$ac_ext
6562cat >>conftest.$ac_ext <<_ACEOF 6786cat >>conftest.$ac_ext <<_ACEOF
6563/* end confdefs.h. */ 6787/* end confdefs.h. */
6571 cat conftest.err >&5 6795 cat conftest.err >&5
6572 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6573 (exit $ac_status); } >/dev/null; then 6797 (exit $ac_status); } >/dev/null; then
6574 if test -s conftest.err; then 6798 if test -s conftest.err; then
6575 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
6576 else 6801 else
6577 ac_cpp_err= 6802 ac_cpp_err=
6578 fi 6803 fi
6579else 6804else
6580 ac_cpp_err=yes 6805 ac_cpp_err=yes
6616echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 6841echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6617if test "${ac_cv_header_stdc+set}" = set; then 6842if test "${ac_cv_header_stdc+set}" = set; then
6618 echo $ECHO_N "(cached) $ECHO_C" >&6 6843 echo $ECHO_N "(cached) $ECHO_C" >&6
6619else 6844else
6620 cat >conftest.$ac_ext <<_ACEOF 6845 cat >conftest.$ac_ext <<_ACEOF
6621#line $LINENO "configure"
6622/* confdefs.h. */ 6846/* confdefs.h. */
6623_ACEOF 6847_ACEOF
6624cat confdefs.h >>conftest.$ac_ext 6848cat confdefs.h >>conftest.$ac_ext
6625cat >>conftest.$ac_ext <<_ACEOF 6849cat >>conftest.$ac_ext <<_ACEOF
6626/* end confdefs.h. */ 6850/* end confdefs.h. */
6637 return 0; 6861 return 0;
6638} 6862}
6639_ACEOF 6863_ACEOF
6640rm -f conftest.$ac_objext 6864rm -f conftest.$ac_objext
6641if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6865if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6642 (eval $ac_compile) 2>&5 6866 (eval $ac_compile) 2>conftest.er1
6643 ac_status=$? 6867 ac_status=$?
6868 grep -v '^ *+' conftest.er1 >conftest.err
6869 rm -f conftest.er1
6870 cat conftest.err >&5
6644 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6645 (exit $ac_status); } && 6872 (exit $ac_status); } &&
6646 { ac_try='test -s conftest.$ac_objext' 6873 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6648 (eval $ac_try) 2>&5 6875 (eval $ac_try) 2>&5
6649 ac_status=$? 6876 ac_status=$?
6650 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
6651 (exit $ac_status); }; }; then 6884 (exit $ac_status); }; }; then
6652 ac_cv_header_stdc=yes 6885 ac_cv_header_stdc=yes
6653else 6886else
6654 echo "$as_me: failed program was:" >&5 6887 echo "$as_me: failed program was:" >&5
6655sed 's/^/| /' conftest.$ac_ext >&5 6888sed 's/^/| /' conftest.$ac_ext >&5
6656 6889
6657ac_cv_header_stdc=no 6890ac_cv_header_stdc=no
6658fi 6891fi
6659rm -f conftest.$ac_objext conftest.$ac_ext 6892rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6660 6893
6661if test $ac_cv_header_stdc = yes; then 6894if test $ac_cv_header_stdc = yes; then
6662 # 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.
6663 cat >conftest.$ac_ext <<_ACEOF 6896 cat >conftest.$ac_ext <<_ACEOF
6664#line $LINENO "configure"
6665/* confdefs.h. */ 6897/* confdefs.h. */
6666_ACEOF 6898_ACEOF
6667cat confdefs.h >>conftest.$ac_ext 6899cat confdefs.h >>conftest.$ac_ext
6668cat >>conftest.$ac_ext <<_ACEOF 6900cat >>conftest.$ac_ext <<_ACEOF
6669/* end confdefs.h. */ 6901/* end confdefs.h. */
6681fi 6913fi
6682 6914
6683if test $ac_cv_header_stdc = yes; then 6915if test $ac_cv_header_stdc = yes; then
6684 # 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.
6685 cat >conftest.$ac_ext <<_ACEOF 6917 cat >conftest.$ac_ext <<_ACEOF
6686#line $LINENO "configure"
6687/* confdefs.h. */ 6918/* confdefs.h. */
6688_ACEOF 6919_ACEOF
6689cat confdefs.h >>conftest.$ac_ext 6920cat confdefs.h >>conftest.$ac_ext
6690cat >>conftest.$ac_ext <<_ACEOF 6921cat >>conftest.$ac_ext <<_ACEOF
6691/* end confdefs.h. */ 6922/* end confdefs.h. */
6706 # /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.
6707 if test "$cross_compiling" = yes; then 6938 if test "$cross_compiling" = yes; then
6708 : 6939 :
6709else 6940else
6710 cat >conftest.$ac_ext <<_ACEOF 6941 cat >conftest.$ac_ext <<_ACEOF
6711#line $LINENO "configure"
6712/* confdefs.h. */ 6942/* confdefs.h. */
6713_ACEOF 6943_ACEOF
6714cat confdefs.h >>conftest.$ac_ext 6944cat confdefs.h >>conftest.$ac_ext
6715cat >>conftest.$ac_ext <<_ACEOF 6945cat >>conftest.$ac_ext <<_ACEOF
6716/* end confdefs.h. */ 6946/* end confdefs.h. */
6718#if ((' ' & 0x0FF) == 0x020) 6948#if ((' ' & 0x0FF) == 0x020)
6719# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 6949# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6720# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 6950# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6721#else 6951#else
6722# define ISLOWER(c) \ 6952# define ISLOWER(c) \
6723 (('a' <= (c) && (c) <= 'i') \ 6953 (('a' <= (c) && (c) <= 'i') \
6724 || ('j' <= (c) && (c) <= 'r') \ 6954 || ('j' <= (c) && (c) <= 'r') \
6725 || ('s' <= (c) && (c) <= 'z')) 6955 || ('s' <= (c) && (c) <= 'z'))
6726# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 6956# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6727#endif 6957#endif
6728 6958
6729#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 6959#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6730int 6960int
6731main () 6961main ()
6732{ 6962{
6733 int i; 6963 int i;
6734 for (i = 0; i < 256; i++) 6964 for (i = 0; i < 256; i++)
6735 if (XOR (islower (i), ISLOWER (i)) 6965 if (XOR (islower (i), ISLOWER (i))
6736 || toupper (i) != TOUPPER (i)) 6966 || toupper (i) != TOUPPER (i))
6737 exit(2); 6967 exit(2);
6738 exit (0); 6968 exit (0);
6739} 6969}
6740_ACEOF 6970_ACEOF
6741rm -f conftest$ac_exeext 6971rm -f conftest$ac_exeext
6781 7011
6782 7012
6783 7013
6784 7014
6785for 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 \
6786 inttypes.h stdint.h unistd.h 7016 inttypes.h stdint.h unistd.h
6787do 7017do
6788as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7018as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6789echo "$as_me:$LINENO: checking for $ac_header" >&5 7019echo "$as_me:$LINENO: checking for $ac_header" >&5
6790echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7020echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6791if eval "test \"\${$as_ac_Header+set}\" = set"; then 7021if eval "test \"\${$as_ac_Header+set}\" = set"; then
6792 echo $ECHO_N "(cached) $ECHO_C" >&6 7022 echo $ECHO_N "(cached) $ECHO_C" >&6
6793else 7023else
6794 cat >conftest.$ac_ext <<_ACEOF 7024 cat >conftest.$ac_ext <<_ACEOF
6795#line $LINENO "configure"
6796/* confdefs.h. */ 7025/* confdefs.h. */
6797_ACEOF 7026_ACEOF
6798cat confdefs.h >>conftest.$ac_ext 7027cat confdefs.h >>conftest.$ac_ext
6799cat >>conftest.$ac_ext <<_ACEOF 7028cat >>conftest.$ac_ext <<_ACEOF
6800/* end confdefs.h. */ 7029/* end confdefs.h. */
6802 7031
6803#include <$ac_header> 7032#include <$ac_header>
6804_ACEOF 7033_ACEOF
6805rm -f conftest.$ac_objext 7034rm -f conftest.$ac_objext
6806if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7035if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6807 (eval $ac_compile) 2>&5 7036 (eval $ac_compile) 2>conftest.er1
6808 ac_status=$? 7037 ac_status=$?
7038 grep -v '^ *+' conftest.er1 >conftest.err
7039 rm -f conftest.er1
7040 cat conftest.err >&5
6809 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6810 (exit $ac_status); } && 7042 (exit $ac_status); } &&
6811 { ac_try='test -s conftest.$ac_objext' 7043 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6813 (eval $ac_try) 2>&5 7045 (eval $ac_try) 2>&5
6814 ac_status=$? 7046 ac_status=$?
6815 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
6816 (exit $ac_status); }; }; then 7054 (exit $ac_status); }; }; then
6817 eval "$as_ac_Header=yes" 7055 eval "$as_ac_Header=yes"
6818else 7056else
6819 echo "$as_me: failed program was:" >&5 7057 echo "$as_me: failed program was:" >&5
6820sed 's/^/| /' conftest.$ac_ext >&5 7058sed 's/^/| /' conftest.$ac_ext >&5
6821 7059
6822eval "$as_ac_Header=no" 7060eval "$as_ac_Header=no"
6823fi 7061fi
6824rm -f conftest.$ac_objext conftest.$ac_ext 7062rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6825fi 7063fi
6826echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7064echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6827echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7065echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6828if test `eval echo '${'$as_ac_Header'}'` = yes; then 7066if test `eval echo '${'$as_ac_Header'}'` = yes; then
6829 cat >>confdefs.h <<_ACEOF 7067 cat >>confdefs.h <<_ACEOF
6834 7072
6835done 7073done
6836 7074
6837 7075
6838 7076
7077
6839for ac_header in ext/hash_map 7078for ac_header in ext/hash_map clocale
6840do 7079do
6841as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7080as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6842if eval "test \"\${$as_ac_Header+set}\" = set"; then 7081if eval "test \"\${$as_ac_Header+set}\" = set"; then
6843 echo "$as_me:$LINENO: checking for $ac_header" >&5 7082 echo "$as_me:$LINENO: checking for $ac_header" >&5
6844echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7083echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6850else 7089else
6851 # Is the header compilable? 7090 # Is the header compilable?
6852echo "$as_me:$LINENO: checking $ac_header usability" >&5 7091echo "$as_me:$LINENO: checking $ac_header usability" >&5
6853echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 7092echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6854cat >conftest.$ac_ext <<_ACEOF 7093cat >conftest.$ac_ext <<_ACEOF
6855#line $LINENO "configure"
6856/* confdefs.h. */ 7094/* confdefs.h. */
6857_ACEOF 7095_ACEOF
6858cat confdefs.h >>conftest.$ac_ext 7096cat confdefs.h >>conftest.$ac_ext
6859cat >>conftest.$ac_ext <<_ACEOF 7097cat >>conftest.$ac_ext <<_ACEOF
6860/* end confdefs.h. */ 7098/* end confdefs.h. */
6861$ac_includes_default 7099$ac_includes_default
6862#include <$ac_header> 7100#include <$ac_header>
6863_ACEOF 7101_ACEOF
6864rm -f conftest.$ac_objext 7102rm -f conftest.$ac_objext
6865if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7103if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6866 (eval $ac_compile) 2>&5 7104 (eval $ac_compile) 2>conftest.er1
6867 ac_status=$? 7105 ac_status=$?
7106 grep -v '^ *+' conftest.er1 >conftest.err
7107 rm -f conftest.er1
7108 cat conftest.err >&5
6868 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6869 (exit $ac_status); } && 7110 (exit $ac_status); } &&
6870 { ac_try='test -s conftest.$ac_objext' 7111 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6872 (eval $ac_try) 2>&5 7113 (eval $ac_try) 2>&5
6873 ac_status=$? 7114 ac_status=$?
6874 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
6875 (exit $ac_status); }; }; then 7122 (exit $ac_status); }; }; then
6876 ac_header_compiler=yes 7123 ac_header_compiler=yes
6877else 7124else
6878 echo "$as_me: failed program was:" >&5 7125 echo "$as_me: failed program was:" >&5
6879sed 's/^/| /' conftest.$ac_ext >&5 7126sed 's/^/| /' conftest.$ac_ext >&5
6880 7127
6881ac_header_compiler=no 7128ac_header_compiler=no
6882fi 7129fi
6883rm -f conftest.$ac_objext conftest.$ac_ext 7130rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6884echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7131echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6885echo "${ECHO_T}$ac_header_compiler" >&6 7132echo "${ECHO_T}$ac_header_compiler" >&6
6886 7133
6887# Is the header present? 7134# Is the header present?
6888echo "$as_me:$LINENO: checking $ac_header presence" >&5 7135echo "$as_me:$LINENO: checking $ac_header presence" >&5
6889echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 7136echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6890cat >conftest.$ac_ext <<_ACEOF 7137cat >conftest.$ac_ext <<_ACEOF
6891#line $LINENO "configure"
6892/* confdefs.h. */ 7138/* confdefs.h. */
6893_ACEOF 7139_ACEOF
6894cat confdefs.h >>conftest.$ac_ext 7140cat confdefs.h >>conftest.$ac_ext
6895cat >>conftest.$ac_ext <<_ACEOF 7141cat >>conftest.$ac_ext <<_ACEOF
6896/* end confdefs.h. */ 7142/* end confdefs.h. */
6904 cat conftest.err >&5 7150 cat conftest.err >&5
6905 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6906 (exit $ac_status); } >/dev/null; then 7152 (exit $ac_status); } >/dev/null; then
6907 if test -s conftest.err; then 7153 if test -s conftest.err; then
6908 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
6909 else 7156 else
6910 ac_cpp_err= 7157 ac_cpp_err=
6911 fi 7158 fi
6912else 7159else
6913 ac_cpp_err=yes 7160 ac_cpp_err=yes
6923rm -f conftest.err conftest.$ac_ext 7170rm -f conftest.err conftest.$ac_ext
6924echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7171echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6925echo "${ECHO_T}$ac_header_preproc" >&6 7172echo "${ECHO_T}$ac_header_preproc" >&6
6926 7173
6927# So? What about this header? 7174# So? What about this header?
6928case $ac_header_compiler:$ac_header_preproc in 7175case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6929 yes:no ) 7176 yes:no: )
6930 { 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
6931echo "$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;}
6932 { 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
6933echo "$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;}
6934 ( 7196 (
6935 cat <<\_ASBOX 7197 cat <<\_ASBOX
6936## ------------------------------------ ## 7198## ------------------------------------------ ##
6937## Report this to bug-autoconf@gnu.org. ## 7199## Report this to the AC_PACKAGE_NAME lists. ##
6938## ------------------------------------ ## 7200## ------------------------------------------ ##
6939_ASBOX
6940 ) |
6941 sed "s/^/$as_me: WARNING: /" >&2
6942 ;;
6943 no:yes )
6944 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6945echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6946 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6947echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6948 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6949echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6950 (
6951 cat <<\_ASBOX
6952## ------------------------------------ ##
6953## Report this to bug-autoconf@gnu.org. ##
6954## ------------------------------------ ##
6955_ASBOX 7201_ASBOX
6956 ) | 7202 ) |
6957 sed "s/^/$as_me: WARNING: /" >&2 7203 sed "s/^/$as_me: WARNING: /" >&2
6958 ;; 7204 ;;
6959esac 7205esac
6960echo "$as_me:$LINENO: checking for $ac_header" >&5 7206echo "$as_me:$LINENO: checking for $ac_header" >&5
6961echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7207echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6962if eval "test \"\${$as_ac_Header+set}\" = set"; then 7208if eval "test \"\${$as_ac_Header+set}\" = set"; then
6963 echo $ECHO_N "(cached) $ECHO_C" >&6 7209 echo $ECHO_N "(cached) $ECHO_C" >&6
6964else 7210else
6965 eval "$as_ac_Header=$ac_header_preproc" 7211 eval "$as_ac_Header=\$ac_header_preproc"
6966fi 7212fi
6967echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7213echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6968echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7214echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6969 7215
6970fi 7216fi
6992 7238
6993 7239
6994 7240
6995 7241
6996 7242
6997
6998
6999for 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 \
7000 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 \
7001 sys/poll.h sys/mman.h netinet/in.h 7245 sys/mman.h netinet/in.h
7002do 7246do
7003as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7247as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7004if eval "test \"\${$as_ac_Header+set}\" = set"; then 7248if eval "test \"\${$as_ac_Header+set}\" = set"; then
7005 echo "$as_me:$LINENO: checking for $ac_header" >&5 7249 echo "$as_me:$LINENO: checking for $ac_header" >&5
7006echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7250echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7012else 7256else
7013 # Is the header compilable? 7257 # Is the header compilable?
7014echo "$as_me:$LINENO: checking $ac_header usability" >&5 7258echo "$as_me:$LINENO: checking $ac_header usability" >&5
7015echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 7259echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7016cat >conftest.$ac_ext <<_ACEOF 7260cat >conftest.$ac_ext <<_ACEOF
7017#line $LINENO "configure"
7018/* confdefs.h. */ 7261/* confdefs.h. */
7019_ACEOF 7262_ACEOF
7020cat confdefs.h >>conftest.$ac_ext 7263cat confdefs.h >>conftest.$ac_ext
7021cat >>conftest.$ac_ext <<_ACEOF 7264cat >>conftest.$ac_ext <<_ACEOF
7022/* end confdefs.h. */ 7265/* end confdefs.h. */
7023$ac_includes_default 7266$ac_includes_default
7024#include <$ac_header> 7267#include <$ac_header>
7025_ACEOF 7268_ACEOF
7026rm -f conftest.$ac_objext 7269rm -f conftest.$ac_objext
7027if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7270if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7028 (eval $ac_compile) 2>&5 7271 (eval $ac_compile) 2>conftest.er1
7029 ac_status=$? 7272 ac_status=$?
7273 grep -v '^ *+' conftest.er1 >conftest.err
7274 rm -f conftest.er1
7275 cat conftest.err >&5
7030 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7031 (exit $ac_status); } && 7277 (exit $ac_status); } &&
7032 { ac_try='test -s conftest.$ac_objext' 7278 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7034 (eval $ac_try) 2>&5 7280 (eval $ac_try) 2>&5
7035 ac_status=$? 7281 ac_status=$?
7036 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
7037 (exit $ac_status); }; }; then 7289 (exit $ac_status); }; }; then
7038 ac_header_compiler=yes 7290 ac_header_compiler=yes
7039else 7291else
7040 echo "$as_me: failed program was:" >&5 7292 echo "$as_me: failed program was:" >&5
7041sed 's/^/| /' conftest.$ac_ext >&5 7293sed 's/^/| /' conftest.$ac_ext >&5
7042 7294
7043ac_header_compiler=no 7295ac_header_compiler=no
7044fi 7296fi
7045rm -f conftest.$ac_objext conftest.$ac_ext 7297rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7046echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7298echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7047echo "${ECHO_T}$ac_header_compiler" >&6 7299echo "${ECHO_T}$ac_header_compiler" >&6
7048 7300
7049# Is the header present? 7301# Is the header present?
7050echo "$as_me:$LINENO: checking $ac_header presence" >&5 7302echo "$as_me:$LINENO: checking $ac_header presence" >&5
7051echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 7303echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7052cat >conftest.$ac_ext <<_ACEOF 7304cat >conftest.$ac_ext <<_ACEOF
7053#line $LINENO "configure"
7054/* confdefs.h. */ 7305/* confdefs.h. */
7055_ACEOF 7306_ACEOF
7056cat confdefs.h >>conftest.$ac_ext 7307cat confdefs.h >>conftest.$ac_ext
7057cat >>conftest.$ac_ext <<_ACEOF 7308cat >>conftest.$ac_ext <<_ACEOF
7058/* end confdefs.h. */ 7309/* end confdefs.h. */
7066 cat conftest.err >&5 7317 cat conftest.err >&5
7067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7068 (exit $ac_status); } >/dev/null; then 7319 (exit $ac_status); } >/dev/null; then
7069 if test -s conftest.err; then 7320 if test -s conftest.err; then
7070 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
7071 else 7323 else
7072 ac_cpp_err= 7324 ac_cpp_err=
7073 fi 7325 fi
7074else 7326else
7075 ac_cpp_err=yes 7327 ac_cpp_err=yes
7085rm -f conftest.err conftest.$ac_ext 7337rm -f conftest.err conftest.$ac_ext
7086echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7338echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7087echo "${ECHO_T}$ac_header_preproc" >&6 7339echo "${ECHO_T}$ac_header_preproc" >&6
7088 7340
7089# So? What about this header? 7341# So? What about this header?
7090case $ac_header_compiler:$ac_header_preproc in 7342case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7091 yes:no ) 7343 yes:no: )
7092 { 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
7093echo "$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;}
7094 { 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
7095echo "$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;}
7096 ( 7363 (
7097 cat <<\_ASBOX 7364 cat <<\_ASBOX
7098## ------------------------------------ ## 7365## ------------------------------------------ ##
7099## Report this to bug-autoconf@gnu.org. ## 7366## Report this to the AC_PACKAGE_NAME lists. ##
7100## ------------------------------------ ## 7367## ------------------------------------------ ##
7101_ASBOX
7102 ) |
7103 sed "s/^/$as_me: WARNING: /" >&2
7104 ;;
7105 no:yes )
7106 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7107echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7108 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7109echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7110 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7111echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7112 (
7113 cat <<\_ASBOX
7114## ------------------------------------ ##
7115## Report this to bug-autoconf@gnu.org. ##
7116## ------------------------------------ ##
7117_ASBOX 7368_ASBOX
7118 ) | 7369 ) |
7119 sed "s/^/$as_me: WARNING: /" >&2 7370 sed "s/^/$as_me: WARNING: /" >&2
7120 ;; 7371 ;;
7121esac 7372esac
7122echo "$as_me:$LINENO: checking for $ac_header" >&5 7373echo "$as_me:$LINENO: checking for $ac_header" >&5
7123echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7374echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7124if eval "test \"\${$as_ac_Header+set}\" = set"; then 7375if eval "test \"\${$as_ac_Header+set}\" = set"; then
7125 echo $ECHO_N "(cached) $ECHO_C" >&6 7376 echo $ECHO_N "(cached) $ECHO_C" >&6
7126else 7377else
7127 eval "$as_ac_Header=$ac_header_preproc" 7378 eval "$as_ac_Header=\$ac_header_preproc"
7128fi 7379fi
7129echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7380echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7130echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7381echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7131 7382
7132fi 7383fi
7142 7393
7143 7394
7144 7395
7145 7396
7146 7397
7398
7147for 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
7148do 7400do
7149as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7401as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7150echo "$as_me:$LINENO: checking for $ac_header" >&5 7402echo "$as_me:$LINENO: checking for $ac_header" >&5
7151echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7403echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7152if eval "test \"\${$as_ac_Header+set}\" = set"; then 7404if eval "test \"\${$as_ac_Header+set}\" = set"; then
7153 echo $ECHO_N "(cached) $ECHO_C" >&6 7405 echo $ECHO_N "(cached) $ECHO_C" >&6
7154else 7406else
7155 cat >conftest.$ac_ext <<_ACEOF 7407 cat >conftest.$ac_ext <<_ACEOF
7156#line $LINENO "configure"
7157/* confdefs.h. */ 7408/* confdefs.h. */
7158_ACEOF 7409_ACEOF
7159cat confdefs.h >>conftest.$ac_ext 7410cat confdefs.h >>conftest.$ac_ext
7160cat >>conftest.$ac_ext <<_ACEOF 7411cat >>conftest.$ac_ext <<_ACEOF
7161/* end confdefs.h. */ 7412/* end confdefs.h. */
7175 7426
7176#include <$ac_header> 7427#include <$ac_header>
7177_ACEOF 7428_ACEOF
7178rm -f conftest.$ac_objext 7429rm -f conftest.$ac_objext
7179if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7430if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7180 (eval $ac_compile) 2>&5 7431 (eval $ac_compile) 2>conftest.er1
7181 ac_status=$? 7432 ac_status=$?
7433 grep -v '^ *+' conftest.er1 >conftest.err
7434 rm -f conftest.er1
7435 cat conftest.err >&5
7182 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7183 (exit $ac_status); } && 7437 (exit $ac_status); } &&
7184 { ac_try='test -s conftest.$ac_objext' 7438 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7186 (eval $ac_try) 2>&5 7440 (eval $ac_try) 2>&5
7187 ac_status=$? 7441 ac_status=$?
7188 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
7189 (exit $ac_status); }; }; then 7449 (exit $ac_status); }; }; then
7190 eval "$as_ac_Header=yes" 7450 eval "$as_ac_Header=yes"
7191else 7451else
7192 echo "$as_me: failed program was:" >&5 7452 echo "$as_me: failed program was:" >&5
7193sed 's/^/| /' conftest.$ac_ext >&5 7453sed 's/^/| /' conftest.$ac_ext >&5
7194 7454
7195eval "$as_ac_Header=no" 7455eval "$as_ac_Header=no"
7196fi 7456fi
7197rm -f conftest.$ac_objext conftest.$ac_ext 7457rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7198fi 7458fi
7199echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7459echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7200echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7460echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7201if test `eval echo '${'$as_ac_Header'}'` = yes; then 7461if test `eval echo '${'$as_ac_Header'}'` = yes; then
7202 cat >>confdefs.h <<_ACEOF 7462 cat >>confdefs.h <<_ACEOF
7212echo $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
7213if test "${ac_cv_c_const+set}" = set; then 7473if test "${ac_cv_c_const+set}" = set; then
7214 echo $ECHO_N "(cached) $ECHO_C" >&6 7474 echo $ECHO_N "(cached) $ECHO_C" >&6
7215else 7475else
7216 cat >conftest.$ac_ext <<_ACEOF 7476 cat >conftest.$ac_ext <<_ACEOF
7217#line $LINENO "configure"
7218/* confdefs.h. */ 7477/* confdefs.h. */
7219_ACEOF 7478_ACEOF
7220cat confdefs.h >>conftest.$ac_ext 7479cat confdefs.h >>conftest.$ac_ext
7221cat >>conftest.$ac_ext <<_ACEOF 7480cat >>conftest.$ac_ext <<_ACEOF
7222/* end confdefs.h. */ 7481/* end confdefs.h. */
7275 return 0; 7534 return 0;
7276} 7535}
7277_ACEOF 7536_ACEOF
7278rm -f conftest.$ac_objext 7537rm -f conftest.$ac_objext
7279if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7538if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7280 (eval $ac_compile) 2>&5 7539 (eval $ac_compile) 2>conftest.er1
7281 ac_status=$? 7540 ac_status=$?
7541 grep -v '^ *+' conftest.er1 >conftest.err
7542 rm -f conftest.er1
7543 cat conftest.err >&5
7282 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7283 (exit $ac_status); } && 7545 (exit $ac_status); } &&
7284 { ac_try='test -s conftest.$ac_objext' 7546 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7286 (eval $ac_try) 2>&5 7548 (eval $ac_try) 2>&5
7287 ac_status=$? 7549 ac_status=$?
7288 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
7289 (exit $ac_status); }; }; then 7557 (exit $ac_status); }; }; then
7290 ac_cv_c_const=yes 7558 ac_cv_c_const=yes
7291else 7559else
7292 echo "$as_me: failed program was:" >&5 7560 echo "$as_me: failed program was:" >&5
7293sed 's/^/| /' conftest.$ac_ext >&5 7561sed 's/^/| /' conftest.$ac_ext >&5
7294 7562
7295ac_cv_c_const=no 7563ac_cv_c_const=no
7296fi 7564fi
7297rm -f conftest.$ac_objext conftest.$ac_ext 7565rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7298fi 7566fi
7299echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 7567echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7300echo "${ECHO_T}$ac_cv_c_const" >&6 7568echo "${ECHO_T}$ac_cv_c_const" >&6
7301if test $ac_cv_c_const = no; then 7569if test $ac_cv_c_const = no; then
7302 7570
7310echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 7578echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
7311if test "${ac_cv_type_pid_t+set}" = set; then 7579if test "${ac_cv_type_pid_t+set}" = set; then
7312 echo $ECHO_N "(cached) $ECHO_C" >&6 7580 echo $ECHO_N "(cached) $ECHO_C" >&6
7313else 7581else
7314 cat >conftest.$ac_ext <<_ACEOF 7582 cat >conftest.$ac_ext <<_ACEOF
7315#line $LINENO "configure"
7316/* confdefs.h. */ 7583/* confdefs.h. */
7317_ACEOF 7584_ACEOF
7318cat confdefs.h >>conftest.$ac_ext 7585cat confdefs.h >>conftest.$ac_ext
7319cat >>conftest.$ac_ext <<_ACEOF 7586cat >>conftest.$ac_ext <<_ACEOF
7320/* end confdefs.h. */ 7587/* end confdefs.h. */
7330 return 0; 7597 return 0;
7331} 7598}
7332_ACEOF 7599_ACEOF
7333rm -f conftest.$ac_objext 7600rm -f conftest.$ac_objext
7334if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7601if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7335 (eval $ac_compile) 2>&5 7602 (eval $ac_compile) 2>conftest.er1
7336 ac_status=$? 7603 ac_status=$?
7604 grep -v '^ *+' conftest.er1 >conftest.err
7605 rm -f conftest.er1
7606 cat conftest.err >&5
7337 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7338 (exit $ac_status); } && 7608 (exit $ac_status); } &&
7339 { ac_try='test -s conftest.$ac_objext' 7609 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7341 (eval $ac_try) 2>&5 7611 (eval $ac_try) 2>&5
7342 ac_status=$? 7612 ac_status=$?
7343 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
7344 (exit $ac_status); }; }; then 7620 (exit $ac_status); }; }; then
7345 ac_cv_type_pid_t=yes 7621 ac_cv_type_pid_t=yes
7346else 7622else
7347 echo "$as_me: failed program was:" >&5 7623 echo "$as_me: failed program was:" >&5
7348sed 's/^/| /' conftest.$ac_ext >&5 7624sed 's/^/| /' conftest.$ac_ext >&5
7349 7625
7350ac_cv_type_pid_t=no 7626ac_cv_type_pid_t=no
7351fi 7627fi
7352rm -f conftest.$ac_objext conftest.$ac_ext 7628rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7353fi 7629fi
7354echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 7630echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7355echo "${ECHO_T}$ac_cv_type_pid_t" >&6 7631echo "${ECHO_T}$ac_cv_type_pid_t" >&6
7356if test $ac_cv_type_pid_t = yes; then 7632if test $ac_cv_type_pid_t = yes; then
7357 : 7633 :
7367echo $ECHO_N "checking for size_t... $ECHO_C" >&6 7643echo $ECHO_N "checking for size_t... $ECHO_C" >&6
7368if test "${ac_cv_type_size_t+set}" = set; then 7644if test "${ac_cv_type_size_t+set}" = set; then
7369 echo $ECHO_N "(cached) $ECHO_C" >&6 7645 echo $ECHO_N "(cached) $ECHO_C" >&6
7370else 7646else
7371 cat >conftest.$ac_ext <<_ACEOF 7647 cat >conftest.$ac_ext <<_ACEOF
7372#line $LINENO "configure"
7373/* confdefs.h. */ 7648/* confdefs.h. */
7374_ACEOF 7649_ACEOF
7375cat confdefs.h >>conftest.$ac_ext 7650cat confdefs.h >>conftest.$ac_ext
7376cat >>conftest.$ac_ext <<_ACEOF 7651cat >>conftest.$ac_ext <<_ACEOF
7377/* end confdefs.h. */ 7652/* end confdefs.h. */
7387 return 0; 7662 return 0;
7388} 7663}
7389_ACEOF 7664_ACEOF
7390rm -f conftest.$ac_objext 7665rm -f conftest.$ac_objext
7391if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7666if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7392 (eval $ac_compile) 2>&5 7667 (eval $ac_compile) 2>conftest.er1
7393 ac_status=$? 7668 ac_status=$?
7669 grep -v '^ *+' conftest.er1 >conftest.err
7670 rm -f conftest.er1
7671 cat conftest.err >&5
7394 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7395 (exit $ac_status); } && 7673 (exit $ac_status); } &&
7396 { ac_try='test -s conftest.$ac_objext' 7674 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7398 (eval $ac_try) 2>&5 7676 (eval $ac_try) 2>&5
7399 ac_status=$? 7677 ac_status=$?
7400 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
7401 (exit $ac_status); }; }; then 7685 (exit $ac_status); }; }; then
7402 ac_cv_type_size_t=yes 7686 ac_cv_type_size_t=yes
7403else 7687else
7404 echo "$as_me: failed program was:" >&5 7688 echo "$as_me: failed program was:" >&5
7405sed 's/^/| /' conftest.$ac_ext >&5 7689sed 's/^/| /' conftest.$ac_ext >&5
7406 7690
7407ac_cv_type_size_t=no 7691ac_cv_type_size_t=no
7408fi 7692fi
7409rm -f conftest.$ac_objext conftest.$ac_ext 7693rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7410fi 7694fi
7411echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 7695echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7412echo "${ECHO_T}$ac_cv_type_size_t" >&6 7696echo "${ECHO_T}$ac_cv_type_size_t" >&6
7413if test $ac_cv_type_size_t = yes; then 7697if test $ac_cv_type_size_t = yes; then
7414 : 7698 :
7424echo $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
7425if test "${ac_cv_header_time+set}" = set; then 7709if test "${ac_cv_header_time+set}" = set; then
7426 echo $ECHO_N "(cached) $ECHO_C" >&6 7710 echo $ECHO_N "(cached) $ECHO_C" >&6
7427else 7711else
7428 cat >conftest.$ac_ext <<_ACEOF 7712 cat >conftest.$ac_ext <<_ACEOF
7429#line $LINENO "configure"
7430/* confdefs.h. */ 7713/* confdefs.h. */
7431_ACEOF 7714_ACEOF
7432cat confdefs.h >>conftest.$ac_ext 7715cat confdefs.h >>conftest.$ac_ext
7433cat >>conftest.$ac_ext <<_ACEOF 7716cat >>conftest.$ac_ext <<_ACEOF
7434/* end confdefs.h. */ 7717/* end confdefs.h. */
7445 return 0; 7728 return 0;
7446} 7729}
7447_ACEOF 7730_ACEOF
7448rm -f conftest.$ac_objext 7731rm -f conftest.$ac_objext
7449if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7732if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7450 (eval $ac_compile) 2>&5 7733 (eval $ac_compile) 2>conftest.er1
7451 ac_status=$? 7734 ac_status=$?
7735 grep -v '^ *+' conftest.er1 >conftest.err
7736 rm -f conftest.er1
7737 cat conftest.err >&5
7452 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7453 (exit $ac_status); } && 7739 (exit $ac_status); } &&
7454 { ac_try='test -s conftest.$ac_objext' 7740 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7456 (eval $ac_try) 2>&5 7742 (eval $ac_try) 2>&5
7457 ac_status=$? 7743 ac_status=$?
7458 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
7459 (exit $ac_status); }; }; then 7751 (exit $ac_status); }; }; then
7460 ac_cv_header_time=yes 7752 ac_cv_header_time=yes
7461else 7753else
7462 echo "$as_me: failed program was:" >&5 7754 echo "$as_me: failed program was:" >&5
7463sed 's/^/| /' conftest.$ac_ext >&5 7755sed 's/^/| /' conftest.$ac_ext >&5
7464 7756
7465ac_cv_header_time=no 7757ac_cv_header_time=no
7466fi 7758fi
7467rm -f conftest.$ac_objext conftest.$ac_ext 7759rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7468fi 7760fi
7469echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 7761echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
7470echo "${ECHO_T}$ac_cv_header_time" >&6 7762echo "${ECHO_T}$ac_cv_header_time" >&6
7471if test $ac_cv_header_time = yes; then 7763if test $ac_cv_header_time = yes; then
7472 7764
7480echo $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
7481if test "${ac_cv_struct_tm+set}" = set; then 7773if test "${ac_cv_struct_tm+set}" = set; then
7482 echo $ECHO_N "(cached) $ECHO_C" >&6 7774 echo $ECHO_N "(cached) $ECHO_C" >&6
7483else 7775else
7484 cat >conftest.$ac_ext <<_ACEOF 7776 cat >conftest.$ac_ext <<_ACEOF
7485#line $LINENO "configure"
7486/* confdefs.h. */ 7777/* confdefs.h. */
7487_ACEOF 7778_ACEOF
7488cat confdefs.h >>conftest.$ac_ext 7779cat confdefs.h >>conftest.$ac_ext
7489cat >>conftest.$ac_ext <<_ACEOF 7780cat >>conftest.$ac_ext <<_ACEOF
7490/* end confdefs.h. */ 7781/* end confdefs.h. */
7499 return 0; 7790 return 0;
7500} 7791}
7501_ACEOF 7792_ACEOF
7502rm -f conftest.$ac_objext 7793rm -f conftest.$ac_objext
7503if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7794if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7504 (eval $ac_compile) 2>&5 7795 (eval $ac_compile) 2>conftest.er1
7505 ac_status=$? 7796 ac_status=$?
7797 grep -v '^ *+' conftest.er1 >conftest.err
7798 rm -f conftest.er1
7799 cat conftest.err >&5
7506 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7507 (exit $ac_status); } && 7801 (exit $ac_status); } &&
7508 { ac_try='test -s conftest.$ac_objext' 7802 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7510 (eval $ac_try) 2>&5 7804 (eval $ac_try) 2>&5
7511 ac_status=$? 7805 ac_status=$?
7512 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
7513 (exit $ac_status); }; }; then 7813 (exit $ac_status); }; }; then
7514 ac_cv_struct_tm=time.h 7814 ac_cv_struct_tm=time.h
7515else 7815else
7516 echo "$as_me: failed program was:" >&5 7816 echo "$as_me: failed program was:" >&5
7517sed 's/^/| /' conftest.$ac_ext >&5 7817sed 's/^/| /' conftest.$ac_ext >&5
7518 7818
7519ac_cv_struct_tm=sys/time.h 7819ac_cv_struct_tm=sys/time.h
7520fi 7820fi
7521rm -f conftest.$ac_objext conftest.$ac_ext 7821rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7522fi 7822fi
7523echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 7823echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
7524echo "${ECHO_T}$ac_cv_struct_tm" >&6 7824echo "${ECHO_T}$ac_cv_struct_tm" >&6
7525if test $ac_cv_struct_tm = sys/time.h; then 7825if test $ac_cv_struct_tm = sys/time.h; then
7526 7826
7536if test "${ac_cv_type_socklen_t+set}" = set; then 7836if test "${ac_cv_type_socklen_t+set}" = set; then
7537 echo $ECHO_N "(cached) $ECHO_C" >&6 7837 echo $ECHO_N "(cached) $ECHO_C" >&6
7538else 7838else
7539 7839
7540 cat >conftest.$ac_ext <<_ACEOF 7840 cat >conftest.$ac_ext <<_ACEOF
7541#line $LINENO "configure"
7542/* confdefs.h. */ 7841/* confdefs.h. */
7543_ACEOF 7842_ACEOF
7544cat confdefs.h >>conftest.$ac_ext 7843cat confdefs.h >>conftest.$ac_ext
7545cat >>conftest.$ac_ext <<_ACEOF 7844cat >>conftest.$ac_ext <<_ACEOF
7546/* end confdefs.h. */ 7845/* end confdefs.h. */
7554 return 0; 7853 return 0;
7555} 7854}
7556_ACEOF 7855_ACEOF
7557rm -f conftest.$ac_objext 7856rm -f conftest.$ac_objext
7558if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7857if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7559 (eval $ac_compile) 2>&5 7858 (eval $ac_compile) 2>conftest.er1
7560 ac_status=$? 7859 ac_status=$?
7860 grep -v '^ *+' conftest.er1 >conftest.err
7861 rm -f conftest.er1
7862 cat conftest.err >&5
7561 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7562 (exit $ac_status); } && 7864 (exit $ac_status); } &&
7563 { ac_try='test -s conftest.$ac_objext' 7865 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7565 (eval $ac_try) 2>&5 7867 (eval $ac_try) 2>&5
7566 ac_status=$? 7868 ac_status=$?
7567 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
7568 (exit $ac_status); }; }; then 7876 (exit $ac_status); }; }; then
7569 ac_cv_type_socklen_t=yes 7877 ac_cv_type_socklen_t=yes
7570else 7878else
7571 echo "$as_me: failed program was:" >&5 7879 echo "$as_me: failed program was:" >&5
7572sed 's/^/| /' conftest.$ac_ext >&5 7880sed 's/^/| /' conftest.$ac_ext >&5
7573 7881
7574ac_cv_type_socklen_t=no 7882ac_cv_type_socklen_t=no
7575fi 7883fi
7576rm -f conftest.$ac_objext conftest.$ac_ext 7884rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7577 7885
7578fi 7886fi
7579echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 7887echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
7580echo "${ECHO_T}$ac_cv_type_socklen_t" >&6 7888echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
7581if test $ac_cv_type_socklen_t = yes; then 7889if test $ac_cv_type_socklen_t = yes; then
7591if test "${ac_cv_struct_addrinfo+set}" = set; then 7899if test "${ac_cv_struct_addrinfo+set}" = set; then
7592 echo $ECHO_N "(cached) $ECHO_C" >&6 7900 echo $ECHO_N "(cached) $ECHO_C" >&6
7593else 7901else
7594 7902
7595 cat >conftest.$ac_ext <<_ACEOF 7903 cat >conftest.$ac_ext <<_ACEOF
7596#line $LINENO "configure"
7597/* confdefs.h. */ 7904/* confdefs.h. */
7598_ACEOF 7905_ACEOF
7599cat confdefs.h >>conftest.$ac_ext 7906cat confdefs.h >>conftest.$ac_ext
7600cat >>conftest.$ac_ext <<_ACEOF 7907cat >>conftest.$ac_ext <<_ACEOF
7601/* end confdefs.h. */ 7908/* end confdefs.h. */
7610 return 0; 7917 return 0;
7611} 7918}
7612_ACEOF 7919_ACEOF
7613rm -f conftest.$ac_objext 7920rm -f conftest.$ac_objext
7614if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7921if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7615 (eval $ac_compile) 2>&5 7922 (eval $ac_compile) 2>conftest.er1
7616 ac_status=$? 7923 ac_status=$?
7924 grep -v '^ *+' conftest.er1 >conftest.err
7925 rm -f conftest.er1
7926 cat conftest.err >&5
7617 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7618 (exit $ac_status); } && 7928 (exit $ac_status); } &&
7619 { ac_try='test -s conftest.$ac_objext' 7929 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7621 (eval $ac_try) 2>&5 7931 (eval $ac_try) 2>&5
7622 ac_status=$? 7932 ac_status=$?
7623 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
7624 (exit $ac_status); }; }; then 7940 (exit $ac_status); }; }; then
7625 ac_cv_struct_addrinfo=yes 7941 ac_cv_struct_addrinfo=yes
7626else 7942else
7627 echo "$as_me: failed program was:" >&5 7943 echo "$as_me: failed program was:" >&5
7628sed 's/^/| /' conftest.$ac_ext >&5 7944sed 's/^/| /' conftest.$ac_ext >&5
7629 7945
7630ac_cv_struct_addrinfo=no 7946ac_cv_struct_addrinfo=no
7631fi 7947fi
7632rm -f conftest.$ac_objext conftest.$ac_ext 7948rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7633 7949
7634fi 7950fi
7635echo "$as_me:$LINENO: result: $ac_cv_struct_addrinfo" >&5 7951echo "$as_me:$LINENO: result: $ac_cv_struct_addrinfo" >&5
7636echo "${ECHO_T}$ac_cv_struct_addrinfo" >&6 7952echo "${ECHO_T}$ac_cv_struct_addrinfo" >&6
7637if test $ac_cv_struct_addrinfo = yes; then 7953if test $ac_cv_struct_addrinfo = yes; then
7646echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 7962echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
7647if test "${ac_cv_type_signal+set}" = set; then 7963if test "${ac_cv_type_signal+set}" = set; then
7648 echo $ECHO_N "(cached) $ECHO_C" >&6 7964 echo $ECHO_N "(cached) $ECHO_C" >&6
7649else 7965else
7650 cat >conftest.$ac_ext <<_ACEOF 7966 cat >conftest.$ac_ext <<_ACEOF
7651#line $LINENO "configure"
7652/* confdefs.h. */ 7967/* confdefs.h. */
7653_ACEOF 7968_ACEOF
7654cat confdefs.h >>conftest.$ac_ext 7969cat confdefs.h >>conftest.$ac_ext
7655cat >>conftest.$ac_ext <<_ACEOF 7970cat >>conftest.$ac_ext <<_ACEOF
7656/* end confdefs.h. */ 7971/* end confdefs.h. */
7673 return 0; 7988 return 0;
7674} 7989}
7675_ACEOF 7990_ACEOF
7676rm -f conftest.$ac_objext 7991rm -f conftest.$ac_objext
7677if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7992if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7678 (eval $ac_compile) 2>&5 7993 (eval $ac_compile) 2>conftest.er1
7679 ac_status=$? 7994 ac_status=$?
7995 grep -v '^ *+' conftest.er1 >conftest.err
7996 rm -f conftest.er1
7997 cat conftest.err >&5
7680 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7681 (exit $ac_status); } && 7999 (exit $ac_status); } &&
7682 { ac_try='test -s conftest.$ac_objext' 8000 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7684 (eval $ac_try) 2>&5 8002 (eval $ac_try) 2>&5
7685 ac_status=$? 8003 ac_status=$?
7686 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
7687 (exit $ac_status); }; }; then 8011 (exit $ac_status); }; }; then
7688 ac_cv_type_signal=void 8012 ac_cv_type_signal=void
7689else 8013else
7690 echo "$as_me: failed program was:" >&5 8014 echo "$as_me: failed program was:" >&5
7691sed 's/^/| /' conftest.$ac_ext >&5 8015sed 's/^/| /' conftest.$ac_ext >&5
7692 8016
7693ac_cv_type_signal=int 8017ac_cv_type_signal=int
7694fi 8018fi
7695rm -f conftest.$ac_objext conftest.$ac_ext 8019rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7696fi 8020fi
7697echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 8021echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
7698echo "${ECHO_T}$ac_cv_type_signal" >&6 8022echo "${ECHO_T}$ac_cv_type_signal" >&6
7699 8023
7700cat >>confdefs.h <<_ACEOF 8024cat >>confdefs.h <<_ACEOF
7714echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 8038echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7715if test "${ac_cv_header_stdc+set}" = set; then 8039if test "${ac_cv_header_stdc+set}" = set; then
7716 echo $ECHO_N "(cached) $ECHO_C" >&6 8040 echo $ECHO_N "(cached) $ECHO_C" >&6
7717else 8041else
7718 cat >conftest.$ac_ext <<_ACEOF 8042 cat >conftest.$ac_ext <<_ACEOF
7719#line $LINENO "configure"
7720/* confdefs.h. */ 8043/* confdefs.h. */
7721_ACEOF 8044_ACEOF
7722cat confdefs.h >>conftest.$ac_ext 8045cat confdefs.h >>conftest.$ac_ext
7723cat >>conftest.$ac_ext <<_ACEOF 8046cat >>conftest.$ac_ext <<_ACEOF
7724/* end confdefs.h. */ 8047/* end confdefs.h. */
7735 return 0; 8058 return 0;
7736} 8059}
7737_ACEOF 8060_ACEOF
7738rm -f conftest.$ac_objext 8061rm -f conftest.$ac_objext
7739if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8062if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7740 (eval $ac_compile) 2>&5 8063 (eval $ac_compile) 2>conftest.er1
7741 ac_status=$? 8064 ac_status=$?
8065 grep -v '^ *+' conftest.er1 >conftest.err
8066 rm -f conftest.er1
8067 cat conftest.err >&5
7742 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7743 (exit $ac_status); } && 8069 (exit $ac_status); } &&
7744 { ac_try='test -s conftest.$ac_objext' 8070 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7746 (eval $ac_try) 2>&5 8072 (eval $ac_try) 2>&5
7747 ac_status=$? 8073 ac_status=$?
7748 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
7749 (exit $ac_status); }; }; then 8081 (exit $ac_status); }; }; then
7750 ac_cv_header_stdc=yes 8082 ac_cv_header_stdc=yes
7751else 8083else
7752 echo "$as_me: failed program was:" >&5 8084 echo "$as_me: failed program was:" >&5
7753sed 's/^/| /' conftest.$ac_ext >&5 8085sed 's/^/| /' conftest.$ac_ext >&5
7754 8086
7755ac_cv_header_stdc=no 8087ac_cv_header_stdc=no
7756fi 8088fi
7757rm -f conftest.$ac_objext conftest.$ac_ext 8089rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7758 8090
7759if test $ac_cv_header_stdc = yes; then 8091if test $ac_cv_header_stdc = yes; then
7760 # 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.
7761 cat >conftest.$ac_ext <<_ACEOF 8093 cat >conftest.$ac_ext <<_ACEOF
7762#line $LINENO "configure"
7763/* confdefs.h. */ 8094/* confdefs.h. */
7764_ACEOF 8095_ACEOF
7765cat confdefs.h >>conftest.$ac_ext 8096cat confdefs.h >>conftest.$ac_ext
7766cat >>conftest.$ac_ext <<_ACEOF 8097cat >>conftest.$ac_ext <<_ACEOF
7767/* end confdefs.h. */ 8098/* end confdefs.h. */
7779fi 8110fi
7780 8111
7781if test $ac_cv_header_stdc = yes; then 8112if test $ac_cv_header_stdc = yes; then
7782 # 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.
7783 cat >conftest.$ac_ext <<_ACEOF 8114 cat >conftest.$ac_ext <<_ACEOF
7784#line $LINENO "configure"
7785/* confdefs.h. */ 8115/* confdefs.h. */
7786_ACEOF 8116_ACEOF
7787cat confdefs.h >>conftest.$ac_ext 8117cat confdefs.h >>conftest.$ac_ext
7788cat >>conftest.$ac_ext <<_ACEOF 8118cat >>conftest.$ac_ext <<_ACEOF
7789/* end confdefs.h. */ 8119/* end confdefs.h. */
7804 # /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.
7805 if test "$cross_compiling" = yes; then 8135 if test "$cross_compiling" = yes; then
7806 : 8136 :
7807else 8137else
7808 cat >conftest.$ac_ext <<_ACEOF 8138 cat >conftest.$ac_ext <<_ACEOF
7809#line $LINENO "configure"
7810/* confdefs.h. */ 8139/* confdefs.h. */
7811_ACEOF 8140_ACEOF
7812cat confdefs.h >>conftest.$ac_ext 8141cat confdefs.h >>conftest.$ac_ext
7813cat >>conftest.$ac_ext <<_ACEOF 8142cat >>conftest.$ac_ext <<_ACEOF
7814/* end confdefs.h. */ 8143/* end confdefs.h. */
7816#if ((' ' & 0x0FF) == 0x020) 8145#if ((' ' & 0x0FF) == 0x020)
7817# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 8146# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7818# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 8147# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7819#else 8148#else
7820# define ISLOWER(c) \ 8149# define ISLOWER(c) \
7821 (('a' <= (c) && (c) <= 'i') \ 8150 (('a' <= (c) && (c) <= 'i') \
7822 || ('j' <= (c) && (c) <= 'r') \ 8151 || ('j' <= (c) && (c) <= 'r') \
7823 || ('s' <= (c) && (c) <= 'z')) 8152 || ('s' <= (c) && (c) <= 'z'))
7824# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 8153# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7825#endif 8154#endif
7826 8155
7827#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 8156#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7828int 8157int
7829main () 8158main ()
7830{ 8159{
7831 int i; 8160 int i;
7832 for (i = 0; i < 256; i++) 8161 for (i = 0; i < 256; i++)
7833 if (XOR (islower (i), ISLOWER (i)) 8162 if (XOR (islower (i), ISLOWER (i))
7834 || toupper (i) != TOUPPER (i)) 8163 || toupper (i) != TOUPPER (i))
7835 exit(2); 8164 exit(2);
7836 exit (0); 8165 exit (0);
7837} 8166}
7838_ACEOF 8167_ACEOF
7839rm -f conftest$ac_exeext 8168rm -f conftest$ac_exeext
7879 8208
7880 8209
7881 8210
7882 8211
7883 8212
7884
7885for 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
7886do 8214do
7887as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8215as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7888echo "$as_me:$LINENO: checking for $ac_func" >&5 8216echo "$as_me:$LINENO: checking for $ac_func" >&5
7889echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8217echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7890if eval "test \"\${$as_ac_var+set}\" = set"; then 8218if eval "test \"\${$as_ac_var+set}\" = set"; then
7891 echo $ECHO_N "(cached) $ECHO_C" >&6 8219 echo $ECHO_N "(cached) $ECHO_C" >&6
7892else 8220else
7893 cat >conftest.$ac_ext <<_ACEOF 8221 cat >conftest.$ac_ext <<_ACEOF
7894#line $LINENO "configure"
7895/* confdefs.h. */ 8222/* confdefs.h. */
7896_ACEOF 8223_ACEOF
7897cat confdefs.h >>conftest.$ac_ext 8224cat confdefs.h >>conftest.$ac_ext
7898cat >>conftest.$ac_ext <<_ACEOF 8225cat >>conftest.$ac_ext <<_ACEOF
7899/* 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
7900/* System header to define __stub macros and hopefully few prototypes, 8231/* System header to define __stub macros and hopefully few prototypes,
7901 which can conflict with char $ac_func (); below. 8232 which can conflict with char $ac_func (); below.
7902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7903 <limits.h> exists even on freestanding compilers. */ 8234 <limits.h> exists even on freestanding compilers. */
8235
7904#ifdef __STDC__ 8236#ifdef __STDC__
7905# include <limits.h> 8237# include <limits.h>
7906#else 8238#else
7907# include <assert.h> 8239# include <assert.h>
7908#endif 8240#endif
8241
8242#undef $ac_func
8243
7909/* Override any gcc2 internal prototype to avoid an error. */ 8244/* Override any gcc2 internal prototype to avoid an error. */
7910#ifdef __cplusplus 8245#ifdef __cplusplus
7911extern "C" 8246extern "C"
7912{ 8247{
7913#endif 8248#endif
7934 return 0; 8269 return 0;
7935} 8270}
7936_ACEOF 8271_ACEOF
7937rm -f conftest.$ac_objext conftest$ac_exeext 8272rm -f conftest.$ac_objext conftest$ac_exeext
7938if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8273if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7939 (eval $ac_link) 2>&5 8274 (eval $ac_link) 2>conftest.er1
7940 ac_status=$? 8275 ac_status=$?
8276 grep -v '^ *+' conftest.er1 >conftest.err
8277 rm -f conftest.er1
8278 cat conftest.err >&5
7941 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7942 (exit $ac_status); } && 8280 (exit $ac_status); } &&
7943 { ac_try='test -s conftest$ac_exeext' 8281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7945 (eval $ac_try) 2>&5 8283 (eval $ac_try) 2>&5
7946 ac_status=$? 8284 ac_status=$?
7947 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
7948 (exit $ac_status); }; }; then 8292 (exit $ac_status); }; }; then
7949 eval "$as_ac_var=yes" 8293 eval "$as_ac_var=yes"
7950else 8294else
7951 echo "$as_me: failed program was:" >&5 8295 echo "$as_me: failed program was:" >&5
7952sed 's/^/| /' conftest.$ac_ext >&5 8296sed 's/^/| /' conftest.$ac_ext >&5
7953 8297
7954eval "$as_ac_var=no" 8298eval "$as_ac_var=no"
7955fi 8299fi
7956rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8300rm -f conftest.err conftest.$ac_objext \
8301 conftest$ac_exeext conftest.$ac_ext
7957fi 8302fi
7958echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 8303echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7959echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8304echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7960if test `eval echo '${'$as_ac_var'}'` = yes; then 8305if test `eval echo '${'$as_ac_var'}'` = yes; then
7961 cat >>confdefs.h <<_ACEOF 8306 cat >>confdefs.h <<_ACEOF
7972echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 8317echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
7973if test "${ac_cv_working_alloca_h+set}" = set; then 8318if test "${ac_cv_working_alloca_h+set}" = set; then
7974 echo $ECHO_N "(cached) $ECHO_C" >&6 8319 echo $ECHO_N "(cached) $ECHO_C" >&6
7975else 8320else
7976 cat >conftest.$ac_ext <<_ACEOF 8321 cat >conftest.$ac_ext <<_ACEOF
7977#line $LINENO "configure"
7978/* confdefs.h. */ 8322/* confdefs.h. */
7979_ACEOF 8323_ACEOF
7980cat confdefs.h >>conftest.$ac_ext 8324cat confdefs.h >>conftest.$ac_ext
7981cat >>conftest.$ac_ext <<_ACEOF 8325cat >>conftest.$ac_ext <<_ACEOF
7982/* end confdefs.h. */ 8326/* end confdefs.h. */
7989 return 0; 8333 return 0;
7990} 8334}
7991_ACEOF 8335_ACEOF
7992rm -f conftest.$ac_objext conftest$ac_exeext 8336rm -f conftest.$ac_objext conftest$ac_exeext
7993if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8337if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7994 (eval $ac_link) 2>&5 8338 (eval $ac_link) 2>conftest.er1
7995 ac_status=$? 8339 ac_status=$?
8340 grep -v '^ *+' conftest.er1 >conftest.err
8341 rm -f conftest.er1
8342 cat conftest.err >&5
7996 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7997 (exit $ac_status); } && 8344 (exit $ac_status); } &&
7998 { ac_try='test -s conftest$ac_exeext' 8345 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8000 (eval $ac_try) 2>&5 8347 (eval $ac_try) 2>&5
8001 ac_status=$? 8348 ac_status=$?
8002 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
8003 (exit $ac_status); }; }; then 8356 (exit $ac_status); }; }; then
8004 ac_cv_working_alloca_h=yes 8357 ac_cv_working_alloca_h=yes
8005else 8358else
8006 echo "$as_me: failed program was:" >&5 8359 echo "$as_me: failed program was:" >&5
8007sed 's/^/| /' conftest.$ac_ext >&5 8360sed 's/^/| /' conftest.$ac_ext >&5
8008 8361
8009ac_cv_working_alloca_h=no 8362ac_cv_working_alloca_h=no
8010fi 8363fi
8011rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8364rm -f conftest.err conftest.$ac_objext \
8365 conftest$ac_exeext conftest.$ac_ext
8012fi 8366fi
8013echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 8367echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
8014echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 8368echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
8015if test $ac_cv_working_alloca_h = yes; then 8369if test $ac_cv_working_alloca_h = yes; then
8016 8370
8024echo $ECHO_N "checking for alloca... $ECHO_C" >&6 8378echo $ECHO_N "checking for alloca... $ECHO_C" >&6
8025if test "${ac_cv_func_alloca_works+set}" = set; then 8379if test "${ac_cv_func_alloca_works+set}" = set; then
8026 echo $ECHO_N "(cached) $ECHO_C" >&6 8380 echo $ECHO_N "(cached) $ECHO_C" >&6
8027else 8381else
8028 cat >conftest.$ac_ext <<_ACEOF 8382 cat >conftest.$ac_ext <<_ACEOF
8029#line $LINENO "configure"
8030/* confdefs.h. */ 8383/* confdefs.h. */
8031_ACEOF 8384_ACEOF
8032cat confdefs.h >>conftest.$ac_ext 8385cat confdefs.h >>conftest.$ac_ext
8033cat >>conftest.$ac_ext <<_ACEOF 8386cat >>conftest.$ac_ext <<_ACEOF
8034/* end confdefs.h. */ 8387/* end confdefs.h. */
8061 return 0; 8414 return 0;
8062} 8415}
8063_ACEOF 8416_ACEOF
8064rm -f conftest.$ac_objext conftest$ac_exeext 8417rm -f conftest.$ac_objext conftest$ac_exeext
8065if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8418if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8066 (eval $ac_link) 2>&5 8419 (eval $ac_link) 2>conftest.er1
8067 ac_status=$? 8420 ac_status=$?
8421 grep -v '^ *+' conftest.er1 >conftest.err
8422 rm -f conftest.er1
8423 cat conftest.err >&5
8068 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8069 (exit $ac_status); } && 8425 (exit $ac_status); } &&
8070 { ac_try='test -s conftest$ac_exeext' 8426 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8072 (eval $ac_try) 2>&5 8428 (eval $ac_try) 2>&5
8073 ac_status=$? 8429 ac_status=$?
8074 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
8075 (exit $ac_status); }; }; then 8437 (exit $ac_status); }; }; then
8076 ac_cv_func_alloca_works=yes 8438 ac_cv_func_alloca_works=yes
8077else 8439else
8078 echo "$as_me: failed program was:" >&5 8440 echo "$as_me: failed program was:" >&5
8079sed 's/^/| /' conftest.$ac_ext >&5 8441sed 's/^/| /' conftest.$ac_ext >&5
8080 8442
8081ac_cv_func_alloca_works=no 8443ac_cv_func_alloca_works=no
8082fi 8444fi
8083rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8445rm -f conftest.err conftest.$ac_objext \
8446 conftest$ac_exeext conftest.$ac_ext
8084fi 8447fi
8085echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 8448echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
8086echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 8449echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
8087 8450
8088if test $ac_cv_func_alloca_works = yes; then 8451if test $ac_cv_func_alloca_works = yes; then
8108echo $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
8109if test "${ac_cv_os_cray+set}" = set; then 8472if test "${ac_cv_os_cray+set}" = set; then
8110 echo $ECHO_N "(cached) $ECHO_C" >&6 8473 echo $ECHO_N "(cached) $ECHO_C" >&6
8111else 8474else
8112 cat >conftest.$ac_ext <<_ACEOF 8475 cat >conftest.$ac_ext <<_ACEOF
8113#line $LINENO "configure"
8114/* confdefs.h. */ 8476/* confdefs.h. */
8115_ACEOF 8477_ACEOF
8116cat confdefs.h >>conftest.$ac_ext 8478cat confdefs.h >>conftest.$ac_ext
8117cat >>conftest.$ac_ext <<_ACEOF 8479cat >>conftest.$ac_ext <<_ACEOF
8118/* end confdefs.h. */ 8480/* end confdefs.h. */
8141echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8503echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8142if eval "test \"\${$as_ac_var+set}\" = set"; then 8504if eval "test \"\${$as_ac_var+set}\" = set"; then
8143 echo $ECHO_N "(cached) $ECHO_C" >&6 8505 echo $ECHO_N "(cached) $ECHO_C" >&6
8144else 8506else
8145 cat >conftest.$ac_ext <<_ACEOF 8507 cat >conftest.$ac_ext <<_ACEOF
8146#line $LINENO "configure"
8147/* confdefs.h. */ 8508/* confdefs.h. */
8148_ACEOF 8509_ACEOF
8149cat confdefs.h >>conftest.$ac_ext 8510cat confdefs.h >>conftest.$ac_ext
8150cat >>conftest.$ac_ext <<_ACEOF 8511cat >>conftest.$ac_ext <<_ACEOF
8151/* 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
8152/* System header to define __stub macros and hopefully few prototypes, 8517/* System header to define __stub macros and hopefully few prototypes,
8153 which can conflict with char $ac_func (); below. 8518 which can conflict with char $ac_func (); below.
8154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8155 <limits.h> exists even on freestanding compilers. */ 8520 <limits.h> exists even on freestanding compilers. */
8521
8156#ifdef __STDC__ 8522#ifdef __STDC__
8157# include <limits.h> 8523# include <limits.h>
8158#else 8524#else
8159# include <assert.h> 8525# include <assert.h>
8160#endif 8526#endif
8527
8528#undef $ac_func
8529
8161/* Override any gcc2 internal prototype to avoid an error. */ 8530/* Override any gcc2 internal prototype to avoid an error. */
8162#ifdef __cplusplus 8531#ifdef __cplusplus
8163extern "C" 8532extern "C"
8164{ 8533{
8165#endif 8534#endif
8186 return 0; 8555 return 0;
8187} 8556}
8188_ACEOF 8557_ACEOF
8189rm -f conftest.$ac_objext conftest$ac_exeext 8558rm -f conftest.$ac_objext conftest$ac_exeext
8190if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8559if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8191 (eval $ac_link) 2>&5 8560 (eval $ac_link) 2>conftest.er1
8192 ac_status=$? 8561 ac_status=$?
8562 grep -v '^ *+' conftest.er1 >conftest.err
8563 rm -f conftest.er1
8564 cat conftest.err >&5
8193 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8194 (exit $ac_status); } && 8566 (exit $ac_status); } &&
8195 { ac_try='test -s conftest$ac_exeext' 8567 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8197 (eval $ac_try) 2>&5 8569 (eval $ac_try) 2>&5
8198 ac_status=$? 8570 ac_status=$?
8199 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
8200 (exit $ac_status); }; }; then 8578 (exit $ac_status); }; }; then
8201 eval "$as_ac_var=yes" 8579 eval "$as_ac_var=yes"
8202else 8580else
8203 echo "$as_me: failed program was:" >&5 8581 echo "$as_me: failed program was:" >&5
8204sed 's/^/| /' conftest.$ac_ext >&5 8582sed 's/^/| /' conftest.$ac_ext >&5
8205 8583
8206eval "$as_ac_var=no" 8584eval "$as_ac_var=no"
8207fi 8585fi
8208rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8586rm -f conftest.err conftest.$ac_objext \
8587 conftest$ac_exeext conftest.$ac_ext
8209fi 8588fi
8210echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 8589echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8211echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8590echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8212if test `eval echo '${'$as_ac_var'}'` = yes; then 8591if test `eval echo '${'$as_ac_var'}'` = yes; then
8213 8592
8228else 8607else
8229 if test "$cross_compiling" = yes; then 8608 if test "$cross_compiling" = yes; then
8230 ac_cv_c_stack_direction=0 8609 ac_cv_c_stack_direction=0
8231else 8610else
8232 cat >conftest.$ac_ext <<_ACEOF 8611 cat >conftest.$ac_ext <<_ACEOF
8233#line $LINENO "configure"
8234/* confdefs.h. */ 8612/* confdefs.h. */
8235_ACEOF 8613_ACEOF
8236cat confdefs.h >>conftest.$ac_ext 8614cat confdefs.h >>conftest.$ac_ext
8237cat >>conftest.$ac_ext <<_ACEOF 8615cat >>conftest.$ac_ext <<_ACEOF
8238/* end confdefs.h. */ 8616/* end confdefs.h. */
8295echo $ECHO_N "checking for socket... $ECHO_C" >&6 8673echo $ECHO_N "checking for socket... $ECHO_C" >&6
8296if test "${ac_cv_func_socket+set}" = set; then 8674if test "${ac_cv_func_socket+set}" = set; then
8297 echo $ECHO_N "(cached) $ECHO_C" >&6 8675 echo $ECHO_N "(cached) $ECHO_C" >&6
8298else 8676else
8299 cat >conftest.$ac_ext <<_ACEOF 8677 cat >conftest.$ac_ext <<_ACEOF
8300#line $LINENO "configure"
8301/* confdefs.h. */ 8678/* confdefs.h. */
8302_ACEOF 8679_ACEOF
8303cat confdefs.h >>conftest.$ac_ext 8680cat confdefs.h >>conftest.$ac_ext
8304cat >>conftest.$ac_ext <<_ACEOF 8681cat >>conftest.$ac_ext <<_ACEOF
8305/* 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
8306/* System header to define __stub macros and hopefully few prototypes, 8687/* System header to define __stub macros and hopefully few prototypes,
8307 which can conflict with char socket (); below. 8688 which can conflict with char socket (); below.
8308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8309 <limits.h> exists even on freestanding compilers. */ 8690 <limits.h> exists even on freestanding compilers. */
8691
8310#ifdef __STDC__ 8692#ifdef __STDC__
8311# include <limits.h> 8693# include <limits.h>
8312#else 8694#else
8313# include <assert.h> 8695# include <assert.h>
8314#endif 8696#endif
8697
8698#undef socket
8699
8315/* Override any gcc2 internal prototype to avoid an error. */ 8700/* Override any gcc2 internal prototype to avoid an error. */
8316#ifdef __cplusplus 8701#ifdef __cplusplus
8317extern "C" 8702extern "C"
8318{ 8703{
8319#endif 8704#endif
8340 return 0; 8725 return 0;
8341} 8726}
8342_ACEOF 8727_ACEOF
8343rm -f conftest.$ac_objext conftest$ac_exeext 8728rm -f conftest.$ac_objext conftest$ac_exeext
8344if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8729if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8345 (eval $ac_link) 2>&5 8730 (eval $ac_link) 2>conftest.er1
8346 ac_status=$? 8731 ac_status=$?
8732 grep -v '^ *+' conftest.er1 >conftest.err
8733 rm -f conftest.er1
8734 cat conftest.err >&5
8347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8348 (exit $ac_status); } && 8736 (exit $ac_status); } &&
8349 { ac_try='test -s conftest$ac_exeext' 8737 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8351 (eval $ac_try) 2>&5 8739 (eval $ac_try) 2>&5
8352 ac_status=$? 8740 ac_status=$?
8353 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
8354 (exit $ac_status); }; }; then 8748 (exit $ac_status); }; }; then
8355 ac_cv_func_socket=yes 8749 ac_cv_func_socket=yes
8356else 8750else
8357 echo "$as_me: failed program was:" >&5 8751 echo "$as_me: failed program was:" >&5
8358sed 's/^/| /' conftest.$ac_ext >&5 8752sed 's/^/| /' conftest.$ac_ext >&5
8359 8753
8360ac_cv_func_socket=no 8754ac_cv_func_socket=no
8361fi 8755fi
8362rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8756rm -f conftest.err conftest.$ac_objext \
8757 conftest$ac_exeext conftest.$ac_ext
8363fi 8758fi
8364echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 8759echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
8365echo "${ECHO_T}$ac_cv_func_socket" >&6 8760echo "${ECHO_T}$ac_cv_func_socket" >&6
8366if test $ac_cv_func_socket = yes; then 8761if test $ac_cv_func_socket = yes; then
8367 : 8762 :
8374 echo $ECHO_N "(cached) $ECHO_C" >&6 8769 echo $ECHO_N "(cached) $ECHO_C" >&6
8375else 8770else
8376 ac_check_lib_save_LIBS=$LIBS 8771 ac_check_lib_save_LIBS=$LIBS
8377LIBS="-lsocket $LIBS" 8772LIBS="-lsocket $LIBS"
8378cat >conftest.$ac_ext <<_ACEOF 8773cat >conftest.$ac_ext <<_ACEOF
8379#line $LINENO "configure"
8380/* confdefs.h. */ 8774/* confdefs.h. */
8381_ACEOF 8775_ACEOF
8382cat confdefs.h >>conftest.$ac_ext 8776cat confdefs.h >>conftest.$ac_ext
8383cat >>conftest.$ac_ext <<_ACEOF 8777cat >>conftest.$ac_ext <<_ACEOF
8384/* end confdefs.h. */ 8778/* end confdefs.h. */
8398 return 0; 8792 return 0;
8399} 8793}
8400_ACEOF 8794_ACEOF
8401rm -f conftest.$ac_objext conftest$ac_exeext 8795rm -f conftest.$ac_objext conftest$ac_exeext
8402if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8796if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8403 (eval $ac_link) 2>&5 8797 (eval $ac_link) 2>conftest.er1
8404 ac_status=$? 8798 ac_status=$?
8799 grep -v '^ *+' conftest.er1 >conftest.err
8800 rm -f conftest.er1
8801 cat conftest.err >&5
8405 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8406 (exit $ac_status); } && 8803 (exit $ac_status); } &&
8407 { ac_try='test -s conftest$ac_exeext' 8804 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8409 (eval $ac_try) 2>&5 8806 (eval $ac_try) 2>&5
8410 ac_status=$? 8807 ac_status=$?
8411 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
8412 (exit $ac_status); }; }; then 8815 (exit $ac_status); }; }; then
8413 ac_cv_lib_socket_connect=yes 8816 ac_cv_lib_socket_connect=yes
8414else 8817else
8415 echo "$as_me: failed program was:" >&5 8818 echo "$as_me: failed program was:" >&5
8416sed 's/^/| /' conftest.$ac_ext >&5 8819sed 's/^/| /' conftest.$ac_ext >&5
8417 8820
8418ac_cv_lib_socket_connect=no 8821ac_cv_lib_socket_connect=no
8419fi 8822fi
8420rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8823rm -f conftest.err conftest.$ac_objext \
8824 conftest$ac_exeext conftest.$ac_ext
8421LIBS=$ac_check_lib_save_LIBS 8825LIBS=$ac_check_lib_save_LIBS
8422fi 8826fi
8423echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 8827echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
8424echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6 8828echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
8425if test $ac_cv_lib_socket_connect = yes; then 8829if test $ac_cv_lib_socket_connect = yes; then
8438echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 8842echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
8439if test "${ac_cv_func_gethostbyname+set}" = set; then 8843if test "${ac_cv_func_gethostbyname+set}" = set; then
8440 echo $ECHO_N "(cached) $ECHO_C" >&6 8844 echo $ECHO_N "(cached) $ECHO_C" >&6
8441else 8845else
8442 cat >conftest.$ac_ext <<_ACEOF 8846 cat >conftest.$ac_ext <<_ACEOF
8443#line $LINENO "configure"
8444/* confdefs.h. */ 8847/* confdefs.h. */
8445_ACEOF 8848_ACEOF
8446cat confdefs.h >>conftest.$ac_ext 8849cat confdefs.h >>conftest.$ac_ext
8447cat >>conftest.$ac_ext <<_ACEOF 8850cat >>conftest.$ac_ext <<_ACEOF
8448/* 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
8449/* System header to define __stub macros and hopefully few prototypes, 8856/* System header to define __stub macros and hopefully few prototypes,
8450 which can conflict with char gethostbyname (); below. 8857 which can conflict with char gethostbyname (); below.
8451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8452 <limits.h> exists even on freestanding compilers. */ 8859 <limits.h> exists even on freestanding compilers. */
8860
8453#ifdef __STDC__ 8861#ifdef __STDC__
8454# include <limits.h> 8862# include <limits.h>
8455#else 8863#else
8456# include <assert.h> 8864# include <assert.h>
8457#endif 8865#endif
8866
8867#undef gethostbyname
8868
8458/* Override any gcc2 internal prototype to avoid an error. */ 8869/* Override any gcc2 internal prototype to avoid an error. */
8459#ifdef __cplusplus 8870#ifdef __cplusplus
8460extern "C" 8871extern "C"
8461{ 8872{
8462#endif 8873#endif
8483 return 0; 8894 return 0;
8484} 8895}
8485_ACEOF 8896_ACEOF
8486rm -f conftest.$ac_objext conftest$ac_exeext 8897rm -f conftest.$ac_objext conftest$ac_exeext
8487if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8898if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8488 (eval $ac_link) 2>&5 8899 (eval $ac_link) 2>conftest.er1
8489 ac_status=$? 8900 ac_status=$?
8901 grep -v '^ *+' conftest.er1 >conftest.err
8902 rm -f conftest.er1
8903 cat conftest.err >&5
8490 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8491 (exit $ac_status); } && 8905 (exit $ac_status); } &&
8492 { ac_try='test -s conftest$ac_exeext' 8906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8494 (eval $ac_try) 2>&5 8908 (eval $ac_try) 2>&5
8495 ac_status=$? 8909 ac_status=$?
8496 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
8497 (exit $ac_status); }; }; then 8917 (exit $ac_status); }; }; then
8498 ac_cv_func_gethostbyname=yes 8918 ac_cv_func_gethostbyname=yes
8499else 8919else
8500 echo "$as_me: failed program was:" >&5 8920 echo "$as_me: failed program was:" >&5
8501sed 's/^/| /' conftest.$ac_ext >&5 8921sed 's/^/| /' conftest.$ac_ext >&5
8502 8922
8503ac_cv_func_gethostbyname=no 8923ac_cv_func_gethostbyname=no
8504fi 8924fi
8505rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8925rm -f conftest.err conftest.$ac_objext \
8926 conftest$ac_exeext conftest.$ac_ext
8506fi 8927fi
8507echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 8928echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
8508echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 8929echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
8509if test $ac_cv_func_gethostbyname = yes; then 8930if test $ac_cv_func_gethostbyname = yes; then
8510 : 8931 :
8517 echo $ECHO_N "(cached) $ECHO_C" >&6 8938 echo $ECHO_N "(cached) $ECHO_C" >&6
8518else 8939else
8519 ac_check_lib_save_LIBS=$LIBS 8940 ac_check_lib_save_LIBS=$LIBS
8520LIBS="-lnsl $LIBS" 8941LIBS="-lnsl $LIBS"
8521cat >conftest.$ac_ext <<_ACEOF 8942cat >conftest.$ac_ext <<_ACEOF
8522#line $LINENO "configure"
8523/* confdefs.h. */ 8943/* confdefs.h. */
8524_ACEOF 8944_ACEOF
8525cat confdefs.h >>conftest.$ac_ext 8945cat confdefs.h >>conftest.$ac_ext
8526cat >>conftest.$ac_ext <<_ACEOF 8946cat >>conftest.$ac_ext <<_ACEOF
8527/* end confdefs.h. */ 8947/* end confdefs.h. */
8541 return 0; 8961 return 0;
8542} 8962}
8543_ACEOF 8963_ACEOF
8544rm -f conftest.$ac_objext conftest$ac_exeext 8964rm -f conftest.$ac_objext conftest$ac_exeext
8545if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8965if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8546 (eval $ac_link) 2>&5 8966 (eval $ac_link) 2>conftest.er1
8547 ac_status=$? 8967 ac_status=$?
8968 grep -v '^ *+' conftest.er1 >conftest.err
8969 rm -f conftest.er1
8970 cat conftest.err >&5
8548 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8549 (exit $ac_status); } && 8972 (exit $ac_status); } &&
8550 { ac_try='test -s conftest$ac_exeext' 8973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8552 (eval $ac_try) 2>&5 8975 (eval $ac_try) 2>&5
8553 ac_status=$? 8976 ac_status=$?
8554 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
8555 (exit $ac_status); }; }; then 8984 (exit $ac_status); }; }; then
8556 ac_cv_lib_nsl_gethostbyname=yes 8985 ac_cv_lib_nsl_gethostbyname=yes
8557else 8986else
8558 echo "$as_me: failed program was:" >&5 8987 echo "$as_me: failed program was:" >&5
8559sed 's/^/| /' conftest.$ac_ext >&5 8988sed 's/^/| /' conftest.$ac_ext >&5
8560 8989
8561ac_cv_lib_nsl_gethostbyname=no 8990ac_cv_lib_nsl_gethostbyname=no
8562fi 8991fi
8563rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8992rm -f conftest.err conftest.$ac_objext \
8993 conftest$ac_exeext conftest.$ac_ext
8564LIBS=$ac_check_lib_save_LIBS 8994LIBS=$ac_check_lib_save_LIBS
8565fi 8995fi
8566echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 8996echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
8567echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 8997echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
8568if test $ac_cv_lib_nsl_gethostbyname = yes; then 8998if test $ac_cv_lib_nsl_gethostbyname = yes; then
8612 case `(ac_space=' '; set | grep ac_space) 2>&1` in 9042 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8613 *ac_space=\ *) 9043 *ac_space=\ *)
8614 # `set' does not quote correctly, so add quotes (double-quote 9044 # `set' does not quote correctly, so add quotes (double-quote
8615 # substitution turns \\\\ into \\, and sed turns \\ into \). 9045 # substitution turns \\\\ into \\, and sed turns \\ into \).
8616 sed -n \ 9046 sed -n \
8617 "s/'/'\\\\''/g; 9047 "s/'/'\\\\''/g;
8618 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 9048 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8619 ;; 9049 ;;
8620 *) 9050 *)
8621 # `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.
8622 sed -n \ 9052 sed -n \
8623 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 9053 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8624 ;; 9054 ;;
8625 esac; 9055 esac;
8626} | 9056} |
8627 sed ' 9057 sed '
8628 t clear 9058 t clear
8657if test "${tinc_cv_linux_if_tun_h+set}" = set; then 9087if test "${tinc_cv_linux_if_tun_h+set}" = set; then
8658 echo $ECHO_N "(cached) $ECHO_C" >&6 9088 echo $ECHO_N "(cached) $ECHO_C" >&6
8659else 9089else
8660 9090
8661 cat >conftest.$ac_ext <<_ACEOF 9091 cat >conftest.$ac_ext <<_ACEOF
8662#line $LINENO "configure"
8663/* confdefs.h. */ 9092/* confdefs.h. */
8664_ACEOF 9093_ACEOF
8665cat confdefs.h >>conftest.$ac_ext 9094cat confdefs.h >>conftest.$ac_ext
8666cat >>conftest.$ac_ext <<_ACEOF 9095cat >>conftest.$ac_ext <<_ACEOF
8667/* end confdefs.h. */ 9096/* end confdefs.h. */
8674 return 0; 9103 return 0;
8675} 9104}
8676_ACEOF 9105_ACEOF
8677rm -f conftest.$ac_objext 9106rm -f conftest.$ac_objext
8678if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9107if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8679 (eval $ac_compile) 2>&5 9108 (eval $ac_compile) 2>conftest.er1
8680 ac_status=$? 9109 ac_status=$?
9110 grep -v '^ *+' conftest.er1 >conftest.err
9111 rm -f conftest.er1
9112 cat conftest.err >&5
8681 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8682 (exit $ac_status); } && 9114 (exit $ac_status); } &&
8683 { ac_try='test -s conftest.$ac_objext' 9115 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8685 (eval $ac_try) 2>&5 9117 (eval $ac_try) 2>&5
8686 ac_status=$? 9118 ac_status=$?
8687 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
8688 (exit $ac_status); }; }; then 9126 (exit $ac_status); }; }; then
8689 if_tun_h="\"$kerneldir/include/linux/if_tun.h\"" 9127 if_tun_h="\"$kerneldir/include/linux/if_tun.h\""
8690else 9128else
8691 echo "$as_me: failed program was:" >&5 9129 echo "$as_me: failed program was:" >&5
8692sed 's/^/| /' conftest.$ac_ext >&5 9130sed 's/^/| /' conftest.$ac_ext >&5
8693 9131
8694cat >conftest.$ac_ext <<_ACEOF 9132cat >conftest.$ac_ext <<_ACEOF
8695#line $LINENO "configure"
8696/* confdefs.h. */ 9133/* confdefs.h. */
8697_ACEOF 9134_ACEOF
8698cat confdefs.h >>conftest.$ac_ext 9135cat confdefs.h >>conftest.$ac_ext
8699cat >>conftest.$ac_ext <<_ACEOF 9136cat >>conftest.$ac_ext <<_ACEOF
8700/* end confdefs.h. */ 9137/* end confdefs.h. */
8707 return 0; 9144 return 0;
8708} 9145}
8709_ACEOF 9146_ACEOF
8710rm -f conftest.$ac_objext 9147rm -f conftest.$ac_objext
8711if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9148if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8712 (eval $ac_compile) 2>&5 9149 (eval $ac_compile) 2>conftest.er1
8713 ac_status=$? 9150 ac_status=$?
9151 grep -v '^ *+' conftest.er1 >conftest.err
9152 rm -f conftest.er1
9153 cat conftest.err >&5
8714 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8715 (exit $ac_status); } && 9155 (exit $ac_status); } &&
8716 { ac_try='test -s conftest.$ac_objext' 9156 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8718 (eval $ac_try) 2>&5 9158 (eval $ac_try) 2>&5
8719 ac_status=$? 9159 ac_status=$?
8720 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
8721 (exit $ac_status); }; }; then 9167 (exit $ac_status); }; }; then
8722 if_tun_h="default" 9168 if_tun_h="default"
8723else 9169else
8724 echo "$as_me: failed program was:" >&5 9170 echo "$as_me: failed program was:" >&5
8725sed 's/^/| /' conftest.$ac_ext >&5 9171sed 's/^/| /' conftest.$ac_ext >&5
8726 9172
8727if_tun_h="no" 9173if_tun_h="no"
8728 9174
8729fi 9175fi
8730rm -f conftest.$ac_objext conftest.$ac_ext 9176rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8731 9177
8732fi 9178fi
8733rm -f conftest.$ac_objext conftest.$ac_ext 9179rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8734 9180
8735 if test $if_tun_h = no; then 9181 if test $if_tun_h = no; then
8736 tinc_cv_linux_if_tun_h=none 9182 tinc_cv_linux_if_tun_h=none
8737 else 9183 else
8738 tinc_cv_linux_if_tun_h="$if_tun_h" 9184 tinc_cv_linux_if_tun_h="$if_tun_h"
8802else 9248else
8803 # Is the header compilable? 9249 # Is the header compilable?
8804echo "$as_me:$LINENO: checking $ac_header usability" >&5 9250echo "$as_me:$LINENO: checking $ac_header usability" >&5
8805echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 9251echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8806cat >conftest.$ac_ext <<_ACEOF 9252cat >conftest.$ac_ext <<_ACEOF
8807#line $LINENO "configure"
8808/* confdefs.h. */ 9253/* confdefs.h. */
8809_ACEOF 9254_ACEOF
8810cat confdefs.h >>conftest.$ac_ext 9255cat confdefs.h >>conftest.$ac_ext
8811cat >>conftest.$ac_ext <<_ACEOF 9256cat >>conftest.$ac_ext <<_ACEOF
8812/* end confdefs.h. */ 9257/* end confdefs.h. */
8813$ac_includes_default 9258$ac_includes_default
8814#include <$ac_header> 9259#include <$ac_header>
8815_ACEOF 9260_ACEOF
8816rm -f conftest.$ac_objext 9261rm -f conftest.$ac_objext
8817if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9262if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8818 (eval $ac_compile) 2>&5 9263 (eval $ac_compile) 2>conftest.er1
8819 ac_status=$? 9264 ac_status=$?
9265 grep -v '^ *+' conftest.er1 >conftest.err
9266 rm -f conftest.er1
9267 cat conftest.err >&5
8820 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8821 (exit $ac_status); } && 9269 (exit $ac_status); } &&
8822 { ac_try='test -s conftest.$ac_objext' 9270 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8824 (eval $ac_try) 2>&5 9272 (eval $ac_try) 2>&5
8825 ac_status=$? 9273 ac_status=$?
8826 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
8827 (exit $ac_status); }; }; then 9281 (exit $ac_status); }; }; then
8828 ac_header_compiler=yes 9282 ac_header_compiler=yes
8829else 9283else
8830 echo "$as_me: failed program was:" >&5 9284 echo "$as_me: failed program was:" >&5
8831sed 's/^/| /' conftest.$ac_ext >&5 9285sed 's/^/| /' conftest.$ac_ext >&5
8832 9286
8833ac_header_compiler=no 9287ac_header_compiler=no
8834fi 9288fi
8835rm -f conftest.$ac_objext conftest.$ac_ext 9289rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8836echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9290echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8837echo "${ECHO_T}$ac_header_compiler" >&6 9291echo "${ECHO_T}$ac_header_compiler" >&6
8838 9292
8839# Is the header present? 9293# Is the header present?
8840echo "$as_me:$LINENO: checking $ac_header presence" >&5 9294echo "$as_me:$LINENO: checking $ac_header presence" >&5
8841echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 9295echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8842cat >conftest.$ac_ext <<_ACEOF 9296cat >conftest.$ac_ext <<_ACEOF
8843#line $LINENO "configure"
8844/* confdefs.h. */ 9297/* confdefs.h. */
8845_ACEOF 9298_ACEOF
8846cat confdefs.h >>conftest.$ac_ext 9299cat confdefs.h >>conftest.$ac_ext
8847cat >>conftest.$ac_ext <<_ACEOF 9300cat >>conftest.$ac_ext <<_ACEOF
8848/* end confdefs.h. */ 9301/* end confdefs.h. */
8856 cat conftest.err >&5 9309 cat conftest.err >&5
8857 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8858 (exit $ac_status); } >/dev/null; then 9311 (exit $ac_status); } >/dev/null; then
8859 if test -s conftest.err; then 9312 if test -s conftest.err; then
8860 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
8861 else 9315 else
8862 ac_cpp_err= 9316 ac_cpp_err=
8863 fi 9317 fi
8864else 9318else
8865 ac_cpp_err=yes 9319 ac_cpp_err=yes
8875rm -f conftest.err conftest.$ac_ext 9329rm -f conftest.err conftest.$ac_ext
8876echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9330echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8877echo "${ECHO_T}$ac_header_preproc" >&6 9331echo "${ECHO_T}$ac_header_preproc" >&6
8878 9332
8879# So? What about this header? 9333# So? What about this header?
8880case $ac_header_compiler:$ac_header_preproc in 9334case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8881 yes:no ) 9335 yes:no: )
8882 { 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
8883echo "$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;}
8884 { 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
8885echo "$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;}
8886 ( 9355 (
8887 cat <<\_ASBOX 9356 cat <<\_ASBOX
8888## ------------------------------------ ## 9357## ------------------------------------------ ##
8889## Report this to bug-autoconf@gnu.org. ## 9358## Report this to the AC_PACKAGE_NAME lists. ##
8890## ------------------------------------ ## 9359## ------------------------------------------ ##
8891_ASBOX
8892 ) |
8893 sed "s/^/$as_me: WARNING: /" >&2
8894 ;;
8895 no:yes )
8896 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8897echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8898 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8899echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8900 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8901echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8902 (
8903 cat <<\_ASBOX
8904## ------------------------------------ ##
8905## Report this to bug-autoconf@gnu.org. ##
8906## ------------------------------------ ##
8907_ASBOX 9360_ASBOX
8908 ) | 9361 ) |
8909 sed "s/^/$as_me: WARNING: /" >&2 9362 sed "s/^/$as_me: WARNING: /" >&2
8910 ;; 9363 ;;
8911esac 9364esac
8912echo "$as_me:$LINENO: checking for $ac_header" >&5 9365echo "$as_me:$LINENO: checking for $ac_header" >&5
8913echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9366echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8914if eval "test \"\${$as_ac_Header+set}\" = set"; then 9367if eval "test \"\${$as_ac_Header+set}\" = set"; then
8915 echo $ECHO_N "(cached) $ECHO_C" >&6 9368 echo $ECHO_N "(cached) $ECHO_C" >&6
8916else 9369else
8917 eval "$as_ac_Header=$ac_header_preproc" 9370 eval "$as_ac_Header=\$ac_header_preproc"
8918fi 9371fi
8919echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 9372echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8920echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9373echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8921 9374
8922fi 9375fi
8943 echo $ECHO_N "(cached) $ECHO_C" >&6 9396 echo $ECHO_N "(cached) $ECHO_C" >&6
8944else 9397else
8945 ac_check_lib_save_LIBS=$LIBS 9398 ac_check_lib_save_LIBS=$LIBS
8946LIBS="-lcrypto $LIBS" 9399LIBS="-lcrypto $LIBS"
8947cat >conftest.$ac_ext <<_ACEOF 9400cat >conftest.$ac_ext <<_ACEOF
8948#line $LINENO "configure"
8949/* confdefs.h. */ 9401/* confdefs.h. */
8950_ACEOF 9402_ACEOF
8951cat confdefs.h >>conftest.$ac_ext 9403cat confdefs.h >>conftest.$ac_ext
8952cat >>conftest.$ac_ext <<_ACEOF 9404cat >>conftest.$ac_ext <<_ACEOF
8953/* end confdefs.h. */ 9405/* end confdefs.h. */
8967 return 0; 9419 return 0;
8968} 9420}
8969_ACEOF 9421_ACEOF
8970rm -f conftest.$ac_objext conftest$ac_exeext 9422rm -f conftest.$ac_objext conftest$ac_exeext
8971if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9423if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8972 (eval $ac_link) 2>&5 9424 (eval $ac_link) 2>conftest.er1
8973 ac_status=$? 9425 ac_status=$?
9426 grep -v '^ *+' conftest.er1 >conftest.err
9427 rm -f conftest.er1
9428 cat conftest.err >&5
8974 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8975 (exit $ac_status); } && 9430 (exit $ac_status); } &&
8976 { ac_try='test -s conftest$ac_exeext' 9431 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8978 (eval $ac_try) 2>&5 9433 (eval $ac_try) 2>&5
8979 ac_status=$? 9434 ac_status=$?
8980 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
8981 (exit $ac_status); }; }; then 9442 (exit $ac_status); }; }; then
8982 ac_cv_lib_crypto_SHA1_version=yes 9443 ac_cv_lib_crypto_SHA1_version=yes
8983else 9444else
8984 echo "$as_me: failed program was:" >&5 9445 echo "$as_me: failed program was:" >&5
8985sed 's/^/| /' conftest.$ac_ext >&5 9446sed 's/^/| /' conftest.$ac_ext >&5
8986 9447
8987ac_cv_lib_crypto_SHA1_version=no 9448ac_cv_lib_crypto_SHA1_version=no
8988fi 9449fi
8989rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9450rm -f conftest.err conftest.$ac_objext \
9451 conftest$ac_exeext conftest.$ac_ext
8990LIBS=$ac_check_lib_save_LIBS 9452LIBS=$ac_check_lib_save_LIBS
8991fi 9453fi
8992echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_SHA1_version" >&5 9454echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_SHA1_version" >&5
8993echo "${ECHO_T}$ac_cv_lib_crypto_SHA1_version" >&6 9455echo "${ECHO_T}$ac_cv_lib_crypto_SHA1_version" >&6
8994if test $ac_cv_lib_crypto_SHA1_version = yes; then 9456if test $ac_cv_lib_crypto_SHA1_version = yes; then
9012echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9474echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9013if eval "test \"\${$as_ac_var+set}\" = set"; then 9475if eval "test \"\${$as_ac_var+set}\" = set"; then
9014 echo $ECHO_N "(cached) $ECHO_C" >&6 9476 echo $ECHO_N "(cached) $ECHO_C" >&6
9015else 9477else
9016 cat >conftest.$ac_ext <<_ACEOF 9478 cat >conftest.$ac_ext <<_ACEOF
9017#line $LINENO "configure"
9018/* confdefs.h. */ 9479/* confdefs.h. */
9019_ACEOF 9480_ACEOF
9020cat confdefs.h >>conftest.$ac_ext 9481cat confdefs.h >>conftest.$ac_ext
9021cat >>conftest.$ac_ext <<_ACEOF 9482cat >>conftest.$ac_ext <<_ACEOF
9022/* 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
9023/* System header to define __stub macros and hopefully few prototypes, 9488/* System header to define __stub macros and hopefully few prototypes,
9024 which can conflict with char $ac_func (); below. 9489 which can conflict with char $ac_func (); below.
9025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 9490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9026 <limits.h> exists even on freestanding compilers. */ 9491 <limits.h> exists even on freestanding compilers. */
9492
9027#ifdef __STDC__ 9493#ifdef __STDC__
9028# include <limits.h> 9494# include <limits.h>
9029#else 9495#else
9030# include <assert.h> 9496# include <assert.h>
9031#endif 9497#endif
9498
9499#undef $ac_func
9500
9032/* Override any gcc2 internal prototype to avoid an error. */ 9501/* Override any gcc2 internal prototype to avoid an error. */
9033#ifdef __cplusplus 9502#ifdef __cplusplus
9034extern "C" 9503extern "C"
9035{ 9504{
9036#endif 9505#endif
9057 return 0; 9526 return 0;
9058} 9527}
9059_ACEOF 9528_ACEOF
9060rm -f conftest.$ac_objext conftest$ac_exeext 9529rm -f conftest.$ac_objext conftest$ac_exeext
9061if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9530if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9062 (eval $ac_link) 2>&5 9531 (eval $ac_link) 2>conftest.er1
9063 ac_status=$? 9532 ac_status=$?
9533 grep -v '^ *+' conftest.er1 >conftest.err
9534 rm -f conftest.er1
9535 cat conftest.err >&5
9064 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9065 (exit $ac_status); } && 9537 (exit $ac_status); } &&
9066 { ac_try='test -s conftest$ac_exeext' 9538 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9068 (eval $ac_try) 2>&5 9540 (eval $ac_try) 2>&5
9069 ac_status=$? 9541 ac_status=$?
9070 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
9071 (exit $ac_status); }; }; then 9549 (exit $ac_status); }; }; then
9072 eval "$as_ac_var=yes" 9550 eval "$as_ac_var=yes"
9073else 9551else
9074 echo "$as_me: failed program was:" >&5 9552 echo "$as_me: failed program was:" >&5
9075sed 's/^/| /' conftest.$ac_ext >&5 9553sed 's/^/| /' conftest.$ac_ext >&5
9076 9554
9077eval "$as_ac_var=no" 9555eval "$as_ac_var=no"
9078fi 9556fi
9079rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9557rm -f conftest.err conftest.$ac_objext \
9558 conftest$ac_exeext conftest.$ac_ext
9080fi 9559fi
9081echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 9560echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9082echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9561echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9083if test `eval echo '${'$as_ac_var'}'` = yes; then 9562if test `eval echo '${'$as_ac_var'}'` = yes; then
9084 cat >>confdefs.h <<_ACEOF 9563 cat >>confdefs.h <<_ACEOF
9093echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 9572echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9094if test "${ac_cv_func_dlopen+set}" = set; then 9573if test "${ac_cv_func_dlopen+set}" = set; then
9095 echo $ECHO_N "(cached) $ECHO_C" >&6 9574 echo $ECHO_N "(cached) $ECHO_C" >&6
9096else 9575else
9097 cat >conftest.$ac_ext <<_ACEOF 9576 cat >conftest.$ac_ext <<_ACEOF
9098#line $LINENO "configure"
9099/* confdefs.h. */ 9577/* confdefs.h. */
9100_ACEOF 9578_ACEOF
9101cat confdefs.h >>conftest.$ac_ext 9579cat confdefs.h >>conftest.$ac_ext
9102cat >>conftest.$ac_ext <<_ACEOF 9580cat >>conftest.$ac_ext <<_ACEOF
9103/* 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
9104/* System header to define __stub macros and hopefully few prototypes, 9586/* System header to define __stub macros and hopefully few prototypes,
9105 which can conflict with char dlopen (); below. 9587 which can conflict with char dlopen (); below.
9106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 9588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9107 <limits.h> exists even on freestanding compilers. */ 9589 <limits.h> exists even on freestanding compilers. */
9590
9108#ifdef __STDC__ 9591#ifdef __STDC__
9109# include <limits.h> 9592# include <limits.h>
9110#else 9593#else
9111# include <assert.h> 9594# include <assert.h>
9112#endif 9595#endif
9596
9597#undef dlopen
9598
9113/* Override any gcc2 internal prototype to avoid an error. */ 9599/* Override any gcc2 internal prototype to avoid an error. */
9114#ifdef __cplusplus 9600#ifdef __cplusplus
9115extern "C" 9601extern "C"
9116{ 9602{
9117#endif 9603#endif
9138 return 0; 9624 return 0;
9139} 9625}
9140_ACEOF 9626_ACEOF
9141rm -f conftest.$ac_objext conftest$ac_exeext 9627rm -f conftest.$ac_objext conftest$ac_exeext
9142if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9628if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9143 (eval $ac_link) 2>&5 9629 (eval $ac_link) 2>conftest.er1
9144 ac_status=$? 9630 ac_status=$?
9631 grep -v '^ *+' conftest.er1 >conftest.err
9632 rm -f conftest.er1
9633 cat conftest.err >&5
9145 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9146 (exit $ac_status); } && 9635 (exit $ac_status); } &&
9147 { ac_try='test -s conftest$ac_exeext' 9636 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9149 (eval $ac_try) 2>&5 9638 (eval $ac_try) 2>&5
9150 ac_status=$? 9639 ac_status=$?
9151 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
9152 (exit $ac_status); }; }; then 9647 (exit $ac_status); }; }; then
9153 ac_cv_func_dlopen=yes 9648 ac_cv_func_dlopen=yes
9154else 9649else
9155 echo "$as_me: failed program was:" >&5 9650 echo "$as_me: failed program was:" >&5
9156sed 's/^/| /' conftest.$ac_ext >&5 9651sed 's/^/| /' conftest.$ac_ext >&5
9157 9652
9158ac_cv_func_dlopen=no 9653ac_cv_func_dlopen=no
9159fi 9654fi
9160rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9655rm -f conftest.err conftest.$ac_objext \
9656 conftest$ac_exeext conftest.$ac_ext
9161fi 9657fi
9162echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 9658echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9163echo "${ECHO_T}$ac_cv_func_dlopen" >&6 9659echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9164if test $ac_cv_func_dlopen = yes; then 9660if test $ac_cv_func_dlopen = yes; then
9165 : 9661 :
9170 echo $ECHO_N "(cached) $ECHO_C" >&6 9666 echo $ECHO_N "(cached) $ECHO_C" >&6
9171else 9667else
9172 ac_check_lib_save_LIBS=$LIBS 9668 ac_check_lib_save_LIBS=$LIBS
9173LIBS="-ldl $LIBS" 9669LIBS="-ldl $LIBS"
9174cat >conftest.$ac_ext <<_ACEOF 9670cat >conftest.$ac_ext <<_ACEOF
9175#line $LINENO "configure"
9176/* confdefs.h. */ 9671/* confdefs.h. */
9177_ACEOF 9672_ACEOF
9178cat confdefs.h >>conftest.$ac_ext 9673cat confdefs.h >>conftest.$ac_ext
9179cat >>conftest.$ac_ext <<_ACEOF 9674cat >>conftest.$ac_ext <<_ACEOF
9180/* end confdefs.h. */ 9675/* end confdefs.h. */
9194 return 0; 9689 return 0;
9195} 9690}
9196_ACEOF 9691_ACEOF
9197rm -f conftest.$ac_objext conftest$ac_exeext 9692rm -f conftest.$ac_objext conftest$ac_exeext
9198if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9693if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9199 (eval $ac_link) 2>&5 9694 (eval $ac_link) 2>conftest.er1
9200 ac_status=$? 9695 ac_status=$?
9696 grep -v '^ *+' conftest.er1 >conftest.err
9697 rm -f conftest.er1
9698 cat conftest.err >&5
9201 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9202 (exit $ac_status); } && 9700 (exit $ac_status); } &&
9203 { ac_try='test -s conftest$ac_exeext' 9701 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9205 (eval $ac_try) 2>&5 9703 (eval $ac_try) 2>&5
9206 ac_status=$? 9704 ac_status=$?
9207 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
9208 (exit $ac_status); }; }; then 9712 (exit $ac_status); }; }; then
9209 ac_cv_lib_dl_dlopen=yes 9713 ac_cv_lib_dl_dlopen=yes
9210else 9714else
9211 echo "$as_me: failed program was:" >&5 9715 echo "$as_me: failed program was:" >&5
9212sed 's/^/| /' conftest.$ac_ext >&5 9716sed 's/^/| /' conftest.$ac_ext >&5
9213 9717
9214ac_cv_lib_dl_dlopen=no 9718ac_cv_lib_dl_dlopen=no
9215fi 9719fi
9216rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9720rm -f conftest.err conftest.$ac_objext \
9721 conftest$ac_exeext conftest.$ac_ext
9217LIBS=$ac_check_lib_save_LIBS 9722LIBS=$ac_check_lib_save_LIBS
9218fi 9723fi
9219echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 9724echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9220echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 9725echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9221if test $ac_cv_lib_dl_dlopen = yes; then 9726if test $ac_cv_lib_dl_dlopen = yes; then
9233 9738
9234if test "x$openssl_include" != x; then 9739if test "x$openssl_include" != x; then
9235 CXXFLAGS="$CXXFLAGS -I$openssl_include" 9740 CXXFLAGS="$CXXFLAGS -I$openssl_include"
9236fi 9741fi
9237 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
9238# Check whether --enable-rohc or --disable-rohc was given. 9751# Check whether --enable-rohc or --disable-rohc was given.
9239if test "${enable_rohc+set}" = set; then 9752if test "${enable_rohc+set}" = set; then
9240 enableval="$enable_rohc" 9753 enableval="$enable_rohc"
9241 9754
9242 echo 9755 echo
9243 echo "**********************************************************************" 9756 echo "**********************************************************************"
9244 echo "**********************************************************************" 9757 echo "**********************************************************************"
9245 echo "**** --enable-rohc not yet implemented *******************************" 9758 echo "**** --enable-rohc is highly experimental, do not use ****************"
9246 echo "**********************************************************************"
9247 echo "**** uuh sorry, I am such an ass, but I didn't find any rfc3095 (ROHC)"
9248 echo "**** implementation to be used in GPL code on the web."
9249 echo "**** so this option is just a fake. Please implement one and send it"
9250 echo "**** to me ;)"
9251 echo "**********************************************************************"
9252 echo "**********************************************************************"
9253 echo "**********************************************************************" 9759 echo "**********************************************************************"
9254 echo "**********************************************************************" 9760 echo "**********************************************************************"
9255 echo 9761 echo
9762 rohc=true
9763
9764cat >>confdefs.h <<_ACEOF
9765#define ENABLE_ROHC 1
9766_ACEOF
9767
9256 9768
9257 9769
9258fi; 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
9259 9783
9260# Check whether --enable-icmp or --disable-icmp was given. 9784# Check whether --enable-icmp or --disable-icmp was given.
9261if test "${enable_icmp+set}" = set; then 9785if test "${enable_icmp+set}" = set; then
9262 enableval="$enable_icmp" 9786 enableval="$enable_icmp"
9263 9787
9277_ACEOF 9801_ACEOF
9278 9802
9279 9803
9280fi; 9804fi;
9281 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
9282# Check whether --enable-http-proxy or --disable-http-proxy was given. 10036# Check whether --enable-http-proxy or --disable-http-proxy was given.
9283if test "${enable_http_proxy+set}" = set; then 10037if test "${enable_http_proxy+set}" = set; then
9284 enableval="$enable_http_proxy" 10038 enableval="$enable_http_proxy"
9285 10039
9286cat >>confdefs.h <<_ACEOF 10040cat >>confdefs.h <<_ACEOF
9288_ACEOF 10042_ACEOF
9289 10043
9290 10044
9291fi; 10045fi;
9292 10046
10047HMAC=12
9293HMAC=8 # Check whether --enable-hmac-length or --disable-hmac-length was given. 10048# Check whether --enable-hmac-length or --disable-hmac-length was given.
9294if test "${enable_hmac_length+set}" = set; then 10049if test "${enable_hmac_length+set}" = set; then
9295 enableval="$enable_hmac_length" 10050 enableval="$enable_hmac_length"
9296 HMAC=$enableval 10051 HMAC=$enableval
9297 10052
9298fi; 10053fi;
9300cat >>confdefs.h <<_ACEOF 10055cat >>confdefs.h <<_ACEOF
9301#define HMACLENGTH $HMAC 10056#define HMACLENGTH $HMAC
9302_ACEOF 10057_ACEOF
9303 10058
9304 10059
10060RAND=8
9305RAND=8 # Check whether --enable-rand-length or --disable-rand-length was given. 10061# Check whether --enable-rand-length or --disable-rand-length was given.
9306if test "${enable_rand_length+set}" = set; then 10062if test "${enable_rand_length+set}" = set; then
9307 enableval="$enable_rand_length" 10063 enableval="$enable_rand_length"
9308 RAND=$enableval 10064 RAND=$enableval
9309 10065
9310fi; 10066fi;
9312cat >>confdefs.h <<_ACEOF 10068cat >>confdefs.h <<_ACEOF
9313#define RAND_SIZE $RAND 10069#define RAND_SIZE $RAND
9314_ACEOF 10070_ACEOF
9315 10071
9316 10072
10073MTU=1500
9317MTU=1500 # Check whether --enable-mtu or --disable-mtu was given. 10074# Check whether --enable-mtu or --disable-mtu was given.
9318if test "${enable_mtu+set}" = set; then 10075if test "${enable_mtu+set}" = set; then
9319 enableval="$enable_mtu" 10076 enableval="$enable_mtu"
9320 MTU=$enableval 10077 MTU=$enableval
9321 10078
9322fi; 10079fi;
9339cat >>confdefs.h <<_ACEOF 10096cat >>confdefs.h <<_ACEOF
9340#define ENABLE_COMPRESSION $COMPRESS 10097#define ENABLE_COMPRESSION $COMPRESS
9341_ACEOF 10098_ACEOF
9342 10099
9343 10100
9344CIPHER=bf_cbc 10101CIPHER=aes_128_cbc
9345# Check whether --enable-cipher or --disable-cipher was given. 10102# Check whether --enable-cipher or --disable-cipher was given.
9346if test "${enable_cipher+set}" = set; then 10103if test "${enable_cipher+set}" = set; then
9347 enableval="$enable_cipher" 10104 enableval="$enable_cipher"
9348 if test "x$enableval" = xbf ; then CIPHER=bf_cbc ; fi 10105 if test "x$enableval" = xbf ; then CIPHER=bf_cbc ; fi
9349 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
9355cat >>confdefs.h <<_ACEOF 10112cat >>confdefs.h <<_ACEOF
9356#define ENABLE_CIPHER EVP_${CIPHER} 10113#define ENABLE_CIPHER EVP_${CIPHER}
9357_ACEOF 10114_ACEOF
9358 10115
9359 10116
9360DIGEST=sha1 10117DIGEST=ripemd160
9361# Check whether --enable-digest or --disable-digest was given. 10118# Check whether --enable-digest or --disable-digest was given.
9362if test "${enable_digest+set}" = set; then 10119if test "${enable_digest+set}" = set; then
9363 enableval="$enable_digest" 10120 enableval="$enable_digest"
9364 if test "x$enableval" = xsha1 ; then DIGEST=sha1 ; fi 10121 if test "x$enableval" = xsha1 ; then DIGEST=sha1 ; fi
9365 if test "x$enableval" = xripemd160; then DIGEST=ripemd160; fi 10122 if test "x$enableval" = xripemd160; then DIGEST=ripemd160; fi
9382fi 10139fi
9383 10140
9384 10141
9385 10142
9386 10143
9387
9388
9389 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
9390cat >confcache <<\_ACEOF 10146cat >confcache <<\_ACEOF
9391# 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
9392# 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
9393# scripts and configure runs, see configure's option --config-cache. 10149# scripts and configure runs, see configure's option --config-cache.
9394# It is not useful on other systems. If it contains results you don't 10150# It is not useful on other systems. If it contains results you don't
9413 case `(ac_space=' '; set | grep ac_space) 2>&1` in 10169 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9414 *ac_space=\ *) 10170 *ac_space=\ *)
9415 # `set' does not quote correctly, so add quotes (double-quote 10171 # `set' does not quote correctly, so add quotes (double-quote
9416 # substitution turns \\\\ into \\, and sed turns \\ into \). 10172 # substitution turns \\\\ into \\, and sed turns \\ into \).
9417 sed -n \ 10173 sed -n \
9418 "s/'/'\\\\''/g; 10174 "s/'/'\\\\''/g;
9419 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 10175 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9420 ;; 10176 ;;
9421 *) 10177 *)
9422 # `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.
9423 sed -n \ 10179 sed -n \
9424 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 10180 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9425 ;; 10181 ;;
9426 esac; 10182 esac;
9427} | 10183} |
9428 sed ' 10184 sed '
9429 t clear 10185 t clear
9449# VPATH may cause trouble with some makes, so we remove $(srcdir), 10205# VPATH may cause trouble with some makes, so we remove $(srcdir),
9450# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 10206# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9451# 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
9452# (actually we leave an empty line to preserve line numbers). 10208# (actually we leave an empty line to preserve line numbers).
9453if test "x$srcdir" = x.; then 10209if test "x$srcdir" = x.; then
9454 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 10210 ac_vpsub='/^[ ]*VPATH[ ]*=/{
9455s/:*\$(srcdir):*/:/; 10211s/:*\$(srcdir):*/:/;
9456s/:*\${srcdir}:*/:/; 10212s/:*\${srcdir}:*/:/;
9457s/:*@srcdir@:*/:/; 10213s/:*@srcdir@:*/:/;
9458s/^\([^=]*=[ ]*\):*/\1/; 10214s/^\([^=]*=[ ]*\):*/\1/;
9459s/:*$//; 10215s/:*$//;
9460s/^[^=]*=[ ]*$//; 10216s/^[^=]*=[ ]*$//;
9461}' 10217}'
9462fi 10218fi
9463 10219
9464DEFS=-DHAVE_CONFIG_H 10220DEFS=-DHAVE_CONFIG_H
9465 10221
9466ac_libobjs= 10222ac_libobjs=
9467ac_ltlibobjs= 10223ac_ltlibobjs=
9468for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 10224for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9469 # 1. Remove the extension, and $U if already installed. 10225 # 1. Remove the extension, and $U if already installed.
9470 ac_i=`echo "$ac_i" | 10226 ac_i=`echo "$ac_i" |
9471 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 10227 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
9472 # 2. Add them. 10228 # 2. Add them.
9473 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 10229 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
9474 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 10230 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
9475done 10231done
9476LIBOBJS=$ac_libobjs 10232LIBOBJS=$ac_libobjs
9508fi 10264fi
9509if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 10265if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
9510 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. 10266 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
9511Usually this means the macro was only invoked conditionally." >&5 10267Usually this means the macro was only invoked conditionally." >&5
9512echo "$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.
9513Usually this means the macro was only invoked conditionally." >&2;} 10276Usually this means the macro was only invoked conditionally." >&2;}
9514 { (exit 1); exit 1; }; } 10277 { (exit 1); exit 1; }; }
9515fi 10278fi
9516 10279
9517: ${CONFIG_STATUS=./config.status} 10280: ${CONFIG_STATUS=./config.status}
9545 # is contrary to our usage. Disable this feature. 10308 # is contrary to our usage. Disable this feature.
9546 alias -g '${1+"$@"}'='"$@"' 10309 alias -g '${1+"$@"}'='"$@"'
9547elif 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
9548 set -o posix 10311 set -o posix
9549fi 10312fi
10313DUALCASE=1; export DUALCASE # for MKS sh
9550 10314
9551# Support unset when possible. 10315# Support unset when possible.
9552if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 10316if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9553 as_unset=unset 10317 as_unset=unset
9554else 10318else
9555 as_unset=false 10319 as_unset=false
9556fi 10320fi
9557 10321
9566for as_var in \ 10330for as_var in \
9567 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 \
9568 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 \
9569 LC_TELEPHONE LC_TIME 10333 LC_TELEPHONE LC_TIME
9570do 10334do
9571 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
9572 eval $as_var=C; export $as_var 10336 eval $as_var=C; export $as_var
9573 else 10337 else
9574 $as_unset $as_var 10338 $as_unset $as_var
9575 fi 10339 fi
9576done 10340done
9745rm -f conf$$ conf$$.exe conf$$.file 10509rm -f conf$$ conf$$.exe conf$$.file
9746 10510
9747if mkdir -p . 2>/dev/null; then 10511if mkdir -p . 2>/dev/null; then
9748 as_mkdir_p=: 10512 as_mkdir_p=:
9749else 10513else
10514 test -d ./-p && rmdir ./-p
9750 as_mkdir_p=false 10515 as_mkdir_p=false
9751fi 10516fi
9752 10517
9753as_executable_p="test -f" 10518as_executable_p="test -f"
9754 10519
9755# Sed expression to map a string onto a valid CPP name. 10520# Sed expression to map a string onto a valid CPP name.
9756as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 10521as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9757 10522
9758# Sed expression to map a string onto a valid variable name. 10523# Sed expression to map a string onto a valid variable name.
9759as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 10524as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9760 10525
9761 10526
9762# IFS 10527# IFS
9763# We need space, tab and new line, in precisely that order. 10528# We need space, tab and new line, in precisely that order.
9764as_nl=' 10529as_nl='
9781_ASBOX 10546_ASBOX
9782} >&5 10547} >&5
9783cat >&5 <<_CSEOF 10548cat >&5 <<_CSEOF
9784 10549
9785This file was extended by $as_me, which was 10550This file was extended by $as_me, which was
9786generated by GNU Autoconf 2.57. Invocation command line was 10551generated by GNU Autoconf 2.59. Invocation command line was
9787 10552
9788 CONFIG_FILES = $CONFIG_FILES 10553 CONFIG_FILES = $CONFIG_FILES
9789 CONFIG_HEADERS = $CONFIG_HEADERS 10554 CONFIG_HEADERS = $CONFIG_HEADERS
9790 CONFIG_LINKS = $CONFIG_LINKS 10555 CONFIG_LINKS = $CONFIG_LINKS
9791 CONFIG_COMMANDS = $CONFIG_COMMANDS 10556 CONFIG_COMMANDS = $CONFIG_COMMANDS
9825 -V, --version print version number, then exit 10590 -V, --version print version number, then exit
9826 -q, --quiet do not print progress messages 10591 -q, --quiet do not print progress messages
9827 -d, --debug don't remove temporary files 10592 -d, --debug don't remove temporary files
9828 --recheck update $as_me by reconfiguring in the same conditions 10593 --recheck update $as_me by reconfiguring in the same conditions
9829 --file=FILE[:TEMPLATE] 10594 --file=FILE[:TEMPLATE]
9830 instantiate the configuration file FILE 10595 instantiate the configuration file FILE
9831 --header=FILE[:TEMPLATE] 10596 --header=FILE[:TEMPLATE]
9832 instantiate the configuration header FILE 10597 instantiate the configuration header FILE
9833 10598
9834Configuration files: 10599Configuration files:
9835$config_files 10600$config_files
9836 10601
9837Configuration headers: 10602Configuration headers:
9844_ACEOF 10609_ACEOF
9845 10610
9846cat >>$CONFIG_STATUS <<_ACEOF 10611cat >>$CONFIG_STATUS <<_ACEOF
9847ac_cs_version="\\ 10612ac_cs_version="\\
9848config.status 10613config.status
9849configured by $0, generated by GNU Autoconf 2.57, 10614configured by $0, generated by GNU Autoconf 2.59,
9850 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 10615 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9851 10616
9852Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
9853Free Software Foundation, Inc. 10617Copyright (C) 2003 Free Software Foundation, Inc.
9854This config.status script is free software; the Free Software Foundation 10618This config.status script is free software; the Free Software Foundation
9855gives unlimited permission to copy, distribute and modify it." 10619gives unlimited permission to copy, distribute and modify it."
9856srcdir=$srcdir 10620srcdir=$srcdir
9857INSTALL="$INSTALL" 10621INSTALL="$INSTALL"
9858_ACEOF 10622_ACEOF
10078s,@ACLOCAL@,$ACLOCAL,;t t 10842s,@ACLOCAL@,$ACLOCAL,;t t
10079s,@AUTOCONF@,$AUTOCONF,;t t 10843s,@AUTOCONF@,$AUTOCONF,;t t
10080s,@AUTOMAKE@,$AUTOMAKE,;t t 10844s,@AUTOMAKE@,$AUTOMAKE,;t t
10081s,@AUTOHEADER@,$AUTOHEADER,;t t 10845s,@AUTOHEADER@,$AUTOHEADER,;t t
10082s,@MAKEINFO@,$MAKEINFO,;t t 10846s,@MAKEINFO@,$MAKEINFO,;t t
10083s,@AMTAR@,$AMTAR,;t t
10084s,@install_sh@,$install_sh,;t t 10847s,@install_sh@,$install_sh,;t t
10085s,@STRIP@,$STRIP,;t t 10848s,@STRIP@,$STRIP,;t t
10086s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 10849s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
10087s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 10850s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
10851s,@mkdir_p@,$mkdir_p,;t t
10088s,@AWK@,$AWK,;t t 10852s,@AWK@,$AWK,;t t
10089s,@SET_MAKE@,$SET_MAKE,;t t 10853s,@SET_MAKE@,$SET_MAKE,;t t
10090s,@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
10091s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t 10858s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
10092s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t 10859s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
10093s,@MAINT@,$MAINT,;t t 10860s,@MAINT@,$MAINT,;t t
10094s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t 10861s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
10095s,@MSGFMT@,$MSGFMT,;t t 10862s,@MSGFMT@,$MSGFMT,;t t
10134s,@IFSUBTYPE@,$IFSUBTYPE,;t t 10901s,@IFSUBTYPE@,$IFSUBTYPE,;t t
10135s,@CXXCPP@,$CXXCPP,;t t 10902s,@CXXCPP@,$CXXCPP,;t t
10136s,@ALLOCA@,$ALLOCA,;t t 10903s,@ALLOCA@,$ALLOCA,;t t
10137s,@LINUX_IF_TUN_H@,$LINUX_IF_TUN_H,;t t 10904s,@LINUX_IF_TUN_H@,$LINUX_IF_TUN_H,;t t
10138s,@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
10139s,@INCLUDES@,$INCLUDES,;t t 10909s,@INCLUDES@,$INCLUDES,;t t
10140s,@LIBOBJS@,$LIBOBJS,;t t 10910s,@LIBOBJS@,$LIBOBJS,;t t
10141s,@LTLIBOBJS@,$LTLIBOBJS,;t t 10911s,@LTLIBOBJS@,$LTLIBOBJS,;t t
10142CEOF 10912CEOF
10143 10913
10166 # is no need to browse any of the substitutions). 10936 # is no need to browse any of the substitutions).
10167 # These are the two extra sed commands mentioned above. 10937 # These are the two extra sed commands mentioned above.
10168 (echo ':t 10938 (echo ':t
10169 /@[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
10170 if test -z "$ac_sed_cmds"; then 10940 if test -z "$ac_sed_cmds"; then
10171 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 10941 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
10172 else 10942 else
10173 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"
10174 fi 10944 fi
10175 ac_sed_frag=`expr $ac_sed_frag + 1` 10945 ac_sed_frag=`expr $ac_sed_frag + 1`
10176 ac_beg=$ac_end 10946 ac_beg=$ac_end
10177 ac_end=`expr $ac_end + $ac_max_sed_lines` 10947 ac_end=`expr $ac_end + $ac_max_sed_lines`
10178 fi 10948 fi
10186cat >>$CONFIG_STATUS <<\_ACEOF 10956cat >>$CONFIG_STATUS <<\_ACEOF
10187for 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
10188 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 10958 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10189 case $ac_file in 10959 case $ac_file in
10190 - | *:- | *:-:* ) # input from stdin 10960 - | *:- | *:-:* ) # input from stdin
10191 cat >$tmp/stdin 10961 cat >$tmp/stdin
10192 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 10962 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10193 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 10963 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10194 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 10964 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10195 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 10965 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10196 * ) ac_file_in=$ac_file.in ;; 10966 * ) ac_file_in=$ac_file.in ;;
10197 esac 10967 esac
10198 10968
10199 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 10969 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
10200 ac_dir=`(dirname "$ac_file") 2>/dev/null || 10970 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
10201$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10971$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10202 X"$ac_file" : 'X\(//\)[^/]' \| \ 10972 X"$ac_file" : 'X\(//\)[^/]' \| \
10203 X"$ac_file" : 'X\(//\)$' \| \ 10973 X"$ac_file" : 'X\(//\)$' \| \
10204 X"$ac_file" : 'X\(/\)' \| \ 10974 X"$ac_file" : 'X\(/\)' \| \
10205 . : '\(.\)' 2>/dev/null || 10975 . : '\(.\)' 2>/dev/null ||
10206echo X"$ac_file" | 10976echo X"$ac_file" |
10207 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 10977 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10208 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 10978 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10209 /^X\(\/\/\)$/{ s//\1/; q; } 10979 /^X\(\/\/\)$/{ s//\1/; q; }
10210 /^X\(\/\).*/{ s//\1/; q; } 10980 /^X\(\/\).*/{ s//\1/; q; }
10216 as_dirs= 10986 as_dirs=
10217 while test ! -d "$as_dir"; do 10987 while test ! -d "$as_dir"; do
10218 as_dirs="$as_dir $as_dirs" 10988 as_dirs="$as_dir $as_dirs"
10219 as_dir=`(dirname "$as_dir") 2>/dev/null || 10989 as_dir=`(dirname "$as_dir") 2>/dev/null ||
10220$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10990$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10221 X"$as_dir" : 'X\(//\)[^/]' \| \ 10991 X"$as_dir" : 'X\(//\)[^/]' \| \
10222 X"$as_dir" : 'X\(//\)$' \| \ 10992 X"$as_dir" : 'X\(//\)$' \| \
10223 X"$as_dir" : 'X\(/\)' \| \ 10993 X"$as_dir" : 'X\(/\)' \| \
10224 . : '\(.\)' 2>/dev/null || 10994 . : '\(.\)' 2>/dev/null ||
10225echo X"$as_dir" | 10995echo X"$as_dir" |
10226 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 10996 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10227 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 10997 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10228 /^X\(\/\/\)$/{ s//\1/; q; } 10998 /^X\(\/\/\)$/{ s//\1/; q; }
10229 /^X\(\/\).*/{ s//\1/; q; } 10999 /^X\(\/\).*/{ s//\1/; q; }
10257 ac_top_srcdir=$srcdir ;; 11027 ac_top_srcdir=$srcdir ;;
10258 *) # Relative path. 11028 *) # Relative path.
10259 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 11029 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10260 ac_top_srcdir=$ac_top_builddir$srcdir ;; 11030 ac_top_srcdir=$ac_top_builddir$srcdir ;;
10261esac 11031esac
10262# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 11032
10263# absolute. 11033# Do not use `cd foo && pwd` to compute absolute paths, because
10264ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 11034# the directories may not exist.
10265ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 11035case `pwd` in
10266ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 11036.) ac_abs_builddir="$ac_dir";;
10267ac_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
10268 11071
10269 11072
10270 case $INSTALL in 11073 case $INSTALL in
10271 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 11074 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10272 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 11075 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
10273 esac 11076 esac
10274 11077
10275 if test x"$ac_file" != x-; then
10276 { echo "$as_me:$LINENO: creating $ac_file" >&5
10277echo "$as_me: creating $ac_file" >&6;}
10278 rm -f "$ac_file"
10279 fi
10280 # Let's still pretend it is `configure' which instantiates (i.e., don't 11078 # Let's still pretend it is `configure' which instantiates (i.e., don't
10281 # use $as_me), people would be surprised to read: 11079 # use $as_me), people would be surprised to read:
10282 # /* config.h. Generated by config.status. */ 11080 # /* config.h. Generated by config.status. */
10283 if test x"$ac_file" = x-; then 11081 if test x"$ac_file" = x-; then
10284 configure_input= 11082 configure_input=
10285 else 11083 else
10286 configure_input="$ac_file. " 11084 configure_input="$ac_file. "
10287 fi 11085 fi
10288 configure_input=$configure_input"Generated from `echo $ac_file_in | 11086 configure_input=$configure_input"Generated from `echo $ac_file_in |
10289 sed 's,.*/,,'` by configure." 11087 sed 's,.*/,,'` by configure."
10290 11088
10291 # 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
10292 # src tree. 11090 # src tree.
10293 ac_file_inputs=`IFS=: 11091 ac_file_inputs=`IFS=:
10294 for f in $ac_file_in; do 11092 for f in $ac_file_in; do
10295 case $f in 11093 case $f in
10296 -) echo $tmp/stdin ;; 11094 -) echo $tmp/stdin ;;
10297 [\\/$]*) 11095 [\\/$]*)
10298 # Absolute (can't be DOS-style, as IFS=:) 11096 # Absolute (can't be DOS-style, as IFS=:)
10299 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
10300echo "$as_me: error: cannot find input file: $f" >&2;} 11098echo "$as_me: error: cannot find input file: $f" >&2;}
10301 { (exit 1); exit 1; }; } 11099 { (exit 1); exit 1; }; }
10302 echo $f;; 11100 echo "$f";;
10303 *) # Relative 11101 *) # Relative
10304 if test -f "$f"; then 11102 if test -f "$f"; then
10305 # Build tree 11103 # Build tree
10306 echo $f 11104 echo "$f"
10307 elif test -f "$srcdir/$f"; then 11105 elif test -f "$srcdir/$f"; then
10308 # Source tree 11106 # Source tree
10309 echo $srcdir/$f 11107 echo "$srcdir/$f"
10310 else 11108 else
10311 # /dev/null tree 11109 # /dev/null tree
10312 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 11110 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10313echo "$as_me: error: cannot find input file: $f" >&2;} 11111echo "$as_me: error: cannot find input file: $f" >&2;}
10314 { (exit 1); exit 1; }; } 11112 { (exit 1); exit 1; }; }
10315 fi;; 11113 fi;;
10316 esac 11114 esac
10317 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
10318_ACEOF 11122_ACEOF
10319cat >>$CONFIG_STATUS <<_ACEOF 11123cat >>$CONFIG_STATUS <<_ACEOF
10320 sed "$ac_vpsub 11124 sed "$ac_vpsub
10321$extrasub 11125$extrasub
10322_ACEOF 11126_ACEOF
10352 11156
10353# 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
10354# 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.
10355# 11159#
10356# ac_d sets the value in "#define NAME VALUE" lines. 11160# ac_d sets the value in "#define NAME VALUE" lines.
10357ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 11161ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
10358ac_dB='[ ].*$,\1#\2' 11162ac_dB='[ ].*$,\1#\2'
10359ac_dC=' ' 11163ac_dC=' '
10360ac_dD=',;t' 11164ac_dD=',;t'
10361# 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".
10362ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 11166ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
10363ac_uB='$,\1#\2define\3' 11167ac_uB='$,\1#\2define\3'
10364ac_uC=' ' 11168ac_uC=' '
10365ac_uD=',;t' 11169ac_uD=',;t'
10366 11170
10367for 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
10368 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 11172 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10369 case $ac_file in 11173 case $ac_file in
10370 - | *:- | *:-:* ) # input from stdin 11174 - | *:- | *:-:* ) # input from stdin
10371 cat >$tmp/stdin 11175 cat >$tmp/stdin
10372 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 11176 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10373 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 11177 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10374 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 11178 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10375 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 11179 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10376 * ) ac_file_in=$ac_file.in ;; 11180 * ) ac_file_in=$ac_file.in ;;
10377 esac 11181 esac
10378 11182
10379 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
10380echo "$as_me: creating $ac_file" >&6;} 11184echo "$as_me: creating $ac_file" >&6;}
10384 ac_file_inputs=`IFS=: 11188 ac_file_inputs=`IFS=:
10385 for f in $ac_file_in; do 11189 for f in $ac_file_in; do
10386 case $f in 11190 case $f in
10387 -) echo $tmp/stdin ;; 11191 -) echo $tmp/stdin ;;
10388 [\\/$]*) 11192 [\\/$]*)
10389 # Absolute (can't be DOS-style, as IFS=:) 11193 # Absolute (can't be DOS-style, as IFS=:)
10390 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
10391echo "$as_me: error: cannot find input file: $f" >&2;} 11195echo "$as_me: error: cannot find input file: $f" >&2;}
10392 { (exit 1); exit 1; }; } 11196 { (exit 1); exit 1; }; }
10393 echo $f;; 11197 # Do quote $f, to prevent DOS paths from being IFS'd.
11198 echo "$f";;
10394 *) # Relative 11199 *) # Relative
10395 if test -f "$f"; then 11200 if test -f "$f"; then
10396 # Build tree 11201 # Build tree
10397 echo $f 11202 echo "$f"
10398 elif test -f "$srcdir/$f"; then 11203 elif test -f "$srcdir/$f"; then
10399 # Source tree 11204 # Source tree
10400 echo $srcdir/$f 11205 echo "$srcdir/$f"
10401 else 11206 else
10402 # /dev/null tree 11207 # /dev/null tree
10403 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 11208 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10404echo "$as_me: error: cannot find input file: $f" >&2;} 11209echo "$as_me: error: cannot find input file: $f" >&2;}
10405 { (exit 1); exit 1; }; } 11210 { (exit 1); exit 1; }; }
10406 fi;; 11211 fi;;
10407 esac 11212 esac
10408 done` || { (exit 1); exit 1; } 11213 done` || { (exit 1); exit 1; }
10409 # Remove the trailing spaces. 11214 # Remove the trailing spaces.
10410 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 11215 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
10411 11216
10412_ACEOF 11217_ACEOF
10413 11218
10414# Transform confdefs.h into two sed scripts, `conftest.defines' and 11219# Transform confdefs.h into two sed scripts, `conftest.defines' and
10415# `conftest.undefs', that substitutes the proper values into 11220# `conftest.undefs', that substitutes the proper values into
10428cat >confdef2sed.sed <<\_ACEOF 11233cat >confdef2sed.sed <<\_ACEOF
10429s/[\\&,]/\\&/g 11234s/[\\&,]/\\&/g
10430s,[\\$`],\\&,g 11235s,[\\$`],\\&,g
10431t clear 11236t clear
10432: clear 11237: clear
10433s,^[ ]*#[ ]*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
10434t end 11239t end
10435s,^[ ]*#[ ]*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
10436: end 11241: end
10437_ACEOF 11242_ACEOF
10438# 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
10439# 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
10440# 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.
10444 11249
10445# This sed command replaces #undef with comments. This is necessary, for 11250# This sed command replaces #undef with comments. This is necessary, for
10446# 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
10447# on some systems where configure will not decide to define it. 11252# on some systems where configure will not decide to define it.
10448cat >>conftest.undefs <<\_ACEOF 11253cat >>conftest.undefs <<\_ACEOF
10449s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 11254s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
10450_ACEOF 11255_ACEOF
10451 11256
10452# 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
10453# 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).
10454echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 11259echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
10455echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 11260echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
10456echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 11261echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
10457echo ' :' >>$CONFIG_STATUS 11262echo ' :' >>$CONFIG_STATUS
10458rm -f conftest.tail 11263rm -f conftest.tail
10459while grep . conftest.defines >/dev/null 11264while grep . conftest.defines >/dev/null
10460do 11265do
10461 # Write a limited-size here document to $tmp/defines.sed. 11266 # Write a limited-size here document to $tmp/defines.sed.
10462 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 11267 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
10463 # Speed up: don't consider the non `#define' lines. 11268 # Speed up: don't consider the non `#define' lines.
10464 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 11269 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
10465 # Work around the forget-to-reset-the-flag bug. 11270 # Work around the forget-to-reset-the-flag bug.
10466 echo 't clr' >>$CONFIG_STATUS 11271 echo 't clr' >>$CONFIG_STATUS
10467 echo ': clr' >>$CONFIG_STATUS 11272 echo ': clr' >>$CONFIG_STATUS
10468 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 11273 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
10469 echo 'CEOF 11274 echo 'CEOF
10486while grep . conftest.undefs >/dev/null 11291while grep . conftest.undefs >/dev/null
10487do 11292do
10488 # Write a limited-size here document to $tmp/undefs.sed. 11293 # Write a limited-size here document to $tmp/undefs.sed.
10489 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 11294 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
10490 # Speed up: don't consider the non `#undef' 11295 # Speed up: don't consider the non `#undef'
10491 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 11296 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
10492 # Work around the forget-to-reset-the-flag bug. 11297 # Work around the forget-to-reset-the-flag bug.
10493 echo 't clr' >>$CONFIG_STATUS 11298 echo 't clr' >>$CONFIG_STATUS
10494 echo ': clr' >>$CONFIG_STATUS 11299 echo ': clr' >>$CONFIG_STATUS
10495 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 11300 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
10496 echo 'CEOF 11301 echo 'CEOF
10520 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 11325 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10521echo "$as_me: $ac_file is unchanged" >&6;} 11326echo "$as_me: $ac_file is unchanged" >&6;}
10522 else 11327 else
10523 ac_dir=`(dirname "$ac_file") 2>/dev/null || 11328 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
10524$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11329$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10525 X"$ac_file" : 'X\(//\)[^/]' \| \ 11330 X"$ac_file" : 'X\(//\)[^/]' \| \
10526 X"$ac_file" : 'X\(//\)$' \| \ 11331 X"$ac_file" : 'X\(//\)$' \| \
10527 X"$ac_file" : 'X\(/\)' \| \ 11332 X"$ac_file" : 'X\(/\)' \| \
10528 . : '\(.\)' 2>/dev/null || 11333 . : '\(.\)' 2>/dev/null ||
10529echo X"$ac_file" | 11334echo X"$ac_file" |
10530 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10531 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11336 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10532 /^X\(\/\/\)$/{ s//\1/; q; } 11337 /^X\(\/\/\)$/{ s//\1/; q; }
10533 /^X\(\/\).*/{ s//\1/; q; } 11338 /^X\(\/\).*/{ s//\1/; q; }
10539 as_dirs= 11344 as_dirs=
10540 while test ! -d "$as_dir"; do 11345 while test ! -d "$as_dir"; do
10541 as_dirs="$as_dir $as_dirs" 11346 as_dirs="$as_dir $as_dirs"
10542 as_dir=`(dirname "$as_dir") 2>/dev/null || 11347 as_dir=`(dirname "$as_dir") 2>/dev/null ||
10543$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11348$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10544 X"$as_dir" : 'X\(//\)[^/]' \| \ 11349 X"$as_dir" : 'X\(//\)[^/]' \| \
10545 X"$as_dir" : 'X\(//\)$' \| \ 11350 X"$as_dir" : 'X\(//\)$' \| \
10546 X"$as_dir" : 'X\(/\)' \| \ 11351 X"$as_dir" : 'X\(/\)' \| \
10547 . : '\(.\)' 2>/dev/null || 11352 . : '\(.\)' 2>/dev/null ||
10548echo X"$as_dir" | 11353echo X"$as_dir" |
10549 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11354 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10550 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11355 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10551 /^X\(\/\/\)$/{ s//\1/; q; } 11356 /^X\(\/\/\)$/{ s//\1/; q; }
10552 /^X\(\/\).*/{ s//\1/; q; } 11357 /^X\(\/\).*/{ s//\1/; q; }
10574 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 11379 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10575 esac 11380 esac
10576done 11381done
10577echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || 11382echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
10578$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11383$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10579 X$ac_file : 'X\(//\)[^/]' \| \ 11384 X$ac_file : 'X\(//\)[^/]' \| \
10580 X$ac_file : 'X\(//\)$' \| \ 11385 X$ac_file : 'X\(//\)$' \| \
10581 X$ac_file : 'X\(/\)' \| \ 11386 X$ac_file : 'X\(/\)' \| \
10582 . : '\(.\)' 2>/dev/null || 11387 . : '\(.\)' 2>/dev/null ||
10583echo X$ac_file | 11388echo X$ac_file |
10584 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11389 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10585 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11390 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10586 /^X\(\/\/\)$/{ s//\1/; q; } 11391 /^X\(\/\/\)$/{ s//\1/; q; }
10587 /^X\(\/\).*/{ s//\1/; q; } 11392 /^X\(\/\).*/{ s//\1/; q; }
10596for 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
10597 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 11402 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
10598 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 11403 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
10599 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 11404 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
10600$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11405$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10601 X"$ac_dest" : 'X\(//\)[^/]' \| \ 11406 X"$ac_dest" : 'X\(//\)[^/]' \| \
10602 X"$ac_dest" : 'X\(//\)$' \| \ 11407 X"$ac_dest" : 'X\(//\)$' \| \
10603 X"$ac_dest" : 'X\(/\)' \| \ 11408 X"$ac_dest" : 'X\(/\)' \| \
10604 . : '\(.\)' 2>/dev/null || 11409 . : '\(.\)' 2>/dev/null ||
10605echo X"$ac_dest" | 11410echo X"$ac_dest" |
10606 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11411 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10607 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11412 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10608 /^X\(\/\/\)$/{ s//\1/; q; } 11413 /^X\(\/\/\)$/{ s//\1/; q; }
10609 /^X\(\/\).*/{ s//\1/; q; } 11414 /^X\(\/\).*/{ s//\1/; q; }
10610 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
10611 ac_builddir=. 11441 ac_builddir=.
10612 11442
10613if test "$ac_dir" != .; then 11443if test "$ac_dir" != .; then
10614 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 11444 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10615 # A "../" for each directory in $ac_dir_suffix. 11445 # A "../" for each directory in $ac_dir_suffix.
10631 ac_top_srcdir=$srcdir ;; 11461 ac_top_srcdir=$srcdir ;;
10632 *) # Relative path. 11462 *) # Relative path.
10633 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 11463 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10634 ac_top_srcdir=$ac_top_builddir$srcdir ;; 11464 ac_top_srcdir=$ac_top_builddir$srcdir ;;
10635esac 11465esac
10636# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 11466
10637# absolute. 11467# Do not use `cd foo && pwd` to compute absolute paths, because
10638ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 11468# the directories may not exist.
10639ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 11469case `pwd` in
10640ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 11470.) ac_abs_builddir="$ac_dir";;
10641ac_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
10642 11505
10643 11506
10644 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 11507 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
10645echo "$as_me: executing $ac_dest commands" >&6;} 11508echo "$as_me: executing $ac_dest commands" >&6;}
10646 case $ac_dest in 11509 case $ac_dest in
10750 # 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.
10751 # So let's grep whole file. 11614 # So let's grep whole file.
10752 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 11615 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
10753 dirpart=`(dirname "$mf") 2>/dev/null || 11616 dirpart=`(dirname "$mf") 2>/dev/null ||
10754$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11617$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10755 X"$mf" : 'X\(//\)[^/]' \| \ 11618 X"$mf" : 'X\(//\)[^/]' \| \
10756 X"$mf" : 'X\(//\)$' \| \ 11619 X"$mf" : 'X\(//\)$' \| \
10757 X"$mf" : 'X\(/\)' \| \ 11620 X"$mf" : 'X\(/\)' \| \
10758 . : '\(.\)' 2>/dev/null || 11621 . : '\(.\)' 2>/dev/null ||
10759echo X"$mf" | 11622echo X"$mf" |
10760 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11623 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10761 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11624 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10762 /^X\(\/\/\)$/{ s//\1/; q; } 11625 /^X\(\/\/\)$/{ s//\1/; q; }
10763 /^X\(\/\).*/{ s//\1/; q; } 11626 /^X\(\/\).*/{ s//\1/; q; }
10764 s/.*/./; q'` 11627 s/.*/./; q'`
10765 else 11628 else
10766 continue 11629 continue
10767 fi 11630 fi
10768 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue 11631 # Extract the definition of DEPDIR, am__include, and am__quote
10769 # Extract the definition of DEP_FILES from the Makefile without 11632 # from the Makefile without running `make'.
10770 # running `make'.
10771 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 11633 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10772 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"`
10773 # 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
10774 U=`sed -n -e '/^U = / s///p' < "$mf"` 11639 U=`sed -n 's/^U = //p' < "$mf"`
10775 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 11640 # Find all dependency output files, they are included files with
10776 # We invoke sed twice because it is the simplest approach to 11641 # $(DEPDIR) in their names. We invoke sed twice because it is the
10777 # changing $(DEPDIR) to its actual value in the expansion. 11642 # simplest approach to changing $(DEPDIR) to its actual value in the
11643 # expansion.
10778 for file in `sed -n -e ' 11644 for file in `sed -n "
10779 /^DEP_FILES = .*\\\\$/ { 11645 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10780 s/^DEP_FILES = //
10781 :loop
10782 s/\\\\$//
10783 p
10784 n
10785 /\\\\$/ b loop
10786 p
10787 }
10788 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
10789 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
10790 # Make sure the directory exists. 11647 # Make sure the directory exists.
10791 test -f "$dirpart/$file" && continue 11648 test -f "$dirpart/$file" && continue
10792 fdir=`(dirname "$file") 2>/dev/null || 11649 fdir=`(dirname "$file") 2>/dev/null ||
10793$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11650$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10794 X"$file" : 'X\(//\)[^/]' \| \ 11651 X"$file" : 'X\(//\)[^/]' \| \
10795 X"$file" : 'X\(//\)$' \| \ 11652 X"$file" : 'X\(//\)$' \| \
10796 X"$file" : 'X\(/\)' \| \ 11653 X"$file" : 'X\(/\)' \| \
10797 . : '\(.\)' 2>/dev/null || 11654 . : '\(.\)' 2>/dev/null ||
10798echo X"$file" | 11655echo X"$file" |
10799 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11656 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10800 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11657 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10801 /^X\(\/\/\)$/{ s//\1/; q; } 11658 /^X\(\/\/\)$/{ s//\1/; q; }
10802 /^X\(\/\).*/{ s//\1/; q; } 11659 /^X\(\/\).*/{ s//\1/; q; }
10808 as_dirs= 11665 as_dirs=
10809 while test ! -d "$as_dir"; do 11666 while test ! -d "$as_dir"; do
10810 as_dirs="$as_dir $as_dirs" 11667 as_dirs="$as_dir $as_dirs"
10811 as_dir=`(dirname "$as_dir") 2>/dev/null || 11668 as_dir=`(dirname "$as_dir") 2>/dev/null ||
10812$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11669$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10813 X"$as_dir" : 'X\(//\)[^/]' \| \ 11670 X"$as_dir" : 'X\(//\)[^/]' \| \
10814 X"$as_dir" : 'X\(//\)$' \| \ 11671 X"$as_dir" : 'X\(//\)$' \| \
10815 X"$as_dir" : 'X\(/\)' \| \ 11672 X"$as_dir" : 'X\(/\)' \| \
10816 . : '\(.\)' 2>/dev/null || 11673 . : '\(.\)' 2>/dev/null ||
10817echo X"$as_dir" | 11674echo X"$as_dir" |
10818 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11675 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10819 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11676 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10820 /^X\(\/\/\)$/{ s//\1/; q; } 11677 /^X\(\/\/\)$/{ s//\1/; q; }
10821 /^X\(\/\).*/{ s//\1/; q; } 11678 /^X\(\/\).*/{ s//\1/; q; }
10839 11696
10840{ (exit 0); exit 0; } 11697{ (exit 0); exit 0; }
10841_ACEOF 11698_ACEOF
10842chmod +x $CONFIG_STATUS 11699chmod +x $CONFIG_STATUS
10843ac_clean_files=$ac_clean_files_save 11700ac_clean_files=$ac_clean_files_save
10844
10845
10846
10847echo
10848echo "***"
10849echo "*** Configuration Summary"
10850echo "***"
10851echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE"
10852echo "*** Cipher used: $CIPHER"
10853echo "*** Digest used: $DIGEST"
10854echo "*** HMAC length: $HMAC"
10855echo "*** RAND used: $RAND"
10856echo "*** Max. MTU: $MTU"
10857echo "*** Compression: $COMPRESS"
10858echo "***"
10859
10860if test "x$DIGEST" = xmd4; then
10861echo "*** WARNING"
10862echo "*** The digest you have chosen ($DIGEST) is known to be insecure"
10863echo "***"
10864fi
10865
10866echo
10867
10868 11701
10869 11702
10870# configure is writing to config.log, and then calls config.status. 11703# configure is writing to config.log, and then calls config.status.
10871# config.status does its own redirection, appending to config.log. 11704# config.status does its own redirection, appending to config.log.
10872# 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
10886 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 11719 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10887 # would make configure fail if this is the last instruction. 11720 # would make configure fail if this is the last instruction.
10888 $ac_cs_success || { (exit 1); exit 1; } 11721 $ac_cs_success || { (exit 1); exit 1; }
10889fi 11722fi
10890 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