Merge pull request #271 from s-bauer/s-bauer-patch-4

Added --without-sigaction option
This commit is contained in:
Olof Hagsand 2021-09-30 16:30:20 +02:00 committed by GitHub
commit 3ec0c42959
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 41 additions and 2 deletions

View file

@ -299,7 +299,19 @@ if test "${with_libxml2}"; then
fi
#
AC_CHECK_FUNCS(inet_aton sigaction sigvec strlcpy strsep strndup alphasort versionsort getpeereid setns getresuid)
AC_CHECK_FUNCS(inet_aton sigvec strlcpy strsep strndup alphasort versionsort getpeereid setns getresuid)
# Check for --without-sigaction parameter
AC_ARG_WITH(
[sigaction],
[AS_HELP_STRING([--without-sigaction], [Don't use sigaction])],
[],
[with_sigaction=yes]
)
if test "x${with_sigaction}" == "xyes"; then
AC_CHECK_FUNCS(sigaction)
fi
# Checks for getsockopt options for getting unix socket peer credentials on
# Linux