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

Comparing gvpe/configure (file contents):
Revision 1.51 by root, Sat Jul 13 04:10:29 2013 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
768enable_rsa_length
772enable_hmac_length 769enable_hmac_length
773enable_rand_length
774enable_max_mtu 770enable_max_mtu
775enable_compression 771enable_compression
776enable_cipher 772enable_cipher
777enable_digest 773enable_hmac_digest
774enable_auth_digest
778' 775'
779 ac_precious_vars='build_alias 776 ac_precious_vars='build_alias
780host_alias 777host_alias
781target_alias 778target_alias
782CC 779CC
786CPPFLAGS 783CPPFLAGS
787CPP 784CPP
788CXX 785CXX
789CXXFLAGS 786CXXFLAGS
790CCC 787CCC
791CXXCPP' 788CXXCPP
789PKG_CONFIG
790PKG_CONFIG_PATH
791PKG_CONFIG_LIBDIR
792LIBCRYPTO_CFLAGS
793LIBCRYPTO_LIBS'
792 794
793 795
794# Initialize some variables set by options. 796# Initialize some variables set by options.
795ac_init_help= 797ac_init_help=
796ac_init_version=false 798ac_init_version=false
825datarootdir='${prefix}/share' 827datarootdir='${prefix}/share'
826datadir='${datarootdir}' 828datadir='${datarootdir}'
827sysconfdir='${prefix}/etc' 829sysconfdir='${prefix}/etc'
828sharedstatedir='${prefix}/com' 830sharedstatedir='${prefix}/com'
829localstatedir='${prefix}/var' 831localstatedir='${prefix}/var'
832runstatedir='${localstatedir}/run'
830includedir='${prefix}/include' 833includedir='${prefix}/include'
831oldincludedir='/usr/include' 834oldincludedir='/usr/include'
832docdir='${datarootdir}/doc/${PACKAGE}' 835docdir='${datarootdir}/doc/${PACKAGE}'
833infodir='${datarootdir}/info' 836infodir='${datarootdir}/info'
834htmldir='${docdir}' 837htmldir='${docdir}'
1077 1080
1078 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1081 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1079 | -silent | --silent | --silen | --sile | --sil) 1082 | -silent | --silent | --silen | --sile | --sil)
1080 silent=yes ;; 1083 silent=yes ;;
1081 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
1082 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1094 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1083 ac_prev=sbindir ;; 1095 ac_prev=sbindir ;;
1084 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1096 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1085 | --sbi=* | --sb=*) 1097 | --sbi=* | --sb=*)
1086 sbindir=$ac_optarg ;; 1098 sbindir=$ac_optarg ;;
1214 1226
1215# Check all directory arguments for consistency. 1227# Check all directory arguments for consistency.
1216for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1228for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1217 datadir sysconfdir sharedstatedir localstatedir includedir \ 1229 datadir sysconfdir sharedstatedir localstatedir includedir \
1218 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1230 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1219 libdir localedir mandir 1231 libdir localedir mandir runstatedir
1220do 1232do
1221 eval ac_val=\$$ac_var 1233 eval ac_val=\$$ac_var
1222 # Remove trailing slashes. 1234 # Remove trailing slashes.
1223 case $ac_val in 1235 case $ac_val in
1224 */ ) 1236 */ )
1367 --sbindir=DIR system admin executables [EPREFIX/sbin] 1379 --sbindir=DIR system admin executables [EPREFIX/sbin]
1368 --libexecdir=DIR program executables [EPREFIX/libexec] 1380 --libexecdir=DIR program executables [EPREFIX/libexec]
1369 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1381 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1370 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1382 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1371 --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]
1372 --libdir=DIR object code libraries [EPREFIX/lib] 1385 --libdir=DIR object code libraries [EPREFIX/lib]
1373 --includedir=DIR C header files [PREFIX/include] 1386 --includedir=DIR C header files [PREFIX/include]
1374 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1387 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1375 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1388 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1376 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1389 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1404 1417
1405Optional Features: 1418Optional Features:
1406 --disable-option-checking ignore unrecognized --enable/--with options 1419 --disable-option-checking ignore unrecognized --enable/--with options
1407 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1420 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1408 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1421 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1409 --enable-maintainer-mode enable make rules and dependencies not useful 1422 --enable-maintainer-mode enable make rules and dependencies not useful
1410 (and sometimes confusing) to the casual installer 1423 (and sometimes confusing) to the casual installer
1411 --disable-dependency-tracking speeds up one-time build 1424 --disable-dependency-tracking Speeds up one-time builds
1412 --enable-dependency-tracking do not reject slow dependency extractors 1425 --enable-dependency-tracking Do not reject slow dependency extractors
1413 --disable-rpath do not hardcode runtime library paths 1426 --disable-rpath do not hardcode runtime library paths
1414 --disable-nls do not use Native Language Support 1427 --disable-nls do not use Native Language Support
1415 --enable-iftype=TYPE/SUBTYPE 1428 --enable-iftype=TYPE/SUBTYPE
1416 Use kernel/net device interface TYPE/SUBTYPE. 1429 Use kernel/net device interface TYPE/SUBTYPE.
1417 Working combinations are (see doc/gvpe.osdep.5.pod): 1430 Working combinations are (see doc/gvpe.osdep.5.pod):
1428 --disable-icmp enable icmp protocol support (default enabled). 1441 --disable-icmp enable icmp protocol support (default enabled).
1429 --disable-tcp enable tcp protocol support (default enabled). 1442 --disable-tcp enable tcp protocol support (default enabled).
1430 --disable-http-proxy enable http proxy connect support (default enabled). 1443 --disable-http-proxy enable http proxy connect support (default enabled).
1431 --enable-dns enable dns tunnel protocol support (default 1444 --enable-dns enable dns tunnel protocol support (default
1432 disabled). 1445 disabled).
1446 --enable-rsa-length=BITS
1447 use BITS rsa keys (default 3072). Allowed values are
1448 2048-10240.
1433 --enable-hmac-length=BYTES 1449 --enable-hmac-length=BYTES
1434 use a hmac of length BYTES bytes (default 12). 1450 use a hmac of length BYTES bytes (default 12).
1435 Allowed values are 4, 8, 12, 16. 1451 Allowed values are 4, 8, 12, 16.
1436 --enable-rand-length=BYTES
1437 use BYTES bytes of extra randomness (default 8).
1438 Allowed values are 0, 4, 8.
1439 --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).
1440 Use 9100 for jumbogram support. 1453 Use 9100 for jumbogram support.
1441 --disable-compression Disable compression support. 1454 --disable-compression Disable compression support.
1442 --enable-cipher=CIPHER Select the symmetric cipher (default "aes-128"). 1455 --enable-cipher=CIPHER Select the symmetric cipher (default "aes-128").
1443 Must be one of "bf" (blowfish), "aes-128" 1456 Must be one of "aes-128" (rijndael), "aes-192", or
1444 (rijndael), "aes-192" or "aes-256". 1457 "aes-256".
1445 --enable-digest=CIPHER Select the digest algorithm to use (default 1458 --enable-hmac-digest=HMAC
1459 Select the HMAC digest algorithm to use (default
1446 "ripemd160"). Must be one of "sha512", "sha256", 1460 "sha1"). Must be one of "sha512", "sha256", "sha1",
1447 "sha1" (somewhat insecure), "ripemd160", "md5" 1461 "ripemd160", "whirlpool".
1448 (insecure) or "md4" (insecure). 1462 --enable-auth-digest=DIGEST
1463 Select the hmac algorithm to use (default "sha512").
1464 Must be one of "sha512", "sha256", "whirlpool".
1449 1465
1450Optional Packages: 1466Optional Packages:
1451 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1467 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1452 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1468 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1453 --with-gnu-ld assume the C compiler uses GNU ld default=no 1469 --with-gnu-ld assume the C compiler uses GNU ld default=no
1455 --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
1456 --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
1457 --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
1458 --with-kernel=dir give the directory with kernel sources 1474 --with-kernel=dir give the directory with kernel sources
1459 (default: /usr/src/linux) 1475 (default: /usr/src/linux)
1460 --with-openssl-include=DIR OpenSSL headers directory (without trailing /openssl)
1461 --with-openssl-lib=DIR OpenSSL library directory
1462 1476
1463Some influential environment variables: 1477Some influential environment variables:
1464 CC C compiler command 1478 CC C compiler command
1465 CFLAGS C compiler flags 1479 CFLAGS C compiler flags
1466 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
1470 you have headers in a nonstandard directory <include dir> 1484 you have headers in a nonstandard directory <include dir>
1471 CPP C preprocessor 1485 CPP C preprocessor
1472 CXX C++ compiler command 1486 CXX C++ compiler command
1473 CXXFLAGS C++ compiler flags 1487 CXXFLAGS C++ compiler flags
1474 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
1475 1498
1476Use 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
1477it to find libraries and programs with nonstandard names/locations. 1500it to find libraries and programs with nonstandard names/locations.
1478 1501
1479Report bugs to the package provider. 1502Report bugs to the package provider.
2202 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2225 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2203 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2226 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2204 as_fn_set_status $ac_retval 2227 as_fn_set_status $ac_retval
2205 2228
2206} # ac_fn_cxx_try_link 2229} # ac_fn_cxx_try_link
2207
2208# ac_fn_cxx_check_func LINENO FUNC VAR
2209# ------------------------------------
2210# Tests whether FUNC exists, setting the cache variable VAR accordingly
2211ac_fn_cxx_check_func ()
2212{
2213 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2215$as_echo_n "checking for $2... " >&6; }
2216if eval \${$3+:} false; then :
2217 $as_echo_n "(cached) " >&6
2218else
2219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2220/* end confdefs.h. */
2221/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2223#define $2 innocuous_$2
2224
2225/* System header to define __stub macros and hopefully few prototypes,
2226 which can conflict with char $2 (); below.
2227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2228 <limits.h> exists even on freestanding compilers. */
2229
2230#ifdef __STDC__
2231# include <limits.h>
2232#else
2233# include <assert.h>
2234#endif
2235
2236#undef $2
2237
2238/* Override any GCC internal prototype to avoid an error.
2239 Use char because int might match the return type of a GCC
2240 builtin and then its argument prototype would still apply. */
2241#ifdef __cplusplus
2242extern "C"
2243#endif
2244char $2 ();
2245/* The GNU C library defines this for functions which it implements
2246 to always fail with ENOSYS. Some functions are actually named
2247 something starting with __ and the normal name is an alias. */
2248#if defined __stub_$2 || defined __stub___$2
2249choke me
2250#endif
2251
2252int
2253main ()
2254{
2255return $2 ();
2256 ;
2257 return 0;
2258}
2259_ACEOF
2260if ac_fn_cxx_try_link "$LINENO"; then :
2261 eval "$3=yes"
2262else
2263 eval "$3=no"
2264fi
2265rm -f core conftest.err conftest.$ac_objext \
2266 conftest$ac_exeext conftest.$ac_ext
2267fi
2268eval ac_res=\$$3
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2270$as_echo "$ac_res" >&6; }
2271 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2272
2273} # ac_fn_cxx_check_func
2274cat >config.log <<_ACEOF 2230cat >config.log <<_ACEOF
2275This file contains any messages produced by compilers while 2231This file contains any messages produced by compilers while
2276running configure, to aid debugging if configure makes a mistake. 2232running configure, to aid debugging if configure makes a mistake.
2277 2233
2278It was created by $as_me, which was 2234It was created by $as_me, which was
2761# will get canonicalized. 2717# will get canonicalized.
2762test -n "$target_alias" && 2718test -n "$target_alias" &&
2763 test "$program_prefix$program_suffix$program_transform_name" = \ 2719 test "$program_prefix$program_suffix$program_transform_name" = \
2764 NONENONEs,x,x, && 2720 NONENONEs,x,x, &&
2765 program_prefix=${target_alias}- 2721 program_prefix=${target_alias}-
2766am__api_version='1.11' 2722am__api_version="1.7"
2767
2768# Find a good install program. We prefer a C program (faster), 2723# Find a good install program. We prefer a C program (faster),
2769# 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
2770# incompatible versions: 2725# incompatible versions:
2771# SysV /etc/install, /usr/sbin/install 2726# SysV /etc/install, /usr/sbin/install
2772# SunOS /usr/etc/install 2727# SunOS /usr/etc/install
2861{ $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
2862$as_echo_n "checking whether build environment is sane... " >&6; } 2817$as_echo_n "checking whether build environment is sane... " >&6; }
2863# Just in case 2818# Just in case
2864sleep 1 2819sleep 1
2865echo timestamp > conftest.file 2820echo timestamp > conftest.file
2866# Reject unsafe characters in $srcdir or the absolute working directory
2867# name. Accept space and tab only in the latter.
2868am_lf='
2869'
2870case `pwd` in
2871 *[\\\"\#\$\&\'\`$am_lf]*)
2872 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2873esac
2874case $srcdir in
2875 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2876 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2877esac
2878
2879# 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
2880# arguments. Must try -L first in case configure is actually a 2822# arguments. Must try -L first in case configure is actually a
2881# 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
2882# (eg FreeBSD returns the mod time of the symlink's containing 2824# (eg FreeBSD returns the mod time of the symlink's containing
2883# directory). 2825# directory).
2884if ( 2826if (
2885 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2827 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2886 if test "$*" = "X"; then 2828 if test "$*" = "X"; then
2887 # -L didn't work. 2829 # -L didn't work.
2888 set X `ls -t "$srcdir/configure" conftest.file` 2830 set X `ls -t $srcdir/configure conftest.file`
2889 fi 2831 fi
2890 rm -f conftest.file 2832 rm -f conftest.file
2891 if test "$*" != "X $srcdir/configure conftest.file" \ 2833 if test "$*" != "X $srcdir/configure conftest.file" \
2892 && test "$*" != "X conftest.file $srcdir/configure"; then 2834 && test "$*" != "X conftest.file $srcdir/configure"; then
2893 2835
2918# Double any \ or $. 2860# Double any \ or $.
2919# By default was `s,x,x', remove it if useless. 2861# By default was `s,x,x', remove it if useless.
2920ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2862ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2921program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2863program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2922 2864
2865
2923# expand $ac_aux_dir to an absolute path 2866# expand $ac_aux_dir to an absolute path
2924am_aux_dir=`cd $ac_aux_dir && pwd` 2867am_aux_dir=`cd $ac_aux_dir && pwd`
2925 2868
2926if test x"${MISSING+set}" != xset; then 2869test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2927 case $am_aux_dir in
2928 *\ * | *\ *)
2929 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2930 *)
2931 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2932 esac
2933fi
2934# Use eval to expand $SHELL 2870# Use eval to expand $SHELL
2935if eval "$MISSING --run true"; then 2871if eval "$MISSING --run true"; then
2936 am_missing_run="$MISSING --run " 2872 am_missing_run="$MISSING --run "
2937else 2873else
2938 am_missing_run= 2874 am_missing_run=
2939 { $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
2940$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;}
2941fi 2877fi
2942 2878
2943if test x"${install_sh}" != xset; then 2879for ac_prog in gawk mawk nawk awk
2944 case $am_aux_dir in 2880do
2945 *\ * | *\ *) 2881 # Extract the first word of "$ac_prog", so it can be a program name with args.
2946 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;;
2947 *) 2937 *)
2948 install_sh="\${SHELL} $am_aux_dir/install-sh" 2938 eval ac_cv_prog_make_${ac_make}_set=no;;
2949 esac 2939esac
2940rm -f conftest.make
2950fi 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"}
2951 3011
2952# Installed binaries are usually stripped using `strip' when the user 3012# Installed binaries are usually stripped using `strip' when the user
2953# run `make install-strip'. However `strip' might not be the right 3013# run `make install-strip'. However `strip' might not be the right
2954# tool to use in cross-compilation environments, therefore Automake 3014# tool to use in cross-compilation environments, therefore Automake
2955# will honor the `STRIP' environment variable to overrule this program. 3015# will honor the `STRIP' environment variable to overrule this program.
3045else 3105else
3046 STRIP="$ac_cv_prog_STRIP" 3106 STRIP="$ac_cv_prog_STRIP"
3047fi 3107fi
3048 3108
3049fi 3109fi
3050INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3110INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
3051
3052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3053$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3054if test -z "$MKDIR_P"; then
3055 if ${ac_cv_path_mkdir+:} false; then :
3056 $as_echo_n "(cached) " >&6
3057else
3058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3059for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3060do
3061 IFS=$as_save_IFS
3062 test -z "$as_dir" && as_dir=.
3063 for ac_prog in mkdir gmkdir; do
3064 for ac_exec_ext in '' $ac_executable_extensions; do
3065 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3066 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3067 'mkdir (GNU coreutils) '* | \
3068 'mkdir (coreutils) '* | \
3069 'mkdir (fileutils) '4.1*)
3070 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3071 break 3;;
3072 esac
3073 done
3074 done
3075 done
3076IFS=$as_save_IFS
3077
3078fi
3079
3080 test -d ./--version && rmdir ./--version
3081 if test "${ac_cv_path_mkdir+set}" = set; then
3082 MKDIR_P="$ac_cv_path_mkdir -p"
3083 else
3084 # As a last resort, use the slow shell script. Don't cache a
3085 # value for MKDIR_P within a source directory, because that will
3086 # break other packages using the cache if that directory is
3087 # removed, or if the value is a relative name.
3088 MKDIR_P="$ac_install_sh -d"
3089 fi
3090fi
3091{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3092$as_echo "$MKDIR_P" >&6; }
3093
3094mkdir_p="$MKDIR_P"
3095case $mkdir_p in
3096 [\\/$]* | ?:[\\/]*) ;;
3097 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3098esac
3099
3100for ac_prog in gawk mawk nawk awk
3101do
3102 # Extract the first word of "$ac_prog", so it can be a program name with args.
3103set dummy $ac_prog; ac_word=$2
3104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3105$as_echo_n "checking for $ac_word... " >&6; }
3106if ${ac_cv_prog_AWK+:} false; then :
3107 $as_echo_n "(cached) " >&6
3108else
3109 if test -n "$AWK"; then
3110 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3111else
3112as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3113for as_dir in $PATH
3114do
3115 IFS=$as_save_IFS
3116 test -z "$as_dir" && as_dir=.
3117 for ac_exec_ext in '' $ac_executable_extensions; do
3118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3119 ac_cv_prog_AWK="$ac_prog"
3120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3121 break 2
3122 fi
3123done
3124 done
3125IFS=$as_save_IFS
3126
3127fi
3128fi
3129AWK=$ac_cv_prog_AWK
3130if test -n "$AWK"; then
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3132$as_echo "$AWK" >&6; }
3133else
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3135$as_echo "no" >&6; }
3136fi
3137
3138
3139 test -n "$AWK" && break
3140done
3141
3142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3143$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3144set x ${MAKE-make}
3145ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3146if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3147 $as_echo_n "(cached) " >&6
3148else
3149 cat >conftest.make <<\_ACEOF
3150SHELL = /bin/sh
3151all:
3152 @echo '@@@%%%=$(MAKE)=@@@%%%'
3153_ACEOF
3154# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3155case `${MAKE-make} -f conftest.make 2>/dev/null` in
3156 *@@@%%%=?*=@@@%%%*)
3157 eval ac_cv_prog_make_${ac_make}_set=yes;;
3158 *)
3159 eval ac_cv_prog_make_${ac_make}_set=no;;
3160esac
3161rm -f conftest.make
3162fi
3163if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3165$as_echo "yes" >&6; }
3166 SET_MAKE=
3167else
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3169$as_echo "no" >&6; }
3170 SET_MAKE="MAKE=${MAKE-make}"
3171fi
3172
3173rm -rf .tst 2>/dev/null
3174mkdir .tst 2>/dev/null
3175if test -d .tst; then
3176 am__leading_dot=.
3177else
3178 am__leading_dot=_
3179fi
3180rmdir .tst 2>/dev/null
3181
3182if test "`cd $srcdir && pwd`" != "`pwd`"; then
3183 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3184 # is not polluted with repeated "-I."
3185 am__isrc=' -I$(srcdir)'
3186 # test to see if srcdir already configured
3187 if test -f $srcdir/config.status; then
3188 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3189 fi
3190fi
3191
3192# test whether we have cygpath
3193if test -z "$CYGPATH_W"; then
3194 if (cygpath --version) >/dev/null 2>/dev/null; then
3195 CYGPATH_W='cygpath -w'
3196 else
3197 CYGPATH_W=echo
3198 fi
3199fi
3200
3201
3202# Define the identity of the package.
3203 PACKAGE=gvpe
3204 VERSION=2.24
3205
3206
3207cat >>confdefs.h <<_ACEOF
3208#define PACKAGE "$PACKAGE"
3209_ACEOF
3210
3211
3212cat >>confdefs.h <<_ACEOF
3213#define VERSION "$VERSION"
3214_ACEOF
3215
3216# Some tools Automake needs.
3217
3218ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3219
3220
3221AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3222
3223
3224AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3225
3226
3227AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3228
3229
3230MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3231 3111
3232# 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
3233# some platforms. 3113# some platforms.
3234# Always define AMTAR for backward compatibility. Yes, it's still used
3235# in the wild :-( We should find a proper way to deprecate it ...
3236AMTAR='$${TAR-tar}'
3237
3238am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3239
3240
3241 3114
3242 3115
3243 3116
3244ac_config_headers="$ac_config_headers config.h" 3117ac_config_headers="$ac_config_headers config.h"
3245
3246 3118
3247{ $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
3248$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; }
3249 # Check whether --enable-maintainer-mode was given. 3121 # Check whether --enable-maintainer-mode was given.
3250if test "${enable_maintainer_mode+set}" = set; then : 3122if test "${enable_maintainer_mode+set}" = set; then :
3253 USE_MAINTAINER_MODE=no 3125 USE_MAINTAINER_MODE=no
3254fi 3126fi
3255 3127
3256 { $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
3257$as_echo "$USE_MAINTAINER_MODE" >&6; } 3129$as_echo "$USE_MAINTAINER_MODE" >&6; }
3130
3131
3258 if test $USE_MAINTAINER_MODE = yes; then 3132if test $USE_MAINTAINER_MODE = yes; then
3259 MAINTAINER_MODE_TRUE= 3133 MAINTAINER_MODE_TRUE=
3260 MAINTAINER_MODE_FALSE='#' 3134 MAINTAINER_MODE_FALSE='#'
3261else 3135else
3262 MAINTAINER_MODE_TRUE='#' 3136 MAINTAINER_MODE_TRUE='#'
3263 MAINTAINER_MODE_FALSE= 3137 MAINTAINER_MODE_FALSE=
3488 3362
3489 3363
3490am_make=${MAKE-make} 3364am_make=${MAKE-make}
3491cat > confinc << 'END' 3365cat > confinc << 'END'
3492am__doit: 3366am__doit:
3493 @echo this is the am__doit target 3367 @echo done
3494.PHONY: am__doit 3368.PHONY: am__doit
3495END 3369END
3496# 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.
3497{ $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
3498$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; }
3499am__include="#" 3373am__include="#"
3500am__quote= 3374am__quote=
3501_am_result=none 3375_am_result=none
3502# First try GNU make style include. 3376# First try GNU make style include.
3503echo "include confinc" > confmf 3377echo "include confinc" > confmf
3504# Ignore all kinds of additional output from `make'. 3378# We grep out `Entering directory' and `Leaving directory'
3505case `$am_make -s -f confmf 2> /dev/null` in #( 3379# messages which can occur if `w' ends up in MAKEFLAGS.
3506*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
3507 am__include=include 3384 am__include=include
3508 am__quote= 3385 am__quote=
3509 _am_result=GNU 3386 _am_result=GNU
3510 ;; 3387fi
3511esac
3512# Now try BSD make style include. 3388# Now try BSD make style include.
3513if test "$am__include" = "#"; then 3389if test "$am__include" = "#"; then
3514 echo '.include "confinc"' > confmf 3390 echo '.include "confinc"' > confmf
3515 case `$am_make -s -f confmf 2> /dev/null` in #( 3391 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3516 *the\ am__doit\ target*)
3517 am__include=.include 3392 am__include=.include
3518 am__quote="\"" 3393 am__quote="\""
3519 _am_result=BSD 3394 _am_result=BSD
3520 ;; 3395 fi
3521 esac
3522fi 3396fi
3523 3397
3524 3398
3525{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3399{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3526$as_echo "$_am_result" >&6; } 3400$as_echo "$_am_result" >&6; }
3532fi 3406fi
3533 3407
3534if test "x$enable_dependency_tracking" != xno; then 3408if test "x$enable_dependency_tracking" != xno; then
3535 am_depcomp="$ac_aux_dir/depcomp" 3409 am_depcomp="$ac_aux_dir/depcomp"
3536 AMDEPBACKSLASH='\' 3410 AMDEPBACKSLASH='\'
3537 am__nodep='_no'
3538fi 3411fi
3412
3413
3539 if test "x$enable_dependency_tracking" != xno; then 3414if test "x$enable_dependency_tracking" != xno; then
3540 AMDEP_TRUE= 3415 AMDEP_TRUE=
3541 AMDEP_FALSE='#' 3416 AMDEP_FALSE='#'
3542else 3417else
3543 AMDEP_TRUE='#' 3418 AMDEP_TRUE='#'
3544 AMDEP_FALSE= 3419 AMDEP_FALSE=
3545fi 3420fi
3421
3546 3422
3547 3423
3548ac_ext=c 3424ac_ext=c
3549ac_cpp='$CPP $CPPFLAGS' 3425ac_cpp='$CPP $CPPFLAGS'
3550ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3426ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4345 # 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
4346 # 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
4347 # 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
4348 # 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
4349 # in D'. 4225 # in D'.
4350 rm -rf conftest.dir
4351 mkdir conftest.dir 4226 mkdir conftest.dir
4352 # 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
4353 # using a relative directory. 4228 # using a relative directory.
4354 cp "$am_depcomp" conftest.dir 4229 cp "$am_depcomp" conftest.dir
4355 cd conftest.dir 4230 cd conftest.dir
4363 4238
4364 am_cv_CC_dependencies_compiler_type=none 4239 am_cv_CC_dependencies_compiler_type=none
4365 if test "$am_compiler_list" = ""; then 4240 if test "$am_compiler_list" = ""; then
4366 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`
4367 fi 4242 fi
4368 am__universal=false
4369 case " $depcc " in #(
4370 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4371 esac
4372
4373 for depmode in $am_compiler_list; do 4243 for depmode in $am_compiler_list; do
4374 # Setup a source with many dependencies, because some compilers 4244 # Setup a source with many dependencies, because some compilers
4375 # like to wrap large dependency lists on column 80 (with \), and 4245 # like to wrap large dependency lists on column 80 (with \), and
4376 # 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.
4377 # 4247 #
4379 # overwrite some of them when testing with obscure command lines. 4249 # overwrite some of them when testing with obscure command lines.
4380 # This happens at least with the AIX C compiler. 4250 # This happens at least with the AIX C compiler.
4381 : > sub/conftest.c 4251 : > sub/conftest.c
4382 for i in 1 2 3 4 5 6; do 4252 for i in 1 2 3 4 5 6; do
4383 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4253 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4384 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4385 # Solaris 8's {/usr,}/bin/sh.
4386 touch sub/conftst$i.h 4254 : > sub/conftst$i.h
4387 done 4255 done
4388 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4256 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4389 4257
4390 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4391 # mode. It turns out that the SunPro C++ compiler does not properly
4392 # handle `-M -o', and we need to detect this. Also, some Intel
4393 # versions had trouble with output in subdirs
4394 am__obj=sub/conftest.${OBJEXT-o}
4395 am__minus_obj="-o $am__obj"
4396 case $depmode in 4258 case $depmode in
4397 gcc)
4398 # This depmode causes a compiler race in universal mode.
4399 test "$am__universal" = false || continue
4400 ;;
4401 nosideeffect) 4259 nosideeffect)
4402 # 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
4403 # only be used when explicitly requested 4261 # only be used when explicitly requested
4404 if test "x$enable_dependency_tracking" = xyes; then 4262 if test "x$enable_dependency_tracking" = xyes; then
4405 continue 4263 continue
4406 else 4264 else
4407 break 4265 break
4408 fi 4266 fi
4409 ;; 4267 ;;
4410 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4411 # This compiler won't grok `-c -o', but also, the minuso test has
4412 # not run yet. These depmodes are late enough in the game, and
4413 # so weak that their functioning should not be impacted.
4414 am__obj=conftest.${OBJEXT-o}
4415 am__minus_obj=
4416 ;;
4417 none) break ;; 4268 none) break ;;
4418 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.
4419 if depmode=$depmode \ 4273 if depmode=$depmode \
4420 source=sub/conftest.c object=$am__obj \ 4274 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4421 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4275 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4422 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4276 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4423 >/dev/null 2>conftest.err && 4277 >/dev/null 2>conftest.err &&
4424 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4425 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4278 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4426 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4279 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4427 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4280 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4428 # 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
4429 # or remarks (even with -Werror). So we grep stderr for any message 4282 # (even with -Werror). So we grep stderr for any message
4430 # that says an option was ignored or not supported. 4283 # that says an option was ignored.
4431 # When given -MP, icc 7.0 and 7.1 complain thusly:
4432 # icc: Command line warning: ignoring option '-M'; no argument required
4433 # The diagnosis changed in icc 8.0:
4434 # icc: Command line remark: option '-MP' not supported
4435 if (grep 'ignoring option' conftest.err ||
4436 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4284 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
4437 am_cv_CC_dependencies_compiler_type=$depmode 4285 am_cv_CC_dependencies_compiler_type=$depmode
4438 break 4286 break
4439 fi 4287 fi
4440 fi 4288 fi
4441 done 4289 done
4449fi 4297fi
4450{ $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
4451$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4299$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4452CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4300CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4453 4301
4302
4303
4454 if 4304if
4455 test "x$enable_dependency_tracking" != xno \ 4305 test "x$enable_dependency_tracking" != xno \
4456 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4306 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4457 am__fastdepCC_TRUE= 4307 am__fastdepCC_TRUE=
4458 am__fastdepCC_FALSE='#' 4308 am__fastdepCC_FALSE='#'
4459else 4309else
6095 # 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
6096 # 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
6097 # 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
6098 # 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
6099 # in D'. 5949 # in D'.
6100 rm -rf conftest.dir
6101 mkdir conftest.dir 5950 mkdir conftest.dir
6102 # 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
6103 # using a relative directory. 5952 # using a relative directory.
6104 cp "$am_depcomp" conftest.dir 5953 cp "$am_depcomp" conftest.dir
6105 cd conftest.dir 5954 cd conftest.dir
6113 5962
6114 am_cv_CXX_dependencies_compiler_type=none 5963 am_cv_CXX_dependencies_compiler_type=none
6115 if test "$am_compiler_list" = ""; then 5964 if test "$am_compiler_list" = ""; then
6116 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`
6117 fi 5966 fi
6118 am__universal=false
6119 case " $depcc " in #(
6120 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6121 esac
6122
6123 for depmode in $am_compiler_list; do 5967 for depmode in $am_compiler_list; do
6124 # Setup a source with many dependencies, because some compilers 5968 # Setup a source with many dependencies, because some compilers
6125 # like to wrap large dependency lists on column 80 (with \), and 5969 # like to wrap large dependency lists on column 80 (with \), and
6126 # 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.
6127 # 5971 #
6129 # overwrite some of them when testing with obscure command lines. 5973 # overwrite some of them when testing with obscure command lines.
6130 # This happens at least with the AIX C compiler. 5974 # This happens at least with the AIX C compiler.
6131 : > sub/conftest.c 5975 : > sub/conftest.c
6132 for i in 1 2 3 4 5 6; do 5976 for i in 1 2 3 4 5 6; do
6133 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5977 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6134 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6135 # Solaris 8's {/usr,}/bin/sh.
6136 touch sub/conftst$i.h 5978 : > sub/conftst$i.h
6137 done 5979 done
6138 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5980 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6139 5981
6140 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6141 # mode. It turns out that the SunPro C++ compiler does not properly
6142 # handle `-M -o', and we need to detect this. Also, some Intel
6143 # versions had trouble with output in subdirs
6144 am__obj=sub/conftest.${OBJEXT-o}
6145 am__minus_obj="-o $am__obj"
6146 case $depmode in 5982 case $depmode in
6147 gcc)
6148 # This depmode causes a compiler race in universal mode.
6149 test "$am__universal" = false || continue
6150 ;;
6151 nosideeffect) 5983 nosideeffect)
6152 # 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
6153 # only be used when explicitly requested 5985 # only be used when explicitly requested
6154 if test "x$enable_dependency_tracking" = xyes; then 5986 if test "x$enable_dependency_tracking" = xyes; then
6155 continue 5987 continue
6156 else 5988 else
6157 break 5989 break
6158 fi 5990 fi
6159 ;; 5991 ;;
6160 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6161 # This compiler won't grok `-c -o', but also, the minuso test has
6162 # not run yet. These depmodes are late enough in the game, and
6163 # so weak that their functioning should not be impacted.
6164 am__obj=conftest.${OBJEXT-o}
6165 am__minus_obj=
6166 ;;
6167 none) break ;; 5992 none) break ;;
6168 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.
6169 if depmode=$depmode \ 5997 if depmode=$depmode \
6170 source=sub/conftest.c object=$am__obj \ 5998 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6171 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5999 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6172 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 6000 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6173 >/dev/null 2>conftest.err && 6001 >/dev/null 2>conftest.err &&
6174 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6175 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 6002 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6176 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 6003 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6177 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 6004 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6178 # 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
6179 # or remarks (even with -Werror). So we grep stderr for any message 6006 # (even with -Werror). So we grep stderr for any message
6180 # that says an option was ignored or not supported. 6007 # that says an option was ignored.
6181 # When given -MP, icc 7.0 and 7.1 complain thusly:
6182 # icc: Command line warning: ignoring option '-M'; no argument required
6183 # The diagnosis changed in icc 8.0:
6184 # icc: Command line remark: option '-MP' not supported
6185 if (grep 'ignoring option' conftest.err ||
6186 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 6008 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
6187 am_cv_CXX_dependencies_compiler_type=$depmode 6009 am_cv_CXX_dependencies_compiler_type=$depmode
6188 break 6010 break
6189 fi 6011 fi
6190 fi 6012 fi
6191 done 6013 done
6199fi 6021fi
6200{ $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
6201$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 6023$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6202CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 6024CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6203 6025
6026
6027
6204 if 6028if
6205 test "x$enable_dependency_tracking" != xno \ 6029 test "x$enable_dependency_tracking" != xno \
6206 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 6030 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6207 am__fastdepCXX_TRUE= 6031 am__fastdepCXX_TRUE=
6208 am__fastdepCXX_FALSE='#' 6032 am__fastdepCXX_FALSE='#'
6209else 6033else
8209 8033
8210 8034
8211 8035
8212 8036
8213 8037
8214 tinc_ac_save_CPPFLAGS="$CPPFLAGS"
8215 8038
8216 8039
8217# Check whether --with-openssl-include was given.
8218if test "${with_openssl_include+set}" = set; then :
8219 withval=$with_openssl_include; openssl_include="$withval"
8220 CFLAGS="$CFLAGS -I$withval"
8221 CPPFLAGS="$CPPFLAGS -I$withval"
8222 8040
8223fi
8224 8041
8225 8042
8226 8043
8227# Check whether --with-openssl-lib was given. 8044if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
8228if test "${with_openssl_lib+set}" = set; then : 8045 if test -n "$ac_tool_prefix"; then
8229 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.
8230 LIBS="$LIBS -L$withval" 8047set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
8231 8048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8232fi 8049$as_echo_n "checking for $ac_word... " >&6; }
8233 8050if ${ac_cv_path_PKG_CONFIG+:} false; then :
8234 8051 $as_echo_n "(cached) " >&6
8235 for ac_header in openssl/evp.h openssl/rsa.h openssl/rand.h openssl/err.h openssl/sha.h openssl/pem.h
8236do :
8237 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8238ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
8239if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8240 cat >>confdefs.h <<_ACEOF
8241#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8242_ACEOF
8243
8244else 8052else
8245 as_fn_error $? "OpenSSL header files not found." "$LINENO" 5; break 8053 case $PKG_CONFIG in
8246 8054 [\\/]* | ?:[\\/]*)
8247fi 8055 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
8248 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
8249done 8069done
8070 done
8071IFS=$as_save_IFS
8250 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
8251 8084
8252 CPPFLAGS="$tinc_ac_save_CPPFLAGS"
8253 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
8254 { $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
8255$as_echo_n "checking for SHA1_Init in -lcrypto... " >&6; } 8092$as_echo_n "checking for $ac_word... " >&6; }
8256if ${ac_cv_lib_crypto_SHA1_Init+:} false; then : 8093if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
8257 $as_echo_n "(cached) " >&6 8094 $as_echo_n "(cached) " >&6
8258else 8095else
8259 ac_check_lib_save_LIBS=$LIBS 8096 case $ac_pt_PKG_CONFIG in
8260LIBS="-lcrypto $LIBS" 8097 [\\/]* | ?:[\\/]*)
8261cat 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.
8262/* end confdefs.h. */
8263
8264/* Override any GCC internal prototype to avoid an error.
8265 Use char because int might match the return type of a GCC
8266 builtin and then its argument prototype would still apply. */
8267#ifdef __cplusplus
8268extern "C"
8269#endif
8270char SHA1_Init ();
8271int
8272main ()
8273{
8274return SHA1_Init ();
8275 ; 8099 ;;
8276 return 0; 8100 *)
8277} 8101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8278_ACEOF 8102for as_dir in $PATH
8279if ac_fn_cxx_try_link "$LINENO"; then : 8103do
8280 ac_cv_lib_crypto_SHA1_Init=yes 8104 IFS=$as_save_IFS
8281else 8105 test -z "$as_dir" && as_dir=.
8282 ac_cv_lib_crypto_SHA1_Init=no 8106 for ac_exec_ext in '' $ac_executable_extensions; do
8283fi 8107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8284rm -f core conftest.err conftest.$ac_objext \ 8108 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8285 conftest$ac_exeext conftest.$ac_ext 8109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8286LIBS=$ac_check_lib_save_LIBS 8110 break 2
8287fi 8111 fi
8288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_Init" >&5
8289$as_echo "$ac_cv_lib_crypto_SHA1_Init" >&6; }
8290if test "x$ac_cv_lib_crypto_SHA1_Init" = xyes; then :
8291 LIBS="$LIBS -lcrypto"
8292else
8293 as_fn_error $? "OpenSSL libraries not found." "$LINENO" 5
8294
8295fi
8296
8297
8298 for ac_func in RAND_pseudo_bytes OPENSSL_add_all_algorithms_noconf OpenSSL_add_all_algorithms SSLeay_add_all_algorithms
8299do :
8300 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8301ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
8302if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8303 cat >>confdefs.h <<_ACEOF
8304#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8305_ACEOF
8306
8307fi
8308done 8112done
8113 done
8114IFS=$as_save_IFS
8309 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
8310 8127
8311 ac_fn_cxx_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 8128 if test "x$ac_pt_PKG_CONFIG" = x; then
8312if 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
8313 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; }
8314else 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
8315 { $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
8316$as_echo_n "checking for dlopen in -ldl... " >&6; } 8160$as_echo_n "checking for LIBCRYPTO... " >&6; }
8317if ${ac_cv_lib_dl_dlopen+:} false; then : 8161
8318 $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
8319else 8176 else
8320 ac_check_lib_save_LIBS=$LIBS 8177 pkg_failed=untried
8321LIBS="-ldl $LIBS" 8178fi
8322cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8179if test -n "$LIBCRYPTO_LIBS"; then
8323/* end confdefs.h. */ 8180 pkg_cv_LIBCRYPTO_LIBS="$LIBCRYPTO_LIBS"
8324 8181 elif test -n "$PKG_CONFIG"; then
8325/* Override any GCC internal prototype to avoid an error. 8182 if test -n "$PKG_CONFIG" && \
8326 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
8327 builtin and then its argument prototype would still apply. */ 8184 ($PKG_CONFIG --exists --print-errors "libcrypto >= 1") 2>&5
8328#ifdef __cplusplus 8185 ac_status=$?
8329extern "C" 8186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8330#endif 8187 test $ac_status = 0; }; then
8331char dlopen (); 8188 pkg_cv_LIBCRYPTO_LIBS=`$PKG_CONFIG --libs "libcrypto >= 1" 2>/dev/null`
8332int 8189 test "x$?" != "x0" && pkg_failed=yes
8333main () 8190else
8334{ 8191 pkg_failed=yes
8335return dlopen (); 8192fi
8336 ;
8337 return 0;
8338}
8339_ACEOF
8340if ac_fn_cxx_try_link "$LINENO"; then :
8341 ac_cv_lib_dl_dlopen=yes
8342else 8193 else
8343 ac_cv_lib_dl_dlopen=no 8194 pkg_failed=untried
8344fi 8195fi
8345rm -f core conftest.err conftest.$ac_objext \ 8196
8346 conftest$ac_exeext conftest.$ac_ext 8197
8347LIBS=$ac_check_lib_save_LIBS 8198
8348fi 8199if test $pkg_failed = yes; then
8349{ $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
8350$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 8201$as_echo "no" >&6; }
8351if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
8352 LIBS="$LIBS -ldl"
8353else
8354 as_fn_error $? "OpenSSL depends on libdl." "$LINENO" 5
8355 8202
8356fi 8203if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8357 8204 _pkg_short_errors_supported=yes
8358
8359fi
8360
8361
8362 ac_fn_cxx_check_func "$LINENO" "inflate" "ac_cv_func_inflate"
8363if test "x$ac_cv_func_inflate" = xyes; then :
8364
8365else 8205else
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5 8206 _pkg_short_errors_supported=no
8367$as_echo_n "checking for inflate in -lz... " >&6; }
8368if ${ac_cv_lib_z_inflate+:} false; then :
8369 $as_echo_n "(cached) " >&6
8370else
8371 ac_check_lib_save_LIBS=$LIBS
8372LIBS="-lz $LIBS"
8373cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8374/* end confdefs.h. */
8375
8376/* Override any GCC internal prototype to avoid an error.
8377 Use char because int might match the return type of a GCC
8378 builtin and then its argument prototype would still apply. */
8379#ifdef __cplusplus
8380extern "C"
8381#endif
8382char inflate ();
8383int
8384main ()
8385{
8386return inflate ();
8387 ;
8388 return 0;
8389}
8390_ACEOF
8391if ac_fn_cxx_try_link "$LINENO"; then :
8392 ac_cv_lib_z_inflate=yes
8393else
8394 ac_cv_lib_z_inflate=no
8395fi 8207fi
8396rm -f core conftest.err conftest.$ac_objext \ 8208 if test $_pkg_short_errors_supported = yes; then
8397 conftest$ac_exeext conftest.$ac_ext 8209 LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcrypto >= 1" 2>&1`
8398LIBS=$ac_check_lib_save_LIBS 8210 else
8399fi 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
8400{ $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
8401$as_echo "$ac_cv_lib_z_inflate" >&6; } 8228$as_echo "no" >&6; }
8402if test "x$ac_cv_lib_z_inflate" = xyes; then : 8229 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8403 LIBS="$LIBS -lz" 8230$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8404else 8231as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
8405 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.
8406 8234
8407fi 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.
8408 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; }
8409 8246
8410fi
8411
8412
8413if test "x$openssl_include" != x; then
8414 CXXFLAGS="$CXXFLAGS -I$openssl_include"
8415fi 8247fi
8416 8248
8417# Check whether --enable-threads was given. 8249# Check whether --enable-threads was given.
8418if test "${enable_threads+set}" = set; then : 8250if test "${enable_threads+set}" = set; then :
8419 enableval=$enable_threads; try_threads=$enableval 8251 enableval=$enable_threads; try_threads=$enableval
8461fi 8293fi
8462 8294
8463 8295
8464 8296
8465 8297
8298
8299
8466 if test x$rohc = xtrue; then 8300if test x$rohc = xtrue; then
8467 ROHC_TRUE= 8301 ROHC_TRUE=
8468 ROHC_FALSE='#' 8302 ROHC_FALSE='#'
8469else 8303else
8470 ROHC_TRUE='#' 8304 ROHC_TRUE='#'
8471 ROHC_FALSE= 8305 ROHC_FALSE=
8585 8419
8586 8420
8587fi 8421fi
8588 8422
8589 8423
8424RSA=3072
8425# Check whether --enable-rsa-length was given.
8426if test "${enable_rsa_length+set}" = set; then :
8427 enableval=$enable_rsa_length; RSA=$enableval
8428
8429fi
8430
8431
8432cat >>confdefs.h <<_ACEOF
8433#define RSABITS $RSA
8434_ACEOF
8435
8436
8590HMAC=12 8437HMACSIZE=12
8591# Check whether --enable-hmac-length was given. 8438# Check whether --enable-hmac-length was given.
8592if test "${enable_hmac_length+set}" = set; then : 8439if test "${enable_hmac_length+set}" = set; then :
8593 enableval=$enable_hmac_length; HMAC=$enableval 8440 enableval=$enable_hmac_length; HMACSIZE=$enableval
8594 8441
8595fi 8442fi
8596 8443
8597 8444
8598cat >>confdefs.h <<_ACEOF 8445cat >>confdefs.h <<_ACEOF
8599#define HMACLENGTH $HMAC 8446#define HMACLENGTH $HMACSIZE
8600_ACEOF
8601
8602
8603RAND=8
8604# Check whether --enable-rand-length was given.
8605if test "${enable_rand_length+set}" = set; then :
8606 enableval=$enable_rand_length; RAND=$enableval
8607
8608fi
8609
8610
8611cat >>confdefs.h <<_ACEOF
8612#define RAND_SIZE $RAND
8613_ACEOF 8447_ACEOF
8614 8448
8615 8449
8616MTU=1500 8450MTU=1500
8617# Check whether --enable-max-mtu was given. 8451# Check whether --enable-max-mtu was given.
8639cat >>confdefs.h <<_ACEOF 8473cat >>confdefs.h <<_ACEOF
8640#define ENABLE_COMPRESSION $COMPRESS 8474#define ENABLE_COMPRESSION $COMPRESS
8641_ACEOF 8475_ACEOF
8642 8476
8643 8477
8644CIPHER=aes_128_cbc 8478CIPHER=aes_128_ctr
8645# Check whether --enable-cipher was given. 8479# Check whether --enable-cipher was given.
8646if test "${enable_cipher+set}" = set; then : 8480if test "${enable_cipher+set}" = set; then :
8647 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
8648 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
8649 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
8650 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
8485 #if test "x$enableval" = xcamellia-128; then CIPHER=camellia_128_ctr; fi
8486 #if test "x$enableval" = xcamellia-256; then CIPHER=camellia_256_ctr; fi
8651 8487
8652fi 8488fi
8653 8489
8654 8490
8655cat >>confdefs.h <<_ACEOF 8491cat >>confdefs.h <<_ACEOF
8656#define ENABLE_CIPHER EVP_${CIPHER} 8492#define ENABLE_CIPHER EVP_${CIPHER}
8657_ACEOF 8493_ACEOF
8658 8494
8659 8495
8660DIGEST=ripemd160 8496HMAC=sha1
8661# Check whether --enable-digest was given. 8497# Check whether --enable-hmac-digest was given.
8662if test "${enable_digest+set}" = set; then : 8498if test "${enable_hmac_digest+set}" = set; then :
8499 enableval=$enable_hmac_digest; if test "x$enableval" = xwhirlpool; then HMAC=whirlpool; fi
8663 enableval=$enable_digest; if test "x$enableval" = xsha512 ; then DIGEST=sha512 ; fi 8500 if test "x$enableval" = xsha512 ; then HMAC=sha512 ; fi
8664 if test "x$enableval" = xsha256 ; then DIGEST=sha256 ; fi 8501 if test "x$enableval" = xsha256 ; then HMAC=sha256 ; fi
8665 if test "x$enableval" = xsha1 ; then DIGEST=sha1 ; fi 8502 if test "x$enableval" = xsha1 ; then HMAC=sha1 ; fi
8666 if test "x$enableval" = xripemd160; then DIGEST=ripemd160; fi 8503 if test "x$enableval" = xripemd160; then HMAC=ripemd160; fi
8667 if test "x$enableval" = xmd5 ; then DIGEST=md5 ; fi
8668 if test "x$enableval" = xmd4 ; then DIGEST=md4 ; fi
8669 8504
8670fi 8505fi
8671 8506
8672 8507
8673cat >>confdefs.h <<_ACEOF 8508cat >>confdefs.h <<_ACEOF
8509#define ENABLE_HMAC EVP_${HMAC}
8510_ACEOF
8511
8512
8513AUTH=sha512
8514# Check whether --enable-auth-digest was given.
8515if test "${enable_auth_digest+set}" = set; then :
8516 enableval=$enable_auth_digest; if test "x$enableval" = xwhirlpool; then AUTH=whirlpool; fi
8517 if test "x$enableval" = xsha512 ; then AUTH=sha512 ; fi
8518 if test "x$enableval" = xsha256 ; then AUTH=sha256 ; fi
8519
8520fi
8521
8522
8523cat >>confdefs.h <<_ACEOF
8674#define ENABLE_DIGEST EVP_${DIGEST} 8524#define ENABLE_AUTH EVP_${AUTH}
8675_ACEOF 8525_ACEOF
8676 8526
8677 8527
8678if $CXX -v --help 2>&1 | grep -q fno-rtti; then 8528if $CXX -v --help 2>&1 | grep -q fno-rtti; then
8679 CXXFLAGS="$CXXFLAGS -fno-rtti" 8529 CXXFLAGS="$CXXFLAGS -fno-rtti"
8797LIBOBJS=$ac_libobjs 8647LIBOBJS=$ac_libobjs
8798 8648
8799LTLIBOBJS=$ac_ltlibobjs 8649LTLIBOBJS=$ac_ltlibobjs
8800 8650
8801 8651
8802 if test -n "$EXEEXT"; then
8803 am__EXEEXT_TRUE=
8804 am__EXEEXT_FALSE='#'
8805else
8806 am__EXEEXT_TRUE='#'
8807 am__EXEEXT_FALSE=
8808fi
8809
8810if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 8652if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8811 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 8653 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
8812Usually this means the macro was only invoked conditionally." "$LINENO" 5 8654Usually this means the macro was only invoked conditionally." "$LINENO" 5
8813fi 8655fi
8814if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 8656if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9299gives unlimited permission to copy, distribute and modify it." 9141gives unlimited permission to copy, distribute and modify it."
9300 9142
9301ac_pwd='$ac_pwd' 9143ac_pwd='$ac_pwd'
9302srcdir='$srcdir' 9144srcdir='$srcdir'
9303INSTALL='$INSTALL' 9145INSTALL='$INSTALL'
9304MKDIR_P='$MKDIR_P'
9305AWK='$AWK' 9146AWK='$AWK'
9306test -n "\$AWK" || AWK=awk 9147test -n "\$AWK" || AWK=awk
9307_ACEOF 9148_ACEOF
9308 9149
9309cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9150cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9881 9722
9882 case $INSTALL in 9723 case $INSTALL in
9883 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 9724 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9884 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 9725 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9885 esac 9726 esac
9886 ac_MKDIR_P=$MKDIR_P
9887 case $MKDIR_P in
9888 [\\/$]* | ?:[\\/]* ) ;;
9889 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
9890 esac
9891_ACEOF 9727_ACEOF
9892 9728
9893cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9729cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9894# If the template does not know about datarootdir, expand it. 9730# If the template does not know about datarootdir, expand it.
9895# 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.
9940s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 9776s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9941s&@builddir@&$ac_builddir&;t t 9777s&@builddir@&$ac_builddir&;t t
9942s&@abs_builddir@&$ac_abs_builddir&;t t 9778s&@abs_builddir@&$ac_abs_builddir&;t t
9943s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9779s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9944s&@INSTALL@&$ac_INSTALL&;t t 9780s&@INSTALL@&$ac_INSTALL&;t t
9945s&@MKDIR_P@&$ac_MKDIR_P&;t t
9946$ac_datarootdir_hack 9781$ac_datarootdir_hack
9947" 9782"
9948eval 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" \
9949 >$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
9950 9785
9986 $as_echo "/* $configure_input */" \ 9821 $as_echo "/* $configure_input */" \
9987 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 9822 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9988 || as_fn_error $? "could not create -" "$LINENO" 5 9823 || as_fn_error $? "could not create -" "$LINENO" 5
9989 fi 9824 fi
9990# Compute "$ac_file"'s index in $config_headers. 9825# Compute "$ac_file"'s index in $config_headers.
9991_am_arg="$ac_file"
9992_am_stamp_count=1 9826_am_stamp_count=1
9993for _am_header in $config_headers :; do 9827for _am_header in $config_headers :; do
9994 case $_am_header in 9828 case $_am_header in
9995 $_am_arg | $_am_arg:* ) 9829 "$ac_file" | "$ac_file":* )
9996 break ;; 9830 break ;;
9997 * ) 9831 * )
9998 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 9832 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9999 esac 9833 esac
10000done 9834done
10001echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 9835echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
10002$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9836$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10003 X"$_am_arg" : 'X\(//\)[^/]' \| \ 9837 X"$ac_file" : 'X\(//\)[^/]' \| \
10004 X"$_am_arg" : 'X\(//\)$' \| \ 9838 X"$ac_file" : 'X\(//\)$' \| \
10005 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 9839 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10006$as_echo X"$_am_arg" | 9840$as_echo X"$ac_file" |
10007 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9841 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10008 s//\1/ 9842 s//\1/
10009 q 9843 q
10010 } 9844 }
10011 /^X\(\/\/\)[^/].*/{ 9845 /^X\(\/\/\)[^/].*/{
10124 done 9958 done
10125 fi 9959 fi
10126 ;; 9960 ;;
10127 esac 9961 esac
10128 done ;; 9962 done ;;
10129 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 9963 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
10130 # Autoconf 2.62 quotes --file arguments for eval, but not when files
10131 # are listed without --file. Let's play safe and only enable the eval
10132 # if we detect the quoting.
10133 case $CONFIG_FILES in
10134 *\'*) eval set x "$CONFIG_FILES" ;;
10135 *) set x $CONFIG_FILES ;;
10136 esac
10137 shift
10138 for mf
10139 do
10140 # 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.
10141 mf=`echo "$mf" | sed -e 's/:.*$//'` 9965 mf=`echo "$mf" | sed -e 's/:.*$//'`
10142 # Check whether this is an Automake generated Makefile or not. 9966 # Check whether this is an Automake generated Makefile or not.
10143 # We used to match only the files named `Makefile.in', but 9967 # We used to match only the files named `Makefile.in', but
10144 # 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.
10145 # 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
10146 # 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.
10147 # Grep'ing the whole file is not good either: AIX grep has a line 9971 # So let's grep whole file.
10148 # limit of 2048, but all sed's we know have understand at least 4000.
10149 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
10150 dirpart=`$as_dirname -- "$mf" || 9973 dirpart=`$as_dirname -- "$mf" ||
10151$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9974$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10152 X"$mf" : 'X\(//\)[^/]' \| \ 9975 X"$mf" : 'X\(//\)[^/]' \| \
10153 X"$mf" : 'X\(//\)$' \| \ 9976 X"$mf" : 'X\(//\)$' \| \
10154 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 9977 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10155$as_echo X"$mf" | 9978$as_echo X"$mf" |
10168 /^X\(\/\).*/{ 9991 /^X\(\/\).*/{
10169 s//\1/ 9992 s//\1/
10170 q 9993 q
10171 } 9994 }
10172 s/.*/./; q'` 9995 s/.*/./; q'`
10173 else 9996 else
10174 continue 9997 continue
10175 fi 9998 fi
10176 # Extract the definition of DEPDIR, am__include, and am__quote 9999 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
10177 # from the Makefile without running `make'. 10000 # Extract the definition of DEP_FILES from the Makefile without
10001 # running `make'.
10178 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 10002 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
10179 test -z "$DEPDIR" && continue 10003 test -z "$DEPDIR" && continue
10180 am__include=`sed -n 's/^am__include = //p' < "$mf"`
10181 test -z "am__include" && continue
10182 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10183 # 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
10184 U=`sed -n 's/^U = //p' < "$mf"` 10005 U=`sed -n -e '/^U = / s///p' < "$mf"`
10185 # Find all dependency output files, they are included files with 10006 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
10186 # $(DEPDIR) in their names. We invoke sed twice because it is the 10007 # We invoke sed twice because it is the simplest approach to
10187 # simplest approach to changing $(DEPDIR) to its actual value in the 10008 # changing $(DEPDIR) to its actual value in the expansion.
10188 # expansion.
10189 for file in `sed -n " 10009 for file in `sed -n -e '
10190 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" | \
10191 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
10192 # Make sure the directory exists. 10021 # Make sure the directory exists.
10193 test -f "$dirpart/$file" && continue 10022 test -f "$dirpart/$file" && continue
10194 fdir=`$as_dirname -- "$file" || 10023 fdir=`$as_dirname -- "$file" ||
10195$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10024$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10196 X"$file" : 'X\(//\)[^/]' \| \ 10025 X"$file" : 'X\(//\)[^/]' \| \
10197 X"$file" : 'X\(//\)$' \| \ 10026 X"$file" : 'X\(//\)$' \| \
10198 X"$file" : 'X\(/\)' \| . 2>/dev/null || 10027 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10199$as_echo X"$file" | 10028$as_echo X"$file" |
10212 /^X\(\/\).*/{ 10041 /^X\(\/\).*/{
10213 s//\1/ 10042 s//\1/
10214 q 10043 q
10215 } 10044 }
10216 s/.*/./; q'` 10045 s/.*/./; q'`
10217 as_dir=$dirpart/$fdir; as_fn_mkdir_p 10046 as_dir=$dirpart/$fdir; as_fn_mkdir_p
10218 # echo "creating $dirpart/$file" 10047 # echo "creating $dirpart/$file"
10219 echo '# dummy' > "$dirpart/$file" 10048 echo '# dummy' > "$dirpart/$file"
10220 done
10221 done 10049 done
10222} 10050done
10223 ;; 10051 ;;
10224 10052
10225 esac 10053 esac
10226done # for ac_tag 10054done # for ac_tag
10227 10055
10263echo 10091echo
10264echo "***" 10092echo "***"
10265echo "*** Configuration Summary" 10093echo "*** Configuration Summary"
10266echo "***" 10094echo "***"
10267echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE" 10095echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE"
10096echo "*** RSA size: $RSA"
10268echo "*** Cipher used: $CIPHER" 10097echo "*** Cipher used: $CIPHER"
10269echo "*** Digest used: $DIGEST" 10098echo "*** Digest used: $DIGEST"
10099echo "*** Authdigest: $AUTH"
10270echo "*** HMAC length: $HMAC" 10100echo "*** HMAC length: $HMAC"
10271echo "*** RAND used: $RAND"
10272echo "*** Max. MTU: $MTU" 10101echo "*** Max. MTU: $MTU"
10273 10102
10274echo "***" 10103echo "***"
10275echo "*** Enable options:" 10104echo "*** Enable options:"
10276grep ENABLE_ config.h | sed -e 's/^/*** /' 10105grep ENABLE_ config.h | sed -e 's/^/*** /'
10277 10106
10278if test "x$DIGEST" = xmd4; then 10107if test "$HMACSIZE" -lt 12; then
10279echo "***" 10108echo "***"
10280echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure"
10281fi
10282
10283if test "x$DIGEST" = xmd5; then
10284echo "***"
10285echo "*** WARNING: The digest you have chosen ($DIGEST) is quite insecure"
10286fi
10287
10288if test "$HMAC" -lt 12; then
10289echo "***"
10290echo "*** WARNING: The hmac length you have chosen ($HMAC) is quite insecure" 10109echo "*** WARNING: The hmac length you have chosen ($HMACSIZE) is quite insecure"
10291fi
10292
10293if test "$RAND" -lt 8; then
10294echo "***"
10295echo "*** WARNING: The random prefix you have chosen ($RAND) is probably insecure"
10296fi 10110fi
10297 10111
10298echo "***" 10112echo "***"
10299echo 10113echo
10300 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
10301 10144
10145EOF
10146fi
10147
10148

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines