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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines