]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Build tsig-tests from autoconf if --enable-tools. 15327/head
authorMiod Vallat <miod.vallat@powerdns.com>
Thu, 20 Mar 2025 06:18:04 +0000 (07:18 +0100)
committerMiod Vallat <miod.vallat@powerdns.com>
Thu, 20 Mar 2025 06:54:06 +0000 (07:54 +0100)
pdns/Makefile.am

index 16170df526bf60f7cb988c6c186f374b010c2b9a..5969dfc8861724c6291529d394764b02842375d9 100644 (file)
@@ -180,7 +180,7 @@ EXTRA_PROGRAMS = \
        sdig \
        speedtest \
        testrunner \
-       tsig-tests \
+       tsig_tests \
        zone2ldap
 
 pdns_server_SOURCES = \
@@ -931,6 +931,10 @@ tsig_tests_SOURCES += pkcs11signers.cc pkcs11signers.hh
 tsig_tests_LDADD += $(P11KIT1_LIBS)
 endif
 
+if GSS_TSIG
+tsig_tests_LDADD += $(GSS_LIBS)
+endif
+
 speedtest_SOURCES = \
        arguments.cc arguments.hh \
        base32.cc \
@@ -1510,7 +1514,7 @@ pdns_control_LDFLAGS = \
        $(AM_LDFLAGS) \
        $(LIBCRYPTO_LDFLAGS)
 
-noinst_PROGRAMS = speedtest
+noinst_PROGRAMS = speedtest tsig_tests
 
 if UNIT_TESTS
 noinst_PROGRAMS += testrunner