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

Comparing gvpe/configure (file contents):
Revision 1.7 by pcg, Thu Oct 16 14:17:00 2003 UTC vs.
Revision 1.20 by pcg, Sun May 30 17:36:00 2004 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines