From: Diego B. R. <el...@us...> - 2009-12-09 23:09:20
|
Module: synfig Branch: eldruin_master Commit: b7e88289b2031b7270555918673b1d463ff4633a URL: http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=b7e88289b2031b7270555918673b1d463ff4633a Author: Carlos Lopez <gen...@gm...> Date: Tue Nov 3 22:14:29 2009 +0100 Apply patch 2890548: Resolve issues with libtool 1.5.26 and 2.2.4. Thanks to Ray Frederikson ( uranus-235 ) --- synfig-core/configure.ac | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/synfig-core/configure.ac b/synfig-core/configure.ac index dd40d94..33a733d 100644 --- a/synfig-core/configure.ac +++ b/synfig-core/configure.ac @@ -622,8 +622,11 @@ AC_SUBST(CXXFLAGS) AC_SUBST(CPPFLAGS) AC_SUBST(LDFLAGS) -# this line is required for libtool 1.5.26 but must not be present for libtool 2.2.4... -# AC_CONFIG_SUBDIRS(libltdl) +# AC_CONFIG_SUBDIRS(libltdl) is required for libtool 1.5.26 but must not be present for +# libtool 2.2.4. Problem seems to be that AC_LIB_LTDL (above) now calls AC_CONFIG_SUBDIRS +# itself, through LTDL_INIT, _LTDL_SETUP, _LTDL_MODE_DISPATCH. We need to check the +# condition that libltdl has already been registered with AC_CONFIG_SUBDIRS: +m4_ifdef([_AC_SEEN_TAG(libltdl)], [], [AC_CONFIG_SUBDIRS(libltdl)]) CONFIG_LIBS="-lsynfig" CONFIG_CFLAGS="$CONFIG_CFLAGS" |