(libtool): automatically update
1998-12-16 Alexandre Oliva <oliva@dcc.unicamp.br>
+ * libltdl/Makefile.am (EXTRA_DIST): removed, nothing needed
+ (libtool): automatically update
+
* libltdl/configure.in (stdlib.h, unistd.h, stdio.h): check
* libltdl/ltdl.c: include them
CFLAGS = -force-static
-EXTRA_DIST = acinclude.m4
-
noinst_LTLIBRARIES = libltdl.la
libltdl_la_SOURCES = ltdl.c
libltdl_la_LDFLAGS = $(LIBADD_DL)
noinst_HEADERS = ltdl.h
+
+# rebuild the libtool script if needed
+ltdl.lo: libtool
+libtool: $(srcdir)/../ltconfig $(srcdir)/../ltmain.sh
+ rm -f libtool
+ cd .. && $(MAKE) libtool
+ $(MAKE) -f ../Makefile srcdir=$(srcdir)/.. LIBTOOL_DEPS= libtool