* tests/old-m4-iface.at: Define top_srcdir, work around current

ltdl.m4 bug.
This commit is contained in:
Ralf Wildenhues 2005-09-30 10:09:58 +00:00
parent 35f5001e2c
commit 28a654e1c2
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2005-09-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* tests/old-m4-iface.at: Define top_srcdir, work around current
ltdl.m4 bug.
* libltdl/config/ltmain.m4sh (func_mode_link):
Fix wrong logic introduced in last commit.

View File

@ -100,7 +100,8 @@ AC_OUTPUT(Makefile)
]])
AT_DATA([Makefile.in],
[[top_builddir = .
[[top_srcdir = .
top_builddir = .
COMPILE = @CC@ @CPPFLAGS@ @INCLTDL@ @CFLAGS@
LTCOMPILE = @LIBTOOL@ --mode=compile $(COMPILE)
LTLINK = @LIBTOOL@ --mode=link @CC@ -no-undefined @CFLAGS@ @LDFLAGS@ -o $@
@ -181,6 +182,7 @@ foo (const char *str)
}
]])
touch config.h.in # bug in current ltdl.m4
test -f ltmain.sh || LT_AT_LIBTOOLIZE([--ltdl --install])
test -f aclocal.m4 || $ACLOCAL -I libltdl/m4 || exit 1
test -f configure || $AUTOCONF --force || exit 1