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 LDFLAGS_DAEMON 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. |
|
|
879 | --enable-static-daemon enable statically linked daemon. |
877 | --enable-rohc enable robust header compression (rfc3095). |
880 | --enable-rohc enable robust header compression (rfc3095). |
878 | --enable-icmp enable icmp protocol support (default disabled). |
881 | --enable-icmp enable icmp protocol support (default disabled). |
879 | --enable-tcp enable tcp protocol support (default disabled). |
882 | --enable-tcp enable tcp protocol support (default disabled). |
|
|
883 | --enable-dns enable dns tunnel protocol support (DOES NOT WORK). |
880 | --enable-http-proxy enable http proxy connect support (default |
884 | --enable-http-proxy enable http proxy connect support (default |
881 | disabled). |
885 | disabled). |
882 | --enable-hmac-length=BYTES |
886 | --enable-hmac-length=BYTES |
883 | use a hmac of length BYTES bytes (default 12). |
887 | use a hmac of length BYTES bytes (default 12). |
884 | Allowed values are 4, 8, 12, 16. |
888 | Allowed values are 4, 8, 12, 16. |
… | |
… | |
954 | ac_top_srcdir=$srcdir ;; |
958 | ac_top_srcdir=$srcdir ;; |
955 | *) # Relative path. |
959 | *) # Relative path. |
956 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
960 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
957 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
961 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
958 | esac |
962 | esac |
959 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
963 | |
960 | # absolute. |
964 | # Do not use `cd foo && pwd` to compute absolute paths, because |
961 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
965 | # the directories may not exist. |
962 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
966 | case `pwd` in |
963 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
967 | .) ac_abs_builddir="$ac_dir";; |
964 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
968 | *) |
|
|
969 | case "$ac_dir" in |
|
|
970 | .) ac_abs_builddir=`pwd`;; |
|
|
971 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
|
|
972 | *) ac_abs_builddir=`pwd`/"$ac_dir";; |
|
|
973 | esac;; |
|
|
974 | esac |
|
|
975 | case $ac_abs_builddir in |
|
|
976 | .) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
|
977 | *) |
|
|
978 | case ${ac_top_builddir}. in |
|
|
979 | .) ac_abs_top_builddir=$ac_abs_builddir;; |
|
|
980 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
|
981 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
|
|
982 | esac;; |
|
|
983 | esac |
|
|
984 | case $ac_abs_builddir in |
|
|
985 | .) ac_abs_srcdir=$ac_srcdir;; |
|
|
986 | *) |
|
|
987 | case $ac_srcdir in |
|
|
988 | .) ac_abs_srcdir=$ac_abs_builddir;; |
|
|
989 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
|
|
990 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
|
|
991 | esac;; |
|
|
992 | esac |
|
|
993 | case $ac_abs_builddir in |
|
|
994 | .) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
|
995 | *) |
|
|
996 | case $ac_top_srcdir in |
|
|
997 | .) ac_abs_top_srcdir=$ac_abs_builddir;; |
|
|
998 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
|
999 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
|
|
1000 | esac;; |
|
|
1001 | esac |
965 | |
1002 | |
966 | cd $ac_dir |
1003 | cd $ac_dir |
967 | # Check for guested configure; otherwise get Cygnus style configure. |
1004 | # Check for guested configure; otherwise get Cygnus style configure. |
968 | if test -f $ac_srcdir/configure.gnu; then |
1005 | if test -f $ac_srcdir/configure.gnu; then |
969 | echo |
1006 | echo |
970 | $SHELL $ac_srcdir/configure.gnu --help=recursive |
1007 | $SHELL $ac_srcdir/configure.gnu --help=recursive |
971 | elif test -f $ac_srcdir/configure; then |
1008 | elif test -f $ac_srcdir/configure; then |
972 | echo |
1009 | echo |
973 | $SHELL $ac_srcdir/configure --help=recursive |
1010 | $SHELL $ac_srcdir/configure --help=recursive |
974 | elif test -f $ac_srcdir/configure.ac || |
1011 | elif test -f $ac_srcdir/configure.ac || |
975 | test -f $ac_srcdir/configure.in; then |
1012 | test -f $ac_srcdir/configure.in; then |
976 | echo |
1013 | echo |
977 | $ac_configure --help |
1014 | $ac_configure --help |
978 | else |
1015 | else |
979 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1016 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
980 | fi |
1017 | fi |
… | |
… | |
984 | |
1021 | |
985 | test -n "$ac_init_help" && exit 0 |
1022 | test -n "$ac_init_help" && exit 0 |
986 | if $ac_init_version; then |
1023 | if $ac_init_version; then |
987 | cat <<\_ACEOF |
1024 | cat <<\_ACEOF |
988 | |
1025 | |
989 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
|
|
990 | Free Software Foundation, Inc. |
1026 | Copyright (C) 2003 Free Software Foundation, Inc. |
991 | This configure script is free software; the Free Software Foundation |
1027 | This configure script is free software; the Free Software Foundation |
992 | gives unlimited permission to copy, distribute and modify it. |
1028 | gives unlimited permission to copy, distribute and modify it. |
993 | _ACEOF |
1029 | _ACEOF |
994 | exit 0 |
1030 | exit 0 |
995 | fi |
1031 | fi |
… | |
… | |
997 | cat >&5 <<_ACEOF |
1033 | cat >&5 <<_ACEOF |
998 | This file contains any messages produced by compilers while |
1034 | This file contains any messages produced by compilers while |
999 | running configure, to aid debugging if configure makes a mistake. |
1035 | running configure, to aid debugging if configure makes a mistake. |
1000 | |
1036 | |
1001 | It was created by $as_me, which was |
1037 | It was created by $as_me, which was |
1002 | generated by GNU Autoconf 2.57. Invocation command line was |
1038 | generated by GNU Autoconf 2.59. Invocation command line was |
1003 | |
1039 | |
1004 | $ $0 $@ |
1040 | $ $0 $@ |
1005 | |
1041 | |
1006 | _ACEOF |
1042 | _ACEOF |
1007 | { |
1043 | { |
… | |
… | |
1074 | case $ac_pass in |
1110 | case $ac_pass in |
1075 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1111 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1076 | 2) |
1112 | 2) |
1077 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1113 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1078 | if test $ac_must_keep_next = true; then |
1114 | if test $ac_must_keep_next = true; then |
1079 | ac_must_keep_next=false # Got value, back to normal. |
1115 | ac_must_keep_next=false # Got value, back to normal. |
1080 | else |
1116 | else |
1081 | case $ac_arg in |
1117 | case $ac_arg in |
1082 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
1118 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
1083 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1119 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1084 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1120 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1085 | | -with-* | --with-* | -without-* | --without-* | --x) |
1121 | | -with-* | --with-* | -without-* | --without-* | --x) |
1086 | case "$ac_configure_args0 " in |
1122 | case "$ac_configure_args0 " in |
1087 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1123 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1088 | esac |
1124 | esac |
1089 | ;; |
1125 | ;; |
1090 | -* ) ac_must_keep_next=true ;; |
1126 | -* ) ac_must_keep_next=true ;; |
1091 | esac |
1127 | esac |
1092 | fi |
1128 | fi |
1093 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1129 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1094 | # Get rid of the leading space. |
1130 | # Get rid of the leading space. |
1095 | ac_sep=" " |
1131 | ac_sep=" " |
1096 | ;; |
1132 | ;; |
… | |
… | |
1120 | { |
1156 | { |
1121 | (set) 2>&1 | |
1157 | (set) 2>&1 | |
1122 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1158 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1123 | *ac_space=\ *) |
1159 | *ac_space=\ *) |
1124 | sed -n \ |
1160 | sed -n \ |
1125 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1161 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1126 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1162 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1127 | ;; |
1163 | ;; |
1128 | *) |
1164 | *) |
1129 | sed -n \ |
1165 | sed -n \ |
1130 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1166 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1131 | ;; |
1167 | ;; |
1132 | esac; |
1168 | esac; |
1133 | } |
1169 | } |
1134 | echo |
1170 | echo |
1135 | |
1171 | |
… | |
… | |
1154 | _ASBOX |
1190 | _ASBOX |
1155 | echo |
1191 | echo |
1156 | for ac_var in $ac_subst_files |
1192 | for ac_var in $ac_subst_files |
1157 | do |
1193 | do |
1158 | eval ac_val=$`echo $ac_var` |
1194 | eval ac_val=$`echo $ac_var` |
1159 | echo "$ac_var='"'"'$ac_val'"'"'" |
1195 | echo "$ac_var='"'"'$ac_val'"'"'" |
1160 | done | sort |
1196 | done | sort |
1161 | echo |
1197 | echo |
1162 | fi |
1198 | fi |
1163 | |
1199 | |
1164 | if test -s confdefs.h; then |
1200 | if test -s confdefs.h; then |
… | |
… | |
1253 | |
1289 | |
1254 | # Check that the precious variables saved in the cache have kept the same |
1290 | # Check that the precious variables saved in the cache have kept the same |
1255 | # value. |
1291 | # value. |
1256 | ac_cache_corrupted=false |
1292 | ac_cache_corrupted=false |
1257 | for ac_var in `(set) 2>&1 | |
1293 | for ac_var in `(set) 2>&1 | |
1258 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1294 | 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 |
1295 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1260 | eval ac_new_set=\$ac_env_${ac_var}_set |
1296 | eval ac_new_set=\$ac_env_${ac_var}_set |
1261 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
1297 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
1262 | eval ac_new_val="\$ac_env_${ac_var}_value" |
1298 | eval ac_new_val="\$ac_env_${ac_var}_value" |
1263 | case $ac_old_set,$ac_new_set in |
1299 | case $ac_old_set,$ac_new_set in |
… | |
… | |
1270 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1306 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1271 | ac_cache_corrupted=: ;; |
1307 | ac_cache_corrupted=: ;; |
1272 | ,);; |
1308 | ,);; |
1273 | *) |
1309 | *) |
1274 | if test "x$ac_old_val" != "x$ac_new_val"; then |
1310 | 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 |
1311 | { 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;} |
1312 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1277 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1313 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1278 | echo "$as_me: former value: $ac_old_val" >&2;} |
1314 | echo "$as_me: former value: $ac_old_val" >&2;} |
1279 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1315 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1280 | echo "$as_me: current value: $ac_new_val" >&2;} |
1316 | echo "$as_me: current value: $ac_new_val" >&2;} |
1281 | ac_cache_corrupted=: |
1317 | ac_cache_corrupted=: |
1282 | fi;; |
1318 | fi;; |
1283 | esac |
1319 | esac |
1284 | # Pass precious variables to config.status. |
1320 | # Pass precious variables to config.status. |
1285 | if test "$ac_new_set" = set; then |
1321 | if test "$ac_new_set" = set; then |
1286 | case $ac_new_val in |
1322 | case $ac_new_val in |
… | |
… | |
1324 | |
1360 | |
1325 | |
1361 | |
1326 | |
1362 | |
1327 | |
1363 | |
1328 | |
1364 | |
|
|
1365 | |
1329 | ac_aux_dir= |
1366 | ac_aux_dir= |
1330 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
1367 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
1331 | if test -f $ac_dir/install-sh; then |
1368 | if test -f $ac_dir/install-sh; then |
1332 | ac_aux_dir=$ac_dir |
1369 | ac_aux_dir=$ac_dir |
1333 | ac_install_sh="$ac_aux_dir/install-sh -c" |
1370 | ac_install_sh="$ac_aux_dir/install-sh -c" |
… | |
… | |
1443 | # AIX /bin/install |
1480 | # AIX /bin/install |
1444 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
1481 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
1445 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
1482 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
1446 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
1483 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
1447 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
1484 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
|
|
1485 | # OS/2's system install, which has a completely different semantic |
1448 | # ./install, which can be erroneously created by make from ./install.sh. |
1486 | # ./install, which can be erroneously created by make from ./install.sh. |
1449 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
1487 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
1450 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
1488 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
1451 | if test -z "$INSTALL"; then |
1489 | if test -z "$INSTALL"; then |
1452 | if test "${ac_cv_path_install+set}" = set; then |
1490 | if test "${ac_cv_path_install+set}" = set; then |
… | |
… | |
1459 | test -z "$as_dir" && as_dir=. |
1497 | test -z "$as_dir" && as_dir=. |
1460 | # Account for people who put trailing slashes in PATH elements. |
1498 | # Account for people who put trailing slashes in PATH elements. |
1461 | case $as_dir/ in |
1499 | case $as_dir/ in |
1462 | ./ | .// | /cC/* | \ |
1500 | ./ | .// | /cC/* | \ |
1463 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
1501 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
|
|
1502 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
1464 | /usr/ucb/* ) ;; |
1503 | /usr/ucb/* ) ;; |
1465 | *) |
1504 | *) |
1466 | # OSF1 and SCO ODT 3.0 have their own names for install. |
1505 | # 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 |
1506 | # Don't use installbsd from OSF since it installs stuff as root |
1468 | # by default. |
1507 | # by default. |
1469 | for ac_prog in ginstall scoinst install; do |
1508 | for ac_prog in ginstall scoinst install; do |
1470 | for ac_exec_ext in '' $ac_executable_extensions; do |
1509 | for ac_exec_ext in '' $ac_executable_extensions; do |
1471 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
1510 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
1472 | if test $ac_prog = install && |
1511 | if test $ac_prog = install && |
1473 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1512 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1474 | # AIX install. It has an incompatible calling convention. |
1513 | # AIX install. It has an incompatible calling convention. |
1475 | : |
1514 | : |
1476 | elif test $ac_prog = install && |
1515 | elif test $ac_prog = install && |
1477 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1516 | 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. |
1517 | # program-specific install script used by HP pwplus--don't use. |
1479 | : |
1518 | : |
1480 | else |
1519 | else |
1481 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
1520 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
1482 | break 3 |
1521 | break 3 |
1483 | fi |
1522 | fi |
1484 | fi |
1523 | fi |
1485 | done |
1524 | done |
1486 | done |
1525 | done |
1487 | ;; |
1526 | ;; |
1488 | esac |
1527 | esac |
1489 | done |
1528 | done |
… | |
… | |
1623 | test -n "$AWK" && break |
1662 | test -n "$AWK" && break |
1624 | done |
1663 | done |
1625 | |
1664 | |
1626 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
1665 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
1627 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
1666 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
1628 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
1667 | 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 |
1668 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
1630 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1669 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1631 | else |
1670 | else |
1632 | cat >conftest.make <<\_ACEOF |
1671 | cat >conftest.make <<\_ACEOF |
1633 | all: |
1672 | all: |
… | |
… | |
1678 | fi |
1717 | fi |
1679 | fi |
1718 | fi |
1680 | |
1719 | |
1681 | |
1720 | |
1682 | # Define the identity of the package. |
1721 | # Define the identity of the package. |
1683 | PACKAGE=vpe |
1722 | PACKAGE=gvpe |
1684 | VERSION=1.2 |
1723 | VERSION=1.7 |
1685 | |
1724 | |
1686 | |
1725 | |
1687 | cat >>confdefs.h <<_ACEOF |
1726 | cat >>confdefs.h <<_ACEOF |
1688 | #define PACKAGE "$PACKAGE" |
1727 | #define PACKAGE "$PACKAGE" |
1689 | _ACEOF |
1728 | _ACEOF |
… | |
… | |
2455 | ac_status=$? |
2494 | ac_status=$? |
2456 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2495 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2457 | (exit $ac_status); } |
2496 | (exit $ac_status); } |
2458 | |
2497 | |
2459 | cat >conftest.$ac_ext <<_ACEOF |
2498 | cat >conftest.$ac_ext <<_ACEOF |
2460 | #line $LINENO "configure" |
|
|
2461 | /* confdefs.h. */ |
2499 | /* confdefs.h. */ |
2462 | _ACEOF |
2500 | _ACEOF |
2463 | cat confdefs.h >>conftest.$ac_ext |
2501 | cat confdefs.h >>conftest.$ac_ext |
2464 | cat >>conftest.$ac_ext <<_ACEOF |
2502 | cat >>conftest.$ac_ext <<_ACEOF |
2465 | /* end confdefs.h. */ |
2503 | /* end confdefs.h. */ |
… | |
… | |
2475 | ac_clean_files_save=$ac_clean_files |
2513 | ac_clean_files_save=$ac_clean_files |
2476 | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
2514 | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
2477 | # Try to create an executable without -o first, disregard a.out. |
2515 | # Try to create an executable without -o first, disregard a.out. |
2478 | # It will help us diagnose broken compilers, and finding out an intuition |
2516 | # It will help us diagnose broken compilers, and finding out an intuition |
2479 | # of exeext. |
2517 | # of exeext. |
2480 | echo "$as_me:$LINENO: checking for C compiler default output" >&5 |
2518 | 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 |
2519 | 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[^ ]*//'` |
2520 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2483 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
2521 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
2484 | (eval $ac_link_default) 2>&5 |
2522 | (eval $ac_link_default) 2>&5 |
2485 | ac_status=$? |
2523 | ac_status=$? |
2486 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2524 | 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 |
2534 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
2497 | do |
2535 | do |
2498 | test -f "$ac_file" || continue |
2536 | test -f "$ac_file" || continue |
2499 | case $ac_file in |
2537 | case $ac_file in |
2500 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
2538 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
2501 | ;; |
2539 | ;; |
2502 | conftest.$ac_ext ) |
2540 | conftest.$ac_ext ) |
2503 | # This is the source file. |
2541 | # This is the source file. |
2504 | ;; |
2542 | ;; |
2505 | [ab].out ) |
2543 | [ab].out ) |
2506 | # We found the default executable, but exeext='' is most |
2544 | # We found the default executable, but exeext='' is most |
2507 | # certainly right. |
2545 | # certainly right. |
2508 | break;; |
2546 | break;; |
2509 | *.* ) |
2547 | *.* ) |
2510 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2548 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2511 | # FIXME: I believe we export ac_cv_exeext for Libtool, |
2549 | # 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 |
2550 | # but it would be cool to find out if it's true. Does anybody |
2513 | # maintain Libtool? --akim. |
2551 | # maintain Libtool? --akim. |
2514 | export ac_cv_exeext |
2552 | export ac_cv_exeext |
2515 | break;; |
2553 | break;; |
2516 | * ) |
2554 | * ) |
2517 | break;; |
2555 | break;; |
2518 | esac |
2556 | esac |
2519 | done |
2557 | done |
2520 | else |
2558 | else |
2521 | echo "$as_me: failed program was:" >&5 |
2559 | echo "$as_me: failed program was:" >&5 |
2522 | sed 's/^/| /' conftest.$ac_ext >&5 |
2560 | sed 's/^/| /' conftest.$ac_ext >&5 |
… | |
… | |
2586 | for ac_file in conftest.exe conftest conftest.*; do |
2624 | for ac_file in conftest.exe conftest conftest.*; do |
2587 | test -f "$ac_file" || continue |
2625 | test -f "$ac_file" || continue |
2588 | case $ac_file in |
2626 | case $ac_file in |
2589 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
2627 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
2590 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2628 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2591 | export ac_cv_exeext |
2629 | export ac_cv_exeext |
2592 | break;; |
2630 | break;; |
2593 | * ) break;; |
2631 | * ) break;; |
2594 | esac |
2632 | esac |
2595 | done |
2633 | done |
2596 | else |
2634 | else |
2597 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
2635 | { { 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 |
2650 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
2613 | if test "${ac_cv_objext+set}" = set; then |
2651 | if test "${ac_cv_objext+set}" = set; then |
2614 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2652 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2615 | else |
2653 | else |
2616 | cat >conftest.$ac_ext <<_ACEOF |
2654 | cat >conftest.$ac_ext <<_ACEOF |
2617 | #line $LINENO "configure" |
|
|
2618 | /* confdefs.h. */ |
2655 | /* confdefs.h. */ |
2619 | _ACEOF |
2656 | _ACEOF |
2620 | cat confdefs.h >>conftest.$ac_ext |
2657 | cat confdefs.h >>conftest.$ac_ext |
2621 | cat >>conftest.$ac_ext <<_ACEOF |
2658 | cat >>conftest.$ac_ext <<_ACEOF |
2622 | /* end confdefs.h. */ |
2659 | /* end confdefs.h. */ |
… | |
… | |
2663 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
2700 | 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 |
2701 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
2665 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2702 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2666 | else |
2703 | else |
2667 | cat >conftest.$ac_ext <<_ACEOF |
2704 | cat >conftest.$ac_ext <<_ACEOF |
2668 | #line $LINENO "configure" |
|
|
2669 | /* confdefs.h. */ |
2705 | /* confdefs.h. */ |
2670 | _ACEOF |
2706 | _ACEOF |
2671 | cat confdefs.h >>conftest.$ac_ext |
2707 | cat confdefs.h >>conftest.$ac_ext |
2672 | cat >>conftest.$ac_ext <<_ACEOF |
2708 | cat >>conftest.$ac_ext <<_ACEOF |
2673 | /* end confdefs.h. */ |
2709 | /* end confdefs.h. */ |
… | |
… | |
2683 | return 0; |
2719 | return 0; |
2684 | } |
2720 | } |
2685 | _ACEOF |
2721 | _ACEOF |
2686 | rm -f conftest.$ac_objext |
2722 | rm -f conftest.$ac_objext |
2687 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2723 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2688 | (eval $ac_compile) 2>&5 |
2724 | (eval $ac_compile) 2>conftest.er1 |
2689 | ac_status=$? |
2725 | ac_status=$? |
|
|
2726 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2727 | rm -f conftest.er1 |
|
|
2728 | cat conftest.err >&5 |
2690 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2729 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2691 | (exit $ac_status); } && |
2730 | (exit $ac_status); } && |
2692 | { ac_try='test -s conftest.$ac_objext' |
2731 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2693 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2732 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2694 | (eval $ac_try) 2>&5 |
2733 | (eval $ac_try) 2>&5 |
2695 | ac_status=$? |
2734 | ac_status=$? |
2696 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2735 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2736 | (exit $ac_status); }; } && |
|
|
2737 | { ac_try='test -s conftest.$ac_objext' |
|
|
2738 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2739 | (eval $ac_try) 2>&5 |
|
|
2740 | ac_status=$? |
|
|
2741 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2697 | (exit $ac_status); }; }; then |
2742 | (exit $ac_status); }; }; then |
2698 | ac_compiler_gnu=yes |
2743 | ac_compiler_gnu=yes |
2699 | else |
2744 | else |
2700 | echo "$as_me: failed program was:" >&5 |
2745 | echo "$as_me: failed program was:" >&5 |
2701 | sed 's/^/| /' conftest.$ac_ext >&5 |
2746 | sed 's/^/| /' conftest.$ac_ext >&5 |
2702 | |
2747 | |
2703 | ac_compiler_gnu=no |
2748 | ac_compiler_gnu=no |
2704 | fi |
2749 | fi |
2705 | rm -f conftest.$ac_objext conftest.$ac_ext |
2750 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2706 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2751 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2707 | |
2752 | |
2708 | fi |
2753 | fi |
2709 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
2754 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
2710 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
2755 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
… | |
… | |
2716 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
2761 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
2717 | if test "${ac_cv_prog_cc_g+set}" = set; then |
2762 | if test "${ac_cv_prog_cc_g+set}" = set; then |
2718 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2763 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2719 | else |
2764 | else |
2720 | cat >conftest.$ac_ext <<_ACEOF |
2765 | cat >conftest.$ac_ext <<_ACEOF |
2721 | #line $LINENO "configure" |
|
|
2722 | /* confdefs.h. */ |
2766 | /* confdefs.h. */ |
2723 | _ACEOF |
2767 | _ACEOF |
2724 | cat confdefs.h >>conftest.$ac_ext |
2768 | cat confdefs.h >>conftest.$ac_ext |
2725 | cat >>conftest.$ac_ext <<_ACEOF |
2769 | cat >>conftest.$ac_ext <<_ACEOF |
2726 | /* end confdefs.h. */ |
2770 | /* end confdefs.h. */ |
… | |
… | |
2733 | return 0; |
2777 | return 0; |
2734 | } |
2778 | } |
2735 | _ACEOF |
2779 | _ACEOF |
2736 | rm -f conftest.$ac_objext |
2780 | rm -f conftest.$ac_objext |
2737 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2781 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2738 | (eval $ac_compile) 2>&5 |
2782 | (eval $ac_compile) 2>conftest.er1 |
2739 | ac_status=$? |
2783 | ac_status=$? |
|
|
2784 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2785 | rm -f conftest.er1 |
|
|
2786 | cat conftest.err >&5 |
2740 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2787 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2741 | (exit $ac_status); } && |
2788 | (exit $ac_status); } && |
2742 | { ac_try='test -s conftest.$ac_objext' |
2789 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2743 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2790 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2744 | (eval $ac_try) 2>&5 |
2791 | (eval $ac_try) 2>&5 |
2745 | ac_status=$? |
2792 | ac_status=$? |
2746 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2793 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2794 | (exit $ac_status); }; } && |
|
|
2795 | { ac_try='test -s conftest.$ac_objext' |
|
|
2796 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2797 | (eval $ac_try) 2>&5 |
|
|
2798 | ac_status=$? |
|
|
2799 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2747 | (exit $ac_status); }; }; then |
2800 | (exit $ac_status); }; }; then |
2748 | ac_cv_prog_cc_g=yes |
2801 | ac_cv_prog_cc_g=yes |
2749 | else |
2802 | else |
2750 | echo "$as_me: failed program was:" >&5 |
2803 | echo "$as_me: failed program was:" >&5 |
2751 | sed 's/^/| /' conftest.$ac_ext >&5 |
2804 | sed 's/^/| /' conftest.$ac_ext >&5 |
2752 | |
2805 | |
2753 | ac_cv_prog_cc_g=no |
2806 | ac_cv_prog_cc_g=no |
2754 | fi |
2807 | fi |
2755 | rm -f conftest.$ac_objext conftest.$ac_ext |
2808 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2756 | fi |
2809 | fi |
2757 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2810 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2758 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
2811 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
2759 | if test "$ac_test_CFLAGS" = set; then |
2812 | if test "$ac_test_CFLAGS" = set; then |
2760 | CFLAGS=$ac_save_CFLAGS |
2813 | CFLAGS=$ac_save_CFLAGS |
… | |
… | |
2777 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2830 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2778 | else |
2831 | else |
2779 | ac_cv_prog_cc_stdc=no |
2832 | ac_cv_prog_cc_stdc=no |
2780 | ac_save_CC=$CC |
2833 | ac_save_CC=$CC |
2781 | cat >conftest.$ac_ext <<_ACEOF |
2834 | cat >conftest.$ac_ext <<_ACEOF |
2782 | #line $LINENO "configure" |
|
|
2783 | /* confdefs.h. */ |
2835 | /* confdefs.h. */ |
2784 | _ACEOF |
2836 | _ACEOF |
2785 | cat confdefs.h >>conftest.$ac_ext |
2837 | cat confdefs.h >>conftest.$ac_ext |
2786 | cat >>conftest.$ac_ext <<_ACEOF |
2838 | cat >>conftest.$ac_ext <<_ACEOF |
2787 | /* end confdefs.h. */ |
2839 | /* end confdefs.h. */ |
… | |
… | |
2805 | va_start (v,p); |
2857 | va_start (v,p); |
2806 | s = g (p, va_arg (v,int)); |
2858 | s = g (p, va_arg (v,int)); |
2807 | va_end (v); |
2859 | va_end (v); |
2808 | return s; |
2860 | return s; |
2809 | } |
2861 | } |
|
|
2862 | |
|
|
2863 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|
|
2864 | function prototypes and stuff, but not '\xHH' hex character constants. |
|
|
2865 | These don't provoke an error unfortunately, instead are silently treated |
|
|
2866 | as 'x'. The following induces an error, until -std1 is added to get |
|
|
2867 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
|
|
2868 | array size at least. It's necessary to write '\x00'==0 to get something |
|
|
2869 | that's true only with -std1. */ |
|
|
2870 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
|
2871 | |
2810 | int test (int i, double x); |
2872 | int test (int i, double x); |
2811 | struct s1 {int (*f) (int a);}; |
2873 | struct s1 {int (*f) (int a);}; |
2812 | struct s2 {int (*f) (double a);}; |
2874 | struct s2 {int (*f) (double a);}; |
2813 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
2875 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
2814 | int argc; |
2876 | int argc; |
… | |
… | |
2831 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2893 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2832 | do |
2894 | do |
2833 | CC="$ac_save_CC $ac_arg" |
2895 | CC="$ac_save_CC $ac_arg" |
2834 | rm -f conftest.$ac_objext |
2896 | rm -f conftest.$ac_objext |
2835 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2897 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2836 | (eval $ac_compile) 2>&5 |
2898 | (eval $ac_compile) 2>conftest.er1 |
2837 | ac_status=$? |
2899 | ac_status=$? |
|
|
2900 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2901 | rm -f conftest.er1 |
|
|
2902 | cat conftest.err >&5 |
2838 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2903 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2839 | (exit $ac_status); } && |
2904 | (exit $ac_status); } && |
|
|
2905 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
2906 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2907 | (eval $ac_try) 2>&5 |
|
|
2908 | ac_status=$? |
|
|
2909 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2910 | (exit $ac_status); }; } && |
2840 | { ac_try='test -s conftest.$ac_objext' |
2911 | { ac_try='test -s conftest.$ac_objext' |
2841 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2912 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2842 | (eval $ac_try) 2>&5 |
2913 | (eval $ac_try) 2>&5 |
2843 | ac_status=$? |
2914 | ac_status=$? |
2844 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2915 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2845 | (exit $ac_status); }; }; then |
2916 | (exit $ac_status); }; }; then |
… | |
… | |
2848 | else |
2919 | else |
2849 | echo "$as_me: failed program was:" >&5 |
2920 | echo "$as_me: failed program was:" >&5 |
2850 | sed 's/^/| /' conftest.$ac_ext >&5 |
2921 | sed 's/^/| /' conftest.$ac_ext >&5 |
2851 | |
2922 | |
2852 | fi |
2923 | fi |
2853 | rm -f conftest.$ac_objext |
2924 | rm -f conftest.err conftest.$ac_objext |
2854 | done |
2925 | done |
2855 | rm -f conftest.$ac_ext conftest.$ac_objext |
2926 | rm -f conftest.$ac_ext conftest.$ac_objext |
2856 | CC=$ac_save_CC |
2927 | CC=$ac_save_CC |
2857 | |
2928 | |
2858 | fi |
2929 | fi |
… | |
… | |
2876 | choke me |
2947 | choke me |
2877 | #endif |
2948 | #endif |
2878 | _ACEOF |
2949 | _ACEOF |
2879 | rm -f conftest.$ac_objext |
2950 | rm -f conftest.$ac_objext |
2880 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2951 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2881 | (eval $ac_compile) 2>&5 |
2952 | (eval $ac_compile) 2>conftest.er1 |
2882 | ac_status=$? |
2953 | ac_status=$? |
|
|
2954 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2955 | rm -f conftest.er1 |
|
|
2956 | cat conftest.err >&5 |
2883 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2957 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2884 | (exit $ac_status); } && |
2958 | (exit $ac_status); } && |
|
|
2959 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
2960 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2961 | (eval $ac_try) 2>&5 |
|
|
2962 | ac_status=$? |
|
|
2963 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2964 | (exit $ac_status); }; } && |
2885 | { ac_try='test -s conftest.$ac_objext' |
2965 | { ac_try='test -s conftest.$ac_objext' |
2886 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2966 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2887 | (eval $ac_try) 2>&5 |
2967 | (eval $ac_try) 2>&5 |
2888 | ac_status=$? |
2968 | ac_status=$? |
2889 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2969 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2890 | (exit $ac_status); }; }; then |
2970 | (exit $ac_status); }; }; then |
… | |
… | |
2895 | 'extern "C" void exit (int) throw ();' \ |
2975 | 'extern "C" void exit (int) throw ();' \ |
2896 | 'extern "C" void exit (int);' \ |
2976 | 'extern "C" void exit (int);' \ |
2897 | 'void exit (int);' |
2977 | 'void exit (int);' |
2898 | do |
2978 | do |
2899 | cat >conftest.$ac_ext <<_ACEOF |
2979 | cat >conftest.$ac_ext <<_ACEOF |
2900 | #line $LINENO "configure" |
|
|
2901 | /* confdefs.h. */ |
2980 | /* confdefs.h. */ |
2902 | _ACEOF |
2981 | _ACEOF |
2903 | cat confdefs.h >>conftest.$ac_ext |
2982 | cat confdefs.h >>conftest.$ac_ext |
2904 | cat >>conftest.$ac_ext <<_ACEOF |
2983 | cat >>conftest.$ac_ext <<_ACEOF |
2905 | /* end confdefs.h. */ |
2984 | /* end confdefs.h. */ |
… | |
… | |
2913 | return 0; |
2992 | return 0; |
2914 | } |
2993 | } |
2915 | _ACEOF |
2994 | _ACEOF |
2916 | rm -f conftest.$ac_objext |
2995 | rm -f conftest.$ac_objext |
2917 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2996 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2918 | (eval $ac_compile) 2>&5 |
2997 | (eval $ac_compile) 2>conftest.er1 |
2919 | ac_status=$? |
2998 | ac_status=$? |
|
|
2999 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3000 | rm -f conftest.er1 |
|
|
3001 | cat conftest.err >&5 |
2920 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3002 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2921 | (exit $ac_status); } && |
3003 | (exit $ac_status); } && |
2922 | { ac_try='test -s conftest.$ac_objext' |
3004 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2923 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3005 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2924 | (eval $ac_try) 2>&5 |
3006 | (eval $ac_try) 2>&5 |
2925 | ac_status=$? |
3007 | ac_status=$? |
2926 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3008 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3009 | (exit $ac_status); }; } && |
|
|
3010 | { ac_try='test -s conftest.$ac_objext' |
|
|
3011 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3012 | (eval $ac_try) 2>&5 |
|
|
3013 | ac_status=$? |
|
|
3014 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2927 | (exit $ac_status); }; }; then |
3015 | (exit $ac_status); }; }; then |
2928 | : |
3016 | : |
2929 | else |
3017 | else |
2930 | echo "$as_me: failed program was:" >&5 |
3018 | echo "$as_me: failed program was:" >&5 |
2931 | sed 's/^/| /' conftest.$ac_ext >&5 |
3019 | sed 's/^/| /' conftest.$ac_ext >&5 |
2932 | |
3020 | |
2933 | continue |
3021 | continue |
2934 | fi |
3022 | fi |
2935 | rm -f conftest.$ac_objext conftest.$ac_ext |
3023 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2936 | cat >conftest.$ac_ext <<_ACEOF |
3024 | cat >conftest.$ac_ext <<_ACEOF |
2937 | #line $LINENO "configure" |
|
|
2938 | /* confdefs.h. */ |
3025 | /* confdefs.h. */ |
2939 | _ACEOF |
3026 | _ACEOF |
2940 | cat confdefs.h >>conftest.$ac_ext |
3027 | cat confdefs.h >>conftest.$ac_ext |
2941 | cat >>conftest.$ac_ext <<_ACEOF |
3028 | cat >>conftest.$ac_ext <<_ACEOF |
2942 | /* end confdefs.h. */ |
3029 | /* end confdefs.h. */ |
… | |
… | |
2949 | return 0; |
3036 | return 0; |
2950 | } |
3037 | } |
2951 | _ACEOF |
3038 | _ACEOF |
2952 | rm -f conftest.$ac_objext |
3039 | rm -f conftest.$ac_objext |
2953 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3040 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2954 | (eval $ac_compile) 2>&5 |
3041 | (eval $ac_compile) 2>conftest.er1 |
2955 | ac_status=$? |
3042 | ac_status=$? |
|
|
3043 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3044 | rm -f conftest.er1 |
|
|
3045 | cat conftest.err >&5 |
2956 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3046 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2957 | (exit $ac_status); } && |
3047 | (exit $ac_status); } && |
2958 | { ac_try='test -s conftest.$ac_objext' |
3048 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2959 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3049 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2960 | (eval $ac_try) 2>&5 |
3050 | (eval $ac_try) 2>&5 |
2961 | ac_status=$? |
3051 | ac_status=$? |
2962 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3052 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3053 | (exit $ac_status); }; } && |
|
|
3054 | { ac_try='test -s conftest.$ac_objext' |
|
|
3055 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3056 | (eval $ac_try) 2>&5 |
|
|
3057 | ac_status=$? |
|
|
3058 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2963 | (exit $ac_status); }; }; then |
3059 | (exit $ac_status); }; }; then |
2964 | break |
3060 | break |
2965 | else |
3061 | else |
2966 | echo "$as_me: failed program was:" >&5 |
3062 | echo "$as_me: failed program was:" >&5 |
2967 | sed 's/^/| /' conftest.$ac_ext >&5 |
3063 | sed 's/^/| /' conftest.$ac_ext >&5 |
2968 | |
3064 | |
2969 | fi |
3065 | fi |
2970 | rm -f conftest.$ac_objext conftest.$ac_ext |
3066 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2971 | done |
3067 | done |
2972 | rm -f conftest* |
3068 | rm -f conftest* |
2973 | if test -n "$ac_declaration"; then |
3069 | if test -n "$ac_declaration"; then |
2974 | echo '#ifdef __cplusplus' >>confdefs.h |
3070 | echo '#ifdef __cplusplus' >>confdefs.h |
2975 | echo $ac_declaration >>confdefs.h |
3071 | echo $ac_declaration >>confdefs.h |
… | |
… | |
2979 | else |
3075 | else |
2980 | echo "$as_me: failed program was:" >&5 |
3076 | echo "$as_me: failed program was:" >&5 |
2981 | sed 's/^/| /' conftest.$ac_ext >&5 |
3077 | sed 's/^/| /' conftest.$ac_ext >&5 |
2982 | |
3078 | |
2983 | fi |
3079 | fi |
2984 | rm -f conftest.$ac_objext conftest.$ac_ext |
3080 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2985 | ac_ext=c |
3081 | ac_ext=c |
2986 | ac_cpp='$CPP $CPPFLAGS' |
3082 | ac_cpp='$CPP $CPPFLAGS' |
2987 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3083 | 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' |
3084 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2989 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3085 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
… | |
… | |
3652 | echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6 |
3748 | echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6 |
3653 | if test "${gt_cv_func_gnugettext1_libc+set}" = set; then |
3749 | if test "${gt_cv_func_gnugettext1_libc+set}" = set; then |
3654 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3750 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3655 | else |
3751 | else |
3656 | cat >conftest.$ac_ext <<_ACEOF |
3752 | cat >conftest.$ac_ext <<_ACEOF |
3657 | #line $LINENO "configure" |
|
|
3658 | /* confdefs.h. */ |
3753 | /* confdefs.h. */ |
3659 | _ACEOF |
3754 | _ACEOF |
3660 | cat confdefs.h >>conftest.$ac_ext |
3755 | cat confdefs.h >>conftest.$ac_ext |
3661 | cat >>conftest.$ac_ext <<_ACEOF |
3756 | cat >>conftest.$ac_ext <<_ACEOF |
3662 | /* end confdefs.h. */ |
3757 | /* end confdefs.h. */ |
… | |
… | |
3672 | return 0; |
3767 | return 0; |
3673 | } |
3768 | } |
3674 | _ACEOF |
3769 | _ACEOF |
3675 | rm -f conftest.$ac_objext conftest$ac_exeext |
3770 | rm -f conftest.$ac_objext conftest$ac_exeext |
3676 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3771 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3677 | (eval $ac_link) 2>&5 |
3772 | (eval $ac_link) 2>conftest.er1 |
3678 | ac_status=$? |
3773 | ac_status=$? |
|
|
3774 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3775 | rm -f conftest.er1 |
|
|
3776 | cat conftest.err >&5 |
3679 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3777 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3680 | (exit $ac_status); } && |
3778 | (exit $ac_status); } && |
3681 | { ac_try='test -s conftest$ac_exeext' |
3779 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
3682 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3780 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3683 | (eval $ac_try) 2>&5 |
3781 | (eval $ac_try) 2>&5 |
3684 | ac_status=$? |
3782 | ac_status=$? |
3685 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3783 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3784 | (exit $ac_status); }; } && |
|
|
3785 | { ac_try='test -s conftest$ac_exeext' |
|
|
3786 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3787 | (eval $ac_try) 2>&5 |
|
|
3788 | ac_status=$? |
|
|
3789 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3686 | (exit $ac_status); }; }; then |
3790 | (exit $ac_status); }; }; then |
3687 | gt_cv_func_gnugettext1_libc=yes |
3791 | gt_cv_func_gnugettext1_libc=yes |
3688 | else |
3792 | else |
3689 | echo "$as_me: failed program was:" >&5 |
3793 | echo "$as_me: failed program was:" >&5 |
3690 | sed 's/^/| /' conftest.$ac_ext >&5 |
3794 | sed 's/^/| /' conftest.$ac_ext >&5 |
3691 | |
3795 | |
3692 | gt_cv_func_gnugettext1_libc=no |
3796 | gt_cv_func_gnugettext1_libc=no |
3693 | fi |
3797 | fi |
3694 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3798 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3799 | conftest$ac_exeext conftest.$ac_ext |
3695 | fi |
3800 | fi |
3696 | echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5 |
3801 | echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5 |
3697 | echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6 |
3802 | echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6 |
3698 | |
3803 | |
3699 | if test "$gt_cv_func_gnugettext1_libc" != "yes"; then |
3804 | if test "$gt_cv_func_gnugettext1_libc" != "yes"; then |
… | |
… | |
3734 | else |
3839 | else |
3735 | |
3840 | |
3736 | am_cv_func_iconv="no, consider installing GNU libiconv" |
3841 | am_cv_func_iconv="no, consider installing GNU libiconv" |
3737 | am_cv_lib_iconv=no |
3842 | am_cv_lib_iconv=no |
3738 | cat >conftest.$ac_ext <<_ACEOF |
3843 | cat >conftest.$ac_ext <<_ACEOF |
3739 | #line $LINENO "configure" |
|
|
3740 | /* confdefs.h. */ |
3844 | /* confdefs.h. */ |
3741 | _ACEOF |
3845 | _ACEOF |
3742 | cat confdefs.h >>conftest.$ac_ext |
3846 | cat confdefs.h >>conftest.$ac_ext |
3743 | cat >>conftest.$ac_ext <<_ACEOF |
3847 | cat >>conftest.$ac_ext <<_ACEOF |
3744 | /* end confdefs.h. */ |
3848 | /* end confdefs.h. */ |
… | |
… | |
3754 | return 0; |
3858 | return 0; |
3755 | } |
3859 | } |
3756 | _ACEOF |
3860 | _ACEOF |
3757 | rm -f conftest.$ac_objext conftest$ac_exeext |
3861 | rm -f conftest.$ac_objext conftest$ac_exeext |
3758 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3862 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3759 | (eval $ac_link) 2>&5 |
3863 | (eval $ac_link) 2>conftest.er1 |
3760 | ac_status=$? |
3864 | ac_status=$? |
|
|
3865 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3866 | rm -f conftest.er1 |
|
|
3867 | cat conftest.err >&5 |
3761 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3868 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3762 | (exit $ac_status); } && |
3869 | (exit $ac_status); } && |
3763 | { ac_try='test -s conftest$ac_exeext' |
3870 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
3764 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3871 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3765 | (eval $ac_try) 2>&5 |
3872 | (eval $ac_try) 2>&5 |
3766 | ac_status=$? |
3873 | ac_status=$? |
3767 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3874 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3875 | (exit $ac_status); }; } && |
|
|
3876 | { ac_try='test -s conftest$ac_exeext' |
|
|
3877 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3878 | (eval $ac_try) 2>&5 |
|
|
3879 | ac_status=$? |
|
|
3880 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3768 | (exit $ac_status); }; }; then |
3881 | (exit $ac_status); }; }; then |
3769 | am_cv_func_iconv=yes |
3882 | am_cv_func_iconv=yes |
3770 | else |
3883 | else |
3771 | echo "$as_me: failed program was:" >&5 |
3884 | echo "$as_me: failed program was:" >&5 |
3772 | sed 's/^/| /' conftest.$ac_ext >&5 |
3885 | sed 's/^/| /' conftest.$ac_ext >&5 |
3773 | |
3886 | |
3774 | fi |
3887 | fi |
3775 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3888 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3889 | conftest$ac_exeext conftest.$ac_ext |
3776 | if test "$am_cv_func_iconv" != yes; then |
3890 | if test "$am_cv_func_iconv" != yes; then |
3777 | am_save_LIBS="$LIBS" |
3891 | am_save_LIBS="$LIBS" |
3778 | LIBS="$LIBS $LIBICONV" |
3892 | LIBS="$LIBS $LIBICONV" |
3779 | cat >conftest.$ac_ext <<_ACEOF |
3893 | cat >conftest.$ac_ext <<_ACEOF |
3780 | #line $LINENO "configure" |
|
|
3781 | /* confdefs.h. */ |
3894 | /* confdefs.h. */ |
3782 | _ACEOF |
3895 | _ACEOF |
3783 | cat confdefs.h >>conftest.$ac_ext |
3896 | cat confdefs.h >>conftest.$ac_ext |
3784 | cat >>conftest.$ac_ext <<_ACEOF |
3897 | cat >>conftest.$ac_ext <<_ACEOF |
3785 | /* end confdefs.h. */ |
3898 | /* end confdefs.h. */ |
… | |
… | |
3795 | return 0; |
3908 | return 0; |
3796 | } |
3909 | } |
3797 | _ACEOF |
3910 | _ACEOF |
3798 | rm -f conftest.$ac_objext conftest$ac_exeext |
3911 | rm -f conftest.$ac_objext conftest$ac_exeext |
3799 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3912 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3800 | (eval $ac_link) 2>&5 |
3913 | (eval $ac_link) 2>conftest.er1 |
3801 | ac_status=$? |
3914 | ac_status=$? |
|
|
3915 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3916 | rm -f conftest.er1 |
|
|
3917 | cat conftest.err >&5 |
3802 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3918 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3803 | (exit $ac_status); } && |
3919 | (exit $ac_status); } && |
|
|
3920 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
3921 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3922 | (eval $ac_try) 2>&5 |
|
|
3923 | ac_status=$? |
|
|
3924 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3925 | (exit $ac_status); }; } && |
3804 | { ac_try='test -s conftest$ac_exeext' |
3926 | { ac_try='test -s conftest$ac_exeext' |
3805 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3927 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3806 | (eval $ac_try) 2>&5 |
3928 | (eval $ac_try) 2>&5 |
3807 | ac_status=$? |
3929 | ac_status=$? |
3808 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3930 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3809 | (exit $ac_status); }; }; then |
3931 | (exit $ac_status); }; }; then |
… | |
… | |
3812 | else |
3934 | else |
3813 | echo "$as_me: failed program was:" >&5 |
3935 | echo "$as_me: failed program was:" >&5 |
3814 | sed 's/^/| /' conftest.$ac_ext >&5 |
3936 | sed 's/^/| /' conftest.$ac_ext >&5 |
3815 | |
3937 | |
3816 | fi |
3938 | fi |
3817 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3939 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3940 | conftest$ac_exeext conftest.$ac_ext |
3818 | LIBS="$am_save_LIBS" |
3941 | LIBS="$am_save_LIBS" |
3819 | fi |
3942 | fi |
3820 | |
3943 | |
3821 | fi |
3944 | fi |
3822 | echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 |
3945 | echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 |
… | |
… | |
4228 | gt_save_CPPFLAGS="$CPPFLAGS" |
4351 | gt_save_CPPFLAGS="$CPPFLAGS" |
4229 | CPPFLAGS="$CPPFLAGS $INCINTL" |
4352 | CPPFLAGS="$CPPFLAGS $INCINTL" |
4230 | gt_save_LIBS="$LIBS" |
4353 | gt_save_LIBS="$LIBS" |
4231 | LIBS="$LIBS $LIBINTL" |
4354 | LIBS="$LIBS $LIBINTL" |
4232 | cat >conftest.$ac_ext <<_ACEOF |
4355 | cat >conftest.$ac_ext <<_ACEOF |
4233 | #line $LINENO "configure" |
|
|
4234 | /* confdefs.h. */ |
4356 | /* confdefs.h. */ |
4235 | _ACEOF |
4357 | _ACEOF |
4236 | cat confdefs.h >>conftest.$ac_ext |
4358 | cat confdefs.h >>conftest.$ac_ext |
4237 | cat >>conftest.$ac_ext <<_ACEOF |
4359 | cat >>conftest.$ac_ext <<_ACEOF |
4238 | /* end confdefs.h. */ |
4360 | /* end confdefs.h. */ |
… | |
… | |
4252 | return 0; |
4374 | return 0; |
4253 | } |
4375 | } |
4254 | _ACEOF |
4376 | _ACEOF |
4255 | rm -f conftest.$ac_objext conftest$ac_exeext |
4377 | rm -f conftest.$ac_objext conftest$ac_exeext |
4256 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4378 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4257 | (eval $ac_link) 2>&5 |
4379 | (eval $ac_link) 2>conftest.er1 |
4258 | ac_status=$? |
4380 | ac_status=$? |
|
|
4381 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4382 | rm -f conftest.er1 |
|
|
4383 | cat conftest.err >&5 |
4259 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4384 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4260 | (exit $ac_status); } && |
4385 | (exit $ac_status); } && |
4261 | { ac_try='test -s conftest$ac_exeext' |
4386 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
4262 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4387 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4263 | (eval $ac_try) 2>&5 |
4388 | (eval $ac_try) 2>&5 |
4264 | ac_status=$? |
4389 | ac_status=$? |
4265 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4390 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4391 | (exit $ac_status); }; } && |
|
|
4392 | { ac_try='test -s conftest$ac_exeext' |
|
|
4393 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4394 | (eval $ac_try) 2>&5 |
|
|
4395 | ac_status=$? |
|
|
4396 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4266 | (exit $ac_status); }; }; then |
4397 | (exit $ac_status); }; }; then |
4267 | gt_cv_func_gnugettext1_libintl=yes |
4398 | gt_cv_func_gnugettext1_libintl=yes |
4268 | else |
4399 | else |
4269 | echo "$as_me: failed program was:" >&5 |
4400 | echo "$as_me: failed program was:" >&5 |
4270 | sed 's/^/| /' conftest.$ac_ext >&5 |
4401 | sed 's/^/| /' conftest.$ac_ext >&5 |
4271 | |
4402 | |
4272 | gt_cv_func_gnugettext1_libintl=no |
4403 | gt_cv_func_gnugettext1_libintl=no |
4273 | fi |
4404 | fi |
4274 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4405 | rm -f conftest.err conftest.$ac_objext \ |
|
|
4406 | conftest$ac_exeext conftest.$ac_ext |
4275 | if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then |
4407 | if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then |
4276 | LIBS="$LIBS $LIBICONV" |
4408 | LIBS="$LIBS $LIBICONV" |
4277 | cat >conftest.$ac_ext <<_ACEOF |
4409 | cat >conftest.$ac_ext <<_ACEOF |
4278 | #line $LINENO "configure" |
|
|
4279 | /* confdefs.h. */ |
4410 | /* confdefs.h. */ |
4280 | _ACEOF |
4411 | _ACEOF |
4281 | cat confdefs.h >>conftest.$ac_ext |
4412 | cat confdefs.h >>conftest.$ac_ext |
4282 | cat >>conftest.$ac_ext <<_ACEOF |
4413 | cat >>conftest.$ac_ext <<_ACEOF |
4283 | /* end confdefs.h. */ |
4414 | /* end confdefs.h. */ |
… | |
… | |
4297 | return 0; |
4428 | return 0; |
4298 | } |
4429 | } |
4299 | _ACEOF |
4430 | _ACEOF |
4300 | rm -f conftest.$ac_objext conftest$ac_exeext |
4431 | rm -f conftest.$ac_objext conftest$ac_exeext |
4301 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4432 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4302 | (eval $ac_link) 2>&5 |
4433 | (eval $ac_link) 2>conftest.er1 |
4303 | ac_status=$? |
4434 | ac_status=$? |
|
|
4435 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4436 | rm -f conftest.er1 |
|
|
4437 | cat conftest.err >&5 |
4304 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4438 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4305 | (exit $ac_status); } && |
4439 | (exit $ac_status); } && |
|
|
4440 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
4441 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4442 | (eval $ac_try) 2>&5 |
|
|
4443 | ac_status=$? |
|
|
4444 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4445 | (exit $ac_status); }; } && |
4306 | { ac_try='test -s conftest$ac_exeext' |
4446 | { ac_try='test -s conftest$ac_exeext' |
4307 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4447 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4308 | (eval $ac_try) 2>&5 |
4448 | (eval $ac_try) 2>&5 |
4309 | ac_status=$? |
4449 | ac_status=$? |
4310 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4450 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4311 | (exit $ac_status); }; }; then |
4451 | (exit $ac_status); }; }; then |
… | |
… | |
4316 | else |
4456 | else |
4317 | echo "$as_me: failed program was:" >&5 |
4457 | echo "$as_me: failed program was:" >&5 |
4318 | sed 's/^/| /' conftest.$ac_ext >&5 |
4458 | sed 's/^/| /' conftest.$ac_ext >&5 |
4319 | |
4459 | |
4320 | fi |
4460 | fi |
4321 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4461 | rm -f conftest.err conftest.$ac_objext \ |
|
|
4462 | conftest$ac_exeext conftest.$ac_ext |
4322 | fi |
4463 | fi |
4323 | CPPFLAGS="$gt_save_CPPFLAGS" |
4464 | CPPFLAGS="$gt_save_CPPFLAGS" |
4324 | LIBS="$gt_save_LIBS" |
4465 | LIBS="$gt_save_LIBS" |
4325 | fi |
4466 | fi |
4326 | echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5 |
4467 | echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5 |
… | |
… | |
4417 | cat >>confdefs.h <<\_ACEOF |
4558 | cat >>confdefs.h <<\_ACEOF |
4418 | #define _GNU_SOURCE 1 |
4559 | #define _GNU_SOURCE 1 |
4419 | _ACEOF |
4560 | _ACEOF |
4420 | |
4561 | |
4421 | |
4562 | |
4422 | cat >>confdefs.h <<\_ACEOF |
4563 | # do NOT define POSIX_SOURCE, sicne this clashes with many BSDs |
4423 | #define __USE_BSD 1 |
|
|
4424 | _ACEOF |
|
|
4425 | |
|
|
4426 | |
4564 | |
4427 | ALL_LINGUAS="" |
4565 | ALL_LINGUAS="" |
4428 | |
4566 | |
4429 | ac_ext=c |
4567 | ac_ext=c |
4430 | ac_cpp='$CPP $CPPFLAGS' |
4568 | ac_cpp='$CPP $CPPFLAGS' |
… | |
… | |
4765 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
4903 | 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 |
4904 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
4767 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4905 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4768 | else |
4906 | else |
4769 | cat >conftest.$ac_ext <<_ACEOF |
4907 | cat >conftest.$ac_ext <<_ACEOF |
4770 | #line $LINENO "configure" |
|
|
4771 | /* confdefs.h. */ |
4908 | /* confdefs.h. */ |
4772 | _ACEOF |
4909 | _ACEOF |
4773 | cat confdefs.h >>conftest.$ac_ext |
4910 | cat confdefs.h >>conftest.$ac_ext |
4774 | cat >>conftest.$ac_ext <<_ACEOF |
4911 | cat >>conftest.$ac_ext <<_ACEOF |
4775 | /* end confdefs.h. */ |
4912 | /* end confdefs.h. */ |
… | |
… | |
4785 | return 0; |
4922 | return 0; |
4786 | } |
4923 | } |
4787 | _ACEOF |
4924 | _ACEOF |
4788 | rm -f conftest.$ac_objext |
4925 | rm -f conftest.$ac_objext |
4789 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4926 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4790 | (eval $ac_compile) 2>&5 |
4927 | (eval $ac_compile) 2>conftest.er1 |
4791 | ac_status=$? |
4928 | ac_status=$? |
|
|
4929 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4930 | rm -f conftest.er1 |
|
|
4931 | cat conftest.err >&5 |
4792 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4932 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4793 | (exit $ac_status); } && |
4933 | (exit $ac_status); } && |
4794 | { ac_try='test -s conftest.$ac_objext' |
4934 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
4795 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4935 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4796 | (eval $ac_try) 2>&5 |
4936 | (eval $ac_try) 2>&5 |
4797 | ac_status=$? |
4937 | ac_status=$? |
4798 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4938 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4939 | (exit $ac_status); }; } && |
|
|
4940 | { ac_try='test -s conftest.$ac_objext' |
|
|
4941 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4942 | (eval $ac_try) 2>&5 |
|
|
4943 | ac_status=$? |
|
|
4944 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4799 | (exit $ac_status); }; }; then |
4945 | (exit $ac_status); }; }; then |
4800 | ac_compiler_gnu=yes |
4946 | ac_compiler_gnu=yes |
4801 | else |
4947 | else |
4802 | echo "$as_me: failed program was:" >&5 |
4948 | echo "$as_me: failed program was:" >&5 |
4803 | sed 's/^/| /' conftest.$ac_ext >&5 |
4949 | sed 's/^/| /' conftest.$ac_ext >&5 |
4804 | |
4950 | |
4805 | ac_compiler_gnu=no |
4951 | ac_compiler_gnu=no |
4806 | fi |
4952 | fi |
4807 | rm -f conftest.$ac_objext conftest.$ac_ext |
4953 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4808 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
4954 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
4809 | |
4955 | |
4810 | fi |
4956 | fi |
4811 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
4957 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
4812 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
4958 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
… | |
… | |
4818 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
4964 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
4819 | if test "${ac_cv_prog_cc_g+set}" = set; then |
4965 | if test "${ac_cv_prog_cc_g+set}" = set; then |
4820 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4966 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4821 | else |
4967 | else |
4822 | cat >conftest.$ac_ext <<_ACEOF |
4968 | cat >conftest.$ac_ext <<_ACEOF |
4823 | #line $LINENO "configure" |
|
|
4824 | /* confdefs.h. */ |
4969 | /* confdefs.h. */ |
4825 | _ACEOF |
4970 | _ACEOF |
4826 | cat confdefs.h >>conftest.$ac_ext |
4971 | cat confdefs.h >>conftest.$ac_ext |
4827 | cat >>conftest.$ac_ext <<_ACEOF |
4972 | cat >>conftest.$ac_ext <<_ACEOF |
4828 | /* end confdefs.h. */ |
4973 | /* end confdefs.h. */ |
… | |
… | |
4835 | return 0; |
4980 | return 0; |
4836 | } |
4981 | } |
4837 | _ACEOF |
4982 | _ACEOF |
4838 | rm -f conftest.$ac_objext |
4983 | rm -f conftest.$ac_objext |
4839 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4984 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4840 | (eval $ac_compile) 2>&5 |
4985 | (eval $ac_compile) 2>conftest.er1 |
4841 | ac_status=$? |
4986 | ac_status=$? |
|
|
4987 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4988 | rm -f conftest.er1 |
|
|
4989 | cat conftest.err >&5 |
4842 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4990 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4843 | (exit $ac_status); } && |
4991 | (exit $ac_status); } && |
4844 | { ac_try='test -s conftest.$ac_objext' |
4992 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
4845 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4993 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4846 | (eval $ac_try) 2>&5 |
4994 | (eval $ac_try) 2>&5 |
4847 | ac_status=$? |
4995 | ac_status=$? |
4848 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4996 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4997 | (exit $ac_status); }; } && |
|
|
4998 | { ac_try='test -s conftest.$ac_objext' |
|
|
4999 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5000 | (eval $ac_try) 2>&5 |
|
|
5001 | ac_status=$? |
|
|
5002 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4849 | (exit $ac_status); }; }; then |
5003 | (exit $ac_status); }; }; then |
4850 | ac_cv_prog_cc_g=yes |
5004 | ac_cv_prog_cc_g=yes |
4851 | else |
5005 | else |
4852 | echo "$as_me: failed program was:" >&5 |
5006 | echo "$as_me: failed program was:" >&5 |
4853 | sed 's/^/| /' conftest.$ac_ext >&5 |
5007 | sed 's/^/| /' conftest.$ac_ext >&5 |
4854 | |
5008 | |
4855 | ac_cv_prog_cc_g=no |
5009 | ac_cv_prog_cc_g=no |
4856 | fi |
5010 | fi |
4857 | rm -f conftest.$ac_objext conftest.$ac_ext |
5011 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4858 | fi |
5012 | fi |
4859 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
5013 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
4860 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
5014 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
4861 | if test "$ac_test_CFLAGS" = set; then |
5015 | if test "$ac_test_CFLAGS" = set; then |
4862 | CFLAGS=$ac_save_CFLAGS |
5016 | CFLAGS=$ac_save_CFLAGS |
… | |
… | |
4879 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5033 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4880 | else |
5034 | else |
4881 | ac_cv_prog_cc_stdc=no |
5035 | ac_cv_prog_cc_stdc=no |
4882 | ac_save_CC=$CC |
5036 | ac_save_CC=$CC |
4883 | cat >conftest.$ac_ext <<_ACEOF |
5037 | cat >conftest.$ac_ext <<_ACEOF |
4884 | #line $LINENO "configure" |
|
|
4885 | /* confdefs.h. */ |
5038 | /* confdefs.h. */ |
4886 | _ACEOF |
5039 | _ACEOF |
4887 | cat confdefs.h >>conftest.$ac_ext |
5040 | cat confdefs.h >>conftest.$ac_ext |
4888 | cat >>conftest.$ac_ext <<_ACEOF |
5041 | cat >>conftest.$ac_ext <<_ACEOF |
4889 | /* end confdefs.h. */ |
5042 | /* end confdefs.h. */ |
… | |
… | |
4907 | va_start (v,p); |
5060 | va_start (v,p); |
4908 | s = g (p, va_arg (v,int)); |
5061 | s = g (p, va_arg (v,int)); |
4909 | va_end (v); |
5062 | va_end (v); |
4910 | return s; |
5063 | return s; |
4911 | } |
5064 | } |
|
|
5065 | |
|
|
5066 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|
|
5067 | function prototypes and stuff, but not '\xHH' hex character constants. |
|
|
5068 | These don't provoke an error unfortunately, instead are silently treated |
|
|
5069 | as 'x'. The following induces an error, until -std1 is added to get |
|
|
5070 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
|
|
5071 | array size at least. It's necessary to write '\x00'==0 to get something |
|
|
5072 | that's true only with -std1. */ |
|
|
5073 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
|
5074 | |
4912 | int test (int i, double x); |
5075 | int test (int i, double x); |
4913 | struct s1 {int (*f) (int a);}; |
5076 | struct s1 {int (*f) (int a);}; |
4914 | struct s2 {int (*f) (double a);}; |
5077 | struct s2 {int (*f) (double a);}; |
4915 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
5078 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
4916 | int argc; |
5079 | int argc; |
… | |
… | |
4933 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
5096 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
4934 | do |
5097 | do |
4935 | CC="$ac_save_CC $ac_arg" |
5098 | CC="$ac_save_CC $ac_arg" |
4936 | rm -f conftest.$ac_objext |
5099 | rm -f conftest.$ac_objext |
4937 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5100 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4938 | (eval $ac_compile) 2>&5 |
5101 | (eval $ac_compile) 2>conftest.er1 |
4939 | ac_status=$? |
5102 | ac_status=$? |
|
|
5103 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5104 | rm -f conftest.er1 |
|
|
5105 | cat conftest.err >&5 |
4940 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5106 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4941 | (exit $ac_status); } && |
5107 | (exit $ac_status); } && |
|
|
5108 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
5109 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5110 | (eval $ac_try) 2>&5 |
|
|
5111 | ac_status=$? |
|
|
5112 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5113 | (exit $ac_status); }; } && |
4942 | { ac_try='test -s conftest.$ac_objext' |
5114 | { ac_try='test -s conftest.$ac_objext' |
4943 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5115 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4944 | (eval $ac_try) 2>&5 |
5116 | (eval $ac_try) 2>&5 |
4945 | ac_status=$? |
5117 | ac_status=$? |
4946 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5118 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4947 | (exit $ac_status); }; }; then |
5119 | (exit $ac_status); }; }; then |
… | |
… | |
4950 | else |
5122 | else |
4951 | echo "$as_me: failed program was:" >&5 |
5123 | echo "$as_me: failed program was:" >&5 |
4952 | sed 's/^/| /' conftest.$ac_ext >&5 |
5124 | sed 's/^/| /' conftest.$ac_ext >&5 |
4953 | |
5125 | |
4954 | fi |
5126 | fi |
4955 | rm -f conftest.$ac_objext |
5127 | rm -f conftest.err conftest.$ac_objext |
4956 | done |
5128 | done |
4957 | rm -f conftest.$ac_ext conftest.$ac_objext |
5129 | rm -f conftest.$ac_ext conftest.$ac_objext |
4958 | CC=$ac_save_CC |
5130 | CC=$ac_save_CC |
4959 | |
5131 | |
4960 | fi |
5132 | fi |
… | |
… | |
4978 | choke me |
5150 | choke me |
4979 | #endif |
5151 | #endif |
4980 | _ACEOF |
5152 | _ACEOF |
4981 | rm -f conftest.$ac_objext |
5153 | rm -f conftest.$ac_objext |
4982 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5154 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4983 | (eval $ac_compile) 2>&5 |
5155 | (eval $ac_compile) 2>conftest.er1 |
4984 | ac_status=$? |
5156 | ac_status=$? |
|
|
5157 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5158 | rm -f conftest.er1 |
|
|
5159 | cat conftest.err >&5 |
4985 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5160 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4986 | (exit $ac_status); } && |
5161 | (exit $ac_status); } && |
|
|
5162 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
5163 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5164 | (eval $ac_try) 2>&5 |
|
|
5165 | ac_status=$? |
|
|
5166 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5167 | (exit $ac_status); }; } && |
4987 | { ac_try='test -s conftest.$ac_objext' |
5168 | { ac_try='test -s conftest.$ac_objext' |
4988 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5169 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4989 | (eval $ac_try) 2>&5 |
5170 | (eval $ac_try) 2>&5 |
4990 | ac_status=$? |
5171 | ac_status=$? |
4991 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5172 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4992 | (exit $ac_status); }; }; then |
5173 | (exit $ac_status); }; }; then |
… | |
… | |
4997 | 'extern "C" void exit (int) throw ();' \ |
5178 | 'extern "C" void exit (int) throw ();' \ |
4998 | 'extern "C" void exit (int);' \ |
5179 | 'extern "C" void exit (int);' \ |
4999 | 'void exit (int);' |
5180 | 'void exit (int);' |
5000 | do |
5181 | do |
5001 | cat >conftest.$ac_ext <<_ACEOF |
5182 | cat >conftest.$ac_ext <<_ACEOF |
5002 | #line $LINENO "configure" |
|
|
5003 | /* confdefs.h. */ |
5183 | /* confdefs.h. */ |
5004 | _ACEOF |
5184 | _ACEOF |
5005 | cat confdefs.h >>conftest.$ac_ext |
5185 | cat confdefs.h >>conftest.$ac_ext |
5006 | cat >>conftest.$ac_ext <<_ACEOF |
5186 | cat >>conftest.$ac_ext <<_ACEOF |
5007 | /* end confdefs.h. */ |
5187 | /* end confdefs.h. */ |
… | |
… | |
5015 | return 0; |
5195 | return 0; |
5016 | } |
5196 | } |
5017 | _ACEOF |
5197 | _ACEOF |
5018 | rm -f conftest.$ac_objext |
5198 | rm -f conftest.$ac_objext |
5019 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5199 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5020 | (eval $ac_compile) 2>&5 |
5200 | (eval $ac_compile) 2>conftest.er1 |
5021 | ac_status=$? |
5201 | ac_status=$? |
|
|
5202 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5203 | rm -f conftest.er1 |
|
|
5204 | cat conftest.err >&5 |
5022 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5205 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5023 | (exit $ac_status); } && |
5206 | (exit $ac_status); } && |
5024 | { ac_try='test -s conftest.$ac_objext' |
5207 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
5025 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5208 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5026 | (eval $ac_try) 2>&5 |
5209 | (eval $ac_try) 2>&5 |
5027 | ac_status=$? |
5210 | ac_status=$? |
5028 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5211 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5212 | (exit $ac_status); }; } && |
|
|
5213 | { ac_try='test -s conftest.$ac_objext' |
|
|
5214 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5215 | (eval $ac_try) 2>&5 |
|
|
5216 | ac_status=$? |
|
|
5217 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5029 | (exit $ac_status); }; }; then |
5218 | (exit $ac_status); }; }; then |
5030 | : |
5219 | : |
5031 | else |
5220 | else |
5032 | echo "$as_me: failed program was:" >&5 |
5221 | echo "$as_me: failed program was:" >&5 |
5033 | sed 's/^/| /' conftest.$ac_ext >&5 |
5222 | sed 's/^/| /' conftest.$ac_ext >&5 |
5034 | |
5223 | |
5035 | continue |
5224 | continue |
5036 | fi |
5225 | fi |
5037 | rm -f conftest.$ac_objext conftest.$ac_ext |
5226 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5038 | cat >conftest.$ac_ext <<_ACEOF |
5227 | cat >conftest.$ac_ext <<_ACEOF |
5039 | #line $LINENO "configure" |
|
|
5040 | /* confdefs.h. */ |
5228 | /* confdefs.h. */ |
5041 | _ACEOF |
5229 | _ACEOF |
5042 | cat confdefs.h >>conftest.$ac_ext |
5230 | cat confdefs.h >>conftest.$ac_ext |
5043 | cat >>conftest.$ac_ext <<_ACEOF |
5231 | cat >>conftest.$ac_ext <<_ACEOF |
5044 | /* end confdefs.h. */ |
5232 | /* end confdefs.h. */ |
… | |
… | |
5051 | return 0; |
5239 | return 0; |
5052 | } |
5240 | } |
5053 | _ACEOF |
5241 | _ACEOF |
5054 | rm -f conftest.$ac_objext |
5242 | rm -f conftest.$ac_objext |
5055 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5243 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5056 | (eval $ac_compile) 2>&5 |
5244 | (eval $ac_compile) 2>conftest.er1 |
5057 | ac_status=$? |
5245 | ac_status=$? |
|
|
5246 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5247 | rm -f conftest.er1 |
|
|
5248 | cat conftest.err >&5 |
5058 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5249 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5059 | (exit $ac_status); } && |
5250 | (exit $ac_status); } && |
5060 | { ac_try='test -s conftest.$ac_objext' |
5251 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
5061 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5252 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5062 | (eval $ac_try) 2>&5 |
5253 | (eval $ac_try) 2>&5 |
5063 | ac_status=$? |
5254 | ac_status=$? |
5064 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5255 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5256 | (exit $ac_status); }; } && |
|
|
5257 | { ac_try='test -s conftest.$ac_objext' |
|
|
5258 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5259 | (eval $ac_try) 2>&5 |
|
|
5260 | ac_status=$? |
|
|
5261 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5065 | (exit $ac_status); }; }; then |
5262 | (exit $ac_status); }; }; then |
5066 | break |
5263 | break |
5067 | else |
5264 | else |
5068 | echo "$as_me: failed program was:" >&5 |
5265 | echo "$as_me: failed program was:" >&5 |
5069 | sed 's/^/| /' conftest.$ac_ext >&5 |
5266 | sed 's/^/| /' conftest.$ac_ext >&5 |
5070 | |
5267 | |
5071 | fi |
5268 | fi |
5072 | rm -f conftest.$ac_objext conftest.$ac_ext |
5269 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5073 | done |
5270 | done |
5074 | rm -f conftest* |
5271 | rm -f conftest* |
5075 | if test -n "$ac_declaration"; then |
5272 | if test -n "$ac_declaration"; then |
5076 | echo '#ifdef __cplusplus' >>confdefs.h |
5273 | echo '#ifdef __cplusplus' >>confdefs.h |
5077 | echo $ac_declaration >>confdefs.h |
5274 | echo $ac_declaration >>confdefs.h |
… | |
… | |
5081 | else |
5278 | else |
5082 | echo "$as_me: failed program was:" >&5 |
5279 | echo "$as_me: failed program was:" >&5 |
5083 | sed 's/^/| /' conftest.$ac_ext >&5 |
5280 | sed 's/^/| /' conftest.$ac_ext >&5 |
5084 | |
5281 | |
5085 | fi |
5282 | fi |
5086 | rm -f conftest.$ac_objext conftest.$ac_ext |
5283 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5087 | ac_ext=c |
5284 | ac_ext=c |
5088 | ac_cpp='$CPP $CPPFLAGS' |
5285 | ac_cpp='$CPP $CPPFLAGS' |
5089 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5286 | 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' |
5287 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5091 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5288 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
… | |
… | |
5218 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5415 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5219 | # <limits.h> exists even on freestanding compilers. |
5416 | # <limits.h> exists even on freestanding compilers. |
5220 | # On the NeXT, cc -E runs the code through the compiler's parser, |
5417 | # 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. |
5418 | # not just through cpp. "Syntax error" is here to catch this case. |
5222 | cat >conftest.$ac_ext <<_ACEOF |
5419 | cat >conftest.$ac_ext <<_ACEOF |
5223 | #line $LINENO "configure" |
|
|
5224 | /* confdefs.h. */ |
5420 | /* confdefs.h. */ |
5225 | _ACEOF |
5421 | _ACEOF |
5226 | cat confdefs.h >>conftest.$ac_ext |
5422 | cat confdefs.h >>conftest.$ac_ext |
5227 | cat >>conftest.$ac_ext <<_ACEOF |
5423 | cat >>conftest.$ac_ext <<_ACEOF |
5228 | /* end confdefs.h. */ |
5424 | /* end confdefs.h. */ |
5229 | #ifdef __STDC__ |
5425 | #ifdef __STDC__ |
5230 | # include <limits.h> |
5426 | # include <limits.h> |
5231 | #else |
5427 | #else |
5232 | # include <assert.h> |
5428 | # include <assert.h> |
5233 | #endif |
5429 | #endif |
5234 | Syntax error |
5430 | Syntax error |
5235 | _ACEOF |
5431 | _ACEOF |
5236 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5432 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5237 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5433 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5238 | ac_status=$? |
5434 | ac_status=$? |
5239 | grep -v '^ *+' conftest.er1 >conftest.err |
5435 | grep -v '^ *+' conftest.er1 >conftest.err |
… | |
… | |
5241 | cat conftest.err >&5 |
5437 | cat conftest.err >&5 |
5242 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5438 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5243 | (exit $ac_status); } >/dev/null; then |
5439 | (exit $ac_status); } >/dev/null; then |
5244 | if test -s conftest.err; then |
5440 | if test -s conftest.err; then |
5245 | ac_cpp_err=$ac_c_preproc_warn_flag |
5441 | ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
5442 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
5246 | else |
5443 | else |
5247 | ac_cpp_err= |
5444 | ac_cpp_err= |
5248 | fi |
5445 | fi |
5249 | else |
5446 | else |
5250 | ac_cpp_err=yes |
5447 | ac_cpp_err=yes |
… | |
… | |
5261 | rm -f conftest.err conftest.$ac_ext |
5458 | rm -f conftest.err conftest.$ac_ext |
5262 | |
5459 | |
5263 | # OK, works on sane cases. Now check whether non-existent headers |
5460 | # OK, works on sane cases. Now check whether non-existent headers |
5264 | # can be detected and how. |
5461 | # can be detected and how. |
5265 | cat >conftest.$ac_ext <<_ACEOF |
5462 | cat >conftest.$ac_ext <<_ACEOF |
5266 | #line $LINENO "configure" |
|
|
5267 | /* confdefs.h. */ |
5463 | /* confdefs.h. */ |
5268 | _ACEOF |
5464 | _ACEOF |
5269 | cat confdefs.h >>conftest.$ac_ext |
5465 | cat confdefs.h >>conftest.$ac_ext |
5270 | cat >>conftest.$ac_ext <<_ACEOF |
5466 | cat >>conftest.$ac_ext <<_ACEOF |
5271 | /* end confdefs.h. */ |
5467 | /* end confdefs.h. */ |
… | |
… | |
5279 | cat conftest.err >&5 |
5475 | cat conftest.err >&5 |
5280 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5476 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5281 | (exit $ac_status); } >/dev/null; then |
5477 | (exit $ac_status); } >/dev/null; then |
5282 | if test -s conftest.err; then |
5478 | if test -s conftest.err; then |
5283 | ac_cpp_err=$ac_c_preproc_warn_flag |
5479 | ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
5480 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
5284 | else |
5481 | else |
5285 | ac_cpp_err= |
5482 | ac_cpp_err= |
5286 | fi |
5483 | fi |
5287 | else |
5484 | else |
5288 | ac_cpp_err=yes |
5485 | ac_cpp_err=yes |
… | |
… | |
5325 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5522 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5326 | # <limits.h> exists even on freestanding compilers. |
5523 | # <limits.h> exists even on freestanding compilers. |
5327 | # On the NeXT, cc -E runs the code through the compiler's parser, |
5524 | # 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. |
5525 | # not just through cpp. "Syntax error" is here to catch this case. |
5329 | cat >conftest.$ac_ext <<_ACEOF |
5526 | cat >conftest.$ac_ext <<_ACEOF |
5330 | #line $LINENO "configure" |
|
|
5331 | /* confdefs.h. */ |
5527 | /* confdefs.h. */ |
5332 | _ACEOF |
5528 | _ACEOF |
5333 | cat confdefs.h >>conftest.$ac_ext |
5529 | cat confdefs.h >>conftest.$ac_ext |
5334 | cat >>conftest.$ac_ext <<_ACEOF |
5530 | cat >>conftest.$ac_ext <<_ACEOF |
5335 | /* end confdefs.h. */ |
5531 | /* end confdefs.h. */ |
5336 | #ifdef __STDC__ |
5532 | #ifdef __STDC__ |
5337 | # include <limits.h> |
5533 | # include <limits.h> |
5338 | #else |
5534 | #else |
5339 | # include <assert.h> |
5535 | # include <assert.h> |
5340 | #endif |
5536 | #endif |
5341 | Syntax error |
5537 | Syntax error |
5342 | _ACEOF |
5538 | _ACEOF |
5343 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5539 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5344 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5540 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5345 | ac_status=$? |
5541 | ac_status=$? |
5346 | grep -v '^ *+' conftest.er1 >conftest.err |
5542 | grep -v '^ *+' conftest.er1 >conftest.err |
… | |
… | |
5348 | cat conftest.err >&5 |
5544 | cat conftest.err >&5 |
5349 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5545 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5350 | (exit $ac_status); } >/dev/null; then |
5546 | (exit $ac_status); } >/dev/null; then |
5351 | if test -s conftest.err; then |
5547 | if test -s conftest.err; then |
5352 | ac_cpp_err=$ac_c_preproc_warn_flag |
5548 | ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
5549 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
5353 | else |
5550 | else |
5354 | ac_cpp_err= |
5551 | ac_cpp_err= |
5355 | fi |
5552 | fi |
5356 | else |
5553 | else |
5357 | ac_cpp_err=yes |
5554 | ac_cpp_err=yes |
… | |
… | |
5368 | rm -f conftest.err conftest.$ac_ext |
5565 | rm -f conftest.err conftest.$ac_ext |
5369 | |
5566 | |
5370 | # OK, works on sane cases. Now check whether non-existent headers |
5567 | # OK, works on sane cases. Now check whether non-existent headers |
5371 | # can be detected and how. |
5568 | # can be detected and how. |
5372 | cat >conftest.$ac_ext <<_ACEOF |
5569 | cat >conftest.$ac_ext <<_ACEOF |
5373 | #line $LINENO "configure" |
|
|
5374 | /* confdefs.h. */ |
5570 | /* confdefs.h. */ |
5375 | _ACEOF |
5571 | _ACEOF |
5376 | cat confdefs.h >>conftest.$ac_ext |
5572 | cat confdefs.h >>conftest.$ac_ext |
5377 | cat >>conftest.$ac_ext <<_ACEOF |
5573 | cat >>conftest.$ac_ext <<_ACEOF |
5378 | /* end confdefs.h. */ |
5574 | /* end confdefs.h. */ |
… | |
… | |
5386 | cat conftest.err >&5 |
5582 | cat conftest.err >&5 |
5387 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5583 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5388 | (exit $ac_status); } >/dev/null; then |
5584 | (exit $ac_status); } >/dev/null; then |
5389 | if test -s conftest.err; then |
5585 | if test -s conftest.err; then |
5390 | ac_cpp_err=$ac_c_preproc_warn_flag |
5586 | ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
5587 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
5391 | else |
5588 | else |
5392 | ac_cpp_err= |
5589 | ac_cpp_err= |
5393 | fi |
5590 | fi |
5394 | else |
5591 | else |
5395 | ac_cpp_err=yes |
5592 | ac_cpp_err=yes |
… | |
… | |
5543 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 |
5740 | 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 |
5741 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
5545 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5742 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5546 | else |
5743 | else |
5547 | cat >conftest.$ac_ext <<_ACEOF |
5744 | cat >conftest.$ac_ext <<_ACEOF |
5548 | #line $LINENO "configure" |
|
|
5549 | /* confdefs.h. */ |
5745 | /* confdefs.h. */ |
5550 | _ACEOF |
5746 | _ACEOF |
5551 | cat confdefs.h >>conftest.$ac_ext |
5747 | cat confdefs.h >>conftest.$ac_ext |
5552 | cat >>conftest.$ac_ext <<_ACEOF |
5748 | cat >>conftest.$ac_ext <<_ACEOF |
5553 | /* end confdefs.h. */ |
5749 | /* end confdefs.h. */ |
… | |
… | |
5563 | return 0; |
5759 | return 0; |
5564 | } |
5760 | } |
5565 | _ACEOF |
5761 | _ACEOF |
5566 | rm -f conftest.$ac_objext |
5762 | rm -f conftest.$ac_objext |
5567 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5763 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5568 | (eval $ac_compile) 2>&5 |
5764 | (eval $ac_compile) 2>conftest.er1 |
5569 | ac_status=$? |
5765 | ac_status=$? |
|
|
5766 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5767 | rm -f conftest.er1 |
|
|
5768 | cat conftest.err >&5 |
5570 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5769 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5571 | (exit $ac_status); } && |
5770 | (exit $ac_status); } && |
5572 | { ac_try='test -s conftest.$ac_objext' |
5771 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5573 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5772 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5574 | (eval $ac_try) 2>&5 |
5773 | (eval $ac_try) 2>&5 |
5575 | ac_status=$? |
5774 | ac_status=$? |
5576 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5775 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5776 | (exit $ac_status); }; } && |
|
|
5777 | { ac_try='test -s conftest.$ac_objext' |
|
|
5778 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5779 | (eval $ac_try) 2>&5 |
|
|
5780 | ac_status=$? |
|
|
5781 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5577 | (exit $ac_status); }; }; then |
5782 | (exit $ac_status); }; }; then |
5578 | ac_compiler_gnu=yes |
5783 | ac_compiler_gnu=yes |
5579 | else |
5784 | else |
5580 | echo "$as_me: failed program was:" >&5 |
5785 | echo "$as_me: failed program was:" >&5 |
5581 | sed 's/^/| /' conftest.$ac_ext >&5 |
5786 | sed 's/^/| /' conftest.$ac_ext >&5 |
5582 | |
5787 | |
5583 | ac_compiler_gnu=no |
5788 | ac_compiler_gnu=no |
5584 | fi |
5789 | fi |
5585 | rm -f conftest.$ac_objext conftest.$ac_ext |
5790 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5586 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
5791 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
5587 | |
5792 | |
5588 | fi |
5793 | fi |
5589 | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
5794 | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
5590 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 |
5795 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 |
… | |
… | |
5596 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 |
5801 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 |
5597 | if test "${ac_cv_prog_cxx_g+set}" = set; then |
5802 | if test "${ac_cv_prog_cxx_g+set}" = set; then |
5598 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5803 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5599 | else |
5804 | else |
5600 | cat >conftest.$ac_ext <<_ACEOF |
5805 | cat >conftest.$ac_ext <<_ACEOF |
5601 | #line $LINENO "configure" |
|
|
5602 | /* confdefs.h. */ |
5806 | /* confdefs.h. */ |
5603 | _ACEOF |
5807 | _ACEOF |
5604 | cat confdefs.h >>conftest.$ac_ext |
5808 | cat confdefs.h >>conftest.$ac_ext |
5605 | cat >>conftest.$ac_ext <<_ACEOF |
5809 | cat >>conftest.$ac_ext <<_ACEOF |
5606 | /* end confdefs.h. */ |
5810 | /* end confdefs.h. */ |
… | |
… | |
5613 | return 0; |
5817 | return 0; |
5614 | } |
5818 | } |
5615 | _ACEOF |
5819 | _ACEOF |
5616 | rm -f conftest.$ac_objext |
5820 | rm -f conftest.$ac_objext |
5617 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5821 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5618 | (eval $ac_compile) 2>&5 |
5822 | (eval $ac_compile) 2>conftest.er1 |
5619 | ac_status=$? |
5823 | ac_status=$? |
|
|
5824 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5825 | rm -f conftest.er1 |
|
|
5826 | cat conftest.err >&5 |
5620 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5827 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5621 | (exit $ac_status); } && |
5828 | (exit $ac_status); } && |
5622 | { ac_try='test -s conftest.$ac_objext' |
5829 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5623 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5830 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5624 | (eval $ac_try) 2>&5 |
5831 | (eval $ac_try) 2>&5 |
5625 | ac_status=$? |
5832 | ac_status=$? |
5626 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5833 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5834 | (exit $ac_status); }; } && |
|
|
5835 | { ac_try='test -s conftest.$ac_objext' |
|
|
5836 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5837 | (eval $ac_try) 2>&5 |
|
|
5838 | ac_status=$? |
|
|
5839 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5627 | (exit $ac_status); }; }; then |
5840 | (exit $ac_status); }; }; then |
5628 | ac_cv_prog_cxx_g=yes |
5841 | ac_cv_prog_cxx_g=yes |
5629 | else |
5842 | else |
5630 | echo "$as_me: failed program was:" >&5 |
5843 | echo "$as_me: failed program was:" >&5 |
5631 | sed 's/^/| /' conftest.$ac_ext >&5 |
5844 | sed 's/^/| /' conftest.$ac_ext >&5 |
5632 | |
5845 | |
5633 | ac_cv_prog_cxx_g=no |
5846 | ac_cv_prog_cxx_g=no |
5634 | fi |
5847 | fi |
5635 | rm -f conftest.$ac_objext conftest.$ac_ext |
5848 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5636 | fi |
5849 | fi |
5637 | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
5850 | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
5638 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
5851 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
5639 | if test "$ac_test_CXXFLAGS" = set; then |
5852 | if test "$ac_test_CXXFLAGS" = set; then |
5640 | CXXFLAGS=$ac_save_CXXFLAGS |
5853 | CXXFLAGS=$ac_save_CXXFLAGS |
… | |
… | |
5658 | 'extern "C" void exit (int) throw ();' \ |
5871 | 'extern "C" void exit (int) throw ();' \ |
5659 | 'extern "C" void exit (int);' \ |
5872 | 'extern "C" void exit (int);' \ |
5660 | 'void exit (int);' |
5873 | 'void exit (int);' |
5661 | do |
5874 | do |
5662 | cat >conftest.$ac_ext <<_ACEOF |
5875 | cat >conftest.$ac_ext <<_ACEOF |
5663 | #line $LINENO "configure" |
|
|
5664 | /* confdefs.h. */ |
5876 | /* confdefs.h. */ |
5665 | _ACEOF |
5877 | _ACEOF |
5666 | cat confdefs.h >>conftest.$ac_ext |
5878 | cat confdefs.h >>conftest.$ac_ext |
5667 | cat >>conftest.$ac_ext <<_ACEOF |
5879 | cat >>conftest.$ac_ext <<_ACEOF |
5668 | /* end confdefs.h. */ |
5880 | /* end confdefs.h. */ |
… | |
… | |
5676 | return 0; |
5888 | return 0; |
5677 | } |
5889 | } |
5678 | _ACEOF |
5890 | _ACEOF |
5679 | rm -f conftest.$ac_objext |
5891 | rm -f conftest.$ac_objext |
5680 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5892 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5681 | (eval $ac_compile) 2>&5 |
5893 | (eval $ac_compile) 2>conftest.er1 |
5682 | ac_status=$? |
5894 | ac_status=$? |
|
|
5895 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5896 | rm -f conftest.er1 |
|
|
5897 | cat conftest.err >&5 |
5683 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5898 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5684 | (exit $ac_status); } && |
5899 | (exit $ac_status); } && |
5685 | { ac_try='test -s conftest.$ac_objext' |
5900 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5686 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5901 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5687 | (eval $ac_try) 2>&5 |
5902 | (eval $ac_try) 2>&5 |
5688 | ac_status=$? |
5903 | ac_status=$? |
5689 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5904 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5905 | (exit $ac_status); }; } && |
|
|
5906 | { ac_try='test -s conftest.$ac_objext' |
|
|
5907 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5908 | (eval $ac_try) 2>&5 |
|
|
5909 | ac_status=$? |
|
|
5910 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5690 | (exit $ac_status); }; }; then |
5911 | (exit $ac_status); }; }; then |
5691 | : |
5912 | : |
5692 | else |
5913 | else |
5693 | echo "$as_me: failed program was:" >&5 |
5914 | echo "$as_me: failed program was:" >&5 |
5694 | sed 's/^/| /' conftest.$ac_ext >&5 |
5915 | sed 's/^/| /' conftest.$ac_ext >&5 |
5695 | |
5916 | |
5696 | continue |
5917 | continue |
5697 | fi |
5918 | fi |
5698 | rm -f conftest.$ac_objext conftest.$ac_ext |
5919 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5699 | cat >conftest.$ac_ext <<_ACEOF |
5920 | cat >conftest.$ac_ext <<_ACEOF |
5700 | #line $LINENO "configure" |
|
|
5701 | /* confdefs.h. */ |
5921 | /* confdefs.h. */ |
5702 | _ACEOF |
5922 | _ACEOF |
5703 | cat confdefs.h >>conftest.$ac_ext |
5923 | cat confdefs.h >>conftest.$ac_ext |
5704 | cat >>conftest.$ac_ext <<_ACEOF |
5924 | cat >>conftest.$ac_ext <<_ACEOF |
5705 | /* end confdefs.h. */ |
5925 | /* end confdefs.h. */ |
… | |
… | |
5712 | return 0; |
5932 | return 0; |
5713 | } |
5933 | } |
5714 | _ACEOF |
5934 | _ACEOF |
5715 | rm -f conftest.$ac_objext |
5935 | rm -f conftest.$ac_objext |
5716 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5936 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5717 | (eval $ac_compile) 2>&5 |
5937 | (eval $ac_compile) 2>conftest.er1 |
5718 | ac_status=$? |
5938 | ac_status=$? |
|
|
5939 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5940 | rm -f conftest.er1 |
|
|
5941 | cat conftest.err >&5 |
5719 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5942 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5720 | (exit $ac_status); } && |
5943 | (exit $ac_status); } && |
5721 | { ac_try='test -s conftest.$ac_objext' |
5944 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5722 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5945 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5723 | (eval $ac_try) 2>&5 |
5946 | (eval $ac_try) 2>&5 |
5724 | ac_status=$? |
5947 | ac_status=$? |
5725 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5948 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5949 | (exit $ac_status); }; } && |
|
|
5950 | { ac_try='test -s conftest.$ac_objext' |
|
|
5951 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5952 | (eval $ac_try) 2>&5 |
|
|
5953 | ac_status=$? |
|
|
5954 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5726 | (exit $ac_status); }; }; then |
5955 | (exit $ac_status); }; }; then |
5727 | break |
5956 | break |
5728 | else |
5957 | else |
5729 | echo "$as_me: failed program was:" >&5 |
5958 | echo "$as_me: failed program was:" >&5 |
5730 | sed 's/^/| /' conftest.$ac_ext >&5 |
5959 | sed 's/^/| /' conftest.$ac_ext >&5 |
5731 | |
5960 | |
5732 | fi |
5961 | fi |
5733 | rm -f conftest.$ac_objext conftest.$ac_ext |
5962 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5734 | done |
5963 | done |
5735 | rm -f conftest* |
5964 | rm -f conftest* |
5736 | if test -n "$ac_declaration"; then |
5965 | if test -n "$ac_declaration"; then |
5737 | echo '#ifdef __cplusplus' >>confdefs.h |
5966 | echo '#ifdef __cplusplus' >>confdefs.h |
5738 | echo $ac_declaration >>confdefs.h |
5967 | echo $ac_declaration >>confdefs.h |
… | |
… | |
5869 | if test "${ac_cv_prog_gcc_traditional+set}" = set; then |
6098 | if test "${ac_cv_prog_gcc_traditional+set}" = set; then |
5870 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6099 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5871 | else |
6100 | else |
5872 | ac_pattern="Autoconf.*'x'" |
6101 | ac_pattern="Autoconf.*'x'" |
5873 | cat >conftest.$ac_ext <<_ACEOF |
6102 | cat >conftest.$ac_ext <<_ACEOF |
5874 | #line $LINENO "configure" |
|
|
5875 | /* confdefs.h. */ |
6103 | /* confdefs.h. */ |
5876 | _ACEOF |
6104 | _ACEOF |
5877 | cat confdefs.h >>conftest.$ac_ext |
6105 | cat confdefs.h >>conftest.$ac_ext |
5878 | cat >>conftest.$ac_ext <<_ACEOF |
6106 | cat >>conftest.$ac_ext <<_ACEOF |
5879 | /* end confdefs.h. */ |
6107 | /* end confdefs.h. */ |
… | |
… | |
5889 | rm -f conftest* |
6117 | rm -f conftest* |
5890 | |
6118 | |
5891 | |
6119 | |
5892 | if test $ac_cv_prog_gcc_traditional = no; then |
6120 | if test $ac_cv_prog_gcc_traditional = no; then |
5893 | cat >conftest.$ac_ext <<_ACEOF |
6121 | cat >conftest.$ac_ext <<_ACEOF |
5894 | #line $LINENO "configure" |
|
|
5895 | /* confdefs.h. */ |
6122 | /* confdefs.h. */ |
5896 | _ACEOF |
6123 | _ACEOF |
5897 | cat confdefs.h >>conftest.$ac_ext |
6124 | cat confdefs.h >>conftest.$ac_ext |
5898 | cat >>conftest.$ac_ext <<_ACEOF |
6125 | cat >>conftest.$ac_ext <<_ACEOF |
5899 | /* end confdefs.h. */ |
6126 | /* end confdefs.h. */ |
… | |
… | |
5964 | # AIX /bin/install |
6191 | # AIX /bin/install |
5965 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
6192 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
5966 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
6193 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
5967 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
6194 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
5968 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
6195 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
|
|
6196 | # OS/2's system install, which has a completely different semantic |
5969 | # ./install, which can be erroneously created by make from ./install.sh. |
6197 | # ./install, which can be erroneously created by make from ./install.sh. |
5970 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
6198 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
5971 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
6199 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
5972 | if test -z "$INSTALL"; then |
6200 | if test -z "$INSTALL"; then |
5973 | if test "${ac_cv_path_install+set}" = set; then |
6201 | if test "${ac_cv_path_install+set}" = set; then |
… | |
… | |
5980 | test -z "$as_dir" && as_dir=. |
6208 | test -z "$as_dir" && as_dir=. |
5981 | # Account for people who put trailing slashes in PATH elements. |
6209 | # Account for people who put trailing slashes in PATH elements. |
5982 | case $as_dir/ in |
6210 | case $as_dir/ in |
5983 | ./ | .// | /cC/* | \ |
6211 | ./ | .// | /cC/* | \ |
5984 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
6212 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
|
|
6213 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
5985 | /usr/ucb/* ) ;; |
6214 | /usr/ucb/* ) ;; |
5986 | *) |
6215 | *) |
5987 | # OSF1 and SCO ODT 3.0 have their own names for install. |
6216 | # 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 |
6217 | # Don't use installbsd from OSF since it installs stuff as root |
5989 | # by default. |
6218 | # by default. |
5990 | for ac_prog in ginstall scoinst install; do |
6219 | for ac_prog in ginstall scoinst install; do |
5991 | for ac_exec_ext in '' $ac_executable_extensions; do |
6220 | for ac_exec_ext in '' $ac_executable_extensions; do |
5992 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
6221 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
5993 | if test $ac_prog = install && |
6222 | if test $ac_prog = install && |
5994 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
6223 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
5995 | # AIX install. It has an incompatible calling convention. |
6224 | # AIX install. It has an incompatible calling convention. |
5996 | : |
6225 | : |
5997 | elif test $ac_prog = install && |
6226 | elif test $ac_prog = install && |
5998 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
6227 | 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. |
6228 | # program-specific install script used by HP pwplus--don't use. |
6000 | : |
6229 | : |
6001 | else |
6230 | else |
6002 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
6231 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
6003 | break 3 |
6232 | break 3 |
6004 | fi |
6233 | fi |
6005 | fi |
6234 | fi |
6006 | done |
6235 | done |
6007 | done |
6236 | done |
6008 | ;; |
6237 | ;; |
6009 | esac |
6238 | esac |
6010 | done |
6239 | done |
… | |
… | |
6043 | echo "${ECHO_T}no, using $LN_S" >&6 |
6272 | echo "${ECHO_T}no, using $LN_S" >&6 |
6044 | fi |
6273 | fi |
6045 | |
6274 | |
6046 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
6275 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
6047 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
6276 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
6048 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
6277 | 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 |
6278 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
6050 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6279 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6051 | else |
6280 | else |
6052 | cat >conftest.make <<\_ACEOF |
6281 | cat >conftest.make <<\_ACEOF |
6053 | all: |
6282 | all: |
… | |
… | |
6151 | else |
6380 | else |
6152 | RANLIB="$ac_cv_prog_RANLIB" |
6381 | RANLIB="$ac_cv_prog_RANLIB" |
6153 | fi |
6382 | fi |
6154 | |
6383 | |
6155 | |
6384 | |
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. |
6385 | # Check whether --enable-iftype or --disable-iftype was given. |
6219 | if test "${enable_iftype+set}" = set; then |
6386 | if test "${enable_iftype+set}" = set; then |
6220 | enableval="$enable_iftype" |
6387 | enableval="$enable_iftype" |
6221 | |
6388 | |
6222 | IFTYPE=`echo $enableval | sed s%/.*%%` |
6389 | IFTYPE=`echo $enableval | sed s%/.*%%` |
… | |
… | |
6283 | #define HAVE_NETBSD 1 |
6450 | #define HAVE_NETBSD 1 |
6284 | _ACEOF |
6451 | _ACEOF |
6285 | |
6452 | |
6286 | ;; |
6453 | ;; |
6287 | *cygwin*) |
6454 | *cygwin*) |
6288 | IFTYPE=tincd |
6455 | IFTYPE=native |
6289 | IFSUBTYPE=cygwin |
6456 | IFSUBTYPE=cygwin |
6290 | |
6457 | |
6291 | cat >>confdefs.h <<\_ACEOF |
6458 | cat >>confdefs.h <<\_ACEOF |
6292 | #define HAVE_CYGWIN 1 |
6459 | #define HAVE_CYGWIN 1 |
6293 | _ACEOF |
6460 | _ACEOF |
… | |
… | |
6303 | echo "$as_me:$LINENO: result: $IFTYPE/$IFSUBTYPE" >&5 |
6470 | echo "$as_me:$LINENO: result: $IFTYPE/$IFSUBTYPE" >&5 |
6304 | echo "${ECHO_T}$IFTYPE/$IFSUBTYPE" >&6 |
6471 | echo "${ECHO_T}$IFTYPE/$IFSUBTYPE" >&6 |
6305 | IFTYPE=$IFTYPE |
6472 | IFTYPE=$IFTYPE |
6306 | |
6473 | |
6307 | IFSUBTYPE=$IFSUBTYPE |
6474 | IFSUBTYPE=$IFSUBTYPE |
|
|
6475 | |
|
|
6476 | |
|
|
6477 | cat >>confdefs.h <<_ACEOF |
|
|
6478 | #define IFTYPE "$IFTYPE" |
|
|
6479 | _ACEOF |
|
|
6480 | |
|
|
6481 | |
|
|
6482 | cat >>confdefs.h <<_ACEOF |
|
|
6483 | #define IFSUBTYPE "$IFSUBTYPE" |
|
|
6484 | _ACEOF |
6308 | |
6485 | |
6309 | |
6486 | |
6310 | cat >confcache <<\_ACEOF |
6487 | cat >confcache <<\_ACEOF |
6311 | # This file is a shell script that caches the results of configure |
6488 | # 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 |
6489 | # tests run on this system so they can be shared between configure |
… | |
… | |
6333 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
6510 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
6334 | *ac_space=\ *) |
6511 | *ac_space=\ *) |
6335 | # `set' does not quote correctly, so add quotes (double-quote |
6512 | # `set' does not quote correctly, so add quotes (double-quote |
6336 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
6513 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
6337 | sed -n \ |
6514 | sed -n \ |
6338 | "s/'/'\\\\''/g; |
6515 | "s/'/'\\\\''/g; |
6339 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
6516 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
6340 | ;; |
6517 | ;; |
6341 | *) |
6518 | *) |
6342 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
6519 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
6343 | sed -n \ |
6520 | sed -n \ |
6344 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
6521 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
6345 | ;; |
6522 | ;; |
6346 | esac; |
6523 | esac; |
6347 | } | |
6524 | } | |
6348 | sed ' |
6525 | sed ' |
6349 | t clear |
6526 | t clear |
… | |
… | |
6392 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
6569 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
6393 | # <limits.h> exists even on freestanding compilers. |
6570 | # <limits.h> exists even on freestanding compilers. |
6394 | # On the NeXT, cc -E runs the code through the compiler's parser, |
6571 | # 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. |
6572 | # not just through cpp. "Syntax error" is here to catch this case. |
6396 | cat >conftest.$ac_ext <<_ACEOF |
6573 | cat >conftest.$ac_ext <<_ACEOF |
6397 | #line $LINENO "configure" |
|
|
6398 | /* confdefs.h. */ |
6574 | /* confdefs.h. */ |
6399 | _ACEOF |
6575 | _ACEOF |
6400 | cat confdefs.h >>conftest.$ac_ext |
6576 | cat confdefs.h >>conftest.$ac_ext |
6401 | cat >>conftest.$ac_ext <<_ACEOF |
6577 | cat >>conftest.$ac_ext <<_ACEOF |
6402 | /* end confdefs.h. */ |
6578 | /* end confdefs.h. */ |
6403 | #ifdef __STDC__ |
6579 | #ifdef __STDC__ |
6404 | # include <limits.h> |
6580 | # include <limits.h> |
6405 | #else |
6581 | #else |
6406 | # include <assert.h> |
6582 | # include <assert.h> |
6407 | #endif |
6583 | #endif |
6408 | Syntax error |
6584 | Syntax error |
6409 | _ACEOF |
6585 | _ACEOF |
6410 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6586 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6411 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6587 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6412 | ac_status=$? |
6588 | ac_status=$? |
6413 | grep -v '^ *+' conftest.er1 >conftest.err |
6589 | grep -v '^ *+' conftest.er1 >conftest.err |
… | |
… | |
6415 | cat conftest.err >&5 |
6591 | cat conftest.err >&5 |
6416 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6592 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6417 | (exit $ac_status); } >/dev/null; then |
6593 | (exit $ac_status); } >/dev/null; then |
6418 | if test -s conftest.err; then |
6594 | if test -s conftest.err; then |
6419 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
6595 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
6596 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
6420 | else |
6597 | else |
6421 | ac_cpp_err= |
6598 | ac_cpp_err= |
6422 | fi |
6599 | fi |
6423 | else |
6600 | else |
6424 | ac_cpp_err=yes |
6601 | ac_cpp_err=yes |
… | |
… | |
6435 | rm -f conftest.err conftest.$ac_ext |
6612 | rm -f conftest.err conftest.$ac_ext |
6436 | |
6613 | |
6437 | # OK, works on sane cases. Now check whether non-existent headers |
6614 | # OK, works on sane cases. Now check whether non-existent headers |
6438 | # can be detected and how. |
6615 | # can be detected and how. |
6439 | cat >conftest.$ac_ext <<_ACEOF |
6616 | cat >conftest.$ac_ext <<_ACEOF |
6440 | #line $LINENO "configure" |
|
|
6441 | /* confdefs.h. */ |
6617 | /* confdefs.h. */ |
6442 | _ACEOF |
6618 | _ACEOF |
6443 | cat confdefs.h >>conftest.$ac_ext |
6619 | cat confdefs.h >>conftest.$ac_ext |
6444 | cat >>conftest.$ac_ext <<_ACEOF |
6620 | cat >>conftest.$ac_ext <<_ACEOF |
6445 | /* end confdefs.h. */ |
6621 | /* end confdefs.h. */ |
… | |
… | |
6453 | cat conftest.err >&5 |
6629 | cat conftest.err >&5 |
6454 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6630 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6455 | (exit $ac_status); } >/dev/null; then |
6631 | (exit $ac_status); } >/dev/null; then |
6456 | if test -s conftest.err; then |
6632 | if test -s conftest.err; then |
6457 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
6633 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
6634 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
6458 | else |
6635 | else |
6459 | ac_cpp_err= |
6636 | ac_cpp_err= |
6460 | fi |
6637 | fi |
6461 | else |
6638 | else |
6462 | ac_cpp_err=yes |
6639 | ac_cpp_err=yes |
… | |
… | |
6499 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
6676 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
6500 | # <limits.h> exists even on freestanding compilers. |
6677 | # <limits.h> exists even on freestanding compilers. |
6501 | # On the NeXT, cc -E runs the code through the compiler's parser, |
6678 | # 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. |
6679 | # not just through cpp. "Syntax error" is here to catch this case. |
6503 | cat >conftest.$ac_ext <<_ACEOF |
6680 | cat >conftest.$ac_ext <<_ACEOF |
6504 | #line $LINENO "configure" |
|
|
6505 | /* confdefs.h. */ |
6681 | /* confdefs.h. */ |
6506 | _ACEOF |
6682 | _ACEOF |
6507 | cat confdefs.h >>conftest.$ac_ext |
6683 | cat confdefs.h >>conftest.$ac_ext |
6508 | cat >>conftest.$ac_ext <<_ACEOF |
6684 | cat >>conftest.$ac_ext <<_ACEOF |
6509 | /* end confdefs.h. */ |
6685 | /* end confdefs.h. */ |
6510 | #ifdef __STDC__ |
6686 | #ifdef __STDC__ |
6511 | # include <limits.h> |
6687 | # include <limits.h> |
6512 | #else |
6688 | #else |
6513 | # include <assert.h> |
6689 | # include <assert.h> |
6514 | #endif |
6690 | #endif |
6515 | Syntax error |
6691 | Syntax error |
6516 | _ACEOF |
6692 | _ACEOF |
6517 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6693 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6518 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6694 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6519 | ac_status=$? |
6695 | ac_status=$? |
6520 | grep -v '^ *+' conftest.er1 >conftest.err |
6696 | grep -v '^ *+' conftest.er1 >conftest.err |
… | |
… | |
6522 | cat conftest.err >&5 |
6698 | cat conftest.err >&5 |
6523 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6699 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6524 | (exit $ac_status); } >/dev/null; then |
6700 | (exit $ac_status); } >/dev/null; then |
6525 | if test -s conftest.err; then |
6701 | if test -s conftest.err; then |
6526 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
6702 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
6703 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
6527 | else |
6704 | else |
6528 | ac_cpp_err= |
6705 | ac_cpp_err= |
6529 | fi |
6706 | fi |
6530 | else |
6707 | else |
6531 | ac_cpp_err=yes |
6708 | ac_cpp_err=yes |
… | |
… | |
6542 | rm -f conftest.err conftest.$ac_ext |
6719 | rm -f conftest.err conftest.$ac_ext |
6543 | |
6720 | |
6544 | # OK, works on sane cases. Now check whether non-existent headers |
6721 | # OK, works on sane cases. Now check whether non-existent headers |
6545 | # can be detected and how. |
6722 | # can be detected and how. |
6546 | cat >conftest.$ac_ext <<_ACEOF |
6723 | cat >conftest.$ac_ext <<_ACEOF |
6547 | #line $LINENO "configure" |
|
|
6548 | /* confdefs.h. */ |
6724 | /* confdefs.h. */ |
6549 | _ACEOF |
6725 | _ACEOF |
6550 | cat confdefs.h >>conftest.$ac_ext |
6726 | cat confdefs.h >>conftest.$ac_ext |
6551 | cat >>conftest.$ac_ext <<_ACEOF |
6727 | cat >>conftest.$ac_ext <<_ACEOF |
6552 | /* end confdefs.h. */ |
6728 | /* end confdefs.h. */ |
… | |
… | |
6560 | cat conftest.err >&5 |
6736 | cat conftest.err >&5 |
6561 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6737 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6562 | (exit $ac_status); } >/dev/null; then |
6738 | (exit $ac_status); } >/dev/null; then |
6563 | if test -s conftest.err; then |
6739 | if test -s conftest.err; then |
6564 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
6740 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
6741 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
6565 | else |
6742 | else |
6566 | ac_cpp_err= |
6743 | ac_cpp_err= |
6567 | fi |
6744 | fi |
6568 | else |
6745 | else |
6569 | ac_cpp_err=yes |
6746 | ac_cpp_err=yes |
… | |
… | |
6605 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
6782 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
6606 | if test "${ac_cv_header_stdc+set}" = set; then |
6783 | if test "${ac_cv_header_stdc+set}" = set; then |
6607 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6784 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6608 | else |
6785 | else |
6609 | cat >conftest.$ac_ext <<_ACEOF |
6786 | cat >conftest.$ac_ext <<_ACEOF |
6610 | #line $LINENO "configure" |
|
|
6611 | /* confdefs.h. */ |
6787 | /* confdefs.h. */ |
6612 | _ACEOF |
6788 | _ACEOF |
6613 | cat confdefs.h >>conftest.$ac_ext |
6789 | cat confdefs.h >>conftest.$ac_ext |
6614 | cat >>conftest.$ac_ext <<_ACEOF |
6790 | cat >>conftest.$ac_ext <<_ACEOF |
6615 | /* end confdefs.h. */ |
6791 | /* end confdefs.h. */ |
… | |
… | |
6626 | return 0; |
6802 | return 0; |
6627 | } |
6803 | } |
6628 | _ACEOF |
6804 | _ACEOF |
6629 | rm -f conftest.$ac_objext |
6805 | rm -f conftest.$ac_objext |
6630 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6806 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6631 | (eval $ac_compile) 2>&5 |
6807 | (eval $ac_compile) 2>conftest.er1 |
6632 | ac_status=$? |
6808 | ac_status=$? |
|
|
6809 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6810 | rm -f conftest.er1 |
|
|
6811 | cat conftest.err >&5 |
6633 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6812 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6634 | (exit $ac_status); } && |
6813 | (exit $ac_status); } && |
6635 | { ac_try='test -s conftest.$ac_objext' |
6814 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6636 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6815 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6637 | (eval $ac_try) 2>&5 |
6816 | (eval $ac_try) 2>&5 |
6638 | ac_status=$? |
6817 | ac_status=$? |
6639 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6818 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6819 | (exit $ac_status); }; } && |
|
|
6820 | { ac_try='test -s conftest.$ac_objext' |
|
|
6821 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
6822 | (eval $ac_try) 2>&5 |
|
|
6823 | ac_status=$? |
|
|
6824 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6640 | (exit $ac_status); }; }; then |
6825 | (exit $ac_status); }; }; then |
6641 | ac_cv_header_stdc=yes |
6826 | ac_cv_header_stdc=yes |
6642 | else |
6827 | else |
6643 | echo "$as_me: failed program was:" >&5 |
6828 | echo "$as_me: failed program was:" >&5 |
6644 | sed 's/^/| /' conftest.$ac_ext >&5 |
6829 | sed 's/^/| /' conftest.$ac_ext >&5 |
6645 | |
6830 | |
6646 | ac_cv_header_stdc=no |
6831 | ac_cv_header_stdc=no |
6647 | fi |
6832 | fi |
6648 | rm -f conftest.$ac_objext conftest.$ac_ext |
6833 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6649 | |
6834 | |
6650 | if test $ac_cv_header_stdc = yes; then |
6835 | if test $ac_cv_header_stdc = yes; then |
6651 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
6836 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
6652 | cat >conftest.$ac_ext <<_ACEOF |
6837 | cat >conftest.$ac_ext <<_ACEOF |
6653 | #line $LINENO "configure" |
|
|
6654 | /* confdefs.h. */ |
6838 | /* confdefs.h. */ |
6655 | _ACEOF |
6839 | _ACEOF |
6656 | cat confdefs.h >>conftest.$ac_ext |
6840 | cat confdefs.h >>conftest.$ac_ext |
6657 | cat >>conftest.$ac_ext <<_ACEOF |
6841 | cat >>conftest.$ac_ext <<_ACEOF |
6658 | /* end confdefs.h. */ |
6842 | /* end confdefs.h. */ |
… | |
… | |
6670 | fi |
6854 | fi |
6671 | |
6855 | |
6672 | if test $ac_cv_header_stdc = yes; then |
6856 | if test $ac_cv_header_stdc = yes; then |
6673 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
6857 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
6674 | cat >conftest.$ac_ext <<_ACEOF |
6858 | cat >conftest.$ac_ext <<_ACEOF |
6675 | #line $LINENO "configure" |
|
|
6676 | /* confdefs.h. */ |
6859 | /* confdefs.h. */ |
6677 | _ACEOF |
6860 | _ACEOF |
6678 | cat confdefs.h >>conftest.$ac_ext |
6861 | cat confdefs.h >>conftest.$ac_ext |
6679 | cat >>conftest.$ac_ext <<_ACEOF |
6862 | cat >>conftest.$ac_ext <<_ACEOF |
6680 | /* end confdefs.h. */ |
6863 | /* end confdefs.h. */ |
… | |
… | |
6695 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
6878 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
6696 | if test "$cross_compiling" = yes; then |
6879 | if test "$cross_compiling" = yes; then |
6697 | : |
6880 | : |
6698 | else |
6881 | else |
6699 | cat >conftest.$ac_ext <<_ACEOF |
6882 | cat >conftest.$ac_ext <<_ACEOF |
6700 | #line $LINENO "configure" |
|
|
6701 | /* confdefs.h. */ |
6883 | /* confdefs.h. */ |
6702 | _ACEOF |
6884 | _ACEOF |
6703 | cat confdefs.h >>conftest.$ac_ext |
6885 | cat confdefs.h >>conftest.$ac_ext |
6704 | cat >>conftest.$ac_ext <<_ACEOF |
6886 | cat >>conftest.$ac_ext <<_ACEOF |
6705 | /* end confdefs.h. */ |
6887 | /* end confdefs.h. */ |
… | |
… | |
6707 | #if ((' ' & 0x0FF) == 0x020) |
6889 | #if ((' ' & 0x0FF) == 0x020) |
6708 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
6890 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
6709 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
6891 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
6710 | #else |
6892 | #else |
6711 | # define ISLOWER(c) \ |
6893 | # define ISLOWER(c) \ |
6712 | (('a' <= (c) && (c) <= 'i') \ |
6894 | (('a' <= (c) && (c) <= 'i') \ |
6713 | || ('j' <= (c) && (c) <= 'r') \ |
6895 | || ('j' <= (c) && (c) <= 'r') \ |
6714 | || ('s' <= (c) && (c) <= 'z')) |
6896 | || ('s' <= (c) && (c) <= 'z')) |
6715 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
6897 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
6716 | #endif |
6898 | #endif |
6717 | |
6899 | |
6718 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
6900 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
6719 | int |
6901 | int |
6720 | main () |
6902 | main () |
6721 | { |
6903 | { |
6722 | int i; |
6904 | int i; |
6723 | for (i = 0; i < 256; i++) |
6905 | for (i = 0; i < 256; i++) |
6724 | if (XOR (islower (i), ISLOWER (i)) |
6906 | if (XOR (islower (i), ISLOWER (i)) |
6725 | || toupper (i) != TOUPPER (i)) |
6907 | || toupper (i) != TOUPPER (i)) |
6726 | exit(2); |
6908 | exit(2); |
6727 | exit (0); |
6909 | exit (0); |
6728 | } |
6910 | } |
6729 | _ACEOF |
6911 | _ACEOF |
6730 | rm -f conftest$ac_exeext |
6912 | rm -f conftest$ac_exeext |
… | |
… | |
6770 | |
6952 | |
6771 | |
6953 | |
6772 | |
6954 | |
6773 | |
6955 | |
6774 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
6956 | 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 |
6957 | inttypes.h stdint.h unistd.h |
6776 | do |
6958 | do |
6777 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6959 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6778 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6960 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6779 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6961 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6780 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6962 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6781 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6963 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6782 | else |
6964 | else |
6783 | cat >conftest.$ac_ext <<_ACEOF |
6965 | cat >conftest.$ac_ext <<_ACEOF |
6784 | #line $LINENO "configure" |
|
|
6785 | /* confdefs.h. */ |
6966 | /* confdefs.h. */ |
6786 | _ACEOF |
6967 | _ACEOF |
6787 | cat confdefs.h >>conftest.$ac_ext |
6968 | cat confdefs.h >>conftest.$ac_ext |
6788 | cat >>conftest.$ac_ext <<_ACEOF |
6969 | cat >>conftest.$ac_ext <<_ACEOF |
6789 | /* end confdefs.h. */ |
6970 | /* end confdefs.h. */ |
… | |
… | |
6791 | |
6972 | |
6792 | #include <$ac_header> |
6973 | #include <$ac_header> |
6793 | _ACEOF |
6974 | _ACEOF |
6794 | rm -f conftest.$ac_objext |
6975 | rm -f conftest.$ac_objext |
6795 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6976 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6796 | (eval $ac_compile) 2>&5 |
6977 | (eval $ac_compile) 2>conftest.er1 |
6797 | ac_status=$? |
6978 | ac_status=$? |
|
|
6979 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6980 | rm -f conftest.er1 |
|
|
6981 | cat conftest.err >&5 |
6798 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6982 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6799 | (exit $ac_status); } && |
6983 | (exit $ac_status); } && |
6800 | { ac_try='test -s conftest.$ac_objext' |
6984 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6801 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6985 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6802 | (eval $ac_try) 2>&5 |
6986 | (eval $ac_try) 2>&5 |
6803 | ac_status=$? |
6987 | ac_status=$? |
6804 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6988 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6989 | (exit $ac_status); }; } && |
|
|
6990 | { ac_try='test -s conftest.$ac_objext' |
|
|
6991 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
6992 | (eval $ac_try) 2>&5 |
|
|
6993 | ac_status=$? |
|
|
6994 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6805 | (exit $ac_status); }; }; then |
6995 | (exit $ac_status); }; }; then |
6806 | eval "$as_ac_Header=yes" |
6996 | eval "$as_ac_Header=yes" |
6807 | else |
6997 | else |
6808 | echo "$as_me: failed program was:" >&5 |
6998 | echo "$as_me: failed program was:" >&5 |
6809 | sed 's/^/| /' conftest.$ac_ext >&5 |
6999 | sed 's/^/| /' conftest.$ac_ext >&5 |
6810 | |
7000 | |
6811 | eval "$as_ac_Header=no" |
7001 | eval "$as_ac_Header=no" |
6812 | fi |
7002 | fi |
6813 | rm -f conftest.$ac_objext conftest.$ac_ext |
7003 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6814 | fi |
7004 | fi |
6815 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7005 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6816 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7006 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
6817 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
7007 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
6818 | cat >>confdefs.h <<_ACEOF |
7008 | cat >>confdefs.h <<_ACEOF |
… | |
… | |
6839 | else |
7029 | else |
6840 | # Is the header compilable? |
7030 | # Is the header compilable? |
6841 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
7031 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
6842 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
7032 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
6843 | cat >conftest.$ac_ext <<_ACEOF |
7033 | cat >conftest.$ac_ext <<_ACEOF |
6844 | #line $LINENO "configure" |
|
|
6845 | /* confdefs.h. */ |
7034 | /* confdefs.h. */ |
6846 | _ACEOF |
7035 | _ACEOF |
6847 | cat confdefs.h >>conftest.$ac_ext |
7036 | cat confdefs.h >>conftest.$ac_ext |
6848 | cat >>conftest.$ac_ext <<_ACEOF |
7037 | cat >>conftest.$ac_ext <<_ACEOF |
6849 | /* end confdefs.h. */ |
7038 | /* end confdefs.h. */ |
6850 | $ac_includes_default |
7039 | $ac_includes_default |
6851 | #include <$ac_header> |
7040 | #include <$ac_header> |
6852 | _ACEOF |
7041 | _ACEOF |
6853 | rm -f conftest.$ac_objext |
7042 | rm -f conftest.$ac_objext |
6854 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7043 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6855 | (eval $ac_compile) 2>&5 |
7044 | (eval $ac_compile) 2>conftest.er1 |
6856 | ac_status=$? |
7045 | ac_status=$? |
|
|
7046 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7047 | rm -f conftest.er1 |
|
|
7048 | cat conftest.err >&5 |
6857 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7049 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6858 | (exit $ac_status); } && |
7050 | (exit $ac_status); } && |
6859 | { ac_try='test -s conftest.$ac_objext' |
7051 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6860 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7052 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6861 | (eval $ac_try) 2>&5 |
7053 | (eval $ac_try) 2>&5 |
6862 | ac_status=$? |
7054 | ac_status=$? |
6863 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7055 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7056 | (exit $ac_status); }; } && |
|
|
7057 | { ac_try='test -s conftest.$ac_objext' |
|
|
7058 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7059 | (eval $ac_try) 2>&5 |
|
|
7060 | ac_status=$? |
|
|
7061 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6864 | (exit $ac_status); }; }; then |
7062 | (exit $ac_status); }; }; then |
6865 | ac_header_compiler=yes |
7063 | ac_header_compiler=yes |
6866 | else |
7064 | else |
6867 | echo "$as_me: failed program was:" >&5 |
7065 | echo "$as_me: failed program was:" >&5 |
6868 | sed 's/^/| /' conftest.$ac_ext >&5 |
7066 | sed 's/^/| /' conftest.$ac_ext >&5 |
6869 | |
7067 | |
6870 | ac_header_compiler=no |
7068 | ac_header_compiler=no |
6871 | fi |
7069 | fi |
6872 | rm -f conftest.$ac_objext conftest.$ac_ext |
7070 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6873 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
7071 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
6874 | echo "${ECHO_T}$ac_header_compiler" >&6 |
7072 | echo "${ECHO_T}$ac_header_compiler" >&6 |
6875 | |
7073 | |
6876 | # Is the header present? |
7074 | # Is the header present? |
6877 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
7075 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
6878 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
7076 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
6879 | cat >conftest.$ac_ext <<_ACEOF |
7077 | cat >conftest.$ac_ext <<_ACEOF |
6880 | #line $LINENO "configure" |
|
|
6881 | /* confdefs.h. */ |
7078 | /* confdefs.h. */ |
6882 | _ACEOF |
7079 | _ACEOF |
6883 | cat confdefs.h >>conftest.$ac_ext |
7080 | cat confdefs.h >>conftest.$ac_ext |
6884 | cat >>conftest.$ac_ext <<_ACEOF |
7081 | cat >>conftest.$ac_ext <<_ACEOF |
6885 | /* end confdefs.h. */ |
7082 | /* end confdefs.h. */ |
… | |
… | |
6893 | cat conftest.err >&5 |
7090 | cat conftest.err >&5 |
6894 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7091 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6895 | (exit $ac_status); } >/dev/null; then |
7092 | (exit $ac_status); } >/dev/null; then |
6896 | if test -s conftest.err; then |
7093 | if test -s conftest.err; then |
6897 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
7094 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
7095 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
6898 | else |
7096 | else |
6899 | ac_cpp_err= |
7097 | ac_cpp_err= |
6900 | fi |
7098 | fi |
6901 | else |
7099 | else |
6902 | ac_cpp_err=yes |
7100 | ac_cpp_err=yes |
… | |
… | |
6912 | rm -f conftest.err conftest.$ac_ext |
7110 | rm -f conftest.err conftest.$ac_ext |
6913 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
7111 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
6914 | echo "${ECHO_T}$ac_header_preproc" >&6 |
7112 | echo "${ECHO_T}$ac_header_preproc" >&6 |
6915 | |
7113 | |
6916 | # So? What about this header? |
7114 | # So? What about this header? |
6917 | case $ac_header_compiler:$ac_header_preproc in |
7115 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
6918 | yes:no ) |
7116 | yes:no: ) |
6919 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
7117 | { 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;} |
7118 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
7119 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
7120 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
7121 | ac_header_preproc=yes |
|
|
7122 | ;; |
|
|
7123 | no:yes:* ) |
|
|
7124 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
7125 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
7126 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
7127 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
7128 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
7129 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
7130 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
7131 | 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 |
7132 | { 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;} |
7133 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
7134 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
7135 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
6923 | ( |
7136 | ( |
6924 | cat <<\_ASBOX |
7137 | cat <<\_ASBOX |
6925 | ## ------------------------------------ ## |
7138 | ## ------------------------------------------ ## |
6926 | ## Report this to bug-autoconf@gnu.org. ## |
7139 | ## Report this to the AC_PACKAGE_NAME lists. ## |
6927 | ## ------------------------------------ ## |
7140 | ## ------------------------------------------ ## |
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 |
7141 | _ASBOX |
6945 | ) | |
7142 | ) | |
6946 | sed "s/^/$as_me: WARNING: /" >&2 |
7143 | sed "s/^/$as_me: WARNING: /" >&2 |
6947 | ;; |
7144 | ;; |
6948 | esac |
7145 | esac |
6949 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7146 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6950 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7147 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6951 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7148 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6952 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7149 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6953 | else |
7150 | else |
6954 | eval "$as_ac_Header=$ac_header_preproc" |
7151 | eval "$as_ac_Header=\$ac_header_preproc" |
6955 | fi |
7152 | fi |
6956 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7153 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6957 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7154 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
6958 | |
7155 | |
6959 | fi |
7156 | fi |
… | |
… | |
6981 | |
7178 | |
6982 | |
7179 | |
6983 | |
7180 | |
6984 | |
7181 | |
6985 | |
7182 | |
6986 | |
|
|
6987 | |
|
|
6988 | for ac_header in fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \ |
7183 | 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 \ |
7184 | 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 |
7185 | sys/mman.h netinet/in.h |
6991 | do |
7186 | do |
6992 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7187 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6993 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7188 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6994 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7189 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6995 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7190 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
… | |
… | |
7001 | else |
7196 | else |
7002 | # Is the header compilable? |
7197 | # Is the header compilable? |
7003 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
7198 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
7004 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
7199 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
7005 | cat >conftest.$ac_ext <<_ACEOF |
7200 | cat >conftest.$ac_ext <<_ACEOF |
7006 | #line $LINENO "configure" |
|
|
7007 | /* confdefs.h. */ |
7201 | /* confdefs.h. */ |
7008 | _ACEOF |
7202 | _ACEOF |
7009 | cat confdefs.h >>conftest.$ac_ext |
7203 | cat confdefs.h >>conftest.$ac_ext |
7010 | cat >>conftest.$ac_ext <<_ACEOF |
7204 | cat >>conftest.$ac_ext <<_ACEOF |
7011 | /* end confdefs.h. */ |
7205 | /* end confdefs.h. */ |
7012 | $ac_includes_default |
7206 | $ac_includes_default |
7013 | #include <$ac_header> |
7207 | #include <$ac_header> |
7014 | _ACEOF |
7208 | _ACEOF |
7015 | rm -f conftest.$ac_objext |
7209 | rm -f conftest.$ac_objext |
7016 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7210 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7017 | (eval $ac_compile) 2>&5 |
7211 | (eval $ac_compile) 2>conftest.er1 |
7018 | ac_status=$? |
7212 | ac_status=$? |
|
|
7213 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7214 | rm -f conftest.er1 |
|
|
7215 | cat conftest.err >&5 |
7019 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7216 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7020 | (exit $ac_status); } && |
7217 | (exit $ac_status); } && |
7021 | { ac_try='test -s conftest.$ac_objext' |
7218 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7022 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7219 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7023 | (eval $ac_try) 2>&5 |
7220 | (eval $ac_try) 2>&5 |
7024 | ac_status=$? |
7221 | ac_status=$? |
7025 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7222 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7223 | (exit $ac_status); }; } && |
|
|
7224 | { ac_try='test -s conftest.$ac_objext' |
|
|
7225 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7226 | (eval $ac_try) 2>&5 |
|
|
7227 | ac_status=$? |
|
|
7228 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7026 | (exit $ac_status); }; }; then |
7229 | (exit $ac_status); }; }; then |
7027 | ac_header_compiler=yes |
7230 | ac_header_compiler=yes |
7028 | else |
7231 | else |
7029 | echo "$as_me: failed program was:" >&5 |
7232 | echo "$as_me: failed program was:" >&5 |
7030 | sed 's/^/| /' conftest.$ac_ext >&5 |
7233 | sed 's/^/| /' conftest.$ac_ext >&5 |
7031 | |
7234 | |
7032 | ac_header_compiler=no |
7235 | ac_header_compiler=no |
7033 | fi |
7236 | fi |
7034 | rm -f conftest.$ac_objext conftest.$ac_ext |
7237 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7035 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
7238 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
7036 | echo "${ECHO_T}$ac_header_compiler" >&6 |
7239 | echo "${ECHO_T}$ac_header_compiler" >&6 |
7037 | |
7240 | |
7038 | # Is the header present? |
7241 | # Is the header present? |
7039 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
7242 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
7040 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
7243 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
7041 | cat >conftest.$ac_ext <<_ACEOF |
7244 | cat >conftest.$ac_ext <<_ACEOF |
7042 | #line $LINENO "configure" |
|
|
7043 | /* confdefs.h. */ |
7245 | /* confdefs.h. */ |
7044 | _ACEOF |
7246 | _ACEOF |
7045 | cat confdefs.h >>conftest.$ac_ext |
7247 | cat confdefs.h >>conftest.$ac_ext |
7046 | cat >>conftest.$ac_ext <<_ACEOF |
7248 | cat >>conftest.$ac_ext <<_ACEOF |
7047 | /* end confdefs.h. */ |
7249 | /* end confdefs.h. */ |
… | |
… | |
7055 | cat conftest.err >&5 |
7257 | cat conftest.err >&5 |
7056 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7258 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7057 | (exit $ac_status); } >/dev/null; then |
7259 | (exit $ac_status); } >/dev/null; then |
7058 | if test -s conftest.err; then |
7260 | if test -s conftest.err; then |
7059 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
7261 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
7262 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
7060 | else |
7263 | else |
7061 | ac_cpp_err= |
7264 | ac_cpp_err= |
7062 | fi |
7265 | fi |
7063 | else |
7266 | else |
7064 | ac_cpp_err=yes |
7267 | ac_cpp_err=yes |
… | |
… | |
7074 | rm -f conftest.err conftest.$ac_ext |
7277 | rm -f conftest.err conftest.$ac_ext |
7075 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
7278 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
7076 | echo "${ECHO_T}$ac_header_preproc" >&6 |
7279 | echo "${ECHO_T}$ac_header_preproc" >&6 |
7077 | |
7280 | |
7078 | # So? What about this header? |
7281 | # So? What about this header? |
7079 | case $ac_header_compiler:$ac_header_preproc in |
7282 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
7080 | yes:no ) |
7283 | yes:no: ) |
7081 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
7284 | { 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;} |
7285 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
7286 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
7287 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
7288 | ac_header_preproc=yes |
|
|
7289 | ;; |
|
|
7290 | no:yes:* ) |
|
|
7291 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
7292 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
7293 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
7294 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
7295 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
7296 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
7297 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
7298 | 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 |
7299 | { 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;} |
7300 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
7301 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
7302 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
7085 | ( |
7303 | ( |
7086 | cat <<\_ASBOX |
7304 | cat <<\_ASBOX |
7087 | ## ------------------------------------ ## |
7305 | ## ------------------------------------------ ## |
7088 | ## Report this to bug-autoconf@gnu.org. ## |
7306 | ## Report this to the AC_PACKAGE_NAME lists. ## |
7089 | ## ------------------------------------ ## |
7307 | ## ------------------------------------------ ## |
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 |
7308 | _ASBOX |
7107 | ) | |
7309 | ) | |
7108 | sed "s/^/$as_me: WARNING: /" >&2 |
7310 | sed "s/^/$as_me: WARNING: /" >&2 |
7109 | ;; |
7311 | ;; |
7110 | esac |
7312 | esac |
7111 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7313 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7112 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7314 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7113 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7315 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7114 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7316 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7115 | else |
7317 | else |
7116 | eval "$as_ac_Header=$ac_header_preproc" |
7318 | eval "$as_ac_Header=\$ac_header_preproc" |
7117 | fi |
7319 | fi |
7118 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7320 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7119 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7321 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7120 | |
7322 | |
7121 | fi |
7323 | fi |
… | |
… | |
7131 | |
7333 | |
7132 | |
7334 | |
7133 | |
7335 | |
7134 | |
7336 | |
7135 | |
7337 | |
|
|
7338 | |
7136 | for ac_header in net/ethernet.h net/if.h netinet/ip.h netinet/tcp.h netinet/in_systm.h |
7339 | 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 |
7340 | do |
7138 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7341 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7139 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7342 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7140 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7343 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7141 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7344 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7142 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7345 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7143 | else |
7346 | else |
7144 | cat >conftest.$ac_ext <<_ACEOF |
7347 | cat >conftest.$ac_ext <<_ACEOF |
7145 | #line $LINENO "configure" |
|
|
7146 | /* confdefs.h. */ |
7348 | /* confdefs.h. */ |
7147 | _ACEOF |
7349 | _ACEOF |
7148 | cat confdefs.h >>conftest.$ac_ext |
7350 | cat confdefs.h >>conftest.$ac_ext |
7149 | cat >>conftest.$ac_ext <<_ACEOF |
7351 | cat >>conftest.$ac_ext <<_ACEOF |
7150 | /* end confdefs.h. */ |
7352 | /* end confdefs.h. */ |
… | |
… | |
7164 | |
7366 | |
7165 | #include <$ac_header> |
7367 | #include <$ac_header> |
7166 | _ACEOF |
7368 | _ACEOF |
7167 | rm -f conftest.$ac_objext |
7369 | rm -f conftest.$ac_objext |
7168 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7370 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7169 | (eval $ac_compile) 2>&5 |
7371 | (eval $ac_compile) 2>conftest.er1 |
7170 | ac_status=$? |
7372 | ac_status=$? |
|
|
7373 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7374 | rm -f conftest.er1 |
|
|
7375 | cat conftest.err >&5 |
7171 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7376 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7172 | (exit $ac_status); } && |
7377 | (exit $ac_status); } && |
7173 | { ac_try='test -s conftest.$ac_objext' |
7378 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7174 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7379 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7175 | (eval $ac_try) 2>&5 |
7380 | (eval $ac_try) 2>&5 |
7176 | ac_status=$? |
7381 | ac_status=$? |
7177 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7382 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7383 | (exit $ac_status); }; } && |
|
|
7384 | { ac_try='test -s conftest.$ac_objext' |
|
|
7385 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7386 | (eval $ac_try) 2>&5 |
|
|
7387 | ac_status=$? |
|
|
7388 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7178 | (exit $ac_status); }; }; then |
7389 | (exit $ac_status); }; }; then |
7179 | eval "$as_ac_Header=yes" |
7390 | eval "$as_ac_Header=yes" |
7180 | else |
7391 | else |
7181 | echo "$as_me: failed program was:" >&5 |
7392 | echo "$as_me: failed program was:" >&5 |
7182 | sed 's/^/| /' conftest.$ac_ext >&5 |
7393 | sed 's/^/| /' conftest.$ac_ext >&5 |
7183 | |
7394 | |
7184 | eval "$as_ac_Header=no" |
7395 | eval "$as_ac_Header=no" |
7185 | fi |
7396 | fi |
7186 | rm -f conftest.$ac_objext conftest.$ac_ext |
7397 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7187 | fi |
7398 | fi |
7188 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7399 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7189 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7400 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7190 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
7401 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
7191 | cat >>confdefs.h <<_ACEOF |
7402 | cat >>confdefs.h <<_ACEOF |
… | |
… | |
7201 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
7412 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
7202 | if test "${ac_cv_c_const+set}" = set; then |
7413 | if test "${ac_cv_c_const+set}" = set; then |
7203 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7414 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7204 | else |
7415 | else |
7205 | cat >conftest.$ac_ext <<_ACEOF |
7416 | cat >conftest.$ac_ext <<_ACEOF |
7206 | #line $LINENO "configure" |
|
|
7207 | /* confdefs.h. */ |
7417 | /* confdefs.h. */ |
7208 | _ACEOF |
7418 | _ACEOF |
7209 | cat confdefs.h >>conftest.$ac_ext |
7419 | cat confdefs.h >>conftest.$ac_ext |
7210 | cat >>conftest.$ac_ext <<_ACEOF |
7420 | cat >>conftest.$ac_ext <<_ACEOF |
7211 | /* end confdefs.h. */ |
7421 | /* end confdefs.h. */ |
… | |
… | |
7264 | return 0; |
7474 | return 0; |
7265 | } |
7475 | } |
7266 | _ACEOF |
7476 | _ACEOF |
7267 | rm -f conftest.$ac_objext |
7477 | rm -f conftest.$ac_objext |
7268 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7478 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7269 | (eval $ac_compile) 2>&5 |
7479 | (eval $ac_compile) 2>conftest.er1 |
7270 | ac_status=$? |
7480 | ac_status=$? |
|
|
7481 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7482 | rm -f conftest.er1 |
|
|
7483 | cat conftest.err >&5 |
7271 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7484 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7272 | (exit $ac_status); } && |
7485 | (exit $ac_status); } && |
7273 | { ac_try='test -s conftest.$ac_objext' |
7486 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7274 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7487 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7275 | (eval $ac_try) 2>&5 |
7488 | (eval $ac_try) 2>&5 |
7276 | ac_status=$? |
7489 | ac_status=$? |
7277 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7490 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7491 | (exit $ac_status); }; } && |
|
|
7492 | { ac_try='test -s conftest.$ac_objext' |
|
|
7493 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7494 | (eval $ac_try) 2>&5 |
|
|
7495 | ac_status=$? |
|
|
7496 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7278 | (exit $ac_status); }; }; then |
7497 | (exit $ac_status); }; }; then |
7279 | ac_cv_c_const=yes |
7498 | ac_cv_c_const=yes |
7280 | else |
7499 | else |
7281 | echo "$as_me: failed program was:" >&5 |
7500 | echo "$as_me: failed program was:" >&5 |
7282 | sed 's/^/| /' conftest.$ac_ext >&5 |
7501 | sed 's/^/| /' conftest.$ac_ext >&5 |
7283 | |
7502 | |
7284 | ac_cv_c_const=no |
7503 | ac_cv_c_const=no |
7285 | fi |
7504 | fi |
7286 | rm -f conftest.$ac_objext conftest.$ac_ext |
7505 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7287 | fi |
7506 | fi |
7288 | echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
7507 | echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
7289 | echo "${ECHO_T}$ac_cv_c_const" >&6 |
7508 | echo "${ECHO_T}$ac_cv_c_const" >&6 |
7290 | if test $ac_cv_c_const = no; then |
7509 | if test $ac_cv_c_const = no; then |
7291 | |
7510 | |
… | |
… | |
7299 | echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 |
7518 | echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 |
7300 | if test "${ac_cv_type_pid_t+set}" = set; then |
7519 | if test "${ac_cv_type_pid_t+set}" = set; then |
7301 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7520 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7302 | else |
7521 | else |
7303 | cat >conftest.$ac_ext <<_ACEOF |
7522 | cat >conftest.$ac_ext <<_ACEOF |
7304 | #line $LINENO "configure" |
|
|
7305 | /* confdefs.h. */ |
7523 | /* confdefs.h. */ |
7306 | _ACEOF |
7524 | _ACEOF |
7307 | cat confdefs.h >>conftest.$ac_ext |
7525 | cat confdefs.h >>conftest.$ac_ext |
7308 | cat >>conftest.$ac_ext <<_ACEOF |
7526 | cat >>conftest.$ac_ext <<_ACEOF |
7309 | /* end confdefs.h. */ |
7527 | /* end confdefs.h. */ |
… | |
… | |
7319 | return 0; |
7537 | return 0; |
7320 | } |
7538 | } |
7321 | _ACEOF |
7539 | _ACEOF |
7322 | rm -f conftest.$ac_objext |
7540 | rm -f conftest.$ac_objext |
7323 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7541 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7324 | (eval $ac_compile) 2>&5 |
7542 | (eval $ac_compile) 2>conftest.er1 |
7325 | ac_status=$? |
7543 | ac_status=$? |
|
|
7544 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7545 | rm -f conftest.er1 |
|
|
7546 | cat conftest.err >&5 |
7326 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7547 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7327 | (exit $ac_status); } && |
7548 | (exit $ac_status); } && |
7328 | { ac_try='test -s conftest.$ac_objext' |
7549 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7329 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7550 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7330 | (eval $ac_try) 2>&5 |
7551 | (eval $ac_try) 2>&5 |
7331 | ac_status=$? |
7552 | ac_status=$? |
7332 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7553 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7554 | (exit $ac_status); }; } && |
|
|
7555 | { ac_try='test -s conftest.$ac_objext' |
|
|
7556 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7557 | (eval $ac_try) 2>&5 |
|
|
7558 | ac_status=$? |
|
|
7559 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7333 | (exit $ac_status); }; }; then |
7560 | (exit $ac_status); }; }; then |
7334 | ac_cv_type_pid_t=yes |
7561 | ac_cv_type_pid_t=yes |
7335 | else |
7562 | else |
7336 | echo "$as_me: failed program was:" >&5 |
7563 | echo "$as_me: failed program was:" >&5 |
7337 | sed 's/^/| /' conftest.$ac_ext >&5 |
7564 | sed 's/^/| /' conftest.$ac_ext >&5 |
7338 | |
7565 | |
7339 | ac_cv_type_pid_t=no |
7566 | ac_cv_type_pid_t=no |
7340 | fi |
7567 | fi |
7341 | rm -f conftest.$ac_objext conftest.$ac_ext |
7568 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7342 | fi |
7569 | fi |
7343 | echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 |
7570 | echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 |
7344 | echo "${ECHO_T}$ac_cv_type_pid_t" >&6 |
7571 | echo "${ECHO_T}$ac_cv_type_pid_t" >&6 |
7345 | if test $ac_cv_type_pid_t = yes; then |
7572 | if test $ac_cv_type_pid_t = yes; then |
7346 | : |
7573 | : |
… | |
… | |
7356 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6 |
7583 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6 |
7357 | if test "${ac_cv_type_size_t+set}" = set; then |
7584 | if test "${ac_cv_type_size_t+set}" = set; then |
7358 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7585 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7359 | else |
7586 | else |
7360 | cat >conftest.$ac_ext <<_ACEOF |
7587 | cat >conftest.$ac_ext <<_ACEOF |
7361 | #line $LINENO "configure" |
|
|
7362 | /* confdefs.h. */ |
7588 | /* confdefs.h. */ |
7363 | _ACEOF |
7589 | _ACEOF |
7364 | cat confdefs.h >>conftest.$ac_ext |
7590 | cat confdefs.h >>conftest.$ac_ext |
7365 | cat >>conftest.$ac_ext <<_ACEOF |
7591 | cat >>conftest.$ac_ext <<_ACEOF |
7366 | /* end confdefs.h. */ |
7592 | /* end confdefs.h. */ |
… | |
… | |
7376 | return 0; |
7602 | return 0; |
7377 | } |
7603 | } |
7378 | _ACEOF |
7604 | _ACEOF |
7379 | rm -f conftest.$ac_objext |
7605 | rm -f conftest.$ac_objext |
7380 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7606 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7381 | (eval $ac_compile) 2>&5 |
7607 | (eval $ac_compile) 2>conftest.er1 |
7382 | ac_status=$? |
7608 | ac_status=$? |
|
|
7609 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7610 | rm -f conftest.er1 |
|
|
7611 | cat conftest.err >&5 |
7383 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7612 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7384 | (exit $ac_status); } && |
7613 | (exit $ac_status); } && |
7385 | { ac_try='test -s conftest.$ac_objext' |
7614 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7386 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7615 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7387 | (eval $ac_try) 2>&5 |
7616 | (eval $ac_try) 2>&5 |
7388 | ac_status=$? |
7617 | ac_status=$? |
7389 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7618 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7619 | (exit $ac_status); }; } && |
|
|
7620 | { ac_try='test -s conftest.$ac_objext' |
|
|
7621 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7622 | (eval $ac_try) 2>&5 |
|
|
7623 | ac_status=$? |
|
|
7624 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7390 | (exit $ac_status); }; }; then |
7625 | (exit $ac_status); }; }; then |
7391 | ac_cv_type_size_t=yes |
7626 | ac_cv_type_size_t=yes |
7392 | else |
7627 | else |
7393 | echo "$as_me: failed program was:" >&5 |
7628 | echo "$as_me: failed program was:" >&5 |
7394 | sed 's/^/| /' conftest.$ac_ext >&5 |
7629 | sed 's/^/| /' conftest.$ac_ext >&5 |
7395 | |
7630 | |
7396 | ac_cv_type_size_t=no |
7631 | ac_cv_type_size_t=no |
7397 | fi |
7632 | fi |
7398 | rm -f conftest.$ac_objext conftest.$ac_ext |
7633 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7399 | fi |
7634 | fi |
7400 | echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 |
7635 | echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 |
7401 | echo "${ECHO_T}$ac_cv_type_size_t" >&6 |
7636 | echo "${ECHO_T}$ac_cv_type_size_t" >&6 |
7402 | if test $ac_cv_type_size_t = yes; then |
7637 | if test $ac_cv_type_size_t = yes; then |
7403 | : |
7638 | : |
… | |
… | |
7413 | echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 |
7648 | 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 |
7649 | if test "${ac_cv_header_time+set}" = set; then |
7415 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7650 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7416 | else |
7651 | else |
7417 | cat >conftest.$ac_ext <<_ACEOF |
7652 | cat >conftest.$ac_ext <<_ACEOF |
7418 | #line $LINENO "configure" |
|
|
7419 | /* confdefs.h. */ |
7653 | /* confdefs.h. */ |
7420 | _ACEOF |
7654 | _ACEOF |
7421 | cat confdefs.h >>conftest.$ac_ext |
7655 | cat confdefs.h >>conftest.$ac_ext |
7422 | cat >>conftest.$ac_ext <<_ACEOF |
7656 | cat >>conftest.$ac_ext <<_ACEOF |
7423 | /* end confdefs.h. */ |
7657 | /* end confdefs.h. */ |
… | |
… | |
7434 | return 0; |
7668 | return 0; |
7435 | } |
7669 | } |
7436 | _ACEOF |
7670 | _ACEOF |
7437 | rm -f conftest.$ac_objext |
7671 | rm -f conftest.$ac_objext |
7438 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7672 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7439 | (eval $ac_compile) 2>&5 |
7673 | (eval $ac_compile) 2>conftest.er1 |
7440 | ac_status=$? |
7674 | ac_status=$? |
|
|
7675 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7676 | rm -f conftest.er1 |
|
|
7677 | cat conftest.err >&5 |
7441 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7678 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7442 | (exit $ac_status); } && |
7679 | (exit $ac_status); } && |
7443 | { ac_try='test -s conftest.$ac_objext' |
7680 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7444 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7681 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7445 | (eval $ac_try) 2>&5 |
7682 | (eval $ac_try) 2>&5 |
7446 | ac_status=$? |
7683 | ac_status=$? |
7447 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7684 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7685 | (exit $ac_status); }; } && |
|
|
7686 | { ac_try='test -s conftest.$ac_objext' |
|
|
7687 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7688 | (eval $ac_try) 2>&5 |
|
|
7689 | ac_status=$? |
|
|
7690 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7448 | (exit $ac_status); }; }; then |
7691 | (exit $ac_status); }; }; then |
7449 | ac_cv_header_time=yes |
7692 | ac_cv_header_time=yes |
7450 | else |
7693 | else |
7451 | echo "$as_me: failed program was:" >&5 |
7694 | echo "$as_me: failed program was:" >&5 |
7452 | sed 's/^/| /' conftest.$ac_ext >&5 |
7695 | sed 's/^/| /' conftest.$ac_ext >&5 |
7453 | |
7696 | |
7454 | ac_cv_header_time=no |
7697 | ac_cv_header_time=no |
7455 | fi |
7698 | fi |
7456 | rm -f conftest.$ac_objext conftest.$ac_ext |
7699 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7457 | fi |
7700 | fi |
7458 | echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
7701 | echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
7459 | echo "${ECHO_T}$ac_cv_header_time" >&6 |
7702 | echo "${ECHO_T}$ac_cv_header_time" >&6 |
7460 | if test $ac_cv_header_time = yes; then |
7703 | if test $ac_cv_header_time = yes; then |
7461 | |
7704 | |
… | |
… | |
7469 | echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 |
7712 | 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 |
7713 | if test "${ac_cv_struct_tm+set}" = set; then |
7471 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7714 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7472 | else |
7715 | else |
7473 | cat >conftest.$ac_ext <<_ACEOF |
7716 | cat >conftest.$ac_ext <<_ACEOF |
7474 | #line $LINENO "configure" |
|
|
7475 | /* confdefs.h. */ |
7717 | /* confdefs.h. */ |
7476 | _ACEOF |
7718 | _ACEOF |
7477 | cat confdefs.h >>conftest.$ac_ext |
7719 | cat confdefs.h >>conftest.$ac_ext |
7478 | cat >>conftest.$ac_ext <<_ACEOF |
7720 | cat >>conftest.$ac_ext <<_ACEOF |
7479 | /* end confdefs.h. */ |
7721 | /* end confdefs.h. */ |
… | |
… | |
7488 | return 0; |
7730 | return 0; |
7489 | } |
7731 | } |
7490 | _ACEOF |
7732 | _ACEOF |
7491 | rm -f conftest.$ac_objext |
7733 | rm -f conftest.$ac_objext |
7492 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7734 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7493 | (eval $ac_compile) 2>&5 |
7735 | (eval $ac_compile) 2>conftest.er1 |
7494 | ac_status=$? |
7736 | ac_status=$? |
|
|
7737 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7738 | rm -f conftest.er1 |
|
|
7739 | cat conftest.err >&5 |
7495 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7740 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7496 | (exit $ac_status); } && |
7741 | (exit $ac_status); } && |
7497 | { ac_try='test -s conftest.$ac_objext' |
7742 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7498 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7743 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7499 | (eval $ac_try) 2>&5 |
7744 | (eval $ac_try) 2>&5 |
7500 | ac_status=$? |
7745 | ac_status=$? |
7501 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7746 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7747 | (exit $ac_status); }; } && |
|
|
7748 | { ac_try='test -s conftest.$ac_objext' |
|
|
7749 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7750 | (eval $ac_try) 2>&5 |
|
|
7751 | ac_status=$? |
|
|
7752 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7502 | (exit $ac_status); }; }; then |
7753 | (exit $ac_status); }; }; then |
7503 | ac_cv_struct_tm=time.h |
7754 | ac_cv_struct_tm=time.h |
7504 | else |
7755 | else |
7505 | echo "$as_me: failed program was:" >&5 |
7756 | echo "$as_me: failed program was:" >&5 |
7506 | sed 's/^/| /' conftest.$ac_ext >&5 |
7757 | sed 's/^/| /' conftest.$ac_ext >&5 |
7507 | |
7758 | |
7508 | ac_cv_struct_tm=sys/time.h |
7759 | ac_cv_struct_tm=sys/time.h |
7509 | fi |
7760 | fi |
7510 | rm -f conftest.$ac_objext conftest.$ac_ext |
7761 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7511 | fi |
7762 | fi |
7512 | echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 |
7763 | echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 |
7513 | echo "${ECHO_T}$ac_cv_struct_tm" >&6 |
7764 | echo "${ECHO_T}$ac_cv_struct_tm" >&6 |
7514 | if test $ac_cv_struct_tm = sys/time.h; then |
7765 | if test $ac_cv_struct_tm = sys/time.h; then |
7515 | |
7766 | |
… | |
… | |
7518 | _ACEOF |
7769 | _ACEOF |
7519 | |
7770 | |
7520 | fi |
7771 | fi |
7521 | |
7772 | |
7522 | |
7773 | |
|
|
7774 | echo "$as_me:$LINENO: checking for socklen_t" >&5 |
|
|
7775 | echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6 |
|
|
7776 | if test "${ac_cv_type_socklen_t+set}" = set; then |
|
|
7777 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7778 | else |
7523 | |
7779 | |
|
|
7780 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7781 | /* confdefs.h. */ |
|
|
7782 | _ACEOF |
|
|
7783 | cat confdefs.h >>conftest.$ac_ext |
|
|
7784 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7785 | /* end confdefs.h. */ |
|
|
7786 | #include <sys/types.h> |
|
|
7787 | #include <sys/socket.h> |
|
|
7788 | int |
|
|
7789 | main () |
|
|
7790 | { |
|
|
7791 | socklen_t len = 42; return len; |
|
|
7792 | ; |
|
|
7793 | return 0; |
|
|
7794 | } |
|
|
7795 | _ACEOF |
|
|
7796 | rm -f conftest.$ac_objext |
|
|
7797 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
7798 | (eval $ac_compile) 2>conftest.er1 |
|
|
7799 | ac_status=$? |
|
|
7800 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7801 | rm -f conftest.er1 |
|
|
7802 | cat conftest.err >&5 |
|
|
7803 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7804 | (exit $ac_status); } && |
|
|
7805 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
7806 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7807 | (eval $ac_try) 2>&5 |
|
|
7808 | ac_status=$? |
|
|
7809 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7810 | (exit $ac_status); }; } && |
|
|
7811 | { ac_try='test -s conftest.$ac_objext' |
|
|
7812 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7813 | (eval $ac_try) 2>&5 |
|
|
7814 | ac_status=$? |
|
|
7815 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7816 | (exit $ac_status); }; }; then |
|
|
7817 | ac_cv_type_socklen_t=yes |
|
|
7818 | else |
|
|
7819 | echo "$as_me: failed program was:" >&5 |
|
|
7820 | sed 's/^/| /' conftest.$ac_ext >&5 |
7524 | |
7821 | |
7525 | for ac_func in poll mlockall |
7822 | ac_cv_type_socklen_t=no |
|
|
7823 | fi |
|
|
7824 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7825 | |
|
|
7826 | fi |
|
|
7827 | echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 |
|
|
7828 | echo "${ECHO_T}$ac_cv_type_socklen_t" >&6 |
|
|
7829 | if test $ac_cv_type_socklen_t = yes; then |
|
|
7830 | |
|
|
7831 | cat >>confdefs.h <<\_ACEOF |
|
|
7832 | #define HAVE_SOCKLEN_T 1 |
|
|
7833 | _ACEOF |
|
|
7834 | |
|
|
7835 | fi |
|
|
7836 | |
|
|
7837 | echo "$as_me:$LINENO: checking for struct addrinfo" >&5 |
|
|
7838 | echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6 |
|
|
7839 | if test "${ac_cv_struct_addrinfo+set}" = set; then |
|
|
7840 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7841 | else |
|
|
7842 | |
|
|
7843 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7844 | /* confdefs.h. */ |
|
|
7845 | _ACEOF |
|
|
7846 | cat confdefs.h >>conftest.$ac_ext |
|
|
7847 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7848 | /* end confdefs.h. */ |
|
|
7849 | #include <sys/types.h> |
|
|
7850 | #include <sys/socket.h> |
|
|
7851 | #include <netdb.h> |
|
|
7852 | int |
|
|
7853 | main () |
|
|
7854 | { |
|
|
7855 | struct addrinfo ai; ai.ai_family = AF_INET; return ai.ai_family; |
|
|
7856 | ; |
|
|
7857 | return 0; |
|
|
7858 | } |
|
|
7859 | _ACEOF |
|
|
7860 | rm -f conftest.$ac_objext |
|
|
7861 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
7862 | (eval $ac_compile) 2>conftest.er1 |
|
|
7863 | ac_status=$? |
|
|
7864 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7865 | rm -f conftest.er1 |
|
|
7866 | cat conftest.err >&5 |
|
|
7867 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7868 | (exit $ac_status); } && |
|
|
7869 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
7870 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7871 | (eval $ac_try) 2>&5 |
|
|
7872 | ac_status=$? |
|
|
7873 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7874 | (exit $ac_status); }; } && |
|
|
7875 | { ac_try='test -s conftest.$ac_objext' |
|
|
7876 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7877 | (eval $ac_try) 2>&5 |
|
|
7878 | ac_status=$? |
|
|
7879 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7880 | (exit $ac_status); }; }; then |
|
|
7881 | ac_cv_struct_addrinfo=yes |
|
|
7882 | else |
|
|
7883 | echo "$as_me: failed program was:" >&5 |
|
|
7884 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7885 | |
|
|
7886 | ac_cv_struct_addrinfo=no |
|
|
7887 | fi |
|
|
7888 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7889 | |
|
|
7890 | fi |
|
|
7891 | echo "$as_me:$LINENO: result: $ac_cv_struct_addrinfo" >&5 |
|
|
7892 | echo "${ECHO_T}$ac_cv_struct_addrinfo" >&6 |
|
|
7893 | if test $ac_cv_struct_addrinfo = yes; then |
|
|
7894 | |
|
|
7895 | cat >>confdefs.h <<\_ACEOF |
|
|
7896 | #define HAVE_STRUCT_ADDRINFO 1 |
|
|
7897 | _ACEOF |
|
|
7898 | |
|
|
7899 | fi |
|
|
7900 | |
|
|
7901 | echo "$as_me:$LINENO: checking return type of signal handlers" >&5 |
|
|
7902 | echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 |
|
|
7903 | if test "${ac_cv_type_signal+set}" = set; then |
|
|
7904 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7905 | else |
|
|
7906 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7907 | /* confdefs.h. */ |
|
|
7908 | _ACEOF |
|
|
7909 | cat confdefs.h >>conftest.$ac_ext |
|
|
7910 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7911 | /* end confdefs.h. */ |
|
|
7912 | #include <sys/types.h> |
|
|
7913 | #include <signal.h> |
|
|
7914 | #ifdef signal |
|
|
7915 | # undef signal |
|
|
7916 | #endif |
|
|
7917 | #ifdef __cplusplus |
|
|
7918 | extern "C" void (*signal (int, void (*)(int)))(int); |
|
|
7919 | #else |
|
|
7920 | void (*signal ()) (); |
|
|
7921 | #endif |
|
|
7922 | |
|
|
7923 | int |
|
|
7924 | main () |
|
|
7925 | { |
|
|
7926 | int i; |
|
|
7927 | ; |
|
|
7928 | return 0; |
|
|
7929 | } |
|
|
7930 | _ACEOF |
|
|
7931 | rm -f conftest.$ac_objext |
|
|
7932 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
7933 | (eval $ac_compile) 2>conftest.er1 |
|
|
7934 | ac_status=$? |
|
|
7935 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7936 | rm -f conftest.er1 |
|
|
7937 | cat conftest.err >&5 |
|
|
7938 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7939 | (exit $ac_status); } && |
|
|
7940 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
7941 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7942 | (eval $ac_try) 2>&5 |
|
|
7943 | ac_status=$? |
|
|
7944 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7945 | (exit $ac_status); }; } && |
|
|
7946 | { ac_try='test -s conftest.$ac_objext' |
|
|
7947 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7948 | (eval $ac_try) 2>&5 |
|
|
7949 | ac_status=$? |
|
|
7950 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7951 | (exit $ac_status); }; }; then |
|
|
7952 | ac_cv_type_signal=void |
|
|
7953 | else |
|
|
7954 | echo "$as_me: failed program was:" >&5 |
|
|
7955 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7956 | |
|
|
7957 | ac_cv_type_signal=int |
|
|
7958 | fi |
|
|
7959 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7960 | fi |
|
|
7961 | echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 |
|
|
7962 | echo "${ECHO_T}$ac_cv_type_signal" >&6 |
|
|
7963 | |
|
|
7964 | cat >>confdefs.h <<_ACEOF |
|
|
7965 | #define RETSIGTYPE $ac_cv_type_signal |
|
|
7966 | _ACEOF |
|
|
7967 | |
|
|
7968 | |
|
|
7969 | |
|
|
7970 | ac_ext=c |
|
|
7971 | ac_cpp='$CPP $CPPFLAGS' |
|
|
7972 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
7973 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
7974 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
7975 | |
|
|
7976 | |
|
|
7977 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
|
|
7978 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
|
|
7979 | if test "${ac_cv_header_stdc+set}" = set; then |
|
|
7980 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7981 | else |
|
|
7982 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7983 | /* confdefs.h. */ |
|
|
7984 | _ACEOF |
|
|
7985 | cat confdefs.h >>conftest.$ac_ext |
|
|
7986 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7987 | /* end confdefs.h. */ |
|
|
7988 | #include <stdlib.h> |
|
|
7989 | #include <stdarg.h> |
|
|
7990 | #include <string.h> |
|
|
7991 | #include <float.h> |
|
|
7992 | |
|
|
7993 | int |
|
|
7994 | main () |
|
|
7995 | { |
|
|
7996 | |
|
|
7997 | ; |
|
|
7998 | return 0; |
|
|
7999 | } |
|
|
8000 | _ACEOF |
|
|
8001 | rm -f conftest.$ac_objext |
|
|
8002 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
8003 | (eval $ac_compile) 2>conftest.er1 |
|
|
8004 | ac_status=$? |
|
|
8005 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8006 | rm -f conftest.er1 |
|
|
8007 | cat conftest.err >&5 |
|
|
8008 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8009 | (exit $ac_status); } && |
|
|
8010 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
8011 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8012 | (eval $ac_try) 2>&5 |
|
|
8013 | ac_status=$? |
|
|
8014 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8015 | (exit $ac_status); }; } && |
|
|
8016 | { ac_try='test -s conftest.$ac_objext' |
|
|
8017 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8018 | (eval $ac_try) 2>&5 |
|
|
8019 | ac_status=$? |
|
|
8020 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8021 | (exit $ac_status); }; }; then |
|
|
8022 | ac_cv_header_stdc=yes |
|
|
8023 | else |
|
|
8024 | echo "$as_me: failed program was:" >&5 |
|
|
8025 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8026 | |
|
|
8027 | ac_cv_header_stdc=no |
|
|
8028 | fi |
|
|
8029 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8030 | |
|
|
8031 | if test $ac_cv_header_stdc = yes; then |
|
|
8032 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
|
8033 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8034 | /* confdefs.h. */ |
|
|
8035 | _ACEOF |
|
|
8036 | cat confdefs.h >>conftest.$ac_ext |
|
|
8037 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8038 | /* end confdefs.h. */ |
|
|
8039 | #include <string.h> |
|
|
8040 | |
|
|
8041 | _ACEOF |
|
|
8042 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
8043 | $EGREP "memchr" >/dev/null 2>&1; then |
|
|
8044 | : |
|
|
8045 | else |
|
|
8046 | ac_cv_header_stdc=no |
|
|
8047 | fi |
|
|
8048 | rm -f conftest* |
|
|
8049 | |
|
|
8050 | fi |
|
|
8051 | |
|
|
8052 | if test $ac_cv_header_stdc = yes; then |
|
|
8053 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
|
8054 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8055 | /* confdefs.h. */ |
|
|
8056 | _ACEOF |
|
|
8057 | cat confdefs.h >>conftest.$ac_ext |
|
|
8058 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8059 | /* end confdefs.h. */ |
|
|
8060 | #include <stdlib.h> |
|
|
8061 | |
|
|
8062 | _ACEOF |
|
|
8063 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
8064 | $EGREP "free" >/dev/null 2>&1; then |
|
|
8065 | : |
|
|
8066 | else |
|
|
8067 | ac_cv_header_stdc=no |
|
|
8068 | fi |
|
|
8069 | rm -f conftest* |
|
|
8070 | |
|
|
8071 | fi |
|
|
8072 | |
|
|
8073 | if test $ac_cv_header_stdc = yes; then |
|
|
8074 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
|
8075 | if test "$cross_compiling" = yes; then |
|
|
8076 | : |
|
|
8077 | else |
|
|
8078 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8079 | /* confdefs.h. */ |
|
|
8080 | _ACEOF |
|
|
8081 | cat confdefs.h >>conftest.$ac_ext |
|
|
8082 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8083 | /* end confdefs.h. */ |
|
|
8084 | #include <ctype.h> |
|
|
8085 | #if ((' ' & 0x0FF) == 0x020) |
|
|
8086 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
|
8087 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
|
8088 | #else |
|
|
8089 | # define ISLOWER(c) \ |
|
|
8090 | (('a' <= (c) && (c) <= 'i') \ |
|
|
8091 | || ('j' <= (c) && (c) <= 'r') \ |
|
|
8092 | || ('s' <= (c) && (c) <= 'z')) |
|
|
8093 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
|
8094 | #endif |
|
|
8095 | |
|
|
8096 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
|
8097 | int |
|
|
8098 | main () |
|
|
8099 | { |
|
|
8100 | int i; |
|
|
8101 | for (i = 0; i < 256; i++) |
|
|
8102 | if (XOR (islower (i), ISLOWER (i)) |
|
|
8103 | || toupper (i) != TOUPPER (i)) |
|
|
8104 | exit(2); |
|
|
8105 | exit (0); |
|
|
8106 | } |
|
|
8107 | _ACEOF |
|
|
8108 | rm -f conftest$ac_exeext |
|
|
8109 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
8110 | (eval $ac_link) 2>&5 |
|
|
8111 | ac_status=$? |
|
|
8112 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8113 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
8114 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8115 | (eval $ac_try) 2>&5 |
|
|
8116 | ac_status=$? |
|
|
8117 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8118 | (exit $ac_status); }; }; then |
|
|
8119 | : |
|
|
8120 | else |
|
|
8121 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
8122 | echo "$as_me: failed program was:" >&5 |
|
|
8123 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8124 | |
|
|
8125 | ( exit $ac_status ) |
|
|
8126 | ac_cv_header_stdc=no |
|
|
8127 | fi |
|
|
8128 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
8129 | fi |
|
|
8130 | fi |
|
|
8131 | fi |
|
|
8132 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
|
|
8133 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
|
|
8134 | if test $ac_cv_header_stdc = yes; then |
|
|
8135 | |
|
|
8136 | cat >>confdefs.h <<\_ACEOF |
|
|
8137 | #define STDC_HEADERS 1 |
|
|
8138 | _ACEOF |
|
|
8139 | |
|
|
8140 | fi |
|
|
8141 | |
|
|
8142 | |
|
|
8143 | |
|
|
8144 | |
|
|
8145 | |
|
|
8146 | |
|
|
8147 | |
|
|
8148 | |
|
|
8149 | |
|
|
8150 | |
|
|
8151 | |
|
|
8152 | |
|
|
8153 | for ac_func in asprintf daemon get_current_dir_name putenv select strerror strsignal strtol unsetenv mlockall |
7526 | do |
8154 | do |
7527 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8155 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
7528 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
8156 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
7529 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
8157 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
7530 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
8158 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
7531 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8159 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7532 | else |
8160 | else |
7533 | cat >conftest.$ac_ext <<_ACEOF |
8161 | cat >conftest.$ac_ext <<_ACEOF |
7534 | #line $LINENO "configure" |
|
|
7535 | /* confdefs.h. */ |
8162 | /* confdefs.h. */ |
7536 | _ACEOF |
8163 | _ACEOF |
7537 | cat confdefs.h >>conftest.$ac_ext |
8164 | cat confdefs.h >>conftest.$ac_ext |
7538 | cat >>conftest.$ac_ext <<_ACEOF |
8165 | cat >>conftest.$ac_ext <<_ACEOF |
7539 | /* end confdefs.h. */ |
8166 | /* end confdefs.h. */ |
|
|
8167 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
8168 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
8169 | #define $ac_func innocuous_$ac_func |
|
|
8170 | |
7540 | /* System header to define __stub macros and hopefully few prototypes, |
8171 | /* System header to define __stub macros and hopefully few prototypes, |
7541 | which can conflict with char $ac_func (); below. |
8172 | which can conflict with char $ac_func (); below. |
7542 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8173 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
7543 | <limits.h> exists even on freestanding compilers. */ |
8174 | <limits.h> exists even on freestanding compilers. */ |
|
|
8175 | |
7544 | #ifdef __STDC__ |
8176 | #ifdef __STDC__ |
7545 | # include <limits.h> |
8177 | # include <limits.h> |
7546 | #else |
8178 | #else |
7547 | # include <assert.h> |
8179 | # include <assert.h> |
7548 | #endif |
8180 | #endif |
|
|
8181 | |
|
|
8182 | #undef $ac_func |
|
|
8183 | |
7549 | /* Override any gcc2 internal prototype to avoid an error. */ |
8184 | /* Override any gcc2 internal prototype to avoid an error. */ |
7550 | #ifdef __cplusplus |
8185 | #ifdef __cplusplus |
7551 | extern "C" |
8186 | extern "C" |
7552 | { |
8187 | { |
7553 | #endif |
8188 | #endif |
… | |
… | |
7574 | return 0; |
8209 | return 0; |
7575 | } |
8210 | } |
7576 | _ACEOF |
8211 | _ACEOF |
7577 | rm -f conftest.$ac_objext conftest$ac_exeext |
8212 | rm -f conftest.$ac_objext conftest$ac_exeext |
7578 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8213 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7579 | (eval $ac_link) 2>&5 |
8214 | (eval $ac_link) 2>conftest.er1 |
7580 | ac_status=$? |
8215 | ac_status=$? |
|
|
8216 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8217 | rm -f conftest.er1 |
|
|
8218 | cat conftest.err >&5 |
7581 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8219 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7582 | (exit $ac_status); } && |
8220 | (exit $ac_status); } && |
7583 | { ac_try='test -s conftest$ac_exeext' |
8221 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
7584 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8222 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7585 | (eval $ac_try) 2>&5 |
8223 | (eval $ac_try) 2>&5 |
7586 | ac_status=$? |
8224 | ac_status=$? |
7587 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8225 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8226 | (exit $ac_status); }; } && |
|
|
8227 | { ac_try='test -s conftest$ac_exeext' |
|
|
8228 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8229 | (eval $ac_try) 2>&5 |
|
|
8230 | ac_status=$? |
|
|
8231 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7588 | (exit $ac_status); }; }; then |
8232 | (exit $ac_status); }; }; then |
7589 | eval "$as_ac_var=yes" |
8233 | eval "$as_ac_var=yes" |
7590 | else |
8234 | else |
7591 | echo "$as_me: failed program was:" >&5 |
8235 | echo "$as_me: failed program was:" >&5 |
7592 | sed 's/^/| /' conftest.$ac_ext >&5 |
8236 | sed 's/^/| /' conftest.$ac_ext >&5 |
7593 | |
8237 | |
7594 | eval "$as_ac_var=no" |
8238 | eval "$as_ac_var=no" |
7595 | fi |
8239 | 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 |
8240 | 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 |
8241 | 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 |
8242 | fi |
8032 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
8243 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
8033 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
8244 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
8034 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
8245 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
8035 | cat >>confdefs.h <<_ACEOF |
8246 | cat >>confdefs.h <<_ACEOF |
… | |
… | |
8046 | echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 |
8257 | echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 |
8047 | if test "${ac_cv_working_alloca_h+set}" = set; then |
8258 | if test "${ac_cv_working_alloca_h+set}" = set; then |
8048 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8259 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8049 | else |
8260 | else |
8050 | cat >conftest.$ac_ext <<_ACEOF |
8261 | cat >conftest.$ac_ext <<_ACEOF |
8051 | #line $LINENO "configure" |
|
|
8052 | /* confdefs.h. */ |
8262 | /* confdefs.h. */ |
8053 | _ACEOF |
8263 | _ACEOF |
8054 | cat confdefs.h >>conftest.$ac_ext |
8264 | cat confdefs.h >>conftest.$ac_ext |
8055 | cat >>conftest.$ac_ext <<_ACEOF |
8265 | cat >>conftest.$ac_ext <<_ACEOF |
8056 | /* end confdefs.h. */ |
8266 | /* end confdefs.h. */ |
… | |
… | |
8063 | return 0; |
8273 | return 0; |
8064 | } |
8274 | } |
8065 | _ACEOF |
8275 | _ACEOF |
8066 | rm -f conftest.$ac_objext conftest$ac_exeext |
8276 | rm -f conftest.$ac_objext conftest$ac_exeext |
8067 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8277 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8068 | (eval $ac_link) 2>&5 |
8278 | (eval $ac_link) 2>conftest.er1 |
8069 | ac_status=$? |
8279 | ac_status=$? |
|
|
8280 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8281 | rm -f conftest.er1 |
|
|
8282 | cat conftest.err >&5 |
8070 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8283 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8071 | (exit $ac_status); } && |
8284 | (exit $ac_status); } && |
8072 | { ac_try='test -s conftest$ac_exeext' |
8285 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8073 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8286 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8074 | (eval $ac_try) 2>&5 |
8287 | (eval $ac_try) 2>&5 |
8075 | ac_status=$? |
8288 | ac_status=$? |
8076 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8289 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8290 | (exit $ac_status); }; } && |
|
|
8291 | { ac_try='test -s conftest$ac_exeext' |
|
|
8292 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8293 | (eval $ac_try) 2>&5 |
|
|
8294 | ac_status=$? |
|
|
8295 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8077 | (exit $ac_status); }; }; then |
8296 | (exit $ac_status); }; }; then |
8078 | ac_cv_working_alloca_h=yes |
8297 | ac_cv_working_alloca_h=yes |
8079 | else |
8298 | else |
8080 | echo "$as_me: failed program was:" >&5 |
8299 | echo "$as_me: failed program was:" >&5 |
8081 | sed 's/^/| /' conftest.$ac_ext >&5 |
8300 | sed 's/^/| /' conftest.$ac_ext >&5 |
8082 | |
8301 | |
8083 | ac_cv_working_alloca_h=no |
8302 | ac_cv_working_alloca_h=no |
8084 | fi |
8303 | fi |
8085 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8304 | rm -f conftest.err conftest.$ac_objext \ |
|
|
8305 | conftest$ac_exeext conftest.$ac_ext |
8086 | fi |
8306 | fi |
8087 | echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 |
8307 | echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 |
8088 | echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 |
8308 | echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 |
8089 | if test $ac_cv_working_alloca_h = yes; then |
8309 | if test $ac_cv_working_alloca_h = yes; then |
8090 | |
8310 | |
… | |
… | |
8098 | echo $ECHO_N "checking for alloca... $ECHO_C" >&6 |
8318 | echo $ECHO_N "checking for alloca... $ECHO_C" >&6 |
8099 | if test "${ac_cv_func_alloca_works+set}" = set; then |
8319 | if test "${ac_cv_func_alloca_works+set}" = set; then |
8100 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8320 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8101 | else |
8321 | else |
8102 | cat >conftest.$ac_ext <<_ACEOF |
8322 | cat >conftest.$ac_ext <<_ACEOF |
8103 | #line $LINENO "configure" |
|
|
8104 | /* confdefs.h. */ |
8323 | /* confdefs.h. */ |
8105 | _ACEOF |
8324 | _ACEOF |
8106 | cat confdefs.h >>conftest.$ac_ext |
8325 | cat confdefs.h >>conftest.$ac_ext |
8107 | cat >>conftest.$ac_ext <<_ACEOF |
8326 | cat >>conftest.$ac_ext <<_ACEOF |
8108 | /* end confdefs.h. */ |
8327 | /* end confdefs.h. */ |
… | |
… | |
8135 | return 0; |
8354 | return 0; |
8136 | } |
8355 | } |
8137 | _ACEOF |
8356 | _ACEOF |
8138 | rm -f conftest.$ac_objext conftest$ac_exeext |
8357 | rm -f conftest.$ac_objext conftest$ac_exeext |
8139 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8358 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8140 | (eval $ac_link) 2>&5 |
8359 | (eval $ac_link) 2>conftest.er1 |
8141 | ac_status=$? |
8360 | ac_status=$? |
|
|
8361 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8362 | rm -f conftest.er1 |
|
|
8363 | cat conftest.err >&5 |
8142 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8364 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8143 | (exit $ac_status); } && |
8365 | (exit $ac_status); } && |
8144 | { ac_try='test -s conftest$ac_exeext' |
8366 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8145 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8367 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8146 | (eval $ac_try) 2>&5 |
8368 | (eval $ac_try) 2>&5 |
8147 | ac_status=$? |
8369 | ac_status=$? |
8148 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8370 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8371 | (exit $ac_status); }; } && |
|
|
8372 | { ac_try='test -s conftest$ac_exeext' |
|
|
8373 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8374 | (eval $ac_try) 2>&5 |
|
|
8375 | ac_status=$? |
|
|
8376 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8149 | (exit $ac_status); }; }; then |
8377 | (exit $ac_status); }; }; then |
8150 | ac_cv_func_alloca_works=yes |
8378 | ac_cv_func_alloca_works=yes |
8151 | else |
8379 | else |
8152 | echo "$as_me: failed program was:" >&5 |
8380 | echo "$as_me: failed program was:" >&5 |
8153 | sed 's/^/| /' conftest.$ac_ext >&5 |
8381 | sed 's/^/| /' conftest.$ac_ext >&5 |
8154 | |
8382 | |
8155 | ac_cv_func_alloca_works=no |
8383 | ac_cv_func_alloca_works=no |
8156 | fi |
8384 | fi |
8157 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8385 | rm -f conftest.err conftest.$ac_objext \ |
|
|
8386 | conftest$ac_exeext conftest.$ac_ext |
8158 | fi |
8387 | fi |
8159 | echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 |
8388 | echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 |
8160 | echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 |
8389 | echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 |
8161 | |
8390 | |
8162 | if test $ac_cv_func_alloca_works = yes; then |
8391 | if test $ac_cv_func_alloca_works = yes; then |
… | |
… | |
8182 | echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 |
8411 | echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 |
8183 | if test "${ac_cv_os_cray+set}" = set; then |
8412 | if test "${ac_cv_os_cray+set}" = set; then |
8184 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8413 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8185 | else |
8414 | else |
8186 | cat >conftest.$ac_ext <<_ACEOF |
8415 | cat >conftest.$ac_ext <<_ACEOF |
8187 | #line $LINENO "configure" |
|
|
8188 | /* confdefs.h. */ |
8416 | /* confdefs.h. */ |
8189 | _ACEOF |
8417 | _ACEOF |
8190 | cat confdefs.h >>conftest.$ac_ext |
8418 | cat confdefs.h >>conftest.$ac_ext |
8191 | cat >>conftest.$ac_ext <<_ACEOF |
8419 | cat >>conftest.$ac_ext <<_ACEOF |
8192 | /* end confdefs.h. */ |
8420 | /* end confdefs.h. */ |
… | |
… | |
8215 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
8443 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
8216 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
8444 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
8217 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8445 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8218 | else |
8446 | else |
8219 | cat >conftest.$ac_ext <<_ACEOF |
8447 | cat >conftest.$ac_ext <<_ACEOF |
8220 | #line $LINENO "configure" |
|
|
8221 | /* confdefs.h. */ |
8448 | /* confdefs.h. */ |
8222 | _ACEOF |
8449 | _ACEOF |
8223 | cat confdefs.h >>conftest.$ac_ext |
8450 | cat confdefs.h >>conftest.$ac_ext |
8224 | cat >>conftest.$ac_ext <<_ACEOF |
8451 | cat >>conftest.$ac_ext <<_ACEOF |
8225 | /* end confdefs.h. */ |
8452 | /* end confdefs.h. */ |
|
|
8453 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
8454 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
8455 | #define $ac_func innocuous_$ac_func |
|
|
8456 | |
8226 | /* System header to define __stub macros and hopefully few prototypes, |
8457 | /* System header to define __stub macros and hopefully few prototypes, |
8227 | which can conflict with char $ac_func (); below. |
8458 | which can conflict with char $ac_func (); below. |
8228 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8459 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8229 | <limits.h> exists even on freestanding compilers. */ |
8460 | <limits.h> exists even on freestanding compilers. */ |
|
|
8461 | |
8230 | #ifdef __STDC__ |
8462 | #ifdef __STDC__ |
8231 | # include <limits.h> |
8463 | # include <limits.h> |
8232 | #else |
8464 | #else |
8233 | # include <assert.h> |
8465 | # include <assert.h> |
8234 | #endif |
8466 | #endif |
|
|
8467 | |
|
|
8468 | #undef $ac_func |
|
|
8469 | |
8235 | /* Override any gcc2 internal prototype to avoid an error. */ |
8470 | /* Override any gcc2 internal prototype to avoid an error. */ |
8236 | #ifdef __cplusplus |
8471 | #ifdef __cplusplus |
8237 | extern "C" |
8472 | extern "C" |
8238 | { |
8473 | { |
8239 | #endif |
8474 | #endif |
… | |
… | |
8260 | return 0; |
8495 | return 0; |
8261 | } |
8496 | } |
8262 | _ACEOF |
8497 | _ACEOF |
8263 | rm -f conftest.$ac_objext conftest$ac_exeext |
8498 | rm -f conftest.$ac_objext conftest$ac_exeext |
8264 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8499 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8265 | (eval $ac_link) 2>&5 |
8500 | (eval $ac_link) 2>conftest.er1 |
8266 | ac_status=$? |
8501 | ac_status=$? |
|
|
8502 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8503 | rm -f conftest.er1 |
|
|
8504 | cat conftest.err >&5 |
8267 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8505 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8268 | (exit $ac_status); } && |
8506 | (exit $ac_status); } && |
8269 | { ac_try='test -s conftest$ac_exeext' |
8507 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8270 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8508 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8271 | (eval $ac_try) 2>&5 |
8509 | (eval $ac_try) 2>&5 |
8272 | ac_status=$? |
8510 | ac_status=$? |
8273 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8511 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8512 | (exit $ac_status); }; } && |
|
|
8513 | { ac_try='test -s conftest$ac_exeext' |
|
|
8514 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8515 | (eval $ac_try) 2>&5 |
|
|
8516 | ac_status=$? |
|
|
8517 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8274 | (exit $ac_status); }; }; then |
8518 | (exit $ac_status); }; }; then |
8275 | eval "$as_ac_var=yes" |
8519 | eval "$as_ac_var=yes" |
8276 | else |
8520 | else |
8277 | echo "$as_me: failed program was:" >&5 |
8521 | echo "$as_me: failed program was:" >&5 |
8278 | sed 's/^/| /' conftest.$ac_ext >&5 |
8522 | sed 's/^/| /' conftest.$ac_ext >&5 |
8279 | |
8523 | |
8280 | eval "$as_ac_var=no" |
8524 | eval "$as_ac_var=no" |
8281 | fi |
8525 | fi |
8282 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8526 | rm -f conftest.err conftest.$ac_objext \ |
|
|
8527 | conftest$ac_exeext conftest.$ac_ext |
8283 | fi |
8528 | fi |
8284 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
8529 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
8285 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
8530 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
8286 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
8531 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
8287 | |
8532 | |
… | |
… | |
8302 | else |
8547 | else |
8303 | if test "$cross_compiling" = yes; then |
8548 | if test "$cross_compiling" = yes; then |
8304 | ac_cv_c_stack_direction=0 |
8549 | ac_cv_c_stack_direction=0 |
8305 | else |
8550 | else |
8306 | cat >conftest.$ac_ext <<_ACEOF |
8551 | cat >conftest.$ac_ext <<_ACEOF |
8307 | #line $LINENO "configure" |
|
|
8308 | /* confdefs.h. */ |
8552 | /* confdefs.h. */ |
8309 | _ACEOF |
8553 | _ACEOF |
8310 | cat confdefs.h >>conftest.$ac_ext |
8554 | cat confdefs.h >>conftest.$ac_ext |
8311 | cat >>conftest.$ac_ext <<_ACEOF |
8555 | cat >>conftest.$ac_ext <<_ACEOF |
8312 | /* end confdefs.h. */ |
8556 | /* end confdefs.h. */ |
… | |
… | |
8369 | echo $ECHO_N "checking for socket... $ECHO_C" >&6 |
8613 | echo $ECHO_N "checking for socket... $ECHO_C" >&6 |
8370 | if test "${ac_cv_func_socket+set}" = set; then |
8614 | if test "${ac_cv_func_socket+set}" = set; then |
8371 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8615 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8372 | else |
8616 | else |
8373 | cat >conftest.$ac_ext <<_ACEOF |
8617 | cat >conftest.$ac_ext <<_ACEOF |
8374 | #line $LINENO "configure" |
|
|
8375 | /* confdefs.h. */ |
8618 | /* confdefs.h. */ |
8376 | _ACEOF |
8619 | _ACEOF |
8377 | cat confdefs.h >>conftest.$ac_ext |
8620 | cat confdefs.h >>conftest.$ac_ext |
8378 | cat >>conftest.$ac_ext <<_ACEOF |
8621 | cat >>conftest.$ac_ext <<_ACEOF |
8379 | /* end confdefs.h. */ |
8622 | /* end confdefs.h. */ |
|
|
8623 | /* Define socket to an innocuous variant, in case <limits.h> declares socket. |
|
|
8624 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
8625 | #define socket innocuous_socket |
|
|
8626 | |
8380 | /* System header to define __stub macros and hopefully few prototypes, |
8627 | /* System header to define __stub macros and hopefully few prototypes, |
8381 | which can conflict with char socket (); below. |
8628 | which can conflict with char socket (); below. |
8382 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8629 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8383 | <limits.h> exists even on freestanding compilers. */ |
8630 | <limits.h> exists even on freestanding compilers. */ |
|
|
8631 | |
8384 | #ifdef __STDC__ |
8632 | #ifdef __STDC__ |
8385 | # include <limits.h> |
8633 | # include <limits.h> |
8386 | #else |
8634 | #else |
8387 | # include <assert.h> |
8635 | # include <assert.h> |
8388 | #endif |
8636 | #endif |
|
|
8637 | |
|
|
8638 | #undef socket |
|
|
8639 | |
8389 | /* Override any gcc2 internal prototype to avoid an error. */ |
8640 | /* Override any gcc2 internal prototype to avoid an error. */ |
8390 | #ifdef __cplusplus |
8641 | #ifdef __cplusplus |
8391 | extern "C" |
8642 | extern "C" |
8392 | { |
8643 | { |
8393 | #endif |
8644 | #endif |
… | |
… | |
8414 | return 0; |
8665 | return 0; |
8415 | } |
8666 | } |
8416 | _ACEOF |
8667 | _ACEOF |
8417 | rm -f conftest.$ac_objext conftest$ac_exeext |
8668 | rm -f conftest.$ac_objext conftest$ac_exeext |
8418 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8669 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8419 | (eval $ac_link) 2>&5 |
8670 | (eval $ac_link) 2>conftest.er1 |
8420 | ac_status=$? |
8671 | ac_status=$? |
|
|
8672 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8673 | rm -f conftest.er1 |
|
|
8674 | cat conftest.err >&5 |
8421 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8675 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8422 | (exit $ac_status); } && |
8676 | (exit $ac_status); } && |
8423 | { ac_try='test -s conftest$ac_exeext' |
8677 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8424 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8678 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8425 | (eval $ac_try) 2>&5 |
8679 | (eval $ac_try) 2>&5 |
8426 | ac_status=$? |
8680 | ac_status=$? |
8427 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8681 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8682 | (exit $ac_status); }; } && |
|
|
8683 | { ac_try='test -s conftest$ac_exeext' |
|
|
8684 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8685 | (eval $ac_try) 2>&5 |
|
|
8686 | ac_status=$? |
|
|
8687 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8428 | (exit $ac_status); }; }; then |
8688 | (exit $ac_status); }; }; then |
8429 | ac_cv_func_socket=yes |
8689 | ac_cv_func_socket=yes |
8430 | else |
8690 | else |
8431 | echo "$as_me: failed program was:" >&5 |
8691 | echo "$as_me: failed program was:" >&5 |
8432 | sed 's/^/| /' conftest.$ac_ext >&5 |
8692 | sed 's/^/| /' conftest.$ac_ext >&5 |
8433 | |
8693 | |
8434 | ac_cv_func_socket=no |
8694 | ac_cv_func_socket=no |
8435 | fi |
8695 | fi |
8436 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8696 | rm -f conftest.err conftest.$ac_objext \ |
|
|
8697 | conftest$ac_exeext conftest.$ac_ext |
8437 | fi |
8698 | fi |
8438 | echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 |
8699 | echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 |
8439 | echo "${ECHO_T}$ac_cv_func_socket" >&6 |
8700 | echo "${ECHO_T}$ac_cv_func_socket" >&6 |
8440 | if test $ac_cv_func_socket = yes; then |
8701 | if test $ac_cv_func_socket = yes; then |
8441 | : |
8702 | : |
… | |
… | |
8448 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8709 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8449 | else |
8710 | else |
8450 | ac_check_lib_save_LIBS=$LIBS |
8711 | ac_check_lib_save_LIBS=$LIBS |
8451 | LIBS="-lsocket $LIBS" |
8712 | LIBS="-lsocket $LIBS" |
8452 | cat >conftest.$ac_ext <<_ACEOF |
8713 | cat >conftest.$ac_ext <<_ACEOF |
8453 | #line $LINENO "configure" |
|
|
8454 | /* confdefs.h. */ |
8714 | /* confdefs.h. */ |
8455 | _ACEOF |
8715 | _ACEOF |
8456 | cat confdefs.h >>conftest.$ac_ext |
8716 | cat confdefs.h >>conftest.$ac_ext |
8457 | cat >>conftest.$ac_ext <<_ACEOF |
8717 | cat >>conftest.$ac_ext <<_ACEOF |
8458 | /* end confdefs.h. */ |
8718 | /* end confdefs.h. */ |
… | |
… | |
8472 | return 0; |
8732 | return 0; |
8473 | } |
8733 | } |
8474 | _ACEOF |
8734 | _ACEOF |
8475 | rm -f conftest.$ac_objext conftest$ac_exeext |
8735 | rm -f conftest.$ac_objext conftest$ac_exeext |
8476 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8736 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8477 | (eval $ac_link) 2>&5 |
8737 | (eval $ac_link) 2>conftest.er1 |
8478 | ac_status=$? |
8738 | ac_status=$? |
|
|
8739 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8740 | rm -f conftest.er1 |
|
|
8741 | cat conftest.err >&5 |
8479 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8742 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8480 | (exit $ac_status); } && |
8743 | (exit $ac_status); } && |
8481 | { ac_try='test -s conftest$ac_exeext' |
8744 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8482 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8745 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8483 | (eval $ac_try) 2>&5 |
8746 | (eval $ac_try) 2>&5 |
8484 | ac_status=$? |
8747 | ac_status=$? |
8485 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8748 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8749 | (exit $ac_status); }; } && |
|
|
8750 | { ac_try='test -s conftest$ac_exeext' |
|
|
8751 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8752 | (eval $ac_try) 2>&5 |
|
|
8753 | ac_status=$? |
|
|
8754 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8486 | (exit $ac_status); }; }; then |
8755 | (exit $ac_status); }; }; then |
8487 | ac_cv_lib_socket_connect=yes |
8756 | ac_cv_lib_socket_connect=yes |
8488 | else |
8757 | else |
8489 | echo "$as_me: failed program was:" >&5 |
8758 | echo "$as_me: failed program was:" >&5 |
8490 | sed 's/^/| /' conftest.$ac_ext >&5 |
8759 | sed 's/^/| /' conftest.$ac_ext >&5 |
8491 | |
8760 | |
8492 | ac_cv_lib_socket_connect=no |
8761 | ac_cv_lib_socket_connect=no |
8493 | fi |
8762 | fi |
8494 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8763 | rm -f conftest.err conftest.$ac_objext \ |
|
|
8764 | conftest$ac_exeext conftest.$ac_ext |
8495 | LIBS=$ac_check_lib_save_LIBS |
8765 | LIBS=$ac_check_lib_save_LIBS |
8496 | fi |
8766 | fi |
8497 | echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 |
8767 | echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 |
8498 | echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6 |
8768 | echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6 |
8499 | if test $ac_cv_lib_socket_connect = yes; then |
8769 | if test $ac_cv_lib_socket_connect = yes; then |
… | |
… | |
8512 | echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 |
8782 | echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 |
8513 | if test "${ac_cv_func_gethostbyname+set}" = set; then |
8783 | if test "${ac_cv_func_gethostbyname+set}" = set; then |
8514 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8784 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8515 | else |
8785 | else |
8516 | cat >conftest.$ac_ext <<_ACEOF |
8786 | cat >conftest.$ac_ext <<_ACEOF |
8517 | #line $LINENO "configure" |
|
|
8518 | /* confdefs.h. */ |
8787 | /* confdefs.h. */ |
8519 | _ACEOF |
8788 | _ACEOF |
8520 | cat confdefs.h >>conftest.$ac_ext |
8789 | cat confdefs.h >>conftest.$ac_ext |
8521 | cat >>conftest.$ac_ext <<_ACEOF |
8790 | cat >>conftest.$ac_ext <<_ACEOF |
8522 | /* end confdefs.h. */ |
8791 | /* end confdefs.h. */ |
|
|
8792 | /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname. |
|
|
8793 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
8794 | #define gethostbyname innocuous_gethostbyname |
|
|
8795 | |
8523 | /* System header to define __stub macros and hopefully few prototypes, |
8796 | /* System header to define __stub macros and hopefully few prototypes, |
8524 | which can conflict with char gethostbyname (); below. |
8797 | which can conflict with char gethostbyname (); below. |
8525 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8798 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8526 | <limits.h> exists even on freestanding compilers. */ |
8799 | <limits.h> exists even on freestanding compilers. */ |
|
|
8800 | |
8527 | #ifdef __STDC__ |
8801 | #ifdef __STDC__ |
8528 | # include <limits.h> |
8802 | # include <limits.h> |
8529 | #else |
8803 | #else |
8530 | # include <assert.h> |
8804 | # include <assert.h> |
8531 | #endif |
8805 | #endif |
|
|
8806 | |
|
|
8807 | #undef gethostbyname |
|
|
8808 | |
8532 | /* Override any gcc2 internal prototype to avoid an error. */ |
8809 | /* Override any gcc2 internal prototype to avoid an error. */ |
8533 | #ifdef __cplusplus |
8810 | #ifdef __cplusplus |
8534 | extern "C" |
8811 | extern "C" |
8535 | { |
8812 | { |
8536 | #endif |
8813 | #endif |
… | |
… | |
8557 | return 0; |
8834 | return 0; |
8558 | } |
8835 | } |
8559 | _ACEOF |
8836 | _ACEOF |
8560 | rm -f conftest.$ac_objext conftest$ac_exeext |
8837 | rm -f conftest.$ac_objext conftest$ac_exeext |
8561 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8838 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8562 | (eval $ac_link) 2>&5 |
8839 | (eval $ac_link) 2>conftest.er1 |
8563 | ac_status=$? |
8840 | ac_status=$? |
|
|
8841 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8842 | rm -f conftest.er1 |
|
|
8843 | cat conftest.err >&5 |
8564 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8844 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8565 | (exit $ac_status); } && |
8845 | (exit $ac_status); } && |
8566 | { ac_try='test -s conftest$ac_exeext' |
8846 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8567 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8847 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8568 | (eval $ac_try) 2>&5 |
8848 | (eval $ac_try) 2>&5 |
8569 | ac_status=$? |
8849 | ac_status=$? |
8570 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8850 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8851 | (exit $ac_status); }; } && |
|
|
8852 | { ac_try='test -s conftest$ac_exeext' |
|
|
8853 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8854 | (eval $ac_try) 2>&5 |
|
|
8855 | ac_status=$? |
|
|
8856 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8571 | (exit $ac_status); }; }; then |
8857 | (exit $ac_status); }; }; then |
8572 | ac_cv_func_gethostbyname=yes |
8858 | ac_cv_func_gethostbyname=yes |
8573 | else |
8859 | else |
8574 | echo "$as_me: failed program was:" >&5 |
8860 | echo "$as_me: failed program was:" >&5 |
8575 | sed 's/^/| /' conftest.$ac_ext >&5 |
8861 | sed 's/^/| /' conftest.$ac_ext >&5 |
8576 | |
8862 | |
8577 | ac_cv_func_gethostbyname=no |
8863 | ac_cv_func_gethostbyname=no |
8578 | fi |
8864 | fi |
8579 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8865 | rm -f conftest.err conftest.$ac_objext \ |
|
|
8866 | conftest$ac_exeext conftest.$ac_ext |
8580 | fi |
8867 | fi |
8581 | echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 |
8868 | echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 |
8582 | echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 |
8869 | echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 |
8583 | if test $ac_cv_func_gethostbyname = yes; then |
8870 | if test $ac_cv_func_gethostbyname = yes; then |
8584 | : |
8871 | : |
… | |
… | |
8591 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8878 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8592 | else |
8879 | else |
8593 | ac_check_lib_save_LIBS=$LIBS |
8880 | ac_check_lib_save_LIBS=$LIBS |
8594 | LIBS="-lnsl $LIBS" |
8881 | LIBS="-lnsl $LIBS" |
8595 | cat >conftest.$ac_ext <<_ACEOF |
8882 | cat >conftest.$ac_ext <<_ACEOF |
8596 | #line $LINENO "configure" |
|
|
8597 | /* confdefs.h. */ |
8883 | /* confdefs.h. */ |
8598 | _ACEOF |
8884 | _ACEOF |
8599 | cat confdefs.h >>conftest.$ac_ext |
8885 | cat confdefs.h >>conftest.$ac_ext |
8600 | cat >>conftest.$ac_ext <<_ACEOF |
8886 | cat >>conftest.$ac_ext <<_ACEOF |
8601 | /* end confdefs.h. */ |
8887 | /* end confdefs.h. */ |
… | |
… | |
8615 | return 0; |
8901 | return 0; |
8616 | } |
8902 | } |
8617 | _ACEOF |
8903 | _ACEOF |
8618 | rm -f conftest.$ac_objext conftest$ac_exeext |
8904 | rm -f conftest.$ac_objext conftest$ac_exeext |
8619 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8905 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8620 | (eval $ac_link) 2>&5 |
8906 | (eval $ac_link) 2>conftest.er1 |
8621 | ac_status=$? |
8907 | ac_status=$? |
|
|
8908 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8909 | rm -f conftest.er1 |
|
|
8910 | cat conftest.err >&5 |
8622 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8911 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8623 | (exit $ac_status); } && |
8912 | (exit $ac_status); } && |
8624 | { ac_try='test -s conftest$ac_exeext' |
8913 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8625 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8914 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8626 | (eval $ac_try) 2>&5 |
8915 | (eval $ac_try) 2>&5 |
8627 | ac_status=$? |
8916 | ac_status=$? |
8628 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8917 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8918 | (exit $ac_status); }; } && |
|
|
8919 | { ac_try='test -s conftest$ac_exeext' |
|
|
8920 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8921 | (eval $ac_try) 2>&5 |
|
|
8922 | ac_status=$? |
|
|
8923 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8629 | (exit $ac_status); }; }; then |
8924 | (exit $ac_status); }; }; then |
8630 | ac_cv_lib_nsl_gethostbyname=yes |
8925 | ac_cv_lib_nsl_gethostbyname=yes |
8631 | else |
8926 | else |
8632 | echo "$as_me: failed program was:" >&5 |
8927 | echo "$as_me: failed program was:" >&5 |
8633 | sed 's/^/| /' conftest.$ac_ext >&5 |
8928 | sed 's/^/| /' conftest.$ac_ext >&5 |
8634 | |
8929 | |
8635 | ac_cv_lib_nsl_gethostbyname=no |
8930 | ac_cv_lib_nsl_gethostbyname=no |
8636 | fi |
8931 | fi |
8637 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8932 | rm -f conftest.err conftest.$ac_objext \ |
|
|
8933 | conftest$ac_exeext conftest.$ac_ext |
8638 | LIBS=$ac_check_lib_save_LIBS |
8934 | LIBS=$ac_check_lib_save_LIBS |
8639 | fi |
8935 | fi |
8640 | echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
8936 | echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
8641 | echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 |
8937 | echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 |
8642 | if test $ac_cv_lib_nsl_gethostbyname = yes; then |
8938 | if test $ac_cv_lib_nsl_gethostbyname = yes; then |
… | |
… | |
8686 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
8982 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
8687 | *ac_space=\ *) |
8983 | *ac_space=\ *) |
8688 | # `set' does not quote correctly, so add quotes (double-quote |
8984 | # `set' does not quote correctly, so add quotes (double-quote |
8689 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
8985 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
8690 | sed -n \ |
8986 | sed -n \ |
8691 | "s/'/'\\\\''/g; |
8987 | "s/'/'\\\\''/g; |
8692 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
8988 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
8693 | ;; |
8989 | ;; |
8694 | *) |
8990 | *) |
8695 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
8991 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
8696 | sed -n \ |
8992 | sed -n \ |
8697 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
8993 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
8698 | ;; |
8994 | ;; |
8699 | esac; |
8995 | esac; |
8700 | } | |
8996 | } | |
8701 | sed ' |
8997 | sed ' |
8702 | t clear |
8998 | t clear |
… | |
… | |
8731 | if test "${tinc_cv_linux_if_tun_h+set}" = set; then |
9027 | if test "${tinc_cv_linux_if_tun_h+set}" = set; then |
8732 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9028 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8733 | else |
9029 | else |
8734 | |
9030 | |
8735 | cat >conftest.$ac_ext <<_ACEOF |
9031 | cat >conftest.$ac_ext <<_ACEOF |
8736 | #line $LINENO "configure" |
|
|
8737 | /* confdefs.h. */ |
9032 | /* confdefs.h. */ |
8738 | _ACEOF |
9033 | _ACEOF |
8739 | cat confdefs.h >>conftest.$ac_ext |
9034 | cat confdefs.h >>conftest.$ac_ext |
8740 | cat >>conftest.$ac_ext <<_ACEOF |
9035 | cat >>conftest.$ac_ext <<_ACEOF |
8741 | /* end confdefs.h. */ |
9036 | /* end confdefs.h. */ |
… | |
… | |
8748 | return 0; |
9043 | return 0; |
8749 | } |
9044 | } |
8750 | _ACEOF |
9045 | _ACEOF |
8751 | rm -f conftest.$ac_objext |
9046 | rm -f conftest.$ac_objext |
8752 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9047 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8753 | (eval $ac_compile) 2>&5 |
9048 | (eval $ac_compile) 2>conftest.er1 |
8754 | ac_status=$? |
9049 | ac_status=$? |
|
|
9050 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9051 | rm -f conftest.er1 |
|
|
9052 | cat conftest.err >&5 |
8755 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9053 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8756 | (exit $ac_status); } && |
9054 | (exit $ac_status); } && |
8757 | { ac_try='test -s conftest.$ac_objext' |
9055 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8758 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9056 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8759 | (eval $ac_try) 2>&5 |
9057 | (eval $ac_try) 2>&5 |
8760 | ac_status=$? |
9058 | ac_status=$? |
8761 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9059 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9060 | (exit $ac_status); }; } && |
|
|
9061 | { ac_try='test -s conftest.$ac_objext' |
|
|
9062 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9063 | (eval $ac_try) 2>&5 |
|
|
9064 | ac_status=$? |
|
|
9065 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8762 | (exit $ac_status); }; }; then |
9066 | (exit $ac_status); }; }; then |
8763 | if_tun_h="\"$kerneldir/include/linux/if_tun.h\"" |
9067 | if_tun_h="\"$kerneldir/include/linux/if_tun.h\"" |
8764 | else |
9068 | else |
8765 | echo "$as_me: failed program was:" >&5 |
9069 | echo "$as_me: failed program was:" >&5 |
8766 | sed 's/^/| /' conftest.$ac_ext >&5 |
9070 | sed 's/^/| /' conftest.$ac_ext >&5 |
8767 | |
9071 | |
8768 | cat >conftest.$ac_ext <<_ACEOF |
9072 | cat >conftest.$ac_ext <<_ACEOF |
8769 | #line $LINENO "configure" |
|
|
8770 | /* confdefs.h. */ |
9073 | /* confdefs.h. */ |
8771 | _ACEOF |
9074 | _ACEOF |
8772 | cat confdefs.h >>conftest.$ac_ext |
9075 | cat confdefs.h >>conftest.$ac_ext |
8773 | cat >>conftest.$ac_ext <<_ACEOF |
9076 | cat >>conftest.$ac_ext <<_ACEOF |
8774 | /* end confdefs.h. */ |
9077 | /* end confdefs.h. */ |
… | |
… | |
8781 | return 0; |
9084 | return 0; |
8782 | } |
9085 | } |
8783 | _ACEOF |
9086 | _ACEOF |
8784 | rm -f conftest.$ac_objext |
9087 | rm -f conftest.$ac_objext |
8785 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9088 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8786 | (eval $ac_compile) 2>&5 |
9089 | (eval $ac_compile) 2>conftest.er1 |
8787 | ac_status=$? |
9090 | ac_status=$? |
|
|
9091 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9092 | rm -f conftest.er1 |
|
|
9093 | cat conftest.err >&5 |
8788 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9094 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8789 | (exit $ac_status); } && |
9095 | (exit $ac_status); } && |
8790 | { ac_try='test -s conftest.$ac_objext' |
9096 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8791 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9097 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8792 | (eval $ac_try) 2>&5 |
9098 | (eval $ac_try) 2>&5 |
8793 | ac_status=$? |
9099 | ac_status=$? |
8794 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9100 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9101 | (exit $ac_status); }; } && |
|
|
9102 | { ac_try='test -s conftest.$ac_objext' |
|
|
9103 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9104 | (eval $ac_try) 2>&5 |
|
|
9105 | ac_status=$? |
|
|
9106 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8795 | (exit $ac_status); }; }; then |
9107 | (exit $ac_status); }; }; then |
8796 | if_tun_h="default" |
9108 | if_tun_h="default" |
8797 | else |
9109 | else |
8798 | echo "$as_me: failed program was:" >&5 |
9110 | echo "$as_me: failed program was:" >&5 |
8799 | sed 's/^/| /' conftest.$ac_ext >&5 |
9111 | sed 's/^/| /' conftest.$ac_ext >&5 |
8800 | |
9112 | |
8801 | if_tun_h="no" |
9113 | if_tun_h="no" |
8802 | |
9114 | |
8803 | fi |
9115 | fi |
8804 | rm -f conftest.$ac_objext conftest.$ac_ext |
9116 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8805 | |
9117 | |
8806 | fi |
9118 | fi |
8807 | rm -f conftest.$ac_objext conftest.$ac_ext |
9119 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8808 | |
9120 | |
8809 | if test $if_tun_h = no; then |
9121 | if test $if_tun_h = no; then |
8810 | tinc_cv_linux_if_tun_h=none |
9122 | tinc_cv_linux_if_tun_h=none |
8811 | else |
9123 | else |
8812 | tinc_cv_linux_if_tun_h="$if_tun_h" |
9124 | tinc_cv_linux_if_tun_h="$if_tun_h" |
… | |
… | |
8828 | #define LINUX_IF_TUN_H $tinc_cv_linux_if_tun_h |
9140 | #define LINUX_IF_TUN_H $tinc_cv_linux_if_tun_h |
8829 | _ACEOF |
9141 | _ACEOF |
8830 | |
9142 | |
8831 | fi |
9143 | fi |
8832 | fi |
9144 | fi |
|
|
9145 | |
8833 | |
9146 | |
8834 | |
9147 | |
8835 | |
9148 | |
8836 | |
9149 | |
8837 | tinc_ac_save_CPPFLAGS="$CPPFLAGS" |
9150 | tinc_ac_save_CPPFLAGS="$CPPFLAGS" |
… | |
… | |
8875 | else |
9188 | else |
8876 | # Is the header compilable? |
9189 | # Is the header compilable? |
8877 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
9190 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
8878 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
9191 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
8879 | cat >conftest.$ac_ext <<_ACEOF |
9192 | cat >conftest.$ac_ext <<_ACEOF |
8880 | #line $LINENO "configure" |
|
|
8881 | /* confdefs.h. */ |
9193 | /* confdefs.h. */ |
8882 | _ACEOF |
9194 | _ACEOF |
8883 | cat confdefs.h >>conftest.$ac_ext |
9195 | cat confdefs.h >>conftest.$ac_ext |
8884 | cat >>conftest.$ac_ext <<_ACEOF |
9196 | cat >>conftest.$ac_ext <<_ACEOF |
8885 | /* end confdefs.h. */ |
9197 | /* end confdefs.h. */ |
8886 | $ac_includes_default |
9198 | $ac_includes_default |
8887 | #include <$ac_header> |
9199 | #include <$ac_header> |
8888 | _ACEOF |
9200 | _ACEOF |
8889 | rm -f conftest.$ac_objext |
9201 | rm -f conftest.$ac_objext |
8890 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9202 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8891 | (eval $ac_compile) 2>&5 |
9203 | (eval $ac_compile) 2>conftest.er1 |
8892 | ac_status=$? |
9204 | ac_status=$? |
|
|
9205 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9206 | rm -f conftest.er1 |
|
|
9207 | cat conftest.err >&5 |
8893 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9208 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8894 | (exit $ac_status); } && |
9209 | (exit $ac_status); } && |
8895 | { ac_try='test -s conftest.$ac_objext' |
9210 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8896 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9211 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8897 | (eval $ac_try) 2>&5 |
9212 | (eval $ac_try) 2>&5 |
8898 | ac_status=$? |
9213 | ac_status=$? |
8899 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9214 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9215 | (exit $ac_status); }; } && |
|
|
9216 | { ac_try='test -s conftest.$ac_objext' |
|
|
9217 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9218 | (eval $ac_try) 2>&5 |
|
|
9219 | ac_status=$? |
|
|
9220 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8900 | (exit $ac_status); }; }; then |
9221 | (exit $ac_status); }; }; then |
8901 | ac_header_compiler=yes |
9222 | ac_header_compiler=yes |
8902 | else |
9223 | else |
8903 | echo "$as_me: failed program was:" >&5 |
9224 | echo "$as_me: failed program was:" >&5 |
8904 | sed 's/^/| /' conftest.$ac_ext >&5 |
9225 | sed 's/^/| /' conftest.$ac_ext >&5 |
8905 | |
9226 | |
8906 | ac_header_compiler=no |
9227 | ac_header_compiler=no |
8907 | fi |
9228 | fi |
8908 | rm -f conftest.$ac_objext conftest.$ac_ext |
9229 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8909 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
9230 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8910 | echo "${ECHO_T}$ac_header_compiler" >&6 |
9231 | echo "${ECHO_T}$ac_header_compiler" >&6 |
8911 | |
9232 | |
8912 | # Is the header present? |
9233 | # Is the header present? |
8913 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
9234 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
8914 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
9235 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
8915 | cat >conftest.$ac_ext <<_ACEOF |
9236 | cat >conftest.$ac_ext <<_ACEOF |
8916 | #line $LINENO "configure" |
|
|
8917 | /* confdefs.h. */ |
9237 | /* confdefs.h. */ |
8918 | _ACEOF |
9238 | _ACEOF |
8919 | cat confdefs.h >>conftest.$ac_ext |
9239 | cat confdefs.h >>conftest.$ac_ext |
8920 | cat >>conftest.$ac_ext <<_ACEOF |
9240 | cat >>conftest.$ac_ext <<_ACEOF |
8921 | /* end confdefs.h. */ |
9241 | /* end confdefs.h. */ |
… | |
… | |
8929 | cat conftest.err >&5 |
9249 | cat conftest.err >&5 |
8930 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9250 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8931 | (exit $ac_status); } >/dev/null; then |
9251 | (exit $ac_status); } >/dev/null; then |
8932 | if test -s conftest.err; then |
9252 | if test -s conftest.err; then |
8933 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
9253 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
9254 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
8934 | else |
9255 | else |
8935 | ac_cpp_err= |
9256 | ac_cpp_err= |
8936 | fi |
9257 | fi |
8937 | else |
9258 | else |
8938 | ac_cpp_err=yes |
9259 | ac_cpp_err=yes |
… | |
… | |
8948 | rm -f conftest.err conftest.$ac_ext |
9269 | rm -f conftest.err conftest.$ac_ext |
8949 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
9270 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
8950 | echo "${ECHO_T}$ac_header_preproc" >&6 |
9271 | echo "${ECHO_T}$ac_header_preproc" >&6 |
8951 | |
9272 | |
8952 | # So? What about this header? |
9273 | # So? What about this header? |
8953 | case $ac_header_compiler:$ac_header_preproc in |
9274 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
8954 | yes:no ) |
9275 | yes:no: ) |
8955 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
9276 | { 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;} |
9277 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
9278 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
9279 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
9280 | ac_header_preproc=yes |
|
|
9281 | ;; |
|
|
9282 | no:yes:* ) |
|
|
9283 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
9284 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
9285 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
9286 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
9287 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
9288 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
9289 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
9290 | 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 |
9291 | { 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;} |
9292 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
9293 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
9294 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
8959 | ( |
9295 | ( |
8960 | cat <<\_ASBOX |
9296 | cat <<\_ASBOX |
8961 | ## ------------------------------------ ## |
9297 | ## ------------------------------------------ ## |
8962 | ## Report this to bug-autoconf@gnu.org. ## |
9298 | ## Report this to the AC_PACKAGE_NAME lists. ## |
8963 | ## ------------------------------------ ## |
9299 | ## ------------------------------------------ ## |
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 |
9300 | _ASBOX |
8981 | ) | |
9301 | ) | |
8982 | sed "s/^/$as_me: WARNING: /" >&2 |
9302 | sed "s/^/$as_me: WARNING: /" >&2 |
8983 | ;; |
9303 | ;; |
8984 | esac |
9304 | esac |
8985 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
9305 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8986 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
9306 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
8987 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
9307 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
8988 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9308 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8989 | else |
9309 | else |
8990 | eval "$as_ac_Header=$ac_header_preproc" |
9310 | eval "$as_ac_Header=\$ac_header_preproc" |
8991 | fi |
9311 | fi |
8992 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
9312 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
8993 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
9313 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
8994 | |
9314 | |
8995 | fi |
9315 | fi |
… | |
… | |
9016 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9336 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9017 | else |
9337 | else |
9018 | ac_check_lib_save_LIBS=$LIBS |
9338 | ac_check_lib_save_LIBS=$LIBS |
9019 | LIBS="-lcrypto $LIBS" |
9339 | LIBS="-lcrypto $LIBS" |
9020 | cat >conftest.$ac_ext <<_ACEOF |
9340 | cat >conftest.$ac_ext <<_ACEOF |
9021 | #line $LINENO "configure" |
|
|
9022 | /* confdefs.h. */ |
9341 | /* confdefs.h. */ |
9023 | _ACEOF |
9342 | _ACEOF |
9024 | cat confdefs.h >>conftest.$ac_ext |
9343 | cat confdefs.h >>conftest.$ac_ext |
9025 | cat >>conftest.$ac_ext <<_ACEOF |
9344 | cat >>conftest.$ac_ext <<_ACEOF |
9026 | /* end confdefs.h. */ |
9345 | /* end confdefs.h. */ |
… | |
… | |
9040 | return 0; |
9359 | return 0; |
9041 | } |
9360 | } |
9042 | _ACEOF |
9361 | _ACEOF |
9043 | rm -f conftest.$ac_objext conftest$ac_exeext |
9362 | rm -f conftest.$ac_objext conftest$ac_exeext |
9044 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9363 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9045 | (eval $ac_link) 2>&5 |
9364 | (eval $ac_link) 2>conftest.er1 |
9046 | ac_status=$? |
9365 | ac_status=$? |
|
|
9366 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9367 | rm -f conftest.er1 |
|
|
9368 | cat conftest.err >&5 |
9047 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9369 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9048 | (exit $ac_status); } && |
9370 | (exit $ac_status); } && |
9049 | { ac_try='test -s conftest$ac_exeext' |
9371 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9050 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9372 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9051 | (eval $ac_try) 2>&5 |
9373 | (eval $ac_try) 2>&5 |
9052 | ac_status=$? |
9374 | ac_status=$? |
9053 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9375 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9376 | (exit $ac_status); }; } && |
|
|
9377 | { ac_try='test -s conftest$ac_exeext' |
|
|
9378 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9379 | (eval $ac_try) 2>&5 |
|
|
9380 | ac_status=$? |
|
|
9381 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9054 | (exit $ac_status); }; }; then |
9382 | (exit $ac_status); }; }; then |
9055 | ac_cv_lib_crypto_SHA1_version=yes |
9383 | ac_cv_lib_crypto_SHA1_version=yes |
9056 | else |
9384 | else |
9057 | echo "$as_me: failed program was:" >&5 |
9385 | echo "$as_me: failed program was:" >&5 |
9058 | sed 's/^/| /' conftest.$ac_ext >&5 |
9386 | sed 's/^/| /' conftest.$ac_ext >&5 |
9059 | |
9387 | |
9060 | ac_cv_lib_crypto_SHA1_version=no |
9388 | ac_cv_lib_crypto_SHA1_version=no |
9061 | fi |
9389 | fi |
9062 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9390 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9391 | conftest$ac_exeext conftest.$ac_ext |
9063 | LIBS=$ac_check_lib_save_LIBS |
9392 | LIBS=$ac_check_lib_save_LIBS |
9064 | fi |
9393 | fi |
9065 | echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_SHA1_version" >&5 |
9394 | echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_SHA1_version" >&5 |
9066 | echo "${ECHO_T}$ac_cv_lib_crypto_SHA1_version" >&6 |
9395 | echo "${ECHO_T}$ac_cv_lib_crypto_SHA1_version" >&6 |
9067 | if test $ac_cv_lib_crypto_SHA1_version = yes; then |
9396 | if test $ac_cv_lib_crypto_SHA1_version = yes; then |
… | |
… | |
9085 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9414 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9086 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
9415 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
9087 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9416 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9088 | else |
9417 | else |
9089 | cat >conftest.$ac_ext <<_ACEOF |
9418 | cat >conftest.$ac_ext <<_ACEOF |
9090 | #line $LINENO "configure" |
|
|
9091 | /* confdefs.h. */ |
9419 | /* confdefs.h. */ |
9092 | _ACEOF |
9420 | _ACEOF |
9093 | cat confdefs.h >>conftest.$ac_ext |
9421 | cat confdefs.h >>conftest.$ac_ext |
9094 | cat >>conftest.$ac_ext <<_ACEOF |
9422 | cat >>conftest.$ac_ext <<_ACEOF |
9095 | /* end confdefs.h. */ |
9423 | /* end confdefs.h. */ |
|
|
9424 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
9425 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
9426 | #define $ac_func innocuous_$ac_func |
|
|
9427 | |
9096 | /* System header to define __stub macros and hopefully few prototypes, |
9428 | /* System header to define __stub macros and hopefully few prototypes, |
9097 | which can conflict with char $ac_func (); below. |
9429 | which can conflict with char $ac_func (); below. |
9098 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
9430 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
9099 | <limits.h> exists even on freestanding compilers. */ |
9431 | <limits.h> exists even on freestanding compilers. */ |
|
|
9432 | |
9100 | #ifdef __STDC__ |
9433 | #ifdef __STDC__ |
9101 | # include <limits.h> |
9434 | # include <limits.h> |
9102 | #else |
9435 | #else |
9103 | # include <assert.h> |
9436 | # include <assert.h> |
9104 | #endif |
9437 | #endif |
|
|
9438 | |
|
|
9439 | #undef $ac_func |
|
|
9440 | |
9105 | /* Override any gcc2 internal prototype to avoid an error. */ |
9441 | /* Override any gcc2 internal prototype to avoid an error. */ |
9106 | #ifdef __cplusplus |
9442 | #ifdef __cplusplus |
9107 | extern "C" |
9443 | extern "C" |
9108 | { |
9444 | { |
9109 | #endif |
9445 | #endif |
… | |
… | |
9130 | return 0; |
9466 | return 0; |
9131 | } |
9467 | } |
9132 | _ACEOF |
9468 | _ACEOF |
9133 | rm -f conftest.$ac_objext conftest$ac_exeext |
9469 | rm -f conftest.$ac_objext conftest$ac_exeext |
9134 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9470 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9135 | (eval $ac_link) 2>&5 |
9471 | (eval $ac_link) 2>conftest.er1 |
9136 | ac_status=$? |
9472 | ac_status=$? |
|
|
9473 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9474 | rm -f conftest.er1 |
|
|
9475 | cat conftest.err >&5 |
9137 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9476 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9138 | (exit $ac_status); } && |
9477 | (exit $ac_status); } && |
9139 | { ac_try='test -s conftest$ac_exeext' |
9478 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9140 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9479 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9141 | (eval $ac_try) 2>&5 |
9480 | (eval $ac_try) 2>&5 |
9142 | ac_status=$? |
9481 | ac_status=$? |
9143 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9482 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9483 | (exit $ac_status); }; } && |
|
|
9484 | { ac_try='test -s conftest$ac_exeext' |
|
|
9485 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9486 | (eval $ac_try) 2>&5 |
|
|
9487 | ac_status=$? |
|
|
9488 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9144 | (exit $ac_status); }; }; then |
9489 | (exit $ac_status); }; }; then |
9145 | eval "$as_ac_var=yes" |
9490 | eval "$as_ac_var=yes" |
9146 | else |
9491 | else |
9147 | echo "$as_me: failed program was:" >&5 |
9492 | echo "$as_me: failed program was:" >&5 |
9148 | sed 's/^/| /' conftest.$ac_ext >&5 |
9493 | sed 's/^/| /' conftest.$ac_ext >&5 |
9149 | |
9494 | |
9150 | eval "$as_ac_var=no" |
9495 | eval "$as_ac_var=no" |
9151 | fi |
9496 | fi |
9152 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9497 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9498 | conftest$ac_exeext conftest.$ac_ext |
9153 | fi |
9499 | fi |
9154 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
9500 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
9155 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
9501 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
9156 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
9502 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
9157 | cat >>confdefs.h <<_ACEOF |
9503 | cat >>confdefs.h <<_ACEOF |
… | |
… | |
9166 | echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 |
9512 | echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 |
9167 | if test "${ac_cv_func_dlopen+set}" = set; then |
9513 | if test "${ac_cv_func_dlopen+set}" = set; then |
9168 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9514 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9169 | else |
9515 | else |
9170 | cat >conftest.$ac_ext <<_ACEOF |
9516 | cat >conftest.$ac_ext <<_ACEOF |
9171 | #line $LINENO "configure" |
|
|
9172 | /* confdefs.h. */ |
9517 | /* confdefs.h. */ |
9173 | _ACEOF |
9518 | _ACEOF |
9174 | cat confdefs.h >>conftest.$ac_ext |
9519 | cat confdefs.h >>conftest.$ac_ext |
9175 | cat >>conftest.$ac_ext <<_ACEOF |
9520 | cat >>conftest.$ac_ext <<_ACEOF |
9176 | /* end confdefs.h. */ |
9521 | /* end confdefs.h. */ |
|
|
9522 | /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. |
|
|
9523 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
9524 | #define dlopen innocuous_dlopen |
|
|
9525 | |
9177 | /* System header to define __stub macros and hopefully few prototypes, |
9526 | /* System header to define __stub macros and hopefully few prototypes, |
9178 | which can conflict with char dlopen (); below. |
9527 | which can conflict with char dlopen (); below. |
9179 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
9528 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
9180 | <limits.h> exists even on freestanding compilers. */ |
9529 | <limits.h> exists even on freestanding compilers. */ |
|
|
9530 | |
9181 | #ifdef __STDC__ |
9531 | #ifdef __STDC__ |
9182 | # include <limits.h> |
9532 | # include <limits.h> |
9183 | #else |
9533 | #else |
9184 | # include <assert.h> |
9534 | # include <assert.h> |
9185 | #endif |
9535 | #endif |
|
|
9536 | |
|
|
9537 | #undef dlopen |
|
|
9538 | |
9186 | /* Override any gcc2 internal prototype to avoid an error. */ |
9539 | /* Override any gcc2 internal prototype to avoid an error. */ |
9187 | #ifdef __cplusplus |
9540 | #ifdef __cplusplus |
9188 | extern "C" |
9541 | extern "C" |
9189 | { |
9542 | { |
9190 | #endif |
9543 | #endif |
… | |
… | |
9211 | return 0; |
9564 | return 0; |
9212 | } |
9565 | } |
9213 | _ACEOF |
9566 | _ACEOF |
9214 | rm -f conftest.$ac_objext conftest$ac_exeext |
9567 | rm -f conftest.$ac_objext conftest$ac_exeext |
9215 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9568 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9216 | (eval $ac_link) 2>&5 |
9569 | (eval $ac_link) 2>conftest.er1 |
9217 | ac_status=$? |
9570 | ac_status=$? |
|
|
9571 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9572 | rm -f conftest.er1 |
|
|
9573 | cat conftest.err >&5 |
9218 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9574 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9219 | (exit $ac_status); } && |
9575 | (exit $ac_status); } && |
9220 | { ac_try='test -s conftest$ac_exeext' |
9576 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9221 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9577 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9222 | (eval $ac_try) 2>&5 |
9578 | (eval $ac_try) 2>&5 |
9223 | ac_status=$? |
9579 | ac_status=$? |
9224 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9580 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9581 | (exit $ac_status); }; } && |
|
|
9582 | { ac_try='test -s conftest$ac_exeext' |
|
|
9583 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9584 | (eval $ac_try) 2>&5 |
|
|
9585 | ac_status=$? |
|
|
9586 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9225 | (exit $ac_status); }; }; then |
9587 | (exit $ac_status); }; }; then |
9226 | ac_cv_func_dlopen=yes |
9588 | ac_cv_func_dlopen=yes |
9227 | else |
9589 | else |
9228 | echo "$as_me: failed program was:" >&5 |
9590 | echo "$as_me: failed program was:" >&5 |
9229 | sed 's/^/| /' conftest.$ac_ext >&5 |
9591 | sed 's/^/| /' conftest.$ac_ext >&5 |
9230 | |
9592 | |
9231 | ac_cv_func_dlopen=no |
9593 | ac_cv_func_dlopen=no |
9232 | fi |
9594 | fi |
9233 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9595 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9596 | conftest$ac_exeext conftest.$ac_ext |
9234 | fi |
9597 | fi |
9235 | echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
9598 | echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
9236 | echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
9599 | echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
9237 | if test $ac_cv_func_dlopen = yes; then |
9600 | if test $ac_cv_func_dlopen = yes; then |
9238 | : |
9601 | : |
… | |
… | |
9243 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9606 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9244 | else |
9607 | else |
9245 | ac_check_lib_save_LIBS=$LIBS |
9608 | ac_check_lib_save_LIBS=$LIBS |
9246 | LIBS="-ldl $LIBS" |
9609 | LIBS="-ldl $LIBS" |
9247 | cat >conftest.$ac_ext <<_ACEOF |
9610 | cat >conftest.$ac_ext <<_ACEOF |
9248 | #line $LINENO "configure" |
|
|
9249 | /* confdefs.h. */ |
9611 | /* confdefs.h. */ |
9250 | _ACEOF |
9612 | _ACEOF |
9251 | cat confdefs.h >>conftest.$ac_ext |
9613 | cat confdefs.h >>conftest.$ac_ext |
9252 | cat >>conftest.$ac_ext <<_ACEOF |
9614 | cat >>conftest.$ac_ext <<_ACEOF |
9253 | /* end confdefs.h. */ |
9615 | /* end confdefs.h. */ |
… | |
… | |
9267 | return 0; |
9629 | return 0; |
9268 | } |
9630 | } |
9269 | _ACEOF |
9631 | _ACEOF |
9270 | rm -f conftest.$ac_objext conftest$ac_exeext |
9632 | rm -f conftest.$ac_objext conftest$ac_exeext |
9271 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9633 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9272 | (eval $ac_link) 2>&5 |
9634 | (eval $ac_link) 2>conftest.er1 |
9273 | ac_status=$? |
9635 | ac_status=$? |
|
|
9636 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9637 | rm -f conftest.er1 |
|
|
9638 | cat conftest.err >&5 |
9274 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9639 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9275 | (exit $ac_status); } && |
9640 | (exit $ac_status); } && |
9276 | { ac_try='test -s conftest$ac_exeext' |
9641 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9277 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9642 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9278 | (eval $ac_try) 2>&5 |
9643 | (eval $ac_try) 2>&5 |
9279 | ac_status=$? |
9644 | ac_status=$? |
9280 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9645 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9646 | (exit $ac_status); }; } && |
|
|
9647 | { ac_try='test -s conftest$ac_exeext' |
|
|
9648 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9649 | (eval $ac_try) 2>&5 |
|
|
9650 | ac_status=$? |
|
|
9651 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9281 | (exit $ac_status); }; }; then |
9652 | (exit $ac_status); }; }; then |
9282 | ac_cv_lib_dl_dlopen=yes |
9653 | ac_cv_lib_dl_dlopen=yes |
9283 | else |
9654 | else |
9284 | echo "$as_me: failed program was:" >&5 |
9655 | echo "$as_me: failed program was:" >&5 |
9285 | sed 's/^/| /' conftest.$ac_ext >&5 |
9656 | sed 's/^/| /' conftest.$ac_ext >&5 |
9286 | |
9657 | |
9287 | ac_cv_lib_dl_dlopen=no |
9658 | ac_cv_lib_dl_dlopen=no |
9288 | fi |
9659 | fi |
9289 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9660 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9661 | conftest$ac_exeext conftest.$ac_ext |
9290 | LIBS=$ac_check_lib_save_LIBS |
9662 | LIBS=$ac_check_lib_save_LIBS |
9291 | fi |
9663 | fi |
9292 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
9664 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
9293 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
9665 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
9294 | if test $ac_cv_lib_dl_dlopen = yes; then |
9666 | if test $ac_cv_lib_dl_dlopen = yes; then |
… | |
… | |
9302 | |
9674 | |
9303 | |
9675 | |
9304 | fi |
9676 | fi |
9305 | |
9677 | |
9306 | |
9678 | |
|
|
9679 | if test "x$openssl_include" != x; then |
|
|
9680 | CXXFLAGS="$CXXFLAGS -I$openssl_include" |
|
|
9681 | fi |
|
|
9682 | |
|
|
9683 | # Check whether --enable-static-daemon or --disable-static-daemon was given. |
|
|
9684 | if test "${enable_static_daemon+set}" = set; then |
|
|
9685 | enableval="$enable_static_daemon" |
|
|
9686 | LDFLAGS_DAEMON=-static |
|
|
9687 | |
|
|
9688 | fi; |
|
|
9689 | |
9307 | |
9690 | |
9308 | # Check whether --enable-rohc or --disable-rohc was given. |
9691 | # Check whether --enable-rohc or --disable-rohc was given. |
9309 | if test "${enable_rohc+set}" = set; then |
9692 | if test "${enable_rohc+set}" = set; then |
9310 | enableval="$enable_rohc" |
9693 | enableval="$enable_rohc" |
9311 | |
9694 | |
9312 | echo |
9695 | echo |
9313 | echo "**********************************************************************" |
9696 | echo "**********************************************************************" |
9314 | echo "**********************************************************************" |
9697 | echo "**********************************************************************" |
9315 | echo "**** --enable-rohc not yet implemented *******************************" |
9698 | 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 "**********************************************************************" |
9699 | echo "**********************************************************************" |
9324 | echo "**********************************************************************" |
9700 | echo "**********************************************************************" |
9325 | echo |
9701 | echo |
|
|
9702 | rohc=true |
|
|
9703 | |
|
|
9704 | cat >>confdefs.h <<_ACEOF |
|
|
9705 | #define ENABLE_ROHC 1 |
|
|
9706 | _ACEOF |
|
|
9707 | |
9326 | |
9708 | |
9327 | |
9709 | |
9328 | fi; |
9710 | fi; |
|
|
9711 | |
|
|
9712 | |
|
|
9713 | |
|
|
9714 | if test x$rohc = xtrue; then |
|
|
9715 | ROHC_TRUE= |
|
|
9716 | ROHC_FALSE='#' |
|
|
9717 | else |
|
|
9718 | ROHC_TRUE='#' |
|
|
9719 | ROHC_FALSE= |
|
|
9720 | fi |
|
|
9721 | |
9329 | |
9722 | |
9330 | # Check whether --enable-icmp or --disable-icmp was given. |
9723 | # Check whether --enable-icmp or --disable-icmp was given. |
9331 | if test "${enable_icmp+set}" = set; then |
9724 | if test "${enable_icmp+set}" = set; then |
9332 | enableval="$enable_icmp" |
9725 | enableval="$enable_icmp" |
9333 | |
9726 | |
… | |
… | |
9347 | _ACEOF |
9740 | _ACEOF |
9348 | |
9741 | |
9349 | |
9742 | |
9350 | fi; |
9743 | fi; |
9351 | |
9744 | |
|
|
9745 | # Check whether --enable-dns or --disable-dns was given. |
|
|
9746 | if test "${enable_dns+set}" = set; then |
|
|
9747 | enableval="$enable_dns" |
|
|
9748 | |
|
|
9749 | cat >>confdefs.h <<_ACEOF |
|
|
9750 | #define ENABLE_DNS 1 |
|
|
9751 | _ACEOF |
|
|
9752 | |
|
|
9753 | |
|
|
9754 | fi; |
|
|
9755 | |
9352 | # Check whether --enable-http-proxy or --disable-http-proxy was given. |
9756 | # Check whether --enable-http-proxy or --disable-http-proxy was given. |
9353 | if test "${enable_http_proxy+set}" = set; then |
9757 | if test "${enable_http_proxy+set}" = set; then |
9354 | enableval="$enable_http_proxy" |
9758 | enableval="$enable_http_proxy" |
9355 | |
9759 | |
9356 | cat >>confdefs.h <<_ACEOF |
9760 | cat >>confdefs.h <<_ACEOF |
… | |
… | |
9358 | _ACEOF |
9762 | _ACEOF |
9359 | |
9763 | |
9360 | |
9764 | |
9361 | fi; |
9765 | fi; |
9362 | |
9766 | |
|
|
9767 | HMAC=12 |
9363 | HMAC=12 # Check whether --enable-hmac-length or --disable-hmac-length was given. |
9768 | # Check whether --enable-hmac-length or --disable-hmac-length was given. |
9364 | if test "${enable_hmac_length+set}" = set; then |
9769 | if test "${enable_hmac_length+set}" = set; then |
9365 | enableval="$enable_hmac_length" |
9770 | enableval="$enable_hmac_length" |
9366 | HMAC=$enableval |
9771 | HMAC=$enableval |
9367 | |
9772 | |
9368 | fi; |
9773 | fi; |
… | |
… | |
9370 | cat >>confdefs.h <<_ACEOF |
9775 | cat >>confdefs.h <<_ACEOF |
9371 | #define HMACLENGTH $HMAC |
9776 | #define HMACLENGTH $HMAC |
9372 | _ACEOF |
9777 | _ACEOF |
9373 | |
9778 | |
9374 | |
9779 | |
|
|
9780 | RAND=8 |
9375 | RAND=8 # Check whether --enable-rand-length or --disable-rand-length was given. |
9781 | # Check whether --enable-rand-length or --disable-rand-length was given. |
9376 | if test "${enable_rand_length+set}" = set; then |
9782 | if test "${enable_rand_length+set}" = set; then |
9377 | enableval="$enable_rand_length" |
9783 | enableval="$enable_rand_length" |
9378 | RAND=$enableval |
9784 | RAND=$enableval |
9379 | |
9785 | |
9380 | fi; |
9786 | fi; |
… | |
… | |
9382 | cat >>confdefs.h <<_ACEOF |
9788 | cat >>confdefs.h <<_ACEOF |
9383 | #define RAND_SIZE $RAND |
9789 | #define RAND_SIZE $RAND |
9384 | _ACEOF |
9790 | _ACEOF |
9385 | |
9791 | |
9386 | |
9792 | |
|
|
9793 | MTU=1500 |
9387 | MTU=1500 # Check whether --enable-mtu or --disable-mtu was given. |
9794 | # Check whether --enable-mtu or --disable-mtu was given. |
9388 | if test "${enable_mtu+set}" = set; then |
9795 | if test "${enable_mtu+set}" = set; then |
9389 | enableval="$enable_mtu" |
9796 | enableval="$enable_mtu" |
9390 | MTU=$enableval |
9797 | MTU=$enableval |
9391 | |
9798 | |
9392 | fi; |
9799 | fi; |
… | |
… | |
9449 | |
9856 | |
9450 | if $CXX -v --help 2>&1 | grep -q fexceptions; then |
9857 | if $CXX -v --help 2>&1 | grep -q fexceptions; then |
9451 | CXXFLAGS="$CXXFLAGS -fno-exceptions" |
9858 | CXXFLAGS="$CXXFLAGS -fno-exceptions" |
9452 | fi |
9859 | fi |
9453 | |
9860 | |
9454 | if $CXX -v --help 2>&1 | grep -q ffunction-sections; then |
|
|
9455 | CXXFLAGS="$CXXFLAGS -ffunction-sections" |
|
|
9456 | fi |
|
|
9457 | |
9861 | |
9458 | if $LD -v --help 2>&1 | grep -q gc-sections; then |
|
|
9459 | LDFLAGS="$LDFLAGS -Wl,--gc-sections" |
|
|
9460 | fi |
|
|
9461 | |
9862 | |
9462 | |
9863 | |
9463 | |
9864 | |
9464 | |
9865 | |
9465 | |
|
|
9466 | ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile doc/Makefile lib/Makefile m4/Makefile" |
9866 | ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile src/rohc/Makefile doc/Makefile lib/Makefile m4/Makefile" |
|
|
9867 | |
9467 | cat >confcache <<\_ACEOF |
9868 | cat >confcache <<\_ACEOF |
9468 | # This file is a shell script that caches the results of configure |
9869 | # 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 |
9870 | # tests run on this system so they can be shared between configure |
9470 | # scripts and configure runs, see configure's option --config-cache. |
9871 | # 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 |
9872 | # 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 |
9891 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
9491 | *ac_space=\ *) |
9892 | *ac_space=\ *) |
9492 | # `set' does not quote correctly, so add quotes (double-quote |
9893 | # `set' does not quote correctly, so add quotes (double-quote |
9493 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
9894 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
9494 | sed -n \ |
9895 | sed -n \ |
9495 | "s/'/'\\\\''/g; |
9896 | "s/'/'\\\\''/g; |
9496 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
9897 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
9497 | ;; |
9898 | ;; |
9498 | *) |
9899 | *) |
9499 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
9900 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
9500 | sed -n \ |
9901 | sed -n \ |
9501 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
9902 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
9502 | ;; |
9903 | ;; |
9503 | esac; |
9904 | esac; |
9504 | } | |
9905 | } | |
9505 | sed ' |
9906 | sed ' |
9506 | t clear |
9907 | t clear |
… | |
… | |
9526 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
9927 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
9527 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
9928 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
9528 | # trailing colons and then remove the whole line if VPATH becomes empty |
9929 | # trailing colons and then remove the whole line if VPATH becomes empty |
9529 | # (actually we leave an empty line to preserve line numbers). |
9930 | # (actually we leave an empty line to preserve line numbers). |
9530 | if test "x$srcdir" = x.; then |
9931 | if test "x$srcdir" = x.; then |
9531 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
9932 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
9532 | s/:*\$(srcdir):*/:/; |
9933 | s/:*\$(srcdir):*/:/; |
9533 | s/:*\${srcdir}:*/:/; |
9934 | s/:*\${srcdir}:*/:/; |
9534 | s/:*@srcdir@:*/:/; |
9935 | s/:*@srcdir@:*/:/; |
9535 | s/^\([^=]*=[ ]*\):*/\1/; |
9936 | s/^\([^=]*=[ ]*\):*/\1/; |
9536 | s/:*$//; |
9937 | s/:*$//; |
9537 | s/^[^=]*=[ ]*$//; |
9938 | s/^[^=]*=[ ]*$//; |
9538 | }' |
9939 | }' |
9539 | fi |
9940 | fi |
9540 | |
9941 | |
9541 | DEFS=-DHAVE_CONFIG_H |
9942 | DEFS=-DHAVE_CONFIG_H |
9542 | |
9943 | |
9543 | ac_libobjs= |
9944 | ac_libobjs= |
9544 | ac_ltlibobjs= |
9945 | ac_ltlibobjs= |
9545 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
9946 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
9546 | # 1. Remove the extension, and $U if already installed. |
9947 | # 1. Remove the extension, and $U if already installed. |
9547 | ac_i=`echo "$ac_i" | |
9948 | ac_i=`echo "$ac_i" | |
9548 | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
9949 | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
9549 | # 2. Add them. |
9950 | # 2. Add them. |
9550 | ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
9951 | ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
9551 | ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
9952 | ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
9552 | done |
9953 | done |
9553 | LIBOBJS=$ac_libobjs |
9954 | LIBOBJS=$ac_libobjs |
… | |
… | |
9585 | fi |
9986 | fi |
9586 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
9987 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
9587 | { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. |
9988 | { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. |
9588 | Usually this means the macro was only invoked conditionally." >&5 |
9989 | Usually this means the macro was only invoked conditionally." >&5 |
9589 | echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. |
9990 | echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. |
|
|
9991 | Usually this means the macro was only invoked conditionally." >&2;} |
|
|
9992 | { (exit 1); exit 1; }; } |
|
|
9993 | fi |
|
|
9994 | if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then |
|
|
9995 | { { echo "$as_me:$LINENO: error: conditional \"ROHC\" was never defined. |
|
|
9996 | Usually this means the macro was only invoked conditionally." >&5 |
|
|
9997 | echo "$as_me: error: conditional \"ROHC\" was never defined. |
9590 | Usually this means the macro was only invoked conditionally." >&2;} |
9998 | Usually this means the macro was only invoked conditionally." >&2;} |
9591 | { (exit 1); exit 1; }; } |
9999 | { (exit 1); exit 1; }; } |
9592 | fi |
10000 | fi |
9593 | |
10001 | |
9594 | : ${CONFIG_STATUS=./config.status} |
10002 | : ${CONFIG_STATUS=./config.status} |
… | |
… | |
9622 | # is contrary to our usage. Disable this feature. |
10030 | # is contrary to our usage. Disable this feature. |
9623 | alias -g '${1+"$@"}'='"$@"' |
10031 | alias -g '${1+"$@"}'='"$@"' |
9624 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
10032 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
9625 | set -o posix |
10033 | set -o posix |
9626 | fi |
10034 | fi |
|
|
10035 | DUALCASE=1; export DUALCASE # for MKS sh |
9627 | |
10036 | |
9628 | # Support unset when possible. |
10037 | # Support unset when possible. |
9629 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
10038 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
9630 | as_unset=unset |
10039 | as_unset=unset |
9631 | else |
10040 | else |
9632 | as_unset=false |
10041 | as_unset=false |
9633 | fi |
10042 | fi |
9634 | |
10043 | |
… | |
… | |
9643 | for as_var in \ |
10052 | for as_var in \ |
9644 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
10053 | 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 \ |
10054 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
9646 | LC_TELEPHONE LC_TIME |
10055 | LC_TELEPHONE LC_TIME |
9647 | do |
10056 | do |
9648 | if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
10057 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
9649 | eval $as_var=C; export $as_var |
10058 | eval $as_var=C; export $as_var |
9650 | else |
10059 | else |
9651 | $as_unset $as_var |
10060 | $as_unset $as_var |
9652 | fi |
10061 | fi |
9653 | done |
10062 | done |
… | |
… | |
9822 | rm -f conf$$ conf$$.exe conf$$.file |
10231 | rm -f conf$$ conf$$.exe conf$$.file |
9823 | |
10232 | |
9824 | if mkdir -p . 2>/dev/null; then |
10233 | if mkdir -p . 2>/dev/null; then |
9825 | as_mkdir_p=: |
10234 | as_mkdir_p=: |
9826 | else |
10235 | else |
|
|
10236 | test -d ./-p && rmdir ./-p |
9827 | as_mkdir_p=false |
10237 | as_mkdir_p=false |
9828 | fi |
10238 | fi |
9829 | |
10239 | |
9830 | as_executable_p="test -f" |
10240 | as_executable_p="test -f" |
9831 | |
10241 | |
9832 | # Sed expression to map a string onto a valid CPP name. |
10242 | # 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" |
10243 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
9834 | |
10244 | |
9835 | # Sed expression to map a string onto a valid variable name. |
10245 | # Sed expression to map a string onto a valid variable name. |
9836 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
10246 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
9837 | |
10247 | |
9838 | |
10248 | |
9839 | # IFS |
10249 | # IFS |
9840 | # We need space, tab and new line, in precisely that order. |
10250 | # We need space, tab and new line, in precisely that order. |
9841 | as_nl=' |
10251 | as_nl=' |
… | |
… | |
9858 | _ASBOX |
10268 | _ASBOX |
9859 | } >&5 |
10269 | } >&5 |
9860 | cat >&5 <<_CSEOF |
10270 | cat >&5 <<_CSEOF |
9861 | |
10271 | |
9862 | This file was extended by $as_me, which was |
10272 | This file was extended by $as_me, which was |
9863 | generated by GNU Autoconf 2.57. Invocation command line was |
10273 | generated by GNU Autoconf 2.59. Invocation command line was |
9864 | |
10274 | |
9865 | CONFIG_FILES = $CONFIG_FILES |
10275 | CONFIG_FILES = $CONFIG_FILES |
9866 | CONFIG_HEADERS = $CONFIG_HEADERS |
10276 | CONFIG_HEADERS = $CONFIG_HEADERS |
9867 | CONFIG_LINKS = $CONFIG_LINKS |
10277 | CONFIG_LINKS = $CONFIG_LINKS |
9868 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
10278 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
… | |
… | |
9902 | -V, --version print version number, then exit |
10312 | -V, --version print version number, then exit |
9903 | -q, --quiet do not print progress messages |
10313 | -q, --quiet do not print progress messages |
9904 | -d, --debug don't remove temporary files |
10314 | -d, --debug don't remove temporary files |
9905 | --recheck update $as_me by reconfiguring in the same conditions |
10315 | --recheck update $as_me by reconfiguring in the same conditions |
9906 | --file=FILE[:TEMPLATE] |
10316 | --file=FILE[:TEMPLATE] |
9907 | instantiate the configuration file FILE |
10317 | instantiate the configuration file FILE |
9908 | --header=FILE[:TEMPLATE] |
10318 | --header=FILE[:TEMPLATE] |
9909 | instantiate the configuration header FILE |
10319 | instantiate the configuration header FILE |
9910 | |
10320 | |
9911 | Configuration files: |
10321 | Configuration files: |
9912 | $config_files |
10322 | $config_files |
9913 | |
10323 | |
9914 | Configuration headers: |
10324 | Configuration headers: |
… | |
… | |
9921 | _ACEOF |
10331 | _ACEOF |
9922 | |
10332 | |
9923 | cat >>$CONFIG_STATUS <<_ACEOF |
10333 | cat >>$CONFIG_STATUS <<_ACEOF |
9924 | ac_cs_version="\\ |
10334 | ac_cs_version="\\ |
9925 | config.status |
10335 | config.status |
9926 | configured by $0, generated by GNU Autoconf 2.57, |
10336 | configured by $0, generated by GNU Autoconf 2.59, |
9927 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
10337 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
9928 | |
10338 | |
9929 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
|
|
9930 | Free Software Foundation, Inc. |
10339 | Copyright (C) 2003 Free Software Foundation, Inc. |
9931 | This config.status script is free software; the Free Software Foundation |
10340 | This config.status script is free software; the Free Software Foundation |
9932 | gives unlimited permission to copy, distribute and modify it." |
10341 | gives unlimited permission to copy, distribute and modify it." |
9933 | srcdir=$srcdir |
10342 | srcdir=$srcdir |
9934 | INSTALL="$INSTALL" |
10343 | INSTALL="$INSTALL" |
9935 | _ACEOF |
10344 | _ACEOF |
… | |
… | |
10041 | case "$ac_config_target" in |
10450 | case "$ac_config_target" in |
10042 | # Handling of arguments. |
10451 | # Handling of arguments. |
10043 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
10452 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
10044 | "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; |
10453 | "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; |
10045 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
10454 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
|
|
10455 | "src/rohc/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/rohc/Makefile" ;; |
10046 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
10456 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
10047 | "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; |
10457 | "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; |
10048 | "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; |
10458 | "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; |
10049 | "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; |
10459 | "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; |
10050 | "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
10460 | "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
… | |
… | |
10211 | s,@IFSUBTYPE@,$IFSUBTYPE,;t t |
10621 | s,@IFSUBTYPE@,$IFSUBTYPE,;t t |
10212 | s,@CXXCPP@,$CXXCPP,;t t |
10622 | s,@CXXCPP@,$CXXCPP,;t t |
10213 | s,@ALLOCA@,$ALLOCA,;t t |
10623 | s,@ALLOCA@,$ALLOCA,;t t |
10214 | s,@LINUX_IF_TUN_H@,$LINUX_IF_TUN_H,;t t |
10624 | s,@LINUX_IF_TUN_H@,$LINUX_IF_TUN_H,;t t |
10215 | s,@HAVE_TUNTAP@,$HAVE_TUNTAP,;t t |
10625 | s,@HAVE_TUNTAP@,$HAVE_TUNTAP,;t t |
|
|
10626 | s,@LDFLAGS_DAEMON@,$LDFLAGS_DAEMON,;t t |
|
|
10627 | s,@ROHC_TRUE@,$ROHC_TRUE,;t t |
|
|
10628 | s,@ROHC_FALSE@,$ROHC_FALSE,;t t |
10216 | s,@INCLUDES@,$INCLUDES,;t t |
10629 | s,@INCLUDES@,$INCLUDES,;t t |
10217 | s,@LIBOBJS@,$LIBOBJS,;t t |
10630 | s,@LIBOBJS@,$LIBOBJS,;t t |
10218 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
10631 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
10219 | CEOF |
10632 | CEOF |
10220 | |
10633 | |
… | |
… | |
10243 | # is no need to browse any of the substitutions). |
10656 | # is no need to browse any of the substitutions). |
10244 | # These are the two extra sed commands mentioned above. |
10657 | # These are the two extra sed commands mentioned above. |
10245 | (echo ':t |
10658 | (echo ':t |
10246 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
10659 | /@[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 |
10660 | if test -z "$ac_sed_cmds"; then |
10248 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
10661 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
10249 | else |
10662 | else |
10250 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
10663 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
10251 | fi |
10664 | fi |
10252 | ac_sed_frag=`expr $ac_sed_frag + 1` |
10665 | ac_sed_frag=`expr $ac_sed_frag + 1` |
10253 | ac_beg=$ac_end |
10666 | ac_beg=$ac_end |
10254 | ac_end=`expr $ac_end + $ac_max_sed_lines` |
10667 | ac_end=`expr $ac_end + $ac_max_sed_lines` |
10255 | fi |
10668 | fi |
… | |
… | |
10263 | cat >>$CONFIG_STATUS <<\_ACEOF |
10676 | cat >>$CONFIG_STATUS <<\_ACEOF |
10264 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
10677 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
10265 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
10678 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
10266 | case $ac_file in |
10679 | case $ac_file in |
10267 | - | *:- | *:-:* ) # input from stdin |
10680 | - | *:- | *:-:* ) # input from stdin |
10268 | cat >$tmp/stdin |
10681 | cat >$tmp/stdin |
10269 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
10682 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
10270 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
10683 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
10271 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
10684 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
10272 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
10685 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
10273 | * ) ac_file_in=$ac_file.in ;; |
10686 | * ) ac_file_in=$ac_file.in ;; |
10274 | esac |
10687 | esac |
10275 | |
10688 | |
10276 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
10689 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
10277 | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
10690 | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
10278 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10691 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10279 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
10692 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
10280 | X"$ac_file" : 'X\(//\)$' \| \ |
10693 | X"$ac_file" : 'X\(//\)$' \| \ |
10281 | X"$ac_file" : 'X\(/\)' \| \ |
10694 | X"$ac_file" : 'X\(/\)' \| \ |
10282 | . : '\(.\)' 2>/dev/null || |
10695 | . : '\(.\)' 2>/dev/null || |
10283 | echo X"$ac_file" | |
10696 | echo X"$ac_file" | |
10284 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10697 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10285 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10698 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10286 | /^X\(\/\/\)$/{ s//\1/; q; } |
10699 | /^X\(\/\/\)$/{ s//\1/; q; } |
10287 | /^X\(\/\).*/{ s//\1/; q; } |
10700 | /^X\(\/\).*/{ s//\1/; q; } |
… | |
… | |
10293 | as_dirs= |
10706 | as_dirs= |
10294 | while test ! -d "$as_dir"; do |
10707 | while test ! -d "$as_dir"; do |
10295 | as_dirs="$as_dir $as_dirs" |
10708 | as_dirs="$as_dir $as_dirs" |
10296 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
10709 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
10297 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10710 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10298 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
10711 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
10299 | X"$as_dir" : 'X\(//\)$' \| \ |
10712 | X"$as_dir" : 'X\(//\)$' \| \ |
10300 | X"$as_dir" : 'X\(/\)' \| \ |
10713 | X"$as_dir" : 'X\(/\)' \| \ |
10301 | . : '\(.\)' 2>/dev/null || |
10714 | . : '\(.\)' 2>/dev/null || |
10302 | echo X"$as_dir" | |
10715 | echo X"$as_dir" | |
10303 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10716 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10304 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10717 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10305 | /^X\(\/\/\)$/{ s//\1/; q; } |
10718 | /^X\(\/\/\)$/{ s//\1/; q; } |
10306 | /^X\(\/\).*/{ s//\1/; q; } |
10719 | /^X\(\/\).*/{ s//\1/; q; } |
… | |
… | |
10334 | ac_top_srcdir=$srcdir ;; |
10747 | ac_top_srcdir=$srcdir ;; |
10335 | *) # Relative path. |
10748 | *) # Relative path. |
10336 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
10749 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
10337 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
10750 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
10338 | esac |
10751 | esac |
10339 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
10752 | |
10340 | # absolute. |
10753 | # Do not use `cd foo && pwd` to compute absolute paths, because |
10341 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
10754 | # the directories may not exist. |
10342 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
10755 | case `pwd` in |
10343 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
10756 | .) ac_abs_builddir="$ac_dir";; |
10344 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
10757 | *) |
|
|
10758 | case "$ac_dir" in |
|
|
10759 | .) ac_abs_builddir=`pwd`;; |
|
|
10760 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
|
|
10761 | *) ac_abs_builddir=`pwd`/"$ac_dir";; |
|
|
10762 | esac;; |
|
|
10763 | esac |
|
|
10764 | case $ac_abs_builddir in |
|
|
10765 | .) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
|
10766 | *) |
|
|
10767 | case ${ac_top_builddir}. in |
|
|
10768 | .) ac_abs_top_builddir=$ac_abs_builddir;; |
|
|
10769 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
|
10770 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
|
|
10771 | esac;; |
|
|
10772 | esac |
|
|
10773 | case $ac_abs_builddir in |
|
|
10774 | .) ac_abs_srcdir=$ac_srcdir;; |
|
|
10775 | *) |
|
|
10776 | case $ac_srcdir in |
|
|
10777 | .) ac_abs_srcdir=$ac_abs_builddir;; |
|
|
10778 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
|
|
10779 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
|
|
10780 | esac;; |
|
|
10781 | esac |
|
|
10782 | case $ac_abs_builddir in |
|
|
10783 | .) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
|
10784 | *) |
|
|
10785 | case $ac_top_srcdir in |
|
|
10786 | .) ac_abs_top_srcdir=$ac_abs_builddir;; |
|
|
10787 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
|
10788 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
|
|
10789 | esac;; |
|
|
10790 | esac |
10345 | |
10791 | |
10346 | |
10792 | |
10347 | case $INSTALL in |
10793 | case $INSTALL in |
10348 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
10794 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
10349 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
10795 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
10350 | esac |
10796 | esac |
10351 | |
10797 | |
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 |
10798 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
10358 | # use $as_me), people would be surprised to read: |
10799 | # use $as_me), people would be surprised to read: |
10359 | # /* config.h. Generated by config.status. */ |
10800 | # /* config.h. Generated by config.status. */ |
10360 | if test x"$ac_file" = x-; then |
10801 | if test x"$ac_file" = x-; then |
10361 | configure_input= |
10802 | configure_input= |
10362 | else |
10803 | else |
10363 | configure_input="$ac_file. " |
10804 | configure_input="$ac_file. " |
10364 | fi |
10805 | fi |
10365 | configure_input=$configure_input"Generated from `echo $ac_file_in | |
10806 | configure_input=$configure_input"Generated from `echo $ac_file_in | |
10366 | sed 's,.*/,,'` by configure." |
10807 | sed 's,.*/,,'` by configure." |
10367 | |
10808 | |
10368 | # First look for the input files in the build tree, otherwise in the |
10809 | # First look for the input files in the build tree, otherwise in the |
10369 | # src tree. |
10810 | # src tree. |
10370 | ac_file_inputs=`IFS=: |
10811 | ac_file_inputs=`IFS=: |
10371 | for f in $ac_file_in; do |
10812 | for f in $ac_file_in; do |
10372 | case $f in |
10813 | case $f in |
10373 | -) echo $tmp/stdin ;; |
10814 | -) echo $tmp/stdin ;; |
10374 | [\\/$]*) |
10815 | [\\/$]*) |
10375 | # Absolute (can't be DOS-style, as IFS=:) |
10816 | # Absolute (can't be DOS-style, as IFS=:) |
10376 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
10817 | 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;} |
10818 | echo "$as_me: error: cannot find input file: $f" >&2;} |
10378 | { (exit 1); exit 1; }; } |
10819 | { (exit 1); exit 1; }; } |
10379 | echo $f;; |
10820 | echo "$f";; |
10380 | *) # Relative |
10821 | *) # Relative |
10381 | if test -f "$f"; then |
10822 | if test -f "$f"; then |
10382 | # Build tree |
10823 | # Build tree |
10383 | echo $f |
10824 | echo "$f" |
10384 | elif test -f "$srcdir/$f"; then |
10825 | elif test -f "$srcdir/$f"; then |
10385 | # Source tree |
10826 | # Source tree |
10386 | echo $srcdir/$f |
10827 | echo "$srcdir/$f" |
10387 | else |
10828 | else |
10388 | # /dev/null tree |
10829 | # /dev/null tree |
10389 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
10830 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
10390 | echo "$as_me: error: cannot find input file: $f" >&2;} |
10831 | echo "$as_me: error: cannot find input file: $f" >&2;} |
10391 | { (exit 1); exit 1; }; } |
10832 | { (exit 1); exit 1; }; } |
10392 | fi;; |
10833 | fi;; |
10393 | esac |
10834 | esac |
10394 | done` || { (exit 1); exit 1; } |
10835 | done` || { (exit 1); exit 1; } |
|
|
10836 | |
|
|
10837 | if test x"$ac_file" != x-; then |
|
|
10838 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
|
10839 | echo "$as_me: creating $ac_file" >&6;} |
|
|
10840 | rm -f "$ac_file" |
|
|
10841 | fi |
10395 | _ACEOF |
10842 | _ACEOF |
10396 | cat >>$CONFIG_STATUS <<_ACEOF |
10843 | cat >>$CONFIG_STATUS <<_ACEOF |
10397 | sed "$ac_vpsub |
10844 | sed "$ac_vpsub |
10398 | $extrasub |
10845 | $extrasub |
10399 | _ACEOF |
10846 | _ACEOF |
… | |
… | |
10429 | |
10876 | |
10430 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
10877 | # 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. |
10878 | # NAME is the cpp macro being defined and VALUE is the value it is being given. |
10432 | # |
10879 | # |
10433 | # ac_d sets the value in "#define NAME VALUE" lines. |
10880 | # ac_d sets the value in "#define NAME VALUE" lines. |
10434 | ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
10881 | ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
10435 | ac_dB='[ ].*$,\1#\2' |
10882 | ac_dB='[ ].*$,\1#\2' |
10436 | ac_dC=' ' |
10883 | ac_dC=' ' |
10437 | ac_dD=',;t' |
10884 | ac_dD=',;t' |
10438 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
10885 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
10439 | ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
10886 | ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
10440 | ac_uB='$,\1#\2define\3' |
10887 | ac_uB='$,\1#\2define\3' |
10441 | ac_uC=' ' |
10888 | ac_uC=' ' |
10442 | ac_uD=',;t' |
10889 | ac_uD=',;t' |
10443 | |
10890 | |
10444 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue |
10891 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue |
10445 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
10892 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
10446 | case $ac_file in |
10893 | case $ac_file in |
10447 | - | *:- | *:-:* ) # input from stdin |
10894 | - | *:- | *:-:* ) # input from stdin |
10448 | cat >$tmp/stdin |
10895 | cat >$tmp/stdin |
10449 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
10896 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
10450 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
10897 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
10451 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
10898 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
10452 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
10899 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
10453 | * ) ac_file_in=$ac_file.in ;; |
10900 | * ) ac_file_in=$ac_file.in ;; |
10454 | esac |
10901 | esac |
10455 | |
10902 | |
10456 | test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
10903 | test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
10457 | echo "$as_me: creating $ac_file" >&6;} |
10904 | echo "$as_me: creating $ac_file" >&6;} |
… | |
… | |
10461 | ac_file_inputs=`IFS=: |
10908 | ac_file_inputs=`IFS=: |
10462 | for f in $ac_file_in; do |
10909 | for f in $ac_file_in; do |
10463 | case $f in |
10910 | case $f in |
10464 | -) echo $tmp/stdin ;; |
10911 | -) echo $tmp/stdin ;; |
10465 | [\\/$]*) |
10912 | [\\/$]*) |
10466 | # Absolute (can't be DOS-style, as IFS=:) |
10913 | # Absolute (can't be DOS-style, as IFS=:) |
10467 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
10914 | 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;} |
10915 | echo "$as_me: error: cannot find input file: $f" >&2;} |
10469 | { (exit 1); exit 1; }; } |
10916 | { (exit 1); exit 1; }; } |
10470 | echo $f;; |
10917 | # Do quote $f, to prevent DOS paths from being IFS'd. |
|
|
10918 | echo "$f";; |
10471 | *) # Relative |
10919 | *) # Relative |
10472 | if test -f "$f"; then |
10920 | if test -f "$f"; then |
10473 | # Build tree |
10921 | # Build tree |
10474 | echo $f |
10922 | echo "$f" |
10475 | elif test -f "$srcdir/$f"; then |
10923 | elif test -f "$srcdir/$f"; then |
10476 | # Source tree |
10924 | # Source tree |
10477 | echo $srcdir/$f |
10925 | echo "$srcdir/$f" |
10478 | else |
10926 | else |
10479 | # /dev/null tree |
10927 | # /dev/null tree |
10480 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
10928 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
10481 | echo "$as_me: error: cannot find input file: $f" >&2;} |
10929 | echo "$as_me: error: cannot find input file: $f" >&2;} |
10482 | { (exit 1); exit 1; }; } |
10930 | { (exit 1); exit 1; }; } |
10483 | fi;; |
10931 | fi;; |
10484 | esac |
10932 | esac |
10485 | done` || { (exit 1); exit 1; } |
10933 | done` || { (exit 1); exit 1; } |
10486 | # Remove the trailing spaces. |
10934 | # Remove the trailing spaces. |
10487 | sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
10935 | sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
10488 | |
10936 | |
10489 | _ACEOF |
10937 | _ACEOF |
10490 | |
10938 | |
10491 | # Transform confdefs.h into two sed scripts, `conftest.defines' and |
10939 | # Transform confdefs.h into two sed scripts, `conftest.defines' and |
10492 | # `conftest.undefs', that substitutes the proper values into |
10940 | # `conftest.undefs', that substitutes the proper values into |
… | |
… | |
10505 | cat >confdef2sed.sed <<\_ACEOF |
10953 | cat >confdef2sed.sed <<\_ACEOF |
10506 | s/[\\&,]/\\&/g |
10954 | s/[\\&,]/\\&/g |
10507 | s,[\\$`],\\&,g |
10955 | s,[\\$`],\\&,g |
10508 | t clear |
10956 | t clear |
10509 | : clear |
10957 | : clear |
10510 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
10958 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
10511 | t end |
10959 | t end |
10512 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
10960 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
10513 | : end |
10961 | : end |
10514 | _ACEOF |
10962 | _ACEOF |
10515 | # If some macros were called several times there might be several times |
10963 | # 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 |
10964 | # 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. |
10965 | # sort them, since we want the *last* AC-DEFINE to be honored. |
… | |
… | |
10521 | |
10969 | |
10522 | # This sed command replaces #undef with comments. This is necessary, for |
10970 | # This sed command replaces #undef with comments. This is necessary, for |
10523 | # example, in the case of _POSIX_SOURCE, which is predefined and required |
10971 | # example, in the case of _POSIX_SOURCE, which is predefined and required |
10524 | # on some systems where configure will not decide to define it. |
10972 | # on some systems where configure will not decide to define it. |
10525 | cat >>conftest.undefs <<\_ACEOF |
10973 | cat >>conftest.undefs <<\_ACEOF |
10526 | s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
10974 | s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
10527 | _ACEOF |
10975 | _ACEOF |
10528 | |
10976 | |
10529 | # Break up conftest.defines because some shells have a limit on the size |
10977 | # 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). |
10978 | # of here documents, and old seds have small limits too (100 cmds). |
10531 | echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
10979 | echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
10532 | echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
10980 | 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 |
10981 | echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
10534 | echo ' :' >>$CONFIG_STATUS |
10982 | echo ' :' >>$CONFIG_STATUS |
10535 | rm -f conftest.tail |
10983 | rm -f conftest.tail |
10536 | while grep . conftest.defines >/dev/null |
10984 | while grep . conftest.defines >/dev/null |
10537 | do |
10985 | do |
10538 | # Write a limited-size here document to $tmp/defines.sed. |
10986 | # Write a limited-size here document to $tmp/defines.sed. |
10539 | echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
10987 | echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
10540 | # Speed up: don't consider the non `#define' lines. |
10988 | # Speed up: don't consider the non `#define' lines. |
10541 | echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
10989 | echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
10542 | # Work around the forget-to-reset-the-flag bug. |
10990 | # Work around the forget-to-reset-the-flag bug. |
10543 | echo 't clr' >>$CONFIG_STATUS |
10991 | echo 't clr' >>$CONFIG_STATUS |
10544 | echo ': clr' >>$CONFIG_STATUS |
10992 | echo ': clr' >>$CONFIG_STATUS |
10545 | sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS |
10993 | sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS |
10546 | echo 'CEOF |
10994 | echo 'CEOF |
… | |
… | |
10563 | while grep . conftest.undefs >/dev/null |
11011 | while grep . conftest.undefs >/dev/null |
10564 | do |
11012 | do |
10565 | # Write a limited-size here document to $tmp/undefs.sed. |
11013 | # Write a limited-size here document to $tmp/undefs.sed. |
10566 | echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
11014 | echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
10567 | # Speed up: don't consider the non `#undef' |
11015 | # Speed up: don't consider the non `#undef' |
10568 | echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
11016 | echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
10569 | # Work around the forget-to-reset-the-flag bug. |
11017 | # Work around the forget-to-reset-the-flag bug. |
10570 | echo 't clr' >>$CONFIG_STATUS |
11018 | echo 't clr' >>$CONFIG_STATUS |
10571 | echo ': clr' >>$CONFIG_STATUS |
11019 | echo ': clr' >>$CONFIG_STATUS |
10572 | sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS |
11020 | sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS |
10573 | echo 'CEOF |
11021 | echo 'CEOF |
… | |
… | |
10597 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
11045 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
10598 | echo "$as_me: $ac_file is unchanged" >&6;} |
11046 | echo "$as_me: $ac_file is unchanged" >&6;} |
10599 | else |
11047 | else |
10600 | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
11048 | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
10601 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
11049 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10602 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
11050 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
10603 | X"$ac_file" : 'X\(//\)$' \| \ |
11051 | X"$ac_file" : 'X\(//\)$' \| \ |
10604 | X"$ac_file" : 'X\(/\)' \| \ |
11052 | X"$ac_file" : 'X\(/\)' \| \ |
10605 | . : '\(.\)' 2>/dev/null || |
11053 | . : '\(.\)' 2>/dev/null || |
10606 | echo X"$ac_file" | |
11054 | echo X"$ac_file" | |
10607 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
11055 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10608 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
11056 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10609 | /^X\(\/\/\)$/{ s//\1/; q; } |
11057 | /^X\(\/\/\)$/{ s//\1/; q; } |
10610 | /^X\(\/\).*/{ s//\1/; q; } |
11058 | /^X\(\/\).*/{ s//\1/; q; } |
… | |
… | |
10616 | as_dirs= |
11064 | as_dirs= |
10617 | while test ! -d "$as_dir"; do |
11065 | while test ! -d "$as_dir"; do |
10618 | as_dirs="$as_dir $as_dirs" |
11066 | as_dirs="$as_dir $as_dirs" |
10619 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
11067 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
10620 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
11068 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10621 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
11069 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
10622 | X"$as_dir" : 'X\(//\)$' \| \ |
11070 | X"$as_dir" : 'X\(//\)$' \| \ |
10623 | X"$as_dir" : 'X\(/\)' \| \ |
11071 | X"$as_dir" : 'X\(/\)' \| \ |
10624 | . : '\(.\)' 2>/dev/null || |
11072 | . : '\(.\)' 2>/dev/null || |
10625 | echo X"$as_dir" | |
11073 | echo X"$as_dir" | |
10626 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
11074 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10627 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
11075 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10628 | /^X\(\/\/\)$/{ s//\1/; q; } |
11076 | /^X\(\/\/\)$/{ s//\1/; q; } |
10629 | /^X\(\/\).*/{ s//\1/; q; } |
11077 | /^X\(\/\).*/{ s//\1/; q; } |
… | |
… | |
10651 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
11099 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
10652 | esac |
11100 | esac |
10653 | done |
11101 | done |
10654 | echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || |
11102 | echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || |
10655 | $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
11103 | $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10656 | X$ac_file : 'X\(//\)[^/]' \| \ |
11104 | X$ac_file : 'X\(//\)[^/]' \| \ |
10657 | X$ac_file : 'X\(//\)$' \| \ |
11105 | X$ac_file : 'X\(//\)$' \| \ |
10658 | X$ac_file : 'X\(/\)' \| \ |
11106 | X$ac_file : 'X\(/\)' \| \ |
10659 | . : '\(.\)' 2>/dev/null || |
11107 | . : '\(.\)' 2>/dev/null || |
10660 | echo X$ac_file | |
11108 | echo X$ac_file | |
10661 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
11109 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10662 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
11110 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10663 | /^X\(\/\/\)$/{ s//\1/; q; } |
11111 | /^X\(\/\/\)$/{ s//\1/; q; } |
10664 | /^X\(\/\).*/{ s//\1/; q; } |
11112 | /^X\(\/\).*/{ s//\1/; q; } |
… | |
… | |
10673 | for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue |
11121 | for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue |
10674 | ac_dest=`echo "$ac_file" | sed 's,:.*,,'` |
11122 | ac_dest=`echo "$ac_file" | sed 's,:.*,,'` |
10675 | ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
11123 | ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
10676 | ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
11124 | ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
10677 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
11125 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10678 | X"$ac_dest" : 'X\(//\)[^/]' \| \ |
11126 | X"$ac_dest" : 'X\(//\)[^/]' \| \ |
10679 | X"$ac_dest" : 'X\(//\)$' \| \ |
11127 | X"$ac_dest" : 'X\(//\)$' \| \ |
10680 | X"$ac_dest" : 'X\(/\)' \| \ |
11128 | X"$ac_dest" : 'X\(/\)' \| \ |
10681 | . : '\(.\)' 2>/dev/null || |
11129 | . : '\(.\)' 2>/dev/null || |
10682 | echo X"$ac_dest" | |
11130 | echo X"$ac_dest" | |
10683 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
11131 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10684 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
11132 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10685 | /^X\(\/\/\)$/{ s//\1/; q; } |
11133 | /^X\(\/\/\)$/{ s//\1/; q; } |
10686 | /^X\(\/\).*/{ s//\1/; q; } |
11134 | /^X\(\/\).*/{ s//\1/; q; } |
10687 | s/.*/./; q'` |
11135 | s/.*/./; q'` |
|
|
11136 | { if $as_mkdir_p; then |
|
|
11137 | mkdir -p "$ac_dir" |
|
|
11138 | else |
|
|
11139 | as_dir="$ac_dir" |
|
|
11140 | as_dirs= |
|
|
11141 | while test ! -d "$as_dir"; do |
|
|
11142 | as_dirs="$as_dir $as_dirs" |
|
|
11143 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
|
|
11144 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
11145 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
|
11146 | X"$as_dir" : 'X\(//\)$' \| \ |
|
|
11147 | X"$as_dir" : 'X\(/\)' \| \ |
|
|
11148 | . : '\(.\)' 2>/dev/null || |
|
|
11149 | echo X"$as_dir" | |
|
|
11150 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
|
11151 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
|
11152 | /^X\(\/\/\)$/{ s//\1/; q; } |
|
|
11153 | /^X\(\/\).*/{ s//\1/; q; } |
|
|
11154 | s/.*/./; q'` |
|
|
11155 | done |
|
|
11156 | test ! -n "$as_dirs" || mkdir $as_dirs |
|
|
11157 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
|
|
11158 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
|
|
11159 | { (exit 1); exit 1; }; }; } |
|
|
11160 | |
10688 | ac_builddir=. |
11161 | ac_builddir=. |
10689 | |
11162 | |
10690 | if test "$ac_dir" != .; then |
11163 | if test "$ac_dir" != .; then |
10691 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
11164 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
10692 | # A "../" for each directory in $ac_dir_suffix. |
11165 | # A "../" for each directory in $ac_dir_suffix. |
… | |
… | |
10708 | ac_top_srcdir=$srcdir ;; |
11181 | ac_top_srcdir=$srcdir ;; |
10709 | *) # Relative path. |
11182 | *) # Relative path. |
10710 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
11183 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
10711 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
11184 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
10712 | esac |
11185 | esac |
10713 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
11186 | |
10714 | # absolute. |
11187 | # Do not use `cd foo && pwd` to compute absolute paths, because |
10715 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
11188 | # the directories may not exist. |
10716 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
11189 | case `pwd` in |
10717 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
11190 | .) ac_abs_builddir="$ac_dir";; |
10718 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
11191 | *) |
|
|
11192 | case "$ac_dir" in |
|
|
11193 | .) ac_abs_builddir=`pwd`;; |
|
|
11194 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
|
|
11195 | *) ac_abs_builddir=`pwd`/"$ac_dir";; |
|
|
11196 | esac;; |
|
|
11197 | esac |
|
|
11198 | case $ac_abs_builddir in |
|
|
11199 | .) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
|
11200 | *) |
|
|
11201 | case ${ac_top_builddir}. in |
|
|
11202 | .) ac_abs_top_builddir=$ac_abs_builddir;; |
|
|
11203 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
|
11204 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
|
|
11205 | esac;; |
|
|
11206 | esac |
|
|
11207 | case $ac_abs_builddir in |
|
|
11208 | .) ac_abs_srcdir=$ac_srcdir;; |
|
|
11209 | *) |
|
|
11210 | case $ac_srcdir in |
|
|
11211 | .) ac_abs_srcdir=$ac_abs_builddir;; |
|
|
11212 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
|
|
11213 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
|
|
11214 | esac;; |
|
|
11215 | esac |
|
|
11216 | case $ac_abs_builddir in |
|
|
11217 | .) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
|
11218 | *) |
|
|
11219 | case $ac_top_srcdir in |
|
|
11220 | .) ac_abs_top_srcdir=$ac_abs_builddir;; |
|
|
11221 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
|
11222 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
|
|
11223 | esac;; |
|
|
11224 | esac |
10719 | |
11225 | |
10720 | |
11226 | |
10721 | { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
11227 | { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
10722 | echo "$as_me: executing $ac_dest commands" >&6;} |
11228 | echo "$as_me: executing $ac_dest commands" >&6;} |
10723 | case $ac_dest in |
11229 | case $ac_dest in |
… | |
… | |
10827 | # each Makefile.in and add a new line on top of each file to say so. |
11333 | # each Makefile.in and add a new line on top of each file to say so. |
10828 | # So let's grep whole file. |
11334 | # So let's grep whole file. |
10829 | if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
11335 | if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
10830 | dirpart=`(dirname "$mf") 2>/dev/null || |
11336 | dirpart=`(dirname "$mf") 2>/dev/null || |
10831 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
11337 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10832 | X"$mf" : 'X\(//\)[^/]' \| \ |
11338 | X"$mf" : 'X\(//\)[^/]' \| \ |
10833 | X"$mf" : 'X\(//\)$' \| \ |
11339 | X"$mf" : 'X\(//\)$' \| \ |
10834 | X"$mf" : 'X\(/\)' \| \ |
11340 | X"$mf" : 'X\(/\)' \| \ |
10835 | . : '\(.\)' 2>/dev/null || |
11341 | . : '\(.\)' 2>/dev/null || |
10836 | echo X"$mf" | |
11342 | echo X"$mf" | |
10837 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
11343 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10838 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
11344 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10839 | /^X\(\/\/\)$/{ s//\1/; q; } |
11345 | /^X\(\/\/\)$/{ s//\1/; q; } |
10840 | /^X\(\/\).*/{ s//\1/; q; } |
11346 | /^X\(\/\).*/{ s//\1/; q; } |
… | |
… | |
10866 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
11372 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
10867 | # Make sure the directory exists. |
11373 | # Make sure the directory exists. |
10868 | test -f "$dirpart/$file" && continue |
11374 | test -f "$dirpart/$file" && continue |
10869 | fdir=`(dirname "$file") 2>/dev/null || |
11375 | fdir=`(dirname "$file") 2>/dev/null || |
10870 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
11376 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10871 | X"$file" : 'X\(//\)[^/]' \| \ |
11377 | X"$file" : 'X\(//\)[^/]' \| \ |
10872 | X"$file" : 'X\(//\)$' \| \ |
11378 | X"$file" : 'X\(//\)$' \| \ |
10873 | X"$file" : 'X\(/\)' \| \ |
11379 | X"$file" : 'X\(/\)' \| \ |
10874 | . : '\(.\)' 2>/dev/null || |
11380 | . : '\(.\)' 2>/dev/null || |
10875 | echo X"$file" | |
11381 | echo X"$file" | |
10876 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
11382 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10877 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
11383 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10878 | /^X\(\/\/\)$/{ s//\1/; q; } |
11384 | /^X\(\/\/\)$/{ s//\1/; q; } |
10879 | /^X\(\/\).*/{ s//\1/; q; } |
11385 | /^X\(\/\).*/{ s//\1/; q; } |
… | |
… | |
10885 | as_dirs= |
11391 | as_dirs= |
10886 | while test ! -d "$as_dir"; do |
11392 | while test ! -d "$as_dir"; do |
10887 | as_dirs="$as_dir $as_dirs" |
11393 | as_dirs="$as_dir $as_dirs" |
10888 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
11394 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
10889 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
11395 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10890 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
11396 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
10891 | X"$as_dir" : 'X\(//\)$' \| \ |
11397 | X"$as_dir" : 'X\(//\)$' \| \ |
10892 | X"$as_dir" : 'X\(/\)' \| \ |
11398 | X"$as_dir" : 'X\(/\)' \| \ |
10893 | . : '\(.\)' 2>/dev/null || |
11399 | . : '\(.\)' 2>/dev/null || |
10894 | echo X"$as_dir" | |
11400 | echo X"$as_dir" | |
10895 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
11401 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10896 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
11402 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10897 | /^X\(\/\/\)$/{ s//\1/; q; } |
11403 | /^X\(\/\/\)$/{ s//\1/; q; } |
10898 | /^X\(\/\).*/{ s//\1/; q; } |
11404 | /^X\(\/\).*/{ s//\1/; q; } |
… | |
… | |
10930 | echo "*** Digest used: $DIGEST" |
11436 | echo "*** Digest used: $DIGEST" |
10931 | echo "*** HMAC length: $HMAC" |
11437 | echo "*** HMAC length: $HMAC" |
10932 | echo "*** RAND used: $RAND" |
11438 | echo "*** RAND used: $RAND" |
10933 | echo "*** Max. MTU: $MTU" |
11439 | echo "*** Max. MTU: $MTU" |
10934 | echo "*** Compression: $COMPRESS" |
11440 | echo "*** Compression: $COMPRESS" |
|
|
11441 | |
|
|
11442 | if test "x$DIGEST" = xmd4; then |
10935 | echo "***" |
11443 | 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" |
11444 | echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure" |
|
|
11445 | fi |
|
|
11446 | |
|
|
11447 | if test "$HMAC" -lt 12; then |
10940 | echo "***" |
11448 | echo "***" |
|
|
11449 | echo "*** WARNING: The hmac length you have chosen ($HMAC) is probably insecure" |
10941 | fi |
11450 | fi |
|
|
11451 | |
|
|
11452 | if test "$RAND" -lt 8; then |
|
|
11453 | echo "***" |
|
|
11454 | echo "*** WARNING: The random prefix you have chosen ($RAND) is probably insecure" |
|
|
11455 | fi |
|
|
11456 | |
|
|
11457 | echo "***" |
10942 | |
11458 | |
10943 | echo |
11459 | echo |
10944 | |
11460 | |
10945 | |
11461 | |
10946 | |
11462 | |