]> git.proxmox.com Git - mirror_lxc.git/blobdiff - configure.ac
Merge pull request #3041 from brauner/2019-06-12/seccomp_notify_fixes
[mirror_lxc.git] / configure.ac
index 4686872ac7bd916fb336be46d904fec26ac349b2..3caa45ba8ed7770cd1ea6fadd074ecfd71c58deb 100644 (file)
@@ -363,7 +363,7 @@ AM_COND_IF([ENABLE_CAP],
 OLD_CFLAGS="$CFLAGS"
 CFLAGS="$CFLAGS $SECCOMP_CFLAGS"
 AC_CHECK_TYPES([scmp_filter_ctx], [], [], [[#include <seccomp.h>]])
-AC_CHECK_DECLS([seccomp_notif_get_fd], [], [], [[#include <seccomp.h>]])
+AC_CHECK_DECLS([seccomp_notify_fd], [], [], [[#include <seccomp.h>]])
 AC_CHECK_DECLS([seccomp_syscall_resolve_name_arch], [], [], [[#include <seccomp.h>]])
 CFLAGS="$OLD_CFLAGS"
 
@@ -656,7 +656,7 @@ int main(void)
     return 1;
   }
 }],
-[fmt_m=yes], [fmt_m=no],, [fmt_m=no])
+[fmt_m=yes], [fmt_m=no], [fmt_m=no])
 if test "x$fmt_m" = "xyes"; then
        AC_DEFINE([HAVE_M_FORMAT], 1, [Have %m format])
        AC_MSG_RESULT([yes])