View | Details | Raw Unified | Return to bug 2011 | Differences between
and this patch

Collapse All | Expand All

(-)a/configure.ac (-3 / +2 lines)
Lines 128-134 AC_CHECK_DECL([SECCOMP_MODE_FILTER], [have_seccomp_filter=1], , [ Link Here
128
fi
128
fi
129
if test "x$have_seccomp_filter" = "x1" ; then
129
if test "x$have_seccomp_filter" = "x1" ; then
130
AC_MSG_CHECKING([kernel for seccomp_filter support])
130
AC_MSG_CHECKING([kernel for seccomp_filter support])
131
AC_RUN_IFELSE([AC_LANG_PROGRAM([[
131
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
132
		#include <errno.h>
132
		#include <errno.h>
133
		#include <linux/seccomp.h>
133
		#include <linux/seccomp.h>
134
		#include <stdlib.h>
134
		#include <stdlib.h>
Lines 141-148 AC_RUN_IFELSE([AC_LANG_PROGRAM([[ Link Here
141
		AC_MSG_RESULT([no])
141
		AC_MSG_RESULT([no])
142
		# Disable seccomp filter as a target
142
		# Disable seccomp filter as a target
143
		have_seccomp_filter=0
143
		have_seccomp_filter=0
144
	],
144
	]
145
	[ AC_MSG_RESULT([cross-compiling, assuming yes]) ]
146
)
145
)
147
fi
146
fi
148
147

Return to bug 2011