* add new configure option --with-module-dir=

* drop version suffix from soname of libpolyp and friends
* add version suffix by default to $(modlibexecdir)


git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@885 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2006-05-16 17:54:33 +00:00
parent 929899015d
commit 55215597c4
7 changed files with 66 additions and 55 deletions

View file

@ -31,6 +31,12 @@ AC_SUBST(PACKAGE_URL, [http://0pointer.de/lennart/projects/polypaudio/])
AC_SUBST(PA_API_VERSION, 8)
AC_SUBST(PA_PROTOCOL_VERSION, 8)
AC_SUBST(LIBPOLYP_VERSION_INFO, [0:0:0])
AC_SUBST(LIBPOLYPCORE_VERSION_INFO, [0:0:0])
AC_SUBST(LIBPOLYP_SIMPLE_VERSION_INFO, [0:0:0])
AC_SUBST(LIBPOLYP_BROWSE_VERSION_INFO, [0:0:0])
AC_SUBST(LIBPOLYP_MAINLOOP_GLIB_VERSION_INFO, [0:0:0])
if type -p stow > /dev/null && test -d /usr/local/stow ; then
AC_MSG_NOTICE([*** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***])
ac_default_prefix="/usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION}"
@ -420,6 +426,13 @@ if test "x$PREOPEN_MODS" != "xall" ; then
AC_SUBST(PREOPEN_MODS)
fi
AC_ARG_WITH(
[module-dir],
AC_HELP_STRING([--with-module-dir],[Directory where to install the modules to (defaults to ${libdir}/polypaudio-${PA_MAJORMINOR}]),
[modlibexecdir=$withval], [modlibexecdir="${libdir}/polypaudio-${PA_MAJORMINOR}"])
AC_SUBST(modlibexecdir)
AC_ARG_ENABLE(
[force-preopen],
AC_HELP_STRING([--enable-force-preopen],[Preopen modules, even when dlopen() is supported.]),