blob: e9134d52b4456f64742d2f4476147d2e3ce7fde4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#
# lldp_CHECK_SECCOMP
#
AC_DEFUN([lldp_CHECK_SECCOMP], [
if test x"$with_seccomp" != x"no"; then
PKG_CHECK_MODULES([libseccomp], [libseccomp >= 1], [
AC_SUBST([libseccomp_LIBS])
AC_SUBST([libseccomp_CFLAGS])
AC_DEFINE_UNQUOTED([USE_SECCOMP], 1, [Define to indicate to enable seccomp support])
with_seccomp=yes
], [
if test x"$with_seccomp" = x"yes"; then
AC_MSG_FAILURE([*** no seccomp support found])
fi
with_seccomp=no
])
fi
])
|