X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fconfigure.ac;fp=synfig-core%2Fconfigure.ac;h=33a733dc55ab576e5d302e500303ea895c70c731;hb=b7e88289b2031b7270555918673b1d463ff4633a;hp=dd40d94e1af8f612e4314bdd95b89279dc7ad302;hpb=e5f3e3f3f643030df787114862dfe25390229db1;p=synfig.git 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"