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 | # |
… | |
… | |
573 | subdirs= |
573 | subdirs= |
574 | MFLAGS= |
574 | MFLAGS= |
575 | MAKEFLAGS= |
575 | MAKEFLAGS= |
576 | |
576 | |
577 | # Identity of this package. |
577 | # Identity of this package. |
578 | PACKAGE_NAME= |
578 | PACKAGE_NAME='gvpe' |
579 | PACKAGE_TARNAME= |
579 | PACKAGE_TARNAME='gvpe' |
580 | PACKAGE_VERSION= |
580 | PACKAGE_VERSION='3.1' |
581 | PACKAGE_STRING= |
581 | PACKAGE_STRING='gvpe 3.1' |
582 | PACKAGE_BUGREPORT= |
582 | PACKAGE_BUGREPORT='' |
583 | PACKAGE_URL= |
583 | PACKAGE_URL='' |
584 | |
584 | |
585 | ac_unique_file="src/gvpe.C" |
585 | ac_unique_file="src/gvpe.C" |
586 | # Factoring default headers for most tests. |
586 | # Factoring default headers for most tests. |
587 | ac_includes_default="\ |
587 | ac_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 | |
622 | ac_subst_vars='am__EXEEXT_FALSE |
622 | ac_subst_vars='LTLIBOBJS |
623 | am__EXEEXT_TRUE |
|
|
624 | LTLIBOBJS |
|
|
625 | LIBOBJS |
623 | LIBOBJS |
626 | INCLUDES |
624 | AM_CPPFLAGS |
627 | ROHC_FALSE |
625 | ROHC_FALSE |
628 | ROHC_TRUE |
626 | ROHC_TRUE |
629 | LDFLAGS_DAEMON |
627 | LDFLAGS_DAEMON |
|
|
628 | LIBCRYPTO_LIBS |
|
|
629 | LIBCRYPTO_CFLAGS |
|
|
630 | PKG_CONFIG_LIBDIR |
|
|
631 | PKG_CONFIG_PATH |
|
|
632 | PKG_CONFIG |
630 | HAVE_TUNTAP |
633 | HAVE_TUNTAP |
631 | LINUX_IF_TUN_H |
634 | LINUX_IF_TUN_H |
632 | ALLOCA |
635 | ALLOCA |
633 | CXXCPP |
636 | CXXCPP |
634 | IFSUBTYPE |
637 | IFSUBTYPE |
… | |
… | |
652 | LIBICONV |
655 | LIBICONV |
653 | USE_NLS |
656 | USE_NLS |
654 | am__fastdepCC_FALSE |
657 | am__fastdepCC_FALSE |
655 | am__fastdepCC_TRUE |
658 | am__fastdepCC_TRUE |
656 | CCDEPMODE |
659 | CCDEPMODE |
657 | am__nodep |
|
|
658 | AMDEPBACKSLASH |
660 | AMDEPBACKSLASH |
659 | AMDEP_FALSE |
661 | AMDEP_FALSE |
660 | AMDEP_TRUE |
662 | AMDEP_TRUE |
661 | am__quote |
663 | am__quote |
662 | am__include |
664 | am__include |
… | |
… | |
674 | MSGFMT |
676 | MSGFMT |
675 | MKINSTALLDIRS |
677 | MKINSTALLDIRS |
676 | MAINT |
678 | MAINT |
677 | MAINTAINER_MODE_FALSE |
679 | MAINTAINER_MODE_FALSE |
678 | MAINTAINER_MODE_TRUE |
680 | MAINTAINER_MODE_TRUE |
679 | am__untar |
|
|
680 | am__tar |
|
|
681 | AMTAR |
|
|
682 | am__leading_dot |
681 | am__leading_dot |
683 | SET_MAKE |
682 | SET_MAKE |
684 | AWK |
683 | AWK |
685 | mkdir_p |
|
|
686 | MKDIR_P |
|
|
687 | INSTALL_STRIP_PROGRAM |
684 | INSTALL_STRIP_PROGRAM |
688 | STRIP |
685 | STRIP |
689 | install_sh |
686 | install_sh |
|
|
687 | AMTAR |
690 | MAKEINFO |
688 | MAKEINFO |
691 | AUTOHEADER |
689 | AUTOHEADER |
692 | AUTOMAKE |
690 | AUTOMAKE |
693 | AUTOCONF |
691 | AUTOCONF |
694 | ACLOCAL |
692 | ACLOCAL |
695 | VERSION |
693 | VERSION |
696 | PACKAGE |
694 | PACKAGE |
697 | CYGPATH_W |
695 | CYGPATH_W |
698 | am__isrc |
|
|
699 | INSTALL_DATA |
696 | INSTALL_DATA |
700 | INSTALL_SCRIPT |
697 | INSTALL_SCRIPT |
701 | INSTALL_PROGRAM |
698 | INSTALL_PROGRAM |
702 | target_os |
699 | target_os |
703 | target_vendor |
700 | target_vendor |
… | |
… | |
728 | htmldir |
725 | htmldir |
729 | infodir |
726 | infodir |
730 | docdir |
727 | docdir |
731 | oldincludedir |
728 | oldincludedir |
732 | includedir |
729 | includedir |
|
|
730 | runstatedir |
733 | localstatedir |
731 | localstatedir |
734 | sharedstatedir |
732 | sharedstatedir |
735 | sysconfdir |
733 | sysconfdir |
736 | datadir |
734 | datadir |
737 | datarootdir |
735 | datarootdir |
… | |
… | |
759 | with_libiconv_prefix |
757 | with_libiconv_prefix |
760 | enable_nls |
758 | enable_nls |
761 | with_libintl_prefix |
759 | with_libintl_prefix |
762 | enable_iftype |
760 | enable_iftype |
763 | with_kernel |
761 | with_kernel |
764 | with_openssl_include |
|
|
765 | with_openssl_lib |
|
|
766 | enable_threads |
762 | enable_threads |
767 | enable_static_daemon |
763 | enable_static_daemon |
768 | enable_icmp |
764 | enable_icmp |
769 | enable_tcp |
765 | enable_tcp |
770 | enable_http_proxy |
766 | enable_http_proxy |
771 | enable_dns |
767 | enable_dns |
|
|
768 | enable_rsa_length |
772 | enable_hmac_length |
769 | enable_hmac_length |
773 | enable_rand_length |
|
|
774 | enable_max_mtu |
770 | enable_max_mtu |
775 | enable_compression |
771 | enable_compression |
776 | enable_cipher |
772 | enable_cipher |
777 | enable_digest |
773 | enable_hmac_digest |
|
|
774 | enable_auth_digest |
778 | ' |
775 | ' |
779 | ac_precious_vars='build_alias |
776 | ac_precious_vars='build_alias |
780 | host_alias |
777 | host_alias |
781 | target_alias |
778 | target_alias |
782 | CC |
779 | CC |
… | |
… | |
786 | CPPFLAGS |
783 | CPPFLAGS |
787 | CPP |
784 | CPP |
788 | CXX |
785 | CXX |
789 | CXXFLAGS |
786 | CXXFLAGS |
790 | CCC |
787 | CCC |
791 | CXXCPP' |
788 | CXXCPP |
|
|
789 | PKG_CONFIG |
|
|
790 | PKG_CONFIG_PATH |
|
|
791 | PKG_CONFIG_LIBDIR |
|
|
792 | LIBCRYPTO_CFLAGS |
|
|
793 | LIBCRYPTO_LIBS' |
792 | |
794 | |
793 | |
795 | |
794 | # Initialize some variables set by options. |
796 | # Initialize some variables set by options. |
795 | ac_init_help= |
797 | ac_init_help= |
796 | ac_init_version=false |
798 | ac_init_version=false |
… | |
… | |
825 | datarootdir='${prefix}/share' |
827 | datarootdir='${prefix}/share' |
826 | datadir='${datarootdir}' |
828 | datadir='${datarootdir}' |
827 | sysconfdir='${prefix}/etc' |
829 | sysconfdir='${prefix}/etc' |
828 | sharedstatedir='${prefix}/com' |
830 | sharedstatedir='${prefix}/com' |
829 | localstatedir='${prefix}/var' |
831 | localstatedir='${prefix}/var' |
|
|
832 | runstatedir='${localstatedir}/run' |
830 | includedir='${prefix}/include' |
833 | includedir='${prefix}/include' |
831 | oldincludedir='/usr/include' |
834 | oldincludedir='/usr/include' |
832 | docdir='${datarootdir}/doc/${PACKAGE}' |
835 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
833 | infodir='${datarootdir}/info' |
836 | infodir='${datarootdir}/info' |
834 | htmldir='${docdir}' |
837 | htmldir='${docdir}' |
835 | dvidir='${docdir}' |
838 | dvidir='${docdir}' |
836 | pdfdir='${docdir}' |
839 | pdfdir='${docdir}' |
837 | psdir='${docdir}' |
840 | psdir='${docdir}' |
… | |
… | |
1077 | |
1080 | |
1078 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1081 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1079 | | -silent | --silent | --silen | --sile | --sil) |
1082 | | -silent | --silent | --silen | --sile | --sil) |
1080 | silent=yes ;; |
1083 | silent=yes ;; |
1081 | |
1084 | |
|
|
1085 | -runstatedir | --runstatedir | --runstatedi | --runstated \ |
|
|
1086 | | --runstate | --runstat | --runsta | --runst | --runs \ |
|
|
1087 | | --run | --ru | --r) |
|
|
1088 | ac_prev=runstatedir ;; |
|
|
1089 | -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ |
|
|
1090 | | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ |
|
|
1091 | | --run=* | --ru=* | --r=*) |
|
|
1092 | runstatedir=$ac_optarg ;; |
|
|
1093 | |
1082 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
1094 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
1083 | ac_prev=sbindir ;; |
1095 | ac_prev=sbindir ;; |
1084 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
1096 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
1085 | | --sbi=* | --sb=*) |
1097 | | --sbi=* | --sb=*) |
1086 | sbindir=$ac_optarg ;; |
1098 | sbindir=$ac_optarg ;; |
… | |
… | |
1214 | |
1226 | |
1215 | # Check all directory arguments for consistency. |
1227 | # Check all directory arguments for consistency. |
1216 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1228 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1217 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1229 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1218 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1230 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1219 | libdir localedir mandir |
1231 | libdir localedir mandir runstatedir |
1220 | do |
1232 | do |
1221 | eval ac_val=\$$ac_var |
1233 | eval ac_val=\$$ac_var |
1222 | # Remove trailing slashes. |
1234 | # Remove trailing slashes. |
1223 | case $ac_val in |
1235 | case $ac_val in |
1224 | */ ) |
1236 | */ ) |
… | |
… | |
1327 | # |
1339 | # |
1328 | if test "$ac_init_help" = "long"; then |
1340 | if test "$ac_init_help" = "long"; then |
1329 | # Omit some internal or obsolete options to make the list less imposing. |
1341 | # Omit some internal or obsolete options to make the list less imposing. |
1330 | # This message is too long to be a string in the A/UX 3.1 sh. |
1342 | # This message is too long to be a string in the A/UX 3.1 sh. |
1331 | cat <<_ACEOF |
1343 | cat <<_ACEOF |
1332 | \`configure' configures this package to adapt to many kinds of systems. |
1344 | \`configure' configures gvpe 3.1 to adapt to many kinds of systems. |
1333 | |
1345 | |
1334 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1346 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1335 | |
1347 | |
1336 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
1348 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
1337 | VAR=VALUE. See below for descriptions of some of the useful variables. |
1349 | VAR=VALUE. See below for descriptions of some of the useful variables. |
… | |
… | |
1367 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1379 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1368 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1380 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1369 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1381 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1370 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1382 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1371 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1383 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
|
|
1384 | --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] |
1372 | --libdir=DIR object code libraries [EPREFIX/lib] |
1385 | --libdir=DIR object code libraries [EPREFIX/lib] |
1373 | --includedir=DIR C header files [PREFIX/include] |
1386 | --includedir=DIR C header files [PREFIX/include] |
1374 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1387 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1375 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1388 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1376 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1389 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1377 | --infodir=DIR info documentation [DATAROOTDIR/info] |
1390 | --infodir=DIR info documentation [DATAROOTDIR/info] |
1378 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1391 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1379 | --mandir=DIR man documentation [DATAROOTDIR/man] |
1392 | --mandir=DIR man documentation [DATAROOTDIR/man] |
1380 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
1393 | --docdir=DIR documentation root [DATAROOTDIR/doc/gvpe] |
1381 | --htmldir=DIR html documentation [DOCDIR] |
1394 | --htmldir=DIR html documentation [DOCDIR] |
1382 | --dvidir=DIR dvi documentation [DOCDIR] |
1395 | --dvidir=DIR dvi documentation [DOCDIR] |
1383 | --pdfdir=DIR pdf documentation [DOCDIR] |
1396 | --pdfdir=DIR pdf documentation [DOCDIR] |
1384 | --psdir=DIR ps documentation [DOCDIR] |
1397 | --psdir=DIR ps documentation [DOCDIR] |
1385 | _ACEOF |
1398 | _ACEOF |
… | |
… | |
1397 | --target=TARGET configure for building compilers for TARGET [HOST] |
1410 | --target=TARGET configure for building compilers for TARGET [HOST] |
1398 | _ACEOF |
1411 | _ACEOF |
1399 | fi |
1412 | fi |
1400 | |
1413 | |
1401 | if test -n "$ac_init_help"; then |
1414 | if test -n "$ac_init_help"; then |
1402 | |
1415 | case $ac_init_help in |
|
|
1416 | short | recursive ) echo "Configuration of gvpe 3.1:";; |
|
|
1417 | esac |
1403 | cat <<\_ACEOF |
1418 | cat <<\_ACEOF |
1404 | |
1419 | |
1405 | Optional Features: |
1420 | Optional Features: |
1406 | --disable-option-checking ignore unrecognized --enable/--with options |
1421 | --disable-option-checking ignore unrecognized --enable/--with options |
1407 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1422 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1408 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1423 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1409 | --enable-maintainer-mode enable make rules and dependencies not useful |
1424 | --enable-maintainer-mode enable make rules and dependencies not useful |
1410 | (and sometimes confusing) to the casual installer |
1425 | (and sometimes confusing) to the casual installer |
1411 | --disable-dependency-tracking speeds up one-time build |
1426 | --disable-dependency-tracking Speeds up one-time builds |
1412 | --enable-dependency-tracking do not reject slow dependency extractors |
1427 | --enable-dependency-tracking Do not reject slow dependency extractors |
1413 | --disable-rpath do not hardcode runtime library paths |
1428 | --disable-rpath do not hardcode runtime library paths |
1414 | --disable-nls do not use Native Language Support |
1429 | --disable-nls do not use Native Language Support |
1415 | --enable-iftype=TYPE/SUBTYPE |
1430 | --enable-iftype=TYPE/SUBTYPE |
1416 | Use kernel/net device interface TYPE/SUBTYPE. |
1431 | Use kernel/net device interface TYPE/SUBTYPE. |
1417 | Working combinations are (see doc/gvpe.osdep.5.pod): |
1432 | Working combinations are (see doc/gvpe.osdep.5.pod): |
… | |
… | |
1428 | --disable-icmp enable icmp protocol support (default enabled). |
1443 | --disable-icmp enable icmp protocol support (default enabled). |
1429 | --disable-tcp enable tcp protocol support (default enabled). |
1444 | --disable-tcp enable tcp protocol support (default enabled). |
1430 | --disable-http-proxy enable http proxy connect support (default enabled). |
1445 | --disable-http-proxy enable http proxy connect support (default enabled). |
1431 | --enable-dns enable dns tunnel protocol support (default |
1446 | --enable-dns enable dns tunnel protocol support (default |
1432 | disabled). |
1447 | disabled). |
|
|
1448 | --enable-rsa-length=BITS |
|
|
1449 | use BITS rsa keys (default 3072). Allowed values are |
|
|
1450 | 2048-10240. |
1433 | --enable-hmac-length=BYTES |
1451 | --enable-hmac-length=BYTES |
1434 | use a hmac of length BYTES bytes (default 12). |
1452 | use a hmac of length BYTES bytes (default 12). |
1435 | Allowed values are 4, 8, 12, 16. |
1453 | Allowed values are 4, 8, 12, 16. |
1436 | --enable-rand-length=BYTES |
|
|
1437 | use BYTES bytes of extra randomness (default 8). |
|
|
1438 | Allowed values are 0, 4, 8. |
|
|
1439 | --enable-max-mtu=BYTES enable mtu sizes upto BYTES bytes (default 1500). |
1454 | --enable-max-mtu=BYTES enable mtu sizes upto BYTES bytes (default 1500). |
1440 | Use 9100 for jumbogram support. |
1455 | Use 9100 for jumbogram support. |
1441 | --disable-compression Disable compression support. |
1456 | --disable-compression Disable compression support. |
1442 | --enable-cipher=CIPHER Select the symmetric cipher (default "aes-128"). |
1457 | --enable-cipher=CIPHER Select the symmetric cipher (default "aes-128"). |
1443 | Must be one of "bf" (blowfish), "aes-128" |
1458 | Must be one of "aes-128" (rijndael), "aes-192", or |
1444 | (rijndael), "aes-192" or "aes-256". |
1459 | "aes-256". |
1445 | --enable-digest=CIPHER Select the digest algorithm to use (default |
1460 | --enable-hmac-digest=HMAC |
|
|
1461 | Select the HMAC digest algorithm to use (default |
1446 | "ripemd160"). Must be one of "sha512", "sha256", |
1462 | "sha1"). Must be one of "sha512", "sha256", "sha1", |
1447 | "sha1" (somewhat insecure), "ripemd160", "md5" |
1463 | "ripemd160", "whirlpool". |
1448 | (insecure) or "md4" (insecure). |
1464 | --enable-auth-digest=DIGEST |
|
|
1465 | Select the hmac algorithm to use (default "sha512"). |
|
|
1466 | Must be one of "sha512", "sha256", "whirlpool". |
1449 | |
1467 | |
1450 | Optional Packages: |
1468 | Optional Packages: |
1451 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1469 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1452 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1470 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1453 | --with-gnu-ld assume the C compiler uses GNU ld default=no |
1471 | --with-gnu-ld assume the C compiler uses GNU ld default=no |
… | |
… | |
1455 | --without-libiconv-prefix don't search for libiconv in includedir and libdir |
1473 | --without-libiconv-prefix don't search for libiconv in includedir and libdir |
1456 | --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib |
1474 | --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib |
1457 | --without-libintl-prefix don't search for libintl in includedir and libdir |
1475 | --without-libintl-prefix don't search for libintl in includedir and libdir |
1458 | --with-kernel=dir give the directory with kernel sources |
1476 | --with-kernel=dir give the directory with kernel sources |
1459 | (default: /usr/src/linux) |
1477 | (default: /usr/src/linux) |
1460 | --with-openssl-include=DIR OpenSSL headers directory (without trailing /openssl) |
|
|
1461 | --with-openssl-lib=DIR OpenSSL library directory |
|
|
1462 | |
1478 | |
1463 | Some influential environment variables: |
1479 | Some influential environment variables: |
1464 | CC C compiler command |
1480 | CC C compiler command |
1465 | CFLAGS C compiler flags |
1481 | CFLAGS C compiler flags |
1466 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1482 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
… | |
… | |
1470 | you have headers in a nonstandard directory <include dir> |
1486 | you have headers in a nonstandard directory <include dir> |
1471 | CPP C preprocessor |
1487 | CPP C preprocessor |
1472 | CXX C++ compiler command |
1488 | CXX C++ compiler command |
1473 | CXXFLAGS C++ compiler flags |
1489 | CXXFLAGS C++ compiler flags |
1474 | CXXCPP C++ preprocessor |
1490 | CXXCPP C++ preprocessor |
|
|
1491 | PKG_CONFIG path to pkg-config utility |
|
|
1492 | PKG_CONFIG_PATH |
|
|
1493 | directories to add to pkg-config's search path |
|
|
1494 | PKG_CONFIG_LIBDIR |
|
|
1495 | path overriding pkg-config's built-in search path |
|
|
1496 | LIBCRYPTO_CFLAGS |
|
|
1497 | C compiler flags for LIBCRYPTO, overriding pkg-config |
|
|
1498 | LIBCRYPTO_LIBS |
|
|
1499 | linker flags for LIBCRYPTO, overriding pkg-config |
1475 | |
1500 | |
1476 | Use these variables to override the choices made by `configure' or to help |
1501 | Use these variables to override the choices made by `configure' or to help |
1477 | it to find libraries and programs with nonstandard names/locations. |
1502 | it to find libraries and programs with nonstandard names/locations. |
1478 | |
1503 | |
1479 | Report bugs to the package provider. |
1504 | Report bugs to the package provider. |
… | |
… | |
1537 | fi |
1562 | fi |
1538 | |
1563 | |
1539 | test -n "$ac_init_help" && exit $ac_status |
1564 | test -n "$ac_init_help" && exit $ac_status |
1540 | if $ac_init_version; then |
1565 | if $ac_init_version; then |
1541 | cat <<\_ACEOF |
1566 | cat <<\_ACEOF |
1542 | configure |
1567 | gvpe configure 3.1 |
1543 | generated by GNU Autoconf 2.69 |
1568 | generated by GNU Autoconf 2.69 |
1544 | |
1569 | |
1545 | Copyright (C) 2012 Free Software Foundation, Inc. |
1570 | Copyright (C) 2012 Free Software Foundation, Inc. |
1546 | This configure script is free software; the Free Software Foundation |
1571 | This configure script is free software; the Free Software Foundation |
1547 | gives unlimited permission to copy, distribute and modify it. |
1572 | gives unlimited permission to copy, distribute and modify it. |
… | |
… | |
2202 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
2227 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
2203 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2228 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2204 | as_fn_set_status $ac_retval |
2229 | as_fn_set_status $ac_retval |
2205 | |
2230 | |
2206 | } # ac_fn_cxx_try_link |
2231 | } # ac_fn_cxx_try_link |
2207 | |
|
|
2208 | # ac_fn_cxx_check_func LINENO FUNC VAR |
|
|
2209 | # ------------------------------------ |
|
|
2210 | # Tests whether FUNC exists, setting the cache variable VAR accordingly |
|
|
2211 | ac_fn_cxx_check_func () |
|
|
2212 | { |
|
|
2213 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
2214 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
|
2215 | $as_echo_n "checking for $2... " >&6; } |
|
|
2216 | if eval \${$3+:} false; then : |
|
|
2217 | $as_echo_n "(cached) " >&6 |
|
|
2218 | else |
|
|
2219 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2220 | /* end confdefs.h. */ |
|
|
2221 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
|
|
2222 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
2223 | #define $2 innocuous_$2 |
|
|
2224 | |
|
|
2225 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
2226 | which can conflict with char $2 (); below. |
|
|
2227 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
2228 | <limits.h> exists even on freestanding compilers. */ |
|
|
2229 | |
|
|
2230 | #ifdef __STDC__ |
|
|
2231 | # include <limits.h> |
|
|
2232 | #else |
|
|
2233 | # include <assert.h> |
|
|
2234 | #endif |
|
|
2235 | |
|
|
2236 | #undef $2 |
|
|
2237 | |
|
|
2238 | /* Override any GCC internal prototype to avoid an error. |
|
|
2239 | Use char because int might match the return type of a GCC |
|
|
2240 | builtin and then its argument prototype would still apply. */ |
|
|
2241 | #ifdef __cplusplus |
|
|
2242 | extern "C" |
|
|
2243 | #endif |
|
|
2244 | char $2 (); |
|
|
2245 | /* The GNU C library defines this for functions which it implements |
|
|
2246 | to always fail with ENOSYS. Some functions are actually named |
|
|
2247 | something starting with __ and the normal name is an alias. */ |
|
|
2248 | #if defined __stub_$2 || defined __stub___$2 |
|
|
2249 | choke me |
|
|
2250 | #endif |
|
|
2251 | |
|
|
2252 | int |
|
|
2253 | main () |
|
|
2254 | { |
|
|
2255 | return $2 (); |
|
|
2256 | ; |
|
|
2257 | return 0; |
|
|
2258 | } |
|
|
2259 | _ACEOF |
|
|
2260 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
2261 | eval "$3=yes" |
|
|
2262 | else |
|
|
2263 | eval "$3=no" |
|
|
2264 | fi |
|
|
2265 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
2266 | conftest$ac_exeext conftest.$ac_ext |
|
|
2267 | fi |
|
|
2268 | eval ac_res=\$$3 |
|
|
2269 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
|
2270 | $as_echo "$ac_res" >&6; } |
|
|
2271 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
2272 | |
|
|
2273 | } # ac_fn_cxx_check_func |
|
|
2274 | cat >config.log <<_ACEOF |
2232 | cat >config.log <<_ACEOF |
2275 | This file contains any messages produced by compilers while |
2233 | This file contains any messages produced by compilers while |
2276 | running configure, to aid debugging if configure makes a mistake. |
2234 | running configure, to aid debugging if configure makes a mistake. |
2277 | |
2235 | |
2278 | It was created by $as_me, which was |
2236 | It was created by gvpe $as_me 3.1, which was |
2279 | generated by GNU Autoconf 2.69. Invocation command line was |
2237 | generated by GNU Autoconf 2.69. Invocation command line was |
2280 | |
2238 | |
2281 | $ $0 $@ |
2239 | $ $0 $@ |
2282 | |
2240 | |
2283 | _ACEOF |
2241 | _ACEOF |
… | |
… | |
2761 | # will get canonicalized. |
2719 | # will get canonicalized. |
2762 | test -n "$target_alias" && |
2720 | test -n "$target_alias" && |
2763 | test "$program_prefix$program_suffix$program_transform_name" = \ |
2721 | test "$program_prefix$program_suffix$program_transform_name" = \ |
2764 | NONENONEs,x,x, && |
2722 | NONENONEs,x,x, && |
2765 | program_prefix=${target_alias}- |
2723 | program_prefix=${target_alias}- |
2766 | am__api_version='1.11' |
2724 | am__api_version="1.7" |
2767 | |
|
|
2768 | # Find a good install program. We prefer a C program (faster), |
2725 | # Find a good install program. We prefer a C program (faster), |
2769 | # so one script is as good as another. But avoid the broken or |
2726 | # so one script is as good as another. But avoid the broken or |
2770 | # incompatible versions: |
2727 | # incompatible versions: |
2771 | # SysV /etc/install, /usr/sbin/install |
2728 | # SysV /etc/install, /usr/sbin/install |
2772 | # SunOS /usr/etc/install |
2729 | # SunOS /usr/etc/install |
… | |
… | |
2861 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
2818 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
2862 | $as_echo_n "checking whether build environment is sane... " >&6; } |
2819 | $as_echo_n "checking whether build environment is sane... " >&6; } |
2863 | # Just in case |
2820 | # Just in case |
2864 | sleep 1 |
2821 | sleep 1 |
2865 | echo timestamp > conftest.file |
2822 | echo timestamp > conftest.file |
2866 | # Reject unsafe characters in $srcdir or the absolute working directory |
|
|
2867 | # name. Accept space and tab only in the latter. |
|
|
2868 | am_lf=' |
|
|
2869 | ' |
|
|
2870 | case `pwd` in |
|
|
2871 | *[\\\"\#\$\&\'\`$am_lf]*) |
|
|
2872 | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
|
|
2873 | esac |
|
|
2874 | case $srcdir in |
|
|
2875 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
|
|
2876 | as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
|
|
2877 | esac |
|
|
2878 | |
|
|
2879 | # Do `set' in a subshell so we don't clobber the current shell's |
2823 | # Do `set' in a subshell so we don't clobber the current shell's |
2880 | # arguments. Must try -L first in case configure is actually a |
2824 | # arguments. Must try -L first in case configure is actually a |
2881 | # symlink; some systems play weird games with the mod time of symlinks |
2825 | # symlink; some systems play weird games with the mod time of symlinks |
2882 | # (eg FreeBSD returns the mod time of the symlink's containing |
2826 | # (eg FreeBSD returns the mod time of the symlink's containing |
2883 | # directory). |
2827 | # directory). |
2884 | if ( |
2828 | if ( |
2885 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
2829 | set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` |
2886 | if test "$*" = "X"; then |
2830 | if test "$*" = "X"; then |
2887 | # -L didn't work. |
2831 | # -L didn't work. |
2888 | set X `ls -t "$srcdir/configure" conftest.file` |
2832 | set X `ls -t $srcdir/configure conftest.file` |
2889 | fi |
2833 | fi |
2890 | rm -f conftest.file |
2834 | rm -f conftest.file |
2891 | if test "$*" != "X $srcdir/configure conftest.file" \ |
2835 | if test "$*" != "X $srcdir/configure conftest.file" \ |
2892 | && test "$*" != "X conftest.file $srcdir/configure"; then |
2836 | && test "$*" != "X conftest.file $srcdir/configure"; then |
2893 | |
2837 | |
… | |
… | |
2918 | # Double any \ or $. |
2862 | # Double any \ or $. |
2919 | # By default was `s,x,x', remove it if useless. |
2863 | # By default was `s,x,x', remove it if useless. |
2920 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
2864 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
2921 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
2865 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
2922 | |
2866 | |
|
|
2867 | |
2923 | # expand $ac_aux_dir to an absolute path |
2868 | # expand $ac_aux_dir to an absolute path |
2924 | am_aux_dir=`cd $ac_aux_dir && pwd` |
2869 | am_aux_dir=`cd $ac_aux_dir && pwd` |
2925 | |
2870 | |
2926 | if test x"${MISSING+set}" != xset; then |
2871 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
2927 | case $am_aux_dir in |
|
|
2928 | *\ * | *\ *) |
|
|
2929 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
|
|
2930 | *) |
|
|
2931 | MISSING="\${SHELL} $am_aux_dir/missing" ;; |
|
|
2932 | esac |
|
|
2933 | fi |
|
|
2934 | # Use eval to expand $SHELL |
2872 | # Use eval to expand $SHELL |
2935 | if eval "$MISSING --run true"; then |
2873 | if eval "$MISSING --run true"; then |
2936 | am_missing_run="$MISSING --run " |
2874 | am_missing_run="$MISSING --run " |
2937 | else |
2875 | else |
2938 | am_missing_run= |
2876 | am_missing_run= |
2939 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
2877 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
2940 | $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
2878 | $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
2941 | fi |
2879 | fi |
2942 | |
2880 | |
2943 | if test x"${install_sh}" != xset; then |
2881 | for ac_prog in gawk mawk nawk awk |
2944 | case $am_aux_dir in |
2882 | do |
2945 | *\ * | *\ *) |
2883 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2946 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
2884 | set 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; } |
|
|
2887 | if ${ac_cv_prog_AWK+:} false; then : |
|
|
2888 | $as_echo_n "(cached) " >&6 |
|
|
2889 | else |
|
|
2890 | if test -n "$AWK"; then |
|
|
2891 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|
|
2892 | else |
|
|
2893 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
2894 | for as_dir in $PATH |
|
|
2895 | do |
|
|
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 |
|
|
2904 | done |
|
|
2905 | done |
|
|
2906 | IFS=$as_save_IFS |
|
|
2907 | |
|
|
2908 | fi |
|
|
2909 | fi |
|
|
2910 | AWK=$ac_cv_prog_AWK |
|
|
2911 | if test -n "$AWK"; then |
|
|
2912 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
|
|
2913 | $as_echo "$AWK" >&6; } |
|
|
2914 | else |
|
|
2915 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
2916 | $as_echo "no" >&6; } |
|
|
2917 | fi |
|
|
2918 | |
|
|
2919 | |
|
|
2920 | test -n "$AWK" && break |
|
|
2921 | done |
|
|
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; } |
|
|
2925 | set x ${MAKE-make} |
|
|
2926 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
|
|
2927 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
|
|
2928 | $as_echo_n "(cached) " >&6 |
|
|
2929 | else |
|
|
2930 | cat >conftest.make <<\_ACEOF |
|
|
2931 | SHELL = /bin/sh |
|
|
2932 | all: |
|
|
2933 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
|
|
2934 | _ACEOF |
|
|
2935 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
|
|
2936 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
|
|
2937 | *@@@%%%=?*=@@@%%%*) |
|
|
2938 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
2947 | *) |
2939 | *) |
2948 | install_sh="\${SHELL} $am_aux_dir/install-sh" |
2940 | eval ac_cv_prog_make_${ac_make}_set=no;; |
2949 | esac |
2941 | esac |
|
|
2942 | rm -f conftest.make |
2950 | fi |
2943 | fi |
|
|
2944 | if 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= |
|
|
2948 | else |
|
|
2949 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
2950 | $as_echo "no" >&6; } |
|
|
2951 | SET_MAKE="MAKE=${MAKE-make}" |
|
|
2952 | fi |
|
|
2953 | |
|
|
2954 | rm -rf .tst 2>/dev/null |
|
|
2955 | mkdir .tst 2>/dev/null |
|
|
2956 | if test -d .tst; then |
|
|
2957 | am__leading_dot=. |
|
|
2958 | else |
|
|
2959 | am__leading_dot=_ |
|
|
2960 | fi |
|
|
2961 | rmdir .tst 2>/dev/null |
|
|
2962 | |
|
|
2963 | # test to see if srcdir already configured |
|
|
2964 | if 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 |
|
|
2967 | fi |
|
|
2968 | |
|
|
2969 | # test whether we have cygpath |
|
|
2970 | if 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 |
|
|
2976 | fi |
|
|
2977 | |
|
|
2978 | |
|
|
2979 | # Define the identity of the package. |
|
|
2980 | PACKAGE='gvpe' |
|
|
2981 | VERSION='3.1' |
|
|
2982 | |
|
|
2983 | |
|
|
2984 | cat >>confdefs.h <<_ACEOF |
|
|
2985 | #define PACKAGE "$PACKAGE" |
|
|
2986 | _ACEOF |
|
|
2987 | |
|
|
2988 | |
|
|
2989 | cat >>confdefs.h <<_ACEOF |
|
|
2990 | #define VERSION "$VERSION" |
|
|
2991 | _ACEOF |
|
|
2992 | |
|
|
2993 | # Some tools Automake needs. |
|
|
2994 | |
|
|
2995 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
|
|
2996 | |
|
|
2997 | |
|
|
2998 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
|
|
2999 | |
|
|
3000 | |
|
|
3001 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
|
|
3002 | |
|
|
3003 | |
|
|
3004 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
|
|
3005 | |
|
|
3006 | |
|
|
3007 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|
|
3008 | |
|
|
3009 | |
|
|
3010 | AMTAR=${AMTAR-"${am_missing_run}tar"} |
|
|
3011 | |
|
|
3012 | install_sh=${install_sh-"$am_aux_dir/install-sh"} |
2951 | |
3013 | |
2952 | # Installed binaries are usually stripped using `strip' when the user |
3014 | # Installed binaries are usually stripped using `strip' when the user |
2953 | # run `make install-strip'. However `strip' might not be the right |
3015 | # run `make install-strip'. However `strip' might not be the right |
2954 | # tool to use in cross-compilation environments, therefore Automake |
3016 | # tool to use in cross-compilation environments, therefore Automake |
2955 | # will honor the `STRIP' environment variable to overrule this program. |
3017 | # will honor the `STRIP' environment variable to overrule this program. |
… | |
… | |
3045 | else |
3107 | else |
3046 | STRIP="$ac_cv_prog_STRIP" |
3108 | STRIP="$ac_cv_prog_STRIP" |
3047 | fi |
3109 | fi |
3048 | |
3110 | |
3049 | fi |
3111 | fi |
3050 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
3112 | INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
3051 | |
|
|
3052 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
|
|
3053 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
|
|
3054 | if test -z "$MKDIR_P"; then |
|
|
3055 | if ${ac_cv_path_mkdir+:} false; then : |
|
|
3056 | $as_echo_n "(cached) " >&6 |
|
|
3057 | else |
|
|
3058 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3059 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
|
|
3060 | do |
|
|
3061 | IFS=$as_save_IFS |
|
|
3062 | test -z "$as_dir" && as_dir=. |
|
|
3063 | for ac_prog in mkdir gmkdir; do |
|
|
3064 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3065 | as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
|
|
3066 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
|
|
3067 | 'mkdir (GNU coreutils) '* | \ |
|
|
3068 | 'mkdir (coreutils) '* | \ |
|
|
3069 | 'mkdir (fileutils) '4.1*) |
|
|
3070 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
|
|
3071 | break 3;; |
|
|
3072 | esac |
|
|
3073 | done |
|
|
3074 | done |
|
|
3075 | done |
|
|
3076 | IFS=$as_save_IFS |
|
|
3077 | |
|
|
3078 | fi |
|
|
3079 | |
|
|
3080 | test -d ./--version && rmdir ./--version |
|
|
3081 | if test "${ac_cv_path_mkdir+set}" = set; then |
|
|
3082 | MKDIR_P="$ac_cv_path_mkdir -p" |
|
|
3083 | else |
|
|
3084 | # As a last resort, use the slow shell script. Don't cache a |
|
|
3085 | # value for MKDIR_P within a source directory, because that will |
|
|
3086 | # break other packages using the cache if that directory is |
|
|
3087 | # removed, or if the value is a relative name. |
|
|
3088 | MKDIR_P="$ac_install_sh -d" |
|
|
3089 | fi |
|
|
3090 | fi |
|
|
3091 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
|
|
3092 | $as_echo "$MKDIR_P" >&6; } |
|
|
3093 | |
|
|
3094 | mkdir_p="$MKDIR_P" |
|
|
3095 | case $mkdir_p in |
|
|
3096 | [\\/$]* | ?:[\\/]*) ;; |
|
|
3097 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
|
|
3098 | esac |
|
|
3099 | |
|
|
3100 | for ac_prog in gawk mawk nawk awk |
|
|
3101 | do |
|
|
3102 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
3103 | set dummy $ac_prog; ac_word=$2 |
|
|
3104 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
3105 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
3106 | if ${ac_cv_prog_AWK+:} false; then : |
|
|
3107 | $as_echo_n "(cached) " >&6 |
|
|
3108 | else |
|
|
3109 | if test -n "$AWK"; then |
|
|
3110 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|
|
3111 | else |
|
|
3112 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3113 | for as_dir in $PATH |
|
|
3114 | do |
|
|
3115 | IFS=$as_save_IFS |
|
|
3116 | test -z "$as_dir" && as_dir=. |
|
|
3117 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3118 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
3119 | ac_cv_prog_AWK="$ac_prog" |
|
|
3120 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3121 | break 2 |
|
|
3122 | fi |
|
|
3123 | done |
|
|
3124 | done |
|
|
3125 | IFS=$as_save_IFS |
|
|
3126 | |
|
|
3127 | fi |
|
|
3128 | fi |
|
|
3129 | AWK=$ac_cv_prog_AWK |
|
|
3130 | if test -n "$AWK"; then |
|
|
3131 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
|
|
3132 | $as_echo "$AWK" >&6; } |
|
|
3133 | else |
|
|
3134 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
3135 | $as_echo "no" >&6; } |
|
|
3136 | fi |
|
|
3137 | |
|
|
3138 | |
|
|
3139 | test -n "$AWK" && break |
|
|
3140 | done |
|
|
3141 | |
|
|
3142 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
|
|
3143 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
|
|
3144 | set x ${MAKE-make} |
|
|
3145 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
|
|
3146 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
|
|
3147 | $as_echo_n "(cached) " >&6 |
|
|
3148 | else |
|
|
3149 | cat >conftest.make <<\_ACEOF |
|
|
3150 | SHELL = /bin/sh |
|
|
3151 | all: |
|
|
3152 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
|
|
3153 | _ACEOF |
|
|
3154 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
|
|
3155 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
|
|
3156 | *@@@%%%=?*=@@@%%%*) |
|
|
3157 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
|
|
3158 | *) |
|
|
3159 | eval ac_cv_prog_make_${ac_make}_set=no;; |
|
|
3160 | esac |
|
|
3161 | rm -f conftest.make |
|
|
3162 | fi |
|
|
3163 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
|
|
3164 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
|
3165 | $as_echo "yes" >&6; } |
|
|
3166 | SET_MAKE= |
|
|
3167 | else |
|
|
3168 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
3169 | $as_echo "no" >&6; } |
|
|
3170 | SET_MAKE="MAKE=${MAKE-make}" |
|
|
3171 | fi |
|
|
3172 | |
|
|
3173 | rm -rf .tst 2>/dev/null |
|
|
3174 | mkdir .tst 2>/dev/null |
|
|
3175 | if test -d .tst; then |
|
|
3176 | am__leading_dot=. |
|
|
3177 | else |
|
|
3178 | am__leading_dot=_ |
|
|
3179 | fi |
|
|
3180 | rmdir .tst 2>/dev/null |
|
|
3181 | |
|
|
3182 | if test "`cd $srcdir && pwd`" != "`pwd`"; then |
|
|
3183 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
|
|
3184 | # is not polluted with repeated "-I." |
|
|
3185 | am__isrc=' -I$(srcdir)' |
|
|
3186 | # test to see if srcdir already configured |
|
|
3187 | if test -f $srcdir/config.status; then |
|
|
3188 | as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
|
|
3189 | fi |
|
|
3190 | fi |
|
|
3191 | |
|
|
3192 | # test whether we have cygpath |
|
|
3193 | if test -z "$CYGPATH_W"; then |
|
|
3194 | if (cygpath --version) >/dev/null 2>/dev/null; then |
|
|
3195 | CYGPATH_W='cygpath -w' |
|
|
3196 | else |
|
|
3197 | CYGPATH_W=echo |
|
|
3198 | fi |
|
|
3199 | fi |
|
|
3200 | |
|
|
3201 | |
|
|
3202 | # Define the identity of the package. |
|
|
3203 | PACKAGE=gvpe |
|
|
3204 | VERSION=2.24 |
|
|
3205 | |
|
|
3206 | |
|
|
3207 | cat >>confdefs.h <<_ACEOF |
|
|
3208 | #define PACKAGE "$PACKAGE" |
|
|
3209 | _ACEOF |
|
|
3210 | |
|
|
3211 | |
|
|
3212 | cat >>confdefs.h <<_ACEOF |
|
|
3213 | #define VERSION "$VERSION" |
|
|
3214 | _ACEOF |
|
|
3215 | |
|
|
3216 | # Some tools Automake needs. |
|
|
3217 | |
|
|
3218 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
|
|
3219 | |
|
|
3220 | |
|
|
3221 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
|
|
3222 | |
|
|
3223 | |
|
|
3224 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
|
|
3225 | |
|
|
3226 | |
|
|
3227 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
|
|
3228 | |
|
|
3229 | |
|
|
3230 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|
|
3231 | |
3113 | |
3232 | # We need awk for the "check" target. The system "awk" is bad on |
3114 | # We need awk for the "check" target. The system "awk" is bad on |
3233 | # some platforms. |
3115 | # some platforms. |
3234 | # Always define AMTAR for backward compatibility. Yes, it's still used |
|
|
3235 | # in the wild :-( We should find a proper way to deprecate it ... |
|
|
3236 | AMTAR='$${TAR-tar}' |
|
|
3237 | |
|
|
3238 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
|
|
3239 | |
|
|
3240 | |
|
|
3241 | |
3116 | |
3242 | |
3117 | |
3243 | |
3118 | |
3244 | ac_config_headers="$ac_config_headers config.h" |
3119 | ac_config_headers="$ac_config_headers config.h" |
3245 | |
|
|
3246 | |
3120 | |
3247 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
3121 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
3248 | $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
3122 | $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
3249 | # Check whether --enable-maintainer-mode was given. |
3123 | # Check whether --enable-maintainer-mode was given. |
3250 | if test "${enable_maintainer_mode+set}" = set; then : |
3124 | if test "${enable_maintainer_mode+set}" = set; then : |
… | |
… | |
3253 | USE_MAINTAINER_MODE=no |
3127 | USE_MAINTAINER_MODE=no |
3254 | fi |
3128 | fi |
3255 | |
3129 | |
3256 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
3130 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
3257 | $as_echo "$USE_MAINTAINER_MODE" >&6; } |
3131 | $as_echo "$USE_MAINTAINER_MODE" >&6; } |
|
|
3132 | |
|
|
3133 | |
3258 | if test $USE_MAINTAINER_MODE = yes; then |
3134 | if test $USE_MAINTAINER_MODE = yes; then |
3259 | MAINTAINER_MODE_TRUE= |
3135 | MAINTAINER_MODE_TRUE= |
3260 | MAINTAINER_MODE_FALSE='#' |
3136 | MAINTAINER_MODE_FALSE='#' |
3261 | else |
3137 | else |
3262 | MAINTAINER_MODE_TRUE='#' |
3138 | MAINTAINER_MODE_TRUE='#' |
3263 | MAINTAINER_MODE_FALSE= |
3139 | MAINTAINER_MODE_FALSE= |
… | |
… | |
3488 | |
3364 | |
3489 | |
3365 | |
3490 | am_make=${MAKE-make} |
3366 | am_make=${MAKE-make} |
3491 | cat > confinc << 'END' |
3367 | cat > confinc << 'END' |
3492 | am__doit: |
3368 | am__doit: |
3493 | @echo this is the am__doit target |
3369 | @echo done |
3494 | .PHONY: am__doit |
3370 | .PHONY: am__doit |
3495 | END |
3371 | END |
3496 | # If we don't find an include directive, just comment out the code. |
3372 | # If we don't find an include directive, just comment out the code. |
3497 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
3373 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
3498 | $as_echo_n "checking for style of include used by $am_make... " >&6; } |
3374 | $as_echo_n "checking for style of include used by $am_make... " >&6; } |
3499 | am__include="#" |
3375 | am__include="#" |
3500 | am__quote= |
3376 | am__quote= |
3501 | _am_result=none |
3377 | _am_result=none |
3502 | # First try GNU make style include. |
3378 | # First try GNU make style include. |
3503 | echo "include confinc" > confmf |
3379 | echo "include confinc" > confmf |
3504 | # Ignore all kinds of additional output from `make'. |
3380 | # We grep out `Entering directory' and `Leaving directory' |
3505 | case `$am_make -s -f confmf 2> /dev/null` in #( |
3381 | # messages which can occur if `w' ends up in MAKEFLAGS. |
3506 | *the\ am__doit\ target*) |
3382 | # In particular we don't look at `^make:' because GNU make might |
|
|
3383 | # be invoked under some other name (usually "gmake"), in which |
|
|
3384 | # case it prints its new name instead of `make'. |
|
|
3385 | if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then |
3507 | am__include=include |
3386 | am__include=include |
3508 | am__quote= |
3387 | am__quote= |
3509 | _am_result=GNU |
3388 | _am_result=GNU |
3510 | ;; |
3389 | fi |
3511 | esac |
|
|
3512 | # Now try BSD make style include. |
3390 | # Now try BSD make style include. |
3513 | if test "$am__include" = "#"; then |
3391 | if test "$am__include" = "#"; then |
3514 | echo '.include "confinc"' > confmf |
3392 | echo '.include "confinc"' > confmf |
3515 | case `$am_make -s -f confmf 2> /dev/null` in #( |
3393 | if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then |
3516 | *the\ am__doit\ target*) |
|
|
3517 | am__include=.include |
3394 | am__include=.include |
3518 | am__quote="\"" |
3395 | am__quote="\"" |
3519 | _am_result=BSD |
3396 | _am_result=BSD |
3520 | ;; |
3397 | fi |
3521 | esac |
|
|
3522 | fi |
3398 | fi |
3523 | |
3399 | |
3524 | |
3400 | |
3525 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
3401 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
3526 | $as_echo "$_am_result" >&6; } |
3402 | $as_echo "$_am_result" >&6; } |
… | |
… | |
3532 | fi |
3408 | fi |
3533 | |
3409 | |
3534 | if test "x$enable_dependency_tracking" != xno; then |
3410 | if test "x$enable_dependency_tracking" != xno; then |
3535 | am_depcomp="$ac_aux_dir/depcomp" |
3411 | am_depcomp="$ac_aux_dir/depcomp" |
3536 | AMDEPBACKSLASH='\' |
3412 | AMDEPBACKSLASH='\' |
3537 | am__nodep='_no' |
|
|
3538 | fi |
3413 | fi |
|
|
3414 | |
|
|
3415 | |
3539 | if test "x$enable_dependency_tracking" != xno; then |
3416 | if test "x$enable_dependency_tracking" != xno; then |
3540 | AMDEP_TRUE= |
3417 | AMDEP_TRUE= |
3541 | AMDEP_FALSE='#' |
3418 | AMDEP_FALSE='#' |
3542 | else |
3419 | else |
3543 | AMDEP_TRUE='#' |
3420 | AMDEP_TRUE='#' |
3544 | AMDEP_FALSE= |
3421 | AMDEP_FALSE= |
3545 | fi |
3422 | fi |
|
|
3423 | |
3546 | |
3424 | |
3547 | |
3425 | |
3548 | ac_ext=c |
3426 | ac_ext=c |
3549 | ac_cpp='$CPP $CPPFLAGS' |
3427 | ac_cpp='$CPP $CPPFLAGS' |
3550 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3428 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
4345 | # We make a subdir and do the tests there. Otherwise we can end up |
4223 | # We make a subdir and do the tests there. Otherwise we can end up |
4346 | # making bogus files that we don't know about and never remove. For |
4224 | # making bogus files that we don't know about and never remove. For |
4347 | # instance it was reported that on HP-UX the gcc test will end up |
4225 | # instance it was reported that on HP-UX the gcc test will end up |
4348 | # making a dummy file named `D' -- because `-MD' means `put the output |
4226 | # making a dummy file named `D' -- because `-MD' means `put the output |
4349 | # in D'. |
4227 | # in D'. |
4350 | rm -rf conftest.dir |
|
|
4351 | mkdir conftest.dir |
4228 | mkdir conftest.dir |
4352 | # Copy depcomp to subdir because otherwise we won't find it if we're |
4229 | # Copy depcomp to subdir because otherwise we won't find it if we're |
4353 | # using a relative directory. |
4230 | # using a relative directory. |
4354 | cp "$am_depcomp" conftest.dir |
4231 | cp "$am_depcomp" conftest.dir |
4355 | cd conftest.dir |
4232 | cd conftest.dir |
… | |
… | |
4363 | |
4240 | |
4364 | am_cv_CC_dependencies_compiler_type=none |
4241 | am_cv_CC_dependencies_compiler_type=none |
4365 | if test "$am_compiler_list" = ""; then |
4242 | if test "$am_compiler_list" = ""; then |
4366 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
4243 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
4367 | fi |
4244 | fi |
4368 | am__universal=false |
|
|
4369 | case " $depcc " in #( |
|
|
4370 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
|
|
4371 | esac |
|
|
4372 | |
|
|
4373 | for depmode in $am_compiler_list; do |
4245 | for depmode in $am_compiler_list; do |
4374 | # Setup a source with many dependencies, because some compilers |
4246 | # Setup a source with many dependencies, because some compilers |
4375 | # like to wrap large dependency lists on column 80 (with \), and |
4247 | # like to wrap large dependency lists on column 80 (with \), and |
4376 | # we should not choose a depcomp mode which is confused by this. |
4248 | # we should not choose a depcomp mode which is confused by this. |
4377 | # |
4249 | # |
… | |
… | |
4379 | # overwrite some of them when testing with obscure command lines. |
4251 | # overwrite some of them when testing with obscure command lines. |
4380 | # This happens at least with the AIX C compiler. |
4252 | # This happens at least with the AIX C compiler. |
4381 | : > sub/conftest.c |
4253 | : > sub/conftest.c |
4382 | for i in 1 2 3 4 5 6; do |
4254 | for i in 1 2 3 4 5 6; do |
4383 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
4255 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
4384 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
|
|
4385 | # Solaris 8's {/usr,}/bin/sh. |
|
|
4386 | touch sub/conftst$i.h |
4256 | : > sub/conftst$i.h |
4387 | done |
4257 | done |
4388 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
4258 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
4389 | |
4259 | |
4390 | # We check with `-c' and `-o' for the sake of the "dashmstdout" |
|
|
4391 | # mode. It turns out that the SunPro C++ compiler does not properly |
|
|
4392 | # handle `-M -o', and we need to detect this. Also, some Intel |
|
|
4393 | # versions had trouble with output in subdirs |
|
|
4394 | am__obj=sub/conftest.${OBJEXT-o} |
|
|
4395 | am__minus_obj="-o $am__obj" |
|
|
4396 | case $depmode in |
4260 | case $depmode in |
4397 | gcc) |
|
|
4398 | # This depmode causes a compiler race in universal mode. |
|
|
4399 | test "$am__universal" = false || continue |
|
|
4400 | ;; |
|
|
4401 | nosideeffect) |
4261 | nosideeffect) |
4402 | # after this tag, mechanisms are not by side-effect, so they'll |
4262 | # after this tag, mechanisms are not by side-effect, so they'll |
4403 | # only be used when explicitly requested |
4263 | # only be used when explicitly requested |
4404 | if test "x$enable_dependency_tracking" = xyes; then |
4264 | if test "x$enable_dependency_tracking" = xyes; then |
4405 | continue |
4265 | continue |
4406 | else |
4266 | else |
4407 | break |
4267 | break |
4408 | fi |
4268 | fi |
4409 | ;; |
4269 | ;; |
4410 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
|
|
4411 | # This compiler won't grok `-c -o', but also, the minuso test has |
|
|
4412 | # not run yet. These depmodes are late enough in the game, and |
|
|
4413 | # so weak that their functioning should not be impacted. |
|
|
4414 | am__obj=conftest.${OBJEXT-o} |
|
|
4415 | am__minus_obj= |
|
|
4416 | ;; |
|
|
4417 | none) break ;; |
4270 | none) break ;; |
4418 | esac |
4271 | esac |
|
|
4272 | # We check with `-c' and `-o' for the sake of the "dashmstdout" |
|
|
4273 | # mode. It turns out that the SunPro C++ compiler does not properly |
|
|
4274 | # handle `-M -o', and we need to detect this. |
4419 | if depmode=$depmode \ |
4275 | if depmode=$depmode \ |
4420 | source=sub/conftest.c object=$am__obj \ |
4276 | source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
4421 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
4277 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
4422 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
4278 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
4423 | >/dev/null 2>conftest.err && |
4279 | >/dev/null 2>conftest.err && |
4424 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
|
|
4425 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
4280 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
4426 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
4281 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
4427 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
4282 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
4428 | # icc doesn't choke on unknown options, it will just issue warnings |
4283 | # icc doesn't choke on unknown options, it will just issue warnings |
4429 | # or remarks (even with -Werror). So we grep stderr for any message |
4284 | # (even with -Werror). So we grep stderr for any message |
4430 | # that says an option was ignored or not supported. |
4285 | # that says an option was ignored. |
4431 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
|
|
4432 | # icc: Command line warning: ignoring option '-M'; no argument required |
|
|
4433 | # The diagnosis changed in icc 8.0: |
|
|
4434 | # icc: Command line remark: option '-MP' not supported |
|
|
4435 | if (grep 'ignoring option' conftest.err || |
|
|
4436 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
4286 | if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else |
4437 | am_cv_CC_dependencies_compiler_type=$depmode |
4287 | am_cv_CC_dependencies_compiler_type=$depmode |
4438 | break |
4288 | break |
4439 | fi |
4289 | fi |
4440 | fi |
4290 | fi |
4441 | done |
4291 | done |
… | |
… | |
4449 | fi |
4299 | fi |
4450 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
4300 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
4451 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
4301 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
4452 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
4302 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
4453 | |
4303 | |
|
|
4304 | |
|
|
4305 | |
4454 | if |
4306 | if |
4455 | test "x$enable_dependency_tracking" != xno \ |
4307 | test "x$enable_dependency_tracking" != xno \ |
4456 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
4308 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
4457 | am__fastdepCC_TRUE= |
4309 | am__fastdepCC_TRUE= |
4458 | am__fastdepCC_FALSE='#' |
4310 | am__fastdepCC_FALSE='#' |
4459 | else |
4311 | else |
… | |
… | |
6095 | # We make a subdir and do the tests there. Otherwise we can end up |
5947 | # We make a subdir and do the tests there. Otherwise we can end up |
6096 | # making bogus files that we don't know about and never remove. For |
5948 | # making bogus files that we don't know about and never remove. For |
6097 | # instance it was reported that on HP-UX the gcc test will end up |
5949 | # instance it was reported that on HP-UX the gcc test will end up |
6098 | # making a dummy file named `D' -- because `-MD' means `put the output |
5950 | # making a dummy file named `D' -- because `-MD' means `put the output |
6099 | # in D'. |
5951 | # in D'. |
6100 | rm -rf conftest.dir |
|
|
6101 | mkdir conftest.dir |
5952 | mkdir conftest.dir |
6102 | # Copy depcomp to subdir because otherwise we won't find it if we're |
5953 | # Copy depcomp to subdir because otherwise we won't find it if we're |
6103 | # using a relative directory. |
5954 | # using a relative directory. |
6104 | cp "$am_depcomp" conftest.dir |
5955 | cp "$am_depcomp" conftest.dir |
6105 | cd conftest.dir |
5956 | cd conftest.dir |
… | |
… | |
6113 | |
5964 | |
6114 | am_cv_CXX_dependencies_compiler_type=none |
5965 | am_cv_CXX_dependencies_compiler_type=none |
6115 | if test "$am_compiler_list" = ""; then |
5966 | if test "$am_compiler_list" = ""; then |
6116 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
5967 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
6117 | fi |
5968 | fi |
6118 | am__universal=false |
|
|
6119 | case " $depcc " in #( |
|
|
6120 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
|
|
6121 | esac |
|
|
6122 | |
|
|
6123 | for depmode in $am_compiler_list; do |
5969 | for depmode in $am_compiler_list; do |
6124 | # Setup a source with many dependencies, because some compilers |
5970 | # Setup a source with many dependencies, because some compilers |
6125 | # like to wrap large dependency lists on column 80 (with \), and |
5971 | # like to wrap large dependency lists on column 80 (with \), and |
6126 | # we should not choose a depcomp mode which is confused by this. |
5972 | # we should not choose a depcomp mode which is confused by this. |
6127 | # |
5973 | # |
… | |
… | |
6129 | # overwrite some of them when testing with obscure command lines. |
5975 | # overwrite some of them when testing with obscure command lines. |
6130 | # This happens at least with the AIX C compiler. |
5976 | # This happens at least with the AIX C compiler. |
6131 | : > sub/conftest.c |
5977 | : > sub/conftest.c |
6132 | for i in 1 2 3 4 5 6; do |
5978 | for i in 1 2 3 4 5 6; do |
6133 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
5979 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
6134 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
|
|
6135 | # Solaris 8's {/usr,}/bin/sh. |
|
|
6136 | touch sub/conftst$i.h |
5980 | : > sub/conftst$i.h |
6137 | done |
5981 | done |
6138 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
5982 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
6139 | |
5983 | |
6140 | # We check with `-c' and `-o' for the sake of the "dashmstdout" |
|
|
6141 | # mode. It turns out that the SunPro C++ compiler does not properly |
|
|
6142 | # handle `-M -o', and we need to detect this. Also, some Intel |
|
|
6143 | # versions had trouble with output in subdirs |
|
|
6144 | am__obj=sub/conftest.${OBJEXT-o} |
|
|
6145 | am__minus_obj="-o $am__obj" |
|
|
6146 | case $depmode in |
5984 | case $depmode in |
6147 | gcc) |
|
|
6148 | # This depmode causes a compiler race in universal mode. |
|
|
6149 | test "$am__universal" = false || continue |
|
|
6150 | ;; |
|
|
6151 | nosideeffect) |
5985 | nosideeffect) |
6152 | # after this tag, mechanisms are not by side-effect, so they'll |
5986 | # after this tag, mechanisms are not by side-effect, so they'll |
6153 | # only be used when explicitly requested |
5987 | # only be used when explicitly requested |
6154 | if test "x$enable_dependency_tracking" = xyes; then |
5988 | if test "x$enable_dependency_tracking" = xyes; then |
6155 | continue |
5989 | continue |
6156 | else |
5990 | else |
6157 | break |
5991 | break |
6158 | fi |
5992 | fi |
6159 | ;; |
5993 | ;; |
6160 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
|
|
6161 | # This compiler won't grok `-c -o', but also, the minuso test has |
|
|
6162 | # not run yet. These depmodes are late enough in the game, and |
|
|
6163 | # so weak that their functioning should not be impacted. |
|
|
6164 | am__obj=conftest.${OBJEXT-o} |
|
|
6165 | am__minus_obj= |
|
|
6166 | ;; |
|
|
6167 | none) break ;; |
5994 | none) break ;; |
6168 | esac |
5995 | esac |
|
|
5996 | # We check with `-c' and `-o' for the sake of the "dashmstdout" |
|
|
5997 | # mode. It turns out that the SunPro C++ compiler does not properly |
|
|
5998 | # handle `-M -o', and we need to detect this. |
6169 | if depmode=$depmode \ |
5999 | if depmode=$depmode \ |
6170 | source=sub/conftest.c object=$am__obj \ |
6000 | source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
6171 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
6001 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
6172 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
6002 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
6173 | >/dev/null 2>conftest.err && |
6003 | >/dev/null 2>conftest.err && |
6174 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
|
|
6175 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
6004 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
6176 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
6005 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
6177 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
6006 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
6178 | # icc doesn't choke on unknown options, it will just issue warnings |
6007 | # icc doesn't choke on unknown options, it will just issue warnings |
6179 | # or remarks (even with -Werror). So we grep stderr for any message |
6008 | # (even with -Werror). So we grep stderr for any message |
6180 | # that says an option was ignored or not supported. |
6009 | # that says an option was ignored. |
6181 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
|
|
6182 | # icc: Command line warning: ignoring option '-M'; no argument required |
|
|
6183 | # The diagnosis changed in icc 8.0: |
|
|
6184 | # icc: Command line remark: option '-MP' not supported |
|
|
6185 | if (grep 'ignoring option' conftest.err || |
|
|
6186 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
6010 | if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else |
6187 | am_cv_CXX_dependencies_compiler_type=$depmode |
6011 | am_cv_CXX_dependencies_compiler_type=$depmode |
6188 | break |
6012 | break |
6189 | fi |
6013 | fi |
6190 | fi |
6014 | fi |
6191 | done |
6015 | done |
… | |
… | |
6199 | fi |
6023 | fi |
6200 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
6024 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
6201 | $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } |
6025 | $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } |
6202 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
6026 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
6203 | |
6027 | |
|
|
6028 | |
|
|
6029 | |
6204 | if |
6030 | if |
6205 | test "x$enable_dependency_tracking" != xno \ |
6031 | test "x$enable_dependency_tracking" != xno \ |
6206 | && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
6032 | && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
6207 | am__fastdepCXX_TRUE= |
6033 | am__fastdepCXX_TRUE= |
6208 | am__fastdepCXX_FALSE='#' |
6034 | am__fastdepCXX_FALSE='#' |
6209 | else |
6035 | else |
… | |
… | |
8209 | |
8035 | |
8210 | |
8036 | |
8211 | |
8037 | |
8212 | |
8038 | |
8213 | |
8039 | |
8214 | tinc_ac_save_CPPFLAGS="$CPPFLAGS" |
|
|
8215 | |
8040 | |
8216 | |
8041 | |
8217 | # Check whether --with-openssl-include was given. |
|
|
8218 | if test "${with_openssl_include+set}" = set; then : |
|
|
8219 | withval=$with_openssl_include; openssl_include="$withval" |
|
|
8220 | CFLAGS="$CFLAGS -I$withval" |
|
|
8221 | CPPFLAGS="$CPPFLAGS -I$withval" |
|
|
8222 | |
8042 | |
8223 | fi |
|
|
8224 | |
8043 | |
8225 | |
8044 | |
8226 | |
8045 | |
8227 | # Check whether --with-openssl-lib was given. |
8046 | if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
8228 | if test "${with_openssl_lib+set}" = set; then : |
8047 | if test -n "$ac_tool_prefix"; then |
8229 | withval=$with_openssl_lib; openssl_lib="$withval" |
8048 | # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
8230 | LIBS="$LIBS -L$withval" |
8049 | set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
8231 | |
8050 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
8232 | fi |
8051 | $as_echo_n "checking for $ac_word... " >&6; } |
8233 | |
8052 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
8234 | |
8053 | $as_echo_n "(cached) " >&6 |
8235 | for ac_header in openssl/evp.h openssl/rsa.h openssl/rand.h openssl/err.h openssl/sha.h openssl/pem.h |
|
|
8236 | do : |
|
|
8237 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
8238 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
|
|
8239 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
|
8240 | cat >>confdefs.h <<_ACEOF |
|
|
8241 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
8242 | _ACEOF |
|
|
8243 | |
|
|
8244 | else |
8054 | else |
8245 | as_fn_error $? "OpenSSL header files not found." "$LINENO" 5; break |
8055 | case $PKG_CONFIG in |
8246 | |
8056 | [\\/]* | ?:[\\/]*) |
8247 | fi |
8057 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
8248 | |
8058 | ;; |
|
|
8059 | *) |
|
|
8060 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
8061 | for as_dir in $PATH |
|
|
8062 | do |
|
|
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 |
8249 | done |
8071 | done |
|
|
8072 | done |
|
|
8073 | IFS=$as_save_IFS |
8250 | |
8074 | |
|
|
8075 | ;; |
|
|
8076 | esac |
|
|
8077 | fi |
|
|
8078 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|
|
8079 | if test -n "$PKG_CONFIG"; then |
|
|
8080 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
|
|
8081 | $as_echo "$PKG_CONFIG" >&6; } |
|
|
8082 | else |
|
|
8083 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
8084 | $as_echo "no" >&6; } |
|
|
8085 | fi |
8251 | |
8086 | |
8252 | CPPFLAGS="$tinc_ac_save_CPPFLAGS" |
|
|
8253 | |
8087 | |
|
|
8088 | fi |
|
|
8089 | if 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. |
|
|
8092 | set dummy pkg-config; ac_word=$2 |
8254 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_Init in -lcrypto" >&5 |
8093 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
8255 | $as_echo_n "checking for SHA1_Init in -lcrypto... " >&6; } |
8094 | $as_echo_n "checking for $ac_word... " >&6; } |
8256 | if ${ac_cv_lib_crypto_SHA1_Init+:} false; then : |
8095 | if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : |
8257 | $as_echo_n "(cached) " >&6 |
8096 | $as_echo_n "(cached) " >&6 |
8258 | else |
8097 | else |
8259 | ac_check_lib_save_LIBS=$LIBS |
8098 | case $ac_pt_PKG_CONFIG in |
8260 | LIBS="-lcrypto $LIBS" |
8099 | [\\/]* | ?:[\\/]*) |
8261 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8100 | ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
8262 | /* end confdefs.h. */ |
|
|
8263 | |
|
|
8264 | /* Override any GCC internal prototype to avoid an error. |
|
|
8265 | Use char because int might match the return type of a GCC |
|
|
8266 | builtin and then its argument prototype would still apply. */ |
|
|
8267 | #ifdef __cplusplus |
|
|
8268 | extern "C" |
|
|
8269 | #endif |
|
|
8270 | char SHA1_Init (); |
|
|
8271 | int |
|
|
8272 | main () |
|
|
8273 | { |
|
|
8274 | return SHA1_Init (); |
|
|
8275 | ; |
8101 | ;; |
8276 | return 0; |
8102 | *) |
8277 | } |
8103 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8278 | _ACEOF |
8104 | for as_dir in $PATH |
8279 | if ac_fn_cxx_try_link "$LINENO"; then : |
8105 | do |
8280 | ac_cv_lib_crypto_SHA1_Init=yes |
8106 | IFS=$as_save_IFS |
8281 | else |
8107 | test -z "$as_dir" && as_dir=. |
8282 | ac_cv_lib_crypto_SHA1_Init=no |
8108 | for ac_exec_ext in '' $ac_executable_extensions; do |
8283 | fi |
8109 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
8284 | rm -f core conftest.err conftest.$ac_objext \ |
8110 | ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
8285 | conftest$ac_exeext conftest.$ac_ext |
8111 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8286 | LIBS=$ac_check_lib_save_LIBS |
8112 | break 2 |
8287 | fi |
8113 | fi |
8288 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_Init" >&5 |
|
|
8289 | $as_echo "$ac_cv_lib_crypto_SHA1_Init" >&6; } |
|
|
8290 | if test "x$ac_cv_lib_crypto_SHA1_Init" = xyes; then : |
|
|
8291 | LIBS="$LIBS -lcrypto" |
|
|
8292 | else |
|
|
8293 | as_fn_error $? "OpenSSL libraries not found." "$LINENO" 5 |
|
|
8294 | |
|
|
8295 | fi |
|
|
8296 | |
|
|
8297 | |
|
|
8298 | for ac_func in RAND_pseudo_bytes OPENSSL_add_all_algorithms_noconf OpenSSL_add_all_algorithms SSLeay_add_all_algorithms |
|
|
8299 | do : |
|
|
8300 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
8301 | ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var" |
|
|
8302 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
|
|
8303 | cat >>confdefs.h <<_ACEOF |
|
|
8304 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
8305 | _ACEOF |
|
|
8306 | |
|
|
8307 | fi |
|
|
8308 | done |
8114 | done |
|
|
8115 | done |
|
|
8116 | IFS=$as_save_IFS |
8309 | |
8117 | |
|
|
8118 | ;; |
|
|
8119 | esac |
|
|
8120 | fi |
|
|
8121 | ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
|
|
8122 | if 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; } |
|
|
8125 | else |
|
|
8126 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
8127 | $as_echo "no" >&6; } |
|
|
8128 | fi |
8310 | |
8129 | |
8311 | ac_fn_cxx_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" |
8130 | if test "x$ac_pt_PKG_CONFIG" = x; then |
8312 | if test "x$ac_cv_func_dlopen" = xyes; then : |
8131 | PKG_CONFIG="" |
|
|
8132 | else |
|
|
8133 | case $cross_compiling:$ac_tool_warned in |
|
|
8134 | yes:) |
|
|
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;} |
|
|
8137 | ac_tool_warned=yes ;; |
|
|
8138 | esac |
|
|
8139 | PKG_CONFIG=$ac_pt_PKG_CONFIG |
|
|
8140 | fi |
|
|
8141 | else |
|
|
8142 | PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
|
|
8143 | fi |
8313 | |
8144 | |
|
|
8145 | fi |
|
|
8146 | if 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; } |
8314 | else |
8153 | else |
|
|
8154 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
8155 | $as_echo "no" >&6; } |
|
|
8156 | PKG_CONFIG="" |
|
|
8157 | fi |
|
|
8158 | fi |
|
|
8159 | |
|
|
8160 | pkg_failed=no |
8315 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
8161 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCRYPTO" >&5 |
8316 | $as_echo_n "checking for dlopen in -ldl... " >&6; } |
8162 | $as_echo_n "checking for LIBCRYPTO... " >&6; } |
8317 | if ${ac_cv_lib_dl_dlopen+:} false; then : |
8163 | |
8318 | $as_echo_n "(cached) " >&6 |
8164 | if 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 |
|
|
8175 | else |
|
|
8176 | pkg_failed=yes |
|
|
8177 | fi |
8319 | else |
8178 | else |
8320 | ac_check_lib_save_LIBS=$LIBS |
8179 | pkg_failed=untried |
8321 | LIBS="-ldl $LIBS" |
8180 | fi |
8322 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8181 | if test -n "$LIBCRYPTO_LIBS"; then |
8323 | /* end confdefs.h. */ |
8182 | pkg_cv_LIBCRYPTO_LIBS="$LIBCRYPTO_LIBS" |
8324 | |
8183 | elif test -n "$PKG_CONFIG"; then |
8325 | /* Override any GCC internal prototype to avoid an error. |
8184 | if test -n "$PKG_CONFIG" && \ |
8326 | Use char because int might match the return type of a GCC |
8185 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= 1\""; } >&5 |
8327 | builtin and then its argument prototype would still apply. */ |
8186 | ($PKG_CONFIG --exists --print-errors "libcrypto >= 1") 2>&5 |
8328 | #ifdef __cplusplus |
8187 | ac_status=$? |
8329 | extern "C" |
8188 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
8330 | #endif |
8189 | test $ac_status = 0; }; then |
8331 | char dlopen (); |
8190 | pkg_cv_LIBCRYPTO_LIBS=`$PKG_CONFIG --libs "libcrypto >= 1" 2>/dev/null` |
8332 | int |
8191 | test "x$?" != "x0" && pkg_failed=yes |
8333 | main () |
8192 | else |
8334 | { |
8193 | pkg_failed=yes |
8335 | return dlopen (); |
8194 | fi |
8336 | ; |
|
|
8337 | return 0; |
|
|
8338 | } |
|
|
8339 | _ACEOF |
|
|
8340 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
8341 | ac_cv_lib_dl_dlopen=yes |
|
|
8342 | else |
8195 | else |
8343 | ac_cv_lib_dl_dlopen=no |
8196 | pkg_failed=untried |
8344 | fi |
8197 | fi |
8345 | rm -f core conftest.err conftest.$ac_objext \ |
8198 | |
8346 | conftest$ac_exeext conftest.$ac_ext |
8199 | |
8347 | LIBS=$ac_check_lib_save_LIBS |
8200 | |
8348 | fi |
8201 | if test $pkg_failed = yes; then |
8349 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
8202 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8350 | $as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
8203 | $as_echo "no" >&6; } |
8351 | if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
|
|
8352 | LIBS="$LIBS -ldl" |
|
|
8353 | else |
|
|
8354 | as_fn_error $? "OpenSSL depends on libdl." "$LINENO" 5 |
|
|
8355 | |
8204 | |
8356 | fi |
8205 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
8357 | |
8206 | _pkg_short_errors_supported=yes |
8358 | |
|
|
8359 | fi |
|
|
8360 | |
|
|
8361 | |
|
|
8362 | ac_fn_cxx_check_func "$LINENO" "inflate" "ac_cv_func_inflate" |
|
|
8363 | if test "x$ac_cv_func_inflate" = xyes; then : |
|
|
8364 | |
|
|
8365 | else |
8207 | else |
8366 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5 |
8208 | _pkg_short_errors_supported=no |
8367 | $as_echo_n "checking for inflate in -lz... " >&6; } |
|
|
8368 | if ${ac_cv_lib_z_inflate+:} false; then : |
|
|
8369 | $as_echo_n "(cached) " >&6 |
|
|
8370 | else |
|
|
8371 | ac_check_lib_save_LIBS=$LIBS |
|
|
8372 | LIBS="-lz $LIBS" |
|
|
8373 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
8374 | /* end confdefs.h. */ |
|
|
8375 | |
|
|
8376 | /* Override any GCC internal prototype to avoid an error. |
|
|
8377 | Use char because int might match the return type of a GCC |
|
|
8378 | builtin and then its argument prototype would still apply. */ |
|
|
8379 | #ifdef __cplusplus |
|
|
8380 | extern "C" |
|
|
8381 | #endif |
|
|
8382 | char inflate (); |
|
|
8383 | int |
|
|
8384 | main () |
|
|
8385 | { |
|
|
8386 | return inflate (); |
|
|
8387 | ; |
|
|
8388 | return 0; |
|
|
8389 | } |
|
|
8390 | _ACEOF |
|
|
8391 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
8392 | ac_cv_lib_z_inflate=yes |
|
|
8393 | else |
|
|
8394 | ac_cv_lib_z_inflate=no |
|
|
8395 | fi |
8209 | fi |
8396 | rm -f core conftest.err conftest.$ac_objext \ |
8210 | if test $_pkg_short_errors_supported = yes; then |
8397 | conftest$ac_exeext conftest.$ac_ext |
8211 | LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcrypto >= 1" 2>&1` |
8398 | LIBS=$ac_check_lib_save_LIBS |
8212 | else |
8399 | fi |
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 | |
|
|
8222 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
|
|
8223 | installed software in a non-standard prefix. |
|
|
8224 | |
|
|
8225 | Alternatively, you may set the environment variables LIBCRYPTO_CFLAGS |
|
|
8226 | and LIBCRYPTO_LIBS to avoid the need to call pkg-config. |
|
|
8227 | See the pkg-config man page for more details." "$LINENO" 5 |
|
|
8228 | elif test $pkg_failed = untried; then |
8400 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5 |
8229 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8401 | $as_echo "$ac_cv_lib_z_inflate" >&6; } |
8230 | $as_echo "no" >&6; } |
8402 | if test "x$ac_cv_lib_z_inflate" = xyes; then : |
8231 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
8403 | LIBS="$LIBS -lz" |
8232 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
8404 | else |
8233 | as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
8405 | as_fn_error $? "OpenSSL depends on libz." "$LINENO" 5 |
8234 | is in your PATH or set the PKG_CONFIG environment variable to the full |
|
|
8235 | path to pkg-config. |
8406 | |
8236 | |
8407 | fi |
8237 | Alternatively, you may set the environment variables LIBCRYPTO_CFLAGS |
|
|
8238 | and LIBCRYPTO_LIBS to avoid the need to call pkg-config. |
|
|
8239 | See the pkg-config man page for more details. |
8408 | |
8240 | |
|
|
8241 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
|
|
8242 | See \`config.log' for more details" "$LINENO" 5; } |
|
|
8243 | else |
|
|
8244 | LIBCRYPTO_CFLAGS=$pkg_cv_LIBCRYPTO_CFLAGS |
|
|
8245 | LIBCRYPTO_LIBS=$pkg_cv_LIBCRYPTO_LIBS |
|
|
8246 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
|
8247 | $as_echo "yes" >&6; } |
8409 | |
8248 | |
8410 | fi |
|
|
8411 | |
|
|
8412 | |
|
|
8413 | if test "x$openssl_include" != x; then |
|
|
8414 | CXXFLAGS="$CXXFLAGS -I$openssl_include" |
|
|
8415 | fi |
8249 | fi |
8416 | |
8250 | |
8417 | # Check whether --enable-threads was given. |
8251 | # Check whether --enable-threads was given. |
8418 | if test "${enable_threads+set}" = set; then : |
8252 | if test "${enable_threads+set}" = set; then : |
8419 | enableval=$enable_threads; try_threads=$enableval |
8253 | enableval=$enable_threads; try_threads=$enableval |
… | |
… | |
8461 | fi |
8295 | fi |
8462 | |
8296 | |
8463 | |
8297 | |
8464 | |
8298 | |
8465 | |
8299 | |
|
|
8300 | |
|
|
8301 | |
8466 | if test x$rohc = xtrue; then |
8302 | if test x$rohc = xtrue; then |
8467 | ROHC_TRUE= |
8303 | ROHC_TRUE= |
8468 | ROHC_FALSE='#' |
8304 | ROHC_FALSE='#' |
8469 | else |
8305 | else |
8470 | ROHC_TRUE='#' |
8306 | ROHC_TRUE='#' |
8471 | ROHC_FALSE= |
8307 | ROHC_FALSE= |
… | |
… | |
8585 | |
8421 | |
8586 | |
8422 | |
8587 | fi |
8423 | fi |
8588 | |
8424 | |
8589 | |
8425 | |
|
|
8426 | RSA=3072 |
|
|
8427 | # Check whether --enable-rsa-length was given. |
|
|
8428 | if test "${enable_rsa_length+set}" = set; then : |
|
|
8429 | enableval=$enable_rsa_length; RSA=$enableval |
|
|
8430 | |
|
|
8431 | fi |
|
|
8432 | |
|
|
8433 | |
|
|
8434 | cat >>confdefs.h <<_ACEOF |
|
|
8435 | #define RSABITS $RSA |
|
|
8436 | _ACEOF |
|
|
8437 | |
|
|
8438 | |
8590 | HMAC=12 |
8439 | HMACSIZE=12 |
8591 | # Check whether --enable-hmac-length was given. |
8440 | # Check whether --enable-hmac-length was given. |
8592 | if test "${enable_hmac_length+set}" = set; then : |
8441 | if test "${enable_hmac_length+set}" = set; then : |
8593 | enableval=$enable_hmac_length; HMAC=$enableval |
8442 | enableval=$enable_hmac_length; HMACSIZE=$enableval |
8594 | |
8443 | |
8595 | fi |
8444 | fi |
8596 | |
8445 | |
8597 | |
8446 | |
8598 | cat >>confdefs.h <<_ACEOF |
8447 | cat >>confdefs.h <<_ACEOF |
8599 | #define HMACLENGTH $HMAC |
8448 | #define HMACLENGTH $HMACSIZE |
8600 | _ACEOF |
|
|
8601 | |
|
|
8602 | |
|
|
8603 | RAND=8 |
|
|
8604 | # Check whether --enable-rand-length was given. |
|
|
8605 | if test "${enable_rand_length+set}" = set; then : |
|
|
8606 | enableval=$enable_rand_length; RAND=$enableval |
|
|
8607 | |
|
|
8608 | fi |
|
|
8609 | |
|
|
8610 | |
|
|
8611 | cat >>confdefs.h <<_ACEOF |
|
|
8612 | #define RAND_SIZE $RAND |
|
|
8613 | _ACEOF |
8449 | _ACEOF |
8614 | |
8450 | |
8615 | |
8451 | |
8616 | MTU=1500 |
8452 | MTU=1500 |
8617 | # Check whether --enable-max-mtu was given. |
8453 | # Check whether --enable-max-mtu was given. |
… | |
… | |
8639 | cat >>confdefs.h <<_ACEOF |
8475 | cat >>confdefs.h <<_ACEOF |
8640 | #define ENABLE_COMPRESSION $COMPRESS |
8476 | #define ENABLE_COMPRESSION $COMPRESS |
8641 | _ACEOF |
8477 | _ACEOF |
8642 | |
8478 | |
8643 | |
8479 | |
8644 | CIPHER=aes_128_cbc |
8480 | CIPHER=aes_128_ctr |
8645 | # Check whether --enable-cipher was given. |
8481 | # Check whether --enable-cipher was given. |
8646 | if test "${enable_cipher+set}" = set; then : |
8482 | if test "${enable_cipher+set}" = set; then : |
8647 | enableval=$enable_cipher; if test "x$enableval" = xbf ; then CIPHER=bf_cbc ; fi |
8483 | enableval=$enable_cipher; #if test "x$enableval" = xbf ; then CIPHER=bf_ctr ; fi |
8648 | if test "x$enableval" = xaes-128; then CIPHER=aes_128_cbc; fi |
8484 | if test "x$enableval" = xaes-128 ; then CIPHER=aes_128_ctr ; fi |
8649 | if test "x$enableval" = xaes-192; then CIPHER=aes_192_cbc; fi |
8485 | if test "x$enableval" = xaes-192 ; then CIPHER=aes_192_ctr ; fi |
8650 | if test "x$enableval" = xaes-256; then CIPHER=aes_256_cbc; fi |
8486 | if test "x$enableval" = xaes-256 ; then CIPHER=aes_256_ctr ; fi |
|
|
8487 | #if test "x$enableval" = xcamellia-128; then CIPHER=camellia_128_ctr; fi |
|
|
8488 | #if test "x$enableval" = xcamellia-256; then CIPHER=camellia_256_ctr; fi |
8651 | |
8489 | |
8652 | fi |
8490 | fi |
8653 | |
8491 | |
8654 | |
8492 | |
8655 | cat >>confdefs.h <<_ACEOF |
8493 | cat >>confdefs.h <<_ACEOF |
8656 | #define ENABLE_CIPHER EVP_${CIPHER} |
8494 | #define ENABLE_CIPHER EVP_${CIPHER} |
8657 | _ACEOF |
8495 | _ACEOF |
8658 | |
8496 | |
8659 | |
8497 | |
8660 | DIGEST=ripemd160 |
8498 | HMAC=sha1 |
8661 | # Check whether --enable-digest was given. |
8499 | # Check whether --enable-hmac-digest was given. |
8662 | if test "${enable_digest+set}" = set; then : |
8500 | if test "${enable_hmac_digest+set}" = set; then : |
|
|
8501 | enableval=$enable_hmac_digest; if test "x$enableval" = xwhirlpool; then HMAC=whirlpool; fi |
8663 | enableval=$enable_digest; if test "x$enableval" = xsha512 ; then DIGEST=sha512 ; fi |
8502 | if test "x$enableval" = xsha512 ; then HMAC=sha512 ; fi |
8664 | if test "x$enableval" = xsha256 ; then DIGEST=sha256 ; fi |
8503 | if test "x$enableval" = xsha256 ; then HMAC=sha256 ; fi |
8665 | if test "x$enableval" = xsha1 ; then DIGEST=sha1 ; fi |
8504 | if test "x$enableval" = xsha1 ; then HMAC=sha1 ; fi |
8666 | if test "x$enableval" = xripemd160; then DIGEST=ripemd160; fi |
8505 | if test "x$enableval" = xripemd160; then HMAC=ripemd160; fi |
8667 | if test "x$enableval" = xmd5 ; then DIGEST=md5 ; fi |
|
|
8668 | if test "x$enableval" = xmd4 ; then DIGEST=md4 ; fi |
|
|
8669 | |
8506 | |
8670 | fi |
8507 | fi |
8671 | |
8508 | |
8672 | |
8509 | |
8673 | cat >>confdefs.h <<_ACEOF |
8510 | cat >>confdefs.h <<_ACEOF |
|
|
8511 | #define ENABLE_HMAC EVP_${HMAC} |
|
|
8512 | _ACEOF |
|
|
8513 | |
|
|
8514 | |
|
|
8515 | AUTH=sha512 |
|
|
8516 | # Check whether --enable-auth-digest was given. |
|
|
8517 | if test "${enable_auth_digest+set}" = set; then : |
|
|
8518 | enableval=$enable_auth_digest; if test "x$enableval" = xwhirlpool; then AUTH=whirlpool; fi |
|
|
8519 | if test "x$enableval" = xsha512 ; then AUTH=sha512 ; fi |
|
|
8520 | if test "x$enableval" = xsha256 ; then AUTH=sha256 ; fi |
|
|
8521 | |
|
|
8522 | fi |
|
|
8523 | |
|
|
8524 | |
|
|
8525 | cat >>confdefs.h <<_ACEOF |
8674 | #define ENABLE_DIGEST EVP_${DIGEST} |
8526 | #define ENABLE_AUTH EVP_${AUTH} |
8675 | _ACEOF |
8527 | _ACEOF |
8676 | |
8528 | |
8677 | |
8529 | |
8678 | if $CXX -v --help 2>&1 | grep -q fno-rtti; then |
8530 | if $CXX -v --help 2>&1 | grep -q fno-rtti; then |
8679 | CXXFLAGS="$CXXFLAGS -fno-rtti" |
8531 | CXXFLAGS="$CXXFLAGS -fno-rtti" |
… | |
… | |
8797 | LIBOBJS=$ac_libobjs |
8649 | LIBOBJS=$ac_libobjs |
8798 | |
8650 | |
8799 | LTLIBOBJS=$ac_ltlibobjs |
8651 | LTLIBOBJS=$ac_ltlibobjs |
8800 | |
8652 | |
8801 | |
8653 | |
8802 | if test -n "$EXEEXT"; then |
|
|
8803 | am__EXEEXT_TRUE= |
|
|
8804 | am__EXEEXT_FALSE='#' |
|
|
8805 | else |
|
|
8806 | am__EXEEXT_TRUE='#' |
|
|
8807 | am__EXEEXT_FALSE= |
|
|
8808 | fi |
|
|
8809 | |
|
|
8810 | if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
8654 | if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
8811 | as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. |
8655 | as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. |
8812 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
8656 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
8813 | fi |
8657 | fi |
8814 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
8658 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
… | |
… | |
9222 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
9066 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
9223 | # Save the log message, to keep $0 and so on meaningful, and to |
9067 | # Save the log message, to keep $0 and so on meaningful, and to |
9224 | # report actual input values of CONFIG_FILES etc. instead of their |
9068 | # report actual input values of CONFIG_FILES etc. instead of their |
9225 | # values after options handling. |
9069 | # values after options handling. |
9226 | ac_log=" |
9070 | ac_log=" |
9227 | This file was extended by $as_me, which was |
9071 | This file was extended by gvpe $as_me 3.1, which was |
9228 | generated by GNU Autoconf 2.69. Invocation command line was |
9072 | generated by GNU Autoconf 2.69. Invocation command line was |
9229 | |
9073 | |
9230 | CONFIG_FILES = $CONFIG_FILES |
9074 | CONFIG_FILES = $CONFIG_FILES |
9231 | CONFIG_HEADERS = $CONFIG_HEADERS |
9075 | CONFIG_HEADERS = $CONFIG_HEADERS |
9232 | CONFIG_LINKS = $CONFIG_LINKS |
9076 | CONFIG_LINKS = $CONFIG_LINKS |
… | |
… | |
9288 | |
9132 | |
9289 | _ACEOF |
9133 | _ACEOF |
9290 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9134 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9291 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
9135 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
9292 | ac_cs_version="\\ |
9136 | ac_cs_version="\\ |
9293 | config.status |
9137 | gvpe config.status 3.1 |
9294 | configured by $0, generated by GNU Autoconf 2.69, |
9138 | configured by $0, generated by GNU Autoconf 2.69, |
9295 | with options \\"\$ac_cs_config\\" |
9139 | with options \\"\$ac_cs_config\\" |
9296 | |
9140 | |
9297 | Copyright (C) 2012 Free Software Foundation, Inc. |
9141 | Copyright (C) 2012 Free Software Foundation, Inc. |
9298 | This config.status script is free software; the Free Software Foundation |
9142 | This config.status script is free software; the Free Software Foundation |
9299 | gives unlimited permission to copy, distribute and modify it." |
9143 | gives unlimited permission to copy, distribute and modify it." |
9300 | |
9144 | |
9301 | ac_pwd='$ac_pwd' |
9145 | ac_pwd='$ac_pwd' |
9302 | srcdir='$srcdir' |
9146 | srcdir='$srcdir' |
9303 | INSTALL='$INSTALL' |
9147 | INSTALL='$INSTALL' |
9304 | MKDIR_P='$MKDIR_P' |
|
|
9305 | AWK='$AWK' |
9148 | AWK='$AWK' |
9306 | test -n "\$AWK" || AWK=awk |
9149 | test -n "\$AWK" || AWK=awk |
9307 | _ACEOF |
9150 | _ACEOF |
9308 | |
9151 | |
9309 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
9152 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
… | |
… | |
9881 | |
9724 | |
9882 | case $INSTALL in |
9725 | case $INSTALL in |
9883 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
9726 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
9884 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
9727 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
9885 | esac |
9728 | esac |
9886 | ac_MKDIR_P=$MKDIR_P |
|
|
9887 | case $MKDIR_P in |
|
|
9888 | [\\/$]* | ?:[\\/]* ) ;; |
|
|
9889 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
|
|
9890 | esac |
|
|
9891 | _ACEOF |
9729 | _ACEOF |
9892 | |
9730 | |
9893 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
9731 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
9894 | # If the template does not know about datarootdir, expand it. |
9732 | # If the template does not know about datarootdir, expand it. |
9895 | # FIXME: This hack should be removed a few years after 2.60. |
9733 | # FIXME: This hack should be removed a few years after 2.60. |
… | |
… | |
9940 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
9778 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
9941 | s&@builddir@&$ac_builddir&;t t |
9779 | s&@builddir@&$ac_builddir&;t t |
9942 | s&@abs_builddir@&$ac_abs_builddir&;t t |
9780 | s&@abs_builddir@&$ac_abs_builddir&;t t |
9943 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
9781 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
9944 | s&@INSTALL@&$ac_INSTALL&;t t |
9782 | s&@INSTALL@&$ac_INSTALL&;t t |
9945 | s&@MKDIR_P@&$ac_MKDIR_P&;t t |
|
|
9946 | $ac_datarootdir_hack |
9783 | $ac_datarootdir_hack |
9947 | " |
9784 | " |
9948 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
9785 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
9949 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9786 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9950 | |
9787 | |
… | |
… | |
9986 | $as_echo "/* $configure_input */" \ |
9823 | $as_echo "/* $configure_input */" \ |
9987 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
9824 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
9988 | || as_fn_error $? "could not create -" "$LINENO" 5 |
9825 | || as_fn_error $? "could not create -" "$LINENO" 5 |
9989 | fi |
9826 | fi |
9990 | # Compute "$ac_file"'s index in $config_headers. |
9827 | # Compute "$ac_file"'s index in $config_headers. |
9991 | _am_arg="$ac_file" |
|
|
9992 | _am_stamp_count=1 |
9828 | _am_stamp_count=1 |
9993 | for _am_header in $config_headers :; do |
9829 | for _am_header in $config_headers :; do |
9994 | case $_am_header in |
9830 | case $_am_header in |
9995 | $_am_arg | $_am_arg:* ) |
9831 | "$ac_file" | "$ac_file":* ) |
9996 | break ;; |
9832 | break ;; |
9997 | * ) |
9833 | * ) |
9998 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
9834 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
9999 | esac |
9835 | esac |
10000 | done |
9836 | done |
10001 | echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
9837 | echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" || |
10002 | $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9838 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10003 | X"$_am_arg" : 'X\(//\)[^/]' \| \ |
9839 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
10004 | X"$_am_arg" : 'X\(//\)$' \| \ |
9840 | X"$ac_file" : 'X\(//\)$' \| \ |
10005 | X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
9841 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
10006 | $as_echo X"$_am_arg" | |
9842 | $as_echo X"$ac_file" | |
10007 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
9843 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
10008 | s//\1/ |
9844 | s//\1/ |
10009 | q |
9845 | q |
10010 | } |
9846 | } |
10011 | /^X\(\/\/\)[^/].*/{ |
9847 | /^X\(\/\/\)[^/].*/{ |
… | |
… | |
10124 | done |
9960 | done |
10125 | fi |
9961 | fi |
10126 | ;; |
9962 | ;; |
10127 | esac |
9963 | esac |
10128 | done ;; |
9964 | done ;; |
10129 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
9965 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do |
10130 | # Autoconf 2.62 quotes --file arguments for eval, but not when files |
|
|
10131 | # are listed without --file. Let's play safe and only enable the eval |
|
|
10132 | # if we detect the quoting. |
|
|
10133 | case $CONFIG_FILES in |
|
|
10134 | *\'*) eval set x "$CONFIG_FILES" ;; |
|
|
10135 | *) set x $CONFIG_FILES ;; |
|
|
10136 | esac |
|
|
10137 | shift |
|
|
10138 | for mf |
|
|
10139 | do |
|
|
10140 | # Strip MF so we end up with the name of the file. |
9966 | # Strip MF so we end up with the name of the file. |
10141 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
9967 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
10142 | # Check whether this is an Automake generated Makefile or not. |
9968 | # Check whether this is an Automake generated Makefile or not. |
10143 | # We used to match only the files named `Makefile.in', but |
9969 | # We used to match only the files named `Makefile.in', but |
10144 | # some people rename them; so instead we look at the file content. |
9970 | # some people rename them; so instead we look at the file content. |
10145 | # Grep'ing the first line is not enough: some people post-process |
9971 | # Grep'ing the first line is not enough: some people post-process |
10146 | # each Makefile.in and add a new line on top of each file to say so. |
9972 | # each Makefile.in and add a new line on top of each file to say so. |
10147 | # Grep'ing the whole file is not good either: AIX grep has a line |
9973 | # So let's grep whole file. |
10148 | # limit of 2048, but all sed's we know have understand at least 4000. |
|
|
10149 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
9974 | if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
10150 | dirpart=`$as_dirname -- "$mf" || |
9975 | dirpart=`$as_dirname -- "$mf" || |
10151 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9976 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10152 | X"$mf" : 'X\(//\)[^/]' \| \ |
9977 | X"$mf" : 'X\(//\)[^/]' \| \ |
10153 | X"$mf" : 'X\(//\)$' \| \ |
9978 | X"$mf" : 'X\(//\)$' \| \ |
10154 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
9979 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
10155 | $as_echo X"$mf" | |
9980 | $as_echo X"$mf" | |
… | |
… | |
10168 | /^X\(\/\).*/{ |
9993 | /^X\(\/\).*/{ |
10169 | s//\1/ |
9994 | s//\1/ |
10170 | q |
9995 | q |
10171 | } |
9996 | } |
10172 | s/.*/./; q'` |
9997 | s/.*/./; q'` |
10173 | else |
9998 | else |
10174 | continue |
9999 | continue |
10175 | fi |
10000 | fi |
10176 | # Extract the definition of DEPDIR, am__include, and am__quote |
10001 | grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue |
10177 | # from the Makefile without running `make'. |
10002 | # Extract the definition of DEP_FILES from the Makefile without |
|
|
10003 | # running `make'. |
10178 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
10004 | DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` |
10179 | test -z "$DEPDIR" && continue |
10005 | test -z "$DEPDIR" && continue |
10180 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
|
|
10181 | test -z "am__include" && continue |
|
|
10182 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
|
|
10183 | # When using ansi2knr, U may be empty or an underscore; expand it |
10006 | # When using ansi2knr, U may be empty or an underscore; expand it |
10184 | U=`sed -n 's/^U = //p' < "$mf"` |
10007 | U=`sed -n -e '/^U = / s///p' < "$mf"` |
10185 | # Find all dependency output files, they are included files with |
10008 | test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" |
10186 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
10009 | # We invoke sed twice because it is the simplest approach to |
10187 | # simplest approach to changing $(DEPDIR) to its actual value in the |
10010 | # changing $(DEPDIR) to its actual value in the expansion. |
10188 | # expansion. |
|
|
10189 | for file in `sed -n " |
10011 | for file in `sed -n -e ' |
10190 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
10012 | /^DEP_FILES = .*\\\\$/ { |
|
|
10013 | s/^DEP_FILES = // |
|
|
10014 | :loop |
|
|
10015 | s/\\\\$// |
|
|
10016 | p |
|
|
10017 | n |
|
|
10018 | /\\\\$/ b loop |
|
|
10019 | p |
|
|
10020 | } |
|
|
10021 | /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ |
10191 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
10022 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
10192 | # Make sure the directory exists. |
10023 | # Make sure the directory exists. |
10193 | test -f "$dirpart/$file" && continue |
10024 | test -f "$dirpart/$file" && continue |
10194 | fdir=`$as_dirname -- "$file" || |
10025 | fdir=`$as_dirname -- "$file" || |
10195 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10026 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10196 | X"$file" : 'X\(//\)[^/]' \| \ |
10027 | X"$file" : 'X\(//\)[^/]' \| \ |
10197 | X"$file" : 'X\(//\)$' \| \ |
10028 | X"$file" : 'X\(//\)$' \| \ |
10198 | X"$file" : 'X\(/\)' \| . 2>/dev/null || |
10029 | X"$file" : 'X\(/\)' \| . 2>/dev/null || |
10199 | $as_echo X"$file" | |
10030 | $as_echo X"$file" | |
… | |
… | |
10212 | /^X\(\/\).*/{ |
10043 | /^X\(\/\).*/{ |
10213 | s//\1/ |
10044 | s//\1/ |
10214 | q |
10045 | q |
10215 | } |
10046 | } |
10216 | s/.*/./; q'` |
10047 | s/.*/./; q'` |
10217 | as_dir=$dirpart/$fdir; as_fn_mkdir_p |
10048 | as_dir=$dirpart/$fdir; as_fn_mkdir_p |
10218 | # echo "creating $dirpart/$file" |
10049 | # echo "creating $dirpart/$file" |
10219 | echo '# dummy' > "$dirpart/$file" |
10050 | echo '# dummy' > "$dirpart/$file" |
10220 | done |
|
|
10221 | done |
10051 | done |
10222 | } |
10052 | done |
10223 | ;; |
10053 | ;; |
10224 | |
10054 | |
10225 | esac |
10055 | esac |
10226 | done # for ac_tag |
10056 | done # for ac_tag |
10227 | |
10057 | |
… | |
… | |
10263 | echo |
10093 | echo |
10264 | echo "***" |
10094 | echo "***" |
10265 | echo "*** Configuration Summary" |
10095 | echo "*** Configuration Summary" |
10266 | echo "***" |
10096 | echo "***" |
10267 | echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE" |
10097 | echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE" |
|
|
10098 | echo "*** RSA size: $RSA" |
10268 | echo "*** Cipher used: $CIPHER" |
10099 | echo "*** Cipher used: $CIPHER" |
10269 | echo "*** Digest used: $DIGEST" |
10100 | echo "*** Digest used: $DIGEST" |
|
|
10101 | echo "*** Authdigest: $AUTH" |
10270 | echo "*** HMAC length: $HMAC" |
10102 | echo "*** HMAC length: $HMAC" |
10271 | echo "*** RAND used: $RAND" |
|
|
10272 | echo "*** Max. MTU: $MTU" |
10103 | echo "*** Max. MTU: $MTU" |
10273 | |
10104 | |
10274 | echo "***" |
10105 | echo "***" |
10275 | echo "*** Enable options:" |
10106 | echo "*** Enable options:" |
10276 | grep ENABLE_ config.h | sed -e 's/^/*** /' |
10107 | grep ENABLE_ config.h | sed -e 's/^/*** /' |
10277 | |
10108 | |
10278 | if test "x$DIGEST" = xmd4; then |
10109 | if test "$HMACSIZE" -lt 12; then |
10279 | echo "***" |
10110 | echo "***" |
10280 | echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure" |
|
|
10281 | fi |
|
|
10282 | |
|
|
10283 | if test "x$DIGEST" = xmd5; then |
|
|
10284 | echo "***" |
|
|
10285 | echo "*** WARNING: The digest you have chosen ($DIGEST) is probably insecure" |
|
|
10286 | fi |
|
|
10287 | |
|
|
10288 | if test "$HMAC" -lt 12; then |
|
|
10289 | echo "***" |
|
|
10290 | echo "*** WARNING: The hmac length you have chosen ($HMAC) is probably insecure" |
10111 | echo "*** WARNING: The hmac length you have chosen ($HMACSIZE) is quite insecure" |
10291 | fi |
|
|
10292 | |
|
|
10293 | if test "$RAND" -lt 8; then |
|
|
10294 | echo "***" |
|
|
10295 | echo "*** WARNING: The random prefix you have chosen ($RAND) is probably insecure" |
|
|
10296 | fi |
10112 | fi |
10297 | |
10113 | |
10298 | echo "***" |
10114 | echo "***" |
10299 | echo |
10115 | echo |
10300 | |
10116 | |
|
|
10117 | if pkg-config --exists 'libcrypto >= 1.1 libcrypto < 2.0'; then |
|
|
10118 | cat <<EOF |
|
|
10119 | [33m |
|
|
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 | [0m |
10301 | |
10146 | |
|
|
10147 | EOF |
|
|
10148 | fi |
|
|
10149 | |
|
|
10150 | |