mirror of
https://github.com/stefanberger/libtpms
synced 2026-08-13 04:16:03 +00:00
build-sys: Only use AX_CHECK_LINK_FLAG with autoconf >= 2.64
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
This commit is contained in:
parent
79275ce87c
commit
dd9c2f2138
16
configure.ac
16
configure.ac
@ -59,9 +59,19 @@ if test "$DEBUG" = "yes"; then
|
||||
fi
|
||||
AC_SUBST(DEBUG_DEFINES, $debug_defines)
|
||||
|
||||
AX_CHECK_LINK_FLAG([-Wl,--version-script=$srcdir/src/test.syms],
|
||||
[have_version_script="yes"],
|
||||
[have_version_script="no"])
|
||||
# AX_CHECK_LINK_FLAG needs autoconf 2.64 or later
|
||||
have_version_script="no"
|
||||
m4_if(
|
||||
m4_version_compare(
|
||||
m4_defn([AC_AUTOCONF_VERSION]),
|
||||
[2.64]),
|
||||
-1,
|
||||
[],
|
||||
[AX_CHECK_LINK_FLAG([-Wl,--version-script=$srcdir/src/test.syms],
|
||||
[have_version_script="yes"],
|
||||
[])]
|
||||
)
|
||||
|
||||
AM_CONDITIONAL([HAVE_VERSION_SCRIPT], [test "x$have_version_script" = "xyes"])
|
||||
|
||||
cryptolib=freebl
|
||||
|
||||
Loading…
Reference in New Issue
Block a user