aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2018-05-24 13:30:08 +0100
committerSean Young <sean@mess.org>2018-08-13 10:15:52 +0100
commit91b37c0d9cb71fc2d5f78cc96aa2ef9f3bba145b (patch)
treeaf2d2a94098fe923d4eaa26c4aa2e0d2d6b7c3fa /configure.ac
parentd6025b0e8c7f57b0f9390f987acc5eed57360d80 (diff)
keytable: add bpf protocols
Add a few BPF protocols and infrastructure for building them. Signed-off-by: Sean Young <sean@mess.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 08f5a4c5..10f8628b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,6 +23,7 @@ AC_CONFIG_FILES([Makefile
utils/libmedia_dev/Makefile
utils/dvb/Makefile
utils/keytable/Makefile
+ utils/keytable/bpf_protocols/Makefile
utils/ir-ctl/Makefile
utils/cx18-ctl/Makefile
utils/ivtv-ctl/Makefile
@@ -172,11 +173,14 @@ AC_SUBST([LIBELF_CFLAGS])
AC_SUBST([LIBELF_LIBS])
AM_CONDITIONAL([HAVE_LIBELF], [test x$libelf_pkgconfig = xyes])
if test "x$libelf_pkgconfig" = "xyes"; then
+ AC_CHECK_PROG([CLANG], clang, clang)
AC_DEFINE([HAVE_LIBELF], [1], [libelf library is present])
else
AC_MSG_WARN(libelf library not available)
fi
+AM_CONDITIONAL([BPF_PROTOCOLS], [test x$CLANG = xclang])
+
AS_IF([test "x$x11_pkgconfig" = xyes],
[PKG_CHECK_MODULES(GL, [gl], [gl_pkgconfig=yes], [gl_pkgconfig=no])], [gl_pkgconfig=no])
AC_SUBST([GL_CFLAGS])

Privacy Policy