From 48320c40ea2008b5316af79fa02dc17ad70a1303 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Thu, 20 Mar 2025 07:18:04 +0100 Subject: [PATCH] Build tsig-tests from autoconf if --enable-tools. --- pdns/Makefile.am | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pdns/Makefile.am b/pdns/Makefile.am index 16170df526..5969dfc886 100644 --- a/pdns/Makefile.am +++ b/pdns/Makefile.am @@ -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 -- 2.47.2