• Philipp Stephani's avatar
    Generate Seccomp filters only if we have the necessary constants. · 17d20bb3
    Philipp Stephani authored
    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.
    17d20bb3
Makefile.in 14.8 KB