Added --without-sigaction option
This commit is contained in:
parent
9b6bb3ecbf
commit
c0bbe607ed
2 changed files with 41 additions and 2 deletions
14
configure.ac
14
configure.ac
|
|
@ -298,7 +298,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue