]> git.eshelyaron.com Git - emacs.git/commit
Use pkg-config to check for libseccomp.
authorPhilipp Stephani <phst@google.com>
Sun, 11 Apr 2021 14:50:29 +0000 (16:50 +0200)
committerPhilipp Stephani <phst@google.com>
Sun, 11 Apr 2021 14:50:29 +0000 (16:50 +0200)
commit725fc96b706c57ef8ceca5e7d82b175d9a72e845
treec225822c92335d5982cc1e1d672bc2eb01f70777
parentd06c54db1b3504caed8673216a72b117d0692351
Use pkg-config to check for libseccomp.

We need at list version 2.4.0 of libseccomp for seccomp-filter.c to
build cleanly.

* configure.ac: Use pkg-config to check for libseccomp.
* lib-src/Makefile.in (HAVE_LIBSECCOMP, LIBSECCOMP_LIBS)
(LIBSECCOMP_CFLAGS): New variables.
(SECCOMP_FILTER, seccomp-filter$(EXEEXT)): Use them.
configure.ac
lib-src/Makefile.in