use LTDLDEPS

Ralf Wildenhues <[email protected]>
Newsgroups gmane.comp.gnu.m4.patches
Organization Department of Numerical Simulation, University of Bonn
Message-ID <[email protected]>
Hello Eric,

The patch fixes a build failure that used to be visible on Bob's build
daemon (when LIBLTDL is `-lltdl', `make' would error out if that was
listed as a dependency).

Cheers,
Ralf

2008-01-28  Ralf Wildenhues  <[email protected]>

	* Makefile.am (m4_libm4_la_DEPENDENCIES): Use $(LTDLDEPS).
	Fixes build failure if installed libltdl is used.

diff --git a/Makefile.am b/Makefile.am
index 8626031..3d2fe4a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -226,7 +226,7 @@ m4_libm4_la_SOURCES	= \
 		  m4/utility.c
 m4_libm4_la_LIBADD = gnu/libgnu.la \
 		  $(LIBLTDL) $(LTLIBINTL) $(LIBADD_DL)
-m4_libm4_la_DEPENDENCIES = $(LIBLTDL) gnu/libgnu.la
+m4_libm4_la_DEPENDENCIES = $(LTDLDEPS) gnu/libgnu.la
 
 # This file needs to be regenerated at configure time.
 dist-hook:
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.