| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 8977 2019-05-18 20:53:40Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 9963 2021-06-04 13:24:58Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
< |
# Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.26. |
| 4 |
> |
# Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.39. |
| 5 |
|
# |
| 6 |
|
# Report bugs to <bugs@ircd-hybrid.org>. |
| 7 |
|
# |
| 593 |
|
# Identity of this package. |
| 594 |
|
PACKAGE_NAME='ircd-hybrid' |
| 595 |
|
PACKAGE_TARNAME='ircd-hybrid' |
| 596 |
< |
PACKAGE_VERSION='8.2.26' |
| 597 |
< |
PACKAGE_STRING='ircd-hybrid 8.2.26' |
| 596 |
> |
PACKAGE_VERSION='8.2.39' |
| 597 |
> |
PACKAGE_STRING='ircd-hybrid 8.2.39' |
| 598 |
|
PACKAGE_BUGREPORT='bugs@ircd-hybrid.org' |
| 599 |
|
PACKAGE_URL='' |
| 600 |
|
|
| 814 |
|
enable_debugging |
| 815 |
|
enable_warnings |
| 816 |
|
enable_efence |
| 817 |
< |
enable_openssl |
| 818 |
< |
enable_gnutls |
| 817 |
> |
with_tls |
| 818 |
|
' |
| 819 |
|
ac_precious_vars='build_alias |
| 820 |
|
host_alias |
| 1378 |
|
# Omit some internal or obsolete options to make the list less imposing. |
| 1379 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
| 1380 |
|
cat <<_ACEOF |
| 1381 |
< |
\`configure' configures ircd-hybrid 8.2.26 to adapt to many kinds of systems. |
| 1381 |
> |
\`configure' configures ircd-hybrid 8.2.39 to adapt to many kinds of systems. |
| 1382 |
|
|
| 1383 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1384 |
|
|
| 1449 |
|
|
| 1450 |
|
if test -n "$ac_init_help"; then |
| 1451 |
|
case $ac_init_help in |
| 1452 |
< |
short | recursive ) echo "Configuration of ircd-hybrid 8.2.26:";; |
| 1452 |
> |
short | recursive ) echo "Configuration of ircd-hybrid 8.2.39:";; |
| 1453 |
|
esac |
| 1454 |
|
cat <<\_ACEOF |
| 1455 |
|
|
| 1481 |
|
--enable-warnings Enable compiler warnings. |
| 1482 |
|
--enable-efence Enable linking with Electric Fence 'efence' memory |
| 1483 |
|
debugger library. |
| 1485 |
– |
--enable-openssl=DIR Enable LibreSSL/OpenSSL support (DIR optional). |
| 1486 |
– |
--disable-openssl Disable LibreSSL/OpenSSL support. |
| 1487 |
– |
--enable-gnutls Enable GnuTLS support. |
| 1488 |
– |
--disable-gnutls Disable GnuTLS support. |
| 1484 |
|
|
| 1485 |
|
Optional Packages: |
| 1486 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 1496 |
|
--with-included-ltdl use the GNU ltdl sources included here |
| 1497 |
|
--with-ltdl-include=DIR use the ltdl headers installed in DIR |
| 1498 |
|
--with-ltdl-lib=DIR use the libltdl.la installed in DIR |
| 1499 |
+ |
--with-tls Enables TLS with specified library. Options: |
| 1500 |
+ |
'openssl', 'wolfssl', 'gnutls' or 'none' |
| 1501 |
|
|
| 1502 |
|
Some influential environment variables: |
| 1503 |
|
CC C compiler command |
| 1583 |
|
test -n "$ac_init_help" && exit $ac_status |
| 1584 |
|
if $ac_init_version; then |
| 1585 |
|
cat <<\_ACEOF |
| 1586 |
< |
ircd-hybrid configure 8.2.26 |
| 1586 |
> |
ircd-hybrid configure 8.2.39 |
| 1587 |
|
generated by GNU Autoconf 2.69 |
| 1588 |
|
|
| 1589 |
|
Copyright (C) 2012 Free Software Foundation, Inc. |
| 2052 |
|
This file contains any messages produced by compilers while |
| 2053 |
|
running configure, to aid debugging if configure makes a mistake. |
| 2054 |
|
|
| 2055 |
< |
It was created by ircd-hybrid $as_me 8.2.26, which was |
| 2055 |
> |
It was created by ircd-hybrid $as_me 8.2.39, which was |
| 2056 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
| 2057 |
|
|
| 2058 |
|
$ $0 $@ |
| 2332 |
|
>$cache_file |
| 2333 |
|
fi |
| 2334 |
|
|
| 2338 |
– |
as_fn_append ac_func_list " accept4" |
| 2339 |
– |
as_fn_append ac_func_list " strtok_r" |
| 2335 |
|
as_fn_append ac_func_list " strlcat" |
| 2336 |
|
as_fn_append ac_func_list " strlcpy" |
| 2337 |
|
as_fn_append ac_header_list " crypt.h" |
| 2922 |
|
|
| 2923 |
|
# Define the identity of the package. |
| 2924 |
|
PACKAGE='ircd-hybrid' |
| 2925 |
< |
VERSION='8.2.26' |
| 2925 |
> |
VERSION='8.2.39' |
| 2926 |
|
|
| 2927 |
|
|
| 2928 |
|
cat >>confdefs.h <<_ACEOF |
| 6150 |
|
fi |
| 6151 |
|
|
| 6152 |
|
: ${AR=ar} |
| 6153 |
< |
: ${AR_FLAGS=cru} |
| 6153 |
> |
: ${AR_FLAGS=cr} |
| 6154 |
|
|
| 6155 |
|
|
| 6156 |
|
|
| 7871 |
|
_LT_EOF |
| 7872 |
|
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 |
| 7873 |
|
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 |
| 7874 |
< |
echo "$AR cru libconftest.a conftest.o" >&5 |
| 7875 |
< |
$AR cru libconftest.a conftest.o 2>&5 |
| 7874 |
> |
echo "$AR cr libconftest.a conftest.o" >&5 |
| 7875 |
> |
$AR cr libconftest.a conftest.o 2>&5 |
| 7876 |
|
echo "$RANLIB libconftest.a" >&5 |
| 7877 |
|
$RANLIB libconftest.a 2>&5 |
| 7878 |
|
cat > conftest.c << _LT_EOF |
| 14186 |
|
|
| 14187 |
|
|
| 14188 |
|
|
| 14194 |
– |
|
| 14195 |
– |
|
| 14196 |
– |
|
| 14197 |
– |
|
| 14189 |
|
# Checks for header files. |
| 14190 |
|
|
| 14191 |
|
|
| 14578 |
|
|
| 14579 |
|
|
| 14580 |
|
|
| 14581 |
+ |
for flag in -Werror=unknown-warning-option; do |
| 14582 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14583 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14584 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14585 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 14586 |
+ |
$as_echo_n "(cached) " >&6 |
| 14587 |
+ |
else |
| 14588 |
+ |
|
| 14589 |
+ |
ax_check_save_flags=$CFLAGS |
| 14590 |
+ |
CFLAGS="$CFLAGS $flag" |
| 14591 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14592 |
+ |
/* end confdefs.h. */ |
| 14593 |
+ |
|
| 14594 |
+ |
int |
| 14595 |
+ |
main () |
| 14596 |
+ |
{ |
| 14597 |
+ |
|
| 14598 |
+ |
; |
| 14599 |
+ |
return 0; |
| 14600 |
+ |
} |
| 14601 |
+ |
_ACEOF |
| 14602 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14603 |
+ |
eval "$as_CACHEVAR=yes" |
| 14604 |
+ |
else |
| 14605 |
+ |
eval "$as_CACHEVAR=no" |
| 14606 |
+ |
fi |
| 14607 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14608 |
+ |
CFLAGS=$ax_check_save_flags |
| 14609 |
+ |
fi |
| 14610 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 14611 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14612 |
+ |
$as_echo "$ac_res" >&6; } |
| 14613 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 14614 |
+ |
|
| 14615 |
+ |
if ${CFLAGS+:} false; then : |
| 14616 |
+ |
|
| 14617 |
+ |
case " $CFLAGS " in #( |
| 14618 |
+ |
*" $flag "*) : |
| 14619 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14620 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 14621 |
+ |
ac_status=$? |
| 14622 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14623 |
+ |
test $ac_status = 0; } ;; #( |
| 14624 |
+ |
*) : |
| 14625 |
+ |
|
| 14626 |
+ |
as_fn_append CFLAGS " $flag" |
| 14627 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14628 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14629 |
+ |
ac_status=$? |
| 14630 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14631 |
+ |
test $ac_status = 0; } |
| 14632 |
+ |
;; |
| 14633 |
+ |
esac |
| 14634 |
+ |
|
| 14635 |
+ |
else |
| 14636 |
+ |
|
| 14637 |
+ |
CFLAGS=$flag |
| 14638 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14639 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14640 |
+ |
ac_status=$? |
| 14641 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14642 |
+ |
test $ac_status = 0; } |
| 14643 |
+ |
|
| 14644 |
+ |
fi |
| 14645 |
+ |
|
| 14646 |
+ |
else |
| 14647 |
+ |
: |
| 14648 |
+ |
fi |
| 14649 |
+ |
|
| 14650 |
+ |
done |
| 14651 |
+ |
|
| 14652 |
+ |
|
| 14653 |
+ |
|
| 14654 |
+ |
|
| 14655 |
+ |
|
| 14656 |
+ |
|
| 14657 |
|
for flag in -Wall; do |
| 14658 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14659 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 16754 |
|
fi |
| 16755 |
|
|
| 16756 |
|
|
| 16690 |
– |
# Check whether --enable-openssl was given. |
| 16691 |
– |
if test "${enable_openssl+set}" = set; then : |
| 16692 |
– |
enableval=$enable_openssl; cf_enable_openssl=$enableval |
| 16693 |
– |
else |
| 16694 |
– |
cf_enable_openssl="auto" |
| 16695 |
– |
fi |
| 16757 |
|
|
| 16697 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL/OpenSSL" >&5 |
| 16698 |
– |
$as_echo_n "checking for LibreSSL/OpenSSL... " >&6; } |
| 16699 |
– |
if test "$cf_enable_openssl" != "no"; then |
| 16700 |
– |
cf_openssl_basedir="" |
| 16701 |
– |
if test "$cf_enable_openssl" != "auto" && |
| 16702 |
– |
test "$cf_enable_openssl" != "yes"; then |
| 16703 |
– |
cf_openssl_basedir="${cf_enable_openssl}" |
| 16704 |
– |
else |
| 16705 |
– |
for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\ |
| 16706 |
– |
/opt /opt/openssl /usr/local/openssl; do |
| 16707 |
– |
if test -f "${dirs}/include/openssl/opensslv.h"; then |
| 16708 |
– |
cf_openssl_basedir="${dirs}" |
| 16709 |
– |
break |
| 16710 |
– |
fi |
| 16711 |
– |
done |
| 16712 |
– |
unset dirs |
| 16713 |
– |
fi |
| 16758 |
|
|
| 16759 |
< |
if test ! -z "$cf_openssl_basedir"; then |
| 16760 |
< |
if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then |
| 16761 |
< |
CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS" |
| 16718 |
< |
LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS" |
| 16719 |
< |
else |
| 16720 |
< |
cf_openssl_basedir="" |
| 16721 |
< |
fi |
| 16722 |
< |
else |
| 16723 |
< |
if test -f "/usr/include/openssl/opensslv.h"; then |
| 16724 |
< |
cf_openssl_basedir="/usr" |
| 16725 |
< |
fi |
| 16726 |
< |
fi |
| 16727 |
< |
|
| 16728 |
< |
if test ! -z "$cf_openssl_basedir"; then |
| 16729 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5 |
| 16730 |
< |
$as_echo "$cf_openssl_basedir" >&6; } |
| 16731 |
< |
cf_enable_openssl="yes" |
| 16732 |
< |
else |
| 16733 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5 |
| 16734 |
< |
$as_echo "not found. Please check your path." >&6; } |
| 16735 |
< |
cf_enable_openssl="no" |
| 16736 |
< |
fi |
| 16737 |
< |
unset cf_openssl_basedir |
| 16759 |
> |
# Check whether --with-tls was given. |
| 16760 |
> |
if test "${with_tls+set}" = set; then : |
| 16761 |
> |
withval=$with_tls; with_tls=$withval |
| 16762 |
|
else |
| 16763 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 |
| 16740 |
< |
$as_echo "disabled" >&6; } |
| 16763 |
> |
with_tls=auto |
| 16764 |
|
fi |
| 16765 |
|
|
| 16766 |
< |
if test "$cf_enable_openssl" != "no"; then : |
| 16767 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL, or OpenSSL 1.1.1 and above" >&5 |
| 16768 |
< |
$as_echo_n "checking for LibreSSL, or OpenSSL 1.1.1 and above... " >&6; } |
| 16769 |
< |
if test "$cross_compiling" = yes; then : |
| 16770 |
< |
cf_openssl_version_ok=no |
| 16766 |
> |
|
| 16767 |
> |
if test "$with_tls" = "openssl" || |
| 16768 |
> |
test "$with_tls" = "auto"; then |
| 16769 |
> |
ac_fn_c_check_header_mongrel "$LINENO" "openssl/opensslv.h" "ac_cv_header_openssl_opensslv_h" "$ac_includes_default" |
| 16770 |
> |
if test "x$ac_cv_header_openssl_opensslv_h" = xyes; then : |
| 16771 |
> |
|
| 16772 |
> |
if test "$cross_compiling" = yes; then : |
| 16773 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 16774 |
> |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 16775 |
> |
as_fn_error $? "cannot run test program while cross compiling |
| 16776 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 16777 |
|
else |
| 16778 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16779 |
|
/* end confdefs.h. */ |
| 16780 |
|
|
| 16781 |
|
|
| 16782 |
< |
#include <openssl/opensslv.h> |
| 16783 |
< |
#include <stdlib.h> |
| 16782 |
> |
#include <openssl/opensslv.h> |
| 16783 |
> |
#include <stdlib.h> |
| 16784 |
|
int |
| 16785 |
|
main () |
| 16786 |
|
{ |
| 16787 |
< |
exit(!(OPENSSL_VERSION_NUMBER >= 0x1010100fL)); |
| 16787 |
> |
|
| 16788 |
> |
exit(!(OPENSSL_VERSION_NUMBER >= 0x1010100fL)); |
| 16789 |
|
; |
| 16790 |
|
return 0; |
| 16791 |
|
} |
| 16792 |
|
_ACEOF |
| 16793 |
|
if ac_fn_c_try_run "$LINENO"; then : |
| 16794 |
< |
cf_openssl_version_ok=yes |
| 16765 |
< |
else |
| 16766 |
< |
cf_openssl_version_ok=no |
| 16767 |
< |
fi |
| 16768 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 16769 |
< |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 16770 |
< |
fi |
| 16771 |
< |
|
| 16772 |
< |
|
| 16773 |
< |
if test "$cf_openssl_version_ok" = "yes"; then : |
| 16774 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
| 16775 |
< |
$as_echo "found" >&6; } |
| 16776 |
< |
|
| 16777 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
| 16794 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
| 16795 |
|
$as_echo_n "checking for RSA_free in -lcrypto... " >&6; } |
| 16796 |
|
if ${ac_cv_lib_crypto_RSA_free+:} false; then : |
| 16797 |
|
$as_echo_n "(cached) " >&6 |
| 16836 |
|
|
| 16837 |
|
fi |
| 16838 |
|
|
| 16839 |
+ |
fi |
| 16840 |
+ |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 16841 |
+ |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 16842 |
+ |
fi |
| 16843 |
+ |
|
| 16844 |
+ |
fi |
| 16845 |
+ |
|
| 16846 |
+ |
|
| 16847 |
+ |
|
| 16848 |
|
if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then : |
| 16849 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5 |
| 16850 |
|
$as_echo_n "checking for SSL_connect in -lssl... " >&6; } |
| 16893 |
|
|
| 16894 |
|
fi |
| 16895 |
|
|
| 16896 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL, or OpenSSL 1.1.1 and above" >&5 |
| 16897 |
+ |
$as_echo_n "checking for LibreSSL, or OpenSSL 1.1.1 and above... " >&6; } |
| 16898 |
+ |
if test "$ac_cv_lib_ssl_SSL_connect" = "yes"; then : |
| 16899 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
| 16900 |
+ |
$as_echo "found" >&6; } |
| 16901 |
|
else |
| 16902 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - LibreSSL/OpenSSL support disabled" >&5 |
| 16903 |
|
$as_echo "no - LibreSSL/OpenSSL support disabled" >&6; } |
| 16873 |
– |
cf_enable_openssl="no" |
| 16874 |
– |
fi |
| 16904 |
|
fi |
| 16905 |
|
|
| 16877 |
– |
|
| 16878 |
– |
# Check whether --enable-gnutls was given. |
| 16879 |
– |
if test "${enable_gnutls+set}" = set; then : |
| 16880 |
– |
enableval=$enable_gnutls; cf_enable_gnutls=$enableval |
| 16881 |
– |
else |
| 16882 |
– |
cf_enable_gnutls="auto" |
| 16906 |
|
fi |
| 16907 |
|
|
| 16908 |
< |
|
| 16909 |
< |
if test "$cf_enable_openssl" != "auto" && |
| 16910 |
< |
test "$cf_enable_openssl" != "yes"; then |
| 16888 |
< |
if test "$cf_enable_gnutls" != "no"; then |
| 16908 |
> |
if test "$with_tls" = "gnutls" || |
| 16909 |
> |
test "$with_tls" = "auto"; then |
| 16910 |
> |
if test "$ac_cv_lib_ssl_SSL_connect" != "yes"; then |
| 16911 |
|
|
| 16912 |
|
ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default" |
| 16913 |
|
if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then : |
| 16934 |
|
} |
| 16935 |
|
_ACEOF |
| 16936 |
|
if ac_fn_c_try_run "$LINENO"; then : |
| 16937 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_init in -lgnutls" >&5 |
| 16937 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_init in -lgnutls" >&5 |
| 16938 |
|
$as_echo_n "checking for gnutls_init in -lgnutls... " >&6; } |
| 16939 |
|
if ${ac_cv_lib_gnutls_gnutls_init+:} false; then : |
| 16940 |
|
$as_echo_n "(cached) " >&6 |
| 17001 |
|
fi |
| 17002 |
|
fi |
| 17003 |
|
|
| 17004 |
+ |
if test "$with_tls" = "wolfssl" || |
| 17005 |
+ |
test "$with_tls" = "auto"; then |
| 17006 |
+ |
if test "$ac_cv_lib_ssl_SSL_connect" != "yes" && |
| 17007 |
+ |
test "$ac_cv_lib_gnutls_gnutls_init" != "yes"; then |
| 17008 |
+ |
|
| 17009 |
+ |
ac_fn_c_check_header_mongrel "$LINENO" "wolfssl/ssl.h" "ac_cv_header_wolfssl_ssl_h" "$ac_includes_default" |
| 17010 |
+ |
if test "x$ac_cv_header_wolfssl_ssl_h" = xyes; then : |
| 17011 |
+ |
|
| 17012 |
+ |
if test "$cross_compiling" = yes; then : |
| 17013 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 17014 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 17015 |
+ |
as_fn_error $? "cannot run test program while cross compiling |
| 17016 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
| 17017 |
+ |
else |
| 17018 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17019 |
+ |
/* end confdefs.h. */ |
| 17020 |
+ |
|
| 17021 |
+ |
|
| 17022 |
+ |
#include <wolfssl/version.h> |
| 17023 |
+ |
#include <stdlib.h> |
| 17024 |
+ |
int |
| 17025 |
+ |
main () |
| 17026 |
+ |
{ |
| 17027 |
+ |
|
| 17028 |
+ |
exit(!(LIBWOLFSSL_VERSION_HEX >= 0x04003000)); |
| 17029 |
+ |
; |
| 17030 |
+ |
return 0; |
| 17031 |
+ |
} |
| 17032 |
+ |
_ACEOF |
| 17033 |
+ |
if ac_fn_c_try_run "$LINENO"; then : |
| 17034 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for wolfSSL_X509_digest in -lwolfssl" >&5 |
| 17035 |
+ |
$as_echo_n "checking for wolfSSL_X509_digest in -lwolfssl... " >&6; } |
| 17036 |
+ |
if ${ac_cv_lib_wolfssl_wolfSSL_X509_digest+:} false; then : |
| 17037 |
+ |
$as_echo_n "(cached) " >&6 |
| 17038 |
+ |
else |
| 17039 |
+ |
ac_check_lib_save_LIBS=$LIBS |
| 17040 |
+ |
LIBS="-lwolfssl $LIBS" |
| 17041 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17042 |
+ |
/* end confdefs.h. */ |
| 17043 |
+ |
|
| 17044 |
+ |
/* Override any GCC internal prototype to avoid an error. |
| 17045 |
+ |
Use char because int might match the return type of a GCC |
| 17046 |
+ |
builtin and then its argument prototype would still apply. */ |
| 17047 |
+ |
#ifdef __cplusplus |
| 17048 |
+ |
extern "C" |
| 17049 |
+ |
#endif |
| 17050 |
+ |
char wolfSSL_X509_digest (); |
| 17051 |
+ |
int |
| 17052 |
+ |
main () |
| 17053 |
+ |
{ |
| 17054 |
+ |
return wolfSSL_X509_digest (); |
| 17055 |
+ |
; |
| 17056 |
+ |
return 0; |
| 17057 |
+ |
} |
| 17058 |
+ |
_ACEOF |
| 17059 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
| 17060 |
+ |
ac_cv_lib_wolfssl_wolfSSL_X509_digest=yes |
| 17061 |
+ |
else |
| 17062 |
+ |
ac_cv_lib_wolfssl_wolfSSL_X509_digest=no |
| 17063 |
+ |
fi |
| 17064 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
| 17065 |
+ |
conftest$ac_exeext conftest.$ac_ext |
| 17066 |
+ |
LIBS=$ac_check_lib_save_LIBS |
| 17067 |
+ |
fi |
| 17068 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wolfssl_wolfSSL_X509_digest" >&5 |
| 17069 |
+ |
$as_echo "$ac_cv_lib_wolfssl_wolfSSL_X509_digest" >&6; } |
| 17070 |
+ |
if test "x$ac_cv_lib_wolfssl_wolfSSL_X509_digest" = xyes; then : |
| 17071 |
+ |
cat >>confdefs.h <<_ACEOF |
| 17072 |
+ |
#define HAVE_LIBWOLFSSL 1 |
| 17073 |
+ |
_ACEOF |
| 17074 |
+ |
|
| 17075 |
+ |
LIBS="-lwolfssl $LIBS" |
| 17076 |
+ |
|
| 17077 |
+ |
fi |
| 17078 |
+ |
|
| 17079 |
+ |
fi |
| 17080 |
+ |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 17081 |
+ |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 17082 |
+ |
fi |
| 17083 |
+ |
|
| 17084 |
+ |
fi |
| 17085 |
+ |
|
| 17086 |
+ |
|
| 17087 |
+ |
|
| 17088 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for wolfSSL 4.3.0 and above built with extended/full OpenSSL compatibility layer" >&5 |
| 17089 |
+ |
$as_echo_n "checking for wolfSSL 4.3.0 and above built with extended/full OpenSSL compatibility layer... " >&6; } |
| 17090 |
+ |
if test "$ac_cv_lib_wolfssl_wolfSSL_X509_digest" = "yes"; then : |
| 17091 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
| 17092 |
+ |
$as_echo "found" >&6; } |
| 17093 |
+ |
else |
| 17094 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - wolfSSL support disabled" >&5 |
| 17095 |
+ |
$as_echo "no - wolfSSL support disabled" >&6; } |
| 17096 |
+ |
fi |
| 17097 |
+ |
|
| 17098 |
+ |
fi |
| 17099 |
+ |
fi |
| 17100 |
+ |
|
| 17101 |
+ |
|
| 17102 |
|
|
| 17103 |
|
# Disable -Wformat-truncation |
| 17104 |
|
|
| 17826 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
| 17827 |
|
# values after options handling. |
| 17828 |
|
ac_log=" |
| 17829 |
< |
This file was extended by ircd-hybrid $as_me 8.2.26, which was |
| 17829 |
> |
This file was extended by ircd-hybrid $as_me 8.2.39, which was |
| 17830 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
| 17831 |
|
|
| 17832 |
|
CONFIG_FILES = $CONFIG_FILES |
| 17892 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 17893 |
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 17894 |
|
ac_cs_version="\\ |
| 17895 |
< |
ircd-hybrid config.status 8.2.26 |
| 17895 |
> |
ircd-hybrid config.status 8.2.39 |
| 17896 |
|
configured by $0, generated by GNU Autoconf 2.69, |
| 17897 |
|
with options \\"\$ac_cs_config\\" |
| 17898 |
|
|