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

Comparing gvpe/configure (file contents):
Revision 1.54 by root, Fri Jan 17 11:19:04 2014 UTC vs.
Revision 1.59 by root, Thu Oct 25 04:32:26 2018 UTC

617#endif 617#endif
618#ifdef HAVE_UNISTD_H 618#ifdef HAVE_UNISTD_H
619# include <unistd.h> 619# include <unistd.h>
620#endif" 620#endif"
621 621
622ac_subst_vars='am__EXEEXT_FALSE 622ac_subst_vars='LTLIBOBJS
623am__EXEEXT_TRUE
624LTLIBOBJS
625LIBOBJS 623LIBOBJS
626INCLUDES 624INCLUDES
627ROHC_FALSE 625ROHC_FALSE
628ROHC_TRUE 626ROHC_TRUE
629LDFLAGS_DAEMON 627LDFLAGS_DAEMON
628LIBCRYPTO_LIBS
629LIBCRYPTO_CFLAGS
630PKG_CONFIG_LIBDIR
631PKG_CONFIG_PATH
632PKG_CONFIG
630HAVE_TUNTAP 633HAVE_TUNTAP
631LINUX_IF_TUN_H 634LINUX_IF_TUN_H
632ALLOCA 635ALLOCA
633CXXCPP 636CXXCPP
634IFSUBTYPE 637IFSUBTYPE
652LIBICONV 655LIBICONV
653USE_NLS 656USE_NLS
654am__fastdepCC_FALSE 657am__fastdepCC_FALSE
655am__fastdepCC_TRUE 658am__fastdepCC_TRUE
656CCDEPMODE 659CCDEPMODE
657am__nodep
658AMDEPBACKSLASH 660AMDEPBACKSLASH
659AMDEP_FALSE 661AMDEP_FALSE
660AMDEP_TRUE 662AMDEP_TRUE
661am__quote 663am__quote
662am__include 664am__include
674MSGFMT 676MSGFMT
675MKINSTALLDIRS 677MKINSTALLDIRS
676MAINT 678MAINT
677MAINTAINER_MODE_FALSE 679MAINTAINER_MODE_FALSE
678MAINTAINER_MODE_TRUE 680MAINTAINER_MODE_TRUE
679am__untar
680am__tar
681AMTAR
682am__leading_dot 681am__leading_dot
683SET_MAKE 682SET_MAKE
684AWK 683AWK
685mkdir_p
686MKDIR_P
687INSTALL_STRIP_PROGRAM 684INSTALL_STRIP_PROGRAM
688STRIP 685STRIP
689install_sh 686install_sh
687AMTAR
690MAKEINFO 688MAKEINFO
691AUTOHEADER 689AUTOHEADER
692AUTOMAKE 690AUTOMAKE
693AUTOCONF 691AUTOCONF
694ACLOCAL 692ACLOCAL
695VERSION 693VERSION
696PACKAGE 694PACKAGE
697CYGPATH_W 695CYGPATH_W
698am__isrc
699INSTALL_DATA 696INSTALL_DATA
700INSTALL_SCRIPT 697INSTALL_SCRIPT
701INSTALL_PROGRAM 698INSTALL_PROGRAM
702target_os 699target_os
703target_vendor 700target_vendor
728htmldir 725htmldir
729infodir 726infodir
730docdir 727docdir
731oldincludedir 728oldincludedir
732includedir 729includedir
730runstatedir
733localstatedir 731localstatedir
734sharedstatedir 732sharedstatedir
735sysconfdir 733sysconfdir
736datadir 734datadir
737datarootdir 735datarootdir
759with_libiconv_prefix 757with_libiconv_prefix
760enable_nls 758enable_nls
761with_libintl_prefix 759with_libintl_prefix
762enable_iftype 760enable_iftype
763with_kernel 761with_kernel
764with_openssl_include
765with_openssl_lib
766enable_threads 762enable_threads
767enable_static_daemon 763enable_static_daemon
768enable_icmp 764enable_icmp
769enable_tcp 765enable_tcp
770enable_http_proxy 766enable_http_proxy
771enable_dns 767enable_dns
772enable_rsa_length 768enable_rsa_length
773enable_hmac_length 769enable_hmac_length
774enable_rand_length
775enable_max_mtu 770enable_max_mtu
776enable_compression 771enable_compression
777enable_cipher 772enable_cipher
778enable_hmac_digest 773enable_hmac_digest
779enable_auth_digest 774enable_auth_digest
788CPPFLAGS 783CPPFLAGS
789CPP 784CPP
790CXX 785CXX
791CXXFLAGS 786CXXFLAGS
792CCC 787CCC
793CXXCPP' 788CXXCPP
789PKG_CONFIG
790PKG_CONFIG_PATH
791PKG_CONFIG_LIBDIR
792LIBCRYPTO_CFLAGS
793LIBCRYPTO_LIBS'
794 794
795 795
796# Initialize some variables set by options. 796# Initialize some variables set by options.
797ac_init_help= 797ac_init_help=
798ac_init_version=false 798ac_init_version=false
827datarootdir='${prefix}/share' 827datarootdir='${prefix}/share'
828datadir='${datarootdir}' 828datadir='${datarootdir}'
829sysconfdir='${prefix}/etc' 829sysconfdir='${prefix}/etc'
830sharedstatedir='${prefix}/com' 830sharedstatedir='${prefix}/com'
831localstatedir='${prefix}/var' 831localstatedir='${prefix}/var'
832runstatedir='${localstatedir}/run'
832includedir='${prefix}/include' 833includedir='${prefix}/include'
833oldincludedir='/usr/include' 834oldincludedir='/usr/include'
834docdir='${datarootdir}/doc/${PACKAGE}' 835docdir='${datarootdir}/doc/${PACKAGE}'
835infodir='${datarootdir}/info' 836infodir='${datarootdir}/info'
836htmldir='${docdir}' 837htmldir='${docdir}'
1079 1080
1080 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1081 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1081 | -silent | --silent | --silen | --sile | --sil) 1082 | -silent | --silent | --silen | --sile | --sil)
1082 silent=yes ;; 1083 silent=yes ;;
1083 1084
1085 -runstatedir | --runstatedir | --runstatedi | --runstated \
1086 | --runstate | --runstat | --runsta | --runst | --runs \
1087 | --run | --ru | --r)
1088 ac_prev=runstatedir ;;
1089 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1090 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1091 | --run=* | --ru=* | --r=*)
1092 runstatedir=$ac_optarg ;;
1093
1084 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1094 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1085 ac_prev=sbindir ;; 1095 ac_prev=sbindir ;;
1086 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1096 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1087 | --sbi=* | --sb=*) 1097 | --sbi=* | --sb=*)
1088 sbindir=$ac_optarg ;; 1098 sbindir=$ac_optarg ;;
1216 1226
1217# Check all directory arguments for consistency. 1227# Check all directory arguments for consistency.
1218for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1228for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1219 datadir sysconfdir sharedstatedir localstatedir includedir \ 1229 datadir sysconfdir sharedstatedir localstatedir includedir \
1220 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1230 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1221 libdir localedir mandir 1231 libdir localedir mandir runstatedir
1222do 1232do
1223 eval ac_val=\$$ac_var 1233 eval ac_val=\$$ac_var
1224 # Remove trailing slashes. 1234 # Remove trailing slashes.
1225 case $ac_val in 1235 case $ac_val in
1226 */ ) 1236 */ )
1369 --sbindir=DIR system admin executables [EPREFIX/sbin] 1379 --sbindir=DIR system admin executables [EPREFIX/sbin]
1370 --libexecdir=DIR program executables [EPREFIX/libexec] 1380 --libexecdir=DIR program executables [EPREFIX/libexec]
1371 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1381 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1372 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1382 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1373 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1383 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1384 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1374 --libdir=DIR object code libraries [EPREFIX/lib] 1385 --libdir=DIR object code libraries [EPREFIX/lib]
1375 --includedir=DIR C header files [PREFIX/include] 1386 --includedir=DIR C header files [PREFIX/include]
1376 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1387 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1377 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1388 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1378 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1389 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1406 1417
1407Optional Features: 1418Optional Features:
1408 --disable-option-checking ignore unrecognized --enable/--with options 1419 --disable-option-checking ignore unrecognized --enable/--with options
1409 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1420 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1410 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1421 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1411 --enable-maintainer-mode enable make rules and dependencies not useful 1422 --enable-maintainer-mode enable make rules and dependencies not useful
1412 (and sometimes confusing) to the casual installer 1423 (and sometimes confusing) to the casual installer
1413 --disable-dependency-tracking speeds up one-time build 1424 --disable-dependency-tracking Speeds up one-time builds
1414 --enable-dependency-tracking do not reject slow dependency extractors 1425 --enable-dependency-tracking Do not reject slow dependency extractors
1415 --disable-rpath do not hardcode runtime library paths 1426 --disable-rpath do not hardcode runtime library paths
1416 --disable-nls do not use Native Language Support 1427 --disable-nls do not use Native Language Support
1417 --enable-iftype=TYPE/SUBTYPE 1428 --enable-iftype=TYPE/SUBTYPE
1418 Use kernel/net device interface TYPE/SUBTYPE. 1429 Use kernel/net device interface TYPE/SUBTYPE.
1419 Working combinations are (see doc/gvpe.osdep.5.pod): 1430 Working combinations are (see doc/gvpe.osdep.5.pod):
1436 use BITS rsa keys (default 3072). Allowed values are 1447 use BITS rsa keys (default 3072). Allowed values are
1437 2048-10240. 1448 2048-10240.
1438 --enable-hmac-length=BYTES 1449 --enable-hmac-length=BYTES
1439 use a hmac of length BYTES bytes (default 12). 1450 use a hmac of length BYTES bytes (default 12).
1440 Allowed values are 4, 8, 12, 16. 1451 Allowed values are 4, 8, 12, 16.
1441 --enable-rand-length=BYTES
1442 use BYTES bytes of extra randomness (default 12).
1443 Allowed values are 0, 4, 8, 12.
1444 --enable-max-mtu=BYTES enable mtu sizes upto BYTES bytes (default 1500). 1452 --enable-max-mtu=BYTES enable mtu sizes upto BYTES bytes (default 1500).
1445 Use 9100 for jumbogram support. 1453 Use 9100 for jumbogram support.
1446 --disable-compression Disable compression support. 1454 --disable-compression Disable compression support.
1447 --enable-cipher=CIPHER Select the symmetric cipher (default "aes-128"). 1455 --enable-cipher=CIPHER Select the symmetric cipher (default "aes-128").
1448 Must be one of "bf" (blowfish), "aes-128" 1456 Must be one of "aes-128" (rijndael), "aes-192", or
1449 (rijndael), "aes-192", "aes-256", "camellia-128" or
1450 "camellia-256". 1457 "aes-256".
1451 --enable-hmac-digest=HMAC 1458 --enable-hmac-digest=HMAC
1452 Select the HMAC digest algorithm to use (default 1459 Select the HMAC digest algorithm to use (default
1453 "sha1"). Must be one of "sha512", "sha256", "sha1", 1460 "sha1"). Must be one of "sha512", "sha256", "sha1",
1454 "ripemd160", "whirlpool". 1461 "ripemd160", "whirlpool".
1455 --enable-auth-digest=DIGEST 1462 --enable-auth-digest=DIGEST
1464 --without-libiconv-prefix don't search for libiconv in includedir and libdir 1471 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1465 --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib 1472 --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib
1466 --without-libintl-prefix don't search for libintl in includedir and libdir 1473 --without-libintl-prefix don't search for libintl in includedir and libdir
1467 --with-kernel=dir give the directory with kernel sources 1474 --with-kernel=dir give the directory with kernel sources
1468 (default: /usr/src/linux) 1475 (default: /usr/src/linux)
1469 --with-openssl-include=DIR OpenSSL headers directory (without trailing /openssl)
1470 --with-openssl-lib=DIR OpenSSL library directory
1471 1476
1472Some influential environment variables: 1477Some influential environment variables:
1473 CC C compiler command 1478 CC C compiler command
1474 CFLAGS C compiler flags 1479 CFLAGS C compiler flags
1475 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1480 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1479 you have headers in a nonstandard directory <include dir> 1484 you have headers in a nonstandard directory <include dir>
1480 CPP C preprocessor 1485 CPP C preprocessor
1481 CXX C++ compiler command 1486 CXX C++ compiler command
1482 CXXFLAGS C++ compiler flags 1487 CXXFLAGS C++ compiler flags
1483 CXXCPP C++ preprocessor 1488 CXXCPP C++ preprocessor
1489 PKG_CONFIG path to pkg-config utility
1490 PKG_CONFIG_PATH
1491 directories to add to pkg-config's search path
1492 PKG_CONFIG_LIBDIR
1493 path overriding pkg-config's built-in search path
1494 LIBCRYPTO_CFLAGS
1495 C compiler flags for LIBCRYPTO, overriding pkg-config
1496 LIBCRYPTO_LIBS
1497 linker flags for LIBCRYPTO, overriding pkg-config
1484 1498
1485Use these variables to override the choices made by `configure' or to help 1499Use these variables to override the choices made by `configure' or to help
1486it to find libraries and programs with nonstandard names/locations. 1500it to find libraries and programs with nonstandard names/locations.
1487 1501
1488Report bugs to the package provider. 1502Report bugs to the package provider.
2211 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2225 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2212 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2226 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2213 as_fn_set_status $ac_retval 2227 as_fn_set_status $ac_retval
2214 2228
2215} # ac_fn_cxx_try_link 2229} # ac_fn_cxx_try_link
2216
2217# ac_fn_cxx_check_func LINENO FUNC VAR
2218# ------------------------------------
2219# Tests whether FUNC exists, setting the cache variable VAR accordingly
2220ac_fn_cxx_check_func ()
2221{
2222 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2224$as_echo_n "checking for $2... " >&6; }
2225if eval \${$3+:} false; then :
2226 $as_echo_n "(cached) " >&6
2227else
2228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2229/* end confdefs.h. */
2230/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2232#define $2 innocuous_$2
2233
2234/* System header to define __stub macros and hopefully few prototypes,
2235 which can conflict with char $2 (); below.
2236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2237 <limits.h> exists even on freestanding compilers. */
2238
2239#ifdef __STDC__
2240# include <limits.h>
2241#else
2242# include <assert.h>
2243#endif
2244
2245#undef $2
2246
2247/* Override any GCC internal prototype to avoid an error.
2248 Use char because int might match the return type of a GCC
2249 builtin and then its argument prototype would still apply. */
2250#ifdef __cplusplus
2251extern "C"
2252#endif
2253char $2 ();
2254/* The GNU C library defines this for functions which it implements
2255 to always fail with ENOSYS. Some functions are actually named
2256 something starting with __ and the normal name is an alias. */
2257#if defined __stub_$2 || defined __stub___$2
2258choke me
2259#endif
2260
2261int
2262main ()
2263{
2264return $2 ();
2265 ;
2266 return 0;
2267}
2268_ACEOF
2269if ac_fn_cxx_try_link "$LINENO"; then :
2270 eval "$3=yes"
2271else
2272 eval "$3=no"
2273fi
2274rm -f core conftest.err conftest.$ac_objext \
2275 conftest$ac_exeext conftest.$ac_ext
2276fi
2277eval ac_res=\$$3
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2279$as_echo "$ac_res" >&6; }
2280 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2281
2282} # ac_fn_cxx_check_func
2283cat >config.log <<_ACEOF 2230cat >config.log <<_ACEOF
2284This file contains any messages produced by compilers while 2231This file contains any messages produced by compilers while
2285running configure, to aid debugging if configure makes a mistake. 2232running configure, to aid debugging if configure makes a mistake.
2286 2233
2287It was created by $as_me, which was 2234It was created by $as_me, which was
2770# will get canonicalized. 2717# will get canonicalized.
2771test -n "$target_alias" && 2718test -n "$target_alias" &&
2772 test "$program_prefix$program_suffix$program_transform_name" = \ 2719 test "$program_prefix$program_suffix$program_transform_name" = \
2773 NONENONEs,x,x, && 2720 NONENONEs,x,x, &&
2774 program_prefix=${target_alias}- 2721 program_prefix=${target_alias}-
2775am__api_version='1.11' 2722am__api_version="1.7"
2776
2777# Find a good install program. We prefer a C program (faster), 2723# Find a good install program. We prefer a C program (faster),
2778# so one script is as good as another. But avoid the broken or 2724# so one script is as good as another. But avoid the broken or
2779# incompatible versions: 2725# incompatible versions:
2780# SysV /etc/install, /usr/sbin/install 2726# SysV /etc/install, /usr/sbin/install
2781# SunOS /usr/etc/install 2727# SunOS /usr/etc/install
2870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2871$as_echo_n "checking whether build environment is sane... " >&6; } 2817$as_echo_n "checking whether build environment is sane... " >&6; }
2872# Just in case 2818# Just in case
2873sleep 1 2819sleep 1
2874echo timestamp > conftest.file 2820echo timestamp > conftest.file
2875# Reject unsafe characters in $srcdir or the absolute working directory
2876# name. Accept space and tab only in the latter.
2877am_lf='
2878'
2879case `pwd` in
2880 *[\\\"\#\$\&\'\`$am_lf]*)
2881 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2882esac
2883case $srcdir in
2884 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2885 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2886esac
2887
2888# Do `set' in a subshell so we don't clobber the current shell's 2821# Do `set' in a subshell so we don't clobber the current shell's
2889# arguments. Must try -L first in case configure is actually a 2822# arguments. Must try -L first in case configure is actually a
2890# symlink; some systems play weird games with the mod time of symlinks 2823# symlink; some systems play weird games with the mod time of symlinks
2891# (eg FreeBSD returns the mod time of the symlink's containing 2824# (eg FreeBSD returns the mod time of the symlink's containing
2892# directory). 2825# directory).
2893if ( 2826if (
2894 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2827 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2895 if test "$*" = "X"; then 2828 if test "$*" = "X"; then
2896 # -L didn't work. 2829 # -L didn't work.
2897 set X `ls -t "$srcdir/configure" conftest.file` 2830 set X `ls -t $srcdir/configure conftest.file`
2898 fi 2831 fi
2899 rm -f conftest.file 2832 rm -f conftest.file
2900 if test "$*" != "X $srcdir/configure conftest.file" \ 2833 if test "$*" != "X $srcdir/configure conftest.file" \
2901 && test "$*" != "X conftest.file $srcdir/configure"; then 2834 && test "$*" != "X conftest.file $srcdir/configure"; then
2902 2835
2927# Double any \ or $. 2860# Double any \ or $.
2928# By default was `s,x,x', remove it if useless. 2861# By default was `s,x,x', remove it if useless.
2929ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2862ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2930program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2863program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2931 2864
2865
2932# expand $ac_aux_dir to an absolute path 2866# expand $ac_aux_dir to an absolute path
2933am_aux_dir=`cd $ac_aux_dir && pwd` 2867am_aux_dir=`cd $ac_aux_dir && pwd`
2934 2868
2935if test x"${MISSING+set}" != xset; then 2869test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2936 case $am_aux_dir in
2937 *\ * | *\ *)
2938 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2939 *)
2940 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2941 esac
2942fi
2943# Use eval to expand $SHELL 2870# Use eval to expand $SHELL
2944if eval "$MISSING --run true"; then 2871if eval "$MISSING --run true"; then
2945 am_missing_run="$MISSING --run " 2872 am_missing_run="$MISSING --run "
2946else 2873else
2947 am_missing_run= 2874 am_missing_run=
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2949$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2876$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2950fi 2877fi
2951 2878
2952if test x"${install_sh}" != xset; then 2879for ac_prog in gawk mawk nawk awk
2953 case $am_aux_dir in 2880do
2954 *\ * | *\ *) 2881 # Extract the first word of "$ac_prog", so it can be a program name with args.
2955 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2882set dummy $ac_prog; ac_word=$2
2883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2884$as_echo_n "checking for $ac_word... " >&6; }
2885if ${ac_cv_prog_AWK+:} false; then :
2886 $as_echo_n "(cached) " >&6
2887else
2888 if test -n "$AWK"; then
2889 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2890else
2891as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2892for as_dir in $PATH
2893do
2894 IFS=$as_save_IFS
2895 test -z "$as_dir" && as_dir=.
2896 for ac_exec_ext in '' $ac_executable_extensions; do
2897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2898 ac_cv_prog_AWK="$ac_prog"
2899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2900 break 2
2901 fi
2902done
2903 done
2904IFS=$as_save_IFS
2905
2906fi
2907fi
2908AWK=$ac_cv_prog_AWK
2909if test -n "$AWK"; then
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2911$as_echo "$AWK" >&6; }
2912else
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2914$as_echo "no" >&6; }
2915fi
2916
2917
2918 test -n "$AWK" && break
2919done
2920
2921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2922$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2923set x ${MAKE-make}
2924ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2925if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2926 $as_echo_n "(cached) " >&6
2927else
2928 cat >conftest.make <<\_ACEOF
2929SHELL = /bin/sh
2930all:
2931 @echo '@@@%%%=$(MAKE)=@@@%%%'
2932_ACEOF
2933# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2934case `${MAKE-make} -f conftest.make 2>/dev/null` in
2935 *@@@%%%=?*=@@@%%%*)
2936 eval ac_cv_prog_make_${ac_make}_set=yes;;
2956 *) 2937 *)
2957 install_sh="\${SHELL} $am_aux_dir/install-sh" 2938 eval ac_cv_prog_make_${ac_make}_set=no;;
2958 esac 2939esac
2940rm -f conftest.make
2959fi 2941fi
2942if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2944$as_echo "yes" >&6; }
2945 SET_MAKE=
2946else
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2948$as_echo "no" >&6; }
2949 SET_MAKE="MAKE=${MAKE-make}"
2950fi
2951
2952rm -rf .tst 2>/dev/null
2953mkdir .tst 2>/dev/null
2954if test -d .tst; then
2955 am__leading_dot=.
2956else
2957 am__leading_dot=_
2958fi
2959rmdir .tst 2>/dev/null
2960
2961 # test to see if srcdir already configured
2962if test "`cd $srcdir && pwd`" != "`pwd`" &&
2963 test -f $srcdir/config.status; then
2964 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2965fi
2966
2967# test whether we have cygpath
2968if test -z "$CYGPATH_W"; then
2969 if (cygpath --version) >/dev/null 2>/dev/null; then
2970 CYGPATH_W='cygpath -w'
2971 else
2972 CYGPATH_W=echo
2973 fi
2974fi
2975
2976
2977# Define the identity of the package.
2978 PACKAGE=gvpe
2979 VERSION=3.1
2980
2981
2982cat >>confdefs.h <<_ACEOF
2983#define PACKAGE "$PACKAGE"
2984_ACEOF
2985
2986
2987cat >>confdefs.h <<_ACEOF
2988#define VERSION "$VERSION"
2989_ACEOF
2990
2991# Some tools Automake needs.
2992
2993ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2994
2995
2996AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2997
2998
2999AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3000
3001
3002AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3003
3004
3005MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3006
3007
3008AMTAR=${AMTAR-"${am_missing_run}tar"}
3009
3010install_sh=${install_sh-"$am_aux_dir/install-sh"}
2960 3011
2961# Installed binaries are usually stripped using `strip' when the user 3012# Installed binaries are usually stripped using `strip' when the user
2962# run `make install-strip'. However `strip' might not be the right 3013# run `make install-strip'. However `strip' might not be the right
2963# tool to use in cross-compilation environments, therefore Automake 3014# tool to use in cross-compilation environments, therefore Automake
2964# will honor the `STRIP' environment variable to overrule this program. 3015# will honor the `STRIP' environment variable to overrule this program.
3054else 3105else
3055 STRIP="$ac_cv_prog_STRIP" 3106 STRIP="$ac_cv_prog_STRIP"
3056fi 3107fi
3057 3108
3058fi 3109fi
3059INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3110INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
3060
3061{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3062$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3063if test -z "$MKDIR_P"; then
3064 if ${ac_cv_path_mkdir+:} false; then :
3065 $as_echo_n "(cached) " >&6
3066else
3067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3068for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3069do
3070 IFS=$as_save_IFS
3071 test -z "$as_dir" && as_dir=.
3072 for ac_prog in mkdir gmkdir; do
3073 for ac_exec_ext in '' $ac_executable_extensions; do
3074 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3075 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3076 'mkdir (GNU coreutils) '* | \
3077 'mkdir (coreutils) '* | \
3078 'mkdir (fileutils) '4.1*)
3079 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3080 break 3;;
3081 esac
3082 done
3083 done
3084 done
3085IFS=$as_save_IFS
3086
3087fi
3088
3089 test -d ./--version && rmdir ./--version
3090 if test "${ac_cv_path_mkdir+set}" = set; then
3091 MKDIR_P="$ac_cv_path_mkdir -p"
3092 else
3093 # As a last resort, use the slow shell script. Don't cache a
3094 # value for MKDIR_P within a source directory, because that will
3095 # break other packages using the cache if that directory is
3096 # removed, or if the value is a relative name.
3097 MKDIR_P="$ac_install_sh -d"
3098 fi
3099fi
3100{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3101$as_echo "$MKDIR_P" >&6; }
3102
3103mkdir_p="$MKDIR_P"
3104case $mkdir_p in
3105 [\\/$]* | ?:[\\/]*) ;;
3106 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3107esac
3108
3109for ac_prog in gawk mawk nawk awk
3110do
3111 # Extract the first word of "$ac_prog", so it can be a program name with args.
3112set dummy $ac_prog; ac_word=$2
3113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3114$as_echo_n "checking for $ac_word... " >&6; }
3115if ${ac_cv_prog_AWK+:} false; then :
3116 $as_echo_n "(cached) " >&6
3117else
3118 if test -n "$AWK"; then
3119 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3120else
3121as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3122for as_dir in $PATH
3123do
3124 IFS=$as_save_IFS
3125 test -z "$as_dir" && as_dir=.
3126 for ac_exec_ext in '' $ac_executable_extensions; do
3127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3128 ac_cv_prog_AWK="$ac_prog"
3129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3130 break 2
3131 fi
3132done
3133 done
3134IFS=$as_save_IFS
3135
3136fi
3137fi
3138AWK=$ac_cv_prog_AWK
3139if test -n "$AWK"; then
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3141$as_echo "$AWK" >&6; }
3142else
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3144$as_echo "no" >&6; }
3145fi
3146
3147
3148 test -n "$AWK" && break
3149done
3150
3151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3152$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3153set x ${MAKE-make}
3154ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3155if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3156 $as_echo_n "(cached) " >&6
3157else
3158 cat >conftest.make <<\_ACEOF
3159SHELL = /bin/sh
3160all:
3161 @echo '@@@%%%=$(MAKE)=@@@%%%'
3162_ACEOF
3163# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3164case `${MAKE-make} -f conftest.make 2>/dev/null` in
3165 *@@@%%%=?*=@@@%%%*)
3166 eval ac_cv_prog_make_${ac_make}_set=yes;;
3167 *)
3168 eval ac_cv_prog_make_${ac_make}_set=no;;
3169esac
3170rm -f conftest.make
3171fi
3172if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3174$as_echo "yes" >&6; }
3175 SET_MAKE=
3176else
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3178$as_echo "no" >&6; }
3179 SET_MAKE="MAKE=${MAKE-make}"
3180fi
3181
3182rm -rf .tst 2>/dev/null
3183mkdir .tst 2>/dev/null
3184if test -d .tst; then
3185 am__leading_dot=.
3186else
3187 am__leading_dot=_
3188fi
3189rmdir .tst 2>/dev/null
3190
3191if test "`cd $srcdir && pwd`" != "`pwd`"; then
3192 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3193 # is not polluted with repeated "-I."
3194 am__isrc=' -I$(srcdir)'
3195 # test to see if srcdir already configured
3196 if test -f $srcdir/config.status; then
3197 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3198 fi
3199fi
3200
3201# test whether we have cygpath
3202if test -z "$CYGPATH_W"; then
3203 if (cygpath --version) >/dev/null 2>/dev/null; then
3204 CYGPATH_W='cygpath -w'
3205 else
3206 CYGPATH_W=echo
3207 fi
3208fi
3209
3210
3211# Define the identity of the package.
3212 PACKAGE=gvpe
3213 VERSION=2.25
3214
3215
3216cat >>confdefs.h <<_ACEOF
3217#define PACKAGE "$PACKAGE"
3218_ACEOF
3219
3220
3221cat >>confdefs.h <<_ACEOF
3222#define VERSION "$VERSION"
3223_ACEOF
3224
3225# Some tools Automake needs.
3226
3227ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3228
3229
3230AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3231
3232
3233AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3234
3235
3236AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3237
3238
3239MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3240 3111
3241# We need awk for the "check" target. The system "awk" is bad on 3112# We need awk for the "check" target. The system "awk" is bad on
3242# some platforms. 3113# some platforms.
3243# Always define AMTAR for backward compatibility. Yes, it's still used
3244# in the wild :-( We should find a proper way to deprecate it ...
3245AMTAR='$${TAR-tar}'
3246
3247am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3248
3249
3250 3114
3251 3115
3252 3116
3253ac_config_headers="$ac_config_headers config.h" 3117ac_config_headers="$ac_config_headers config.h"
3254
3255 3118
3256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3119{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3257$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3120$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3258 # Check whether --enable-maintainer-mode was given. 3121 # Check whether --enable-maintainer-mode was given.
3259if test "${enable_maintainer_mode+set}" = set; then : 3122if test "${enable_maintainer_mode+set}" = set; then :
3262 USE_MAINTAINER_MODE=no 3125 USE_MAINTAINER_MODE=no
3263fi 3126fi
3264 3127
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3266$as_echo "$USE_MAINTAINER_MODE" >&6; } 3129$as_echo "$USE_MAINTAINER_MODE" >&6; }
3130
3131
3267 if test $USE_MAINTAINER_MODE = yes; then 3132if test $USE_MAINTAINER_MODE = yes; then
3268 MAINTAINER_MODE_TRUE= 3133 MAINTAINER_MODE_TRUE=
3269 MAINTAINER_MODE_FALSE='#' 3134 MAINTAINER_MODE_FALSE='#'
3270else 3135else
3271 MAINTAINER_MODE_TRUE='#' 3136 MAINTAINER_MODE_TRUE='#'
3272 MAINTAINER_MODE_FALSE= 3137 MAINTAINER_MODE_FALSE=
3497 3362
3498 3363
3499am_make=${MAKE-make} 3364am_make=${MAKE-make}
3500cat > confinc << 'END' 3365cat > confinc << 'END'
3501am__doit: 3366am__doit:
3502 @echo this is the am__doit target 3367 @echo done
3503.PHONY: am__doit 3368.PHONY: am__doit
3504END 3369END
3505# If we don't find an include directive, just comment out the code. 3370# If we don't find an include directive, just comment out the code.
3506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3507$as_echo_n "checking for style of include used by $am_make... " >&6; } 3372$as_echo_n "checking for style of include used by $am_make... " >&6; }
3508am__include="#" 3373am__include="#"
3509am__quote= 3374am__quote=
3510_am_result=none 3375_am_result=none
3511# First try GNU make style include. 3376# First try GNU make style include.
3512echo "include confinc" > confmf 3377echo "include confinc" > confmf
3513# Ignore all kinds of additional output from `make'. 3378# We grep out `Entering directory' and `Leaving directory'
3514case `$am_make -s -f confmf 2> /dev/null` in #( 3379# messages which can occur if `w' ends up in MAKEFLAGS.
3515*the\ am__doit\ target*) 3380# In particular we don't look at `^make:' because GNU make might
3381# be invoked under some other name (usually "gmake"), in which
3382# case it prints its new name instead of `make'.
3383if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3516 am__include=include 3384 am__include=include
3517 am__quote= 3385 am__quote=
3518 _am_result=GNU 3386 _am_result=GNU
3519 ;; 3387fi
3520esac
3521# Now try BSD make style include. 3388# Now try BSD make style include.
3522if test "$am__include" = "#"; then 3389if test "$am__include" = "#"; then
3523 echo '.include "confinc"' > confmf 3390 echo '.include "confinc"' > confmf
3524 case `$am_make -s -f confmf 2> /dev/null` in #( 3391 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3525 *the\ am__doit\ target*)
3526 am__include=.include 3392 am__include=.include
3527 am__quote="\"" 3393 am__quote="\""
3528 _am_result=BSD 3394 _am_result=BSD
3529 ;; 3395 fi
3530 esac
3531fi 3396fi
3532 3397
3533 3398
3534{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3399{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3535$as_echo "$_am_result" >&6; } 3400$as_echo "$_am_result" >&6; }
3541fi 3406fi
3542 3407
3543if test "x$enable_dependency_tracking" != xno; then 3408if test "x$enable_dependency_tracking" != xno; then
3544 am_depcomp="$ac_aux_dir/depcomp" 3409 am_depcomp="$ac_aux_dir/depcomp"
3545 AMDEPBACKSLASH='\' 3410 AMDEPBACKSLASH='\'
3546 am__nodep='_no'
3547fi 3411fi
3412
3413
3548 if test "x$enable_dependency_tracking" != xno; then 3414if test "x$enable_dependency_tracking" != xno; then
3549 AMDEP_TRUE= 3415 AMDEP_TRUE=
3550 AMDEP_FALSE='#' 3416 AMDEP_FALSE='#'
3551else 3417else
3552 AMDEP_TRUE='#' 3418 AMDEP_TRUE='#'
3553 AMDEP_FALSE= 3419 AMDEP_FALSE=
3554fi 3420fi
3421
3555 3422
3556 3423
3557ac_ext=c 3424ac_ext=c
3558ac_cpp='$CPP $CPPFLAGS' 3425ac_cpp='$CPP $CPPFLAGS'
3559ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3426ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4354 # We make a subdir and do the tests there. Otherwise we can end up 4221 # We make a subdir and do the tests there. Otherwise we can end up
4355 # making bogus files that we don't know about and never remove. For 4222 # making bogus files that we don't know about and never remove. For
4356 # instance it was reported that on HP-UX the gcc test will end up 4223 # instance it was reported that on HP-UX the gcc test will end up
4357 # making a dummy file named `D' -- because `-MD' means `put the output 4224 # making a dummy file named `D' -- because `-MD' means `put the output
4358 # in D'. 4225 # in D'.
4359 rm -rf conftest.dir
4360 mkdir conftest.dir 4226 mkdir conftest.dir
4361 # Copy depcomp to subdir because otherwise we won't find it if we're 4227 # Copy depcomp to subdir because otherwise we won't find it if we're
4362 # using a relative directory. 4228 # using a relative directory.
4363 cp "$am_depcomp" conftest.dir 4229 cp "$am_depcomp" conftest.dir
4364 cd conftest.dir 4230 cd conftest.dir
4372 4238
4373 am_cv_CC_dependencies_compiler_type=none 4239 am_cv_CC_dependencies_compiler_type=none
4374 if test "$am_compiler_list" = ""; then 4240 if test "$am_compiler_list" = ""; then
4375 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4241 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4376 fi 4242 fi
4377 am__universal=false
4378 case " $depcc " in #(
4379 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4380 esac
4381
4382 for depmode in $am_compiler_list; do 4243 for depmode in $am_compiler_list; do
4383 # Setup a source with many dependencies, because some compilers 4244 # Setup a source with many dependencies, because some compilers
4384 # like to wrap large dependency lists on column 80 (with \), and 4245 # like to wrap large dependency lists on column 80 (with \), and
4385 # we should not choose a depcomp mode which is confused by this. 4246 # we should not choose a depcomp mode which is confused by this.
4386 # 4247 #
4388 # overwrite some of them when testing with obscure command lines. 4249 # overwrite some of them when testing with obscure command lines.
4389 # This happens at least with the AIX C compiler. 4250 # This happens at least with the AIX C compiler.
4390 : > sub/conftest.c 4251 : > sub/conftest.c
4391 for i in 1 2 3 4 5 6; do 4252 for i in 1 2 3 4 5 6; do
4392 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4253 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4393 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4394 # Solaris 8's {/usr,}/bin/sh.
4395 touch sub/conftst$i.h 4254 : > sub/conftst$i.h
4396 done 4255 done
4397 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4256 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4398 4257
4399 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4400 # mode. It turns out that the SunPro C++ compiler does not properly
4401 # handle `-M -o', and we need to detect this. Also, some Intel
4402 # versions had trouble with output in subdirs
4403 am__obj=sub/conftest.${OBJEXT-o}
4404 am__minus_obj="-o $am__obj"
4405 case $depmode in 4258 case $depmode in
4406 gcc)
4407 # This depmode causes a compiler race in universal mode.
4408 test "$am__universal" = false || continue
4409 ;;
4410 nosideeffect) 4259 nosideeffect)
4411 # after this tag, mechanisms are not by side-effect, so they'll 4260 # after this tag, mechanisms are not by side-effect, so they'll
4412 # only be used when explicitly requested 4261 # only be used when explicitly requested
4413 if test "x$enable_dependency_tracking" = xyes; then 4262 if test "x$enable_dependency_tracking" = xyes; then
4414 continue 4263 continue
4415 else 4264 else
4416 break 4265 break
4417 fi 4266 fi
4418 ;; 4267 ;;
4419 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4420 # This compiler won't grok `-c -o', but also, the minuso test has
4421 # not run yet. These depmodes are late enough in the game, and
4422 # so weak that their functioning should not be impacted.
4423 am__obj=conftest.${OBJEXT-o}
4424 am__minus_obj=
4425 ;;
4426 none) break ;; 4268 none) break ;;
4427 esac 4269 esac
4270 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4271 # mode. It turns out that the SunPro C++ compiler does not properly
4272 # handle `-M -o', and we need to detect this.
4428 if depmode=$depmode \ 4273 if depmode=$depmode \
4429 source=sub/conftest.c object=$am__obj \ 4274 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4430 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4275 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4431 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4276 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4432 >/dev/null 2>conftest.err && 4277 >/dev/null 2>conftest.err &&
4433 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4434 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4278 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4435 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4279 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4436 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4280 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4437 # icc doesn't choke on unknown options, it will just issue warnings 4281 # icc doesn't choke on unknown options, it will just issue warnings
4438 # or remarks (even with -Werror). So we grep stderr for any message 4282 # (even with -Werror). So we grep stderr for any message
4439 # that says an option was ignored or not supported. 4283 # that says an option was ignored.
4440 # When given -MP, icc 7.0 and 7.1 complain thusly:
4441 # icc: Command line warning: ignoring option '-M'; no argument required
4442 # The diagnosis changed in icc 8.0:
4443 # icc: Command line remark: option '-MP' not supported
4444 if (grep 'ignoring option' conftest.err ||
4445 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4284 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
4446 am_cv_CC_dependencies_compiler_type=$depmode 4285 am_cv_CC_dependencies_compiler_type=$depmode
4447 break 4286 break
4448 fi 4287 fi
4449 fi 4288 fi
4450 done 4289 done
4458fi 4297fi
4459{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4298{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4460$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4299$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4461CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4300CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4462 4301
4302
4303
4463 if 4304if
4464 test "x$enable_dependency_tracking" != xno \ 4305 test "x$enable_dependency_tracking" != xno \
4465 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4306 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4466 am__fastdepCC_TRUE= 4307 am__fastdepCC_TRUE=
4467 am__fastdepCC_FALSE='#' 4308 am__fastdepCC_FALSE='#'
4468else 4309else
6104 # We make a subdir and do the tests there. Otherwise we can end up 5945 # We make a subdir and do the tests there. Otherwise we can end up
6105 # making bogus files that we don't know about and never remove. For 5946 # making bogus files that we don't know about and never remove. For
6106 # instance it was reported that on HP-UX the gcc test will end up 5947 # instance it was reported that on HP-UX the gcc test will end up
6107 # making a dummy file named `D' -- because `-MD' means `put the output 5948 # making a dummy file named `D' -- because `-MD' means `put the output
6108 # in D'. 5949 # in D'.
6109 rm -rf conftest.dir
6110 mkdir conftest.dir 5950 mkdir conftest.dir
6111 # Copy depcomp to subdir because otherwise we won't find it if we're 5951 # Copy depcomp to subdir because otherwise we won't find it if we're
6112 # using a relative directory. 5952 # using a relative directory.
6113 cp "$am_depcomp" conftest.dir 5953 cp "$am_depcomp" conftest.dir
6114 cd conftest.dir 5954 cd conftest.dir
6122 5962
6123 am_cv_CXX_dependencies_compiler_type=none 5963 am_cv_CXX_dependencies_compiler_type=none
6124 if test "$am_compiler_list" = ""; then 5964 if test "$am_compiler_list" = ""; then
6125 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5965 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6126 fi 5966 fi
6127 am__universal=false
6128 case " $depcc " in #(
6129 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6130 esac
6131
6132 for depmode in $am_compiler_list; do 5967 for depmode in $am_compiler_list; do
6133 # Setup a source with many dependencies, because some compilers 5968 # Setup a source with many dependencies, because some compilers
6134 # like to wrap large dependency lists on column 80 (with \), and 5969 # like to wrap large dependency lists on column 80 (with \), and
6135 # we should not choose a depcomp mode which is confused by this. 5970 # we should not choose a depcomp mode which is confused by this.
6136 # 5971 #
6138 # overwrite some of them when testing with obscure command lines. 5973 # overwrite some of them when testing with obscure command lines.
6139 # This happens at least with the AIX C compiler. 5974 # This happens at least with the AIX C compiler.
6140 : > sub/conftest.c 5975 : > sub/conftest.c
6141 for i in 1 2 3 4 5 6; do 5976 for i in 1 2 3 4 5 6; do
6142 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5977 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6143 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6144 # Solaris 8's {/usr,}/bin/sh.
6145 touch sub/conftst$i.h 5978 : > sub/conftst$i.h
6146 done 5979 done
6147 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5980 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6148 5981
6149 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6150 # mode. It turns out that the SunPro C++ compiler does not properly
6151 # handle `-M -o', and we need to detect this. Also, some Intel
6152 # versions had trouble with output in subdirs
6153 am__obj=sub/conftest.${OBJEXT-o}
6154 am__minus_obj="-o $am__obj"
6155 case $depmode in 5982 case $depmode in
6156 gcc)
6157 # This depmode causes a compiler race in universal mode.
6158 test "$am__universal" = false || continue
6159 ;;
6160 nosideeffect) 5983 nosideeffect)
6161 # after this tag, mechanisms are not by side-effect, so they'll 5984 # after this tag, mechanisms are not by side-effect, so they'll
6162 # only be used when explicitly requested 5985 # only be used when explicitly requested
6163 if test "x$enable_dependency_tracking" = xyes; then 5986 if test "x$enable_dependency_tracking" = xyes; then
6164 continue 5987 continue
6165 else 5988 else
6166 break 5989 break
6167 fi 5990 fi
6168 ;; 5991 ;;
6169 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6170 # This compiler won't grok `-c -o', but also, the minuso test has
6171 # not run yet. These depmodes are late enough in the game, and
6172 # so weak that their functioning should not be impacted.
6173 am__obj=conftest.${OBJEXT-o}
6174 am__minus_obj=
6175 ;;
6176 none) break ;; 5992 none) break ;;
6177 esac 5993 esac
5994 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5995 # mode. It turns out that the SunPro C++ compiler does not properly
5996 # handle `-M -o', and we need to detect this.
6178 if depmode=$depmode \ 5997 if depmode=$depmode \
6179 source=sub/conftest.c object=$am__obj \ 5998 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6180 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5999 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6181 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 6000 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6182 >/dev/null 2>conftest.err && 6001 >/dev/null 2>conftest.err &&
6183 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6184 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 6002 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6185 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 6003 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6186 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 6004 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6187 # icc doesn't choke on unknown options, it will just issue warnings 6005 # icc doesn't choke on unknown options, it will just issue warnings
6188 # or remarks (even with -Werror). So we grep stderr for any message 6006 # (even with -Werror). So we grep stderr for any message
6189 # that says an option was ignored or not supported. 6007 # that says an option was ignored.
6190 # When given -MP, icc 7.0 and 7.1 complain thusly:
6191 # icc: Command line warning: ignoring option '-M'; no argument required
6192 # The diagnosis changed in icc 8.0:
6193 # icc: Command line remark: option '-MP' not supported
6194 if (grep 'ignoring option' conftest.err ||
6195 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 6008 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
6196 am_cv_CXX_dependencies_compiler_type=$depmode 6009 am_cv_CXX_dependencies_compiler_type=$depmode
6197 break 6010 break
6198 fi 6011 fi
6199 fi 6012 fi
6200 done 6013 done
6208fi 6021fi
6209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 6022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6210$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 6023$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6211CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 6024CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6212 6025
6026
6027
6213 if 6028if
6214 test "x$enable_dependency_tracking" != xno \ 6029 test "x$enable_dependency_tracking" != xno \
6215 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 6030 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6216 am__fastdepCXX_TRUE= 6031 am__fastdepCXX_TRUE=
6217 am__fastdepCXX_FALSE='#' 6032 am__fastdepCXX_FALSE='#'
6218else 6033else
8218 8033
8219 8034
8220 8035
8221 8036
8222 8037
8223 tinc_ac_save_CPPFLAGS="$CPPFLAGS"
8224 8038
8225 8039
8226# Check whether --with-openssl-include was given.
8227if test "${with_openssl_include+set}" = set; then :
8228 withval=$with_openssl_include; openssl_include="$withval"
8229 CFLAGS="$CFLAGS -I$withval"
8230 CPPFLAGS="$CPPFLAGS -I$withval"
8231 8040
8232fi
8233 8041
8234 8042
8235 8043
8236# Check whether --with-openssl-lib was given. 8044if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
8237if test "${with_openssl_lib+set}" = set; then : 8045 if test -n "$ac_tool_prefix"; then
8238 withval=$with_openssl_lib; openssl_lib="$withval" 8046 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
8239 LIBS="$LIBS -L$withval" 8047set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
8240 8048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8241fi 8049$as_echo_n "checking for $ac_word... " >&6; }
8242 8050if ${ac_cv_path_PKG_CONFIG+:} false; then :
8243 8051 $as_echo_n "(cached) " >&6
8244 for ac_header in openssl/evp.h openssl/rsa.h openssl/rand.h openssl/err.h openssl/sha.h openssl/pem.h
8245do :
8246 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8247ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
8248if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8249 cat >>confdefs.h <<_ACEOF
8250#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8251_ACEOF
8252
8253else 8052else
8254 as_fn_error $? "OpenSSL header files not found." "$LINENO" 5; break 8053 case $PKG_CONFIG in
8255 8054 [\\/]* | ?:[\\/]*)
8256fi 8055 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
8257 8056 ;;
8057 *)
8058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8059for as_dir in $PATH
8060do
8061 IFS=$as_save_IFS
8062 test -z "$as_dir" && as_dir=.
8063 for ac_exec_ext in '' $ac_executable_extensions; do
8064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8065 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8067 break 2
8068 fi
8258done 8069done
8070 done
8071IFS=$as_save_IFS
8259 8072
8073 ;;
8074esac
8075fi
8076PKG_CONFIG=$ac_cv_path_PKG_CONFIG
8077if test -n "$PKG_CONFIG"; then
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
8079$as_echo "$PKG_CONFIG" >&6; }
8080else
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8082$as_echo "no" >&6; }
8083fi
8260 8084
8261 CPPFLAGS="$tinc_ac_save_CPPFLAGS"
8262 8085
8086fi
8087if test -z "$ac_cv_path_PKG_CONFIG"; then
8088 ac_pt_PKG_CONFIG=$PKG_CONFIG
8089 # Extract the first word of "pkg-config", so it can be a program name with args.
8090set dummy pkg-config; ac_word=$2
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_Init in -lcrypto" >&5 8091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8264$as_echo_n "checking for SHA1_Init in -lcrypto... " >&6; } 8092$as_echo_n "checking for $ac_word... " >&6; }
8265if ${ac_cv_lib_crypto_SHA1_Init+:} false; then : 8093if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
8266 $as_echo_n "(cached) " >&6 8094 $as_echo_n "(cached) " >&6
8267else 8095else
8268 ac_check_lib_save_LIBS=$LIBS 8096 case $ac_pt_PKG_CONFIG in
8269LIBS="-lcrypto $LIBS" 8097 [\\/]* | ?:[\\/]*)
8270cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8098 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
8271/* end confdefs.h. */
8272
8273/* Override any GCC internal prototype to avoid an error.
8274 Use char because int might match the return type of a GCC
8275 builtin and then its argument prototype would still apply. */
8276#ifdef __cplusplus
8277extern "C"
8278#endif
8279char SHA1_Init ();
8280int
8281main ()
8282{
8283return SHA1_Init ();
8284 ; 8099 ;;
8285 return 0; 8100 *)
8286} 8101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8287_ACEOF 8102for as_dir in $PATH
8288if ac_fn_cxx_try_link "$LINENO"; then : 8103do
8289 ac_cv_lib_crypto_SHA1_Init=yes 8104 IFS=$as_save_IFS
8290else 8105 test -z "$as_dir" && as_dir=.
8291 ac_cv_lib_crypto_SHA1_Init=no 8106 for ac_exec_ext in '' $ac_executable_extensions; do
8292fi 8107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8293rm -f core conftest.err conftest.$ac_objext \ 8108 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8294 conftest$ac_exeext conftest.$ac_ext 8109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8295LIBS=$ac_check_lib_save_LIBS 8110 break 2
8296fi 8111 fi
8297{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_Init" >&5
8298$as_echo "$ac_cv_lib_crypto_SHA1_Init" >&6; }
8299if test "x$ac_cv_lib_crypto_SHA1_Init" = xyes; then :
8300 LIBS="$LIBS -lcrypto"
8301else
8302 as_fn_error $? "OpenSSL libraries not found." "$LINENO" 5
8303
8304fi
8305
8306
8307 for ac_func in RAND_pseudo_bytes OPENSSL_add_all_algorithms_noconf OpenSSL_add_all_algorithms SSLeay_add_all_algorithms
8308do :
8309 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8310ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
8311if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8312 cat >>confdefs.h <<_ACEOF
8313#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8314_ACEOF
8315
8316fi
8317done 8112done
8113 done
8114IFS=$as_save_IFS
8318 8115
8116 ;;
8117esac
8118fi
8119ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
8120if test -n "$ac_pt_PKG_CONFIG"; then
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
8122$as_echo "$ac_pt_PKG_CONFIG" >&6; }
8123else
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8125$as_echo "no" >&6; }
8126fi
8319 8127
8320 ac_fn_cxx_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 8128 if test "x$ac_pt_PKG_CONFIG" = x; then
8321if test "x$ac_cv_func_dlopen" = xyes; then : 8129 PKG_CONFIG=""
8130 else
8131 case $cross_compiling:$ac_tool_warned in
8132yes:)
8133{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8134$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8135ac_tool_warned=yes ;;
8136esac
8137 PKG_CONFIG=$ac_pt_PKG_CONFIG
8138 fi
8139else
8140 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
8141fi
8322 8142
8143fi
8144if test -n "$PKG_CONFIG"; then
8145 _pkg_min_version=0.9.0
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
8147$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
8148 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8150$as_echo "yes" >&6; }
8323else 8151 else
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8153$as_echo "no" >&6; }
8154 PKG_CONFIG=""
8155 fi
8156fi
8157
8158pkg_failed=no
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 8159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCRYPTO" >&5
8325$as_echo_n "checking for dlopen in -ldl... " >&6; } 8160$as_echo_n "checking for LIBCRYPTO... " >&6; }
8326if ${ac_cv_lib_dl_dlopen+:} false; then : 8161
8327 $as_echo_n "(cached) " >&6 8162if test -n "$LIBCRYPTO_CFLAGS"; then
8163 pkg_cv_LIBCRYPTO_CFLAGS="$LIBCRYPTO_CFLAGS"
8164 elif test -n "$PKG_CONFIG"; then
8165 if test -n "$PKG_CONFIG" && \
8166 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= 1\""; } >&5
8167 ($PKG_CONFIG --exists --print-errors "libcrypto >= 1") 2>&5
8168 ac_status=$?
8169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8170 test $ac_status = 0; }; then
8171 pkg_cv_LIBCRYPTO_CFLAGS=`$PKG_CONFIG --cflags "libcrypto >= 1" 2>/dev/null`
8172 test "x$?" != "x0" && pkg_failed=yes
8173else
8174 pkg_failed=yes
8175fi
8328else 8176 else
8329 ac_check_lib_save_LIBS=$LIBS 8177 pkg_failed=untried
8330LIBS="-ldl $LIBS" 8178fi
8331cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8179if test -n "$LIBCRYPTO_LIBS"; then
8332/* end confdefs.h. */ 8180 pkg_cv_LIBCRYPTO_LIBS="$LIBCRYPTO_LIBS"
8333 8181 elif test -n "$PKG_CONFIG"; then
8334/* Override any GCC internal prototype to avoid an error. 8182 if test -n "$PKG_CONFIG" && \
8335 Use char because int might match the return type of a GCC 8183 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= 1\""; } >&5
8336 builtin and then its argument prototype would still apply. */ 8184 ($PKG_CONFIG --exists --print-errors "libcrypto >= 1") 2>&5
8337#ifdef __cplusplus 8185 ac_status=$?
8338extern "C" 8186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8339#endif 8187 test $ac_status = 0; }; then
8340char dlopen (); 8188 pkg_cv_LIBCRYPTO_LIBS=`$PKG_CONFIG --libs "libcrypto >= 1" 2>/dev/null`
8341int 8189 test "x$?" != "x0" && pkg_failed=yes
8342main () 8190else
8343{ 8191 pkg_failed=yes
8344return dlopen (); 8192fi
8345 ;
8346 return 0;
8347}
8348_ACEOF
8349if ac_fn_cxx_try_link "$LINENO"; then :
8350 ac_cv_lib_dl_dlopen=yes
8351else 8193 else
8352 ac_cv_lib_dl_dlopen=no 8194 pkg_failed=untried
8353fi 8195fi
8354rm -f core conftest.err conftest.$ac_objext \ 8196
8355 conftest$ac_exeext conftest.$ac_ext 8197
8356LIBS=$ac_check_lib_save_LIBS 8198
8357fi 8199if test $pkg_failed = yes; then
8358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8359$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 8201$as_echo "no" >&6; }
8360if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
8361 LIBS="$LIBS -ldl"
8362else
8363 as_fn_error $? "OpenSSL depends on libdl." "$LINENO" 5
8364 8202
8365fi 8203if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8366 8204 _pkg_short_errors_supported=yes
8367
8368fi
8369
8370
8371 ac_fn_cxx_check_func "$LINENO" "inflate" "ac_cv_func_inflate"
8372if test "x$ac_cv_func_inflate" = xyes; then :
8373
8374else 8205else
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5 8206 _pkg_short_errors_supported=no
8376$as_echo_n "checking for inflate in -lz... " >&6; }
8377if ${ac_cv_lib_z_inflate+:} false; then :
8378 $as_echo_n "(cached) " >&6
8379else
8380 ac_check_lib_save_LIBS=$LIBS
8381LIBS="-lz $LIBS"
8382cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8383/* end confdefs.h. */
8384
8385/* Override any GCC internal prototype to avoid an error.
8386 Use char because int might match the return type of a GCC
8387 builtin and then its argument prototype would still apply. */
8388#ifdef __cplusplus
8389extern "C"
8390#endif
8391char inflate ();
8392int
8393main ()
8394{
8395return inflate ();
8396 ;
8397 return 0;
8398}
8399_ACEOF
8400if ac_fn_cxx_try_link "$LINENO"; then :
8401 ac_cv_lib_z_inflate=yes
8402else
8403 ac_cv_lib_z_inflate=no
8404fi 8207fi
8405rm -f core conftest.err conftest.$ac_objext \ 8208 if test $_pkg_short_errors_supported = yes; then
8406 conftest$ac_exeext conftest.$ac_ext 8209 LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcrypto >= 1" 2>&1`
8407LIBS=$ac_check_lib_save_LIBS 8210 else
8408fi 8211 LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcrypto >= 1" 2>&1`
8212 fi
8213 # Put the nasty error message in config.log where it belongs
8214 echo "$LIBCRYPTO_PKG_ERRORS" >&5
8215
8216 as_fn_error $? "Package requirements (libcrypto >= 1) were not met:
8217
8218$LIBCRYPTO_PKG_ERRORS
8219
8220Consider adjusting the PKG_CONFIG_PATH environment variable if you
8221installed software in a non-standard prefix.
8222
8223Alternatively, you may set the environment variables LIBCRYPTO_CFLAGS
8224and LIBCRYPTO_LIBS to avoid the need to call pkg-config.
8225See the pkg-config man page for more details." "$LINENO" 5
8226elif test $pkg_failed = untried; then
8409{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5 8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8410$as_echo "$ac_cv_lib_z_inflate" >&6; } 8228$as_echo "no" >&6; }
8411if test "x$ac_cv_lib_z_inflate" = xyes; then : 8229 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8412 LIBS="$LIBS -lz" 8230$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8413else 8231as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
8414 as_fn_error $? "OpenSSL depends on libz." "$LINENO" 5 8232is in your PATH or set the PKG_CONFIG environment variable to the full
8233path to pkg-config.
8415 8234
8416fi 8235Alternatively, you may set the environment variables LIBCRYPTO_CFLAGS
8236and LIBCRYPTO_LIBS to avoid the need to call pkg-config.
8237See the pkg-config man page for more details.
8417 8238
8239To get pkg-config, see <http://pkg-config.freedesktop.org/>.
8240See \`config.log' for more details" "$LINENO" 5; }
8241else
8242 LIBCRYPTO_CFLAGS=$pkg_cv_LIBCRYPTO_CFLAGS
8243 LIBCRYPTO_LIBS=$pkg_cv_LIBCRYPTO_LIBS
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8245$as_echo "yes" >&6; }
8418 8246
8419fi
8420
8421
8422if test "x$openssl_include" != x; then
8423 CXXFLAGS="$CXXFLAGS -I$openssl_include"
8424fi 8247fi
8425 8248
8426# Check whether --enable-threads was given. 8249# Check whether --enable-threads was given.
8427if test "${enable_threads+set}" = set; then : 8250if test "${enable_threads+set}" = set; then :
8428 enableval=$enable_threads; try_threads=$enableval 8251 enableval=$enable_threads; try_threads=$enableval
8470fi 8293fi
8471 8294
8472 8295
8473 8296
8474 8297
8298
8299
8475 if test x$rohc = xtrue; then 8300if test x$rohc = xtrue; then
8476 ROHC_TRUE= 8301 ROHC_TRUE=
8477 ROHC_FALSE='#' 8302 ROHC_FALSE='#'
8478else 8303else
8479 ROHC_TRUE='#' 8304 ROHC_TRUE='#'
8480 ROHC_FALSE= 8305 ROHC_FALSE=
8620cat >>confdefs.h <<_ACEOF 8445cat >>confdefs.h <<_ACEOF
8621#define HMACLENGTH $HMACSIZE 8446#define HMACLENGTH $HMACSIZE
8622_ACEOF 8447_ACEOF
8623 8448
8624 8449
8625RANDSIZE=12
8626# Check whether --enable-rand-length was given.
8627if test "${enable_rand_length+set}" = set; then :
8628 enableval=$enable_rand_length; RANDSIZE=$enableval
8629
8630fi
8631
8632
8633cat >>confdefs.h <<_ACEOF
8634#define RAND_SIZE $RANDSIZE
8635_ACEOF
8636
8637
8638MTU=1500 8450MTU=1500
8639# Check whether --enable-max-mtu was given. 8451# Check whether --enable-max-mtu was given.
8640if test "${enable_max_mtu+set}" = set; then : 8452if test "${enable_max_mtu+set}" = set; then :
8641 enableval=$enable_max_mtu; MTU=$enableval 8453 enableval=$enable_max_mtu; MTU=$enableval
8642 8454
8661cat >>confdefs.h <<_ACEOF 8473cat >>confdefs.h <<_ACEOF
8662#define ENABLE_COMPRESSION $COMPRESS 8474#define ENABLE_COMPRESSION $COMPRESS
8663_ACEOF 8475_ACEOF
8664 8476
8665 8477
8666CIPHER=aes_128_cbc 8478CIPHER=aes_128_ctr
8667# Check whether --enable-cipher was given. 8479# Check whether --enable-cipher was given.
8668if test "${enable_cipher+set}" = set; then : 8480if test "${enable_cipher+set}" = set; then :
8669 enableval=$enable_cipher; if test "x$enableval" = xbf ; then CIPHER=bf_cbc ; fi 8481 enableval=$enable_cipher; #if test "x$enableval" = xbf ; then CIPHER=bf_ctr ; fi
8670 if test "x$enableval" = xaes-128 ; then CIPHER=aes_128_cbc ; fi 8482 if test "x$enableval" = xaes-128 ; then CIPHER=aes_128_ctr ; fi
8671 if test "x$enableval" = xaes-192 ; then CIPHER=aes_192_cbc ; fi 8483 if test "x$enableval" = xaes-192 ; then CIPHER=aes_192_ctr ; fi
8672 if test "x$enableval" = xaes-256 ; then CIPHER=aes_256_cbc ; fi 8484 if test "x$enableval" = xaes-256 ; then CIPHER=aes_256_ctr ; fi
8673 if test "x$enableval" = xcamellia-128; then CIPHER=camellia_128_cbc; fi 8485 #if test "x$enableval" = xcamellia-128; then CIPHER=camellia_128_ctr; fi
8674 if test "x$enableval" = xcamellia-256; then CIPHER=camellia_256_cbc; fi 8486 #if test "x$enableval" = xcamellia-256; then CIPHER=camellia_256_ctr; fi
8675 8487
8676fi 8488fi
8677 8489
8678 8490
8679cat >>confdefs.h <<_ACEOF 8491cat >>confdefs.h <<_ACEOF
8835LIBOBJS=$ac_libobjs 8647LIBOBJS=$ac_libobjs
8836 8648
8837LTLIBOBJS=$ac_ltlibobjs 8649LTLIBOBJS=$ac_ltlibobjs
8838 8650
8839 8651
8840 if test -n "$EXEEXT"; then
8841 am__EXEEXT_TRUE=
8842 am__EXEEXT_FALSE='#'
8843else
8844 am__EXEEXT_TRUE='#'
8845 am__EXEEXT_FALSE=
8846fi
8847
8848if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 8652if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8849 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 8653 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
8850Usually this means the macro was only invoked conditionally." "$LINENO" 5 8654Usually this means the macro was only invoked conditionally." "$LINENO" 5
8851fi 8655fi
8852if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 8656if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9337gives unlimited permission to copy, distribute and modify it." 9141gives unlimited permission to copy, distribute and modify it."
9338 9142
9339ac_pwd='$ac_pwd' 9143ac_pwd='$ac_pwd'
9340srcdir='$srcdir' 9144srcdir='$srcdir'
9341INSTALL='$INSTALL' 9145INSTALL='$INSTALL'
9342MKDIR_P='$MKDIR_P'
9343AWK='$AWK' 9146AWK='$AWK'
9344test -n "\$AWK" || AWK=awk 9147test -n "\$AWK" || AWK=awk
9345_ACEOF 9148_ACEOF
9346 9149
9347cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9150cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9919 9722
9920 case $INSTALL in 9723 case $INSTALL in
9921 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 9724 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9922 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 9725 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9923 esac 9726 esac
9924 ac_MKDIR_P=$MKDIR_P
9925 case $MKDIR_P in
9926 [\\/$]* | ?:[\\/]* ) ;;
9927 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
9928 esac
9929_ACEOF 9727_ACEOF
9930 9728
9931cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9729cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9932# If the template does not know about datarootdir, expand it. 9730# If the template does not know about datarootdir, expand it.
9933# FIXME: This hack should be removed a few years after 2.60. 9731# FIXME: This hack should be removed a few years after 2.60.
9978s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 9776s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9979s&@builddir@&$ac_builddir&;t t 9777s&@builddir@&$ac_builddir&;t t
9980s&@abs_builddir@&$ac_abs_builddir&;t t 9778s&@abs_builddir@&$ac_abs_builddir&;t t
9981s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9779s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9982s&@INSTALL@&$ac_INSTALL&;t t 9780s&@INSTALL@&$ac_INSTALL&;t t
9983s&@MKDIR_P@&$ac_MKDIR_P&;t t
9984$ac_datarootdir_hack 9781$ac_datarootdir_hack
9985" 9782"
9986eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 9783eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9987 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9784 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9988 9785
10024 $as_echo "/* $configure_input */" \ 9821 $as_echo "/* $configure_input */" \
10025 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 9822 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
10026 || as_fn_error $? "could not create -" "$LINENO" 5 9823 || as_fn_error $? "could not create -" "$LINENO" 5
10027 fi 9824 fi
10028# Compute "$ac_file"'s index in $config_headers. 9825# Compute "$ac_file"'s index in $config_headers.
10029_am_arg="$ac_file"
10030_am_stamp_count=1 9826_am_stamp_count=1
10031for _am_header in $config_headers :; do 9827for _am_header in $config_headers :; do
10032 case $_am_header in 9828 case $_am_header in
10033 $_am_arg | $_am_arg:* ) 9829 "$ac_file" | "$ac_file":* )
10034 break ;; 9830 break ;;
10035 * ) 9831 * )
10036 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 9832 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10037 esac 9833 esac
10038done 9834done
10039echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 9835echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
10040$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9836$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10041 X"$_am_arg" : 'X\(//\)[^/]' \| \ 9837 X"$ac_file" : 'X\(//\)[^/]' \| \
10042 X"$_am_arg" : 'X\(//\)$' \| \ 9838 X"$ac_file" : 'X\(//\)$' \| \
10043 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 9839 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10044$as_echo X"$_am_arg" | 9840$as_echo X"$ac_file" |
10045 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9841 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10046 s//\1/ 9842 s//\1/
10047 q 9843 q
10048 } 9844 }
10049 /^X\(\/\/\)[^/].*/{ 9845 /^X\(\/\/\)[^/].*/{
10162 done 9958 done
10163 fi 9959 fi
10164 ;; 9960 ;;
10165 esac 9961 esac
10166 done ;; 9962 done ;;
10167 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 9963 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
10168 # Autoconf 2.62 quotes --file arguments for eval, but not when files
10169 # are listed without --file. Let's play safe and only enable the eval
10170 # if we detect the quoting.
10171 case $CONFIG_FILES in
10172 *\'*) eval set x "$CONFIG_FILES" ;;
10173 *) set x $CONFIG_FILES ;;
10174 esac
10175 shift
10176 for mf
10177 do
10178 # Strip MF so we end up with the name of the file. 9964 # Strip MF so we end up with the name of the file.
10179 mf=`echo "$mf" | sed -e 's/:.*$//'` 9965 mf=`echo "$mf" | sed -e 's/:.*$//'`
10180 # Check whether this is an Automake generated Makefile or not. 9966 # Check whether this is an Automake generated Makefile or not.
10181 # We used to match only the files named `Makefile.in', but 9967 # We used to match only the files named `Makefile.in', but
10182 # some people rename them; so instead we look at the file content. 9968 # some people rename them; so instead we look at the file content.
10183 # Grep'ing the first line is not enough: some people post-process 9969 # Grep'ing the first line is not enough: some people post-process
10184 # each Makefile.in and add a new line on top of each file to say so. 9970 # each Makefile.in and add a new line on top of each file to say so.
10185 # Grep'ing the whole file is not good either: AIX grep has a line 9971 # So let's grep whole file.
10186 # limit of 2048, but all sed's we know have understand at least 4000.
10187 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 9972 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
10188 dirpart=`$as_dirname -- "$mf" || 9973 dirpart=`$as_dirname -- "$mf" ||
10189$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9974$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10190 X"$mf" : 'X\(//\)[^/]' \| \ 9975 X"$mf" : 'X\(//\)[^/]' \| \
10191 X"$mf" : 'X\(//\)$' \| \ 9976 X"$mf" : 'X\(//\)$' \| \
10192 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 9977 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10193$as_echo X"$mf" | 9978$as_echo X"$mf" |
10206 /^X\(\/\).*/{ 9991 /^X\(\/\).*/{
10207 s//\1/ 9992 s//\1/
10208 q 9993 q
10209 } 9994 }
10210 s/.*/./; q'` 9995 s/.*/./; q'`
10211 else 9996 else
10212 continue 9997 continue
10213 fi 9998 fi
10214 # Extract the definition of DEPDIR, am__include, and am__quote 9999 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
10215 # from the Makefile without running `make'. 10000 # Extract the definition of DEP_FILES from the Makefile without
10001 # running `make'.
10216 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 10002 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
10217 test -z "$DEPDIR" && continue 10003 test -z "$DEPDIR" && continue
10218 am__include=`sed -n 's/^am__include = //p' < "$mf"`
10219 test -z "am__include" && continue
10220 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10221 # When using ansi2knr, U may be empty or an underscore; expand it 10004 # When using ansi2knr, U may be empty or an underscore; expand it
10222 U=`sed -n 's/^U = //p' < "$mf"` 10005 U=`sed -n -e '/^U = / s///p' < "$mf"`
10223 # Find all dependency output files, they are included files with 10006 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
10224 # $(DEPDIR) in their names. We invoke sed twice because it is the 10007 # We invoke sed twice because it is the simplest approach to
10225 # simplest approach to changing $(DEPDIR) to its actual value in the 10008 # changing $(DEPDIR) to its actual value in the expansion.
10226 # expansion.
10227 for file in `sed -n " 10009 for file in `sed -n -e '
10228 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 10010 /^DEP_FILES = .*\\\\$/ {
10011 s/^DEP_FILES = //
10012 :loop
10013 s/\\\\$//
10014 p
10015 n
10016 /\\\\$/ b loop
10017 p
10018 }
10019 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
10229 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 10020 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10230 # Make sure the directory exists. 10021 # Make sure the directory exists.
10231 test -f "$dirpart/$file" && continue 10022 test -f "$dirpart/$file" && continue
10232 fdir=`$as_dirname -- "$file" || 10023 fdir=`$as_dirname -- "$file" ||
10233$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10024$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10234 X"$file" : 'X\(//\)[^/]' \| \ 10025 X"$file" : 'X\(//\)[^/]' \| \
10235 X"$file" : 'X\(//\)$' \| \ 10026 X"$file" : 'X\(//\)$' \| \
10236 X"$file" : 'X\(/\)' \| . 2>/dev/null || 10027 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10237$as_echo X"$file" | 10028$as_echo X"$file" |
10250 /^X\(\/\).*/{ 10041 /^X\(\/\).*/{
10251 s//\1/ 10042 s//\1/
10252 q 10043 q
10253 } 10044 }
10254 s/.*/./; q'` 10045 s/.*/./; q'`
10255 as_dir=$dirpart/$fdir; as_fn_mkdir_p 10046 as_dir=$dirpart/$fdir; as_fn_mkdir_p
10256 # echo "creating $dirpart/$file" 10047 # echo "creating $dirpart/$file"
10257 echo '# dummy' > "$dirpart/$file" 10048 echo '# dummy' > "$dirpart/$file"
10258 done
10259 done 10049 done
10260} 10050done
10261 ;; 10051 ;;
10262 10052
10263 esac 10053 esac
10264done # for ac_tag 10054done # for ac_tag
10265 10055
10303echo "*** Configuration Summary" 10093echo "*** Configuration Summary"
10304echo "***" 10094echo "***"
10305echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE" 10095echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE"
10306echo "*** RSA size: $RSA" 10096echo "*** RSA size: $RSA"
10307echo "*** Cipher used: $CIPHER" 10097echo "*** Cipher used: $CIPHER"
10098echo "*** Digest used: $DIGEST"
10308echo "*** Auth Digest: $AUTH" 10099echo "*** Authdigest: $AUTH"
10309echo "*** HMAC Digest: $HMAC"
10310echo "*** HMAC length: $HMAC" 10100echo "*** HMAC length: $HMAC"
10311echo "*** RAND used: $RANDSIZE"
10312echo "*** Max. MTU: $MTU" 10101echo "*** Max. MTU: $MTU"
10313 10102
10314echo "***" 10103echo "***"
10315echo "*** Enable options:" 10104echo "*** Enable options:"
10316grep ENABLE_ config.h | sed -e 's/^/*** /' 10105grep ENABLE_ config.h | sed -e 's/^/*** /'
10318if test "$HMACSIZE" -lt 12; then 10107if test "$HMACSIZE" -lt 12; then
10319echo "***" 10108echo "***"
10320echo "*** WARNING: The hmac length you have chosen ($HMACSIZE) is quite insecure" 10109echo "*** WARNING: The hmac length you have chosen ($HMACSIZE) is quite insecure"
10321fi 10110fi
10322 10111
10323if test "$RANDSIZE" -lt 12; then
10324echo "***"
10325echo "*** WARNING: The random prefix you have chosen ($RANDSIZE) is probably insecure"
10326fi
10327
10328echo "***" 10112echo "***"
10329echo 10113echo
10330 10114
10115if pkg-config --exists 'libcrypto >= 1.1 libcrypto < 2.0'; then
10116 cat <<EOF
10117
10118***
10119*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING
10120***
10121*** You seem to configure gvpe with OpenSSL 1.1 or newer.
10122*** While this probably compiles, please note that this is not only
10123*** unsupported, but also discouraged.
10124***
10125*** It is recommended to use either OpenSSL 1.0, as long as that is still
10126*** supported, or LibreSSL (https://www.libressl.org/).
10127***
10128*** This is not a political issue - while porting GVPE to the newer
10129*** OpenSSL 1.1 API, I encountered two incompatible API changes that were
10130*** not documented, were not caught while compiling but caused security
10131*** issues. When reported, the reaction of the OpenSSL developers was to
10132*** update the documentation.
10133***
10134*** As a result, I lost all confidence in the ability and desire of
10135*** OpenSSL developers to create a safe API, and would highly recommend
10136*** switching to LibreSSL which explicitly avoids such braking changes.
10137***
10138*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING
10139***
10140*** Again, do not use OpenSSL 1.1 and complain if stuff breaks.
10141*** You have been warned, but your choice is respected.
10142***
10143
10331 10144
10145EOF
10146fi
10147
10148

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines