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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines