diff options
author | Philipp Stephani <phst@google.com> | 2021-04-12 09:15:59 +0200 |
---|---|---|
committer | Philipp Stephani <phst@google.com> | 2021-04-12 09:15:59 +0200 |
commit | 17d20bb3cbb233ed0d94c3f1f9f3db768f526223 (patch) | |
tree | 551316e110c9443c5f96ec58c5cf0ab598cf311a /lib-src/seccomp-filter.c | |
parent | c45bfd3c4abbfa585c9199f4866b6b8046945117 (diff) | |
download | emacs-17d20bb3cbb233ed0d94c3f1f9f3db768f526223.tar.gz emacs-17d20bb3cbb233ed0d94c3f1f9f3db768f526223.tar.bz2 emacs-17d20bb3cbb233ed0d94c3f1f9f3db768f526223.zip |
Generate Seccomp filters only if we have the necessary constants.
If we're missing SECCOMP_SET_MODE_FILTER, the seccomp-filter build
fails. Reuse the existing HAVE_SECCOMP configuration variable, which
checks for these macros.
* configure.ac (HAVE_SECCOMP): Substitute in Makefile.in.
* lib-src/Makefile.in (HAVE_SECCOMP): New variable.
(SECCOMP_FILTER): Define only if HAVE_SECCOMP.
Diffstat (limited to 'lib-src/seccomp-filter.c')
0 files changed, 0 insertions, 0 deletions