mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
Make it possible to disable caps support since it breaks fully static
builds. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@405 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
be2ba90175
commit
08bbfd2169
1 changed files with 9 additions and 1 deletions
10
configure.ac
10
configure.ac
|
|
@ -210,7 +210,15 @@ fi
|
||||||
|
|
||||||
#### Capabilities (optional) ####
|
#### Capabilities (optional) ####
|
||||||
|
|
||||||
AC_CHECK_LIB(cap, cap_init, [CAP_LIBS='-lcap'], [CAP_LIBS=''])
|
CAP_LIBS=''
|
||||||
|
|
||||||
|
AC_ARG_WITH(
|
||||||
|
[caps],
|
||||||
|
AC_HELP_STRING([--without-caps],[Omit support for POSIX capabilities.]))
|
||||||
|
|
||||||
|
if test "x${with_caps}" != "xno"; then
|
||||||
|
AC_CHECK_LIB(cap, cap_init, [CAP_LIBS='-lcap'], [CAP_LIBS=''])
|
||||||
|
fi
|
||||||
AC_SUBST(CAP_LIBS)
|
AC_SUBST(CAP_LIBS)
|
||||||
|
|
||||||
#### Sample rate conversion ####
|
#### Sample rate conversion ####
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue