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

Comparing gvpe/configure (file contents):
Revision 1.52 by root, Tue Jul 16 16:44:36 2013 UTC vs.
Revision 1.59 by root, Thu Oct 25 04:32:26 2018 UTC

617#endif 617#endif
618#ifdef HAVE_UNISTD_H 618#ifdef HAVE_UNISTD_H
619# include <unistd.h> 619# include <unistd.h>
620#endif" 620#endif"
621 621
622ac_subst_vars='am__EXEEXT_FALSE 622ac_subst_vars='LTLIBOBJS
623am__EXEEXT_TRUE
624LTLIBOBJS
625LIBOBJS 623LIBOBJS
626INCLUDES 624INCLUDES
627ROHC_FALSE 625ROHC_FALSE
628ROHC_TRUE 626ROHC_TRUE
629LDFLAGS_DAEMON 627LDFLAGS_DAEMON
628LIBCRYPTO_LIBS
629LIBCRYPTO_CFLAGS
630PKG_CONFIG_LIBDIR
631PKG_CONFIG_PATH
632PKG_CONFIG
630HAVE_TUNTAP 633HAVE_TUNTAP
631LINUX_IF_TUN_H 634LINUX_IF_TUN_H
632ALLOCA 635ALLOCA
633CXXCPP 636CXXCPP
634IFSUBTYPE 637IFSUBTYPE
652LIBICONV 655LIBICONV
653USE_NLS 656USE_NLS
654am__fastdepCC_FALSE 657am__fastdepCC_FALSE
655am__fastdepCC_TRUE 658am__fastdepCC_TRUE
656CCDEPMODE 659CCDEPMODE
657am__nodep
658AMDEPBACKSLASH 660AMDEPBACKSLASH
659AMDEP_FALSE 661AMDEP_FALSE
660AMDEP_TRUE 662AMDEP_TRUE
661am__quote 663am__quote
662am__include 664am__include
674MSGFMT 676MSGFMT
675MKINSTALLDIRS 677MKINSTALLDIRS
676MAINT 678MAINT
677MAINTAINER_MODE_FALSE 679MAINTAINER_MODE_FALSE
678MAINTAINER_MODE_TRUE 680MAINTAINER_MODE_TRUE
679am__untar
680am__tar
681AMTAR
682am__leading_dot 681am__leading_dot
683SET_MAKE 682SET_MAKE
684AWK 683AWK
685mkdir_p
686MKDIR_P
687INSTALL_STRIP_PROGRAM 684INSTALL_STRIP_PROGRAM
688STRIP 685STRIP
689install_sh 686install_sh
687AMTAR
690MAKEINFO 688MAKEINFO
691AUTOHEADER 689AUTOHEADER
692AUTOMAKE 690AUTOMAKE
693AUTOCONF 691AUTOCONF
694ACLOCAL 692ACLOCAL
695VERSION 693VERSION
696PACKAGE 694PACKAGE
697CYGPATH_W 695CYGPATH_W
698am__isrc
699INSTALL_DATA 696INSTALL_DATA
700INSTALL_SCRIPT 697INSTALL_SCRIPT
701INSTALL_PROGRAM 698INSTALL_PROGRAM
702target_os 699target_os
703target_vendor 700target_vendor
728htmldir 725htmldir
729infodir 726infodir
730docdir 727docdir
731oldincludedir 728oldincludedir
732includedir 729includedir
730runstatedir
733localstatedir 731localstatedir
734sharedstatedir 732sharedstatedir
735sysconfdir 733sysconfdir
736datadir 734datadir
737datarootdir 735datarootdir
759with_libiconv_prefix 757with_libiconv_prefix
760enable_nls 758enable_nls
761with_libintl_prefix 759with_libintl_prefix
762enable_iftype 760enable_iftype
763with_kernel 761with_kernel
764with_openssl_include
765with_openssl_lib
766enable_threads 762enable_threads
767enable_static_daemon 763enable_static_daemon
768enable_icmp 764enable_icmp
769enable_tcp 765enable_tcp
770enable_http_proxy 766enable_http_proxy
771enable_dns 767enable_dns
772enable_rsa_length 768enable_rsa_length
773enable_hmac_length 769enable_hmac_length
774enable_rand_length
775enable_max_mtu 770enable_max_mtu
776enable_compression 771enable_compression
777enable_cipher 772enable_cipher
778enable_digest 773enable_hmac_digest
779enable_auth_digest 774enable_auth_digest
780' 775'
781 ac_precious_vars='build_alias 776 ac_precious_vars='build_alias
782host_alias 777host_alias
783target_alias 778target_alias
788CPPFLAGS 783CPPFLAGS
789CPP 784CPP
790CXX 785CXX
791CXXFLAGS 786CXXFLAGS
792CCC 787CCC
793CXXCPP' 788CXXCPP
789PKG_CONFIG
790PKG_CONFIG_PATH
791PKG_CONFIG_LIBDIR
792LIBCRYPTO_CFLAGS
793LIBCRYPTO_LIBS'
794 794
795 795
796# Initialize some variables set by options. 796# Initialize some variables set by options.
797ac_init_help= 797ac_init_help=
798ac_init_version=false 798ac_init_version=false
827datarootdir='${prefix}/share' 827datarootdir='${prefix}/share'
828datadir='${datarootdir}' 828datadir='${datarootdir}'
829sysconfdir='${prefix}/etc' 829sysconfdir='${prefix}/etc'
830sharedstatedir='${prefix}/com' 830sharedstatedir='${prefix}/com'
831localstatedir='${prefix}/var' 831localstatedir='${prefix}/var'
832runstatedir='${localstatedir}/run'
832includedir='${prefix}/include' 833includedir='${prefix}/include'
833oldincludedir='/usr/include' 834oldincludedir='/usr/include'
834docdir='${datarootdir}/doc/${PACKAGE}' 835docdir='${datarootdir}/doc/${PACKAGE}'
835infodir='${datarootdir}/info' 836infodir='${datarootdir}/info'
836htmldir='${docdir}' 837htmldir='${docdir}'
1079 1080
1080 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1081 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1081 | -silent | --silent | --silen | --sile | --sil) 1082 | -silent | --silent | --silen | --sile | --sil)
1082 silent=yes ;; 1083 silent=yes ;;
1083 1084
1085 -runstatedir | --runstatedir | --runstatedi | --runstated \
1086 | --runstate | --runstat | --runsta | --runst | --runs \
1087 | --run | --ru | --r)
1088 ac_prev=runstatedir ;;
1089 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1090 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1091 | --run=* | --ru=* | --r=*)
1092 runstatedir=$ac_optarg ;;
1093
1084 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1094 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1085 ac_prev=sbindir ;; 1095 ac_prev=sbindir ;;
1086 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1096 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1087 | --sbi=* | --sb=*) 1097 | --sbi=* | --sb=*)
1088 sbindir=$ac_optarg ;; 1098 sbindir=$ac_optarg ;;
1216 1226
1217# Check all directory arguments for consistency. 1227# Check all directory arguments for consistency.
1218for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1228for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1219 datadir sysconfdir sharedstatedir localstatedir includedir \ 1229 datadir sysconfdir sharedstatedir localstatedir includedir \
1220 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1230 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1221 libdir localedir mandir 1231 libdir localedir mandir runstatedir
1222do 1232do
1223 eval ac_val=\$$ac_var 1233 eval ac_val=\$$ac_var
1224 # Remove trailing slashes. 1234 # Remove trailing slashes.
1225 case $ac_val in 1235 case $ac_val in
1226 */ ) 1236 */ )
1369 --sbindir=DIR system admin executables [EPREFIX/sbin] 1379 --sbindir=DIR system admin executables [EPREFIX/sbin]
1370 --libexecdir=DIR program executables [EPREFIX/libexec] 1380 --libexecdir=DIR program executables [EPREFIX/libexec]
1371 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1381 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1372 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1382 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1373 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1383 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1384 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1374 --libdir=DIR object code libraries [EPREFIX/lib] 1385 --libdir=DIR object code libraries [EPREFIX/lib]
1375 --includedir=DIR C header files [PREFIX/include] 1386 --includedir=DIR C header files [PREFIX/include]
1376 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1387 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1377 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1388 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1378 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1389 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1406 1417
1407Optional Features: 1418Optional Features:
1408 --disable-option-checking ignore unrecognized --enable/--with options 1419 --disable-option-checking ignore unrecognized --enable/--with options
1409 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1420 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1410 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1421 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1411 --enable-maintainer-mode enable make rules and dependencies not useful 1422 --enable-maintainer-mode enable make rules and dependencies not useful
1412 (and sometimes confusing) to the casual installer 1423 (and sometimes confusing) to the casual installer
1413 --disable-dependency-tracking speeds up one-time build 1424 --disable-dependency-tracking Speeds up one-time builds
1414 --enable-dependency-tracking do not reject slow dependency extractors 1425 --enable-dependency-tracking Do not reject slow dependency extractors
1415 --disable-rpath do not hardcode runtime library paths 1426 --disable-rpath do not hardcode runtime library paths
1416 --disable-nls do not use Native Language Support 1427 --disable-nls do not use Native Language Support
1417 --enable-iftype=TYPE/SUBTYPE 1428 --enable-iftype=TYPE/SUBTYPE
1418 Use kernel/net device interface TYPE/SUBTYPE. 1429 Use kernel/net device interface TYPE/SUBTYPE.
1419 Working combinations are (see doc/gvpe.osdep.5.pod): 1430 Working combinations are (see doc/gvpe.osdep.5.pod):
1432 --disable-http-proxy enable http proxy connect support (default enabled). 1443 --disable-http-proxy enable http proxy connect support (default enabled).
1433 --enable-dns enable dns tunnel protocol support (default 1444 --enable-dns enable dns tunnel protocol support (default
1434 disabled). 1445 disabled).
1435 --enable-rsa-length=BITS 1446 --enable-rsa-length=BITS
1436 use BITS rsa keys (default 3072). Allowed values are 1447 use BITS rsa keys (default 3072). Allowed values are
1437 1536-10240. 1448 2048-10240.
1438 --enable-hmac-length=BYTES 1449 --enable-hmac-length=BYTES
1439 use a hmac of length BYTES bytes (default 12). 1450 use a hmac of length BYTES bytes (default 12).
1440 Allowed values are 4, 8, 12, 16. 1451 Allowed values are 4, 8, 12, 16.
1441 --enable-rand-length=BYTES
1442 use BYTES bytes of extra randomness (default 8).
1443 Allowed values are 0, 4, 8.
1444 --enable-max-mtu=BYTES enable mtu sizes upto BYTES bytes (default 1500). 1452 --enable-max-mtu=BYTES enable mtu sizes upto BYTES bytes (default 1500).
1445 Use 9100 for jumbogram support. 1453 Use 9100 for jumbogram support.
1446 --disable-compression Disable compression support. 1454 --disable-compression Disable compression support.
1447 --enable-cipher=CIPHER Select the symmetric cipher (default "aes-128"). 1455 --enable-cipher=CIPHER Select the symmetric cipher (default "aes-128").
1448 Must be one of "bf" (blowfish), "aes-128" 1456 Must be one of "aes-128" (rijndael), "aes-192", or
1449 (rijndael), "aes-192", "aes-256", "camellia-128" or
1450 "camellia-256". 1457 "aes-256".
1451 --enable-digest=DIGEST Select the digest algorithm to use (default "sha1"). 1458 --enable-hmac-digest=HMAC
1459 Select the HMAC digest algorithm to use (default
1452 Must be one of "sha512", "sha256", "sha1", 1460 "sha1"). Must be one of "sha512", "sha256", "sha1",
1453 "ripemd160", "whirlpool". 1461 "ripemd160", "whirlpool".
1454 --enable-auth-digest=DIGEST 1462 --enable-auth-digest=DIGEST
1455 Select the hmac algorithm to use (default "sha512"). 1463 Select the hmac algorithm to use (default "sha512").
1456 Must be one of "sha512", "sha256", "whirlpool". 1464 Must be one of "sha512", "sha256", "whirlpool".
1457 1465
1463 --without-libiconv-prefix don't search for libiconv in includedir and libdir 1471 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1464 --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib 1472 --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib
1465 --without-libintl-prefix don't search for libintl in includedir and libdir 1473 --without-libintl-prefix don't search for libintl in includedir and libdir
1466 --with-kernel=dir give the directory with kernel sources 1474 --with-kernel=dir give the directory with kernel sources
1467 (default: /usr/src/linux) 1475 (default: /usr/src/linux)
1468 --with-openssl-include=DIR OpenSSL headers directory (without trailing /openssl)
1469 --with-openssl-lib=DIR OpenSSL library directory
1470 1476
1471Some influential environment variables: 1477Some influential environment variables:
1472 CC C compiler command 1478 CC C compiler command
1473 CFLAGS C compiler flags 1479 CFLAGS C compiler flags
1474 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1480 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1478 you have headers in a nonstandard directory <include dir> 1484 you have headers in a nonstandard directory <include dir>
1479 CPP C preprocessor 1485 CPP C preprocessor
1480 CXX C++ compiler command 1486 CXX C++ compiler command
1481 CXXFLAGS C++ compiler flags 1487 CXXFLAGS C++ compiler flags
1482 CXXCPP C++ preprocessor 1488 CXXCPP C++ preprocessor
1489 PKG_CONFIG path to pkg-config utility
1490 PKG_CONFIG_PATH
1491 directories to add to pkg-config's search path
1492 PKG_CONFIG_LIBDIR
1493 path overriding pkg-config's built-in search path
1494 LIBCRYPTO_CFLAGS
1495 C compiler flags for LIBCRYPTO, overriding pkg-config
1496 LIBCRYPTO_LIBS
1497 linker flags for LIBCRYPTO, overriding pkg-config
1483 1498
1484Use these variables to override the choices made by `configure' or to help 1499Use these variables to override the choices made by `configure' or to help
1485it to find libraries and programs with nonstandard names/locations. 1500it to find libraries and programs with nonstandard names/locations.
1486 1501
1487Report bugs to the package provider. 1502Report bugs to the package provider.
2210 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2225 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2211 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2226 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2212 as_fn_set_status $ac_retval 2227 as_fn_set_status $ac_retval
2213 2228
2214} # ac_fn_cxx_try_link 2229} # ac_fn_cxx_try_link
2215
2216# ac_fn_cxx_check_func LINENO FUNC VAR
2217# ------------------------------------
2218# Tests whether FUNC exists, setting the cache variable VAR accordingly
2219ac_fn_cxx_check_func ()
2220{
2221 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2223$as_echo_n "checking for $2... " >&6; }
2224if eval \${$3+:} false; then :
2225 $as_echo_n "(cached) " >&6
2226else
2227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2228/* end confdefs.h. */
2229/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2231#define $2 innocuous_$2
2232
2233/* System header to define __stub macros and hopefully few prototypes,
2234 which can conflict with char $2 (); below.
2235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2236 <limits.h> exists even on freestanding compilers. */
2237
2238#ifdef __STDC__
2239# include <limits.h>
2240#else
2241# include <assert.h>
2242#endif
2243
2244#undef $2
2245
2246/* Override any GCC internal prototype to avoid an error.
2247 Use char because int might match the return type of a GCC
2248 builtin and then its argument prototype would still apply. */
2249#ifdef __cplusplus
2250extern "C"
2251#endif
2252char $2 ();
2253/* The GNU C library defines this for functions which it implements
2254 to always fail with ENOSYS. Some functions are actually named
2255 something starting with __ and the normal name is an alias. */
2256#if defined __stub_$2 || defined __stub___$2
2257choke me
2258#endif
2259
2260int
2261main ()
2262{
2263return $2 ();
2264 ;
2265 return 0;
2266}
2267_ACEOF
2268if ac_fn_cxx_try_link "$LINENO"; then :
2269 eval "$3=yes"
2270else
2271 eval "$3=no"
2272fi
2273rm -f core conftest.err conftest.$ac_objext \
2274 conftest$ac_exeext conftest.$ac_ext
2275fi
2276eval ac_res=\$$3
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2278$as_echo "$ac_res" >&6; }
2279 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2280
2281} # ac_fn_cxx_check_func
2282cat >config.log <<_ACEOF 2230cat >config.log <<_ACEOF
2283This file contains any messages produced by compilers while 2231This file contains any messages produced by compilers while
2284running configure, to aid debugging if configure makes a mistake. 2232running configure, to aid debugging if configure makes a mistake.
2285 2233
2286It was created by $as_me, which was 2234It was created by $as_me, which was
2769# will get canonicalized. 2717# will get canonicalized.
2770test -n "$target_alias" && 2718test -n "$target_alias" &&
2771 test "$program_prefix$program_suffix$program_transform_name" = \ 2719 test "$program_prefix$program_suffix$program_transform_name" = \
2772 NONENONEs,x,x, && 2720 NONENONEs,x,x, &&
2773 program_prefix=${target_alias}- 2721 program_prefix=${target_alias}-
2774am__api_version='1.11' 2722am__api_version="1.7"
2775
2776# Find a good install program. We prefer a C program (faster), 2723# Find a good install program. We prefer a C program (faster),
2777# so one script is as good as another. But avoid the broken or 2724# so one script is as good as another. But avoid the broken or
2778# incompatible versions: 2725# incompatible versions:
2779# SysV /etc/install, /usr/sbin/install 2726# SysV /etc/install, /usr/sbin/install
2780# SunOS /usr/etc/install 2727# SunOS /usr/etc/install
2869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2870$as_echo_n "checking whether build environment is sane... " >&6; } 2817$as_echo_n "checking whether build environment is sane... " >&6; }
2871# Just in case 2818# Just in case
2872sleep 1 2819sleep 1
2873echo timestamp > conftest.file 2820echo timestamp > conftest.file
2874# Reject unsafe characters in $srcdir or the absolute working directory
2875# name. Accept space and tab only in the latter.
2876am_lf='
2877'
2878case `pwd` in
2879 *[\\\"\#\$\&\'\`$am_lf]*)
2880 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2881esac
2882case $srcdir in
2883 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2884 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2885esac
2886
2887# Do `set' in a subshell so we don't clobber the current shell's 2821# Do `set' in a subshell so we don't clobber the current shell's
2888# arguments. Must try -L first in case configure is actually a 2822# arguments. Must try -L first in case configure is actually a
2889# symlink; some systems play weird games with the mod time of symlinks 2823# symlink; some systems play weird games with the mod time of symlinks
2890# (eg FreeBSD returns the mod time of the symlink's containing 2824# (eg FreeBSD returns the mod time of the symlink's containing
2891# directory). 2825# directory).
2892if ( 2826if (
2893 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2827 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2894 if test "$*" = "X"; then 2828 if test "$*" = "X"; then
2895 # -L didn't work. 2829 # -L didn't work.
2896 set X `ls -t "$srcdir/configure" conftest.file` 2830 set X `ls -t $srcdir/configure conftest.file`
2897 fi 2831 fi
2898 rm -f conftest.file 2832 rm -f conftest.file
2899 if test "$*" != "X $srcdir/configure conftest.file" \ 2833 if test "$*" != "X $srcdir/configure conftest.file" \
2900 && test "$*" != "X conftest.file $srcdir/configure"; then 2834 && test "$*" != "X conftest.file $srcdir/configure"; then
2901 2835
2926# Double any \ or $. 2860# Double any \ or $.
2927# By default was `s,x,x', remove it if useless. 2861# By default was `s,x,x', remove it if useless.
2928ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2862ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2929program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2863program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2930 2864
2865
2931# expand $ac_aux_dir to an absolute path 2866# expand $ac_aux_dir to an absolute path
2932am_aux_dir=`cd $ac_aux_dir && pwd` 2867am_aux_dir=`cd $ac_aux_dir && pwd`
2933 2868
2934if test x"${MISSING+set}" != xset; then 2869test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2935 case $am_aux_dir in
2936 *\ * | *\ *)
2937 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2938 *)
2939 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2940 esac
2941fi
2942# Use eval to expand $SHELL 2870# Use eval to expand $SHELL
2943if eval "$MISSING --run true"; then 2871if eval "$MISSING --run true"; then
2944 am_missing_run="$MISSING --run " 2872 am_missing_run="$MISSING --run "
2945else 2873else
2946 am_missing_run= 2874 am_missing_run=
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2948$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2876$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2949fi 2877fi
2950 2878
2951if test x"${install_sh}" != xset; then 2879for ac_prog in gawk mawk nawk awk
2952 case $am_aux_dir in 2880do
2953 *\ * | *\ *) 2881 # Extract the first word of "$ac_prog", so it can be a program name with args.
2954 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2882set dummy $ac_prog; ac_word=$2
2883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2884$as_echo_n "checking for $ac_word... " >&6; }
2885if ${ac_cv_prog_AWK+:} false; then :
2886 $as_echo_n "(cached) " >&6
2887else
2888 if test -n "$AWK"; then
2889 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2890else
2891as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2892for as_dir in $PATH
2893do
2894 IFS=$as_save_IFS
2895 test -z "$as_dir" && as_dir=.
2896 for ac_exec_ext in '' $ac_executable_extensions; do
2897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2898 ac_cv_prog_AWK="$ac_prog"
2899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2900 break 2
2901 fi
2902done
2903 done
2904IFS=$as_save_IFS
2905
2906fi
2907fi
2908AWK=$ac_cv_prog_AWK
2909if test -n "$AWK"; then
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2911$as_echo "$AWK" >&6; }
2912else
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2914$as_echo "no" >&6; }
2915fi
2916
2917
2918 test -n "$AWK" && break
2919done
2920
2921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2922$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2923set x ${MAKE-make}
2924ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2925if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2926 $as_echo_n "(cached) " >&6
2927else
2928 cat >conftest.make <<\_ACEOF
2929SHELL = /bin/sh
2930all:
2931 @echo '@@@%%%=$(MAKE)=@@@%%%'
2932_ACEOF
2933# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2934case `${MAKE-make} -f conftest.make 2>/dev/null` in
2935 *@@@%%%=?*=@@@%%%*)
2936 eval ac_cv_prog_make_${ac_make}_set=yes;;
2955 *) 2937 *)
2956 install_sh="\${SHELL} $am_aux_dir/install-sh" 2938 eval ac_cv_prog_make_${ac_make}_set=no;;
2957 esac 2939esac
2940rm -f conftest.make
2958fi 2941fi
2942if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2944$as_echo "yes" >&6; }
2945 SET_MAKE=
2946else
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2948$as_echo "no" >&6; }
2949 SET_MAKE="MAKE=${MAKE-make}"
2950fi
2951
2952rm -rf .tst 2>/dev/null
2953mkdir .tst 2>/dev/null
2954if test -d .tst; then
2955 am__leading_dot=.
2956else
2957 am__leading_dot=_
2958fi
2959rmdir .tst 2>/dev/null
2960
2961 # test to see if srcdir already configured
2962if test "`cd $srcdir && pwd`" != "`pwd`" &&
2963 test -f $srcdir/config.status; then
2964 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2965fi
2966
2967# test whether we have cygpath
2968if test -z "$CYGPATH_W"; then
2969 if (cygpath --version) >/dev/null 2>/dev/null; then
2970 CYGPATH_W='cygpath -w'
2971 else
2972 CYGPATH_W=echo
2973 fi
2974fi
2975
2976
2977# Define the identity of the package.
2978 PACKAGE=gvpe
2979 VERSION=3.1
2980
2981
2982cat >>confdefs.h <<_ACEOF
2983#define PACKAGE "$PACKAGE"
2984_ACEOF
2985
2986
2987cat >>confdefs.h <<_ACEOF
2988#define VERSION "$VERSION"
2989_ACEOF
2990
2991# Some tools Automake needs.
2992
2993ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2994
2995
2996AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2997
2998
2999AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3000
3001
3002AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3003
3004
3005MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3006
3007
3008AMTAR=${AMTAR-"${am_missing_run}tar"}
3009
3010install_sh=${install_sh-"$am_aux_dir/install-sh"}
2959 3011
2960# Installed binaries are usually stripped using `strip' when the user 3012# Installed binaries are usually stripped using `strip' when the user
2961# run `make install-strip'. However `strip' might not be the right 3013# run `make install-strip'. However `strip' might not be the right
2962# tool to use in cross-compilation environments, therefore Automake 3014# tool to use in cross-compilation environments, therefore Automake
2963# will honor the `STRIP' environment variable to overrule this program. 3015# will honor the `STRIP' environment variable to overrule this program.
3053else 3105else
3054 STRIP="$ac_cv_prog_STRIP" 3106 STRIP="$ac_cv_prog_STRIP"
3055fi 3107fi
3056 3108
3057fi 3109fi
3058INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3110INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
3059
3060{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3061$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3062if test -z "$MKDIR_P"; then
3063 if ${ac_cv_path_mkdir+:} false; then :
3064 $as_echo_n "(cached) " >&6
3065else
3066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3067for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3068do
3069 IFS=$as_save_IFS
3070 test -z "$as_dir" && as_dir=.
3071 for ac_prog in mkdir gmkdir; do
3072 for ac_exec_ext in '' $ac_executable_extensions; do
3073 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3074 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3075 'mkdir (GNU coreutils) '* | \
3076 'mkdir (coreutils) '* | \
3077 'mkdir (fileutils) '4.1*)
3078 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3079 break 3;;
3080 esac
3081 done
3082 done
3083 done
3084IFS=$as_save_IFS
3085
3086fi
3087
3088 test -d ./--version && rmdir ./--version
3089 if test "${ac_cv_path_mkdir+set}" = set; then
3090 MKDIR_P="$ac_cv_path_mkdir -p"
3091 else
3092 # As a last resort, use the slow shell script. Don't cache a
3093 # value for MKDIR_P within a source directory, because that will
3094 # break other packages using the cache if that directory is
3095 # removed, or if the value is a relative name.
3096 MKDIR_P="$ac_install_sh -d"
3097 fi
3098fi
3099{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3100$as_echo "$MKDIR_P" >&6; }
3101
3102mkdir_p="$MKDIR_P"
3103case $mkdir_p in
3104 [\\/$]* | ?:[\\/]*) ;;
3105 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3106esac
3107
3108for ac_prog in gawk mawk nawk awk
3109do
3110 # Extract the first word of "$ac_prog", so it can be a program name with args.
3111set dummy $ac_prog; ac_word=$2
3112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3113$as_echo_n "checking for $ac_word... " >&6; }
3114if ${ac_cv_prog_AWK+:} false; then :
3115 $as_echo_n "(cached) " >&6
3116else
3117 if test -n "$AWK"; then
3118 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3119else
3120as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3121for as_dir in $PATH
3122do
3123 IFS=$as_save_IFS
3124 test -z "$as_dir" && as_dir=.
3125 for ac_exec_ext in '' $ac_executable_extensions; do
3126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3127 ac_cv_prog_AWK="$ac_prog"
3128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3129 break 2
3130 fi
3131done
3132 done
3133IFS=$as_save_IFS
3134
3135fi
3136fi
3137AWK=$ac_cv_prog_AWK
3138if test -n "$AWK"; then
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3140$as_echo "$AWK" >&6; }
3141else
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3143$as_echo "no" >&6; }
3144fi
3145
3146
3147 test -n "$AWK" && break
3148done
3149
3150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3151$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3152set x ${MAKE-make}
3153ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3154if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3155 $as_echo_n "(cached) " >&6
3156else
3157 cat >conftest.make <<\_ACEOF
3158SHELL = /bin/sh
3159all:
3160 @echo '@@@%%%=$(MAKE)=@@@%%%'
3161_ACEOF
3162# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3163case `${MAKE-make} -f conftest.make 2>/dev/null` in
3164 *@@@%%%=?*=@@@%%%*)
3165 eval ac_cv_prog_make_${ac_make}_set=yes;;
3166 *)
3167 eval ac_cv_prog_make_${ac_make}_set=no;;
3168esac
3169rm -f conftest.make
3170fi
3171if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3173$as_echo "yes" >&6; }
3174 SET_MAKE=
3175else
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3177$as_echo "no" >&6; }
3178 SET_MAKE="MAKE=${MAKE-make}"
3179fi
3180
3181rm -rf .tst 2>/dev/null
3182mkdir .tst 2>/dev/null
3183if test -d .tst; then
3184 am__leading_dot=.
3185else
3186 am__leading_dot=_
3187fi
3188rmdir .tst 2>/dev/null
3189
3190if test "`cd $srcdir && pwd`" != "`pwd`"; then
3191 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3192 # is not polluted with repeated "-I."
3193 am__isrc=' -I$(srcdir)'
3194 # test to see if srcdir already configured
3195 if test -f $srcdir/config.status; then
3196 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3197 fi
3198fi
3199
3200# test whether we have cygpath
3201if test -z "$CYGPATH_W"; then
3202 if (cygpath --version) >/dev/null 2>/dev/null; then
3203 CYGPATH_W='cygpath -w'
3204 else
3205 CYGPATH_W=echo
3206 fi
3207fi
3208
3209
3210# Define the identity of the package.
3211 PACKAGE=gvpe
3212 VERSION=2.25
3213
3214
3215cat >>confdefs.h <<_ACEOF
3216#define PACKAGE "$PACKAGE"
3217_ACEOF
3218
3219
3220cat >>confdefs.h <<_ACEOF
3221#define VERSION "$VERSION"
3222_ACEOF
3223
3224# Some tools Automake needs.
3225
3226ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3227
3228
3229AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3230
3231
3232AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3233
3234
3235AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3236
3237
3238MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3239 3111
3240# We need awk for the "check" target. The system "awk" is bad on 3112# We need awk for the "check" target. The system "awk" is bad on
3241# some platforms. 3113# some platforms.
3242# Always define AMTAR for backward compatibility. Yes, it's still used
3243# in the wild :-( We should find a proper way to deprecate it ...
3244AMTAR='$${TAR-tar}'
3245
3246am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3247
3248
3249 3114
3250 3115
3251 3116
3252ac_config_headers="$ac_config_headers config.h" 3117ac_config_headers="$ac_config_headers config.h"
3253
3254 3118
3255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3119{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3256$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3120$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3257 # Check whether --enable-maintainer-mode was given. 3121 # Check whether --enable-maintainer-mode was given.
3258if test "${enable_maintainer_mode+set}" = set; then : 3122if test "${enable_maintainer_mode+set}" = set; then :
3261 USE_MAINTAINER_MODE=no 3125 USE_MAINTAINER_MODE=no
3262fi 3126fi
3263 3127
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3265$as_echo "$USE_MAINTAINER_MODE" >&6; } 3129$as_echo "$USE_MAINTAINER_MODE" >&6; }
3130
3131
3266 if test $USE_MAINTAINER_MODE = yes; then 3132if test $USE_MAINTAINER_MODE = yes; then
3267 MAINTAINER_MODE_TRUE= 3133 MAINTAINER_MODE_TRUE=
3268 MAINTAINER_MODE_FALSE='#' 3134 MAINTAINER_MODE_FALSE='#'
3269else 3135else
3270 MAINTAINER_MODE_TRUE='#' 3136 MAINTAINER_MODE_TRUE='#'
3271 MAINTAINER_MODE_FALSE= 3137 MAINTAINER_MODE_FALSE=
3496 3362
3497 3363
3498am_make=${MAKE-make} 3364am_make=${MAKE-make}
3499cat > confinc << 'END' 3365cat > confinc << 'END'
3500am__doit: 3366am__doit:
3501 @echo this is the am__doit target 3367 @echo done
3502.PHONY: am__doit 3368.PHONY: am__doit
3503END 3369END
3504# If we don't find an include directive, just comment out the code. 3370# If we don't find an include directive, just comment out the code.
3505{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3506$as_echo_n "checking for style of include used by $am_make... " >&6; } 3372$as_echo_n "checking for style of include used by $am_make... " >&6; }
3507am__include="#" 3373am__include="#"
3508am__quote= 3374am__quote=
3509_am_result=none 3375_am_result=none
3510# First try GNU make style include. 3376# First try GNU make style include.
3511echo "include confinc" > confmf 3377echo "include confinc" > confmf
3512# Ignore all kinds of additional output from `make'. 3378# We grep out `Entering directory' and `Leaving directory'
3513case `$am_make -s -f confmf 2> /dev/null` in #( 3379# messages which can occur if `w' ends up in MAKEFLAGS.
3514*the\ am__doit\ target*) 3380# In particular we don't look at `^make:' because GNU make might
3381# be invoked under some other name (usually "gmake"), in which
3382# case it prints its new name instead of `make'.
3383if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3515 am__include=include 3384 am__include=include
3516 am__quote= 3385 am__quote=
3517 _am_result=GNU 3386 _am_result=GNU
3518 ;; 3387fi
3519esac
3520# Now try BSD make style include. 3388# Now try BSD make style include.
3521if test "$am__include" = "#"; then 3389if test "$am__include" = "#"; then
3522 echo '.include "confinc"' > confmf 3390 echo '.include "confinc"' > confmf
3523 case `$am_make -s -f confmf 2> /dev/null` in #( 3391 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3524 *the\ am__doit\ target*)
3525 am__include=.include 3392 am__include=.include
3526 am__quote="\"" 3393 am__quote="\""
3527 _am_result=BSD 3394 _am_result=BSD
3528 ;; 3395 fi
3529 esac
3530fi 3396fi
3531 3397
3532 3398
3533{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3399{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3534$as_echo "$_am_result" >&6; } 3400$as_echo "$_am_result" >&6; }
3540fi 3406fi
3541 3407
3542if test "x$enable_dependency_tracking" != xno; then 3408if test "x$enable_dependency_tracking" != xno; then
3543 am_depcomp="$ac_aux_dir/depcomp" 3409 am_depcomp="$ac_aux_dir/depcomp"
3544 AMDEPBACKSLASH='\' 3410 AMDEPBACKSLASH='\'
3545 am__nodep='_no'
3546fi 3411fi
3412
3413
3547 if test "x$enable_dependency_tracking" != xno; then 3414if test "x$enable_dependency_tracking" != xno; then
3548 AMDEP_TRUE= 3415 AMDEP_TRUE=
3549 AMDEP_FALSE='#' 3416 AMDEP_FALSE='#'
3550else 3417else
3551 AMDEP_TRUE='#' 3418 AMDEP_TRUE='#'
3552 AMDEP_FALSE= 3419 AMDEP_FALSE=
3553fi 3420fi
3421
3554 3422
3555 3423
3556ac_ext=c 3424ac_ext=c
3557ac_cpp='$CPP $CPPFLAGS' 3425ac_cpp='$CPP $CPPFLAGS'
3558ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3426ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4353 # We make a subdir and do the tests there. Otherwise we can end up 4221 # We make a subdir and do the tests there. Otherwise we can end up
4354 # making bogus files that we don't know about and never remove. For 4222 # making bogus files that we don't know about and never remove. For
4355 # instance it was reported that on HP-UX the gcc test will end up 4223 # instance it was reported that on HP-UX the gcc test will end up
4356 # making a dummy file named `D' -- because `-MD' means `put the output 4224 # making a dummy file named `D' -- because `-MD' means `put the output
4357 # in D'. 4225 # in D'.
4358 rm -rf conftest.dir
4359 mkdir conftest.dir 4226 mkdir conftest.dir
4360 # Copy depcomp to subdir because otherwise we won't find it if we're 4227 # Copy depcomp to subdir because otherwise we won't find it if we're
4361 # using a relative directory. 4228 # using a relative directory.
4362 cp "$am_depcomp" conftest.dir 4229 cp "$am_depcomp" conftest.dir
4363 cd conftest.dir 4230 cd conftest.dir
4371 4238
4372 am_cv_CC_dependencies_compiler_type=none 4239 am_cv_CC_dependencies_compiler_type=none
4373 if test "$am_compiler_list" = ""; then 4240 if test "$am_compiler_list" = ""; then
4374 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4241 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4375 fi 4242 fi
4376 am__universal=false
4377 case " $depcc " in #(
4378 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4379 esac
4380
4381 for depmode in $am_compiler_list; do 4243 for depmode in $am_compiler_list; do
4382 # Setup a source with many dependencies, because some compilers 4244 # Setup a source with many dependencies, because some compilers
4383 # like to wrap large dependency lists on column 80 (with \), and 4245 # like to wrap large dependency lists on column 80 (with \), and
4384 # we should not choose a depcomp mode which is confused by this. 4246 # we should not choose a depcomp mode which is confused by this.
4385 # 4247 #
4387 # overwrite some of them when testing with obscure command lines. 4249 # overwrite some of them when testing with obscure command lines.
4388 # This happens at least with the AIX C compiler. 4250 # This happens at least with the AIX C compiler.
4389 : > sub/conftest.c 4251 : > sub/conftest.c
4390 for i in 1 2 3 4 5 6; do 4252 for i in 1 2 3 4 5 6; do
4391 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4253 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4392 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4393 # Solaris 8's {/usr,}/bin/sh.
4394 touch sub/conftst$i.h 4254 : > sub/conftst$i.h
4395 done 4255 done
4396 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4256 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4397 4257
4398 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4399 # mode. It turns out that the SunPro C++ compiler does not properly
4400 # handle `-M -o', and we need to detect this. Also, some Intel
4401 # versions had trouble with output in subdirs
4402 am__obj=sub/conftest.${OBJEXT-o}
4403 am__minus_obj="-o $am__obj"
4404 case $depmode in 4258 case $depmode in
4405 gcc)
4406 # This depmode causes a compiler race in universal mode.
4407 test "$am__universal" = false || continue
4408 ;;
4409 nosideeffect) 4259 nosideeffect)
4410 # after this tag, mechanisms are not by side-effect, so they'll 4260 # after this tag, mechanisms are not by side-effect, so they'll
4411 # only be used when explicitly requested 4261 # only be used when explicitly requested
4412 if test "x$enable_dependency_tracking" = xyes; then 4262 if test "x$enable_dependency_tracking" = xyes; then
4413 continue 4263 continue
4414 else 4264 else
4415 break 4265 break
4416 fi 4266 fi
4417 ;; 4267 ;;
4418 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4419 # This compiler won't grok `-c -o', but also, the minuso test has
4420 # not run yet. These depmodes are late enough in the game, and
4421 # so weak that their functioning should not be impacted.
4422 am__obj=conftest.${OBJEXT-o}
4423 am__minus_obj=
4424 ;;
4425 none) break ;; 4268 none) break ;;
4426 esac 4269 esac
4270 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4271 # mode. It turns out that the SunPro C++ compiler does not properly
4272 # handle `-M -o', and we need to detect this.
4427 if depmode=$depmode \ 4273 if depmode=$depmode \
4428 source=sub/conftest.c object=$am__obj \ 4274 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4429 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4275 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4430 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4276 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4431 >/dev/null 2>conftest.err && 4277 >/dev/null 2>conftest.err &&
4432 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4433 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4278 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4434 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4279 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4435 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4280 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4436 # icc doesn't choke on unknown options, it will just issue warnings 4281 # icc doesn't choke on unknown options, it will just issue warnings
4437 # or remarks (even with -Werror). So we grep stderr for any message 4282 # (even with -Werror). So we grep stderr for any message
4438 # that says an option was ignored or not supported. 4283 # that says an option was ignored.
4439 # When given -MP, icc 7.0 and 7.1 complain thusly:
4440 # icc: Command line warning: ignoring option '-M'; no argument required
4441 # The diagnosis changed in icc 8.0:
4442 # icc: Command line remark: option '-MP' not supported
4443 if (grep 'ignoring option' conftest.err ||
4444 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4284 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
4445 am_cv_CC_dependencies_compiler_type=$depmode 4285 am_cv_CC_dependencies_compiler_type=$depmode
4446 break 4286 break
4447 fi 4287 fi
4448 fi 4288 fi
4449 done 4289 done
4457fi 4297fi
4458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4298{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4459$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4299$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4460CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4300CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4461 4301
4302
4303
4462 if 4304if
4463 test "x$enable_dependency_tracking" != xno \ 4305 test "x$enable_dependency_tracking" != xno \
4464 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4306 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4465 am__fastdepCC_TRUE= 4307 am__fastdepCC_TRUE=
4466 am__fastdepCC_FALSE='#' 4308 am__fastdepCC_FALSE='#'
4467else 4309else
6103 # We make a subdir and do the tests there. Otherwise we can end up 5945 # We make a subdir and do the tests there. Otherwise we can end up
6104 # making bogus files that we don't know about and never remove. For 5946 # making bogus files that we don't know about and never remove. For
6105 # instance it was reported that on HP-UX the gcc test will end up 5947 # instance it was reported that on HP-UX the gcc test will end up
6106 # making a dummy file named `D' -- because `-MD' means `put the output 5948 # making a dummy file named `D' -- because `-MD' means `put the output
6107 # in D'. 5949 # in D'.
6108 rm -rf conftest.dir
6109 mkdir conftest.dir 5950 mkdir conftest.dir
6110 # Copy depcomp to subdir because otherwise we won't find it if we're 5951 # Copy depcomp to subdir because otherwise we won't find it if we're
6111 # using a relative directory. 5952 # using a relative directory.
6112 cp "$am_depcomp" conftest.dir 5953 cp "$am_depcomp" conftest.dir
6113 cd conftest.dir 5954 cd conftest.dir
6121 5962
6122 am_cv_CXX_dependencies_compiler_type=none 5963 am_cv_CXX_dependencies_compiler_type=none
6123 if test "$am_compiler_list" = ""; then 5964 if test "$am_compiler_list" = ""; then
6124 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5965 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6125 fi 5966 fi
6126 am__universal=false
6127 case " $depcc " in #(
6128 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6129 esac
6130
6131 for depmode in $am_compiler_list; do 5967 for depmode in $am_compiler_list; do
6132 # Setup a source with many dependencies, because some compilers 5968 # Setup a source with many dependencies, because some compilers
6133 # like to wrap large dependency lists on column 80 (with \), and 5969 # like to wrap large dependency lists on column 80 (with \), and
6134 # we should not choose a depcomp mode which is confused by this. 5970 # we should not choose a depcomp mode which is confused by this.
6135 # 5971 #
6137 # overwrite some of them when testing with obscure command lines. 5973 # overwrite some of them when testing with obscure command lines.
6138 # This happens at least with the AIX C compiler. 5974 # This happens at least with the AIX C compiler.
6139 : > sub/conftest.c 5975 : > sub/conftest.c
6140 for i in 1 2 3 4 5 6; do 5976 for i in 1 2 3 4 5 6; do
6141 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5977 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6142 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6143 # Solaris 8's {/usr,}/bin/sh.
6144 touch sub/conftst$i.h 5978 : > sub/conftst$i.h
6145 done 5979 done
6146 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5980 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6147 5981
6148 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6149 # mode. It turns out that the SunPro C++ compiler does not properly
6150 # handle `-M -o', and we need to detect this. Also, some Intel
6151 # versions had trouble with output in subdirs
6152 am__obj=sub/conftest.${OBJEXT-o}
6153 am__minus_obj="-o $am__obj"
6154 case $depmode in 5982 case $depmode in
6155 gcc)
6156 # This depmode causes a compiler race in universal mode.
6157 test "$am__universal" = false || continue
6158 ;;
6159 nosideeffect) 5983 nosideeffect)
6160 # after this tag, mechanisms are not by side-effect, so they'll 5984 # after this tag, mechanisms are not by side-effect, so they'll
6161 # only be used when explicitly requested 5985 # only be used when explicitly requested
6162 if test "x$enable_dependency_tracking" = xyes; then 5986 if test "x$enable_dependency_tracking" = xyes; then
6163 continue 5987 continue
6164 else 5988 else
6165 break 5989 break
6166 fi 5990 fi
6167 ;; 5991 ;;
6168 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6169 # This compiler won't grok `-c -o', but also, the minuso test has
6170 # not run yet. These depmodes are late enough in the game, and
6171 # so weak that their functioning should not be impacted.
6172 am__obj=conftest.${OBJEXT-o}
6173 am__minus_obj=
6174 ;;
6175 none) break ;; 5992 none) break ;;
6176 esac 5993 esac
5994 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5995 # mode. It turns out that the SunPro C++ compiler does not properly
5996 # handle `-M -o', and we need to detect this.
6177 if depmode=$depmode \ 5997 if depmode=$depmode \
6178 source=sub/conftest.c object=$am__obj \ 5998 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6179 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5999 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6180 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 6000 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6181 >/dev/null 2>conftest.err && 6001 >/dev/null 2>conftest.err &&
6182 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6183 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 6002 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6184 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 6003 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6185 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 6004 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6186 # icc doesn't choke on unknown options, it will just issue warnings 6005 # icc doesn't choke on unknown options, it will just issue warnings
6187 # or remarks (even with -Werror). So we grep stderr for any message 6006 # (even with -Werror). So we grep stderr for any message
6188 # that says an option was ignored or not supported. 6007 # that says an option was ignored.
6189 # When given -MP, icc 7.0 and 7.1 complain thusly:
6190 # icc: Command line warning: ignoring option '-M'; no argument required
6191 # The diagnosis changed in icc 8.0:
6192 # icc: Command line remark: option '-MP' not supported
6193 if (grep 'ignoring option' conftest.err ||
6194 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 6008 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
6195 am_cv_CXX_dependencies_compiler_type=$depmode 6009 am_cv_CXX_dependencies_compiler_type=$depmode
6196 break 6010 break
6197 fi 6011 fi
6198 fi 6012 fi
6199 done 6013 done
6207fi 6021fi
6208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 6022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6209$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 6023$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6210CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 6024CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6211 6025
6026
6027
6212 if 6028if
6213 test "x$enable_dependency_tracking" != xno \ 6029 test "x$enable_dependency_tracking" != xno \
6214 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 6030 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6215 am__fastdepCXX_TRUE= 6031 am__fastdepCXX_TRUE=
6216 am__fastdepCXX_FALSE='#' 6032 am__fastdepCXX_FALSE='#'
6217else 6033else
8217 8033
8218 8034
8219 8035
8220 8036
8221 8037
8222 tinc_ac_save_CPPFLAGS="$CPPFLAGS"
8223 8038
8224 8039
8225# Check whether --with-openssl-include was given.
8226if test "${with_openssl_include+set}" = set; then :
8227 withval=$with_openssl_include; openssl_include="$withval"
8228 CFLAGS="$CFLAGS -I$withval"
8229 CPPFLAGS="$CPPFLAGS -I$withval"
8230 8040
8231fi
8232 8041
8233 8042
8234 8043
8235# Check whether --with-openssl-lib was given. 8044if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
8236if test "${with_openssl_lib+set}" = set; then : 8045 if test -n "$ac_tool_prefix"; then
8237 withval=$with_openssl_lib; openssl_lib="$withval" 8046 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
8238 LIBS="$LIBS -L$withval" 8047set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
8239 8048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8240fi 8049$as_echo_n "checking for $ac_word... " >&6; }
8241 8050if ${ac_cv_path_PKG_CONFIG+:} false; then :
8242 8051 $as_echo_n "(cached) " >&6
8243 for ac_header in openssl/evp.h openssl/rsa.h openssl/rand.h openssl/err.h openssl/sha.h openssl/pem.h
8244do :
8245 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8246ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
8247if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8248 cat >>confdefs.h <<_ACEOF
8249#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8250_ACEOF
8251
8252else 8052else
8253 as_fn_error $? "OpenSSL header files not found." "$LINENO" 5; break 8053 case $PKG_CONFIG in
8254 8054 [\\/]* | ?:[\\/]*)
8255fi 8055 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
8256 8056 ;;
8057 *)
8058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8059for as_dir in $PATH
8060do
8061 IFS=$as_save_IFS
8062 test -z "$as_dir" && as_dir=.
8063 for ac_exec_ext in '' $ac_executable_extensions; do
8064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8065 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8067 break 2
8068 fi
8257done 8069done
8070 done
8071IFS=$as_save_IFS
8258 8072
8073 ;;
8074esac
8075fi
8076PKG_CONFIG=$ac_cv_path_PKG_CONFIG
8077if test -n "$PKG_CONFIG"; then
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
8079$as_echo "$PKG_CONFIG" >&6; }
8080else
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8082$as_echo "no" >&6; }
8083fi
8259 8084
8260 CPPFLAGS="$tinc_ac_save_CPPFLAGS"
8261 8085
8086fi
8087if test -z "$ac_cv_path_PKG_CONFIG"; then
8088 ac_pt_PKG_CONFIG=$PKG_CONFIG
8089 # Extract the first word of "pkg-config", so it can be a program name with args.
8090set dummy pkg-config; ac_word=$2
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_Init in -lcrypto" >&5 8091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8263$as_echo_n "checking for SHA1_Init in -lcrypto... " >&6; } 8092$as_echo_n "checking for $ac_word... " >&6; }
8264if ${ac_cv_lib_crypto_SHA1_Init+:} false; then : 8093if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
8265 $as_echo_n "(cached) " >&6 8094 $as_echo_n "(cached) " >&6
8266else 8095else
8267 ac_check_lib_save_LIBS=$LIBS 8096 case $ac_pt_PKG_CONFIG in
8268LIBS="-lcrypto $LIBS" 8097 [\\/]* | ?:[\\/]*)
8269cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8098 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
8270/* end confdefs.h. */
8271
8272/* Override any GCC internal prototype to avoid an error.
8273 Use char because int might match the return type of a GCC
8274 builtin and then its argument prototype would still apply. */
8275#ifdef __cplusplus
8276extern "C"
8277#endif
8278char SHA1_Init ();
8279int
8280main ()
8281{
8282return SHA1_Init ();
8283 ; 8099 ;;
8284 return 0; 8100 *)
8285} 8101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8286_ACEOF 8102for as_dir in $PATH
8287if ac_fn_cxx_try_link "$LINENO"; then : 8103do
8288 ac_cv_lib_crypto_SHA1_Init=yes 8104 IFS=$as_save_IFS
8289else 8105 test -z "$as_dir" && as_dir=.
8290 ac_cv_lib_crypto_SHA1_Init=no 8106 for ac_exec_ext in '' $ac_executable_extensions; do
8291fi 8107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8292rm -f core conftest.err conftest.$ac_objext \ 8108 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8293 conftest$ac_exeext conftest.$ac_ext 8109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8294LIBS=$ac_check_lib_save_LIBS 8110 break 2
8295fi 8111 fi
8296{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_Init" >&5
8297$as_echo "$ac_cv_lib_crypto_SHA1_Init" >&6; }
8298if test "x$ac_cv_lib_crypto_SHA1_Init" = xyes; then :
8299 LIBS="$LIBS -lcrypto"
8300else
8301 as_fn_error $? "OpenSSL libraries not found." "$LINENO" 5
8302
8303fi
8304
8305
8306 for ac_func in RAND_pseudo_bytes OPENSSL_add_all_algorithms_noconf OpenSSL_add_all_algorithms SSLeay_add_all_algorithms
8307do :
8308 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8309ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
8310if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8311 cat >>confdefs.h <<_ACEOF
8312#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8313_ACEOF
8314
8315fi
8316done 8112done
8113 done
8114IFS=$as_save_IFS
8317 8115
8116 ;;
8117esac
8118fi
8119ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
8120if test -n "$ac_pt_PKG_CONFIG"; then
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
8122$as_echo "$ac_pt_PKG_CONFIG" >&6; }
8123else
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8125$as_echo "no" >&6; }
8126fi
8318 8127
8319 ac_fn_cxx_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 8128 if test "x$ac_pt_PKG_CONFIG" = x; then
8320if test "x$ac_cv_func_dlopen" = xyes; then : 8129 PKG_CONFIG=""
8130 else
8131 case $cross_compiling:$ac_tool_warned in
8132yes:)
8133{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8134$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8135ac_tool_warned=yes ;;
8136esac
8137 PKG_CONFIG=$ac_pt_PKG_CONFIG
8138 fi
8139else
8140 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
8141fi
8321 8142
8143fi
8144if test -n "$PKG_CONFIG"; then
8145 _pkg_min_version=0.9.0
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
8147$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
8148 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8150$as_echo "yes" >&6; }
8322else 8151 else
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8153$as_echo "no" >&6; }
8154 PKG_CONFIG=""
8155 fi
8156fi
8157
8158pkg_failed=no
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 8159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCRYPTO" >&5
8324$as_echo_n "checking for dlopen in -ldl... " >&6; } 8160$as_echo_n "checking for LIBCRYPTO... " >&6; }
8325if ${ac_cv_lib_dl_dlopen+:} false; then : 8161
8326 $as_echo_n "(cached) " >&6 8162if test -n "$LIBCRYPTO_CFLAGS"; then
8163 pkg_cv_LIBCRYPTO_CFLAGS="$LIBCRYPTO_CFLAGS"
8164 elif test -n "$PKG_CONFIG"; then
8165 if test -n "$PKG_CONFIG" && \
8166 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= 1\""; } >&5
8167 ($PKG_CONFIG --exists --print-errors "libcrypto >= 1") 2>&5
8168 ac_status=$?
8169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8170 test $ac_status = 0; }; then
8171 pkg_cv_LIBCRYPTO_CFLAGS=`$PKG_CONFIG --cflags "libcrypto >= 1" 2>/dev/null`
8172 test "x$?" != "x0" && pkg_failed=yes
8173else
8174 pkg_failed=yes
8175fi
8327else 8176 else
8328 ac_check_lib_save_LIBS=$LIBS 8177 pkg_failed=untried
8329LIBS="-ldl $LIBS" 8178fi
8330cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8179if test -n "$LIBCRYPTO_LIBS"; then
8331/* end confdefs.h. */ 8180 pkg_cv_LIBCRYPTO_LIBS="$LIBCRYPTO_LIBS"
8332 8181 elif test -n "$PKG_CONFIG"; then
8333/* Override any GCC internal prototype to avoid an error. 8182 if test -n "$PKG_CONFIG" && \
8334 Use char because int might match the return type of a GCC 8183 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= 1\""; } >&5
8335 builtin and then its argument prototype would still apply. */ 8184 ($PKG_CONFIG --exists --print-errors "libcrypto >= 1") 2>&5
8336#ifdef __cplusplus 8185 ac_status=$?
8337extern "C" 8186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8338#endif 8187 test $ac_status = 0; }; then
8339char dlopen (); 8188 pkg_cv_LIBCRYPTO_LIBS=`$PKG_CONFIG --libs "libcrypto >= 1" 2>/dev/null`
8340int 8189 test "x$?" != "x0" && pkg_failed=yes
8341main () 8190else
8342{ 8191 pkg_failed=yes
8343return dlopen (); 8192fi
8344 ;
8345 return 0;
8346}
8347_ACEOF
8348if ac_fn_cxx_try_link "$LINENO"; then :
8349 ac_cv_lib_dl_dlopen=yes
8350else 8193 else
8351 ac_cv_lib_dl_dlopen=no 8194 pkg_failed=untried
8352fi 8195fi
8353rm -f core conftest.err conftest.$ac_objext \ 8196
8354 conftest$ac_exeext conftest.$ac_ext 8197
8355LIBS=$ac_check_lib_save_LIBS 8198
8356fi 8199if test $pkg_failed = yes; then
8357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8358$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 8201$as_echo "no" >&6; }
8359if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
8360 LIBS="$LIBS -ldl"
8361else
8362 as_fn_error $? "OpenSSL depends on libdl." "$LINENO" 5
8363 8202
8364fi 8203if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8365 8204 _pkg_short_errors_supported=yes
8366
8367fi
8368
8369
8370 ac_fn_cxx_check_func "$LINENO" "inflate" "ac_cv_func_inflate"
8371if test "x$ac_cv_func_inflate" = xyes; then :
8372
8373else 8205else
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5 8206 _pkg_short_errors_supported=no
8375$as_echo_n "checking for inflate in -lz... " >&6; }
8376if ${ac_cv_lib_z_inflate+:} false; then :
8377 $as_echo_n "(cached) " >&6
8378else
8379 ac_check_lib_save_LIBS=$LIBS
8380LIBS="-lz $LIBS"
8381cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8382/* end confdefs.h. */
8383
8384/* Override any GCC internal prototype to avoid an error.
8385 Use char because int might match the return type of a GCC
8386 builtin and then its argument prototype would still apply. */
8387#ifdef __cplusplus
8388extern "C"
8389#endif
8390char inflate ();
8391int
8392main ()
8393{
8394return inflate ();
8395 ;
8396 return 0;
8397}
8398_ACEOF
8399if ac_fn_cxx_try_link "$LINENO"; then :
8400 ac_cv_lib_z_inflate=yes
8401else
8402 ac_cv_lib_z_inflate=no
8403fi 8207fi
8404rm -f core conftest.err conftest.$ac_objext \ 8208 if test $_pkg_short_errors_supported = yes; then
8405 conftest$ac_exeext conftest.$ac_ext 8209 LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcrypto >= 1" 2>&1`
8406LIBS=$ac_check_lib_save_LIBS 8210 else
8407fi 8211 LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcrypto >= 1" 2>&1`
8212 fi
8213 # Put the nasty error message in config.log where it belongs
8214 echo "$LIBCRYPTO_PKG_ERRORS" >&5
8215
8216 as_fn_error $? "Package requirements (libcrypto >= 1) were not met:
8217
8218$LIBCRYPTO_PKG_ERRORS
8219
8220Consider adjusting the PKG_CONFIG_PATH environment variable if you
8221installed software in a non-standard prefix.
8222
8223Alternatively, you may set the environment variables LIBCRYPTO_CFLAGS
8224and LIBCRYPTO_LIBS to avoid the need to call pkg-config.
8225See the pkg-config man page for more details." "$LINENO" 5
8226elif test $pkg_failed = untried; then
8408{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5 8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8409$as_echo "$ac_cv_lib_z_inflate" >&6; } 8228$as_echo "no" >&6; }
8410if test "x$ac_cv_lib_z_inflate" = xyes; then : 8229 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8411 LIBS="$LIBS -lz" 8230$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8412else 8231as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
8413 as_fn_error $? "OpenSSL depends on libz." "$LINENO" 5 8232is in your PATH or set the PKG_CONFIG environment variable to the full
8233path to pkg-config.
8414 8234
8415fi 8235Alternatively, you may set the environment variables LIBCRYPTO_CFLAGS
8236and LIBCRYPTO_LIBS to avoid the need to call pkg-config.
8237See the pkg-config man page for more details.
8416 8238
8239To get pkg-config, see <http://pkg-config.freedesktop.org/>.
8240See \`config.log' for more details" "$LINENO" 5; }
8241else
8242 LIBCRYPTO_CFLAGS=$pkg_cv_LIBCRYPTO_CFLAGS
8243 LIBCRYPTO_LIBS=$pkg_cv_LIBCRYPTO_LIBS
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8245$as_echo "yes" >&6; }
8417 8246
8418fi
8419
8420
8421if test "x$openssl_include" != x; then
8422 CXXFLAGS="$CXXFLAGS -I$openssl_include"
8423fi 8247fi
8424 8248
8425# Check whether --enable-threads was given. 8249# Check whether --enable-threads was given.
8426if test "${enable_threads+set}" = set; then : 8250if test "${enable_threads+set}" = set; then :
8427 enableval=$enable_threads; try_threads=$enableval 8251 enableval=$enable_threads; try_threads=$enableval
8469fi 8293fi
8470 8294
8471 8295
8472 8296
8473 8297
8298
8299
8474 if test x$rohc = xtrue; then 8300if test x$rohc = xtrue; then
8475 ROHC_TRUE= 8301 ROHC_TRUE=
8476 ROHC_FALSE='#' 8302 ROHC_FALSE='#'
8477else 8303else
8478 ROHC_TRUE='#' 8304 ROHC_TRUE='#'
8479 ROHC_FALSE= 8305 ROHC_FALSE=
8606cat >>confdefs.h <<_ACEOF 8432cat >>confdefs.h <<_ACEOF
8607#define RSABITS $RSA 8433#define RSABITS $RSA
8608_ACEOF 8434_ACEOF
8609 8435
8610 8436
8611HMAC=12 8437HMACSIZE=12
8612# Check whether --enable-hmac-length was given. 8438# Check whether --enable-hmac-length was given.
8613if test "${enable_hmac_length+set}" = set; then : 8439if test "${enable_hmac_length+set}" = set; then :
8614 enableval=$enable_hmac_length; HMAC=$enableval 8440 enableval=$enable_hmac_length; HMACSIZE=$enableval
8615 8441
8616fi 8442fi
8617 8443
8618 8444
8619cat >>confdefs.h <<_ACEOF 8445cat >>confdefs.h <<_ACEOF
8620#define HMACLENGTH $HMAC 8446#define HMACLENGTH $HMACSIZE
8621_ACEOF
8622
8623
8624RAND=8
8625# Check whether --enable-rand-length was given.
8626if test "${enable_rand_length+set}" = set; then :
8627 enableval=$enable_rand_length; RAND=$enableval
8628
8629fi
8630
8631
8632cat >>confdefs.h <<_ACEOF
8633#define RAND_SIZE $RAND
8634_ACEOF 8447_ACEOF
8635 8448
8636 8449
8637MTU=1500 8450MTU=1500
8638# Check whether --enable-max-mtu was given. 8451# Check whether --enable-max-mtu was given.
8660cat >>confdefs.h <<_ACEOF 8473cat >>confdefs.h <<_ACEOF
8661#define ENABLE_COMPRESSION $COMPRESS 8474#define ENABLE_COMPRESSION $COMPRESS
8662_ACEOF 8475_ACEOF
8663 8476
8664 8477
8665CIPHER=aes_128_cbc 8478CIPHER=aes_128_ctr
8666# Check whether --enable-cipher was given. 8479# Check whether --enable-cipher was given.
8667if test "${enable_cipher+set}" = set; then : 8480if test "${enable_cipher+set}" = set; then :
8668 enableval=$enable_cipher; if test "x$enableval" = xbf ; then CIPHER=bf_cbc ; fi 8481 enableval=$enable_cipher; #if test "x$enableval" = xbf ; then CIPHER=bf_ctr ; fi
8669 if test "x$enableval" = xaes-128 ; then CIPHER=aes_128_cbc ; fi 8482 if test "x$enableval" = xaes-128 ; then CIPHER=aes_128_ctr ; fi
8670 if test "x$enableval" = xaes-192 ; then CIPHER=aes_192_cbc ; fi 8483 if test "x$enableval" = xaes-192 ; then CIPHER=aes_192_ctr ; fi
8671 if test "x$enableval" = xaes-256 ; then CIPHER=aes_256_cbc ; fi 8484 if test "x$enableval" = xaes-256 ; then CIPHER=aes_256_ctr ; fi
8672 if test "x$enableval" = xcamellia-128; then CIPHER=camellia_128_cbc; fi 8485 #if test "x$enableval" = xcamellia-128; then CIPHER=camellia_128_ctr; fi
8673 if test "x$enableval" = xcamellia-256; then CIPHER=camellia_256_cbc; fi 8486 #if test "x$enableval" = xcamellia-256; then CIPHER=camellia_256_ctr; fi
8674 8487
8675fi 8488fi
8676 8489
8677 8490
8678cat >>confdefs.h <<_ACEOF 8491cat >>confdefs.h <<_ACEOF
8679#define ENABLE_CIPHER EVP_${CIPHER} 8492#define ENABLE_CIPHER EVP_${CIPHER}
8680_ACEOF 8493_ACEOF
8681 8494
8682 8495
8683DIGEST=sha1 8496HMAC=sha1
8684# Check whether --enable-digest was given. 8497# Check whether --enable-hmac-digest was given.
8685if test "${enable_digest+set}" = set; then : 8498if test "${enable_hmac_digest+set}" = set; then :
8686 enableval=$enable_digest; if test "x$enableval" = xwhirlpool; then DIGEST=whirlpool; fi 8499 enableval=$enable_hmac_digest; if test "x$enableval" = xwhirlpool; then HMAC=whirlpool; fi
8687 if test "x$enableval" = xsha512 ; then DIGEST=sha512 ; fi 8500 if test "x$enableval" = xsha512 ; then HMAC=sha512 ; fi
8688 if test "x$enableval" = xsha256 ; then DIGEST=sha256 ; fi 8501 if test "x$enableval" = xsha256 ; then HMAC=sha256 ; fi
8689 if test "x$enableval" = xsha1 ; then DIGEST=sha1 ; fi 8502 if test "x$enableval" = xsha1 ; then HMAC=sha1 ; fi
8690 if test "x$enableval" = xripemd160; then DIGEST=ripemd160; fi 8503 if test "x$enableval" = xripemd160; then HMAC=ripemd160; fi
8691 8504
8692fi 8505fi
8693 8506
8694 8507
8695cat >>confdefs.h <<_ACEOF 8508cat >>confdefs.h <<_ACEOF
8696#define ENABLE_DIGEST EVP_${DIGEST} 8509#define ENABLE_HMAC EVP_${HMAC}
8697_ACEOF 8510_ACEOF
8698 8511
8699 8512
8700AUTH=sha512 8513AUTH=sha512
8701# Check whether --enable-auth-digest was given. 8514# Check whether --enable-auth-digest was given.
8834LIBOBJS=$ac_libobjs 8647LIBOBJS=$ac_libobjs
8835 8648
8836LTLIBOBJS=$ac_ltlibobjs 8649LTLIBOBJS=$ac_ltlibobjs
8837 8650
8838 8651
8839 if test -n "$EXEEXT"; then
8840 am__EXEEXT_TRUE=
8841 am__EXEEXT_FALSE='#'
8842else
8843 am__EXEEXT_TRUE='#'
8844 am__EXEEXT_FALSE=
8845fi
8846
8847if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 8652if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8848 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 8653 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
8849Usually this means the macro was only invoked conditionally." "$LINENO" 5 8654Usually this means the macro was only invoked conditionally." "$LINENO" 5
8850fi 8655fi
8851if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 8656if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9336gives unlimited permission to copy, distribute and modify it." 9141gives unlimited permission to copy, distribute and modify it."
9337 9142
9338ac_pwd='$ac_pwd' 9143ac_pwd='$ac_pwd'
9339srcdir='$srcdir' 9144srcdir='$srcdir'
9340INSTALL='$INSTALL' 9145INSTALL='$INSTALL'
9341MKDIR_P='$MKDIR_P'
9342AWK='$AWK' 9146AWK='$AWK'
9343test -n "\$AWK" || AWK=awk 9147test -n "\$AWK" || AWK=awk
9344_ACEOF 9148_ACEOF
9345 9149
9346cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9150cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9918 9722
9919 case $INSTALL in 9723 case $INSTALL in
9920 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 9724 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9921 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 9725 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9922 esac 9726 esac
9923 ac_MKDIR_P=$MKDIR_P
9924 case $MKDIR_P in
9925 [\\/$]* | ?:[\\/]* ) ;;
9926 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
9927 esac
9928_ACEOF 9727_ACEOF
9929 9728
9930cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9729cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9931# If the template does not know about datarootdir, expand it. 9730# If the template does not know about datarootdir, expand it.
9932# FIXME: This hack should be removed a few years after 2.60. 9731# FIXME: This hack should be removed a few years after 2.60.
9977s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 9776s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9978s&@builddir@&$ac_builddir&;t t 9777s&@builddir@&$ac_builddir&;t t
9979s&@abs_builddir@&$ac_abs_builddir&;t t 9778s&@abs_builddir@&$ac_abs_builddir&;t t
9980s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9779s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9981s&@INSTALL@&$ac_INSTALL&;t t 9780s&@INSTALL@&$ac_INSTALL&;t t
9982s&@MKDIR_P@&$ac_MKDIR_P&;t t
9983$ac_datarootdir_hack 9781$ac_datarootdir_hack
9984" 9782"
9985eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 9783eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9986 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9784 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9987 9785
10023 $as_echo "/* $configure_input */" \ 9821 $as_echo "/* $configure_input */" \
10024 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 9822 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
10025 || as_fn_error $? "could not create -" "$LINENO" 5 9823 || as_fn_error $? "could not create -" "$LINENO" 5
10026 fi 9824 fi
10027# Compute "$ac_file"'s index in $config_headers. 9825# Compute "$ac_file"'s index in $config_headers.
10028_am_arg="$ac_file"
10029_am_stamp_count=1 9826_am_stamp_count=1
10030for _am_header in $config_headers :; do 9827for _am_header in $config_headers :; do
10031 case $_am_header in 9828 case $_am_header in
10032 $_am_arg | $_am_arg:* ) 9829 "$ac_file" | "$ac_file":* )
10033 break ;; 9830 break ;;
10034 * ) 9831 * )
10035 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 9832 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10036 esac 9833 esac
10037done 9834done
10038echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 9835echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
10039$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9836$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10040 X"$_am_arg" : 'X\(//\)[^/]' \| \ 9837 X"$ac_file" : 'X\(//\)[^/]' \| \
10041 X"$_am_arg" : 'X\(//\)$' \| \ 9838 X"$ac_file" : 'X\(//\)$' \| \
10042 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 9839 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10043$as_echo X"$_am_arg" | 9840$as_echo X"$ac_file" |
10044 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9841 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10045 s//\1/ 9842 s//\1/
10046 q 9843 q
10047 } 9844 }
10048 /^X\(\/\/\)[^/].*/{ 9845 /^X\(\/\/\)[^/].*/{
10161 done 9958 done
10162 fi 9959 fi
10163 ;; 9960 ;;
10164 esac 9961 esac
10165 done ;; 9962 done ;;
10166 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 9963 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
10167 # Autoconf 2.62 quotes --file arguments for eval, but not when files
10168 # are listed without --file. Let's play safe and only enable the eval
10169 # if we detect the quoting.
10170 case $CONFIG_FILES in
10171 *\'*) eval set x "$CONFIG_FILES" ;;
10172 *) set x $CONFIG_FILES ;;
10173 esac
10174 shift
10175 for mf
10176 do
10177 # Strip MF so we end up with the name of the file. 9964 # Strip MF so we end up with the name of the file.
10178 mf=`echo "$mf" | sed -e 's/:.*$//'` 9965 mf=`echo "$mf" | sed -e 's/:.*$//'`
10179 # Check whether this is an Automake generated Makefile or not. 9966 # Check whether this is an Automake generated Makefile or not.
10180 # We used to match only the files named `Makefile.in', but 9967 # We used to match only the files named `Makefile.in', but
10181 # some people rename them; so instead we look at the file content. 9968 # some people rename them; so instead we look at the file content.
10182 # Grep'ing the first line is not enough: some people post-process 9969 # Grep'ing the first line is not enough: some people post-process
10183 # each Makefile.in and add a new line on top of each file to say so. 9970 # each Makefile.in and add a new line on top of each file to say so.
10184 # Grep'ing the whole file is not good either: AIX grep has a line 9971 # So let's grep whole file.
10185 # limit of 2048, but all sed's we know have understand at least 4000.
10186 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 9972 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
10187 dirpart=`$as_dirname -- "$mf" || 9973 dirpart=`$as_dirname -- "$mf" ||
10188$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9974$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10189 X"$mf" : 'X\(//\)[^/]' \| \ 9975 X"$mf" : 'X\(//\)[^/]' \| \
10190 X"$mf" : 'X\(//\)$' \| \ 9976 X"$mf" : 'X\(//\)$' \| \
10191 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 9977 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10192$as_echo X"$mf" | 9978$as_echo X"$mf" |
10205 /^X\(\/\).*/{ 9991 /^X\(\/\).*/{
10206 s//\1/ 9992 s//\1/
10207 q 9993 q
10208 } 9994 }
10209 s/.*/./; q'` 9995 s/.*/./; q'`
10210 else 9996 else
10211 continue 9997 continue
10212 fi 9998 fi
10213 # Extract the definition of DEPDIR, am__include, and am__quote 9999 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
10214 # from the Makefile without running `make'. 10000 # Extract the definition of DEP_FILES from the Makefile without
10001 # running `make'.
10215 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 10002 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
10216 test -z "$DEPDIR" && continue 10003 test -z "$DEPDIR" && continue
10217 am__include=`sed -n 's/^am__include = //p' < "$mf"`
10218 test -z "am__include" && continue
10219 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10220 # When using ansi2knr, U may be empty or an underscore; expand it 10004 # When using ansi2knr, U may be empty or an underscore; expand it
10221 U=`sed -n 's/^U = //p' < "$mf"` 10005 U=`sed -n -e '/^U = / s///p' < "$mf"`
10222 # Find all dependency output files, they are included files with 10006 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
10223 # $(DEPDIR) in their names. We invoke sed twice because it is the 10007 # We invoke sed twice because it is the simplest approach to
10224 # simplest approach to changing $(DEPDIR) to its actual value in the 10008 # changing $(DEPDIR) to its actual value in the expansion.
10225 # expansion.
10226 for file in `sed -n " 10009 for file in `sed -n -e '
10227 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 10010 /^DEP_FILES = .*\\\\$/ {
10011 s/^DEP_FILES = //
10012 :loop
10013 s/\\\\$//
10014 p
10015 n
10016 /\\\\$/ b loop
10017 p
10018 }
10019 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
10228 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 10020 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10229 # Make sure the directory exists. 10021 # Make sure the directory exists.
10230 test -f "$dirpart/$file" && continue 10022 test -f "$dirpart/$file" && continue
10231 fdir=`$as_dirname -- "$file" || 10023 fdir=`$as_dirname -- "$file" ||
10232$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10024$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10233 X"$file" : 'X\(//\)[^/]' \| \ 10025 X"$file" : 'X\(//\)[^/]' \| \
10234 X"$file" : 'X\(//\)$' \| \ 10026 X"$file" : 'X\(//\)$' \| \
10235 X"$file" : 'X\(/\)' \| . 2>/dev/null || 10027 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10236$as_echo X"$file" | 10028$as_echo X"$file" |
10249 /^X\(\/\).*/{ 10041 /^X\(\/\).*/{
10250 s//\1/ 10042 s//\1/
10251 q 10043 q
10252 } 10044 }
10253 s/.*/./; q'` 10045 s/.*/./; q'`
10254 as_dir=$dirpart/$fdir; as_fn_mkdir_p 10046 as_dir=$dirpart/$fdir; as_fn_mkdir_p
10255 # echo "creating $dirpart/$file" 10047 # echo "creating $dirpart/$file"
10256 echo '# dummy' > "$dirpart/$file" 10048 echo '# dummy' > "$dirpart/$file"
10257 done
10258 done 10049 done
10259} 10050done
10260 ;; 10051 ;;
10261 10052
10262 esac 10053 esac
10263done # for ac_tag 10054done # for ac_tag
10264 10055
10305echo "*** RSA size: $RSA" 10096echo "*** RSA size: $RSA"
10306echo "*** Cipher used: $CIPHER" 10097echo "*** Cipher used: $CIPHER"
10307echo "*** Digest used: $DIGEST" 10098echo "*** Digest used: $DIGEST"
10308echo "*** Authdigest: $AUTH" 10099echo "*** Authdigest: $AUTH"
10309echo "*** HMAC length: $HMAC" 10100echo "*** HMAC length: $HMAC"
10310echo "*** RAND used: $RAND"
10311echo "*** Max. MTU: $MTU" 10101echo "*** Max. MTU: $MTU"
10312 10102
10313echo "***" 10103echo "***"
10314echo "*** Enable options:" 10104echo "*** Enable options:"
10315grep ENABLE_ config.h | sed -e 's/^/*** /' 10105grep ENABLE_ config.h | sed -e 's/^/*** /'
10316 10106
10317if test "$HMAC" -lt 12; then 10107if test "$HMACSIZE" -lt 12; then
10318echo "***" 10108echo "***"
10319echo "*** WARNING: The hmac length you have chosen ($HMAC) is quite insecure" 10109echo "*** WARNING: The hmac length you have chosen ($HMACSIZE) is quite insecure"
10320fi
10321
10322if test "$RAND" -lt 8; then
10323echo "***"
10324echo "*** WARNING: The random prefix you have chosen ($RAND) is probably insecure"
10325fi 10110fi
10326 10111
10327echo "***" 10112echo "***"
10328echo 10113echo
10329 10114
10115if pkg-config --exists 'libcrypto >= 1.1 libcrypto < 2.0'; then
10116 cat <<EOF
10117
10118***
10119*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING
10120***
10121*** You seem to configure gvpe with OpenSSL 1.1 or newer.
10122*** While this probably compiles, please note that this is not only
10123*** unsupported, but also discouraged.
10124***
10125*** It is recommended to use either OpenSSL 1.0, as long as that is still
10126*** supported, or LibreSSL (https://www.libressl.org/).
10127***
10128*** This is not a political issue - while porting GVPE to the newer
10129*** OpenSSL 1.1 API, I encountered two incompatible API changes that were
10130*** not documented, were not caught while compiling but caused security
10131*** issues. When reported, the reaction of the OpenSSL developers was to
10132*** update the documentation.
10133***
10134*** As a result, I lost all confidence in the ability and desire of
10135*** OpenSSL developers to create a safe API, and would highly recommend
10136*** switching to LibreSSL which explicitly avoids such braking changes.
10137***
10138*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING
10139***
10140*** Again, do not use OpenSSL 1.1 and complain if stuff breaks.
10141*** You have been warned, but your choice is respected.
10142***
10143
10330 10144
10145EOF
10146fi
10147
10148

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines