From: Miod Vallat Date: Thu, 20 Mar 2025 06:18:04 +0000 (+0100) Subject: Build tsig-tests from autoconf if --enable-tools. X-Git-Tag: dnsdist-2.0.0-alpha2~123^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48320c40ea2008b5316af79fa02dc17ad70a1303;p=thirdparty%2Fpdns.git Build tsig-tests from autoconf if --enable-tools. --- 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