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

Comparing gvpe/configure (file contents):
Revision 1.11 by pcg, Sat Jan 17 01:18:36 2004 UTC vs.
Revision 1.32 by pcg, Wed Jan 18 13:17:55 2006 UTC

1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.58. 3# Generated by GNU Autoconf 2.59.
4# 4#
5# Copyright (C) 2003 Free Software Foundation, Inc. 5# Copyright (C) 2003 Free Software Foundation, Inc.
6# This configure script is free software; the Free Software Foundation 6# This configure script is free software; the Free Software Foundation
7# gives unlimited permission to copy, distribute and modify it. 7# gives unlimited permission to copy, distribute and modify it.
8## --------------------- ## 8## --------------------- ##
269PACKAGE_TARNAME= 269PACKAGE_TARNAME=
270PACKAGE_VERSION= 270PACKAGE_VERSION=
271PACKAGE_STRING= 271PACKAGE_STRING=
272PACKAGE_BUGREPORT= 272PACKAGE_BUGREPORT=
273 273
274ac_unique_file="src/vped.C" 274ac_unique_file="src/gvpe.C"
275# Factoring default headers for most tests. 275# Factoring default headers for most tests.
276ac_includes_default="\ 276ac_includes_default="\
277#include <stdio.h> 277#include <stdio.h>
278#if HAVE_SYS_TYPES_H 278#if HAVE_SYS_TYPES_H
279# include <sys/types.h> 279# include <sys/types.h>
307#endif 307#endif
308#if HAVE_UNISTD_H 308#if HAVE_UNISTD_H
309# include <unistd.h> 309# include <unistd.h>
310#endif" 310#endif"
311 311
312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT MKINSTALLDIRS MSGFMT GMSGFMT XGETTEXT MSGMERGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE USE_NLS LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE EGREP LN_S RANLIB ac_ct_RANLIB IFTYPE IFSUBTYPE CXXCPP ALLOCA LINUX_IF_TUN_H HAVE_TUNTAP INCLUDES LIBOBJS LTLIBOBJS' 312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar 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'
313ac_subst_files='' 313ac_subst_files=''
314 314
315# Initialize some variables set by options. 315# Initialize some variables set by options.
316ac_init_help= 316ac_init_help=
317ac_init_version=false 317ac_init_version=false
860 cat <<\_ACEOF 860 cat <<\_ACEOF
861 861
862Optional Features: 862Optional Features:
863 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 863 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
864 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 864 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
865 --enable-maintainer-mode enable make rules and dependencies not useful 865 --enable-maintainer-mode enable make rules and dependencies not useful
866 (and sometimes confusing) to the casual installer 866 (and sometimes confusing) to the casual installer
867 --disable-dependency-tracking Speeds up one-time builds 867 --disable-dependency-tracking speeds up one-time build
868 --enable-dependency-tracking Do not reject slow dependency extractors 868 --enable-dependency-tracking do not reject slow dependency extractors
869 --disable-rpath do not hardcode runtime library paths 869 --disable-rpath do not hardcode runtime library paths
870 --disable-nls do not use Native Language Support 870 --disable-nls do not use Native Language Support
871 --enable-iftype=TYPE/SUBTYPE 871 --enable-iftype=TYPE/SUBTYPE
872 Use kernel/net device interface TYPE/SUBTYPE. Working combinations are: 872 Use kernel/net device interface TYPE/SUBTYPE.
873 "native/linux" "tincd/linux" "tincd/freebsd" "tincd/openbsd" "tincd/darwin" "native/cygwin"; Untested 873 Working combinations are (see doc/gvpe.osdep.5.pod):
874 "native/linux" "tincd/linux" "tincd/netbsd"
875 "tincd/freebsd" "tincd/openbsd" "native/darwin"
876 "tincd/darwin" "native/cygwin"; Untested
874 combinations are: "tincd/netbsd" "tincd/solaris" "tincd/mingw"; Broken combinations are: 877 combinations are: "tincd/bsd" "tincd/solaris"
878 "tincd/mingw" "tincd/raw_socket" "tincd/uml_socket";
879 Broken combinations are: "tincd/cygwin"; The default
875 "tincd/cygwin"; The default is to autodetect. 880 is to autodetect.
876 --enable-rohc 881 --enable-static-daemon enable statically linked daemon.
877 enable robust header compression (rfc3095). 882 --enable-rohc enable robust header compression (rfc3095).
878 --enable-icmp 883 --enable-icmp enable icmp protocol support (default disabled).
879 enable icmp protocol support (default disabled). 884 --enable-tcp enable tcp protocol support (default disabled).
880 --enable-tcp 885 --enable-dns enable dns tunnel protocol support (DOES NOT WORK).
881 enable tcp protocol support (default disabled). 886 --enable-http-proxy enable http proxy connect support (default
882 --enable-http-proxy 887 disabled).
883 enable http proxy connect support (default disabled).
884 --enable-hmac-length=BYTES 888 --enable-hmac-length=BYTES
885 use a hmac of length BYTES bytes (default 889 use a hmac of length BYTES bytes (default 12).
886 12). Allowed values are 4, 8, 12, 16. 890 Allowed values are 4, 8, 12, 16.
887 --enable-rand-length=BYTES 891 --enable-rand-length=BYTES
888 use BYTES bytes of extra randomness (default 8). 892 use BYTES bytes of extra randomness (default 8).
889 Allowed values are 0, 4, 8. 893 Allowed values are 0, 4, 8.
890 --enable-max-mtu=BYTES 894 --enable-max-mtu=BYTES enable mtu sizes upto BYTES bytes (default 1500).
891 enable mtu sizes upto BYTES bytes (default 1500).
892 Use 9100 for jumbogram support. 895 Use 9100 for jumbogram support.
893 --disable-compression 896 --disable-compression Disable compression support.
894 Disable compression support. 897 --enable-cipher Select the symmetric cipher (default "aes-128").
895 --enable-cipher 898 Must be one of "bf" (blowfish), "aes-128"
896 Select the symmetric cipher (default "bf"). Must be
897 one of "bf" (blowfish), "aes-128" (rijndael), "aes-192" or "aes-256". 899 (rijndael), "aes-192" or "aes-256".
898 --enable-digest 900 --enable-digest Select the digets algorithm to use (default
899 Select the digets algorithm to use (default "sha1").
900 Must be one of "sha1", "ripemd160", "md5" or "md4" 901 "ripemd160"). Must be one of "sha1", "ripemd160",
901 (insecure). 902 "md5" or "md4" (insecure).
902 903
903Optional Packages: 904Optional Packages:
904 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 905 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
905 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 906 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
906 --with-gnu-ld assume the C compiler uses GNU ld default=no 907 --with-gnu-ld assume the C compiler uses GNU ld default=no
912 (default: /usr/src/linux) 913 (default: /usr/src/linux)
913 --with-openssl-include=DIR OpenSSL headers directory (without trailing /openssl) 914 --with-openssl-include=DIR OpenSSL headers directory (without trailing /openssl)
914 --with-openssl-lib=DIR OpenSSL library directory 915 --with-openssl-lib=DIR OpenSSL library directory
915 916
916Some influential environment variables: 917Some influential environment variables:
917 CC 918 CC C compiler command
918 C compiler command 919 CFLAGS C compiler flags
919 CFLAGS
920 C compiler flags
921 LDFLAGS
922 linker flags, e.g. -L<lib dir> if you have 920 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
923 libraries in a nonstandard directory <lib dir> 921 nonstandard directory <lib dir>
924 CPPFLAGS
925 C/C++ preprocessor flags, e.g. -I<include dir> if you 922 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
926 have headers in a nonstandard directory <include dir> 923 headers in a nonstandard directory <include dir>
927 CPP 924 CPP C preprocessor
928 C preprocessor
929 CXX
930 C++ compiler command 925 CXX C++ compiler command
931 CXXFLAGS
932 C++ compiler flags 926 CXXFLAGS C++ compiler flags
933 CXXCPP
934 C++ preprocessor 927 CXXCPP C++ preprocessor
935 928
936Use these variables to override the choices made by `configure' or to help 929Use these variables to override the choices made by `configure' or to help
937it to find libraries and programs with nonstandard names/locations. 930it to find libraries and programs with nonstandard names/locations.
938 931
939_ACEOF 932_ACEOF
1042cat >&5 <<_ACEOF 1035cat >&5 <<_ACEOF
1043This file contains any messages produced by compilers while 1036This file contains any messages produced by compilers while
1044running configure, to aid debugging if configure makes a mistake. 1037running configure, to aid debugging if configure makes a mistake.
1045 1038
1046It was created by $as_me, which was 1039It was created by $as_me, which was
1047generated by GNU Autoconf 2.58. Invocation command line was 1040generated by GNU Autoconf 2.59. Invocation command line was
1048 1041
1049 $ $0 $@ 1042 $ $0 $@
1050 1043
1051_ACEOF 1044_ACEOF
1052{ 1045{
1369 1362
1370 1363
1371 1364
1372 1365
1373 1366
1367
1374ac_aux_dir= 1368ac_aux_dir=
1375for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1369for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1376 if test -f $ac_dir/install-sh; then 1370 if test -f $ac_dir/install-sh; then
1377 ac_aux_dir=$ac_dir 1371 ac_aux_dir=$ac_dir
1378 ac_install_sh="$ac_aux_dir/install-sh -c" 1372 ac_install_sh="$ac_aux_dir/install-sh -c"
1476# will get canonicalized. 1470# will get canonicalized.
1477test -n "$target_alias" && 1471test -n "$target_alias" &&
1478 test "$program_prefix$program_suffix$program_transform_name" = \ 1472 test "$program_prefix$program_suffix$program_transform_name" = \
1479 NONENONEs,x,x, && 1473 NONENONEs,x,x, &&
1480 program_prefix=${target_alias}- 1474 program_prefix=${target_alias}-
1481am__api_version="1.7" 1475am__api_version="1.9"
1482# Find a good install program. We prefer a C program (faster), 1476# Find a good install program. We prefer a C program (faster),
1483# so one script is as good as another. But avoid the broken or 1477# so one script is as good as another. But avoid the broken or
1484# incompatible versions: 1478# incompatible versions:
1485# SysV /etc/install, /usr/sbin/install 1479# SysV /etc/install, /usr/sbin/install
1486# SunOS /usr/etc/install 1480# SunOS /usr/etc/install
1614s/[\\$]/&&/g;s/;s,x,x,$// 1608s/[\\$]/&&/g;s/;s,x,x,$//
1615_ACEOF 1609_ACEOF
1616program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1610program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1617rm conftest.sed 1611rm conftest.sed
1618 1612
1619
1620# expand $ac_aux_dir to an absolute path 1613# expand $ac_aux_dir to an absolute path
1621am_aux_dir=`cd $ac_aux_dir && pwd` 1614am_aux_dir=`cd $ac_aux_dir && pwd`
1622 1615
1623test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1616test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1624# Use eval to expand $SHELL 1617# Use eval to expand $SHELL
1626 am_missing_run="$MISSING --run " 1619 am_missing_run="$MISSING --run "
1627else 1620else
1628 am_missing_run= 1621 am_missing_run=
1629 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1622 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1630echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1623echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1624fi
1625
1626if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1627 # We used to keeping the `.' as first argument, in order to
1628 # allow $(mkdir_p) to be used without argument. As in
1629 # $(mkdir_p) $(somedir)
1630 # where $(somedir) is conditionally defined. However this is wrong
1631 # for two reasons:
1632 # 1. if the package is installed by a user who cannot write `.'
1633 # make install will fail,
1634 # 2. the above comment should most certainly read
1635 # $(mkdir_p) $(DESTDIR)$(somedir)
1636 # so it does not work when $(somedir) is undefined and
1637 # $(DESTDIR) is not.
1638 # To support the latter case, we have to write
1639 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1640 # so the `.' trick is pointless.
1641 mkdir_p='mkdir -p --'
1642else
1643 # On NextStep and OpenStep, the `mkdir' command does not
1644 # recognize any option. It will interpret all options as
1645 # directories to create, and then abort because `.' already
1646 # exists.
1647 for d in ./-p ./--version;
1648 do
1649 test -d $d && rmdir $d
1650 done
1651 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1652 if test -f "$ac_aux_dir/mkinstalldirs"; then
1653 mkdir_p='$(mkinstalldirs)'
1654 else
1655 mkdir_p='$(install_sh) -d'
1656 fi
1631fi 1657fi
1632 1658
1633for ac_prog in gawk mawk nawk awk 1659for ac_prog in gawk mawk nawk awk
1634do 1660do
1635 # Extract the first word of "$ac_prog", so it can be a program name with args. 1661 # Extract the first word of "$ac_prog", so it can be a program name with args.
1706else 1732else
1707 am__leading_dot=_ 1733 am__leading_dot=_
1708fi 1734fi
1709rmdir .tst 2>/dev/null 1735rmdir .tst 2>/dev/null
1710 1736
1711 # test to see if srcdir already configured 1737# test to see if srcdir already configured
1712if test "`cd $srcdir && pwd`" != "`pwd`" && 1738if test "`cd $srcdir && pwd`" != "`pwd`" &&
1713 test -f $srcdir/config.status; then 1739 test -f $srcdir/config.status; then
1714 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 1740 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1715echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 1741echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1716 { (exit 1); exit 1; }; } 1742 { (exit 1); exit 1; }; }
1725 fi 1751 fi
1726fi 1752fi
1727 1753
1728 1754
1729# Define the identity of the package. 1755# Define the identity of the package.
1730 PACKAGE=vpe 1756 PACKAGE=gvpe
1731 VERSION=1.2 1757 VERSION=2.0
1732 1758
1733 1759
1734cat >>confdefs.h <<_ACEOF 1760cat >>confdefs.h <<_ACEOF
1735#define PACKAGE "$PACKAGE" 1761#define PACKAGE "$PACKAGE"
1736_ACEOF 1762_ACEOF
1753 1779
1754AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 1780AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1755 1781
1756 1782
1757MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 1783MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1758
1759
1760AMTAR=${AMTAR-"${am_missing_run}tar"}
1761 1784
1762install_sh=${install_sh-"$am_aux_dir/install-sh"} 1785install_sh=${install_sh-"$am_aux_dir/install-sh"}
1763 1786
1764# Installed binaries are usually stripped using `strip' when the user 1787# Installed binaries are usually stripped using `strip' when the user
1765# run `make install-strip'. However `strip' might not be the right 1788# run `make install-strip'. However `strip' might not be the right
1849fi 1872fi
1850INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 1873INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1851 1874
1852# We need awk for the "check" target. The system "awk" is bad on 1875# We need awk for the "check" target. The system "awk" is bad on
1853# some platforms. 1876# some platforms.
1877# Always define AMTAR for backward compatibility.
1878
1879AMTAR=${AMTAR-"${am_missing_run}tar"}
1880
1881am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1882
1883
1854 1884
1855 1885
1856 1886
1857 ac_config_headers="$ac_config_headers config.h" 1887 ac_config_headers="$ac_config_headers config.h"
1858 1888
3131 # overwrite some of them when testing with obscure command lines. 3161 # overwrite some of them when testing with obscure command lines.
3132 # This happens at least with the AIX C compiler. 3162 # This happens at least with the AIX C compiler.
3133 : > sub/conftest.c 3163 : > sub/conftest.c
3134 for i in 1 2 3 4 5 6; do 3164 for i in 1 2 3 4 5 6; do
3135 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3165 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3166 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3167 # Solaris 8's {/usr,}/bin/sh.
3136 : > sub/conftst$i.h 3168 touch sub/conftst$i.h
3137 done 3169 done
3138 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3170 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3139 3171
3140 case $depmode in 3172 case $depmode in
3141 nosideeffect) 3173 nosideeffect)
3159 >/dev/null 2>conftest.err && 3191 >/dev/null 2>conftest.err &&
3160 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3192 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3161 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3193 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3162 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3194 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3163 # icc doesn't choke on unknown options, it will just issue warnings 3195 # icc doesn't choke on unknown options, it will just issue warnings
3164 # (even with -Werror). So we grep stderr for any message 3196 # or remarks (even with -Werror). So we grep stderr for any message
3165 # that says an option was ignored. 3197 # that says an option was ignored or not supported.
3198 # When given -MP, icc 7.0 and 7.1 complain thusly:
3199 # icc: Command line warning: ignoring option '-M'; no argument required
3200 # The diagnosis changed in icc 8.0:
3201 # icc: Command line remark: option '-MP' not supported
3202 if (grep 'ignoring option' conftest.err ||
3166 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 3203 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3167 am_cv_CC_dependencies_compiler_type=$depmode 3204 am_cv_CC_dependencies_compiler_type=$depmode
3168 break 3205 break
3169 fi 3206 fi
3170 fi 3207 fi
3171 done 3208 done
4566cat >>confdefs.h <<\_ACEOF 4603cat >>confdefs.h <<\_ACEOF
4567#define _GNU_SOURCE 1 4604#define _GNU_SOURCE 1
4568_ACEOF 4605_ACEOF
4569 4606
4570 4607
4571cat >>confdefs.h <<\_ACEOF 4608# do NOT define POSIX_SOURCE, sicne this clashes with many BSDs
4572#define __USE_BSD 1
4573_ACEOF
4574
4575 4609
4576ALL_LINGUAS="" 4610ALL_LINGUAS=""
4577 4611
4578ac_ext=c 4612ac_ext=c
4579ac_cpp='$CPP $CPPFLAGS' 4613ac_cpp='$CPP $CPPFLAGS'
5337 # overwrite some of them when testing with obscure command lines. 5371 # overwrite some of them when testing with obscure command lines.
5338 # This happens at least with the AIX C compiler. 5372 # This happens at least with the AIX C compiler.
5339 : > sub/conftest.c 5373 : > sub/conftest.c
5340 for i in 1 2 3 4 5 6; do 5374 for i in 1 2 3 4 5 6; do
5341 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5375 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5376 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5377 # Solaris 8's {/usr,}/bin/sh.
5342 : > sub/conftst$i.h 5378 touch sub/conftst$i.h
5343 done 5379 done
5344 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5380 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5345 5381
5346 case $depmode in 5382 case $depmode in
5347 nosideeffect) 5383 nosideeffect)
5365 >/dev/null 2>conftest.err && 5401 >/dev/null 2>conftest.err &&
5366 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5402 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5367 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 5403 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5368 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5404 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5369 # icc doesn't choke on unknown options, it will just issue warnings 5405 # icc doesn't choke on unknown options, it will just issue warnings
5370 # (even with -Werror). So we grep stderr for any message 5406 # or remarks (even with -Werror). So we grep stderr for any message
5371 # that says an option was ignored. 5407 # that says an option was ignored or not supported.
5408 # When given -MP, icc 7.0 and 7.1 complain thusly:
5409 # icc: Command line warning: ignoring option '-M'; no argument required
5410 # The diagnosis changed in icc 8.0:
5411 # icc: Command line remark: option '-MP' not supported
5412 if (grep 'ignoring option' conftest.err ||
5372 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 5413 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5373 am_cv_CC_dependencies_compiler_type=$depmode 5414 am_cv_CC_dependencies_compiler_type=$depmode
5374 break 5415 break
5375 fi 5416 fi
5376 fi 5417 fi
5377 done 5418 done
6024 # overwrite some of them when testing with obscure command lines. 6065 # overwrite some of them when testing with obscure command lines.
6025 # This happens at least with the AIX C compiler. 6066 # This happens at least with the AIX C compiler.
6026 : > sub/conftest.c 6067 : > sub/conftest.c
6027 for i in 1 2 3 4 5 6; do 6068 for i in 1 2 3 4 5 6; do
6028 echo '#include "conftst'$i'.h"' >> sub/conftest.c 6069 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6070 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6071 # Solaris 8's {/usr,}/bin/sh.
6029 : > sub/conftst$i.h 6072 touch sub/conftst$i.h
6030 done 6073 done
6031 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 6074 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6032 6075
6033 case $depmode in 6076 case $depmode in
6034 nosideeffect) 6077 nosideeffect)
6052 >/dev/null 2>conftest.err && 6095 >/dev/null 2>conftest.err &&
6053 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 6096 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6054 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 6097 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6055 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 6098 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6056 # icc doesn't choke on unknown options, it will just issue warnings 6099 # icc doesn't choke on unknown options, it will just issue warnings
6057 # (even with -Werror). So we grep stderr for any message 6100 # or remarks (even with -Werror). So we grep stderr for any message
6058 # that says an option was ignored. 6101 # that says an option was ignored or not supported.
6102 # When given -MP, icc 7.0 and 7.1 complain thusly:
6103 # icc: Command line warning: ignoring option '-M'; no argument required
6104 # The diagnosis changed in icc 8.0:
6105 # icc: Command line remark: option '-MP' not supported
6106 if (grep 'ignoring option' conftest.err ||
6059 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 6107 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6060 am_cv_CXX_dependencies_compiler_type=$depmode 6108 am_cv_CXX_dependencies_compiler_type=$depmode
6061 break 6109 break
6062 fi 6110 fi
6063 fi 6111 fi
6064 done 6112 done
6391else 6439else
6392 RANLIB="$ac_cv_prog_RANLIB" 6440 RANLIB="$ac_cv_prog_RANLIB"
6393fi 6441fi
6394 6442
6395 6443
6396
6397 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
6398echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
6399if test "${ac_cv_lib_cposix_strerror+set}" = set; then
6400 echo $ECHO_N "(cached) $ECHO_C" >&6
6401else
6402 ac_check_lib_save_LIBS=$LIBS
6403LIBS="-lcposix $LIBS"
6404cat >conftest.$ac_ext <<_ACEOF
6405/* confdefs.h. */
6406_ACEOF
6407cat confdefs.h >>conftest.$ac_ext
6408cat >>conftest.$ac_ext <<_ACEOF
6409/* end confdefs.h. */
6410
6411/* Override any gcc2 internal prototype to avoid an error. */
6412#ifdef __cplusplus
6413extern "C"
6414#endif
6415/* We use char because int might match the return type of a gcc2
6416 builtin and then its argument prototype would still apply. */
6417char strerror ();
6418int
6419main ()
6420{
6421strerror ();
6422 ;
6423 return 0;
6424}
6425_ACEOF
6426rm -f conftest.$ac_objext conftest$ac_exeext
6427if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6428 (eval $ac_link) 2>conftest.er1
6429 ac_status=$?
6430 grep -v '^ *+' conftest.er1 >conftest.err
6431 rm -f conftest.er1
6432 cat conftest.err >&5
6433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434 (exit $ac_status); } &&
6435 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6437 (eval $ac_try) 2>&5
6438 ac_status=$?
6439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6440 (exit $ac_status); }; } &&
6441 { ac_try='test -s conftest$ac_exeext'
6442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6443 (eval $ac_try) 2>&5
6444 ac_status=$?
6445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6446 (exit $ac_status); }; }; then
6447 ac_cv_lib_cposix_strerror=yes
6448else
6449 echo "$as_me: failed program was:" >&5
6450sed 's/^/| /' conftest.$ac_ext >&5
6451
6452ac_cv_lib_cposix_strerror=no
6453fi
6454rm -f conftest.err conftest.$ac_objext \
6455 conftest$ac_exeext conftest.$ac_ext
6456LIBS=$ac_check_lib_save_LIBS
6457fi
6458echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
6459echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
6460if test $ac_cv_lib_cposix_strerror = yes; then
6461 LIBS="$LIBS -lcposix"
6462fi
6463
6464
6465
6466
6467# Check whether --enable-iftype or --disable-iftype was given. 6444# Check whether --enable-iftype or --disable-iftype was given.
6468if test "${enable_iftype+set}" = set; then 6445if test "${enable_iftype+set}" = set; then
6469 enableval="$enable_iftype" 6446 enableval="$enable_iftype"
6470 6447
6471 IFTYPE=`echo $enableval | sed s%/.*%%` 6448 IFTYPE=`echo $enableval | sed s%/.*%%`
6496#define HAVE_FREEBSD 1 6473#define HAVE_FREEBSD 1
6497_ACEOF 6474_ACEOF
6498 6475
6499 ;; 6476 ;;
6500 *darwin*) 6477 *darwin*)
6501 IFTYPE=tincd 6478 IFTYPE=native
6502 IFSUBTYPE=darwin 6479 IFSUBTYPE=darwin
6503 6480
6504cat >>confdefs.h <<\_ACEOF 6481cat >>confdefs.h <<\_ACEOF
6505#define HAVE_DARWIN 1 6482#define HAVE_DARWIN 1
6506_ACEOF 6483_ACEOF
7095 7072
7096done 7073done
7097 7074
7098 7075
7099 7076
7077
7100for ac_header in ext/hash_map 7078for ac_header in ext/hash_map clocale
7101do 7079do
7102as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7080as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7103if eval "test \"\${$as_ac_Header+set}\" = set"; then 7081if eval "test \"\${$as_ac_Header+set}\" = set"; then
7104 echo "$as_me:$LINENO: checking for $ac_header" >&5 7082 echo "$as_me:$LINENO: checking for $ac_header" >&5
7105echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7083echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7260 7238
7261 7239
7262 7240
7263 7241
7264 7242
7265
7266for ac_header in fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \ 7243for ac_header in fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \
7267 sys/file.h sys/ioctl.h sys/param.h sys/time.h netinet/in_systm.h sys/cygwin.h arpa/inet.h \ 7244 sys/file.h sys/ioctl.h sys/param.h sys/time.h netinet/in_systm.h sys/cygwin.h \
7268 sys/mman.h netinet/in.h 7245 sys/mman.h netinet/in.h
7269do 7246do
7270as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7247as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7271if eval "test \"\${$as_ac_Header+set}\" = set"; then 7248if eval "test \"\${$as_ac_Header+set}\" = set"; then
7272 echo "$as_me:$LINENO: checking for $ac_header" >&5 7249 echo "$as_me:$LINENO: checking for $ac_header" >&5
7416 7393
7417 7394
7418 7395
7419 7396
7420 7397
7398
7421for ac_header in net/ethernet.h net/if.h netinet/ip.h netinet/tcp.h netinet/in_systm.h 7399for ac_header in arpa/inet.h net/ethernet.h net/if.h netinet/ip.h netinet/tcp.h netinet/in_systm.h
7422do 7400do
7423as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7401as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7424echo "$as_me:$LINENO: checking for $ac_header" >&5 7402echo "$as_me:$LINENO: checking for $ac_header" >&5
7425echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7403echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7426if eval "test \"\${$as_ac_Header+set}\" = set"; then 7404if eval "test \"\${$as_ac_Header+set}\" = set"; then
9760 9738
9761if test "x$openssl_include" != x; then 9739if test "x$openssl_include" != x; then
9762 CXXFLAGS="$CXXFLAGS -I$openssl_include" 9740 CXXFLAGS="$CXXFLAGS -I$openssl_include"
9763fi 9741fi
9764 9742
9743# Check whether --enable-static-daemon or --disable-static-daemon was given.
9744if test "${enable_static_daemon+set}" = set; then
9745 enableval="$enable_static_daemon"
9746 LDFLAGS_DAEMON=-static
9747
9748fi;
9749
9750
9765# Check whether --enable-rohc or --disable-rohc was given. 9751# Check whether --enable-rohc or --disable-rohc was given.
9766if test "${enable_rohc+set}" = set; then 9752if test "${enable_rohc+set}" = set; then
9767 enableval="$enable_rohc" 9753 enableval="$enable_rohc"
9768 9754
9769 echo 9755 echo
9770 echo "**********************************************************************" 9756 echo "**********************************************************************"
9771 echo "**********************************************************************" 9757 echo "**********************************************************************"
9772 echo "**** --enable-rohc not yet implemented *******************************" 9758 echo "**** --enable-rohc is highly experimental, do not use ****************"
9773 echo "**********************************************************************"
9774 echo "**** uuh sorry, I am such an ass, but I didn't find any rfc3095 (ROHC)"
9775 echo "**** implementation to be used in GPL code on the web."
9776 echo "**** so this option is just a fake. Please implement one and send it"
9777 echo "**** to me ;)"
9778 echo "**********************************************************************"
9779 echo "**********************************************************************"
9780 echo "**********************************************************************" 9759 echo "**********************************************************************"
9781 echo "**********************************************************************" 9760 echo "**********************************************************************"
9782 echo 9761 echo
9762 rohc=true
9763
9764cat >>confdefs.h <<_ACEOF
9765#define ENABLE_ROHC 1
9766_ACEOF
9767
9783 9768
9784 9769
9785fi; 9770fi;
9771
9772
9773
9774if test x$rohc = xtrue; then
9775 ROHC_TRUE=
9776 ROHC_FALSE='#'
9777else
9778 ROHC_TRUE='#'
9779 ROHC_FALSE=
9780fi
9781
9782
9786 9783
9787# Check whether --enable-icmp or --disable-icmp was given. 9784# Check whether --enable-icmp or --disable-icmp was given.
9788if test "${enable_icmp+set}" = set; then 9785if test "${enable_icmp+set}" = set; then
9789 enableval="$enable_icmp" 9786 enableval="$enable_icmp"
9790 9787
9804_ACEOF 9801_ACEOF
9805 9802
9806 9803
9807fi; 9804fi;
9808 9805
9806# Check whether --enable-dns or --disable-dns was given.
9807if test "${enable_dns+set}" = set; then
9808 enableval="$enable_dns"
9809
9810 if test "${ac_cv_header_gmp_h+set}" = set; then
9811 echo "$as_me:$LINENO: checking for gmp.h" >&5
9812echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6
9813if test "${ac_cv_header_gmp_h+set}" = set; then
9814 echo $ECHO_N "(cached) $ECHO_C" >&6
9815fi
9816echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5
9817echo "${ECHO_T}$ac_cv_header_gmp_h" >&6
9818else
9819 # Is the header compilable?
9820echo "$as_me:$LINENO: checking gmp.h usability" >&5
9821echo $ECHO_N "checking gmp.h usability... $ECHO_C" >&6
9822cat >conftest.$ac_ext <<_ACEOF
9823/* confdefs.h. */
9824_ACEOF
9825cat confdefs.h >>conftest.$ac_ext
9826cat >>conftest.$ac_ext <<_ACEOF
9827/* end confdefs.h. */
9828$ac_includes_default
9829#include <gmp.h>
9830_ACEOF
9831rm -f conftest.$ac_objext
9832if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9833 (eval $ac_compile) 2>conftest.er1
9834 ac_status=$?
9835 grep -v '^ *+' conftest.er1 >conftest.err
9836 rm -f conftest.er1
9837 cat conftest.err >&5
9838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9839 (exit $ac_status); } &&
9840 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9842 (eval $ac_try) 2>&5
9843 ac_status=$?
9844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9845 (exit $ac_status); }; } &&
9846 { ac_try='test -s conftest.$ac_objext'
9847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9848 (eval $ac_try) 2>&5
9849 ac_status=$?
9850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9851 (exit $ac_status); }; }; then
9852 ac_header_compiler=yes
9853else
9854 echo "$as_me: failed program was:" >&5
9855sed 's/^/| /' conftest.$ac_ext >&5
9856
9857ac_header_compiler=no
9858fi
9859rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9860echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9861echo "${ECHO_T}$ac_header_compiler" >&6
9862
9863# Is the header present?
9864echo "$as_me:$LINENO: checking gmp.h presence" >&5
9865echo $ECHO_N "checking gmp.h presence... $ECHO_C" >&6
9866cat >conftest.$ac_ext <<_ACEOF
9867/* confdefs.h. */
9868_ACEOF
9869cat confdefs.h >>conftest.$ac_ext
9870cat >>conftest.$ac_ext <<_ACEOF
9871/* end confdefs.h. */
9872#include <gmp.h>
9873_ACEOF
9874if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9875 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9876 ac_status=$?
9877 grep -v '^ *+' conftest.er1 >conftest.err
9878 rm -f conftest.er1
9879 cat conftest.err >&5
9880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9881 (exit $ac_status); } >/dev/null; then
9882 if test -s conftest.err; then
9883 ac_cpp_err=$ac_cxx_preproc_warn_flag
9884 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
9885 else
9886 ac_cpp_err=
9887 fi
9888else
9889 ac_cpp_err=yes
9890fi
9891if test -z "$ac_cpp_err"; then
9892 ac_header_preproc=yes
9893else
9894 echo "$as_me: failed program was:" >&5
9895sed 's/^/| /' conftest.$ac_ext >&5
9896
9897 ac_header_preproc=no
9898fi
9899rm -f conftest.err conftest.$ac_ext
9900echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9901echo "${ECHO_T}$ac_header_preproc" >&6
9902
9903# So? What about this header?
9904case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9905 yes:no: )
9906 { echo "$as_me:$LINENO: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&5
9907echo "$as_me: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9908 { echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the compiler's result" >&5
9909echo "$as_me: WARNING: gmp.h: proceeding with the compiler's result" >&2;}
9910 ac_header_preproc=yes
9911 ;;
9912 no:yes:* )
9913 { echo "$as_me:$LINENO: WARNING: gmp.h: present but cannot be compiled" >&5
9914echo "$as_me: WARNING: gmp.h: present but cannot be compiled" >&2;}
9915 { echo "$as_me:$LINENO: WARNING: gmp.h: check for missing prerequisite headers?" >&5
9916echo "$as_me: WARNING: gmp.h: check for missing prerequisite headers?" >&2;}
9917 { echo "$as_me:$LINENO: WARNING: gmp.h: see the Autoconf documentation" >&5
9918echo "$as_me: WARNING: gmp.h: see the Autoconf documentation" >&2;}
9919 { echo "$as_me:$LINENO: WARNING: gmp.h: section \"Present But Cannot Be Compiled\"" >&5
9920echo "$as_me: WARNING: gmp.h: section \"Present But Cannot Be Compiled\"" >&2;}
9921 { echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the preprocessor's result" >&5
9922echo "$as_me: WARNING: gmp.h: proceeding with the preprocessor's result" >&2;}
9923 { echo "$as_me:$LINENO: WARNING: gmp.h: in the future, the compiler will take precedence" >&5
9924echo "$as_me: WARNING: gmp.h: in the future, the compiler will take precedence" >&2;}
9925 (
9926 cat <<\_ASBOX
9927## ------------------------------------------ ##
9928## Report this to the AC_PACKAGE_NAME lists. ##
9929## ------------------------------------------ ##
9930_ASBOX
9931 ) |
9932 sed "s/^/$as_me: WARNING: /" >&2
9933 ;;
9934esac
9935echo "$as_me:$LINENO: checking for gmp.h" >&5
9936echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6
9937if test "${ac_cv_header_gmp_h+set}" = set; then
9938 echo $ECHO_N "(cached) $ECHO_C" >&6
9939else
9940 ac_cv_header_gmp_h=$ac_header_preproc
9941fi
9942echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5
9943echo "${ECHO_T}$ac_cv_header_gmp_h" >&6
9944
9945fi
9946if test $ac_cv_header_gmp_h = yes; then
9947 :
9948else
9949 { { echo "$as_me:$LINENO: error: gmp.h not found, required for --enable-dns" >&5
9950echo "$as_me: error: gmp.h not found, required for --enable-dns" >&2;}
9951 { (exit 1); exit 1; }; }
9952fi
9953
9954
9955
9956echo "$as_me:$LINENO: checking for main in -lgmp" >&5
9957echo $ECHO_N "checking for main in -lgmp... $ECHO_C" >&6
9958if test "${ac_cv_lib_gmp_main+set}" = set; then
9959 echo $ECHO_N "(cached) $ECHO_C" >&6
9960else
9961 ac_check_lib_save_LIBS=$LIBS
9962LIBS="-lgmp $LIBS"
9963cat >conftest.$ac_ext <<_ACEOF
9964/* confdefs.h. */
9965_ACEOF
9966cat confdefs.h >>conftest.$ac_ext
9967cat >>conftest.$ac_ext <<_ACEOF
9968/* end confdefs.h. */
9969
9970
9971int
9972main ()
9973{
9974main ();
9975 ;
9976 return 0;
9977}
9978_ACEOF
9979rm -f conftest.$ac_objext conftest$ac_exeext
9980if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9981 (eval $ac_link) 2>conftest.er1
9982 ac_status=$?
9983 grep -v '^ *+' conftest.er1 >conftest.err
9984 rm -f conftest.er1
9985 cat conftest.err >&5
9986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9987 (exit $ac_status); } &&
9988 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9990 (eval $ac_try) 2>&5
9991 ac_status=$?
9992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9993 (exit $ac_status); }; } &&
9994 { ac_try='test -s conftest$ac_exeext'
9995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9996 (eval $ac_try) 2>&5
9997 ac_status=$?
9998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9999 (exit $ac_status); }; }; then
10000 ac_cv_lib_gmp_main=yes
10001else
10002 echo "$as_me: failed program was:" >&5
10003sed 's/^/| /' conftest.$ac_ext >&5
10004
10005ac_cv_lib_gmp_main=no
10006fi
10007rm -f conftest.err conftest.$ac_objext \
10008 conftest$ac_exeext conftest.$ac_ext
10009LIBS=$ac_check_lib_save_LIBS
10010fi
10011echo "$as_me:$LINENO: result: $ac_cv_lib_gmp_main" >&5
10012echo "${ECHO_T}$ac_cv_lib_gmp_main" >&6
10013if test $ac_cv_lib_gmp_main = yes; then
10014 cat >>confdefs.h <<_ACEOF
10015#define HAVE_LIBGMP 1
10016_ACEOF
10017
10018 LIBS="-lgmp $LIBS"
10019
10020else
10021 { { echo "$as_me:$LINENO: error: libgmp not found, required for --enable-dns" >&5
10022echo "$as_me: error: libgmp not found, required for --enable-dns" >&2;}
10023 { (exit 1); exit 1; }; }
10024fi
10025
10026
10027
10028cat >>confdefs.h <<_ACEOF
10029#define ENABLE_DNS 1
10030_ACEOF
10031
10032
10033
10034fi;
10035
9809# Check whether --enable-http-proxy or --disable-http-proxy was given. 10036# Check whether --enable-http-proxy or --disable-http-proxy was given.
9810if test "${enable_http_proxy+set}" = set; then 10037if test "${enable_http_proxy+set}" = set; then
9811 enableval="$enable_http_proxy" 10038 enableval="$enable_http_proxy"
9812 10039
9813cat >>confdefs.h <<_ACEOF 10040cat >>confdefs.h <<_ACEOF
9815_ACEOF 10042_ACEOF
9816 10043
9817 10044
9818fi; 10045fi;
9819 10046
10047HMAC=12
9820HMAC=8 # Check whether --enable-hmac-length or --disable-hmac-length was given. 10048# Check whether --enable-hmac-length or --disable-hmac-length was given.
9821if test "${enable_hmac_length+set}" = set; then 10049if test "${enable_hmac_length+set}" = set; then
9822 enableval="$enable_hmac_length" 10050 enableval="$enable_hmac_length"
9823 HMAC=$enableval 10051 HMAC=$enableval
9824 10052
9825fi; 10053fi;
9827cat >>confdefs.h <<_ACEOF 10055cat >>confdefs.h <<_ACEOF
9828#define HMACLENGTH $HMAC 10056#define HMACLENGTH $HMAC
9829_ACEOF 10057_ACEOF
9830 10058
9831 10059
10060RAND=8
9832RAND=8 # Check whether --enable-rand-length or --disable-rand-length was given. 10061# Check whether --enable-rand-length or --disable-rand-length was given.
9833if test "${enable_rand_length+set}" = set; then 10062if test "${enable_rand_length+set}" = set; then
9834 enableval="$enable_rand_length" 10063 enableval="$enable_rand_length"
9835 RAND=$enableval 10064 RAND=$enableval
9836 10065
9837fi; 10066fi;
9839cat >>confdefs.h <<_ACEOF 10068cat >>confdefs.h <<_ACEOF
9840#define RAND_SIZE $RAND 10069#define RAND_SIZE $RAND
9841_ACEOF 10070_ACEOF
9842 10071
9843 10072
10073MTU=1500
9844MTU=1500 # Check whether --enable-mtu or --disable-mtu was given. 10074# Check whether --enable-mtu or --disable-mtu was given.
9845if test "${enable_mtu+set}" = set; then 10075if test "${enable_mtu+set}" = set; then
9846 enableval="$enable_mtu" 10076 enableval="$enable_mtu"
9847 MTU=$enableval 10077 MTU=$enableval
9848 10078
9849fi; 10079fi;
9866cat >>confdefs.h <<_ACEOF 10096cat >>confdefs.h <<_ACEOF
9867#define ENABLE_COMPRESSION $COMPRESS 10097#define ENABLE_COMPRESSION $COMPRESS
9868_ACEOF 10098_ACEOF
9869 10099
9870 10100
9871CIPHER=bf_cbc 10101CIPHER=aes_128_cbc
9872# Check whether --enable-cipher or --disable-cipher was given. 10102# Check whether --enable-cipher or --disable-cipher was given.
9873if test "${enable_cipher+set}" = set; then 10103if test "${enable_cipher+set}" = set; then
9874 enableval="$enable_cipher" 10104 enableval="$enable_cipher"
9875 if test "x$enableval" = xbf ; then CIPHER=bf_cbc ; fi 10105 if test "x$enableval" = xbf ; then CIPHER=bf_cbc ; fi
9876 if test "x$enableval" = xaes-128; then CIPHER=aes_128_cbc; fi 10106 if test "x$enableval" = xaes-128; then CIPHER=aes_128_cbc; fi
9882cat >>confdefs.h <<_ACEOF 10112cat >>confdefs.h <<_ACEOF
9883#define ENABLE_CIPHER EVP_${CIPHER} 10113#define ENABLE_CIPHER EVP_${CIPHER}
9884_ACEOF 10114_ACEOF
9885 10115
9886 10116
9887DIGEST=sha1 10117DIGEST=ripemd160
9888# Check whether --enable-digest or --disable-digest was given. 10118# Check whether --enable-digest or --disable-digest was given.
9889if test "${enable_digest+set}" = set; then 10119if test "${enable_digest+set}" = set; then
9890 enableval="$enable_digest" 10120 enableval="$enable_digest"
9891 if test "x$enableval" = xsha1 ; then DIGEST=sha1 ; fi 10121 if test "x$enableval" = xsha1 ; then DIGEST=sha1 ; fi
9892 if test "x$enableval" = xripemd160; then DIGEST=ripemd160; fi 10122 if test "x$enableval" = xripemd160; then DIGEST=ripemd160; fi
9909fi 10139fi
9910 10140
9911 10141
9912 10142
9913 10143
9914
9915
9916 ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile doc/Makefile lib/Makefile m4/Makefile" 10144 ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile doc/Makefile lib/Makefile m4/Makefile"
10145
9917cat >confcache <<\_ACEOF 10146cat >confcache <<\_ACEOF
9918# This file is a shell script that caches the results of configure 10147# This file is a shell script that caches the results of configure
9919# tests run on this system so they can be shared between configure 10148# tests run on this system so they can be shared between configure
9920# scripts and configure runs, see configure's option --config-cache. 10149# scripts and configure runs, see configure's option --config-cache.
9921# It is not useful on other systems. If it contains results you don't 10150# It is not useful on other systems. If it contains results you don't
10035fi 10264fi
10036if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 10265if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
10037 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. 10266 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
10038Usually this means the macro was only invoked conditionally." >&5 10267Usually this means the macro was only invoked conditionally." >&5
10039echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. 10268echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
10269Usually this means the macro was only invoked conditionally." >&2;}
10270 { (exit 1); exit 1; }; }
10271fi
10272if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then
10273 { { echo "$as_me:$LINENO: error: conditional \"ROHC\" was never defined.
10274Usually this means the macro was only invoked conditionally." >&5
10275echo "$as_me: error: conditional \"ROHC\" was never defined.
10040Usually this means the macro was only invoked conditionally." >&2;} 10276Usually this means the macro was only invoked conditionally." >&2;}
10041 { (exit 1); exit 1; }; } 10277 { (exit 1); exit 1; }; }
10042fi 10278fi
10043 10279
10044: ${CONFIG_STATUS=./config.status} 10280: ${CONFIG_STATUS=./config.status}
10310_ASBOX 10546_ASBOX
10311} >&5 10547} >&5
10312cat >&5 <<_CSEOF 10548cat >&5 <<_CSEOF
10313 10549
10314This file was extended by $as_me, which was 10550This file was extended by $as_me, which was
10315generated by GNU Autoconf 2.58. Invocation command line was 10551generated by GNU Autoconf 2.59. Invocation command line was
10316 10552
10317 CONFIG_FILES = $CONFIG_FILES 10553 CONFIG_FILES = $CONFIG_FILES
10318 CONFIG_HEADERS = $CONFIG_HEADERS 10554 CONFIG_HEADERS = $CONFIG_HEADERS
10319 CONFIG_LINKS = $CONFIG_LINKS 10555 CONFIG_LINKS = $CONFIG_LINKS
10320 CONFIG_COMMANDS = $CONFIG_COMMANDS 10556 CONFIG_COMMANDS = $CONFIG_COMMANDS
10373_ACEOF 10609_ACEOF
10374 10610
10375cat >>$CONFIG_STATUS <<_ACEOF 10611cat >>$CONFIG_STATUS <<_ACEOF
10376ac_cs_version="\\ 10612ac_cs_version="\\
10377config.status 10613config.status
10378configured by $0, generated by GNU Autoconf 2.58, 10614configured by $0, generated by GNU Autoconf 2.59,
10379 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 10615 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
10380 10616
10381Copyright (C) 2003 Free Software Foundation, Inc. 10617Copyright (C) 2003 Free Software Foundation, Inc.
10382This config.status script is free software; the Free Software Foundation 10618This config.status script is free software; the Free Software Foundation
10383gives unlimited permission to copy, distribute and modify it." 10619gives unlimited permission to copy, distribute and modify it."
10606s,@ACLOCAL@,$ACLOCAL,;t t 10842s,@ACLOCAL@,$ACLOCAL,;t t
10607s,@AUTOCONF@,$AUTOCONF,;t t 10843s,@AUTOCONF@,$AUTOCONF,;t t
10608s,@AUTOMAKE@,$AUTOMAKE,;t t 10844s,@AUTOMAKE@,$AUTOMAKE,;t t
10609s,@AUTOHEADER@,$AUTOHEADER,;t t 10845s,@AUTOHEADER@,$AUTOHEADER,;t t
10610s,@MAKEINFO@,$MAKEINFO,;t t 10846s,@MAKEINFO@,$MAKEINFO,;t t
10611s,@AMTAR@,$AMTAR,;t t
10612s,@install_sh@,$install_sh,;t t 10847s,@install_sh@,$install_sh,;t t
10613s,@STRIP@,$STRIP,;t t 10848s,@STRIP@,$STRIP,;t t
10614s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 10849s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
10615s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 10850s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
10851s,@mkdir_p@,$mkdir_p,;t t
10616s,@AWK@,$AWK,;t t 10852s,@AWK@,$AWK,;t t
10617s,@SET_MAKE@,$SET_MAKE,;t t 10853s,@SET_MAKE@,$SET_MAKE,;t t
10618s,@am__leading_dot@,$am__leading_dot,;t t 10854s,@am__leading_dot@,$am__leading_dot,;t t
10855s,@AMTAR@,$AMTAR,;t t
10856s,@am__tar@,$am__tar,;t t
10857s,@am__untar@,$am__untar,;t t
10619s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t 10858s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
10620s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t 10859s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
10621s,@MAINT@,$MAINT,;t t 10860s,@MAINT@,$MAINT,;t t
10622s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t 10861s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
10623s,@MSGFMT@,$MSGFMT,;t t 10862s,@MSGFMT@,$MSGFMT,;t t
10662s,@IFSUBTYPE@,$IFSUBTYPE,;t t 10901s,@IFSUBTYPE@,$IFSUBTYPE,;t t
10663s,@CXXCPP@,$CXXCPP,;t t 10902s,@CXXCPP@,$CXXCPP,;t t
10664s,@ALLOCA@,$ALLOCA,;t t 10903s,@ALLOCA@,$ALLOCA,;t t
10665s,@LINUX_IF_TUN_H@,$LINUX_IF_TUN_H,;t t 10904s,@LINUX_IF_TUN_H@,$LINUX_IF_TUN_H,;t t
10666s,@HAVE_TUNTAP@,$HAVE_TUNTAP,;t t 10905s,@HAVE_TUNTAP@,$HAVE_TUNTAP,;t t
10906s,@LDFLAGS_DAEMON@,$LDFLAGS_DAEMON,;t t
10907s,@ROHC_TRUE@,$ROHC_TRUE,;t t
10908s,@ROHC_FALSE@,$ROHC_FALSE,;t t
10667s,@INCLUDES@,$INCLUDES,;t t 10909s,@INCLUDES@,$INCLUDES,;t t
10668s,@LIBOBJS@,$LIBOBJS,;t t 10910s,@LIBOBJS@,$LIBOBJS,;t t
10669s,@LTLIBOBJS@,$LTLIBOBJS,;t t 10911s,@LTLIBOBJS@,$LTLIBOBJS,;t t
10670CEOF 10912CEOF
10671 10913
11384 /^X\(\/\).*/{ s//\1/; q; } 11626 /^X\(\/\).*/{ s//\1/; q; }
11385 s/.*/./; q'` 11627 s/.*/./; q'`
11386 else 11628 else
11387 continue 11629 continue
11388 fi 11630 fi
11389 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue 11631 # Extract the definition of DEPDIR, am__include, and am__quote
11390 # Extract the definition of DEP_FILES from the Makefile without 11632 # from the Makefile without running `make'.
11391 # running `make'.
11392 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 11633 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
11393 test -z "$DEPDIR" && continue 11634 test -z "$DEPDIR" && continue
11635 am__include=`sed -n 's/^am__include = //p' < "$mf"`
11636 test -z "am__include" && continue
11637 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
11394 # When using ansi2knr, U may be empty or an underscore; expand it 11638 # When using ansi2knr, U may be empty or an underscore; expand it
11395 U=`sed -n -e '/^U = / s///p' < "$mf"` 11639 U=`sed -n 's/^U = //p' < "$mf"`
11396 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 11640 # Find all dependency output files, they are included files with
11397 # We invoke sed twice because it is the simplest approach to 11641 # $(DEPDIR) in their names. We invoke sed twice because it is the
11398 # changing $(DEPDIR) to its actual value in the expansion. 11642 # simplest approach to changing $(DEPDIR) to its actual value in the
11643 # expansion.
11399 for file in `sed -n -e ' 11644 for file in `sed -n "
11400 /^DEP_FILES = .*\\\\$/ { 11645 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
11401 s/^DEP_FILES = //
11402 :loop
11403 s/\\\\$//
11404 p
11405 n
11406 /\\\\$/ b loop
11407 p
11408 }
11409 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
11410 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 11646 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
11411 # Make sure the directory exists. 11647 # Make sure the directory exists.
11412 test -f "$dirpart/$file" && continue 11648 test -f "$dirpart/$file" && continue
11413 fdir=`(dirname "$file") 2>/dev/null || 11649 fdir=`(dirname "$file") 2>/dev/null ||
11414$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11650$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11462_ACEOF 11698_ACEOF
11463chmod +x $CONFIG_STATUS 11699chmod +x $CONFIG_STATUS
11464ac_clean_files=$ac_clean_files_save 11700ac_clean_files=$ac_clean_files_save
11465 11701
11466 11702
11467
11468echo
11469echo "***"
11470echo "*** Configuration Summary"
11471echo "***"
11472echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE"
11473echo "*** Cipher used: $CIPHER"
11474echo "*** Digest used: $DIGEST"
11475echo "*** HMAC length: $HMAC"
11476echo "*** RAND used: $RAND"
11477echo "*** Max. MTU: $MTU"
11478echo "*** Compression: $COMPRESS"
11479echo "***"
11480
11481if test "x$DIGEST" = xmd4; then
11482echo "*** WARNING"
11483echo "*** The digest you have chosen ($DIGEST) is known to be insecure"
11484echo "***"
11485fi
11486
11487echo
11488
11489
11490
11491# configure is writing to config.log, and then calls config.status. 11703# configure is writing to config.log, and then calls config.status.
11492# config.status does its own redirection, appending to config.log. 11704# config.status does its own redirection, appending to config.log.
11493# Unfortunately, on DOS this fails, as config.log is still kept open 11705# Unfortunately, on DOS this fails, as config.log is still kept open
11494# by configure, so config.status won't be able to write to it; its 11706# by configure, so config.status won't be able to write to it; its
11495# output is simply discarded. So we exec the FD to /dev/null, 11707# output is simply discarded. So we exec the FD to /dev/null,
11507 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 11719 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11508 # would make configure fail if this is the last instruction. 11720 # would make configure fail if this is the last instruction.
11509 $ac_cs_success || { (exit 1); exit 1; } 11721 $ac_cs_success || { (exit 1); exit 1; }
11510fi 11722fi
11511 11723
11724
11725echo
11726echo "***"
11727echo "*** Configuration Summary"
11728echo "***"
11729echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE"
11730echo "*** Cipher used: $CIPHER"
11731echo "*** Digest used: $DIGEST"
11732echo "*** HMAC length: $HMAC"
11733echo "*** RAND used: $RAND"
11734echo "*** Max. MTU: $MTU"
11735
11736echo "***"
11737echo "*** Enable options:"
11738grep ENABLE_ config.h | sed -e 's/^/*** /'
11739
11740if test "x$DIGEST" = xmd4; then
11741echo "***"
11742echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure"
11743fi
11744
11745if test "$HMAC" -lt 12; then
11746echo "***"
11747echo "*** WARNING: The hmac length you have chosen ($HMAC) is probably insecure"
11748fi
11749
11750if test "$RAND" -lt 8; then
11751echo "***"
11752echo "*** WARNING: The random prefix you have chosen ($RAND) is probably insecure"
11753fi
11754
11755echo "***"
11756echo
11757
11758

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines