summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2006-01-10 13:19:03 +0000
committerPierre Ossman <ossman@cendio.se>2006-01-10 13:19:03 +0000
commit29118f50cb848076c89aee54829f4da6d7b8df77 (patch)
tree777e9e2a441b7775039c4bc1ac7987148da6a42b
parent1015ea42413eb14b1a027a665df6af12344d097d (diff)
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
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 1a002e54..e5e03d04 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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)