]> code.delx.au - pulseaudio/commitdiff
build-sys: drop libcap checks, since we don't use caps anymore
authorLennart Poettering <lennart@poettering.net>
Fri, 7 Aug 2009 23:37:32 +0000 (01:37 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 7 Aug 2009 23:37:32 +0000 (01:37 +0200)
configure.ac

index 179aeb366dd5ae88d8e2d057828b30f282eedab9..40792130036401784933d13e56e1eef17e4ad66d 100644 (file)
@@ -537,25 +537,6 @@ AC_SUBST(X11_LIBS)
 AC_SUBST(HAVE_X11)
 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) ####
 
 AC_CHECK_HEADERS_ONCE([valgrind/memcheck.h])