mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 13:53:31 +01:00
New --disable-seccomp option to turn off support for seccomp.
Fixes 11628.
This commit is contained in:
parent
f4be34f70d
commit
904dd436b5
4
changes/bug11628
Normal file
4
changes/bug11628
Normal file
@ -0,0 +1,4 @@
|
||||
o Minor features:
|
||||
- The configure script has a --disable-seccomp option to turn off
|
||||
support for libseccomp on systems that have it, in case it (or
|
||||
Tor's use of it) is broken. Resolves ticket 11628.
|
@ -161,6 +161,9 @@ AC_ARG_ENABLE(bufferevents,
|
||||
AC_ARG_ENABLE(tool-name-check,
|
||||
AS_HELP_STRING(--disable-tool-name-check, check for sanely named toolchain when cross-compiling))
|
||||
|
||||
AC_ARG_ENABLE(seccomp,
|
||||
AS_HELP_STRING(--disable-seccomp, do not attempt to use libseccomp))
|
||||
|
||||
dnl check for the correct "ar" when cross-compiling
|
||||
AN_MAKEVAR([AR], [AC_PROG_AR])
|
||||
AN_PROGRAM([ar], [AC_PROG_AR])
|
||||
@ -726,8 +729,10 @@ fi
|
||||
dnl ============================================================
|
||||
dnl Check for libseccomp
|
||||
|
||||
AC_CHECK_HEADERS([seccomp.h])
|
||||
AC_SEARCH_LIBS(seccomp_init, [seccomp])
|
||||
if test "x$enable_seccomp" != "xno"; then
|
||||
AC_CHECK_HEADERS([seccomp.h])
|
||||
AC_SEARCH_LIBS(seccomp_init, [seccomp])
|
||||
fi
|
||||
|
||||
dnl ============================================================
|
||||
dnl We need an implementation of curve25519.
|
||||
|
Loading…
Reference in New Issue
Block a user