* mdemo/Makefile.am (@LIBLTDL@): depend on ../libltdl/config.h

This commit is contained in:
Alexandre Oliva 1999-03-11 00:44:13 +00:00 committed by Alexandre Oliva
parent 0cd022a962
commit b0dc971f4d
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
1999-03-10 Alexandre Oliva <oliva@dcc.unicamp.br>
* mdemo/Makefile.am (@LIBLTDL@): depend on ../libltdl/config.h
* configure.in: fix AC_OUTPUT_COMMANDS for ltconfig and ltmain.sh
so that they work if srcdir is relative too

View File

@ -20,12 +20,12 @@ bin_PROGRAMS = mdemo mdemo.static
## use @LIBLTDL@ because some broken makes do not accept macros in targets
## we can only do this because our LIBLTDL does not contain ${top_builddir}
@LIBLTDL@: ../libtool ../libltdl/libtool \
@LIBLTDL@: ../libtool ../libltdl/libtool ../libltdl/config.h \
$(srcdir)/../libltdl/ltdl.c $(srcdir)/../libltdl/ltdl.h
(cd ../libltdl; $(MAKE) `echo $(LIBLTDL) | sed 's,.*\.\./libltdl/,,g'`)
# Without the following line, the check may fail if libltdl/libtool is
# removed after libltdl is configured
../libltdl/libtool:
../libltdl/libtool ../libltdl/config.h:
# Create a version of mdemo that does dlopen.
mdemo_SOURCES = main.c