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

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines