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

Comparing gvpe/configure (file contents):
Revision 1.22 by pcg, Fri Jun 11 15:56:03 2004 UTC vs.
Revision 1.28 by pcg, Wed Mar 23 20:22:01 2005 UTC

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>
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. 872 Use kernel/net device interface TYPE/SUBTYPE.
873 Working combinations are: "native/linux" 873 Working combinations are (see doc/gvpe.osdep.5.pod):
874 "native/linux" "tincd/linux" "tincd/netbsd"
874 "tincd/linux" "tincd/freebsd" "tincd/openbsd" 875 "tincd/freebsd" "tincd/openbsd" "native/darwin"
875 "tincd/darwin" "native/cygwin"; Untested 876 "tincd/darwin" "native/cygwin"; Untested
876 combinations are: "tincd/netbsd" "tincd/solaris" 877 combinations are: "tincd/solaris" "tincd/mingw"
877 "tincd/mingw"; Broken combinations are: 878 "tincd/raw_socket" "tincd/uml_socket"; Broken
878 "tincd/cygwin"; The default is to autodetect. 879 combinations are: "tincd/cygwin"; The default is to
880 autodetect.
879 --enable-static-daemon enable statically linked daemon. 881 --enable-static-daemon enable statically linked daemon.
880 --enable-rohc enable robust header compression (rfc3095). 882 --enable-rohc enable robust header compression (rfc3095).
881 --enable-icmp enable icmp protocol support (default disabled). 883 --enable-icmp enable icmp protocol support (default disabled).
882 --enable-tcp enable tcp protocol support (default disabled). 884 --enable-tcp enable tcp protocol support (default disabled).
883 --enable-dns enable dns tunnel protocol support (DOES NOT WORK). 885 --enable-dns enable dns tunnel protocol support (DOES NOT WORK).
1718fi 1720fi
1719 1721
1720 1722
1721# Define the identity of the package. 1723# Define the identity of the package.
1722 PACKAGE=gvpe 1724 PACKAGE=gvpe
1723 VERSION=1.7 1725 VERSION=1.9
1724 1726
1725 1727
1726cat >>confdefs.h <<_ACEOF 1728cat >>confdefs.h <<_ACEOF
1727#define PACKAGE "$PACKAGE" 1729#define PACKAGE "$PACKAGE"
1728_ACEOF 1730_ACEOF
6414#define HAVE_FREEBSD 1 6416#define HAVE_FREEBSD 1
6415_ACEOF 6417_ACEOF
6416 6418
6417 ;; 6419 ;;
6418 *darwin*) 6420 *darwin*)
6419 IFTYPE=tincd 6421 IFTYPE=native
6420 IFSUBTYPE=darwin 6422 IFSUBTYPE=darwin
6421 6423
6422cat >>confdefs.h <<\_ACEOF 6424cat >>confdefs.h <<\_ACEOF
6423#define HAVE_DARWIN 1 6425#define HAVE_DARWIN 1
6424_ACEOF 6426_ACEOF
7013 7015
7014done 7016done
7015 7017
7016 7018
7017 7019
7020
7018for ac_header in ext/hash_map 7021for ac_header in ext/hash_map clocale
7019do 7022do
7020as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7023as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7021if eval "test \"\${$as_ac_Header+set}\" = set"; then 7024if eval "test \"\${$as_ac_Header+set}\" = set"; then
7022 echo "$as_me:$LINENO: checking for $ac_header" >&5 7025 echo "$as_me:$LINENO: checking for $ac_header" >&5
7023echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7026echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9744 9747
9745# Check whether --enable-dns or --disable-dns was given. 9748# Check whether --enable-dns or --disable-dns was given.
9746if test "${enable_dns+set}" = set; then 9749if test "${enable_dns+set}" = set; then
9747 enableval="$enable_dns" 9750 enableval="$enable_dns"
9748 9751
9752 if test "${ac_cv_header_gmp_h+set}" = set; then
9753 echo "$as_me:$LINENO: checking for gmp.h" >&5
9754echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6
9755if test "${ac_cv_header_gmp_h+set}" = set; then
9756 echo $ECHO_N "(cached) $ECHO_C" >&6
9757fi
9758echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5
9759echo "${ECHO_T}$ac_cv_header_gmp_h" >&6
9760else
9761 # Is the header compilable?
9762echo "$as_me:$LINENO: checking gmp.h usability" >&5
9763echo $ECHO_N "checking gmp.h usability... $ECHO_C" >&6
9764cat >conftest.$ac_ext <<_ACEOF
9765/* confdefs.h. */
9766_ACEOF
9767cat confdefs.h >>conftest.$ac_ext
9768cat >>conftest.$ac_ext <<_ACEOF
9769/* end confdefs.h. */
9770$ac_includes_default
9771#include <gmp.h>
9772_ACEOF
9773rm -f conftest.$ac_objext
9774if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9775 (eval $ac_compile) 2>conftest.er1
9776 ac_status=$?
9777 grep -v '^ *+' conftest.er1 >conftest.err
9778 rm -f conftest.er1
9779 cat conftest.err >&5
9780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9781 (exit $ac_status); } &&
9782 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9784 (eval $ac_try) 2>&5
9785 ac_status=$?
9786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9787 (exit $ac_status); }; } &&
9788 { ac_try='test -s conftest.$ac_objext'
9789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9790 (eval $ac_try) 2>&5
9791 ac_status=$?
9792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9793 (exit $ac_status); }; }; then
9794 ac_header_compiler=yes
9795else
9796 echo "$as_me: failed program was:" >&5
9797sed 's/^/| /' conftest.$ac_ext >&5
9798
9799ac_header_compiler=no
9800fi
9801rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9802echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9803echo "${ECHO_T}$ac_header_compiler" >&6
9804
9805# Is the header present?
9806echo "$as_me:$LINENO: checking gmp.h presence" >&5
9807echo $ECHO_N "checking gmp.h presence... $ECHO_C" >&6
9808cat >conftest.$ac_ext <<_ACEOF
9809/* confdefs.h. */
9810_ACEOF
9811cat confdefs.h >>conftest.$ac_ext
9812cat >>conftest.$ac_ext <<_ACEOF
9813/* end confdefs.h. */
9814#include <gmp.h>
9815_ACEOF
9816if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9817 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9818 ac_status=$?
9819 grep -v '^ *+' conftest.er1 >conftest.err
9820 rm -f conftest.er1
9821 cat conftest.err >&5
9822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9823 (exit $ac_status); } >/dev/null; then
9824 if test -s conftest.err; then
9825 ac_cpp_err=$ac_cxx_preproc_warn_flag
9826 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
9827 else
9828 ac_cpp_err=
9829 fi
9830else
9831 ac_cpp_err=yes
9832fi
9833if test -z "$ac_cpp_err"; then
9834 ac_header_preproc=yes
9835else
9836 echo "$as_me: failed program was:" >&5
9837sed 's/^/| /' conftest.$ac_ext >&5
9838
9839 ac_header_preproc=no
9840fi
9841rm -f conftest.err conftest.$ac_ext
9842echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9843echo "${ECHO_T}$ac_header_preproc" >&6
9844
9845# So? What about this header?
9846case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9847 yes:no: )
9848 { echo "$as_me:$LINENO: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&5
9849echo "$as_me: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9850 { echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the compiler's result" >&5
9851echo "$as_me: WARNING: gmp.h: proceeding with the compiler's result" >&2;}
9852 ac_header_preproc=yes
9853 ;;
9854 no:yes:* )
9855 { echo "$as_me:$LINENO: WARNING: gmp.h: present but cannot be compiled" >&5
9856echo "$as_me: WARNING: gmp.h: present but cannot be compiled" >&2;}
9857 { echo "$as_me:$LINENO: WARNING: gmp.h: check for missing prerequisite headers?" >&5
9858echo "$as_me: WARNING: gmp.h: check for missing prerequisite headers?" >&2;}
9859 { echo "$as_me:$LINENO: WARNING: gmp.h: see the Autoconf documentation" >&5
9860echo "$as_me: WARNING: gmp.h: see the Autoconf documentation" >&2;}
9861 { echo "$as_me:$LINENO: WARNING: gmp.h: section \"Present But Cannot Be Compiled\"" >&5
9862echo "$as_me: WARNING: gmp.h: section \"Present But Cannot Be Compiled\"" >&2;}
9863 { echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the preprocessor's result" >&5
9864echo "$as_me: WARNING: gmp.h: proceeding with the preprocessor's result" >&2;}
9865 { echo "$as_me:$LINENO: WARNING: gmp.h: in the future, the compiler will take precedence" >&5
9866echo "$as_me: WARNING: gmp.h: in the future, the compiler will take precedence" >&2;}
9867 (
9868 cat <<\_ASBOX
9869## ------------------------------------------ ##
9870## Report this to the AC_PACKAGE_NAME lists. ##
9871## ------------------------------------------ ##
9872_ASBOX
9873 ) |
9874 sed "s/^/$as_me: WARNING: /" >&2
9875 ;;
9876esac
9877echo "$as_me:$LINENO: checking for gmp.h" >&5
9878echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6
9879if test "${ac_cv_header_gmp_h+set}" = set; then
9880 echo $ECHO_N "(cached) $ECHO_C" >&6
9881else
9882 ac_cv_header_gmp_h=$ac_header_preproc
9883fi
9884echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5
9885echo "${ECHO_T}$ac_cv_header_gmp_h" >&6
9886
9887fi
9888if test $ac_cv_header_gmp_h = yes; then
9889 :
9890else
9891 { { echo "$as_me:$LINENO: error: gmp.h not found, required for --enable-dns" >&5
9892echo "$as_me: error: gmp.h not found, required for --enable-dns" >&2;}
9893 { (exit 1); exit 1; }; }
9894fi
9895
9896
9897
9898echo "$as_me:$LINENO: checking for main in -lgmp" >&5
9899echo $ECHO_N "checking for main in -lgmp... $ECHO_C" >&6
9900if test "${ac_cv_lib_gmp_main+set}" = set; then
9901 echo $ECHO_N "(cached) $ECHO_C" >&6
9902else
9903 ac_check_lib_save_LIBS=$LIBS
9904LIBS="-lgmp $LIBS"
9905cat >conftest.$ac_ext <<_ACEOF
9906/* confdefs.h. */
9907_ACEOF
9908cat confdefs.h >>conftest.$ac_ext
9909cat >>conftest.$ac_ext <<_ACEOF
9910/* end confdefs.h. */
9911
9912
9913int
9914main ()
9915{
9916main ();
9917 ;
9918 return 0;
9919}
9920_ACEOF
9921rm -f conftest.$ac_objext conftest$ac_exeext
9922if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9923 (eval $ac_link) 2>conftest.er1
9924 ac_status=$?
9925 grep -v '^ *+' conftest.er1 >conftest.err
9926 rm -f conftest.er1
9927 cat conftest.err >&5
9928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9929 (exit $ac_status); } &&
9930 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9932 (eval $ac_try) 2>&5
9933 ac_status=$?
9934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9935 (exit $ac_status); }; } &&
9936 { ac_try='test -s conftest$ac_exeext'
9937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9938 (eval $ac_try) 2>&5
9939 ac_status=$?
9940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9941 (exit $ac_status); }; }; then
9942 ac_cv_lib_gmp_main=yes
9943else
9944 echo "$as_me: failed program was:" >&5
9945sed 's/^/| /' conftest.$ac_ext >&5
9946
9947ac_cv_lib_gmp_main=no
9948fi
9949rm -f conftest.err conftest.$ac_objext \
9950 conftest$ac_exeext conftest.$ac_ext
9951LIBS=$ac_check_lib_save_LIBS
9952fi
9953echo "$as_me:$LINENO: result: $ac_cv_lib_gmp_main" >&5
9954echo "${ECHO_T}$ac_cv_lib_gmp_main" >&6
9955if test $ac_cv_lib_gmp_main = yes; then
9956 cat >>confdefs.h <<_ACEOF
9957#define HAVE_LIBGMP 1
9958_ACEOF
9959
9960 LIBS="-lgmp $LIBS"
9961
9962else
9963 { { echo "$as_me:$LINENO: error: libgmp not found, required for --enable-dns" >&5
9964echo "$as_me: error: libgmp not found, required for --enable-dns" >&2;}
9965 { (exit 1); exit 1; }; }
9966fi
9967
9968
9969
9749cat >>confdefs.h <<_ACEOF 9970cat >>confdefs.h <<_ACEOF
9750#define ENABLE_DNS 1 9971#define ENABLE_DNS 1
9751_ACEOF 9972_ACEOF
9973
9752 9974
9753 9975
9754fi; 9976fi;
9755 9977
9756# Check whether --enable-http-proxy or --disable-http-proxy was given. 9978# Check whether --enable-http-proxy or --disable-http-proxy was given.
9861 10083
9862 10084
9863 10085
9864 10086
9865 10087
9866 ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile src/rohc/Makefile doc/Makefile lib/Makefile m4/Makefile" 10088 ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile doc/Makefile lib/Makefile m4/Makefile"
9867 10089
9868cat >confcache <<\_ACEOF 10090cat >confcache <<\_ACEOF
9869# This file is a shell script that caches the results of configure 10091# This file is a shell script that caches the results of configure
9870# tests run on this system so they can be shared between configure 10092# tests run on this system so they can be shared between configure
9871# scripts and configure runs, see configure's option --config-cache. 10093# scripts and configure runs, see configure's option --config-cache.
10450 case "$ac_config_target" in 10672 case "$ac_config_target" in
10451 # Handling of arguments. 10673 # Handling of arguments.
10452 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 10674 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10453 "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 10675 "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
10454 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 10676 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
10455 "src/rohc/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/rohc/Makefile" ;;
10456 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 10677 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
10457 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 10678 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
10458 "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; 10679 "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
10459 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 10680 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
10460 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 10681 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines