public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-libs/libcanberra/files: libcanberra-0.14-backward-compatibility-libtool.patch
@ 2009-07-17 10:52 Romain Perier (mrpouet)
  0 siblings, 0 replies; only message in thread
From: Romain Perier (mrpouet) @ 2009-07-17 10:52 UTC (permalink / raw
  To: gentoo-commits

mrpouet     09/07/17 10:52:03

  Added:               
                        libcanberra-0.14-backward-compatibility-libtool.patch
  Log:
  Fix correctly bug #277739, remove template fix, replaced LT_* macros by AC_LIBTOOL* (equivalent for old version) for backward compatibility with < sys-devel/libtool-2.2
  (Portage version: 2.1.6.13/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  media-libs/libcanberra/files/libcanberra-0.14-backward-compatibility-libtool.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libcanberra/files/libcanberra-0.14-backward-compatibility-libtool.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libcanberra/files/libcanberra-0.14-backward-compatibility-libtool.patch?rev=1.1&content-type=text/plain

Index: libcanberra-0.14-backward-compatibility-libtool.patch
===================================================================
 configure.ac |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index e804538..1e96988 100644
--- a/configure.ac
+++ b/configure.ac
@@ -68,8 +68,11 @@ for flag in $DESIRED_FLAGS ; do
 done
 
 #### libtool stuff ####
-LT_PREREQ(2.2)
-LT_INIT([dlopen win32-dll disable-static])
+AC_LIBTOOL_DLOPEN
+AC_LIBTOOL_WIN32_DLL
+AC_DISABLE_STATIC
+AM_DISABLE_STATIC
+AC_PROG_LIBTOOL
 
 dnl Unfortunately, even up to libtool 2.2.6a there is no way to know
 dnl exactly which version of libltdl is present in the system, so we
@@ -89,7 +92,7 @@ dnl can give the proper place to find libltdl through the standard
 dnl variables like LDFLAGS and CPPFLAGS.
 
 AC_CHECK_HEADER([ltdl.h],
-    [AC_CHECK_LIB([ltdl], [lt_dladvise_init], [LIBLTDL=-lltdl], [LIBLTDL=])],
+    [AC_CHECK_LIB([ltdl], [lt_dlopen], [LIBLTDL=-lltdl], [LIBLTDL=])],
     [LIBLTDL=])
 
 AS_IF([test "x$LIBLTDL" = "x"],






^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-07-17 10:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-17 10:52 [gentoo-commits] gentoo-x86 commit in media-libs/libcanberra/files: libcanberra-0.14-backward-compatibility-libtool.patch Romain Perier (mrpouet)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox