diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 5ffd5ef..9b96090 100644 --- a/configure.ac +++ b/configure.ac @@ -33,9 +33,7 @@ AM_CONDITIONAL([USE_PYTHON], [test "x$with_python" = "xyes"]) AC_ARG_WITH([seccomp], [AS_HELP_STRING([--with-seccomp], [build with seccomp])]) AS_IF([test "x$with_seccomp" = "xyes"], [ - PKG_CHECK_MODULES(LIBSECCOMP, libseccomp) - CPPFLAGS="$CPPFLAGS $LIBSECCOMP_CFLAGS -DWANT_SECCOMP" - LIBS="$LIBS $LIBSECCOMP_LIBS" + CPPFLAGS="$CPPFLAGS -DWANT_SECCOMP" ]) AX_CFLAGS_WARN_ALL @@ -62,7 +60,10 @@ m4_foreach_w([flag], [ AX_CHECK_COMPILE_FLAG(flag, AS_VAR_APPEND([CFLAGS], " flag")) ]) -AC_CHECK_HEADERS([linux/securebits.h]) +AC_CHECK_HEADERS_ONCE(m4_flatten([ + linux/seccomp.h + linux/securebits.h +])) AC_CONFIG_FILES([ Makefile |