Setup libltdl in ltdl/, so we can use it in the dve2 interface.

Don't keep it under version control since it is installed by
autoreconf.

* configure.ac: Call LT_CONFIG_LTDL_DIR and LTDL_INIT.
* README: Mention ltdl/.
* Makefile.am: Recurse into ldtl.
* iface/dve2/Makefile.am: Link with it.
This commit is contained in:
Alexandre Duret-Lutz 2011-03-05 11:52:55 +01:00
parent 3427f3bf0e
commit 155d76f4fb
7 changed files with 25 additions and 3 deletions

View file

@ -18,7 +18,7 @@
## Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
## 02111-1307, USA.
AM_CPPFLAGS = -I$(top_srcdir)/src $(BUDDY_CPPFLAGS)
AM_CPPFLAGS = -I$(top_srcdir)/src $(BUDDY_CPPFLAGS) -I$(top_srcdir)/ltdl
AM_CXXFLAGS = $(WARNING_CXXFLAGS)
dve2dir = $(pkgincludedir)/iface/dve2
@ -26,5 +26,7 @@ dve2dir = $(pkgincludedir)/iface/dve2
dve2_HEADERS = dve2.hh
lib_LTLIBRARIES = libspotdve2.la
libspotdve2_la_LIBADD = $(top_builddir)/src/libspot.la
libspotdve2_la_LIBADD = \
$(top_builddir)/src/libspot.la \
$(top_builddir)/ltdl/libltdlc.la
libspotdve2_la_SOURCES = dve2.cc