mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
3734. [bug] Improve building with libtool. [RT #35314]
This commit is contained in:
2
CHANGES
2
CHANGES
@@ -1,3 +1,5 @@
|
|||||||
|
3734. [bug] Improve building with libtool. [RT #35314]
|
||||||
|
|
||||||
3733. [func] Improve interface scanning support. Interface
|
3733. [func] Improve interface scanning support. Interface
|
||||||
information will be automatically updated if the
|
information will be automatically updated if the
|
||||||
OS supports routing sockets (MacOS, *BSD, Linux).
|
OS supports routing sockets (MacOS, *BSD, Linux).
|
||||||
|
@@ -43,13 +43,14 @@ OBJS = ${DLOPENOBJS}
|
|||||||
@BIND9_MAKE_RULES@
|
@BIND9_MAKE_RULES@
|
||||||
|
|
||||||
CFLAGS = @CFLAGS@ @SO_CFLAGS@
|
CFLAGS = @CFLAGS@ @SO_CFLAGS@
|
||||||
|
SO_LDFLAGS = @LDFLAGS@ @SO_LDFLAGS@
|
||||||
|
|
||||||
dlopen@EXEEXT@: ${DLOPENOBJS}
|
dlopen@EXEEXT@: ${DLOPENOBJS}
|
||||||
${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} \
|
${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} \
|
||||||
-o $@ ${DLOPENOBJS} ${LIBS}
|
-o $@ ${DLOPENOBJS} ${LIBS}
|
||||||
|
|
||||||
driver.@SO@: ${SO_OBJS}
|
driver.@SO@: ${SO_OBJS}
|
||||||
${LIBTOOL_MODE_LINK} @SO_LD@ -o $@ driver.@O@
|
${LIBTOOL_MODE_LINK} @SO_LD@ ${SO_LDFLAGS} -o $@ driver.@O@
|
||||||
|
|
||||||
clean distclean::
|
clean distclean::
|
||||||
rm -f ${TARGETS}
|
rm -f ${TARGETS}
|
||||||
|
273
configure
vendored
273
configure
vendored
@@ -661,6 +661,7 @@ CONTRIB_DLZ
|
|||||||
PG_CONFIG
|
PG_CONFIG
|
||||||
SO_TARGETS
|
SO_TARGETS
|
||||||
SO_LD
|
SO_LD
|
||||||
|
SO_LDFLAGS
|
||||||
SO_CFLAGS
|
SO_CFLAGS
|
||||||
SO
|
SO
|
||||||
BIND9_CONFIGARGS
|
BIND9_CONFIGARGS
|
||||||
@@ -1649,7 +1650,7 @@ Optional Features:
|
|||||||
--enable-largefile 64-bit file support
|
--enable-largefile 64-bit file support
|
||||||
--enable-backtrace log stack backtrace on abort [default=yes]
|
--enable-backtrace log stack backtrace on abort [default=yes]
|
||||||
--enable-symtable use internal symbol table for backtrace
|
--enable-symtable use internal symbol table for backtrace
|
||||||
[all|minimal(default)|none]
|
[all|minimal(default)|none]
|
||||||
--enable-ipv6 use IPv6 default=autodetect
|
--enable-ipv6 use IPv6 default=autodetect
|
||||||
--enable-getifaddrs Enable the use of getifaddrs() [yes|no].
|
--enable-getifaddrs Enable the use of getifaddrs() [yes|no].
|
||||||
--disable-isc-spnego use SPNEGO from GSSAPI library
|
--disable-isc-spnego use SPNEGO from GSSAPI library
|
||||||
@@ -1680,7 +1681,7 @@ Optional Packages:
|
|||||||
--with-openssl=PATH Build with OpenSSL yes|no|path.
|
--with-openssl=PATH Build with OpenSSL yes|no|path.
|
||||||
(Crypto is required for DNSSEC)
|
(Crypto is required for DNSSEC)
|
||||||
--with-pkcs11=PATH Build with PKCS11 support yes|no|path
|
--with-pkcs11=PATH Build with PKCS11 support yes|no|path
|
||||||
(PATH is for the PKCS11 provider)
|
(PATH is for the PKCS11 provider)
|
||||||
--with-ecdsa Crypto ECDSA
|
--with-ecdsa Crypto ECDSA
|
||||||
--with-gost Crypto GOST yes|no|raw|asn1.
|
--with-gost Crypto GOST yes|no|raw|asn1.
|
||||||
--with-libxml2=PATH Build with libxml2 library yes|no|path
|
--with-libxml2=PATH Build with libxml2 library yes|no|path
|
||||||
@@ -11688,14 +11689,14 @@ $as_echo "disabled" >&6; }
|
|||||||
esac
|
esac
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
testscript='try: import argparse
|
testscript='try: import argparse
|
||||||
except: exit(1)'
|
except: exit(1)'
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking python module 'argparse'" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking python module 'argparse'" >&5
|
||||||
$as_echo_n "checking python module 'argparse'... " >&6; }
|
$as_echo_n "checking python module 'argparse'... " >&6; }
|
||||||
if $PYTHON -c "$testscript"; then
|
if $PYTHON -c "$testscript"; then
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found, using $PYTHON" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found, using $PYTHON" >&5
|
||||||
$as_echo "found, using $PYTHON" >&6; }
|
$as_echo "found, using $PYTHON" >&6; }
|
||||||
else
|
else
|
||||||
case "$use_python" in
|
case "$use_python" in
|
||||||
unspec)
|
unspec)
|
||||||
PYTHON=""
|
PYTHON=""
|
||||||
@@ -11705,12 +11706,12 @@ $as_echo "found, using $PYTHON" >&6; }
|
|||||||
$as_echo "not found, python disabled" >&6; }
|
$as_echo "not found, python disabled" >&6; }
|
||||||
;;
|
;;
|
||||||
yes)
|
yes)
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no found" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no found" >&5
|
||||||
$as_echo "no found" >&6; }
|
$as_echo "no found" >&6; }
|
||||||
as_fn_error $? "python 'argparse' module not supported" "$LINENO" 5
|
as_fn_error $? "python 'argparse' module not supported" "$LINENO" 5
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@@ -11718,7 +11719,7 @@ PYTHON_TOOLS=''
|
|||||||
CHECKDS=''
|
CHECKDS=''
|
||||||
COVERAGE=''
|
COVERAGE=''
|
||||||
if test "X$PYTHON" != "X"; then
|
if test "X$PYTHON" != "X"; then
|
||||||
PYTHON_TOOLS=python
|
PYTHON_TOOLS=python
|
||||||
CHECKDS=checkds
|
CHECKDS=checkds
|
||||||
COVERAGE=coverage
|
COVERAGE=coverage
|
||||||
fi
|
fi
|
||||||
@@ -13503,7 +13504,7 @@ $as_echo "disabled" >&6; }
|
|||||||
LIBS="$LIBS -L$use_geoip/lib"
|
LIBS="$LIBS -L$use_geoip/lib"
|
||||||
esac
|
esac
|
||||||
elif test "$use_geoip" = "yes"
|
elif test "$use_geoip" = "yes"
|
||||||
then
|
then
|
||||||
as_fn_error $? "GeoIP path not found" "$LINENO" 5
|
as_fn_error $? "GeoIP path not found" "$LINENO" 5
|
||||||
else
|
else
|
||||||
as_fn_error $? "GeoIP path $use_geoip does not exist" "$LINENO" 5
|
as_fn_error $? "GeoIP path $use_geoip does not exist" "$LINENO" 5
|
||||||
@@ -13693,7 +13694,7 @@ main ()
|
|||||||
{
|
{
|
||||||
|
|
||||||
struct in6_addr in6;
|
struct in6_addr in6;
|
||||||
int i = GEOIP_CITY_EDITION_REV0_V6;
|
int i = GEOIP_CITY_EDITION_REV0_V6;
|
||||||
GeoIP_record_by_ipnum_v6(NULL, in6);
|
GeoIP_record_by_ipnum_v6(NULL, in6);
|
||||||
|
|
||||||
;
|
;
|
||||||
@@ -13751,10 +13752,10 @@ then
|
|||||||
for d in $krb5dirs
|
for d in $krb5dirs
|
||||||
do
|
do
|
||||||
if test -f $d/include/gssapi/gssapi_krb5.h -o \
|
if test -f $d/include/gssapi/gssapi_krb5.h -o \
|
||||||
-f $d/include/krb5.h
|
-f $d/include/krb5.h
|
||||||
then
|
then
|
||||||
if test -f $d/include/gssapi/gssapi.h -o \
|
if test -f $d/include/gssapi/gssapi.h -o \
|
||||||
-f $d/include/gssapi.h
|
-f $d/include/gssapi.h
|
||||||
then
|
then
|
||||||
use_gssapi=$d
|
use_gssapi=$d
|
||||||
break
|
break
|
||||||
@@ -15121,7 +15122,7 @@ case "$with_gost" in
|
|||||||
|
|
||||||
$as_echo "#define PREFER_GOSTASN1 1" >>confdefs.h
|
$as_echo "#define PREFER_GOSTASN1 1" >>confdefs.h
|
||||||
|
|
||||||
gosttype="asn1"
|
gosttype="asn1"
|
||||||
with_gost="yes"
|
with_gost="yes"
|
||||||
;;
|
;;
|
||||||
auto|yes|no)
|
auto|yes|no)
|
||||||
@@ -15358,20 +15359,20 @@ $as_echo "Skipped OpenSSL version check" >&6; }
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL DSA support" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL DSA support" >&5
|
||||||
$as_echo_n "checking for OpenSSL DSA support... " >&6; }
|
$as_echo_n "checking for OpenSSL DSA support... " >&6; }
|
||||||
if test -f $use_openssl/include/openssl/dsa.h
|
if test -f $use_openssl/include/openssl/dsa.h
|
||||||
then
|
then
|
||||||
$as_echo "#define HAVE_OPENSSL_DSA 1" >>confdefs.h
|
$as_echo "#define HAVE_OPENSSL_DSA 1" >>confdefs.h
|
||||||
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||||
$as_echo "yes" >&6; }
|
$as_echo "yes" >&6; }
|
||||||
else
|
else
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||||
$as_echo "no" >&6; }
|
$as_echo "no" >&6; }
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for ac_func in EVP_sha256 EVP_sha384 EVP_sha512
|
for ac_func in EVP_sha256 EVP_sha384 EVP_sha512
|
||||||
do :
|
do :
|
||||||
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
||||||
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
||||||
@@ -15384,10 +15385,10 @@ fi
|
|||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL ECDSA support" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL ECDSA support" >&5
|
||||||
$as_echo_n "checking for OpenSSL ECDSA support... " >&6; }
|
$as_echo_n "checking for OpenSSL ECDSA support... " >&6; }
|
||||||
have_ecdsa=""
|
have_ecdsa=""
|
||||||
if test "$cross_compiling" = yes; then :
|
if test "$cross_compiling" = yes; then :
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: using --with-ecdsa" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: using --with-ecdsa" >&5
|
||||||
$as_echo "using --with-ecdsa" >&6; }
|
$as_echo "using --with-ecdsa" >&6; }
|
||||||
else
|
else
|
||||||
@@ -15414,56 +15415,56 @@ _ACEOF
|
|||||||
if ac_fn_c_try_run "$LINENO"; then :
|
if ac_fn_c_try_run "$LINENO"; then :
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||||
$as_echo "yes" >&6; }
|
$as_echo "yes" >&6; }
|
||||||
have_ecdsa="yes"
|
have_ecdsa="yes"
|
||||||
else
|
else
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||||
$as_echo "no" >&6; }
|
$as_echo "no" >&6; }
|
||||||
have_ecdsa="no"
|
have_ecdsa="no"
|
||||||
fi
|
fi
|
||||||
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
||||||
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case "$with_ecdsa" in
|
case "$with_ecdsa" in
|
||||||
yes)
|
yes)
|
||||||
case "$have_ecdsa" in
|
case "$have_ecdsa" in
|
||||||
no) as_fn_error $? "ecdsa not supported" "$LINENO" 5 ;;
|
no) as_fn_error $? "ecdsa not supported" "$LINENO" 5 ;;
|
||||||
*) have_ecdsa=yes ;;
|
*) have_ecdsa=yes ;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
no)
|
no)
|
||||||
have_ecdsa=no ;;
|
have_ecdsa=no ;;
|
||||||
*)
|
*)
|
||||||
case "$have_ecdsa" in
|
case "$have_ecdsa" in
|
||||||
yes|no) ;;
|
yes|no) ;;
|
||||||
*) as_fn_error $? "need --with-ecdsa=[yes or no]" "$LINENO" 5 ;;
|
*) as_fn_error $? "need --with-ecdsa=[yes or no]" "$LINENO" 5 ;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
case $have_ecdsa in
|
case $have_ecdsa in
|
||||||
yes)
|
yes)
|
||||||
OPENSSL_ECDSA="yes"
|
OPENSSL_ECDSA="yes"
|
||||||
|
|
||||||
$as_echo "#define HAVE_OPENSSL_ECDSA 1" >>confdefs.h
|
$as_echo "#define HAVE_OPENSSL_ECDSA 1" >>confdefs.h
|
||||||
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL GOST support" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL GOST support" >&5
|
||||||
$as_echo_n "checking for OpenSSL GOST support... " >&6; }
|
$as_echo_n "checking for OpenSSL GOST support... " >&6; }
|
||||||
have_gost=""
|
have_gost=""
|
||||||
case "$use_pkcs11" in
|
case "$use_pkcs11" in
|
||||||
auto|no)
|
auto|no)
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
if $use_threads; then
|
if $use_threads; then
|
||||||
CC="$CC -pthread"
|
CC="$CC -pthread"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
if test "$cross_compiling" = yes; then :
|
if test "$cross_compiling" = yes; then :
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: using --with-gost" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: using --with-gost" >&5
|
||||||
$as_echo "using --with-gost" >&6; }
|
$as_echo "using --with-gost" >&6; }
|
||||||
else
|
else
|
||||||
@@ -15495,34 +15496,34 @@ _ACEOF
|
|||||||
if ac_fn_c_try_run "$LINENO"; then :
|
if ac_fn_c_try_run "$LINENO"; then :
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||||
$as_echo "yes" >&6; }
|
$as_echo "yes" >&6; }
|
||||||
have_gost="yes"
|
have_gost="yes"
|
||||||
else
|
else
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||||
$as_echo "no" >&6; }
|
$as_echo "no" >&6; }
|
||||||
have_gost="no"
|
have_gost="no"
|
||||||
fi
|
fi
|
||||||
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
||||||
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case "$with_gost" in
|
case "$with_gost" in
|
||||||
yes)
|
yes)
|
||||||
case "$have_gost" in
|
case "$have_gost" in
|
||||||
no) as_fn_error $? "gost not supported" "$LINENO" 5 ;;
|
no) as_fn_error $? "gost not supported" "$LINENO" 5 ;;
|
||||||
*) have_gost=yes ;;
|
*) have_gost=yes ;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
no)
|
no)
|
||||||
have_gost=no ;;
|
have_gost=no ;;
|
||||||
*)
|
*)
|
||||||
case "$have_gost" in
|
case "$have_gost" in
|
||||||
yes|no) ;;
|
yes|no) ;;
|
||||||
*) as_fn_error $? "need --with-gost=[yes, no, raw or asn1]" "$LINENO" 5 ;;
|
*) as_fn_error $? "need --with-gost=[yes, no, raw or asn1]" "$LINENO" 5 ;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
case $have_gost in
|
case $have_gost in
|
||||||
yes)
|
yes)
|
||||||
OPENSSL_GOST="yes"
|
OPENSSL_GOST="yes"
|
||||||
OPENSSLGOSTLINKOBJS='${OPENSSLGOSTLINKOBJS}'
|
OPENSSLGOSTLINKOBJS='${OPENSSLGOSTLINKOBJS}'
|
||||||
OPENSSLGOSTLINKSRCS='${OPENSSLGOSTLINKSRCS}'
|
OPENSSLGOSTLINKSRCS='${OPENSSLGOSTLINKSRCS}'
|
||||||
@@ -15530,16 +15531,16 @@ fi
|
|||||||
$as_echo "#define HAVE_OPENSSL_GOST 1" >>confdefs.h
|
$as_echo "#define HAVE_OPENSSL_GOST 1" >>confdefs.h
|
||||||
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
CC="$saved_cc"
|
CC="$saved_cc"
|
||||||
CFLAGS="$saved_cflags"
|
CFLAGS="$saved_cflags"
|
||||||
LIBS="$saved_libs"
|
LIBS="$saved_libs"
|
||||||
OPENSSLLINKOBJS='${OPENSSLLINKOBJS}'
|
OPENSSLLINKOBJS='${OPENSSLLINKOBJS}'
|
||||||
OPENSSLLINKSRCS='${OPENSSLLINKSRCS}'
|
OPENSSLLINKSRCS='${OPENSSLLINKSRCS}'
|
||||||
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -15612,17 +15613,17 @@ $as_echo "no" >&6; }
|
|||||||
yes|*)
|
yes|*)
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||||
$as_echo "yes" >&6; }
|
$as_echo "yes" >&6; }
|
||||||
if ! $use_threads; then
|
if ! $use_threads; then
|
||||||
as_fn_error $? "PKCS11 requires thread support" "$LINENO" 5
|
as_fn_error $? "PKCS11 requires thread support" "$LINENO" 5
|
||||||
fi
|
fi
|
||||||
if test "$CRYPTO" != ""
|
if test "$CRYPTO" != ""
|
||||||
then
|
then
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL with PKCS11 support" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL with PKCS11 support" >&5
|
||||||
$as_echo_n "checking for OpenSSL with PKCS11 support... " >&6; }
|
$as_echo_n "checking for OpenSSL with PKCS11 support... " >&6; }
|
||||||
saved_cc="$CC"
|
saved_cc="$CC"
|
||||||
saved_cflags="$CFLAGS"
|
saved_cflags="$CFLAGS"
|
||||||
saved_libs="$LIBS"
|
saved_libs="$LIBS"
|
||||||
CC="$CC -pthread"
|
CC="$CC -pthread"
|
||||||
CFLAGS="$CFLAGS $DST_OPENSSL_INC"
|
CFLAGS="$CFLAGS $DST_OPENSSL_INC"
|
||||||
LIBS="$LIBS $DNS_OPENSSL_LIBS"
|
LIBS="$LIBS $DNS_OPENSSL_LIBS"
|
||||||
if test "$cross_compiling" = yes; then :
|
if test "$cross_compiling" = yes; then :
|
||||||
@@ -15664,7 +15665,7 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|||||||
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CC="$saved_cc"
|
CC="$saved_cc"
|
||||||
CFLAGS="$saved_cflags"
|
CFLAGS="$saved_cflags"
|
||||||
LIBS="$saved_libs"
|
LIBS="$saved_libs"
|
||||||
else
|
else
|
||||||
@@ -15720,7 +15721,7 @@ $as_echo "using native PKCS11 crypto" >&6; }
|
|||||||
CRYPTO="-DPKCS11CRYPTO"
|
CRYPTO="-DPKCS11CRYPTO"
|
||||||
PKCS11LINKOBJS='${PKCS11LINKOBJS}'
|
PKCS11LINKOBJS='${PKCS11LINKOBJS}'
|
||||||
PKCS11LINKSRCS='${PKCS11LINKSRCS}'
|
PKCS11LINKSRCS='${PKCS11LINKSRCS}'
|
||||||
PKCS11_TEST=pkcs11
|
PKCS11_TEST=pkcs11
|
||||||
case "$with_ecdsa" in
|
case "$with_ecdsa" in
|
||||||
no)
|
no)
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled PKCS11 ECDSA" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled PKCS11 ECDSA" >&5
|
||||||
@@ -15891,18 +15892,18 @@ case "$use_libjson" in
|
|||||||
;;
|
;;
|
||||||
auto|yes)
|
auto|yes)
|
||||||
if test -f "/usr/include/json/json.h"
|
if test -f "/usr/include/json/json.h"
|
||||||
then
|
then
|
||||||
libjson_cflags="-I /usr/include/json"
|
libjson_cflags="-I /usr/include/json"
|
||||||
have_libjson="yes"
|
have_libjson="yes"
|
||||||
elif test -f "/usr/include/json-c/json.h"
|
elif test -f "/usr/include/json-c/json.h"
|
||||||
then
|
then
|
||||||
libjson_cflags="-I /usr/include/json-c"
|
libjson_cflags="-I /usr/include/json-c"
|
||||||
have_libjson="yes"
|
have_libjson="yes"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
if test -f "${use_libjson}/include/json/json.h"
|
if test -f "${use_libjson}/include/json/json.h"
|
||||||
then
|
then
|
||||||
libjson_cflags="-I${use_libjson}/include/json"
|
libjson_cflags="-I${use_libjson}/include/json"
|
||||||
LIBS="$LIBS -L${use_libjson}/lib"
|
LIBS="$LIBS -L${use_libjson}/lib"
|
||||||
have_libjson="yes"
|
have_libjson="yes"
|
||||||
@@ -15978,7 +15979,7 @@ if test "$ac_res" != no; then :
|
|||||||
else
|
else
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: found libjson include but not library." >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: found libjson include but not library." >&5
|
||||||
$as_echo "$as_me: WARNING: found libjson include but not library." >&2;}
|
$as_echo "$as_me: WARNING: found libjson include but not library." >&2;}
|
||||||
have_libjson=""
|
have_libjson=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
else
|
else
|
||||||
@@ -17411,7 +17412,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
int getnameinfo(const struct sockaddr *, socklen_t, char *,
|
int getnameinfo(const struct sockaddr *, socklen_t, char *,
|
||||||
socklen_t, char *, socklen_t, unsigned int);
|
socklen_t, char *, socklen_t, unsigned int);
|
||||||
int
|
int
|
||||||
main ()
|
main ()
|
||||||
{
|
{
|
||||||
@@ -17437,7 +17438,7 @@ else
|
|||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
int getnameinfo(const struct sockaddr *, socklen_t, char *,
|
int getnameinfo(const struct sockaddr *, socklen_t, char *,
|
||||||
size_t, char *, size_t, int);
|
size_t, char *, size_t, int);
|
||||||
int
|
int
|
||||||
main ()
|
main ()
|
||||||
{
|
{
|
||||||
@@ -17721,7 +17722,7 @@ done
|
|||||||
READLINE_LIB="$readline"
|
READLINE_LIB="$readline"
|
||||||
fi
|
fi
|
||||||
LIBS="$saved_LIBS"
|
LIBS="$saved_LIBS"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
||||||
@@ -18191,7 +18192,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|||||||
# Older HP-UX doesn't have gettune
|
# Older HP-UX doesn't have gettune
|
||||||
#
|
#
|
||||||
case "$host" in
|
case "$host" in
|
||||||
*-hp-hpux*)
|
*-hp-hpux*)
|
||||||
for ac_header in sys/dyntune.h
|
for ac_header in sys/dyntune.h
|
||||||
do :
|
do :
|
||||||
ac_fn_c_check_header_mongrel "$LINENO" "sys/dyntune.h" "ac_cv_header_sys_dyntune_h" "$ac_includes_default"
|
ac_fn_c_check_header_mongrel "$LINENO" "sys/dyntune.h" "ac_cv_header_sys_dyntune_h" "$ac_includes_default"
|
||||||
@@ -18563,7 +18564,7 @@ $as_echo_n "checking architecture type for atomic operations... " >&6; }
|
|||||||
i[3456]86-*)
|
i[3456]86-*)
|
||||||
# XXX: some old x86 architectures actually do not support
|
# XXX: some old x86 architectures actually do not support
|
||||||
# (some of) these operations. Do we need stricter checks?
|
# (some of) these operations. Do we need stricter checks?
|
||||||
# The cast to long int works around a bug in the HP C Compiler
|
# The cast to long int works around a bug in the HP C Compiler
|
||||||
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
|
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
|
||||||
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
|
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
|
||||||
# This bug is HP SR number 8606223364.
|
# This bug is HP SR number 8606223364.
|
||||||
@@ -18604,7 +18605,7 @@ _ACEOF
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
x86_64-*|amd64-*)
|
x86_64-*|amd64-*)
|
||||||
# The cast to long int works around a bug in the HP C Compiler
|
# The cast to long int works around a bug in the HP C Compiler
|
||||||
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
|
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
|
||||||
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
|
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
|
||||||
# This bug is HP SR number 8606223364.
|
# This bug is HP SR number 8606223364.
|
||||||
@@ -19273,7 +19274,7 @@ $as_echo "auto" >&6; }
|
|||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
docbook_xsl_trees="$withval"
|
docbook_xsl_trees="$withval"
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $docbook_xsl_trees" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $docbook_xsl_trees" >&5
|
||||||
$as_echo "$docbook_xsl_trees" >&6; }
|
$as_echo "$docbook_xsl_trees" >&6; }
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@@ -19828,6 +19829,7 @@ DLZ_SYSTEM_TEST=""
|
|||||||
#
|
#
|
||||||
SO="so"
|
SO="so"
|
||||||
SO_CFLAGS=""
|
SO_CFLAGS=""
|
||||||
|
SO_LDFLAGS=""
|
||||||
SO_LD=""
|
SO_LD=""
|
||||||
SO_TARGETS=""
|
SO_TARGETS=""
|
||||||
|
|
||||||
@@ -19891,7 +19893,7 @@ fi
|
|||||||
if test "$have_dl" = "yes"; then
|
if test "$have_dl" = "yes"; then
|
||||||
LIBS="-ldl $LIBS"
|
LIBS="-ldl $LIBS"
|
||||||
fi
|
fi
|
||||||
for ac_func in dlopen dlclose dlsym
|
for ac_func in dlopen dlclose dlsym
|
||||||
do :
|
do :
|
||||||
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
||||||
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
||||||
@@ -19911,30 +19913,37 @@ if test "$dlopen" = "yes"; then
|
|||||||
case $host in
|
case $host in
|
||||||
*-linux*)
|
*-linux*)
|
||||||
SO_CFLAGS="-fPIC"
|
SO_CFLAGS="-fPIC"
|
||||||
|
SO_LDFLAGS=""
|
||||||
if test "$have_dl" = "yes"
|
if test "$have_dl" = "yes"
|
||||||
then
|
then
|
||||||
if test "$use_libtool" = "yes"; then
|
if test "$use_libtool" = "yes"; then
|
||||||
SO_LD="${CC} -Xcompiler -shared"
|
SO_LDFLAGS="-Xcompiler -shared"
|
||||||
|
SO_LD="${CC}"
|
||||||
else
|
else
|
||||||
SO_LD="${CC} -shared"
|
SO_LDFLAGS="-shared"
|
||||||
|
SO_LD="${CC}"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
SO_LD="ld -shared"
|
SO_LDFLAGS="-shared"
|
||||||
|
SO_LD="ld"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*-freebsd*|*-openbsd*|*-netbsd*)
|
*-freebsd*|*-openbsd*|*-netbsd*)
|
||||||
SO_CFLAGS="-fpic"
|
SO_CFLAGS="-fpic"
|
||||||
SO_LD="ld -Bshareable -x"
|
SO_LDFLAGS="-Bshareable -x"
|
||||||
|
SO_LD="ld"
|
||||||
;;
|
;;
|
||||||
*-solaris*)
|
*-solaris*)
|
||||||
SO_CFLAGS="-KPIC"
|
SO_CFLAGS="-KPIC"
|
||||||
SO_LD="ld -G -z text"
|
SO_LDFLAGS="-G -z text"
|
||||||
;;
|
SO_LD="ld"
|
||||||
|
;;
|
||||||
*-hp-hpux*)
|
*-hp-hpux*)
|
||||||
SO=sl
|
SO=sl
|
||||||
SO_CFLAGS="+z"
|
SO_CFLAGS="+z"
|
||||||
SO_LD="ld -b"
|
SO_LDFLAGS="-b"
|
||||||
;;
|
SO_LD="ld"
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
SO_CFLAGS="-fPIC"
|
SO_CFLAGS="-fPIC"
|
||||||
;;
|
;;
|
||||||
@@ -19942,7 +19951,16 @@ if test "$dlopen" = "yes"; then
|
|||||||
|
|
||||||
if test "X$GCC" = "Xyes"; then
|
if test "X$GCC" = "Xyes"; then
|
||||||
SO_CFLAGS="-fPIC"
|
SO_CFLAGS="-fPIC"
|
||||||
test -n "$SO_LD" || SO_LD="${CC} -shared"
|
if test -z "$SO_LD"
|
||||||
|
then
|
||||||
|
if test "$use_libtool" = "yes"; then
|
||||||
|
SO_LDFLAGS="-Xcompiler -shared"
|
||||||
|
SO_LD="${CC}"
|
||||||
|
else
|
||||||
|
SO_LDFLAGS="-shared"
|
||||||
|
SO_LD="${CC}"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If we still don't know how to make shared objects, don't make any.
|
# If we still don't know how to make shared objects, don't make any.
|
||||||
@@ -19959,6 +19977,7 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 2005 Internet Systems Consortium, Inc. ("ISC")
|
# Copyright (C) 2005 Internet Systems Consortium, Inc. ("ISC")
|
||||||
#
|
#
|
||||||
# Permission to use, copy, modify, and distribute this software for any
|
# Permission to use, copy, modify, and distribute this software for any
|
||||||
@@ -23201,9 +23220,9 @@ test "$use_gssapi" = "no" || echo " GSS-API (--with-gssapi)"
|
|||||||
# these lines are only printed if run with --enable-full-report
|
# these lines are only printed if run with --enable-full-report
|
||||||
if test "$enable_full_report" = "yes"; then
|
if test "$enable_full_report" = "yes"; then
|
||||||
test "$enable_ipv6" = "no" -o "$found_ipv6" = "no" || \
|
test "$enable_ipv6" = "no" -o "$found_ipv6" = "no" || \
|
||||||
echo " IPv6 support (--enable-ipv6)"
|
echo " IPv6 support (--enable-ipv6)"
|
||||||
test "X$CRYPTO" = "X" -o "$want_native_pkcs11" = "yes" || \
|
test "X$CRYPTO" = "X" -o "$want_native_pkcs11" = "yes" || \
|
||||||
echo " OpenSSL cryptography/DNSSEC (--with-openssl)"
|
echo " OpenSSL cryptography/DNSSEC (--with-openssl)"
|
||||||
test "X$PYTHON" = "X" || echo " Python tools (--with-python)"
|
test "X$PYTHON" = "X" || echo " Python tools (--with-python)"
|
||||||
test "X$libxml2_libs" = "X" || echo " XML statistics (--with-libxml2)"
|
test "X$libxml2_libs" = "X" || echo " XML statistics (--with-libxml2)"
|
||||||
test "X$have_libjson" = "X" || echo " JSON statistics (--with-libjson)"
|
test "X$have_libjson" = "X" || echo " JSON statistics (--with-libjson)"
|
||||||
@@ -23211,9 +23230,9 @@ fi
|
|||||||
|
|
||||||
if test "$use_pkcs11" != "no"; then
|
if test "$use_pkcs11" != "no"; then
|
||||||
if test "$want_native_pkcs11" = "yes"; then
|
if test "$want_native_pkcs11" = "yes"; then
|
||||||
echo " Native PKCS#11/Cryptoki support (--enable-native-pkcs11)"
|
echo " Native PKCS#11/Cryptoki support (--enable-native-pkcs11)"
|
||||||
else
|
else
|
||||||
echo " PKCS#11/Cryptoki support using OpenSSL (--with-pkcs11)"
|
echo " PKCS#11/Cryptoki support using OpenSSL (--with-pkcs11)"
|
||||||
fi
|
fi
|
||||||
echo " Provider library: $PKCS11_PROVIDER"
|
echo " Provider library: $PKCS11_PROVIDER"
|
||||||
fi
|
fi
|
||||||
@@ -23256,7 +23275,7 @@ echo
|
|||||||
echo "Features disabled or unavailable on this platform:"
|
echo "Features disabled or unavailable on this platform:"
|
||||||
$use_threads || echo " Multiprocessing support (--enable-threads)"
|
$use_threads || echo " Multiprocessing support (--enable-threads)"
|
||||||
test "$enable_ipv6" = "no" -o "$found_ipv6" = "no" && \
|
test "$enable_ipv6" = "no" -o "$found_ipv6" = "no" && \
|
||||||
echo " IPv6 support (--enable-ipv6)"
|
echo " IPv6 support (--enable-ipv6)"
|
||||||
|
|
||||||
test "$use_geoip" = "no" && echo " GeoIP access control (--with-geoip)"
|
test "$use_geoip" = "no" && echo " GeoIP access control (--with-geoip)"
|
||||||
test "$use_gssapi" = "no" && echo " GSS-API (--with-gssapi)"
|
test "$use_gssapi" = "no" && echo " GSS-API (--with-gssapi)"
|
||||||
|
306
configure.in
306
configure.in
@@ -163,12 +163,12 @@ case "$use_python" in
|
|||||||
esac
|
esac
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
testscript='try: import argparse
|
testscript='try: import argparse
|
||||||
except: exit(1)'
|
except: exit(1)'
|
||||||
AC_MSG_CHECKING([python module 'argparse'])
|
AC_MSG_CHECKING([python module 'argparse'])
|
||||||
if $PYTHON -c "$testscript"; then
|
if $PYTHON -c "$testscript"; then
|
||||||
AC_MSG_RESULT([found, using $PYTHON])
|
AC_MSG_RESULT([found, using $PYTHON])
|
||||||
else
|
else
|
||||||
case "$use_python" in
|
case "$use_python" in
|
||||||
unspec)
|
unspec)
|
||||||
PYTHON=""
|
PYTHON=""
|
||||||
@@ -177,11 +177,11 @@ except: exit(1)'
|
|||||||
AC_MSG_RESULT([not found, python disabled])
|
AC_MSG_RESULT([not found, python disabled])
|
||||||
;;
|
;;
|
||||||
yes)
|
yes)
|
||||||
AC_MSG_RESULT([no found])
|
AC_MSG_RESULT([no found])
|
||||||
AC_MSG_ERROR([python 'argparse' module not supported])
|
AC_MSG_ERROR([python 'argparse' module not supported])
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@@ -189,7 +189,7 @@ PYTHON_TOOLS=''
|
|||||||
CHECKDS=''
|
CHECKDS=''
|
||||||
COVERAGE=''
|
COVERAGE=''
|
||||||
if test "X$PYTHON" != "X"; then
|
if test "X$PYTHON" != "X"; then
|
||||||
PYTHON_TOOLS=python
|
PYTHON_TOOLS=python
|
||||||
CHECKDS=checkds
|
CHECKDS=checkds
|
||||||
COVERAGE=coverage
|
COVERAGE=coverage
|
||||||
fi
|
fi
|
||||||
@@ -636,7 +636,7 @@ case "$use_geoip" in
|
|||||||
LIBS="$LIBS -L$use_geoip/lib"
|
LIBS="$LIBS -L$use_geoip/lib"
|
||||||
esac
|
esac
|
||||||
elif test "$use_geoip" = "yes"
|
elif test "$use_geoip" = "yes"
|
||||||
then
|
then
|
||||||
AC_MSG_ERROR([GeoIP path not found])
|
AC_MSG_ERROR([GeoIP path not found])
|
||||||
else
|
else
|
||||||
AC_MSG_ERROR([GeoIP path $use_geoip does not exist])
|
AC_MSG_ERROR([GeoIP path $use_geoip does not exist])
|
||||||
@@ -650,7 +650,7 @@ case "$use_geoip" in
|
|||||||
AC_SEARCH_LIBS(fabsf, m, [],
|
AC_SEARCH_LIBS(fabsf, m, [],
|
||||||
[AC_MSG_ERROR([Math library not found])]
|
[AC_MSG_ERROR([Math library not found])]
|
||||||
)
|
)
|
||||||
AC_DEFINE(HAVE_GEOIP, 1, Build with GeoIP support)
|
AC_DEFINE(HAVE_GEOIP, 1, Build with GeoIP support)
|
||||||
GEOIPLINKSRCS='${GEOIPLINKSRCS}'
|
GEOIPLINKSRCS='${GEOIPLINKSRCS}'
|
||||||
GEOIPLINKOBJS='${GEOIPLINKOBJS}'
|
GEOIPLINKOBJS='${GEOIPLINKOBJS}'
|
||||||
AC_MSG_CHECKING([for GeoIP support])
|
AC_MSG_CHECKING([for GeoIP support])
|
||||||
@@ -667,7 +667,7 @@ case "$use_geoip" in
|
|||||||
])],
|
])],
|
||||||
[
|
[
|
||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
AC_DEFINE(HAVE_GEOIP_V6, 1, Build with GeoIP Country IPv6 support)
|
AC_DEFINE(HAVE_GEOIP_V6, 1, Build with GeoIP Country IPv6 support)
|
||||||
],
|
],
|
||||||
[AC_MSG_RESULT([no])]
|
[AC_MSG_RESULT([no])]
|
||||||
)
|
)
|
||||||
@@ -680,12 +680,12 @@ case "$use_geoip" in
|
|||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
], [
|
], [
|
||||||
struct in6_addr in6;
|
struct in6_addr in6;
|
||||||
int i = GEOIP_CITY_EDITION_REV0_V6;
|
int i = GEOIP_CITY_EDITION_REV0_V6;
|
||||||
GeoIP_record_by_ipnum_v6(NULL, in6);
|
GeoIP_record_by_ipnum_v6(NULL, in6);
|
||||||
])],
|
])],
|
||||||
[
|
[
|
||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
AC_DEFINE(HAVE_GEOIP_CITY_V6, 1, Build with GeoIP City IPv6 support)
|
AC_DEFINE(HAVE_GEOIP_CITY_V6, 1, Build with GeoIP City IPv6 support)
|
||||||
],
|
],
|
||||||
[AC_MSG_RESULT([no])]
|
[AC_MSG_RESULT([no])]
|
||||||
)
|
)
|
||||||
@@ -720,10 +720,10 @@ then
|
|||||||
for d in $krb5dirs
|
for d in $krb5dirs
|
||||||
do
|
do
|
||||||
if test -f $d/include/gssapi/gssapi_krb5.h -o \
|
if test -f $d/include/gssapi/gssapi_krb5.h -o \
|
||||||
-f $d/include/krb5.h
|
-f $d/include/krb5.h
|
||||||
then
|
then
|
||||||
if test -f $d/include/gssapi/gssapi.h -o \
|
if test -f $d/include/gssapi/gssapi.h -o \
|
||||||
-f $d/include/gssapi.h
|
-f $d/include/gssapi.h
|
||||||
then
|
then
|
||||||
use_gssapi=$d
|
use_gssapi=$d
|
||||||
break
|
break
|
||||||
@@ -1124,7 +1124,7 @@ AC_ARG_WITH(openssl,
|
|||||||
#
|
#
|
||||||
AC_ARG_WITH(pkcs11,
|
AC_ARG_WITH(pkcs11,
|
||||||
[ --with-pkcs11[=PATH] Build with PKCS11 support [yes|no|path]
|
[ --with-pkcs11[=PATH] Build with PKCS11 support [yes|no|path]
|
||||||
(PATH is for the PKCS11 provider)],
|
(PATH is for the PKCS11 provider)],
|
||||||
use_pkcs11="$withval", use_pkcs11="auto")
|
use_pkcs11="$withval", use_pkcs11="auto")
|
||||||
|
|
||||||
openssldirs="/usr /usr/local /usr/local/ssl /usr/pkg /usr/sfw"
|
openssldirs="/usr /usr/local /usr/local/ssl /usr/pkg /usr/sfw"
|
||||||
@@ -1147,10 +1147,10 @@ fi
|
|||||||
OPENSSL_ECDSA=""
|
OPENSSL_ECDSA=""
|
||||||
OPENSSL_GOST=""
|
OPENSSL_GOST=""
|
||||||
AC_ARG_WITH(ecdsa, [ --with-ecdsa Crypto ECDSA],
|
AC_ARG_WITH(ecdsa, [ --with-ecdsa Crypto ECDSA],
|
||||||
with_ecdsa="$withval", with_ecdsa="auto")
|
with_ecdsa="$withval", with_ecdsa="auto")
|
||||||
AC_ARG_WITH(gost,
|
AC_ARG_WITH(gost,
|
||||||
[ --with-gost Crypto GOST [yes|no|raw|asn1].],
|
[ --with-gost Crypto GOST [yes|no|raw|asn1].],
|
||||||
with_gost="$withval", with_gost="auto")
|
with_gost="$withval", with_gost="auto")
|
||||||
gosttype="raw"
|
gosttype="raw"
|
||||||
case "$with_gost" in
|
case "$with_gost" in
|
||||||
raw)
|
raw)
|
||||||
@@ -1159,7 +1159,7 @@ case "$with_gost" in
|
|||||||
asn1)
|
asn1)
|
||||||
AC_DEFINE(PREFER_GOSTASN1, 1,
|
AC_DEFINE(PREFER_GOSTASN1, 1,
|
||||||
[Define if GOST private keys are encoded in ASN.1.])
|
[Define if GOST private keys are encoded in ASN.1.])
|
||||||
gosttype="asn1"
|
gosttype="asn1"
|
||||||
with_gost="yes"
|
with_gost="yes"
|
||||||
;;
|
;;
|
||||||
auto|yes|no)
|
auto|yes|no)
|
||||||
@@ -1329,20 +1329,20 @@ no)
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
AC_MSG_CHECKING(for OpenSSL DSA support)
|
AC_MSG_CHECKING(for OpenSSL DSA support)
|
||||||
if test -f $use_openssl/include/openssl/dsa.h
|
if test -f $use_openssl/include/openssl/dsa.h
|
||||||
then
|
then
|
||||||
AC_DEFINE(HAVE_OPENSSL_DSA)
|
AC_DEFINE(HAVE_OPENSSL_DSA)
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_CHECK_FUNCS(EVP_sha256 EVP_sha384 EVP_sha512)
|
AC_CHECK_FUNCS(EVP_sha256 EVP_sha384 EVP_sha512)
|
||||||
|
|
||||||
AC_MSG_CHECKING(for OpenSSL ECDSA support)
|
AC_MSG_CHECKING(for OpenSSL ECDSA support)
|
||||||
have_ecdsa=""
|
have_ecdsa=""
|
||||||
AC_TRY_RUN([
|
AC_TRY_RUN([
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <openssl/ecdsa.h>
|
#include <openssl/ecdsa.h>
|
||||||
#include <openssl/objects.h>
|
#include <openssl/objects.h>
|
||||||
@@ -1359,49 +1359,49 @@ int main() {
|
|||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
[AC_MSG_RESULT(yes)
|
[AC_MSG_RESULT(yes)
|
||||||
have_ecdsa="yes"],
|
have_ecdsa="yes"],
|
||||||
[AC_MSG_RESULT(no)
|
[AC_MSG_RESULT(no)
|
||||||
have_ecdsa="no"],
|
have_ecdsa="no"],
|
||||||
[AC_MSG_RESULT(using --with-ecdsa)])
|
[AC_MSG_RESULT(using --with-ecdsa)])
|
||||||
case "$with_ecdsa" in
|
case "$with_ecdsa" in
|
||||||
yes)
|
yes)
|
||||||
case "$have_ecdsa" in
|
case "$have_ecdsa" in
|
||||||
no) AC_MSG_ERROR([ecdsa not supported]) ;;
|
no) AC_MSG_ERROR([ecdsa not supported]) ;;
|
||||||
*) have_ecdsa=yes ;;
|
*) have_ecdsa=yes ;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
no)
|
no)
|
||||||
have_ecdsa=no ;;
|
have_ecdsa=no ;;
|
||||||
*)
|
*)
|
||||||
case "$have_ecdsa" in
|
case "$have_ecdsa" in
|
||||||
yes|no) ;;
|
yes|no) ;;
|
||||||
*) AC_MSG_ERROR([need --with-ecdsa=[[yes or no]]]) ;;
|
*) AC_MSG_ERROR([need --with-ecdsa=[[yes or no]]]) ;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
case $have_ecdsa in
|
case $have_ecdsa in
|
||||||
yes)
|
yes)
|
||||||
OPENSSL_ECDSA="yes"
|
OPENSSL_ECDSA="yes"
|
||||||
AC_DEFINE(HAVE_OPENSSL_ECDSA, 1,
|
AC_DEFINE(HAVE_OPENSSL_ECDSA, 1,
|
||||||
[Define if your OpenSSL version supports ECDSA.])
|
[Define if your OpenSSL version supports ECDSA.])
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
AC_MSG_CHECKING(for OpenSSL GOST support)
|
AC_MSG_CHECKING(for OpenSSL GOST support)
|
||||||
have_gost=""
|
have_gost=""
|
||||||
case "$use_pkcs11" in
|
case "$use_pkcs11" in
|
||||||
auto|no)
|
auto|no)
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
if $use_threads; then
|
if $use_threads; then
|
||||||
CC="$CC -pthread"
|
CC="$CC -pthread"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
AC_TRY_RUN([
|
AC_TRY_RUN([
|
||||||
#include <openssl/conf.h>
|
#include <openssl/conf.h>
|
||||||
#include <openssl/engine.h>
|
#include <openssl/engine.h>
|
||||||
int main() {
|
int main() {
|
||||||
@@ -1423,45 +1423,45 @@ int main() {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
[AC_MSG_RESULT(yes)
|
[AC_MSG_RESULT(yes)
|
||||||
have_gost="yes"],
|
have_gost="yes"],
|
||||||
[AC_MSG_RESULT(no)
|
[AC_MSG_RESULT(no)
|
||||||
have_gost="no"],
|
have_gost="no"],
|
||||||
[AC_MSG_RESULT(using --with-gost)])
|
[AC_MSG_RESULT(using --with-gost)])
|
||||||
case "$with_gost" in
|
case "$with_gost" in
|
||||||
yes)
|
yes)
|
||||||
case "$have_gost" in
|
case "$have_gost" in
|
||||||
no) AC_MSG_ERROR([gost not supported]) ;;
|
no) AC_MSG_ERROR([gost not supported]) ;;
|
||||||
*) have_gost=yes ;;
|
*) have_gost=yes ;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
no)
|
no)
|
||||||
have_gost=no ;;
|
have_gost=no ;;
|
||||||
*)
|
*)
|
||||||
case "$have_gost" in
|
case "$have_gost" in
|
||||||
yes|no) ;;
|
yes|no) ;;
|
||||||
*) AC_MSG_ERROR([need --with-gost=[[yes, no, raw or asn1]]]) ;;
|
*) AC_MSG_ERROR([need --with-gost=[[yes, no, raw or asn1]]]) ;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
case $have_gost in
|
case $have_gost in
|
||||||
yes)
|
yes)
|
||||||
OPENSSL_GOST="yes"
|
OPENSSL_GOST="yes"
|
||||||
OPENSSLGOSTLINKOBJS='${OPENSSLGOSTLINKOBJS}'
|
OPENSSLGOSTLINKOBJS='${OPENSSLGOSTLINKOBJS}'
|
||||||
OPENSSLGOSTLINKSRCS='${OPENSSLGOSTLINKSRCS}'
|
OPENSSLGOSTLINKSRCS='${OPENSSLGOSTLINKSRCS}'
|
||||||
AC_DEFINE(HAVE_OPENSSL_GOST, 1,
|
AC_DEFINE(HAVE_OPENSSL_GOST, 1,
|
||||||
[Define if your OpenSSL version supports GOST.])
|
[Define if your OpenSSL version supports GOST.])
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
CC="$saved_cc"
|
CC="$saved_cc"
|
||||||
CFLAGS="$saved_cflags"
|
CFLAGS="$saved_cflags"
|
||||||
LIBS="$saved_libs"
|
LIBS="$saved_libs"
|
||||||
OPENSSLLINKOBJS='${OPENSSLLINKOBJS}'
|
OPENSSLLINKOBJS='${OPENSSLLINKOBJS}'
|
||||||
OPENSSLLINKSRCS='${OPENSSLLINKSRCS}'
|
OPENSSLLINKSRCS='${OPENSSLLINKSRCS}'
|
||||||
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -1527,16 +1527,16 @@ case "$use_pkcs11" in
|
|||||||
;;
|
;;
|
||||||
yes|*)
|
yes|*)
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
if ! $use_threads; then
|
if ! $use_threads; then
|
||||||
AC_MSG_ERROR([PKCS11 requires thread support])
|
AC_MSG_ERROR([PKCS11 requires thread support])
|
||||||
fi
|
fi
|
||||||
if test "$CRYPTO" != ""
|
if test "$CRYPTO" != ""
|
||||||
then
|
then
|
||||||
AC_MSG_CHECKING(for OpenSSL with PKCS11 support)
|
AC_MSG_CHECKING(for OpenSSL with PKCS11 support)
|
||||||
saved_cc="$CC"
|
saved_cc="$CC"
|
||||||
saved_cflags="$CFLAGS"
|
saved_cflags="$CFLAGS"
|
||||||
saved_libs="$LIBS"
|
saved_libs="$LIBS"
|
||||||
CC="$CC -pthread"
|
CC="$CC -pthread"
|
||||||
CFLAGS="$CFLAGS $DST_OPENSSL_INC"
|
CFLAGS="$CFLAGS $DST_OPENSSL_INC"
|
||||||
LIBS="$LIBS $DNS_OPENSSL_LIBS"
|
LIBS="$LIBS $DNS_OPENSSL_LIBS"
|
||||||
AC_TRY_RUN([
|
AC_TRY_RUN([
|
||||||
@@ -1563,7 +1563,7 @@ int main() {
|
|||||||
[AC_MSG_RESULT(cross compile, defaulting to no)
|
[AC_MSG_RESULT(cross compile, defaulting to no)
|
||||||
PKCS11_TEST=''
|
PKCS11_TEST=''
|
||||||
PKCS11_ENGINE='-DPKCS11_ENGINE=NULL'])
|
PKCS11_ENGINE='-DPKCS11_ENGINE=NULL'])
|
||||||
CC="$saved_cc"
|
CC="$saved_cc"
|
||||||
CFLAGS="$saved_cflags"
|
CFLAGS="$saved_cflags"
|
||||||
LIBS="$saved_libs"
|
LIBS="$saved_libs"
|
||||||
else
|
else
|
||||||
@@ -1608,7 +1608,7 @@ case "$want_native_pkcs11" in
|
|||||||
CRYPTO="-DPKCS11CRYPTO"
|
CRYPTO="-DPKCS11CRYPTO"
|
||||||
PKCS11LINKOBJS='${PKCS11LINKOBJS}'
|
PKCS11LINKOBJS='${PKCS11LINKOBJS}'
|
||||||
PKCS11LINKSRCS='${PKCS11LINKSRCS}'
|
PKCS11LINKSRCS='${PKCS11LINKSRCS}'
|
||||||
PKCS11_TEST=pkcs11
|
PKCS11_TEST=pkcs11
|
||||||
case "$with_ecdsa" in
|
case "$with_ecdsa" in
|
||||||
no)
|
no)
|
||||||
AC_MSG_RESULT([disabled PKCS11 ECDSA])
|
AC_MSG_RESULT([disabled PKCS11 ECDSA])
|
||||||
@@ -1616,14 +1616,14 @@ case "$want_native_pkcs11" in
|
|||||||
*)
|
*)
|
||||||
PKCS11_ECDSA="yes"
|
PKCS11_ECDSA="yes"
|
||||||
AC_DEFINE(HAVE_PKCS11_ECDSA, 1,
|
AC_DEFINE(HAVE_PKCS11_ECDSA, 1,
|
||||||
[Define if your PKCS11 provider supports ECDSA.])
|
[Define if your PKCS11 provider supports ECDSA.])
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
case "$with_gost" in
|
case "$with_gost" in
|
||||||
yes)
|
yes)
|
||||||
PKCS11_GOST="yes"
|
PKCS11_GOST="yes"
|
||||||
AC_DEFINE(HAVE_PKCS11_GOST, 1,
|
AC_DEFINE(HAVE_PKCS11_GOST, 1,
|
||||||
[Define if your PKCS11 provider supports GOST.])
|
[Define if your PKCS11 provider supports GOST.])
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
AC_MSG_RESULT([disabled PKCS11 GOST])
|
AC_MSG_RESULT([disabled PKCS11 GOST])
|
||||||
@@ -1712,18 +1712,18 @@ case "$use_libjson" in
|
|||||||
;;
|
;;
|
||||||
auto|yes)
|
auto|yes)
|
||||||
if test -f "/usr/include/json/json.h"
|
if test -f "/usr/include/json/json.h"
|
||||||
then
|
then
|
||||||
libjson_cflags="-I /usr/include/json"
|
libjson_cflags="-I /usr/include/json"
|
||||||
have_libjson="yes"
|
have_libjson="yes"
|
||||||
elif test -f "/usr/include/json-c/json.h"
|
elif test -f "/usr/include/json-c/json.h"
|
||||||
then
|
then
|
||||||
libjson_cflags="-I /usr/include/json-c"
|
libjson_cflags="-I /usr/include/json-c"
|
||||||
have_libjson="yes"
|
have_libjson="yes"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
if test -f "${use_libjson}/include/json/json.h"
|
if test -f "${use_libjson}/include/json/json.h"
|
||||||
then
|
then
|
||||||
libjson_cflags="-I${use_libjson}/include/json"
|
libjson_cflags="-I${use_libjson}/include/json"
|
||||||
LIBS="$LIBS -L${use_libjson}/lib"
|
LIBS="$LIBS -L${use_libjson}/lib"
|
||||||
have_libjson="yes"
|
have_libjson="yes"
|
||||||
@@ -1743,7 +1743,7 @@ then
|
|||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
AC_SEARCH_LIBS([json_object_new_int64], [json json-c], [],
|
AC_SEARCH_LIBS([json_object_new_int64], [json json-c], [],
|
||||||
[AC_MSG_WARN([found libjson include but not library.])
|
[AC_MSG_WARN([found libjson include but not library.])
|
||||||
have_libjson=""])
|
have_libjson=""])
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
fi
|
fi
|
||||||
@@ -2008,7 +2008,7 @@ AC_SUBST(ISC_PLATFORM_USEBACKTRACE)
|
|||||||
|
|
||||||
AC_ARG_ENABLE(symtable,
|
AC_ARG_ENABLE(symtable,
|
||||||
[ --enable-symtable use internal symbol table for backtrace
|
[ --enable-symtable use internal symbol table for backtrace
|
||||||
[[all|minimal(default)|none]]],
|
[[all|minimal(default)|none]]],
|
||||||
want_symtable="$enableval", want_symtable="minimal")
|
want_symtable="$enableval", want_symtable="minimal")
|
||||||
case $want_symtable in
|
case $want_symtable in
|
||||||
yes|all|minimal) # "yes" is a hidden value equivalent to "minimal"
|
yes|all|minimal) # "yes" is a hidden value equivalent to "minimal"
|
||||||
@@ -2545,7 +2545,7 @@ AC_TRY_COMPILE([
|
|||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
int getnameinfo(const struct sockaddr *, socklen_t, char *,
|
int getnameinfo(const struct sockaddr *, socklen_t, char *,
|
||||||
socklen_t, char *, socklen_t, unsigned int);],
|
socklen_t, char *, socklen_t, unsigned int);],
|
||||||
[ return (0);],
|
[ return (0);],
|
||||||
[AC_MSG_RESULT(socklen_t for buflen; u_int for flags)
|
[AC_MSG_RESULT(socklen_t for buflen; u_int for flags)
|
||||||
AC_DEFINE(IRS_GETNAMEINFO_BUFLEN_T, socklen_t,
|
AC_DEFINE(IRS_GETNAMEINFO_BUFLEN_T, socklen_t,
|
||||||
@@ -2557,7 +2557,7 @@ int getnameinfo(const struct sockaddr *, socklen_t, char *,
|
|||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
int getnameinfo(const struct sockaddr *, socklen_t, char *,
|
int getnameinfo(const struct sockaddr *, socklen_t, char *,
|
||||||
size_t, char *, size_t, int);],
|
size_t, char *, size_t, int);],
|
||||||
[ return (0);],
|
[ return (0);],
|
||||||
[AC_MSG_RESULT(size_t for buflen; int for flags)
|
[AC_MSG_RESULT(size_t for buflen; int for flags)
|
||||||
AC_DEFINE(IRS_GETNAMEINFO_BUFLEN_T, size_t)
|
AC_DEFINE(IRS_GETNAMEINFO_BUFLEN_T, size_t)
|
||||||
@@ -2688,8 +2688,8 @@ AC_SUBST(ISC_PLATFORM_NEEDSTRCASESTR)
|
|||||||
|
|
||||||
AC_SUBST(READLINE_LIB)
|
AC_SUBST(READLINE_LIB)
|
||||||
AC_ARG_WITH(readline,
|
AC_ARG_WITH(readline,
|
||||||
[ --with-readline[=LIBSPEC] specify readline library [default -lreadline]],
|
[ --with-readline[=LIBSPEC] specify readline library [default -lreadline]],
|
||||||
readline="$withval", readline="-lreadline")
|
readline="$withval", readline="-lreadline")
|
||||||
case "$readline" in
|
case "$readline" in
|
||||||
no) ;;
|
no) ;;
|
||||||
*)
|
*)
|
||||||
@@ -2705,7 +2705,7 @@ no) ;;
|
|||||||
READLINE_LIB="$readline"
|
READLINE_LIB="$readline"
|
||||||
fi
|
fi
|
||||||
LIBS="$saved_LIBS"
|
LIBS="$saved_LIBS"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
||||||
@@ -2924,7 +2924,7 @@ AC_SUBST(ISC_PLATFORM_RLIMITTYPE)
|
|||||||
# Older HP-UX doesn't have gettune
|
# Older HP-UX doesn't have gettune
|
||||||
#
|
#
|
||||||
case "$host" in
|
case "$host" in
|
||||||
*-hp-hpux*)
|
*-hp-hpux*)
|
||||||
AC_CHECK_HEADERS(sys/dyntune.h)
|
AC_CHECK_HEADERS(sys/dyntune.h)
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
@@ -3125,7 +3125,7 @@ if test "$use_atomic" = "yes"; then
|
|||||||
[i[3456]86-*])
|
[i[3456]86-*])
|
||||||
# XXX: some old x86 architectures actually do not support
|
# XXX: some old x86 architectures actually do not support
|
||||||
# (some of) these operations. Do we need stricter checks?
|
# (some of) these operations. Do we need stricter checks?
|
||||||
AC_CHECK_SIZEOF([void *])
|
AC_CHECK_SIZEOF([void *])
|
||||||
if test $ac_cv_sizeof_void_p = 8; then
|
if test $ac_cv_sizeof_void_p = 8; then
|
||||||
arch=x86_64
|
arch=x86_64
|
||||||
have_xaddq=yes
|
have_xaddq=yes
|
||||||
@@ -3134,7 +3134,7 @@ if test "$use_atomic" = "yes"; then
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
x86_64-*|amd64-*)
|
x86_64-*|amd64-*)
|
||||||
AC_CHECK_SIZEOF([void *])
|
AC_CHECK_SIZEOF([void *])
|
||||||
if test $ac_cv_sizeof_void_p = 8; then
|
if test $ac_cv_sizeof_void_p = 8; then
|
||||||
arch=x86_64
|
arch=x86_64
|
||||||
have_xaddq=yes
|
have_xaddq=yes
|
||||||
@@ -3458,7 +3458,7 @@ auto)
|
|||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
docbook_xsl_trees="$withval"
|
docbook_xsl_trees="$withval"
|
||||||
AC_MSG_RESULT($docbook_xsl_trees)
|
AC_MSG_RESULT($docbook_xsl_trees)
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@@ -3749,6 +3749,7 @@ DLZ_SYSTEM_TEST=""
|
|||||||
#
|
#
|
||||||
SO="so"
|
SO="so"
|
||||||
SO_CFLAGS=""
|
SO_CFLAGS=""
|
||||||
|
SO_LDFLAGS=""
|
||||||
SO_LD=""
|
SO_LD=""
|
||||||
SO_TARGETS=""
|
SO_TARGETS=""
|
||||||
|
|
||||||
@@ -3766,37 +3767,44 @@ if test "$dlopen" = "yes"; then
|
|||||||
if test "$have_dl" = "yes"; then
|
if test "$have_dl" = "yes"; then
|
||||||
LIBS="-ldl $LIBS"
|
LIBS="-ldl $LIBS"
|
||||||
fi
|
fi
|
||||||
AC_CHECK_FUNCS(dlopen dlclose dlsym,,dlopen=no)
|
AC_CHECK_FUNCS(dlopen dlclose dlsym,,dlopen=no)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$dlopen" = "yes"; then
|
if test "$dlopen" = "yes"; then
|
||||||
case $host in
|
case $host in
|
||||||
*-linux*)
|
*-linux*)
|
||||||
SO_CFLAGS="-fPIC"
|
SO_CFLAGS="-fPIC"
|
||||||
|
SO_LDFLAGS=""
|
||||||
if test "$have_dl" = "yes"
|
if test "$have_dl" = "yes"
|
||||||
then
|
then
|
||||||
if test "$use_libtool" = "yes"; then
|
if test "$use_libtool" = "yes"; then
|
||||||
SO_LD="${CC} -Xcompiler -shared"
|
SO_LDFLAGS="-Xcompiler -shared"
|
||||||
|
SO_LD="${CC}"
|
||||||
else
|
else
|
||||||
SO_LD="${CC} -shared"
|
SO_LDFLAGS="-shared"
|
||||||
|
SO_LD="${CC}"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
SO_LD="ld -shared"
|
SO_LDFLAGS="-shared"
|
||||||
|
SO_LD="ld"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*-freebsd*|*-openbsd*|*-netbsd*)
|
*-freebsd*|*-openbsd*|*-netbsd*)
|
||||||
SO_CFLAGS="-fpic"
|
SO_CFLAGS="-fpic"
|
||||||
SO_LD="ld -Bshareable -x"
|
SO_LDFLAGS="-Bshareable -x"
|
||||||
|
SO_LD="ld"
|
||||||
;;
|
;;
|
||||||
*-solaris*)
|
*-solaris*)
|
||||||
SO_CFLAGS="-KPIC"
|
SO_CFLAGS="-KPIC"
|
||||||
SO_LD="ld -G -z text"
|
SO_LDFLAGS="-G -z text"
|
||||||
;;
|
SO_LD="ld"
|
||||||
|
;;
|
||||||
*-hp-hpux*)
|
*-hp-hpux*)
|
||||||
SO=sl
|
SO=sl
|
||||||
SO_CFLAGS="+z"
|
SO_CFLAGS="+z"
|
||||||
SO_LD="ld -b"
|
SO_LDFLAGS="-b"
|
||||||
;;
|
SO_LD="ld"
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
SO_CFLAGS="-fPIC"
|
SO_CFLAGS="-fPIC"
|
||||||
;;
|
;;
|
||||||
@@ -3804,7 +3812,16 @@ if test "$dlopen" = "yes"; then
|
|||||||
|
|
||||||
if test "X$GCC" = "Xyes"; then
|
if test "X$GCC" = "Xyes"; then
|
||||||
SO_CFLAGS="-fPIC"
|
SO_CFLAGS="-fPIC"
|
||||||
test -n "$SO_LD" || SO_LD="${CC} -shared"
|
if test -z "$SO_LD"
|
||||||
|
then
|
||||||
|
if test "$use_libtool" = "yes"; then
|
||||||
|
SO_LDFLAGS="-Xcompiler -shared"
|
||||||
|
SO_LD="${CC}"
|
||||||
|
else
|
||||||
|
SO_LDFLAGS="-shared"
|
||||||
|
SO_LD="${CC}"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If we still don't know how to make shared objects, don't make any.
|
# If we still don't know how to make shared objects, don't make any.
|
||||||
@@ -3817,6 +3834,7 @@ fi
|
|||||||
|
|
||||||
AC_SUBST(SO)
|
AC_SUBST(SO)
|
||||||
AC_SUBST(SO_CFLAGS)
|
AC_SUBST(SO_CFLAGS)
|
||||||
|
AC_SUBST(SO_LDFLAGS)
|
||||||
AC_SUBST(SO_LD)
|
AC_SUBST(SO_LD)
|
||||||
AC_SUBST(SO_TARGETS)
|
AC_SUBST(SO_TARGETS)
|
||||||
|
|
||||||
@@ -4139,9 +4157,9 @@ test "$use_gssapi" = "no" || echo " GSS-API (--with-gssapi)"
|
|||||||
# these lines are only printed if run with --enable-full-report
|
# these lines are only printed if run with --enable-full-report
|
||||||
if test "$enable_full_report" = "yes"; then
|
if test "$enable_full_report" = "yes"; then
|
||||||
test "$enable_ipv6" = "no" -o "$found_ipv6" = "no" || \
|
test "$enable_ipv6" = "no" -o "$found_ipv6" = "no" || \
|
||||||
echo " IPv6 support (--enable-ipv6)"
|
echo " IPv6 support (--enable-ipv6)"
|
||||||
test "X$CRYPTO" = "X" -o "$want_native_pkcs11" = "yes" || \
|
test "X$CRYPTO" = "X" -o "$want_native_pkcs11" = "yes" || \
|
||||||
echo " OpenSSL cryptography/DNSSEC (--with-openssl)"
|
echo " OpenSSL cryptography/DNSSEC (--with-openssl)"
|
||||||
test "X$PYTHON" = "X" || echo " Python tools (--with-python)"
|
test "X$PYTHON" = "X" || echo " Python tools (--with-python)"
|
||||||
test "X$libxml2_libs" = "X" || echo " XML statistics (--with-libxml2)"
|
test "X$libxml2_libs" = "X" || echo " XML statistics (--with-libxml2)"
|
||||||
test "X$have_libjson" = "X" || echo " JSON statistics (--with-libjson)"
|
test "X$have_libjson" = "X" || echo " JSON statistics (--with-libjson)"
|
||||||
@@ -4149,9 +4167,9 @@ fi
|
|||||||
|
|
||||||
if test "$use_pkcs11" != "no"; then
|
if test "$use_pkcs11" != "no"; then
|
||||||
if test "$want_native_pkcs11" = "yes"; then
|
if test "$want_native_pkcs11" = "yes"; then
|
||||||
echo " Native PKCS#11/Cryptoki support (--enable-native-pkcs11)"
|
echo " Native PKCS#11/Cryptoki support (--enable-native-pkcs11)"
|
||||||
else
|
else
|
||||||
echo " PKCS#11/Cryptoki support using OpenSSL (--with-pkcs11)"
|
echo " PKCS#11/Cryptoki support using OpenSSL (--with-pkcs11)"
|
||||||
fi
|
fi
|
||||||
echo " Provider library: $PKCS11_PROVIDER"
|
echo " Provider library: $PKCS11_PROVIDER"
|
||||||
fi
|
fi
|
||||||
@@ -4194,7 +4212,7 @@ echo
|
|||||||
echo "Features disabled or unavailable on this platform:"
|
echo "Features disabled or unavailable on this platform:"
|
||||||
$use_threads || echo " Multiprocessing support (--enable-threads)"
|
$use_threads || echo " Multiprocessing support (--enable-threads)"
|
||||||
test "$enable_ipv6" = "no" -o "$found_ipv6" = "no" && \
|
test "$enable_ipv6" = "no" -o "$found_ipv6" = "no" && \
|
||||||
echo " IPv6 support (--enable-ipv6)"
|
echo " IPv6 support (--enable-ipv6)"
|
||||||
|
|
||||||
test "$use_geoip" = "no" && echo " GeoIP access control (--with-geoip)"
|
test "$use_geoip" = "no" && echo " GeoIP access control (--with-geoip)"
|
||||||
test "$use_gssapi" = "no" && echo " GSS-API (--with-gssapi)"
|
test "$use_gssapi" = "no" && echo " GSS-API (--with-gssapi)"
|
||||||
|
Reference in New Issue
Block a user