mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
Revert "build-sys: drop libcap checks, since we don't use caps anymore"
This reverts commit 9ade13604e.
This commit is contained in:
parent
a99e3b5491
commit
ebe35968d7
1 changed files with 19 additions and 0 deletions
19
configure.ac
19
configure.ac
|
|
@ -537,6 +537,25 @@ AC_SUBST(X11_LIBS)
|
||||||
AC_SUBST(HAVE_X11)
|
AC_SUBST(HAVE_X11)
|
||||||
AM_CONDITIONAL([HAVE_X11], [test "x$HAVE_X11" = x1])
|
AM_CONDITIONAL([HAVE_X11], [test "x$HAVE_X11" = x1])
|
||||||
|
|
||||||
|
#### Capabilities (optional) ####
|
||||||
|
|
||||||
|
CAP_LIBS=''
|
||||||
|
|
||||||
|
AC_ARG_WITH(
|
||||||
|
[caps],
|
||||||
|
AS_HELP_STRING([--without-caps],[Omit support for POSIX capabilities.]))
|
||||||
|
|
||||||
|
if test "x${with_caps}" != "xno"; then
|
||||||
|
AC_SEARCH_LIBS([cap_init], [cap], [], [
|
||||||
|
if test "x${with_caps}" = "xyes" ; then
|
||||||
|
AC_MSG_ERROR([*** POSIX caps libraries not found])
|
||||||
|
fi])
|
||||||
|
AC_CHECK_HEADERS([sys/capability.h], [], [
|
||||||
|
if test "x${with_caps}" = "xyes" ; then
|
||||||
|
AC_MSG_ERROR([*** POSIX caps headers not found])
|
||||||
|
fi])
|
||||||
|
fi
|
||||||
|
|
||||||
#### Valgrind (optional) ####
|
#### Valgrind (optional) ####
|
||||||
|
|
||||||
AC_CHECK_HEADERS_ONCE([valgrind/memcheck.h])
|
AC_CHECK_HEADERS_ONCE([valgrind/memcheck.h])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue