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.31 by pcg, Mon Dec 5 13:00:15 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 (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"
1725 fi 1719 fi
1726fi 1720fi
1727 1721
1728 1722
1729# Define the identity of the package. 1723# Define the identity of the package.
1730 PACKAGE=vpe 1724 PACKAGE=gvpe
1731 VERSION=1.2 1725 VERSION=2.0
1732 1726
1733 1727
1734cat >>confdefs.h <<_ACEOF 1728cat >>confdefs.h <<_ACEOF
1735#define PACKAGE "$PACKAGE" 1729#define PACKAGE "$PACKAGE"
1736_ACEOF 1730_ACEOF
4566cat >>confdefs.h <<\_ACEOF 4560cat >>confdefs.h <<\_ACEOF
4567#define _GNU_SOURCE 1 4561#define _GNU_SOURCE 1
4568_ACEOF 4562_ACEOF
4569 4563
4570 4564
4571cat >>confdefs.h <<\_ACEOF 4565# do NOT define POSIX_SOURCE, sicne this clashes with many BSDs
4572#define __USE_BSD 1
4573_ACEOF
4574
4575 4566
4576ALL_LINGUAS="" 4567ALL_LINGUAS=""
4577 4568
4578ac_ext=c 4569ac_ext=c
4579ac_cpp='$CPP $CPPFLAGS' 4570ac_cpp='$CPP $CPPFLAGS'
6391else 6382else
6392 RANLIB="$ac_cv_prog_RANLIB" 6383 RANLIB="$ac_cv_prog_RANLIB"
6393fi 6384fi
6394 6385
6395 6386
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. 6387# Check whether --enable-iftype or --disable-iftype was given.
6468if test "${enable_iftype+set}" = set; then 6388if test "${enable_iftype+set}" = set; then
6469 enableval="$enable_iftype" 6389 enableval="$enable_iftype"
6470 6390
6471 IFTYPE=`echo $enableval | sed s%/.*%%` 6391 IFTYPE=`echo $enableval | sed s%/.*%%`
6496#define HAVE_FREEBSD 1 6416#define HAVE_FREEBSD 1
6497_ACEOF 6417_ACEOF
6498 6418
6499 ;; 6419 ;;
6500 *darwin*) 6420 *darwin*)
6501 IFTYPE=tincd 6421 IFTYPE=native
6502 IFSUBTYPE=darwin 6422 IFSUBTYPE=darwin
6503 6423
6504cat >>confdefs.h <<\_ACEOF 6424cat >>confdefs.h <<\_ACEOF
6505#define HAVE_DARWIN 1 6425#define HAVE_DARWIN 1
6506_ACEOF 6426_ACEOF
7095 7015
7096done 7016done
7097 7017
7098 7018
7099 7019
7020
7100for ac_header in ext/hash_map 7021for ac_header in ext/hash_map clocale
7101do 7022do
7102as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7023as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7103if eval "test \"\${$as_ac_Header+set}\" = set"; then 7024if eval "test \"\${$as_ac_Header+set}\" = set"; then
7104 echo "$as_me:$LINENO: checking for $ac_header" >&5 7025 echo "$as_me:$LINENO: checking for $ac_header" >&5
7105echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7026echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7260 7181
7261 7182
7262 7183
7263 7184
7264 7185
7265
7266for ac_header in fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \ 7186for 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 \ 7187 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 7188 sys/mman.h netinet/in.h
7269do 7189do
7270as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7190as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7271if eval "test \"\${$as_ac_Header+set}\" = set"; then 7191if eval "test \"\${$as_ac_Header+set}\" = set"; then
7272 echo "$as_me:$LINENO: checking for $ac_header" >&5 7192 echo "$as_me:$LINENO: checking for $ac_header" >&5
7416 7336
7417 7337
7418 7338
7419 7339
7420 7340
7341
7421for ac_header in net/ethernet.h net/if.h netinet/ip.h netinet/tcp.h netinet/in_systm.h 7342for ac_header in arpa/inet.h net/ethernet.h net/if.h netinet/ip.h netinet/tcp.h netinet/in_systm.h
7422do 7343do
7423as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7344as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7424echo "$as_me:$LINENO: checking for $ac_header" >&5 7345echo "$as_me:$LINENO: checking for $ac_header" >&5
7425echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7346echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7426if eval "test \"\${$as_ac_Header+set}\" = set"; then 7347if eval "test \"\${$as_ac_Header+set}\" = set"; then
9760 9681
9761if test "x$openssl_include" != x; then 9682if test "x$openssl_include" != x; then
9762 CXXFLAGS="$CXXFLAGS -I$openssl_include" 9683 CXXFLAGS="$CXXFLAGS -I$openssl_include"
9763fi 9684fi
9764 9685
9686# Check whether --enable-static-daemon or --disable-static-daemon was given.
9687if test "${enable_static_daemon+set}" = set; then
9688 enableval="$enable_static_daemon"
9689 LDFLAGS_DAEMON=-static
9690
9691fi;
9692
9693
9765# Check whether --enable-rohc or --disable-rohc was given. 9694# Check whether --enable-rohc or --disable-rohc was given.
9766if test "${enable_rohc+set}" = set; then 9695if test "${enable_rohc+set}" = set; then
9767 enableval="$enable_rohc" 9696 enableval="$enable_rohc"
9768 9697
9769 echo 9698 echo
9770 echo "**********************************************************************" 9699 echo "**********************************************************************"
9771 echo "**********************************************************************" 9700 echo "**********************************************************************"
9772 echo "**** --enable-rohc not yet implemented *******************************" 9701 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 "**********************************************************************" 9702 echo "**********************************************************************"
9781 echo "**********************************************************************" 9703 echo "**********************************************************************"
9782 echo 9704 echo
9705 rohc=true
9706
9707cat >>confdefs.h <<_ACEOF
9708#define ENABLE_ROHC 1
9709_ACEOF
9710
9783 9711
9784 9712
9785fi; 9713fi;
9714
9715
9716
9717if test x$rohc = xtrue; then
9718 ROHC_TRUE=
9719 ROHC_FALSE='#'
9720else
9721 ROHC_TRUE='#'
9722 ROHC_FALSE=
9723fi
9724
9725
9786 9726
9787# Check whether --enable-icmp or --disable-icmp was given. 9727# Check whether --enable-icmp or --disable-icmp was given.
9788if test "${enable_icmp+set}" = set; then 9728if test "${enable_icmp+set}" = set; then
9789 enableval="$enable_icmp" 9729 enableval="$enable_icmp"
9790 9730
9804_ACEOF 9744_ACEOF
9805 9745
9806 9746
9807fi; 9747fi;
9808 9748
9749# Check whether --enable-dns or --disable-dns was given.
9750if test "${enable_dns+set}" = set; then
9751 enableval="$enable_dns"
9752
9753 if test "${ac_cv_header_gmp_h+set}" = set; then
9754 echo "$as_me:$LINENO: checking for gmp.h" >&5
9755echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6
9756if test "${ac_cv_header_gmp_h+set}" = set; then
9757 echo $ECHO_N "(cached) $ECHO_C" >&6
9758fi
9759echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5
9760echo "${ECHO_T}$ac_cv_header_gmp_h" >&6
9761else
9762 # Is the header compilable?
9763echo "$as_me:$LINENO: checking gmp.h usability" >&5
9764echo $ECHO_N "checking gmp.h usability... $ECHO_C" >&6
9765cat >conftest.$ac_ext <<_ACEOF
9766/* confdefs.h. */
9767_ACEOF
9768cat confdefs.h >>conftest.$ac_ext
9769cat >>conftest.$ac_ext <<_ACEOF
9770/* end confdefs.h. */
9771$ac_includes_default
9772#include <gmp.h>
9773_ACEOF
9774rm -f conftest.$ac_objext
9775if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9776 (eval $ac_compile) 2>conftest.er1
9777 ac_status=$?
9778 grep -v '^ *+' conftest.er1 >conftest.err
9779 rm -f conftest.er1
9780 cat conftest.err >&5
9781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9782 (exit $ac_status); } &&
9783 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9785 (eval $ac_try) 2>&5
9786 ac_status=$?
9787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9788 (exit $ac_status); }; } &&
9789 { ac_try='test -s conftest.$ac_objext'
9790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9791 (eval $ac_try) 2>&5
9792 ac_status=$?
9793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9794 (exit $ac_status); }; }; then
9795 ac_header_compiler=yes
9796else
9797 echo "$as_me: failed program was:" >&5
9798sed 's/^/| /' conftest.$ac_ext >&5
9799
9800ac_header_compiler=no
9801fi
9802rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9803echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9804echo "${ECHO_T}$ac_header_compiler" >&6
9805
9806# Is the header present?
9807echo "$as_me:$LINENO: checking gmp.h presence" >&5
9808echo $ECHO_N "checking gmp.h presence... $ECHO_C" >&6
9809cat >conftest.$ac_ext <<_ACEOF
9810/* confdefs.h. */
9811_ACEOF
9812cat confdefs.h >>conftest.$ac_ext
9813cat >>conftest.$ac_ext <<_ACEOF
9814/* end confdefs.h. */
9815#include <gmp.h>
9816_ACEOF
9817if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9818 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9819 ac_status=$?
9820 grep -v '^ *+' conftest.er1 >conftest.err
9821 rm -f conftest.er1
9822 cat conftest.err >&5
9823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9824 (exit $ac_status); } >/dev/null; then
9825 if test -s conftest.err; then
9826 ac_cpp_err=$ac_cxx_preproc_warn_flag
9827 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
9828 else
9829 ac_cpp_err=
9830 fi
9831else
9832 ac_cpp_err=yes
9833fi
9834if test -z "$ac_cpp_err"; then
9835 ac_header_preproc=yes
9836else
9837 echo "$as_me: failed program was:" >&5
9838sed 's/^/| /' conftest.$ac_ext >&5
9839
9840 ac_header_preproc=no
9841fi
9842rm -f conftest.err conftest.$ac_ext
9843echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9844echo "${ECHO_T}$ac_header_preproc" >&6
9845
9846# So? What about this header?
9847case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9848 yes:no: )
9849 { echo "$as_me:$LINENO: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&5
9850echo "$as_me: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9851 { echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the compiler's result" >&5
9852echo "$as_me: WARNING: gmp.h: proceeding with the compiler's result" >&2;}
9853 ac_header_preproc=yes
9854 ;;
9855 no:yes:* )
9856 { echo "$as_me:$LINENO: WARNING: gmp.h: present but cannot be compiled" >&5
9857echo "$as_me: WARNING: gmp.h: present but cannot be compiled" >&2;}
9858 { echo "$as_me:$LINENO: WARNING: gmp.h: check for missing prerequisite headers?" >&5
9859echo "$as_me: WARNING: gmp.h: check for missing prerequisite headers?" >&2;}
9860 { echo "$as_me:$LINENO: WARNING: gmp.h: see the Autoconf documentation" >&5
9861echo "$as_me: WARNING: gmp.h: see the Autoconf documentation" >&2;}
9862 { echo "$as_me:$LINENO: WARNING: gmp.h: section \"Present But Cannot Be Compiled\"" >&5
9863echo "$as_me: WARNING: gmp.h: section \"Present But Cannot Be Compiled\"" >&2;}
9864 { echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the preprocessor's result" >&5
9865echo "$as_me: WARNING: gmp.h: proceeding with the preprocessor's result" >&2;}
9866 { echo "$as_me:$LINENO: WARNING: gmp.h: in the future, the compiler will take precedence" >&5
9867echo "$as_me: WARNING: gmp.h: in the future, the compiler will take precedence" >&2;}
9868 (
9869 cat <<\_ASBOX
9870## ------------------------------------------ ##
9871## Report this to the AC_PACKAGE_NAME lists. ##
9872## ------------------------------------------ ##
9873_ASBOX
9874 ) |
9875 sed "s/^/$as_me: WARNING: /" >&2
9876 ;;
9877esac
9878echo "$as_me:$LINENO: checking for gmp.h" >&5
9879echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6
9880if test "${ac_cv_header_gmp_h+set}" = set; then
9881 echo $ECHO_N "(cached) $ECHO_C" >&6
9882else
9883 ac_cv_header_gmp_h=$ac_header_preproc
9884fi
9885echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5
9886echo "${ECHO_T}$ac_cv_header_gmp_h" >&6
9887
9888fi
9889if test $ac_cv_header_gmp_h = yes; then
9890 :
9891else
9892 { { echo "$as_me:$LINENO: error: gmp.h not found, required for --enable-dns" >&5
9893echo "$as_me: error: gmp.h not found, required for --enable-dns" >&2;}
9894 { (exit 1); exit 1; }; }
9895fi
9896
9897
9898
9899echo "$as_me:$LINENO: checking for main in -lgmp" >&5
9900echo $ECHO_N "checking for main in -lgmp... $ECHO_C" >&6
9901if test "${ac_cv_lib_gmp_main+set}" = set; then
9902 echo $ECHO_N "(cached) $ECHO_C" >&6
9903else
9904 ac_check_lib_save_LIBS=$LIBS
9905LIBS="-lgmp $LIBS"
9906cat >conftest.$ac_ext <<_ACEOF
9907/* confdefs.h. */
9908_ACEOF
9909cat confdefs.h >>conftest.$ac_ext
9910cat >>conftest.$ac_ext <<_ACEOF
9911/* end confdefs.h. */
9912
9913
9914int
9915main ()
9916{
9917main ();
9918 ;
9919 return 0;
9920}
9921_ACEOF
9922rm -f conftest.$ac_objext conftest$ac_exeext
9923if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9924 (eval $ac_link) 2>conftest.er1
9925 ac_status=$?
9926 grep -v '^ *+' conftest.er1 >conftest.err
9927 rm -f conftest.er1
9928 cat conftest.err >&5
9929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9930 (exit $ac_status); } &&
9931 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9933 (eval $ac_try) 2>&5
9934 ac_status=$?
9935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9936 (exit $ac_status); }; } &&
9937 { ac_try='test -s conftest$ac_exeext'
9938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9939 (eval $ac_try) 2>&5
9940 ac_status=$?
9941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9942 (exit $ac_status); }; }; then
9943 ac_cv_lib_gmp_main=yes
9944else
9945 echo "$as_me: failed program was:" >&5
9946sed 's/^/| /' conftest.$ac_ext >&5
9947
9948ac_cv_lib_gmp_main=no
9949fi
9950rm -f conftest.err conftest.$ac_objext \
9951 conftest$ac_exeext conftest.$ac_ext
9952LIBS=$ac_check_lib_save_LIBS
9953fi
9954echo "$as_me:$LINENO: result: $ac_cv_lib_gmp_main" >&5
9955echo "${ECHO_T}$ac_cv_lib_gmp_main" >&6
9956if test $ac_cv_lib_gmp_main = yes; then
9957 cat >>confdefs.h <<_ACEOF
9958#define HAVE_LIBGMP 1
9959_ACEOF
9960
9961 LIBS="-lgmp $LIBS"
9962
9963else
9964 { { echo "$as_me:$LINENO: error: libgmp not found, required for --enable-dns" >&5
9965echo "$as_me: error: libgmp not found, required for --enable-dns" >&2;}
9966 { (exit 1); exit 1; }; }
9967fi
9968
9969
9970
9971cat >>confdefs.h <<_ACEOF
9972#define ENABLE_DNS 1
9973_ACEOF
9974
9975
9976
9977fi;
9978
9809# Check whether --enable-http-proxy or --disable-http-proxy was given. 9979# Check whether --enable-http-proxy or --disable-http-proxy was given.
9810if test "${enable_http_proxy+set}" = set; then 9980if test "${enable_http_proxy+set}" = set; then
9811 enableval="$enable_http_proxy" 9981 enableval="$enable_http_proxy"
9812 9982
9813cat >>confdefs.h <<_ACEOF 9983cat >>confdefs.h <<_ACEOF
9815_ACEOF 9985_ACEOF
9816 9986
9817 9987
9818fi; 9988fi;
9819 9989
9990HMAC=12
9820HMAC=8 # Check whether --enable-hmac-length or --disable-hmac-length was given. 9991# Check whether --enable-hmac-length or --disable-hmac-length was given.
9821if test "${enable_hmac_length+set}" = set; then 9992if test "${enable_hmac_length+set}" = set; then
9822 enableval="$enable_hmac_length" 9993 enableval="$enable_hmac_length"
9823 HMAC=$enableval 9994 HMAC=$enableval
9824 9995
9825fi; 9996fi;
9827cat >>confdefs.h <<_ACEOF 9998cat >>confdefs.h <<_ACEOF
9828#define HMACLENGTH $HMAC 9999#define HMACLENGTH $HMAC
9829_ACEOF 10000_ACEOF
9830 10001
9831 10002
10003RAND=8
9832RAND=8 # Check whether --enable-rand-length or --disable-rand-length was given. 10004# Check whether --enable-rand-length or --disable-rand-length was given.
9833if test "${enable_rand_length+set}" = set; then 10005if test "${enable_rand_length+set}" = set; then
9834 enableval="$enable_rand_length" 10006 enableval="$enable_rand_length"
9835 RAND=$enableval 10007 RAND=$enableval
9836 10008
9837fi; 10009fi;
9839cat >>confdefs.h <<_ACEOF 10011cat >>confdefs.h <<_ACEOF
9840#define RAND_SIZE $RAND 10012#define RAND_SIZE $RAND
9841_ACEOF 10013_ACEOF
9842 10014
9843 10015
10016MTU=1500
9844MTU=1500 # Check whether --enable-mtu or --disable-mtu was given. 10017# Check whether --enable-mtu or --disable-mtu was given.
9845if test "${enable_mtu+set}" = set; then 10018if test "${enable_mtu+set}" = set; then
9846 enableval="$enable_mtu" 10019 enableval="$enable_mtu"
9847 MTU=$enableval 10020 MTU=$enableval
9848 10021
9849fi; 10022fi;
9866cat >>confdefs.h <<_ACEOF 10039cat >>confdefs.h <<_ACEOF
9867#define ENABLE_COMPRESSION $COMPRESS 10040#define ENABLE_COMPRESSION $COMPRESS
9868_ACEOF 10041_ACEOF
9869 10042
9870 10043
9871CIPHER=bf_cbc 10044CIPHER=aes_128_cbc
9872# Check whether --enable-cipher or --disable-cipher was given. 10045# Check whether --enable-cipher or --disable-cipher was given.
9873if test "${enable_cipher+set}" = set; then 10046if test "${enable_cipher+set}" = set; then
9874 enableval="$enable_cipher" 10047 enableval="$enable_cipher"
9875 if test "x$enableval" = xbf ; then CIPHER=bf_cbc ; fi 10048 if test "x$enableval" = xbf ; then CIPHER=bf_cbc ; fi
9876 if test "x$enableval" = xaes-128; then CIPHER=aes_128_cbc; fi 10049 if test "x$enableval" = xaes-128; then CIPHER=aes_128_cbc; fi
9882cat >>confdefs.h <<_ACEOF 10055cat >>confdefs.h <<_ACEOF
9883#define ENABLE_CIPHER EVP_${CIPHER} 10056#define ENABLE_CIPHER EVP_${CIPHER}
9884_ACEOF 10057_ACEOF
9885 10058
9886 10059
9887DIGEST=sha1 10060DIGEST=ripemd160
9888# Check whether --enable-digest or --disable-digest was given. 10061# Check whether --enable-digest or --disable-digest was given.
9889if test "${enable_digest+set}" = set; then 10062if test "${enable_digest+set}" = set; then
9890 enableval="$enable_digest" 10063 enableval="$enable_digest"
9891 if test "x$enableval" = xsha1 ; then DIGEST=sha1 ; fi 10064 if test "x$enableval" = xsha1 ; then DIGEST=sha1 ; fi
9892 if test "x$enableval" = xripemd160; then DIGEST=ripemd160; fi 10065 if test "x$enableval" = xripemd160; then DIGEST=ripemd160; fi
9909fi 10082fi
9910 10083
9911 10084
9912 10085
9913 10086
9914
9915
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
11462_ACEOF 11644_ACEOF
11463chmod +x $CONFIG_STATUS 11645chmod +x $CONFIG_STATUS
11464ac_clean_files=$ac_clean_files_save 11646ac_clean_files=$ac_clean_files_save
11465 11647
11466 11648
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. 11649# configure is writing to config.log, and then calls config.status.
11492# config.status does its own redirection, appending to config.log. 11650# config.status does its own redirection, appending to config.log.
11493# Unfortunately, on DOS this fails, as config.log is still kept open 11651# 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 11652# 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, 11653# output is simply discarded. So we exec the FD to /dev/null,
11507 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 11665 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11508 # would make configure fail if this is the last instruction. 11666 # would make configure fail if this is the last instruction.
11509 $ac_cs_success || { (exit 1); exit 1; } 11667 $ac_cs_success || { (exit 1); exit 1; }
11510fi 11668fi
11511 11669
11670
11671echo
11672echo "***"
11673echo "*** Configuration Summary"
11674echo "***"
11675echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE"
11676echo "*** Cipher used: $CIPHER"
11677echo "*** Digest used: $DIGEST"
11678echo "*** HMAC length: $HMAC"
11679echo "*** RAND used: $RAND"
11680echo "*** Max. MTU: $MTU"
11681
11682echo "***"
11683echo "*** Enable options:"
11684grep ENABLE_ config.h | sed -e 's/^/*** /'
11685
11686if test "x$DIGEST" = xmd4; then
11687echo "***"
11688echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure"
11689fi
11690
11691if test "$HMAC" -lt 12; then
11692echo "***"
11693echo "*** WARNING: The hmac length you have chosen ($HMAC) is probably insecure"
11694fi
11695
11696if test "$RAND" -lt 8; then
11697echo "***"
11698echo "*** WARNING: The random prefix you have chosen ($RAND) is probably insecure"
11699fi
11700
11701echo "***"
11702echo
11703
11704

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines