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+"$@"}'='"$@"' |
20 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
19 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
21 | set -o posix |
20 | set -o posix |
22 | fi |
21 | fi |
|
|
22 | DUALCASE=1; export DUALCASE # for MKS sh |
23 | |
23 | |
24 | # Support unset when possible. |
24 | # Support unset when possible. |
25 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
25 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
26 | as_unset=unset |
26 | as_unset=unset |
27 | else |
27 | else |
28 | as_unset=false |
28 | as_unset=false |
29 | fi |
29 | fi |
30 | |
30 | |
… | |
… | |
39 | for as_var in \ |
39 | for 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 |
43 | do |
43 | do |
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 |
49 | done |
49 | done |
… | |
… | |
216 | rm -f conf$$ conf$$.exe conf$$.file |
216 | rm -f conf$$ conf$$.exe conf$$.file |
217 | |
217 | |
218 | if mkdir -p . 2>/dev/null; then |
218 | if mkdir -p . 2>/dev/null; then |
219 | as_mkdir_p=: |
219 | as_mkdir_p=: |
220 | else |
220 | else |
|
|
221 | test -d ./-p && rmdir ./-p |
221 | as_mkdir_p=false |
222 | as_mkdir_p=false |
222 | fi |
223 | fi |
223 | |
224 | |
224 | as_executable_p="test -f" |
225 | as_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. |
227 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
228 | as_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. |
230 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
231 | as_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. |
235 | as_nl=' |
236 | as_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 | |
311 | ac_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' |
312 | ac_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' |
312 | ac_subst_files='' |
313 | ac_subst_files='' |
313 | |
314 | |
314 | # Initialize some variables set by options. |
315 | # Initialize some variables set by options. |
315 | ac_init_help= |
316 | ac_init_help= |
316 | ac_init_version=false |
317 | ac_init_version=false |
… | |
… | |
665 | esac |
666 | esac |
666 | done |
667 | done |
667 | |
668 | |
668 | # Be sure to have absolute paths. |
669 | # Be sure to have absolute paths. |
669 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
670 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
670 | localstatedir libdir includedir oldincludedir infodir mandir |
671 | localstatedir libdir includedir oldincludedir infodir mandir |
671 | do |
672 | do |
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 |
… | |
… | |
705 | if test -z "$srcdir"; then |
706 | if 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 || |
714 | echo X"$0" | |
715 | echo 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 |
815 | Installation directories: |
816 | Installation 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 | |
821 | By default, \`make install' will install all the files in |
822 | By 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 |
823 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
824 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
824 | for instance \`--prefix=\$HOME'. |
825 | for instance \`--prefix=\$HOME'. |
… | |
… | |
868 | --disable-rpath do not hardcode runtime library paths |
869 | --disable-rpath do not hardcode runtime library paths |
869 | --disable-nls do not use Native Language Support |
870 | --disable-nls do not use Native Language Support |
870 | --enable-iftype=TYPE/SUBTYPE |
871 | --enable-iftype=TYPE/SUBTYPE |
871 | Use kernel/net device interface TYPE/SUBTYPE. |
872 | Use kernel/net device interface TYPE/SUBTYPE. |
872 | Working combinations are: "native/linux" |
873 | Working combinations are: "native/linux" |
873 | "tincd/linux" "tincd/freebsd"; Untested combinations |
874 | "tincd/linux" "tincd/freebsd" "tincd/openbsd" |
|
|
875 | "tincd/darwin" "native/cygwin"; Untested |
874 | are: "tincd/netbsd" "tincd/darwin" "tincd/solaris" |
876 | combinations are: "tincd/netbsd" "tincd/solaris" |
875 | "tincd/openbsd" "tincd/cygwin"; Broken combinations |
877 | "tincd/mingw"; Broken combinations are: |
876 | are: "native/cygwin"; The default is to autodetect. |
878 | "tincd/cygwin"; The default is to autodetect. |
877 | --enable-rohc enable robust header compression (rfc3095). |
879 | --enable-rohc enable robust header compression (rfc3095). |
878 | --enable-icmp enable icmp protocol support (default disabled). |
880 | --enable-icmp enable icmp protocol support (default disabled). |
879 | --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). |
880 | --enable-http-proxy enable http proxy connect support (default |
883 | --enable-http-proxy enable http proxy connect support (default |
881 | disabled). |
884 | disabled). |
882 | --enable-hmac-length=BYTES |
885 | --enable-hmac-length=BYTES |
883 | use a hmac of length BYTES bytes (default 12). |
886 | use a hmac of length BYTES bytes (default 12). |
884 | Allowed values are 4, 8, 12, 16. |
887 | Allowed values are 4, 8, 12, 16. |
… | |
… | |
954 | ac_top_srcdir=$srcdir ;; |
957 | ac_top_srcdir=$srcdir ;; |
955 | *) # Relative path. |
958 | *) # Relative path. |
956 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
959 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
957 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
960 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
958 | esac |
961 | esac |
959 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
962 | |
960 | # absolute. |
963 | # Do not use `cd foo && pwd` to compute absolute paths, because |
961 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
964 | # the directories may not exist. |
962 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
965 | case `pwd` in |
963 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
966 | .) ac_abs_builddir="$ac_dir";; |
964 | ac_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;; |
|
|
973 | esac |
|
|
974 | case $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;; |
|
|
982 | esac |
|
|
983 | case $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;; |
|
|
991 | esac |
|
|
992 | case $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;; |
|
|
1000 | esac |
965 | |
1001 | |
966 | cd $ac_dir |
1002 | cd $ac_dir |
967 | # Check for guested configure; otherwise get Cygnus style configure. |
1003 | # Check for guested configure; otherwise get Cygnus style configure. |
968 | if test -f $ac_srcdir/configure.gnu; then |
1004 | if test -f $ac_srcdir/configure.gnu; then |
969 | echo |
1005 | echo |
970 | $SHELL $ac_srcdir/configure.gnu --help=recursive |
1006 | $SHELL $ac_srcdir/configure.gnu --help=recursive |
971 | elif test -f $ac_srcdir/configure; then |
1007 | elif test -f $ac_srcdir/configure; then |
972 | echo |
1008 | echo |
973 | $SHELL $ac_srcdir/configure --help=recursive |
1009 | $SHELL $ac_srcdir/configure --help=recursive |
974 | elif test -f $ac_srcdir/configure.ac || |
1010 | elif test -f $ac_srcdir/configure.ac || |
975 | test -f $ac_srcdir/configure.in; then |
1011 | test -f $ac_srcdir/configure.in; then |
976 | echo |
1012 | echo |
977 | $ac_configure --help |
1013 | $ac_configure --help |
978 | else |
1014 | else |
979 | 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 |
980 | fi |
1016 | fi |
… | |
… | |
984 | |
1020 | |
985 | test -n "$ac_init_help" && exit 0 |
1021 | test -n "$ac_init_help" && exit 0 |
986 | if $ac_init_version; then |
1022 | if $ac_init_version; then |
987 | cat <<\_ACEOF |
1023 | cat <<\_ACEOF |
988 | |
1024 | |
989 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
|
|
990 | Free Software Foundation, Inc. |
1025 | Copyright (C) 2003 Free Software Foundation, Inc. |
991 | This configure script is free software; the Free Software Foundation |
1026 | This configure script is free software; the Free Software Foundation |
992 | gives unlimited permission to copy, distribute and modify it. |
1027 | gives unlimited permission to copy, distribute and modify it. |
993 | _ACEOF |
1028 | _ACEOF |
994 | exit 0 |
1029 | exit 0 |
995 | fi |
1030 | fi |
… | |
… | |
997 | cat >&5 <<_ACEOF |
1032 | cat >&5 <<_ACEOF |
998 | This file contains any messages produced by compilers while |
1033 | This file contains any messages produced by compilers while |
999 | running configure, to aid debugging if configure makes a mistake. |
1034 | running configure, to aid debugging if configure makes a mistake. |
1000 | |
1035 | |
1001 | It was created by $as_me, which was |
1036 | It was created by $as_me, which was |
1002 | generated by GNU Autoconf 2.57. Invocation command line was |
1037 | generated by GNU Autoconf 2.59. Invocation command line was |
1003 | |
1038 | |
1004 | $ $0 $@ |
1039 | $ $0 $@ |
1005 | |
1040 | |
1006 | _ACEOF |
1041 | _ACEOF |
1007 | { |
1042 | { |
… | |
… | |
1074 | case $ac_pass in |
1109 | case $ac_pass in |
1075 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1110 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1076 | 2) |
1111 | 2) |
1077 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1112 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1078 | if test $ac_must_keep_next = true; then |
1113 | if test $ac_must_keep_next = true; then |
1079 | ac_must_keep_next=false # Got value, back to normal. |
1114 | ac_must_keep_next=false # Got value, back to normal. |
1080 | else |
1115 | else |
1081 | case $ac_arg in |
1116 | case $ac_arg in |
1082 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
1117 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
1083 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1118 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1084 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1119 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1085 | | -with-* | --with-* | -without-* | --without-* | --x) |
1120 | | -with-* | --with-* | -without-* | --without-* | --x) |
1086 | case "$ac_configure_args0 " in |
1121 | case "$ac_configure_args0 " in |
1087 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1122 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1088 | esac |
1123 | esac |
1089 | ;; |
1124 | ;; |
1090 | -* ) ac_must_keep_next=true ;; |
1125 | -* ) ac_must_keep_next=true ;; |
1091 | esac |
1126 | esac |
1092 | fi |
1127 | fi |
1093 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1128 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1094 | # Get rid of the leading space. |
1129 | # Get rid of the leading space. |
1095 | ac_sep=" " |
1130 | ac_sep=" " |
1096 | ;; |
1131 | ;; |
… | |
… | |
1120 | { |
1155 | { |
1121 | (set) 2>&1 | |
1156 | (set) 2>&1 | |
1122 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1157 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1123 | *ac_space=\ *) |
1158 | *ac_space=\ *) |
1124 | sed -n \ |
1159 | sed -n \ |
1125 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1160 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1126 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1161 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1127 | ;; |
1162 | ;; |
1128 | *) |
1163 | *) |
1129 | sed -n \ |
1164 | sed -n \ |
1130 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1165 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1131 | ;; |
1166 | ;; |
1132 | esac; |
1167 | esac; |
1133 | } |
1168 | } |
1134 | echo |
1169 | echo |
1135 | |
1170 | |
… | |
… | |
1154 | _ASBOX |
1189 | _ASBOX |
1155 | echo |
1190 | echo |
1156 | for ac_var in $ac_subst_files |
1191 | for ac_var in $ac_subst_files |
1157 | do |
1192 | do |
1158 | eval ac_val=$`echo $ac_var` |
1193 | eval ac_val=$`echo $ac_var` |
1159 | echo "$ac_var='"'"'$ac_val'"'"'" |
1194 | echo "$ac_var='"'"'$ac_val'"'"'" |
1160 | done | sort |
1195 | done | sort |
1161 | echo |
1196 | echo |
1162 | fi |
1197 | fi |
1163 | |
1198 | |
1164 | if test -s confdefs.h; then |
1199 | if test -s confdefs.h; then |
… | |
… | |
1253 | |
1288 | |
1254 | # 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 |
1255 | # value. |
1290 | # value. |
1256 | ac_cache_corrupted=false |
1291 | ac_cache_corrupted=false |
1257 | for ac_var in `(set) 2>&1 | |
1292 | for ac_var in `(set) 2>&1 | |
1258 | 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 |
1259 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1294 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1260 | eval ac_new_set=\$ac_env_${ac_var}_set |
1295 | eval ac_new_set=\$ac_env_${ac_var}_set |
1261 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
1296 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
1262 | eval ac_new_val="\$ac_env_${ac_var}_value" |
1297 | eval ac_new_val="\$ac_env_${ac_var}_value" |
1263 | case $ac_old_set,$ac_new_set in |
1298 | case $ac_old_set,$ac_new_set in |
… | |
… | |
1270 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1305 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1271 | ac_cache_corrupted=: ;; |
1306 | ac_cache_corrupted=: ;; |
1272 | ,);; |
1307 | ,);; |
1273 | *) |
1308 | *) |
1274 | if test "x$ac_old_val" != "x$ac_new_val"; then |
1309 | if test "x$ac_old_val" != "x$ac_new_val"; then |
1275 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1310 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1276 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1311 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1277 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1312 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1278 | echo "$as_me: former value: $ac_old_val" >&2;} |
1313 | echo "$as_me: former value: $ac_old_val" >&2;} |
1279 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1314 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1280 | echo "$as_me: current value: $ac_new_val" >&2;} |
1315 | echo "$as_me: current value: $ac_new_val" >&2;} |
1281 | ac_cache_corrupted=: |
1316 | ac_cache_corrupted=: |
1282 | fi;; |
1317 | fi;; |
1283 | esac |
1318 | esac |
1284 | # Pass precious variables to config.status. |
1319 | # Pass precious variables to config.status. |
1285 | if test "$ac_new_set" = set; then |
1320 | if test "$ac_new_set" = set; then |
1286 | case $ac_new_val in |
1321 | case $ac_new_val in |
… | |
… | |
1443 | # AIX /bin/install |
1478 | # AIX /bin/install |
1444 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
1479 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
1445 | # 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 |
1446 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
1481 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
1447 | # 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 |
1448 | # ./install, which can be erroneously created by make from ./install.sh. |
1484 | # ./install, which can be erroneously created by make from ./install.sh. |
1449 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
1485 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
1450 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
1486 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
1451 | if test -z "$INSTALL"; then |
1487 | if test -z "$INSTALL"; then |
1452 | if test "${ac_cv_path_install+set}" = set; then |
1488 | if test "${ac_cv_path_install+set}" = set; then |
… | |
… | |
1459 | test -z "$as_dir" && as_dir=. |
1495 | test -z "$as_dir" && as_dir=. |
1460 | # Account for people who put trailing slashes in PATH elements. |
1496 | # Account for people who put trailing slashes in PATH elements. |
1461 | case $as_dir/ in |
1497 | case $as_dir/ in |
1462 | ./ | .// | /cC/* | \ |
1498 | ./ | .// | /cC/* | \ |
1463 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
1499 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
|
|
1500 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
1464 | /usr/ucb/* ) ;; |
1501 | /usr/ucb/* ) ;; |
1465 | *) |
1502 | *) |
1466 | # 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. |
1467 | # 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 |
1468 | # by default. |
1505 | # by default. |
1469 | for ac_prog in ginstall scoinst install; do |
1506 | for ac_prog in ginstall scoinst install; do |
1470 | for ac_exec_ext in '' $ac_executable_extensions; do |
1507 | for ac_exec_ext in '' $ac_executable_extensions; do |
1471 | 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 |
1472 | if test $ac_prog = install && |
1509 | if test $ac_prog = install && |
1473 | 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 |
1474 | # AIX install. It has an incompatible calling convention. |
1511 | # AIX install. It has an incompatible calling convention. |
1475 | : |
1512 | : |
1476 | elif test $ac_prog = install && |
1513 | elif test $ac_prog = install && |
1477 | 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 |
1478 | # program-specific install script used by HP pwplus--don't use. |
1515 | # program-specific install script used by HP pwplus--don't use. |
1479 | : |
1516 | : |
1480 | else |
1517 | else |
1481 | 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" |
1482 | break 3 |
1519 | break 3 |
1483 | fi |
1520 | fi |
1484 | fi |
1521 | fi |
1485 | done |
1522 | done |
1486 | done |
1523 | done |
1487 | ;; |
1524 | ;; |
1488 | esac |
1525 | esac |
1489 | done |
1526 | done |
… | |
… | |
1623 | test -n "$AWK" && break |
1660 | test -n "$AWK" && break |
1624 | done |
1661 | done |
1625 | |
1662 | |
1626 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
1663 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
1627 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
1664 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
1628 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
1665 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
1629 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
1666 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
1630 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1667 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1631 | else |
1668 | else |
1632 | cat >conftest.make <<\_ACEOF |
1669 | cat >conftest.make <<\_ACEOF |
1633 | all: |
1670 | all: |
… | |
… | |
1679 | fi |
1716 | fi |
1680 | |
1717 | |
1681 | |
1718 | |
1682 | # Define the identity of the package. |
1719 | # Define the identity of the package. |
1683 | PACKAGE=vpe |
1720 | PACKAGE=vpe |
1684 | VERSION=1.2 |
1721 | VERSION=1.5 |
1685 | |
1722 | |
1686 | |
1723 | |
1687 | cat >>confdefs.h <<_ACEOF |
1724 | cat >>confdefs.h <<_ACEOF |
1688 | #define PACKAGE "$PACKAGE" |
1725 | #define PACKAGE "$PACKAGE" |
1689 | _ACEOF |
1726 | _ACEOF |
… | |
… | |
2455 | ac_status=$? |
2492 | ac_status=$? |
2456 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2493 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2457 | (exit $ac_status); } |
2494 | (exit $ac_status); } |
2458 | |
2495 | |
2459 | cat >conftest.$ac_ext <<_ACEOF |
2496 | cat >conftest.$ac_ext <<_ACEOF |
2460 | #line $LINENO "configure" |
|
|
2461 | /* confdefs.h. */ |
2497 | /* confdefs.h. */ |
2462 | _ACEOF |
2498 | _ACEOF |
2463 | cat confdefs.h >>conftest.$ac_ext |
2499 | cat confdefs.h >>conftest.$ac_ext |
2464 | cat >>conftest.$ac_ext <<_ACEOF |
2500 | cat >>conftest.$ac_ext <<_ACEOF |
2465 | /* end confdefs.h. */ |
2501 | /* end confdefs.h. */ |
… | |
… | |
2475 | ac_clean_files_save=$ac_clean_files |
2511 | ac_clean_files_save=$ac_clean_files |
2476 | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
2512 | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
2477 | # Try to create an executable without -o first, disregard a.out. |
2513 | # Try to create an executable without -o first, disregard a.out. |
2478 | # 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 |
2479 | # of exeext. |
2515 | # of exeext. |
2480 | echo "$as_me:$LINENO: checking for C compiler default output" >&5 |
2516 | echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
2481 | echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
2517 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
2482 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2518 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2483 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
2519 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
2484 | (eval $ac_link_default) 2>&5 |
2520 | (eval $ac_link_default) 2>&5 |
2485 | ac_status=$? |
2521 | ac_status=$? |
2486 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2522 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
… | |
… | |
2496 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
2532 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
2497 | do |
2533 | do |
2498 | test -f "$ac_file" || continue |
2534 | test -f "$ac_file" || continue |
2499 | case $ac_file in |
2535 | case $ac_file in |
2500 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
2536 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
2501 | ;; |
2537 | ;; |
2502 | conftest.$ac_ext ) |
2538 | conftest.$ac_ext ) |
2503 | # This is the source file. |
2539 | # This is the source file. |
2504 | ;; |
2540 | ;; |
2505 | [ab].out ) |
2541 | [ab].out ) |
2506 | # We found the default executable, but exeext='' is most |
2542 | # We found the default executable, but exeext='' is most |
2507 | # certainly right. |
2543 | # certainly right. |
2508 | break;; |
2544 | break;; |
2509 | *.* ) |
2545 | *.* ) |
2510 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2546 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2511 | # FIXME: I believe we export ac_cv_exeext for Libtool, |
2547 | # FIXME: I believe we export ac_cv_exeext for Libtool, |
2512 | # but it would be cool to find out if it's true. Does anybody |
2548 | # but it would be cool to find out if it's true. Does anybody |
2513 | # maintain Libtool? --akim. |
2549 | # maintain Libtool? --akim. |
2514 | export ac_cv_exeext |
2550 | export ac_cv_exeext |
2515 | break;; |
2551 | break;; |
2516 | * ) |
2552 | * ) |
2517 | break;; |
2553 | break;; |
2518 | esac |
2554 | esac |
2519 | done |
2555 | done |
2520 | else |
2556 | else |
2521 | echo "$as_me: failed program was:" >&5 |
2557 | echo "$as_me: failed program was:" >&5 |
2522 | sed 's/^/| /' conftest.$ac_ext >&5 |
2558 | sed 's/^/| /' conftest.$ac_ext >&5 |
… | |
… | |
2586 | for ac_file in conftest.exe conftest conftest.*; do |
2622 | for ac_file in conftest.exe conftest conftest.*; do |
2587 | test -f "$ac_file" || continue |
2623 | test -f "$ac_file" || continue |
2588 | case $ac_file in |
2624 | case $ac_file in |
2589 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
2625 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
2590 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2626 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2591 | export ac_cv_exeext |
2627 | export ac_cv_exeext |
2592 | break;; |
2628 | break;; |
2593 | * ) break;; |
2629 | * ) break;; |
2594 | esac |
2630 | esac |
2595 | done |
2631 | done |
2596 | else |
2632 | else |
2597 | { { 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 |
… | |
… | |
2612 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
2648 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
2613 | if test "${ac_cv_objext+set}" = set; then |
2649 | if test "${ac_cv_objext+set}" = set; then |
2614 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2650 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2615 | else |
2651 | else |
2616 | cat >conftest.$ac_ext <<_ACEOF |
2652 | cat >conftest.$ac_ext <<_ACEOF |
2617 | #line $LINENO "configure" |
|
|
2618 | /* confdefs.h. */ |
2653 | /* confdefs.h. */ |
2619 | _ACEOF |
2654 | _ACEOF |
2620 | cat confdefs.h >>conftest.$ac_ext |
2655 | cat confdefs.h >>conftest.$ac_ext |
2621 | cat >>conftest.$ac_ext <<_ACEOF |
2656 | cat >>conftest.$ac_ext <<_ACEOF |
2622 | /* end confdefs.h. */ |
2657 | /* end confdefs.h. */ |
… | |
… | |
2663 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
2698 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
2664 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
2699 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
2665 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2700 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2666 | else |
2701 | else |
2667 | cat >conftest.$ac_ext <<_ACEOF |
2702 | cat >conftest.$ac_ext <<_ACEOF |
2668 | #line $LINENO "configure" |
|
|
2669 | /* confdefs.h. */ |
2703 | /* confdefs.h. */ |
2670 | _ACEOF |
2704 | _ACEOF |
2671 | cat confdefs.h >>conftest.$ac_ext |
2705 | cat confdefs.h >>conftest.$ac_ext |
2672 | cat >>conftest.$ac_ext <<_ACEOF |
2706 | cat >>conftest.$ac_ext <<_ACEOF |
2673 | /* end confdefs.h. */ |
2707 | /* end confdefs.h. */ |
… | |
… | |
2683 | return 0; |
2717 | return 0; |
2684 | } |
2718 | } |
2685 | _ACEOF |
2719 | _ACEOF |
2686 | rm -f conftest.$ac_objext |
2720 | rm -f conftest.$ac_objext |
2687 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2721 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2688 | (eval $ac_compile) 2>&5 |
2722 | (eval $ac_compile) 2>conftest.er1 |
2689 | ac_status=$? |
2723 | ac_status=$? |
|
|
2724 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2725 | rm -f conftest.er1 |
|
|
2726 | cat conftest.err >&5 |
2690 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2727 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2691 | (exit $ac_status); } && |
2728 | (exit $ac_status); } && |
2692 | { ac_try='test -s conftest.$ac_objext' |
2729 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2693 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2730 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2694 | (eval $ac_try) 2>&5 |
2731 | (eval $ac_try) 2>&5 |
2695 | ac_status=$? |
2732 | ac_status=$? |
2696 | 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 |
2697 | (exit $ac_status); }; }; then |
2740 | (exit $ac_status); }; }; then |
2698 | ac_compiler_gnu=yes |
2741 | ac_compiler_gnu=yes |
2699 | else |
2742 | else |
2700 | echo "$as_me: failed program was:" >&5 |
2743 | echo "$as_me: failed program was:" >&5 |
2701 | sed 's/^/| /' conftest.$ac_ext >&5 |
2744 | sed 's/^/| /' conftest.$ac_ext >&5 |
2702 | |
2745 | |
2703 | ac_compiler_gnu=no |
2746 | ac_compiler_gnu=no |
2704 | fi |
2747 | fi |
2705 | rm -f conftest.$ac_objext conftest.$ac_ext |
2748 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2706 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2749 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2707 | |
2750 | |
2708 | fi |
2751 | fi |
2709 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
2752 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
2710 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
2753 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
… | |
… | |
2716 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
2759 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
2717 | if test "${ac_cv_prog_cc_g+set}" = set; then |
2760 | if test "${ac_cv_prog_cc_g+set}" = set; then |
2718 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2761 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2719 | else |
2762 | else |
2720 | cat >conftest.$ac_ext <<_ACEOF |
2763 | cat >conftest.$ac_ext <<_ACEOF |
2721 | #line $LINENO "configure" |
|
|
2722 | /* confdefs.h. */ |
2764 | /* confdefs.h. */ |
2723 | _ACEOF |
2765 | _ACEOF |
2724 | cat confdefs.h >>conftest.$ac_ext |
2766 | cat confdefs.h >>conftest.$ac_ext |
2725 | cat >>conftest.$ac_ext <<_ACEOF |
2767 | cat >>conftest.$ac_ext <<_ACEOF |
2726 | /* end confdefs.h. */ |
2768 | /* end confdefs.h. */ |
… | |
… | |
2733 | return 0; |
2775 | return 0; |
2734 | } |
2776 | } |
2735 | _ACEOF |
2777 | _ACEOF |
2736 | rm -f conftest.$ac_objext |
2778 | rm -f conftest.$ac_objext |
2737 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2779 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2738 | (eval $ac_compile) 2>&5 |
2780 | (eval $ac_compile) 2>conftest.er1 |
2739 | ac_status=$? |
2781 | ac_status=$? |
|
|
2782 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2783 | rm -f conftest.er1 |
|
|
2784 | cat conftest.err >&5 |
2740 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2785 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2741 | (exit $ac_status); } && |
2786 | (exit $ac_status); } && |
2742 | { ac_try='test -s conftest.$ac_objext' |
2787 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2743 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2788 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2744 | (eval $ac_try) 2>&5 |
2789 | (eval $ac_try) 2>&5 |
2745 | ac_status=$? |
2790 | ac_status=$? |
2746 | 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 |
2747 | (exit $ac_status); }; }; then |
2798 | (exit $ac_status); }; }; then |
2748 | ac_cv_prog_cc_g=yes |
2799 | ac_cv_prog_cc_g=yes |
2749 | else |
2800 | else |
2750 | echo "$as_me: failed program was:" >&5 |
2801 | echo "$as_me: failed program was:" >&5 |
2751 | sed 's/^/| /' conftest.$ac_ext >&5 |
2802 | sed 's/^/| /' conftest.$ac_ext >&5 |
2752 | |
2803 | |
2753 | ac_cv_prog_cc_g=no |
2804 | ac_cv_prog_cc_g=no |
2754 | fi |
2805 | fi |
2755 | rm -f conftest.$ac_objext conftest.$ac_ext |
2806 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2756 | fi |
2807 | fi |
2757 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2808 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2758 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
2809 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
2759 | if test "$ac_test_CFLAGS" = set; then |
2810 | if test "$ac_test_CFLAGS" = set; then |
2760 | CFLAGS=$ac_save_CFLAGS |
2811 | CFLAGS=$ac_save_CFLAGS |
… | |
… | |
2777 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2828 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2778 | else |
2829 | else |
2779 | ac_cv_prog_cc_stdc=no |
2830 | ac_cv_prog_cc_stdc=no |
2780 | ac_save_CC=$CC |
2831 | ac_save_CC=$CC |
2781 | cat >conftest.$ac_ext <<_ACEOF |
2832 | cat >conftest.$ac_ext <<_ACEOF |
2782 | #line $LINENO "configure" |
|
|
2783 | /* confdefs.h. */ |
2833 | /* confdefs.h. */ |
2784 | _ACEOF |
2834 | _ACEOF |
2785 | cat confdefs.h >>conftest.$ac_ext |
2835 | cat confdefs.h >>conftest.$ac_ext |
2786 | cat >>conftest.$ac_ext <<_ACEOF |
2836 | cat >>conftest.$ac_ext <<_ACEOF |
2787 | /* end confdefs.h. */ |
2837 | /* end confdefs.h. */ |
… | |
… | |
2805 | va_start (v,p); |
2855 | va_start (v,p); |
2806 | s = g (p, va_arg (v,int)); |
2856 | s = g (p, va_arg (v,int)); |
2807 | va_end (v); |
2857 | va_end (v); |
2808 | return s; |
2858 | return s; |
2809 | } |
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. */ |
|
|
2868 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
|
2869 | |
2810 | int test (int i, double x); |
2870 | int test (int i, double x); |
2811 | struct s1 {int (*f) (int a);}; |
2871 | struct s1 {int (*f) (int a);}; |
2812 | struct s2 {int (*f) (double a);}; |
2872 | struct s2 {int (*f) (double a);}; |
2813 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
2873 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
2814 | int argc; |
2874 | int argc; |
… | |
… | |
2831 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2891 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2832 | do |
2892 | do |
2833 | CC="$ac_save_CC $ac_arg" |
2893 | CC="$ac_save_CC $ac_arg" |
2834 | rm -f conftest.$ac_objext |
2894 | rm -f conftest.$ac_objext |
2835 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2895 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2836 | (eval $ac_compile) 2>&5 |
2896 | (eval $ac_compile) 2>conftest.er1 |
2837 | ac_status=$? |
2897 | ac_status=$? |
|
|
2898 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2899 | rm -f conftest.er1 |
|
|
2900 | cat conftest.err >&5 |
2838 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2901 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2839 | (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); }; } && |
2840 | { ac_try='test -s conftest.$ac_objext' |
2909 | { ac_try='test -s conftest.$ac_objext' |
2841 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2910 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2842 | (eval $ac_try) 2>&5 |
2911 | (eval $ac_try) 2>&5 |
2843 | ac_status=$? |
2912 | ac_status=$? |
2844 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2913 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2845 | (exit $ac_status); }; }; then |
2914 | (exit $ac_status); }; }; then |
… | |
… | |
2848 | else |
2917 | else |
2849 | echo "$as_me: failed program was:" >&5 |
2918 | echo "$as_me: failed program was:" >&5 |
2850 | sed 's/^/| /' conftest.$ac_ext >&5 |
2919 | sed 's/^/| /' conftest.$ac_ext >&5 |
2851 | |
2920 | |
2852 | fi |
2921 | fi |
2853 | rm -f conftest.$ac_objext |
2922 | rm -f conftest.err conftest.$ac_objext |
2854 | done |
2923 | done |
2855 | rm -f conftest.$ac_ext conftest.$ac_objext |
2924 | rm -f conftest.$ac_ext conftest.$ac_objext |
2856 | CC=$ac_save_CC |
2925 | CC=$ac_save_CC |
2857 | |
2926 | |
2858 | fi |
2927 | fi |
… | |
… | |
2876 | choke me |
2945 | choke me |
2877 | #endif |
2946 | #endif |
2878 | _ACEOF |
2947 | _ACEOF |
2879 | rm -f conftest.$ac_objext |
2948 | rm -f conftest.$ac_objext |
2880 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2949 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2881 | (eval $ac_compile) 2>&5 |
2950 | (eval $ac_compile) 2>conftest.er1 |
2882 | ac_status=$? |
2951 | ac_status=$? |
|
|
2952 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2953 | rm -f conftest.er1 |
|
|
2954 | cat conftest.err >&5 |
2883 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2955 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2884 | (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); }; } && |
2885 | { ac_try='test -s conftest.$ac_objext' |
2963 | { ac_try='test -s conftest.$ac_objext' |
2886 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2964 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2887 | (eval $ac_try) 2>&5 |
2965 | (eval $ac_try) 2>&5 |
2888 | ac_status=$? |
2966 | ac_status=$? |
2889 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2967 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2890 | (exit $ac_status); }; }; then |
2968 | (exit $ac_status); }; }; then |
… | |
… | |
2895 | 'extern "C" void exit (int) throw ();' \ |
2973 | 'extern "C" void exit (int) throw ();' \ |
2896 | 'extern "C" void exit (int);' \ |
2974 | 'extern "C" void exit (int);' \ |
2897 | 'void exit (int);' |
2975 | 'void exit (int);' |
2898 | do |
2976 | do |
2899 | cat >conftest.$ac_ext <<_ACEOF |
2977 | cat >conftest.$ac_ext <<_ACEOF |
2900 | #line $LINENO "configure" |
|
|
2901 | /* confdefs.h. */ |
2978 | /* confdefs.h. */ |
2902 | _ACEOF |
2979 | _ACEOF |
2903 | cat confdefs.h >>conftest.$ac_ext |
2980 | cat confdefs.h >>conftest.$ac_ext |
2904 | cat >>conftest.$ac_ext <<_ACEOF |
2981 | cat >>conftest.$ac_ext <<_ACEOF |
2905 | /* end confdefs.h. */ |
2982 | /* end confdefs.h. */ |
… | |
… | |
2913 | return 0; |
2990 | return 0; |
2914 | } |
2991 | } |
2915 | _ACEOF |
2992 | _ACEOF |
2916 | rm -f conftest.$ac_objext |
2993 | rm -f conftest.$ac_objext |
2917 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2994 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2918 | (eval $ac_compile) 2>&5 |
2995 | (eval $ac_compile) 2>conftest.er1 |
2919 | ac_status=$? |
2996 | ac_status=$? |
|
|
2997 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2998 | rm -f conftest.er1 |
|
|
2999 | cat conftest.err >&5 |
2920 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3000 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2921 | (exit $ac_status); } && |
3001 | (exit $ac_status); } && |
2922 | { ac_try='test -s conftest.$ac_objext' |
3002 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2923 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3003 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2924 | (eval $ac_try) 2>&5 |
3004 | (eval $ac_try) 2>&5 |
2925 | ac_status=$? |
3005 | ac_status=$? |
2926 | 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 |
2927 | (exit $ac_status); }; }; then |
3013 | (exit $ac_status); }; }; then |
2928 | : |
3014 | : |
2929 | else |
3015 | else |
2930 | echo "$as_me: failed program was:" >&5 |
3016 | echo "$as_me: failed program was:" >&5 |
2931 | sed 's/^/| /' conftest.$ac_ext >&5 |
3017 | sed 's/^/| /' conftest.$ac_ext >&5 |
2932 | |
3018 | |
2933 | continue |
3019 | continue |
2934 | fi |
3020 | fi |
2935 | rm -f conftest.$ac_objext conftest.$ac_ext |
3021 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2936 | cat >conftest.$ac_ext <<_ACEOF |
3022 | cat >conftest.$ac_ext <<_ACEOF |
2937 | #line $LINENO "configure" |
|
|
2938 | /* confdefs.h. */ |
3023 | /* confdefs.h. */ |
2939 | _ACEOF |
3024 | _ACEOF |
2940 | cat confdefs.h >>conftest.$ac_ext |
3025 | cat confdefs.h >>conftest.$ac_ext |
2941 | cat >>conftest.$ac_ext <<_ACEOF |
3026 | cat >>conftest.$ac_ext <<_ACEOF |
2942 | /* end confdefs.h. */ |
3027 | /* end confdefs.h. */ |
… | |
… | |
2949 | return 0; |
3034 | return 0; |
2950 | } |
3035 | } |
2951 | _ACEOF |
3036 | _ACEOF |
2952 | rm -f conftest.$ac_objext |
3037 | rm -f conftest.$ac_objext |
2953 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3038 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2954 | (eval $ac_compile) 2>&5 |
3039 | (eval $ac_compile) 2>conftest.er1 |
2955 | ac_status=$? |
3040 | ac_status=$? |
|
|
3041 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3042 | rm -f conftest.er1 |
|
|
3043 | cat conftest.err >&5 |
2956 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3044 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2957 | (exit $ac_status); } && |
3045 | (exit $ac_status); } && |
2958 | { ac_try='test -s conftest.$ac_objext' |
3046 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2959 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3047 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2960 | (eval $ac_try) 2>&5 |
3048 | (eval $ac_try) 2>&5 |
2961 | ac_status=$? |
3049 | ac_status=$? |
2962 | 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 |
2963 | (exit $ac_status); }; }; then |
3057 | (exit $ac_status); }; }; then |
2964 | break |
3058 | break |
2965 | else |
3059 | else |
2966 | echo "$as_me: failed program was:" >&5 |
3060 | echo "$as_me: failed program was:" >&5 |
2967 | sed 's/^/| /' conftest.$ac_ext >&5 |
3061 | sed 's/^/| /' conftest.$ac_ext >&5 |
2968 | |
3062 | |
2969 | fi |
3063 | fi |
2970 | rm -f conftest.$ac_objext conftest.$ac_ext |
3064 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2971 | done |
3065 | done |
2972 | rm -f conftest* |
3066 | rm -f conftest* |
2973 | if test -n "$ac_declaration"; then |
3067 | if test -n "$ac_declaration"; then |
2974 | echo '#ifdef __cplusplus' >>confdefs.h |
3068 | echo '#ifdef __cplusplus' >>confdefs.h |
2975 | echo $ac_declaration >>confdefs.h |
3069 | echo $ac_declaration >>confdefs.h |
… | |
… | |
2979 | else |
3073 | else |
2980 | echo "$as_me: failed program was:" >&5 |
3074 | echo "$as_me: failed program was:" >&5 |
2981 | sed 's/^/| /' conftest.$ac_ext >&5 |
3075 | sed 's/^/| /' conftest.$ac_ext >&5 |
2982 | |
3076 | |
2983 | fi |
3077 | fi |
2984 | rm -f conftest.$ac_objext conftest.$ac_ext |
3078 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2985 | ac_ext=c |
3079 | ac_ext=c |
2986 | ac_cpp='$CPP $CPPFLAGS' |
3080 | ac_cpp='$CPP $CPPFLAGS' |
2987 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3081 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2988 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3082 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2989 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3083 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
… | |
… | |
3652 | echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6 |
3746 | echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6 |
3653 | if test "${gt_cv_func_gnugettext1_libc+set}" = set; then |
3747 | if test "${gt_cv_func_gnugettext1_libc+set}" = set; then |
3654 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3748 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3655 | else |
3749 | else |
3656 | cat >conftest.$ac_ext <<_ACEOF |
3750 | cat >conftest.$ac_ext <<_ACEOF |
3657 | #line $LINENO "configure" |
|
|
3658 | /* confdefs.h. */ |
3751 | /* confdefs.h. */ |
3659 | _ACEOF |
3752 | _ACEOF |
3660 | cat confdefs.h >>conftest.$ac_ext |
3753 | cat confdefs.h >>conftest.$ac_ext |
3661 | cat >>conftest.$ac_ext <<_ACEOF |
3754 | cat >>conftest.$ac_ext <<_ACEOF |
3662 | /* end confdefs.h. */ |
3755 | /* end confdefs.h. */ |
… | |
… | |
3672 | return 0; |
3765 | return 0; |
3673 | } |
3766 | } |
3674 | _ACEOF |
3767 | _ACEOF |
3675 | rm -f conftest.$ac_objext conftest$ac_exeext |
3768 | rm -f conftest.$ac_objext conftest$ac_exeext |
3676 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3769 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3677 | (eval $ac_link) 2>&5 |
3770 | (eval $ac_link) 2>conftest.er1 |
3678 | ac_status=$? |
3771 | ac_status=$? |
|
|
3772 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3773 | rm -f conftest.er1 |
|
|
3774 | cat conftest.err >&5 |
3679 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3775 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3680 | (exit $ac_status); } && |
3776 | (exit $ac_status); } && |
3681 | { ac_try='test -s conftest$ac_exeext' |
3777 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
3682 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3778 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3683 | (eval $ac_try) 2>&5 |
3779 | (eval $ac_try) 2>&5 |
3684 | ac_status=$? |
3780 | ac_status=$? |
3685 | 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 |
3686 | (exit $ac_status); }; }; then |
3788 | (exit $ac_status); }; }; then |
3687 | gt_cv_func_gnugettext1_libc=yes |
3789 | gt_cv_func_gnugettext1_libc=yes |
3688 | else |
3790 | else |
3689 | echo "$as_me: failed program was:" >&5 |
3791 | echo "$as_me: failed program was:" >&5 |
3690 | sed 's/^/| /' conftest.$ac_ext >&5 |
3792 | sed 's/^/| /' conftest.$ac_ext >&5 |
3691 | |
3793 | |
3692 | gt_cv_func_gnugettext1_libc=no |
3794 | gt_cv_func_gnugettext1_libc=no |
3693 | fi |
3795 | fi |
3694 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3796 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3797 | conftest$ac_exeext conftest.$ac_ext |
3695 | fi |
3798 | fi |
3696 | echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5 |
3799 | echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5 |
3697 | echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6 |
3800 | echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6 |
3698 | |
3801 | |
3699 | if test "$gt_cv_func_gnugettext1_libc" != "yes"; then |
3802 | if test "$gt_cv_func_gnugettext1_libc" != "yes"; then |
… | |
… | |
3734 | else |
3837 | else |
3735 | |
3838 | |
3736 | am_cv_func_iconv="no, consider installing GNU libiconv" |
3839 | am_cv_func_iconv="no, consider installing GNU libiconv" |
3737 | am_cv_lib_iconv=no |
3840 | am_cv_lib_iconv=no |
3738 | cat >conftest.$ac_ext <<_ACEOF |
3841 | cat >conftest.$ac_ext <<_ACEOF |
3739 | #line $LINENO "configure" |
|
|
3740 | /* confdefs.h. */ |
3842 | /* confdefs.h. */ |
3741 | _ACEOF |
3843 | _ACEOF |
3742 | cat confdefs.h >>conftest.$ac_ext |
3844 | cat confdefs.h >>conftest.$ac_ext |
3743 | cat >>conftest.$ac_ext <<_ACEOF |
3845 | cat >>conftest.$ac_ext <<_ACEOF |
3744 | /* end confdefs.h. */ |
3846 | /* end confdefs.h. */ |
… | |
… | |
3754 | return 0; |
3856 | return 0; |
3755 | } |
3857 | } |
3756 | _ACEOF |
3858 | _ACEOF |
3757 | rm -f conftest.$ac_objext conftest$ac_exeext |
3859 | rm -f conftest.$ac_objext conftest$ac_exeext |
3758 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3860 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3759 | (eval $ac_link) 2>&5 |
3861 | (eval $ac_link) 2>conftest.er1 |
3760 | ac_status=$? |
3862 | ac_status=$? |
|
|
3863 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3864 | rm -f conftest.er1 |
|
|
3865 | cat conftest.err >&5 |
3761 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3866 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3762 | (exit $ac_status); } && |
3867 | (exit $ac_status); } && |
3763 | { ac_try='test -s conftest$ac_exeext' |
3868 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
3764 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3869 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3765 | (eval $ac_try) 2>&5 |
3870 | (eval $ac_try) 2>&5 |
3766 | ac_status=$? |
3871 | ac_status=$? |
3767 | 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 |
3768 | (exit $ac_status); }; }; then |
3879 | (exit $ac_status); }; }; then |
3769 | am_cv_func_iconv=yes |
3880 | am_cv_func_iconv=yes |
3770 | else |
3881 | else |
3771 | echo "$as_me: failed program was:" >&5 |
3882 | echo "$as_me: failed program was:" >&5 |
3772 | sed 's/^/| /' conftest.$ac_ext >&5 |
3883 | sed 's/^/| /' conftest.$ac_ext >&5 |
3773 | |
3884 | |
3774 | fi |
3885 | fi |
3775 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3886 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3887 | conftest$ac_exeext conftest.$ac_ext |
3776 | if test "$am_cv_func_iconv" != yes; then |
3888 | if test "$am_cv_func_iconv" != yes; then |
3777 | am_save_LIBS="$LIBS" |
3889 | am_save_LIBS="$LIBS" |
3778 | LIBS="$LIBS $LIBICONV" |
3890 | LIBS="$LIBS $LIBICONV" |
3779 | cat >conftest.$ac_ext <<_ACEOF |
3891 | cat >conftest.$ac_ext <<_ACEOF |
3780 | #line $LINENO "configure" |
|
|
3781 | /* confdefs.h. */ |
3892 | /* confdefs.h. */ |
3782 | _ACEOF |
3893 | _ACEOF |
3783 | cat confdefs.h >>conftest.$ac_ext |
3894 | cat confdefs.h >>conftest.$ac_ext |
3784 | cat >>conftest.$ac_ext <<_ACEOF |
3895 | cat >>conftest.$ac_ext <<_ACEOF |
3785 | /* end confdefs.h. */ |
3896 | /* end confdefs.h. */ |
… | |
… | |
3795 | return 0; |
3906 | return 0; |
3796 | } |
3907 | } |
3797 | _ACEOF |
3908 | _ACEOF |
3798 | rm -f conftest.$ac_objext conftest$ac_exeext |
3909 | rm -f conftest.$ac_objext conftest$ac_exeext |
3799 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3910 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3800 | (eval $ac_link) 2>&5 |
3911 | (eval $ac_link) 2>conftest.er1 |
3801 | ac_status=$? |
3912 | ac_status=$? |
|
|
3913 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3914 | rm -f conftest.er1 |
|
|
3915 | cat conftest.err >&5 |
3802 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3916 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3803 | (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); }; } && |
3804 | { ac_try='test -s conftest$ac_exeext' |
3924 | { ac_try='test -s conftest$ac_exeext' |
3805 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3925 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3806 | (eval $ac_try) 2>&5 |
3926 | (eval $ac_try) 2>&5 |
3807 | ac_status=$? |
3927 | ac_status=$? |
3808 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3928 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3809 | (exit $ac_status); }; }; then |
3929 | (exit $ac_status); }; }; then |
… | |
… | |
3812 | else |
3932 | else |
3813 | echo "$as_me: failed program was:" >&5 |
3933 | echo "$as_me: failed program was:" >&5 |
3814 | sed 's/^/| /' conftest.$ac_ext >&5 |
3934 | sed 's/^/| /' conftest.$ac_ext >&5 |
3815 | |
3935 | |
3816 | fi |
3936 | fi |
3817 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3937 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3938 | conftest$ac_exeext conftest.$ac_ext |
3818 | LIBS="$am_save_LIBS" |
3939 | LIBS="$am_save_LIBS" |
3819 | fi |
3940 | fi |
3820 | |
3941 | |
3821 | fi |
3942 | fi |
3822 | echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 |
3943 | echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 |
… | |
… | |
4228 | gt_save_CPPFLAGS="$CPPFLAGS" |
4349 | gt_save_CPPFLAGS="$CPPFLAGS" |
4229 | CPPFLAGS="$CPPFLAGS $INCINTL" |
4350 | CPPFLAGS="$CPPFLAGS $INCINTL" |
4230 | gt_save_LIBS="$LIBS" |
4351 | gt_save_LIBS="$LIBS" |
4231 | LIBS="$LIBS $LIBINTL" |
4352 | LIBS="$LIBS $LIBINTL" |
4232 | cat >conftest.$ac_ext <<_ACEOF |
4353 | cat >conftest.$ac_ext <<_ACEOF |
4233 | #line $LINENO "configure" |
|
|
4234 | /* confdefs.h. */ |
4354 | /* confdefs.h. */ |
4235 | _ACEOF |
4355 | _ACEOF |
4236 | cat confdefs.h >>conftest.$ac_ext |
4356 | cat confdefs.h >>conftest.$ac_ext |
4237 | cat >>conftest.$ac_ext <<_ACEOF |
4357 | cat >>conftest.$ac_ext <<_ACEOF |
4238 | /* end confdefs.h. */ |
4358 | /* end confdefs.h. */ |
… | |
… | |
4252 | return 0; |
4372 | return 0; |
4253 | } |
4373 | } |
4254 | _ACEOF |
4374 | _ACEOF |
4255 | rm -f conftest.$ac_objext conftest$ac_exeext |
4375 | rm -f conftest.$ac_objext conftest$ac_exeext |
4256 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4376 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4257 | (eval $ac_link) 2>&5 |
4377 | (eval $ac_link) 2>conftest.er1 |
4258 | ac_status=$? |
4378 | ac_status=$? |
|
|
4379 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4380 | rm -f conftest.er1 |
|
|
4381 | cat conftest.err >&5 |
4259 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4382 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4260 | (exit $ac_status); } && |
4383 | (exit $ac_status); } && |
4261 | { ac_try='test -s conftest$ac_exeext' |
4384 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
4262 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4385 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4263 | (eval $ac_try) 2>&5 |
4386 | (eval $ac_try) 2>&5 |
4264 | ac_status=$? |
4387 | ac_status=$? |
4265 | 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 |
4266 | (exit $ac_status); }; }; then |
4395 | (exit $ac_status); }; }; then |
4267 | gt_cv_func_gnugettext1_libintl=yes |
4396 | gt_cv_func_gnugettext1_libintl=yes |
4268 | else |
4397 | else |
4269 | echo "$as_me: failed program was:" >&5 |
4398 | echo "$as_me: failed program was:" >&5 |
4270 | sed 's/^/| /' conftest.$ac_ext >&5 |
4399 | sed 's/^/| /' conftest.$ac_ext >&5 |
4271 | |
4400 | |
4272 | gt_cv_func_gnugettext1_libintl=no |
4401 | gt_cv_func_gnugettext1_libintl=no |
4273 | fi |
4402 | fi |
4274 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4403 | rm -f conftest.err conftest.$ac_objext \ |
|
|
4404 | conftest$ac_exeext conftest.$ac_ext |
4275 | 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 |
4276 | LIBS="$LIBS $LIBICONV" |
4406 | LIBS="$LIBS $LIBICONV" |
4277 | cat >conftest.$ac_ext <<_ACEOF |
4407 | cat >conftest.$ac_ext <<_ACEOF |
4278 | #line $LINENO "configure" |
|
|
4279 | /* confdefs.h. */ |
4408 | /* confdefs.h. */ |
4280 | _ACEOF |
4409 | _ACEOF |
4281 | cat confdefs.h >>conftest.$ac_ext |
4410 | cat confdefs.h >>conftest.$ac_ext |
4282 | cat >>conftest.$ac_ext <<_ACEOF |
4411 | cat >>conftest.$ac_ext <<_ACEOF |
4283 | /* end confdefs.h. */ |
4412 | /* end confdefs.h. */ |
… | |
… | |
4297 | return 0; |
4426 | return 0; |
4298 | } |
4427 | } |
4299 | _ACEOF |
4428 | _ACEOF |
4300 | rm -f conftest.$ac_objext conftest$ac_exeext |
4429 | rm -f conftest.$ac_objext conftest$ac_exeext |
4301 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4430 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4302 | (eval $ac_link) 2>&5 |
4431 | (eval $ac_link) 2>conftest.er1 |
4303 | ac_status=$? |
4432 | ac_status=$? |
|
|
4433 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4434 | rm -f conftest.er1 |
|
|
4435 | cat conftest.err >&5 |
4304 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4436 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4305 | (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); }; } && |
4306 | { ac_try='test -s conftest$ac_exeext' |
4444 | { ac_try='test -s conftest$ac_exeext' |
4307 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4445 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4308 | (eval $ac_try) 2>&5 |
4446 | (eval $ac_try) 2>&5 |
4309 | ac_status=$? |
4447 | ac_status=$? |
4310 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4448 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4311 | (exit $ac_status); }; }; then |
4449 | (exit $ac_status); }; }; then |
… | |
… | |
4316 | else |
4454 | else |
4317 | echo "$as_me: failed program was:" >&5 |
4455 | echo "$as_me: failed program was:" >&5 |
4318 | sed 's/^/| /' conftest.$ac_ext >&5 |
4456 | sed 's/^/| /' conftest.$ac_ext >&5 |
4319 | |
4457 | |
4320 | fi |
4458 | fi |
4321 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4459 | rm -f conftest.err conftest.$ac_objext \ |
|
|
4460 | conftest$ac_exeext conftest.$ac_ext |
4322 | fi |
4461 | fi |
4323 | CPPFLAGS="$gt_save_CPPFLAGS" |
4462 | CPPFLAGS="$gt_save_CPPFLAGS" |
4324 | LIBS="$gt_save_LIBS" |
4463 | LIBS="$gt_save_LIBS" |
4325 | fi |
4464 | fi |
4326 | echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5 |
4465 | echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5 |
… | |
… | |
4417 | cat >>confdefs.h <<\_ACEOF |
4556 | cat >>confdefs.h <<\_ACEOF |
4418 | #define _GNU_SOURCE 1 |
4557 | #define _GNU_SOURCE 1 |
4419 | _ACEOF |
4558 | _ACEOF |
4420 | |
4559 | |
4421 | |
4560 | |
4422 | cat >>confdefs.h <<\_ACEOF |
4561 | # do NOT define POSIX_SOURCE, sicne this clashes with many BSDs |
4423 | #define __USE_BSD 1 |
|
|
4424 | _ACEOF |
|
|
4425 | |
|
|
4426 | |
4562 | |
4427 | ALL_LINGUAS="" |
4563 | ALL_LINGUAS="" |
4428 | |
4564 | |
4429 | ac_ext=c |
4565 | ac_ext=c |
4430 | ac_cpp='$CPP $CPPFLAGS' |
4566 | ac_cpp='$CPP $CPPFLAGS' |
… | |
… | |
4765 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
4901 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
4766 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
4902 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
4767 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4903 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4768 | else |
4904 | else |
4769 | cat >conftest.$ac_ext <<_ACEOF |
4905 | cat >conftest.$ac_ext <<_ACEOF |
4770 | #line $LINENO "configure" |
|
|
4771 | /* confdefs.h. */ |
4906 | /* confdefs.h. */ |
4772 | _ACEOF |
4907 | _ACEOF |
4773 | cat confdefs.h >>conftest.$ac_ext |
4908 | cat confdefs.h >>conftest.$ac_ext |
4774 | cat >>conftest.$ac_ext <<_ACEOF |
4909 | cat >>conftest.$ac_ext <<_ACEOF |
4775 | /* end confdefs.h. */ |
4910 | /* end confdefs.h. */ |
… | |
… | |
4785 | return 0; |
4920 | return 0; |
4786 | } |
4921 | } |
4787 | _ACEOF |
4922 | _ACEOF |
4788 | rm -f conftest.$ac_objext |
4923 | rm -f conftest.$ac_objext |
4789 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4924 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4790 | (eval $ac_compile) 2>&5 |
4925 | (eval $ac_compile) 2>conftest.er1 |
4791 | ac_status=$? |
4926 | ac_status=$? |
|
|
4927 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4928 | rm -f conftest.er1 |
|
|
4929 | cat conftest.err >&5 |
4792 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4930 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4793 | (exit $ac_status); } && |
4931 | (exit $ac_status); } && |
4794 | { ac_try='test -s conftest.$ac_objext' |
4932 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
4795 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4933 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4796 | (eval $ac_try) 2>&5 |
4934 | (eval $ac_try) 2>&5 |
4797 | ac_status=$? |
4935 | ac_status=$? |
4798 | 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 |
4799 | (exit $ac_status); }; }; then |
4943 | (exit $ac_status); }; }; then |
4800 | ac_compiler_gnu=yes |
4944 | ac_compiler_gnu=yes |
4801 | else |
4945 | else |
4802 | echo "$as_me: failed program was:" >&5 |
4946 | echo "$as_me: failed program was:" >&5 |
4803 | sed 's/^/| /' conftest.$ac_ext >&5 |
4947 | sed 's/^/| /' conftest.$ac_ext >&5 |
4804 | |
4948 | |
4805 | ac_compiler_gnu=no |
4949 | ac_compiler_gnu=no |
4806 | fi |
4950 | fi |
4807 | rm -f conftest.$ac_objext conftest.$ac_ext |
4951 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4808 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
4952 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
4809 | |
4953 | |
4810 | fi |
4954 | fi |
4811 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
4955 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
4812 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
4956 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
… | |
… | |
4818 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
4962 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
4819 | if test "${ac_cv_prog_cc_g+set}" = set; then |
4963 | if test "${ac_cv_prog_cc_g+set}" = set; then |
4820 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4964 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4821 | else |
4965 | else |
4822 | cat >conftest.$ac_ext <<_ACEOF |
4966 | cat >conftest.$ac_ext <<_ACEOF |
4823 | #line $LINENO "configure" |
|
|
4824 | /* confdefs.h. */ |
4967 | /* confdefs.h. */ |
4825 | _ACEOF |
4968 | _ACEOF |
4826 | cat confdefs.h >>conftest.$ac_ext |
4969 | cat confdefs.h >>conftest.$ac_ext |
4827 | cat >>conftest.$ac_ext <<_ACEOF |
4970 | cat >>conftest.$ac_ext <<_ACEOF |
4828 | /* end confdefs.h. */ |
4971 | /* end confdefs.h. */ |
… | |
… | |
4835 | return 0; |
4978 | return 0; |
4836 | } |
4979 | } |
4837 | _ACEOF |
4980 | _ACEOF |
4838 | rm -f conftest.$ac_objext |
4981 | rm -f conftest.$ac_objext |
4839 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4982 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4840 | (eval $ac_compile) 2>&5 |
4983 | (eval $ac_compile) 2>conftest.er1 |
4841 | ac_status=$? |
4984 | ac_status=$? |
|
|
4985 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4986 | rm -f conftest.er1 |
|
|
4987 | cat conftest.err >&5 |
4842 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4988 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4843 | (exit $ac_status); } && |
4989 | (exit $ac_status); } && |
4844 | { ac_try='test -s conftest.$ac_objext' |
4990 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
4845 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4991 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4846 | (eval $ac_try) 2>&5 |
4992 | (eval $ac_try) 2>&5 |
4847 | ac_status=$? |
4993 | ac_status=$? |
4848 | 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 |
4849 | (exit $ac_status); }; }; then |
5001 | (exit $ac_status); }; }; then |
4850 | ac_cv_prog_cc_g=yes |
5002 | ac_cv_prog_cc_g=yes |
4851 | else |
5003 | else |
4852 | echo "$as_me: failed program was:" >&5 |
5004 | echo "$as_me: failed program was:" >&5 |
4853 | sed 's/^/| /' conftest.$ac_ext >&5 |
5005 | sed 's/^/| /' conftest.$ac_ext >&5 |
4854 | |
5006 | |
4855 | ac_cv_prog_cc_g=no |
5007 | ac_cv_prog_cc_g=no |
4856 | fi |
5008 | fi |
4857 | rm -f conftest.$ac_objext conftest.$ac_ext |
5009 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4858 | fi |
5010 | fi |
4859 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
5011 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
4860 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
5012 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
4861 | if test "$ac_test_CFLAGS" = set; then |
5013 | if test "$ac_test_CFLAGS" = set; then |
4862 | CFLAGS=$ac_save_CFLAGS |
5014 | CFLAGS=$ac_save_CFLAGS |
… | |
… | |
4879 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5031 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4880 | else |
5032 | else |
4881 | ac_cv_prog_cc_stdc=no |
5033 | ac_cv_prog_cc_stdc=no |
4882 | ac_save_CC=$CC |
5034 | ac_save_CC=$CC |
4883 | cat >conftest.$ac_ext <<_ACEOF |
5035 | cat >conftest.$ac_ext <<_ACEOF |
4884 | #line $LINENO "configure" |
|
|
4885 | /* confdefs.h. */ |
5036 | /* confdefs.h. */ |
4886 | _ACEOF |
5037 | _ACEOF |
4887 | cat confdefs.h >>conftest.$ac_ext |
5038 | cat confdefs.h >>conftest.$ac_ext |
4888 | cat >>conftest.$ac_ext <<_ACEOF |
5039 | cat >>conftest.$ac_ext <<_ACEOF |
4889 | /* end confdefs.h. */ |
5040 | /* end confdefs.h. */ |
… | |
… | |
4907 | va_start (v,p); |
5058 | va_start (v,p); |
4908 | s = g (p, va_arg (v,int)); |
5059 | s = g (p, va_arg (v,int)); |
4909 | va_end (v); |
5060 | va_end (v); |
4910 | return s; |
5061 | return s; |
4911 | } |
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. */ |
|
|
5071 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
|
5072 | |
4912 | int test (int i, double x); |
5073 | int test (int i, double x); |
4913 | struct s1 {int (*f) (int a);}; |
5074 | struct s1 {int (*f) (int a);}; |
4914 | struct s2 {int (*f) (double a);}; |
5075 | struct s2 {int (*f) (double a);}; |
4915 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
5076 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
4916 | int argc; |
5077 | int argc; |
… | |
… | |
4933 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
5094 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
4934 | do |
5095 | do |
4935 | CC="$ac_save_CC $ac_arg" |
5096 | CC="$ac_save_CC $ac_arg" |
4936 | rm -f conftest.$ac_objext |
5097 | rm -f conftest.$ac_objext |
4937 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5098 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4938 | (eval $ac_compile) 2>&5 |
5099 | (eval $ac_compile) 2>conftest.er1 |
4939 | ac_status=$? |
5100 | ac_status=$? |
|
|
5101 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5102 | rm -f conftest.er1 |
|
|
5103 | cat conftest.err >&5 |
4940 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5104 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4941 | (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); }; } && |
4942 | { ac_try='test -s conftest.$ac_objext' |
5112 | { ac_try='test -s conftest.$ac_objext' |
4943 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5113 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4944 | (eval $ac_try) 2>&5 |
5114 | (eval $ac_try) 2>&5 |
4945 | ac_status=$? |
5115 | ac_status=$? |
4946 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5116 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4947 | (exit $ac_status); }; }; then |
5117 | (exit $ac_status); }; }; then |
… | |
… | |
4950 | else |
5120 | else |
4951 | echo "$as_me: failed program was:" >&5 |
5121 | echo "$as_me: failed program was:" >&5 |
4952 | sed 's/^/| /' conftest.$ac_ext >&5 |
5122 | sed 's/^/| /' conftest.$ac_ext >&5 |
4953 | |
5123 | |
4954 | fi |
5124 | fi |
4955 | rm -f conftest.$ac_objext |
5125 | rm -f conftest.err conftest.$ac_objext |
4956 | done |
5126 | done |
4957 | rm -f conftest.$ac_ext conftest.$ac_objext |
5127 | rm -f conftest.$ac_ext conftest.$ac_objext |
4958 | CC=$ac_save_CC |
5128 | CC=$ac_save_CC |
4959 | |
5129 | |
4960 | fi |
5130 | fi |
… | |
… | |
4978 | choke me |
5148 | choke me |
4979 | #endif |
5149 | #endif |
4980 | _ACEOF |
5150 | _ACEOF |
4981 | rm -f conftest.$ac_objext |
5151 | rm -f conftest.$ac_objext |
4982 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5152 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4983 | (eval $ac_compile) 2>&5 |
5153 | (eval $ac_compile) 2>conftest.er1 |
4984 | ac_status=$? |
5154 | ac_status=$? |
|
|
5155 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5156 | rm -f conftest.er1 |
|
|
5157 | cat conftest.err >&5 |
4985 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5158 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4986 | (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); }; } && |
4987 | { ac_try='test -s conftest.$ac_objext' |
5166 | { ac_try='test -s conftest.$ac_objext' |
4988 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5167 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4989 | (eval $ac_try) 2>&5 |
5168 | (eval $ac_try) 2>&5 |
4990 | ac_status=$? |
5169 | ac_status=$? |
4991 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5170 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4992 | (exit $ac_status); }; }; then |
5171 | (exit $ac_status); }; }; then |
… | |
… | |
4997 | 'extern "C" void exit (int) throw ();' \ |
5176 | 'extern "C" void exit (int) throw ();' \ |
4998 | 'extern "C" void exit (int);' \ |
5177 | 'extern "C" void exit (int);' \ |
4999 | 'void exit (int);' |
5178 | 'void exit (int);' |
5000 | do |
5179 | do |
5001 | cat >conftest.$ac_ext <<_ACEOF |
5180 | cat >conftest.$ac_ext <<_ACEOF |
5002 | #line $LINENO "configure" |
|
|
5003 | /* confdefs.h. */ |
5181 | /* confdefs.h. */ |
5004 | _ACEOF |
5182 | _ACEOF |
5005 | cat confdefs.h >>conftest.$ac_ext |
5183 | cat confdefs.h >>conftest.$ac_ext |
5006 | cat >>conftest.$ac_ext <<_ACEOF |
5184 | cat >>conftest.$ac_ext <<_ACEOF |
5007 | /* end confdefs.h. */ |
5185 | /* end confdefs.h. */ |
… | |
… | |
5015 | return 0; |
5193 | return 0; |
5016 | } |
5194 | } |
5017 | _ACEOF |
5195 | _ACEOF |
5018 | rm -f conftest.$ac_objext |
5196 | rm -f conftest.$ac_objext |
5019 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5197 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5020 | (eval $ac_compile) 2>&5 |
5198 | (eval $ac_compile) 2>conftest.er1 |
5021 | ac_status=$? |
5199 | ac_status=$? |
|
|
5200 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5201 | rm -f conftest.er1 |
|
|
5202 | cat conftest.err >&5 |
5022 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5203 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5023 | (exit $ac_status); } && |
5204 | (exit $ac_status); } && |
5024 | { ac_try='test -s conftest.$ac_objext' |
5205 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
5025 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5206 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5026 | (eval $ac_try) 2>&5 |
5207 | (eval $ac_try) 2>&5 |
5027 | ac_status=$? |
5208 | ac_status=$? |
5028 | 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 |
5029 | (exit $ac_status); }; }; then |
5216 | (exit $ac_status); }; }; then |
5030 | : |
5217 | : |
5031 | else |
5218 | else |
5032 | echo "$as_me: failed program was:" >&5 |
5219 | echo "$as_me: failed program was:" >&5 |
5033 | sed 's/^/| /' conftest.$ac_ext >&5 |
5220 | sed 's/^/| /' conftest.$ac_ext >&5 |
5034 | |
5221 | |
5035 | continue |
5222 | continue |
5036 | fi |
5223 | fi |
5037 | rm -f conftest.$ac_objext conftest.$ac_ext |
5224 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5038 | cat >conftest.$ac_ext <<_ACEOF |
5225 | cat >conftest.$ac_ext <<_ACEOF |
5039 | #line $LINENO "configure" |
|
|
5040 | /* confdefs.h. */ |
5226 | /* confdefs.h. */ |
5041 | _ACEOF |
5227 | _ACEOF |
5042 | cat confdefs.h >>conftest.$ac_ext |
5228 | cat confdefs.h >>conftest.$ac_ext |
5043 | cat >>conftest.$ac_ext <<_ACEOF |
5229 | cat >>conftest.$ac_ext <<_ACEOF |
5044 | /* end confdefs.h. */ |
5230 | /* end confdefs.h. */ |
… | |
… | |
5051 | return 0; |
5237 | return 0; |
5052 | } |
5238 | } |
5053 | _ACEOF |
5239 | _ACEOF |
5054 | rm -f conftest.$ac_objext |
5240 | rm -f conftest.$ac_objext |
5055 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5241 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5056 | (eval $ac_compile) 2>&5 |
5242 | (eval $ac_compile) 2>conftest.er1 |
5057 | ac_status=$? |
5243 | ac_status=$? |
|
|
5244 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5245 | rm -f conftest.er1 |
|
|
5246 | cat conftest.err >&5 |
5058 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5247 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5059 | (exit $ac_status); } && |
5248 | (exit $ac_status); } && |
5060 | { ac_try='test -s conftest.$ac_objext' |
5249 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
5061 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5250 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5062 | (eval $ac_try) 2>&5 |
5251 | (eval $ac_try) 2>&5 |
5063 | ac_status=$? |
5252 | ac_status=$? |
5064 | 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 |
5065 | (exit $ac_status); }; }; then |
5260 | (exit $ac_status); }; }; then |
5066 | break |
5261 | break |
5067 | else |
5262 | else |
5068 | echo "$as_me: failed program was:" >&5 |
5263 | echo "$as_me: failed program was:" >&5 |
5069 | sed 's/^/| /' conftest.$ac_ext >&5 |
5264 | sed 's/^/| /' conftest.$ac_ext >&5 |
5070 | |
5265 | |
5071 | fi |
5266 | fi |
5072 | rm -f conftest.$ac_objext conftest.$ac_ext |
5267 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5073 | done |
5268 | done |
5074 | rm -f conftest* |
5269 | rm -f conftest* |
5075 | if test -n "$ac_declaration"; then |
5270 | if test -n "$ac_declaration"; then |
5076 | echo '#ifdef __cplusplus' >>confdefs.h |
5271 | echo '#ifdef __cplusplus' >>confdefs.h |
5077 | echo $ac_declaration >>confdefs.h |
5272 | echo $ac_declaration >>confdefs.h |
… | |
… | |
5081 | else |
5276 | else |
5082 | echo "$as_me: failed program was:" >&5 |
5277 | echo "$as_me: failed program was:" >&5 |
5083 | sed 's/^/| /' conftest.$ac_ext >&5 |
5278 | sed 's/^/| /' conftest.$ac_ext >&5 |
5084 | |
5279 | |
5085 | fi |
5280 | fi |
5086 | rm -f conftest.$ac_objext conftest.$ac_ext |
5281 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5087 | ac_ext=c |
5282 | ac_ext=c |
5088 | ac_cpp='$CPP $CPPFLAGS' |
5283 | ac_cpp='$CPP $CPPFLAGS' |
5089 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5284 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5090 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5285 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5091 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5286 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
… | |
… | |
5218 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5413 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5219 | # <limits.h> exists even on freestanding compilers. |
5414 | # <limits.h> exists even on freestanding compilers. |
5220 | # 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, |
5221 | # 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. |
5222 | cat >conftest.$ac_ext <<_ACEOF |
5417 | cat >conftest.$ac_ext <<_ACEOF |
5223 | #line $LINENO "configure" |
|
|
5224 | /* confdefs.h. */ |
5418 | /* confdefs.h. */ |
5225 | _ACEOF |
5419 | _ACEOF |
5226 | cat confdefs.h >>conftest.$ac_ext |
5420 | cat confdefs.h >>conftest.$ac_ext |
5227 | cat >>conftest.$ac_ext <<_ACEOF |
5421 | cat >>conftest.$ac_ext <<_ACEOF |
5228 | /* end confdefs.h. */ |
5422 | /* end confdefs.h. */ |
5229 | #ifdef __STDC__ |
5423 | #ifdef __STDC__ |
5230 | # include <limits.h> |
5424 | # include <limits.h> |
5231 | #else |
5425 | #else |
5232 | # include <assert.h> |
5426 | # include <assert.h> |
5233 | #endif |
5427 | #endif |
5234 | Syntax error |
5428 | Syntax error |
5235 | _ACEOF |
5429 | _ACEOF |
5236 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5430 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5237 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5431 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5238 | ac_status=$? |
5432 | ac_status=$? |
5239 | grep -v '^ *+' conftest.er1 >conftest.err |
5433 | grep -v '^ *+' conftest.er1 >conftest.err |
… | |
… | |
5241 | cat conftest.err >&5 |
5435 | cat conftest.err >&5 |
5242 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5436 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5243 | (exit $ac_status); } >/dev/null; then |
5437 | (exit $ac_status); } >/dev/null; then |
5244 | if test -s conftest.err; then |
5438 | if test -s conftest.err; then |
5245 | 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 |
5246 | else |
5441 | else |
5247 | ac_cpp_err= |
5442 | ac_cpp_err= |
5248 | fi |
5443 | fi |
5249 | else |
5444 | else |
5250 | ac_cpp_err=yes |
5445 | ac_cpp_err=yes |
… | |
… | |
5261 | rm -f conftest.err conftest.$ac_ext |
5456 | rm -f conftest.err conftest.$ac_ext |
5262 | |
5457 | |
5263 | # OK, works on sane cases. Now check whether non-existent headers |
5458 | # OK, works on sane cases. Now check whether non-existent headers |
5264 | # can be detected and how. |
5459 | # can be detected and how. |
5265 | cat >conftest.$ac_ext <<_ACEOF |
5460 | cat >conftest.$ac_ext <<_ACEOF |
5266 | #line $LINENO "configure" |
|
|
5267 | /* confdefs.h. */ |
5461 | /* confdefs.h. */ |
5268 | _ACEOF |
5462 | _ACEOF |
5269 | cat confdefs.h >>conftest.$ac_ext |
5463 | cat confdefs.h >>conftest.$ac_ext |
5270 | cat >>conftest.$ac_ext <<_ACEOF |
5464 | cat >>conftest.$ac_ext <<_ACEOF |
5271 | /* end confdefs.h. */ |
5465 | /* end confdefs.h. */ |
… | |
… | |
5279 | cat conftest.err >&5 |
5473 | cat conftest.err >&5 |
5280 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5474 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5281 | (exit $ac_status); } >/dev/null; then |
5475 | (exit $ac_status); } >/dev/null; then |
5282 | if test -s conftest.err; then |
5476 | if test -s conftest.err; then |
5283 | 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 |
5284 | else |
5479 | else |
5285 | ac_cpp_err= |
5480 | ac_cpp_err= |
5286 | fi |
5481 | fi |
5287 | else |
5482 | else |
5288 | ac_cpp_err=yes |
5483 | ac_cpp_err=yes |
… | |
… | |
5325 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5520 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5326 | # <limits.h> exists even on freestanding compilers. |
5521 | # <limits.h> exists even on freestanding compilers. |
5327 | # 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, |
5328 | # 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. |
5329 | cat >conftest.$ac_ext <<_ACEOF |
5524 | cat >conftest.$ac_ext <<_ACEOF |
5330 | #line $LINENO "configure" |
|
|
5331 | /* confdefs.h. */ |
5525 | /* confdefs.h. */ |
5332 | _ACEOF |
5526 | _ACEOF |
5333 | cat confdefs.h >>conftest.$ac_ext |
5527 | cat confdefs.h >>conftest.$ac_ext |
5334 | cat >>conftest.$ac_ext <<_ACEOF |
5528 | cat >>conftest.$ac_ext <<_ACEOF |
5335 | /* end confdefs.h. */ |
5529 | /* end confdefs.h. */ |
5336 | #ifdef __STDC__ |
5530 | #ifdef __STDC__ |
5337 | # include <limits.h> |
5531 | # include <limits.h> |
5338 | #else |
5532 | #else |
5339 | # include <assert.h> |
5533 | # include <assert.h> |
5340 | #endif |
5534 | #endif |
5341 | Syntax error |
5535 | Syntax error |
5342 | _ACEOF |
5536 | _ACEOF |
5343 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5537 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5344 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5538 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5345 | ac_status=$? |
5539 | ac_status=$? |
5346 | grep -v '^ *+' conftest.er1 >conftest.err |
5540 | grep -v '^ *+' conftest.er1 >conftest.err |
… | |
… | |
5348 | cat conftest.err >&5 |
5542 | cat conftest.err >&5 |
5349 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5543 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5350 | (exit $ac_status); } >/dev/null; then |
5544 | (exit $ac_status); } >/dev/null; then |
5351 | if test -s conftest.err; then |
5545 | if test -s conftest.err; then |
5352 | 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 |
5353 | else |
5548 | else |
5354 | ac_cpp_err= |
5549 | ac_cpp_err= |
5355 | fi |
5550 | fi |
5356 | else |
5551 | else |
5357 | ac_cpp_err=yes |
5552 | ac_cpp_err=yes |
… | |
… | |
5368 | rm -f conftest.err conftest.$ac_ext |
5563 | rm -f conftest.err conftest.$ac_ext |
5369 | |
5564 | |
5370 | # OK, works on sane cases. Now check whether non-existent headers |
5565 | # OK, works on sane cases. Now check whether non-existent headers |
5371 | # can be detected and how. |
5566 | # can be detected and how. |
5372 | cat >conftest.$ac_ext <<_ACEOF |
5567 | cat >conftest.$ac_ext <<_ACEOF |
5373 | #line $LINENO "configure" |
|
|
5374 | /* confdefs.h. */ |
5568 | /* confdefs.h. */ |
5375 | _ACEOF |
5569 | _ACEOF |
5376 | cat confdefs.h >>conftest.$ac_ext |
5570 | cat confdefs.h >>conftest.$ac_ext |
5377 | cat >>conftest.$ac_ext <<_ACEOF |
5571 | cat >>conftest.$ac_ext <<_ACEOF |
5378 | /* end confdefs.h. */ |
5572 | /* end confdefs.h. */ |
… | |
… | |
5386 | cat conftest.err >&5 |
5580 | cat conftest.err >&5 |
5387 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5581 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5388 | (exit $ac_status); } >/dev/null; then |
5582 | (exit $ac_status); } >/dev/null; then |
5389 | if test -s conftest.err; then |
5583 | if test -s conftest.err; then |
5390 | 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 |
5391 | else |
5586 | else |
5392 | ac_cpp_err= |
5587 | ac_cpp_err= |
5393 | fi |
5588 | fi |
5394 | else |
5589 | else |
5395 | ac_cpp_err=yes |
5590 | ac_cpp_err=yes |
… | |
… | |
5543 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 |
5738 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 |
5544 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
5739 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
5545 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5740 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5546 | else |
5741 | else |
5547 | cat >conftest.$ac_ext <<_ACEOF |
5742 | cat >conftest.$ac_ext <<_ACEOF |
5548 | #line $LINENO "configure" |
|
|
5549 | /* confdefs.h. */ |
5743 | /* confdefs.h. */ |
5550 | _ACEOF |
5744 | _ACEOF |
5551 | cat confdefs.h >>conftest.$ac_ext |
5745 | cat confdefs.h >>conftest.$ac_ext |
5552 | cat >>conftest.$ac_ext <<_ACEOF |
5746 | cat >>conftest.$ac_ext <<_ACEOF |
5553 | /* end confdefs.h. */ |
5747 | /* end confdefs.h. */ |
… | |
… | |
5563 | return 0; |
5757 | return 0; |
5564 | } |
5758 | } |
5565 | _ACEOF |
5759 | _ACEOF |
5566 | rm -f conftest.$ac_objext |
5760 | rm -f conftest.$ac_objext |
5567 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5761 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5568 | (eval $ac_compile) 2>&5 |
5762 | (eval $ac_compile) 2>conftest.er1 |
5569 | ac_status=$? |
5763 | ac_status=$? |
|
|
5764 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5765 | rm -f conftest.er1 |
|
|
5766 | cat conftest.err >&5 |
5570 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5767 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5571 | (exit $ac_status); } && |
5768 | (exit $ac_status); } && |
5572 | { ac_try='test -s conftest.$ac_objext' |
5769 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5573 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5770 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5574 | (eval $ac_try) 2>&5 |
5771 | (eval $ac_try) 2>&5 |
5575 | ac_status=$? |
5772 | ac_status=$? |
5576 | 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 |
5577 | (exit $ac_status); }; }; then |
5780 | (exit $ac_status); }; }; then |
5578 | ac_compiler_gnu=yes |
5781 | ac_compiler_gnu=yes |
5579 | else |
5782 | else |
5580 | echo "$as_me: failed program was:" >&5 |
5783 | echo "$as_me: failed program was:" >&5 |
5581 | sed 's/^/| /' conftest.$ac_ext >&5 |
5784 | sed 's/^/| /' conftest.$ac_ext >&5 |
5582 | |
5785 | |
5583 | ac_compiler_gnu=no |
5786 | ac_compiler_gnu=no |
5584 | fi |
5787 | fi |
5585 | rm -f conftest.$ac_objext conftest.$ac_ext |
5788 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5586 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
5789 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
5587 | |
5790 | |
5588 | fi |
5791 | fi |
5589 | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
5792 | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
5590 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 |
5793 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 |
… | |
… | |
5596 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 |
5799 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 |
5597 | if test "${ac_cv_prog_cxx_g+set}" = set; then |
5800 | if test "${ac_cv_prog_cxx_g+set}" = set; then |
5598 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5801 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5599 | else |
5802 | else |
5600 | cat >conftest.$ac_ext <<_ACEOF |
5803 | cat >conftest.$ac_ext <<_ACEOF |
5601 | #line $LINENO "configure" |
|
|
5602 | /* confdefs.h. */ |
5804 | /* confdefs.h. */ |
5603 | _ACEOF |
5805 | _ACEOF |
5604 | cat confdefs.h >>conftest.$ac_ext |
5806 | cat confdefs.h >>conftest.$ac_ext |
5605 | cat >>conftest.$ac_ext <<_ACEOF |
5807 | cat >>conftest.$ac_ext <<_ACEOF |
5606 | /* end confdefs.h. */ |
5808 | /* end confdefs.h. */ |
… | |
… | |
5613 | return 0; |
5815 | return 0; |
5614 | } |
5816 | } |
5615 | _ACEOF |
5817 | _ACEOF |
5616 | rm -f conftest.$ac_objext |
5818 | rm -f conftest.$ac_objext |
5617 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5819 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5618 | (eval $ac_compile) 2>&5 |
5820 | (eval $ac_compile) 2>conftest.er1 |
5619 | ac_status=$? |
5821 | ac_status=$? |
|
|
5822 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5823 | rm -f conftest.er1 |
|
|
5824 | cat conftest.err >&5 |
5620 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5825 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5621 | (exit $ac_status); } && |
5826 | (exit $ac_status); } && |
5622 | { ac_try='test -s conftest.$ac_objext' |
5827 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5623 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5828 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5624 | (eval $ac_try) 2>&5 |
5829 | (eval $ac_try) 2>&5 |
5625 | ac_status=$? |
5830 | ac_status=$? |
5626 | 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 |
5627 | (exit $ac_status); }; }; then |
5838 | (exit $ac_status); }; }; then |
5628 | ac_cv_prog_cxx_g=yes |
5839 | ac_cv_prog_cxx_g=yes |
5629 | else |
5840 | else |
5630 | echo "$as_me: failed program was:" >&5 |
5841 | echo "$as_me: failed program was:" >&5 |
5631 | sed 's/^/| /' conftest.$ac_ext >&5 |
5842 | sed 's/^/| /' conftest.$ac_ext >&5 |
5632 | |
5843 | |
5633 | ac_cv_prog_cxx_g=no |
5844 | ac_cv_prog_cxx_g=no |
5634 | fi |
5845 | fi |
5635 | rm -f conftest.$ac_objext conftest.$ac_ext |
5846 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5636 | fi |
5847 | fi |
5637 | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
5848 | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
5638 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
5849 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
5639 | if test "$ac_test_CXXFLAGS" = set; then |
5850 | if test "$ac_test_CXXFLAGS" = set; then |
5640 | CXXFLAGS=$ac_save_CXXFLAGS |
5851 | CXXFLAGS=$ac_save_CXXFLAGS |
… | |
… | |
5658 | 'extern "C" void exit (int) throw ();' \ |
5869 | 'extern "C" void exit (int) throw ();' \ |
5659 | 'extern "C" void exit (int);' \ |
5870 | 'extern "C" void exit (int);' \ |
5660 | 'void exit (int);' |
5871 | 'void exit (int);' |
5661 | do |
5872 | do |
5662 | cat >conftest.$ac_ext <<_ACEOF |
5873 | cat >conftest.$ac_ext <<_ACEOF |
5663 | #line $LINENO "configure" |
|
|
5664 | /* confdefs.h. */ |
5874 | /* confdefs.h. */ |
5665 | _ACEOF |
5875 | _ACEOF |
5666 | cat confdefs.h >>conftest.$ac_ext |
5876 | cat confdefs.h >>conftest.$ac_ext |
5667 | cat >>conftest.$ac_ext <<_ACEOF |
5877 | cat >>conftest.$ac_ext <<_ACEOF |
5668 | /* end confdefs.h. */ |
5878 | /* end confdefs.h. */ |
… | |
… | |
5676 | return 0; |
5886 | return 0; |
5677 | } |
5887 | } |
5678 | _ACEOF |
5888 | _ACEOF |
5679 | rm -f conftest.$ac_objext |
5889 | rm -f conftest.$ac_objext |
5680 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5890 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5681 | (eval $ac_compile) 2>&5 |
5891 | (eval $ac_compile) 2>conftest.er1 |
5682 | ac_status=$? |
5892 | ac_status=$? |
|
|
5893 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5894 | rm -f conftest.er1 |
|
|
5895 | cat conftest.err >&5 |
5683 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5896 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5684 | (exit $ac_status); } && |
5897 | (exit $ac_status); } && |
5685 | { ac_try='test -s conftest.$ac_objext' |
5898 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5686 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5899 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5687 | (eval $ac_try) 2>&5 |
5900 | (eval $ac_try) 2>&5 |
5688 | ac_status=$? |
5901 | ac_status=$? |
5689 | 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 |
5690 | (exit $ac_status); }; }; then |
5909 | (exit $ac_status); }; }; then |
5691 | : |
5910 | : |
5692 | else |
5911 | else |
5693 | echo "$as_me: failed program was:" >&5 |
5912 | echo "$as_me: failed program was:" >&5 |
5694 | sed 's/^/| /' conftest.$ac_ext >&5 |
5913 | sed 's/^/| /' conftest.$ac_ext >&5 |
5695 | |
5914 | |
5696 | continue |
5915 | continue |
5697 | fi |
5916 | fi |
5698 | rm -f conftest.$ac_objext conftest.$ac_ext |
5917 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5699 | cat >conftest.$ac_ext <<_ACEOF |
5918 | cat >conftest.$ac_ext <<_ACEOF |
5700 | #line $LINENO "configure" |
|
|
5701 | /* confdefs.h. */ |
5919 | /* confdefs.h. */ |
5702 | _ACEOF |
5920 | _ACEOF |
5703 | cat confdefs.h >>conftest.$ac_ext |
5921 | cat confdefs.h >>conftest.$ac_ext |
5704 | cat >>conftest.$ac_ext <<_ACEOF |
5922 | cat >>conftest.$ac_ext <<_ACEOF |
5705 | /* end confdefs.h. */ |
5923 | /* end confdefs.h. */ |
… | |
… | |
5712 | return 0; |
5930 | return 0; |
5713 | } |
5931 | } |
5714 | _ACEOF |
5932 | _ACEOF |
5715 | rm -f conftest.$ac_objext |
5933 | rm -f conftest.$ac_objext |
5716 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5934 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5717 | (eval $ac_compile) 2>&5 |
5935 | (eval $ac_compile) 2>conftest.er1 |
5718 | ac_status=$? |
5936 | ac_status=$? |
|
|
5937 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5938 | rm -f conftest.er1 |
|
|
5939 | cat conftest.err >&5 |
5719 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5940 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5720 | (exit $ac_status); } && |
5941 | (exit $ac_status); } && |
5721 | { ac_try='test -s conftest.$ac_objext' |
5942 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5722 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5943 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5723 | (eval $ac_try) 2>&5 |
5944 | (eval $ac_try) 2>&5 |
5724 | ac_status=$? |
5945 | ac_status=$? |
5725 | 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 |
5726 | (exit $ac_status); }; }; then |
5953 | (exit $ac_status); }; }; then |
5727 | break |
5954 | break |
5728 | else |
5955 | else |
5729 | echo "$as_me: failed program was:" >&5 |
5956 | echo "$as_me: failed program was:" >&5 |
5730 | sed 's/^/| /' conftest.$ac_ext >&5 |
5957 | sed 's/^/| /' conftest.$ac_ext >&5 |
5731 | |
5958 | |
5732 | fi |
5959 | fi |
5733 | rm -f conftest.$ac_objext conftest.$ac_ext |
5960 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5734 | done |
5961 | done |
5735 | rm -f conftest* |
5962 | rm -f conftest* |
5736 | if test -n "$ac_declaration"; then |
5963 | if test -n "$ac_declaration"; then |
5737 | echo '#ifdef __cplusplus' >>confdefs.h |
5964 | echo '#ifdef __cplusplus' >>confdefs.h |
5738 | echo $ac_declaration >>confdefs.h |
5965 | echo $ac_declaration >>confdefs.h |
… | |
… | |
5869 | if test "${ac_cv_prog_gcc_traditional+set}" = set; then |
6096 | if test "${ac_cv_prog_gcc_traditional+set}" = set; then |
5870 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6097 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5871 | else |
6098 | else |
5872 | ac_pattern="Autoconf.*'x'" |
6099 | ac_pattern="Autoconf.*'x'" |
5873 | cat >conftest.$ac_ext <<_ACEOF |
6100 | cat >conftest.$ac_ext <<_ACEOF |
5874 | #line $LINENO "configure" |
|
|
5875 | /* confdefs.h. */ |
6101 | /* confdefs.h. */ |
5876 | _ACEOF |
6102 | _ACEOF |
5877 | cat confdefs.h >>conftest.$ac_ext |
6103 | cat confdefs.h >>conftest.$ac_ext |
5878 | cat >>conftest.$ac_ext <<_ACEOF |
6104 | cat >>conftest.$ac_ext <<_ACEOF |
5879 | /* end confdefs.h. */ |
6105 | /* end confdefs.h. */ |
… | |
… | |
5889 | rm -f conftest* |
6115 | rm -f conftest* |
5890 | |
6116 | |
5891 | |
6117 | |
5892 | if test $ac_cv_prog_gcc_traditional = no; then |
6118 | if test $ac_cv_prog_gcc_traditional = no; then |
5893 | cat >conftest.$ac_ext <<_ACEOF |
6119 | cat >conftest.$ac_ext <<_ACEOF |
5894 | #line $LINENO "configure" |
|
|
5895 | /* confdefs.h. */ |
6120 | /* confdefs.h. */ |
5896 | _ACEOF |
6121 | _ACEOF |
5897 | cat confdefs.h >>conftest.$ac_ext |
6122 | cat confdefs.h >>conftest.$ac_ext |
5898 | cat >>conftest.$ac_ext <<_ACEOF |
6123 | cat >>conftest.$ac_ext <<_ACEOF |
5899 | /* end confdefs.h. */ |
6124 | /* end confdefs.h. */ |
… | |
… | |
5964 | # AIX /bin/install |
6189 | # AIX /bin/install |
5965 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
6190 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
5966 | # 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 |
5967 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
6192 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
5968 | # 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 |
5969 | # ./install, which can be erroneously created by make from ./install.sh. |
6195 | # ./install, which can be erroneously created by make from ./install.sh. |
5970 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
6196 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
5971 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
6197 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
5972 | if test -z "$INSTALL"; then |
6198 | if test -z "$INSTALL"; then |
5973 | if test "${ac_cv_path_install+set}" = set; then |
6199 | if test "${ac_cv_path_install+set}" = set; then |
… | |
… | |
5980 | test -z "$as_dir" && as_dir=. |
6206 | test -z "$as_dir" && as_dir=. |
5981 | # Account for people who put trailing slashes in PATH elements. |
6207 | # Account for people who put trailing slashes in PATH elements. |
5982 | case $as_dir/ in |
6208 | case $as_dir/ in |
5983 | ./ | .// | /cC/* | \ |
6209 | ./ | .// | /cC/* | \ |
5984 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
6210 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
|
|
6211 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
5985 | /usr/ucb/* ) ;; |
6212 | /usr/ucb/* ) ;; |
5986 | *) |
6213 | *) |
5987 | # 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. |
5988 | # 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 |
5989 | # by default. |
6216 | # by default. |
5990 | for ac_prog in ginstall scoinst install; do |
6217 | for ac_prog in ginstall scoinst install; do |
5991 | for ac_exec_ext in '' $ac_executable_extensions; do |
6218 | for ac_exec_ext in '' $ac_executable_extensions; do |
5992 | 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 |
5993 | if test $ac_prog = install && |
6220 | if test $ac_prog = install && |
5994 | 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 |
5995 | # AIX install. It has an incompatible calling convention. |
6222 | # AIX install. It has an incompatible calling convention. |
5996 | : |
6223 | : |
5997 | elif test $ac_prog = install && |
6224 | elif test $ac_prog = install && |
5998 | 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 |
5999 | # program-specific install script used by HP pwplus--don't use. |
6226 | # program-specific install script used by HP pwplus--don't use. |
6000 | : |
6227 | : |
6001 | else |
6228 | else |
6002 | 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" |
6003 | break 3 |
6230 | break 3 |
6004 | fi |
6231 | fi |
6005 | fi |
6232 | fi |
6006 | done |
6233 | done |
6007 | done |
6234 | done |
6008 | ;; |
6235 | ;; |
6009 | esac |
6236 | esac |
6010 | done |
6237 | done |
… | |
… | |
6043 | echo "${ECHO_T}no, using $LN_S" >&6 |
6270 | echo "${ECHO_T}no, using $LN_S" >&6 |
6044 | fi |
6271 | fi |
6045 | |
6272 | |
6046 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
6273 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
6047 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
6274 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
6048 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
6275 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
6049 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
6276 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
6050 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6277 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6051 | else |
6278 | else |
6052 | cat >conftest.make <<\_ACEOF |
6279 | cat >conftest.make <<\_ACEOF |
6053 | all: |
6280 | all: |
… | |
… | |
6151 | else |
6378 | else |
6152 | RANLIB="$ac_cv_prog_RANLIB" |
6379 | RANLIB="$ac_cv_prog_RANLIB" |
6153 | fi |
6380 | fi |
6154 | |
6381 | |
6155 | |
6382 | |
6156 | |
|
|
6157 | echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5 |
|
|
6158 | echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6 |
|
|
6159 | if test "${ac_cv_lib_cposix_strerror+set}" = set; then |
|
|
6160 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
6161 | else |
|
|
6162 | ac_check_lib_save_LIBS=$LIBS |
|
|
6163 | LIBS="-lcposix $LIBS" |
|
|
6164 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6165 | #line $LINENO "configure" |
|
|
6166 | /* confdefs.h. */ |
|
|
6167 | _ACEOF |
|
|
6168 | cat confdefs.h >>conftest.$ac_ext |
|
|
6169 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6170 | /* end confdefs.h. */ |
|
|
6171 | |
|
|
6172 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
6173 | #ifdef __cplusplus |
|
|
6174 | extern "C" |
|
|
6175 | #endif |
|
|
6176 | /* We use char because int might match the return type of a gcc2 |
|
|
6177 | builtin and then its argument prototype would still apply. */ |
|
|
6178 | char strerror (); |
|
|
6179 | int |
|
|
6180 | main () |
|
|
6181 | { |
|
|
6182 | strerror (); |
|
|
6183 | ; |
|
|
6184 | return 0; |
|
|
6185 | } |
|
|
6186 | _ACEOF |
|
|
6187 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
6188 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
6189 | (eval $ac_link) 2>&5 |
|
|
6190 | ac_status=$? |
|
|
6191 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6192 | (exit $ac_status); } && |
|
|
6193 | { ac_try='test -s conftest$ac_exeext' |
|
|
6194 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
6195 | (eval $ac_try) 2>&5 |
|
|
6196 | ac_status=$? |
|
|
6197 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6198 | (exit $ac_status); }; }; then |
|
|
6199 | ac_cv_lib_cposix_strerror=yes |
|
|
6200 | else |
|
|
6201 | echo "$as_me: failed program was:" >&5 |
|
|
6202 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6203 | |
|
|
6204 | ac_cv_lib_cposix_strerror=no |
|
|
6205 | fi |
|
|
6206 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
|
6207 | LIBS=$ac_check_lib_save_LIBS |
|
|
6208 | fi |
|
|
6209 | echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5 |
|
|
6210 | echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6 |
|
|
6211 | if test $ac_cv_lib_cposix_strerror = yes; then |
|
|
6212 | LIBS="$LIBS -lcposix" |
|
|
6213 | fi |
|
|
6214 | |
|
|
6215 | |
|
|
6216 | |
|
|
6217 | |
|
|
6218 | # Check whether --enable-iftype or --disable-iftype was given. |
6383 | # Check whether --enable-iftype or --disable-iftype was given. |
6219 | if test "${enable_iftype+set}" = set; then |
6384 | if test "${enable_iftype+set}" = set; then |
6220 | enableval="$enable_iftype" |
6385 | enableval="$enable_iftype" |
6221 | |
6386 | |
6222 | IFTYPE=`echo $enableval | sed s%/.*%%` |
6387 | IFTYPE=`echo $enableval | sed s%/.*%%` |
… | |
… | |
6283 | #define HAVE_NETBSD 1 |
6448 | #define HAVE_NETBSD 1 |
6284 | _ACEOF |
6449 | _ACEOF |
6285 | |
6450 | |
6286 | ;; |
6451 | ;; |
6287 | *cygwin*) |
6452 | *cygwin*) |
6288 | IFTYPE=tincd |
6453 | IFTYPE=native |
6289 | IFSUBTYPE=cygwin |
6454 | IFSUBTYPE=cygwin |
6290 | |
6455 | |
6291 | cat >>confdefs.h <<\_ACEOF |
6456 | cat >>confdefs.h <<\_ACEOF |
6292 | #define HAVE_CYGWIN 1 |
6457 | #define HAVE_CYGWIN 1 |
6293 | _ACEOF |
6458 | _ACEOF |
… | |
… | |
6303 | echo "$as_me:$LINENO: result: $IFTYPE/$IFSUBTYPE" >&5 |
6468 | echo "$as_me:$LINENO: result: $IFTYPE/$IFSUBTYPE" >&5 |
6304 | echo "${ECHO_T}$IFTYPE/$IFSUBTYPE" >&6 |
6469 | echo "${ECHO_T}$IFTYPE/$IFSUBTYPE" >&6 |
6305 | IFTYPE=$IFTYPE |
6470 | IFTYPE=$IFTYPE |
6306 | |
6471 | |
6307 | IFSUBTYPE=$IFSUBTYPE |
6472 | IFSUBTYPE=$IFSUBTYPE |
|
|
6473 | |
|
|
6474 | |
|
|
6475 | cat >>confdefs.h <<_ACEOF |
|
|
6476 | #define IFTYPE "$IFTYPE" |
|
|
6477 | _ACEOF |
|
|
6478 | |
|
|
6479 | |
|
|
6480 | cat >>confdefs.h <<_ACEOF |
|
|
6481 | #define IFSUBTYPE "$IFSUBTYPE" |
|
|
6482 | _ACEOF |
6308 | |
6483 | |
6309 | |
6484 | |
6310 | cat >confcache <<\_ACEOF |
6485 | cat >confcache <<\_ACEOF |
6311 | # 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 |
6312 | # 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 |
… | |
… | |
6333 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
6508 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
6334 | *ac_space=\ *) |
6509 | *ac_space=\ *) |
6335 | # `set' does not quote correctly, so add quotes (double-quote |
6510 | # `set' does not quote correctly, so add quotes (double-quote |
6336 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
6511 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
6337 | sed -n \ |
6512 | sed -n \ |
6338 | "s/'/'\\\\''/g; |
6513 | "s/'/'\\\\''/g; |
6339 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
6514 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
6340 | ;; |
6515 | ;; |
6341 | *) |
6516 | *) |
6342 | # `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. |
6343 | sed -n \ |
6518 | sed -n \ |
6344 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
6519 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
6345 | ;; |
6520 | ;; |
6346 | esac; |
6521 | esac; |
6347 | } | |
6522 | } | |
6348 | sed ' |
6523 | sed ' |
6349 | t clear |
6524 | t clear |
… | |
… | |
6392 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
6567 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
6393 | # <limits.h> exists even on freestanding compilers. |
6568 | # <limits.h> exists even on freestanding compilers. |
6394 | # 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, |
6395 | # 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. |
6396 | cat >conftest.$ac_ext <<_ACEOF |
6571 | cat >conftest.$ac_ext <<_ACEOF |
6397 | #line $LINENO "configure" |
|
|
6398 | /* confdefs.h. */ |
6572 | /* confdefs.h. */ |
6399 | _ACEOF |
6573 | _ACEOF |
6400 | cat confdefs.h >>conftest.$ac_ext |
6574 | cat confdefs.h >>conftest.$ac_ext |
6401 | cat >>conftest.$ac_ext <<_ACEOF |
6575 | cat >>conftest.$ac_ext <<_ACEOF |
6402 | /* end confdefs.h. */ |
6576 | /* end confdefs.h. */ |
6403 | #ifdef __STDC__ |
6577 | #ifdef __STDC__ |
6404 | # include <limits.h> |
6578 | # include <limits.h> |
6405 | #else |
6579 | #else |
6406 | # include <assert.h> |
6580 | # include <assert.h> |
6407 | #endif |
6581 | #endif |
6408 | Syntax error |
6582 | Syntax error |
6409 | _ACEOF |
6583 | _ACEOF |
6410 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6584 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6411 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6585 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6412 | ac_status=$? |
6586 | ac_status=$? |
6413 | grep -v '^ *+' conftest.er1 >conftest.err |
6587 | grep -v '^ *+' conftest.er1 >conftest.err |
… | |
… | |
6415 | cat conftest.err >&5 |
6589 | cat conftest.err >&5 |
6416 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6590 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6417 | (exit $ac_status); } >/dev/null; then |
6591 | (exit $ac_status); } >/dev/null; then |
6418 | if test -s conftest.err; then |
6592 | if test -s conftest.err; then |
6419 | 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 |
6420 | else |
6595 | else |
6421 | ac_cpp_err= |
6596 | ac_cpp_err= |
6422 | fi |
6597 | fi |
6423 | else |
6598 | else |
6424 | ac_cpp_err=yes |
6599 | ac_cpp_err=yes |
… | |
… | |
6435 | rm -f conftest.err conftest.$ac_ext |
6610 | rm -f conftest.err conftest.$ac_ext |
6436 | |
6611 | |
6437 | # OK, works on sane cases. Now check whether non-existent headers |
6612 | # OK, works on sane cases. Now check whether non-existent headers |
6438 | # can be detected and how. |
6613 | # can be detected and how. |
6439 | cat >conftest.$ac_ext <<_ACEOF |
6614 | cat >conftest.$ac_ext <<_ACEOF |
6440 | #line $LINENO "configure" |
|
|
6441 | /* confdefs.h. */ |
6615 | /* confdefs.h. */ |
6442 | _ACEOF |
6616 | _ACEOF |
6443 | cat confdefs.h >>conftest.$ac_ext |
6617 | cat confdefs.h >>conftest.$ac_ext |
6444 | cat >>conftest.$ac_ext <<_ACEOF |
6618 | cat >>conftest.$ac_ext <<_ACEOF |
6445 | /* end confdefs.h. */ |
6619 | /* end confdefs.h. */ |
… | |
… | |
6453 | cat conftest.err >&5 |
6627 | cat conftest.err >&5 |
6454 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6628 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6455 | (exit $ac_status); } >/dev/null; then |
6629 | (exit $ac_status); } >/dev/null; then |
6456 | if test -s conftest.err; then |
6630 | if test -s conftest.err; then |
6457 | 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 |
6458 | else |
6633 | else |
6459 | ac_cpp_err= |
6634 | ac_cpp_err= |
6460 | fi |
6635 | fi |
6461 | else |
6636 | else |
6462 | ac_cpp_err=yes |
6637 | ac_cpp_err=yes |
… | |
… | |
6499 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
6674 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
6500 | # <limits.h> exists even on freestanding compilers. |
6675 | # <limits.h> exists even on freestanding compilers. |
6501 | # 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, |
6502 | # 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. |
6503 | cat >conftest.$ac_ext <<_ACEOF |
6678 | cat >conftest.$ac_ext <<_ACEOF |
6504 | #line $LINENO "configure" |
|
|
6505 | /* confdefs.h. */ |
6679 | /* confdefs.h. */ |
6506 | _ACEOF |
6680 | _ACEOF |
6507 | cat confdefs.h >>conftest.$ac_ext |
6681 | cat confdefs.h >>conftest.$ac_ext |
6508 | cat >>conftest.$ac_ext <<_ACEOF |
6682 | cat >>conftest.$ac_ext <<_ACEOF |
6509 | /* end confdefs.h. */ |
6683 | /* end confdefs.h. */ |
6510 | #ifdef __STDC__ |
6684 | #ifdef __STDC__ |
6511 | # include <limits.h> |
6685 | # include <limits.h> |
6512 | #else |
6686 | #else |
6513 | # include <assert.h> |
6687 | # include <assert.h> |
6514 | #endif |
6688 | #endif |
6515 | Syntax error |
6689 | Syntax error |
6516 | _ACEOF |
6690 | _ACEOF |
6517 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6691 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6518 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6692 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6519 | ac_status=$? |
6693 | ac_status=$? |
6520 | grep -v '^ *+' conftest.er1 >conftest.err |
6694 | grep -v '^ *+' conftest.er1 >conftest.err |
… | |
… | |
6522 | cat conftest.err >&5 |
6696 | cat conftest.err >&5 |
6523 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6697 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6524 | (exit $ac_status); } >/dev/null; then |
6698 | (exit $ac_status); } >/dev/null; then |
6525 | if test -s conftest.err; then |
6699 | if test -s conftest.err; then |
6526 | 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 |
6527 | else |
6702 | else |
6528 | ac_cpp_err= |
6703 | ac_cpp_err= |
6529 | fi |
6704 | fi |
6530 | else |
6705 | else |
6531 | ac_cpp_err=yes |
6706 | ac_cpp_err=yes |
… | |
… | |
6542 | rm -f conftest.err conftest.$ac_ext |
6717 | rm -f conftest.err conftest.$ac_ext |
6543 | |
6718 | |
6544 | # OK, works on sane cases. Now check whether non-existent headers |
6719 | # OK, works on sane cases. Now check whether non-existent headers |
6545 | # can be detected and how. |
6720 | # can be detected and how. |
6546 | cat >conftest.$ac_ext <<_ACEOF |
6721 | cat >conftest.$ac_ext <<_ACEOF |
6547 | #line $LINENO "configure" |
|
|
6548 | /* confdefs.h. */ |
6722 | /* confdefs.h. */ |
6549 | _ACEOF |
6723 | _ACEOF |
6550 | cat confdefs.h >>conftest.$ac_ext |
6724 | cat confdefs.h >>conftest.$ac_ext |
6551 | cat >>conftest.$ac_ext <<_ACEOF |
6725 | cat >>conftest.$ac_ext <<_ACEOF |
6552 | /* end confdefs.h. */ |
6726 | /* end confdefs.h. */ |
… | |
… | |
6560 | cat conftest.err >&5 |
6734 | cat conftest.err >&5 |
6561 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6735 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6562 | (exit $ac_status); } >/dev/null; then |
6736 | (exit $ac_status); } >/dev/null; then |
6563 | if test -s conftest.err; then |
6737 | if test -s conftest.err; then |
6564 | 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 |
6565 | else |
6740 | else |
6566 | ac_cpp_err= |
6741 | ac_cpp_err= |
6567 | fi |
6742 | fi |
6568 | else |
6743 | else |
6569 | ac_cpp_err=yes |
6744 | ac_cpp_err=yes |
… | |
… | |
6605 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
6780 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
6606 | if test "${ac_cv_header_stdc+set}" = set; then |
6781 | if test "${ac_cv_header_stdc+set}" = set; then |
6607 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6782 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6608 | else |
6783 | else |
6609 | cat >conftest.$ac_ext <<_ACEOF |
6784 | cat >conftest.$ac_ext <<_ACEOF |
6610 | #line $LINENO "configure" |
|
|
6611 | /* confdefs.h. */ |
6785 | /* confdefs.h. */ |
6612 | _ACEOF |
6786 | _ACEOF |
6613 | cat confdefs.h >>conftest.$ac_ext |
6787 | cat confdefs.h >>conftest.$ac_ext |
6614 | cat >>conftest.$ac_ext <<_ACEOF |
6788 | cat >>conftest.$ac_ext <<_ACEOF |
6615 | /* end confdefs.h. */ |
6789 | /* end confdefs.h. */ |
… | |
… | |
6626 | return 0; |
6800 | return 0; |
6627 | } |
6801 | } |
6628 | _ACEOF |
6802 | _ACEOF |
6629 | rm -f conftest.$ac_objext |
6803 | rm -f conftest.$ac_objext |
6630 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6804 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6631 | (eval $ac_compile) 2>&5 |
6805 | (eval $ac_compile) 2>conftest.er1 |
6632 | ac_status=$? |
6806 | ac_status=$? |
|
|
6807 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6808 | rm -f conftest.er1 |
|
|
6809 | cat conftest.err >&5 |
6633 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6810 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6634 | (exit $ac_status); } && |
6811 | (exit $ac_status); } && |
6635 | { ac_try='test -s conftest.$ac_objext' |
6812 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6636 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6813 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6637 | (eval $ac_try) 2>&5 |
6814 | (eval $ac_try) 2>&5 |
6638 | ac_status=$? |
6815 | ac_status=$? |
6639 | 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 |
6640 | (exit $ac_status); }; }; then |
6823 | (exit $ac_status); }; }; then |
6641 | ac_cv_header_stdc=yes |
6824 | ac_cv_header_stdc=yes |
6642 | else |
6825 | else |
6643 | echo "$as_me: failed program was:" >&5 |
6826 | echo "$as_me: failed program was:" >&5 |
6644 | sed 's/^/| /' conftest.$ac_ext >&5 |
6827 | sed 's/^/| /' conftest.$ac_ext >&5 |
6645 | |
6828 | |
6646 | ac_cv_header_stdc=no |
6829 | ac_cv_header_stdc=no |
6647 | fi |
6830 | fi |
6648 | rm -f conftest.$ac_objext conftest.$ac_ext |
6831 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6649 | |
6832 | |
6650 | if test $ac_cv_header_stdc = yes; then |
6833 | if test $ac_cv_header_stdc = yes; then |
6651 | # 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. |
6652 | cat >conftest.$ac_ext <<_ACEOF |
6835 | cat >conftest.$ac_ext <<_ACEOF |
6653 | #line $LINENO "configure" |
|
|
6654 | /* confdefs.h. */ |
6836 | /* confdefs.h. */ |
6655 | _ACEOF |
6837 | _ACEOF |
6656 | cat confdefs.h >>conftest.$ac_ext |
6838 | cat confdefs.h >>conftest.$ac_ext |
6657 | cat >>conftest.$ac_ext <<_ACEOF |
6839 | cat >>conftest.$ac_ext <<_ACEOF |
6658 | /* end confdefs.h. */ |
6840 | /* end confdefs.h. */ |
… | |
… | |
6670 | fi |
6852 | fi |
6671 | |
6853 | |
6672 | if test $ac_cv_header_stdc = yes; then |
6854 | if test $ac_cv_header_stdc = yes; then |
6673 | # 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. |
6674 | cat >conftest.$ac_ext <<_ACEOF |
6856 | cat >conftest.$ac_ext <<_ACEOF |
6675 | #line $LINENO "configure" |
|
|
6676 | /* confdefs.h. */ |
6857 | /* confdefs.h. */ |
6677 | _ACEOF |
6858 | _ACEOF |
6678 | cat confdefs.h >>conftest.$ac_ext |
6859 | cat confdefs.h >>conftest.$ac_ext |
6679 | cat >>conftest.$ac_ext <<_ACEOF |
6860 | cat >>conftest.$ac_ext <<_ACEOF |
6680 | /* end confdefs.h. */ |
6861 | /* end confdefs.h. */ |
… | |
… | |
6695 | # /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. |
6696 | if test "$cross_compiling" = yes; then |
6877 | if test "$cross_compiling" = yes; then |
6697 | : |
6878 | : |
6698 | else |
6879 | else |
6699 | cat >conftest.$ac_ext <<_ACEOF |
6880 | cat >conftest.$ac_ext <<_ACEOF |
6700 | #line $LINENO "configure" |
|
|
6701 | /* confdefs.h. */ |
6881 | /* confdefs.h. */ |
6702 | _ACEOF |
6882 | _ACEOF |
6703 | cat confdefs.h >>conftest.$ac_ext |
6883 | cat confdefs.h >>conftest.$ac_ext |
6704 | cat >>conftest.$ac_ext <<_ACEOF |
6884 | cat >>conftest.$ac_ext <<_ACEOF |
6705 | /* end confdefs.h. */ |
6885 | /* end confdefs.h. */ |
… | |
… | |
6707 | #if ((' ' & 0x0FF) == 0x020) |
6887 | #if ((' ' & 0x0FF) == 0x020) |
6708 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
6888 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
6709 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
6889 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
6710 | #else |
6890 | #else |
6711 | # define ISLOWER(c) \ |
6891 | # define ISLOWER(c) \ |
6712 | (('a' <= (c) && (c) <= 'i') \ |
6892 | (('a' <= (c) && (c) <= 'i') \ |
6713 | || ('j' <= (c) && (c) <= 'r') \ |
6893 | || ('j' <= (c) && (c) <= 'r') \ |
6714 | || ('s' <= (c) && (c) <= 'z')) |
6894 | || ('s' <= (c) && (c) <= 'z')) |
6715 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
6895 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
6716 | #endif |
6896 | #endif |
6717 | |
6897 | |
6718 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
6898 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
6719 | int |
6899 | int |
6720 | main () |
6900 | main () |
6721 | { |
6901 | { |
6722 | int i; |
6902 | int i; |
6723 | for (i = 0; i < 256; i++) |
6903 | for (i = 0; i < 256; i++) |
6724 | if (XOR (islower (i), ISLOWER (i)) |
6904 | if (XOR (islower (i), ISLOWER (i)) |
6725 | || toupper (i) != TOUPPER (i)) |
6905 | || toupper (i) != TOUPPER (i)) |
6726 | exit(2); |
6906 | exit(2); |
6727 | exit (0); |
6907 | exit (0); |
6728 | } |
6908 | } |
6729 | _ACEOF |
6909 | _ACEOF |
6730 | rm -f conftest$ac_exeext |
6910 | rm -f conftest$ac_exeext |
… | |
… | |
6770 | |
6950 | |
6771 | |
6951 | |
6772 | |
6952 | |
6773 | |
6953 | |
6774 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
6954 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
6775 | inttypes.h stdint.h unistd.h |
6955 | inttypes.h stdint.h unistd.h |
6776 | do |
6956 | do |
6777 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6957 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6778 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6958 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6779 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6959 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6780 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6960 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6781 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6961 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6782 | else |
6962 | else |
6783 | cat >conftest.$ac_ext <<_ACEOF |
6963 | cat >conftest.$ac_ext <<_ACEOF |
6784 | #line $LINENO "configure" |
|
|
6785 | /* confdefs.h. */ |
6964 | /* confdefs.h. */ |
6786 | _ACEOF |
6965 | _ACEOF |
6787 | cat confdefs.h >>conftest.$ac_ext |
6966 | cat confdefs.h >>conftest.$ac_ext |
6788 | cat >>conftest.$ac_ext <<_ACEOF |
6967 | cat >>conftest.$ac_ext <<_ACEOF |
6789 | /* end confdefs.h. */ |
6968 | /* end confdefs.h. */ |
… | |
… | |
6791 | |
6970 | |
6792 | #include <$ac_header> |
6971 | #include <$ac_header> |
6793 | _ACEOF |
6972 | _ACEOF |
6794 | rm -f conftest.$ac_objext |
6973 | rm -f conftest.$ac_objext |
6795 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6974 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6796 | (eval $ac_compile) 2>&5 |
6975 | (eval $ac_compile) 2>conftest.er1 |
6797 | ac_status=$? |
6976 | ac_status=$? |
|
|
6977 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6978 | rm -f conftest.er1 |
|
|
6979 | cat conftest.err >&5 |
6798 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6980 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6799 | (exit $ac_status); } && |
6981 | (exit $ac_status); } && |
6800 | { ac_try='test -s conftest.$ac_objext' |
6982 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6801 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6983 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6802 | (eval $ac_try) 2>&5 |
6984 | (eval $ac_try) 2>&5 |
6803 | ac_status=$? |
6985 | ac_status=$? |
6804 | 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 |
6805 | (exit $ac_status); }; }; then |
6993 | (exit $ac_status); }; }; then |
6806 | eval "$as_ac_Header=yes" |
6994 | eval "$as_ac_Header=yes" |
6807 | else |
6995 | else |
6808 | echo "$as_me: failed program was:" >&5 |
6996 | echo "$as_me: failed program was:" >&5 |
6809 | sed 's/^/| /' conftest.$ac_ext >&5 |
6997 | sed 's/^/| /' conftest.$ac_ext >&5 |
6810 | |
6998 | |
6811 | eval "$as_ac_Header=no" |
6999 | eval "$as_ac_Header=no" |
6812 | fi |
7000 | fi |
6813 | rm -f conftest.$ac_objext conftest.$ac_ext |
7001 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6814 | fi |
7002 | fi |
6815 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7003 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6816 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7004 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
6817 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
7005 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
6818 | cat >>confdefs.h <<_ACEOF |
7006 | cat >>confdefs.h <<_ACEOF |
… | |
… | |
6839 | else |
7027 | else |
6840 | # Is the header compilable? |
7028 | # Is the header compilable? |
6841 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
7029 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
6842 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
7030 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
6843 | cat >conftest.$ac_ext <<_ACEOF |
7031 | cat >conftest.$ac_ext <<_ACEOF |
6844 | #line $LINENO "configure" |
|
|
6845 | /* confdefs.h. */ |
7032 | /* confdefs.h. */ |
6846 | _ACEOF |
7033 | _ACEOF |
6847 | cat confdefs.h >>conftest.$ac_ext |
7034 | cat confdefs.h >>conftest.$ac_ext |
6848 | cat >>conftest.$ac_ext <<_ACEOF |
7035 | cat >>conftest.$ac_ext <<_ACEOF |
6849 | /* end confdefs.h. */ |
7036 | /* end confdefs.h. */ |
6850 | $ac_includes_default |
7037 | $ac_includes_default |
6851 | #include <$ac_header> |
7038 | #include <$ac_header> |
6852 | _ACEOF |
7039 | _ACEOF |
6853 | rm -f conftest.$ac_objext |
7040 | rm -f conftest.$ac_objext |
6854 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7041 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6855 | (eval $ac_compile) 2>&5 |
7042 | (eval $ac_compile) 2>conftest.er1 |
6856 | ac_status=$? |
7043 | ac_status=$? |
|
|
7044 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7045 | rm -f conftest.er1 |
|
|
7046 | cat conftest.err >&5 |
6857 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7047 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6858 | (exit $ac_status); } && |
7048 | (exit $ac_status); } && |
6859 | { ac_try='test -s conftest.$ac_objext' |
7049 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6860 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7050 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6861 | (eval $ac_try) 2>&5 |
7051 | (eval $ac_try) 2>&5 |
6862 | ac_status=$? |
7052 | ac_status=$? |
6863 | 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 |
6864 | (exit $ac_status); }; }; then |
7060 | (exit $ac_status); }; }; then |
6865 | ac_header_compiler=yes |
7061 | ac_header_compiler=yes |
6866 | else |
7062 | else |
6867 | echo "$as_me: failed program was:" >&5 |
7063 | echo "$as_me: failed program was:" >&5 |
6868 | sed 's/^/| /' conftest.$ac_ext >&5 |
7064 | sed 's/^/| /' conftest.$ac_ext >&5 |
6869 | |
7065 | |
6870 | ac_header_compiler=no |
7066 | ac_header_compiler=no |
6871 | fi |
7067 | fi |
6872 | rm -f conftest.$ac_objext conftest.$ac_ext |
7068 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6873 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
7069 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
6874 | echo "${ECHO_T}$ac_header_compiler" >&6 |
7070 | echo "${ECHO_T}$ac_header_compiler" >&6 |
6875 | |
7071 | |
6876 | # Is the header present? |
7072 | # Is the header present? |
6877 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
7073 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
6878 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
7074 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
6879 | cat >conftest.$ac_ext <<_ACEOF |
7075 | cat >conftest.$ac_ext <<_ACEOF |
6880 | #line $LINENO "configure" |
|
|
6881 | /* confdefs.h. */ |
7076 | /* confdefs.h. */ |
6882 | _ACEOF |
7077 | _ACEOF |
6883 | cat confdefs.h >>conftest.$ac_ext |
7078 | cat confdefs.h >>conftest.$ac_ext |
6884 | cat >>conftest.$ac_ext <<_ACEOF |
7079 | cat >>conftest.$ac_ext <<_ACEOF |
6885 | /* end confdefs.h. */ |
7080 | /* end confdefs.h. */ |
… | |
… | |
6893 | cat conftest.err >&5 |
7088 | cat conftest.err >&5 |
6894 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7089 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6895 | (exit $ac_status); } >/dev/null; then |
7090 | (exit $ac_status); } >/dev/null; then |
6896 | if test -s conftest.err; then |
7091 | if test -s conftest.err; then |
6897 | 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 |
6898 | else |
7094 | else |
6899 | ac_cpp_err= |
7095 | ac_cpp_err= |
6900 | fi |
7096 | fi |
6901 | else |
7097 | else |
6902 | ac_cpp_err=yes |
7098 | ac_cpp_err=yes |
… | |
… | |
6912 | rm -f conftest.err conftest.$ac_ext |
7108 | rm -f conftest.err conftest.$ac_ext |
6913 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
7109 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
6914 | echo "${ECHO_T}$ac_header_preproc" >&6 |
7110 | echo "${ECHO_T}$ac_header_preproc" >&6 |
6915 | |
7111 | |
6916 | # So? What about this header? |
7112 | # So? What about this header? |
6917 | case $ac_header_compiler:$ac_header_preproc in |
7113 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
6918 | yes:no ) |
7114 | yes:no: ) |
6919 | { 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 |
6920 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
7116 | echo "$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 |
|
|
7118 | echo "$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 |
|
|
7123 | echo "$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 |
|
|
7125 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
7126 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
7127 | echo "$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 |
|
|
7129 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
6921 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
7130 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
6922 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
7131 | echo "$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 |
|
|
7133 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
6923 | ( |
7134 | ( |
6924 | cat <<\_ASBOX |
7135 | cat <<\_ASBOX |
6925 | ## ------------------------------------ ## |
7136 | ## ------------------------------------------ ## |
6926 | ## Report this to bug-autoconf@gnu.org. ## |
7137 | ## Report this to the AC_PACKAGE_NAME lists. ## |
6927 | ## ------------------------------------ ## |
7138 | ## ------------------------------------------ ## |
6928 | _ASBOX |
|
|
6929 | ) | |
|
|
6930 | sed "s/^/$as_me: WARNING: /" >&2 |
|
|
6931 | ;; |
|
|
6932 | no:yes ) |
|
|
6933 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
6934 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
6935 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
6936 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
6937 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
6938 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
6939 | ( |
|
|
6940 | cat <<\_ASBOX |
|
|
6941 | ## ------------------------------------ ## |
|
|
6942 | ## Report this to bug-autoconf@gnu.org. ## |
|
|
6943 | ## ------------------------------------ ## |
|
|
6944 | _ASBOX |
7139 | _ASBOX |
6945 | ) | |
7140 | ) | |
6946 | sed "s/^/$as_me: WARNING: /" >&2 |
7141 | sed "s/^/$as_me: WARNING: /" >&2 |
6947 | ;; |
7142 | ;; |
6948 | esac |
7143 | esac |
6949 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7144 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6950 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7145 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6951 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7146 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6952 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7147 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6953 | else |
7148 | else |
6954 | eval "$as_ac_Header=$ac_header_preproc" |
7149 | eval "$as_ac_Header=\$ac_header_preproc" |
6955 | fi |
7150 | fi |
6956 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7151 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6957 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7152 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
6958 | |
7153 | |
6959 | fi |
7154 | fi |
… | |
… | |
6981 | |
7176 | |
6982 | |
7177 | |
6983 | |
7178 | |
6984 | |
7179 | |
6985 | |
7180 | |
6986 | |
|
|
6987 | |
|
|
6988 | for ac_header in fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \ |
7181 | for ac_header in fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \ |
6989 | sys/file.h sys/ioctl.h sys/param.h sys/time.h netinet/in_systm.h cygwin.h arpa/inet.h \ |
7182 | sys/file.h sys/ioctl.h sys/param.h sys/time.h netinet/in_systm.h sys/cygwin.h \ |
6990 | sys/poll.h sys/mman.h netinet/in.h |
7183 | sys/mman.h netinet/in.h |
6991 | do |
7184 | do |
6992 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7185 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6993 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7186 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6994 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7187 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6995 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7188 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
… | |
… | |
7001 | else |
7194 | else |
7002 | # Is the header compilable? |
7195 | # Is the header compilable? |
7003 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
7196 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
7004 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
7197 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
7005 | cat >conftest.$ac_ext <<_ACEOF |
7198 | cat >conftest.$ac_ext <<_ACEOF |
7006 | #line $LINENO "configure" |
|
|
7007 | /* confdefs.h. */ |
7199 | /* confdefs.h. */ |
7008 | _ACEOF |
7200 | _ACEOF |
7009 | cat confdefs.h >>conftest.$ac_ext |
7201 | cat confdefs.h >>conftest.$ac_ext |
7010 | cat >>conftest.$ac_ext <<_ACEOF |
7202 | cat >>conftest.$ac_ext <<_ACEOF |
7011 | /* end confdefs.h. */ |
7203 | /* end confdefs.h. */ |
7012 | $ac_includes_default |
7204 | $ac_includes_default |
7013 | #include <$ac_header> |
7205 | #include <$ac_header> |
7014 | _ACEOF |
7206 | _ACEOF |
7015 | rm -f conftest.$ac_objext |
7207 | rm -f conftest.$ac_objext |
7016 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7208 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7017 | (eval $ac_compile) 2>&5 |
7209 | (eval $ac_compile) 2>conftest.er1 |
7018 | ac_status=$? |
7210 | ac_status=$? |
|
|
7211 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7212 | rm -f conftest.er1 |
|
|
7213 | cat conftest.err >&5 |
7019 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7214 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7020 | (exit $ac_status); } && |
7215 | (exit $ac_status); } && |
7021 | { ac_try='test -s conftest.$ac_objext' |
7216 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7022 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7217 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7023 | (eval $ac_try) 2>&5 |
7218 | (eval $ac_try) 2>&5 |
7024 | ac_status=$? |
7219 | ac_status=$? |
7025 | 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 |
7026 | (exit $ac_status); }; }; then |
7227 | (exit $ac_status); }; }; then |
7027 | ac_header_compiler=yes |
7228 | ac_header_compiler=yes |
7028 | else |
7229 | else |
7029 | echo "$as_me: failed program was:" >&5 |
7230 | echo "$as_me: failed program was:" >&5 |
7030 | sed 's/^/| /' conftest.$ac_ext >&5 |
7231 | sed 's/^/| /' conftest.$ac_ext >&5 |
7031 | |
7232 | |
7032 | ac_header_compiler=no |
7233 | ac_header_compiler=no |
7033 | fi |
7234 | fi |
7034 | rm -f conftest.$ac_objext conftest.$ac_ext |
7235 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7035 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
7236 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
7036 | echo "${ECHO_T}$ac_header_compiler" >&6 |
7237 | echo "${ECHO_T}$ac_header_compiler" >&6 |
7037 | |
7238 | |
7038 | # Is the header present? |
7239 | # Is the header present? |
7039 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
7240 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
7040 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
7241 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
7041 | cat >conftest.$ac_ext <<_ACEOF |
7242 | cat >conftest.$ac_ext <<_ACEOF |
7042 | #line $LINENO "configure" |
|
|
7043 | /* confdefs.h. */ |
7243 | /* confdefs.h. */ |
7044 | _ACEOF |
7244 | _ACEOF |
7045 | cat confdefs.h >>conftest.$ac_ext |
7245 | cat confdefs.h >>conftest.$ac_ext |
7046 | cat >>conftest.$ac_ext <<_ACEOF |
7246 | cat >>conftest.$ac_ext <<_ACEOF |
7047 | /* end confdefs.h. */ |
7247 | /* end confdefs.h. */ |
… | |
… | |
7055 | cat conftest.err >&5 |
7255 | cat conftest.err >&5 |
7056 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7256 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7057 | (exit $ac_status); } >/dev/null; then |
7257 | (exit $ac_status); } >/dev/null; then |
7058 | if test -s conftest.err; then |
7258 | if test -s conftest.err; then |
7059 | 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 |
7060 | else |
7261 | else |
7061 | ac_cpp_err= |
7262 | ac_cpp_err= |
7062 | fi |
7263 | fi |
7063 | else |
7264 | else |
7064 | ac_cpp_err=yes |
7265 | ac_cpp_err=yes |
… | |
… | |
7074 | rm -f conftest.err conftest.$ac_ext |
7275 | rm -f conftest.err conftest.$ac_ext |
7075 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
7276 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
7076 | echo "${ECHO_T}$ac_header_preproc" >&6 |
7277 | echo "${ECHO_T}$ac_header_preproc" >&6 |
7077 | |
7278 | |
7078 | # So? What about this header? |
7279 | # So? What about this header? |
7079 | case $ac_header_compiler:$ac_header_preproc in |
7280 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
7080 | yes:no ) |
7281 | yes:no: ) |
7081 | { 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 |
7082 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
7283 | echo "$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 |
|
|
7285 | echo "$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 |
|
|
7290 | echo "$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 |
|
|
7292 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
7293 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
7294 | echo "$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 |
|
|
7296 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
7083 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
7297 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
7084 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
7298 | echo "$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 |
|
|
7300 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
7085 | ( |
7301 | ( |
7086 | cat <<\_ASBOX |
7302 | cat <<\_ASBOX |
7087 | ## ------------------------------------ ## |
7303 | ## ------------------------------------------ ## |
7088 | ## Report this to bug-autoconf@gnu.org. ## |
7304 | ## Report this to the AC_PACKAGE_NAME lists. ## |
7089 | ## ------------------------------------ ## |
7305 | ## ------------------------------------------ ## |
7090 | _ASBOX |
|
|
7091 | ) | |
|
|
7092 | sed "s/^/$as_me: WARNING: /" >&2 |
|
|
7093 | ;; |
|
|
7094 | no:yes ) |
|
|
7095 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
7096 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
7097 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
7098 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
7099 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
7100 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
7101 | ( |
|
|
7102 | cat <<\_ASBOX |
|
|
7103 | ## ------------------------------------ ## |
|
|
7104 | ## Report this to bug-autoconf@gnu.org. ## |
|
|
7105 | ## ------------------------------------ ## |
|
|
7106 | _ASBOX |
7306 | _ASBOX |
7107 | ) | |
7307 | ) | |
7108 | sed "s/^/$as_me: WARNING: /" >&2 |
7308 | sed "s/^/$as_me: WARNING: /" >&2 |
7109 | ;; |
7309 | ;; |
7110 | esac |
7310 | esac |
7111 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7311 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7112 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7312 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7113 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7313 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7114 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7314 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7115 | else |
7315 | else |
7116 | eval "$as_ac_Header=$ac_header_preproc" |
7316 | eval "$as_ac_Header=\$ac_header_preproc" |
7117 | fi |
7317 | fi |
7118 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7318 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7119 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7319 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7120 | |
7320 | |
7121 | fi |
7321 | fi |
… | |
… | |
7131 | |
7331 | |
7132 | |
7332 | |
7133 | |
7333 | |
7134 | |
7334 | |
7135 | |
7335 | |
|
|
7336 | |
7136 | for ac_header in net/ethernet.h net/if.h netinet/ip.h netinet/tcp.h netinet/in_systm.h |
7337 | for ac_header in arpa/inet.h net/ethernet.h net/if.h netinet/ip.h netinet/tcp.h netinet/in_systm.h |
7137 | do |
7338 | do |
7138 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7339 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7139 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7340 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7140 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7341 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7141 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7342 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7142 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7343 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7143 | else |
7344 | else |
7144 | cat >conftest.$ac_ext <<_ACEOF |
7345 | cat >conftest.$ac_ext <<_ACEOF |
7145 | #line $LINENO "configure" |
|
|
7146 | /* confdefs.h. */ |
7346 | /* confdefs.h. */ |
7147 | _ACEOF |
7347 | _ACEOF |
7148 | cat confdefs.h >>conftest.$ac_ext |
7348 | cat confdefs.h >>conftest.$ac_ext |
7149 | cat >>conftest.$ac_ext <<_ACEOF |
7349 | cat >>conftest.$ac_ext <<_ACEOF |
7150 | /* end confdefs.h. */ |
7350 | /* end confdefs.h. */ |
… | |
… | |
7164 | |
7364 | |
7165 | #include <$ac_header> |
7365 | #include <$ac_header> |
7166 | _ACEOF |
7366 | _ACEOF |
7167 | rm -f conftest.$ac_objext |
7367 | rm -f conftest.$ac_objext |
7168 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7368 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7169 | (eval $ac_compile) 2>&5 |
7369 | (eval $ac_compile) 2>conftest.er1 |
7170 | ac_status=$? |
7370 | ac_status=$? |
|
|
7371 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7372 | rm -f conftest.er1 |
|
|
7373 | cat conftest.err >&5 |
7171 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7374 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7172 | (exit $ac_status); } && |
7375 | (exit $ac_status); } && |
7173 | { ac_try='test -s conftest.$ac_objext' |
7376 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7174 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7377 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7175 | (eval $ac_try) 2>&5 |
7378 | (eval $ac_try) 2>&5 |
7176 | ac_status=$? |
7379 | ac_status=$? |
7177 | 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 |
7178 | (exit $ac_status); }; }; then |
7387 | (exit $ac_status); }; }; then |
7179 | eval "$as_ac_Header=yes" |
7388 | eval "$as_ac_Header=yes" |
7180 | else |
7389 | else |
7181 | echo "$as_me: failed program was:" >&5 |
7390 | echo "$as_me: failed program was:" >&5 |
7182 | sed 's/^/| /' conftest.$ac_ext >&5 |
7391 | sed 's/^/| /' conftest.$ac_ext >&5 |
7183 | |
7392 | |
7184 | eval "$as_ac_Header=no" |
7393 | eval "$as_ac_Header=no" |
7185 | fi |
7394 | fi |
7186 | rm -f conftest.$ac_objext conftest.$ac_ext |
7395 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7187 | fi |
7396 | fi |
7188 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7397 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7189 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7398 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7190 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
7399 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
7191 | cat >>confdefs.h <<_ACEOF |
7400 | cat >>confdefs.h <<_ACEOF |
… | |
… | |
7201 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
7410 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
7202 | if test "${ac_cv_c_const+set}" = set; then |
7411 | if test "${ac_cv_c_const+set}" = set; then |
7203 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7412 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7204 | else |
7413 | else |
7205 | cat >conftest.$ac_ext <<_ACEOF |
7414 | cat >conftest.$ac_ext <<_ACEOF |
7206 | #line $LINENO "configure" |
|
|
7207 | /* confdefs.h. */ |
7415 | /* confdefs.h. */ |
7208 | _ACEOF |
7416 | _ACEOF |
7209 | cat confdefs.h >>conftest.$ac_ext |
7417 | cat confdefs.h >>conftest.$ac_ext |
7210 | cat >>conftest.$ac_ext <<_ACEOF |
7418 | cat >>conftest.$ac_ext <<_ACEOF |
7211 | /* end confdefs.h. */ |
7419 | /* end confdefs.h. */ |
… | |
… | |
7264 | return 0; |
7472 | return 0; |
7265 | } |
7473 | } |
7266 | _ACEOF |
7474 | _ACEOF |
7267 | rm -f conftest.$ac_objext |
7475 | rm -f conftest.$ac_objext |
7268 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7476 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7269 | (eval $ac_compile) 2>&5 |
7477 | (eval $ac_compile) 2>conftest.er1 |
7270 | ac_status=$? |
7478 | ac_status=$? |
|
|
7479 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7480 | rm -f conftest.er1 |
|
|
7481 | cat conftest.err >&5 |
7271 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7482 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7272 | (exit $ac_status); } && |
7483 | (exit $ac_status); } && |
7273 | { ac_try='test -s conftest.$ac_objext' |
7484 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7274 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7485 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7275 | (eval $ac_try) 2>&5 |
7486 | (eval $ac_try) 2>&5 |
7276 | ac_status=$? |
7487 | ac_status=$? |
7277 | 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 |
7278 | (exit $ac_status); }; }; then |
7495 | (exit $ac_status); }; }; then |
7279 | ac_cv_c_const=yes |
7496 | ac_cv_c_const=yes |
7280 | else |
7497 | else |
7281 | echo "$as_me: failed program was:" >&5 |
7498 | echo "$as_me: failed program was:" >&5 |
7282 | sed 's/^/| /' conftest.$ac_ext >&5 |
7499 | sed 's/^/| /' conftest.$ac_ext >&5 |
7283 | |
7500 | |
7284 | ac_cv_c_const=no |
7501 | ac_cv_c_const=no |
7285 | fi |
7502 | fi |
7286 | rm -f conftest.$ac_objext conftest.$ac_ext |
7503 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7287 | fi |
7504 | fi |
7288 | echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
7505 | echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
7289 | echo "${ECHO_T}$ac_cv_c_const" >&6 |
7506 | echo "${ECHO_T}$ac_cv_c_const" >&6 |
7290 | if test $ac_cv_c_const = no; then |
7507 | if test $ac_cv_c_const = no; then |
7291 | |
7508 | |
… | |
… | |
7299 | echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 |
7516 | echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 |
7300 | if test "${ac_cv_type_pid_t+set}" = set; then |
7517 | if test "${ac_cv_type_pid_t+set}" = set; then |
7301 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7518 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7302 | else |
7519 | else |
7303 | cat >conftest.$ac_ext <<_ACEOF |
7520 | cat >conftest.$ac_ext <<_ACEOF |
7304 | #line $LINENO "configure" |
|
|
7305 | /* confdefs.h. */ |
7521 | /* confdefs.h. */ |
7306 | _ACEOF |
7522 | _ACEOF |
7307 | cat confdefs.h >>conftest.$ac_ext |
7523 | cat confdefs.h >>conftest.$ac_ext |
7308 | cat >>conftest.$ac_ext <<_ACEOF |
7524 | cat >>conftest.$ac_ext <<_ACEOF |
7309 | /* end confdefs.h. */ |
7525 | /* end confdefs.h. */ |
… | |
… | |
7319 | return 0; |
7535 | return 0; |
7320 | } |
7536 | } |
7321 | _ACEOF |
7537 | _ACEOF |
7322 | rm -f conftest.$ac_objext |
7538 | rm -f conftest.$ac_objext |
7323 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7539 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7324 | (eval $ac_compile) 2>&5 |
7540 | (eval $ac_compile) 2>conftest.er1 |
7325 | ac_status=$? |
7541 | ac_status=$? |
|
|
7542 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7543 | rm -f conftest.er1 |
|
|
7544 | cat conftest.err >&5 |
7326 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7545 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7327 | (exit $ac_status); } && |
7546 | (exit $ac_status); } && |
7328 | { ac_try='test -s conftest.$ac_objext' |
7547 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7329 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7548 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7330 | (eval $ac_try) 2>&5 |
7549 | (eval $ac_try) 2>&5 |
7331 | ac_status=$? |
7550 | ac_status=$? |
7332 | 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 |
7333 | (exit $ac_status); }; }; then |
7558 | (exit $ac_status); }; }; then |
7334 | ac_cv_type_pid_t=yes |
7559 | ac_cv_type_pid_t=yes |
7335 | else |
7560 | else |
7336 | echo "$as_me: failed program was:" >&5 |
7561 | echo "$as_me: failed program was:" >&5 |
7337 | sed 's/^/| /' conftest.$ac_ext >&5 |
7562 | sed 's/^/| /' conftest.$ac_ext >&5 |
7338 | |
7563 | |
7339 | ac_cv_type_pid_t=no |
7564 | ac_cv_type_pid_t=no |
7340 | fi |
7565 | fi |
7341 | rm -f conftest.$ac_objext conftest.$ac_ext |
7566 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7342 | fi |
7567 | fi |
7343 | echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 |
7568 | echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 |
7344 | echo "${ECHO_T}$ac_cv_type_pid_t" >&6 |
7569 | echo "${ECHO_T}$ac_cv_type_pid_t" >&6 |
7345 | if test $ac_cv_type_pid_t = yes; then |
7570 | if test $ac_cv_type_pid_t = yes; then |
7346 | : |
7571 | : |
… | |
… | |
7356 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6 |
7581 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6 |
7357 | if test "${ac_cv_type_size_t+set}" = set; then |
7582 | if test "${ac_cv_type_size_t+set}" = set; then |
7358 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7583 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7359 | else |
7584 | else |
7360 | cat >conftest.$ac_ext <<_ACEOF |
7585 | cat >conftest.$ac_ext <<_ACEOF |
7361 | #line $LINENO "configure" |
|
|
7362 | /* confdefs.h. */ |
7586 | /* confdefs.h. */ |
7363 | _ACEOF |
7587 | _ACEOF |
7364 | cat confdefs.h >>conftest.$ac_ext |
7588 | cat confdefs.h >>conftest.$ac_ext |
7365 | cat >>conftest.$ac_ext <<_ACEOF |
7589 | cat >>conftest.$ac_ext <<_ACEOF |
7366 | /* end confdefs.h. */ |
7590 | /* end confdefs.h. */ |
… | |
… | |
7376 | return 0; |
7600 | return 0; |
7377 | } |
7601 | } |
7378 | _ACEOF |
7602 | _ACEOF |
7379 | rm -f conftest.$ac_objext |
7603 | rm -f conftest.$ac_objext |
7380 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7604 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7381 | (eval $ac_compile) 2>&5 |
7605 | (eval $ac_compile) 2>conftest.er1 |
7382 | ac_status=$? |
7606 | ac_status=$? |
|
|
7607 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7608 | rm -f conftest.er1 |
|
|
7609 | cat conftest.err >&5 |
7383 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7610 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7384 | (exit $ac_status); } && |
7611 | (exit $ac_status); } && |
7385 | { ac_try='test -s conftest.$ac_objext' |
7612 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7386 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7613 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7387 | (eval $ac_try) 2>&5 |
7614 | (eval $ac_try) 2>&5 |
7388 | ac_status=$? |
7615 | ac_status=$? |
7389 | 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 |
7390 | (exit $ac_status); }; }; then |
7623 | (exit $ac_status); }; }; then |
7391 | ac_cv_type_size_t=yes |
7624 | ac_cv_type_size_t=yes |
7392 | else |
7625 | else |
7393 | echo "$as_me: failed program was:" >&5 |
7626 | echo "$as_me: failed program was:" >&5 |
7394 | sed 's/^/| /' conftest.$ac_ext >&5 |
7627 | sed 's/^/| /' conftest.$ac_ext >&5 |
7395 | |
7628 | |
7396 | ac_cv_type_size_t=no |
7629 | ac_cv_type_size_t=no |
7397 | fi |
7630 | fi |
7398 | rm -f conftest.$ac_objext conftest.$ac_ext |
7631 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7399 | fi |
7632 | fi |
7400 | echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 |
7633 | echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 |
7401 | echo "${ECHO_T}$ac_cv_type_size_t" >&6 |
7634 | echo "${ECHO_T}$ac_cv_type_size_t" >&6 |
7402 | if test $ac_cv_type_size_t = yes; then |
7635 | if test $ac_cv_type_size_t = yes; then |
7403 | : |
7636 | : |
… | |
… | |
7413 | echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 |
7646 | echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 |
7414 | if test "${ac_cv_header_time+set}" = set; then |
7647 | if test "${ac_cv_header_time+set}" = set; then |
7415 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7648 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7416 | else |
7649 | else |
7417 | cat >conftest.$ac_ext <<_ACEOF |
7650 | cat >conftest.$ac_ext <<_ACEOF |
7418 | #line $LINENO "configure" |
|
|
7419 | /* confdefs.h. */ |
7651 | /* confdefs.h. */ |
7420 | _ACEOF |
7652 | _ACEOF |
7421 | cat confdefs.h >>conftest.$ac_ext |
7653 | cat confdefs.h >>conftest.$ac_ext |
7422 | cat >>conftest.$ac_ext <<_ACEOF |
7654 | cat >>conftest.$ac_ext <<_ACEOF |
7423 | /* end confdefs.h. */ |
7655 | /* end confdefs.h. */ |
… | |
… | |
7434 | return 0; |
7666 | return 0; |
7435 | } |
7667 | } |
7436 | _ACEOF |
7668 | _ACEOF |
7437 | rm -f conftest.$ac_objext |
7669 | rm -f conftest.$ac_objext |
7438 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7670 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7439 | (eval $ac_compile) 2>&5 |
7671 | (eval $ac_compile) 2>conftest.er1 |
7440 | ac_status=$? |
7672 | ac_status=$? |
|
|
7673 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7674 | rm -f conftest.er1 |
|
|
7675 | cat conftest.err >&5 |
7441 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7676 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7442 | (exit $ac_status); } && |
7677 | (exit $ac_status); } && |
7443 | { ac_try='test -s conftest.$ac_objext' |
7678 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7444 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7679 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7445 | (eval $ac_try) 2>&5 |
7680 | (eval $ac_try) 2>&5 |
7446 | ac_status=$? |
7681 | ac_status=$? |
7447 | 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 |
7448 | (exit $ac_status); }; }; then |
7689 | (exit $ac_status); }; }; then |
7449 | ac_cv_header_time=yes |
7690 | ac_cv_header_time=yes |
7450 | else |
7691 | else |
7451 | echo "$as_me: failed program was:" >&5 |
7692 | echo "$as_me: failed program was:" >&5 |
7452 | sed 's/^/| /' conftest.$ac_ext >&5 |
7693 | sed 's/^/| /' conftest.$ac_ext >&5 |
7453 | |
7694 | |
7454 | ac_cv_header_time=no |
7695 | ac_cv_header_time=no |
7455 | fi |
7696 | fi |
7456 | rm -f conftest.$ac_objext conftest.$ac_ext |
7697 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7457 | fi |
7698 | fi |
7458 | echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
7699 | echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
7459 | echo "${ECHO_T}$ac_cv_header_time" >&6 |
7700 | echo "${ECHO_T}$ac_cv_header_time" >&6 |
7460 | if test $ac_cv_header_time = yes; then |
7701 | if test $ac_cv_header_time = yes; then |
7461 | |
7702 | |
… | |
… | |
7469 | echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 |
7710 | echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 |
7470 | if test "${ac_cv_struct_tm+set}" = set; then |
7711 | if test "${ac_cv_struct_tm+set}" = set; then |
7471 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7712 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7472 | else |
7713 | else |
7473 | cat >conftest.$ac_ext <<_ACEOF |
7714 | cat >conftest.$ac_ext <<_ACEOF |
7474 | #line $LINENO "configure" |
|
|
7475 | /* confdefs.h. */ |
7715 | /* confdefs.h. */ |
7476 | _ACEOF |
7716 | _ACEOF |
7477 | cat confdefs.h >>conftest.$ac_ext |
7717 | cat confdefs.h >>conftest.$ac_ext |
7478 | cat >>conftest.$ac_ext <<_ACEOF |
7718 | cat >>conftest.$ac_ext <<_ACEOF |
7479 | /* end confdefs.h. */ |
7719 | /* end confdefs.h. */ |
… | |
… | |
7488 | return 0; |
7728 | return 0; |
7489 | } |
7729 | } |
7490 | _ACEOF |
7730 | _ACEOF |
7491 | rm -f conftest.$ac_objext |
7731 | rm -f conftest.$ac_objext |
7492 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7732 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7493 | (eval $ac_compile) 2>&5 |
7733 | (eval $ac_compile) 2>conftest.er1 |
7494 | ac_status=$? |
7734 | ac_status=$? |
|
|
7735 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7736 | rm -f conftest.er1 |
|
|
7737 | cat conftest.err >&5 |
7495 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7738 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7496 | (exit $ac_status); } && |
7739 | (exit $ac_status); } && |
7497 | { ac_try='test -s conftest.$ac_objext' |
7740 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7498 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7741 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7499 | (eval $ac_try) 2>&5 |
7742 | (eval $ac_try) 2>&5 |
7500 | ac_status=$? |
7743 | ac_status=$? |
7501 | 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 |
7502 | (exit $ac_status); }; }; then |
7751 | (exit $ac_status); }; }; then |
7503 | ac_cv_struct_tm=time.h |
7752 | ac_cv_struct_tm=time.h |
7504 | else |
7753 | else |
7505 | echo "$as_me: failed program was:" >&5 |
7754 | echo "$as_me: failed program was:" >&5 |
7506 | sed 's/^/| /' conftest.$ac_ext >&5 |
7755 | sed 's/^/| /' conftest.$ac_ext >&5 |
7507 | |
7756 | |
7508 | ac_cv_struct_tm=sys/time.h |
7757 | ac_cv_struct_tm=sys/time.h |
7509 | fi |
7758 | fi |
7510 | rm -f conftest.$ac_objext conftest.$ac_ext |
7759 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7511 | fi |
7760 | fi |
7512 | echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 |
7761 | echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 |
7513 | echo "${ECHO_T}$ac_cv_struct_tm" >&6 |
7762 | echo "${ECHO_T}$ac_cv_struct_tm" >&6 |
7514 | if test $ac_cv_struct_tm = sys/time.h; then |
7763 | if test $ac_cv_struct_tm = sys/time.h; then |
7515 | |
7764 | |
… | |
… | |
7518 | _ACEOF |
7767 | _ACEOF |
7519 | |
7768 | |
7520 | fi |
7769 | fi |
7521 | |
7770 | |
7522 | |
7771 | |
|
|
7772 | echo "$as_me:$LINENO: checking for socklen_t" >&5 |
|
|
7773 | echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6 |
|
|
7774 | if test "${ac_cv_type_socklen_t+set}" = set; then |
|
|
7775 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7776 | else |
7523 | |
7777 | |
|
|
7778 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7779 | /* confdefs.h. */ |
|
|
7780 | _ACEOF |
|
|
7781 | cat confdefs.h >>conftest.$ac_ext |
|
|
7782 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7783 | /* end confdefs.h. */ |
|
|
7784 | #include <sys/types.h> |
|
|
7785 | #include <sys/socket.h> |
|
|
7786 | int |
|
|
7787 | main () |
|
|
7788 | { |
|
|
7789 | socklen_t len = 42; return len; |
|
|
7790 | ; |
|
|
7791 | return 0; |
|
|
7792 | } |
|
|
7793 | _ACEOF |
|
|
7794 | rm -f conftest.$ac_objext |
|
|
7795 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
7796 | (eval $ac_compile) 2>conftest.er1 |
|
|
7797 | ac_status=$? |
|
|
7798 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7799 | rm -f conftest.er1 |
|
|
7800 | cat conftest.err >&5 |
|
|
7801 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7802 | (exit $ac_status); } && |
|
|
7803 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
7804 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7805 | (eval $ac_try) 2>&5 |
|
|
7806 | ac_status=$? |
|
|
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 |
|
|
7814 | (exit $ac_status); }; }; then |
|
|
7815 | ac_cv_type_socklen_t=yes |
|
|
7816 | else |
|
|
7817 | echo "$as_me: failed program was:" >&5 |
|
|
7818 | sed 's/^/| /' conftest.$ac_ext >&5 |
7524 | |
7819 | |
7525 | for ac_func in poll mlockall |
7820 | ac_cv_type_socklen_t=no |
|
|
7821 | fi |
|
|
7822 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7823 | |
|
|
7824 | fi |
|
|
7825 | echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 |
|
|
7826 | echo "${ECHO_T}$ac_cv_type_socklen_t" >&6 |
|
|
7827 | if test $ac_cv_type_socklen_t = yes; then |
|
|
7828 | |
|
|
7829 | cat >>confdefs.h <<\_ACEOF |
|
|
7830 | #define HAVE_SOCKLEN_T 1 |
|
|
7831 | _ACEOF |
|
|
7832 | |
|
|
7833 | fi |
|
|
7834 | |
|
|
7835 | echo "$as_me:$LINENO: checking for struct addrinfo" >&5 |
|
|
7836 | echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6 |
|
|
7837 | if test "${ac_cv_struct_addrinfo+set}" = set; then |
|
|
7838 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7839 | else |
|
|
7840 | |
|
|
7841 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7842 | /* confdefs.h. */ |
|
|
7843 | _ACEOF |
|
|
7844 | cat confdefs.h >>conftest.$ac_ext |
|
|
7845 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7846 | /* end confdefs.h. */ |
|
|
7847 | #include <sys/types.h> |
|
|
7848 | #include <sys/socket.h> |
|
|
7849 | #include <netdb.h> |
|
|
7850 | int |
|
|
7851 | main () |
|
|
7852 | { |
|
|
7853 | struct addrinfo ai; ai.ai_family = AF_INET; return ai.ai_family; |
|
|
7854 | ; |
|
|
7855 | return 0; |
|
|
7856 | } |
|
|
7857 | _ACEOF |
|
|
7858 | rm -f conftest.$ac_objext |
|
|
7859 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
7860 | (eval $ac_compile) 2>conftest.er1 |
|
|
7861 | ac_status=$? |
|
|
7862 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7863 | rm -f conftest.er1 |
|
|
7864 | cat conftest.err >&5 |
|
|
7865 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7866 | (exit $ac_status); } && |
|
|
7867 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
7868 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7869 | (eval $ac_try) 2>&5 |
|
|
7870 | ac_status=$? |
|
|
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 |
|
|
7878 | (exit $ac_status); }; }; then |
|
|
7879 | ac_cv_struct_addrinfo=yes |
|
|
7880 | else |
|
|
7881 | echo "$as_me: failed program was:" >&5 |
|
|
7882 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7883 | |
|
|
7884 | ac_cv_struct_addrinfo=no |
|
|
7885 | fi |
|
|
7886 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7887 | |
|
|
7888 | fi |
|
|
7889 | echo "$as_me:$LINENO: result: $ac_cv_struct_addrinfo" >&5 |
|
|
7890 | echo "${ECHO_T}$ac_cv_struct_addrinfo" >&6 |
|
|
7891 | if test $ac_cv_struct_addrinfo = yes; then |
|
|
7892 | |
|
|
7893 | cat >>confdefs.h <<\_ACEOF |
|
|
7894 | #define HAVE_STRUCT_ADDRINFO 1 |
|
|
7895 | _ACEOF |
|
|
7896 | |
|
|
7897 | fi |
|
|
7898 | |
|
|
7899 | echo "$as_me:$LINENO: checking return type of signal handlers" >&5 |
|
|
7900 | echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 |
|
|
7901 | if test "${ac_cv_type_signal+set}" = set; then |
|
|
7902 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7903 | else |
|
|
7904 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7905 | /* confdefs.h. */ |
|
|
7906 | _ACEOF |
|
|
7907 | cat confdefs.h >>conftest.$ac_ext |
|
|
7908 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7909 | /* end confdefs.h. */ |
|
|
7910 | #include <sys/types.h> |
|
|
7911 | #include <signal.h> |
|
|
7912 | #ifdef signal |
|
|
7913 | # undef signal |
|
|
7914 | #endif |
|
|
7915 | #ifdef __cplusplus |
|
|
7916 | extern "C" void (*signal (int, void (*)(int)))(int); |
|
|
7917 | #else |
|
|
7918 | void (*signal ()) (); |
|
|
7919 | #endif |
|
|
7920 | |
|
|
7921 | int |
|
|
7922 | main () |
|
|
7923 | { |
|
|
7924 | int i; |
|
|
7925 | ; |
|
|
7926 | return 0; |
|
|
7927 | } |
|
|
7928 | _ACEOF |
|
|
7929 | rm -f conftest.$ac_objext |
|
|
7930 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
7931 | (eval $ac_compile) 2>conftest.er1 |
|
|
7932 | ac_status=$? |
|
|
7933 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7934 | rm -f conftest.er1 |
|
|
7935 | cat conftest.err >&5 |
|
|
7936 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7937 | (exit $ac_status); } && |
|
|
7938 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
7939 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7940 | (eval $ac_try) 2>&5 |
|
|
7941 | ac_status=$? |
|
|
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 |
|
|
7949 | (exit $ac_status); }; }; then |
|
|
7950 | ac_cv_type_signal=void |
|
|
7951 | else |
|
|
7952 | echo "$as_me: failed program was:" >&5 |
|
|
7953 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7954 | |
|
|
7955 | ac_cv_type_signal=int |
|
|
7956 | fi |
|
|
7957 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7958 | fi |
|
|
7959 | echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 |
|
|
7960 | echo "${ECHO_T}$ac_cv_type_signal" >&6 |
|
|
7961 | |
|
|
7962 | cat >>confdefs.h <<_ACEOF |
|
|
7963 | #define RETSIGTYPE $ac_cv_type_signal |
|
|
7964 | _ACEOF |
|
|
7965 | |
|
|
7966 | |
|
|
7967 | |
|
|
7968 | ac_ext=c |
|
|
7969 | ac_cpp='$CPP $CPPFLAGS' |
|
|
7970 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
7971 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
7972 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
7973 | |
|
|
7974 | |
|
|
7975 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
|
|
7976 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
|
|
7977 | if test "${ac_cv_header_stdc+set}" = set; then |
|
|
7978 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7979 | else |
|
|
7980 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7981 | /* confdefs.h. */ |
|
|
7982 | _ACEOF |
|
|
7983 | cat confdefs.h >>conftest.$ac_ext |
|
|
7984 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7985 | /* end confdefs.h. */ |
|
|
7986 | #include <stdlib.h> |
|
|
7987 | #include <stdarg.h> |
|
|
7988 | #include <string.h> |
|
|
7989 | #include <float.h> |
|
|
7990 | |
|
|
7991 | int |
|
|
7992 | main () |
|
|
7993 | { |
|
|
7994 | |
|
|
7995 | ; |
|
|
7996 | return 0; |
|
|
7997 | } |
|
|
7998 | _ACEOF |
|
|
7999 | rm -f conftest.$ac_objext |
|
|
8000 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
8001 | (eval $ac_compile) 2>conftest.er1 |
|
|
8002 | ac_status=$? |
|
|
8003 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8004 | rm -f conftest.er1 |
|
|
8005 | cat conftest.err >&5 |
|
|
8006 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8007 | (exit $ac_status); } && |
|
|
8008 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
8009 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8010 | (eval $ac_try) 2>&5 |
|
|
8011 | ac_status=$? |
|
|
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 |
|
|
8019 | (exit $ac_status); }; }; then |
|
|
8020 | ac_cv_header_stdc=yes |
|
|
8021 | else |
|
|
8022 | echo "$as_me: failed program was:" >&5 |
|
|
8023 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8024 | |
|
|
8025 | ac_cv_header_stdc=no |
|
|
8026 | fi |
|
|
8027 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8028 | |
|
|
8029 | if test $ac_cv_header_stdc = yes; then |
|
|
8030 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
|
8031 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8032 | /* confdefs.h. */ |
|
|
8033 | _ACEOF |
|
|
8034 | cat confdefs.h >>conftest.$ac_ext |
|
|
8035 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8036 | /* end confdefs.h. */ |
|
|
8037 | #include <string.h> |
|
|
8038 | |
|
|
8039 | _ACEOF |
|
|
8040 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
8041 | $EGREP "memchr" >/dev/null 2>&1; then |
|
|
8042 | : |
|
|
8043 | else |
|
|
8044 | ac_cv_header_stdc=no |
|
|
8045 | fi |
|
|
8046 | rm -f conftest* |
|
|
8047 | |
|
|
8048 | fi |
|
|
8049 | |
|
|
8050 | if test $ac_cv_header_stdc = yes; then |
|
|
8051 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
|
8052 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8053 | /* confdefs.h. */ |
|
|
8054 | _ACEOF |
|
|
8055 | cat confdefs.h >>conftest.$ac_ext |
|
|
8056 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8057 | /* end confdefs.h. */ |
|
|
8058 | #include <stdlib.h> |
|
|
8059 | |
|
|
8060 | _ACEOF |
|
|
8061 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
8062 | $EGREP "free" >/dev/null 2>&1; then |
|
|
8063 | : |
|
|
8064 | else |
|
|
8065 | ac_cv_header_stdc=no |
|
|
8066 | fi |
|
|
8067 | rm -f conftest* |
|
|
8068 | |
|
|
8069 | fi |
|
|
8070 | |
|
|
8071 | if test $ac_cv_header_stdc = yes; then |
|
|
8072 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
|
8073 | if test "$cross_compiling" = yes; then |
|
|
8074 | : |
|
|
8075 | else |
|
|
8076 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8077 | /* confdefs.h. */ |
|
|
8078 | _ACEOF |
|
|
8079 | cat confdefs.h >>conftest.$ac_ext |
|
|
8080 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8081 | /* end confdefs.h. */ |
|
|
8082 | #include <ctype.h> |
|
|
8083 | #if ((' ' & 0x0FF) == 0x020) |
|
|
8084 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
|
8085 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
|
8086 | #else |
|
|
8087 | # define ISLOWER(c) \ |
|
|
8088 | (('a' <= (c) && (c) <= 'i') \ |
|
|
8089 | || ('j' <= (c) && (c) <= 'r') \ |
|
|
8090 | || ('s' <= (c) && (c) <= 'z')) |
|
|
8091 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
|
8092 | #endif |
|
|
8093 | |
|
|
8094 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
|
8095 | int |
|
|
8096 | main () |
|
|
8097 | { |
|
|
8098 | int i; |
|
|
8099 | for (i = 0; i < 256; i++) |
|
|
8100 | if (XOR (islower (i), ISLOWER (i)) |
|
|
8101 | || toupper (i) != TOUPPER (i)) |
|
|
8102 | exit(2); |
|
|
8103 | exit (0); |
|
|
8104 | } |
|
|
8105 | _ACEOF |
|
|
8106 | rm -f conftest$ac_exeext |
|
|
8107 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
8108 | (eval $ac_link) 2>&5 |
|
|
8109 | ac_status=$? |
|
|
8110 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8111 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
8112 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8113 | (eval $ac_try) 2>&5 |
|
|
8114 | ac_status=$? |
|
|
8115 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8116 | (exit $ac_status); }; }; then |
|
|
8117 | : |
|
|
8118 | else |
|
|
8119 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
8120 | echo "$as_me: failed program was:" >&5 |
|
|
8121 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8122 | |
|
|
8123 | ( exit $ac_status ) |
|
|
8124 | ac_cv_header_stdc=no |
|
|
8125 | fi |
|
|
8126 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
8127 | fi |
|
|
8128 | fi |
|
|
8129 | fi |
|
|
8130 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
|
|
8131 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
|
|
8132 | if test $ac_cv_header_stdc = yes; then |
|
|
8133 | |
|
|
8134 | cat >>confdefs.h <<\_ACEOF |
|
|
8135 | #define STDC_HEADERS 1 |
|
|
8136 | _ACEOF |
|
|
8137 | |
|
|
8138 | fi |
|
|
8139 | |
|
|
8140 | |
|
|
8141 | |
|
|
8142 | |
|
|
8143 | |
|
|
8144 | |
|
|
8145 | |
|
|
8146 | |
|
|
8147 | |
|
|
8148 | |
|
|
8149 | |
|
|
8150 | |
|
|
8151 | for ac_func in asprintf daemon get_current_dir_name putenv select strerror strsignal strtol unsetenv mlockall |
7526 | do |
8152 | do |
7527 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8153 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
7528 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
8154 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
7529 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
8155 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
7530 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
8156 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
7531 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8157 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7532 | else |
8158 | else |
7533 | cat >conftest.$ac_ext <<_ACEOF |
8159 | cat >conftest.$ac_ext <<_ACEOF |
7534 | #line $LINENO "configure" |
|
|
7535 | /* confdefs.h. */ |
8160 | /* confdefs.h. */ |
7536 | _ACEOF |
8161 | _ACEOF |
7537 | cat confdefs.h >>conftest.$ac_ext |
8162 | cat confdefs.h >>conftest.$ac_ext |
7538 | cat >>conftest.$ac_ext <<_ACEOF |
8163 | cat >>conftest.$ac_ext <<_ACEOF |
7539 | /* 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 | |
7540 | /* System header to define __stub macros and hopefully few prototypes, |
8169 | /* System header to define __stub macros and hopefully few prototypes, |
7541 | which can conflict with char $ac_func (); below. |
8170 | which can conflict with char $ac_func (); below. |
7542 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8171 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
7543 | <limits.h> exists even on freestanding compilers. */ |
8172 | <limits.h> exists even on freestanding compilers. */ |
|
|
8173 | |
7544 | #ifdef __STDC__ |
8174 | #ifdef __STDC__ |
7545 | # include <limits.h> |
8175 | # include <limits.h> |
7546 | #else |
8176 | #else |
7547 | # include <assert.h> |
8177 | # include <assert.h> |
7548 | #endif |
8178 | #endif |
|
|
8179 | |
|
|
8180 | #undef $ac_func |
|
|
8181 | |
7549 | /* Override any gcc2 internal prototype to avoid an error. */ |
8182 | /* Override any gcc2 internal prototype to avoid an error. */ |
7550 | #ifdef __cplusplus |
8183 | #ifdef __cplusplus |
7551 | extern "C" |
8184 | extern "C" |
7552 | { |
8185 | { |
7553 | #endif |
8186 | #endif |
… | |
… | |
7574 | return 0; |
8207 | return 0; |
7575 | } |
8208 | } |
7576 | _ACEOF |
8209 | _ACEOF |
7577 | rm -f conftest.$ac_objext conftest$ac_exeext |
8210 | rm -f conftest.$ac_objext conftest$ac_exeext |
7578 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8211 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7579 | (eval $ac_link) 2>&5 |
8212 | (eval $ac_link) 2>conftest.er1 |
7580 | ac_status=$? |
8213 | ac_status=$? |
|
|
8214 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8215 | rm -f conftest.er1 |
|
|
8216 | cat conftest.err >&5 |
7581 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8217 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7582 | (exit $ac_status); } && |
8218 | (exit $ac_status); } && |
7583 | { ac_try='test -s conftest$ac_exeext' |
8219 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
7584 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8220 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7585 | (eval $ac_try) 2>&5 |
8221 | (eval $ac_try) 2>&5 |
7586 | ac_status=$? |
8222 | ac_status=$? |
7587 | 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 |
7588 | (exit $ac_status); }; }; then |
8230 | (exit $ac_status); }; }; then |
7589 | eval "$as_ac_var=yes" |
8231 | eval "$as_ac_var=yes" |
7590 | else |
8232 | else |
7591 | echo "$as_me: failed program was:" >&5 |
8233 | echo "$as_me: failed program was:" >&5 |
7592 | sed 's/^/| /' conftest.$ac_ext >&5 |
8234 | sed 's/^/| /' conftest.$ac_ext >&5 |
7593 | |
8235 | |
7594 | eval "$as_ac_var=no" |
8236 | eval "$as_ac_var=no" |
7595 | fi |
8237 | fi |
7596 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
|
7597 | fi |
|
|
7598 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
|
|
7599 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
|
|
7600 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
7601 | cat >>confdefs.h <<_ACEOF |
|
|
7602 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
7603 | _ACEOF |
|
|
7604 | |
|
|
7605 | fi |
|
|
7606 | done |
|
|
7607 | |
|
|
7608 | |
|
|
7609 | echo "$as_me:$LINENO: checking for socklen_t" >&5 |
|
|
7610 | echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6 |
|
|
7611 | if test "${ac_cv_type_socklen_t+set}" = set; then |
|
|
7612 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7613 | else |
|
|
7614 | |
|
|
7615 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7616 | #line $LINENO "configure" |
|
|
7617 | /* confdefs.h. */ |
|
|
7618 | _ACEOF |
|
|
7619 | cat confdefs.h >>conftest.$ac_ext |
|
|
7620 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7621 | /* end confdefs.h. */ |
|
|
7622 | #include <sys/types.h> |
|
|
7623 | #include <sys/socket.h> |
|
|
7624 | int |
|
|
7625 | main () |
|
|
7626 | { |
|
|
7627 | socklen_t len = 42; return len; |
|
|
7628 | ; |
|
|
7629 | return 0; |
|
|
7630 | } |
|
|
7631 | _ACEOF |
|
|
7632 | rm -f conftest.$ac_objext |
8238 | rm -f conftest.err conftest.$ac_objext \ |
7633 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
7634 | (eval $ac_compile) 2>&5 |
|
|
7635 | ac_status=$? |
|
|
7636 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7637 | (exit $ac_status); } && |
|
|
7638 | { ac_try='test -s conftest.$ac_objext' |
|
|
7639 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7640 | (eval $ac_try) 2>&5 |
|
|
7641 | ac_status=$? |
|
|
7642 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7643 | (exit $ac_status); }; }; then |
|
|
7644 | ac_cv_type_socklen_t=yes |
|
|
7645 | else |
|
|
7646 | echo "$as_me: failed program was:" >&5 |
|
|
7647 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7648 | |
|
|
7649 | ac_cv_type_socklen_t=no |
|
|
7650 | fi |
|
|
7651 | rm -f conftest.$ac_objext conftest.$ac_ext |
8239 | conftest$ac_exeext conftest.$ac_ext |
7652 | |
|
|
7653 | fi |
|
|
7654 | echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 |
|
|
7655 | echo "${ECHO_T}$ac_cv_type_socklen_t" >&6 |
|
|
7656 | if test $ac_cv_type_socklen_t = yes; then |
|
|
7657 | |
|
|
7658 | cat >>confdefs.h <<\_ACEOF |
|
|
7659 | #define HAVE_SOCKLEN_T 1 |
|
|
7660 | _ACEOF |
|
|
7661 | |
|
|
7662 | fi |
|
|
7663 | |
|
|
7664 | echo "$as_me:$LINENO: checking for struct addrinfo" >&5 |
|
|
7665 | echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6 |
|
|
7666 | if test "${ac_cv_struct_addrinfo+set}" = set; then |
|
|
7667 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7668 | else |
|
|
7669 | |
|
|
7670 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7671 | #line $LINENO "configure" |
|
|
7672 | /* confdefs.h. */ |
|
|
7673 | _ACEOF |
|
|
7674 | cat confdefs.h >>conftest.$ac_ext |
|
|
7675 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7676 | /* end confdefs.h. */ |
|
|
7677 | #include <sys/types.h> |
|
|
7678 | #include <sys/socket.h> |
|
|
7679 | #include <netdb.h> |
|
|
7680 | int |
|
|
7681 | main () |
|
|
7682 | { |
|
|
7683 | struct addrinfo ai; ai.ai_family = AF_INET; return ai.ai_family; |
|
|
7684 | ; |
|
|
7685 | return 0; |
|
|
7686 | } |
|
|
7687 | _ACEOF |
|
|
7688 | rm -f conftest.$ac_objext |
|
|
7689 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
7690 | (eval $ac_compile) 2>&5 |
|
|
7691 | ac_status=$? |
|
|
7692 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7693 | (exit $ac_status); } && |
|
|
7694 | { ac_try='test -s conftest.$ac_objext' |
|
|
7695 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7696 | (eval $ac_try) 2>&5 |
|
|
7697 | ac_status=$? |
|
|
7698 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7699 | (exit $ac_status); }; }; then |
|
|
7700 | ac_cv_struct_addrinfo=yes |
|
|
7701 | else |
|
|
7702 | echo "$as_me: failed program was:" >&5 |
|
|
7703 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7704 | |
|
|
7705 | ac_cv_struct_addrinfo=no |
|
|
7706 | fi |
|
|
7707 | rm -f conftest.$ac_objext conftest.$ac_ext |
|
|
7708 | |
|
|
7709 | fi |
|
|
7710 | echo "$as_me:$LINENO: result: $ac_cv_struct_addrinfo" >&5 |
|
|
7711 | echo "${ECHO_T}$ac_cv_struct_addrinfo" >&6 |
|
|
7712 | if test $ac_cv_struct_addrinfo = yes; then |
|
|
7713 | |
|
|
7714 | cat >>confdefs.h <<\_ACEOF |
|
|
7715 | #define HAVE_STRUCT_ADDRINFO 1 |
|
|
7716 | _ACEOF |
|
|
7717 | |
|
|
7718 | fi |
|
|
7719 | |
|
|
7720 | echo "$as_me:$LINENO: checking return type of signal handlers" >&5 |
|
|
7721 | echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 |
|
|
7722 | if test "${ac_cv_type_signal+set}" = set; then |
|
|
7723 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7724 | else |
|
|
7725 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7726 | #line $LINENO "configure" |
|
|
7727 | /* confdefs.h. */ |
|
|
7728 | _ACEOF |
|
|
7729 | cat confdefs.h >>conftest.$ac_ext |
|
|
7730 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7731 | /* end confdefs.h. */ |
|
|
7732 | #include <sys/types.h> |
|
|
7733 | #include <signal.h> |
|
|
7734 | #ifdef signal |
|
|
7735 | # undef signal |
|
|
7736 | #endif |
|
|
7737 | #ifdef __cplusplus |
|
|
7738 | extern "C" void (*signal (int, void (*)(int)))(int); |
|
|
7739 | #else |
|
|
7740 | void (*signal ()) (); |
|
|
7741 | #endif |
|
|
7742 | |
|
|
7743 | int |
|
|
7744 | main () |
|
|
7745 | { |
|
|
7746 | int i; |
|
|
7747 | ; |
|
|
7748 | return 0; |
|
|
7749 | } |
|
|
7750 | _ACEOF |
|
|
7751 | rm -f conftest.$ac_objext |
|
|
7752 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
7753 | (eval $ac_compile) 2>&5 |
|
|
7754 | ac_status=$? |
|
|
7755 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7756 | (exit $ac_status); } && |
|
|
7757 | { ac_try='test -s conftest.$ac_objext' |
|
|
7758 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7759 | (eval $ac_try) 2>&5 |
|
|
7760 | ac_status=$? |
|
|
7761 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7762 | (exit $ac_status); }; }; then |
|
|
7763 | ac_cv_type_signal=void |
|
|
7764 | else |
|
|
7765 | echo "$as_me: failed program was:" >&5 |
|
|
7766 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7767 | |
|
|
7768 | ac_cv_type_signal=int |
|
|
7769 | fi |
|
|
7770 | rm -f conftest.$ac_objext conftest.$ac_ext |
|
|
7771 | fi |
|
|
7772 | echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 |
|
|
7773 | echo "${ECHO_T}$ac_cv_type_signal" >&6 |
|
|
7774 | |
|
|
7775 | cat >>confdefs.h <<_ACEOF |
|
|
7776 | #define RETSIGTYPE $ac_cv_type_signal |
|
|
7777 | _ACEOF |
|
|
7778 | |
|
|
7779 | |
|
|
7780 | |
|
|
7781 | ac_ext=c |
|
|
7782 | ac_cpp='$CPP $CPPFLAGS' |
|
|
7783 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
7784 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
7785 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
7786 | |
|
|
7787 | |
|
|
7788 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
|
|
7789 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
|
|
7790 | if test "${ac_cv_header_stdc+set}" = set; then |
|
|
7791 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7792 | else |
|
|
7793 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7794 | #line $LINENO "configure" |
|
|
7795 | /* confdefs.h. */ |
|
|
7796 | _ACEOF |
|
|
7797 | cat confdefs.h >>conftest.$ac_ext |
|
|
7798 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7799 | /* end confdefs.h. */ |
|
|
7800 | #include <stdlib.h> |
|
|
7801 | #include <stdarg.h> |
|
|
7802 | #include <string.h> |
|
|
7803 | #include <float.h> |
|
|
7804 | |
|
|
7805 | int |
|
|
7806 | main () |
|
|
7807 | { |
|
|
7808 | |
|
|
7809 | ; |
|
|
7810 | return 0; |
|
|
7811 | } |
|
|
7812 | _ACEOF |
|
|
7813 | rm -f conftest.$ac_objext |
|
|
7814 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
7815 | (eval $ac_compile) 2>&5 |
|
|
7816 | ac_status=$? |
|
|
7817 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7818 | (exit $ac_status); } && |
|
|
7819 | { ac_try='test -s conftest.$ac_objext' |
|
|
7820 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7821 | (eval $ac_try) 2>&5 |
|
|
7822 | ac_status=$? |
|
|
7823 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7824 | (exit $ac_status); }; }; then |
|
|
7825 | ac_cv_header_stdc=yes |
|
|
7826 | else |
|
|
7827 | echo "$as_me: failed program was:" >&5 |
|
|
7828 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7829 | |
|
|
7830 | ac_cv_header_stdc=no |
|
|
7831 | fi |
|
|
7832 | rm -f conftest.$ac_objext conftest.$ac_ext |
|
|
7833 | |
|
|
7834 | if test $ac_cv_header_stdc = yes; then |
|
|
7835 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
|
7836 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7837 | #line $LINENO "configure" |
|
|
7838 | /* confdefs.h. */ |
|
|
7839 | _ACEOF |
|
|
7840 | cat confdefs.h >>conftest.$ac_ext |
|
|
7841 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7842 | /* end confdefs.h. */ |
|
|
7843 | #include <string.h> |
|
|
7844 | |
|
|
7845 | _ACEOF |
|
|
7846 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
7847 | $EGREP "memchr" >/dev/null 2>&1; then |
|
|
7848 | : |
|
|
7849 | else |
|
|
7850 | ac_cv_header_stdc=no |
|
|
7851 | fi |
|
|
7852 | rm -f conftest* |
|
|
7853 | |
|
|
7854 | fi |
|
|
7855 | |
|
|
7856 | if test $ac_cv_header_stdc = yes; then |
|
|
7857 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
|
7858 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7859 | #line $LINENO "configure" |
|
|
7860 | /* confdefs.h. */ |
|
|
7861 | _ACEOF |
|
|
7862 | cat confdefs.h >>conftest.$ac_ext |
|
|
7863 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7864 | /* end confdefs.h. */ |
|
|
7865 | #include <stdlib.h> |
|
|
7866 | |
|
|
7867 | _ACEOF |
|
|
7868 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
7869 | $EGREP "free" >/dev/null 2>&1; then |
|
|
7870 | : |
|
|
7871 | else |
|
|
7872 | ac_cv_header_stdc=no |
|
|
7873 | fi |
|
|
7874 | rm -f conftest* |
|
|
7875 | |
|
|
7876 | fi |
|
|
7877 | |
|
|
7878 | if test $ac_cv_header_stdc = yes; then |
|
|
7879 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
|
7880 | if test "$cross_compiling" = yes; then |
|
|
7881 | : |
|
|
7882 | else |
|
|
7883 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7884 | #line $LINENO "configure" |
|
|
7885 | /* confdefs.h. */ |
|
|
7886 | _ACEOF |
|
|
7887 | cat confdefs.h >>conftest.$ac_ext |
|
|
7888 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7889 | /* end confdefs.h. */ |
|
|
7890 | #include <ctype.h> |
|
|
7891 | #if ((' ' & 0x0FF) == 0x020) |
|
|
7892 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
|
7893 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
|
7894 | #else |
|
|
7895 | # define ISLOWER(c) \ |
|
|
7896 | (('a' <= (c) && (c) <= 'i') \ |
|
|
7897 | || ('j' <= (c) && (c) <= 'r') \ |
|
|
7898 | || ('s' <= (c) && (c) <= 'z')) |
|
|
7899 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
|
7900 | #endif |
|
|
7901 | |
|
|
7902 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
|
7903 | int |
|
|
7904 | main () |
|
|
7905 | { |
|
|
7906 | int i; |
|
|
7907 | for (i = 0; i < 256; i++) |
|
|
7908 | if (XOR (islower (i), ISLOWER (i)) |
|
|
7909 | || toupper (i) != TOUPPER (i)) |
|
|
7910 | exit(2); |
|
|
7911 | exit (0); |
|
|
7912 | } |
|
|
7913 | _ACEOF |
|
|
7914 | rm -f conftest$ac_exeext |
|
|
7915 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
7916 | (eval $ac_link) 2>&5 |
|
|
7917 | ac_status=$? |
|
|
7918 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7919 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
7920 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7921 | (eval $ac_try) 2>&5 |
|
|
7922 | ac_status=$? |
|
|
7923 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7924 | (exit $ac_status); }; }; then |
|
|
7925 | : |
|
|
7926 | else |
|
|
7927 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
7928 | echo "$as_me: failed program was:" >&5 |
|
|
7929 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7930 | |
|
|
7931 | ( exit $ac_status ) |
|
|
7932 | ac_cv_header_stdc=no |
|
|
7933 | fi |
|
|
7934 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
7935 | fi |
|
|
7936 | fi |
|
|
7937 | fi |
|
|
7938 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
|
|
7939 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
|
|
7940 | if test $ac_cv_header_stdc = yes; then |
|
|
7941 | |
|
|
7942 | cat >>confdefs.h <<\_ACEOF |
|
|
7943 | #define STDC_HEADERS 1 |
|
|
7944 | _ACEOF |
|
|
7945 | |
|
|
7946 | fi |
|
|
7947 | |
|
|
7948 | |
|
|
7949 | |
|
|
7950 | |
|
|
7951 | |
|
|
7952 | |
|
|
7953 | |
|
|
7954 | |
|
|
7955 | |
|
|
7956 | |
|
|
7957 | |
|
|
7958 | |
|
|
7959 | for ac_func in asprintf daemon get_current_dir_name putenv select strerror strsignal strtol unsetenv mlockall |
|
|
7960 | do |
|
|
7961 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
7962 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
7963 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
|
|
7964 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
7965 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7966 | else |
|
|
7967 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7968 | #line $LINENO "configure" |
|
|
7969 | /* confdefs.h. */ |
|
|
7970 | _ACEOF |
|
|
7971 | cat confdefs.h >>conftest.$ac_ext |
|
|
7972 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7973 | /* end confdefs.h. */ |
|
|
7974 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
7975 | which can conflict with char $ac_func (); below. |
|
|
7976 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
7977 | <limits.h> exists even on freestanding compilers. */ |
|
|
7978 | #ifdef __STDC__ |
|
|
7979 | # include <limits.h> |
|
|
7980 | #else |
|
|
7981 | # include <assert.h> |
|
|
7982 | #endif |
|
|
7983 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
7984 | #ifdef __cplusplus |
|
|
7985 | extern "C" |
|
|
7986 | { |
|
|
7987 | #endif |
|
|
7988 | /* We use char because int might match the return type of a gcc2 |
|
|
7989 | builtin and then its argument prototype would still apply. */ |
|
|
7990 | char $ac_func (); |
|
|
7991 | /* The GNU C library defines this for functions which it implements |
|
|
7992 | to always fail with ENOSYS. Some functions are actually named |
|
|
7993 | something starting with __ and the normal name is an alias. */ |
|
|
7994 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
|
|
7995 | choke me |
|
|
7996 | #else |
|
|
7997 | char (*f) () = $ac_func; |
|
|
7998 | #endif |
|
|
7999 | #ifdef __cplusplus |
|
|
8000 | } |
|
|
8001 | #endif |
|
|
8002 | |
|
|
8003 | int |
|
|
8004 | main () |
|
|
8005 | { |
|
|
8006 | return f != $ac_func; |
|
|
8007 | ; |
|
|
8008 | return 0; |
|
|
8009 | } |
|
|
8010 | _ACEOF |
|
|
8011 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
8012 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
8013 | (eval $ac_link) 2>&5 |
|
|
8014 | ac_status=$? |
|
|
8015 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8016 | (exit $ac_status); } && |
|
|
8017 | { ac_try='test -s conftest$ac_exeext' |
|
|
8018 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8019 | (eval $ac_try) 2>&5 |
|
|
8020 | ac_status=$? |
|
|
8021 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8022 | (exit $ac_status); }; }; then |
|
|
8023 | eval "$as_ac_var=yes" |
|
|
8024 | else |
|
|
8025 | echo "$as_me: failed program was:" >&5 |
|
|
8026 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8027 | |
|
|
8028 | eval "$as_ac_var=no" |
|
|
8029 | fi |
|
|
8030 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
|
8031 | fi |
8240 | fi |
8032 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
8241 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
8033 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
8242 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
8034 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
8243 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
8035 | cat >>confdefs.h <<_ACEOF |
8244 | cat >>confdefs.h <<_ACEOF |
… | |
… | |
8046 | echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 |
8255 | echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 |
8047 | if test "${ac_cv_working_alloca_h+set}" = set; then |
8256 | if test "${ac_cv_working_alloca_h+set}" = set; then |
8048 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8257 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8049 | else |
8258 | else |
8050 | cat >conftest.$ac_ext <<_ACEOF |
8259 | cat >conftest.$ac_ext <<_ACEOF |
8051 | #line $LINENO "configure" |
|
|
8052 | /* confdefs.h. */ |
8260 | /* confdefs.h. */ |
8053 | _ACEOF |
8261 | _ACEOF |
8054 | cat confdefs.h >>conftest.$ac_ext |
8262 | cat confdefs.h >>conftest.$ac_ext |
8055 | cat >>conftest.$ac_ext <<_ACEOF |
8263 | cat >>conftest.$ac_ext <<_ACEOF |
8056 | /* end confdefs.h. */ |
8264 | /* end confdefs.h. */ |
… | |
… | |
8063 | return 0; |
8271 | return 0; |
8064 | } |
8272 | } |
8065 | _ACEOF |
8273 | _ACEOF |
8066 | rm -f conftest.$ac_objext conftest$ac_exeext |
8274 | rm -f conftest.$ac_objext conftest$ac_exeext |
8067 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8275 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8068 | (eval $ac_link) 2>&5 |
8276 | (eval $ac_link) 2>conftest.er1 |
8069 | ac_status=$? |
8277 | ac_status=$? |
|
|
8278 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8279 | rm -f conftest.er1 |
|
|
8280 | cat conftest.err >&5 |
8070 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8281 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8071 | (exit $ac_status); } && |
8282 | (exit $ac_status); } && |
8072 | { ac_try='test -s conftest$ac_exeext' |
8283 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8073 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8284 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8074 | (eval $ac_try) 2>&5 |
8285 | (eval $ac_try) 2>&5 |
8075 | ac_status=$? |
8286 | ac_status=$? |
8076 | 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 |
8077 | (exit $ac_status); }; }; then |
8294 | (exit $ac_status); }; }; then |
8078 | ac_cv_working_alloca_h=yes |
8295 | ac_cv_working_alloca_h=yes |
8079 | else |
8296 | else |
8080 | echo "$as_me: failed program was:" >&5 |
8297 | echo "$as_me: failed program was:" >&5 |
8081 | sed 's/^/| /' conftest.$ac_ext >&5 |
8298 | sed 's/^/| /' conftest.$ac_ext >&5 |
8082 | |
8299 | |
8083 | ac_cv_working_alloca_h=no |
8300 | ac_cv_working_alloca_h=no |
8084 | fi |
8301 | fi |
8085 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8302 | rm -f conftest.err conftest.$ac_objext \ |
|
|
8303 | conftest$ac_exeext conftest.$ac_ext |
8086 | fi |
8304 | fi |
8087 | echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 |
8305 | echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 |
8088 | echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 |
8306 | echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 |
8089 | if test $ac_cv_working_alloca_h = yes; then |
8307 | if test $ac_cv_working_alloca_h = yes; then |
8090 | |
8308 | |
… | |
… | |
8098 | echo $ECHO_N "checking for alloca... $ECHO_C" >&6 |
8316 | echo $ECHO_N "checking for alloca... $ECHO_C" >&6 |
8099 | if test "${ac_cv_func_alloca_works+set}" = set; then |
8317 | if test "${ac_cv_func_alloca_works+set}" = set; then |
8100 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8318 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8101 | else |
8319 | else |
8102 | cat >conftest.$ac_ext <<_ACEOF |
8320 | cat >conftest.$ac_ext <<_ACEOF |
8103 | #line $LINENO "configure" |
|
|
8104 | /* confdefs.h. */ |
8321 | /* confdefs.h. */ |
8105 | _ACEOF |
8322 | _ACEOF |
8106 | cat confdefs.h >>conftest.$ac_ext |
8323 | cat confdefs.h >>conftest.$ac_ext |
8107 | cat >>conftest.$ac_ext <<_ACEOF |
8324 | cat >>conftest.$ac_ext <<_ACEOF |
8108 | /* end confdefs.h. */ |
8325 | /* end confdefs.h. */ |
… | |
… | |
8135 | return 0; |
8352 | return 0; |
8136 | } |
8353 | } |
8137 | _ACEOF |
8354 | _ACEOF |
8138 | rm -f conftest.$ac_objext conftest$ac_exeext |
8355 | rm -f conftest.$ac_objext conftest$ac_exeext |
8139 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8356 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8140 | (eval $ac_link) 2>&5 |
8357 | (eval $ac_link) 2>conftest.er1 |
8141 | ac_status=$? |
8358 | ac_status=$? |
|
|
8359 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8360 | rm -f conftest.er1 |
|
|
8361 | cat conftest.err >&5 |
8142 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8362 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8143 | (exit $ac_status); } && |
8363 | (exit $ac_status); } && |
8144 | { ac_try='test -s conftest$ac_exeext' |
8364 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8145 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8365 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8146 | (eval $ac_try) 2>&5 |
8366 | (eval $ac_try) 2>&5 |
8147 | ac_status=$? |
8367 | ac_status=$? |
8148 | 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 |
8149 | (exit $ac_status); }; }; then |
8375 | (exit $ac_status); }; }; then |
8150 | ac_cv_func_alloca_works=yes |
8376 | ac_cv_func_alloca_works=yes |
8151 | else |
8377 | else |
8152 | echo "$as_me: failed program was:" >&5 |
8378 | echo "$as_me: failed program was:" >&5 |
8153 | sed 's/^/| /' conftest.$ac_ext >&5 |
8379 | sed 's/^/| /' conftest.$ac_ext >&5 |
8154 | |
8380 | |
8155 | ac_cv_func_alloca_works=no |
8381 | ac_cv_func_alloca_works=no |
8156 | fi |
8382 | fi |
8157 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8383 | rm -f conftest.err conftest.$ac_objext \ |
|
|
8384 | conftest$ac_exeext conftest.$ac_ext |
8158 | fi |
8385 | fi |
8159 | echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 |
8386 | echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 |
8160 | echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 |
8387 | echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 |
8161 | |
8388 | |
8162 | if test $ac_cv_func_alloca_works = yes; then |
8389 | if test $ac_cv_func_alloca_works = yes; then |
… | |
… | |
8182 | echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 |
8409 | echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 |
8183 | if test "${ac_cv_os_cray+set}" = set; then |
8410 | if test "${ac_cv_os_cray+set}" = set; then |
8184 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8411 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8185 | else |
8412 | else |
8186 | cat >conftest.$ac_ext <<_ACEOF |
8413 | cat >conftest.$ac_ext <<_ACEOF |
8187 | #line $LINENO "configure" |
|
|
8188 | /* confdefs.h. */ |
8414 | /* confdefs.h. */ |
8189 | _ACEOF |
8415 | _ACEOF |
8190 | cat confdefs.h >>conftest.$ac_ext |
8416 | cat confdefs.h >>conftest.$ac_ext |
8191 | cat >>conftest.$ac_ext <<_ACEOF |
8417 | cat >>conftest.$ac_ext <<_ACEOF |
8192 | /* end confdefs.h. */ |
8418 | /* end confdefs.h. */ |
… | |
… | |
8215 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
8441 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
8216 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
8442 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
8217 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8443 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8218 | else |
8444 | else |
8219 | cat >conftest.$ac_ext <<_ACEOF |
8445 | cat >conftest.$ac_ext <<_ACEOF |
8220 | #line $LINENO "configure" |
|
|
8221 | /* confdefs.h. */ |
8446 | /* confdefs.h. */ |
8222 | _ACEOF |
8447 | _ACEOF |
8223 | cat confdefs.h >>conftest.$ac_ext |
8448 | cat confdefs.h >>conftest.$ac_ext |
8224 | cat >>conftest.$ac_ext <<_ACEOF |
8449 | cat >>conftest.$ac_ext <<_ACEOF |
8225 | /* 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 | |
8226 | /* System header to define __stub macros and hopefully few prototypes, |
8455 | /* System header to define __stub macros and hopefully few prototypes, |
8227 | which can conflict with char $ac_func (); below. |
8456 | which can conflict with char $ac_func (); below. |
8228 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8457 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8229 | <limits.h> exists even on freestanding compilers. */ |
8458 | <limits.h> exists even on freestanding compilers. */ |
|
|
8459 | |
8230 | #ifdef __STDC__ |
8460 | #ifdef __STDC__ |
8231 | # include <limits.h> |
8461 | # include <limits.h> |
8232 | #else |
8462 | #else |
8233 | # include <assert.h> |
8463 | # include <assert.h> |
8234 | #endif |
8464 | #endif |
|
|
8465 | |
|
|
8466 | #undef $ac_func |
|
|
8467 | |
8235 | /* Override any gcc2 internal prototype to avoid an error. */ |
8468 | /* Override any gcc2 internal prototype to avoid an error. */ |
8236 | #ifdef __cplusplus |
8469 | #ifdef __cplusplus |
8237 | extern "C" |
8470 | extern "C" |
8238 | { |
8471 | { |
8239 | #endif |
8472 | #endif |
… | |
… | |
8260 | return 0; |
8493 | return 0; |
8261 | } |
8494 | } |
8262 | _ACEOF |
8495 | _ACEOF |
8263 | rm -f conftest.$ac_objext conftest$ac_exeext |
8496 | rm -f conftest.$ac_objext conftest$ac_exeext |
8264 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8497 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8265 | (eval $ac_link) 2>&5 |
8498 | (eval $ac_link) 2>conftest.er1 |
8266 | ac_status=$? |
8499 | ac_status=$? |
|
|
8500 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8501 | rm -f conftest.er1 |
|
|
8502 | cat conftest.err >&5 |
8267 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8503 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8268 | (exit $ac_status); } && |
8504 | (exit $ac_status); } && |
8269 | { ac_try='test -s conftest$ac_exeext' |
8505 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8270 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8506 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8271 | (eval $ac_try) 2>&5 |
8507 | (eval $ac_try) 2>&5 |
8272 | ac_status=$? |
8508 | ac_status=$? |
8273 | 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 |
8274 | (exit $ac_status); }; }; then |
8516 | (exit $ac_status); }; }; then |
8275 | eval "$as_ac_var=yes" |
8517 | eval "$as_ac_var=yes" |
8276 | else |
8518 | else |
8277 | echo "$as_me: failed program was:" >&5 |
8519 | echo "$as_me: failed program was:" >&5 |
8278 | sed 's/^/| /' conftest.$ac_ext >&5 |
8520 | sed 's/^/| /' conftest.$ac_ext >&5 |
8279 | |
8521 | |
8280 | eval "$as_ac_var=no" |
8522 | eval "$as_ac_var=no" |
8281 | fi |
8523 | fi |
8282 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8524 | rm -f conftest.err conftest.$ac_objext \ |
|
|
8525 | conftest$ac_exeext conftest.$ac_ext |
8283 | fi |
8526 | fi |
8284 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
8527 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
8285 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
8528 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
8286 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
8529 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
8287 | |
8530 | |
… | |
… | |
8302 | else |
8545 | else |
8303 | if test "$cross_compiling" = yes; then |
8546 | if test "$cross_compiling" = yes; then |
8304 | ac_cv_c_stack_direction=0 |
8547 | ac_cv_c_stack_direction=0 |
8305 | else |
8548 | else |
8306 | cat >conftest.$ac_ext <<_ACEOF |
8549 | cat >conftest.$ac_ext <<_ACEOF |
8307 | #line $LINENO "configure" |
|
|
8308 | /* confdefs.h. */ |
8550 | /* confdefs.h. */ |
8309 | _ACEOF |
8551 | _ACEOF |
8310 | cat confdefs.h >>conftest.$ac_ext |
8552 | cat confdefs.h >>conftest.$ac_ext |
8311 | cat >>conftest.$ac_ext <<_ACEOF |
8553 | cat >>conftest.$ac_ext <<_ACEOF |
8312 | /* end confdefs.h. */ |
8554 | /* end confdefs.h. */ |
… | |
… | |
8369 | echo $ECHO_N "checking for socket... $ECHO_C" >&6 |
8611 | echo $ECHO_N "checking for socket... $ECHO_C" >&6 |
8370 | if test "${ac_cv_func_socket+set}" = set; then |
8612 | if test "${ac_cv_func_socket+set}" = set; then |
8371 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8613 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8372 | else |
8614 | else |
8373 | cat >conftest.$ac_ext <<_ACEOF |
8615 | cat >conftest.$ac_ext <<_ACEOF |
8374 | #line $LINENO "configure" |
|
|
8375 | /* confdefs.h. */ |
8616 | /* confdefs.h. */ |
8376 | _ACEOF |
8617 | _ACEOF |
8377 | cat confdefs.h >>conftest.$ac_ext |
8618 | cat confdefs.h >>conftest.$ac_ext |
8378 | cat >>conftest.$ac_ext <<_ACEOF |
8619 | cat >>conftest.$ac_ext <<_ACEOF |
8379 | /* 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 | |
8380 | /* System header to define __stub macros and hopefully few prototypes, |
8625 | /* System header to define __stub macros and hopefully few prototypes, |
8381 | which can conflict with char socket (); below. |
8626 | which can conflict with char socket (); below. |
8382 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8627 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8383 | <limits.h> exists even on freestanding compilers. */ |
8628 | <limits.h> exists even on freestanding compilers. */ |
|
|
8629 | |
8384 | #ifdef __STDC__ |
8630 | #ifdef __STDC__ |
8385 | # include <limits.h> |
8631 | # include <limits.h> |
8386 | #else |
8632 | #else |
8387 | # include <assert.h> |
8633 | # include <assert.h> |
8388 | #endif |
8634 | #endif |
|
|
8635 | |
|
|
8636 | #undef socket |
|
|
8637 | |
8389 | /* Override any gcc2 internal prototype to avoid an error. */ |
8638 | /* Override any gcc2 internal prototype to avoid an error. */ |
8390 | #ifdef __cplusplus |
8639 | #ifdef __cplusplus |
8391 | extern "C" |
8640 | extern "C" |
8392 | { |
8641 | { |
8393 | #endif |
8642 | #endif |
… | |
… | |
8414 | return 0; |
8663 | return 0; |
8415 | } |
8664 | } |
8416 | _ACEOF |
8665 | _ACEOF |
8417 | rm -f conftest.$ac_objext conftest$ac_exeext |
8666 | rm -f conftest.$ac_objext conftest$ac_exeext |
8418 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8667 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8419 | (eval $ac_link) 2>&5 |
8668 | (eval $ac_link) 2>conftest.er1 |
8420 | ac_status=$? |
8669 | ac_status=$? |
|
|
8670 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8671 | rm -f conftest.er1 |
|
|
8672 | cat conftest.err >&5 |
8421 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8673 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8422 | (exit $ac_status); } && |
8674 | (exit $ac_status); } && |
8423 | { ac_try='test -s conftest$ac_exeext' |
8675 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8424 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8676 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8425 | (eval $ac_try) 2>&5 |
8677 | (eval $ac_try) 2>&5 |
8426 | ac_status=$? |
8678 | ac_status=$? |
8427 | 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 |
8428 | (exit $ac_status); }; }; then |
8686 | (exit $ac_status); }; }; then |
8429 | ac_cv_func_socket=yes |
8687 | ac_cv_func_socket=yes |
8430 | else |
8688 | else |
8431 | echo "$as_me: failed program was:" >&5 |
8689 | echo "$as_me: failed program was:" >&5 |
8432 | sed 's/^/| /' conftest.$ac_ext >&5 |
8690 | sed 's/^/| /' conftest.$ac_ext >&5 |
8433 | |
8691 | |
8434 | ac_cv_func_socket=no |
8692 | ac_cv_func_socket=no |
8435 | fi |
8693 | fi |
8436 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8694 | rm -f conftest.err conftest.$ac_objext \ |
|
|
8695 | conftest$ac_exeext conftest.$ac_ext |
8437 | fi |
8696 | fi |
8438 | echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 |
8697 | echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 |
8439 | echo "${ECHO_T}$ac_cv_func_socket" >&6 |
8698 | echo "${ECHO_T}$ac_cv_func_socket" >&6 |
8440 | if test $ac_cv_func_socket = yes; then |
8699 | if test $ac_cv_func_socket = yes; then |
8441 | : |
8700 | : |
… | |
… | |
8448 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8707 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8449 | else |
8708 | else |
8450 | ac_check_lib_save_LIBS=$LIBS |
8709 | ac_check_lib_save_LIBS=$LIBS |
8451 | LIBS="-lsocket $LIBS" |
8710 | LIBS="-lsocket $LIBS" |
8452 | cat >conftest.$ac_ext <<_ACEOF |
8711 | cat >conftest.$ac_ext <<_ACEOF |
8453 | #line $LINENO "configure" |
|
|
8454 | /* confdefs.h. */ |
8712 | /* confdefs.h. */ |
8455 | _ACEOF |
8713 | _ACEOF |
8456 | cat confdefs.h >>conftest.$ac_ext |
8714 | cat confdefs.h >>conftest.$ac_ext |
8457 | cat >>conftest.$ac_ext <<_ACEOF |
8715 | cat >>conftest.$ac_ext <<_ACEOF |
8458 | /* end confdefs.h. */ |
8716 | /* end confdefs.h. */ |
… | |
… | |
8472 | return 0; |
8730 | return 0; |
8473 | } |
8731 | } |
8474 | _ACEOF |
8732 | _ACEOF |
8475 | rm -f conftest.$ac_objext conftest$ac_exeext |
8733 | rm -f conftest.$ac_objext conftest$ac_exeext |
8476 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8734 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8477 | (eval $ac_link) 2>&5 |
8735 | (eval $ac_link) 2>conftest.er1 |
8478 | ac_status=$? |
8736 | ac_status=$? |
|
|
8737 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8738 | rm -f conftest.er1 |
|
|
8739 | cat conftest.err >&5 |
8479 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8740 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8480 | (exit $ac_status); } && |
8741 | (exit $ac_status); } && |
8481 | { ac_try='test -s conftest$ac_exeext' |
8742 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8482 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8743 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8483 | (eval $ac_try) 2>&5 |
8744 | (eval $ac_try) 2>&5 |
8484 | ac_status=$? |
8745 | ac_status=$? |
8485 | 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 |
8486 | (exit $ac_status); }; }; then |
8753 | (exit $ac_status); }; }; then |
8487 | ac_cv_lib_socket_connect=yes |
8754 | ac_cv_lib_socket_connect=yes |
8488 | else |
8755 | else |
8489 | echo "$as_me: failed program was:" >&5 |
8756 | echo "$as_me: failed program was:" >&5 |
8490 | sed 's/^/| /' conftest.$ac_ext >&5 |
8757 | sed 's/^/| /' conftest.$ac_ext >&5 |
8491 | |
8758 | |
8492 | ac_cv_lib_socket_connect=no |
8759 | ac_cv_lib_socket_connect=no |
8493 | fi |
8760 | fi |
8494 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8761 | rm -f conftest.err conftest.$ac_objext \ |
|
|
8762 | conftest$ac_exeext conftest.$ac_ext |
8495 | LIBS=$ac_check_lib_save_LIBS |
8763 | LIBS=$ac_check_lib_save_LIBS |
8496 | fi |
8764 | fi |
8497 | echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 |
8765 | echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 |
8498 | echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6 |
8766 | echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6 |
8499 | if test $ac_cv_lib_socket_connect = yes; then |
8767 | if test $ac_cv_lib_socket_connect = yes; then |
… | |
… | |
8512 | echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 |
8780 | echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 |
8513 | if test "${ac_cv_func_gethostbyname+set}" = set; then |
8781 | if test "${ac_cv_func_gethostbyname+set}" = set; then |
8514 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8782 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8515 | else |
8783 | else |
8516 | cat >conftest.$ac_ext <<_ACEOF |
8784 | cat >conftest.$ac_ext <<_ACEOF |
8517 | #line $LINENO "configure" |
|
|
8518 | /* confdefs.h. */ |
8785 | /* confdefs.h. */ |
8519 | _ACEOF |
8786 | _ACEOF |
8520 | cat confdefs.h >>conftest.$ac_ext |
8787 | cat confdefs.h >>conftest.$ac_ext |
8521 | cat >>conftest.$ac_ext <<_ACEOF |
8788 | cat >>conftest.$ac_ext <<_ACEOF |
8522 | /* 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 | |
8523 | /* System header to define __stub macros and hopefully few prototypes, |
8794 | /* System header to define __stub macros and hopefully few prototypes, |
8524 | which can conflict with char gethostbyname (); below. |
8795 | which can conflict with char gethostbyname (); below. |
8525 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8796 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8526 | <limits.h> exists even on freestanding compilers. */ |
8797 | <limits.h> exists even on freestanding compilers. */ |
|
|
8798 | |
8527 | #ifdef __STDC__ |
8799 | #ifdef __STDC__ |
8528 | # include <limits.h> |
8800 | # include <limits.h> |
8529 | #else |
8801 | #else |
8530 | # include <assert.h> |
8802 | # include <assert.h> |
8531 | #endif |
8803 | #endif |
|
|
8804 | |
|
|
8805 | #undef gethostbyname |
|
|
8806 | |
8532 | /* Override any gcc2 internal prototype to avoid an error. */ |
8807 | /* Override any gcc2 internal prototype to avoid an error. */ |
8533 | #ifdef __cplusplus |
8808 | #ifdef __cplusplus |
8534 | extern "C" |
8809 | extern "C" |
8535 | { |
8810 | { |
8536 | #endif |
8811 | #endif |
… | |
… | |
8557 | return 0; |
8832 | return 0; |
8558 | } |
8833 | } |
8559 | _ACEOF |
8834 | _ACEOF |
8560 | rm -f conftest.$ac_objext conftest$ac_exeext |
8835 | rm -f conftest.$ac_objext conftest$ac_exeext |
8561 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8836 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8562 | (eval $ac_link) 2>&5 |
8837 | (eval $ac_link) 2>conftest.er1 |
8563 | ac_status=$? |
8838 | ac_status=$? |
|
|
8839 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8840 | rm -f conftest.er1 |
|
|
8841 | cat conftest.err >&5 |
8564 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8842 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8565 | (exit $ac_status); } && |
8843 | (exit $ac_status); } && |
8566 | { ac_try='test -s conftest$ac_exeext' |
8844 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8567 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8845 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8568 | (eval $ac_try) 2>&5 |
8846 | (eval $ac_try) 2>&5 |
8569 | ac_status=$? |
8847 | ac_status=$? |
8570 | 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 |
8571 | (exit $ac_status); }; }; then |
8855 | (exit $ac_status); }; }; then |
8572 | ac_cv_func_gethostbyname=yes |
8856 | ac_cv_func_gethostbyname=yes |
8573 | else |
8857 | else |
8574 | echo "$as_me: failed program was:" >&5 |
8858 | echo "$as_me: failed program was:" >&5 |
8575 | sed 's/^/| /' conftest.$ac_ext >&5 |
8859 | sed 's/^/| /' conftest.$ac_ext >&5 |
8576 | |
8860 | |
8577 | ac_cv_func_gethostbyname=no |
8861 | ac_cv_func_gethostbyname=no |
8578 | fi |
8862 | fi |
8579 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8863 | rm -f conftest.err conftest.$ac_objext \ |
|
|
8864 | conftest$ac_exeext conftest.$ac_ext |
8580 | fi |
8865 | fi |
8581 | echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 |
8866 | echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 |
8582 | echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 |
8867 | echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 |
8583 | if test $ac_cv_func_gethostbyname = yes; then |
8868 | if test $ac_cv_func_gethostbyname = yes; then |
8584 | : |
8869 | : |
… | |
… | |
8591 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8876 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8592 | else |
8877 | else |
8593 | ac_check_lib_save_LIBS=$LIBS |
8878 | ac_check_lib_save_LIBS=$LIBS |
8594 | LIBS="-lnsl $LIBS" |
8879 | LIBS="-lnsl $LIBS" |
8595 | cat >conftest.$ac_ext <<_ACEOF |
8880 | cat >conftest.$ac_ext <<_ACEOF |
8596 | #line $LINENO "configure" |
|
|
8597 | /* confdefs.h. */ |
8881 | /* confdefs.h. */ |
8598 | _ACEOF |
8882 | _ACEOF |
8599 | cat confdefs.h >>conftest.$ac_ext |
8883 | cat confdefs.h >>conftest.$ac_ext |
8600 | cat >>conftest.$ac_ext <<_ACEOF |
8884 | cat >>conftest.$ac_ext <<_ACEOF |
8601 | /* end confdefs.h. */ |
8885 | /* end confdefs.h. */ |
… | |
… | |
8615 | return 0; |
8899 | return 0; |
8616 | } |
8900 | } |
8617 | _ACEOF |
8901 | _ACEOF |
8618 | rm -f conftest.$ac_objext conftest$ac_exeext |
8902 | rm -f conftest.$ac_objext conftest$ac_exeext |
8619 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8903 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8620 | (eval $ac_link) 2>&5 |
8904 | (eval $ac_link) 2>conftest.er1 |
8621 | ac_status=$? |
8905 | ac_status=$? |
|
|
8906 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8907 | rm -f conftest.er1 |
|
|
8908 | cat conftest.err >&5 |
8622 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8909 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8623 | (exit $ac_status); } && |
8910 | (exit $ac_status); } && |
8624 | { ac_try='test -s conftest$ac_exeext' |
8911 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8625 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8912 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8626 | (eval $ac_try) 2>&5 |
8913 | (eval $ac_try) 2>&5 |
8627 | ac_status=$? |
8914 | ac_status=$? |
8628 | 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 |
8629 | (exit $ac_status); }; }; then |
8922 | (exit $ac_status); }; }; then |
8630 | ac_cv_lib_nsl_gethostbyname=yes |
8923 | ac_cv_lib_nsl_gethostbyname=yes |
8631 | else |
8924 | else |
8632 | echo "$as_me: failed program was:" >&5 |
8925 | echo "$as_me: failed program was:" >&5 |
8633 | sed 's/^/| /' conftest.$ac_ext >&5 |
8926 | sed 's/^/| /' conftest.$ac_ext >&5 |
8634 | |
8927 | |
8635 | ac_cv_lib_nsl_gethostbyname=no |
8928 | ac_cv_lib_nsl_gethostbyname=no |
8636 | fi |
8929 | fi |
8637 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8930 | rm -f conftest.err conftest.$ac_objext \ |
|
|
8931 | conftest$ac_exeext conftest.$ac_ext |
8638 | LIBS=$ac_check_lib_save_LIBS |
8932 | LIBS=$ac_check_lib_save_LIBS |
8639 | fi |
8933 | fi |
8640 | echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
8934 | echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
8641 | echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 |
8935 | echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 |
8642 | if test $ac_cv_lib_nsl_gethostbyname = yes; then |
8936 | if test $ac_cv_lib_nsl_gethostbyname = yes; then |
… | |
… | |
8686 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
8980 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
8687 | *ac_space=\ *) |
8981 | *ac_space=\ *) |
8688 | # `set' does not quote correctly, so add quotes (double-quote |
8982 | # `set' does not quote correctly, so add quotes (double-quote |
8689 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
8983 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
8690 | sed -n \ |
8984 | sed -n \ |
8691 | "s/'/'\\\\''/g; |
8985 | "s/'/'\\\\''/g; |
8692 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
8986 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
8693 | ;; |
8987 | ;; |
8694 | *) |
8988 | *) |
8695 | # `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. |
8696 | sed -n \ |
8990 | sed -n \ |
8697 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
8991 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
8698 | ;; |
8992 | ;; |
8699 | esac; |
8993 | esac; |
8700 | } | |
8994 | } | |
8701 | sed ' |
8995 | sed ' |
8702 | t clear |
8996 | t clear |
… | |
… | |
8731 | if test "${tinc_cv_linux_if_tun_h+set}" = set; then |
9025 | if test "${tinc_cv_linux_if_tun_h+set}" = set; then |
8732 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9026 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8733 | else |
9027 | else |
8734 | |
9028 | |
8735 | cat >conftest.$ac_ext <<_ACEOF |
9029 | cat >conftest.$ac_ext <<_ACEOF |
8736 | #line $LINENO "configure" |
|
|
8737 | /* confdefs.h. */ |
9030 | /* confdefs.h. */ |
8738 | _ACEOF |
9031 | _ACEOF |
8739 | cat confdefs.h >>conftest.$ac_ext |
9032 | cat confdefs.h >>conftest.$ac_ext |
8740 | cat >>conftest.$ac_ext <<_ACEOF |
9033 | cat >>conftest.$ac_ext <<_ACEOF |
8741 | /* end confdefs.h. */ |
9034 | /* end confdefs.h. */ |
… | |
… | |
8748 | return 0; |
9041 | return 0; |
8749 | } |
9042 | } |
8750 | _ACEOF |
9043 | _ACEOF |
8751 | rm -f conftest.$ac_objext |
9044 | rm -f conftest.$ac_objext |
8752 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9045 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8753 | (eval $ac_compile) 2>&5 |
9046 | (eval $ac_compile) 2>conftest.er1 |
8754 | ac_status=$? |
9047 | ac_status=$? |
|
|
9048 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9049 | rm -f conftest.er1 |
|
|
9050 | cat conftest.err >&5 |
8755 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9051 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8756 | (exit $ac_status); } && |
9052 | (exit $ac_status); } && |
8757 | { ac_try='test -s conftest.$ac_objext' |
9053 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8758 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9054 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8759 | (eval $ac_try) 2>&5 |
9055 | (eval $ac_try) 2>&5 |
8760 | ac_status=$? |
9056 | ac_status=$? |
8761 | 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 |
8762 | (exit $ac_status); }; }; then |
9064 | (exit $ac_status); }; }; then |
8763 | if_tun_h="\"$kerneldir/include/linux/if_tun.h\"" |
9065 | if_tun_h="\"$kerneldir/include/linux/if_tun.h\"" |
8764 | else |
9066 | else |
8765 | echo "$as_me: failed program was:" >&5 |
9067 | echo "$as_me: failed program was:" >&5 |
8766 | sed 's/^/| /' conftest.$ac_ext >&5 |
9068 | sed 's/^/| /' conftest.$ac_ext >&5 |
8767 | |
9069 | |
8768 | cat >conftest.$ac_ext <<_ACEOF |
9070 | cat >conftest.$ac_ext <<_ACEOF |
8769 | #line $LINENO "configure" |
|
|
8770 | /* confdefs.h. */ |
9071 | /* confdefs.h. */ |
8771 | _ACEOF |
9072 | _ACEOF |
8772 | cat confdefs.h >>conftest.$ac_ext |
9073 | cat confdefs.h >>conftest.$ac_ext |
8773 | cat >>conftest.$ac_ext <<_ACEOF |
9074 | cat >>conftest.$ac_ext <<_ACEOF |
8774 | /* end confdefs.h. */ |
9075 | /* end confdefs.h. */ |
… | |
… | |
8781 | return 0; |
9082 | return 0; |
8782 | } |
9083 | } |
8783 | _ACEOF |
9084 | _ACEOF |
8784 | rm -f conftest.$ac_objext |
9085 | rm -f conftest.$ac_objext |
8785 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9086 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8786 | (eval $ac_compile) 2>&5 |
9087 | (eval $ac_compile) 2>conftest.er1 |
8787 | ac_status=$? |
9088 | ac_status=$? |
|
|
9089 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9090 | rm -f conftest.er1 |
|
|
9091 | cat conftest.err >&5 |
8788 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9092 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8789 | (exit $ac_status); } && |
9093 | (exit $ac_status); } && |
8790 | { ac_try='test -s conftest.$ac_objext' |
9094 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8791 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9095 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8792 | (eval $ac_try) 2>&5 |
9096 | (eval $ac_try) 2>&5 |
8793 | ac_status=$? |
9097 | ac_status=$? |
8794 | 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 |
8795 | (exit $ac_status); }; }; then |
9105 | (exit $ac_status); }; }; then |
8796 | if_tun_h="default" |
9106 | if_tun_h="default" |
8797 | else |
9107 | else |
8798 | echo "$as_me: failed program was:" >&5 |
9108 | echo "$as_me: failed program was:" >&5 |
8799 | sed 's/^/| /' conftest.$ac_ext >&5 |
9109 | sed 's/^/| /' conftest.$ac_ext >&5 |
8800 | |
9110 | |
8801 | if_tun_h="no" |
9111 | if_tun_h="no" |
8802 | |
9112 | |
8803 | fi |
9113 | fi |
8804 | rm -f conftest.$ac_objext conftest.$ac_ext |
9114 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8805 | |
9115 | |
8806 | fi |
9116 | fi |
8807 | rm -f conftest.$ac_objext conftest.$ac_ext |
9117 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8808 | |
9118 | |
8809 | if test $if_tun_h = no; then |
9119 | if test $if_tun_h = no; then |
8810 | tinc_cv_linux_if_tun_h=none |
9120 | tinc_cv_linux_if_tun_h=none |
8811 | else |
9121 | else |
8812 | tinc_cv_linux_if_tun_h="$if_tun_h" |
9122 | tinc_cv_linux_if_tun_h="$if_tun_h" |
… | |
… | |
8828 | #define LINUX_IF_TUN_H $tinc_cv_linux_if_tun_h |
9138 | #define LINUX_IF_TUN_H $tinc_cv_linux_if_tun_h |
8829 | _ACEOF |
9139 | _ACEOF |
8830 | |
9140 | |
8831 | fi |
9141 | fi |
8832 | fi |
9142 | fi |
|
|
9143 | |
8833 | |
9144 | |
8834 | |
9145 | |
8835 | |
9146 | |
8836 | |
9147 | |
8837 | tinc_ac_save_CPPFLAGS="$CPPFLAGS" |
9148 | tinc_ac_save_CPPFLAGS="$CPPFLAGS" |
… | |
… | |
8875 | else |
9186 | else |
8876 | # Is the header compilable? |
9187 | # Is the header compilable? |
8877 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
9188 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
8878 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
9189 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
8879 | cat >conftest.$ac_ext <<_ACEOF |
9190 | cat >conftest.$ac_ext <<_ACEOF |
8880 | #line $LINENO "configure" |
|
|
8881 | /* confdefs.h. */ |
9191 | /* confdefs.h. */ |
8882 | _ACEOF |
9192 | _ACEOF |
8883 | cat confdefs.h >>conftest.$ac_ext |
9193 | cat confdefs.h >>conftest.$ac_ext |
8884 | cat >>conftest.$ac_ext <<_ACEOF |
9194 | cat >>conftest.$ac_ext <<_ACEOF |
8885 | /* end confdefs.h. */ |
9195 | /* end confdefs.h. */ |
8886 | $ac_includes_default |
9196 | $ac_includes_default |
8887 | #include <$ac_header> |
9197 | #include <$ac_header> |
8888 | _ACEOF |
9198 | _ACEOF |
8889 | rm -f conftest.$ac_objext |
9199 | rm -f conftest.$ac_objext |
8890 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9200 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8891 | (eval $ac_compile) 2>&5 |
9201 | (eval $ac_compile) 2>conftest.er1 |
8892 | ac_status=$? |
9202 | ac_status=$? |
|
|
9203 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9204 | rm -f conftest.er1 |
|
|
9205 | cat conftest.err >&5 |
8893 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9206 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8894 | (exit $ac_status); } && |
9207 | (exit $ac_status); } && |
8895 | { ac_try='test -s conftest.$ac_objext' |
9208 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8896 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9209 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8897 | (eval $ac_try) 2>&5 |
9210 | (eval $ac_try) 2>&5 |
8898 | ac_status=$? |
9211 | ac_status=$? |
8899 | 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 |
8900 | (exit $ac_status); }; }; then |
9219 | (exit $ac_status); }; }; then |
8901 | ac_header_compiler=yes |
9220 | ac_header_compiler=yes |
8902 | else |
9221 | else |
8903 | echo "$as_me: failed program was:" >&5 |
9222 | echo "$as_me: failed program was:" >&5 |
8904 | sed 's/^/| /' conftest.$ac_ext >&5 |
9223 | sed 's/^/| /' conftest.$ac_ext >&5 |
8905 | |
9224 | |
8906 | ac_header_compiler=no |
9225 | ac_header_compiler=no |
8907 | fi |
9226 | fi |
8908 | rm -f conftest.$ac_objext conftest.$ac_ext |
9227 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8909 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
9228 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8910 | echo "${ECHO_T}$ac_header_compiler" >&6 |
9229 | echo "${ECHO_T}$ac_header_compiler" >&6 |
8911 | |
9230 | |
8912 | # Is the header present? |
9231 | # Is the header present? |
8913 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
9232 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
8914 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
9233 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
8915 | cat >conftest.$ac_ext <<_ACEOF |
9234 | cat >conftest.$ac_ext <<_ACEOF |
8916 | #line $LINENO "configure" |
|
|
8917 | /* confdefs.h. */ |
9235 | /* confdefs.h. */ |
8918 | _ACEOF |
9236 | _ACEOF |
8919 | cat confdefs.h >>conftest.$ac_ext |
9237 | cat confdefs.h >>conftest.$ac_ext |
8920 | cat >>conftest.$ac_ext <<_ACEOF |
9238 | cat >>conftest.$ac_ext <<_ACEOF |
8921 | /* end confdefs.h. */ |
9239 | /* end confdefs.h. */ |
… | |
… | |
8929 | cat conftest.err >&5 |
9247 | cat conftest.err >&5 |
8930 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9248 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8931 | (exit $ac_status); } >/dev/null; then |
9249 | (exit $ac_status); } >/dev/null; then |
8932 | if test -s conftest.err; then |
9250 | if test -s conftest.err; then |
8933 | 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 |
8934 | else |
9253 | else |
8935 | ac_cpp_err= |
9254 | ac_cpp_err= |
8936 | fi |
9255 | fi |
8937 | else |
9256 | else |
8938 | ac_cpp_err=yes |
9257 | ac_cpp_err=yes |
… | |
… | |
8948 | rm -f conftest.err conftest.$ac_ext |
9267 | rm -f conftest.err conftest.$ac_ext |
8949 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
9268 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
8950 | echo "${ECHO_T}$ac_header_preproc" >&6 |
9269 | echo "${ECHO_T}$ac_header_preproc" >&6 |
8951 | |
9270 | |
8952 | # So? What about this header? |
9271 | # So? What about this header? |
8953 | case $ac_header_compiler:$ac_header_preproc in |
9272 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
8954 | yes:no ) |
9273 | yes:no: ) |
8955 | { 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 |
8956 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
9275 | echo "$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 |
|
|
9277 | echo "$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 |
|
|
9282 | echo "$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 |
|
|
9284 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
9285 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
9286 | echo "$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 |
|
|
9288 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
8957 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
9289 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
8958 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
9290 | echo "$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 |
|
|
9292 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
8959 | ( |
9293 | ( |
8960 | cat <<\_ASBOX |
9294 | cat <<\_ASBOX |
8961 | ## ------------------------------------ ## |
9295 | ## ------------------------------------------ ## |
8962 | ## Report this to bug-autoconf@gnu.org. ## |
9296 | ## Report this to the AC_PACKAGE_NAME lists. ## |
8963 | ## ------------------------------------ ## |
9297 | ## ------------------------------------------ ## |
8964 | _ASBOX |
|
|
8965 | ) | |
|
|
8966 | sed "s/^/$as_me: WARNING: /" >&2 |
|
|
8967 | ;; |
|
|
8968 | no:yes ) |
|
|
8969 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
8970 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
8971 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
8972 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
8973 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
8974 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
8975 | ( |
|
|
8976 | cat <<\_ASBOX |
|
|
8977 | ## ------------------------------------ ## |
|
|
8978 | ## Report this to bug-autoconf@gnu.org. ## |
|
|
8979 | ## ------------------------------------ ## |
|
|
8980 | _ASBOX |
9298 | _ASBOX |
8981 | ) | |
9299 | ) | |
8982 | sed "s/^/$as_me: WARNING: /" >&2 |
9300 | sed "s/^/$as_me: WARNING: /" >&2 |
8983 | ;; |
9301 | ;; |
8984 | esac |
9302 | esac |
8985 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
9303 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8986 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
9304 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
8987 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
9305 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
8988 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9306 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8989 | else |
9307 | else |
8990 | eval "$as_ac_Header=$ac_header_preproc" |
9308 | eval "$as_ac_Header=\$ac_header_preproc" |
8991 | fi |
9309 | fi |
8992 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
9310 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
8993 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
9311 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
8994 | |
9312 | |
8995 | fi |
9313 | fi |
… | |
… | |
9016 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9334 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9017 | else |
9335 | else |
9018 | ac_check_lib_save_LIBS=$LIBS |
9336 | ac_check_lib_save_LIBS=$LIBS |
9019 | LIBS="-lcrypto $LIBS" |
9337 | LIBS="-lcrypto $LIBS" |
9020 | cat >conftest.$ac_ext <<_ACEOF |
9338 | cat >conftest.$ac_ext <<_ACEOF |
9021 | #line $LINENO "configure" |
|
|
9022 | /* confdefs.h. */ |
9339 | /* confdefs.h. */ |
9023 | _ACEOF |
9340 | _ACEOF |
9024 | cat confdefs.h >>conftest.$ac_ext |
9341 | cat confdefs.h >>conftest.$ac_ext |
9025 | cat >>conftest.$ac_ext <<_ACEOF |
9342 | cat >>conftest.$ac_ext <<_ACEOF |
9026 | /* end confdefs.h. */ |
9343 | /* end confdefs.h. */ |
… | |
… | |
9040 | return 0; |
9357 | return 0; |
9041 | } |
9358 | } |
9042 | _ACEOF |
9359 | _ACEOF |
9043 | rm -f conftest.$ac_objext conftest$ac_exeext |
9360 | rm -f conftest.$ac_objext conftest$ac_exeext |
9044 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9361 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9045 | (eval $ac_link) 2>&5 |
9362 | (eval $ac_link) 2>conftest.er1 |
9046 | ac_status=$? |
9363 | ac_status=$? |
|
|
9364 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9365 | rm -f conftest.er1 |
|
|
9366 | cat conftest.err >&5 |
9047 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9367 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9048 | (exit $ac_status); } && |
9368 | (exit $ac_status); } && |
9049 | { ac_try='test -s conftest$ac_exeext' |
9369 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9050 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9370 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9051 | (eval $ac_try) 2>&5 |
9371 | (eval $ac_try) 2>&5 |
9052 | ac_status=$? |
9372 | ac_status=$? |
9053 | 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 |
9054 | (exit $ac_status); }; }; then |
9380 | (exit $ac_status); }; }; then |
9055 | ac_cv_lib_crypto_SHA1_version=yes |
9381 | ac_cv_lib_crypto_SHA1_version=yes |
9056 | else |
9382 | else |
9057 | echo "$as_me: failed program was:" >&5 |
9383 | echo "$as_me: failed program was:" >&5 |
9058 | sed 's/^/| /' conftest.$ac_ext >&5 |
9384 | sed 's/^/| /' conftest.$ac_ext >&5 |
9059 | |
9385 | |
9060 | ac_cv_lib_crypto_SHA1_version=no |
9386 | ac_cv_lib_crypto_SHA1_version=no |
9061 | fi |
9387 | fi |
9062 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9388 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9389 | conftest$ac_exeext conftest.$ac_ext |
9063 | LIBS=$ac_check_lib_save_LIBS |
9390 | LIBS=$ac_check_lib_save_LIBS |
9064 | fi |
9391 | fi |
9065 | echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_SHA1_version" >&5 |
9392 | echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_SHA1_version" >&5 |
9066 | echo "${ECHO_T}$ac_cv_lib_crypto_SHA1_version" >&6 |
9393 | echo "${ECHO_T}$ac_cv_lib_crypto_SHA1_version" >&6 |
9067 | if test $ac_cv_lib_crypto_SHA1_version = yes; then |
9394 | if test $ac_cv_lib_crypto_SHA1_version = yes; then |
… | |
… | |
9085 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9412 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9086 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
9413 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
9087 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9414 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9088 | else |
9415 | else |
9089 | cat >conftest.$ac_ext <<_ACEOF |
9416 | cat >conftest.$ac_ext <<_ACEOF |
9090 | #line $LINENO "configure" |
|
|
9091 | /* confdefs.h. */ |
9417 | /* confdefs.h. */ |
9092 | _ACEOF |
9418 | _ACEOF |
9093 | cat confdefs.h >>conftest.$ac_ext |
9419 | cat confdefs.h >>conftest.$ac_ext |
9094 | cat >>conftest.$ac_ext <<_ACEOF |
9420 | cat >>conftest.$ac_ext <<_ACEOF |
9095 | /* 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 | |
9096 | /* System header to define __stub macros and hopefully few prototypes, |
9426 | /* System header to define __stub macros and hopefully few prototypes, |
9097 | which can conflict with char $ac_func (); below. |
9427 | which can conflict with char $ac_func (); below. |
9098 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
9428 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
9099 | <limits.h> exists even on freestanding compilers. */ |
9429 | <limits.h> exists even on freestanding compilers. */ |
|
|
9430 | |
9100 | #ifdef __STDC__ |
9431 | #ifdef __STDC__ |
9101 | # include <limits.h> |
9432 | # include <limits.h> |
9102 | #else |
9433 | #else |
9103 | # include <assert.h> |
9434 | # include <assert.h> |
9104 | #endif |
9435 | #endif |
|
|
9436 | |
|
|
9437 | #undef $ac_func |
|
|
9438 | |
9105 | /* Override any gcc2 internal prototype to avoid an error. */ |
9439 | /* Override any gcc2 internal prototype to avoid an error. */ |
9106 | #ifdef __cplusplus |
9440 | #ifdef __cplusplus |
9107 | extern "C" |
9441 | extern "C" |
9108 | { |
9442 | { |
9109 | #endif |
9443 | #endif |
… | |
… | |
9130 | return 0; |
9464 | return 0; |
9131 | } |
9465 | } |
9132 | _ACEOF |
9466 | _ACEOF |
9133 | rm -f conftest.$ac_objext conftest$ac_exeext |
9467 | rm -f conftest.$ac_objext conftest$ac_exeext |
9134 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9468 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9135 | (eval $ac_link) 2>&5 |
9469 | (eval $ac_link) 2>conftest.er1 |
9136 | ac_status=$? |
9470 | ac_status=$? |
|
|
9471 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9472 | rm -f conftest.er1 |
|
|
9473 | cat conftest.err >&5 |
9137 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9474 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9138 | (exit $ac_status); } && |
9475 | (exit $ac_status); } && |
9139 | { ac_try='test -s conftest$ac_exeext' |
9476 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9140 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9477 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9141 | (eval $ac_try) 2>&5 |
9478 | (eval $ac_try) 2>&5 |
9142 | ac_status=$? |
9479 | ac_status=$? |
9143 | 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 |
9144 | (exit $ac_status); }; }; then |
9487 | (exit $ac_status); }; }; then |
9145 | eval "$as_ac_var=yes" |
9488 | eval "$as_ac_var=yes" |
9146 | else |
9489 | else |
9147 | echo "$as_me: failed program was:" >&5 |
9490 | echo "$as_me: failed program was:" >&5 |
9148 | sed 's/^/| /' conftest.$ac_ext >&5 |
9491 | sed 's/^/| /' conftest.$ac_ext >&5 |
9149 | |
9492 | |
9150 | eval "$as_ac_var=no" |
9493 | eval "$as_ac_var=no" |
9151 | fi |
9494 | fi |
9152 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9495 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9496 | conftest$ac_exeext conftest.$ac_ext |
9153 | fi |
9497 | fi |
9154 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
9498 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
9155 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
9499 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
9156 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
9500 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
9157 | cat >>confdefs.h <<_ACEOF |
9501 | cat >>confdefs.h <<_ACEOF |
… | |
… | |
9166 | echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 |
9510 | echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 |
9167 | if test "${ac_cv_func_dlopen+set}" = set; then |
9511 | if test "${ac_cv_func_dlopen+set}" = set; then |
9168 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9512 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9169 | else |
9513 | else |
9170 | cat >conftest.$ac_ext <<_ACEOF |
9514 | cat >conftest.$ac_ext <<_ACEOF |
9171 | #line $LINENO "configure" |
|
|
9172 | /* confdefs.h. */ |
9515 | /* confdefs.h. */ |
9173 | _ACEOF |
9516 | _ACEOF |
9174 | cat confdefs.h >>conftest.$ac_ext |
9517 | cat confdefs.h >>conftest.$ac_ext |
9175 | cat >>conftest.$ac_ext <<_ACEOF |
9518 | cat >>conftest.$ac_ext <<_ACEOF |
9176 | /* 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 | |
9177 | /* System header to define __stub macros and hopefully few prototypes, |
9524 | /* System header to define __stub macros and hopefully few prototypes, |
9178 | which can conflict with char dlopen (); below. |
9525 | which can conflict with char dlopen (); below. |
9179 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
9526 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
9180 | <limits.h> exists even on freestanding compilers. */ |
9527 | <limits.h> exists even on freestanding compilers. */ |
|
|
9528 | |
9181 | #ifdef __STDC__ |
9529 | #ifdef __STDC__ |
9182 | # include <limits.h> |
9530 | # include <limits.h> |
9183 | #else |
9531 | #else |
9184 | # include <assert.h> |
9532 | # include <assert.h> |
9185 | #endif |
9533 | #endif |
|
|
9534 | |
|
|
9535 | #undef dlopen |
|
|
9536 | |
9186 | /* Override any gcc2 internal prototype to avoid an error. */ |
9537 | /* Override any gcc2 internal prototype to avoid an error. */ |
9187 | #ifdef __cplusplus |
9538 | #ifdef __cplusplus |
9188 | extern "C" |
9539 | extern "C" |
9189 | { |
9540 | { |
9190 | #endif |
9541 | #endif |
… | |
… | |
9211 | return 0; |
9562 | return 0; |
9212 | } |
9563 | } |
9213 | _ACEOF |
9564 | _ACEOF |
9214 | rm -f conftest.$ac_objext conftest$ac_exeext |
9565 | rm -f conftest.$ac_objext conftest$ac_exeext |
9215 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9566 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9216 | (eval $ac_link) 2>&5 |
9567 | (eval $ac_link) 2>conftest.er1 |
9217 | ac_status=$? |
9568 | ac_status=$? |
|
|
9569 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9570 | rm -f conftest.er1 |
|
|
9571 | cat conftest.err >&5 |
9218 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9572 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9219 | (exit $ac_status); } && |
9573 | (exit $ac_status); } && |
9220 | { ac_try='test -s conftest$ac_exeext' |
9574 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9221 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9575 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9222 | (eval $ac_try) 2>&5 |
9576 | (eval $ac_try) 2>&5 |
9223 | ac_status=$? |
9577 | ac_status=$? |
9224 | 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 |
9225 | (exit $ac_status); }; }; then |
9585 | (exit $ac_status); }; }; then |
9226 | ac_cv_func_dlopen=yes |
9586 | ac_cv_func_dlopen=yes |
9227 | else |
9587 | else |
9228 | echo "$as_me: failed program was:" >&5 |
9588 | echo "$as_me: failed program was:" >&5 |
9229 | sed 's/^/| /' conftest.$ac_ext >&5 |
9589 | sed 's/^/| /' conftest.$ac_ext >&5 |
9230 | |
9590 | |
9231 | ac_cv_func_dlopen=no |
9591 | ac_cv_func_dlopen=no |
9232 | fi |
9592 | fi |
9233 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9593 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9594 | conftest$ac_exeext conftest.$ac_ext |
9234 | fi |
9595 | fi |
9235 | echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
9596 | echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
9236 | echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
9597 | echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
9237 | if test $ac_cv_func_dlopen = yes; then |
9598 | if test $ac_cv_func_dlopen = yes; then |
9238 | : |
9599 | : |
… | |
… | |
9243 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9604 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9244 | else |
9605 | else |
9245 | ac_check_lib_save_LIBS=$LIBS |
9606 | ac_check_lib_save_LIBS=$LIBS |
9246 | LIBS="-ldl $LIBS" |
9607 | LIBS="-ldl $LIBS" |
9247 | cat >conftest.$ac_ext <<_ACEOF |
9608 | cat >conftest.$ac_ext <<_ACEOF |
9248 | #line $LINENO "configure" |
|
|
9249 | /* confdefs.h. */ |
9609 | /* confdefs.h. */ |
9250 | _ACEOF |
9610 | _ACEOF |
9251 | cat confdefs.h >>conftest.$ac_ext |
9611 | cat confdefs.h >>conftest.$ac_ext |
9252 | cat >>conftest.$ac_ext <<_ACEOF |
9612 | cat >>conftest.$ac_ext <<_ACEOF |
9253 | /* end confdefs.h. */ |
9613 | /* end confdefs.h. */ |
… | |
… | |
9267 | return 0; |
9627 | return 0; |
9268 | } |
9628 | } |
9269 | _ACEOF |
9629 | _ACEOF |
9270 | rm -f conftest.$ac_objext conftest$ac_exeext |
9630 | rm -f conftest.$ac_objext conftest$ac_exeext |
9271 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9631 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9272 | (eval $ac_link) 2>&5 |
9632 | (eval $ac_link) 2>conftest.er1 |
9273 | ac_status=$? |
9633 | ac_status=$? |
|
|
9634 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9635 | rm -f conftest.er1 |
|
|
9636 | cat conftest.err >&5 |
9274 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9637 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9275 | (exit $ac_status); } && |
9638 | (exit $ac_status); } && |
9276 | { ac_try='test -s conftest$ac_exeext' |
9639 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9277 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9640 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9278 | (eval $ac_try) 2>&5 |
9641 | (eval $ac_try) 2>&5 |
9279 | ac_status=$? |
9642 | ac_status=$? |
9280 | 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 |
9281 | (exit $ac_status); }; }; then |
9650 | (exit $ac_status); }; }; then |
9282 | ac_cv_lib_dl_dlopen=yes |
9651 | ac_cv_lib_dl_dlopen=yes |
9283 | else |
9652 | else |
9284 | echo "$as_me: failed program was:" >&5 |
9653 | echo "$as_me: failed program was:" >&5 |
9285 | sed 's/^/| /' conftest.$ac_ext >&5 |
9654 | sed 's/^/| /' conftest.$ac_ext >&5 |
9286 | |
9655 | |
9287 | ac_cv_lib_dl_dlopen=no |
9656 | ac_cv_lib_dl_dlopen=no |
9288 | fi |
9657 | fi |
9289 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9658 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9659 | conftest$ac_exeext conftest.$ac_ext |
9290 | LIBS=$ac_check_lib_save_LIBS |
9660 | LIBS=$ac_check_lib_save_LIBS |
9291 | fi |
9661 | fi |
9292 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
9662 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
9293 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
9663 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
9294 | if test $ac_cv_lib_dl_dlopen = yes; then |
9664 | if test $ac_cv_lib_dl_dlopen = yes; then |
… | |
… | |
9302 | |
9672 | |
9303 | |
9673 | |
9304 | fi |
9674 | fi |
9305 | |
9675 | |
9306 | |
9676 | |
|
|
9677 | if test "x$openssl_include" != x; then |
|
|
9678 | CXXFLAGS="$CXXFLAGS -I$openssl_include" |
|
|
9679 | fi |
9307 | |
9680 | |
9308 | # Check whether --enable-rohc or --disable-rohc was given. |
9681 | # Check whether --enable-rohc or --disable-rohc was given. |
9309 | if test "${enable_rohc+set}" = set; then |
9682 | if test "${enable_rohc+set}" = set; then |
9310 | enableval="$enable_rohc" |
9683 | enableval="$enable_rohc" |
9311 | |
9684 | |
9312 | echo |
9685 | echo |
9313 | echo "**********************************************************************" |
9686 | echo "**********************************************************************" |
9314 | echo "**********************************************************************" |
9687 | echo "**********************************************************************" |
9315 | echo "**** --enable-rohc not yet implemented *******************************" |
9688 | echo "**** --enable-rohc is highly experimental, do not use ****************" |
9316 | echo "**********************************************************************" |
|
|
9317 | echo "**** uuh sorry, I am such an ass, but I didn't find any rfc3095 (ROHC)" |
|
|
9318 | echo "**** implementation to be used in GPL code on the web." |
|
|
9319 | echo "**** so this option is just a fake. Please implement one and send it" |
|
|
9320 | echo "**** to me ;)" |
|
|
9321 | echo "**********************************************************************" |
|
|
9322 | echo "**********************************************************************" |
|
|
9323 | echo "**********************************************************************" |
9689 | echo "**********************************************************************" |
9324 | echo "**********************************************************************" |
9690 | echo "**********************************************************************" |
9325 | echo |
9691 | echo |
|
|
9692 | rohc=true |
|
|
9693 | |
|
|
9694 | cat >>confdefs.h <<_ACEOF |
|
|
9695 | #define ENABLE_ROHC 1 |
|
|
9696 | _ACEOF |
|
|
9697 | |
9326 | |
9698 | |
9327 | |
9699 | |
9328 | fi; |
9700 | fi; |
|
|
9701 | |
|
|
9702 | |
|
|
9703 | |
|
|
9704 | if test x$rohc = xtrue; then |
|
|
9705 | ROHC_TRUE= |
|
|
9706 | ROHC_FALSE='#' |
|
|
9707 | else |
|
|
9708 | ROHC_TRUE='#' |
|
|
9709 | ROHC_FALSE= |
|
|
9710 | fi |
|
|
9711 | |
9329 | |
9712 | |
9330 | # Check whether --enable-icmp or --disable-icmp was given. |
9713 | # Check whether --enable-icmp or --disable-icmp was given. |
9331 | if test "${enable_icmp+set}" = set; then |
9714 | if test "${enable_icmp+set}" = set; then |
9332 | enableval="$enable_icmp" |
9715 | enableval="$enable_icmp" |
9333 | |
9716 | |
… | |
… | |
9342 | if test "${enable_tcp+set}" = set; then |
9725 | if test "${enable_tcp+set}" = set; then |
9343 | enableval="$enable_tcp" |
9726 | enableval="$enable_tcp" |
9344 | |
9727 | |
9345 | cat >>confdefs.h <<_ACEOF |
9728 | cat >>confdefs.h <<_ACEOF |
9346 | #define ENABLE_TCP 1 |
9729 | #define ENABLE_TCP 1 |
|
|
9730 | _ACEOF |
|
|
9731 | |
|
|
9732 | |
|
|
9733 | fi; |
|
|
9734 | |
|
|
9735 | # Check whether --enable-dns or --disable-dns was given. |
|
|
9736 | if test "${enable_dns+set}" = set; then |
|
|
9737 | enableval="$enable_dns" |
|
|
9738 | |
|
|
9739 | cat >>confdefs.h <<_ACEOF |
|
|
9740 | #define ENABLE_DNS 1 |
9347 | _ACEOF |
9741 | _ACEOF |
9348 | |
9742 | |
9349 | |
9743 | |
9350 | fi; |
9744 | fi; |
9351 | |
9745 | |
… | |
… | |
9449 | |
9843 | |
9450 | if $CXX -v --help 2>&1 | grep -q fexceptions; then |
9844 | if $CXX -v --help 2>&1 | grep -q fexceptions; then |
9451 | CXXFLAGS="$CXXFLAGS -fno-exceptions" |
9845 | CXXFLAGS="$CXXFLAGS -fno-exceptions" |
9452 | fi |
9846 | fi |
9453 | |
9847 | |
9454 | if $CXX -v --help 2>&1 | grep -q ffunction-sections; then |
|
|
9455 | CXXFLAGS="$CXXFLAGS -ffunction-sections" |
|
|
9456 | fi |
|
|
9457 | |
9848 | |
9458 | if $LD -v --help 2>&1 | grep -q gc-sections; then |
|
|
9459 | LDFLAGS="$LDFLAGS -Wl,--gc-sections" |
|
|
9460 | fi |
|
|
9461 | |
9849 | |
9462 | |
9850 | |
9463 | |
9851 | |
9464 | |
9852 | |
9465 | |
|
|
9466 | 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" |
9467 | cat >confcache <<\_ACEOF |
9854 | cat >confcache <<\_ACEOF |
9468 | # 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 |
9469 | # 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 |
9470 | # scripts and configure runs, see configure's option --config-cache. |
9857 | # scripts and configure runs, see configure's option --config-cache. |
9471 | # It is not useful on other systems. If it contains results you don't |
9858 | # It is not useful on other systems. If it contains results you don't |
… | |
… | |
9490 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
9877 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
9491 | *ac_space=\ *) |
9878 | *ac_space=\ *) |
9492 | # `set' does not quote correctly, so add quotes (double-quote |
9879 | # `set' does not quote correctly, so add quotes (double-quote |
9493 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
9880 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
9494 | sed -n \ |
9881 | sed -n \ |
9495 | "s/'/'\\\\''/g; |
9882 | "s/'/'\\\\''/g; |
9496 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
9883 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
9497 | ;; |
9884 | ;; |
9498 | *) |
9885 | *) |
9499 | # `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. |
9500 | sed -n \ |
9887 | sed -n \ |
9501 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
9888 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
9502 | ;; |
9889 | ;; |
9503 | esac; |
9890 | esac; |
9504 | } | |
9891 | } | |
9505 | sed ' |
9892 | sed ' |
9506 | t clear |
9893 | t clear |
… | |
… | |
9526 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
9913 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
9527 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
9914 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
9528 | # 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 |
9529 | # (actually we leave an empty line to preserve line numbers). |
9916 | # (actually we leave an empty line to preserve line numbers). |
9530 | if test "x$srcdir" = x.; then |
9917 | if test "x$srcdir" = x.; then |
9531 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
9918 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
9532 | s/:*\$(srcdir):*/:/; |
9919 | s/:*\$(srcdir):*/:/; |
9533 | s/:*\${srcdir}:*/:/; |
9920 | s/:*\${srcdir}:*/:/; |
9534 | s/:*@srcdir@:*/:/; |
9921 | s/:*@srcdir@:*/:/; |
9535 | s/^\([^=]*=[ ]*\):*/\1/; |
9922 | s/^\([^=]*=[ ]*\):*/\1/; |
9536 | s/:*$//; |
9923 | s/:*$//; |
9537 | s/^[^=]*=[ ]*$//; |
9924 | s/^[^=]*=[ ]*$//; |
9538 | }' |
9925 | }' |
9539 | fi |
9926 | fi |
9540 | |
9927 | |
9541 | DEFS=-DHAVE_CONFIG_H |
9928 | DEFS=-DHAVE_CONFIG_H |
9542 | |
9929 | |
9543 | ac_libobjs= |
9930 | ac_libobjs= |
9544 | ac_ltlibobjs= |
9931 | ac_ltlibobjs= |
9545 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
9932 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
9546 | # 1. Remove the extension, and $U if already installed. |
9933 | # 1. Remove the extension, and $U if already installed. |
9547 | ac_i=`echo "$ac_i" | |
9934 | ac_i=`echo "$ac_i" | |
9548 | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
9935 | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
9549 | # 2. Add them. |
9936 | # 2. Add them. |
9550 | ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
9937 | ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
9551 | ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
9938 | ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
9552 | done |
9939 | done |
9553 | LIBOBJS=$ac_libobjs |
9940 | LIBOBJS=$ac_libobjs |
… | |
… | |
9585 | fi |
9972 | fi |
9586 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
9973 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
9587 | { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. |
9974 | { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. |
9588 | Usually this means the macro was only invoked conditionally." >&5 |
9975 | Usually this means the macro was only invoked conditionally." >&5 |
9589 | echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. |
9976 | echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. |
|
|
9977 | Usually this means the macro was only invoked conditionally." >&2;} |
|
|
9978 | { (exit 1); exit 1; }; } |
|
|
9979 | fi |
|
|
9980 | if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then |
|
|
9981 | { { echo "$as_me:$LINENO: error: conditional \"ROHC\" was never defined. |
|
|
9982 | Usually this means the macro was only invoked conditionally." >&5 |
|
|
9983 | echo "$as_me: error: conditional \"ROHC\" was never defined. |
9590 | Usually this means the macro was only invoked conditionally." >&2;} |
9984 | Usually this means the macro was only invoked conditionally." >&2;} |
9591 | { (exit 1); exit 1; }; } |
9985 | { (exit 1); exit 1; }; } |
9592 | fi |
9986 | fi |
9593 | |
9987 | |
9594 | : ${CONFIG_STATUS=./config.status} |
9988 | : ${CONFIG_STATUS=./config.status} |
… | |
… | |
9622 | # is contrary to our usage. Disable this feature. |
10016 | # is contrary to our usage. Disable this feature. |
9623 | alias -g '${1+"$@"}'='"$@"' |
10017 | alias -g '${1+"$@"}'='"$@"' |
9624 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
10018 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
9625 | set -o posix |
10019 | set -o posix |
9626 | fi |
10020 | fi |
|
|
10021 | DUALCASE=1; export DUALCASE # for MKS sh |
9627 | |
10022 | |
9628 | # Support unset when possible. |
10023 | # Support unset when possible. |
9629 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
10024 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
9630 | as_unset=unset |
10025 | as_unset=unset |
9631 | else |
10026 | else |
9632 | as_unset=false |
10027 | as_unset=false |
9633 | fi |
10028 | fi |
9634 | |
10029 | |
… | |
… | |
9643 | for as_var in \ |
10038 | for as_var in \ |
9644 | 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 \ |
9645 | 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 \ |
9646 | LC_TELEPHONE LC_TIME |
10041 | LC_TELEPHONE LC_TIME |
9647 | do |
10042 | do |
9648 | 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 |
9649 | eval $as_var=C; export $as_var |
10044 | eval $as_var=C; export $as_var |
9650 | else |
10045 | else |
9651 | $as_unset $as_var |
10046 | $as_unset $as_var |
9652 | fi |
10047 | fi |
9653 | done |
10048 | done |
… | |
… | |
9822 | rm -f conf$$ conf$$.exe conf$$.file |
10217 | rm -f conf$$ conf$$.exe conf$$.file |
9823 | |
10218 | |
9824 | if mkdir -p . 2>/dev/null; then |
10219 | if mkdir -p . 2>/dev/null; then |
9825 | as_mkdir_p=: |
10220 | as_mkdir_p=: |
9826 | else |
10221 | else |
|
|
10222 | test -d ./-p && rmdir ./-p |
9827 | as_mkdir_p=false |
10223 | as_mkdir_p=false |
9828 | fi |
10224 | fi |
9829 | |
10225 | |
9830 | as_executable_p="test -f" |
10226 | as_executable_p="test -f" |
9831 | |
10227 | |
9832 | # Sed expression to map a string onto a valid CPP name. |
10228 | # Sed expression to map a string onto a valid CPP name. |
9833 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
10229 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
9834 | |
10230 | |
9835 | # Sed expression to map a string onto a valid variable name. |
10231 | # Sed expression to map a string onto a valid variable name. |
9836 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
10232 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
9837 | |
10233 | |
9838 | |
10234 | |
9839 | # IFS |
10235 | # IFS |
9840 | # We need space, tab and new line, in precisely that order. |
10236 | # We need space, tab and new line, in precisely that order. |
9841 | as_nl=' |
10237 | as_nl=' |
… | |
… | |
9858 | _ASBOX |
10254 | _ASBOX |
9859 | } >&5 |
10255 | } >&5 |
9860 | cat >&5 <<_CSEOF |
10256 | cat >&5 <<_CSEOF |
9861 | |
10257 | |
9862 | This file was extended by $as_me, which was |
10258 | This file was extended by $as_me, which was |
9863 | generated by GNU Autoconf 2.57. Invocation command line was |
10259 | generated by GNU Autoconf 2.59. Invocation command line was |
9864 | |
10260 | |
9865 | CONFIG_FILES = $CONFIG_FILES |
10261 | CONFIG_FILES = $CONFIG_FILES |
9866 | CONFIG_HEADERS = $CONFIG_HEADERS |
10262 | CONFIG_HEADERS = $CONFIG_HEADERS |
9867 | CONFIG_LINKS = $CONFIG_LINKS |
10263 | CONFIG_LINKS = $CONFIG_LINKS |
9868 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
10264 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
… | |
… | |
9902 | -V, --version print version number, then exit |
10298 | -V, --version print version number, then exit |
9903 | -q, --quiet do not print progress messages |
10299 | -q, --quiet do not print progress messages |
9904 | -d, --debug don't remove temporary files |
10300 | -d, --debug don't remove temporary files |
9905 | --recheck update $as_me by reconfiguring in the same conditions |
10301 | --recheck update $as_me by reconfiguring in the same conditions |
9906 | --file=FILE[:TEMPLATE] |
10302 | --file=FILE[:TEMPLATE] |
9907 | instantiate the configuration file FILE |
10303 | instantiate the configuration file FILE |
9908 | --header=FILE[:TEMPLATE] |
10304 | --header=FILE[:TEMPLATE] |
9909 | instantiate the configuration header FILE |
10305 | instantiate the configuration header FILE |
9910 | |
10306 | |
9911 | Configuration files: |
10307 | Configuration files: |
9912 | $config_files |
10308 | $config_files |
9913 | |
10309 | |
9914 | Configuration headers: |
10310 | Configuration headers: |
… | |
… | |
9921 | _ACEOF |
10317 | _ACEOF |
9922 | |
10318 | |
9923 | cat >>$CONFIG_STATUS <<_ACEOF |
10319 | cat >>$CONFIG_STATUS <<_ACEOF |
9924 | ac_cs_version="\\ |
10320 | ac_cs_version="\\ |
9925 | config.status |
10321 | config.status |
9926 | configured by $0, generated by GNU Autoconf 2.57, |
10322 | configured by $0, generated by GNU Autoconf 2.59, |
9927 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
10323 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
9928 | |
10324 | |
9929 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
|
|
9930 | Free Software Foundation, Inc. |
10325 | Copyright (C) 2003 Free Software Foundation, Inc. |
9931 | This config.status script is free software; the Free Software Foundation |
10326 | This config.status script is free software; the Free Software Foundation |
9932 | gives unlimited permission to copy, distribute and modify it." |
10327 | gives unlimited permission to copy, distribute and modify it." |
9933 | srcdir=$srcdir |
10328 | srcdir=$srcdir |
9934 | INSTALL="$INSTALL" |
10329 | INSTALL="$INSTALL" |
9935 | _ACEOF |
10330 | _ACEOF |
… | |
… | |
10041 | case "$ac_config_target" in |
10436 | case "$ac_config_target" in |
10042 | # Handling of arguments. |
10437 | # Handling of arguments. |
10043 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
10438 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
10044 | "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; |
10439 | "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; |
10045 | "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" ;; |
10046 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
10442 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
10047 | "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; |
10443 | "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; |
10048 | "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; |
10444 | "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; |
10049 | "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; |
10445 | "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; |
10050 | "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
10446 | "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
… | |
… | |
10211 | s,@IFSUBTYPE@,$IFSUBTYPE,;t t |
10607 | s,@IFSUBTYPE@,$IFSUBTYPE,;t t |
10212 | s,@CXXCPP@,$CXXCPP,;t t |
10608 | s,@CXXCPP@,$CXXCPP,;t t |
10213 | s,@ALLOCA@,$ALLOCA,;t t |
10609 | s,@ALLOCA@,$ALLOCA,;t t |
10214 | s,@LINUX_IF_TUN_H@,$LINUX_IF_TUN_H,;t t |
10610 | s,@LINUX_IF_TUN_H@,$LINUX_IF_TUN_H,;t t |
10215 | s,@HAVE_TUNTAP@,$HAVE_TUNTAP,;t t |
10611 | s,@HAVE_TUNTAP@,$HAVE_TUNTAP,;t t |
|
|
10612 | s,@ROHC_TRUE@,$ROHC_TRUE,;t t |
|
|
10613 | s,@ROHC_FALSE@,$ROHC_FALSE,;t t |
10216 | s,@INCLUDES@,$INCLUDES,;t t |
10614 | s,@INCLUDES@,$INCLUDES,;t t |
10217 | s,@LIBOBJS@,$LIBOBJS,;t t |
10615 | s,@LIBOBJS@,$LIBOBJS,;t t |
10218 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
10616 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
10219 | CEOF |
10617 | CEOF |
10220 | |
10618 | |
… | |
… | |
10243 | # is no need to browse any of the substitutions). |
10641 | # is no need to browse any of the substitutions). |
10244 | # These are the two extra sed commands mentioned above. |
10642 | # These are the two extra sed commands mentioned above. |
10245 | (echo ':t |
10643 | (echo ':t |
10246 | /@[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 |
10247 | if test -z "$ac_sed_cmds"; then |
10645 | if test -z "$ac_sed_cmds"; then |
10248 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
10646 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
10249 | else |
10647 | else |
10250 | 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" |
10251 | fi |
10649 | fi |
10252 | ac_sed_frag=`expr $ac_sed_frag + 1` |
10650 | ac_sed_frag=`expr $ac_sed_frag + 1` |
10253 | ac_beg=$ac_end |
10651 | ac_beg=$ac_end |
10254 | ac_end=`expr $ac_end + $ac_max_sed_lines` |
10652 | ac_end=`expr $ac_end + $ac_max_sed_lines` |
10255 | fi |
10653 | fi |
… | |
… | |
10263 | cat >>$CONFIG_STATUS <<\_ACEOF |
10661 | cat >>$CONFIG_STATUS <<\_ACEOF |
10264 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
10662 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
10265 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
10663 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
10266 | case $ac_file in |
10664 | case $ac_file in |
10267 | - | *:- | *:-:* ) # input from stdin |
10665 | - | *:- | *:-:* ) # input from stdin |
10268 | cat >$tmp/stdin |
10666 | cat >$tmp/stdin |
10269 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
10667 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
10270 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
10668 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
10271 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
10669 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
10272 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
10670 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
10273 | * ) ac_file_in=$ac_file.in ;; |
10671 | * ) ac_file_in=$ac_file.in ;; |
10274 | esac |
10672 | esac |
10275 | |
10673 | |
10276 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
10674 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
10277 | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
10675 | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
10278 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10676 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10279 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
10677 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
10280 | X"$ac_file" : 'X\(//\)$' \| \ |
10678 | X"$ac_file" : 'X\(//\)$' \| \ |
10281 | X"$ac_file" : 'X\(/\)' \| \ |
10679 | X"$ac_file" : 'X\(/\)' \| \ |
10282 | . : '\(.\)' 2>/dev/null || |
10680 | . : '\(.\)' 2>/dev/null || |
10283 | echo X"$ac_file" | |
10681 | echo X"$ac_file" | |
10284 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10682 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10285 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10683 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10286 | /^X\(\/\/\)$/{ s//\1/; q; } |
10684 | /^X\(\/\/\)$/{ s//\1/; q; } |
10287 | /^X\(\/\).*/{ s//\1/; q; } |
10685 | /^X\(\/\).*/{ s//\1/; q; } |
… | |
… | |
10293 | as_dirs= |
10691 | as_dirs= |
10294 | while test ! -d "$as_dir"; do |
10692 | while test ! -d "$as_dir"; do |
10295 | as_dirs="$as_dir $as_dirs" |
10693 | as_dirs="$as_dir $as_dirs" |
10296 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
10694 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
10297 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10695 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10298 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
10696 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
10299 | X"$as_dir" : 'X\(//\)$' \| \ |
10697 | X"$as_dir" : 'X\(//\)$' \| \ |
10300 | X"$as_dir" : 'X\(/\)' \| \ |
10698 | X"$as_dir" : 'X\(/\)' \| \ |
10301 | . : '\(.\)' 2>/dev/null || |
10699 | . : '\(.\)' 2>/dev/null || |
10302 | echo X"$as_dir" | |
10700 | echo X"$as_dir" | |
10303 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10701 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10304 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10702 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10305 | /^X\(\/\/\)$/{ s//\1/; q; } |
10703 | /^X\(\/\/\)$/{ s//\1/; q; } |
10306 | /^X\(\/\).*/{ s//\1/; q; } |
10704 | /^X\(\/\).*/{ s//\1/; q; } |
… | |
… | |
10334 | ac_top_srcdir=$srcdir ;; |
10732 | ac_top_srcdir=$srcdir ;; |
10335 | *) # Relative path. |
10733 | *) # Relative path. |
10336 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
10734 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
10337 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
10735 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
10338 | esac |
10736 | esac |
10339 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
10737 | |
10340 | # absolute. |
10738 | # Do not use `cd foo && pwd` to compute absolute paths, because |
10341 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
10739 | # the directories may not exist. |
10342 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
10740 | case `pwd` in |
10343 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
10741 | .) ac_abs_builddir="$ac_dir";; |
10344 | ac_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;; |
|
|
10748 | esac |
|
|
10749 | case $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;; |
|
|
10757 | esac |
|
|
10758 | case $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;; |
|
|
10766 | esac |
|
|
10767 | case $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;; |
|
|
10775 | esac |
10345 | |
10776 | |
10346 | |
10777 | |
10347 | case $INSTALL in |
10778 | case $INSTALL in |
10348 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
10779 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
10349 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
10780 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
10350 | esac |
10781 | esac |
10351 | |
10782 | |
10352 | if test x"$ac_file" != x-; then |
|
|
10353 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
|
10354 | echo "$as_me: creating $ac_file" >&6;} |
|
|
10355 | rm -f "$ac_file" |
|
|
10356 | fi |
|
|
10357 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
10783 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
10358 | # use $as_me), people would be surprised to read: |
10784 | # use $as_me), people would be surprised to read: |
10359 | # /* config.h. Generated by config.status. */ |
10785 | # /* config.h. Generated by config.status. */ |
10360 | if test x"$ac_file" = x-; then |
10786 | if test x"$ac_file" = x-; then |
10361 | configure_input= |
10787 | configure_input= |
10362 | else |
10788 | else |
10363 | configure_input="$ac_file. " |
10789 | configure_input="$ac_file. " |
10364 | fi |
10790 | fi |
10365 | configure_input=$configure_input"Generated from `echo $ac_file_in | |
10791 | configure_input=$configure_input"Generated from `echo $ac_file_in | |
10366 | sed 's,.*/,,'` by configure." |
10792 | sed 's,.*/,,'` by configure." |
10367 | |
10793 | |
10368 | # 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 |
10369 | # src tree. |
10795 | # src tree. |
10370 | ac_file_inputs=`IFS=: |
10796 | ac_file_inputs=`IFS=: |
10371 | for f in $ac_file_in; do |
10797 | for f in $ac_file_in; do |
10372 | case $f in |
10798 | case $f in |
10373 | -) echo $tmp/stdin ;; |
10799 | -) echo $tmp/stdin ;; |
10374 | [\\/$]*) |
10800 | [\\/$]*) |
10375 | # Absolute (can't be DOS-style, as IFS=:) |
10801 | # Absolute (can't be DOS-style, as IFS=:) |
10376 | 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 |
10377 | echo "$as_me: error: cannot find input file: $f" >&2;} |
10803 | echo "$as_me: error: cannot find input file: $f" >&2;} |
10378 | { (exit 1); exit 1; }; } |
10804 | { (exit 1); exit 1; }; } |
10379 | echo $f;; |
10805 | echo "$f";; |
10380 | *) # Relative |
10806 | *) # Relative |
10381 | if test -f "$f"; then |
10807 | if test -f "$f"; then |
10382 | # Build tree |
10808 | # Build tree |
10383 | echo $f |
10809 | echo "$f" |
10384 | elif test -f "$srcdir/$f"; then |
10810 | elif test -f "$srcdir/$f"; then |
10385 | # Source tree |
10811 | # Source tree |
10386 | echo $srcdir/$f |
10812 | echo "$srcdir/$f" |
10387 | else |
10813 | else |
10388 | # /dev/null tree |
10814 | # /dev/null tree |
10389 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
10815 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
10390 | echo "$as_me: error: cannot find input file: $f" >&2;} |
10816 | echo "$as_me: error: cannot find input file: $f" >&2;} |
10391 | { (exit 1); exit 1; }; } |
10817 | { (exit 1); exit 1; }; } |
10392 | fi;; |
10818 | fi;; |
10393 | esac |
10819 | esac |
10394 | 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 |
|
|
10824 | echo "$as_me: creating $ac_file" >&6;} |
|
|
10825 | rm -f "$ac_file" |
|
|
10826 | fi |
10395 | _ACEOF |
10827 | _ACEOF |
10396 | cat >>$CONFIG_STATUS <<_ACEOF |
10828 | cat >>$CONFIG_STATUS <<_ACEOF |
10397 | sed "$ac_vpsub |
10829 | sed "$ac_vpsub |
10398 | $extrasub |
10830 | $extrasub |
10399 | _ACEOF |
10831 | _ACEOF |
… | |
… | |
10429 | |
10861 | |
10430 | # 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 |
10431 | # 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. |
10432 | # |
10864 | # |
10433 | # ac_d sets the value in "#define NAME VALUE" lines. |
10865 | # ac_d sets the value in "#define NAME VALUE" lines. |
10434 | ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
10866 | ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
10435 | ac_dB='[ ].*$,\1#\2' |
10867 | ac_dB='[ ].*$,\1#\2' |
10436 | ac_dC=' ' |
10868 | ac_dC=' ' |
10437 | ac_dD=',;t' |
10869 | ac_dD=',;t' |
10438 | # 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". |
10439 | ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
10871 | ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
10440 | ac_uB='$,\1#\2define\3' |
10872 | ac_uB='$,\1#\2define\3' |
10441 | ac_uC=' ' |
10873 | ac_uC=' ' |
10442 | ac_uD=',;t' |
10874 | ac_uD=',;t' |
10443 | |
10875 | |
10444 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue |
10876 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue |
10445 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
10877 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
10446 | case $ac_file in |
10878 | case $ac_file in |
10447 | - | *:- | *:-:* ) # input from stdin |
10879 | - | *:- | *:-:* ) # input from stdin |
10448 | cat >$tmp/stdin |
10880 | cat >$tmp/stdin |
10449 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
10881 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
10450 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
10882 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
10451 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
10883 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
10452 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
10884 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
10453 | * ) ac_file_in=$ac_file.in ;; |
10885 | * ) ac_file_in=$ac_file.in ;; |
10454 | esac |
10886 | esac |
10455 | |
10887 | |
10456 | 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 |
10457 | echo "$as_me: creating $ac_file" >&6;} |
10889 | echo "$as_me: creating $ac_file" >&6;} |
… | |
… | |
10461 | ac_file_inputs=`IFS=: |
10893 | ac_file_inputs=`IFS=: |
10462 | for f in $ac_file_in; do |
10894 | for f in $ac_file_in; do |
10463 | case $f in |
10895 | case $f in |
10464 | -) echo $tmp/stdin ;; |
10896 | -) echo $tmp/stdin ;; |
10465 | [\\/$]*) |
10897 | [\\/$]*) |
10466 | # Absolute (can't be DOS-style, as IFS=:) |
10898 | # Absolute (can't be DOS-style, as IFS=:) |
10467 | 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 |
10468 | echo "$as_me: error: cannot find input file: $f" >&2;} |
10900 | echo "$as_me: error: cannot find input file: $f" >&2;} |
10469 | { (exit 1); exit 1; }; } |
10901 | { (exit 1); exit 1; }; } |
10470 | echo $f;; |
10902 | # Do quote $f, to prevent DOS paths from being IFS'd. |
|
|
10903 | echo "$f";; |
10471 | *) # Relative |
10904 | *) # Relative |
10472 | if test -f "$f"; then |
10905 | if test -f "$f"; then |
10473 | # Build tree |
10906 | # Build tree |
10474 | echo $f |
10907 | echo "$f" |
10475 | elif test -f "$srcdir/$f"; then |
10908 | elif test -f "$srcdir/$f"; then |
10476 | # Source tree |
10909 | # Source tree |
10477 | echo $srcdir/$f |
10910 | echo "$srcdir/$f" |
10478 | else |
10911 | else |
10479 | # /dev/null tree |
10912 | # /dev/null tree |
10480 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
10913 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
10481 | echo "$as_me: error: cannot find input file: $f" >&2;} |
10914 | echo "$as_me: error: cannot find input file: $f" >&2;} |
10482 | { (exit 1); exit 1; }; } |
10915 | { (exit 1); exit 1; }; } |
10483 | fi;; |
10916 | fi;; |
10484 | esac |
10917 | esac |
10485 | done` || { (exit 1); exit 1; } |
10918 | done` || { (exit 1); exit 1; } |
10486 | # Remove the trailing spaces. |
10919 | # Remove the trailing spaces. |
10487 | sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
10920 | sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
10488 | |
10921 | |
10489 | _ACEOF |
10922 | _ACEOF |
10490 | |
10923 | |
10491 | # Transform confdefs.h into two sed scripts, `conftest.defines' and |
10924 | # Transform confdefs.h into two sed scripts, `conftest.defines' and |
10492 | # `conftest.undefs', that substitutes the proper values into |
10925 | # `conftest.undefs', that substitutes the proper values into |
… | |
… | |
10505 | cat >confdef2sed.sed <<\_ACEOF |
10938 | cat >confdef2sed.sed <<\_ACEOF |
10506 | s/[\\&,]/\\&/g |
10939 | s/[\\&,]/\\&/g |
10507 | s,[\\$`],\\&,g |
10940 | s,[\\$`],\\&,g |
10508 | t clear |
10941 | t clear |
10509 | : clear |
10942 | : clear |
10510 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
10943 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
10511 | t end |
10944 | t end |
10512 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
10945 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
10513 | : end |
10946 | : end |
10514 | _ACEOF |
10947 | _ACEOF |
10515 | # 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 |
10516 | # 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 |
10517 | # 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. |
… | |
… | |
10521 | |
10954 | |
10522 | # This sed command replaces #undef with comments. This is necessary, for |
10955 | # This sed command replaces #undef with comments. This is necessary, for |
10523 | # 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 |
10524 | # on some systems where configure will not decide to define it. |
10957 | # on some systems where configure will not decide to define it. |
10525 | cat >>conftest.undefs <<\_ACEOF |
10958 | cat >>conftest.undefs <<\_ACEOF |
10526 | s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
10959 | s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
10527 | _ACEOF |
10960 | _ACEOF |
10528 | |
10961 | |
10529 | # 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 |
10530 | # 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). |
10531 | echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
10964 | echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
10532 | echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
10965 | echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
10533 | echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
10966 | echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
10534 | echo ' :' >>$CONFIG_STATUS |
10967 | echo ' :' >>$CONFIG_STATUS |
10535 | rm -f conftest.tail |
10968 | rm -f conftest.tail |
10536 | while grep . conftest.defines >/dev/null |
10969 | while grep . conftest.defines >/dev/null |
10537 | do |
10970 | do |
10538 | # Write a limited-size here document to $tmp/defines.sed. |
10971 | # Write a limited-size here document to $tmp/defines.sed. |
10539 | echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
10972 | echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
10540 | # Speed up: don't consider the non `#define' lines. |
10973 | # Speed up: don't consider the non `#define' lines. |
10541 | echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
10974 | echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
10542 | # Work around the forget-to-reset-the-flag bug. |
10975 | # Work around the forget-to-reset-the-flag bug. |
10543 | echo 't clr' >>$CONFIG_STATUS |
10976 | echo 't clr' >>$CONFIG_STATUS |
10544 | echo ': clr' >>$CONFIG_STATUS |
10977 | echo ': clr' >>$CONFIG_STATUS |
10545 | sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS |
10978 | sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS |
10546 | echo 'CEOF |
10979 | echo 'CEOF |
… | |
… | |
10563 | while grep . conftest.undefs >/dev/null |
10996 | while grep . conftest.undefs >/dev/null |
10564 | do |
10997 | do |
10565 | # Write a limited-size here document to $tmp/undefs.sed. |
10998 | # Write a limited-size here document to $tmp/undefs.sed. |
10566 | echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
10999 | echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
10567 | # Speed up: don't consider the non `#undef' |
11000 | # Speed up: don't consider the non `#undef' |
10568 | echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
11001 | echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
10569 | # Work around the forget-to-reset-the-flag bug. |
11002 | # Work around the forget-to-reset-the-flag bug. |
10570 | echo 't clr' >>$CONFIG_STATUS |
11003 | echo 't clr' >>$CONFIG_STATUS |
10571 | echo ': clr' >>$CONFIG_STATUS |
11004 | echo ': clr' >>$CONFIG_STATUS |
10572 | sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS |
11005 | sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS |
10573 | echo 'CEOF |
11006 | echo 'CEOF |
… | |
… | |
10597 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
11030 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
10598 | echo "$as_me: $ac_file is unchanged" >&6;} |
11031 | echo "$as_me: $ac_file is unchanged" >&6;} |
10599 | else |
11032 | else |
10600 | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
11033 | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
10601 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
11034 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10602 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
11035 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
10603 | X"$ac_file" : 'X\(//\)$' \| \ |
11036 | X"$ac_file" : 'X\(//\)$' \| \ |
10604 | X"$ac_file" : 'X\(/\)' \| \ |
11037 | X"$ac_file" : 'X\(/\)' \| \ |
10605 | . : '\(.\)' 2>/dev/null || |
11038 | . : '\(.\)' 2>/dev/null || |
10606 | echo X"$ac_file" | |
11039 | echo X"$ac_file" | |
10607 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
11040 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10608 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
11041 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10609 | /^X\(\/\/\)$/{ s//\1/; q; } |
11042 | /^X\(\/\/\)$/{ s//\1/; q; } |
10610 | /^X\(\/\).*/{ s//\1/; q; } |
11043 | /^X\(\/\).*/{ s//\1/; q; } |
… | |
… | |
10616 | as_dirs= |
11049 | as_dirs= |
10617 | while test ! -d "$as_dir"; do |
11050 | while test ! -d "$as_dir"; do |
10618 | as_dirs="$as_dir $as_dirs" |
11051 | as_dirs="$as_dir $as_dirs" |
10619 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
11052 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
10620 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
11053 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10621 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
11054 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
10622 | X"$as_dir" : 'X\(//\)$' \| \ |
11055 | X"$as_dir" : 'X\(//\)$' \| \ |
10623 | X"$as_dir" : 'X\(/\)' \| \ |
11056 | X"$as_dir" : 'X\(/\)' \| \ |
10624 | . : '\(.\)' 2>/dev/null || |
11057 | . : '\(.\)' 2>/dev/null || |
10625 | echo X"$as_dir" | |
11058 | echo X"$as_dir" | |
10626 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
11059 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10627 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
11060 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10628 | /^X\(\/\/\)$/{ s//\1/; q; } |
11061 | /^X\(\/\/\)$/{ s//\1/; q; } |
10629 | /^X\(\/\).*/{ s//\1/; q; } |
11062 | /^X\(\/\).*/{ s//\1/; q; } |
… | |
… | |
10651 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
11084 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
10652 | esac |
11085 | esac |
10653 | done |
11086 | done |
10654 | echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || |
11087 | echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || |
10655 | $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
11088 | $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10656 | X$ac_file : 'X\(//\)[^/]' \| \ |
11089 | X$ac_file : 'X\(//\)[^/]' \| \ |
10657 | X$ac_file : 'X\(//\)$' \| \ |
11090 | X$ac_file : 'X\(//\)$' \| \ |
10658 | X$ac_file : 'X\(/\)' \| \ |
11091 | X$ac_file : 'X\(/\)' \| \ |
10659 | . : '\(.\)' 2>/dev/null || |
11092 | . : '\(.\)' 2>/dev/null || |
10660 | echo X$ac_file | |
11093 | echo X$ac_file | |
10661 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
11094 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10662 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
11095 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10663 | /^X\(\/\/\)$/{ s//\1/; q; } |
11096 | /^X\(\/\/\)$/{ s//\1/; q; } |
10664 | /^X\(\/\).*/{ s//\1/; q; } |
11097 | /^X\(\/\).*/{ s//\1/; q; } |
… | |
… | |
10673 | for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue |
11106 | for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue |
10674 | ac_dest=`echo "$ac_file" | sed 's,:.*,,'` |
11107 | ac_dest=`echo "$ac_file" | sed 's,:.*,,'` |
10675 | ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
11108 | ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
10676 | ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
11109 | ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
10677 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
11110 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10678 | X"$ac_dest" : 'X\(//\)[^/]' \| \ |
11111 | X"$ac_dest" : 'X\(//\)[^/]' \| \ |
10679 | X"$ac_dest" : 'X\(//\)$' \| \ |
11112 | X"$ac_dest" : 'X\(//\)$' \| \ |
10680 | X"$ac_dest" : 'X\(/\)' \| \ |
11113 | X"$ac_dest" : 'X\(/\)' \| \ |
10681 | . : '\(.\)' 2>/dev/null || |
11114 | . : '\(.\)' 2>/dev/null || |
10682 | echo X"$ac_dest" | |
11115 | echo X"$ac_dest" | |
10683 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
11116 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10684 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
11117 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10685 | /^X\(\/\/\)$/{ s//\1/; q; } |
11118 | /^X\(\/\/\)$/{ s//\1/; q; } |
10686 | /^X\(\/\).*/{ s//\1/; q; } |
11119 | /^X\(\/\).*/{ s//\1/; q; } |
10687 | 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 || |
|
|
11134 | echo 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 |
|
|
11143 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
|
|
11144 | { (exit 1); exit 1; }; }; } |
|
|
11145 | |
10688 | ac_builddir=. |
11146 | ac_builddir=. |
10689 | |
11147 | |
10690 | if test "$ac_dir" != .; then |
11148 | if test "$ac_dir" != .; then |
10691 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
11149 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
10692 | # A "../" for each directory in $ac_dir_suffix. |
11150 | # A "../" for each directory in $ac_dir_suffix. |
… | |
… | |
10708 | ac_top_srcdir=$srcdir ;; |
11166 | ac_top_srcdir=$srcdir ;; |
10709 | *) # Relative path. |
11167 | *) # Relative path. |
10710 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
11168 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
10711 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
11169 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
10712 | esac |
11170 | esac |
10713 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
11171 | |
10714 | # absolute. |
11172 | # Do not use `cd foo && pwd` to compute absolute paths, because |
10715 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
11173 | # the directories may not exist. |
10716 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
11174 | case `pwd` in |
10717 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
11175 | .) ac_abs_builddir="$ac_dir";; |
10718 | ac_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;; |
|
|
11182 | esac |
|
|
11183 | case $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;; |
|
|
11191 | esac |
|
|
11192 | case $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;; |
|
|
11200 | esac |
|
|
11201 | case $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;; |
|
|
11209 | esac |
10719 | |
11210 | |
10720 | |
11211 | |
10721 | { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
11212 | { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
10722 | echo "$as_me: executing $ac_dest commands" >&6;} |
11213 | echo "$as_me: executing $ac_dest commands" >&6;} |
10723 | case $ac_dest in |
11214 | case $ac_dest in |
… | |
… | |
10827 | # 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. |
10828 | # So let's grep whole file. |
11319 | # So let's grep whole file. |
10829 | if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
11320 | if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
10830 | dirpart=`(dirname "$mf") 2>/dev/null || |
11321 | dirpart=`(dirname "$mf") 2>/dev/null || |
10831 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
11322 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10832 | X"$mf" : 'X\(//\)[^/]' \| \ |
11323 | X"$mf" : 'X\(//\)[^/]' \| \ |
10833 | X"$mf" : 'X\(//\)$' \| \ |
11324 | X"$mf" : 'X\(//\)$' \| \ |
10834 | X"$mf" : 'X\(/\)' \| \ |
11325 | X"$mf" : 'X\(/\)' \| \ |
10835 | . : '\(.\)' 2>/dev/null || |
11326 | . : '\(.\)' 2>/dev/null || |
10836 | echo X"$mf" | |
11327 | echo X"$mf" | |
10837 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
11328 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10838 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
11329 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10839 | /^X\(\/\/\)$/{ s//\1/; q; } |
11330 | /^X\(\/\/\)$/{ s//\1/; q; } |
10840 | /^X\(\/\).*/{ s//\1/; q; } |
11331 | /^X\(\/\).*/{ s//\1/; q; } |
… | |
… | |
10866 | 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 |
10867 | # Make sure the directory exists. |
11358 | # Make sure the directory exists. |
10868 | test -f "$dirpart/$file" && continue |
11359 | test -f "$dirpart/$file" && continue |
10869 | fdir=`(dirname "$file") 2>/dev/null || |
11360 | fdir=`(dirname "$file") 2>/dev/null || |
10870 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
11361 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10871 | X"$file" : 'X\(//\)[^/]' \| \ |
11362 | X"$file" : 'X\(//\)[^/]' \| \ |
10872 | X"$file" : 'X\(//\)$' \| \ |
11363 | X"$file" : 'X\(//\)$' \| \ |
10873 | X"$file" : 'X\(/\)' \| \ |
11364 | X"$file" : 'X\(/\)' \| \ |
10874 | . : '\(.\)' 2>/dev/null || |
11365 | . : '\(.\)' 2>/dev/null || |
10875 | echo X"$file" | |
11366 | echo X"$file" | |
10876 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
11367 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10877 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
11368 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10878 | /^X\(\/\/\)$/{ s//\1/; q; } |
11369 | /^X\(\/\/\)$/{ s//\1/; q; } |
10879 | /^X\(\/\).*/{ s//\1/; q; } |
11370 | /^X\(\/\).*/{ s//\1/; q; } |
… | |
… | |
10885 | as_dirs= |
11376 | as_dirs= |
10886 | while test ! -d "$as_dir"; do |
11377 | while test ! -d "$as_dir"; do |
10887 | as_dirs="$as_dir $as_dirs" |
11378 | as_dirs="$as_dir $as_dirs" |
10888 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
11379 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
10889 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
11380 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10890 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
11381 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
10891 | X"$as_dir" : 'X\(//\)$' \| \ |
11382 | X"$as_dir" : 'X\(//\)$' \| \ |
10892 | X"$as_dir" : 'X\(/\)' \| \ |
11383 | X"$as_dir" : 'X\(/\)' \| \ |
10893 | . : '\(.\)' 2>/dev/null || |
11384 | . : '\(.\)' 2>/dev/null || |
10894 | echo X"$as_dir" | |
11385 | echo X"$as_dir" | |
10895 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
11386 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10896 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
11387 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10897 | /^X\(\/\/\)$/{ s//\1/; q; } |
11388 | /^X\(\/\/\)$/{ s//\1/; q; } |
10898 | /^X\(\/\).*/{ s//\1/; q; } |
11389 | /^X\(\/\).*/{ s//\1/; q; } |
… | |
… | |
10930 | echo "*** Digest used: $DIGEST" |
11421 | echo "*** Digest used: $DIGEST" |
10931 | echo "*** HMAC length: $HMAC" |
11422 | echo "*** HMAC length: $HMAC" |
10932 | echo "*** RAND used: $RAND" |
11423 | echo "*** RAND used: $RAND" |
10933 | echo "*** Max. MTU: $MTU" |
11424 | echo "*** Max. MTU: $MTU" |
10934 | echo "*** Compression: $COMPRESS" |
11425 | echo "*** Compression: $COMPRESS" |
|
|
11426 | |
|
|
11427 | if test "x$DIGEST" = xmd4; then |
10935 | echo "***" |
11428 | echo "***" |
10936 | |
|
|
10937 | if test "x$DIGEST" = xmd4; then |
|
|
10938 | echo "*** WARNING" |
|
|
10939 | echo "*** The digest you have chosen ($DIGEST) is known to be insecure" |
11429 | echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure" |
|
|
11430 | fi |
|
|
11431 | |
|
|
11432 | if test "$HMAC" -lt 12; then |
10940 | echo "***" |
11433 | echo "***" |
|
|
11434 | echo "*** WARNING: The hmac length you have chosen ($HMAC) is probably insecure" |
10941 | fi |
11435 | fi |
|
|
11436 | |
|
|
11437 | if test "$RAND" -lt 8; then |
|
|
11438 | echo "***" |
|
|
11439 | echo "*** WARNING: The random prefix you have chosen ($RAND) is probably insecure" |
|
|
11440 | fi |
|
|
11441 | |
|
|
11442 | echo "***" |
10942 | |
11443 | |
10943 | echo |
11444 | echo |
10944 | |
11445 | |
10945 | |
11446 | |
10946 | |
11447 | |