]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove AC_SUBST() calls from AX_LIB_LMDB()
authorMichal Nowak <mnowak@isc.org>
Mon, 23 Nov 2020 13:59:12 +0000 (14:59 +0100)
committerMichał Kępień <michal@isc.org>
Tue, 24 Nov 2020 13:51:51 +0000 (14:51 +0100)
LMDB build variables are already substituted by AC_SUBST() calls in
configure.ac and therefore the latter should not be duplicated in the
AX_LIB_LMDB() helper macro.

m4/ax_lib_lmdb.m4

index 2d011dc7cdc2294b159908b96cbfca7359d2b749..0b1c5662c545c1af418d84a378f44db31c335475 100644 (file)
 #
 #   This macro takes only one argument, a path to the lmdb headers and library.
 #
-#   This macro calls:
-#
-#     AC_SUBST(LMDB_CFLAGS)
-#     AC_SUBST(LMDB_LDFLAGS)
-#
 # LICENSE
 #
 #   Copyright (c) 2020 Internet Systems Consortium
@@ -42,8 +37,6 @@ AC_DEFUN([AX_LIB_LMDB],
                 LIBS="$LIBS $LMDB_LIBS"
                 AC_SEARCH_LIBS([mdb_env_create], [lmdb],
                                [LMDB_LIBS="$LMDB_LIBS $ac_cv_search_mdb_env_create"
-                                AC_SUBST([LMDB_CFLAGS])
-                                AC_SUBST([LMDB_LDFLAGS])
                                 AX_RESTORE_FLAGS([lmdb])
                                 $2
                                ],