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=' |
… | |
… | |
268 | PACKAGE_TARNAME= |
269 | PACKAGE_TARNAME= |
269 | PACKAGE_VERSION= |
270 | PACKAGE_VERSION= |
270 | PACKAGE_STRING= |
271 | PACKAGE_STRING= |
271 | PACKAGE_BUGREPORT= |
272 | PACKAGE_BUGREPORT= |
272 | |
273 | |
273 | ac_unique_file="src/vped.C" |
274 | ac_unique_file="src/gvpe.C" |
274 | # Factoring default headers for most tests. |
275 | # Factoring default headers for most tests. |
275 | ac_includes_default="\ |
276 | ac_includes_default="\ |
276 | #include <stdio.h> |
277 | #include <stdio.h> |
277 | #if HAVE_SYS_TYPES_H |
278 | #if HAVE_SYS_TYPES_H |
278 | # include <sys/types.h> |
279 | # include <sys/types.h> |
… | |
… | |
306 | #endif |
307 | #endif |
307 | #if HAVE_UNISTD_H |
308 | #if HAVE_UNISTD_H |
308 | # include <unistd.h> |
309 | # include <unistd.h> |
309 | #endif" |
310 | #endif" |
310 | |
311 | |
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" "tincd/raw_socket" "tincd/uml_socket"; |
876 | are: "native/cygwin"; The default is to autodetect. |
878 | Broken combinations are: "tincd/cygwin"; The default |
|
|
879 | is to autodetect. |
|
|
880 | --enable-static-daemon enable statically linked daemon. |
877 | --enable-rohc enable robust header compression (rfc3095). |
881 | --enable-rohc enable robust header compression (rfc3095). |
878 | --enable-icmp enable icmp protocol support (default disabled). |
882 | --enable-icmp enable icmp protocol support (default disabled). |
879 | --enable-tcp enable tcp protocol support (default disabled). |
883 | --enable-tcp enable tcp protocol support (default disabled). |
|
|
884 | --enable-dns enable dns tunnel protocol support (DOES NOT WORK). |
880 | --enable-http-proxy enable http proxy connect support (default |
885 | --enable-http-proxy enable http proxy connect support (default |
881 | disabled). |
886 | disabled). |
882 | --enable-hmac-length=BYTES |
887 | --enable-hmac-length=BYTES |
883 | use a hmac of length BYTES bytes (default 12). |
888 | use a hmac of length BYTES bytes (default 12). |
884 | Allowed values are 4, 8, 12, 16. |
889 | Allowed values are 4, 8, 12, 16. |
… | |
… | |
954 | ac_top_srcdir=$srcdir ;; |
959 | ac_top_srcdir=$srcdir ;; |
955 | *) # Relative path. |
960 | *) # Relative path. |
956 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
961 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
957 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
962 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
958 | esac |
963 | esac |
959 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
964 | |
960 | # absolute. |
965 | # Do not use `cd foo && pwd` to compute absolute paths, because |
961 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
966 | # the directories may not exist. |
962 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
967 | case `pwd` in |
963 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
968 | .) ac_abs_builddir="$ac_dir";; |
964 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
969 | *) |
|
|
970 | case "$ac_dir" in |
|
|
971 | .) ac_abs_builddir=`pwd`;; |
|
|
972 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
|
|
973 | *) ac_abs_builddir=`pwd`/"$ac_dir";; |
|
|
974 | esac;; |
|
|
975 | esac |
|
|
976 | case $ac_abs_builddir in |
|
|
977 | .) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
|
978 | *) |
|
|
979 | case ${ac_top_builddir}. in |
|
|
980 | .) ac_abs_top_builddir=$ac_abs_builddir;; |
|
|
981 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
|
982 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
|
|
983 | esac;; |
|
|
984 | esac |
|
|
985 | case $ac_abs_builddir in |
|
|
986 | .) ac_abs_srcdir=$ac_srcdir;; |
|
|
987 | *) |
|
|
988 | case $ac_srcdir in |
|
|
989 | .) ac_abs_srcdir=$ac_abs_builddir;; |
|
|
990 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
|
|
991 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
|
|
992 | esac;; |
|
|
993 | esac |
|
|
994 | case $ac_abs_builddir in |
|
|
995 | .) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
|
996 | *) |
|
|
997 | case $ac_top_srcdir in |
|
|
998 | .) ac_abs_top_srcdir=$ac_abs_builddir;; |
|
|
999 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
|
1000 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
|
|
1001 | esac;; |
|
|
1002 | esac |
965 | |
1003 | |
966 | cd $ac_dir |
1004 | cd $ac_dir |
967 | # Check for guested configure; otherwise get Cygnus style configure. |
1005 | # Check for guested configure; otherwise get Cygnus style configure. |
968 | if test -f $ac_srcdir/configure.gnu; then |
1006 | if test -f $ac_srcdir/configure.gnu; then |
969 | echo |
1007 | echo |
970 | $SHELL $ac_srcdir/configure.gnu --help=recursive |
1008 | $SHELL $ac_srcdir/configure.gnu --help=recursive |
971 | elif test -f $ac_srcdir/configure; then |
1009 | elif test -f $ac_srcdir/configure; then |
972 | echo |
1010 | echo |
973 | $SHELL $ac_srcdir/configure --help=recursive |
1011 | $SHELL $ac_srcdir/configure --help=recursive |
974 | elif test -f $ac_srcdir/configure.ac || |
1012 | elif test -f $ac_srcdir/configure.ac || |
975 | test -f $ac_srcdir/configure.in; then |
1013 | test -f $ac_srcdir/configure.in; then |
976 | echo |
1014 | echo |
977 | $ac_configure --help |
1015 | $ac_configure --help |
978 | else |
1016 | else |
979 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1017 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
980 | fi |
1018 | fi |
… | |
… | |
984 | |
1022 | |
985 | test -n "$ac_init_help" && exit 0 |
1023 | test -n "$ac_init_help" && exit 0 |
986 | if $ac_init_version; then |
1024 | if $ac_init_version; then |
987 | cat <<\_ACEOF |
1025 | cat <<\_ACEOF |
988 | |
1026 | |
989 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
|
|
990 | Free Software Foundation, Inc. |
1027 | Copyright (C) 2003 Free Software Foundation, Inc. |
991 | This configure script is free software; the Free Software Foundation |
1028 | This configure script is free software; the Free Software Foundation |
992 | gives unlimited permission to copy, distribute and modify it. |
1029 | gives unlimited permission to copy, distribute and modify it. |
993 | _ACEOF |
1030 | _ACEOF |
994 | exit 0 |
1031 | exit 0 |
995 | fi |
1032 | fi |
… | |
… | |
997 | cat >&5 <<_ACEOF |
1034 | cat >&5 <<_ACEOF |
998 | This file contains any messages produced by compilers while |
1035 | This file contains any messages produced by compilers while |
999 | running configure, to aid debugging if configure makes a mistake. |
1036 | running configure, to aid debugging if configure makes a mistake. |
1000 | |
1037 | |
1001 | It was created by $as_me, which was |
1038 | It was created by $as_me, which was |
1002 | generated by GNU Autoconf 2.57. Invocation command line was |
1039 | generated by GNU Autoconf 2.59. Invocation command line was |
1003 | |
1040 | |
1004 | $ $0 $@ |
1041 | $ $0 $@ |
1005 | |
1042 | |
1006 | _ACEOF |
1043 | _ACEOF |
1007 | { |
1044 | { |
… | |
… | |
1074 | case $ac_pass in |
1111 | case $ac_pass in |
1075 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1112 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1076 | 2) |
1113 | 2) |
1077 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1114 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1078 | if test $ac_must_keep_next = true; then |
1115 | if test $ac_must_keep_next = true; then |
1079 | ac_must_keep_next=false # Got value, back to normal. |
1116 | ac_must_keep_next=false # Got value, back to normal. |
1080 | else |
1117 | else |
1081 | case $ac_arg in |
1118 | case $ac_arg in |
1082 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
1119 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
1083 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1120 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1084 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1121 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1085 | | -with-* | --with-* | -without-* | --without-* | --x) |
1122 | | -with-* | --with-* | -without-* | --without-* | --x) |
1086 | case "$ac_configure_args0 " in |
1123 | case "$ac_configure_args0 " in |
1087 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1124 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1088 | esac |
1125 | esac |
1089 | ;; |
1126 | ;; |
1090 | -* ) ac_must_keep_next=true ;; |
1127 | -* ) ac_must_keep_next=true ;; |
1091 | esac |
1128 | esac |
1092 | fi |
1129 | fi |
1093 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1130 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1094 | # Get rid of the leading space. |
1131 | # Get rid of the leading space. |
1095 | ac_sep=" " |
1132 | ac_sep=" " |
1096 | ;; |
1133 | ;; |
… | |
… | |
1120 | { |
1157 | { |
1121 | (set) 2>&1 | |
1158 | (set) 2>&1 | |
1122 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1159 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1123 | *ac_space=\ *) |
1160 | *ac_space=\ *) |
1124 | sed -n \ |
1161 | sed -n \ |
1125 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1162 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1126 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1163 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1127 | ;; |
1164 | ;; |
1128 | *) |
1165 | *) |
1129 | sed -n \ |
1166 | sed -n \ |
1130 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1167 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1131 | ;; |
1168 | ;; |
1132 | esac; |
1169 | esac; |
1133 | } |
1170 | } |
1134 | echo |
1171 | echo |
1135 | |
1172 | |
… | |
… | |
1154 | _ASBOX |
1191 | _ASBOX |
1155 | echo |
1192 | echo |
1156 | for ac_var in $ac_subst_files |
1193 | for ac_var in $ac_subst_files |
1157 | do |
1194 | do |
1158 | eval ac_val=$`echo $ac_var` |
1195 | eval ac_val=$`echo $ac_var` |
1159 | echo "$ac_var='"'"'$ac_val'"'"'" |
1196 | echo "$ac_var='"'"'$ac_val'"'"'" |
1160 | done | sort |
1197 | done | sort |
1161 | echo |
1198 | echo |
1162 | fi |
1199 | fi |
1163 | |
1200 | |
1164 | if test -s confdefs.h; then |
1201 | if test -s confdefs.h; then |
… | |
… | |
1253 | |
1290 | |
1254 | # Check that the precious variables saved in the cache have kept the same |
1291 | # Check that the precious variables saved in the cache have kept the same |
1255 | # value. |
1292 | # value. |
1256 | ac_cache_corrupted=false |
1293 | ac_cache_corrupted=false |
1257 | for ac_var in `(set) 2>&1 | |
1294 | for ac_var in `(set) 2>&1 | |
1258 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1295 | 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 |
1296 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1260 | eval ac_new_set=\$ac_env_${ac_var}_set |
1297 | eval ac_new_set=\$ac_env_${ac_var}_set |
1261 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
1298 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
1262 | eval ac_new_val="\$ac_env_${ac_var}_value" |
1299 | eval ac_new_val="\$ac_env_${ac_var}_value" |
1263 | case $ac_old_set,$ac_new_set in |
1300 | case $ac_old_set,$ac_new_set in |
… | |
… | |
1270 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1307 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1271 | ac_cache_corrupted=: ;; |
1308 | ac_cache_corrupted=: ;; |
1272 | ,);; |
1309 | ,);; |
1273 | *) |
1310 | *) |
1274 | if test "x$ac_old_val" != "x$ac_new_val"; then |
1311 | 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 |
1312 | { 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;} |
1313 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1277 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1314 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1278 | echo "$as_me: former value: $ac_old_val" >&2;} |
1315 | echo "$as_me: former value: $ac_old_val" >&2;} |
1279 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1316 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1280 | echo "$as_me: current value: $ac_new_val" >&2;} |
1317 | echo "$as_me: current value: $ac_new_val" >&2;} |
1281 | ac_cache_corrupted=: |
1318 | ac_cache_corrupted=: |
1282 | fi;; |
1319 | fi;; |
1283 | esac |
1320 | esac |
1284 | # Pass precious variables to config.status. |
1321 | # Pass precious variables to config.status. |
1285 | if test "$ac_new_set" = set; then |
1322 | if test "$ac_new_set" = set; then |
1286 | case $ac_new_val in |
1323 | case $ac_new_val in |
… | |
… | |
1324 | |
1361 | |
1325 | |
1362 | |
1326 | |
1363 | |
1327 | |
1364 | |
1328 | |
1365 | |
|
|
1366 | |
1329 | ac_aux_dir= |
1367 | ac_aux_dir= |
1330 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
1368 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
1331 | if test -f $ac_dir/install-sh; then |
1369 | if test -f $ac_dir/install-sh; then |
1332 | ac_aux_dir=$ac_dir |
1370 | ac_aux_dir=$ac_dir |
1333 | ac_install_sh="$ac_aux_dir/install-sh -c" |
1371 | ac_install_sh="$ac_aux_dir/install-sh -c" |
… | |
… | |
1443 | # AIX /bin/install |
1481 | # AIX /bin/install |
1444 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
1482 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
1445 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
1483 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
1446 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
1484 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
1447 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
1485 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
|
|
1486 | # OS/2's system install, which has a completely different semantic |
1448 | # ./install, which can be erroneously created by make from ./install.sh. |
1487 | # ./install, which can be erroneously created by make from ./install.sh. |
1449 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
1488 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
1450 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
1489 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
1451 | if test -z "$INSTALL"; then |
1490 | if test -z "$INSTALL"; then |
1452 | if test "${ac_cv_path_install+set}" = set; then |
1491 | if test "${ac_cv_path_install+set}" = set; then |
… | |
… | |
1459 | test -z "$as_dir" && as_dir=. |
1498 | test -z "$as_dir" && as_dir=. |
1460 | # Account for people who put trailing slashes in PATH elements. |
1499 | # Account for people who put trailing slashes in PATH elements. |
1461 | case $as_dir/ in |
1500 | case $as_dir/ in |
1462 | ./ | .// | /cC/* | \ |
1501 | ./ | .// | /cC/* | \ |
1463 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
1502 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
|
|
1503 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
1464 | /usr/ucb/* ) ;; |
1504 | /usr/ucb/* ) ;; |
1465 | *) |
1505 | *) |
1466 | # OSF1 and SCO ODT 3.0 have their own names for install. |
1506 | # 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 |
1507 | # Don't use installbsd from OSF since it installs stuff as root |
1468 | # by default. |
1508 | # by default. |
1469 | for ac_prog in ginstall scoinst install; do |
1509 | for ac_prog in ginstall scoinst install; do |
1470 | for ac_exec_ext in '' $ac_executable_extensions; do |
1510 | for ac_exec_ext in '' $ac_executable_extensions; do |
1471 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
1511 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
1472 | if test $ac_prog = install && |
1512 | if test $ac_prog = install && |
1473 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1513 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1474 | # AIX install. It has an incompatible calling convention. |
1514 | # AIX install. It has an incompatible calling convention. |
1475 | : |
1515 | : |
1476 | elif test $ac_prog = install && |
1516 | elif test $ac_prog = install && |
1477 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1517 | 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. |
1518 | # program-specific install script used by HP pwplus--don't use. |
1479 | : |
1519 | : |
1480 | else |
1520 | else |
1481 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
1521 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
1482 | break 3 |
1522 | break 3 |
1483 | fi |
1523 | fi |
1484 | fi |
1524 | fi |
1485 | done |
1525 | done |
1486 | done |
1526 | done |
1487 | ;; |
1527 | ;; |
1488 | esac |
1528 | esac |
1489 | done |
1529 | done |
… | |
… | |
1623 | test -n "$AWK" && break |
1663 | test -n "$AWK" && break |
1624 | done |
1664 | done |
1625 | |
1665 | |
1626 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
1666 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
1627 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
1667 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
1628 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
1668 | 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 |
1669 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
1630 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1670 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1631 | else |
1671 | else |
1632 | cat >conftest.make <<\_ACEOF |
1672 | cat >conftest.make <<\_ACEOF |
1633 | all: |
1673 | all: |
… | |
… | |
1678 | fi |
1718 | fi |
1679 | fi |
1719 | fi |
1680 | |
1720 | |
1681 | |
1721 | |
1682 | # Define the identity of the package. |
1722 | # Define the identity of the package. |
1683 | PACKAGE=vpe |
1723 | PACKAGE=gvpe |
1684 | VERSION=1.2 |
1724 | VERSION=1.8 |
1685 | |
1725 | |
1686 | |
1726 | |
1687 | cat >>confdefs.h <<_ACEOF |
1727 | cat >>confdefs.h <<_ACEOF |
1688 | #define PACKAGE "$PACKAGE" |
1728 | #define PACKAGE "$PACKAGE" |
1689 | _ACEOF |
1729 | _ACEOF |
… | |
… | |
2455 | ac_status=$? |
2495 | ac_status=$? |
2456 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2496 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2457 | (exit $ac_status); } |
2497 | (exit $ac_status); } |
2458 | |
2498 | |
2459 | cat >conftest.$ac_ext <<_ACEOF |
2499 | cat >conftest.$ac_ext <<_ACEOF |
2460 | #line $LINENO "configure" |
|
|
2461 | /* confdefs.h. */ |
2500 | /* confdefs.h. */ |
2462 | _ACEOF |
2501 | _ACEOF |
2463 | cat confdefs.h >>conftest.$ac_ext |
2502 | cat confdefs.h >>conftest.$ac_ext |
2464 | cat >>conftest.$ac_ext <<_ACEOF |
2503 | cat >>conftest.$ac_ext <<_ACEOF |
2465 | /* end confdefs.h. */ |
2504 | /* end confdefs.h. */ |
… | |
… | |
2475 | ac_clean_files_save=$ac_clean_files |
2514 | ac_clean_files_save=$ac_clean_files |
2476 | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
2515 | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
2477 | # Try to create an executable without -o first, disregard a.out. |
2516 | # Try to create an executable without -o first, disregard a.out. |
2478 | # It will help us diagnose broken compilers, and finding out an intuition |
2517 | # It will help us diagnose broken compilers, and finding out an intuition |
2479 | # of exeext. |
2518 | # of exeext. |
2480 | echo "$as_me:$LINENO: checking for C compiler default output" >&5 |
2519 | 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 |
2520 | 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[^ ]*//'` |
2521 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2483 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
2522 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
2484 | (eval $ac_link_default) 2>&5 |
2523 | (eval $ac_link_default) 2>&5 |
2485 | ac_status=$? |
2524 | ac_status=$? |
2486 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2525 | 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 |
2535 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
2497 | do |
2536 | do |
2498 | test -f "$ac_file" || continue |
2537 | test -f "$ac_file" || continue |
2499 | case $ac_file in |
2538 | case $ac_file in |
2500 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
2539 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
2501 | ;; |
2540 | ;; |
2502 | conftest.$ac_ext ) |
2541 | conftest.$ac_ext ) |
2503 | # This is the source file. |
2542 | # This is the source file. |
2504 | ;; |
2543 | ;; |
2505 | [ab].out ) |
2544 | [ab].out ) |
2506 | # We found the default executable, but exeext='' is most |
2545 | # We found the default executable, but exeext='' is most |
2507 | # certainly right. |
2546 | # certainly right. |
2508 | break;; |
2547 | break;; |
2509 | *.* ) |
2548 | *.* ) |
2510 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2549 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2511 | # FIXME: I believe we export ac_cv_exeext for Libtool, |
2550 | # 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 |
2551 | # but it would be cool to find out if it's true. Does anybody |
2513 | # maintain Libtool? --akim. |
2552 | # maintain Libtool? --akim. |
2514 | export ac_cv_exeext |
2553 | export ac_cv_exeext |
2515 | break;; |
2554 | break;; |
2516 | * ) |
2555 | * ) |
2517 | break;; |
2556 | break;; |
2518 | esac |
2557 | esac |
2519 | done |
2558 | done |
2520 | else |
2559 | else |
2521 | echo "$as_me: failed program was:" >&5 |
2560 | echo "$as_me: failed program was:" >&5 |
2522 | sed 's/^/| /' conftest.$ac_ext >&5 |
2561 | sed 's/^/| /' conftest.$ac_ext >&5 |
… | |
… | |
2586 | for ac_file in conftest.exe conftest conftest.*; do |
2625 | for ac_file in conftest.exe conftest conftest.*; do |
2587 | test -f "$ac_file" || continue |
2626 | test -f "$ac_file" || continue |
2588 | case $ac_file in |
2627 | case $ac_file in |
2589 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
2628 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
2590 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2629 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2591 | export ac_cv_exeext |
2630 | export ac_cv_exeext |
2592 | break;; |
2631 | break;; |
2593 | * ) break;; |
2632 | * ) break;; |
2594 | esac |
2633 | esac |
2595 | done |
2634 | done |
2596 | else |
2635 | else |
2597 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
2636 | { { 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 |
2651 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
2613 | if test "${ac_cv_objext+set}" = set; then |
2652 | if test "${ac_cv_objext+set}" = set; then |
2614 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2653 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2615 | else |
2654 | else |
2616 | cat >conftest.$ac_ext <<_ACEOF |
2655 | cat >conftest.$ac_ext <<_ACEOF |
2617 | #line $LINENO "configure" |
|
|
2618 | /* confdefs.h. */ |
2656 | /* confdefs.h. */ |
2619 | _ACEOF |
2657 | _ACEOF |
2620 | cat confdefs.h >>conftest.$ac_ext |
2658 | cat confdefs.h >>conftest.$ac_ext |
2621 | cat >>conftest.$ac_ext <<_ACEOF |
2659 | cat >>conftest.$ac_ext <<_ACEOF |
2622 | /* end confdefs.h. */ |
2660 | /* end confdefs.h. */ |
… | |
… | |
2663 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
2701 | 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 |
2702 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
2665 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2703 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2666 | else |
2704 | else |
2667 | cat >conftest.$ac_ext <<_ACEOF |
2705 | cat >conftest.$ac_ext <<_ACEOF |
2668 | #line $LINENO "configure" |
|
|
2669 | /* confdefs.h. */ |
2706 | /* confdefs.h. */ |
2670 | _ACEOF |
2707 | _ACEOF |
2671 | cat confdefs.h >>conftest.$ac_ext |
2708 | cat confdefs.h >>conftest.$ac_ext |
2672 | cat >>conftest.$ac_ext <<_ACEOF |
2709 | cat >>conftest.$ac_ext <<_ACEOF |
2673 | /* end confdefs.h. */ |
2710 | /* end confdefs.h. */ |
… | |
… | |
2683 | return 0; |
2720 | return 0; |
2684 | } |
2721 | } |
2685 | _ACEOF |
2722 | _ACEOF |
2686 | rm -f conftest.$ac_objext |
2723 | rm -f conftest.$ac_objext |
2687 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2724 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2688 | (eval $ac_compile) 2>&5 |
2725 | (eval $ac_compile) 2>conftest.er1 |
2689 | ac_status=$? |
2726 | ac_status=$? |
|
|
2727 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2728 | rm -f conftest.er1 |
|
|
2729 | cat conftest.err >&5 |
2690 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2730 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2691 | (exit $ac_status); } && |
2731 | (exit $ac_status); } && |
2692 | { ac_try='test -s conftest.$ac_objext' |
2732 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2693 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2733 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2694 | (eval $ac_try) 2>&5 |
2734 | (eval $ac_try) 2>&5 |
2695 | ac_status=$? |
2735 | ac_status=$? |
2696 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2736 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2737 | (exit $ac_status); }; } && |
|
|
2738 | { ac_try='test -s conftest.$ac_objext' |
|
|
2739 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2740 | (eval $ac_try) 2>&5 |
|
|
2741 | ac_status=$? |
|
|
2742 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2697 | (exit $ac_status); }; }; then |
2743 | (exit $ac_status); }; }; then |
2698 | ac_compiler_gnu=yes |
2744 | ac_compiler_gnu=yes |
2699 | else |
2745 | else |
2700 | echo "$as_me: failed program was:" >&5 |
2746 | echo "$as_me: failed program was:" >&5 |
2701 | sed 's/^/| /' conftest.$ac_ext >&5 |
2747 | sed 's/^/| /' conftest.$ac_ext >&5 |
2702 | |
2748 | |
2703 | ac_compiler_gnu=no |
2749 | ac_compiler_gnu=no |
2704 | fi |
2750 | fi |
2705 | rm -f conftest.$ac_objext conftest.$ac_ext |
2751 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2706 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2752 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2707 | |
2753 | |
2708 | fi |
2754 | fi |
2709 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
2755 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
2710 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
2756 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
… | |
… | |
2716 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
2762 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
2717 | if test "${ac_cv_prog_cc_g+set}" = set; then |
2763 | if test "${ac_cv_prog_cc_g+set}" = set; then |
2718 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2764 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2719 | else |
2765 | else |
2720 | cat >conftest.$ac_ext <<_ACEOF |
2766 | cat >conftest.$ac_ext <<_ACEOF |
2721 | #line $LINENO "configure" |
|
|
2722 | /* confdefs.h. */ |
2767 | /* confdefs.h. */ |
2723 | _ACEOF |
2768 | _ACEOF |
2724 | cat confdefs.h >>conftest.$ac_ext |
2769 | cat confdefs.h >>conftest.$ac_ext |
2725 | cat >>conftest.$ac_ext <<_ACEOF |
2770 | cat >>conftest.$ac_ext <<_ACEOF |
2726 | /* end confdefs.h. */ |
2771 | /* end confdefs.h. */ |
… | |
… | |
2733 | return 0; |
2778 | return 0; |
2734 | } |
2779 | } |
2735 | _ACEOF |
2780 | _ACEOF |
2736 | rm -f conftest.$ac_objext |
2781 | rm -f conftest.$ac_objext |
2737 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2782 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2738 | (eval $ac_compile) 2>&5 |
2783 | (eval $ac_compile) 2>conftest.er1 |
2739 | ac_status=$? |
2784 | ac_status=$? |
|
|
2785 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2786 | rm -f conftest.er1 |
|
|
2787 | cat conftest.err >&5 |
2740 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2788 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2741 | (exit $ac_status); } && |
2789 | (exit $ac_status); } && |
2742 | { ac_try='test -s conftest.$ac_objext' |
2790 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2743 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2791 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2744 | (eval $ac_try) 2>&5 |
2792 | (eval $ac_try) 2>&5 |
2745 | ac_status=$? |
2793 | ac_status=$? |
2746 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2794 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2795 | (exit $ac_status); }; } && |
|
|
2796 | { ac_try='test -s conftest.$ac_objext' |
|
|
2797 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2798 | (eval $ac_try) 2>&5 |
|
|
2799 | ac_status=$? |
|
|
2800 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2747 | (exit $ac_status); }; }; then |
2801 | (exit $ac_status); }; }; then |
2748 | ac_cv_prog_cc_g=yes |
2802 | ac_cv_prog_cc_g=yes |
2749 | else |
2803 | else |
2750 | echo "$as_me: failed program was:" >&5 |
2804 | echo "$as_me: failed program was:" >&5 |
2751 | sed 's/^/| /' conftest.$ac_ext >&5 |
2805 | sed 's/^/| /' conftest.$ac_ext >&5 |
2752 | |
2806 | |
2753 | ac_cv_prog_cc_g=no |
2807 | ac_cv_prog_cc_g=no |
2754 | fi |
2808 | fi |
2755 | rm -f conftest.$ac_objext conftest.$ac_ext |
2809 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2756 | fi |
2810 | fi |
2757 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2811 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2758 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
2812 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
2759 | if test "$ac_test_CFLAGS" = set; then |
2813 | if test "$ac_test_CFLAGS" = set; then |
2760 | CFLAGS=$ac_save_CFLAGS |
2814 | CFLAGS=$ac_save_CFLAGS |
… | |
… | |
2777 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2831 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2778 | else |
2832 | else |
2779 | ac_cv_prog_cc_stdc=no |
2833 | ac_cv_prog_cc_stdc=no |
2780 | ac_save_CC=$CC |
2834 | ac_save_CC=$CC |
2781 | cat >conftest.$ac_ext <<_ACEOF |
2835 | cat >conftest.$ac_ext <<_ACEOF |
2782 | #line $LINENO "configure" |
|
|
2783 | /* confdefs.h. */ |
2836 | /* confdefs.h. */ |
2784 | _ACEOF |
2837 | _ACEOF |
2785 | cat confdefs.h >>conftest.$ac_ext |
2838 | cat confdefs.h >>conftest.$ac_ext |
2786 | cat >>conftest.$ac_ext <<_ACEOF |
2839 | cat >>conftest.$ac_ext <<_ACEOF |
2787 | /* end confdefs.h. */ |
2840 | /* end confdefs.h. */ |
… | |
… | |
2805 | va_start (v,p); |
2858 | va_start (v,p); |
2806 | s = g (p, va_arg (v,int)); |
2859 | s = g (p, va_arg (v,int)); |
2807 | va_end (v); |
2860 | va_end (v); |
2808 | return s; |
2861 | return s; |
2809 | } |
2862 | } |
|
|
2863 | |
|
|
2864 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|
|
2865 | function prototypes and stuff, but not '\xHH' hex character constants. |
|
|
2866 | These don't provoke an error unfortunately, instead are silently treated |
|
|
2867 | as 'x'. The following induces an error, until -std1 is added to get |
|
|
2868 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
|
|
2869 | array size at least. It's necessary to write '\x00'==0 to get something |
|
|
2870 | that's true only with -std1. */ |
|
|
2871 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
|
2872 | |
2810 | int test (int i, double x); |
2873 | int test (int i, double x); |
2811 | struct s1 {int (*f) (int a);}; |
2874 | struct s1 {int (*f) (int a);}; |
2812 | struct s2 {int (*f) (double a);}; |
2875 | struct s2 {int (*f) (double a);}; |
2813 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
2876 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
2814 | int argc; |
2877 | int argc; |
… | |
… | |
2831 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2894 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2832 | do |
2895 | do |
2833 | CC="$ac_save_CC $ac_arg" |
2896 | CC="$ac_save_CC $ac_arg" |
2834 | rm -f conftest.$ac_objext |
2897 | rm -f conftest.$ac_objext |
2835 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2898 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2836 | (eval $ac_compile) 2>&5 |
2899 | (eval $ac_compile) 2>conftest.er1 |
2837 | ac_status=$? |
2900 | ac_status=$? |
|
|
2901 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2902 | rm -f conftest.er1 |
|
|
2903 | cat conftest.err >&5 |
2838 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2904 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2839 | (exit $ac_status); } && |
2905 | (exit $ac_status); } && |
|
|
2906 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
2907 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2908 | (eval $ac_try) 2>&5 |
|
|
2909 | ac_status=$? |
|
|
2910 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2911 | (exit $ac_status); }; } && |
2840 | { ac_try='test -s conftest.$ac_objext' |
2912 | { ac_try='test -s conftest.$ac_objext' |
2841 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2913 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2842 | (eval $ac_try) 2>&5 |
2914 | (eval $ac_try) 2>&5 |
2843 | ac_status=$? |
2915 | ac_status=$? |
2844 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2916 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2845 | (exit $ac_status); }; }; then |
2917 | (exit $ac_status); }; }; then |
… | |
… | |
2848 | else |
2920 | else |
2849 | echo "$as_me: failed program was:" >&5 |
2921 | echo "$as_me: failed program was:" >&5 |
2850 | sed 's/^/| /' conftest.$ac_ext >&5 |
2922 | sed 's/^/| /' conftest.$ac_ext >&5 |
2851 | |
2923 | |
2852 | fi |
2924 | fi |
2853 | rm -f conftest.$ac_objext |
2925 | rm -f conftest.err conftest.$ac_objext |
2854 | done |
2926 | done |
2855 | rm -f conftest.$ac_ext conftest.$ac_objext |
2927 | rm -f conftest.$ac_ext conftest.$ac_objext |
2856 | CC=$ac_save_CC |
2928 | CC=$ac_save_CC |
2857 | |
2929 | |
2858 | fi |
2930 | fi |
… | |
… | |
2876 | choke me |
2948 | choke me |
2877 | #endif |
2949 | #endif |
2878 | _ACEOF |
2950 | _ACEOF |
2879 | rm -f conftest.$ac_objext |
2951 | rm -f conftest.$ac_objext |
2880 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2952 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2881 | (eval $ac_compile) 2>&5 |
2953 | (eval $ac_compile) 2>conftest.er1 |
2882 | ac_status=$? |
2954 | ac_status=$? |
|
|
2955 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2956 | rm -f conftest.er1 |
|
|
2957 | cat conftest.err >&5 |
2883 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2958 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2884 | (exit $ac_status); } && |
2959 | (exit $ac_status); } && |
|
|
2960 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
2961 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2962 | (eval $ac_try) 2>&5 |
|
|
2963 | ac_status=$? |
|
|
2964 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2965 | (exit $ac_status); }; } && |
2885 | { ac_try='test -s conftest.$ac_objext' |
2966 | { ac_try='test -s conftest.$ac_objext' |
2886 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2967 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2887 | (eval $ac_try) 2>&5 |
2968 | (eval $ac_try) 2>&5 |
2888 | ac_status=$? |
2969 | ac_status=$? |
2889 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2970 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2890 | (exit $ac_status); }; }; then |
2971 | (exit $ac_status); }; }; then |
… | |
… | |
2895 | 'extern "C" void exit (int) throw ();' \ |
2976 | 'extern "C" void exit (int) throw ();' \ |
2896 | 'extern "C" void exit (int);' \ |
2977 | 'extern "C" void exit (int);' \ |
2897 | 'void exit (int);' |
2978 | 'void exit (int);' |
2898 | do |
2979 | do |
2899 | cat >conftest.$ac_ext <<_ACEOF |
2980 | cat >conftest.$ac_ext <<_ACEOF |
2900 | #line $LINENO "configure" |
|
|
2901 | /* confdefs.h. */ |
2981 | /* confdefs.h. */ |
2902 | _ACEOF |
2982 | _ACEOF |
2903 | cat confdefs.h >>conftest.$ac_ext |
2983 | cat confdefs.h >>conftest.$ac_ext |
2904 | cat >>conftest.$ac_ext <<_ACEOF |
2984 | cat >>conftest.$ac_ext <<_ACEOF |
2905 | /* end confdefs.h. */ |
2985 | /* end confdefs.h. */ |
… | |
… | |
2913 | return 0; |
2993 | return 0; |
2914 | } |
2994 | } |
2915 | _ACEOF |
2995 | _ACEOF |
2916 | rm -f conftest.$ac_objext |
2996 | rm -f conftest.$ac_objext |
2917 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2997 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2918 | (eval $ac_compile) 2>&5 |
2998 | (eval $ac_compile) 2>conftest.er1 |
2919 | ac_status=$? |
2999 | ac_status=$? |
|
|
3000 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3001 | rm -f conftest.er1 |
|
|
3002 | cat conftest.err >&5 |
2920 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3003 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2921 | (exit $ac_status); } && |
3004 | (exit $ac_status); } && |
2922 | { ac_try='test -s conftest.$ac_objext' |
3005 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2923 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3006 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2924 | (eval $ac_try) 2>&5 |
3007 | (eval $ac_try) 2>&5 |
2925 | ac_status=$? |
3008 | ac_status=$? |
2926 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3009 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3010 | (exit $ac_status); }; } && |
|
|
3011 | { ac_try='test -s conftest.$ac_objext' |
|
|
3012 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3013 | (eval $ac_try) 2>&5 |
|
|
3014 | ac_status=$? |
|
|
3015 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2927 | (exit $ac_status); }; }; then |
3016 | (exit $ac_status); }; }; then |
2928 | : |
3017 | : |
2929 | else |
3018 | else |
2930 | echo "$as_me: failed program was:" >&5 |
3019 | echo "$as_me: failed program was:" >&5 |
2931 | sed 's/^/| /' conftest.$ac_ext >&5 |
3020 | sed 's/^/| /' conftest.$ac_ext >&5 |
2932 | |
3021 | |
2933 | continue |
3022 | continue |
2934 | fi |
3023 | fi |
2935 | rm -f conftest.$ac_objext conftest.$ac_ext |
3024 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2936 | cat >conftest.$ac_ext <<_ACEOF |
3025 | cat >conftest.$ac_ext <<_ACEOF |
2937 | #line $LINENO "configure" |
|
|
2938 | /* confdefs.h. */ |
3026 | /* confdefs.h. */ |
2939 | _ACEOF |
3027 | _ACEOF |
2940 | cat confdefs.h >>conftest.$ac_ext |
3028 | cat confdefs.h >>conftest.$ac_ext |
2941 | cat >>conftest.$ac_ext <<_ACEOF |
3029 | cat >>conftest.$ac_ext <<_ACEOF |
2942 | /* end confdefs.h. */ |
3030 | /* end confdefs.h. */ |
… | |
… | |
2949 | return 0; |
3037 | return 0; |
2950 | } |
3038 | } |
2951 | _ACEOF |
3039 | _ACEOF |
2952 | rm -f conftest.$ac_objext |
3040 | rm -f conftest.$ac_objext |
2953 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3041 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2954 | (eval $ac_compile) 2>&5 |
3042 | (eval $ac_compile) 2>conftest.er1 |
2955 | ac_status=$? |
3043 | ac_status=$? |
|
|
3044 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3045 | rm -f conftest.er1 |
|
|
3046 | cat conftest.err >&5 |
2956 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3047 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2957 | (exit $ac_status); } && |
3048 | (exit $ac_status); } && |
2958 | { ac_try='test -s conftest.$ac_objext' |
3049 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2959 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3050 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2960 | (eval $ac_try) 2>&5 |
3051 | (eval $ac_try) 2>&5 |
2961 | ac_status=$? |
3052 | ac_status=$? |
2962 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3053 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3054 | (exit $ac_status); }; } && |
|
|
3055 | { ac_try='test -s conftest.$ac_objext' |
|
|
3056 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3057 | (eval $ac_try) 2>&5 |
|
|
3058 | ac_status=$? |
|
|
3059 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2963 | (exit $ac_status); }; }; then |
3060 | (exit $ac_status); }; }; then |
2964 | break |
3061 | break |
2965 | else |
3062 | else |
2966 | echo "$as_me: failed program was:" >&5 |
3063 | echo "$as_me: failed program was:" >&5 |
2967 | sed 's/^/| /' conftest.$ac_ext >&5 |
3064 | sed 's/^/| /' conftest.$ac_ext >&5 |
2968 | |
3065 | |
2969 | fi |
3066 | fi |
2970 | rm -f conftest.$ac_objext conftest.$ac_ext |
3067 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2971 | done |
3068 | done |
2972 | rm -f conftest* |
3069 | rm -f conftest* |
2973 | if test -n "$ac_declaration"; then |
3070 | if test -n "$ac_declaration"; then |
2974 | echo '#ifdef __cplusplus' >>confdefs.h |
3071 | echo '#ifdef __cplusplus' >>confdefs.h |
2975 | echo $ac_declaration >>confdefs.h |
3072 | echo $ac_declaration >>confdefs.h |
… | |
… | |
2979 | else |
3076 | else |
2980 | echo "$as_me: failed program was:" >&5 |
3077 | echo "$as_me: failed program was:" >&5 |
2981 | sed 's/^/| /' conftest.$ac_ext >&5 |
3078 | sed 's/^/| /' conftest.$ac_ext >&5 |
2982 | |
3079 | |
2983 | fi |
3080 | fi |
2984 | rm -f conftest.$ac_objext conftest.$ac_ext |
3081 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2985 | ac_ext=c |
3082 | ac_ext=c |
2986 | ac_cpp='$CPP $CPPFLAGS' |
3083 | ac_cpp='$CPP $CPPFLAGS' |
2987 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3084 | 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' |
3085 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2989 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3086 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
… | |
… | |
3652 | echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6 |
3749 | echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6 |
3653 | if test "${gt_cv_func_gnugettext1_libc+set}" = set; then |
3750 | if test "${gt_cv_func_gnugettext1_libc+set}" = set; then |
3654 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3751 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3655 | else |
3752 | else |
3656 | cat >conftest.$ac_ext <<_ACEOF |
3753 | cat >conftest.$ac_ext <<_ACEOF |
3657 | #line $LINENO "configure" |
|
|
3658 | /* confdefs.h. */ |
3754 | /* confdefs.h. */ |
3659 | _ACEOF |
3755 | _ACEOF |
3660 | cat confdefs.h >>conftest.$ac_ext |
3756 | cat confdefs.h >>conftest.$ac_ext |
3661 | cat >>conftest.$ac_ext <<_ACEOF |
3757 | cat >>conftest.$ac_ext <<_ACEOF |
3662 | /* end confdefs.h. */ |
3758 | /* end confdefs.h. */ |
… | |
… | |
3672 | return 0; |
3768 | return 0; |
3673 | } |
3769 | } |
3674 | _ACEOF |
3770 | _ACEOF |
3675 | rm -f conftest.$ac_objext conftest$ac_exeext |
3771 | rm -f conftest.$ac_objext conftest$ac_exeext |
3676 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3772 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3677 | (eval $ac_link) 2>&5 |
3773 | (eval $ac_link) 2>conftest.er1 |
3678 | ac_status=$? |
3774 | ac_status=$? |
|
|
3775 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3776 | rm -f conftest.er1 |
|
|
3777 | cat conftest.err >&5 |
3679 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3778 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3680 | (exit $ac_status); } && |
3779 | (exit $ac_status); } && |
3681 | { ac_try='test -s conftest$ac_exeext' |
3780 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
3682 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3781 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3683 | (eval $ac_try) 2>&5 |
3782 | (eval $ac_try) 2>&5 |
3684 | ac_status=$? |
3783 | ac_status=$? |
3685 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3784 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3785 | (exit $ac_status); }; } && |
|
|
3786 | { ac_try='test -s conftest$ac_exeext' |
|
|
3787 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3788 | (eval $ac_try) 2>&5 |
|
|
3789 | ac_status=$? |
|
|
3790 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3686 | (exit $ac_status); }; }; then |
3791 | (exit $ac_status); }; }; then |
3687 | gt_cv_func_gnugettext1_libc=yes |
3792 | gt_cv_func_gnugettext1_libc=yes |
3688 | else |
3793 | else |
3689 | echo "$as_me: failed program was:" >&5 |
3794 | echo "$as_me: failed program was:" >&5 |
3690 | sed 's/^/| /' conftest.$ac_ext >&5 |
3795 | sed 's/^/| /' conftest.$ac_ext >&5 |
3691 | |
3796 | |
3692 | gt_cv_func_gnugettext1_libc=no |
3797 | gt_cv_func_gnugettext1_libc=no |
3693 | fi |
3798 | fi |
3694 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3799 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3800 | conftest$ac_exeext conftest.$ac_ext |
3695 | fi |
3801 | fi |
3696 | echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5 |
3802 | echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5 |
3697 | echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6 |
3803 | echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6 |
3698 | |
3804 | |
3699 | if test "$gt_cv_func_gnugettext1_libc" != "yes"; then |
3805 | if test "$gt_cv_func_gnugettext1_libc" != "yes"; then |
… | |
… | |
3734 | else |
3840 | else |
3735 | |
3841 | |
3736 | am_cv_func_iconv="no, consider installing GNU libiconv" |
3842 | am_cv_func_iconv="no, consider installing GNU libiconv" |
3737 | am_cv_lib_iconv=no |
3843 | am_cv_lib_iconv=no |
3738 | cat >conftest.$ac_ext <<_ACEOF |
3844 | cat >conftest.$ac_ext <<_ACEOF |
3739 | #line $LINENO "configure" |
|
|
3740 | /* confdefs.h. */ |
3845 | /* confdefs.h. */ |
3741 | _ACEOF |
3846 | _ACEOF |
3742 | cat confdefs.h >>conftest.$ac_ext |
3847 | cat confdefs.h >>conftest.$ac_ext |
3743 | cat >>conftest.$ac_ext <<_ACEOF |
3848 | cat >>conftest.$ac_ext <<_ACEOF |
3744 | /* end confdefs.h. */ |
3849 | /* end confdefs.h. */ |
… | |
… | |
3754 | return 0; |
3859 | return 0; |
3755 | } |
3860 | } |
3756 | _ACEOF |
3861 | _ACEOF |
3757 | rm -f conftest.$ac_objext conftest$ac_exeext |
3862 | rm -f conftest.$ac_objext conftest$ac_exeext |
3758 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3863 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3759 | (eval $ac_link) 2>&5 |
3864 | (eval $ac_link) 2>conftest.er1 |
3760 | ac_status=$? |
3865 | ac_status=$? |
|
|
3866 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3867 | rm -f conftest.er1 |
|
|
3868 | cat conftest.err >&5 |
3761 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3869 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3762 | (exit $ac_status); } && |
3870 | (exit $ac_status); } && |
3763 | { ac_try='test -s conftest$ac_exeext' |
3871 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
3764 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3872 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3765 | (eval $ac_try) 2>&5 |
3873 | (eval $ac_try) 2>&5 |
3766 | ac_status=$? |
3874 | ac_status=$? |
3767 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3875 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3876 | (exit $ac_status); }; } && |
|
|
3877 | { ac_try='test -s conftest$ac_exeext' |
|
|
3878 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3879 | (eval $ac_try) 2>&5 |
|
|
3880 | ac_status=$? |
|
|
3881 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3768 | (exit $ac_status); }; }; then |
3882 | (exit $ac_status); }; }; then |
3769 | am_cv_func_iconv=yes |
3883 | am_cv_func_iconv=yes |
3770 | else |
3884 | else |
3771 | echo "$as_me: failed program was:" >&5 |
3885 | echo "$as_me: failed program was:" >&5 |
3772 | sed 's/^/| /' conftest.$ac_ext >&5 |
3886 | sed 's/^/| /' conftest.$ac_ext >&5 |
3773 | |
3887 | |
3774 | fi |
3888 | fi |
3775 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3889 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3890 | conftest$ac_exeext conftest.$ac_ext |
3776 | if test "$am_cv_func_iconv" != yes; then |
3891 | if test "$am_cv_func_iconv" != yes; then |
3777 | am_save_LIBS="$LIBS" |
3892 | am_save_LIBS="$LIBS" |
3778 | LIBS="$LIBS $LIBICONV" |
3893 | LIBS="$LIBS $LIBICONV" |
3779 | cat >conftest.$ac_ext <<_ACEOF |
3894 | cat >conftest.$ac_ext <<_ACEOF |
3780 | #line $LINENO "configure" |
|
|
3781 | /* confdefs.h. */ |
3895 | /* confdefs.h. */ |
3782 | _ACEOF |
3896 | _ACEOF |
3783 | cat confdefs.h >>conftest.$ac_ext |
3897 | cat confdefs.h >>conftest.$ac_ext |
3784 | cat >>conftest.$ac_ext <<_ACEOF |
3898 | cat >>conftest.$ac_ext <<_ACEOF |
3785 | /* end confdefs.h. */ |
3899 | /* end confdefs.h. */ |
… | |
… | |
3795 | return 0; |
3909 | return 0; |
3796 | } |
3910 | } |
3797 | _ACEOF |
3911 | _ACEOF |
3798 | rm -f conftest.$ac_objext conftest$ac_exeext |
3912 | rm -f conftest.$ac_objext conftest$ac_exeext |
3799 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3913 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3800 | (eval $ac_link) 2>&5 |
3914 | (eval $ac_link) 2>conftest.er1 |
3801 | ac_status=$? |
3915 | ac_status=$? |
|
|
3916 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3917 | rm -f conftest.er1 |
|
|
3918 | cat conftest.err >&5 |
3802 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3919 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3803 | (exit $ac_status); } && |
3920 | (exit $ac_status); } && |
|
|
3921 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
3922 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3923 | (eval $ac_try) 2>&5 |
|
|
3924 | ac_status=$? |
|
|
3925 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3926 | (exit $ac_status); }; } && |
3804 | { ac_try='test -s conftest$ac_exeext' |
3927 | { ac_try='test -s conftest$ac_exeext' |
3805 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3928 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3806 | (eval $ac_try) 2>&5 |
3929 | (eval $ac_try) 2>&5 |
3807 | ac_status=$? |
3930 | ac_status=$? |
3808 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3931 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3809 | (exit $ac_status); }; }; then |
3932 | (exit $ac_status); }; }; then |
… | |
… | |
3812 | else |
3935 | else |
3813 | echo "$as_me: failed program was:" >&5 |
3936 | echo "$as_me: failed program was:" >&5 |
3814 | sed 's/^/| /' conftest.$ac_ext >&5 |
3937 | sed 's/^/| /' conftest.$ac_ext >&5 |
3815 | |
3938 | |
3816 | fi |
3939 | fi |
3817 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3940 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3941 | conftest$ac_exeext conftest.$ac_ext |
3818 | LIBS="$am_save_LIBS" |
3942 | LIBS="$am_save_LIBS" |
3819 | fi |
3943 | fi |
3820 | |
3944 | |
3821 | fi |
3945 | fi |
3822 | echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 |
3946 | echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 |
… | |
… | |
4228 | gt_save_CPPFLAGS="$CPPFLAGS" |
4352 | gt_save_CPPFLAGS="$CPPFLAGS" |
4229 | CPPFLAGS="$CPPFLAGS $INCINTL" |
4353 | CPPFLAGS="$CPPFLAGS $INCINTL" |
4230 | gt_save_LIBS="$LIBS" |
4354 | gt_save_LIBS="$LIBS" |
4231 | LIBS="$LIBS $LIBINTL" |
4355 | LIBS="$LIBS $LIBINTL" |
4232 | cat >conftest.$ac_ext <<_ACEOF |
4356 | cat >conftest.$ac_ext <<_ACEOF |
4233 | #line $LINENO "configure" |
|
|
4234 | /* confdefs.h. */ |
4357 | /* confdefs.h. */ |
4235 | _ACEOF |
4358 | _ACEOF |
4236 | cat confdefs.h >>conftest.$ac_ext |
4359 | cat confdefs.h >>conftest.$ac_ext |
4237 | cat >>conftest.$ac_ext <<_ACEOF |
4360 | cat >>conftest.$ac_ext <<_ACEOF |
4238 | /* end confdefs.h. */ |
4361 | /* end confdefs.h. */ |
… | |
… | |
4252 | return 0; |
4375 | return 0; |
4253 | } |
4376 | } |
4254 | _ACEOF |
4377 | _ACEOF |
4255 | rm -f conftest.$ac_objext conftest$ac_exeext |
4378 | rm -f conftest.$ac_objext conftest$ac_exeext |
4256 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4379 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4257 | (eval $ac_link) 2>&5 |
4380 | (eval $ac_link) 2>conftest.er1 |
4258 | ac_status=$? |
4381 | ac_status=$? |
|
|
4382 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4383 | rm -f conftest.er1 |
|
|
4384 | cat conftest.err >&5 |
4259 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4385 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4260 | (exit $ac_status); } && |
4386 | (exit $ac_status); } && |
4261 | { ac_try='test -s conftest$ac_exeext' |
4387 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
4262 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4388 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4263 | (eval $ac_try) 2>&5 |
4389 | (eval $ac_try) 2>&5 |
4264 | ac_status=$? |
4390 | ac_status=$? |
4265 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4391 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4392 | (exit $ac_status); }; } && |
|
|
4393 | { ac_try='test -s conftest$ac_exeext' |
|
|
4394 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4395 | (eval $ac_try) 2>&5 |
|
|
4396 | ac_status=$? |
|
|
4397 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4266 | (exit $ac_status); }; }; then |
4398 | (exit $ac_status); }; }; then |
4267 | gt_cv_func_gnugettext1_libintl=yes |
4399 | gt_cv_func_gnugettext1_libintl=yes |
4268 | else |
4400 | else |
4269 | echo "$as_me: failed program was:" >&5 |
4401 | echo "$as_me: failed program was:" >&5 |
4270 | sed 's/^/| /' conftest.$ac_ext >&5 |
4402 | sed 's/^/| /' conftest.$ac_ext >&5 |
4271 | |
4403 | |
4272 | gt_cv_func_gnugettext1_libintl=no |
4404 | gt_cv_func_gnugettext1_libintl=no |
4273 | fi |
4405 | fi |
4274 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4406 | rm -f conftest.err conftest.$ac_objext \ |
|
|
4407 | conftest$ac_exeext conftest.$ac_ext |
4275 | if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then |
4408 | if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then |
4276 | LIBS="$LIBS $LIBICONV" |
4409 | LIBS="$LIBS $LIBICONV" |
4277 | cat >conftest.$ac_ext <<_ACEOF |
4410 | cat >conftest.$ac_ext <<_ACEOF |
4278 | #line $LINENO "configure" |
|
|
4279 | /* confdefs.h. */ |
4411 | /* confdefs.h. */ |
4280 | _ACEOF |
4412 | _ACEOF |
4281 | cat confdefs.h >>conftest.$ac_ext |
4413 | cat confdefs.h >>conftest.$ac_ext |
4282 | cat >>conftest.$ac_ext <<_ACEOF |
4414 | cat >>conftest.$ac_ext <<_ACEOF |
4283 | /* end confdefs.h. */ |
4415 | /* end confdefs.h. */ |
… | |
… | |
4297 | return 0; |
4429 | return 0; |
4298 | } |
4430 | } |
4299 | _ACEOF |
4431 | _ACEOF |
4300 | rm -f conftest.$ac_objext conftest$ac_exeext |
4432 | rm -f conftest.$ac_objext conftest$ac_exeext |
4301 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4433 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4302 | (eval $ac_link) 2>&5 |
4434 | (eval $ac_link) 2>conftest.er1 |
4303 | ac_status=$? |
4435 | ac_status=$? |
|
|
4436 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4437 | rm -f conftest.er1 |
|
|
4438 | cat conftest.err >&5 |
4304 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4439 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4305 | (exit $ac_status); } && |
4440 | (exit $ac_status); } && |
|
|
4441 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
4442 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4443 | (eval $ac_try) 2>&5 |
|
|
4444 | ac_status=$? |
|
|
4445 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4446 | (exit $ac_status); }; } && |
4306 | { ac_try='test -s conftest$ac_exeext' |
4447 | { ac_try='test -s conftest$ac_exeext' |
4307 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4448 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4308 | (eval $ac_try) 2>&5 |
4449 | (eval $ac_try) 2>&5 |
4309 | ac_status=$? |
4450 | ac_status=$? |
4310 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4451 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4311 | (exit $ac_status); }; }; then |
4452 | (exit $ac_status); }; }; then |
… | |
… | |
4316 | else |
4457 | else |
4317 | echo "$as_me: failed program was:" >&5 |
4458 | echo "$as_me: failed program was:" >&5 |
4318 | sed 's/^/| /' conftest.$ac_ext >&5 |
4459 | sed 's/^/| /' conftest.$ac_ext >&5 |
4319 | |
4460 | |
4320 | fi |
4461 | fi |
4321 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4462 | rm -f conftest.err conftest.$ac_objext \ |
|
|
4463 | conftest$ac_exeext conftest.$ac_ext |
4322 | fi |
4464 | fi |
4323 | CPPFLAGS="$gt_save_CPPFLAGS" |
4465 | CPPFLAGS="$gt_save_CPPFLAGS" |
4324 | LIBS="$gt_save_LIBS" |
4466 | LIBS="$gt_save_LIBS" |
4325 | fi |
4467 | fi |
4326 | echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5 |
4468 | echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5 |
… | |
… | |
4417 | cat >>confdefs.h <<\_ACEOF |
4559 | cat >>confdefs.h <<\_ACEOF |
4418 | #define _GNU_SOURCE 1 |
4560 | #define _GNU_SOURCE 1 |
4419 | _ACEOF |
4561 | _ACEOF |
4420 | |
4562 | |
4421 | |
4563 | |
4422 | cat >>confdefs.h <<\_ACEOF |
4564 | # do NOT define POSIX_SOURCE, sicne this clashes with many BSDs |
4423 | #define __USE_BSD 1 |
|
|
4424 | _ACEOF |
|
|
4425 | |
|
|
4426 | |
4565 | |
4427 | ALL_LINGUAS="" |
4566 | ALL_LINGUAS="" |
4428 | |
4567 | |
4429 | ac_ext=c |
4568 | ac_ext=c |
4430 | ac_cpp='$CPP $CPPFLAGS' |
4569 | ac_cpp='$CPP $CPPFLAGS' |
… | |
… | |
4765 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
4904 | 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 |
4905 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
4767 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4906 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4768 | else |
4907 | else |
4769 | cat >conftest.$ac_ext <<_ACEOF |
4908 | cat >conftest.$ac_ext <<_ACEOF |
4770 | #line $LINENO "configure" |
|
|
4771 | /* confdefs.h. */ |
4909 | /* confdefs.h. */ |
4772 | _ACEOF |
4910 | _ACEOF |
4773 | cat confdefs.h >>conftest.$ac_ext |
4911 | cat confdefs.h >>conftest.$ac_ext |
4774 | cat >>conftest.$ac_ext <<_ACEOF |
4912 | cat >>conftest.$ac_ext <<_ACEOF |
4775 | /* end confdefs.h. */ |
4913 | /* end confdefs.h. */ |
… | |
… | |
4785 | return 0; |
4923 | return 0; |
4786 | } |
4924 | } |
4787 | _ACEOF |
4925 | _ACEOF |
4788 | rm -f conftest.$ac_objext |
4926 | rm -f conftest.$ac_objext |
4789 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4927 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4790 | (eval $ac_compile) 2>&5 |
4928 | (eval $ac_compile) 2>conftest.er1 |
4791 | ac_status=$? |
4929 | ac_status=$? |
|
|
4930 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4931 | rm -f conftest.er1 |
|
|
4932 | cat conftest.err >&5 |
4792 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4933 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4793 | (exit $ac_status); } && |
4934 | (exit $ac_status); } && |
4794 | { ac_try='test -s conftest.$ac_objext' |
4935 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
4795 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4936 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4796 | (eval $ac_try) 2>&5 |
4937 | (eval $ac_try) 2>&5 |
4797 | ac_status=$? |
4938 | ac_status=$? |
4798 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4939 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4940 | (exit $ac_status); }; } && |
|
|
4941 | { ac_try='test -s conftest.$ac_objext' |
|
|
4942 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4943 | (eval $ac_try) 2>&5 |
|
|
4944 | ac_status=$? |
|
|
4945 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4799 | (exit $ac_status); }; }; then |
4946 | (exit $ac_status); }; }; then |
4800 | ac_compiler_gnu=yes |
4947 | ac_compiler_gnu=yes |
4801 | else |
4948 | else |
4802 | echo "$as_me: failed program was:" >&5 |
4949 | echo "$as_me: failed program was:" >&5 |
4803 | sed 's/^/| /' conftest.$ac_ext >&5 |
4950 | sed 's/^/| /' conftest.$ac_ext >&5 |
4804 | |
4951 | |
4805 | ac_compiler_gnu=no |
4952 | ac_compiler_gnu=no |
4806 | fi |
4953 | fi |
4807 | rm -f conftest.$ac_objext conftest.$ac_ext |
4954 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4808 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
4955 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
4809 | |
4956 | |
4810 | fi |
4957 | fi |
4811 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
4958 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
4812 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
4959 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
… | |
… | |
4818 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
4965 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
4819 | if test "${ac_cv_prog_cc_g+set}" = set; then |
4966 | if test "${ac_cv_prog_cc_g+set}" = set; then |
4820 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4967 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4821 | else |
4968 | else |
4822 | cat >conftest.$ac_ext <<_ACEOF |
4969 | cat >conftest.$ac_ext <<_ACEOF |
4823 | #line $LINENO "configure" |
|
|
4824 | /* confdefs.h. */ |
4970 | /* confdefs.h. */ |
4825 | _ACEOF |
4971 | _ACEOF |
4826 | cat confdefs.h >>conftest.$ac_ext |
4972 | cat confdefs.h >>conftest.$ac_ext |
4827 | cat >>conftest.$ac_ext <<_ACEOF |
4973 | cat >>conftest.$ac_ext <<_ACEOF |
4828 | /* end confdefs.h. */ |
4974 | /* end confdefs.h. */ |
… | |
… | |
4835 | return 0; |
4981 | return 0; |
4836 | } |
4982 | } |
4837 | _ACEOF |
4983 | _ACEOF |
4838 | rm -f conftest.$ac_objext |
4984 | rm -f conftest.$ac_objext |
4839 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4985 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4840 | (eval $ac_compile) 2>&5 |
4986 | (eval $ac_compile) 2>conftest.er1 |
4841 | ac_status=$? |
4987 | ac_status=$? |
|
|
4988 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4989 | rm -f conftest.er1 |
|
|
4990 | cat conftest.err >&5 |
4842 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4991 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4843 | (exit $ac_status); } && |
4992 | (exit $ac_status); } && |
4844 | { ac_try='test -s conftest.$ac_objext' |
4993 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
4845 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4994 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4846 | (eval $ac_try) 2>&5 |
4995 | (eval $ac_try) 2>&5 |
4847 | ac_status=$? |
4996 | ac_status=$? |
4848 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4997 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4998 | (exit $ac_status); }; } && |
|
|
4999 | { ac_try='test -s conftest.$ac_objext' |
|
|
5000 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5001 | (eval $ac_try) 2>&5 |
|
|
5002 | ac_status=$? |
|
|
5003 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4849 | (exit $ac_status); }; }; then |
5004 | (exit $ac_status); }; }; then |
4850 | ac_cv_prog_cc_g=yes |
5005 | ac_cv_prog_cc_g=yes |
4851 | else |
5006 | else |
4852 | echo "$as_me: failed program was:" >&5 |
5007 | echo "$as_me: failed program was:" >&5 |
4853 | sed 's/^/| /' conftest.$ac_ext >&5 |
5008 | sed 's/^/| /' conftest.$ac_ext >&5 |
4854 | |
5009 | |
4855 | ac_cv_prog_cc_g=no |
5010 | ac_cv_prog_cc_g=no |
4856 | fi |
5011 | fi |
4857 | rm -f conftest.$ac_objext conftest.$ac_ext |
5012 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4858 | fi |
5013 | fi |
4859 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
5014 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
4860 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
5015 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
4861 | if test "$ac_test_CFLAGS" = set; then |
5016 | if test "$ac_test_CFLAGS" = set; then |
4862 | CFLAGS=$ac_save_CFLAGS |
5017 | CFLAGS=$ac_save_CFLAGS |
… | |
… | |
4879 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5034 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4880 | else |
5035 | else |
4881 | ac_cv_prog_cc_stdc=no |
5036 | ac_cv_prog_cc_stdc=no |
4882 | ac_save_CC=$CC |
5037 | ac_save_CC=$CC |
4883 | cat >conftest.$ac_ext <<_ACEOF |
5038 | cat >conftest.$ac_ext <<_ACEOF |
4884 | #line $LINENO "configure" |
|
|
4885 | /* confdefs.h. */ |
5039 | /* confdefs.h. */ |
4886 | _ACEOF |
5040 | _ACEOF |
4887 | cat confdefs.h >>conftest.$ac_ext |
5041 | cat confdefs.h >>conftest.$ac_ext |
4888 | cat >>conftest.$ac_ext <<_ACEOF |
5042 | cat >>conftest.$ac_ext <<_ACEOF |
4889 | /* end confdefs.h. */ |
5043 | /* end confdefs.h. */ |
… | |
… | |
4907 | va_start (v,p); |
5061 | va_start (v,p); |
4908 | s = g (p, va_arg (v,int)); |
5062 | s = g (p, va_arg (v,int)); |
4909 | va_end (v); |
5063 | va_end (v); |
4910 | return s; |
5064 | return s; |
4911 | } |
5065 | } |
|
|
5066 | |
|
|
5067 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|
|
5068 | function prototypes and stuff, but not '\xHH' hex character constants. |
|
|
5069 | These don't provoke an error unfortunately, instead are silently treated |
|
|
5070 | as 'x'. The following induces an error, until -std1 is added to get |
|
|
5071 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
|
|
5072 | array size at least. It's necessary to write '\x00'==0 to get something |
|
|
5073 | that's true only with -std1. */ |
|
|
5074 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
|
5075 | |
4912 | int test (int i, double x); |
5076 | int test (int i, double x); |
4913 | struct s1 {int (*f) (int a);}; |
5077 | struct s1 {int (*f) (int a);}; |
4914 | struct s2 {int (*f) (double a);}; |
5078 | struct s2 {int (*f) (double a);}; |
4915 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
5079 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
4916 | int argc; |
5080 | int argc; |
… | |
… | |
4933 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
5097 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
4934 | do |
5098 | do |
4935 | CC="$ac_save_CC $ac_arg" |
5099 | CC="$ac_save_CC $ac_arg" |
4936 | rm -f conftest.$ac_objext |
5100 | rm -f conftest.$ac_objext |
4937 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5101 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4938 | (eval $ac_compile) 2>&5 |
5102 | (eval $ac_compile) 2>conftest.er1 |
4939 | ac_status=$? |
5103 | ac_status=$? |
|
|
5104 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5105 | rm -f conftest.er1 |
|
|
5106 | cat conftest.err >&5 |
4940 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5107 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4941 | (exit $ac_status); } && |
5108 | (exit $ac_status); } && |
|
|
5109 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
5110 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5111 | (eval $ac_try) 2>&5 |
|
|
5112 | ac_status=$? |
|
|
5113 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5114 | (exit $ac_status); }; } && |
4942 | { ac_try='test -s conftest.$ac_objext' |
5115 | { ac_try='test -s conftest.$ac_objext' |
4943 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5116 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4944 | (eval $ac_try) 2>&5 |
5117 | (eval $ac_try) 2>&5 |
4945 | ac_status=$? |
5118 | ac_status=$? |
4946 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5119 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4947 | (exit $ac_status); }; }; then |
5120 | (exit $ac_status); }; }; then |
… | |
… | |
4950 | else |
5123 | else |
4951 | echo "$as_me: failed program was:" >&5 |
5124 | echo "$as_me: failed program was:" >&5 |
4952 | sed 's/^/| /' conftest.$ac_ext >&5 |
5125 | sed 's/^/| /' conftest.$ac_ext >&5 |
4953 | |
5126 | |
4954 | fi |
5127 | fi |
4955 | rm -f conftest.$ac_objext |
5128 | rm -f conftest.err conftest.$ac_objext |
4956 | done |
5129 | done |
4957 | rm -f conftest.$ac_ext conftest.$ac_objext |
5130 | rm -f conftest.$ac_ext conftest.$ac_objext |
4958 | CC=$ac_save_CC |
5131 | CC=$ac_save_CC |
4959 | |
5132 | |
4960 | fi |
5133 | fi |
… | |
… | |
4978 | choke me |
5151 | choke me |
4979 | #endif |
5152 | #endif |
4980 | _ACEOF |
5153 | _ACEOF |
4981 | rm -f conftest.$ac_objext |
5154 | rm -f conftest.$ac_objext |
4982 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5155 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4983 | (eval $ac_compile) 2>&5 |
5156 | (eval $ac_compile) 2>conftest.er1 |
4984 | ac_status=$? |
5157 | ac_status=$? |
|
|
5158 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5159 | rm -f conftest.er1 |
|
|
5160 | cat conftest.err >&5 |
4985 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5161 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4986 | (exit $ac_status); } && |
5162 | (exit $ac_status); } && |
|
|
5163 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
5164 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5165 | (eval $ac_try) 2>&5 |
|
|
5166 | ac_status=$? |
|
|
5167 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5168 | (exit $ac_status); }; } && |
4987 | { ac_try='test -s conftest.$ac_objext' |
5169 | { ac_try='test -s conftest.$ac_objext' |
4988 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5170 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4989 | (eval $ac_try) 2>&5 |
5171 | (eval $ac_try) 2>&5 |
4990 | ac_status=$? |
5172 | ac_status=$? |
4991 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5173 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4992 | (exit $ac_status); }; }; then |
5174 | (exit $ac_status); }; }; then |
… | |
… | |
4997 | 'extern "C" void exit (int) throw ();' \ |
5179 | 'extern "C" void exit (int) throw ();' \ |
4998 | 'extern "C" void exit (int);' \ |
5180 | 'extern "C" void exit (int);' \ |
4999 | 'void exit (int);' |
5181 | 'void exit (int);' |
5000 | do |
5182 | do |
5001 | cat >conftest.$ac_ext <<_ACEOF |
5183 | cat >conftest.$ac_ext <<_ACEOF |
5002 | #line $LINENO "configure" |
|
|
5003 | /* confdefs.h. */ |
5184 | /* confdefs.h. */ |
5004 | _ACEOF |
5185 | _ACEOF |
5005 | cat confdefs.h >>conftest.$ac_ext |
5186 | cat confdefs.h >>conftest.$ac_ext |
5006 | cat >>conftest.$ac_ext <<_ACEOF |
5187 | cat >>conftest.$ac_ext <<_ACEOF |
5007 | /* end confdefs.h. */ |
5188 | /* end confdefs.h. */ |
… | |
… | |
5015 | return 0; |
5196 | return 0; |
5016 | } |
5197 | } |
5017 | _ACEOF |
5198 | _ACEOF |
5018 | rm -f conftest.$ac_objext |
5199 | rm -f conftest.$ac_objext |
5019 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5200 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5020 | (eval $ac_compile) 2>&5 |
5201 | (eval $ac_compile) 2>conftest.er1 |
5021 | ac_status=$? |
5202 | ac_status=$? |
|
|
5203 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5204 | rm -f conftest.er1 |
|
|
5205 | cat conftest.err >&5 |
5022 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5206 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5023 | (exit $ac_status); } && |
5207 | (exit $ac_status); } && |
5024 | { ac_try='test -s conftest.$ac_objext' |
5208 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
5025 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5209 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5026 | (eval $ac_try) 2>&5 |
5210 | (eval $ac_try) 2>&5 |
5027 | ac_status=$? |
5211 | ac_status=$? |
5028 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5212 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5213 | (exit $ac_status); }; } && |
|
|
5214 | { ac_try='test -s conftest.$ac_objext' |
|
|
5215 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5216 | (eval $ac_try) 2>&5 |
|
|
5217 | ac_status=$? |
|
|
5218 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5029 | (exit $ac_status); }; }; then |
5219 | (exit $ac_status); }; }; then |
5030 | : |
5220 | : |
5031 | else |
5221 | else |
5032 | echo "$as_me: failed program was:" >&5 |
5222 | echo "$as_me: failed program was:" >&5 |
5033 | sed 's/^/| /' conftest.$ac_ext >&5 |
5223 | sed 's/^/| /' conftest.$ac_ext >&5 |
5034 | |
5224 | |
5035 | continue |
5225 | continue |
5036 | fi |
5226 | fi |
5037 | rm -f conftest.$ac_objext conftest.$ac_ext |
5227 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5038 | cat >conftest.$ac_ext <<_ACEOF |
5228 | cat >conftest.$ac_ext <<_ACEOF |
5039 | #line $LINENO "configure" |
|
|
5040 | /* confdefs.h. */ |
5229 | /* confdefs.h. */ |
5041 | _ACEOF |
5230 | _ACEOF |
5042 | cat confdefs.h >>conftest.$ac_ext |
5231 | cat confdefs.h >>conftest.$ac_ext |
5043 | cat >>conftest.$ac_ext <<_ACEOF |
5232 | cat >>conftest.$ac_ext <<_ACEOF |
5044 | /* end confdefs.h. */ |
5233 | /* end confdefs.h. */ |
… | |
… | |
5051 | return 0; |
5240 | return 0; |
5052 | } |
5241 | } |
5053 | _ACEOF |
5242 | _ACEOF |
5054 | rm -f conftest.$ac_objext |
5243 | rm -f conftest.$ac_objext |
5055 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5244 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5056 | (eval $ac_compile) 2>&5 |
5245 | (eval $ac_compile) 2>conftest.er1 |
5057 | ac_status=$? |
5246 | ac_status=$? |
|
|
5247 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5248 | rm -f conftest.er1 |
|
|
5249 | cat conftest.err >&5 |
5058 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5250 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5059 | (exit $ac_status); } && |
5251 | (exit $ac_status); } && |
5060 | { ac_try='test -s conftest.$ac_objext' |
5252 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
5061 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5253 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5062 | (eval $ac_try) 2>&5 |
5254 | (eval $ac_try) 2>&5 |
5063 | ac_status=$? |
5255 | ac_status=$? |
5064 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5256 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5257 | (exit $ac_status); }; } && |
|
|
5258 | { ac_try='test -s conftest.$ac_objext' |
|
|
5259 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5260 | (eval $ac_try) 2>&5 |
|
|
5261 | ac_status=$? |
|
|
5262 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5065 | (exit $ac_status); }; }; then |
5263 | (exit $ac_status); }; }; then |
5066 | break |
5264 | break |
5067 | else |
5265 | else |
5068 | echo "$as_me: failed program was:" >&5 |
5266 | echo "$as_me: failed program was:" >&5 |
5069 | sed 's/^/| /' conftest.$ac_ext >&5 |
5267 | sed 's/^/| /' conftest.$ac_ext >&5 |
5070 | |
5268 | |
5071 | fi |
5269 | fi |
5072 | rm -f conftest.$ac_objext conftest.$ac_ext |
5270 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5073 | done |
5271 | done |
5074 | rm -f conftest* |
5272 | rm -f conftest* |
5075 | if test -n "$ac_declaration"; then |
5273 | if test -n "$ac_declaration"; then |
5076 | echo '#ifdef __cplusplus' >>confdefs.h |
5274 | echo '#ifdef __cplusplus' >>confdefs.h |
5077 | echo $ac_declaration >>confdefs.h |
5275 | echo $ac_declaration >>confdefs.h |
… | |
… | |
5081 | else |
5279 | else |
5082 | echo "$as_me: failed program was:" >&5 |
5280 | echo "$as_me: failed program was:" >&5 |
5083 | sed 's/^/| /' conftest.$ac_ext >&5 |
5281 | sed 's/^/| /' conftest.$ac_ext >&5 |
5084 | |
5282 | |
5085 | fi |
5283 | fi |
5086 | rm -f conftest.$ac_objext conftest.$ac_ext |
5284 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5087 | ac_ext=c |
5285 | ac_ext=c |
5088 | ac_cpp='$CPP $CPPFLAGS' |
5286 | ac_cpp='$CPP $CPPFLAGS' |
5089 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5287 | 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' |
5288 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5091 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5289 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
… | |
… | |
5218 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5416 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5219 | # <limits.h> exists even on freestanding compilers. |
5417 | # <limits.h> exists even on freestanding compilers. |
5220 | # On the NeXT, cc -E runs the code through the compiler's parser, |
5418 | # 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. |
5419 | # not just through cpp. "Syntax error" is here to catch this case. |
5222 | cat >conftest.$ac_ext <<_ACEOF |
5420 | cat >conftest.$ac_ext <<_ACEOF |
5223 | #line $LINENO "configure" |
|
|
5224 | /* confdefs.h. */ |
5421 | /* confdefs.h. */ |
5225 | _ACEOF |
5422 | _ACEOF |
5226 | cat confdefs.h >>conftest.$ac_ext |
5423 | cat confdefs.h >>conftest.$ac_ext |
5227 | cat >>conftest.$ac_ext <<_ACEOF |
5424 | cat >>conftest.$ac_ext <<_ACEOF |
5228 | /* end confdefs.h. */ |
5425 | /* end confdefs.h. */ |
5229 | #ifdef __STDC__ |
5426 | #ifdef __STDC__ |
5230 | # include <limits.h> |
5427 | # include <limits.h> |
5231 | #else |
5428 | #else |
5232 | # include <assert.h> |
5429 | # include <assert.h> |
5233 | #endif |
5430 | #endif |
5234 | Syntax error |
5431 | Syntax error |
5235 | _ACEOF |
5432 | _ACEOF |
5236 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5433 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5237 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5434 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5238 | ac_status=$? |
5435 | ac_status=$? |
5239 | grep -v '^ *+' conftest.er1 >conftest.err |
5436 | grep -v '^ *+' conftest.er1 >conftest.err |
… | |
… | |
5241 | cat conftest.err >&5 |
5438 | cat conftest.err >&5 |
5242 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5439 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5243 | (exit $ac_status); } >/dev/null; then |
5440 | (exit $ac_status); } >/dev/null; then |
5244 | if test -s conftest.err; then |
5441 | if test -s conftest.err; then |
5245 | ac_cpp_err=$ac_c_preproc_warn_flag |
5442 | ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
5443 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
5246 | else |
5444 | else |
5247 | ac_cpp_err= |
5445 | ac_cpp_err= |
5248 | fi |
5446 | fi |
5249 | else |
5447 | else |
5250 | ac_cpp_err=yes |
5448 | ac_cpp_err=yes |
… | |
… | |
5261 | rm -f conftest.err conftest.$ac_ext |
5459 | rm -f conftest.err conftest.$ac_ext |
5262 | |
5460 | |
5263 | # OK, works on sane cases. Now check whether non-existent headers |
5461 | # OK, works on sane cases. Now check whether non-existent headers |
5264 | # can be detected and how. |
5462 | # can be detected and how. |
5265 | cat >conftest.$ac_ext <<_ACEOF |
5463 | cat >conftest.$ac_ext <<_ACEOF |
5266 | #line $LINENO "configure" |
|
|
5267 | /* confdefs.h. */ |
5464 | /* confdefs.h. */ |
5268 | _ACEOF |
5465 | _ACEOF |
5269 | cat confdefs.h >>conftest.$ac_ext |
5466 | cat confdefs.h >>conftest.$ac_ext |
5270 | cat >>conftest.$ac_ext <<_ACEOF |
5467 | cat >>conftest.$ac_ext <<_ACEOF |
5271 | /* end confdefs.h. */ |
5468 | /* end confdefs.h. */ |
… | |
… | |
5279 | cat conftest.err >&5 |
5476 | cat conftest.err >&5 |
5280 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5477 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5281 | (exit $ac_status); } >/dev/null; then |
5478 | (exit $ac_status); } >/dev/null; then |
5282 | if test -s conftest.err; then |
5479 | if test -s conftest.err; then |
5283 | ac_cpp_err=$ac_c_preproc_warn_flag |
5480 | ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
5481 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
5284 | else |
5482 | else |
5285 | ac_cpp_err= |
5483 | ac_cpp_err= |
5286 | fi |
5484 | fi |
5287 | else |
5485 | else |
5288 | ac_cpp_err=yes |
5486 | ac_cpp_err=yes |
… | |
… | |
5325 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5523 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5326 | # <limits.h> exists even on freestanding compilers. |
5524 | # <limits.h> exists even on freestanding compilers. |
5327 | # On the NeXT, cc -E runs the code through the compiler's parser, |
5525 | # 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. |
5526 | # not just through cpp. "Syntax error" is here to catch this case. |
5329 | cat >conftest.$ac_ext <<_ACEOF |
5527 | cat >conftest.$ac_ext <<_ACEOF |
5330 | #line $LINENO "configure" |
|
|
5331 | /* confdefs.h. */ |
5528 | /* confdefs.h. */ |
5332 | _ACEOF |
5529 | _ACEOF |
5333 | cat confdefs.h >>conftest.$ac_ext |
5530 | cat confdefs.h >>conftest.$ac_ext |
5334 | cat >>conftest.$ac_ext <<_ACEOF |
5531 | cat >>conftest.$ac_ext <<_ACEOF |
5335 | /* end confdefs.h. */ |
5532 | /* end confdefs.h. */ |
5336 | #ifdef __STDC__ |
5533 | #ifdef __STDC__ |
5337 | # include <limits.h> |
5534 | # include <limits.h> |
5338 | #else |
5535 | #else |
5339 | # include <assert.h> |
5536 | # include <assert.h> |
5340 | #endif |
5537 | #endif |
5341 | Syntax error |
5538 | Syntax error |
5342 | _ACEOF |
5539 | _ACEOF |
5343 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5540 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5344 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5541 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5345 | ac_status=$? |
5542 | ac_status=$? |
5346 | grep -v '^ *+' conftest.er1 >conftest.err |
5543 | grep -v '^ *+' conftest.er1 >conftest.err |
… | |
… | |
5348 | cat conftest.err >&5 |
5545 | cat conftest.err >&5 |
5349 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5546 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5350 | (exit $ac_status); } >/dev/null; then |
5547 | (exit $ac_status); } >/dev/null; then |
5351 | if test -s conftest.err; then |
5548 | if test -s conftest.err; then |
5352 | ac_cpp_err=$ac_c_preproc_warn_flag |
5549 | ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
5550 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
5353 | else |
5551 | else |
5354 | ac_cpp_err= |
5552 | ac_cpp_err= |
5355 | fi |
5553 | fi |
5356 | else |
5554 | else |
5357 | ac_cpp_err=yes |
5555 | ac_cpp_err=yes |
… | |
… | |
5368 | rm -f conftest.err conftest.$ac_ext |
5566 | rm -f conftest.err conftest.$ac_ext |
5369 | |
5567 | |
5370 | # OK, works on sane cases. Now check whether non-existent headers |
5568 | # OK, works on sane cases. Now check whether non-existent headers |
5371 | # can be detected and how. |
5569 | # can be detected and how. |
5372 | cat >conftest.$ac_ext <<_ACEOF |
5570 | cat >conftest.$ac_ext <<_ACEOF |
5373 | #line $LINENO "configure" |
|
|
5374 | /* confdefs.h. */ |
5571 | /* confdefs.h. */ |
5375 | _ACEOF |
5572 | _ACEOF |
5376 | cat confdefs.h >>conftest.$ac_ext |
5573 | cat confdefs.h >>conftest.$ac_ext |
5377 | cat >>conftest.$ac_ext <<_ACEOF |
5574 | cat >>conftest.$ac_ext <<_ACEOF |
5378 | /* end confdefs.h. */ |
5575 | /* end confdefs.h. */ |
… | |
… | |
5386 | cat conftest.err >&5 |
5583 | cat conftest.err >&5 |
5387 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5584 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5388 | (exit $ac_status); } >/dev/null; then |
5585 | (exit $ac_status); } >/dev/null; then |
5389 | if test -s conftest.err; then |
5586 | if test -s conftest.err; then |
5390 | ac_cpp_err=$ac_c_preproc_warn_flag |
5587 | ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
5588 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
5391 | else |
5589 | else |
5392 | ac_cpp_err= |
5590 | ac_cpp_err= |
5393 | fi |
5591 | fi |
5394 | else |
5592 | else |
5395 | ac_cpp_err=yes |
5593 | ac_cpp_err=yes |
… | |
… | |
5543 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 |
5741 | 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 |
5742 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
5545 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5743 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5546 | else |
5744 | else |
5547 | cat >conftest.$ac_ext <<_ACEOF |
5745 | cat >conftest.$ac_ext <<_ACEOF |
5548 | #line $LINENO "configure" |
|
|
5549 | /* confdefs.h. */ |
5746 | /* confdefs.h. */ |
5550 | _ACEOF |
5747 | _ACEOF |
5551 | cat confdefs.h >>conftest.$ac_ext |
5748 | cat confdefs.h >>conftest.$ac_ext |
5552 | cat >>conftest.$ac_ext <<_ACEOF |
5749 | cat >>conftest.$ac_ext <<_ACEOF |
5553 | /* end confdefs.h. */ |
5750 | /* end confdefs.h. */ |
… | |
… | |
5563 | return 0; |
5760 | return 0; |
5564 | } |
5761 | } |
5565 | _ACEOF |
5762 | _ACEOF |
5566 | rm -f conftest.$ac_objext |
5763 | rm -f conftest.$ac_objext |
5567 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5764 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5568 | (eval $ac_compile) 2>&5 |
5765 | (eval $ac_compile) 2>conftest.er1 |
5569 | ac_status=$? |
5766 | ac_status=$? |
|
|
5767 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5768 | rm -f conftest.er1 |
|
|
5769 | cat conftest.err >&5 |
5570 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5770 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5571 | (exit $ac_status); } && |
5771 | (exit $ac_status); } && |
5572 | { ac_try='test -s conftest.$ac_objext' |
5772 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5573 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5773 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5574 | (eval $ac_try) 2>&5 |
5774 | (eval $ac_try) 2>&5 |
5575 | ac_status=$? |
5775 | ac_status=$? |
5576 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5776 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5777 | (exit $ac_status); }; } && |
|
|
5778 | { ac_try='test -s conftest.$ac_objext' |
|
|
5779 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5780 | (eval $ac_try) 2>&5 |
|
|
5781 | ac_status=$? |
|
|
5782 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5577 | (exit $ac_status); }; }; then |
5783 | (exit $ac_status); }; }; then |
5578 | ac_compiler_gnu=yes |
5784 | ac_compiler_gnu=yes |
5579 | else |
5785 | else |
5580 | echo "$as_me: failed program was:" >&5 |
5786 | echo "$as_me: failed program was:" >&5 |
5581 | sed 's/^/| /' conftest.$ac_ext >&5 |
5787 | sed 's/^/| /' conftest.$ac_ext >&5 |
5582 | |
5788 | |
5583 | ac_compiler_gnu=no |
5789 | ac_compiler_gnu=no |
5584 | fi |
5790 | fi |
5585 | rm -f conftest.$ac_objext conftest.$ac_ext |
5791 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5586 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
5792 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
5587 | |
5793 | |
5588 | fi |
5794 | fi |
5589 | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
5795 | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
5590 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 |
5796 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 |
… | |
… | |
5596 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 |
5802 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 |
5597 | if test "${ac_cv_prog_cxx_g+set}" = set; then |
5803 | if test "${ac_cv_prog_cxx_g+set}" = set; then |
5598 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5804 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5599 | else |
5805 | else |
5600 | cat >conftest.$ac_ext <<_ACEOF |
5806 | cat >conftest.$ac_ext <<_ACEOF |
5601 | #line $LINENO "configure" |
|
|
5602 | /* confdefs.h. */ |
5807 | /* confdefs.h. */ |
5603 | _ACEOF |
5808 | _ACEOF |
5604 | cat confdefs.h >>conftest.$ac_ext |
5809 | cat confdefs.h >>conftest.$ac_ext |
5605 | cat >>conftest.$ac_ext <<_ACEOF |
5810 | cat >>conftest.$ac_ext <<_ACEOF |
5606 | /* end confdefs.h. */ |
5811 | /* end confdefs.h. */ |
… | |
… | |
5613 | return 0; |
5818 | return 0; |
5614 | } |
5819 | } |
5615 | _ACEOF |
5820 | _ACEOF |
5616 | rm -f conftest.$ac_objext |
5821 | rm -f conftest.$ac_objext |
5617 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5822 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5618 | (eval $ac_compile) 2>&5 |
5823 | (eval $ac_compile) 2>conftest.er1 |
5619 | ac_status=$? |
5824 | ac_status=$? |
|
|
5825 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5826 | rm -f conftest.er1 |
|
|
5827 | cat conftest.err >&5 |
5620 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5828 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5621 | (exit $ac_status); } && |
5829 | (exit $ac_status); } && |
5622 | { ac_try='test -s conftest.$ac_objext' |
5830 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5623 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5831 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5624 | (eval $ac_try) 2>&5 |
5832 | (eval $ac_try) 2>&5 |
5625 | ac_status=$? |
5833 | ac_status=$? |
5626 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5834 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5835 | (exit $ac_status); }; } && |
|
|
5836 | { ac_try='test -s conftest.$ac_objext' |
|
|
5837 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5838 | (eval $ac_try) 2>&5 |
|
|
5839 | ac_status=$? |
|
|
5840 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5627 | (exit $ac_status); }; }; then |
5841 | (exit $ac_status); }; }; then |
5628 | ac_cv_prog_cxx_g=yes |
5842 | ac_cv_prog_cxx_g=yes |
5629 | else |
5843 | else |
5630 | echo "$as_me: failed program was:" >&5 |
5844 | echo "$as_me: failed program was:" >&5 |
5631 | sed 's/^/| /' conftest.$ac_ext >&5 |
5845 | sed 's/^/| /' conftest.$ac_ext >&5 |
5632 | |
5846 | |
5633 | ac_cv_prog_cxx_g=no |
5847 | ac_cv_prog_cxx_g=no |
5634 | fi |
5848 | fi |
5635 | rm -f conftest.$ac_objext conftest.$ac_ext |
5849 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5636 | fi |
5850 | fi |
5637 | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
5851 | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
5638 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
5852 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
5639 | if test "$ac_test_CXXFLAGS" = set; then |
5853 | if test "$ac_test_CXXFLAGS" = set; then |
5640 | CXXFLAGS=$ac_save_CXXFLAGS |
5854 | CXXFLAGS=$ac_save_CXXFLAGS |
… | |
… | |
5658 | 'extern "C" void exit (int) throw ();' \ |
5872 | 'extern "C" void exit (int) throw ();' \ |
5659 | 'extern "C" void exit (int);' \ |
5873 | 'extern "C" void exit (int);' \ |
5660 | 'void exit (int);' |
5874 | 'void exit (int);' |
5661 | do |
5875 | do |
5662 | cat >conftest.$ac_ext <<_ACEOF |
5876 | cat >conftest.$ac_ext <<_ACEOF |
5663 | #line $LINENO "configure" |
|
|
5664 | /* confdefs.h. */ |
5877 | /* confdefs.h. */ |
5665 | _ACEOF |
5878 | _ACEOF |
5666 | cat confdefs.h >>conftest.$ac_ext |
5879 | cat confdefs.h >>conftest.$ac_ext |
5667 | cat >>conftest.$ac_ext <<_ACEOF |
5880 | cat >>conftest.$ac_ext <<_ACEOF |
5668 | /* end confdefs.h. */ |
5881 | /* end confdefs.h. */ |
… | |
… | |
5676 | return 0; |
5889 | return 0; |
5677 | } |
5890 | } |
5678 | _ACEOF |
5891 | _ACEOF |
5679 | rm -f conftest.$ac_objext |
5892 | rm -f conftest.$ac_objext |
5680 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5893 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5681 | (eval $ac_compile) 2>&5 |
5894 | (eval $ac_compile) 2>conftest.er1 |
5682 | ac_status=$? |
5895 | ac_status=$? |
|
|
5896 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5897 | rm -f conftest.er1 |
|
|
5898 | cat conftest.err >&5 |
5683 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5899 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5684 | (exit $ac_status); } && |
5900 | (exit $ac_status); } && |
5685 | { ac_try='test -s conftest.$ac_objext' |
5901 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5686 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5902 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5687 | (eval $ac_try) 2>&5 |
5903 | (eval $ac_try) 2>&5 |
5688 | ac_status=$? |
5904 | ac_status=$? |
5689 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5905 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5906 | (exit $ac_status); }; } && |
|
|
5907 | { ac_try='test -s conftest.$ac_objext' |
|
|
5908 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5909 | (eval $ac_try) 2>&5 |
|
|
5910 | ac_status=$? |
|
|
5911 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5690 | (exit $ac_status); }; }; then |
5912 | (exit $ac_status); }; }; then |
5691 | : |
5913 | : |
5692 | else |
5914 | else |
5693 | echo "$as_me: failed program was:" >&5 |
5915 | echo "$as_me: failed program was:" >&5 |
5694 | sed 's/^/| /' conftest.$ac_ext >&5 |
5916 | sed 's/^/| /' conftest.$ac_ext >&5 |
5695 | |
5917 | |
5696 | continue |
5918 | continue |
5697 | fi |
5919 | fi |
5698 | rm -f conftest.$ac_objext conftest.$ac_ext |
5920 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5699 | cat >conftest.$ac_ext <<_ACEOF |
5921 | cat >conftest.$ac_ext <<_ACEOF |
5700 | #line $LINENO "configure" |
|
|
5701 | /* confdefs.h. */ |
5922 | /* confdefs.h. */ |
5702 | _ACEOF |
5923 | _ACEOF |
5703 | cat confdefs.h >>conftest.$ac_ext |
5924 | cat confdefs.h >>conftest.$ac_ext |
5704 | cat >>conftest.$ac_ext <<_ACEOF |
5925 | cat >>conftest.$ac_ext <<_ACEOF |
5705 | /* end confdefs.h. */ |
5926 | /* end confdefs.h. */ |
… | |
… | |
5712 | return 0; |
5933 | return 0; |
5713 | } |
5934 | } |
5714 | _ACEOF |
5935 | _ACEOF |
5715 | rm -f conftest.$ac_objext |
5936 | rm -f conftest.$ac_objext |
5716 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5937 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5717 | (eval $ac_compile) 2>&5 |
5938 | (eval $ac_compile) 2>conftest.er1 |
5718 | ac_status=$? |
5939 | ac_status=$? |
|
|
5940 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5941 | rm -f conftest.er1 |
|
|
5942 | cat conftest.err >&5 |
5719 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5943 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5720 | (exit $ac_status); } && |
5944 | (exit $ac_status); } && |
5721 | { ac_try='test -s conftest.$ac_objext' |
5945 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5722 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5946 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5723 | (eval $ac_try) 2>&5 |
5947 | (eval $ac_try) 2>&5 |
5724 | ac_status=$? |
5948 | ac_status=$? |
5725 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5949 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5950 | (exit $ac_status); }; } && |
|
|
5951 | { ac_try='test -s conftest.$ac_objext' |
|
|
5952 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5953 | (eval $ac_try) 2>&5 |
|
|
5954 | ac_status=$? |
|
|
5955 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5726 | (exit $ac_status); }; }; then |
5956 | (exit $ac_status); }; }; then |
5727 | break |
5957 | break |
5728 | else |
5958 | else |
5729 | echo "$as_me: failed program was:" >&5 |
5959 | echo "$as_me: failed program was:" >&5 |
5730 | sed 's/^/| /' conftest.$ac_ext >&5 |
5960 | sed 's/^/| /' conftest.$ac_ext >&5 |
5731 | |
5961 | |
5732 | fi |
5962 | fi |
5733 | rm -f conftest.$ac_objext conftest.$ac_ext |
5963 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5734 | done |
5964 | done |
5735 | rm -f conftest* |
5965 | rm -f conftest* |
5736 | if test -n "$ac_declaration"; then |
5966 | if test -n "$ac_declaration"; then |
5737 | echo '#ifdef __cplusplus' >>confdefs.h |
5967 | echo '#ifdef __cplusplus' >>confdefs.h |
5738 | echo $ac_declaration >>confdefs.h |
5968 | echo $ac_declaration >>confdefs.h |
… | |
… | |
5869 | if test "${ac_cv_prog_gcc_traditional+set}" = set; then |
6099 | if test "${ac_cv_prog_gcc_traditional+set}" = set; then |
5870 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6100 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5871 | else |
6101 | else |
5872 | ac_pattern="Autoconf.*'x'" |
6102 | ac_pattern="Autoconf.*'x'" |
5873 | cat >conftest.$ac_ext <<_ACEOF |
6103 | cat >conftest.$ac_ext <<_ACEOF |
5874 | #line $LINENO "configure" |
|
|
5875 | /* confdefs.h. */ |
6104 | /* confdefs.h. */ |
5876 | _ACEOF |
6105 | _ACEOF |
5877 | cat confdefs.h >>conftest.$ac_ext |
6106 | cat confdefs.h >>conftest.$ac_ext |
5878 | cat >>conftest.$ac_ext <<_ACEOF |
6107 | cat >>conftest.$ac_ext <<_ACEOF |
5879 | /* end confdefs.h. */ |
6108 | /* end confdefs.h. */ |
… | |
… | |
5889 | rm -f conftest* |
6118 | rm -f conftest* |
5890 | |
6119 | |
5891 | |
6120 | |
5892 | if test $ac_cv_prog_gcc_traditional = no; then |
6121 | if test $ac_cv_prog_gcc_traditional = no; then |
5893 | cat >conftest.$ac_ext <<_ACEOF |
6122 | cat >conftest.$ac_ext <<_ACEOF |
5894 | #line $LINENO "configure" |
|
|
5895 | /* confdefs.h. */ |
6123 | /* confdefs.h. */ |
5896 | _ACEOF |
6124 | _ACEOF |
5897 | cat confdefs.h >>conftest.$ac_ext |
6125 | cat confdefs.h >>conftest.$ac_ext |
5898 | cat >>conftest.$ac_ext <<_ACEOF |
6126 | cat >>conftest.$ac_ext <<_ACEOF |
5899 | /* end confdefs.h. */ |
6127 | /* end confdefs.h. */ |
… | |
… | |
5964 | # AIX /bin/install |
6192 | # AIX /bin/install |
5965 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
6193 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
5966 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
6194 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
5967 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
6195 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
5968 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
6196 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
|
|
6197 | # OS/2's system install, which has a completely different semantic |
5969 | # ./install, which can be erroneously created by make from ./install.sh. |
6198 | # ./install, which can be erroneously created by make from ./install.sh. |
5970 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
6199 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
5971 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
6200 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
5972 | if test -z "$INSTALL"; then |
6201 | if test -z "$INSTALL"; then |
5973 | if test "${ac_cv_path_install+set}" = set; then |
6202 | if test "${ac_cv_path_install+set}" = set; then |
… | |
… | |
5980 | test -z "$as_dir" && as_dir=. |
6209 | test -z "$as_dir" && as_dir=. |
5981 | # Account for people who put trailing slashes in PATH elements. |
6210 | # Account for people who put trailing slashes in PATH elements. |
5982 | case $as_dir/ in |
6211 | case $as_dir/ in |
5983 | ./ | .// | /cC/* | \ |
6212 | ./ | .// | /cC/* | \ |
5984 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
6213 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
|
|
6214 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
5985 | /usr/ucb/* ) ;; |
6215 | /usr/ucb/* ) ;; |
5986 | *) |
6216 | *) |
5987 | # OSF1 and SCO ODT 3.0 have their own names for install. |
6217 | # 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 |
6218 | # Don't use installbsd from OSF since it installs stuff as root |
5989 | # by default. |
6219 | # by default. |
5990 | for ac_prog in ginstall scoinst install; do |
6220 | for ac_prog in ginstall scoinst install; do |
5991 | for ac_exec_ext in '' $ac_executable_extensions; do |
6221 | for ac_exec_ext in '' $ac_executable_extensions; do |
5992 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
6222 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
5993 | if test $ac_prog = install && |
6223 | if test $ac_prog = install && |
5994 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
6224 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
5995 | # AIX install. It has an incompatible calling convention. |
6225 | # AIX install. It has an incompatible calling convention. |
5996 | : |
6226 | : |
5997 | elif test $ac_prog = install && |
6227 | elif test $ac_prog = install && |
5998 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
6228 | 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. |
6229 | # program-specific install script used by HP pwplus--don't use. |
6000 | : |
6230 | : |
6001 | else |
6231 | else |
6002 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
6232 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
6003 | break 3 |
6233 | break 3 |
6004 | fi |
6234 | fi |
6005 | fi |
6235 | fi |
6006 | done |
6236 | done |
6007 | done |
6237 | done |
6008 | ;; |
6238 | ;; |
6009 | esac |
6239 | esac |
6010 | done |
6240 | done |
… | |
… | |
6043 | echo "${ECHO_T}no, using $LN_S" >&6 |
6273 | echo "${ECHO_T}no, using $LN_S" >&6 |
6044 | fi |
6274 | fi |
6045 | |
6275 | |
6046 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
6276 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
6047 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
6277 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
6048 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
6278 | 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 |
6279 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
6050 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6280 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6051 | else |
6281 | else |
6052 | cat >conftest.make <<\_ACEOF |
6282 | cat >conftest.make <<\_ACEOF |
6053 | all: |
6283 | all: |
… | |
… | |
6151 | else |
6381 | else |
6152 | RANLIB="$ac_cv_prog_RANLIB" |
6382 | RANLIB="$ac_cv_prog_RANLIB" |
6153 | fi |
6383 | fi |
6154 | |
6384 | |
6155 | |
6385 | |
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. |
6386 | # Check whether --enable-iftype or --disable-iftype was given. |
6219 | if test "${enable_iftype+set}" = set; then |
6387 | if test "${enable_iftype+set}" = set; then |
6220 | enableval="$enable_iftype" |
6388 | enableval="$enable_iftype" |
6221 | |
6389 | |
6222 | IFTYPE=`echo $enableval | sed s%/.*%%` |
6390 | IFTYPE=`echo $enableval | sed s%/.*%%` |
… | |
… | |
6283 | #define HAVE_NETBSD 1 |
6451 | #define HAVE_NETBSD 1 |
6284 | _ACEOF |
6452 | _ACEOF |
6285 | |
6453 | |
6286 | ;; |
6454 | ;; |
6287 | *cygwin*) |
6455 | *cygwin*) |
6288 | IFTYPE=tincd |
6456 | IFTYPE=native |
6289 | IFSUBTYPE=cygwin |
6457 | IFSUBTYPE=cygwin |
6290 | |
6458 | |
6291 | cat >>confdefs.h <<\_ACEOF |
6459 | cat >>confdefs.h <<\_ACEOF |
6292 | #define HAVE_CYGWIN 1 |
6460 | #define HAVE_CYGWIN 1 |
6293 | _ACEOF |
6461 | _ACEOF |
… | |
… | |
6303 | echo "$as_me:$LINENO: result: $IFTYPE/$IFSUBTYPE" >&5 |
6471 | echo "$as_me:$LINENO: result: $IFTYPE/$IFSUBTYPE" >&5 |
6304 | echo "${ECHO_T}$IFTYPE/$IFSUBTYPE" >&6 |
6472 | echo "${ECHO_T}$IFTYPE/$IFSUBTYPE" >&6 |
6305 | IFTYPE=$IFTYPE |
6473 | IFTYPE=$IFTYPE |
6306 | |
6474 | |
6307 | IFSUBTYPE=$IFSUBTYPE |
6475 | IFSUBTYPE=$IFSUBTYPE |
|
|
6476 | |
|
|
6477 | |
|
|
6478 | cat >>confdefs.h <<_ACEOF |
|
|
6479 | #define IFTYPE "$IFTYPE" |
|
|
6480 | _ACEOF |
|
|
6481 | |
|
|
6482 | |
|
|
6483 | cat >>confdefs.h <<_ACEOF |
|
|
6484 | #define IFSUBTYPE "$IFSUBTYPE" |
|
|
6485 | _ACEOF |
6308 | |
6486 | |
6309 | |
6487 | |
6310 | cat >confcache <<\_ACEOF |
6488 | cat >confcache <<\_ACEOF |
6311 | # This file is a shell script that caches the results of configure |
6489 | # 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 |
6490 | # tests run on this system so they can be shared between configure |
… | |
… | |
6333 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
6511 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
6334 | *ac_space=\ *) |
6512 | *ac_space=\ *) |
6335 | # `set' does not quote correctly, so add quotes (double-quote |
6513 | # `set' does not quote correctly, so add quotes (double-quote |
6336 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
6514 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
6337 | sed -n \ |
6515 | sed -n \ |
6338 | "s/'/'\\\\''/g; |
6516 | "s/'/'\\\\''/g; |
6339 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
6517 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
6340 | ;; |
6518 | ;; |
6341 | *) |
6519 | *) |
6342 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
6520 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
6343 | sed -n \ |
6521 | sed -n \ |
6344 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
6522 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
6345 | ;; |
6523 | ;; |
6346 | esac; |
6524 | esac; |
6347 | } | |
6525 | } | |
6348 | sed ' |
6526 | sed ' |
6349 | t clear |
6527 | t clear |
… | |
… | |
6392 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
6570 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
6393 | # <limits.h> exists even on freestanding compilers. |
6571 | # <limits.h> exists even on freestanding compilers. |
6394 | # On the NeXT, cc -E runs the code through the compiler's parser, |
6572 | # 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. |
6573 | # not just through cpp. "Syntax error" is here to catch this case. |
6396 | cat >conftest.$ac_ext <<_ACEOF |
6574 | cat >conftest.$ac_ext <<_ACEOF |
6397 | #line $LINENO "configure" |
|
|
6398 | /* confdefs.h. */ |
6575 | /* confdefs.h. */ |
6399 | _ACEOF |
6576 | _ACEOF |
6400 | cat confdefs.h >>conftest.$ac_ext |
6577 | cat confdefs.h >>conftest.$ac_ext |
6401 | cat >>conftest.$ac_ext <<_ACEOF |
6578 | cat >>conftest.$ac_ext <<_ACEOF |
6402 | /* end confdefs.h. */ |
6579 | /* end confdefs.h. */ |
6403 | #ifdef __STDC__ |
6580 | #ifdef __STDC__ |
6404 | # include <limits.h> |
6581 | # include <limits.h> |
6405 | #else |
6582 | #else |
6406 | # include <assert.h> |
6583 | # include <assert.h> |
6407 | #endif |
6584 | #endif |
6408 | Syntax error |
6585 | Syntax error |
6409 | _ACEOF |
6586 | _ACEOF |
6410 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6587 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6411 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6588 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6412 | ac_status=$? |
6589 | ac_status=$? |
6413 | grep -v '^ *+' conftest.er1 >conftest.err |
6590 | grep -v '^ *+' conftest.er1 >conftest.err |
… | |
… | |
6415 | cat conftest.err >&5 |
6592 | cat conftest.err >&5 |
6416 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6593 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6417 | (exit $ac_status); } >/dev/null; then |
6594 | (exit $ac_status); } >/dev/null; then |
6418 | if test -s conftest.err; then |
6595 | if test -s conftest.err; then |
6419 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
6596 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
6597 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
6420 | else |
6598 | else |
6421 | ac_cpp_err= |
6599 | ac_cpp_err= |
6422 | fi |
6600 | fi |
6423 | else |
6601 | else |
6424 | ac_cpp_err=yes |
6602 | ac_cpp_err=yes |
… | |
… | |
6435 | rm -f conftest.err conftest.$ac_ext |
6613 | rm -f conftest.err conftest.$ac_ext |
6436 | |
6614 | |
6437 | # OK, works on sane cases. Now check whether non-existent headers |
6615 | # OK, works on sane cases. Now check whether non-existent headers |
6438 | # can be detected and how. |
6616 | # can be detected and how. |
6439 | cat >conftest.$ac_ext <<_ACEOF |
6617 | cat >conftest.$ac_ext <<_ACEOF |
6440 | #line $LINENO "configure" |
|
|
6441 | /* confdefs.h. */ |
6618 | /* confdefs.h. */ |
6442 | _ACEOF |
6619 | _ACEOF |
6443 | cat confdefs.h >>conftest.$ac_ext |
6620 | cat confdefs.h >>conftest.$ac_ext |
6444 | cat >>conftest.$ac_ext <<_ACEOF |
6621 | cat >>conftest.$ac_ext <<_ACEOF |
6445 | /* end confdefs.h. */ |
6622 | /* end confdefs.h. */ |
… | |
… | |
6453 | cat conftest.err >&5 |
6630 | cat conftest.err >&5 |
6454 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6631 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6455 | (exit $ac_status); } >/dev/null; then |
6632 | (exit $ac_status); } >/dev/null; then |
6456 | if test -s conftest.err; then |
6633 | if test -s conftest.err; then |
6457 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
6634 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
6635 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
6458 | else |
6636 | else |
6459 | ac_cpp_err= |
6637 | ac_cpp_err= |
6460 | fi |
6638 | fi |
6461 | else |
6639 | else |
6462 | ac_cpp_err=yes |
6640 | ac_cpp_err=yes |
… | |
… | |
6499 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
6677 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
6500 | # <limits.h> exists even on freestanding compilers. |
6678 | # <limits.h> exists even on freestanding compilers. |
6501 | # On the NeXT, cc -E runs the code through the compiler's parser, |
6679 | # 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. |
6680 | # not just through cpp. "Syntax error" is here to catch this case. |
6503 | cat >conftest.$ac_ext <<_ACEOF |
6681 | cat >conftest.$ac_ext <<_ACEOF |
6504 | #line $LINENO "configure" |
|
|
6505 | /* confdefs.h. */ |
6682 | /* confdefs.h. */ |
6506 | _ACEOF |
6683 | _ACEOF |
6507 | cat confdefs.h >>conftest.$ac_ext |
6684 | cat confdefs.h >>conftest.$ac_ext |
6508 | cat >>conftest.$ac_ext <<_ACEOF |
6685 | cat >>conftest.$ac_ext <<_ACEOF |
6509 | /* end confdefs.h. */ |
6686 | /* end confdefs.h. */ |
6510 | #ifdef __STDC__ |
6687 | #ifdef __STDC__ |
6511 | # include <limits.h> |
6688 | # include <limits.h> |
6512 | #else |
6689 | #else |
6513 | # include <assert.h> |
6690 | # include <assert.h> |
6514 | #endif |
6691 | #endif |
6515 | Syntax error |
6692 | Syntax error |
6516 | _ACEOF |
6693 | _ACEOF |
6517 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6694 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6518 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6695 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6519 | ac_status=$? |
6696 | ac_status=$? |
6520 | grep -v '^ *+' conftest.er1 >conftest.err |
6697 | grep -v '^ *+' conftest.er1 >conftest.err |
… | |
… | |
6522 | cat conftest.err >&5 |
6699 | cat conftest.err >&5 |
6523 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6700 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6524 | (exit $ac_status); } >/dev/null; then |
6701 | (exit $ac_status); } >/dev/null; then |
6525 | if test -s conftest.err; then |
6702 | if test -s conftest.err; then |
6526 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
6703 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
6704 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
6527 | else |
6705 | else |
6528 | ac_cpp_err= |
6706 | ac_cpp_err= |
6529 | fi |
6707 | fi |
6530 | else |
6708 | else |
6531 | ac_cpp_err=yes |
6709 | ac_cpp_err=yes |
… | |
… | |
6542 | rm -f conftest.err conftest.$ac_ext |
6720 | rm -f conftest.err conftest.$ac_ext |
6543 | |
6721 | |
6544 | # OK, works on sane cases. Now check whether non-existent headers |
6722 | # OK, works on sane cases. Now check whether non-existent headers |
6545 | # can be detected and how. |
6723 | # can be detected and how. |
6546 | cat >conftest.$ac_ext <<_ACEOF |
6724 | cat >conftest.$ac_ext <<_ACEOF |
6547 | #line $LINENO "configure" |
|
|
6548 | /* confdefs.h. */ |
6725 | /* confdefs.h. */ |
6549 | _ACEOF |
6726 | _ACEOF |
6550 | cat confdefs.h >>conftest.$ac_ext |
6727 | cat confdefs.h >>conftest.$ac_ext |
6551 | cat >>conftest.$ac_ext <<_ACEOF |
6728 | cat >>conftest.$ac_ext <<_ACEOF |
6552 | /* end confdefs.h. */ |
6729 | /* end confdefs.h. */ |
… | |
… | |
6560 | cat conftest.err >&5 |
6737 | cat conftest.err >&5 |
6561 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6738 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6562 | (exit $ac_status); } >/dev/null; then |
6739 | (exit $ac_status); } >/dev/null; then |
6563 | if test -s conftest.err; then |
6740 | if test -s conftest.err; then |
6564 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
6741 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
6742 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
6565 | else |
6743 | else |
6566 | ac_cpp_err= |
6744 | ac_cpp_err= |
6567 | fi |
6745 | fi |
6568 | else |
6746 | else |
6569 | ac_cpp_err=yes |
6747 | ac_cpp_err=yes |
… | |
… | |
6605 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
6783 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
6606 | if test "${ac_cv_header_stdc+set}" = set; then |
6784 | if test "${ac_cv_header_stdc+set}" = set; then |
6607 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6785 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6608 | else |
6786 | else |
6609 | cat >conftest.$ac_ext <<_ACEOF |
6787 | cat >conftest.$ac_ext <<_ACEOF |
6610 | #line $LINENO "configure" |
|
|
6611 | /* confdefs.h. */ |
6788 | /* confdefs.h. */ |
6612 | _ACEOF |
6789 | _ACEOF |
6613 | cat confdefs.h >>conftest.$ac_ext |
6790 | cat confdefs.h >>conftest.$ac_ext |
6614 | cat >>conftest.$ac_ext <<_ACEOF |
6791 | cat >>conftest.$ac_ext <<_ACEOF |
6615 | /* end confdefs.h. */ |
6792 | /* end confdefs.h. */ |
… | |
… | |
6626 | return 0; |
6803 | return 0; |
6627 | } |
6804 | } |
6628 | _ACEOF |
6805 | _ACEOF |
6629 | rm -f conftest.$ac_objext |
6806 | rm -f conftest.$ac_objext |
6630 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6807 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6631 | (eval $ac_compile) 2>&5 |
6808 | (eval $ac_compile) 2>conftest.er1 |
6632 | ac_status=$? |
6809 | ac_status=$? |
|
|
6810 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6811 | rm -f conftest.er1 |
|
|
6812 | cat conftest.err >&5 |
6633 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6813 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6634 | (exit $ac_status); } && |
6814 | (exit $ac_status); } && |
6635 | { ac_try='test -s conftest.$ac_objext' |
6815 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6636 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6816 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6637 | (eval $ac_try) 2>&5 |
6817 | (eval $ac_try) 2>&5 |
6638 | ac_status=$? |
6818 | ac_status=$? |
6639 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6819 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6820 | (exit $ac_status); }; } && |
|
|
6821 | { ac_try='test -s conftest.$ac_objext' |
|
|
6822 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
6823 | (eval $ac_try) 2>&5 |
|
|
6824 | ac_status=$? |
|
|
6825 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6640 | (exit $ac_status); }; }; then |
6826 | (exit $ac_status); }; }; then |
6641 | ac_cv_header_stdc=yes |
6827 | ac_cv_header_stdc=yes |
6642 | else |
6828 | else |
6643 | echo "$as_me: failed program was:" >&5 |
6829 | echo "$as_me: failed program was:" >&5 |
6644 | sed 's/^/| /' conftest.$ac_ext >&5 |
6830 | sed 's/^/| /' conftest.$ac_ext >&5 |
6645 | |
6831 | |
6646 | ac_cv_header_stdc=no |
6832 | ac_cv_header_stdc=no |
6647 | fi |
6833 | fi |
6648 | rm -f conftest.$ac_objext conftest.$ac_ext |
6834 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6649 | |
6835 | |
6650 | if test $ac_cv_header_stdc = yes; then |
6836 | if test $ac_cv_header_stdc = yes; then |
6651 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
6837 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
6652 | cat >conftest.$ac_ext <<_ACEOF |
6838 | cat >conftest.$ac_ext <<_ACEOF |
6653 | #line $LINENO "configure" |
|
|
6654 | /* confdefs.h. */ |
6839 | /* confdefs.h. */ |
6655 | _ACEOF |
6840 | _ACEOF |
6656 | cat confdefs.h >>conftest.$ac_ext |
6841 | cat confdefs.h >>conftest.$ac_ext |
6657 | cat >>conftest.$ac_ext <<_ACEOF |
6842 | cat >>conftest.$ac_ext <<_ACEOF |
6658 | /* end confdefs.h. */ |
6843 | /* end confdefs.h. */ |
… | |
… | |
6670 | fi |
6855 | fi |
6671 | |
6856 | |
6672 | if test $ac_cv_header_stdc = yes; then |
6857 | if test $ac_cv_header_stdc = yes; then |
6673 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
6858 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
6674 | cat >conftest.$ac_ext <<_ACEOF |
6859 | cat >conftest.$ac_ext <<_ACEOF |
6675 | #line $LINENO "configure" |
|
|
6676 | /* confdefs.h. */ |
6860 | /* confdefs.h. */ |
6677 | _ACEOF |
6861 | _ACEOF |
6678 | cat confdefs.h >>conftest.$ac_ext |
6862 | cat confdefs.h >>conftest.$ac_ext |
6679 | cat >>conftest.$ac_ext <<_ACEOF |
6863 | cat >>conftest.$ac_ext <<_ACEOF |
6680 | /* end confdefs.h. */ |
6864 | /* end confdefs.h. */ |
… | |
… | |
6695 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
6879 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
6696 | if test "$cross_compiling" = yes; then |
6880 | if test "$cross_compiling" = yes; then |
6697 | : |
6881 | : |
6698 | else |
6882 | else |
6699 | cat >conftest.$ac_ext <<_ACEOF |
6883 | cat >conftest.$ac_ext <<_ACEOF |
6700 | #line $LINENO "configure" |
|
|
6701 | /* confdefs.h. */ |
6884 | /* confdefs.h. */ |
6702 | _ACEOF |
6885 | _ACEOF |
6703 | cat confdefs.h >>conftest.$ac_ext |
6886 | cat confdefs.h >>conftest.$ac_ext |
6704 | cat >>conftest.$ac_ext <<_ACEOF |
6887 | cat >>conftest.$ac_ext <<_ACEOF |
6705 | /* end confdefs.h. */ |
6888 | /* end confdefs.h. */ |
… | |
… | |
6707 | #if ((' ' & 0x0FF) == 0x020) |
6890 | #if ((' ' & 0x0FF) == 0x020) |
6708 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
6891 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
6709 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
6892 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
6710 | #else |
6893 | #else |
6711 | # define ISLOWER(c) \ |
6894 | # define ISLOWER(c) \ |
6712 | (('a' <= (c) && (c) <= 'i') \ |
6895 | (('a' <= (c) && (c) <= 'i') \ |
6713 | || ('j' <= (c) && (c) <= 'r') \ |
6896 | || ('j' <= (c) && (c) <= 'r') \ |
6714 | || ('s' <= (c) && (c) <= 'z')) |
6897 | || ('s' <= (c) && (c) <= 'z')) |
6715 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
6898 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
6716 | #endif |
6899 | #endif |
6717 | |
6900 | |
6718 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
6901 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
6719 | int |
6902 | int |
6720 | main () |
6903 | main () |
6721 | { |
6904 | { |
6722 | int i; |
6905 | int i; |
6723 | for (i = 0; i < 256; i++) |
6906 | for (i = 0; i < 256; i++) |
6724 | if (XOR (islower (i), ISLOWER (i)) |
6907 | if (XOR (islower (i), ISLOWER (i)) |
6725 | || toupper (i) != TOUPPER (i)) |
6908 | || toupper (i) != TOUPPER (i)) |
6726 | exit(2); |
6909 | exit(2); |
6727 | exit (0); |
6910 | exit (0); |
6728 | } |
6911 | } |
6729 | _ACEOF |
6912 | _ACEOF |
6730 | rm -f conftest$ac_exeext |
6913 | rm -f conftest$ac_exeext |
… | |
… | |
6770 | |
6953 | |
6771 | |
6954 | |
6772 | |
6955 | |
6773 | |
6956 | |
6774 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
6957 | 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 |
6958 | inttypes.h stdint.h unistd.h |
6776 | do |
6959 | do |
6777 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6960 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6778 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6961 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6779 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6962 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6780 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6963 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6781 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6964 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6782 | else |
6965 | else |
6783 | cat >conftest.$ac_ext <<_ACEOF |
6966 | cat >conftest.$ac_ext <<_ACEOF |
6784 | #line $LINENO "configure" |
|
|
6785 | /* confdefs.h. */ |
6967 | /* confdefs.h. */ |
6786 | _ACEOF |
6968 | _ACEOF |
6787 | cat confdefs.h >>conftest.$ac_ext |
6969 | cat confdefs.h >>conftest.$ac_ext |
6788 | cat >>conftest.$ac_ext <<_ACEOF |
6970 | cat >>conftest.$ac_ext <<_ACEOF |
6789 | /* end confdefs.h. */ |
6971 | /* end confdefs.h. */ |
… | |
… | |
6791 | |
6973 | |
6792 | #include <$ac_header> |
6974 | #include <$ac_header> |
6793 | _ACEOF |
6975 | _ACEOF |
6794 | rm -f conftest.$ac_objext |
6976 | rm -f conftest.$ac_objext |
6795 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6977 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6796 | (eval $ac_compile) 2>&5 |
6978 | (eval $ac_compile) 2>conftest.er1 |
6797 | ac_status=$? |
6979 | ac_status=$? |
|
|
6980 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6981 | rm -f conftest.er1 |
|
|
6982 | cat conftest.err >&5 |
6798 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6983 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6799 | (exit $ac_status); } && |
6984 | (exit $ac_status); } && |
6800 | { ac_try='test -s conftest.$ac_objext' |
6985 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6801 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6986 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6802 | (eval $ac_try) 2>&5 |
6987 | (eval $ac_try) 2>&5 |
6803 | ac_status=$? |
6988 | ac_status=$? |
6804 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6989 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6990 | (exit $ac_status); }; } && |
|
|
6991 | { ac_try='test -s conftest.$ac_objext' |
|
|
6992 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
6993 | (eval $ac_try) 2>&5 |
|
|
6994 | ac_status=$? |
|
|
6995 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6805 | (exit $ac_status); }; }; then |
6996 | (exit $ac_status); }; }; then |
6806 | eval "$as_ac_Header=yes" |
6997 | eval "$as_ac_Header=yes" |
6807 | else |
6998 | else |
6808 | echo "$as_me: failed program was:" >&5 |
6999 | echo "$as_me: failed program was:" >&5 |
6809 | sed 's/^/| /' conftest.$ac_ext >&5 |
7000 | sed 's/^/| /' conftest.$ac_ext >&5 |
6810 | |
7001 | |
6811 | eval "$as_ac_Header=no" |
7002 | eval "$as_ac_Header=no" |
6812 | fi |
7003 | fi |
6813 | rm -f conftest.$ac_objext conftest.$ac_ext |
7004 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6814 | fi |
7005 | fi |
6815 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7006 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6816 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7007 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
6817 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
7008 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
6818 | cat >>confdefs.h <<_ACEOF |
7009 | cat >>confdefs.h <<_ACEOF |
… | |
… | |
6823 | |
7014 | |
6824 | done |
7015 | done |
6825 | |
7016 | |
6826 | |
7017 | |
6827 | |
7018 | |
|
|
7019 | |
6828 | for ac_header in ext/hash_map |
7020 | for ac_header in ext/hash_map clocale |
6829 | do |
7021 | do |
6830 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7022 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6831 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7023 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6832 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7024 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6833 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7025 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
… | |
… | |
6839 | else |
7031 | else |
6840 | # Is the header compilable? |
7032 | # Is the header compilable? |
6841 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
7033 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
6842 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
7034 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
6843 | cat >conftest.$ac_ext <<_ACEOF |
7035 | cat >conftest.$ac_ext <<_ACEOF |
6844 | #line $LINENO "configure" |
|
|
6845 | /* confdefs.h. */ |
7036 | /* confdefs.h. */ |
6846 | _ACEOF |
7037 | _ACEOF |
6847 | cat confdefs.h >>conftest.$ac_ext |
7038 | cat confdefs.h >>conftest.$ac_ext |
6848 | cat >>conftest.$ac_ext <<_ACEOF |
7039 | cat >>conftest.$ac_ext <<_ACEOF |
6849 | /* end confdefs.h. */ |
7040 | /* end confdefs.h. */ |
6850 | $ac_includes_default |
7041 | $ac_includes_default |
6851 | #include <$ac_header> |
7042 | #include <$ac_header> |
6852 | _ACEOF |
7043 | _ACEOF |
6853 | rm -f conftest.$ac_objext |
7044 | rm -f conftest.$ac_objext |
6854 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7045 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6855 | (eval $ac_compile) 2>&5 |
7046 | (eval $ac_compile) 2>conftest.er1 |
6856 | ac_status=$? |
7047 | ac_status=$? |
|
|
7048 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7049 | rm -f conftest.er1 |
|
|
7050 | cat conftest.err >&5 |
6857 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7051 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6858 | (exit $ac_status); } && |
7052 | (exit $ac_status); } && |
6859 | { ac_try='test -s conftest.$ac_objext' |
7053 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6860 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7054 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6861 | (eval $ac_try) 2>&5 |
7055 | (eval $ac_try) 2>&5 |
6862 | ac_status=$? |
7056 | ac_status=$? |
6863 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7057 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7058 | (exit $ac_status); }; } && |
|
|
7059 | { ac_try='test -s conftest.$ac_objext' |
|
|
7060 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7061 | (eval $ac_try) 2>&5 |
|
|
7062 | ac_status=$? |
|
|
7063 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6864 | (exit $ac_status); }; }; then |
7064 | (exit $ac_status); }; }; then |
6865 | ac_header_compiler=yes |
7065 | ac_header_compiler=yes |
6866 | else |
7066 | else |
6867 | echo "$as_me: failed program was:" >&5 |
7067 | echo "$as_me: failed program was:" >&5 |
6868 | sed 's/^/| /' conftest.$ac_ext >&5 |
7068 | sed 's/^/| /' conftest.$ac_ext >&5 |
6869 | |
7069 | |
6870 | ac_header_compiler=no |
7070 | ac_header_compiler=no |
6871 | fi |
7071 | fi |
6872 | rm -f conftest.$ac_objext conftest.$ac_ext |
7072 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6873 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
7073 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
6874 | echo "${ECHO_T}$ac_header_compiler" >&6 |
7074 | echo "${ECHO_T}$ac_header_compiler" >&6 |
6875 | |
7075 | |
6876 | # Is the header present? |
7076 | # Is the header present? |
6877 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
7077 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
6878 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
7078 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
6879 | cat >conftest.$ac_ext <<_ACEOF |
7079 | cat >conftest.$ac_ext <<_ACEOF |
6880 | #line $LINENO "configure" |
|
|
6881 | /* confdefs.h. */ |
7080 | /* confdefs.h. */ |
6882 | _ACEOF |
7081 | _ACEOF |
6883 | cat confdefs.h >>conftest.$ac_ext |
7082 | cat confdefs.h >>conftest.$ac_ext |
6884 | cat >>conftest.$ac_ext <<_ACEOF |
7083 | cat >>conftest.$ac_ext <<_ACEOF |
6885 | /* end confdefs.h. */ |
7084 | /* end confdefs.h. */ |
… | |
… | |
6893 | cat conftest.err >&5 |
7092 | cat conftest.err >&5 |
6894 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7093 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6895 | (exit $ac_status); } >/dev/null; then |
7094 | (exit $ac_status); } >/dev/null; then |
6896 | if test -s conftest.err; then |
7095 | if test -s conftest.err; then |
6897 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
7096 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
7097 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
6898 | else |
7098 | else |
6899 | ac_cpp_err= |
7099 | ac_cpp_err= |
6900 | fi |
7100 | fi |
6901 | else |
7101 | else |
6902 | ac_cpp_err=yes |
7102 | ac_cpp_err=yes |
… | |
… | |
6912 | rm -f conftest.err conftest.$ac_ext |
7112 | rm -f conftest.err conftest.$ac_ext |
6913 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
7113 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
6914 | echo "${ECHO_T}$ac_header_preproc" >&6 |
7114 | echo "${ECHO_T}$ac_header_preproc" >&6 |
6915 | |
7115 | |
6916 | # So? What about this header? |
7116 | # So? What about this header? |
6917 | case $ac_header_compiler:$ac_header_preproc in |
7117 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
6918 | yes:no ) |
7118 | yes:no: ) |
6919 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
7119 | { 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;} |
7120 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
7121 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
7122 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
7123 | ac_header_preproc=yes |
|
|
7124 | ;; |
|
|
7125 | no:yes:* ) |
|
|
7126 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
7127 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
7128 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
7129 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
7130 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
7131 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
7132 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
7133 | 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 |
7134 | { 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;} |
7135 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
7136 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
7137 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
6923 | ( |
7138 | ( |
6924 | cat <<\_ASBOX |
7139 | cat <<\_ASBOX |
6925 | ## ------------------------------------ ## |
7140 | ## ------------------------------------------ ## |
6926 | ## Report this to bug-autoconf@gnu.org. ## |
7141 | ## Report this to the AC_PACKAGE_NAME lists. ## |
6927 | ## ------------------------------------ ## |
7142 | ## ------------------------------------------ ## |
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 |
7143 | _ASBOX |
6945 | ) | |
7144 | ) | |
6946 | sed "s/^/$as_me: WARNING: /" >&2 |
7145 | sed "s/^/$as_me: WARNING: /" >&2 |
6947 | ;; |
7146 | ;; |
6948 | esac |
7147 | esac |
6949 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7148 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6950 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7149 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6951 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7150 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6952 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7151 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6953 | else |
7152 | else |
6954 | eval "$as_ac_Header=$ac_header_preproc" |
7153 | eval "$as_ac_Header=\$ac_header_preproc" |
6955 | fi |
7154 | fi |
6956 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7155 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6957 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7156 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
6958 | |
7157 | |
6959 | fi |
7158 | fi |
… | |
… | |
6981 | |
7180 | |
6982 | |
7181 | |
6983 | |
7182 | |
6984 | |
7183 | |
6985 | |
7184 | |
6986 | |
|
|
6987 | |
|
|
6988 | for ac_header in fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \ |
7185 | 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 \ |
7186 | 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 |
7187 | sys/mman.h netinet/in.h |
6991 | do |
7188 | do |
6992 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7189 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6993 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7190 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6994 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7191 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6995 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7192 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
… | |
… | |
7001 | else |
7198 | else |
7002 | # Is the header compilable? |
7199 | # Is the header compilable? |
7003 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
7200 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
7004 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
7201 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
7005 | cat >conftest.$ac_ext <<_ACEOF |
7202 | cat >conftest.$ac_ext <<_ACEOF |
7006 | #line $LINENO "configure" |
|
|
7007 | /* confdefs.h. */ |
7203 | /* confdefs.h. */ |
7008 | _ACEOF |
7204 | _ACEOF |
7009 | cat confdefs.h >>conftest.$ac_ext |
7205 | cat confdefs.h >>conftest.$ac_ext |
7010 | cat >>conftest.$ac_ext <<_ACEOF |
7206 | cat >>conftest.$ac_ext <<_ACEOF |
7011 | /* end confdefs.h. */ |
7207 | /* end confdefs.h. */ |
7012 | $ac_includes_default |
7208 | $ac_includes_default |
7013 | #include <$ac_header> |
7209 | #include <$ac_header> |
7014 | _ACEOF |
7210 | _ACEOF |
7015 | rm -f conftest.$ac_objext |
7211 | rm -f conftest.$ac_objext |
7016 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7212 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7017 | (eval $ac_compile) 2>&5 |
7213 | (eval $ac_compile) 2>conftest.er1 |
7018 | ac_status=$? |
7214 | ac_status=$? |
|
|
7215 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7216 | rm -f conftest.er1 |
|
|
7217 | cat conftest.err >&5 |
7019 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7218 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7020 | (exit $ac_status); } && |
7219 | (exit $ac_status); } && |
7021 | { ac_try='test -s conftest.$ac_objext' |
7220 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7022 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7221 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7023 | (eval $ac_try) 2>&5 |
7222 | (eval $ac_try) 2>&5 |
7024 | ac_status=$? |
7223 | ac_status=$? |
7025 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7224 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7225 | (exit $ac_status); }; } && |
|
|
7226 | { ac_try='test -s conftest.$ac_objext' |
|
|
7227 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7228 | (eval $ac_try) 2>&5 |
|
|
7229 | ac_status=$? |
|
|
7230 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7026 | (exit $ac_status); }; }; then |
7231 | (exit $ac_status); }; }; then |
7027 | ac_header_compiler=yes |
7232 | ac_header_compiler=yes |
7028 | else |
7233 | else |
7029 | echo "$as_me: failed program was:" >&5 |
7234 | echo "$as_me: failed program was:" >&5 |
7030 | sed 's/^/| /' conftest.$ac_ext >&5 |
7235 | sed 's/^/| /' conftest.$ac_ext >&5 |
7031 | |
7236 | |
7032 | ac_header_compiler=no |
7237 | ac_header_compiler=no |
7033 | fi |
7238 | fi |
7034 | rm -f conftest.$ac_objext conftest.$ac_ext |
7239 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7035 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
7240 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
7036 | echo "${ECHO_T}$ac_header_compiler" >&6 |
7241 | echo "${ECHO_T}$ac_header_compiler" >&6 |
7037 | |
7242 | |
7038 | # Is the header present? |
7243 | # Is the header present? |
7039 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
7244 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
7040 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
7245 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
7041 | cat >conftest.$ac_ext <<_ACEOF |
7246 | cat >conftest.$ac_ext <<_ACEOF |
7042 | #line $LINENO "configure" |
|
|
7043 | /* confdefs.h. */ |
7247 | /* confdefs.h. */ |
7044 | _ACEOF |
7248 | _ACEOF |
7045 | cat confdefs.h >>conftest.$ac_ext |
7249 | cat confdefs.h >>conftest.$ac_ext |
7046 | cat >>conftest.$ac_ext <<_ACEOF |
7250 | cat >>conftest.$ac_ext <<_ACEOF |
7047 | /* end confdefs.h. */ |
7251 | /* end confdefs.h. */ |
… | |
… | |
7055 | cat conftest.err >&5 |
7259 | cat conftest.err >&5 |
7056 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7260 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7057 | (exit $ac_status); } >/dev/null; then |
7261 | (exit $ac_status); } >/dev/null; then |
7058 | if test -s conftest.err; then |
7262 | if test -s conftest.err; then |
7059 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
7263 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
7264 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
7060 | else |
7265 | else |
7061 | ac_cpp_err= |
7266 | ac_cpp_err= |
7062 | fi |
7267 | fi |
7063 | else |
7268 | else |
7064 | ac_cpp_err=yes |
7269 | ac_cpp_err=yes |
… | |
… | |
7074 | rm -f conftest.err conftest.$ac_ext |
7279 | rm -f conftest.err conftest.$ac_ext |
7075 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
7280 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
7076 | echo "${ECHO_T}$ac_header_preproc" >&6 |
7281 | echo "${ECHO_T}$ac_header_preproc" >&6 |
7077 | |
7282 | |
7078 | # So? What about this header? |
7283 | # So? What about this header? |
7079 | case $ac_header_compiler:$ac_header_preproc in |
7284 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
7080 | yes:no ) |
7285 | yes:no: ) |
7081 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
7286 | { 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;} |
7287 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
7288 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
7289 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
7290 | ac_header_preproc=yes |
|
|
7291 | ;; |
|
|
7292 | no:yes:* ) |
|
|
7293 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
7294 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
7295 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
7296 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
7297 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
7298 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
7299 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
7300 | 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 |
7301 | { 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;} |
7302 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
7303 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
7304 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
7085 | ( |
7305 | ( |
7086 | cat <<\_ASBOX |
7306 | cat <<\_ASBOX |
7087 | ## ------------------------------------ ## |
7307 | ## ------------------------------------------ ## |
7088 | ## Report this to bug-autoconf@gnu.org. ## |
7308 | ## Report this to the AC_PACKAGE_NAME lists. ## |
7089 | ## ------------------------------------ ## |
7309 | ## ------------------------------------------ ## |
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 |
7310 | _ASBOX |
7107 | ) | |
7311 | ) | |
7108 | sed "s/^/$as_me: WARNING: /" >&2 |
7312 | sed "s/^/$as_me: WARNING: /" >&2 |
7109 | ;; |
7313 | ;; |
7110 | esac |
7314 | esac |
7111 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7315 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7112 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7316 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7113 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7317 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7114 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7318 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7115 | else |
7319 | else |
7116 | eval "$as_ac_Header=$ac_header_preproc" |
7320 | eval "$as_ac_Header=\$ac_header_preproc" |
7117 | fi |
7321 | fi |
7118 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7322 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7119 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7323 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7120 | |
7324 | |
7121 | fi |
7325 | fi |
… | |
… | |
7131 | |
7335 | |
7132 | |
7336 | |
7133 | |
7337 | |
7134 | |
7338 | |
7135 | |
7339 | |
|
|
7340 | |
7136 | for ac_header in net/ethernet.h net/if.h netinet/ip.h netinet/tcp.h netinet/in_systm.h |
7341 | 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 |
7342 | do |
7138 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7343 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7139 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7344 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7140 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7345 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7141 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7346 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7142 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7347 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7143 | else |
7348 | else |
7144 | cat >conftest.$ac_ext <<_ACEOF |
7349 | cat >conftest.$ac_ext <<_ACEOF |
7145 | #line $LINENO "configure" |
|
|
7146 | /* confdefs.h. */ |
7350 | /* confdefs.h. */ |
7147 | _ACEOF |
7351 | _ACEOF |
7148 | cat confdefs.h >>conftest.$ac_ext |
7352 | cat confdefs.h >>conftest.$ac_ext |
7149 | cat >>conftest.$ac_ext <<_ACEOF |
7353 | cat >>conftest.$ac_ext <<_ACEOF |
7150 | /* end confdefs.h. */ |
7354 | /* end confdefs.h. */ |
… | |
… | |
7164 | |
7368 | |
7165 | #include <$ac_header> |
7369 | #include <$ac_header> |
7166 | _ACEOF |
7370 | _ACEOF |
7167 | rm -f conftest.$ac_objext |
7371 | rm -f conftest.$ac_objext |
7168 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7372 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7169 | (eval $ac_compile) 2>&5 |
7373 | (eval $ac_compile) 2>conftest.er1 |
7170 | ac_status=$? |
7374 | ac_status=$? |
|
|
7375 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7376 | rm -f conftest.er1 |
|
|
7377 | cat conftest.err >&5 |
7171 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7378 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7172 | (exit $ac_status); } && |
7379 | (exit $ac_status); } && |
7173 | { ac_try='test -s conftest.$ac_objext' |
7380 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7174 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7381 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7175 | (eval $ac_try) 2>&5 |
7382 | (eval $ac_try) 2>&5 |
7176 | ac_status=$? |
7383 | ac_status=$? |
7177 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7384 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7385 | (exit $ac_status); }; } && |
|
|
7386 | { ac_try='test -s conftest.$ac_objext' |
|
|
7387 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7388 | (eval $ac_try) 2>&5 |
|
|
7389 | ac_status=$? |
|
|
7390 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7178 | (exit $ac_status); }; }; then |
7391 | (exit $ac_status); }; }; then |
7179 | eval "$as_ac_Header=yes" |
7392 | eval "$as_ac_Header=yes" |
7180 | else |
7393 | else |
7181 | echo "$as_me: failed program was:" >&5 |
7394 | echo "$as_me: failed program was:" >&5 |
7182 | sed 's/^/| /' conftest.$ac_ext >&5 |
7395 | sed 's/^/| /' conftest.$ac_ext >&5 |
7183 | |
7396 | |
7184 | eval "$as_ac_Header=no" |
7397 | eval "$as_ac_Header=no" |
7185 | fi |
7398 | fi |
7186 | rm -f conftest.$ac_objext conftest.$ac_ext |
7399 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7187 | fi |
7400 | fi |
7188 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7401 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7189 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7402 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7190 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
7403 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
7191 | cat >>confdefs.h <<_ACEOF |
7404 | cat >>confdefs.h <<_ACEOF |
… | |
… | |
7201 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
7414 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
7202 | if test "${ac_cv_c_const+set}" = set; then |
7415 | if test "${ac_cv_c_const+set}" = set; then |
7203 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7416 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7204 | else |
7417 | else |
7205 | cat >conftest.$ac_ext <<_ACEOF |
7418 | cat >conftest.$ac_ext <<_ACEOF |
7206 | #line $LINENO "configure" |
|
|
7207 | /* confdefs.h. */ |
7419 | /* confdefs.h. */ |
7208 | _ACEOF |
7420 | _ACEOF |
7209 | cat confdefs.h >>conftest.$ac_ext |
7421 | cat confdefs.h >>conftest.$ac_ext |
7210 | cat >>conftest.$ac_ext <<_ACEOF |
7422 | cat >>conftest.$ac_ext <<_ACEOF |
7211 | /* end confdefs.h. */ |
7423 | /* end confdefs.h. */ |
… | |
… | |
7264 | return 0; |
7476 | return 0; |
7265 | } |
7477 | } |
7266 | _ACEOF |
7478 | _ACEOF |
7267 | rm -f conftest.$ac_objext |
7479 | rm -f conftest.$ac_objext |
7268 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7480 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7269 | (eval $ac_compile) 2>&5 |
7481 | (eval $ac_compile) 2>conftest.er1 |
7270 | ac_status=$? |
7482 | ac_status=$? |
|
|
7483 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7484 | rm -f conftest.er1 |
|
|
7485 | cat conftest.err >&5 |
7271 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7486 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7272 | (exit $ac_status); } && |
7487 | (exit $ac_status); } && |
7273 | { ac_try='test -s conftest.$ac_objext' |
7488 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7274 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7489 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7275 | (eval $ac_try) 2>&5 |
7490 | (eval $ac_try) 2>&5 |
7276 | ac_status=$? |
7491 | ac_status=$? |
7277 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7492 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7493 | (exit $ac_status); }; } && |
|
|
7494 | { ac_try='test -s conftest.$ac_objext' |
|
|
7495 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7496 | (eval $ac_try) 2>&5 |
|
|
7497 | ac_status=$? |
|
|
7498 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7278 | (exit $ac_status); }; }; then |
7499 | (exit $ac_status); }; }; then |
7279 | ac_cv_c_const=yes |
7500 | ac_cv_c_const=yes |
7280 | else |
7501 | else |
7281 | echo "$as_me: failed program was:" >&5 |
7502 | echo "$as_me: failed program was:" >&5 |
7282 | sed 's/^/| /' conftest.$ac_ext >&5 |
7503 | sed 's/^/| /' conftest.$ac_ext >&5 |
7283 | |
7504 | |
7284 | ac_cv_c_const=no |
7505 | ac_cv_c_const=no |
7285 | fi |
7506 | fi |
7286 | rm -f conftest.$ac_objext conftest.$ac_ext |
7507 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7287 | fi |
7508 | fi |
7288 | echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
7509 | echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
7289 | echo "${ECHO_T}$ac_cv_c_const" >&6 |
7510 | echo "${ECHO_T}$ac_cv_c_const" >&6 |
7290 | if test $ac_cv_c_const = no; then |
7511 | if test $ac_cv_c_const = no; then |
7291 | |
7512 | |
… | |
… | |
7299 | echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 |
7520 | echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 |
7300 | if test "${ac_cv_type_pid_t+set}" = set; then |
7521 | if test "${ac_cv_type_pid_t+set}" = set; then |
7301 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7522 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7302 | else |
7523 | else |
7303 | cat >conftest.$ac_ext <<_ACEOF |
7524 | cat >conftest.$ac_ext <<_ACEOF |
7304 | #line $LINENO "configure" |
|
|
7305 | /* confdefs.h. */ |
7525 | /* confdefs.h. */ |
7306 | _ACEOF |
7526 | _ACEOF |
7307 | cat confdefs.h >>conftest.$ac_ext |
7527 | cat confdefs.h >>conftest.$ac_ext |
7308 | cat >>conftest.$ac_ext <<_ACEOF |
7528 | cat >>conftest.$ac_ext <<_ACEOF |
7309 | /* end confdefs.h. */ |
7529 | /* end confdefs.h. */ |
… | |
… | |
7319 | return 0; |
7539 | return 0; |
7320 | } |
7540 | } |
7321 | _ACEOF |
7541 | _ACEOF |
7322 | rm -f conftest.$ac_objext |
7542 | rm -f conftest.$ac_objext |
7323 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7543 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7324 | (eval $ac_compile) 2>&5 |
7544 | (eval $ac_compile) 2>conftest.er1 |
7325 | ac_status=$? |
7545 | ac_status=$? |
|
|
7546 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7547 | rm -f conftest.er1 |
|
|
7548 | cat conftest.err >&5 |
7326 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7549 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7327 | (exit $ac_status); } && |
7550 | (exit $ac_status); } && |
7328 | { ac_try='test -s conftest.$ac_objext' |
7551 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7329 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7552 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7330 | (eval $ac_try) 2>&5 |
7553 | (eval $ac_try) 2>&5 |
7331 | ac_status=$? |
7554 | ac_status=$? |
7332 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7555 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7556 | (exit $ac_status); }; } && |
|
|
7557 | { ac_try='test -s conftest.$ac_objext' |
|
|
7558 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7559 | (eval $ac_try) 2>&5 |
|
|
7560 | ac_status=$? |
|
|
7561 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7333 | (exit $ac_status); }; }; then |
7562 | (exit $ac_status); }; }; then |
7334 | ac_cv_type_pid_t=yes |
7563 | ac_cv_type_pid_t=yes |
7335 | else |
7564 | else |
7336 | echo "$as_me: failed program was:" >&5 |
7565 | echo "$as_me: failed program was:" >&5 |
7337 | sed 's/^/| /' conftest.$ac_ext >&5 |
7566 | sed 's/^/| /' conftest.$ac_ext >&5 |
7338 | |
7567 | |
7339 | ac_cv_type_pid_t=no |
7568 | ac_cv_type_pid_t=no |
7340 | fi |
7569 | fi |
7341 | rm -f conftest.$ac_objext conftest.$ac_ext |
7570 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7342 | fi |
7571 | fi |
7343 | echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 |
7572 | echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 |
7344 | echo "${ECHO_T}$ac_cv_type_pid_t" >&6 |
7573 | echo "${ECHO_T}$ac_cv_type_pid_t" >&6 |
7345 | if test $ac_cv_type_pid_t = yes; then |
7574 | if test $ac_cv_type_pid_t = yes; then |
7346 | : |
7575 | : |
… | |
… | |
7356 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6 |
7585 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6 |
7357 | if test "${ac_cv_type_size_t+set}" = set; then |
7586 | if test "${ac_cv_type_size_t+set}" = set; then |
7358 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7587 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7359 | else |
7588 | else |
7360 | cat >conftest.$ac_ext <<_ACEOF |
7589 | cat >conftest.$ac_ext <<_ACEOF |
7361 | #line $LINENO "configure" |
|
|
7362 | /* confdefs.h. */ |
7590 | /* confdefs.h. */ |
7363 | _ACEOF |
7591 | _ACEOF |
7364 | cat confdefs.h >>conftest.$ac_ext |
7592 | cat confdefs.h >>conftest.$ac_ext |
7365 | cat >>conftest.$ac_ext <<_ACEOF |
7593 | cat >>conftest.$ac_ext <<_ACEOF |
7366 | /* end confdefs.h. */ |
7594 | /* end confdefs.h. */ |
… | |
… | |
7376 | return 0; |
7604 | return 0; |
7377 | } |
7605 | } |
7378 | _ACEOF |
7606 | _ACEOF |
7379 | rm -f conftest.$ac_objext |
7607 | rm -f conftest.$ac_objext |
7380 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7608 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7381 | (eval $ac_compile) 2>&5 |
7609 | (eval $ac_compile) 2>conftest.er1 |
7382 | ac_status=$? |
7610 | ac_status=$? |
|
|
7611 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7612 | rm -f conftest.er1 |
|
|
7613 | cat conftest.err >&5 |
7383 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7614 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7384 | (exit $ac_status); } && |
7615 | (exit $ac_status); } && |
7385 | { ac_try='test -s conftest.$ac_objext' |
7616 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7386 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7617 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7387 | (eval $ac_try) 2>&5 |
7618 | (eval $ac_try) 2>&5 |
7388 | ac_status=$? |
7619 | ac_status=$? |
7389 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7620 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7621 | (exit $ac_status); }; } && |
|
|
7622 | { ac_try='test -s conftest.$ac_objext' |
|
|
7623 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7624 | (eval $ac_try) 2>&5 |
|
|
7625 | ac_status=$? |
|
|
7626 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7390 | (exit $ac_status); }; }; then |
7627 | (exit $ac_status); }; }; then |
7391 | ac_cv_type_size_t=yes |
7628 | ac_cv_type_size_t=yes |
7392 | else |
7629 | else |
7393 | echo "$as_me: failed program was:" >&5 |
7630 | echo "$as_me: failed program was:" >&5 |
7394 | sed 's/^/| /' conftest.$ac_ext >&5 |
7631 | sed 's/^/| /' conftest.$ac_ext >&5 |
7395 | |
7632 | |
7396 | ac_cv_type_size_t=no |
7633 | ac_cv_type_size_t=no |
7397 | fi |
7634 | fi |
7398 | rm -f conftest.$ac_objext conftest.$ac_ext |
7635 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7399 | fi |
7636 | fi |
7400 | echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 |
7637 | echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 |
7401 | echo "${ECHO_T}$ac_cv_type_size_t" >&6 |
7638 | echo "${ECHO_T}$ac_cv_type_size_t" >&6 |
7402 | if test $ac_cv_type_size_t = yes; then |
7639 | if test $ac_cv_type_size_t = yes; then |
7403 | : |
7640 | : |
… | |
… | |
7413 | echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 |
7650 | 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 |
7651 | if test "${ac_cv_header_time+set}" = set; then |
7415 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7652 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7416 | else |
7653 | else |
7417 | cat >conftest.$ac_ext <<_ACEOF |
7654 | cat >conftest.$ac_ext <<_ACEOF |
7418 | #line $LINENO "configure" |
|
|
7419 | /* confdefs.h. */ |
7655 | /* confdefs.h. */ |
7420 | _ACEOF |
7656 | _ACEOF |
7421 | cat confdefs.h >>conftest.$ac_ext |
7657 | cat confdefs.h >>conftest.$ac_ext |
7422 | cat >>conftest.$ac_ext <<_ACEOF |
7658 | cat >>conftest.$ac_ext <<_ACEOF |
7423 | /* end confdefs.h. */ |
7659 | /* end confdefs.h. */ |
… | |
… | |
7434 | return 0; |
7670 | return 0; |
7435 | } |
7671 | } |
7436 | _ACEOF |
7672 | _ACEOF |
7437 | rm -f conftest.$ac_objext |
7673 | rm -f conftest.$ac_objext |
7438 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7674 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7439 | (eval $ac_compile) 2>&5 |
7675 | (eval $ac_compile) 2>conftest.er1 |
7440 | ac_status=$? |
7676 | ac_status=$? |
|
|
7677 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7678 | rm -f conftest.er1 |
|
|
7679 | cat conftest.err >&5 |
7441 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7680 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7442 | (exit $ac_status); } && |
7681 | (exit $ac_status); } && |
7443 | { ac_try='test -s conftest.$ac_objext' |
7682 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7444 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7683 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7445 | (eval $ac_try) 2>&5 |
7684 | (eval $ac_try) 2>&5 |
7446 | ac_status=$? |
7685 | ac_status=$? |
7447 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7686 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7687 | (exit $ac_status); }; } && |
|
|
7688 | { ac_try='test -s conftest.$ac_objext' |
|
|
7689 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7690 | (eval $ac_try) 2>&5 |
|
|
7691 | ac_status=$? |
|
|
7692 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7448 | (exit $ac_status); }; }; then |
7693 | (exit $ac_status); }; }; then |
7449 | ac_cv_header_time=yes |
7694 | ac_cv_header_time=yes |
7450 | else |
7695 | else |
7451 | echo "$as_me: failed program was:" >&5 |
7696 | echo "$as_me: failed program was:" >&5 |
7452 | sed 's/^/| /' conftest.$ac_ext >&5 |
7697 | sed 's/^/| /' conftest.$ac_ext >&5 |
7453 | |
7698 | |
7454 | ac_cv_header_time=no |
7699 | ac_cv_header_time=no |
7455 | fi |
7700 | fi |
7456 | rm -f conftest.$ac_objext conftest.$ac_ext |
7701 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7457 | fi |
7702 | fi |
7458 | echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
7703 | echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
7459 | echo "${ECHO_T}$ac_cv_header_time" >&6 |
7704 | echo "${ECHO_T}$ac_cv_header_time" >&6 |
7460 | if test $ac_cv_header_time = yes; then |
7705 | if test $ac_cv_header_time = yes; then |
7461 | |
7706 | |
… | |
… | |
7469 | echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 |
7714 | 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 |
7715 | if test "${ac_cv_struct_tm+set}" = set; then |
7471 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7716 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7472 | else |
7717 | else |
7473 | cat >conftest.$ac_ext <<_ACEOF |
7718 | cat >conftest.$ac_ext <<_ACEOF |
7474 | #line $LINENO "configure" |
|
|
7475 | /* confdefs.h. */ |
7719 | /* confdefs.h. */ |
7476 | _ACEOF |
7720 | _ACEOF |
7477 | cat confdefs.h >>conftest.$ac_ext |
7721 | cat confdefs.h >>conftest.$ac_ext |
7478 | cat >>conftest.$ac_ext <<_ACEOF |
7722 | cat >>conftest.$ac_ext <<_ACEOF |
7479 | /* end confdefs.h. */ |
7723 | /* end confdefs.h. */ |
… | |
… | |
7488 | return 0; |
7732 | return 0; |
7489 | } |
7733 | } |
7490 | _ACEOF |
7734 | _ACEOF |
7491 | rm -f conftest.$ac_objext |
7735 | rm -f conftest.$ac_objext |
7492 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7736 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7493 | (eval $ac_compile) 2>&5 |
7737 | (eval $ac_compile) 2>conftest.er1 |
7494 | ac_status=$? |
7738 | ac_status=$? |
|
|
7739 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7740 | rm -f conftest.er1 |
|
|
7741 | cat conftest.err >&5 |
7495 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7742 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7496 | (exit $ac_status); } && |
7743 | (exit $ac_status); } && |
7497 | { ac_try='test -s conftest.$ac_objext' |
7744 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7498 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7745 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7499 | (eval $ac_try) 2>&5 |
7746 | (eval $ac_try) 2>&5 |
7500 | ac_status=$? |
7747 | ac_status=$? |
7501 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7748 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7749 | (exit $ac_status); }; } && |
|
|
7750 | { ac_try='test -s conftest.$ac_objext' |
|
|
7751 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7752 | (eval $ac_try) 2>&5 |
|
|
7753 | ac_status=$? |
|
|
7754 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7502 | (exit $ac_status); }; }; then |
7755 | (exit $ac_status); }; }; then |
7503 | ac_cv_struct_tm=time.h |
7756 | ac_cv_struct_tm=time.h |
7504 | else |
7757 | else |
7505 | echo "$as_me: failed program was:" >&5 |
7758 | echo "$as_me: failed program was:" >&5 |
7506 | sed 's/^/| /' conftest.$ac_ext >&5 |
7759 | sed 's/^/| /' conftest.$ac_ext >&5 |
7507 | |
7760 | |
7508 | ac_cv_struct_tm=sys/time.h |
7761 | ac_cv_struct_tm=sys/time.h |
7509 | fi |
7762 | fi |
7510 | rm -f conftest.$ac_objext conftest.$ac_ext |
7763 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7511 | fi |
7764 | fi |
7512 | echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 |
7765 | echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 |
7513 | echo "${ECHO_T}$ac_cv_struct_tm" >&6 |
7766 | echo "${ECHO_T}$ac_cv_struct_tm" >&6 |
7514 | if test $ac_cv_struct_tm = sys/time.h; then |
7767 | if test $ac_cv_struct_tm = sys/time.h; then |
7515 | |
7768 | |
… | |
… | |
7518 | _ACEOF |
7771 | _ACEOF |
7519 | |
7772 | |
7520 | fi |
7773 | fi |
7521 | |
7774 | |
7522 | |
7775 | |
|
|
7776 | echo "$as_me:$LINENO: checking for socklen_t" >&5 |
|
|
7777 | echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6 |
|
|
7778 | if test "${ac_cv_type_socklen_t+set}" = set; then |
|
|
7779 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7780 | else |
7523 | |
7781 | |
7524 | for ac_func in poll |
7782 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7783 | /* confdefs.h. */ |
|
|
7784 | _ACEOF |
|
|
7785 | cat confdefs.h >>conftest.$ac_ext |
|
|
7786 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7787 | /* end confdefs.h. */ |
|
|
7788 | #include <sys/types.h> |
|
|
7789 | #include <sys/socket.h> |
|
|
7790 | int |
|
|
7791 | main () |
|
|
7792 | { |
|
|
7793 | socklen_t len = 42; return len; |
|
|
7794 | ; |
|
|
7795 | return 0; |
|
|
7796 | } |
|
|
7797 | _ACEOF |
|
|
7798 | rm -f conftest.$ac_objext |
|
|
7799 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
7800 | (eval $ac_compile) 2>conftest.er1 |
|
|
7801 | ac_status=$? |
|
|
7802 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7803 | rm -f conftest.er1 |
|
|
7804 | cat conftest.err >&5 |
|
|
7805 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7806 | (exit $ac_status); } && |
|
|
7807 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
7808 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7809 | (eval $ac_try) 2>&5 |
|
|
7810 | ac_status=$? |
|
|
7811 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7812 | (exit $ac_status); }; } && |
|
|
7813 | { ac_try='test -s conftest.$ac_objext' |
|
|
7814 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7815 | (eval $ac_try) 2>&5 |
|
|
7816 | ac_status=$? |
|
|
7817 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7818 | (exit $ac_status); }; }; then |
|
|
7819 | ac_cv_type_socklen_t=yes |
|
|
7820 | else |
|
|
7821 | echo "$as_me: failed program was:" >&5 |
|
|
7822 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7823 | |
|
|
7824 | ac_cv_type_socklen_t=no |
|
|
7825 | fi |
|
|
7826 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7827 | |
|
|
7828 | fi |
|
|
7829 | echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 |
|
|
7830 | echo "${ECHO_T}$ac_cv_type_socklen_t" >&6 |
|
|
7831 | if test $ac_cv_type_socklen_t = yes; then |
|
|
7832 | |
|
|
7833 | cat >>confdefs.h <<\_ACEOF |
|
|
7834 | #define HAVE_SOCKLEN_T 1 |
|
|
7835 | _ACEOF |
|
|
7836 | |
|
|
7837 | fi |
|
|
7838 | |
|
|
7839 | echo "$as_me:$LINENO: checking for struct addrinfo" >&5 |
|
|
7840 | echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6 |
|
|
7841 | if test "${ac_cv_struct_addrinfo+set}" = set; then |
|
|
7842 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7843 | else |
|
|
7844 | |
|
|
7845 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7846 | /* confdefs.h. */ |
|
|
7847 | _ACEOF |
|
|
7848 | cat confdefs.h >>conftest.$ac_ext |
|
|
7849 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7850 | /* end confdefs.h. */ |
|
|
7851 | #include <sys/types.h> |
|
|
7852 | #include <sys/socket.h> |
|
|
7853 | #include <netdb.h> |
|
|
7854 | int |
|
|
7855 | main () |
|
|
7856 | { |
|
|
7857 | struct addrinfo ai; ai.ai_family = AF_INET; return ai.ai_family; |
|
|
7858 | ; |
|
|
7859 | return 0; |
|
|
7860 | } |
|
|
7861 | _ACEOF |
|
|
7862 | rm -f conftest.$ac_objext |
|
|
7863 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
7864 | (eval $ac_compile) 2>conftest.er1 |
|
|
7865 | ac_status=$? |
|
|
7866 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7867 | rm -f conftest.er1 |
|
|
7868 | cat conftest.err >&5 |
|
|
7869 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7870 | (exit $ac_status); } && |
|
|
7871 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
7872 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7873 | (eval $ac_try) 2>&5 |
|
|
7874 | ac_status=$? |
|
|
7875 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7876 | (exit $ac_status); }; } && |
|
|
7877 | { ac_try='test -s conftest.$ac_objext' |
|
|
7878 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7879 | (eval $ac_try) 2>&5 |
|
|
7880 | ac_status=$? |
|
|
7881 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7882 | (exit $ac_status); }; }; then |
|
|
7883 | ac_cv_struct_addrinfo=yes |
|
|
7884 | else |
|
|
7885 | echo "$as_me: failed program was:" >&5 |
|
|
7886 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7887 | |
|
|
7888 | ac_cv_struct_addrinfo=no |
|
|
7889 | fi |
|
|
7890 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7891 | |
|
|
7892 | fi |
|
|
7893 | echo "$as_me:$LINENO: result: $ac_cv_struct_addrinfo" >&5 |
|
|
7894 | echo "${ECHO_T}$ac_cv_struct_addrinfo" >&6 |
|
|
7895 | if test $ac_cv_struct_addrinfo = yes; then |
|
|
7896 | |
|
|
7897 | cat >>confdefs.h <<\_ACEOF |
|
|
7898 | #define HAVE_STRUCT_ADDRINFO 1 |
|
|
7899 | _ACEOF |
|
|
7900 | |
|
|
7901 | fi |
|
|
7902 | |
|
|
7903 | echo "$as_me:$LINENO: checking return type of signal handlers" >&5 |
|
|
7904 | echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 |
|
|
7905 | if test "${ac_cv_type_signal+set}" = set; then |
|
|
7906 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7907 | else |
|
|
7908 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7909 | /* confdefs.h. */ |
|
|
7910 | _ACEOF |
|
|
7911 | cat confdefs.h >>conftest.$ac_ext |
|
|
7912 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7913 | /* end confdefs.h. */ |
|
|
7914 | #include <sys/types.h> |
|
|
7915 | #include <signal.h> |
|
|
7916 | #ifdef signal |
|
|
7917 | # undef signal |
|
|
7918 | #endif |
|
|
7919 | #ifdef __cplusplus |
|
|
7920 | extern "C" void (*signal (int, void (*)(int)))(int); |
|
|
7921 | #else |
|
|
7922 | void (*signal ()) (); |
|
|
7923 | #endif |
|
|
7924 | |
|
|
7925 | int |
|
|
7926 | main () |
|
|
7927 | { |
|
|
7928 | int i; |
|
|
7929 | ; |
|
|
7930 | return 0; |
|
|
7931 | } |
|
|
7932 | _ACEOF |
|
|
7933 | rm -f conftest.$ac_objext |
|
|
7934 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
7935 | (eval $ac_compile) 2>conftest.er1 |
|
|
7936 | ac_status=$? |
|
|
7937 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7938 | rm -f conftest.er1 |
|
|
7939 | cat conftest.err >&5 |
|
|
7940 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7941 | (exit $ac_status); } && |
|
|
7942 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
7943 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7944 | (eval $ac_try) 2>&5 |
|
|
7945 | ac_status=$? |
|
|
7946 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7947 | (exit $ac_status); }; } && |
|
|
7948 | { ac_try='test -s conftest.$ac_objext' |
|
|
7949 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7950 | (eval $ac_try) 2>&5 |
|
|
7951 | ac_status=$? |
|
|
7952 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7953 | (exit $ac_status); }; }; then |
|
|
7954 | ac_cv_type_signal=void |
|
|
7955 | else |
|
|
7956 | echo "$as_me: failed program was:" >&5 |
|
|
7957 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7958 | |
|
|
7959 | ac_cv_type_signal=int |
|
|
7960 | fi |
|
|
7961 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7962 | fi |
|
|
7963 | echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 |
|
|
7964 | echo "${ECHO_T}$ac_cv_type_signal" >&6 |
|
|
7965 | |
|
|
7966 | cat >>confdefs.h <<_ACEOF |
|
|
7967 | #define RETSIGTYPE $ac_cv_type_signal |
|
|
7968 | _ACEOF |
|
|
7969 | |
|
|
7970 | |
|
|
7971 | |
|
|
7972 | ac_ext=c |
|
|
7973 | ac_cpp='$CPP $CPPFLAGS' |
|
|
7974 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
7975 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
7976 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
7977 | |
|
|
7978 | |
|
|
7979 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
|
|
7980 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
|
|
7981 | if test "${ac_cv_header_stdc+set}" = set; then |
|
|
7982 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7983 | else |
|
|
7984 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7985 | /* confdefs.h. */ |
|
|
7986 | _ACEOF |
|
|
7987 | cat confdefs.h >>conftest.$ac_ext |
|
|
7988 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7989 | /* end confdefs.h. */ |
|
|
7990 | #include <stdlib.h> |
|
|
7991 | #include <stdarg.h> |
|
|
7992 | #include <string.h> |
|
|
7993 | #include <float.h> |
|
|
7994 | |
|
|
7995 | int |
|
|
7996 | main () |
|
|
7997 | { |
|
|
7998 | |
|
|
7999 | ; |
|
|
8000 | return 0; |
|
|
8001 | } |
|
|
8002 | _ACEOF |
|
|
8003 | rm -f conftest.$ac_objext |
|
|
8004 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
8005 | (eval $ac_compile) 2>conftest.er1 |
|
|
8006 | ac_status=$? |
|
|
8007 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8008 | rm -f conftest.er1 |
|
|
8009 | cat conftest.err >&5 |
|
|
8010 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8011 | (exit $ac_status); } && |
|
|
8012 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
8013 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8014 | (eval $ac_try) 2>&5 |
|
|
8015 | ac_status=$? |
|
|
8016 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8017 | (exit $ac_status); }; } && |
|
|
8018 | { ac_try='test -s conftest.$ac_objext' |
|
|
8019 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8020 | (eval $ac_try) 2>&5 |
|
|
8021 | ac_status=$? |
|
|
8022 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8023 | (exit $ac_status); }; }; then |
|
|
8024 | ac_cv_header_stdc=yes |
|
|
8025 | else |
|
|
8026 | echo "$as_me: failed program was:" >&5 |
|
|
8027 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8028 | |
|
|
8029 | ac_cv_header_stdc=no |
|
|
8030 | fi |
|
|
8031 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8032 | |
|
|
8033 | if test $ac_cv_header_stdc = yes; then |
|
|
8034 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
|
8035 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8036 | /* confdefs.h. */ |
|
|
8037 | _ACEOF |
|
|
8038 | cat confdefs.h >>conftest.$ac_ext |
|
|
8039 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8040 | /* end confdefs.h. */ |
|
|
8041 | #include <string.h> |
|
|
8042 | |
|
|
8043 | _ACEOF |
|
|
8044 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
8045 | $EGREP "memchr" >/dev/null 2>&1; then |
|
|
8046 | : |
|
|
8047 | else |
|
|
8048 | ac_cv_header_stdc=no |
|
|
8049 | fi |
|
|
8050 | rm -f conftest* |
|
|
8051 | |
|
|
8052 | fi |
|
|
8053 | |
|
|
8054 | if test $ac_cv_header_stdc = yes; then |
|
|
8055 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
|
8056 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8057 | /* confdefs.h. */ |
|
|
8058 | _ACEOF |
|
|
8059 | cat confdefs.h >>conftest.$ac_ext |
|
|
8060 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8061 | /* end confdefs.h. */ |
|
|
8062 | #include <stdlib.h> |
|
|
8063 | |
|
|
8064 | _ACEOF |
|
|
8065 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
8066 | $EGREP "free" >/dev/null 2>&1; then |
|
|
8067 | : |
|
|
8068 | else |
|
|
8069 | ac_cv_header_stdc=no |
|
|
8070 | fi |
|
|
8071 | rm -f conftest* |
|
|
8072 | |
|
|
8073 | fi |
|
|
8074 | |
|
|
8075 | if test $ac_cv_header_stdc = yes; then |
|
|
8076 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
|
8077 | if test "$cross_compiling" = yes; then |
|
|
8078 | : |
|
|
8079 | else |
|
|
8080 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8081 | /* confdefs.h. */ |
|
|
8082 | _ACEOF |
|
|
8083 | cat confdefs.h >>conftest.$ac_ext |
|
|
8084 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8085 | /* end confdefs.h. */ |
|
|
8086 | #include <ctype.h> |
|
|
8087 | #if ((' ' & 0x0FF) == 0x020) |
|
|
8088 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
|
8089 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
|
8090 | #else |
|
|
8091 | # define ISLOWER(c) \ |
|
|
8092 | (('a' <= (c) && (c) <= 'i') \ |
|
|
8093 | || ('j' <= (c) && (c) <= 'r') \ |
|
|
8094 | || ('s' <= (c) && (c) <= 'z')) |
|
|
8095 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
|
8096 | #endif |
|
|
8097 | |
|
|
8098 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
|
8099 | int |
|
|
8100 | main () |
|
|
8101 | { |
|
|
8102 | int i; |
|
|
8103 | for (i = 0; i < 256; i++) |
|
|
8104 | if (XOR (islower (i), ISLOWER (i)) |
|
|
8105 | || toupper (i) != TOUPPER (i)) |
|
|
8106 | exit(2); |
|
|
8107 | exit (0); |
|
|
8108 | } |
|
|
8109 | _ACEOF |
|
|
8110 | rm -f conftest$ac_exeext |
|
|
8111 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
8112 | (eval $ac_link) 2>&5 |
|
|
8113 | ac_status=$? |
|
|
8114 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8115 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
8116 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8117 | (eval $ac_try) 2>&5 |
|
|
8118 | ac_status=$? |
|
|
8119 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8120 | (exit $ac_status); }; }; then |
|
|
8121 | : |
|
|
8122 | else |
|
|
8123 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
8124 | echo "$as_me: failed program was:" >&5 |
|
|
8125 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8126 | |
|
|
8127 | ( exit $ac_status ) |
|
|
8128 | ac_cv_header_stdc=no |
|
|
8129 | fi |
|
|
8130 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
8131 | fi |
|
|
8132 | fi |
|
|
8133 | fi |
|
|
8134 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
|
|
8135 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
|
|
8136 | if test $ac_cv_header_stdc = yes; then |
|
|
8137 | |
|
|
8138 | cat >>confdefs.h <<\_ACEOF |
|
|
8139 | #define STDC_HEADERS 1 |
|
|
8140 | _ACEOF |
|
|
8141 | |
|
|
8142 | fi |
|
|
8143 | |
|
|
8144 | |
|
|
8145 | |
|
|
8146 | |
|
|
8147 | |
|
|
8148 | |
|
|
8149 | |
|
|
8150 | |
|
|
8151 | |
|
|
8152 | |
|
|
8153 | |
|
|
8154 | |
|
|
8155 | for ac_func in asprintf daemon get_current_dir_name putenv select strerror strsignal strtol unsetenv mlockall |
7525 | do |
8156 | do |
7526 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8157 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
7527 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
8158 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
7528 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
8159 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
7529 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
8160 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
7530 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8161 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7531 | else |
8162 | else |
7532 | cat >conftest.$ac_ext <<_ACEOF |
8163 | cat >conftest.$ac_ext <<_ACEOF |
7533 | #line $LINENO "configure" |
|
|
7534 | /* confdefs.h. */ |
8164 | /* confdefs.h. */ |
7535 | _ACEOF |
8165 | _ACEOF |
7536 | cat confdefs.h >>conftest.$ac_ext |
8166 | cat confdefs.h >>conftest.$ac_ext |
7537 | cat >>conftest.$ac_ext <<_ACEOF |
8167 | cat >>conftest.$ac_ext <<_ACEOF |
7538 | /* end confdefs.h. */ |
8168 | /* end confdefs.h. */ |
|
|
8169 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
8170 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
8171 | #define $ac_func innocuous_$ac_func |
|
|
8172 | |
7539 | /* System header to define __stub macros and hopefully few prototypes, |
8173 | /* System header to define __stub macros and hopefully few prototypes, |
7540 | which can conflict with char $ac_func (); below. |
8174 | which can conflict with char $ac_func (); below. |
7541 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8175 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
7542 | <limits.h> exists even on freestanding compilers. */ |
8176 | <limits.h> exists even on freestanding compilers. */ |
|
|
8177 | |
7543 | #ifdef __STDC__ |
8178 | #ifdef __STDC__ |
7544 | # include <limits.h> |
8179 | # include <limits.h> |
7545 | #else |
8180 | #else |
7546 | # include <assert.h> |
8181 | # include <assert.h> |
7547 | #endif |
8182 | #endif |
|
|
8183 | |
|
|
8184 | #undef $ac_func |
|
|
8185 | |
7548 | /* Override any gcc2 internal prototype to avoid an error. */ |
8186 | /* Override any gcc2 internal prototype to avoid an error. */ |
7549 | #ifdef __cplusplus |
8187 | #ifdef __cplusplus |
7550 | extern "C" |
8188 | extern "C" |
7551 | { |
8189 | { |
7552 | #endif |
8190 | #endif |
… | |
… | |
7573 | return 0; |
8211 | return 0; |
7574 | } |
8212 | } |
7575 | _ACEOF |
8213 | _ACEOF |
7576 | rm -f conftest.$ac_objext conftest$ac_exeext |
8214 | rm -f conftest.$ac_objext conftest$ac_exeext |
7577 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8215 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7578 | (eval $ac_link) 2>&5 |
8216 | (eval $ac_link) 2>conftest.er1 |
7579 | ac_status=$? |
8217 | ac_status=$? |
|
|
8218 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8219 | rm -f conftest.er1 |
|
|
8220 | cat conftest.err >&5 |
7580 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8221 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7581 | (exit $ac_status); } && |
8222 | (exit $ac_status); } && |
7582 | { ac_try='test -s conftest$ac_exeext' |
8223 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
7583 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8224 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7584 | (eval $ac_try) 2>&5 |
8225 | (eval $ac_try) 2>&5 |
7585 | ac_status=$? |
8226 | ac_status=$? |
7586 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8227 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8228 | (exit $ac_status); }; } && |
|
|
8229 | { ac_try='test -s conftest$ac_exeext' |
|
|
8230 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8231 | (eval $ac_try) 2>&5 |
|
|
8232 | ac_status=$? |
|
|
8233 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7587 | (exit $ac_status); }; }; then |
8234 | (exit $ac_status); }; }; then |
7588 | eval "$as_ac_var=yes" |
8235 | eval "$as_ac_var=yes" |
7589 | else |
8236 | else |
7590 | echo "$as_me: failed program was:" >&5 |
8237 | echo "$as_me: failed program was:" >&5 |
7591 | sed 's/^/| /' conftest.$ac_ext >&5 |
8238 | sed 's/^/| /' conftest.$ac_ext >&5 |
7592 | |
8239 | |
7593 | eval "$as_ac_var=no" |
8240 | eval "$as_ac_var=no" |
7594 | fi |
8241 | fi |
7595 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
|
7596 | fi |
|
|
7597 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
|
|
7598 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
|
|
7599 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
7600 | cat >>confdefs.h <<_ACEOF |
|
|
7601 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
7602 | _ACEOF |
|
|
7603 | |
|
|
7604 | fi |
|
|
7605 | done |
|
|
7606 | |
|
|
7607 | |
|
|
7608 | echo "$as_me:$LINENO: checking for socklen_t" >&5 |
|
|
7609 | echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6 |
|
|
7610 | if test "${ac_cv_type_socklen_t+set}" = set; then |
|
|
7611 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7612 | else |
|
|
7613 | |
|
|
7614 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7615 | #line $LINENO "configure" |
|
|
7616 | /* confdefs.h. */ |
|
|
7617 | _ACEOF |
|
|
7618 | cat confdefs.h >>conftest.$ac_ext |
|
|
7619 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7620 | /* end confdefs.h. */ |
|
|
7621 | #include <sys/types.h> |
|
|
7622 | #include <sys/socket.h> |
|
|
7623 | int |
|
|
7624 | main () |
|
|
7625 | { |
|
|
7626 | socklen_t len = 42; return len; |
|
|
7627 | ; |
|
|
7628 | return 0; |
|
|
7629 | } |
|
|
7630 | _ACEOF |
|
|
7631 | rm -f conftest.$ac_objext |
8242 | rm -f conftest.err conftest.$ac_objext \ |
7632 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
7633 | (eval $ac_compile) 2>&5 |
|
|
7634 | ac_status=$? |
|
|
7635 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7636 | (exit $ac_status); } && |
|
|
7637 | { ac_try='test -s conftest.$ac_objext' |
|
|
7638 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7639 | (eval $ac_try) 2>&5 |
|
|
7640 | ac_status=$? |
|
|
7641 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7642 | (exit $ac_status); }; }; then |
|
|
7643 | ac_cv_type_socklen_t=yes |
|
|
7644 | else |
|
|
7645 | echo "$as_me: failed program was:" >&5 |
|
|
7646 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7647 | |
|
|
7648 | ac_cv_type_socklen_t=no |
|
|
7649 | fi |
|
|
7650 | rm -f conftest.$ac_objext conftest.$ac_ext |
8243 | conftest$ac_exeext conftest.$ac_ext |
7651 | |
|
|
7652 | fi |
|
|
7653 | echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 |
|
|
7654 | echo "${ECHO_T}$ac_cv_type_socklen_t" >&6 |
|
|
7655 | if test $ac_cv_type_socklen_t = yes; then |
|
|
7656 | |
|
|
7657 | cat >>confdefs.h <<\_ACEOF |
|
|
7658 | #define HAVE_SOCKLEN_T 1 |
|
|
7659 | _ACEOF |
|
|
7660 | |
|
|
7661 | fi |
|
|
7662 | |
|
|
7663 | echo "$as_me:$LINENO: checking for struct addrinfo" >&5 |
|
|
7664 | echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6 |
|
|
7665 | if test "${ac_cv_struct_addrinfo+set}" = set; then |
|
|
7666 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7667 | else |
|
|
7668 | |
|
|
7669 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7670 | #line $LINENO "configure" |
|
|
7671 | /* confdefs.h. */ |
|
|
7672 | _ACEOF |
|
|
7673 | cat confdefs.h >>conftest.$ac_ext |
|
|
7674 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7675 | /* end confdefs.h. */ |
|
|
7676 | #include <sys/types.h> |
|
|
7677 | #include <sys/socket.h> |
|
|
7678 | #include <netdb.h> |
|
|
7679 | int |
|
|
7680 | main () |
|
|
7681 | { |
|
|
7682 | struct addrinfo ai; ai.ai_family = AF_INET; return ai.ai_family; |
|
|
7683 | ; |
|
|
7684 | return 0; |
|
|
7685 | } |
|
|
7686 | _ACEOF |
|
|
7687 | rm -f conftest.$ac_objext |
|
|
7688 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
7689 | (eval $ac_compile) 2>&5 |
|
|
7690 | ac_status=$? |
|
|
7691 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7692 | (exit $ac_status); } && |
|
|
7693 | { ac_try='test -s conftest.$ac_objext' |
|
|
7694 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7695 | (eval $ac_try) 2>&5 |
|
|
7696 | ac_status=$? |
|
|
7697 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7698 | (exit $ac_status); }; }; then |
|
|
7699 | ac_cv_struct_addrinfo=yes |
|
|
7700 | else |
|
|
7701 | echo "$as_me: failed program was:" >&5 |
|
|
7702 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7703 | |
|
|
7704 | ac_cv_struct_addrinfo=no |
|
|
7705 | fi |
|
|
7706 | rm -f conftest.$ac_objext conftest.$ac_ext |
|
|
7707 | |
|
|
7708 | fi |
|
|
7709 | echo "$as_me:$LINENO: result: $ac_cv_struct_addrinfo" >&5 |
|
|
7710 | echo "${ECHO_T}$ac_cv_struct_addrinfo" >&6 |
|
|
7711 | if test $ac_cv_struct_addrinfo = yes; then |
|
|
7712 | |
|
|
7713 | cat >>confdefs.h <<\_ACEOF |
|
|
7714 | #define HAVE_STRUCT_ADDRINFO 1 |
|
|
7715 | _ACEOF |
|
|
7716 | |
|
|
7717 | fi |
|
|
7718 | |
|
|
7719 | echo "$as_me:$LINENO: checking return type of signal handlers" >&5 |
|
|
7720 | echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 |
|
|
7721 | if test "${ac_cv_type_signal+set}" = set; then |
|
|
7722 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7723 | else |
|
|
7724 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7725 | #line $LINENO "configure" |
|
|
7726 | /* confdefs.h. */ |
|
|
7727 | _ACEOF |
|
|
7728 | cat confdefs.h >>conftest.$ac_ext |
|
|
7729 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7730 | /* end confdefs.h. */ |
|
|
7731 | #include <sys/types.h> |
|
|
7732 | #include <signal.h> |
|
|
7733 | #ifdef signal |
|
|
7734 | # undef signal |
|
|
7735 | #endif |
|
|
7736 | #ifdef __cplusplus |
|
|
7737 | extern "C" void (*signal (int, void (*)(int)))(int); |
|
|
7738 | #else |
|
|
7739 | void (*signal ()) (); |
|
|
7740 | #endif |
|
|
7741 | |
|
|
7742 | int |
|
|
7743 | main () |
|
|
7744 | { |
|
|
7745 | int i; |
|
|
7746 | ; |
|
|
7747 | return 0; |
|
|
7748 | } |
|
|
7749 | _ACEOF |
|
|
7750 | rm -f conftest.$ac_objext |
|
|
7751 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
7752 | (eval $ac_compile) 2>&5 |
|
|
7753 | ac_status=$? |
|
|
7754 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7755 | (exit $ac_status); } && |
|
|
7756 | { ac_try='test -s conftest.$ac_objext' |
|
|
7757 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7758 | (eval $ac_try) 2>&5 |
|
|
7759 | ac_status=$? |
|
|
7760 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7761 | (exit $ac_status); }; }; then |
|
|
7762 | ac_cv_type_signal=void |
|
|
7763 | else |
|
|
7764 | echo "$as_me: failed program was:" >&5 |
|
|
7765 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7766 | |
|
|
7767 | ac_cv_type_signal=int |
|
|
7768 | fi |
|
|
7769 | rm -f conftest.$ac_objext conftest.$ac_ext |
|
|
7770 | fi |
|
|
7771 | echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 |
|
|
7772 | echo "${ECHO_T}$ac_cv_type_signal" >&6 |
|
|
7773 | |
|
|
7774 | cat >>confdefs.h <<_ACEOF |
|
|
7775 | #define RETSIGTYPE $ac_cv_type_signal |
|
|
7776 | _ACEOF |
|
|
7777 | |
|
|
7778 | |
|
|
7779 | |
|
|
7780 | ac_ext=c |
|
|
7781 | ac_cpp='$CPP $CPPFLAGS' |
|
|
7782 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
7783 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
7784 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
7785 | |
|
|
7786 | |
|
|
7787 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
|
|
7788 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
|
|
7789 | if test "${ac_cv_header_stdc+set}" = set; then |
|
|
7790 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7791 | else |
|
|
7792 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7793 | #line $LINENO "configure" |
|
|
7794 | /* confdefs.h. */ |
|
|
7795 | _ACEOF |
|
|
7796 | cat confdefs.h >>conftest.$ac_ext |
|
|
7797 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7798 | /* end confdefs.h. */ |
|
|
7799 | #include <stdlib.h> |
|
|
7800 | #include <stdarg.h> |
|
|
7801 | #include <string.h> |
|
|
7802 | #include <float.h> |
|
|
7803 | |
|
|
7804 | int |
|
|
7805 | main () |
|
|
7806 | { |
|
|
7807 | |
|
|
7808 | ; |
|
|
7809 | return 0; |
|
|
7810 | } |
|
|
7811 | _ACEOF |
|
|
7812 | rm -f conftest.$ac_objext |
|
|
7813 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
7814 | (eval $ac_compile) 2>&5 |
|
|
7815 | ac_status=$? |
|
|
7816 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7817 | (exit $ac_status); } && |
|
|
7818 | { ac_try='test -s conftest.$ac_objext' |
|
|
7819 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7820 | (eval $ac_try) 2>&5 |
|
|
7821 | ac_status=$? |
|
|
7822 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7823 | (exit $ac_status); }; }; then |
|
|
7824 | ac_cv_header_stdc=yes |
|
|
7825 | else |
|
|
7826 | echo "$as_me: failed program was:" >&5 |
|
|
7827 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7828 | |
|
|
7829 | ac_cv_header_stdc=no |
|
|
7830 | fi |
|
|
7831 | rm -f conftest.$ac_objext conftest.$ac_ext |
|
|
7832 | |
|
|
7833 | if test $ac_cv_header_stdc = yes; then |
|
|
7834 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
|
7835 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7836 | #line $LINENO "configure" |
|
|
7837 | /* confdefs.h. */ |
|
|
7838 | _ACEOF |
|
|
7839 | cat confdefs.h >>conftest.$ac_ext |
|
|
7840 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7841 | /* end confdefs.h. */ |
|
|
7842 | #include <string.h> |
|
|
7843 | |
|
|
7844 | _ACEOF |
|
|
7845 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
7846 | $EGREP "memchr" >/dev/null 2>&1; then |
|
|
7847 | : |
|
|
7848 | else |
|
|
7849 | ac_cv_header_stdc=no |
|
|
7850 | fi |
|
|
7851 | rm -f conftest* |
|
|
7852 | |
|
|
7853 | fi |
|
|
7854 | |
|
|
7855 | if test $ac_cv_header_stdc = yes; then |
|
|
7856 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
|
7857 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7858 | #line $LINENO "configure" |
|
|
7859 | /* confdefs.h. */ |
|
|
7860 | _ACEOF |
|
|
7861 | cat confdefs.h >>conftest.$ac_ext |
|
|
7862 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7863 | /* end confdefs.h. */ |
|
|
7864 | #include <stdlib.h> |
|
|
7865 | |
|
|
7866 | _ACEOF |
|
|
7867 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
7868 | $EGREP "free" >/dev/null 2>&1; then |
|
|
7869 | : |
|
|
7870 | else |
|
|
7871 | ac_cv_header_stdc=no |
|
|
7872 | fi |
|
|
7873 | rm -f conftest* |
|
|
7874 | |
|
|
7875 | fi |
|
|
7876 | |
|
|
7877 | if test $ac_cv_header_stdc = yes; then |
|
|
7878 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
|
7879 | if test "$cross_compiling" = yes; then |
|
|
7880 | : |
|
|
7881 | else |
|
|
7882 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7883 | #line $LINENO "configure" |
|
|
7884 | /* confdefs.h. */ |
|
|
7885 | _ACEOF |
|
|
7886 | cat confdefs.h >>conftest.$ac_ext |
|
|
7887 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7888 | /* end confdefs.h. */ |
|
|
7889 | #include <ctype.h> |
|
|
7890 | #if ((' ' & 0x0FF) == 0x020) |
|
|
7891 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
|
7892 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
|
7893 | #else |
|
|
7894 | # define ISLOWER(c) \ |
|
|
7895 | (('a' <= (c) && (c) <= 'i') \ |
|
|
7896 | || ('j' <= (c) && (c) <= 'r') \ |
|
|
7897 | || ('s' <= (c) && (c) <= 'z')) |
|
|
7898 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
|
7899 | #endif |
|
|
7900 | |
|
|
7901 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
|
7902 | int |
|
|
7903 | main () |
|
|
7904 | { |
|
|
7905 | int i; |
|
|
7906 | for (i = 0; i < 256; i++) |
|
|
7907 | if (XOR (islower (i), ISLOWER (i)) |
|
|
7908 | || toupper (i) != TOUPPER (i)) |
|
|
7909 | exit(2); |
|
|
7910 | exit (0); |
|
|
7911 | } |
|
|
7912 | _ACEOF |
|
|
7913 | rm -f conftest$ac_exeext |
|
|
7914 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
7915 | (eval $ac_link) 2>&5 |
|
|
7916 | ac_status=$? |
|
|
7917 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7918 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
7919 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7920 | (eval $ac_try) 2>&5 |
|
|
7921 | ac_status=$? |
|
|
7922 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7923 | (exit $ac_status); }; }; then |
|
|
7924 | : |
|
|
7925 | else |
|
|
7926 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
7927 | echo "$as_me: failed program was:" >&5 |
|
|
7928 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7929 | |
|
|
7930 | ( exit $ac_status ) |
|
|
7931 | ac_cv_header_stdc=no |
|
|
7932 | fi |
|
|
7933 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
7934 | fi |
|
|
7935 | fi |
|
|
7936 | fi |
|
|
7937 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
|
|
7938 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
|
|
7939 | if test $ac_cv_header_stdc = yes; then |
|
|
7940 | |
|
|
7941 | cat >>confdefs.h <<\_ACEOF |
|
|
7942 | #define STDC_HEADERS 1 |
|
|
7943 | _ACEOF |
|
|
7944 | |
|
|
7945 | fi |
|
|
7946 | |
|
|
7947 | |
|
|
7948 | |
|
|
7949 | |
|
|
7950 | |
|
|
7951 | |
|
|
7952 | |
|
|
7953 | |
|
|
7954 | |
|
|
7955 | |
|
|
7956 | |
|
|
7957 | |
|
|
7958 | for ac_func in asprintf daemon get_current_dir_name putenv select strerror strsignal strtol unsetenv mlockall |
|
|
7959 | do |
|
|
7960 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
7961 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
7962 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
|
|
7963 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
7964 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7965 | else |
|
|
7966 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7967 | #line $LINENO "configure" |
|
|
7968 | /* confdefs.h. */ |
|
|
7969 | _ACEOF |
|
|
7970 | cat confdefs.h >>conftest.$ac_ext |
|
|
7971 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7972 | /* end confdefs.h. */ |
|
|
7973 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
7974 | which can conflict with char $ac_func (); below. |
|
|
7975 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
7976 | <limits.h> exists even on freestanding compilers. */ |
|
|
7977 | #ifdef __STDC__ |
|
|
7978 | # include <limits.h> |
|
|
7979 | #else |
|
|
7980 | # include <assert.h> |
|
|
7981 | #endif |
|
|
7982 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
7983 | #ifdef __cplusplus |
|
|
7984 | extern "C" |
|
|
7985 | { |
|
|
7986 | #endif |
|
|
7987 | /* We use char because int might match the return type of a gcc2 |
|
|
7988 | builtin and then its argument prototype would still apply. */ |
|
|
7989 | char $ac_func (); |
|
|
7990 | /* The GNU C library defines this for functions which it implements |
|
|
7991 | to always fail with ENOSYS. Some functions are actually named |
|
|
7992 | something starting with __ and the normal name is an alias. */ |
|
|
7993 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
|
|
7994 | choke me |
|
|
7995 | #else |
|
|
7996 | char (*f) () = $ac_func; |
|
|
7997 | #endif |
|
|
7998 | #ifdef __cplusplus |
|
|
7999 | } |
|
|
8000 | #endif |
|
|
8001 | |
|
|
8002 | int |
|
|
8003 | main () |
|
|
8004 | { |
|
|
8005 | return f != $ac_func; |
|
|
8006 | ; |
|
|
8007 | return 0; |
|
|
8008 | } |
|
|
8009 | _ACEOF |
|
|
8010 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
8011 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
8012 | (eval $ac_link) 2>&5 |
|
|
8013 | ac_status=$? |
|
|
8014 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8015 | (exit $ac_status); } && |
|
|
8016 | { ac_try='test -s conftest$ac_exeext' |
|
|
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 | eval "$as_ac_var=yes" |
|
|
8023 | else |
|
|
8024 | echo "$as_me: failed program was:" >&5 |
|
|
8025 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8026 | |
|
|
8027 | eval "$as_ac_var=no" |
|
|
8028 | fi |
|
|
8029 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
|
8030 | fi |
8244 | fi |
8031 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
8245 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
8032 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
8246 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
8033 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
8247 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
8034 | cat >>confdefs.h <<_ACEOF |
8248 | cat >>confdefs.h <<_ACEOF |
… | |
… | |
8045 | echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 |
8259 | echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 |
8046 | if test "${ac_cv_working_alloca_h+set}" = set; then |
8260 | if test "${ac_cv_working_alloca_h+set}" = set; then |
8047 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8261 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8048 | else |
8262 | else |
8049 | cat >conftest.$ac_ext <<_ACEOF |
8263 | cat >conftest.$ac_ext <<_ACEOF |
8050 | #line $LINENO "configure" |
|
|
8051 | /* confdefs.h. */ |
8264 | /* confdefs.h. */ |
8052 | _ACEOF |
8265 | _ACEOF |
8053 | cat confdefs.h >>conftest.$ac_ext |
8266 | cat confdefs.h >>conftest.$ac_ext |
8054 | cat >>conftest.$ac_ext <<_ACEOF |
8267 | cat >>conftest.$ac_ext <<_ACEOF |
8055 | /* end confdefs.h. */ |
8268 | /* end confdefs.h. */ |
… | |
… | |
8062 | return 0; |
8275 | return 0; |
8063 | } |
8276 | } |
8064 | _ACEOF |
8277 | _ACEOF |
8065 | rm -f conftest.$ac_objext conftest$ac_exeext |
8278 | rm -f conftest.$ac_objext conftest$ac_exeext |
8066 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8279 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8067 | (eval $ac_link) 2>&5 |
8280 | (eval $ac_link) 2>conftest.er1 |
8068 | ac_status=$? |
8281 | ac_status=$? |
|
|
8282 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8283 | rm -f conftest.er1 |
|
|
8284 | cat conftest.err >&5 |
8069 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8285 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8070 | (exit $ac_status); } && |
8286 | (exit $ac_status); } && |
8071 | { ac_try='test -s conftest$ac_exeext' |
8287 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8072 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8288 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8073 | (eval $ac_try) 2>&5 |
8289 | (eval $ac_try) 2>&5 |
8074 | ac_status=$? |
8290 | ac_status=$? |
8075 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8291 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8292 | (exit $ac_status); }; } && |
|
|
8293 | { ac_try='test -s conftest$ac_exeext' |
|
|
8294 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8295 | (eval $ac_try) 2>&5 |
|
|
8296 | ac_status=$? |
|
|
8297 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8076 | (exit $ac_status); }; }; then |
8298 | (exit $ac_status); }; }; then |
8077 | ac_cv_working_alloca_h=yes |
8299 | ac_cv_working_alloca_h=yes |
8078 | else |
8300 | else |
8079 | echo "$as_me: failed program was:" >&5 |
8301 | echo "$as_me: failed program was:" >&5 |
8080 | sed 's/^/| /' conftest.$ac_ext >&5 |
8302 | sed 's/^/| /' conftest.$ac_ext >&5 |
8081 | |
8303 | |
8082 | ac_cv_working_alloca_h=no |
8304 | ac_cv_working_alloca_h=no |
8083 | fi |
8305 | fi |
8084 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8306 | rm -f conftest.err conftest.$ac_objext \ |
|
|
8307 | conftest$ac_exeext conftest.$ac_ext |
8085 | fi |
8308 | fi |
8086 | echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 |
8309 | echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 |
8087 | echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 |
8310 | echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 |
8088 | if test $ac_cv_working_alloca_h = yes; then |
8311 | if test $ac_cv_working_alloca_h = yes; then |
8089 | |
8312 | |
… | |
… | |
8097 | echo $ECHO_N "checking for alloca... $ECHO_C" >&6 |
8320 | echo $ECHO_N "checking for alloca... $ECHO_C" >&6 |
8098 | if test "${ac_cv_func_alloca_works+set}" = set; then |
8321 | if test "${ac_cv_func_alloca_works+set}" = set; then |
8099 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8322 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8100 | else |
8323 | else |
8101 | cat >conftest.$ac_ext <<_ACEOF |
8324 | cat >conftest.$ac_ext <<_ACEOF |
8102 | #line $LINENO "configure" |
|
|
8103 | /* confdefs.h. */ |
8325 | /* confdefs.h. */ |
8104 | _ACEOF |
8326 | _ACEOF |
8105 | cat confdefs.h >>conftest.$ac_ext |
8327 | cat confdefs.h >>conftest.$ac_ext |
8106 | cat >>conftest.$ac_ext <<_ACEOF |
8328 | cat >>conftest.$ac_ext <<_ACEOF |
8107 | /* end confdefs.h. */ |
8329 | /* end confdefs.h. */ |
… | |
… | |
8134 | return 0; |
8356 | return 0; |
8135 | } |
8357 | } |
8136 | _ACEOF |
8358 | _ACEOF |
8137 | rm -f conftest.$ac_objext conftest$ac_exeext |
8359 | rm -f conftest.$ac_objext conftest$ac_exeext |
8138 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8360 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8139 | (eval $ac_link) 2>&5 |
8361 | (eval $ac_link) 2>conftest.er1 |
8140 | ac_status=$? |
8362 | ac_status=$? |
|
|
8363 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8364 | rm -f conftest.er1 |
|
|
8365 | cat conftest.err >&5 |
8141 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8366 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8142 | (exit $ac_status); } && |
8367 | (exit $ac_status); } && |
8143 | { ac_try='test -s conftest$ac_exeext' |
8368 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8144 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8369 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8145 | (eval $ac_try) 2>&5 |
8370 | (eval $ac_try) 2>&5 |
8146 | ac_status=$? |
8371 | ac_status=$? |
8147 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8372 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8373 | (exit $ac_status); }; } && |
|
|
8374 | { ac_try='test -s conftest$ac_exeext' |
|
|
8375 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8376 | (eval $ac_try) 2>&5 |
|
|
8377 | ac_status=$? |
|
|
8378 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8148 | (exit $ac_status); }; }; then |
8379 | (exit $ac_status); }; }; then |
8149 | ac_cv_func_alloca_works=yes |
8380 | ac_cv_func_alloca_works=yes |
8150 | else |
8381 | else |
8151 | echo "$as_me: failed program was:" >&5 |
8382 | echo "$as_me: failed program was:" >&5 |
8152 | sed 's/^/| /' conftest.$ac_ext >&5 |
8383 | sed 's/^/| /' conftest.$ac_ext >&5 |
8153 | |
8384 | |
8154 | ac_cv_func_alloca_works=no |
8385 | ac_cv_func_alloca_works=no |
8155 | fi |
8386 | fi |
8156 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8387 | rm -f conftest.err conftest.$ac_objext \ |
|
|
8388 | conftest$ac_exeext conftest.$ac_ext |
8157 | fi |
8389 | fi |
8158 | echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 |
8390 | echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 |
8159 | echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 |
8391 | echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 |
8160 | |
8392 | |
8161 | if test $ac_cv_func_alloca_works = yes; then |
8393 | if test $ac_cv_func_alloca_works = yes; then |
… | |
… | |
8181 | echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 |
8413 | echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 |
8182 | if test "${ac_cv_os_cray+set}" = set; then |
8414 | if test "${ac_cv_os_cray+set}" = set; then |
8183 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8415 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8184 | else |
8416 | else |
8185 | cat >conftest.$ac_ext <<_ACEOF |
8417 | cat >conftest.$ac_ext <<_ACEOF |
8186 | #line $LINENO "configure" |
|
|
8187 | /* confdefs.h. */ |
8418 | /* confdefs.h. */ |
8188 | _ACEOF |
8419 | _ACEOF |
8189 | cat confdefs.h >>conftest.$ac_ext |
8420 | cat confdefs.h >>conftest.$ac_ext |
8190 | cat >>conftest.$ac_ext <<_ACEOF |
8421 | cat >>conftest.$ac_ext <<_ACEOF |
8191 | /* end confdefs.h. */ |
8422 | /* end confdefs.h. */ |
… | |
… | |
8214 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
8445 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
8215 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
8446 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
8216 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8447 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8217 | else |
8448 | else |
8218 | cat >conftest.$ac_ext <<_ACEOF |
8449 | cat >conftest.$ac_ext <<_ACEOF |
8219 | #line $LINENO "configure" |
|
|
8220 | /* confdefs.h. */ |
8450 | /* confdefs.h. */ |
8221 | _ACEOF |
8451 | _ACEOF |
8222 | cat confdefs.h >>conftest.$ac_ext |
8452 | cat confdefs.h >>conftest.$ac_ext |
8223 | cat >>conftest.$ac_ext <<_ACEOF |
8453 | cat >>conftest.$ac_ext <<_ACEOF |
8224 | /* end confdefs.h. */ |
8454 | /* end confdefs.h. */ |
|
|
8455 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
8456 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
8457 | #define $ac_func innocuous_$ac_func |
|
|
8458 | |
8225 | /* System header to define __stub macros and hopefully few prototypes, |
8459 | /* System header to define __stub macros and hopefully few prototypes, |
8226 | which can conflict with char $ac_func (); below. |
8460 | which can conflict with char $ac_func (); below. |
8227 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8461 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8228 | <limits.h> exists even on freestanding compilers. */ |
8462 | <limits.h> exists even on freestanding compilers. */ |
|
|
8463 | |
8229 | #ifdef __STDC__ |
8464 | #ifdef __STDC__ |
8230 | # include <limits.h> |
8465 | # include <limits.h> |
8231 | #else |
8466 | #else |
8232 | # include <assert.h> |
8467 | # include <assert.h> |
8233 | #endif |
8468 | #endif |
|
|
8469 | |
|
|
8470 | #undef $ac_func |
|
|
8471 | |
8234 | /* Override any gcc2 internal prototype to avoid an error. */ |
8472 | /* Override any gcc2 internal prototype to avoid an error. */ |
8235 | #ifdef __cplusplus |
8473 | #ifdef __cplusplus |
8236 | extern "C" |
8474 | extern "C" |
8237 | { |
8475 | { |
8238 | #endif |
8476 | #endif |
… | |
… | |
8259 | return 0; |
8497 | return 0; |
8260 | } |
8498 | } |
8261 | _ACEOF |
8499 | _ACEOF |
8262 | rm -f conftest.$ac_objext conftest$ac_exeext |
8500 | rm -f conftest.$ac_objext conftest$ac_exeext |
8263 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8501 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8264 | (eval $ac_link) 2>&5 |
8502 | (eval $ac_link) 2>conftest.er1 |
8265 | ac_status=$? |
8503 | ac_status=$? |
|
|
8504 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8505 | rm -f conftest.er1 |
|
|
8506 | cat conftest.err >&5 |
8266 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8507 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8267 | (exit $ac_status); } && |
8508 | (exit $ac_status); } && |
8268 | { ac_try='test -s conftest$ac_exeext' |
8509 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8269 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8510 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8270 | (eval $ac_try) 2>&5 |
8511 | (eval $ac_try) 2>&5 |
8271 | ac_status=$? |
8512 | ac_status=$? |
8272 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8513 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8514 | (exit $ac_status); }; } && |
|
|
8515 | { ac_try='test -s conftest$ac_exeext' |
|
|
8516 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8517 | (eval $ac_try) 2>&5 |
|
|
8518 | ac_status=$? |
|
|
8519 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8273 | (exit $ac_status); }; }; then |
8520 | (exit $ac_status); }; }; then |
8274 | eval "$as_ac_var=yes" |
8521 | eval "$as_ac_var=yes" |
8275 | else |
8522 | else |
8276 | echo "$as_me: failed program was:" >&5 |
8523 | echo "$as_me: failed program was:" >&5 |
8277 | sed 's/^/| /' conftest.$ac_ext >&5 |
8524 | sed 's/^/| /' conftest.$ac_ext >&5 |
8278 | |
8525 | |
8279 | eval "$as_ac_var=no" |
8526 | eval "$as_ac_var=no" |
8280 | fi |
8527 | fi |
8281 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8528 | rm -f conftest.err conftest.$ac_objext \ |
|
|
8529 | conftest$ac_exeext conftest.$ac_ext |
8282 | fi |
8530 | fi |
8283 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
8531 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
8284 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
8532 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
8285 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
8533 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
8286 | |
8534 | |
… | |
… | |
8301 | else |
8549 | else |
8302 | if test "$cross_compiling" = yes; then |
8550 | if test "$cross_compiling" = yes; then |
8303 | ac_cv_c_stack_direction=0 |
8551 | ac_cv_c_stack_direction=0 |
8304 | else |
8552 | else |
8305 | cat >conftest.$ac_ext <<_ACEOF |
8553 | cat >conftest.$ac_ext <<_ACEOF |
8306 | #line $LINENO "configure" |
|
|
8307 | /* confdefs.h. */ |
8554 | /* confdefs.h. */ |
8308 | _ACEOF |
8555 | _ACEOF |
8309 | cat confdefs.h >>conftest.$ac_ext |
8556 | cat confdefs.h >>conftest.$ac_ext |
8310 | cat >>conftest.$ac_ext <<_ACEOF |
8557 | cat >>conftest.$ac_ext <<_ACEOF |
8311 | /* end confdefs.h. */ |
8558 | /* end confdefs.h. */ |
… | |
… | |
8368 | echo $ECHO_N "checking for socket... $ECHO_C" >&6 |
8615 | echo $ECHO_N "checking for socket... $ECHO_C" >&6 |
8369 | if test "${ac_cv_func_socket+set}" = set; then |
8616 | if test "${ac_cv_func_socket+set}" = set; then |
8370 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8617 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8371 | else |
8618 | else |
8372 | cat >conftest.$ac_ext <<_ACEOF |
8619 | cat >conftest.$ac_ext <<_ACEOF |
8373 | #line $LINENO "configure" |
|
|
8374 | /* confdefs.h. */ |
8620 | /* confdefs.h. */ |
8375 | _ACEOF |
8621 | _ACEOF |
8376 | cat confdefs.h >>conftest.$ac_ext |
8622 | cat confdefs.h >>conftest.$ac_ext |
8377 | cat >>conftest.$ac_ext <<_ACEOF |
8623 | cat >>conftest.$ac_ext <<_ACEOF |
8378 | /* end confdefs.h. */ |
8624 | /* end confdefs.h. */ |
|
|
8625 | /* Define socket to an innocuous variant, in case <limits.h> declares socket. |
|
|
8626 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
8627 | #define socket innocuous_socket |
|
|
8628 | |
8379 | /* System header to define __stub macros and hopefully few prototypes, |
8629 | /* System header to define __stub macros and hopefully few prototypes, |
8380 | which can conflict with char socket (); below. |
8630 | which can conflict with char socket (); below. |
8381 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8631 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8382 | <limits.h> exists even on freestanding compilers. */ |
8632 | <limits.h> exists even on freestanding compilers. */ |
|
|
8633 | |
8383 | #ifdef __STDC__ |
8634 | #ifdef __STDC__ |
8384 | # include <limits.h> |
8635 | # include <limits.h> |
8385 | #else |
8636 | #else |
8386 | # include <assert.h> |
8637 | # include <assert.h> |
8387 | #endif |
8638 | #endif |
|
|
8639 | |
|
|
8640 | #undef socket |
|
|
8641 | |
8388 | /* Override any gcc2 internal prototype to avoid an error. */ |
8642 | /* Override any gcc2 internal prototype to avoid an error. */ |
8389 | #ifdef __cplusplus |
8643 | #ifdef __cplusplus |
8390 | extern "C" |
8644 | extern "C" |
8391 | { |
8645 | { |
8392 | #endif |
8646 | #endif |
… | |
… | |
8413 | return 0; |
8667 | return 0; |
8414 | } |
8668 | } |
8415 | _ACEOF |
8669 | _ACEOF |
8416 | rm -f conftest.$ac_objext conftest$ac_exeext |
8670 | rm -f conftest.$ac_objext conftest$ac_exeext |
8417 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8671 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8418 | (eval $ac_link) 2>&5 |
8672 | (eval $ac_link) 2>conftest.er1 |
8419 | ac_status=$? |
8673 | ac_status=$? |
|
|
8674 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8675 | rm -f conftest.er1 |
|
|
8676 | cat conftest.err >&5 |
8420 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8677 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8421 | (exit $ac_status); } && |
8678 | (exit $ac_status); } && |
8422 | { ac_try='test -s conftest$ac_exeext' |
8679 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8423 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8680 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8424 | (eval $ac_try) 2>&5 |
8681 | (eval $ac_try) 2>&5 |
8425 | ac_status=$? |
8682 | ac_status=$? |
8426 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8683 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8684 | (exit $ac_status); }; } && |
|
|
8685 | { ac_try='test -s conftest$ac_exeext' |
|
|
8686 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8687 | (eval $ac_try) 2>&5 |
|
|
8688 | ac_status=$? |
|
|
8689 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8427 | (exit $ac_status); }; }; then |
8690 | (exit $ac_status); }; }; then |
8428 | ac_cv_func_socket=yes |
8691 | ac_cv_func_socket=yes |
8429 | else |
8692 | else |
8430 | echo "$as_me: failed program was:" >&5 |
8693 | echo "$as_me: failed program was:" >&5 |
8431 | sed 's/^/| /' conftest.$ac_ext >&5 |
8694 | sed 's/^/| /' conftest.$ac_ext >&5 |
8432 | |
8695 | |
8433 | ac_cv_func_socket=no |
8696 | ac_cv_func_socket=no |
8434 | fi |
8697 | fi |
8435 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8698 | rm -f conftest.err conftest.$ac_objext \ |
|
|
8699 | conftest$ac_exeext conftest.$ac_ext |
8436 | fi |
8700 | fi |
8437 | echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 |
8701 | echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 |
8438 | echo "${ECHO_T}$ac_cv_func_socket" >&6 |
8702 | echo "${ECHO_T}$ac_cv_func_socket" >&6 |
8439 | if test $ac_cv_func_socket = yes; then |
8703 | if test $ac_cv_func_socket = yes; then |
8440 | : |
8704 | : |
… | |
… | |
8447 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8711 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8448 | else |
8712 | else |
8449 | ac_check_lib_save_LIBS=$LIBS |
8713 | ac_check_lib_save_LIBS=$LIBS |
8450 | LIBS="-lsocket $LIBS" |
8714 | LIBS="-lsocket $LIBS" |
8451 | cat >conftest.$ac_ext <<_ACEOF |
8715 | cat >conftest.$ac_ext <<_ACEOF |
8452 | #line $LINENO "configure" |
|
|
8453 | /* confdefs.h. */ |
8716 | /* confdefs.h. */ |
8454 | _ACEOF |
8717 | _ACEOF |
8455 | cat confdefs.h >>conftest.$ac_ext |
8718 | cat confdefs.h >>conftest.$ac_ext |
8456 | cat >>conftest.$ac_ext <<_ACEOF |
8719 | cat >>conftest.$ac_ext <<_ACEOF |
8457 | /* end confdefs.h. */ |
8720 | /* end confdefs.h. */ |
… | |
… | |
8471 | return 0; |
8734 | return 0; |
8472 | } |
8735 | } |
8473 | _ACEOF |
8736 | _ACEOF |
8474 | rm -f conftest.$ac_objext conftest$ac_exeext |
8737 | rm -f conftest.$ac_objext conftest$ac_exeext |
8475 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8738 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8476 | (eval $ac_link) 2>&5 |
8739 | (eval $ac_link) 2>conftest.er1 |
8477 | ac_status=$? |
8740 | ac_status=$? |
|
|
8741 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8742 | rm -f conftest.er1 |
|
|
8743 | cat conftest.err >&5 |
8478 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8744 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8479 | (exit $ac_status); } && |
8745 | (exit $ac_status); } && |
8480 | { ac_try='test -s conftest$ac_exeext' |
8746 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8481 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8747 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8482 | (eval $ac_try) 2>&5 |
8748 | (eval $ac_try) 2>&5 |
8483 | ac_status=$? |
8749 | ac_status=$? |
8484 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8750 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8751 | (exit $ac_status); }; } && |
|
|
8752 | { ac_try='test -s conftest$ac_exeext' |
|
|
8753 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8754 | (eval $ac_try) 2>&5 |
|
|
8755 | ac_status=$? |
|
|
8756 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8485 | (exit $ac_status); }; }; then |
8757 | (exit $ac_status); }; }; then |
8486 | ac_cv_lib_socket_connect=yes |
8758 | ac_cv_lib_socket_connect=yes |
8487 | else |
8759 | else |
8488 | echo "$as_me: failed program was:" >&5 |
8760 | echo "$as_me: failed program was:" >&5 |
8489 | sed 's/^/| /' conftest.$ac_ext >&5 |
8761 | sed 's/^/| /' conftest.$ac_ext >&5 |
8490 | |
8762 | |
8491 | ac_cv_lib_socket_connect=no |
8763 | ac_cv_lib_socket_connect=no |
8492 | fi |
8764 | fi |
8493 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8765 | rm -f conftest.err conftest.$ac_objext \ |
|
|
8766 | conftest$ac_exeext conftest.$ac_ext |
8494 | LIBS=$ac_check_lib_save_LIBS |
8767 | LIBS=$ac_check_lib_save_LIBS |
8495 | fi |
8768 | fi |
8496 | echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 |
8769 | echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 |
8497 | echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6 |
8770 | echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6 |
8498 | if test $ac_cv_lib_socket_connect = yes; then |
8771 | if test $ac_cv_lib_socket_connect = yes; then |
… | |
… | |
8511 | echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 |
8784 | echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 |
8512 | if test "${ac_cv_func_gethostbyname+set}" = set; then |
8785 | if test "${ac_cv_func_gethostbyname+set}" = set; then |
8513 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8786 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8514 | else |
8787 | else |
8515 | cat >conftest.$ac_ext <<_ACEOF |
8788 | cat >conftest.$ac_ext <<_ACEOF |
8516 | #line $LINENO "configure" |
|
|
8517 | /* confdefs.h. */ |
8789 | /* confdefs.h. */ |
8518 | _ACEOF |
8790 | _ACEOF |
8519 | cat confdefs.h >>conftest.$ac_ext |
8791 | cat confdefs.h >>conftest.$ac_ext |
8520 | cat >>conftest.$ac_ext <<_ACEOF |
8792 | cat >>conftest.$ac_ext <<_ACEOF |
8521 | /* end confdefs.h. */ |
8793 | /* end confdefs.h. */ |
|
|
8794 | /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname. |
|
|
8795 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
8796 | #define gethostbyname innocuous_gethostbyname |
|
|
8797 | |
8522 | /* System header to define __stub macros and hopefully few prototypes, |
8798 | /* System header to define __stub macros and hopefully few prototypes, |
8523 | which can conflict with char gethostbyname (); below. |
8799 | which can conflict with char gethostbyname (); below. |
8524 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8800 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8525 | <limits.h> exists even on freestanding compilers. */ |
8801 | <limits.h> exists even on freestanding compilers. */ |
|
|
8802 | |
8526 | #ifdef __STDC__ |
8803 | #ifdef __STDC__ |
8527 | # include <limits.h> |
8804 | # include <limits.h> |
8528 | #else |
8805 | #else |
8529 | # include <assert.h> |
8806 | # include <assert.h> |
8530 | #endif |
8807 | #endif |
|
|
8808 | |
|
|
8809 | #undef gethostbyname |
|
|
8810 | |
8531 | /* Override any gcc2 internal prototype to avoid an error. */ |
8811 | /* Override any gcc2 internal prototype to avoid an error. */ |
8532 | #ifdef __cplusplus |
8812 | #ifdef __cplusplus |
8533 | extern "C" |
8813 | extern "C" |
8534 | { |
8814 | { |
8535 | #endif |
8815 | #endif |
… | |
… | |
8556 | return 0; |
8836 | return 0; |
8557 | } |
8837 | } |
8558 | _ACEOF |
8838 | _ACEOF |
8559 | rm -f conftest.$ac_objext conftest$ac_exeext |
8839 | rm -f conftest.$ac_objext conftest$ac_exeext |
8560 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8840 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8561 | (eval $ac_link) 2>&5 |
8841 | (eval $ac_link) 2>conftest.er1 |
8562 | ac_status=$? |
8842 | ac_status=$? |
|
|
8843 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8844 | rm -f conftest.er1 |
|
|
8845 | cat conftest.err >&5 |
8563 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8846 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8564 | (exit $ac_status); } && |
8847 | (exit $ac_status); } && |
8565 | { ac_try='test -s conftest$ac_exeext' |
8848 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8566 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8849 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8567 | (eval $ac_try) 2>&5 |
8850 | (eval $ac_try) 2>&5 |
8568 | ac_status=$? |
8851 | ac_status=$? |
8569 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8852 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8853 | (exit $ac_status); }; } && |
|
|
8854 | { ac_try='test -s conftest$ac_exeext' |
|
|
8855 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8856 | (eval $ac_try) 2>&5 |
|
|
8857 | ac_status=$? |
|
|
8858 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8570 | (exit $ac_status); }; }; then |
8859 | (exit $ac_status); }; }; then |
8571 | ac_cv_func_gethostbyname=yes |
8860 | ac_cv_func_gethostbyname=yes |
8572 | else |
8861 | else |
8573 | echo "$as_me: failed program was:" >&5 |
8862 | echo "$as_me: failed program was:" >&5 |
8574 | sed 's/^/| /' conftest.$ac_ext >&5 |
8863 | sed 's/^/| /' conftest.$ac_ext >&5 |
8575 | |
8864 | |
8576 | ac_cv_func_gethostbyname=no |
8865 | ac_cv_func_gethostbyname=no |
8577 | fi |
8866 | fi |
8578 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8867 | rm -f conftest.err conftest.$ac_objext \ |
|
|
8868 | conftest$ac_exeext conftest.$ac_ext |
8579 | fi |
8869 | fi |
8580 | echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 |
8870 | echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 |
8581 | echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 |
8871 | echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 |
8582 | if test $ac_cv_func_gethostbyname = yes; then |
8872 | if test $ac_cv_func_gethostbyname = yes; then |
8583 | : |
8873 | : |
… | |
… | |
8590 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8880 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8591 | else |
8881 | else |
8592 | ac_check_lib_save_LIBS=$LIBS |
8882 | ac_check_lib_save_LIBS=$LIBS |
8593 | LIBS="-lnsl $LIBS" |
8883 | LIBS="-lnsl $LIBS" |
8594 | cat >conftest.$ac_ext <<_ACEOF |
8884 | cat >conftest.$ac_ext <<_ACEOF |
8595 | #line $LINENO "configure" |
|
|
8596 | /* confdefs.h. */ |
8885 | /* confdefs.h. */ |
8597 | _ACEOF |
8886 | _ACEOF |
8598 | cat confdefs.h >>conftest.$ac_ext |
8887 | cat confdefs.h >>conftest.$ac_ext |
8599 | cat >>conftest.$ac_ext <<_ACEOF |
8888 | cat >>conftest.$ac_ext <<_ACEOF |
8600 | /* end confdefs.h. */ |
8889 | /* end confdefs.h. */ |
… | |
… | |
8614 | return 0; |
8903 | return 0; |
8615 | } |
8904 | } |
8616 | _ACEOF |
8905 | _ACEOF |
8617 | rm -f conftest.$ac_objext conftest$ac_exeext |
8906 | rm -f conftest.$ac_objext conftest$ac_exeext |
8618 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8907 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8619 | (eval $ac_link) 2>&5 |
8908 | (eval $ac_link) 2>conftest.er1 |
8620 | ac_status=$? |
8909 | ac_status=$? |
|
|
8910 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8911 | rm -f conftest.er1 |
|
|
8912 | cat conftest.err >&5 |
8621 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8913 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8622 | (exit $ac_status); } && |
8914 | (exit $ac_status); } && |
8623 | { ac_try='test -s conftest$ac_exeext' |
8915 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8624 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8916 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8625 | (eval $ac_try) 2>&5 |
8917 | (eval $ac_try) 2>&5 |
8626 | ac_status=$? |
8918 | ac_status=$? |
8627 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8919 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8920 | (exit $ac_status); }; } && |
|
|
8921 | { ac_try='test -s conftest$ac_exeext' |
|
|
8922 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8923 | (eval $ac_try) 2>&5 |
|
|
8924 | ac_status=$? |
|
|
8925 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8628 | (exit $ac_status); }; }; then |
8926 | (exit $ac_status); }; }; then |
8629 | ac_cv_lib_nsl_gethostbyname=yes |
8927 | ac_cv_lib_nsl_gethostbyname=yes |
8630 | else |
8928 | else |
8631 | echo "$as_me: failed program was:" >&5 |
8929 | echo "$as_me: failed program was:" >&5 |
8632 | sed 's/^/| /' conftest.$ac_ext >&5 |
8930 | sed 's/^/| /' conftest.$ac_ext >&5 |
8633 | |
8931 | |
8634 | ac_cv_lib_nsl_gethostbyname=no |
8932 | ac_cv_lib_nsl_gethostbyname=no |
8635 | fi |
8933 | fi |
8636 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8934 | rm -f conftest.err conftest.$ac_objext \ |
|
|
8935 | conftest$ac_exeext conftest.$ac_ext |
8637 | LIBS=$ac_check_lib_save_LIBS |
8936 | LIBS=$ac_check_lib_save_LIBS |
8638 | fi |
8937 | fi |
8639 | echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
8938 | echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
8640 | echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 |
8939 | echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 |
8641 | if test $ac_cv_lib_nsl_gethostbyname = yes; then |
8940 | if test $ac_cv_lib_nsl_gethostbyname = yes; then |
… | |
… | |
8685 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
8984 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
8686 | *ac_space=\ *) |
8985 | *ac_space=\ *) |
8687 | # `set' does not quote correctly, so add quotes (double-quote |
8986 | # `set' does not quote correctly, so add quotes (double-quote |
8688 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
8987 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
8689 | sed -n \ |
8988 | sed -n \ |
8690 | "s/'/'\\\\''/g; |
8989 | "s/'/'\\\\''/g; |
8691 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
8990 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
8692 | ;; |
8991 | ;; |
8693 | *) |
8992 | *) |
8694 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
8993 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
8695 | sed -n \ |
8994 | sed -n \ |
8696 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
8995 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
8697 | ;; |
8996 | ;; |
8698 | esac; |
8997 | esac; |
8699 | } | |
8998 | } | |
8700 | sed ' |
8999 | sed ' |
8701 | t clear |
9000 | t clear |
… | |
… | |
8730 | if test "${tinc_cv_linux_if_tun_h+set}" = set; then |
9029 | if test "${tinc_cv_linux_if_tun_h+set}" = set; then |
8731 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9030 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8732 | else |
9031 | else |
8733 | |
9032 | |
8734 | cat >conftest.$ac_ext <<_ACEOF |
9033 | cat >conftest.$ac_ext <<_ACEOF |
8735 | #line $LINENO "configure" |
|
|
8736 | /* confdefs.h. */ |
9034 | /* confdefs.h. */ |
8737 | _ACEOF |
9035 | _ACEOF |
8738 | cat confdefs.h >>conftest.$ac_ext |
9036 | cat confdefs.h >>conftest.$ac_ext |
8739 | cat >>conftest.$ac_ext <<_ACEOF |
9037 | cat >>conftest.$ac_ext <<_ACEOF |
8740 | /* end confdefs.h. */ |
9038 | /* end confdefs.h. */ |
… | |
… | |
8747 | return 0; |
9045 | return 0; |
8748 | } |
9046 | } |
8749 | _ACEOF |
9047 | _ACEOF |
8750 | rm -f conftest.$ac_objext |
9048 | rm -f conftest.$ac_objext |
8751 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9049 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8752 | (eval $ac_compile) 2>&5 |
9050 | (eval $ac_compile) 2>conftest.er1 |
8753 | ac_status=$? |
9051 | ac_status=$? |
|
|
9052 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9053 | rm -f conftest.er1 |
|
|
9054 | cat conftest.err >&5 |
8754 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9055 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8755 | (exit $ac_status); } && |
9056 | (exit $ac_status); } && |
8756 | { ac_try='test -s conftest.$ac_objext' |
9057 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8757 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9058 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8758 | (eval $ac_try) 2>&5 |
9059 | (eval $ac_try) 2>&5 |
8759 | ac_status=$? |
9060 | ac_status=$? |
8760 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9061 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9062 | (exit $ac_status); }; } && |
|
|
9063 | { ac_try='test -s conftest.$ac_objext' |
|
|
9064 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9065 | (eval $ac_try) 2>&5 |
|
|
9066 | ac_status=$? |
|
|
9067 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8761 | (exit $ac_status); }; }; then |
9068 | (exit $ac_status); }; }; then |
8762 | if_tun_h="\"$kerneldir/include/linux/if_tun.h\"" |
9069 | if_tun_h="\"$kerneldir/include/linux/if_tun.h\"" |
8763 | else |
9070 | else |
8764 | echo "$as_me: failed program was:" >&5 |
9071 | echo "$as_me: failed program was:" >&5 |
8765 | sed 's/^/| /' conftest.$ac_ext >&5 |
9072 | sed 's/^/| /' conftest.$ac_ext >&5 |
8766 | |
9073 | |
8767 | cat >conftest.$ac_ext <<_ACEOF |
9074 | cat >conftest.$ac_ext <<_ACEOF |
8768 | #line $LINENO "configure" |
|
|
8769 | /* confdefs.h. */ |
9075 | /* confdefs.h. */ |
8770 | _ACEOF |
9076 | _ACEOF |
8771 | cat confdefs.h >>conftest.$ac_ext |
9077 | cat confdefs.h >>conftest.$ac_ext |
8772 | cat >>conftest.$ac_ext <<_ACEOF |
9078 | cat >>conftest.$ac_ext <<_ACEOF |
8773 | /* end confdefs.h. */ |
9079 | /* end confdefs.h. */ |
… | |
… | |
8780 | return 0; |
9086 | return 0; |
8781 | } |
9087 | } |
8782 | _ACEOF |
9088 | _ACEOF |
8783 | rm -f conftest.$ac_objext |
9089 | rm -f conftest.$ac_objext |
8784 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9090 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8785 | (eval $ac_compile) 2>&5 |
9091 | (eval $ac_compile) 2>conftest.er1 |
8786 | ac_status=$? |
9092 | ac_status=$? |
|
|
9093 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9094 | rm -f conftest.er1 |
|
|
9095 | cat conftest.err >&5 |
8787 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9096 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8788 | (exit $ac_status); } && |
9097 | (exit $ac_status); } && |
8789 | { ac_try='test -s conftest.$ac_objext' |
9098 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8790 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9099 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8791 | (eval $ac_try) 2>&5 |
9100 | (eval $ac_try) 2>&5 |
8792 | ac_status=$? |
9101 | ac_status=$? |
8793 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9102 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9103 | (exit $ac_status); }; } && |
|
|
9104 | { ac_try='test -s conftest.$ac_objext' |
|
|
9105 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9106 | (eval $ac_try) 2>&5 |
|
|
9107 | ac_status=$? |
|
|
9108 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8794 | (exit $ac_status); }; }; then |
9109 | (exit $ac_status); }; }; then |
8795 | if_tun_h="default" |
9110 | if_tun_h="default" |
8796 | else |
9111 | else |
8797 | echo "$as_me: failed program was:" >&5 |
9112 | echo "$as_me: failed program was:" >&5 |
8798 | sed 's/^/| /' conftest.$ac_ext >&5 |
9113 | sed 's/^/| /' conftest.$ac_ext >&5 |
8799 | |
9114 | |
8800 | if_tun_h="no" |
9115 | if_tun_h="no" |
8801 | |
9116 | |
8802 | fi |
9117 | fi |
8803 | rm -f conftest.$ac_objext conftest.$ac_ext |
9118 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8804 | |
9119 | |
8805 | fi |
9120 | fi |
8806 | rm -f conftest.$ac_objext conftest.$ac_ext |
9121 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8807 | |
9122 | |
8808 | if test $if_tun_h = no; then |
9123 | if test $if_tun_h = no; then |
8809 | tinc_cv_linux_if_tun_h=none |
9124 | tinc_cv_linux_if_tun_h=none |
8810 | else |
9125 | else |
8811 | tinc_cv_linux_if_tun_h="$if_tun_h" |
9126 | tinc_cv_linux_if_tun_h="$if_tun_h" |
… | |
… | |
8827 | #define LINUX_IF_TUN_H $tinc_cv_linux_if_tun_h |
9142 | #define LINUX_IF_TUN_H $tinc_cv_linux_if_tun_h |
8828 | _ACEOF |
9143 | _ACEOF |
8829 | |
9144 | |
8830 | fi |
9145 | fi |
8831 | fi |
9146 | fi |
|
|
9147 | |
8832 | |
9148 | |
8833 | |
9149 | |
8834 | |
9150 | |
8835 | |
9151 | |
8836 | tinc_ac_save_CPPFLAGS="$CPPFLAGS" |
9152 | tinc_ac_save_CPPFLAGS="$CPPFLAGS" |
… | |
… | |
8874 | else |
9190 | else |
8875 | # Is the header compilable? |
9191 | # Is the header compilable? |
8876 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
9192 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
8877 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
9193 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
8878 | cat >conftest.$ac_ext <<_ACEOF |
9194 | cat >conftest.$ac_ext <<_ACEOF |
8879 | #line $LINENO "configure" |
|
|
8880 | /* confdefs.h. */ |
9195 | /* confdefs.h. */ |
8881 | _ACEOF |
9196 | _ACEOF |
8882 | cat confdefs.h >>conftest.$ac_ext |
9197 | cat confdefs.h >>conftest.$ac_ext |
8883 | cat >>conftest.$ac_ext <<_ACEOF |
9198 | cat >>conftest.$ac_ext <<_ACEOF |
8884 | /* end confdefs.h. */ |
9199 | /* end confdefs.h. */ |
8885 | $ac_includes_default |
9200 | $ac_includes_default |
8886 | #include <$ac_header> |
9201 | #include <$ac_header> |
8887 | _ACEOF |
9202 | _ACEOF |
8888 | rm -f conftest.$ac_objext |
9203 | rm -f conftest.$ac_objext |
8889 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9204 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8890 | (eval $ac_compile) 2>&5 |
9205 | (eval $ac_compile) 2>conftest.er1 |
8891 | ac_status=$? |
9206 | ac_status=$? |
|
|
9207 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9208 | rm -f conftest.er1 |
|
|
9209 | cat conftest.err >&5 |
8892 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9210 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8893 | (exit $ac_status); } && |
9211 | (exit $ac_status); } && |
8894 | { ac_try='test -s conftest.$ac_objext' |
9212 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8895 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9213 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8896 | (eval $ac_try) 2>&5 |
9214 | (eval $ac_try) 2>&5 |
8897 | ac_status=$? |
9215 | ac_status=$? |
8898 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9216 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9217 | (exit $ac_status); }; } && |
|
|
9218 | { ac_try='test -s conftest.$ac_objext' |
|
|
9219 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9220 | (eval $ac_try) 2>&5 |
|
|
9221 | ac_status=$? |
|
|
9222 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8899 | (exit $ac_status); }; }; then |
9223 | (exit $ac_status); }; }; then |
8900 | ac_header_compiler=yes |
9224 | ac_header_compiler=yes |
8901 | else |
9225 | else |
8902 | echo "$as_me: failed program was:" >&5 |
9226 | echo "$as_me: failed program was:" >&5 |
8903 | sed 's/^/| /' conftest.$ac_ext >&5 |
9227 | sed 's/^/| /' conftest.$ac_ext >&5 |
8904 | |
9228 | |
8905 | ac_header_compiler=no |
9229 | ac_header_compiler=no |
8906 | fi |
9230 | fi |
8907 | rm -f conftest.$ac_objext conftest.$ac_ext |
9231 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8908 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
9232 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8909 | echo "${ECHO_T}$ac_header_compiler" >&6 |
9233 | echo "${ECHO_T}$ac_header_compiler" >&6 |
8910 | |
9234 | |
8911 | # Is the header present? |
9235 | # Is the header present? |
8912 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
9236 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
8913 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
9237 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
8914 | cat >conftest.$ac_ext <<_ACEOF |
9238 | cat >conftest.$ac_ext <<_ACEOF |
8915 | #line $LINENO "configure" |
|
|
8916 | /* confdefs.h. */ |
9239 | /* confdefs.h. */ |
8917 | _ACEOF |
9240 | _ACEOF |
8918 | cat confdefs.h >>conftest.$ac_ext |
9241 | cat confdefs.h >>conftest.$ac_ext |
8919 | cat >>conftest.$ac_ext <<_ACEOF |
9242 | cat >>conftest.$ac_ext <<_ACEOF |
8920 | /* end confdefs.h. */ |
9243 | /* end confdefs.h. */ |
… | |
… | |
8928 | cat conftest.err >&5 |
9251 | cat conftest.err >&5 |
8929 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9252 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8930 | (exit $ac_status); } >/dev/null; then |
9253 | (exit $ac_status); } >/dev/null; then |
8931 | if test -s conftest.err; then |
9254 | if test -s conftest.err; then |
8932 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
9255 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
9256 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
8933 | else |
9257 | else |
8934 | ac_cpp_err= |
9258 | ac_cpp_err= |
8935 | fi |
9259 | fi |
8936 | else |
9260 | else |
8937 | ac_cpp_err=yes |
9261 | ac_cpp_err=yes |
… | |
… | |
8947 | rm -f conftest.err conftest.$ac_ext |
9271 | rm -f conftest.err conftest.$ac_ext |
8948 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
9272 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
8949 | echo "${ECHO_T}$ac_header_preproc" >&6 |
9273 | echo "${ECHO_T}$ac_header_preproc" >&6 |
8950 | |
9274 | |
8951 | # So? What about this header? |
9275 | # So? What about this header? |
8952 | case $ac_header_compiler:$ac_header_preproc in |
9276 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
8953 | yes:no ) |
9277 | yes:no: ) |
8954 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
9278 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
8955 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
9279 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
9280 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
9281 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
9282 | ac_header_preproc=yes |
|
|
9283 | ;; |
|
|
9284 | no:yes:* ) |
|
|
9285 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
9286 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
9287 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
9288 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
9289 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
9290 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
9291 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
9292 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
8956 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
9293 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
8957 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
9294 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
9295 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
9296 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
8958 | ( |
9297 | ( |
8959 | cat <<\_ASBOX |
9298 | cat <<\_ASBOX |
8960 | ## ------------------------------------ ## |
9299 | ## ------------------------------------------ ## |
8961 | ## Report this to bug-autoconf@gnu.org. ## |
9300 | ## Report this to the AC_PACKAGE_NAME lists. ## |
8962 | ## ------------------------------------ ## |
9301 | ## ------------------------------------------ ## |
8963 | _ASBOX |
|
|
8964 | ) | |
|
|
8965 | sed "s/^/$as_me: WARNING: /" >&2 |
|
|
8966 | ;; |
|
|
8967 | no:yes ) |
|
|
8968 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
8969 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
8970 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
8971 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
8972 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
8973 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
8974 | ( |
|
|
8975 | cat <<\_ASBOX |
|
|
8976 | ## ------------------------------------ ## |
|
|
8977 | ## Report this to bug-autoconf@gnu.org. ## |
|
|
8978 | ## ------------------------------------ ## |
|
|
8979 | _ASBOX |
9302 | _ASBOX |
8980 | ) | |
9303 | ) | |
8981 | sed "s/^/$as_me: WARNING: /" >&2 |
9304 | sed "s/^/$as_me: WARNING: /" >&2 |
8982 | ;; |
9305 | ;; |
8983 | esac |
9306 | esac |
8984 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
9307 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8985 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
9308 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
8986 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
9309 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
8987 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9310 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8988 | else |
9311 | else |
8989 | eval "$as_ac_Header=$ac_header_preproc" |
9312 | eval "$as_ac_Header=\$ac_header_preproc" |
8990 | fi |
9313 | fi |
8991 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
9314 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
8992 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
9315 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
8993 | |
9316 | |
8994 | fi |
9317 | fi |
… | |
… | |
9015 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9338 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9016 | else |
9339 | else |
9017 | ac_check_lib_save_LIBS=$LIBS |
9340 | ac_check_lib_save_LIBS=$LIBS |
9018 | LIBS="-lcrypto $LIBS" |
9341 | LIBS="-lcrypto $LIBS" |
9019 | cat >conftest.$ac_ext <<_ACEOF |
9342 | cat >conftest.$ac_ext <<_ACEOF |
9020 | #line $LINENO "configure" |
|
|
9021 | /* confdefs.h. */ |
9343 | /* confdefs.h. */ |
9022 | _ACEOF |
9344 | _ACEOF |
9023 | cat confdefs.h >>conftest.$ac_ext |
9345 | cat confdefs.h >>conftest.$ac_ext |
9024 | cat >>conftest.$ac_ext <<_ACEOF |
9346 | cat >>conftest.$ac_ext <<_ACEOF |
9025 | /* end confdefs.h. */ |
9347 | /* end confdefs.h. */ |
… | |
… | |
9039 | return 0; |
9361 | return 0; |
9040 | } |
9362 | } |
9041 | _ACEOF |
9363 | _ACEOF |
9042 | rm -f conftest.$ac_objext conftest$ac_exeext |
9364 | rm -f conftest.$ac_objext conftest$ac_exeext |
9043 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9365 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9044 | (eval $ac_link) 2>&5 |
9366 | (eval $ac_link) 2>conftest.er1 |
9045 | ac_status=$? |
9367 | ac_status=$? |
|
|
9368 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9369 | rm -f conftest.er1 |
|
|
9370 | cat conftest.err >&5 |
9046 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9371 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9047 | (exit $ac_status); } && |
9372 | (exit $ac_status); } && |
9048 | { ac_try='test -s conftest$ac_exeext' |
9373 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9049 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9374 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9050 | (eval $ac_try) 2>&5 |
9375 | (eval $ac_try) 2>&5 |
9051 | ac_status=$? |
9376 | ac_status=$? |
9052 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9377 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9378 | (exit $ac_status); }; } && |
|
|
9379 | { ac_try='test -s conftest$ac_exeext' |
|
|
9380 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9381 | (eval $ac_try) 2>&5 |
|
|
9382 | ac_status=$? |
|
|
9383 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9053 | (exit $ac_status); }; }; then |
9384 | (exit $ac_status); }; }; then |
9054 | ac_cv_lib_crypto_SHA1_version=yes |
9385 | ac_cv_lib_crypto_SHA1_version=yes |
9055 | else |
9386 | else |
9056 | echo "$as_me: failed program was:" >&5 |
9387 | echo "$as_me: failed program was:" >&5 |
9057 | sed 's/^/| /' conftest.$ac_ext >&5 |
9388 | sed 's/^/| /' conftest.$ac_ext >&5 |
9058 | |
9389 | |
9059 | ac_cv_lib_crypto_SHA1_version=no |
9390 | ac_cv_lib_crypto_SHA1_version=no |
9060 | fi |
9391 | fi |
9061 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9392 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9393 | conftest$ac_exeext conftest.$ac_ext |
9062 | LIBS=$ac_check_lib_save_LIBS |
9394 | LIBS=$ac_check_lib_save_LIBS |
9063 | fi |
9395 | fi |
9064 | echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_SHA1_version" >&5 |
9396 | echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_SHA1_version" >&5 |
9065 | echo "${ECHO_T}$ac_cv_lib_crypto_SHA1_version" >&6 |
9397 | echo "${ECHO_T}$ac_cv_lib_crypto_SHA1_version" >&6 |
9066 | if test $ac_cv_lib_crypto_SHA1_version = yes; then |
9398 | if test $ac_cv_lib_crypto_SHA1_version = yes; then |
… | |
… | |
9084 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9416 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9085 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
9417 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
9086 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9418 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9087 | else |
9419 | else |
9088 | cat >conftest.$ac_ext <<_ACEOF |
9420 | cat >conftest.$ac_ext <<_ACEOF |
9089 | #line $LINENO "configure" |
|
|
9090 | /* confdefs.h. */ |
9421 | /* confdefs.h. */ |
9091 | _ACEOF |
9422 | _ACEOF |
9092 | cat confdefs.h >>conftest.$ac_ext |
9423 | cat confdefs.h >>conftest.$ac_ext |
9093 | cat >>conftest.$ac_ext <<_ACEOF |
9424 | cat >>conftest.$ac_ext <<_ACEOF |
9094 | /* end confdefs.h. */ |
9425 | /* end confdefs.h. */ |
|
|
9426 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
9427 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
9428 | #define $ac_func innocuous_$ac_func |
|
|
9429 | |
9095 | /* System header to define __stub macros and hopefully few prototypes, |
9430 | /* System header to define __stub macros and hopefully few prototypes, |
9096 | which can conflict with char $ac_func (); below. |
9431 | which can conflict with char $ac_func (); below. |
9097 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
9432 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
9098 | <limits.h> exists even on freestanding compilers. */ |
9433 | <limits.h> exists even on freestanding compilers. */ |
|
|
9434 | |
9099 | #ifdef __STDC__ |
9435 | #ifdef __STDC__ |
9100 | # include <limits.h> |
9436 | # include <limits.h> |
9101 | #else |
9437 | #else |
9102 | # include <assert.h> |
9438 | # include <assert.h> |
9103 | #endif |
9439 | #endif |
|
|
9440 | |
|
|
9441 | #undef $ac_func |
|
|
9442 | |
9104 | /* Override any gcc2 internal prototype to avoid an error. */ |
9443 | /* Override any gcc2 internal prototype to avoid an error. */ |
9105 | #ifdef __cplusplus |
9444 | #ifdef __cplusplus |
9106 | extern "C" |
9445 | extern "C" |
9107 | { |
9446 | { |
9108 | #endif |
9447 | #endif |
… | |
… | |
9129 | return 0; |
9468 | return 0; |
9130 | } |
9469 | } |
9131 | _ACEOF |
9470 | _ACEOF |
9132 | rm -f conftest.$ac_objext conftest$ac_exeext |
9471 | rm -f conftest.$ac_objext conftest$ac_exeext |
9133 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9472 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9134 | (eval $ac_link) 2>&5 |
9473 | (eval $ac_link) 2>conftest.er1 |
9135 | ac_status=$? |
9474 | ac_status=$? |
|
|
9475 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9476 | rm -f conftest.er1 |
|
|
9477 | cat conftest.err >&5 |
9136 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9478 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9137 | (exit $ac_status); } && |
9479 | (exit $ac_status); } && |
9138 | { ac_try='test -s conftest$ac_exeext' |
9480 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9139 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9481 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9140 | (eval $ac_try) 2>&5 |
9482 | (eval $ac_try) 2>&5 |
9141 | ac_status=$? |
9483 | ac_status=$? |
9142 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9484 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9485 | (exit $ac_status); }; } && |
|
|
9486 | { ac_try='test -s conftest$ac_exeext' |
|
|
9487 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9488 | (eval $ac_try) 2>&5 |
|
|
9489 | ac_status=$? |
|
|
9490 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9143 | (exit $ac_status); }; }; then |
9491 | (exit $ac_status); }; }; then |
9144 | eval "$as_ac_var=yes" |
9492 | eval "$as_ac_var=yes" |
9145 | else |
9493 | else |
9146 | echo "$as_me: failed program was:" >&5 |
9494 | echo "$as_me: failed program was:" >&5 |
9147 | sed 's/^/| /' conftest.$ac_ext >&5 |
9495 | sed 's/^/| /' conftest.$ac_ext >&5 |
9148 | |
9496 | |
9149 | eval "$as_ac_var=no" |
9497 | eval "$as_ac_var=no" |
9150 | fi |
9498 | fi |
9151 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9499 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9500 | conftest$ac_exeext conftest.$ac_ext |
9152 | fi |
9501 | fi |
9153 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
9502 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
9154 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
9503 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
9155 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
9504 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
9156 | cat >>confdefs.h <<_ACEOF |
9505 | cat >>confdefs.h <<_ACEOF |
… | |
… | |
9165 | echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 |
9514 | echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 |
9166 | if test "${ac_cv_func_dlopen+set}" = set; then |
9515 | if test "${ac_cv_func_dlopen+set}" = set; then |
9167 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9516 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9168 | else |
9517 | else |
9169 | cat >conftest.$ac_ext <<_ACEOF |
9518 | cat >conftest.$ac_ext <<_ACEOF |
9170 | #line $LINENO "configure" |
|
|
9171 | /* confdefs.h. */ |
9519 | /* confdefs.h. */ |
9172 | _ACEOF |
9520 | _ACEOF |
9173 | cat confdefs.h >>conftest.$ac_ext |
9521 | cat confdefs.h >>conftest.$ac_ext |
9174 | cat >>conftest.$ac_ext <<_ACEOF |
9522 | cat >>conftest.$ac_ext <<_ACEOF |
9175 | /* end confdefs.h. */ |
9523 | /* end confdefs.h. */ |
|
|
9524 | /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. |
|
|
9525 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
9526 | #define dlopen innocuous_dlopen |
|
|
9527 | |
9176 | /* System header to define __stub macros and hopefully few prototypes, |
9528 | /* System header to define __stub macros and hopefully few prototypes, |
9177 | which can conflict with char dlopen (); below. |
9529 | which can conflict with char dlopen (); below. |
9178 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
9530 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
9179 | <limits.h> exists even on freestanding compilers. */ |
9531 | <limits.h> exists even on freestanding compilers. */ |
|
|
9532 | |
9180 | #ifdef __STDC__ |
9533 | #ifdef __STDC__ |
9181 | # include <limits.h> |
9534 | # include <limits.h> |
9182 | #else |
9535 | #else |
9183 | # include <assert.h> |
9536 | # include <assert.h> |
9184 | #endif |
9537 | #endif |
|
|
9538 | |
|
|
9539 | #undef dlopen |
|
|
9540 | |
9185 | /* Override any gcc2 internal prototype to avoid an error. */ |
9541 | /* Override any gcc2 internal prototype to avoid an error. */ |
9186 | #ifdef __cplusplus |
9542 | #ifdef __cplusplus |
9187 | extern "C" |
9543 | extern "C" |
9188 | { |
9544 | { |
9189 | #endif |
9545 | #endif |
… | |
… | |
9210 | return 0; |
9566 | return 0; |
9211 | } |
9567 | } |
9212 | _ACEOF |
9568 | _ACEOF |
9213 | rm -f conftest.$ac_objext conftest$ac_exeext |
9569 | rm -f conftest.$ac_objext conftest$ac_exeext |
9214 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9570 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9215 | (eval $ac_link) 2>&5 |
9571 | (eval $ac_link) 2>conftest.er1 |
9216 | ac_status=$? |
9572 | ac_status=$? |
|
|
9573 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9574 | rm -f conftest.er1 |
|
|
9575 | cat conftest.err >&5 |
9217 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9576 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9218 | (exit $ac_status); } && |
9577 | (exit $ac_status); } && |
9219 | { ac_try='test -s conftest$ac_exeext' |
9578 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9220 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9579 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9221 | (eval $ac_try) 2>&5 |
9580 | (eval $ac_try) 2>&5 |
9222 | ac_status=$? |
9581 | ac_status=$? |
9223 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9582 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9583 | (exit $ac_status); }; } && |
|
|
9584 | { ac_try='test -s conftest$ac_exeext' |
|
|
9585 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9586 | (eval $ac_try) 2>&5 |
|
|
9587 | ac_status=$? |
|
|
9588 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9224 | (exit $ac_status); }; }; then |
9589 | (exit $ac_status); }; }; then |
9225 | ac_cv_func_dlopen=yes |
9590 | ac_cv_func_dlopen=yes |
9226 | else |
9591 | else |
9227 | echo "$as_me: failed program was:" >&5 |
9592 | echo "$as_me: failed program was:" >&5 |
9228 | sed 's/^/| /' conftest.$ac_ext >&5 |
9593 | sed 's/^/| /' conftest.$ac_ext >&5 |
9229 | |
9594 | |
9230 | ac_cv_func_dlopen=no |
9595 | ac_cv_func_dlopen=no |
9231 | fi |
9596 | fi |
9232 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9597 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9598 | conftest$ac_exeext conftest.$ac_ext |
9233 | fi |
9599 | fi |
9234 | echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
9600 | echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
9235 | echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
9601 | echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
9236 | if test $ac_cv_func_dlopen = yes; then |
9602 | if test $ac_cv_func_dlopen = yes; then |
9237 | : |
9603 | : |
… | |
… | |
9242 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9608 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9243 | else |
9609 | else |
9244 | ac_check_lib_save_LIBS=$LIBS |
9610 | ac_check_lib_save_LIBS=$LIBS |
9245 | LIBS="-ldl $LIBS" |
9611 | LIBS="-ldl $LIBS" |
9246 | cat >conftest.$ac_ext <<_ACEOF |
9612 | cat >conftest.$ac_ext <<_ACEOF |
9247 | #line $LINENO "configure" |
|
|
9248 | /* confdefs.h. */ |
9613 | /* confdefs.h. */ |
9249 | _ACEOF |
9614 | _ACEOF |
9250 | cat confdefs.h >>conftest.$ac_ext |
9615 | cat confdefs.h >>conftest.$ac_ext |
9251 | cat >>conftest.$ac_ext <<_ACEOF |
9616 | cat >>conftest.$ac_ext <<_ACEOF |
9252 | /* end confdefs.h. */ |
9617 | /* end confdefs.h. */ |
… | |
… | |
9266 | return 0; |
9631 | return 0; |
9267 | } |
9632 | } |
9268 | _ACEOF |
9633 | _ACEOF |
9269 | rm -f conftest.$ac_objext conftest$ac_exeext |
9634 | rm -f conftest.$ac_objext conftest$ac_exeext |
9270 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9635 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9271 | (eval $ac_link) 2>&5 |
9636 | (eval $ac_link) 2>conftest.er1 |
9272 | ac_status=$? |
9637 | ac_status=$? |
|
|
9638 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9639 | rm -f conftest.er1 |
|
|
9640 | cat conftest.err >&5 |
9273 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9641 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9274 | (exit $ac_status); } && |
9642 | (exit $ac_status); } && |
9275 | { ac_try='test -s conftest$ac_exeext' |
9643 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9276 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9644 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9277 | (eval $ac_try) 2>&5 |
9645 | (eval $ac_try) 2>&5 |
9278 | ac_status=$? |
9646 | ac_status=$? |
9279 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9647 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9648 | (exit $ac_status); }; } && |
|
|
9649 | { ac_try='test -s conftest$ac_exeext' |
|
|
9650 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9651 | (eval $ac_try) 2>&5 |
|
|
9652 | ac_status=$? |
|
|
9653 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9280 | (exit $ac_status); }; }; then |
9654 | (exit $ac_status); }; }; then |
9281 | ac_cv_lib_dl_dlopen=yes |
9655 | ac_cv_lib_dl_dlopen=yes |
9282 | else |
9656 | else |
9283 | echo "$as_me: failed program was:" >&5 |
9657 | echo "$as_me: failed program was:" >&5 |
9284 | sed 's/^/| /' conftest.$ac_ext >&5 |
9658 | sed 's/^/| /' conftest.$ac_ext >&5 |
9285 | |
9659 | |
9286 | ac_cv_lib_dl_dlopen=no |
9660 | ac_cv_lib_dl_dlopen=no |
9287 | fi |
9661 | fi |
9288 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9662 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9663 | conftest$ac_exeext conftest.$ac_ext |
9289 | LIBS=$ac_check_lib_save_LIBS |
9664 | LIBS=$ac_check_lib_save_LIBS |
9290 | fi |
9665 | fi |
9291 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
9666 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
9292 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
9667 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
9293 | if test $ac_cv_lib_dl_dlopen = yes; then |
9668 | if test $ac_cv_lib_dl_dlopen = yes; then |
… | |
… | |
9301 | |
9676 | |
9302 | |
9677 | |
9303 | fi |
9678 | fi |
9304 | |
9679 | |
9305 | |
9680 | |
|
|
9681 | if test "x$openssl_include" != x; then |
|
|
9682 | CXXFLAGS="$CXXFLAGS -I$openssl_include" |
|
|
9683 | fi |
|
|
9684 | |
|
|
9685 | # Check whether --enable-static-daemon or --disable-static-daemon was given. |
|
|
9686 | if test "${enable_static_daemon+set}" = set; then |
|
|
9687 | enableval="$enable_static_daemon" |
|
|
9688 | LDFLAGS_DAEMON=-static |
|
|
9689 | |
|
|
9690 | fi; |
|
|
9691 | |
9306 | |
9692 | |
9307 | # Check whether --enable-rohc or --disable-rohc was given. |
9693 | # Check whether --enable-rohc or --disable-rohc was given. |
9308 | if test "${enable_rohc+set}" = set; then |
9694 | if test "${enable_rohc+set}" = set; then |
9309 | enableval="$enable_rohc" |
9695 | enableval="$enable_rohc" |
9310 | |
9696 | |
9311 | echo |
9697 | echo |
9312 | echo "**********************************************************************" |
9698 | echo "**********************************************************************" |
9313 | echo "**********************************************************************" |
9699 | echo "**********************************************************************" |
9314 | echo "**** --enable-rohc not yet implemented *******************************" |
9700 | echo "**** --enable-rohc is highly experimental, do not use ****************" |
9315 | echo "**********************************************************************" |
|
|
9316 | echo "**** uuh sorry, I am such an ass, but I didn't find any rfc3095 (ROHC)" |
|
|
9317 | echo "**** implementation to be used in GPL code on the web." |
|
|
9318 | echo "**** so this option is just a fake. Please implement one and send it" |
|
|
9319 | echo "**** to me ;)" |
|
|
9320 | echo "**********************************************************************" |
|
|
9321 | echo "**********************************************************************" |
|
|
9322 | echo "**********************************************************************" |
9701 | echo "**********************************************************************" |
9323 | echo "**********************************************************************" |
9702 | echo "**********************************************************************" |
9324 | echo |
9703 | echo |
|
|
9704 | rohc=true |
|
|
9705 | |
|
|
9706 | cat >>confdefs.h <<_ACEOF |
|
|
9707 | #define ENABLE_ROHC 1 |
|
|
9708 | _ACEOF |
|
|
9709 | |
9325 | |
9710 | |
9326 | |
9711 | |
9327 | fi; |
9712 | fi; |
|
|
9713 | |
|
|
9714 | |
|
|
9715 | |
|
|
9716 | if test x$rohc = xtrue; then |
|
|
9717 | ROHC_TRUE= |
|
|
9718 | ROHC_FALSE='#' |
|
|
9719 | else |
|
|
9720 | ROHC_TRUE='#' |
|
|
9721 | ROHC_FALSE= |
|
|
9722 | fi |
|
|
9723 | |
9328 | |
9724 | |
9329 | # Check whether --enable-icmp or --disable-icmp was given. |
9725 | # Check whether --enable-icmp or --disable-icmp was given. |
9330 | if test "${enable_icmp+set}" = set; then |
9726 | if test "${enable_icmp+set}" = set; then |
9331 | enableval="$enable_icmp" |
9727 | enableval="$enable_icmp" |
9332 | |
9728 | |
… | |
… | |
9346 | _ACEOF |
9742 | _ACEOF |
9347 | |
9743 | |
9348 | |
9744 | |
9349 | fi; |
9745 | fi; |
9350 | |
9746 | |
|
|
9747 | # Check whether --enable-dns or --disable-dns was given. |
|
|
9748 | if test "${enable_dns+set}" = set; then |
|
|
9749 | enableval="$enable_dns" |
|
|
9750 | |
|
|
9751 | if test "${ac_cv_header_gmp_h+set}" = set; then |
|
|
9752 | echo "$as_me:$LINENO: checking for gmp.h" >&5 |
|
|
9753 | echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6 |
|
|
9754 | if test "${ac_cv_header_gmp_h+set}" = set; then |
|
|
9755 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9756 | fi |
|
|
9757 | echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5 |
|
|
9758 | echo "${ECHO_T}$ac_cv_header_gmp_h" >&6 |
|
|
9759 | else |
|
|
9760 | # Is the header compilable? |
|
|
9761 | echo "$as_me:$LINENO: checking gmp.h usability" >&5 |
|
|
9762 | echo $ECHO_N "checking gmp.h usability... $ECHO_C" >&6 |
|
|
9763 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9764 | /* confdefs.h. */ |
|
|
9765 | _ACEOF |
|
|
9766 | cat confdefs.h >>conftest.$ac_ext |
|
|
9767 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9768 | /* end confdefs.h. */ |
|
|
9769 | $ac_includes_default |
|
|
9770 | #include <gmp.h> |
|
|
9771 | _ACEOF |
|
|
9772 | rm -f conftest.$ac_objext |
|
|
9773 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
9774 | (eval $ac_compile) 2>conftest.er1 |
|
|
9775 | ac_status=$? |
|
|
9776 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9777 | rm -f conftest.er1 |
|
|
9778 | cat conftest.err >&5 |
|
|
9779 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9780 | (exit $ac_status); } && |
|
|
9781 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
9782 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9783 | (eval $ac_try) 2>&5 |
|
|
9784 | ac_status=$? |
|
|
9785 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9786 | (exit $ac_status); }; } && |
|
|
9787 | { ac_try='test -s conftest.$ac_objext' |
|
|
9788 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9789 | (eval $ac_try) 2>&5 |
|
|
9790 | ac_status=$? |
|
|
9791 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9792 | (exit $ac_status); }; }; then |
|
|
9793 | ac_header_compiler=yes |
|
|
9794 | else |
|
|
9795 | echo "$as_me: failed program was:" >&5 |
|
|
9796 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9797 | |
|
|
9798 | ac_header_compiler=no |
|
|
9799 | fi |
|
|
9800 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9801 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
9802 | echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
9803 | |
|
|
9804 | # Is the header present? |
|
|
9805 | echo "$as_me:$LINENO: checking gmp.h presence" >&5 |
|
|
9806 | echo $ECHO_N "checking gmp.h presence... $ECHO_C" >&6 |
|
|
9807 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9808 | /* confdefs.h. */ |
|
|
9809 | _ACEOF |
|
|
9810 | cat confdefs.h >>conftest.$ac_ext |
|
|
9811 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9812 | /* end confdefs.h. */ |
|
|
9813 | #include <gmp.h> |
|
|
9814 | _ACEOF |
|
|
9815 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
9816 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
9817 | ac_status=$? |
|
|
9818 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9819 | rm -f conftest.er1 |
|
|
9820 | cat conftest.err >&5 |
|
|
9821 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9822 | (exit $ac_status); } >/dev/null; then |
|
|
9823 | if test -s conftest.err; then |
|
|
9824 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
9825 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
9826 | else |
|
|
9827 | ac_cpp_err= |
|
|
9828 | fi |
|
|
9829 | else |
|
|
9830 | ac_cpp_err=yes |
|
|
9831 | fi |
|
|
9832 | if test -z "$ac_cpp_err"; then |
|
|
9833 | ac_header_preproc=yes |
|
|
9834 | else |
|
|
9835 | echo "$as_me: failed program was:" >&5 |
|
|
9836 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9837 | |
|
|
9838 | ac_header_preproc=no |
|
|
9839 | fi |
|
|
9840 | rm -f conftest.err conftest.$ac_ext |
|
|
9841 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
9842 | echo "${ECHO_T}$ac_header_preproc" >&6 |
|
|
9843 | |
|
|
9844 | # So? What about this header? |
|
|
9845 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
|
|
9846 | yes:no: ) |
|
|
9847 | { echo "$as_me:$LINENO: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
9848 | echo "$as_me: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
9849 | { echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the compiler's result" >&5 |
|
|
9850 | echo "$as_me: WARNING: gmp.h: proceeding with the compiler's result" >&2;} |
|
|
9851 | ac_header_preproc=yes |
|
|
9852 | ;; |
|
|
9853 | no:yes:* ) |
|
|
9854 | { echo "$as_me:$LINENO: WARNING: gmp.h: present but cannot be compiled" >&5 |
|
|
9855 | echo "$as_me: WARNING: gmp.h: present but cannot be compiled" >&2;} |
|
|
9856 | { echo "$as_me:$LINENO: WARNING: gmp.h: check for missing prerequisite headers?" >&5 |
|
|
9857 | echo "$as_me: WARNING: gmp.h: check for missing prerequisite headers?" >&2;} |
|
|
9858 | { echo "$as_me:$LINENO: WARNING: gmp.h: see the Autoconf documentation" >&5 |
|
|
9859 | echo "$as_me: WARNING: gmp.h: see the Autoconf documentation" >&2;} |
|
|
9860 | { echo "$as_me:$LINENO: WARNING: gmp.h: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
9861 | echo "$as_me: WARNING: gmp.h: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
9862 | { echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the preprocessor's result" >&5 |
|
|
9863 | echo "$as_me: WARNING: gmp.h: proceeding with the preprocessor's result" >&2;} |
|
|
9864 | { echo "$as_me:$LINENO: WARNING: gmp.h: in the future, the compiler will take precedence" >&5 |
|
|
9865 | echo "$as_me: WARNING: gmp.h: in the future, the compiler will take precedence" >&2;} |
|
|
9866 | ( |
|
|
9867 | cat <<\_ASBOX |
|
|
9868 | ## ------------------------------------------ ## |
|
|
9869 | ## Report this to the AC_PACKAGE_NAME lists. ## |
|
|
9870 | ## ------------------------------------------ ## |
|
|
9871 | _ASBOX |
|
|
9872 | ) | |
|
|
9873 | sed "s/^/$as_me: WARNING: /" >&2 |
|
|
9874 | ;; |
|
|
9875 | esac |
|
|
9876 | echo "$as_me:$LINENO: checking for gmp.h" >&5 |
|
|
9877 | echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6 |
|
|
9878 | if test "${ac_cv_header_gmp_h+set}" = set; then |
|
|
9879 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9880 | else |
|
|
9881 | ac_cv_header_gmp_h=$ac_header_preproc |
|
|
9882 | fi |
|
|
9883 | echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5 |
|
|
9884 | echo "${ECHO_T}$ac_cv_header_gmp_h" >&6 |
|
|
9885 | |
|
|
9886 | fi |
|
|
9887 | if test $ac_cv_header_gmp_h = yes; then |
|
|
9888 | : |
|
|
9889 | else |
|
|
9890 | { { echo "$as_me:$LINENO: error: gmp.h not found, required for --enable-dns" >&5 |
|
|
9891 | echo "$as_me: error: gmp.h not found, required for --enable-dns" >&2;} |
|
|
9892 | { (exit 1); exit 1; }; } |
|
|
9893 | fi |
|
|
9894 | |
|
|
9895 | |
|
|
9896 | |
|
|
9897 | echo "$as_me:$LINENO: checking for main in -lgmp" >&5 |
|
|
9898 | echo $ECHO_N "checking for main in -lgmp... $ECHO_C" >&6 |
|
|
9899 | if test "${ac_cv_lib_gmp_main+set}" = set; then |
|
|
9900 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9901 | else |
|
|
9902 | ac_check_lib_save_LIBS=$LIBS |
|
|
9903 | LIBS="-lgmp $LIBS" |
|
|
9904 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9905 | /* confdefs.h. */ |
|
|
9906 | _ACEOF |
|
|
9907 | cat confdefs.h >>conftest.$ac_ext |
|
|
9908 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9909 | /* end confdefs.h. */ |
|
|
9910 | |
|
|
9911 | |
|
|
9912 | int |
|
|
9913 | main () |
|
|
9914 | { |
|
|
9915 | main (); |
|
|
9916 | ; |
|
|
9917 | return 0; |
|
|
9918 | } |
|
|
9919 | _ACEOF |
|
|
9920 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9921 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
9922 | (eval $ac_link) 2>conftest.er1 |
|
|
9923 | ac_status=$? |
|
|
9924 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9925 | rm -f conftest.er1 |
|
|
9926 | cat conftest.err >&5 |
|
|
9927 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9928 | (exit $ac_status); } && |
|
|
9929 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
9930 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9931 | (eval $ac_try) 2>&5 |
|
|
9932 | ac_status=$? |
|
|
9933 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9934 | (exit $ac_status); }; } && |
|
|
9935 | { ac_try='test -s conftest$ac_exeext' |
|
|
9936 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9937 | (eval $ac_try) 2>&5 |
|
|
9938 | ac_status=$? |
|
|
9939 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9940 | (exit $ac_status); }; }; then |
|
|
9941 | ac_cv_lib_gmp_main=yes |
|
|
9942 | else |
|
|
9943 | echo "$as_me: failed program was:" >&5 |
|
|
9944 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9945 | |
|
|
9946 | ac_cv_lib_gmp_main=no |
|
|
9947 | fi |
|
|
9948 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9949 | conftest$ac_exeext conftest.$ac_ext |
|
|
9950 | LIBS=$ac_check_lib_save_LIBS |
|
|
9951 | fi |
|
|
9952 | echo "$as_me:$LINENO: result: $ac_cv_lib_gmp_main" >&5 |
|
|
9953 | echo "${ECHO_T}$ac_cv_lib_gmp_main" >&6 |
|
|
9954 | if test $ac_cv_lib_gmp_main = yes; then |
|
|
9955 | cat >>confdefs.h <<_ACEOF |
|
|
9956 | #define HAVE_LIBGMP 1 |
|
|
9957 | _ACEOF |
|
|
9958 | |
|
|
9959 | LIBS="-lgmp $LIBS" |
|
|
9960 | |
|
|
9961 | else |
|
|
9962 | { { echo "$as_me:$LINENO: error: libgmp not found, required for --enable-dns" >&5 |
|
|
9963 | echo "$as_me: error: libgmp not found, required for --enable-dns" >&2;} |
|
|
9964 | { (exit 1); exit 1; }; } |
|
|
9965 | fi |
|
|
9966 | |
|
|
9967 | |
|
|
9968 | |
|
|
9969 | cat >>confdefs.h <<_ACEOF |
|
|
9970 | #define ENABLE_DNS 1 |
|
|
9971 | _ACEOF |
|
|
9972 | |
|
|
9973 | |
|
|
9974 | |
|
|
9975 | fi; |
|
|
9976 | |
9351 | # Check whether --enable-http-proxy or --disable-http-proxy was given. |
9977 | # Check whether --enable-http-proxy or --disable-http-proxy was given. |
9352 | if test "${enable_http_proxy+set}" = set; then |
9978 | if test "${enable_http_proxy+set}" = set; then |
9353 | enableval="$enable_http_proxy" |
9979 | enableval="$enable_http_proxy" |
9354 | |
9980 | |
9355 | cat >>confdefs.h <<_ACEOF |
9981 | cat >>confdefs.h <<_ACEOF |
… | |
… | |
9357 | _ACEOF |
9983 | _ACEOF |
9358 | |
9984 | |
9359 | |
9985 | |
9360 | fi; |
9986 | fi; |
9361 | |
9987 | |
|
|
9988 | HMAC=12 |
9362 | HMAC=12 # Check whether --enable-hmac-length or --disable-hmac-length was given. |
9989 | # Check whether --enable-hmac-length or --disable-hmac-length was given. |
9363 | if test "${enable_hmac_length+set}" = set; then |
9990 | if test "${enable_hmac_length+set}" = set; then |
9364 | enableval="$enable_hmac_length" |
9991 | enableval="$enable_hmac_length" |
9365 | HMAC=$enableval |
9992 | HMAC=$enableval |
9366 | |
9993 | |
9367 | fi; |
9994 | fi; |
… | |
… | |
9369 | cat >>confdefs.h <<_ACEOF |
9996 | cat >>confdefs.h <<_ACEOF |
9370 | #define HMACLENGTH $HMAC |
9997 | #define HMACLENGTH $HMAC |
9371 | _ACEOF |
9998 | _ACEOF |
9372 | |
9999 | |
9373 | |
10000 | |
|
|
10001 | RAND=8 |
9374 | RAND=8 # Check whether --enable-rand-length or --disable-rand-length was given. |
10002 | # Check whether --enable-rand-length or --disable-rand-length was given. |
9375 | if test "${enable_rand_length+set}" = set; then |
10003 | if test "${enable_rand_length+set}" = set; then |
9376 | enableval="$enable_rand_length" |
10004 | enableval="$enable_rand_length" |
9377 | RAND=$enableval |
10005 | RAND=$enableval |
9378 | |
10006 | |
9379 | fi; |
10007 | fi; |
… | |
… | |
9381 | cat >>confdefs.h <<_ACEOF |
10009 | cat >>confdefs.h <<_ACEOF |
9382 | #define RAND_SIZE $RAND |
10010 | #define RAND_SIZE $RAND |
9383 | _ACEOF |
10011 | _ACEOF |
9384 | |
10012 | |
9385 | |
10013 | |
|
|
10014 | MTU=1500 |
9386 | MTU=1500 # Check whether --enable-mtu or --disable-mtu was given. |
10015 | # Check whether --enable-mtu or --disable-mtu was given. |
9387 | if test "${enable_mtu+set}" = set; then |
10016 | if test "${enable_mtu+set}" = set; then |
9388 | enableval="$enable_mtu" |
10017 | enableval="$enable_mtu" |
9389 | MTU=$enableval |
10018 | MTU=$enableval |
9390 | |
10019 | |
9391 | fi; |
10020 | fi; |
… | |
… | |
9448 | |
10077 | |
9449 | if $CXX -v --help 2>&1 | grep -q fexceptions; then |
10078 | if $CXX -v --help 2>&1 | grep -q fexceptions; then |
9450 | CXXFLAGS="$CXXFLAGS -fno-exceptions" |
10079 | CXXFLAGS="$CXXFLAGS -fno-exceptions" |
9451 | fi |
10080 | fi |
9452 | |
10081 | |
9453 | if $CXX -v --help 2>&1 | grep -q ffunction-sections; then |
|
|
9454 | CXXFLAGS="$CXXFLAGS -ffunction-sections" |
|
|
9455 | fi |
|
|
9456 | |
|
|
9457 | if $LD -v --help 2>&1 | grep -q gc-sections; then |
|
|
9458 | LDFLAGS="$LDFLAGS -Wl,--gc-sections" |
|
|
9459 | fi |
|
|
9460 | |
10082 | |
9461 | |
10083 | |
9462 | |
10084 | |
9463 | |
10085 | |
9464 | |
10086 | |
9465 | ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile doc/Makefile lib/Makefile m4/Makefile" |
10087 | ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile doc/Makefile lib/Makefile m4/Makefile" |
|
|
10088 | |
9466 | cat >confcache <<\_ACEOF |
10089 | cat >confcache <<\_ACEOF |
9467 | # This file is a shell script that caches the results of configure |
10090 | # This file is a shell script that caches the results of configure |
9468 | # tests run on this system so they can be shared between configure |
10091 | # tests run on this system so they can be shared between configure |
9469 | # scripts and configure runs, see configure's option --config-cache. |
10092 | # scripts and configure runs, see configure's option --config-cache. |
9470 | # It is not useful on other systems. If it contains results you don't |
10093 | # It is not useful on other systems. If it contains results you don't |
… | |
… | |
9489 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
10112 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
9490 | *ac_space=\ *) |
10113 | *ac_space=\ *) |
9491 | # `set' does not quote correctly, so add quotes (double-quote |
10114 | # `set' does not quote correctly, so add quotes (double-quote |
9492 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
10115 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
9493 | sed -n \ |
10116 | sed -n \ |
9494 | "s/'/'\\\\''/g; |
10117 | "s/'/'\\\\''/g; |
9495 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
10118 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
9496 | ;; |
10119 | ;; |
9497 | *) |
10120 | *) |
9498 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
10121 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
9499 | sed -n \ |
10122 | sed -n \ |
9500 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
10123 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
9501 | ;; |
10124 | ;; |
9502 | esac; |
10125 | esac; |
9503 | } | |
10126 | } | |
9504 | sed ' |
10127 | sed ' |
9505 | t clear |
10128 | t clear |
… | |
… | |
9525 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
10148 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
9526 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
10149 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
9527 | # trailing colons and then remove the whole line if VPATH becomes empty |
10150 | # trailing colons and then remove the whole line if VPATH becomes empty |
9528 | # (actually we leave an empty line to preserve line numbers). |
10151 | # (actually we leave an empty line to preserve line numbers). |
9529 | if test "x$srcdir" = x.; then |
10152 | if test "x$srcdir" = x.; then |
9530 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
10153 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
9531 | s/:*\$(srcdir):*/:/; |
10154 | s/:*\$(srcdir):*/:/; |
9532 | s/:*\${srcdir}:*/:/; |
10155 | s/:*\${srcdir}:*/:/; |
9533 | s/:*@srcdir@:*/:/; |
10156 | s/:*@srcdir@:*/:/; |
9534 | s/^\([^=]*=[ ]*\):*/\1/; |
10157 | s/^\([^=]*=[ ]*\):*/\1/; |
9535 | s/:*$//; |
10158 | s/:*$//; |
9536 | s/^[^=]*=[ ]*$//; |
10159 | s/^[^=]*=[ ]*$//; |
9537 | }' |
10160 | }' |
9538 | fi |
10161 | fi |
9539 | |
10162 | |
9540 | DEFS=-DHAVE_CONFIG_H |
10163 | DEFS=-DHAVE_CONFIG_H |
9541 | |
10164 | |
9542 | ac_libobjs= |
10165 | ac_libobjs= |
9543 | ac_ltlibobjs= |
10166 | ac_ltlibobjs= |
9544 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
10167 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
9545 | # 1. Remove the extension, and $U if already installed. |
10168 | # 1. Remove the extension, and $U if already installed. |
9546 | ac_i=`echo "$ac_i" | |
10169 | ac_i=`echo "$ac_i" | |
9547 | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
10170 | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
9548 | # 2. Add them. |
10171 | # 2. Add them. |
9549 | ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
10172 | ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
9550 | ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
10173 | ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
9551 | done |
10174 | done |
9552 | LIBOBJS=$ac_libobjs |
10175 | LIBOBJS=$ac_libobjs |
… | |
… | |
9584 | fi |
10207 | fi |
9585 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
10208 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
9586 | { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. |
10209 | { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. |
9587 | Usually this means the macro was only invoked conditionally." >&5 |
10210 | Usually this means the macro was only invoked conditionally." >&5 |
9588 | echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. |
10211 | echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. |
|
|
10212 | Usually this means the macro was only invoked conditionally." >&2;} |
|
|
10213 | { (exit 1); exit 1; }; } |
|
|
10214 | fi |
|
|
10215 | if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then |
|
|
10216 | { { echo "$as_me:$LINENO: error: conditional \"ROHC\" was never defined. |
|
|
10217 | Usually this means the macro was only invoked conditionally." >&5 |
|
|
10218 | echo "$as_me: error: conditional \"ROHC\" was never defined. |
9589 | Usually this means the macro was only invoked conditionally." >&2;} |
10219 | Usually this means the macro was only invoked conditionally." >&2;} |
9590 | { (exit 1); exit 1; }; } |
10220 | { (exit 1); exit 1; }; } |
9591 | fi |
10221 | fi |
9592 | |
10222 | |
9593 | : ${CONFIG_STATUS=./config.status} |
10223 | : ${CONFIG_STATUS=./config.status} |
… | |
… | |
9621 | # is contrary to our usage. Disable this feature. |
10251 | # is contrary to our usage. Disable this feature. |
9622 | alias -g '${1+"$@"}'='"$@"' |
10252 | alias -g '${1+"$@"}'='"$@"' |
9623 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
10253 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
9624 | set -o posix |
10254 | set -o posix |
9625 | fi |
10255 | fi |
|
|
10256 | DUALCASE=1; export DUALCASE # for MKS sh |
9626 | |
10257 | |
9627 | # Support unset when possible. |
10258 | # Support unset when possible. |
9628 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
10259 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
9629 | as_unset=unset |
10260 | as_unset=unset |
9630 | else |
10261 | else |
9631 | as_unset=false |
10262 | as_unset=false |
9632 | fi |
10263 | fi |
9633 | |
10264 | |
… | |
… | |
9642 | for as_var in \ |
10273 | for as_var in \ |
9643 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
10274 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
9644 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
10275 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
9645 | LC_TELEPHONE LC_TIME |
10276 | LC_TELEPHONE LC_TIME |
9646 | do |
10277 | do |
9647 | if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
10278 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
9648 | eval $as_var=C; export $as_var |
10279 | eval $as_var=C; export $as_var |
9649 | else |
10280 | else |
9650 | $as_unset $as_var |
10281 | $as_unset $as_var |
9651 | fi |
10282 | fi |
9652 | done |
10283 | done |
… | |
… | |
9821 | rm -f conf$$ conf$$.exe conf$$.file |
10452 | rm -f conf$$ conf$$.exe conf$$.file |
9822 | |
10453 | |
9823 | if mkdir -p . 2>/dev/null; then |
10454 | if mkdir -p . 2>/dev/null; then |
9824 | as_mkdir_p=: |
10455 | as_mkdir_p=: |
9825 | else |
10456 | else |
|
|
10457 | test -d ./-p && rmdir ./-p |
9826 | as_mkdir_p=false |
10458 | as_mkdir_p=false |
9827 | fi |
10459 | fi |
9828 | |
10460 | |
9829 | as_executable_p="test -f" |
10461 | as_executable_p="test -f" |
9830 | |
10462 | |
9831 | # Sed expression to map a string onto a valid CPP name. |
10463 | # Sed expression to map a string onto a valid CPP name. |
9832 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
10464 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
9833 | |
10465 | |
9834 | # Sed expression to map a string onto a valid variable name. |
10466 | # Sed expression to map a string onto a valid variable name. |
9835 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
10467 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
9836 | |
10468 | |
9837 | |
10469 | |
9838 | # IFS |
10470 | # IFS |
9839 | # We need space, tab and new line, in precisely that order. |
10471 | # We need space, tab and new line, in precisely that order. |
9840 | as_nl=' |
10472 | as_nl=' |
… | |
… | |
9857 | _ASBOX |
10489 | _ASBOX |
9858 | } >&5 |
10490 | } >&5 |
9859 | cat >&5 <<_CSEOF |
10491 | cat >&5 <<_CSEOF |
9860 | |
10492 | |
9861 | This file was extended by $as_me, which was |
10493 | This file was extended by $as_me, which was |
9862 | generated by GNU Autoconf 2.57. Invocation command line was |
10494 | generated by GNU Autoconf 2.59. Invocation command line was |
9863 | |
10495 | |
9864 | CONFIG_FILES = $CONFIG_FILES |
10496 | CONFIG_FILES = $CONFIG_FILES |
9865 | CONFIG_HEADERS = $CONFIG_HEADERS |
10497 | CONFIG_HEADERS = $CONFIG_HEADERS |
9866 | CONFIG_LINKS = $CONFIG_LINKS |
10498 | CONFIG_LINKS = $CONFIG_LINKS |
9867 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
10499 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
… | |
… | |
9901 | -V, --version print version number, then exit |
10533 | -V, --version print version number, then exit |
9902 | -q, --quiet do not print progress messages |
10534 | -q, --quiet do not print progress messages |
9903 | -d, --debug don't remove temporary files |
10535 | -d, --debug don't remove temporary files |
9904 | --recheck update $as_me by reconfiguring in the same conditions |
10536 | --recheck update $as_me by reconfiguring in the same conditions |
9905 | --file=FILE[:TEMPLATE] |
10537 | --file=FILE[:TEMPLATE] |
9906 | instantiate the configuration file FILE |
10538 | instantiate the configuration file FILE |
9907 | --header=FILE[:TEMPLATE] |
10539 | --header=FILE[:TEMPLATE] |
9908 | instantiate the configuration header FILE |
10540 | instantiate the configuration header FILE |
9909 | |
10541 | |
9910 | Configuration files: |
10542 | Configuration files: |
9911 | $config_files |
10543 | $config_files |
9912 | |
10544 | |
9913 | Configuration headers: |
10545 | Configuration headers: |
… | |
… | |
9920 | _ACEOF |
10552 | _ACEOF |
9921 | |
10553 | |
9922 | cat >>$CONFIG_STATUS <<_ACEOF |
10554 | cat >>$CONFIG_STATUS <<_ACEOF |
9923 | ac_cs_version="\\ |
10555 | ac_cs_version="\\ |
9924 | config.status |
10556 | config.status |
9925 | configured by $0, generated by GNU Autoconf 2.57, |
10557 | configured by $0, generated by GNU Autoconf 2.59, |
9926 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
10558 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
9927 | |
10559 | |
9928 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
|
|
9929 | Free Software Foundation, Inc. |
10560 | Copyright (C) 2003 Free Software Foundation, Inc. |
9930 | This config.status script is free software; the Free Software Foundation |
10561 | This config.status script is free software; the Free Software Foundation |
9931 | gives unlimited permission to copy, distribute and modify it." |
10562 | gives unlimited permission to copy, distribute and modify it." |
9932 | srcdir=$srcdir |
10563 | srcdir=$srcdir |
9933 | INSTALL="$INSTALL" |
10564 | INSTALL="$INSTALL" |
9934 | _ACEOF |
10565 | _ACEOF |
… | |
… | |
10210 | s,@IFSUBTYPE@,$IFSUBTYPE,;t t |
10841 | s,@IFSUBTYPE@,$IFSUBTYPE,;t t |
10211 | s,@CXXCPP@,$CXXCPP,;t t |
10842 | s,@CXXCPP@,$CXXCPP,;t t |
10212 | s,@ALLOCA@,$ALLOCA,;t t |
10843 | s,@ALLOCA@,$ALLOCA,;t t |
10213 | s,@LINUX_IF_TUN_H@,$LINUX_IF_TUN_H,;t t |
10844 | s,@LINUX_IF_TUN_H@,$LINUX_IF_TUN_H,;t t |
10214 | s,@HAVE_TUNTAP@,$HAVE_TUNTAP,;t t |
10845 | s,@HAVE_TUNTAP@,$HAVE_TUNTAP,;t t |
|
|
10846 | s,@LDFLAGS_DAEMON@,$LDFLAGS_DAEMON,;t t |
|
|
10847 | s,@ROHC_TRUE@,$ROHC_TRUE,;t t |
|
|
10848 | s,@ROHC_FALSE@,$ROHC_FALSE,;t t |
10215 | s,@INCLUDES@,$INCLUDES,;t t |
10849 | s,@INCLUDES@,$INCLUDES,;t t |
10216 | s,@LIBOBJS@,$LIBOBJS,;t t |
10850 | s,@LIBOBJS@,$LIBOBJS,;t t |
10217 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
10851 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
10218 | CEOF |
10852 | CEOF |
10219 | |
10853 | |
… | |
… | |
10242 | # is no need to browse any of the substitutions). |
10876 | # is no need to browse any of the substitutions). |
10243 | # These are the two extra sed commands mentioned above. |
10877 | # These are the two extra sed commands mentioned above. |
10244 | (echo ':t |
10878 | (echo ':t |
10245 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
10879 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
10246 | if test -z "$ac_sed_cmds"; then |
10880 | if test -z "$ac_sed_cmds"; then |
10247 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
10881 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
10248 | else |
10882 | else |
10249 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
10883 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
10250 | fi |
10884 | fi |
10251 | ac_sed_frag=`expr $ac_sed_frag + 1` |
10885 | ac_sed_frag=`expr $ac_sed_frag + 1` |
10252 | ac_beg=$ac_end |
10886 | ac_beg=$ac_end |
10253 | ac_end=`expr $ac_end + $ac_max_sed_lines` |
10887 | ac_end=`expr $ac_end + $ac_max_sed_lines` |
10254 | fi |
10888 | fi |
… | |
… | |
10262 | cat >>$CONFIG_STATUS <<\_ACEOF |
10896 | cat >>$CONFIG_STATUS <<\_ACEOF |
10263 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
10897 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
10264 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
10898 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
10265 | case $ac_file in |
10899 | case $ac_file in |
10266 | - | *:- | *:-:* ) # input from stdin |
10900 | - | *:- | *:-:* ) # input from stdin |
10267 | cat >$tmp/stdin |
10901 | cat >$tmp/stdin |
10268 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
10902 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
10269 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
10903 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
10270 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
10904 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
10271 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
10905 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
10272 | * ) ac_file_in=$ac_file.in ;; |
10906 | * ) ac_file_in=$ac_file.in ;; |
10273 | esac |
10907 | esac |
10274 | |
10908 | |
10275 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
10909 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
10276 | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
10910 | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
10277 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10911 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10278 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
10912 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
10279 | X"$ac_file" : 'X\(//\)$' \| \ |
10913 | X"$ac_file" : 'X\(//\)$' \| \ |
10280 | X"$ac_file" : 'X\(/\)' \| \ |
10914 | X"$ac_file" : 'X\(/\)' \| \ |
10281 | . : '\(.\)' 2>/dev/null || |
10915 | . : '\(.\)' 2>/dev/null || |
10282 | echo X"$ac_file" | |
10916 | echo X"$ac_file" | |
10283 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10917 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10284 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10918 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10285 | /^X\(\/\/\)$/{ s//\1/; q; } |
10919 | /^X\(\/\/\)$/{ s//\1/; q; } |
10286 | /^X\(\/\).*/{ s//\1/; q; } |
10920 | /^X\(\/\).*/{ s//\1/; q; } |
… | |
… | |
10292 | as_dirs= |
10926 | as_dirs= |
10293 | while test ! -d "$as_dir"; do |
10927 | while test ! -d "$as_dir"; do |
10294 | as_dirs="$as_dir $as_dirs" |
10928 | as_dirs="$as_dir $as_dirs" |
10295 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
10929 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
10296 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10930 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10297 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
10931 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
10298 | X"$as_dir" : 'X\(//\)$' \| \ |
10932 | X"$as_dir" : 'X\(//\)$' \| \ |
10299 | X"$as_dir" : 'X\(/\)' \| \ |
10933 | X"$as_dir" : 'X\(/\)' \| \ |
10300 | . : '\(.\)' 2>/dev/null || |
10934 | . : '\(.\)' 2>/dev/null || |
10301 | echo X"$as_dir" | |
10935 | echo X"$as_dir" | |
10302 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10936 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10303 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10937 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10304 | /^X\(\/\/\)$/{ s//\1/; q; } |
10938 | /^X\(\/\/\)$/{ s//\1/; q; } |
10305 | /^X\(\/\).*/{ s//\1/; q; } |
10939 | /^X\(\/\).*/{ s//\1/; q; } |
… | |
… | |
10333 | ac_top_srcdir=$srcdir ;; |
10967 | ac_top_srcdir=$srcdir ;; |
10334 | *) # Relative path. |
10968 | *) # Relative path. |
10335 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
10969 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
10336 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
10970 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
10337 | esac |
10971 | esac |
10338 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
10972 | |
10339 | # absolute. |
10973 | # Do not use `cd foo && pwd` to compute absolute paths, because |
10340 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
10974 | # the directories may not exist. |
10341 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
10975 | case `pwd` in |
10342 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
10976 | .) ac_abs_builddir="$ac_dir";; |
10343 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
10977 | *) |
|
|
10978 | case "$ac_dir" in |
|
|
10979 | .) ac_abs_builddir=`pwd`;; |
|
|
10980 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
|
|
10981 | *) ac_abs_builddir=`pwd`/"$ac_dir";; |
|
|
10982 | esac;; |
|
|
10983 | esac |
|
|
10984 | case $ac_abs_builddir in |
|
|
10985 | .) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
|
10986 | *) |
|
|
10987 | case ${ac_top_builddir}. in |
|
|
10988 | .) ac_abs_top_builddir=$ac_abs_builddir;; |
|
|
10989 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
|
10990 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
|
|
10991 | esac;; |
|
|
10992 | esac |
|
|
10993 | case $ac_abs_builddir in |
|
|
10994 | .) ac_abs_srcdir=$ac_srcdir;; |
|
|
10995 | *) |
|
|
10996 | case $ac_srcdir in |
|
|
10997 | .) ac_abs_srcdir=$ac_abs_builddir;; |
|
|
10998 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
|
|
10999 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
|
|
11000 | esac;; |
|
|
11001 | esac |
|
|
11002 | case $ac_abs_builddir in |
|
|
11003 | .) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
|
11004 | *) |
|
|
11005 | case $ac_top_srcdir in |
|
|
11006 | .) ac_abs_top_srcdir=$ac_abs_builddir;; |
|
|
11007 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
|
11008 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
|
|
11009 | esac;; |
|
|
11010 | esac |
10344 | |
11011 | |
10345 | |
11012 | |
10346 | case $INSTALL in |
11013 | case $INSTALL in |
10347 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
11014 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
10348 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
11015 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
10349 | esac |
11016 | esac |
10350 | |
11017 | |
10351 | if test x"$ac_file" != x-; then |
|
|
10352 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
|
10353 | echo "$as_me: creating $ac_file" >&6;} |
|
|
10354 | rm -f "$ac_file" |
|
|
10355 | fi |
|
|
10356 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
11018 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
10357 | # use $as_me), people would be surprised to read: |
11019 | # use $as_me), people would be surprised to read: |
10358 | # /* config.h. Generated by config.status. */ |
11020 | # /* config.h. Generated by config.status. */ |
10359 | if test x"$ac_file" = x-; then |
11021 | if test x"$ac_file" = x-; then |
10360 | configure_input= |
11022 | configure_input= |
10361 | else |
11023 | else |
10362 | configure_input="$ac_file. " |
11024 | configure_input="$ac_file. " |
10363 | fi |
11025 | fi |
10364 | configure_input=$configure_input"Generated from `echo $ac_file_in | |
11026 | configure_input=$configure_input"Generated from `echo $ac_file_in | |
10365 | sed 's,.*/,,'` by configure." |
11027 | sed 's,.*/,,'` by configure." |
10366 | |
11028 | |
10367 | # First look for the input files in the build tree, otherwise in the |
11029 | # First look for the input files in the build tree, otherwise in the |
10368 | # src tree. |
11030 | # src tree. |
10369 | ac_file_inputs=`IFS=: |
11031 | ac_file_inputs=`IFS=: |
10370 | for f in $ac_file_in; do |
11032 | for f in $ac_file_in; do |
10371 | case $f in |
11033 | case $f in |
10372 | -) echo $tmp/stdin ;; |
11034 | -) echo $tmp/stdin ;; |
10373 | [\\/$]*) |
11035 | [\\/$]*) |
10374 | # Absolute (can't be DOS-style, as IFS=:) |
11036 | # Absolute (can't be DOS-style, as IFS=:) |
10375 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
11037 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
10376 | echo "$as_me: error: cannot find input file: $f" >&2;} |
11038 | echo "$as_me: error: cannot find input file: $f" >&2;} |
10377 | { (exit 1); exit 1; }; } |
11039 | { (exit 1); exit 1; }; } |
10378 | echo $f;; |
11040 | echo "$f";; |
10379 | *) # Relative |
11041 | *) # Relative |
10380 | if test -f "$f"; then |
11042 | if test -f "$f"; then |
10381 | # Build tree |
11043 | # Build tree |
10382 | echo $f |
11044 | echo "$f" |
10383 | elif test -f "$srcdir/$f"; then |
11045 | elif test -f "$srcdir/$f"; then |
10384 | # Source tree |
11046 | # Source tree |
10385 | echo $srcdir/$f |
11047 | echo "$srcdir/$f" |
10386 | else |
11048 | else |
10387 | # /dev/null tree |
11049 | # /dev/null tree |
10388 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
11050 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
10389 | echo "$as_me: error: cannot find input file: $f" >&2;} |
11051 | echo "$as_me: error: cannot find input file: $f" >&2;} |
10390 | { (exit 1); exit 1; }; } |
11052 | { (exit 1); exit 1; }; } |
10391 | fi;; |
11053 | fi;; |
10392 | esac |
11054 | esac |
10393 | done` || { (exit 1); exit 1; } |
11055 | done` || { (exit 1); exit 1; } |
|
|
11056 | |
|
|
11057 | if test x"$ac_file" != x-; then |
|
|
11058 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
|
11059 | echo "$as_me: creating $ac_file" >&6;} |
|
|
11060 | rm -f "$ac_file" |
|
|
11061 | fi |
10394 | _ACEOF |
11062 | _ACEOF |
10395 | cat >>$CONFIG_STATUS <<_ACEOF |
11063 | cat >>$CONFIG_STATUS <<_ACEOF |
10396 | sed "$ac_vpsub |
11064 | sed "$ac_vpsub |
10397 | $extrasub |
11065 | $extrasub |
10398 | _ACEOF |
11066 | _ACEOF |
… | |
… | |
10428 | |
11096 | |
10429 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
11097 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
10430 | # NAME is the cpp macro being defined and VALUE is the value it is being given. |
11098 | # NAME is the cpp macro being defined and VALUE is the value it is being given. |
10431 | # |
11099 | # |
10432 | # ac_d sets the value in "#define NAME VALUE" lines. |
11100 | # ac_d sets the value in "#define NAME VALUE" lines. |
10433 | ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
11101 | ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
10434 | ac_dB='[ ].*$,\1#\2' |
11102 | ac_dB='[ ].*$,\1#\2' |
10435 | ac_dC=' ' |
11103 | ac_dC=' ' |
10436 | ac_dD=',;t' |
11104 | ac_dD=',;t' |
10437 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
11105 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
10438 | ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
11106 | ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
10439 | ac_uB='$,\1#\2define\3' |
11107 | ac_uB='$,\1#\2define\3' |
10440 | ac_uC=' ' |
11108 | ac_uC=' ' |
10441 | ac_uD=',;t' |
11109 | ac_uD=',;t' |
10442 | |
11110 | |
10443 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue |
11111 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue |
10444 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
11112 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
10445 | case $ac_file in |
11113 | case $ac_file in |
10446 | - | *:- | *:-:* ) # input from stdin |
11114 | - | *:- | *:-:* ) # input from stdin |
10447 | cat >$tmp/stdin |
11115 | cat >$tmp/stdin |
10448 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
11116 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
10449 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
11117 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
10450 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
11118 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
10451 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
11119 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
10452 | * ) ac_file_in=$ac_file.in ;; |
11120 | * ) ac_file_in=$ac_file.in ;; |
10453 | esac |
11121 | esac |
10454 | |
11122 | |
10455 | test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
11123 | test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
10456 | echo "$as_me: creating $ac_file" >&6;} |
11124 | echo "$as_me: creating $ac_file" >&6;} |
… | |
… | |
10460 | ac_file_inputs=`IFS=: |
11128 | ac_file_inputs=`IFS=: |
10461 | for f in $ac_file_in; do |
11129 | for f in $ac_file_in; do |
10462 | case $f in |
11130 | case $f in |
10463 | -) echo $tmp/stdin ;; |
11131 | -) echo $tmp/stdin ;; |
10464 | [\\/$]*) |
11132 | [\\/$]*) |
10465 | # Absolute (can't be DOS-style, as IFS=:) |
11133 | # Absolute (can't be DOS-style, as IFS=:) |
10466 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
11134 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
10467 | echo "$as_me: error: cannot find input file: $f" >&2;} |
11135 | echo "$as_me: error: cannot find input file: $f" >&2;} |
10468 | { (exit 1); exit 1; }; } |
11136 | { (exit 1); exit 1; }; } |
10469 | echo $f;; |
11137 | # Do quote $f, to prevent DOS paths from being IFS'd. |
|
|
11138 | echo "$f";; |
10470 | *) # Relative |
11139 | *) # Relative |
10471 | if test -f "$f"; then |
11140 | if test -f "$f"; then |
10472 | # Build tree |
11141 | # Build tree |
10473 | echo $f |
11142 | echo "$f" |
10474 | elif test -f "$srcdir/$f"; then |
11143 | elif test -f "$srcdir/$f"; then |
10475 | # Source tree |
11144 | # Source tree |
10476 | echo $srcdir/$f |
11145 | echo "$srcdir/$f" |
10477 | else |
11146 | else |
10478 | # /dev/null tree |
11147 | # /dev/null tree |
10479 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
11148 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
10480 | echo "$as_me: error: cannot find input file: $f" >&2;} |
11149 | echo "$as_me: error: cannot find input file: $f" >&2;} |
10481 | { (exit 1); exit 1; }; } |
11150 | { (exit 1); exit 1; }; } |
10482 | fi;; |
11151 | fi;; |
10483 | esac |
11152 | esac |
10484 | done` || { (exit 1); exit 1; } |
11153 | done` || { (exit 1); exit 1; } |
10485 | # Remove the trailing spaces. |
11154 | # Remove the trailing spaces. |
10486 | sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
11155 | sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
10487 | |
11156 | |
10488 | _ACEOF |
11157 | _ACEOF |
10489 | |
11158 | |
10490 | # Transform confdefs.h into two sed scripts, `conftest.defines' and |
11159 | # Transform confdefs.h into two sed scripts, `conftest.defines' and |
10491 | # `conftest.undefs', that substitutes the proper values into |
11160 | # `conftest.undefs', that substitutes the proper values into |
… | |
… | |
10504 | cat >confdef2sed.sed <<\_ACEOF |
11173 | cat >confdef2sed.sed <<\_ACEOF |
10505 | s/[\\&,]/\\&/g |
11174 | s/[\\&,]/\\&/g |
10506 | s,[\\$`],\\&,g |
11175 | s,[\\$`],\\&,g |
10507 | t clear |
11176 | t clear |
10508 | : clear |
11177 | : clear |
10509 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
11178 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
10510 | t end |
11179 | t end |
10511 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
11180 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
10512 | : end |
11181 | : end |
10513 | _ACEOF |
11182 | _ACEOF |
10514 | # If some macros were called several times there might be several times |
11183 | # If some macros were called several times there might be several times |
10515 | # the same #defines, which is useless. Nevertheless, we may not want to |
11184 | # the same #defines, which is useless. Nevertheless, we may not want to |
10516 | # sort them, since we want the *last* AC-DEFINE to be honored. |
11185 | # sort them, since we want the *last* AC-DEFINE to be honored. |
… | |
… | |
10520 | |
11189 | |
10521 | # This sed command replaces #undef with comments. This is necessary, for |
11190 | # This sed command replaces #undef with comments. This is necessary, for |
10522 | # example, in the case of _POSIX_SOURCE, which is predefined and required |
11191 | # example, in the case of _POSIX_SOURCE, which is predefined and required |
10523 | # on some systems where configure will not decide to define it. |
11192 | # on some systems where configure will not decide to define it. |
10524 | cat >>conftest.undefs <<\_ACEOF |
11193 | cat >>conftest.undefs <<\_ACEOF |
10525 | s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
11194 | s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
10526 | _ACEOF |
11195 | _ACEOF |
10527 | |
11196 | |
10528 | # Break up conftest.defines because some shells have a limit on the size |
11197 | # Break up conftest.defines because some shells have a limit on the size |
10529 | # of here documents, and old seds have small limits too (100 cmds). |
11198 | # of here documents, and old seds have small limits too (100 cmds). |
10530 | echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
11199 | echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
10531 | echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
11200 | echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
10532 | echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
11201 | echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
10533 | echo ' :' >>$CONFIG_STATUS |
11202 | echo ' :' >>$CONFIG_STATUS |
10534 | rm -f conftest.tail |
11203 | rm -f conftest.tail |
10535 | while grep . conftest.defines >/dev/null |
11204 | while grep . conftest.defines >/dev/null |
10536 | do |
11205 | do |
10537 | # Write a limited-size here document to $tmp/defines.sed. |
11206 | # Write a limited-size here document to $tmp/defines.sed. |
10538 | echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
11207 | echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
10539 | # Speed up: don't consider the non `#define' lines. |
11208 | # Speed up: don't consider the non `#define' lines. |
10540 | echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
11209 | echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
10541 | # Work around the forget-to-reset-the-flag bug. |
11210 | # Work around the forget-to-reset-the-flag bug. |
10542 | echo 't clr' >>$CONFIG_STATUS |
11211 | echo 't clr' >>$CONFIG_STATUS |
10543 | echo ': clr' >>$CONFIG_STATUS |
11212 | echo ': clr' >>$CONFIG_STATUS |
10544 | sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS |
11213 | sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS |
10545 | echo 'CEOF |
11214 | echo 'CEOF |
… | |
… | |
10562 | while grep . conftest.undefs >/dev/null |
11231 | while grep . conftest.undefs >/dev/null |
10563 | do |
11232 | do |
10564 | # Write a limited-size here document to $tmp/undefs.sed. |
11233 | # Write a limited-size here document to $tmp/undefs.sed. |
10565 | echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
11234 | echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
10566 | # Speed up: don't consider the non `#undef' |
11235 | # Speed up: don't consider the non `#undef' |
10567 | echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
11236 | echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
10568 | # Work around the forget-to-reset-the-flag bug. |
11237 | # Work around the forget-to-reset-the-flag bug. |
10569 | echo 't clr' >>$CONFIG_STATUS |
11238 | echo 't clr' >>$CONFIG_STATUS |
10570 | echo ': clr' >>$CONFIG_STATUS |
11239 | echo ': clr' >>$CONFIG_STATUS |
10571 | sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS |
11240 | sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS |
10572 | echo 'CEOF |
11241 | echo 'CEOF |
… | |
… | |
10596 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
11265 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
10597 | echo "$as_me: $ac_file is unchanged" >&6;} |
11266 | echo "$as_me: $ac_file is unchanged" >&6;} |
10598 | else |
11267 | else |
10599 | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
11268 | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
10600 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
11269 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10601 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
11270 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
10602 | X"$ac_file" : 'X\(//\)$' \| \ |
11271 | X"$ac_file" : 'X\(//\)$' \| \ |
10603 | X"$ac_file" : 'X\(/\)' \| \ |
11272 | X"$ac_file" : 'X\(/\)' \| \ |
10604 | . : '\(.\)' 2>/dev/null || |
11273 | . : '\(.\)' 2>/dev/null || |
10605 | echo X"$ac_file" | |
11274 | echo X"$ac_file" | |
10606 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
11275 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10607 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
11276 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10608 | /^X\(\/\/\)$/{ s//\1/; q; } |
11277 | /^X\(\/\/\)$/{ s//\1/; q; } |
10609 | /^X\(\/\).*/{ s//\1/; q; } |
11278 | /^X\(\/\).*/{ s//\1/; q; } |
… | |
… | |
10615 | as_dirs= |
11284 | as_dirs= |
10616 | while test ! -d "$as_dir"; do |
11285 | while test ! -d "$as_dir"; do |
10617 | as_dirs="$as_dir $as_dirs" |
11286 | as_dirs="$as_dir $as_dirs" |
10618 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
11287 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
10619 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
11288 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10620 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
11289 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
10621 | X"$as_dir" : 'X\(//\)$' \| \ |
11290 | X"$as_dir" : 'X\(//\)$' \| \ |
10622 | X"$as_dir" : 'X\(/\)' \| \ |
11291 | X"$as_dir" : 'X\(/\)' \| \ |
10623 | . : '\(.\)' 2>/dev/null || |
11292 | . : '\(.\)' 2>/dev/null || |
10624 | echo X"$as_dir" | |
11293 | echo X"$as_dir" | |
10625 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
11294 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10626 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
11295 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10627 | /^X\(\/\/\)$/{ s//\1/; q; } |
11296 | /^X\(\/\/\)$/{ s//\1/; q; } |
10628 | /^X\(\/\).*/{ s//\1/; q; } |
11297 | /^X\(\/\).*/{ s//\1/; q; } |
… | |
… | |
10650 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
11319 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
10651 | esac |
11320 | esac |
10652 | done |
11321 | done |
10653 | echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || |
11322 | echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || |
10654 | $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
11323 | $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10655 | X$ac_file : 'X\(//\)[^/]' \| \ |
11324 | X$ac_file : 'X\(//\)[^/]' \| \ |
10656 | X$ac_file : 'X\(//\)$' \| \ |
11325 | X$ac_file : 'X\(//\)$' \| \ |
10657 | X$ac_file : 'X\(/\)' \| \ |
11326 | X$ac_file : 'X\(/\)' \| \ |
10658 | . : '\(.\)' 2>/dev/null || |
11327 | . : '\(.\)' 2>/dev/null || |
10659 | echo X$ac_file | |
11328 | echo X$ac_file | |
10660 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
11329 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10661 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
11330 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10662 | /^X\(\/\/\)$/{ s//\1/; q; } |
11331 | /^X\(\/\/\)$/{ s//\1/; q; } |
10663 | /^X\(\/\).*/{ s//\1/; q; } |
11332 | /^X\(\/\).*/{ s//\1/; q; } |
… | |
… | |
10672 | for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue |
11341 | for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue |
10673 | ac_dest=`echo "$ac_file" | sed 's,:.*,,'` |
11342 | ac_dest=`echo "$ac_file" | sed 's,:.*,,'` |
10674 | ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
11343 | ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
10675 | ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
11344 | ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
10676 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
11345 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10677 | X"$ac_dest" : 'X\(//\)[^/]' \| \ |
11346 | X"$ac_dest" : 'X\(//\)[^/]' \| \ |
10678 | X"$ac_dest" : 'X\(//\)$' \| \ |
11347 | X"$ac_dest" : 'X\(//\)$' \| \ |
10679 | X"$ac_dest" : 'X\(/\)' \| \ |
11348 | X"$ac_dest" : 'X\(/\)' \| \ |
10680 | . : '\(.\)' 2>/dev/null || |
11349 | . : '\(.\)' 2>/dev/null || |
10681 | echo X"$ac_dest" | |
11350 | echo X"$ac_dest" | |
10682 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
11351 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10683 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
11352 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10684 | /^X\(\/\/\)$/{ s//\1/; q; } |
11353 | /^X\(\/\/\)$/{ s//\1/; q; } |
10685 | /^X\(\/\).*/{ s//\1/; q; } |
11354 | /^X\(\/\).*/{ s//\1/; q; } |
10686 | s/.*/./; q'` |
11355 | s/.*/./; q'` |
|
|
11356 | { if $as_mkdir_p; then |
|
|
11357 | mkdir -p "$ac_dir" |
|
|
11358 | else |
|
|
11359 | as_dir="$ac_dir" |
|
|
11360 | as_dirs= |
|
|
11361 | while test ! -d "$as_dir"; do |
|
|
11362 | as_dirs="$as_dir $as_dirs" |
|
|
11363 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
|
|
11364 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
11365 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
|
11366 | X"$as_dir" : 'X\(//\)$' \| \ |
|
|
11367 | X"$as_dir" : 'X\(/\)' \| \ |
|
|
11368 | . : '\(.\)' 2>/dev/null || |
|
|
11369 | echo X"$as_dir" | |
|
|
11370 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
|
11371 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
|
11372 | /^X\(\/\/\)$/{ s//\1/; q; } |
|
|
11373 | /^X\(\/\).*/{ s//\1/; q; } |
|
|
11374 | s/.*/./; q'` |
|
|
11375 | done |
|
|
11376 | test ! -n "$as_dirs" || mkdir $as_dirs |
|
|
11377 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
|
|
11378 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
|
|
11379 | { (exit 1); exit 1; }; }; } |
|
|
11380 | |
10687 | ac_builddir=. |
11381 | ac_builddir=. |
10688 | |
11382 | |
10689 | if test "$ac_dir" != .; then |
11383 | if test "$ac_dir" != .; then |
10690 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
11384 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
10691 | # A "../" for each directory in $ac_dir_suffix. |
11385 | # A "../" for each directory in $ac_dir_suffix. |
… | |
… | |
10707 | ac_top_srcdir=$srcdir ;; |
11401 | ac_top_srcdir=$srcdir ;; |
10708 | *) # Relative path. |
11402 | *) # Relative path. |
10709 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
11403 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
10710 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
11404 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
10711 | esac |
11405 | esac |
10712 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
11406 | |
10713 | # absolute. |
11407 | # Do not use `cd foo && pwd` to compute absolute paths, because |
10714 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
11408 | # the directories may not exist. |
10715 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
11409 | case `pwd` in |
10716 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
11410 | .) ac_abs_builddir="$ac_dir";; |
10717 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
11411 | *) |
|
|
11412 | case "$ac_dir" in |
|
|
11413 | .) ac_abs_builddir=`pwd`;; |
|
|
11414 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
|
|
11415 | *) ac_abs_builddir=`pwd`/"$ac_dir";; |
|
|
11416 | esac;; |
|
|
11417 | esac |
|
|
11418 | case $ac_abs_builddir in |
|
|
11419 | .) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
|
11420 | *) |
|
|
11421 | case ${ac_top_builddir}. in |
|
|
11422 | .) ac_abs_top_builddir=$ac_abs_builddir;; |
|
|
11423 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
|
11424 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
|
|
11425 | esac;; |
|
|
11426 | esac |
|
|
11427 | case $ac_abs_builddir in |
|
|
11428 | .) ac_abs_srcdir=$ac_srcdir;; |
|
|
11429 | *) |
|
|
11430 | case $ac_srcdir in |
|
|
11431 | .) ac_abs_srcdir=$ac_abs_builddir;; |
|
|
11432 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
|
|
11433 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
|
|
11434 | esac;; |
|
|
11435 | esac |
|
|
11436 | case $ac_abs_builddir in |
|
|
11437 | .) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
|
11438 | *) |
|
|
11439 | case $ac_top_srcdir in |
|
|
11440 | .) ac_abs_top_srcdir=$ac_abs_builddir;; |
|
|
11441 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
|
11442 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
|
|
11443 | esac;; |
|
|
11444 | esac |
10718 | |
11445 | |
10719 | |
11446 | |
10720 | { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
11447 | { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
10721 | echo "$as_me: executing $ac_dest commands" >&6;} |
11448 | echo "$as_me: executing $ac_dest commands" >&6;} |
10722 | case $ac_dest in |
11449 | case $ac_dest in |
… | |
… | |
10826 | # each Makefile.in and add a new line on top of each file to say so. |
11553 | # each Makefile.in and add a new line on top of each file to say so. |
10827 | # So let's grep whole file. |
11554 | # So let's grep whole file. |
10828 | if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
11555 | if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
10829 | dirpart=`(dirname "$mf") 2>/dev/null || |
11556 | dirpart=`(dirname "$mf") 2>/dev/null || |
10830 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
11557 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10831 | X"$mf" : 'X\(//\)[^/]' \| \ |
11558 | X"$mf" : 'X\(//\)[^/]' \| \ |
10832 | X"$mf" : 'X\(//\)$' \| \ |
11559 | X"$mf" : 'X\(//\)$' \| \ |
10833 | X"$mf" : 'X\(/\)' \| \ |
11560 | X"$mf" : 'X\(/\)' \| \ |
10834 | . : '\(.\)' 2>/dev/null || |
11561 | . : '\(.\)' 2>/dev/null || |
10835 | echo X"$mf" | |
11562 | echo X"$mf" | |
10836 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
11563 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10837 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
11564 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10838 | /^X\(\/\/\)$/{ s//\1/; q; } |
11565 | /^X\(\/\/\)$/{ s//\1/; q; } |
10839 | /^X\(\/\).*/{ s//\1/; q; } |
11566 | /^X\(\/\).*/{ s//\1/; q; } |
… | |
… | |
10865 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
11592 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
10866 | # Make sure the directory exists. |
11593 | # Make sure the directory exists. |
10867 | test -f "$dirpart/$file" && continue |
11594 | test -f "$dirpart/$file" && continue |
10868 | fdir=`(dirname "$file") 2>/dev/null || |
11595 | fdir=`(dirname "$file") 2>/dev/null || |
10869 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
11596 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10870 | X"$file" : 'X\(//\)[^/]' \| \ |
11597 | X"$file" : 'X\(//\)[^/]' \| \ |
10871 | X"$file" : 'X\(//\)$' \| \ |
11598 | X"$file" : 'X\(//\)$' \| \ |
10872 | X"$file" : 'X\(/\)' \| \ |
11599 | X"$file" : 'X\(/\)' \| \ |
10873 | . : '\(.\)' 2>/dev/null || |
11600 | . : '\(.\)' 2>/dev/null || |
10874 | echo X"$file" | |
11601 | echo X"$file" | |
10875 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
11602 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10876 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
11603 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10877 | /^X\(\/\/\)$/{ s//\1/; q; } |
11604 | /^X\(\/\/\)$/{ s//\1/; q; } |
10878 | /^X\(\/\).*/{ s//\1/; q; } |
11605 | /^X\(\/\).*/{ s//\1/; q; } |
… | |
… | |
10884 | as_dirs= |
11611 | as_dirs= |
10885 | while test ! -d "$as_dir"; do |
11612 | while test ! -d "$as_dir"; do |
10886 | as_dirs="$as_dir $as_dirs" |
11613 | as_dirs="$as_dir $as_dirs" |
10887 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
11614 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
10888 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
11615 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10889 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
11616 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
10890 | X"$as_dir" : 'X\(//\)$' \| \ |
11617 | X"$as_dir" : 'X\(//\)$' \| \ |
10891 | X"$as_dir" : 'X\(/\)' \| \ |
11618 | X"$as_dir" : 'X\(/\)' \| \ |
10892 | . : '\(.\)' 2>/dev/null || |
11619 | . : '\(.\)' 2>/dev/null || |
10893 | echo X"$as_dir" | |
11620 | echo X"$as_dir" | |
10894 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
11621 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10895 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
11622 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10896 | /^X\(\/\/\)$/{ s//\1/; q; } |
11623 | /^X\(\/\/\)$/{ s//\1/; q; } |
10897 | /^X\(\/\).*/{ s//\1/; q; } |
11624 | /^X\(\/\).*/{ s//\1/; q; } |
… | |
… | |
10929 | echo "*** Digest used: $DIGEST" |
11656 | echo "*** Digest used: $DIGEST" |
10930 | echo "*** HMAC length: $HMAC" |
11657 | echo "*** HMAC length: $HMAC" |
10931 | echo "*** RAND used: $RAND" |
11658 | echo "*** RAND used: $RAND" |
10932 | echo "*** Max. MTU: $MTU" |
11659 | echo "*** Max. MTU: $MTU" |
10933 | echo "*** Compression: $COMPRESS" |
11660 | echo "*** Compression: $COMPRESS" |
|
|
11661 | |
|
|
11662 | if test "x$DIGEST" = xmd4; then |
10934 | echo "***" |
11663 | echo "***" |
10935 | |
|
|
10936 | if test "x$DIGEST" = xmd4; then |
|
|
10937 | echo "*** WARNING" |
|
|
10938 | echo "*** The digest you have chosen ($DIGEST) is known to be insecure" |
11664 | echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure" |
|
|
11665 | fi |
|
|
11666 | |
|
|
11667 | if test "$HMAC" -lt 12; then |
10939 | echo "***" |
11668 | echo "***" |
|
|
11669 | echo "*** WARNING: The hmac length you have chosen ($HMAC) is probably insecure" |
10940 | fi |
11670 | fi |
|
|
11671 | |
|
|
11672 | if test "$RAND" -lt 8; then |
|
|
11673 | echo "***" |
|
|
11674 | echo "*** WARNING: The random prefix you have chosen ($RAND) is probably insecure" |
|
|
11675 | fi |
|
|
11676 | |
|
|
11677 | echo "***" |
10941 | |
11678 | |
10942 | echo |
11679 | echo |
10943 | |
11680 | |
10944 | |
11681 | |
10945 | |
11682 | |