mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-19 07:00:03 -05:00
Add option to select which modules get linked in during static builds.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@404 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
9550c8ed80
commit
be2ba90175
2 changed files with 21 additions and 2 deletions
14
configure.ac
14
configure.ac
|
|
@ -297,6 +297,20 @@ AC_ARG_ENABLE(
|
|||
[STATIC_BINS=1], [STATIC_BINS=0])
|
||||
AM_CONDITIONAL([STATIC_BINS], [test "x$STATIC_BINS" = "x1"])
|
||||
|
||||
AC_ARG_WITH(
|
||||
[preopen-mods],
|
||||
AC_HELP_STRING([--with-preopen-mods],[Modules to preopen in daemon (default: all).]),
|
||||
[PREOPEN_MODS=$withval], [PREOPEN_MODS="all"])
|
||||
AM_CONDITIONAL([PREOPEN_MODS], [test "x$PREOPEN_MODS" != "xall"])
|
||||
if test "x$PREOPEN_MODS" != "xall" ; then
|
||||
tmpLIBS=""
|
||||
for mod in $PREOPEN_MODS; do
|
||||
tmpLIBS="$tmpLIBS module-$mod.la"
|
||||
done
|
||||
PREOPEN_MODS="$tmpLIBS"
|
||||
AC_SUBST(PREOPEN_MODS)
|
||||
fi
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
polyp/Makefile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue