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

Comparing gvpe/configure (file contents):
Revision 1.12 by pcg, Sat Jan 17 14:50:40 2004 UTC vs.
Revision 1.27 by pcg, Wed Mar 23 17:03:58 2005 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 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'
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
867 --disable-dependency-tracking Speeds up one-time builds 867 --disable-dependency-tracking Speeds up one-time builds
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: "native/linux"
874 combinations are: "tincd/netbsd" "tincd/solaris" "tincd/mingw"; Broken combinations are: 874 "tincd/linux" "tincd/freebsd" "tincd/openbsd"
875 "tincd/darwin" "native/cygwin"; Untested
876 combinations are: "native/darwin" "tincd/netbsd"
877 "tincd/solaris" "tincd/mingw" "tincd/raw_socket"
878 "tincd/uml_socket"; Broken combinations are:
875 "tincd/cygwin"; The default is to autodetect. 879 "tincd/cygwin"; The default is to autodetect.
876 --enable-rohc 880 --enable-static-daemon enable statically linked daemon.
877 enable robust header compression (rfc3095). 881 --enable-rohc enable robust header compression (rfc3095).
878 --enable-icmp 882 --enable-icmp enable icmp protocol support (default disabled).
879 enable icmp protocol support (default disabled). 883 --enable-tcp enable tcp protocol support (default disabled).
880 --enable-tcp 884 --enable-dns enable dns tunnel protocol support (DOES NOT WORK).
881 enable tcp protocol support (default disabled). 885 --enable-http-proxy enable http proxy connect support (default
882 --enable-http-proxy 886 disabled).
883 enable http proxy connect support (default disabled).
884 --enable-hmac-length=BYTES 887 --enable-hmac-length=BYTES
885 use a hmac of length BYTES bytes (default 888 use a hmac of length BYTES bytes (default 12).
886 12). Allowed values are 4, 8, 12, 16. 889 Allowed values are 4, 8, 12, 16.
887 --enable-rand-length=BYTES 890 --enable-rand-length=BYTES
888 use BYTES bytes of extra randomness (default 8). 891 use BYTES bytes of extra randomness (default 8).
889 Allowed values are 0, 4, 8. 892 Allowed values are 0, 4, 8.
890 --enable-max-mtu=BYTES 893 --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. 894 Use 9100 for jumbogram support.
893 --disable-compression 895 --disable-compression Disable compression support.
894 Disable compression support.
895 --enable-cipher
896 Select the symmetric cipher (default "bf"). Must be 896 --enable-cipher Select the symmetric cipher (default "bf"). Must be
897 one of "bf" (blowfish), "aes-128" (rijndael), "aes-192" or "aes-256". 897 one of "bf" (blowfish), "aes-128" (rijndael),
898 --enable-digest 898 "aes-192" or "aes-256".
899 Select the digets algorithm to use (default "sha1"). 899 --enable-digest Select the digets algorithm to use (default "sha1").
900 Must be one of "sha1", "ripemd160", "md5" or "md4" 900 Must be one of "sha1", "ripemd160", "md5" or "md4"
901 (insecure). 901 (insecure).
902 902
903Optional Packages: 903Optional Packages:
904 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 904 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
912 (default: /usr/src/linux) 912 (default: /usr/src/linux)
913 --with-openssl-include=DIR OpenSSL headers directory (without trailing /openssl) 913 --with-openssl-include=DIR OpenSSL headers directory (without trailing /openssl)
914 --with-openssl-lib=DIR OpenSSL library directory 914 --with-openssl-lib=DIR OpenSSL library directory
915 915
916Some influential environment variables: 916Some influential environment variables:
917 CC 917 CC C compiler command
918 C compiler command 918 CFLAGS C compiler flags
919 CFLAGS
920 C compiler flags
921 LDFLAGS
922 linker flags, e.g. -L<lib dir> if you have 919 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
923 libraries in a nonstandard directory <lib dir> 920 nonstandard directory <lib dir>
924 CPPFLAGS
925 C/C++ preprocessor flags, e.g. -I<include dir> if you 921 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
926 have headers in a nonstandard directory <include dir> 922 headers in a nonstandard directory <include dir>
927 CPP 923 CPP C preprocessor
928 C preprocessor
929 CXX
930 C++ compiler command 924 CXX C++ compiler command
931 CXXFLAGS
932 C++ compiler flags 925 CXXFLAGS C++ compiler flags
933 CXXCPP
934 C++ preprocessor 926 CXXCPP C++ preprocessor
935 927
936Use these variables to override the choices made by `configure' or to help 928Use these variables to override the choices made by `configure' or to help
937it to find libraries and programs with nonstandard names/locations. 929it to find libraries and programs with nonstandard names/locations.
938 930
939_ACEOF 931_ACEOF
1042cat >&5 <<_ACEOF 1034cat >&5 <<_ACEOF
1043This file contains any messages produced by compilers while 1035This file contains any messages produced by compilers while
1044running configure, to aid debugging if configure makes a mistake. 1036running configure, to aid debugging if configure makes a mistake.
1045 1037
1046It was created by $as_me, which was 1038It was created by $as_me, which was
1047generated by GNU Autoconf 2.58. Invocation command line was 1039generated by GNU Autoconf 2.59. Invocation command line was
1048 1040
1049 $ $0 $@ 1041 $ $0 $@
1050 1042
1051_ACEOF 1043_ACEOF
1052{ 1044{
1369 1361
1370 1362
1371 1363
1372 1364
1373 1365
1366
1374ac_aux_dir= 1367ac_aux_dir=
1375for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1368for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1376 if test -f $ac_dir/install-sh; then 1369 if test -f $ac_dir/install-sh; then
1377 ac_aux_dir=$ac_dir 1370 ac_aux_dir=$ac_dir
1378 ac_install_sh="$ac_aux_dir/install-sh -c" 1371 ac_install_sh="$ac_aux_dir/install-sh -c"
1725 fi 1718 fi
1726fi 1719fi
1727 1720
1728 1721
1729# Define the identity of the package. 1722# Define the identity of the package.
1730 PACKAGE=vpe 1723 PACKAGE=gvpe
1731 VERSION=1.4 1724 VERSION=1.9
1732 1725
1733 1726
1734cat >>confdefs.h <<_ACEOF 1727cat >>confdefs.h <<_ACEOF
1735#define PACKAGE "$PACKAGE" 1728#define PACKAGE "$PACKAGE"
1736_ACEOF 1729_ACEOF
4566cat >>confdefs.h <<\_ACEOF 4559cat >>confdefs.h <<\_ACEOF
4567#define _GNU_SOURCE 1 4560#define _GNU_SOURCE 1
4568_ACEOF 4561_ACEOF
4569 4562
4570 4563
4571cat >>confdefs.h <<\_ACEOF 4564# do NOT define POSIX_SOURCE, sicne this clashes with many BSDs
4572#define __USE_BSD 1
4573_ACEOF
4574
4575 4565
4576ALL_LINGUAS="" 4566ALL_LINGUAS=""
4577 4567
4578ac_ext=c 4568ac_ext=c
4579ac_cpp='$CPP $CPPFLAGS' 4569ac_cpp='$CPP $CPPFLAGS'
6391else 6381else
6392 RANLIB="$ac_cv_prog_RANLIB" 6382 RANLIB="$ac_cv_prog_RANLIB"
6393fi 6383fi
6394 6384
6395 6385
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. 6386# Check whether --enable-iftype or --disable-iftype was given.
6468if test "${enable_iftype+set}" = set; then 6387if test "${enable_iftype+set}" = set; then
6469 enableval="$enable_iftype" 6388 enableval="$enable_iftype"
6470 6389
6471 IFTYPE=`echo $enableval | sed s%/.*%%` 6390 IFTYPE=`echo $enableval | sed s%/.*%%`
6496#define HAVE_FREEBSD 1 6415#define HAVE_FREEBSD 1
6497_ACEOF 6416_ACEOF
6498 6417
6499 ;; 6418 ;;
6500 *darwin*) 6419 *darwin*)
6501 IFTYPE=tincd 6420 IFTYPE=native
6502 IFSUBTYPE=darwin 6421 IFSUBTYPE=darwin
6503 6422
6504cat >>confdefs.h <<\_ACEOF 6423cat >>confdefs.h <<\_ACEOF
6505#define HAVE_DARWIN 1 6424#define HAVE_DARWIN 1
6506_ACEOF 6425_ACEOF
7095 7014
7096done 7015done
7097 7016
7098 7017
7099 7018
7019
7100for ac_header in ext/hash_map 7020for ac_header in ext/hash_map clocale
7101do 7021do
7102as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7022as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7103if eval "test \"\${$as_ac_Header+set}\" = set"; then 7023if eval "test \"\${$as_ac_Header+set}\" = set"; then
7104 echo "$as_me:$LINENO: checking for $ac_header" >&5 7024 echo "$as_me:$LINENO: checking for $ac_header" >&5
7105echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7025echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7260 7180
7261 7181
7262 7182
7263 7183
7264 7184
7265
7266for ac_header in fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \ 7185for 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 \ 7186 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 7187 sys/mman.h netinet/in.h
7269do 7188do
7270as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7189as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7271if eval "test \"\${$as_ac_Header+set}\" = set"; then 7190if eval "test \"\${$as_ac_Header+set}\" = set"; then
7272 echo "$as_me:$LINENO: checking for $ac_header" >&5 7191 echo "$as_me:$LINENO: checking for $ac_header" >&5
7416 7335
7417 7336
7418 7337
7419 7338
7420 7339
7340
7421for ac_header in net/ethernet.h net/if.h netinet/ip.h netinet/tcp.h netinet/in_systm.h 7341for ac_header in arpa/inet.h net/ethernet.h net/if.h netinet/ip.h netinet/tcp.h netinet/in_systm.h
7422do 7342do
7423as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7343as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7424echo "$as_me:$LINENO: checking for $ac_header" >&5 7344echo "$as_me:$LINENO: checking for $ac_header" >&5
7425echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7345echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7426if eval "test \"\${$as_ac_Header+set}\" = set"; then 7346if eval "test \"\${$as_ac_Header+set}\" = set"; then
9760 9680
9761if test "x$openssl_include" != x; then 9681if test "x$openssl_include" != x; then
9762 CXXFLAGS="$CXXFLAGS -I$openssl_include" 9682 CXXFLAGS="$CXXFLAGS -I$openssl_include"
9763fi 9683fi
9764 9684
9685# Check whether --enable-static-daemon or --disable-static-daemon was given.
9686if test "${enable_static_daemon+set}" = set; then
9687 enableval="$enable_static_daemon"
9688 LDFLAGS_DAEMON=-static
9689
9690fi;
9691
9692
9765# Check whether --enable-rohc or --disable-rohc was given. 9693# Check whether --enable-rohc or --disable-rohc was given.
9766if test "${enable_rohc+set}" = set; then 9694if test "${enable_rohc+set}" = set; then
9767 enableval="$enable_rohc" 9695 enableval="$enable_rohc"
9768 9696
9769 echo 9697 echo
9770 echo "**********************************************************************" 9698 echo "**********************************************************************"
9771 echo "**********************************************************************" 9699 echo "**********************************************************************"
9772 echo "**** --enable-rohc not yet implemented *******************************" 9700 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 "**********************************************************************" 9701 echo "**********************************************************************"
9781 echo "**********************************************************************" 9702 echo "**********************************************************************"
9782 echo 9703 echo
9704 rohc=true
9705
9706cat >>confdefs.h <<_ACEOF
9707#define ENABLE_ROHC 1
9708_ACEOF
9709
9783 9710
9784 9711
9785fi; 9712fi;
9713
9714
9715
9716if test x$rohc = xtrue; then
9717 ROHC_TRUE=
9718 ROHC_FALSE='#'
9719else
9720 ROHC_TRUE='#'
9721 ROHC_FALSE=
9722fi
9723
9786 9724
9787# Check whether --enable-icmp or --disable-icmp was given. 9725# Check whether --enable-icmp or --disable-icmp was given.
9788if test "${enable_icmp+set}" = set; then 9726if test "${enable_icmp+set}" = set; then
9789 enableval="$enable_icmp" 9727 enableval="$enable_icmp"
9790 9728
9804_ACEOF 9742_ACEOF
9805 9743
9806 9744
9807fi; 9745fi;
9808 9746
9747# Check whether --enable-dns or --disable-dns was given.
9748if 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
9753echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6
9754if test "${ac_cv_header_gmp_h+set}" = set; then
9755 echo $ECHO_N "(cached) $ECHO_C" >&6
9756fi
9757echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5
9758echo "${ECHO_T}$ac_cv_header_gmp_h" >&6
9759else
9760 # Is the header compilable?
9761echo "$as_me:$LINENO: checking gmp.h usability" >&5
9762echo $ECHO_N "checking gmp.h usability... $ECHO_C" >&6
9763cat >conftest.$ac_ext <<_ACEOF
9764/* confdefs.h. */
9765_ACEOF
9766cat confdefs.h >>conftest.$ac_ext
9767cat >>conftest.$ac_ext <<_ACEOF
9768/* end confdefs.h. */
9769$ac_includes_default
9770#include <gmp.h>
9771_ACEOF
9772rm -f conftest.$ac_objext
9773if { (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
9794else
9795 echo "$as_me: failed program was:" >&5
9796sed 's/^/| /' conftest.$ac_ext >&5
9797
9798ac_header_compiler=no
9799fi
9800rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9801echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9802echo "${ECHO_T}$ac_header_compiler" >&6
9803
9804# Is the header present?
9805echo "$as_me:$LINENO: checking gmp.h presence" >&5
9806echo $ECHO_N "checking gmp.h presence... $ECHO_C" >&6
9807cat >conftest.$ac_ext <<_ACEOF
9808/* confdefs.h. */
9809_ACEOF
9810cat confdefs.h >>conftest.$ac_ext
9811cat >>conftest.$ac_ext <<_ACEOF
9812/* end confdefs.h. */
9813#include <gmp.h>
9814_ACEOF
9815if { (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
9829else
9830 ac_cpp_err=yes
9831fi
9832if test -z "$ac_cpp_err"; then
9833 ac_header_preproc=yes
9834else
9835 echo "$as_me: failed program was:" >&5
9836sed 's/^/| /' conftest.$ac_ext >&5
9837
9838 ac_header_preproc=no
9839fi
9840rm -f conftest.err conftest.$ac_ext
9841echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9842echo "${ECHO_T}$ac_header_preproc" >&6
9843
9844# So? What about this header?
9845case $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
9848echo "$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
9850echo "$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
9855echo "$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
9857echo "$as_me: WARNING: gmp.h: check for missing prerequisite headers?" >&2;}
9858 { echo "$as_me:$LINENO: WARNING: gmp.h: see the Autoconf documentation" >&5
9859echo "$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
9861echo "$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
9863echo "$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
9865echo "$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 ;;
9875esac
9876echo "$as_me:$LINENO: checking for gmp.h" >&5
9877echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6
9878if test "${ac_cv_header_gmp_h+set}" = set; then
9879 echo $ECHO_N "(cached) $ECHO_C" >&6
9880else
9881 ac_cv_header_gmp_h=$ac_header_preproc
9882fi
9883echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5
9884echo "${ECHO_T}$ac_cv_header_gmp_h" >&6
9885
9886fi
9887if test $ac_cv_header_gmp_h = yes; then
9888 :
9889else
9890 { { echo "$as_me:$LINENO: error: gmp.h not found, required for --enable-dns" >&5
9891echo "$as_me: error: gmp.h not found, required for --enable-dns" >&2;}
9892 { (exit 1); exit 1; }; }
9893fi
9894
9895
9896
9897echo "$as_me:$LINENO: checking for main in -lgmp" >&5
9898echo $ECHO_N "checking for main in -lgmp... $ECHO_C" >&6
9899if test "${ac_cv_lib_gmp_main+set}" = set; then
9900 echo $ECHO_N "(cached) $ECHO_C" >&6
9901else
9902 ac_check_lib_save_LIBS=$LIBS
9903LIBS="-lgmp $LIBS"
9904cat >conftest.$ac_ext <<_ACEOF
9905/* confdefs.h. */
9906_ACEOF
9907cat confdefs.h >>conftest.$ac_ext
9908cat >>conftest.$ac_ext <<_ACEOF
9909/* end confdefs.h. */
9910
9911
9912int
9913main ()
9914{
9915main ();
9916 ;
9917 return 0;
9918}
9919_ACEOF
9920rm -f conftest.$ac_objext conftest$ac_exeext
9921if { (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
9942else
9943 echo "$as_me: failed program was:" >&5
9944sed 's/^/| /' conftest.$ac_ext >&5
9945
9946ac_cv_lib_gmp_main=no
9947fi
9948rm -f conftest.err conftest.$ac_objext \
9949 conftest$ac_exeext conftest.$ac_ext
9950LIBS=$ac_check_lib_save_LIBS
9951fi
9952echo "$as_me:$LINENO: result: $ac_cv_lib_gmp_main" >&5
9953echo "${ECHO_T}$ac_cv_lib_gmp_main" >&6
9954if 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
9961else
9962 { { echo "$as_me:$LINENO: error: libgmp not found, required for --enable-dns" >&5
9963echo "$as_me: error: libgmp not found, required for --enable-dns" >&2;}
9964 { (exit 1); exit 1; }; }
9965fi
9966
9967
9968
9969cat >>confdefs.h <<_ACEOF
9970#define ENABLE_DNS 1
9971_ACEOF
9972
9973
9974
9975fi;
9976
9809# Check whether --enable-http-proxy or --disable-http-proxy was given. 9977# Check whether --enable-http-proxy or --disable-http-proxy was given.
9810if test "${enable_http_proxy+set}" = set; then 9978if test "${enable_http_proxy+set}" = set; then
9811 enableval="$enable_http_proxy" 9979 enableval="$enable_http_proxy"
9812 9980
9813cat >>confdefs.h <<_ACEOF 9981cat >>confdefs.h <<_ACEOF
9815_ACEOF 9983_ACEOF
9816 9984
9817 9985
9818fi; 9986fi;
9819 9987
9988HMAC=12
9820HMAC=8 # Check whether --enable-hmac-length or --disable-hmac-length was given. 9989# Check whether --enable-hmac-length or --disable-hmac-length was given.
9821if test "${enable_hmac_length+set}" = set; then 9990if test "${enable_hmac_length+set}" = set; then
9822 enableval="$enable_hmac_length" 9991 enableval="$enable_hmac_length"
9823 HMAC=$enableval 9992 HMAC=$enableval
9824 9993
9825fi; 9994fi;
9827cat >>confdefs.h <<_ACEOF 9996cat >>confdefs.h <<_ACEOF
9828#define HMACLENGTH $HMAC 9997#define HMACLENGTH $HMAC
9829_ACEOF 9998_ACEOF
9830 9999
9831 10000
10001RAND=8
9832RAND=8 # Check whether --enable-rand-length or --disable-rand-length was given. 10002# Check whether --enable-rand-length or --disable-rand-length was given.
9833if test "${enable_rand_length+set}" = set; then 10003if test "${enable_rand_length+set}" = set; then
9834 enableval="$enable_rand_length" 10004 enableval="$enable_rand_length"
9835 RAND=$enableval 10005 RAND=$enableval
9836 10006
9837fi; 10007fi;
9839cat >>confdefs.h <<_ACEOF 10009cat >>confdefs.h <<_ACEOF
9840#define RAND_SIZE $RAND 10010#define RAND_SIZE $RAND
9841_ACEOF 10011_ACEOF
9842 10012
9843 10013
10014MTU=1500
9844MTU=1500 # Check whether --enable-mtu or --disable-mtu was given. 10015# Check whether --enable-mtu or --disable-mtu was given.
9845if test "${enable_mtu+set}" = set; then 10016if test "${enable_mtu+set}" = set; then
9846 enableval="$enable_mtu" 10017 enableval="$enable_mtu"
9847 MTU=$enableval 10018 MTU=$enableval
9848 10019
9849fi; 10020fi;
9912 10083
9913 10084
9914 10085
9915 10086
9916 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
9917cat >confcache <<\_ACEOF 10089cat >confcache <<\_ACEOF
9918# 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
9919# 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
9920# scripts and configure runs, see configure's option --config-cache. 10092# 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 10093# It is not useful on other systems. If it contains results you don't
10035fi 10207fi
10036if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 10208if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
10037 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. 10209 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
10038Usually this means the macro was only invoked conditionally." >&5 10210Usually this means the macro was only invoked conditionally." >&5
10039echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. 10211echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
10212Usually this means the macro was only invoked conditionally." >&2;}
10213 { (exit 1); exit 1; }; }
10214fi
10215if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then
10216 { { echo "$as_me:$LINENO: error: conditional \"ROHC\" was never defined.
10217Usually this means the macro was only invoked conditionally." >&5
10218echo "$as_me: error: conditional \"ROHC\" was never defined.
10040Usually this means the macro was only invoked conditionally." >&2;} 10219Usually this means the macro was only invoked conditionally." >&2;}
10041 { (exit 1); exit 1; }; } 10220 { (exit 1); exit 1; }; }
10042fi 10221fi
10043 10222
10044: ${CONFIG_STATUS=./config.status} 10223: ${CONFIG_STATUS=./config.status}
10310_ASBOX 10489_ASBOX
10311} >&5 10490} >&5
10312cat >&5 <<_CSEOF 10491cat >&5 <<_CSEOF
10313 10492
10314This file was extended by $as_me, which was 10493This file was extended by $as_me, which was
10315generated by GNU Autoconf 2.58. Invocation command line was 10494generated by GNU Autoconf 2.59. Invocation command line was
10316 10495
10317 CONFIG_FILES = $CONFIG_FILES 10496 CONFIG_FILES = $CONFIG_FILES
10318 CONFIG_HEADERS = $CONFIG_HEADERS 10497 CONFIG_HEADERS = $CONFIG_HEADERS
10319 CONFIG_LINKS = $CONFIG_LINKS 10498 CONFIG_LINKS = $CONFIG_LINKS
10320 CONFIG_COMMANDS = $CONFIG_COMMANDS 10499 CONFIG_COMMANDS = $CONFIG_COMMANDS
10373_ACEOF 10552_ACEOF
10374 10553
10375cat >>$CONFIG_STATUS <<_ACEOF 10554cat >>$CONFIG_STATUS <<_ACEOF
10376ac_cs_version="\\ 10555ac_cs_version="\\
10377config.status 10556config.status
10378configured by $0, generated by GNU Autoconf 2.58, 10557configured by $0, generated by GNU Autoconf 2.59,
10379 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 10558 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
10380 10559
10381Copyright (C) 2003 Free Software Foundation, Inc. 10560Copyright (C) 2003 Free Software Foundation, Inc.
10382This config.status script is free software; the Free Software Foundation 10561This config.status script is free software; the Free Software Foundation
10383gives unlimited permission to copy, distribute and modify it." 10562gives unlimited permission to copy, distribute and modify it."
10662s,@IFSUBTYPE@,$IFSUBTYPE,;t t 10841s,@IFSUBTYPE@,$IFSUBTYPE,;t t
10663s,@CXXCPP@,$CXXCPP,;t t 10842s,@CXXCPP@,$CXXCPP,;t t
10664s,@ALLOCA@,$ALLOCA,;t t 10843s,@ALLOCA@,$ALLOCA,;t t
10665s,@LINUX_IF_TUN_H@,$LINUX_IF_TUN_H,;t t 10844s,@LINUX_IF_TUN_H@,$LINUX_IF_TUN_H,;t t
10666s,@HAVE_TUNTAP@,$HAVE_TUNTAP,;t t 10845s,@HAVE_TUNTAP@,$HAVE_TUNTAP,;t t
10846s,@LDFLAGS_DAEMON@,$LDFLAGS_DAEMON,;t t
10847s,@ROHC_TRUE@,$ROHC_TRUE,;t t
10848s,@ROHC_FALSE@,$ROHC_FALSE,;t t
10667s,@INCLUDES@,$INCLUDES,;t t 10849s,@INCLUDES@,$INCLUDES,;t t
10668s,@LIBOBJS@,$LIBOBJS,;t t 10850s,@LIBOBJS@,$LIBOBJS,;t t
10669s,@LTLIBOBJS@,$LTLIBOBJS,;t t 10851s,@LTLIBOBJS@,$LTLIBOBJS,;t t
10670CEOF 10852CEOF
10671 10853
11474echo "*** Digest used: $DIGEST" 11656echo "*** Digest used: $DIGEST"
11475echo "*** HMAC length: $HMAC" 11657echo "*** HMAC length: $HMAC"
11476echo "*** RAND used: $RAND" 11658echo "*** RAND used: $RAND"
11477echo "*** Max. MTU: $MTU" 11659echo "*** Max. MTU: $MTU"
11478echo "*** Compression: $COMPRESS" 11660echo "*** Compression: $COMPRESS"
11661
11662if test "x$DIGEST" = xmd4; then
11479echo "***" 11663echo "***"
11480
11481if test "x$DIGEST" = xmd4; then
11482echo "*** WARNING"
11483echo "*** The digest you have chosen ($DIGEST) is known to be insecure" 11664echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure"
11665fi
11666
11667if test "$HMAC" -lt 12; then
11484echo "***" 11668echo "***"
11669echo "*** WARNING: The hmac length you have chosen ($HMAC) is probably insecure"
11485fi 11670fi
11671
11672if test "$RAND" -lt 8; then
11673echo "***"
11674echo "*** WARNING: The random prefix you have chosen ($RAND) is probably insecure"
11675fi
11676
11677echo "***"
11486 11678
11487echo 11679echo
11488 11680
11489 11681
11490 11682

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines