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

Comparing gvpe/configure (file contents):
Revision 1.50 by root, Wed Jul 10 01:51:40 2013 UTC vs.
Revision 1.60 by root, Thu Oct 25 07:31:58 2018 UTC

1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69. 3# Generated by GNU Autoconf 2.69 for gvpe 3.1.
4# 4#
5# 5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7# 7#
8# 8#
573subdirs= 573subdirs=
574MFLAGS= 574MFLAGS=
575MAKEFLAGS= 575MAKEFLAGS=
576 576
577# Identity of this package. 577# Identity of this package.
578PACKAGE_NAME= 578PACKAGE_NAME='gvpe'
579PACKAGE_TARNAME= 579PACKAGE_TARNAME='gvpe'
580PACKAGE_VERSION= 580PACKAGE_VERSION='3.1'
581PACKAGE_STRING= 581PACKAGE_STRING='gvpe 3.1'
582PACKAGE_BUGREPORT= 582PACKAGE_BUGREPORT=''
583PACKAGE_URL= 583PACKAGE_URL=''
584 584
585ac_unique_file="src/gvpe.C" 585ac_unique_file="src/gvpe.C"
586# Factoring default headers for most tests. 586# Factoring default headers for most tests.
587ac_includes_default="\ 587ac_includes_default="\
588#include <stdio.h> 588#include <stdio.h>
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 624AM_CPPFLAGS
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_TARNAME}'
833infodir='${datarootdir}/info' 836infodir='${datarootdir}/info'
834htmldir='${docdir}' 837htmldir='${docdir}'
835dvidir='${docdir}' 838dvidir='${docdir}'
836pdfdir='${docdir}' 839pdfdir='${docdir}'
837psdir='${docdir}' 840psdir='${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 */ )
1327# 1339#
1328if test "$ac_init_help" = "long"; then 1340if test "$ac_init_help" = "long"; then
1329 # Omit some internal or obsolete options to make the list less imposing. 1341 # Omit some internal or obsolete options to make the list less imposing.
1330 # This message is too long to be a string in the A/UX 3.1 sh. 1342 # This message is too long to be a string in the A/UX 3.1 sh.
1331 cat <<_ACEOF 1343 cat <<_ACEOF
1332\`configure' configures this package to adapt to many kinds of systems. 1344\`configure' configures gvpe 3.1 to adapt to many kinds of systems.
1333 1345
1334Usage: $0 [OPTION]... [VAR=VALUE]... 1346Usage: $0 [OPTION]... [VAR=VALUE]...
1335 1347
1336To assign environment variables (e.g., CC, CFLAGS...), specify them as 1348To assign environment variables (e.g., CC, CFLAGS...), specify them as
1337VAR=VALUE. See below for descriptions of some of the useful variables. 1349VAR=VALUE. See below for descriptions of some of the useful variables.
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]
1377 --infodir=DIR info documentation [DATAROOTDIR/info] 1390 --infodir=DIR info documentation [DATAROOTDIR/info]
1378 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1391 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1379 --mandir=DIR man documentation [DATAROOTDIR/man] 1392 --mandir=DIR man documentation [DATAROOTDIR/man]
1380 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1393 --docdir=DIR documentation root [DATAROOTDIR/doc/gvpe]
1381 --htmldir=DIR html documentation [DOCDIR] 1394 --htmldir=DIR html documentation [DOCDIR]
1382 --dvidir=DIR dvi documentation [DOCDIR] 1395 --dvidir=DIR dvi documentation [DOCDIR]
1383 --pdfdir=DIR pdf documentation [DOCDIR] 1396 --pdfdir=DIR pdf documentation [DOCDIR]
1384 --psdir=DIR ps documentation [DOCDIR] 1397 --psdir=DIR ps documentation [DOCDIR]
1385_ACEOF 1398_ACEOF
1397 --target=TARGET configure for building compilers for TARGET [HOST] 1410 --target=TARGET configure for building compilers for TARGET [HOST]
1398_ACEOF 1411_ACEOF
1399fi 1412fi
1400 1413
1401if test -n "$ac_init_help"; then 1414if test -n "$ac_init_help"; then
1402 1415 case $ac_init_help in
1416 short | recursive ) echo "Configuration of gvpe 3.1:";;
1417 esac
1403 cat <<\_ACEOF 1418 cat <<\_ACEOF
1404 1419
1405Optional Features: 1420Optional Features:
1406 --disable-option-checking ignore unrecognized --enable/--with options 1421 --disable-option-checking ignore unrecognized --enable/--with options
1407 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1422 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1408 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1423 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1409 --enable-maintainer-mode enable make rules and dependencies not useful 1424 --enable-maintainer-mode enable make rules and dependencies not useful
1410 (and sometimes confusing) to the casual installer 1425 (and sometimes confusing) to the casual installer
1411 --disable-dependency-tracking speeds up one-time build 1426 --disable-dependency-tracking Speeds up one-time builds
1412 --enable-dependency-tracking do not reject slow dependency extractors 1427 --enable-dependency-tracking Do not reject slow dependency extractors
1413 --disable-rpath do not hardcode runtime library paths 1428 --disable-rpath do not hardcode runtime library paths
1414 --disable-nls do not use Native Language Support 1429 --disable-nls do not use Native Language Support
1415 --enable-iftype=TYPE/SUBTYPE 1430 --enable-iftype=TYPE/SUBTYPE
1416 Use kernel/net device interface TYPE/SUBTYPE. 1431 Use kernel/net device interface TYPE/SUBTYPE.
1417 Working combinations are (see doc/gvpe.osdep.5.pod): 1432 Working combinations are (see doc/gvpe.osdep.5.pod):
1428 --disable-icmp enable icmp protocol support (default enabled). 1443 --disable-icmp enable icmp protocol support (default enabled).
1429 --disable-tcp enable tcp protocol support (default enabled). 1444 --disable-tcp enable tcp protocol support (default enabled).
1430 --disable-http-proxy enable http proxy connect support (default enabled). 1445 --disable-http-proxy enable http proxy connect support (default enabled).
1431 --enable-dns enable dns tunnel protocol support (default 1446 --enable-dns enable dns tunnel protocol support (default
1432 disabled). 1447 disabled).
1448 --enable-rsa-length=BITS
1449 use BITS rsa keys (default 3072). Allowed values are
1450 2048-10240.
1433 --enable-hmac-length=BYTES 1451 --enable-hmac-length=BYTES
1434 use a hmac of length BYTES bytes (default 12). 1452 use a hmac of length BYTES bytes (default 12).
1435 Allowed values are 4, 8, 12, 16. 1453 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). 1454 --enable-max-mtu=BYTES enable mtu sizes upto BYTES bytes (default 1500).
1440 Use 9100 for jumbogram support. 1455 Use 9100 for jumbogram support.
1441 --disable-compression Disable compression support. 1456 --disable-compression Disable compression support.
1442 --enable-cipher=CIPHER Select the symmetric cipher (default "aes-128"). 1457 --enable-cipher=CIPHER Select the symmetric cipher (default "aes-128").
1443 Must be one of "bf" (blowfish), "aes-128" 1458 Must be one of "aes-128" (rijndael), "aes-192", or
1444 (rijndael), "aes-192" or "aes-256". 1459 "aes-256".
1445 --enable-digest=CIPHER Select the digest algorithm to use (default 1460 --enable-hmac-digest=HMAC
1461 Select the HMAC digest algorithm to use (default
1446 "ripemd160"). Must be one of "sha512", "sha256", 1462 "sha1"). Must be one of "sha512", "sha256", "sha1",
1447 "sha1" (somewhat insecure), "ripemd160", "md5" 1463 "ripemd160", "whirlpool".
1448 (insecure) or "md4" (insecure). 1464 --enable-auth-digest=DIGEST
1465 Select the hmac algorithm to use (default "sha512").
1466 Must be one of "sha512", "sha256", "whirlpool".
1449 1467
1450Optional Packages: 1468Optional Packages:
1451 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1469 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1452 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1470 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1453 --with-gnu-ld assume the C compiler uses GNU ld default=no 1471 --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 1473 --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 1474 --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 1475 --without-libintl-prefix don't search for libintl in includedir and libdir
1458 --with-kernel=dir give the directory with kernel sources 1476 --with-kernel=dir give the directory with kernel sources
1459 (default: /usr/src/linux) 1477 (default: /usr/src/linux)
1460 --with-openssl-include=DIR OpenSSL headers directory (without trailing /openssl)
1461 --with-openssl-lib=DIR OpenSSL library directory
1462 1478
1463Some influential environment variables: 1479Some influential environment variables:
1464 CC C compiler command 1480 CC C compiler command
1465 CFLAGS C compiler flags 1481 CFLAGS C compiler flags
1466 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1482 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1470 you have headers in a nonstandard directory <include dir> 1486 you have headers in a nonstandard directory <include dir>
1471 CPP C preprocessor 1487 CPP C preprocessor
1472 CXX C++ compiler command 1488 CXX C++ compiler command
1473 CXXFLAGS C++ compiler flags 1489 CXXFLAGS C++ compiler flags
1474 CXXCPP C++ preprocessor 1490 CXXCPP C++ preprocessor
1491 PKG_CONFIG path to pkg-config utility
1492 PKG_CONFIG_PATH
1493 directories to add to pkg-config's search path
1494 PKG_CONFIG_LIBDIR
1495 path overriding pkg-config's built-in search path
1496 LIBCRYPTO_CFLAGS
1497 C compiler flags for LIBCRYPTO, overriding pkg-config
1498 LIBCRYPTO_LIBS
1499 linker flags for LIBCRYPTO, overriding pkg-config
1475 1500
1476Use these variables to override the choices made by `configure' or to help 1501Use these variables to override the choices made by `configure' or to help
1477it to find libraries and programs with nonstandard names/locations. 1502it to find libraries and programs with nonstandard names/locations.
1478 1503
1479Report bugs to the package provider. 1504Report bugs to the package provider.
1537fi 1562fi
1538 1563
1539test -n "$ac_init_help" && exit $ac_status 1564test -n "$ac_init_help" && exit $ac_status
1540if $ac_init_version; then 1565if $ac_init_version; then
1541 cat <<\_ACEOF 1566 cat <<\_ACEOF
1542configure 1567gvpe configure 3.1
1543generated by GNU Autoconf 2.69 1568generated by GNU Autoconf 2.69
1544 1569
1545Copyright (C) 2012 Free Software Foundation, Inc. 1570Copyright (C) 2012 Free Software Foundation, Inc.
1546This configure script is free software; the Free Software Foundation 1571This configure script is free software; the Free Software Foundation
1547gives unlimited permission to copy, distribute and modify it. 1572gives unlimited permission to copy, distribute and modify it.
2202 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2227 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2203 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2228 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2204 as_fn_set_status $ac_retval 2229 as_fn_set_status $ac_retval
2205 2230
2206} # ac_fn_cxx_try_link 2231} # 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 2232cat >config.log <<_ACEOF
2275This file contains any messages produced by compilers while 2233This file contains any messages produced by compilers while
2276running configure, to aid debugging if configure makes a mistake. 2234running configure, to aid debugging if configure makes a mistake.
2277 2235
2278It was created by $as_me, which was 2236It was created by gvpe $as_me 3.1, which was
2279generated by GNU Autoconf 2.69. Invocation command line was 2237generated by GNU Autoconf 2.69. Invocation command line was
2280 2238
2281 $ $0 $@ 2239 $ $0 $@
2282 2240
2283_ACEOF 2241_ACEOF
2761# will get canonicalized. 2719# will get canonicalized.
2762test -n "$target_alias" && 2720test -n "$target_alias" &&
2763 test "$program_prefix$program_suffix$program_transform_name" = \ 2721 test "$program_prefix$program_suffix$program_transform_name" = \
2764 NONENONEs,x,x, && 2722 NONENONEs,x,x, &&
2765 program_prefix=${target_alias}- 2723 program_prefix=${target_alias}-
2766am__api_version='1.11' 2724am__api_version="1.7"
2767
2768# Find a good install program. We prefer a C program (faster), 2725# 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 2726# so one script is as good as another. But avoid the broken or
2770# incompatible versions: 2727# incompatible versions:
2771# SysV /etc/install, /usr/sbin/install 2728# SysV /etc/install, /usr/sbin/install
2772# SunOS /usr/etc/install 2729# SunOS /usr/etc/install
2861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2818{ $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; } 2819$as_echo_n "checking whether build environment is sane... " >&6; }
2863# Just in case 2820# Just in case
2864sleep 1 2821sleep 1
2865echo timestamp > conftest.file 2822echo 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 2823# 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 2824# arguments. Must try -L first in case configure is actually a
2881# symlink; some systems play weird games with the mod time of symlinks 2825# symlink; some systems play weird games with the mod time of symlinks
2882# (eg FreeBSD returns the mod time of the symlink's containing 2826# (eg FreeBSD returns the mod time of the symlink's containing
2883# directory). 2827# directory).
2884if ( 2828if (
2885 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2829 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2886 if test "$*" = "X"; then 2830 if test "$*" = "X"; then
2887 # -L didn't work. 2831 # -L didn't work.
2888 set X `ls -t "$srcdir/configure" conftest.file` 2832 set X `ls -t $srcdir/configure conftest.file`
2889 fi 2833 fi
2890 rm -f conftest.file 2834 rm -f conftest.file
2891 if test "$*" != "X $srcdir/configure conftest.file" \ 2835 if test "$*" != "X $srcdir/configure conftest.file" \
2892 && test "$*" != "X conftest.file $srcdir/configure"; then 2836 && test "$*" != "X conftest.file $srcdir/configure"; then
2893 2837
2918# Double any \ or $. 2862# Double any \ or $.
2919# By default was `s,x,x', remove it if useless. 2863# By default was `s,x,x', remove it if useless.
2920ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2864ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2921program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2865program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2922 2866
2867
2923# expand $ac_aux_dir to an absolute path 2868# expand $ac_aux_dir to an absolute path
2924am_aux_dir=`cd $ac_aux_dir && pwd` 2869am_aux_dir=`cd $ac_aux_dir && pwd`
2925 2870
2926if test x"${MISSING+set}" != xset; then 2871test 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 2872# Use eval to expand $SHELL
2935if eval "$MISSING --run true"; then 2873if eval "$MISSING --run true"; then
2936 am_missing_run="$MISSING --run " 2874 am_missing_run="$MISSING --run "
2937else 2875else
2938 am_missing_run= 2876 am_missing_run=
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2877 { $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;} 2878$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2941fi 2879fi
2942 2880
2943if test x"${install_sh}" != xset; then 2881for ac_prog in gawk mawk nawk awk
2944 case $am_aux_dir in 2882do
2945 *\ * | *\ *) 2883 # 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'" ;; 2884set dummy $ac_prog; ac_word=$2
2885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2886$as_echo_n "checking for $ac_word... " >&6; }
2887if ${ac_cv_prog_AWK+:} false; then :
2888 $as_echo_n "(cached) " >&6
2889else
2890 if test -n "$AWK"; then
2891 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2892else
2893as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2894for as_dir in $PATH
2895do
2896 IFS=$as_save_IFS
2897 test -z "$as_dir" && as_dir=.
2898 for ac_exec_ext in '' $ac_executable_extensions; do
2899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2900 ac_cv_prog_AWK="$ac_prog"
2901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2902 break 2
2903 fi
2904done
2905 done
2906IFS=$as_save_IFS
2907
2908fi
2909fi
2910AWK=$ac_cv_prog_AWK
2911if test -n "$AWK"; then
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2913$as_echo "$AWK" >&6; }
2914else
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2916$as_echo "no" >&6; }
2917fi
2918
2919
2920 test -n "$AWK" && break
2921done
2922
2923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2924$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2925set x ${MAKE-make}
2926ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2927if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2928 $as_echo_n "(cached) " >&6
2929else
2930 cat >conftest.make <<\_ACEOF
2931SHELL = /bin/sh
2932all:
2933 @echo '@@@%%%=$(MAKE)=@@@%%%'
2934_ACEOF
2935# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2936case `${MAKE-make} -f conftest.make 2>/dev/null` in
2937 *@@@%%%=?*=@@@%%%*)
2938 eval ac_cv_prog_make_${ac_make}_set=yes;;
2947 *) 2939 *)
2948 install_sh="\${SHELL} $am_aux_dir/install-sh" 2940 eval ac_cv_prog_make_${ac_make}_set=no;;
2949 esac 2941esac
2942rm -f conftest.make
2950fi 2943fi
2944if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2946$as_echo "yes" >&6; }
2947 SET_MAKE=
2948else
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2950$as_echo "no" >&6; }
2951 SET_MAKE="MAKE=${MAKE-make}"
2952fi
2953
2954rm -rf .tst 2>/dev/null
2955mkdir .tst 2>/dev/null
2956if test -d .tst; then
2957 am__leading_dot=.
2958else
2959 am__leading_dot=_
2960fi
2961rmdir .tst 2>/dev/null
2962
2963 # test to see if srcdir already configured
2964if test "`cd $srcdir && pwd`" != "`pwd`" &&
2965 test -f $srcdir/config.status; then
2966 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2967fi
2968
2969# test whether we have cygpath
2970if test -z "$CYGPATH_W"; then
2971 if (cygpath --version) >/dev/null 2>/dev/null; then
2972 CYGPATH_W='cygpath -w'
2973 else
2974 CYGPATH_W=echo
2975 fi
2976fi
2977
2978
2979# Define the identity of the package.
2980 PACKAGE='gvpe'
2981 VERSION='3.1'
2982
2983
2984cat >>confdefs.h <<_ACEOF
2985#define PACKAGE "$PACKAGE"
2986_ACEOF
2987
2988
2989cat >>confdefs.h <<_ACEOF
2990#define VERSION "$VERSION"
2991_ACEOF
2992
2993# Some tools Automake needs.
2994
2995ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2996
2997
2998AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2999
3000
3001AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3002
3003
3004AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3005
3006
3007MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3008
3009
3010AMTAR=${AMTAR-"${am_missing_run}tar"}
3011
3012install_sh=${install_sh-"$am_aux_dir/install-sh"}
2951 3013
2952# Installed binaries are usually stripped using `strip' when the user 3014# Installed binaries are usually stripped using `strip' when the user
2953# run `make install-strip'. However `strip' might not be the right 3015# run `make install-strip'. However `strip' might not be the right
2954# tool to use in cross-compilation environments, therefore Automake 3016# tool to use in cross-compilation environments, therefore Automake
2955# will honor the `STRIP' environment variable to overrule this program. 3017# will honor the `STRIP' environment variable to overrule this program.
3045else 3107else
3046 STRIP="$ac_cv_prog_STRIP" 3108 STRIP="$ac_cv_prog_STRIP"
3047fi 3109fi
3048 3110
3049fi 3111fi
3050INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3112INSTALL_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 3113
3232# We need awk for the "check" target. The system "awk" is bad on 3114# We need awk for the "check" target. The system "awk" is bad on
3233# some platforms. 3115# 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 3116
3242 3117
3243 3118
3244ac_config_headers="$ac_config_headers config.h" 3119ac_config_headers="$ac_config_headers config.h"
3245
3246 3120
3247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3121{ $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; } 3122$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3249 # Check whether --enable-maintainer-mode was given. 3123 # Check whether --enable-maintainer-mode was given.
3250if test "${enable_maintainer_mode+set}" = set; then : 3124if test "${enable_maintainer_mode+set}" = set; then :
3253 USE_MAINTAINER_MODE=no 3127 USE_MAINTAINER_MODE=no
3254fi 3128fi
3255 3129
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3257$as_echo "$USE_MAINTAINER_MODE" >&6; } 3131$as_echo "$USE_MAINTAINER_MODE" >&6; }
3132
3133
3258 if test $USE_MAINTAINER_MODE = yes; then 3134if test $USE_MAINTAINER_MODE = yes; then
3259 MAINTAINER_MODE_TRUE= 3135 MAINTAINER_MODE_TRUE=
3260 MAINTAINER_MODE_FALSE='#' 3136 MAINTAINER_MODE_FALSE='#'
3261else 3137else
3262 MAINTAINER_MODE_TRUE='#' 3138 MAINTAINER_MODE_TRUE='#'
3263 MAINTAINER_MODE_FALSE= 3139 MAINTAINER_MODE_FALSE=
3488 3364
3489 3365
3490am_make=${MAKE-make} 3366am_make=${MAKE-make}
3491cat > confinc << 'END' 3367cat > confinc << 'END'
3492am__doit: 3368am__doit:
3493 @echo this is the am__doit target 3369 @echo done
3494.PHONY: am__doit 3370.PHONY: am__doit
3495END 3371END
3496# If we don't find an include directive, just comment out the code. 3372# 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 3373{ $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; } 3374$as_echo_n "checking for style of include used by $am_make... " >&6; }
3499am__include="#" 3375am__include="#"
3500am__quote= 3376am__quote=
3501_am_result=none 3377_am_result=none
3502# First try GNU make style include. 3378# First try GNU make style include.
3503echo "include confinc" > confmf 3379echo "include confinc" > confmf
3504# Ignore all kinds of additional output from `make'. 3380# We grep out `Entering directory' and `Leaving directory'
3505case `$am_make -s -f confmf 2> /dev/null` in #( 3381# messages which can occur if `w' ends up in MAKEFLAGS.
3506*the\ am__doit\ target*) 3382# In particular we don't look at `^make:' because GNU make might
3383# be invoked under some other name (usually "gmake"), in which
3384# case it prints its new name instead of `make'.
3385if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3507 am__include=include 3386 am__include=include
3508 am__quote= 3387 am__quote=
3509 _am_result=GNU 3388 _am_result=GNU
3510 ;; 3389fi
3511esac
3512# Now try BSD make style include. 3390# Now try BSD make style include.
3513if test "$am__include" = "#"; then 3391if test "$am__include" = "#"; then
3514 echo '.include "confinc"' > confmf 3392 echo '.include "confinc"' > confmf
3515 case `$am_make -s -f confmf 2> /dev/null` in #( 3393 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3516 *the\ am__doit\ target*)
3517 am__include=.include 3394 am__include=.include
3518 am__quote="\"" 3395 am__quote="\""
3519 _am_result=BSD 3396 _am_result=BSD
3520 ;; 3397 fi
3521 esac
3522fi 3398fi
3523 3399
3524 3400
3525{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3526$as_echo "$_am_result" >&6; } 3402$as_echo "$_am_result" >&6; }
3532fi 3408fi
3533 3409
3534if test "x$enable_dependency_tracking" != xno; then 3410if test "x$enable_dependency_tracking" != xno; then
3535 am_depcomp="$ac_aux_dir/depcomp" 3411 am_depcomp="$ac_aux_dir/depcomp"
3536 AMDEPBACKSLASH='\' 3412 AMDEPBACKSLASH='\'
3537 am__nodep='_no'
3538fi 3413fi
3414
3415
3539 if test "x$enable_dependency_tracking" != xno; then 3416if test "x$enable_dependency_tracking" != xno; then
3540 AMDEP_TRUE= 3417 AMDEP_TRUE=
3541 AMDEP_FALSE='#' 3418 AMDEP_FALSE='#'
3542else 3419else
3543 AMDEP_TRUE='#' 3420 AMDEP_TRUE='#'
3544 AMDEP_FALSE= 3421 AMDEP_FALSE=
3545fi 3422fi
3423
3546 3424
3547 3425
3548ac_ext=c 3426ac_ext=c
3549ac_cpp='$CPP $CPPFLAGS' 3427ac_cpp='$CPP $CPPFLAGS'
3550ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3428ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4345 # We make a subdir and do the tests there. Otherwise we can end up 4223 # 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 4224 # 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 4225 # 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 4226 # making a dummy file named `D' -- because `-MD' means `put the output
4349 # in D'. 4227 # in D'.
4350 rm -rf conftest.dir
4351 mkdir conftest.dir 4228 mkdir conftest.dir
4352 # Copy depcomp to subdir because otherwise we won't find it if we're 4229 # Copy depcomp to subdir because otherwise we won't find it if we're
4353 # using a relative directory. 4230 # using a relative directory.
4354 cp "$am_depcomp" conftest.dir 4231 cp "$am_depcomp" conftest.dir
4355 cd conftest.dir 4232 cd conftest.dir
4363 4240
4364 am_cv_CC_dependencies_compiler_type=none 4241 am_cv_CC_dependencies_compiler_type=none
4365 if test "$am_compiler_list" = ""; then 4242 if test "$am_compiler_list" = ""; then
4366 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4243 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4367 fi 4244 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 4245 for depmode in $am_compiler_list; do
4374 # Setup a source with many dependencies, because some compilers 4246 # Setup a source with many dependencies, because some compilers
4375 # like to wrap large dependency lists on column 80 (with \), and 4247 # like to wrap large dependency lists on column 80 (with \), and
4376 # we should not choose a depcomp mode which is confused by this. 4248 # we should not choose a depcomp mode which is confused by this.
4377 # 4249 #
4379 # overwrite some of them when testing with obscure command lines. 4251 # overwrite some of them when testing with obscure command lines.
4380 # This happens at least with the AIX C compiler. 4252 # This happens at least with the AIX C compiler.
4381 : > sub/conftest.c 4253 : > sub/conftest.c
4382 for i in 1 2 3 4 5 6; do 4254 for i in 1 2 3 4 5 6; do
4383 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4255 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 4256 : > sub/conftst$i.h
4387 done 4257 done
4388 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4258 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4389 4259
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 4260 case $depmode in
4397 gcc)
4398 # This depmode causes a compiler race in universal mode.
4399 test "$am__universal" = false || continue
4400 ;;
4401 nosideeffect) 4261 nosideeffect)
4402 # after this tag, mechanisms are not by side-effect, so they'll 4262 # after this tag, mechanisms are not by side-effect, so they'll
4403 # only be used when explicitly requested 4263 # only be used when explicitly requested
4404 if test "x$enable_dependency_tracking" = xyes; then 4264 if test "x$enable_dependency_tracking" = xyes; then
4405 continue 4265 continue
4406 else 4266 else
4407 break 4267 break
4408 fi 4268 fi
4409 ;; 4269 ;;
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 ;; 4270 none) break ;;
4418 esac 4271 esac
4272 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4273 # mode. It turns out that the SunPro C++ compiler does not properly
4274 # handle `-M -o', and we need to detect this.
4419 if depmode=$depmode \ 4275 if depmode=$depmode \
4420 source=sub/conftest.c object=$am__obj \ 4276 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4421 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4277 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4422 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4278 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4423 >/dev/null 2>conftest.err && 4279 >/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 && 4280 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4426 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4281 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4427 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4282 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4428 # icc doesn't choke on unknown options, it will just issue warnings 4283 # 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 4284 # (even with -Werror). So we grep stderr for any message
4430 # that says an option was ignored or not supported. 4285 # 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 4286 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
4437 am_cv_CC_dependencies_compiler_type=$depmode 4287 am_cv_CC_dependencies_compiler_type=$depmode
4438 break 4288 break
4439 fi 4289 fi
4440 fi 4290 fi
4441 done 4291 done
4449fi 4299fi
4450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4300{ $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; } 4301$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4452CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4302CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4453 4303
4304
4305
4454 if 4306if
4455 test "x$enable_dependency_tracking" != xno \ 4307 test "x$enable_dependency_tracking" != xno \
4456 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4308 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4457 am__fastdepCC_TRUE= 4309 am__fastdepCC_TRUE=
4458 am__fastdepCC_FALSE='#' 4310 am__fastdepCC_FALSE='#'
4459else 4311else
6095 # We make a subdir and do the tests there. Otherwise we can end up 5947 # 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 5948 # 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 5949 # 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 5950 # making a dummy file named `D' -- because `-MD' means `put the output
6099 # in D'. 5951 # in D'.
6100 rm -rf conftest.dir
6101 mkdir conftest.dir 5952 mkdir conftest.dir
6102 # Copy depcomp to subdir because otherwise we won't find it if we're 5953 # Copy depcomp to subdir because otherwise we won't find it if we're
6103 # using a relative directory. 5954 # using a relative directory.
6104 cp "$am_depcomp" conftest.dir 5955 cp "$am_depcomp" conftest.dir
6105 cd conftest.dir 5956 cd conftest.dir
6113 5964
6114 am_cv_CXX_dependencies_compiler_type=none 5965 am_cv_CXX_dependencies_compiler_type=none
6115 if test "$am_compiler_list" = ""; then 5966 if test "$am_compiler_list" = ""; then
6116 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5967 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6117 fi 5968 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 5969 for depmode in $am_compiler_list; do
6124 # Setup a source with many dependencies, because some compilers 5970 # Setup a source with many dependencies, because some compilers
6125 # like to wrap large dependency lists on column 80 (with \), and 5971 # like to wrap large dependency lists on column 80 (with \), and
6126 # we should not choose a depcomp mode which is confused by this. 5972 # we should not choose a depcomp mode which is confused by this.
6127 # 5973 #
6129 # overwrite some of them when testing with obscure command lines. 5975 # overwrite some of them when testing with obscure command lines.
6130 # This happens at least with the AIX C compiler. 5976 # This happens at least with the AIX C compiler.
6131 : > sub/conftest.c 5977 : > sub/conftest.c
6132 for i in 1 2 3 4 5 6; do 5978 for i in 1 2 3 4 5 6; do
6133 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5979 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 5980 : > sub/conftst$i.h
6137 done 5981 done
6138 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5982 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6139 5983
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 5984 case $depmode in
6147 gcc)
6148 # This depmode causes a compiler race in universal mode.
6149 test "$am__universal" = false || continue
6150 ;;
6151 nosideeffect) 5985 nosideeffect)
6152 # after this tag, mechanisms are not by side-effect, so they'll 5986 # after this tag, mechanisms are not by side-effect, so they'll
6153 # only be used when explicitly requested 5987 # only be used when explicitly requested
6154 if test "x$enable_dependency_tracking" = xyes; then 5988 if test "x$enable_dependency_tracking" = xyes; then
6155 continue 5989 continue
6156 else 5990 else
6157 break 5991 break
6158 fi 5992 fi
6159 ;; 5993 ;;
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 ;; 5994 none) break ;;
6168 esac 5995 esac
5996 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5997 # mode. It turns out that the SunPro C++ compiler does not properly
5998 # handle `-M -o', and we need to detect this.
6169 if depmode=$depmode \ 5999 if depmode=$depmode \
6170 source=sub/conftest.c object=$am__obj \ 6000 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6171 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 6001 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6172 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 6002 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6173 >/dev/null 2>conftest.err && 6003 >/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 && 6004 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6176 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 6005 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6177 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 6006 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6178 # icc doesn't choke on unknown options, it will just issue warnings 6007 # 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 6008 # (even with -Werror). So we grep stderr for any message
6180 # that says an option was ignored or not supported. 6009 # 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 6010 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
6187 am_cv_CXX_dependencies_compiler_type=$depmode 6011 am_cv_CXX_dependencies_compiler_type=$depmode
6188 break 6012 break
6189 fi 6013 fi
6190 fi 6014 fi
6191 done 6015 done
6199fi 6023fi
6200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 6024{ $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; } 6025$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6202CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 6026CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6203 6027
6028
6029
6204 if 6030if
6205 test "x$enable_dependency_tracking" != xno \ 6031 test "x$enable_dependency_tracking" != xno \
6206 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 6032 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6207 am__fastdepCXX_TRUE= 6033 am__fastdepCXX_TRUE=
6208 am__fastdepCXX_FALSE='#' 6034 am__fastdepCXX_FALSE='#'
6209else 6035else
8209 8035
8210 8036
8211 8037
8212 8038
8213 8039
8214 tinc_ac_save_CPPFLAGS="$CPPFLAGS"
8215 8040
8216 8041
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 8042
8223fi
8224 8043
8225 8044
8226 8045
8227# Check whether --with-openssl-lib was given. 8046if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
8228if test "${with_openssl_lib+set}" = set; then : 8047 if test -n "$ac_tool_prefix"; then
8229 withval=$with_openssl_lib; openssl_lib="$withval" 8048 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
8230 LIBS="$LIBS -L$withval" 8049set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
8231 8050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8232fi 8051$as_echo_n "checking for $ac_word... " >&6; }
8233 8052if ${ac_cv_path_PKG_CONFIG+:} false; then :
8234 8053 $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 8054else
8245 as_fn_error $? "OpenSSL header files not found." "$LINENO" 5; break 8055 case $PKG_CONFIG in
8246 8056 [\\/]* | ?:[\\/]*)
8247fi 8057 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
8248 8058 ;;
8059 *)
8060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8061for as_dir in $PATH
8062do
8063 IFS=$as_save_IFS
8064 test -z "$as_dir" && as_dir=.
8065 for ac_exec_ext in '' $ac_executable_extensions; do
8066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8067 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8069 break 2
8070 fi
8249done 8071done
8072 done
8073IFS=$as_save_IFS
8250 8074
8075 ;;
8076esac
8077fi
8078PKG_CONFIG=$ac_cv_path_PKG_CONFIG
8079if test -n "$PKG_CONFIG"; then
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
8081$as_echo "$PKG_CONFIG" >&6; }
8082else
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8084$as_echo "no" >&6; }
8085fi
8251 8086
8252 CPPFLAGS="$tinc_ac_save_CPPFLAGS"
8253 8087
8088fi
8089if test -z "$ac_cv_path_PKG_CONFIG"; then
8090 ac_pt_PKG_CONFIG=$PKG_CONFIG
8091 # Extract the first word of "pkg-config", so it can be a program name with args.
8092set dummy pkg-config; ac_word=$2
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_Init in -lcrypto" >&5 8093{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8255$as_echo_n "checking for SHA1_Init in -lcrypto... " >&6; } 8094$as_echo_n "checking for $ac_word... " >&6; }
8256if ${ac_cv_lib_crypto_SHA1_Init+:} false; then : 8095if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
8257 $as_echo_n "(cached) " >&6 8096 $as_echo_n "(cached) " >&6
8258else 8097else
8259 ac_check_lib_save_LIBS=$LIBS 8098 case $ac_pt_PKG_CONFIG in
8260LIBS="-lcrypto $LIBS" 8099 [\\/]* | ?:[\\/]*)
8261cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8100 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 ; 8101 ;;
8276 return 0; 8102 *)
8277} 8103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8278_ACEOF 8104for as_dir in $PATH
8279if ac_fn_cxx_try_link "$LINENO"; then : 8105do
8280 ac_cv_lib_crypto_SHA1_Init=yes 8106 IFS=$as_save_IFS
8281else 8107 test -z "$as_dir" && as_dir=.
8282 ac_cv_lib_crypto_SHA1_Init=no 8108 for ac_exec_ext in '' $ac_executable_extensions; do
8283fi 8109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8284rm -f core conftest.err conftest.$ac_objext \ 8110 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8285 conftest$ac_exeext conftest.$ac_ext 8111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8286LIBS=$ac_check_lib_save_LIBS 8112 break 2
8287fi 8113 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 8114done
8115 done
8116IFS=$as_save_IFS
8309 8117
8118 ;;
8119esac
8120fi
8121ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
8122if test -n "$ac_pt_PKG_CONFIG"; then
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
8124$as_echo "$ac_pt_PKG_CONFIG" >&6; }
8125else
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8127$as_echo "no" >&6; }
8128fi
8310 8129
8311 ac_fn_cxx_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 8130 if test "x$ac_pt_PKG_CONFIG" = x; then
8312if test "x$ac_cv_func_dlopen" = xyes; then : 8131 PKG_CONFIG=""
8132 else
8133 case $cross_compiling:$ac_tool_warned in
8134yes:)
8135{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8136$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8137ac_tool_warned=yes ;;
8138esac
8139 PKG_CONFIG=$ac_pt_PKG_CONFIG
8140 fi
8141else
8142 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
8143fi
8313 8144
8145fi
8146if test -n "$PKG_CONFIG"; then
8147 _pkg_min_version=0.9.0
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
8149$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
8150 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8152$as_echo "yes" >&6; }
8314else 8153 else
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8155$as_echo "no" >&6; }
8156 PKG_CONFIG=""
8157 fi
8158fi
8159
8160pkg_failed=no
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 8161{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCRYPTO" >&5
8316$as_echo_n "checking for dlopen in -ldl... " >&6; } 8162$as_echo_n "checking for LIBCRYPTO... " >&6; }
8317if ${ac_cv_lib_dl_dlopen+:} false; then : 8163
8318 $as_echo_n "(cached) " >&6 8164if test -n "$LIBCRYPTO_CFLAGS"; then
8165 pkg_cv_LIBCRYPTO_CFLAGS="$LIBCRYPTO_CFLAGS"
8166 elif test -n "$PKG_CONFIG"; then
8167 if test -n "$PKG_CONFIG" && \
8168 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= 1\""; } >&5
8169 ($PKG_CONFIG --exists --print-errors "libcrypto >= 1") 2>&5
8170 ac_status=$?
8171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8172 test $ac_status = 0; }; then
8173 pkg_cv_LIBCRYPTO_CFLAGS=`$PKG_CONFIG --cflags "libcrypto >= 1" 2>/dev/null`
8174 test "x$?" != "x0" && pkg_failed=yes
8175else
8176 pkg_failed=yes
8177fi
8319else 8178 else
8320 ac_check_lib_save_LIBS=$LIBS 8179 pkg_failed=untried
8321LIBS="-ldl $LIBS" 8180fi
8322cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8181if test -n "$LIBCRYPTO_LIBS"; then
8323/* end confdefs.h. */ 8182 pkg_cv_LIBCRYPTO_LIBS="$LIBCRYPTO_LIBS"
8324 8183 elif test -n "$PKG_CONFIG"; then
8325/* Override any GCC internal prototype to avoid an error. 8184 if test -n "$PKG_CONFIG" && \
8326 Use char because int might match the return type of a GCC 8185 { { $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. */ 8186 ($PKG_CONFIG --exists --print-errors "libcrypto >= 1") 2>&5
8328#ifdef __cplusplus 8187 ac_status=$?
8329extern "C" 8188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8330#endif 8189 test $ac_status = 0; }; then
8331char dlopen (); 8190 pkg_cv_LIBCRYPTO_LIBS=`$PKG_CONFIG --libs "libcrypto >= 1" 2>/dev/null`
8332int 8191 test "x$?" != "x0" && pkg_failed=yes
8333main () 8192else
8334{ 8193 pkg_failed=yes
8335return dlopen (); 8194fi
8336 ;
8337 return 0;
8338}
8339_ACEOF
8340if ac_fn_cxx_try_link "$LINENO"; then :
8341 ac_cv_lib_dl_dlopen=yes
8342else 8195 else
8343 ac_cv_lib_dl_dlopen=no 8196 pkg_failed=untried
8344fi 8197fi
8345rm -f core conftest.err conftest.$ac_objext \ 8198
8346 conftest$ac_exeext conftest.$ac_ext 8199
8347LIBS=$ac_check_lib_save_LIBS 8200
8348fi 8201if test $pkg_failed = yes; then
8349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8350$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 8203$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 8204
8356fi 8205if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8357 8206 _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 8207else
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5 8208 _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 8209fi
8396rm -f core conftest.err conftest.$ac_objext \ 8210 if test $_pkg_short_errors_supported = yes; then
8397 conftest$ac_exeext conftest.$ac_ext 8211 LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcrypto >= 1" 2>&1`
8398LIBS=$ac_check_lib_save_LIBS 8212 else
8399fi 8213 LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcrypto >= 1" 2>&1`
8214 fi
8215 # Put the nasty error message in config.log where it belongs
8216 echo "$LIBCRYPTO_PKG_ERRORS" >&5
8217
8218 as_fn_error $? "Package requirements (libcrypto >= 1) were not met:
8219
8220$LIBCRYPTO_PKG_ERRORS
8221
8222Consider adjusting the PKG_CONFIG_PATH environment variable if you
8223installed software in a non-standard prefix.
8224
8225Alternatively, you may set the environment variables LIBCRYPTO_CFLAGS
8226and LIBCRYPTO_LIBS to avoid the need to call pkg-config.
8227See the pkg-config man page for more details." "$LINENO" 5
8228elif test $pkg_failed = untried; then
8400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5 8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8401$as_echo "$ac_cv_lib_z_inflate" >&6; } 8230$as_echo "no" >&6; }
8402if test "x$ac_cv_lib_z_inflate" = xyes; then : 8231 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8403 LIBS="$LIBS -lz" 8232$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8404else 8233as_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 8234is in your PATH or set the PKG_CONFIG environment variable to the full
8235path to pkg-config.
8406 8236
8407fi 8237Alternatively, you may set the environment variables LIBCRYPTO_CFLAGS
8238and LIBCRYPTO_LIBS to avoid the need to call pkg-config.
8239See the pkg-config man page for more details.
8408 8240
8241To get pkg-config, see <http://pkg-config.freedesktop.org/>.
8242See \`config.log' for more details" "$LINENO" 5; }
8243else
8244 LIBCRYPTO_CFLAGS=$pkg_cv_LIBCRYPTO_CFLAGS
8245 LIBCRYPTO_LIBS=$pkg_cv_LIBCRYPTO_LIBS
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8247$as_echo "yes" >&6; }
8409 8248
8410fi
8411
8412
8413if test "x$openssl_include" != x; then
8414 CXXFLAGS="$CXXFLAGS -I$openssl_include"
8415fi 8249fi
8416 8250
8417# Check whether --enable-threads was given. 8251# Check whether --enable-threads was given.
8418if test "${enable_threads+set}" = set; then : 8252if test "${enable_threads+set}" = set; then :
8419 enableval=$enable_threads; try_threads=$enableval 8253 enableval=$enable_threads; try_threads=$enableval
8461fi 8295fi
8462 8296
8463 8297
8464 8298
8465 8299
8300
8301
8466 if test x$rohc = xtrue; then 8302if test x$rohc = xtrue; then
8467 ROHC_TRUE= 8303 ROHC_TRUE=
8468 ROHC_FALSE='#' 8304 ROHC_FALSE='#'
8469else 8305else
8470 ROHC_TRUE='#' 8306 ROHC_TRUE='#'
8471 ROHC_FALSE= 8307 ROHC_FALSE=
8585 8421
8586 8422
8587fi 8423fi
8588 8424
8589 8425
8426RSA=3072
8427# Check whether --enable-rsa-length was given.
8428if test "${enable_rsa_length+set}" = set; then :
8429 enableval=$enable_rsa_length; RSA=$enableval
8430
8431fi
8432
8433
8434cat >>confdefs.h <<_ACEOF
8435#define RSABITS $RSA
8436_ACEOF
8437
8438
8590HMAC=12 8439HMACSIZE=12
8591# Check whether --enable-hmac-length was given. 8440# Check whether --enable-hmac-length was given.
8592if test "${enable_hmac_length+set}" = set; then : 8441if test "${enable_hmac_length+set}" = set; then :
8593 enableval=$enable_hmac_length; HMAC=$enableval 8442 enableval=$enable_hmac_length; HMACSIZE=$enableval
8594 8443
8595fi 8444fi
8596 8445
8597 8446
8598cat >>confdefs.h <<_ACEOF 8447cat >>confdefs.h <<_ACEOF
8599#define HMACLENGTH $HMAC 8448#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 8449_ACEOF
8614 8450
8615 8451
8616MTU=1500 8452MTU=1500
8617# Check whether --enable-max-mtu was given. 8453# Check whether --enable-max-mtu was given.
8639cat >>confdefs.h <<_ACEOF 8475cat >>confdefs.h <<_ACEOF
8640#define ENABLE_COMPRESSION $COMPRESS 8476#define ENABLE_COMPRESSION $COMPRESS
8641_ACEOF 8477_ACEOF
8642 8478
8643 8479
8644CIPHER=aes_128_cbc 8480CIPHER=aes_128_ctr
8645# Check whether --enable-cipher was given. 8481# Check whether --enable-cipher was given.
8646if test "${enable_cipher+set}" = set; then : 8482if test "${enable_cipher+set}" = set; then :
8647 enableval=$enable_cipher; if test "x$enableval" = xbf ; then CIPHER=bf_cbc ; fi 8483 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 8484 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 8485 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 8486 if test "x$enableval" = xaes-256 ; then CIPHER=aes_256_ctr ; fi
8487 #if test "x$enableval" = xcamellia-128; then CIPHER=camellia_128_ctr; fi
8488 #if test "x$enableval" = xcamellia-256; then CIPHER=camellia_256_ctr; fi
8651 8489
8652fi 8490fi
8653 8491
8654 8492
8655cat >>confdefs.h <<_ACEOF 8493cat >>confdefs.h <<_ACEOF
8656#define ENABLE_CIPHER EVP_${CIPHER} 8494#define ENABLE_CIPHER EVP_${CIPHER}
8657_ACEOF 8495_ACEOF
8658 8496
8659 8497
8660DIGEST=ripemd160 8498HMAC=sha1
8661# Check whether --enable-digest was given. 8499# Check whether --enable-hmac-digest was given.
8662if test "${enable_digest+set}" = set; then : 8500if test "${enable_hmac_digest+set}" = set; then :
8501 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 8502 if test "x$enableval" = xsha512 ; then HMAC=sha512 ; fi
8664 if test "x$enableval" = xsha256 ; then DIGEST=sha256 ; fi 8503 if test "x$enableval" = xsha256 ; then HMAC=sha256 ; fi
8665 if test "x$enableval" = xsha1 ; then DIGEST=sha1 ; fi 8504 if test "x$enableval" = xsha1 ; then HMAC=sha1 ; fi
8666 if test "x$enableval" = xripemd160; then DIGEST=ripemd160; fi 8505 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 8506
8670fi 8507fi
8671 8508
8672 8509
8673cat >>confdefs.h <<_ACEOF 8510cat >>confdefs.h <<_ACEOF
8511#define ENABLE_HMAC EVP_${HMAC}
8512_ACEOF
8513
8514
8515AUTH=sha512
8516# Check whether --enable-auth-digest was given.
8517if test "${enable_auth_digest+set}" = set; then :
8518 enableval=$enable_auth_digest; if test "x$enableval" = xwhirlpool; then AUTH=whirlpool; fi
8519 if test "x$enableval" = xsha512 ; then AUTH=sha512 ; fi
8520 if test "x$enableval" = xsha256 ; then AUTH=sha256 ; fi
8521
8522fi
8523
8524
8525cat >>confdefs.h <<_ACEOF
8674#define ENABLE_DIGEST EVP_${DIGEST} 8526#define ENABLE_AUTH EVP_${AUTH}
8675_ACEOF 8527_ACEOF
8676 8528
8677 8529
8678if $CXX -v --help 2>&1 | grep -q fno-rtti; then 8530if $CXX -v --help 2>&1 | grep -q fno-rtti; then
8679 CXXFLAGS="$CXXFLAGS -fno-rtti" 8531 CXXFLAGS="$CXXFLAGS -fno-rtti"
8797LIBOBJS=$ac_libobjs 8649LIBOBJS=$ac_libobjs
8798 8650
8799LTLIBOBJS=$ac_ltlibobjs 8651LTLIBOBJS=$ac_ltlibobjs
8800 8652
8801 8653
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 8654if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8811 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 8655 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
8812Usually this means the macro was only invoked conditionally." "$LINENO" 5 8656Usually this means the macro was only invoked conditionally." "$LINENO" 5
8813fi 8657fi
8814if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 8658if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9222cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9066cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9223# Save the log message, to keep $0 and so on meaningful, and to 9067# Save the log message, to keep $0 and so on meaningful, and to
9224# report actual input values of CONFIG_FILES etc. instead of their 9068# report actual input values of CONFIG_FILES etc. instead of their
9225# values after options handling. 9069# values after options handling.
9226ac_log=" 9070ac_log="
9227This file was extended by $as_me, which was 9071This file was extended by gvpe $as_me 3.1, which was
9228generated by GNU Autoconf 2.69. Invocation command line was 9072generated by GNU Autoconf 2.69. Invocation command line was
9229 9073
9230 CONFIG_FILES = $CONFIG_FILES 9074 CONFIG_FILES = $CONFIG_FILES
9231 CONFIG_HEADERS = $CONFIG_HEADERS 9075 CONFIG_HEADERS = $CONFIG_HEADERS
9232 CONFIG_LINKS = $CONFIG_LINKS 9076 CONFIG_LINKS = $CONFIG_LINKS
9288 9132
9289_ACEOF 9133_ACEOF
9290cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9134cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9291ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 9135ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9292ac_cs_version="\\ 9136ac_cs_version="\\
9293config.status 9137gvpe config.status 3.1
9294configured by $0, generated by GNU Autoconf 2.69, 9138configured by $0, generated by GNU Autoconf 2.69,
9295 with options \\"\$ac_cs_config\\" 9139 with options \\"\$ac_cs_config\\"
9296 9140
9297Copyright (C) 2012 Free Software Foundation, Inc. 9141Copyright (C) 2012 Free Software Foundation, Inc.
9298This config.status script is free software; the Free Software Foundation 9142This config.status script is free software; the Free Software Foundation
9299gives unlimited permission to copy, distribute and modify it." 9143gives unlimited permission to copy, distribute and modify it."
9300 9144
9301ac_pwd='$ac_pwd' 9145ac_pwd='$ac_pwd'
9302srcdir='$srcdir' 9146srcdir='$srcdir'
9303INSTALL='$INSTALL' 9147INSTALL='$INSTALL'
9304MKDIR_P='$MKDIR_P'
9305AWK='$AWK' 9148AWK='$AWK'
9306test -n "\$AWK" || AWK=awk 9149test -n "\$AWK" || AWK=awk
9307_ACEOF 9150_ACEOF
9308 9151
9309cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9152cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9881 9724
9882 case $INSTALL in 9725 case $INSTALL in
9883 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 9726 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9884 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 9727 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9885 esac 9728 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 9729_ACEOF
9892 9730
9893cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9731cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9894# If the template does not know about datarootdir, expand it. 9732# If the template does not know about datarootdir, expand it.
9895# FIXME: This hack should be removed a few years after 2.60. 9733# FIXME: This hack should be removed a few years after 2.60.
9940s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 9778s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9941s&@builddir@&$ac_builddir&;t t 9779s&@builddir@&$ac_builddir&;t t
9942s&@abs_builddir@&$ac_abs_builddir&;t t 9780s&@abs_builddir@&$ac_abs_builddir&;t t
9943s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9781s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9944s&@INSTALL@&$ac_INSTALL&;t t 9782s&@INSTALL@&$ac_INSTALL&;t t
9945s&@MKDIR_P@&$ac_MKDIR_P&;t t
9946$ac_datarootdir_hack 9783$ac_datarootdir_hack
9947" 9784"
9948eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 9785eval 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 9786 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9950 9787
9986 $as_echo "/* $configure_input */" \ 9823 $as_echo "/* $configure_input */" \
9987 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 9824 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9988 || as_fn_error $? "could not create -" "$LINENO" 5 9825 || as_fn_error $? "could not create -" "$LINENO" 5
9989 fi 9826 fi
9990# Compute "$ac_file"'s index in $config_headers. 9827# Compute "$ac_file"'s index in $config_headers.
9991_am_arg="$ac_file"
9992_am_stamp_count=1 9828_am_stamp_count=1
9993for _am_header in $config_headers :; do 9829for _am_header in $config_headers :; do
9994 case $_am_header in 9830 case $_am_header in
9995 $_am_arg | $_am_arg:* ) 9831 "$ac_file" | "$ac_file":* )
9996 break ;; 9832 break ;;
9997 * ) 9833 * )
9998 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 9834 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9999 esac 9835 esac
10000done 9836done
10001echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 9837echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
10002$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9838$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10003 X"$_am_arg" : 'X\(//\)[^/]' \| \ 9839 X"$ac_file" : 'X\(//\)[^/]' \| \
10004 X"$_am_arg" : 'X\(//\)$' \| \ 9840 X"$ac_file" : 'X\(//\)$' \| \
10005 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 9841 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10006$as_echo X"$_am_arg" | 9842$as_echo X"$ac_file" |
10007 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10008 s//\1/ 9844 s//\1/
10009 q 9845 q
10010 } 9846 }
10011 /^X\(\/\/\)[^/].*/{ 9847 /^X\(\/\/\)[^/].*/{
10124 done 9960 done
10125 fi 9961 fi
10126 ;; 9962 ;;
10127 esac 9963 esac
10128 done ;; 9964 done ;;
10129 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 9965 "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. 9966 # Strip MF so we end up with the name of the file.
10141 mf=`echo "$mf" | sed -e 's/:.*$//'` 9967 mf=`echo "$mf" | sed -e 's/:.*$//'`
10142 # Check whether this is an Automake generated Makefile or not. 9968 # Check whether this is an Automake generated Makefile or not.
10143 # We used to match only the files named `Makefile.in', but 9969 # We used to match only the files named `Makefile.in', but
10144 # some people rename them; so instead we look at the file content. 9970 # 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 9971 # 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. 9972 # 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 9973 # 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 9974 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
10150 dirpart=`$as_dirname -- "$mf" || 9975 dirpart=`$as_dirname -- "$mf" ||
10151$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9976$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10152 X"$mf" : 'X\(//\)[^/]' \| \ 9977 X"$mf" : 'X\(//\)[^/]' \| \
10153 X"$mf" : 'X\(//\)$' \| \ 9978 X"$mf" : 'X\(//\)$' \| \
10154 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 9979 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10155$as_echo X"$mf" | 9980$as_echo X"$mf" |
10168 /^X\(\/\).*/{ 9993 /^X\(\/\).*/{
10169 s//\1/ 9994 s//\1/
10170 q 9995 q
10171 } 9996 }
10172 s/.*/./; q'` 9997 s/.*/./; q'`
10173 else 9998 else
10174 continue 9999 continue
10175 fi 10000 fi
10176 # Extract the definition of DEPDIR, am__include, and am__quote 10001 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
10177 # from the Makefile without running `make'. 10002 # Extract the definition of DEP_FILES from the Makefile without
10003 # running `make'.
10178 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 10004 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
10179 test -z "$DEPDIR" && continue 10005 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 10006 # When using ansi2knr, U may be empty or an underscore; expand it
10184 U=`sed -n 's/^U = //p' < "$mf"` 10007 U=`sed -n -e '/^U = / s///p' < "$mf"`
10185 # Find all dependency output files, they are included files with 10008 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
10186 # $(DEPDIR) in their names. We invoke sed twice because it is the 10009 # We invoke sed twice because it is the simplest approach to
10187 # simplest approach to changing $(DEPDIR) to its actual value in the 10010 # changing $(DEPDIR) to its actual value in the expansion.
10188 # expansion.
10189 for file in `sed -n " 10011 for file in `sed -n -e '
10190 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 10012 /^DEP_FILES = .*\\\\$/ {
10013 s/^DEP_FILES = //
10014 :loop
10015 s/\\\\$//
10016 p
10017 n
10018 /\\\\$/ b loop
10019 p
10020 }
10021 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
10191 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 10022 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10192 # Make sure the directory exists. 10023 # Make sure the directory exists.
10193 test -f "$dirpart/$file" && continue 10024 test -f "$dirpart/$file" && continue
10194 fdir=`$as_dirname -- "$file" || 10025 fdir=`$as_dirname -- "$file" ||
10195$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10026$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10196 X"$file" : 'X\(//\)[^/]' \| \ 10027 X"$file" : 'X\(//\)[^/]' \| \
10197 X"$file" : 'X\(//\)$' \| \ 10028 X"$file" : 'X\(//\)$' \| \
10198 X"$file" : 'X\(/\)' \| . 2>/dev/null || 10029 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10199$as_echo X"$file" | 10030$as_echo X"$file" |
10212 /^X\(\/\).*/{ 10043 /^X\(\/\).*/{
10213 s//\1/ 10044 s//\1/
10214 q 10045 q
10215 } 10046 }
10216 s/.*/./; q'` 10047 s/.*/./; q'`
10217 as_dir=$dirpart/$fdir; as_fn_mkdir_p 10048 as_dir=$dirpart/$fdir; as_fn_mkdir_p
10218 # echo "creating $dirpart/$file" 10049 # echo "creating $dirpart/$file"
10219 echo '# dummy' > "$dirpart/$file" 10050 echo '# dummy' > "$dirpart/$file"
10220 done
10221 done 10051 done
10222} 10052done
10223 ;; 10053 ;;
10224 10054
10225 esac 10055 esac
10226done # for ac_tag 10056done # for ac_tag
10227 10057
10263echo 10093echo
10264echo "***" 10094echo "***"
10265echo "*** Configuration Summary" 10095echo "*** Configuration Summary"
10266echo "***" 10096echo "***"
10267echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE" 10097echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE"
10098echo "*** RSA size: $RSA"
10268echo "*** Cipher used: $CIPHER" 10099echo "*** Cipher used: $CIPHER"
10269echo "*** Digest used: $DIGEST" 10100echo "*** Digest used: $DIGEST"
10101echo "*** Authdigest: $AUTH"
10270echo "*** HMAC length: $HMAC" 10102echo "*** HMAC length: $HMAC"
10271echo "*** RAND used: $RAND"
10272echo "*** Max. MTU: $MTU" 10103echo "*** Max. MTU: $MTU"
10273 10104
10274echo "***" 10105echo "***"
10275echo "*** Enable options:" 10106echo "*** Enable options:"
10276grep ENABLE_ config.h | sed -e 's/^/*** /' 10107grep ENABLE_ config.h | sed -e 's/^/*** /'
10277 10108
10278if test "x$DIGEST" = xmd4; then 10109if test "$HMACSIZE" -lt 12; then
10279echo "***" 10110echo "***"
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 probably insecure"
10286fi
10287
10288if test "$HMAC" -lt 12; then
10289echo "***"
10290echo "*** WARNING: The hmac length you have chosen ($HMAC) is probably insecure" 10111echo "*** 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 10112fi
10297 10113
10298echo "***" 10114echo "***"
10299echo 10115echo
10300 10116
10117if pkg-config --exists 'libcrypto >= 1.1 libcrypto < 2.0'; then
10118 cat <<EOF
10119
10120***
10121*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING
10122***
10123*** You seem to configure gvpe with OpenSSL 1.1 or newer.
10124*** While this probably compiles, please note that this is not only
10125*** unsupported, but also discouraged.
10126***
10127*** It is recommended to use either OpenSSL 1.0, as long as that is still
10128*** supported, or LibreSSL (https://www.libressl.org/).
10129***
10130*** This is not a political issue - while porting GVPE to the newer
10131*** OpenSSL 1.1 API, I encountered two incompatible API changes that were
10132*** not documented, were not caught while compiling but caused security
10133*** issues. When reported, the reaction of the OpenSSL developers was to
10134*** update the documentation.
10135***
10136*** As a result, I lost all confidence in the ability and desire of
10137*** OpenSSL developers to create a safe API, and would highly recommend
10138*** switching to LibreSSL which explicitly avoids such braking changes.
10139***
10140*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING
10141***
10142*** Again, do not use OpenSSL 1.1 and complain if stuff breaks.
10143*** You have been warned, but your choice is respected.
10144***
10145
10301 10146
10147EOF
10148fi
10149
10150

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines