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

Comparing gvpe/configure (file contents):
Revision 1.52 by root, Tue Jul 16 16:44:36 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
772enable_rsa_length 768enable_rsa_length
773enable_hmac_length 769enable_hmac_length
774enable_rand_length
775enable_max_mtu 770enable_max_mtu
776enable_compression 771enable_compression
777enable_cipher 772enable_cipher
778enable_digest 773enable_hmac_digest
779enable_auth_digest 774enable_auth_digest
780' 775'
781 ac_precious_vars='build_alias 776 ac_precious_vars='build_alias
782host_alias 777host_alias
783target_alias 778target_alias
788CPPFLAGS 783CPPFLAGS
789CPP 784CPP
790CXX 785CXX
791CXXFLAGS 786CXXFLAGS
792CCC 787CCC
793CXXCPP' 788CXXCPP
789PKG_CONFIG
790PKG_CONFIG_PATH
791PKG_CONFIG_LIBDIR
792LIBCRYPTO_CFLAGS
793LIBCRYPTO_LIBS'
794 794
795 795
796# Initialize some variables set by options. 796# Initialize some variables set by options.
797ac_init_help= 797ac_init_help=
798ac_init_version=false 798ac_init_version=false
827datarootdir='${prefix}/share' 827datarootdir='${prefix}/share'
828datadir='${datarootdir}' 828datadir='${datarootdir}'
829sysconfdir='${prefix}/etc' 829sysconfdir='${prefix}/etc'
830sharedstatedir='${prefix}/com' 830sharedstatedir='${prefix}/com'
831localstatedir='${prefix}/var' 831localstatedir='${prefix}/var'
832runstatedir='${localstatedir}/run'
832includedir='${prefix}/include' 833includedir='${prefix}/include'
833oldincludedir='/usr/include' 834oldincludedir='/usr/include'
834docdir='${datarootdir}/doc/${PACKAGE}' 835docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
835infodir='${datarootdir}/info' 836infodir='${datarootdir}/info'
836htmldir='${docdir}' 837htmldir='${docdir}'
837dvidir='${docdir}' 838dvidir='${docdir}'
838pdfdir='${docdir}' 839pdfdir='${docdir}'
839psdir='${docdir}' 840psdir='${docdir}'
1079 1080
1080 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1081 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1081 | -silent | --silent | --silen | --sile | --sil) 1082 | -silent | --silent | --silen | --sile | --sil)
1082 silent=yes ;; 1083 silent=yes ;;
1083 1084
1085 -runstatedir | --runstatedir | --runstatedi | --runstated \
1086 | --runstate | --runstat | --runsta | --runst | --runs \
1087 | --run | --ru | --r)
1088 ac_prev=runstatedir ;;
1089 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1090 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1091 | --run=* | --ru=* | --r=*)
1092 runstatedir=$ac_optarg ;;
1093
1084 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1094 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1085 ac_prev=sbindir ;; 1095 ac_prev=sbindir ;;
1086 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1096 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1087 | --sbi=* | --sb=*) 1097 | --sbi=* | --sb=*)
1088 sbindir=$ac_optarg ;; 1098 sbindir=$ac_optarg ;;
1216 1226
1217# Check all directory arguments for consistency. 1227# Check all directory arguments for consistency.
1218for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1228for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1219 datadir sysconfdir sharedstatedir localstatedir includedir \ 1229 datadir sysconfdir sharedstatedir localstatedir includedir \
1220 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1230 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1221 libdir localedir mandir 1231 libdir localedir mandir runstatedir
1222do 1232do
1223 eval ac_val=\$$ac_var 1233 eval ac_val=\$$ac_var
1224 # Remove trailing slashes. 1234 # Remove trailing slashes.
1225 case $ac_val in 1235 case $ac_val in
1226 */ ) 1236 */ )
1329# 1339#
1330if test "$ac_init_help" = "long"; then 1340if test "$ac_init_help" = "long"; then
1331 # 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.
1332 # 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.
1333 cat <<_ACEOF 1343 cat <<_ACEOF
1334\`configure' configures this package to adapt to many kinds of systems. 1344\`configure' configures gvpe 3.1 to adapt to many kinds of systems.
1335 1345
1336Usage: $0 [OPTION]... [VAR=VALUE]... 1346Usage: $0 [OPTION]... [VAR=VALUE]...
1337 1347
1338To assign environment variables (e.g., CC, CFLAGS...), specify them as 1348To assign environment variables (e.g., CC, CFLAGS...), specify them as
1339VAR=VALUE. See below for descriptions of some of the useful variables. 1349VAR=VALUE. See below for descriptions of some of the useful variables.
1369 --sbindir=DIR system admin executables [EPREFIX/sbin] 1379 --sbindir=DIR system admin executables [EPREFIX/sbin]
1370 --libexecdir=DIR program executables [EPREFIX/libexec] 1380 --libexecdir=DIR program executables [EPREFIX/libexec]
1371 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1381 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1372 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1382 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1373 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1383 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1384 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1374 --libdir=DIR object code libraries [EPREFIX/lib] 1385 --libdir=DIR object code libraries [EPREFIX/lib]
1375 --includedir=DIR C header files [PREFIX/include] 1386 --includedir=DIR C header files [PREFIX/include]
1376 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1387 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1377 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1388 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1378 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1389 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1379 --infodir=DIR info documentation [DATAROOTDIR/info] 1390 --infodir=DIR info documentation [DATAROOTDIR/info]
1380 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1391 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1381 --mandir=DIR man documentation [DATAROOTDIR/man] 1392 --mandir=DIR man documentation [DATAROOTDIR/man]
1382 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1393 --docdir=DIR documentation root [DATAROOTDIR/doc/gvpe]
1383 --htmldir=DIR html documentation [DOCDIR] 1394 --htmldir=DIR html documentation [DOCDIR]
1384 --dvidir=DIR dvi documentation [DOCDIR] 1395 --dvidir=DIR dvi documentation [DOCDIR]
1385 --pdfdir=DIR pdf documentation [DOCDIR] 1396 --pdfdir=DIR pdf documentation [DOCDIR]
1386 --psdir=DIR ps documentation [DOCDIR] 1397 --psdir=DIR ps documentation [DOCDIR]
1387_ACEOF 1398_ACEOF
1399 --target=TARGET configure for building compilers for TARGET [HOST] 1410 --target=TARGET configure for building compilers for TARGET [HOST]
1400_ACEOF 1411_ACEOF
1401fi 1412fi
1402 1413
1403if test -n "$ac_init_help"; then 1414if test -n "$ac_init_help"; then
1404 1415 case $ac_init_help in
1416 short | recursive ) echo "Configuration of gvpe 3.1:";;
1417 esac
1405 cat <<\_ACEOF 1418 cat <<\_ACEOF
1406 1419
1407Optional Features: 1420Optional Features:
1408 --disable-option-checking ignore unrecognized --enable/--with options 1421 --disable-option-checking ignore unrecognized --enable/--with options
1409 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1422 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1410 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1423 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1411 --enable-maintainer-mode enable make rules and dependencies not useful 1424 --enable-maintainer-mode enable make rules and dependencies not useful
1412 (and sometimes confusing) to the casual installer 1425 (and sometimes confusing) to the casual installer
1413 --disable-dependency-tracking speeds up one-time build 1426 --disable-dependency-tracking Speeds up one-time builds
1414 --enable-dependency-tracking do not reject slow dependency extractors 1427 --enable-dependency-tracking Do not reject slow dependency extractors
1415 --disable-rpath do not hardcode runtime library paths 1428 --disable-rpath do not hardcode runtime library paths
1416 --disable-nls do not use Native Language Support 1429 --disable-nls do not use Native Language Support
1417 --enable-iftype=TYPE/SUBTYPE 1430 --enable-iftype=TYPE/SUBTYPE
1418 Use kernel/net device interface TYPE/SUBTYPE. 1431 Use kernel/net device interface TYPE/SUBTYPE.
1419 Working combinations are (see doc/gvpe.osdep.5.pod): 1432 Working combinations are (see doc/gvpe.osdep.5.pod):
1432 --disable-http-proxy enable http proxy connect support (default enabled). 1445 --disable-http-proxy enable http proxy connect support (default enabled).
1433 --enable-dns enable dns tunnel protocol support (default 1446 --enable-dns enable dns tunnel protocol support (default
1434 disabled). 1447 disabled).
1435 --enable-rsa-length=BITS 1448 --enable-rsa-length=BITS
1436 use BITS rsa keys (default 3072). Allowed values are 1449 use BITS rsa keys (default 3072). Allowed values are
1437 1536-10240. 1450 2048-10240.
1438 --enable-hmac-length=BYTES 1451 --enable-hmac-length=BYTES
1439 use a hmac of length BYTES bytes (default 12). 1452 use a hmac of length BYTES bytes (default 12).
1440 Allowed values are 4, 8, 12, 16. 1453 Allowed values are 4, 8, 12, 16.
1441 --enable-rand-length=BYTES
1442 use BYTES bytes of extra randomness (default 8).
1443 Allowed values are 0, 4, 8.
1444 --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).
1445 Use 9100 for jumbogram support. 1455 Use 9100 for jumbogram support.
1446 --disable-compression Disable compression support. 1456 --disable-compression Disable compression support.
1447 --enable-cipher=CIPHER Select the symmetric cipher (default "aes-128"). 1457 --enable-cipher=CIPHER Select the symmetric cipher (default "aes-128").
1448 Must be one of "bf" (blowfish), "aes-128" 1458 Must be one of "aes-128" (rijndael), "aes-192", or
1449 (rijndael), "aes-192", "aes-256", "camellia-128" or
1450 "camellia-256". 1459 "aes-256".
1451 --enable-digest=DIGEST Select the digest algorithm to use (default "sha1"). 1460 --enable-hmac-digest=HMAC
1461 Select the HMAC digest algorithm to use (default
1452 Must be one of "sha512", "sha256", "sha1", 1462 "sha1"). Must be one of "sha512", "sha256", "sha1",
1453 "ripemd160", "whirlpool". 1463 "ripemd160", "whirlpool".
1454 --enable-auth-digest=DIGEST 1464 --enable-auth-digest=DIGEST
1455 Select the hmac algorithm to use (default "sha512"). 1465 Select the hmac algorithm to use (default "sha512").
1456 Must be one of "sha512", "sha256", "whirlpool". 1466 Must be one of "sha512", "sha256", "whirlpool".
1457 1467
1463 --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
1464 --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
1465 --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
1466 --with-kernel=dir give the directory with kernel sources 1476 --with-kernel=dir give the directory with kernel sources
1467 (default: /usr/src/linux) 1477 (default: /usr/src/linux)
1468 --with-openssl-include=DIR OpenSSL headers directory (without trailing /openssl)
1469 --with-openssl-lib=DIR OpenSSL library directory
1470 1478
1471Some influential environment variables: 1479Some influential environment variables:
1472 CC C compiler command 1480 CC C compiler command
1473 CFLAGS C compiler flags 1481 CFLAGS C compiler flags
1474 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
1478 you have headers in a nonstandard directory <include dir> 1486 you have headers in a nonstandard directory <include dir>
1479 CPP C preprocessor 1487 CPP C preprocessor
1480 CXX C++ compiler command 1488 CXX C++ compiler command
1481 CXXFLAGS C++ compiler flags 1489 CXXFLAGS C++ compiler flags
1482 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
1483 1500
1484Use 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
1485it to find libraries and programs with nonstandard names/locations. 1502it to find libraries and programs with nonstandard names/locations.
1486 1503
1487Report bugs to the package provider. 1504Report bugs to the package provider.
1545fi 1562fi
1546 1563
1547test -n "$ac_init_help" && exit $ac_status 1564test -n "$ac_init_help" && exit $ac_status
1548if $ac_init_version; then 1565if $ac_init_version; then
1549 cat <<\_ACEOF 1566 cat <<\_ACEOF
1550configure 1567gvpe configure 3.1
1551generated by GNU Autoconf 2.69 1568generated by GNU Autoconf 2.69
1552 1569
1553Copyright (C) 2012 Free Software Foundation, Inc. 1570Copyright (C) 2012 Free Software Foundation, Inc.
1554This configure script is free software; the Free Software Foundation 1571This configure script is free software; the Free Software Foundation
1555gives unlimited permission to copy, distribute and modify it. 1572gives unlimited permission to copy, distribute and modify it.
2210 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2227 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2211 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2228 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2212 as_fn_set_status $ac_retval 2229 as_fn_set_status $ac_retval
2213 2230
2214} # ac_fn_cxx_try_link 2231} # ac_fn_cxx_try_link
2215
2216# ac_fn_cxx_check_func LINENO FUNC VAR
2217# ------------------------------------
2218# Tests whether FUNC exists, setting the cache variable VAR accordingly
2219ac_fn_cxx_check_func ()
2220{
2221 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2223$as_echo_n "checking for $2... " >&6; }
2224if eval \${$3+:} false; then :
2225 $as_echo_n "(cached) " >&6
2226else
2227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2228/* end confdefs.h. */
2229/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2231#define $2 innocuous_$2
2232
2233/* System header to define __stub macros and hopefully few prototypes,
2234 which can conflict with char $2 (); below.
2235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2236 <limits.h> exists even on freestanding compilers. */
2237
2238#ifdef __STDC__
2239# include <limits.h>
2240#else
2241# include <assert.h>
2242#endif
2243
2244#undef $2
2245
2246/* Override any GCC internal prototype to avoid an error.
2247 Use char because int might match the return type of a GCC
2248 builtin and then its argument prototype would still apply. */
2249#ifdef __cplusplus
2250extern "C"
2251#endif
2252char $2 ();
2253/* The GNU C library defines this for functions which it implements
2254 to always fail with ENOSYS. Some functions are actually named
2255 something starting with __ and the normal name is an alias. */
2256#if defined __stub_$2 || defined __stub___$2
2257choke me
2258#endif
2259
2260int
2261main ()
2262{
2263return $2 ();
2264 ;
2265 return 0;
2266}
2267_ACEOF
2268if ac_fn_cxx_try_link "$LINENO"; then :
2269 eval "$3=yes"
2270else
2271 eval "$3=no"
2272fi
2273rm -f core conftest.err conftest.$ac_objext \
2274 conftest$ac_exeext conftest.$ac_ext
2275fi
2276eval ac_res=\$$3
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2278$as_echo "$ac_res" >&6; }
2279 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2280
2281} # ac_fn_cxx_check_func
2282cat >config.log <<_ACEOF 2232cat >config.log <<_ACEOF
2283This file contains any messages produced by compilers while 2233This file contains any messages produced by compilers while
2284running configure, to aid debugging if configure makes a mistake. 2234running configure, to aid debugging if configure makes a mistake.
2285 2235
2286It was created by $as_me, which was 2236It was created by gvpe $as_me 3.1, which was
2287generated by GNU Autoconf 2.69. Invocation command line was 2237generated by GNU Autoconf 2.69. Invocation command line was
2288 2238
2289 $ $0 $@ 2239 $ $0 $@
2290 2240
2291_ACEOF 2241_ACEOF
2769# will get canonicalized. 2719# will get canonicalized.
2770test -n "$target_alias" && 2720test -n "$target_alias" &&
2771 test "$program_prefix$program_suffix$program_transform_name" = \ 2721 test "$program_prefix$program_suffix$program_transform_name" = \
2772 NONENONEs,x,x, && 2722 NONENONEs,x,x, &&
2773 program_prefix=${target_alias}- 2723 program_prefix=${target_alias}-
2774am__api_version='1.11' 2724am__api_version="1.7"
2775
2776# Find a good install program. We prefer a C program (faster), 2725# Find a good install program. We prefer a C program (faster),
2777# 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
2778# incompatible versions: 2727# incompatible versions:
2779# SysV /etc/install, /usr/sbin/install 2728# SysV /etc/install, /usr/sbin/install
2780# SunOS /usr/etc/install 2729# SunOS /usr/etc/install
2869{ $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
2870$as_echo_n "checking whether build environment is sane... " >&6; } 2819$as_echo_n "checking whether build environment is sane... " >&6; }
2871# Just in case 2820# Just in case
2872sleep 1 2821sleep 1
2873echo timestamp > conftest.file 2822echo timestamp > conftest.file
2874# Reject unsafe characters in $srcdir or the absolute working directory
2875# name. Accept space and tab only in the latter.
2876am_lf='
2877'
2878case `pwd` in
2879 *[\\\"\#\$\&\'\`$am_lf]*)
2880 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2881esac
2882case $srcdir in
2883 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2884 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2885esac
2886
2887# 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
2888# arguments. Must try -L first in case configure is actually a 2824# arguments. Must try -L first in case configure is actually a
2889# 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
2890# (eg FreeBSD returns the mod time of the symlink's containing 2826# (eg FreeBSD returns the mod time of the symlink's containing
2891# directory). 2827# directory).
2892if ( 2828if (
2893 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2829 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2894 if test "$*" = "X"; then 2830 if test "$*" = "X"; then
2895 # -L didn't work. 2831 # -L didn't work.
2896 set X `ls -t "$srcdir/configure" conftest.file` 2832 set X `ls -t $srcdir/configure conftest.file`
2897 fi 2833 fi
2898 rm -f conftest.file 2834 rm -f conftest.file
2899 if test "$*" != "X $srcdir/configure conftest.file" \ 2835 if test "$*" != "X $srcdir/configure conftest.file" \
2900 && test "$*" != "X conftest.file $srcdir/configure"; then 2836 && test "$*" != "X conftest.file $srcdir/configure"; then
2901 2837
2926# Double any \ or $. 2862# Double any \ or $.
2927# By default was `s,x,x', remove it if useless. 2863# By default was `s,x,x', remove it if useless.
2928ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2864ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2929program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2865program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2930 2866
2867
2931# expand $ac_aux_dir to an absolute path 2868# expand $ac_aux_dir to an absolute path
2932am_aux_dir=`cd $ac_aux_dir && pwd` 2869am_aux_dir=`cd $ac_aux_dir && pwd`
2933 2870
2934if test x"${MISSING+set}" != xset; then 2871test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2935 case $am_aux_dir in
2936 *\ * | *\ *)
2937 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2938 *)
2939 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2940 esac
2941fi
2942# Use eval to expand $SHELL 2872# Use eval to expand $SHELL
2943if eval "$MISSING --run true"; then 2873if eval "$MISSING --run true"; then
2944 am_missing_run="$MISSING --run " 2874 am_missing_run="$MISSING --run "
2945else 2875else
2946 am_missing_run= 2876 am_missing_run=
2947 { $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
2948$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;}
2949fi 2879fi
2950 2880
2951if test x"${install_sh}" != xset; then 2881for ac_prog in gawk mawk nawk awk
2952 case $am_aux_dir in 2882do
2953 *\ * | *\ *) 2883 # Extract the first word of "$ac_prog", so it can be a program name with args.
2954 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;;
2955 *) 2939 *)
2956 install_sh="\${SHELL} $am_aux_dir/install-sh" 2940 eval ac_cv_prog_make_${ac_make}_set=no;;
2957 esac 2941esac
2942rm -f conftest.make
2958fi 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"}
2959 3013
2960# Installed binaries are usually stripped using `strip' when the user 3014# Installed binaries are usually stripped using `strip' when the user
2961# run `make install-strip'. However `strip' might not be the right 3015# run `make install-strip'. However `strip' might not be the right
2962# tool to use in cross-compilation environments, therefore Automake 3016# tool to use in cross-compilation environments, therefore Automake
2963# will honor the `STRIP' environment variable to overrule this program. 3017# will honor the `STRIP' environment variable to overrule this program.
3053else 3107else
3054 STRIP="$ac_cv_prog_STRIP" 3108 STRIP="$ac_cv_prog_STRIP"
3055fi 3109fi
3056 3110
3057fi 3111fi
3058INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3112INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
3059
3060{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3061$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3062if test -z "$MKDIR_P"; then
3063 if ${ac_cv_path_mkdir+:} false; then :
3064 $as_echo_n "(cached) " >&6
3065else
3066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3067for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3068do
3069 IFS=$as_save_IFS
3070 test -z "$as_dir" && as_dir=.
3071 for ac_prog in mkdir gmkdir; do
3072 for ac_exec_ext in '' $ac_executable_extensions; do
3073 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3074 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3075 'mkdir (GNU coreutils) '* | \
3076 'mkdir (coreutils) '* | \
3077 'mkdir (fileutils) '4.1*)
3078 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3079 break 3;;
3080 esac
3081 done
3082 done
3083 done
3084IFS=$as_save_IFS
3085
3086fi
3087
3088 test -d ./--version && rmdir ./--version
3089 if test "${ac_cv_path_mkdir+set}" = set; then
3090 MKDIR_P="$ac_cv_path_mkdir -p"
3091 else
3092 # As a last resort, use the slow shell script. Don't cache a
3093 # value for MKDIR_P within a source directory, because that will
3094 # break other packages using the cache if that directory is
3095 # removed, or if the value is a relative name.
3096 MKDIR_P="$ac_install_sh -d"
3097 fi
3098fi
3099{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3100$as_echo "$MKDIR_P" >&6; }
3101
3102mkdir_p="$MKDIR_P"
3103case $mkdir_p in
3104 [\\/$]* | ?:[\\/]*) ;;
3105 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3106esac
3107
3108for ac_prog in gawk mawk nawk awk
3109do
3110 # Extract the first word of "$ac_prog", so it can be a program name with args.
3111set dummy $ac_prog; ac_word=$2
3112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3113$as_echo_n "checking for $ac_word... " >&6; }
3114if ${ac_cv_prog_AWK+:} false; then :
3115 $as_echo_n "(cached) " >&6
3116else
3117 if test -n "$AWK"; then
3118 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3119else
3120as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3121for as_dir in $PATH
3122do
3123 IFS=$as_save_IFS
3124 test -z "$as_dir" && as_dir=.
3125 for ac_exec_ext in '' $ac_executable_extensions; do
3126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3127 ac_cv_prog_AWK="$ac_prog"
3128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3129 break 2
3130 fi
3131done
3132 done
3133IFS=$as_save_IFS
3134
3135fi
3136fi
3137AWK=$ac_cv_prog_AWK
3138if test -n "$AWK"; then
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3140$as_echo "$AWK" >&6; }
3141else
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3143$as_echo "no" >&6; }
3144fi
3145
3146
3147 test -n "$AWK" && break
3148done
3149
3150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3151$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3152set x ${MAKE-make}
3153ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3154if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3155 $as_echo_n "(cached) " >&6
3156else
3157 cat >conftest.make <<\_ACEOF
3158SHELL = /bin/sh
3159all:
3160 @echo '@@@%%%=$(MAKE)=@@@%%%'
3161_ACEOF
3162# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3163case `${MAKE-make} -f conftest.make 2>/dev/null` in
3164 *@@@%%%=?*=@@@%%%*)
3165 eval ac_cv_prog_make_${ac_make}_set=yes;;
3166 *)
3167 eval ac_cv_prog_make_${ac_make}_set=no;;
3168esac
3169rm -f conftest.make
3170fi
3171if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3173$as_echo "yes" >&6; }
3174 SET_MAKE=
3175else
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3177$as_echo "no" >&6; }
3178 SET_MAKE="MAKE=${MAKE-make}"
3179fi
3180
3181rm -rf .tst 2>/dev/null
3182mkdir .tst 2>/dev/null
3183if test -d .tst; then
3184 am__leading_dot=.
3185else
3186 am__leading_dot=_
3187fi
3188rmdir .tst 2>/dev/null
3189
3190if test "`cd $srcdir && pwd`" != "`pwd`"; then
3191 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3192 # is not polluted with repeated "-I."
3193 am__isrc=' -I$(srcdir)'
3194 # test to see if srcdir already configured
3195 if test -f $srcdir/config.status; then
3196 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3197 fi
3198fi
3199
3200# test whether we have cygpath
3201if test -z "$CYGPATH_W"; then
3202 if (cygpath --version) >/dev/null 2>/dev/null; then
3203 CYGPATH_W='cygpath -w'
3204 else
3205 CYGPATH_W=echo
3206 fi
3207fi
3208
3209
3210# Define the identity of the package.
3211 PACKAGE=gvpe
3212 VERSION=2.25
3213
3214
3215cat >>confdefs.h <<_ACEOF
3216#define PACKAGE "$PACKAGE"
3217_ACEOF
3218
3219
3220cat >>confdefs.h <<_ACEOF
3221#define VERSION "$VERSION"
3222_ACEOF
3223
3224# Some tools Automake needs.
3225
3226ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3227
3228
3229AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3230
3231
3232AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3233
3234
3235AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3236
3237
3238MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3239 3113
3240# 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
3241# some platforms. 3115# some platforms.
3242# Always define AMTAR for backward compatibility. Yes, it's still used
3243# in the wild :-( We should find a proper way to deprecate it ...
3244AMTAR='$${TAR-tar}'
3245
3246am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3247
3248
3249 3116
3250 3117
3251 3118
3252ac_config_headers="$ac_config_headers config.h" 3119ac_config_headers="$ac_config_headers config.h"
3253
3254 3120
3255{ $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
3256$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; }
3257 # Check whether --enable-maintainer-mode was given. 3123 # Check whether --enable-maintainer-mode was given.
3258if test "${enable_maintainer_mode+set}" = set; then : 3124if test "${enable_maintainer_mode+set}" = set; then :
3261 USE_MAINTAINER_MODE=no 3127 USE_MAINTAINER_MODE=no
3262fi 3128fi
3263 3129
3264 { $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
3265$as_echo "$USE_MAINTAINER_MODE" >&6; } 3131$as_echo "$USE_MAINTAINER_MODE" >&6; }
3132
3133
3266 if test $USE_MAINTAINER_MODE = yes; then 3134if test $USE_MAINTAINER_MODE = yes; then
3267 MAINTAINER_MODE_TRUE= 3135 MAINTAINER_MODE_TRUE=
3268 MAINTAINER_MODE_FALSE='#' 3136 MAINTAINER_MODE_FALSE='#'
3269else 3137else
3270 MAINTAINER_MODE_TRUE='#' 3138 MAINTAINER_MODE_TRUE='#'
3271 MAINTAINER_MODE_FALSE= 3139 MAINTAINER_MODE_FALSE=
3496 3364
3497 3365
3498am_make=${MAKE-make} 3366am_make=${MAKE-make}
3499cat > confinc << 'END' 3367cat > confinc << 'END'
3500am__doit: 3368am__doit:
3501 @echo this is the am__doit target 3369 @echo done
3502.PHONY: am__doit 3370.PHONY: am__doit
3503END 3371END
3504# 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.
3505{ $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
3506$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; }
3507am__include="#" 3375am__include="#"
3508am__quote= 3376am__quote=
3509_am_result=none 3377_am_result=none
3510# First try GNU make style include. 3378# First try GNU make style include.
3511echo "include confinc" > confmf 3379echo "include confinc" > confmf
3512# Ignore all kinds of additional output from `make'. 3380# We grep out `Entering directory' and `Leaving directory'
3513case `$am_make -s -f confmf 2> /dev/null` in #( 3381# messages which can occur if `w' ends up in MAKEFLAGS.
3514*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
3515 am__include=include 3386 am__include=include
3516 am__quote= 3387 am__quote=
3517 _am_result=GNU 3388 _am_result=GNU
3518 ;; 3389fi
3519esac
3520# Now try BSD make style include. 3390# Now try BSD make style include.
3521if test "$am__include" = "#"; then 3391if test "$am__include" = "#"; then
3522 echo '.include "confinc"' > confmf 3392 echo '.include "confinc"' > confmf
3523 case `$am_make -s -f confmf 2> /dev/null` in #( 3393 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3524 *the\ am__doit\ target*)
3525 am__include=.include 3394 am__include=.include
3526 am__quote="\"" 3395 am__quote="\""
3527 _am_result=BSD 3396 _am_result=BSD
3528 ;; 3397 fi
3529 esac
3530fi 3398fi
3531 3399
3532 3400
3533{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3534$as_echo "$_am_result" >&6; } 3402$as_echo "$_am_result" >&6; }
3540fi 3408fi
3541 3409
3542if test "x$enable_dependency_tracking" != xno; then 3410if test "x$enable_dependency_tracking" != xno; then
3543 am_depcomp="$ac_aux_dir/depcomp" 3411 am_depcomp="$ac_aux_dir/depcomp"
3544 AMDEPBACKSLASH='\' 3412 AMDEPBACKSLASH='\'
3545 am__nodep='_no'
3546fi 3413fi
3414
3415
3547 if test "x$enable_dependency_tracking" != xno; then 3416if test "x$enable_dependency_tracking" != xno; then
3548 AMDEP_TRUE= 3417 AMDEP_TRUE=
3549 AMDEP_FALSE='#' 3418 AMDEP_FALSE='#'
3550else 3419else
3551 AMDEP_TRUE='#' 3420 AMDEP_TRUE='#'
3552 AMDEP_FALSE= 3421 AMDEP_FALSE=
3553fi 3422fi
3423
3554 3424
3555 3425
3556ac_ext=c 3426ac_ext=c
3557ac_cpp='$CPP $CPPFLAGS' 3427ac_cpp='$CPP $CPPFLAGS'
3558ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3428ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4353 # 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
4354 # 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
4355 # 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
4356 # 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
4357 # in D'. 4227 # in D'.
4358 rm -rf conftest.dir
4359 mkdir conftest.dir 4228 mkdir conftest.dir
4360 # 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
4361 # using a relative directory. 4230 # using a relative directory.
4362 cp "$am_depcomp" conftest.dir 4231 cp "$am_depcomp" conftest.dir
4363 cd conftest.dir 4232 cd conftest.dir
4371 4240
4372 am_cv_CC_dependencies_compiler_type=none 4241 am_cv_CC_dependencies_compiler_type=none
4373 if test "$am_compiler_list" = ""; then 4242 if test "$am_compiler_list" = ""; then
4374 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`
4375 fi 4244 fi
4376 am__universal=false
4377 case " $depcc " in #(
4378 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4379 esac
4380
4381 for depmode in $am_compiler_list; do 4245 for depmode in $am_compiler_list; do
4382 # Setup a source with many dependencies, because some compilers 4246 # Setup a source with many dependencies, because some compilers
4383 # like to wrap large dependency lists on column 80 (with \), and 4247 # like to wrap large dependency lists on column 80 (with \), and
4384 # 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.
4385 # 4249 #
4387 # overwrite some of them when testing with obscure command lines. 4251 # overwrite some of them when testing with obscure command lines.
4388 # This happens at least with the AIX C compiler. 4252 # This happens at least with the AIX C compiler.
4389 : > sub/conftest.c 4253 : > sub/conftest.c
4390 for i in 1 2 3 4 5 6; do 4254 for i in 1 2 3 4 5 6; do
4391 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4255 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4392 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4393 # Solaris 8's {/usr,}/bin/sh.
4394 touch sub/conftst$i.h 4256 : > sub/conftst$i.h
4395 done 4257 done
4396 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4258 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4397 4259
4398 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4399 # mode. It turns out that the SunPro C++ compiler does not properly
4400 # handle `-M -o', and we need to detect this. Also, some Intel
4401 # versions had trouble with output in subdirs
4402 am__obj=sub/conftest.${OBJEXT-o}
4403 am__minus_obj="-o $am__obj"
4404 case $depmode in 4260 case $depmode in
4405 gcc)
4406 # This depmode causes a compiler race in universal mode.
4407 test "$am__universal" = false || continue
4408 ;;
4409 nosideeffect) 4261 nosideeffect)
4410 # 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
4411 # only be used when explicitly requested 4263 # only be used when explicitly requested
4412 if test "x$enable_dependency_tracking" = xyes; then 4264 if test "x$enable_dependency_tracking" = xyes; then
4413 continue 4265 continue
4414 else 4266 else
4415 break 4267 break
4416 fi 4268 fi
4417 ;; 4269 ;;
4418 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4419 # This compiler won't grok `-c -o', but also, the minuso test has
4420 # not run yet. These depmodes are late enough in the game, and
4421 # so weak that their functioning should not be impacted.
4422 am__obj=conftest.${OBJEXT-o}
4423 am__minus_obj=
4424 ;;
4425 none) break ;; 4270 none) break ;;
4426 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.
4427 if depmode=$depmode \ 4275 if depmode=$depmode \
4428 source=sub/conftest.c object=$am__obj \ 4276 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4429 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4277 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4430 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4278 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4431 >/dev/null 2>conftest.err && 4279 >/dev/null 2>conftest.err &&
4432 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4433 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4280 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4434 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4281 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4435 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4282 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4436 # 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
4437 # or remarks (even with -Werror). So we grep stderr for any message 4284 # (even with -Werror). So we grep stderr for any message
4438 # that says an option was ignored or not supported. 4285 # that says an option was ignored.
4439 # When given -MP, icc 7.0 and 7.1 complain thusly:
4440 # icc: Command line warning: ignoring option '-M'; no argument required
4441 # The diagnosis changed in icc 8.0:
4442 # icc: Command line remark: option '-MP' not supported
4443 if (grep 'ignoring option' conftest.err ||
4444 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4286 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
4445 am_cv_CC_dependencies_compiler_type=$depmode 4287 am_cv_CC_dependencies_compiler_type=$depmode
4446 break 4288 break
4447 fi 4289 fi
4448 fi 4290 fi
4449 done 4291 done
4457fi 4299fi
4458{ $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
4459$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4301$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4460CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4302CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4461 4303
4304
4305
4462 if 4306if
4463 test "x$enable_dependency_tracking" != xno \ 4307 test "x$enable_dependency_tracking" != xno \
4464 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4308 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4465 am__fastdepCC_TRUE= 4309 am__fastdepCC_TRUE=
4466 am__fastdepCC_FALSE='#' 4310 am__fastdepCC_FALSE='#'
4467else 4311else
6103 # 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
6104 # 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
6105 # 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
6106 # 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
6107 # in D'. 5951 # in D'.
6108 rm -rf conftest.dir
6109 mkdir conftest.dir 5952 mkdir conftest.dir
6110 # 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
6111 # using a relative directory. 5954 # using a relative directory.
6112 cp "$am_depcomp" conftest.dir 5955 cp "$am_depcomp" conftest.dir
6113 cd conftest.dir 5956 cd conftest.dir
6121 5964
6122 am_cv_CXX_dependencies_compiler_type=none 5965 am_cv_CXX_dependencies_compiler_type=none
6123 if test "$am_compiler_list" = ""; then 5966 if test "$am_compiler_list" = ""; then
6124 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`
6125 fi 5968 fi
6126 am__universal=false
6127 case " $depcc " in #(
6128 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6129 esac
6130
6131 for depmode in $am_compiler_list; do 5969 for depmode in $am_compiler_list; do
6132 # Setup a source with many dependencies, because some compilers 5970 # Setup a source with many dependencies, because some compilers
6133 # like to wrap large dependency lists on column 80 (with \), and 5971 # like to wrap large dependency lists on column 80 (with \), and
6134 # 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.
6135 # 5973 #
6137 # overwrite some of them when testing with obscure command lines. 5975 # overwrite some of them when testing with obscure command lines.
6138 # This happens at least with the AIX C compiler. 5976 # This happens at least with the AIX C compiler.
6139 : > sub/conftest.c 5977 : > sub/conftest.c
6140 for i in 1 2 3 4 5 6; do 5978 for i in 1 2 3 4 5 6; do
6141 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5979 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6142 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6143 # Solaris 8's {/usr,}/bin/sh.
6144 touch sub/conftst$i.h 5980 : > sub/conftst$i.h
6145 done 5981 done
6146 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5982 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6147 5983
6148 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6149 # mode. It turns out that the SunPro C++ compiler does not properly
6150 # handle `-M -o', and we need to detect this. Also, some Intel
6151 # versions had trouble with output in subdirs
6152 am__obj=sub/conftest.${OBJEXT-o}
6153 am__minus_obj="-o $am__obj"
6154 case $depmode in 5984 case $depmode in
6155 gcc)
6156 # This depmode causes a compiler race in universal mode.
6157 test "$am__universal" = false || continue
6158 ;;
6159 nosideeffect) 5985 nosideeffect)
6160 # 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
6161 # only be used when explicitly requested 5987 # only be used when explicitly requested
6162 if test "x$enable_dependency_tracking" = xyes; then 5988 if test "x$enable_dependency_tracking" = xyes; then
6163 continue 5989 continue
6164 else 5990 else
6165 break 5991 break
6166 fi 5992 fi
6167 ;; 5993 ;;
6168 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6169 # This compiler won't grok `-c -o', but also, the minuso test has
6170 # not run yet. These depmodes are late enough in the game, and
6171 # so weak that their functioning should not be impacted.
6172 am__obj=conftest.${OBJEXT-o}
6173 am__minus_obj=
6174 ;;
6175 none) break ;; 5994 none) break ;;
6176 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.
6177 if depmode=$depmode \ 5999 if depmode=$depmode \
6178 source=sub/conftest.c object=$am__obj \ 6000 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6179 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 6001 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6180 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 6002 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6181 >/dev/null 2>conftest.err && 6003 >/dev/null 2>conftest.err &&
6182 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6183 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 6004 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6184 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 6005 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6185 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 6006 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6186 # 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
6187 # or remarks (even with -Werror). So we grep stderr for any message 6008 # (even with -Werror). So we grep stderr for any message
6188 # that says an option was ignored or not supported. 6009 # that says an option was ignored.
6189 # When given -MP, icc 7.0 and 7.1 complain thusly:
6190 # icc: Command line warning: ignoring option '-M'; no argument required
6191 # The diagnosis changed in icc 8.0:
6192 # icc: Command line remark: option '-MP' not supported
6193 if (grep 'ignoring option' conftest.err ||
6194 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 6010 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
6195 am_cv_CXX_dependencies_compiler_type=$depmode 6011 am_cv_CXX_dependencies_compiler_type=$depmode
6196 break 6012 break
6197 fi 6013 fi
6198 fi 6014 fi
6199 done 6015 done
6207fi 6023fi
6208{ $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
6209$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 6025$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6210CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 6026CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6211 6027
6028
6029
6212 if 6030if
6213 test "x$enable_dependency_tracking" != xno \ 6031 test "x$enable_dependency_tracking" != xno \
6214 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 6032 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6215 am__fastdepCXX_TRUE= 6033 am__fastdepCXX_TRUE=
6216 am__fastdepCXX_FALSE='#' 6034 am__fastdepCXX_FALSE='#'
6217else 6035else
8217 8035
8218 8036
8219 8037
8220 8038
8221 8039
8222 tinc_ac_save_CPPFLAGS="$CPPFLAGS"
8223 8040
8224 8041
8225# Check whether --with-openssl-include was given.
8226if test "${with_openssl_include+set}" = set; then :
8227 withval=$with_openssl_include; openssl_include="$withval"
8228 CFLAGS="$CFLAGS -I$withval"
8229 CPPFLAGS="$CPPFLAGS -I$withval"
8230 8042
8231fi
8232 8043
8233 8044
8234 8045
8235# Check whether --with-openssl-lib was given. 8046if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
8236if test "${with_openssl_lib+set}" = set; then : 8047 if test -n "$ac_tool_prefix"; then
8237 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.
8238 LIBS="$LIBS -L$withval" 8049set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
8239 8050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8240fi 8051$as_echo_n "checking for $ac_word... " >&6; }
8241 8052if ${ac_cv_path_PKG_CONFIG+:} false; then :
8242 8053 $as_echo_n "(cached) " >&6
8243 for ac_header in openssl/evp.h openssl/rsa.h openssl/rand.h openssl/err.h openssl/sha.h openssl/pem.h
8244do :
8245 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8246ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
8247if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8248 cat >>confdefs.h <<_ACEOF
8249#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8250_ACEOF
8251
8252else 8054else
8253 as_fn_error $? "OpenSSL header files not found." "$LINENO" 5; break 8055 case $PKG_CONFIG in
8254 8056 [\\/]* | ?:[\\/]*)
8255fi 8057 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
8256 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
8257done 8071done
8072 done
8073IFS=$as_save_IFS
8258 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
8259 8086
8260 CPPFLAGS="$tinc_ac_save_CPPFLAGS"
8261 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
8262 { $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
8263$as_echo_n "checking for SHA1_Init in -lcrypto... " >&6; } 8094$as_echo_n "checking for $ac_word... " >&6; }
8264if ${ac_cv_lib_crypto_SHA1_Init+:} false; then : 8095if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
8265 $as_echo_n "(cached) " >&6 8096 $as_echo_n "(cached) " >&6
8266else 8097else
8267 ac_check_lib_save_LIBS=$LIBS 8098 case $ac_pt_PKG_CONFIG in
8268LIBS="-lcrypto $LIBS" 8099 [\\/]* | ?:[\\/]*)
8269cat 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.
8270/* end confdefs.h. */
8271
8272/* Override any GCC internal prototype to avoid an error.
8273 Use char because int might match the return type of a GCC
8274 builtin and then its argument prototype would still apply. */
8275#ifdef __cplusplus
8276extern "C"
8277#endif
8278char SHA1_Init ();
8279int
8280main ()
8281{
8282return SHA1_Init ();
8283 ; 8101 ;;
8284 return 0; 8102 *)
8285} 8103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8286_ACEOF 8104for as_dir in $PATH
8287if ac_fn_cxx_try_link "$LINENO"; then : 8105do
8288 ac_cv_lib_crypto_SHA1_Init=yes 8106 IFS=$as_save_IFS
8289else 8107 test -z "$as_dir" && as_dir=.
8290 ac_cv_lib_crypto_SHA1_Init=no 8108 for ac_exec_ext in '' $ac_executable_extensions; do
8291fi 8109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8292rm -f core conftest.err conftest.$ac_objext \ 8110 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8293 conftest$ac_exeext conftest.$ac_ext 8111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8294LIBS=$ac_check_lib_save_LIBS 8112 break 2
8295fi 8113 fi
8296{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_Init" >&5
8297$as_echo "$ac_cv_lib_crypto_SHA1_Init" >&6; }
8298if test "x$ac_cv_lib_crypto_SHA1_Init" = xyes; then :
8299 LIBS="$LIBS -lcrypto"
8300else
8301 as_fn_error $? "OpenSSL libraries not found." "$LINENO" 5
8302
8303fi
8304
8305
8306 for ac_func in RAND_pseudo_bytes OPENSSL_add_all_algorithms_noconf OpenSSL_add_all_algorithms SSLeay_add_all_algorithms
8307do :
8308 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8309ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
8310if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8311 cat >>confdefs.h <<_ACEOF
8312#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8313_ACEOF
8314
8315fi
8316done 8114done
8115 done
8116IFS=$as_save_IFS
8317 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
8318 8129
8319 ac_fn_cxx_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 8130 if test "x$ac_pt_PKG_CONFIG" = x; then
8320if 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
8321 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; }
8322else 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
8323 { $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
8324$as_echo_n "checking for dlopen in -ldl... " >&6; } 8162$as_echo_n "checking for LIBCRYPTO... " >&6; }
8325if ${ac_cv_lib_dl_dlopen+:} false; then : 8163
8326 $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
8327else 8178 else
8328 ac_check_lib_save_LIBS=$LIBS 8179 pkg_failed=untried
8329LIBS="-ldl $LIBS" 8180fi
8330cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8181if test -n "$LIBCRYPTO_LIBS"; then
8331/* end confdefs.h. */ 8182 pkg_cv_LIBCRYPTO_LIBS="$LIBCRYPTO_LIBS"
8332 8183 elif test -n "$PKG_CONFIG"; then
8333/* Override any GCC internal prototype to avoid an error. 8184 if test -n "$PKG_CONFIG" && \
8334 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
8335 builtin and then its argument prototype would still apply. */ 8186 ($PKG_CONFIG --exists --print-errors "libcrypto >= 1") 2>&5
8336#ifdef __cplusplus 8187 ac_status=$?
8337extern "C" 8188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8338#endif 8189 test $ac_status = 0; }; then
8339char dlopen (); 8190 pkg_cv_LIBCRYPTO_LIBS=`$PKG_CONFIG --libs "libcrypto >= 1" 2>/dev/null`
8340int 8191 test "x$?" != "x0" && pkg_failed=yes
8341main () 8192else
8342{ 8193 pkg_failed=yes
8343return dlopen (); 8194fi
8344 ;
8345 return 0;
8346}
8347_ACEOF
8348if ac_fn_cxx_try_link "$LINENO"; then :
8349 ac_cv_lib_dl_dlopen=yes
8350else 8195 else
8351 ac_cv_lib_dl_dlopen=no 8196 pkg_failed=untried
8352fi 8197fi
8353rm -f core conftest.err conftest.$ac_objext \ 8198
8354 conftest$ac_exeext conftest.$ac_ext 8199
8355LIBS=$ac_check_lib_save_LIBS 8200
8356fi 8201if test $pkg_failed = yes; then
8357{ $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
8358$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 8203$as_echo "no" >&6; }
8359if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
8360 LIBS="$LIBS -ldl"
8361else
8362 as_fn_error $? "OpenSSL depends on libdl." "$LINENO" 5
8363 8204
8364fi 8205if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8365 8206 _pkg_short_errors_supported=yes
8366
8367fi
8368
8369
8370 ac_fn_cxx_check_func "$LINENO" "inflate" "ac_cv_func_inflate"
8371if test "x$ac_cv_func_inflate" = xyes; then :
8372
8373else 8207else
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5 8208 _pkg_short_errors_supported=no
8375$as_echo_n "checking for inflate in -lz... " >&6; }
8376if ${ac_cv_lib_z_inflate+:} false; then :
8377 $as_echo_n "(cached) " >&6
8378else
8379 ac_check_lib_save_LIBS=$LIBS
8380LIBS="-lz $LIBS"
8381cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8382/* end confdefs.h. */
8383
8384/* Override any GCC internal prototype to avoid an error.
8385 Use char because int might match the return type of a GCC
8386 builtin and then its argument prototype would still apply. */
8387#ifdef __cplusplus
8388extern "C"
8389#endif
8390char inflate ();
8391int
8392main ()
8393{
8394return inflate ();
8395 ;
8396 return 0;
8397}
8398_ACEOF
8399if ac_fn_cxx_try_link "$LINENO"; then :
8400 ac_cv_lib_z_inflate=yes
8401else
8402 ac_cv_lib_z_inflate=no
8403fi 8209fi
8404rm -f core conftest.err conftest.$ac_objext \ 8210 if test $_pkg_short_errors_supported = yes; then
8405 conftest$ac_exeext conftest.$ac_ext 8211 LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcrypto >= 1" 2>&1`
8406LIBS=$ac_check_lib_save_LIBS 8212 else
8407fi 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
8408{ $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
8409$as_echo "$ac_cv_lib_z_inflate" >&6; } 8230$as_echo "no" >&6; }
8410if test "x$ac_cv_lib_z_inflate" = xyes; then : 8231 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8411 LIBS="$LIBS -lz" 8232$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8412else 8233as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
8413 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.
8414 8236
8415fi 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.
8416 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; }
8417 8248
8418fi
8419
8420
8421if test "x$openssl_include" != x; then
8422 CXXFLAGS="$CXXFLAGS -I$openssl_include"
8423fi 8249fi
8424 8250
8425# Check whether --enable-threads was given. 8251# Check whether --enable-threads was given.
8426if test "${enable_threads+set}" = set; then : 8252if test "${enable_threads+set}" = set; then :
8427 enableval=$enable_threads; try_threads=$enableval 8253 enableval=$enable_threads; try_threads=$enableval
8469fi 8295fi
8470 8296
8471 8297
8472 8298
8473 8299
8300
8301
8474 if test x$rohc = xtrue; then 8302if test x$rohc = xtrue; then
8475 ROHC_TRUE= 8303 ROHC_TRUE=
8476 ROHC_FALSE='#' 8304 ROHC_FALSE='#'
8477else 8305else
8478 ROHC_TRUE='#' 8306 ROHC_TRUE='#'
8479 ROHC_FALSE= 8307 ROHC_FALSE=
8606cat >>confdefs.h <<_ACEOF 8434cat >>confdefs.h <<_ACEOF
8607#define RSABITS $RSA 8435#define RSABITS $RSA
8608_ACEOF 8436_ACEOF
8609 8437
8610 8438
8611HMAC=12 8439HMACSIZE=12
8612# Check whether --enable-hmac-length was given. 8440# Check whether --enable-hmac-length was given.
8613if test "${enable_hmac_length+set}" = set; then : 8441if test "${enable_hmac_length+set}" = set; then :
8614 enableval=$enable_hmac_length; HMAC=$enableval 8442 enableval=$enable_hmac_length; HMACSIZE=$enableval
8615 8443
8616fi 8444fi
8617 8445
8618 8446
8619cat >>confdefs.h <<_ACEOF 8447cat >>confdefs.h <<_ACEOF
8620#define HMACLENGTH $HMAC 8448#define HMACLENGTH $HMACSIZE
8621_ACEOF
8622
8623
8624RAND=8
8625# Check whether --enable-rand-length was given.
8626if test "${enable_rand_length+set}" = set; then :
8627 enableval=$enable_rand_length; RAND=$enableval
8628
8629fi
8630
8631
8632cat >>confdefs.h <<_ACEOF
8633#define RAND_SIZE $RAND
8634_ACEOF 8449_ACEOF
8635 8450
8636 8451
8637MTU=1500 8452MTU=1500
8638# Check whether --enable-max-mtu was given. 8453# Check whether --enable-max-mtu was given.
8660cat >>confdefs.h <<_ACEOF 8475cat >>confdefs.h <<_ACEOF
8661#define ENABLE_COMPRESSION $COMPRESS 8476#define ENABLE_COMPRESSION $COMPRESS
8662_ACEOF 8477_ACEOF
8663 8478
8664 8479
8665CIPHER=aes_128_cbc 8480CIPHER=aes_128_ctr
8666# Check whether --enable-cipher was given. 8481# Check whether --enable-cipher was given.
8667if test "${enable_cipher+set}" = set; then : 8482if test "${enable_cipher+set}" = set; then :
8668 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
8669 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
8670 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
8671 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
8672 if test "x$enableval" = xcamellia-128; then CIPHER=camellia_128_cbc; fi 8487 #if test "x$enableval" = xcamellia-128; then CIPHER=camellia_128_ctr; fi
8673 if test "x$enableval" = xcamellia-256; then CIPHER=camellia_256_cbc; fi 8488 #if test "x$enableval" = xcamellia-256; then CIPHER=camellia_256_ctr; fi
8674 8489
8675fi 8490fi
8676 8491
8677 8492
8678cat >>confdefs.h <<_ACEOF 8493cat >>confdefs.h <<_ACEOF
8679#define ENABLE_CIPHER EVP_${CIPHER} 8494#define ENABLE_CIPHER EVP_${CIPHER}
8680_ACEOF 8495_ACEOF
8681 8496
8682 8497
8683DIGEST=sha1 8498HMAC=sha1
8684# Check whether --enable-digest was given. 8499# Check whether --enable-hmac-digest was given.
8685if test "${enable_digest+set}" = set; then : 8500if test "${enable_hmac_digest+set}" = set; then :
8686 enableval=$enable_digest; if test "x$enableval" = xwhirlpool; then DIGEST=whirlpool; fi 8501 enableval=$enable_hmac_digest; if test "x$enableval" = xwhirlpool; then HMAC=whirlpool; fi
8687 if test "x$enableval" = xsha512 ; then DIGEST=sha512 ; fi 8502 if test "x$enableval" = xsha512 ; then HMAC=sha512 ; fi
8688 if test "x$enableval" = xsha256 ; then DIGEST=sha256 ; fi 8503 if test "x$enableval" = xsha256 ; then HMAC=sha256 ; fi
8689 if test "x$enableval" = xsha1 ; then DIGEST=sha1 ; fi 8504 if test "x$enableval" = xsha1 ; then HMAC=sha1 ; fi
8690 if test "x$enableval" = xripemd160; then DIGEST=ripemd160; fi 8505 if test "x$enableval" = xripemd160; then HMAC=ripemd160; fi
8691 8506
8692fi 8507fi
8693 8508
8694 8509
8695cat >>confdefs.h <<_ACEOF 8510cat >>confdefs.h <<_ACEOF
8696#define ENABLE_DIGEST EVP_${DIGEST} 8511#define ENABLE_HMAC EVP_${HMAC}
8697_ACEOF 8512_ACEOF
8698 8513
8699 8514
8700AUTH=sha512 8515AUTH=sha512
8701# Check whether --enable-auth-digest was given. 8516# Check whether --enable-auth-digest was given.
8834LIBOBJS=$ac_libobjs 8649LIBOBJS=$ac_libobjs
8835 8650
8836LTLIBOBJS=$ac_ltlibobjs 8651LTLIBOBJS=$ac_ltlibobjs
8837 8652
8838 8653
8839 if test -n "$EXEEXT"; then
8840 am__EXEEXT_TRUE=
8841 am__EXEEXT_FALSE='#'
8842else
8843 am__EXEEXT_TRUE='#'
8844 am__EXEEXT_FALSE=
8845fi
8846
8847if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 8654if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8848 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 8655 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
8849Usually this means the macro was only invoked conditionally." "$LINENO" 5 8656Usually this means the macro was only invoked conditionally." "$LINENO" 5
8850fi 8657fi
8851if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 8658if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9259cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9066cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9260# 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
9261# report actual input values of CONFIG_FILES etc. instead of their 9068# report actual input values of CONFIG_FILES etc. instead of their
9262# values after options handling. 9069# values after options handling.
9263ac_log=" 9070ac_log="
9264This file was extended by $as_me, which was 9071This file was extended by gvpe $as_me 3.1, which was
9265generated by GNU Autoconf 2.69. Invocation command line was 9072generated by GNU Autoconf 2.69. Invocation command line was
9266 9073
9267 CONFIG_FILES = $CONFIG_FILES 9074 CONFIG_FILES = $CONFIG_FILES
9268 CONFIG_HEADERS = $CONFIG_HEADERS 9075 CONFIG_HEADERS = $CONFIG_HEADERS
9269 CONFIG_LINKS = $CONFIG_LINKS 9076 CONFIG_LINKS = $CONFIG_LINKS
9325 9132
9326_ACEOF 9133_ACEOF
9327cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9134cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9328ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 9135ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9329ac_cs_version="\\ 9136ac_cs_version="\\
9330config.status 9137gvpe config.status 3.1
9331configured by $0, generated by GNU Autoconf 2.69, 9138configured by $0, generated by GNU Autoconf 2.69,
9332 with options \\"\$ac_cs_config\\" 9139 with options \\"\$ac_cs_config\\"
9333 9140
9334Copyright (C) 2012 Free Software Foundation, Inc. 9141Copyright (C) 2012 Free Software Foundation, Inc.
9335This config.status script is free software; the Free Software Foundation 9142This config.status script is free software; the Free Software Foundation
9336gives unlimited permission to copy, distribute and modify it." 9143gives unlimited permission to copy, distribute and modify it."
9337 9144
9338ac_pwd='$ac_pwd' 9145ac_pwd='$ac_pwd'
9339srcdir='$srcdir' 9146srcdir='$srcdir'
9340INSTALL='$INSTALL' 9147INSTALL='$INSTALL'
9341MKDIR_P='$MKDIR_P'
9342AWK='$AWK' 9148AWK='$AWK'
9343test -n "\$AWK" || AWK=awk 9149test -n "\$AWK" || AWK=awk
9344_ACEOF 9150_ACEOF
9345 9151
9346cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9152cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9918 9724
9919 case $INSTALL in 9725 case $INSTALL in
9920 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 9726 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9921 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 9727 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9922 esac 9728 esac
9923 ac_MKDIR_P=$MKDIR_P
9924 case $MKDIR_P in
9925 [\\/$]* | ?:[\\/]* ) ;;
9926 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
9927 esac
9928_ACEOF 9729_ACEOF
9929 9730
9930cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9731cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9931# If the template does not know about datarootdir, expand it. 9732# If the template does not know about datarootdir, expand it.
9932# 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.
9977s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 9778s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9978s&@builddir@&$ac_builddir&;t t 9779s&@builddir@&$ac_builddir&;t t
9979s&@abs_builddir@&$ac_abs_builddir&;t t 9780s&@abs_builddir@&$ac_abs_builddir&;t t
9980s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9781s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9981s&@INSTALL@&$ac_INSTALL&;t t 9782s&@INSTALL@&$ac_INSTALL&;t t
9982s&@MKDIR_P@&$ac_MKDIR_P&;t t
9983$ac_datarootdir_hack 9783$ac_datarootdir_hack
9984" 9784"
9985eval 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" \
9986 >$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
9987 9787
10023 $as_echo "/* $configure_input */" \ 9823 $as_echo "/* $configure_input */" \
10024 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 9824 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
10025 || as_fn_error $? "could not create -" "$LINENO" 5 9825 || as_fn_error $? "could not create -" "$LINENO" 5
10026 fi 9826 fi
10027# Compute "$ac_file"'s index in $config_headers. 9827# Compute "$ac_file"'s index in $config_headers.
10028_am_arg="$ac_file"
10029_am_stamp_count=1 9828_am_stamp_count=1
10030for _am_header in $config_headers :; do 9829for _am_header in $config_headers :; do
10031 case $_am_header in 9830 case $_am_header in
10032 $_am_arg | $_am_arg:* ) 9831 "$ac_file" | "$ac_file":* )
10033 break ;; 9832 break ;;
10034 * ) 9833 * )
10035 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 9834 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10036 esac 9835 esac
10037done 9836done
10038echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 9837echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
10039$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9838$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10040 X"$_am_arg" : 'X\(//\)[^/]' \| \ 9839 X"$ac_file" : 'X\(//\)[^/]' \| \
10041 X"$_am_arg" : 'X\(//\)$' \| \ 9840 X"$ac_file" : 'X\(//\)$' \| \
10042 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 9841 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10043$as_echo X"$_am_arg" | 9842$as_echo X"$ac_file" |
10044 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10045 s//\1/ 9844 s//\1/
10046 q 9845 q
10047 } 9846 }
10048 /^X\(\/\/\)[^/].*/{ 9847 /^X\(\/\/\)[^/].*/{
10161 done 9960 done
10162 fi 9961 fi
10163 ;; 9962 ;;
10164 esac 9963 esac
10165 done ;; 9964 done ;;
10166 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 9965 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
10167 # Autoconf 2.62 quotes --file arguments for eval, but not when files
10168 # are listed without --file. Let's play safe and only enable the eval
10169 # if we detect the quoting.
10170 case $CONFIG_FILES in
10171 *\'*) eval set x "$CONFIG_FILES" ;;
10172 *) set x $CONFIG_FILES ;;
10173 esac
10174 shift
10175 for mf
10176 do
10177 # 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.
10178 mf=`echo "$mf" | sed -e 's/:.*$//'` 9967 mf=`echo "$mf" | sed -e 's/:.*$//'`
10179 # Check whether this is an Automake generated Makefile or not. 9968 # Check whether this is an Automake generated Makefile or not.
10180 # We used to match only the files named `Makefile.in', but 9969 # We used to match only the files named `Makefile.in', but
10181 # 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.
10182 # 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
10183 # 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.
10184 # Grep'ing the whole file is not good either: AIX grep has a line 9973 # So let's grep whole file.
10185 # limit of 2048, but all sed's we know have understand at least 4000.
10186 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
10187 dirpart=`$as_dirname -- "$mf" || 9975 dirpart=`$as_dirname -- "$mf" ||
10188$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9976$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10189 X"$mf" : 'X\(//\)[^/]' \| \ 9977 X"$mf" : 'X\(//\)[^/]' \| \
10190 X"$mf" : 'X\(//\)$' \| \ 9978 X"$mf" : 'X\(//\)$' \| \
10191 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 9979 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10192$as_echo X"$mf" | 9980$as_echo X"$mf" |
10205 /^X\(\/\).*/{ 9993 /^X\(\/\).*/{
10206 s//\1/ 9994 s//\1/
10207 q 9995 q
10208 } 9996 }
10209 s/.*/./; q'` 9997 s/.*/./; q'`
10210 else 9998 else
10211 continue 9999 continue
10212 fi 10000 fi
10213 # Extract the definition of DEPDIR, am__include, and am__quote 10001 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
10214 # from the Makefile without running `make'. 10002 # Extract the definition of DEP_FILES from the Makefile without
10003 # running `make'.
10215 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 10004 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
10216 test -z "$DEPDIR" && continue 10005 test -z "$DEPDIR" && continue
10217 am__include=`sed -n 's/^am__include = //p' < "$mf"`
10218 test -z "am__include" && continue
10219 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10220 # 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
10221 U=`sed -n 's/^U = //p' < "$mf"` 10007 U=`sed -n -e '/^U = / s///p' < "$mf"`
10222 # Find all dependency output files, they are included files with 10008 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
10223 # $(DEPDIR) in their names. We invoke sed twice because it is the 10009 # We invoke sed twice because it is the simplest approach to
10224 # simplest approach to changing $(DEPDIR) to its actual value in the 10010 # changing $(DEPDIR) to its actual value in the expansion.
10225 # expansion.
10226 for file in `sed -n " 10011 for file in `sed -n -e '
10227 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" | \
10228 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
10229 # Make sure the directory exists. 10023 # Make sure the directory exists.
10230 test -f "$dirpart/$file" && continue 10024 test -f "$dirpart/$file" && continue
10231 fdir=`$as_dirname -- "$file" || 10025 fdir=`$as_dirname -- "$file" ||
10232$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10026$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10233 X"$file" : 'X\(//\)[^/]' \| \ 10027 X"$file" : 'X\(//\)[^/]' \| \
10234 X"$file" : 'X\(//\)$' \| \ 10028 X"$file" : 'X\(//\)$' \| \
10235 X"$file" : 'X\(/\)' \| . 2>/dev/null || 10029 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10236$as_echo X"$file" | 10030$as_echo X"$file" |
10249 /^X\(\/\).*/{ 10043 /^X\(\/\).*/{
10250 s//\1/ 10044 s//\1/
10251 q 10045 q
10252 } 10046 }
10253 s/.*/./; q'` 10047 s/.*/./; q'`
10254 as_dir=$dirpart/$fdir; as_fn_mkdir_p 10048 as_dir=$dirpart/$fdir; as_fn_mkdir_p
10255 # echo "creating $dirpart/$file" 10049 # echo "creating $dirpart/$file"
10256 echo '# dummy' > "$dirpart/$file" 10050 echo '# dummy' > "$dirpart/$file"
10257 done
10258 done 10051 done
10259} 10052done
10260 ;; 10053 ;;
10261 10054
10262 esac 10055 esac
10263done # for ac_tag 10056done # for ac_tag
10264 10057
10305echo "*** RSA size: $RSA" 10098echo "*** RSA size: $RSA"
10306echo "*** Cipher used: $CIPHER" 10099echo "*** Cipher used: $CIPHER"
10307echo "*** Digest used: $DIGEST" 10100echo "*** Digest used: $DIGEST"
10308echo "*** Authdigest: $AUTH" 10101echo "*** Authdigest: $AUTH"
10309echo "*** HMAC length: $HMAC" 10102echo "*** HMAC length: $HMAC"
10310echo "*** RAND used: $RAND"
10311echo "*** Max. MTU: $MTU" 10103echo "*** Max. MTU: $MTU"
10312 10104
10313echo "***" 10105echo "***"
10314echo "*** Enable options:" 10106echo "*** Enable options:"
10315grep ENABLE_ config.h | sed -e 's/^/*** /' 10107grep ENABLE_ config.h | sed -e 's/^/*** /'
10316 10108
10317if test "$HMAC" -lt 12; then 10109if test "$HMACSIZE" -lt 12; then
10318echo "***" 10110echo "***"
10319echo "*** WARNING: The hmac length you have chosen ($HMAC) is quite insecure" 10111echo "*** WARNING: The hmac length you have chosen ($HMACSIZE) is quite insecure"
10320fi
10321
10322if test "$RAND" -lt 8; then
10323echo "***"
10324echo "*** WARNING: The random prefix you have chosen ($RAND) is probably insecure"
10325fi 10112fi
10326 10113
10327echo "***" 10114echo "***"
10328echo 10115echo
10329 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
10330 10146
10147EOF
10148fi
10149
10150

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines