mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-15 06:59:58 -05:00
Make sure the caps header check can also be disabled.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@443 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
1015ea4241
commit
29118f50cb
1 changed files with 2 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ AC_HEADER_STDC
|
|||
# POSIX
|
||||
AC_CHECK_HEADERS([arpa/inet.h glob.h grp.h netdb.h netinet/in.h \
|
||||
netinet/in_systm.h netinet/ip.h netinet/tcp.h pwd.h sched.h \
|
||||
sys/capability.h sys/resource.h sys/select.h sys/socket.h sys/wait.h \
|
||||
sys/resource.h sys/select.h sys/socket.h sys/wait.h \
|
||||
syslog.h])
|
||||
AC_CHECK_HEADERS([regex.h], [HAVE_REGEX=1], [HAVE_REGEX=0])
|
||||
AC_CHECK_HEADERS([sys/un.h], [HAVE_AF_UNIX=1], [HAVE_AF_UNIX=0])
|
||||
|
|
@ -239,6 +239,7 @@ AC_ARG_WITH(
|
|||
|
||||
if test "x${with_caps}" != "xno"; then
|
||||
AC_CHECK_LIB(cap, cap_init, [CAP_LIBS='-lcap'], [CAP_LIBS=''])
|
||||
AC_CHECK_HEADERS([sys/capability.h])
|
||||
fi
|
||||
AC_SUBST(CAP_LIBS)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue