]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Ensure fstrm_capture is looked for
authorMichał Kępień <michal@isc.org>
Thu, 23 Apr 2020 06:34:11 +0000 (08:34 +0200)
committerOndřej Surý <ondrej@isc.org>
Fri, 24 Apr 2020 14:11:20 +0000 (16:11 +0200)
fstrm_capture is not an essential utility, but its corresponding
Makefile token needs to substituted even if it is not found in PATH or
else the "dnstap" system test will consistently fail.

configure.ac

index 592f40f169cd0ea73673064220b4ae3976b8114c..36fdcfb3b0f63ab4f013178e89c3e81f519b347e 100644 (file)
@@ -1248,7 +1248,8 @@ AC_ARG_ENABLE([dnstap],
 AS_IF([test "$enable_dnstap" != "no"],
       [PKG_CHECK_MODULES([DNSTAP], [libfstrm libprotobuf-c], [],
                         [AC_MSG_FAILURE([Required libraries (fstrm, protobuf-c) were not found, please install them.])])
-       AC_PATH_PROG([PROTOC_C], [protoc-c], [])
+       AC_PATH_PROG([FSTRM_CAPTURE], [fstrm_capture])
+       AC_PATH_PROG([PROTOC_C], [protoc-c])
        AS_IF([test -z "$PROTOC_C"],
             [AC_MSG_ERROR([protoc-c compiler not found])])
        AC_DEFINE([HAVE_DNSTAP], 1, [Define to 1 to enable dnstap support])