diff options
| author | Philipp Stephani | 2021-04-12 09:15:59 +0200 |
|---|---|---|
| committer | Philipp Stephani | 2021-04-12 09:15:59 +0200 |
| commit | 17d20bb3cbb233ed0d94c3f1f9f3db768f526223 (patch) | |
| tree | 551316e110c9443c5f96ec58c5cf0ab598cf311a /src/coding.c | |
| parent | c45bfd3c4abbfa585c9199f4866b6b8046945117 (diff) | |
| download | emacs-17d20bb3cbb233ed0d94c3f1f9f3db768f526223.tar.gz 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 'src/coding.c')
0 files changed, 0 insertions, 0 deletions