mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
Update code to use libtool 2.2. Use convenience recursive libltdl.
Also remove the code for older libtool from the daemon.
This commit is contained in:
parent
2da79d5ade
commit
f8197cfc4c
3 changed files with 5 additions and 81 deletions
27
configure.ac
27
configure.ac
|
|
@ -244,29 +244,9 @@ else
|
|||
fi
|
||||
|
||||
#### libtool stuff ####
|
||||
|
||||
AC_LTDL_ENABLE_INSTALL
|
||||
AC_LIBLTDL_INSTALLABLE
|
||||
AC_LIBTOOL_DLOPEN
|
||||
AC_LIBTOOL_WIN32_DLL
|
||||
AC_PROG_LIBTOOL
|
||||
AC_SUBST(LTDLINCL)
|
||||
AC_SUBST(LIBLTDL)
|
||||
AC_CONFIG_SUBDIRS(libltdl)
|
||||
|
||||
old_LIBS=$LIBS
|
||||
LIBS="$LIBS $LIBLTDL"
|
||||
AC_CHECK_FUNCS([lt_dlmutex_register])
|
||||
LIBS=$old_LIBS
|
||||
AC_CHECK_TYPES([struct lt_user_dlloader, lt_dladvise], , , [#include <ltdl.h>])
|
||||
|
||||
if test "x$enable_ltdl_install" = "xno" && test "x$ac_cv_lib_ltdl_lt_dlinit" = "xno" ; then
|
||||
AC_MSG_ERROR([[
|
||||
|
||||
*** Cannot find the libltdl development files.
|
||||
*** Maybe you need to install the libltdl-dev package.
|
||||
]])
|
||||
fi
|
||||
LT_CONFIG_LTDL_DIR([libltdl])
|
||||
LT_INIT([dlopen win32-dll])
|
||||
LTDL_INIT([convenience recursive])
|
||||
|
||||
#### Determine build environment ####
|
||||
|
||||
|
|
@ -1129,6 +1109,7 @@ AM_CONDITIONAL([FORCE_PREOPEN], [test "x$FORCE_PREOPEN" = "x1"])
|
|||
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
libltdl/Makefile
|
||||
src/Makefile
|
||||
man/Makefile
|
||||
libpulse.pc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue