* tests/configure-iface.at, tests/nonrecursive.at,

tests/recursive.at, tests/subproject.at (_LTDL_SETUP):
Renamed to _LT_AT_LTDL_SETUP to avoid a nameclash with
libltdl/m4/ltoptions.m4:_LTDL_SETUP from yesterday's patch.
Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
Gary V. Vaughan 2008-01-08 05:07:41 +00:00
parent 8ffd4adbf1
commit 8e67083cff
5 changed files with 42 additions and 34 deletions

View File

@ -1,3 +1,11 @@
2008-01-08 Gary V. Vaughan <gary@gnu.org>
* tests/configure-iface.at, tests/nonrecursive.at,
tests/recursive.at, tests/subproject.at (_LTDL_SETUP):
Renamed to _LT_AT_LTDL_SETUP to avoid a nameclash with
libltdl/m4/ltoptions.m4:_LTDL_SETUP from yesterday's patch.
Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2008-01-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* tests/runpath-in-lalib.at (Runpath in libtool library files):
@ -47,11 +55,11 @@
expanded before LTDL_INIT, and be sure to parse caller options.
* configure.ac: Call directly into internal _LTDL_SETUP macro.
* libtoolize.m4sh (func_scan_files): Ltdl mode argument moved from
LT_CONFIG_LTDL_DIR to LT_INIT.
LT_CONFIG_LTDL_DIR to LTDL_INIT.
* tests/nonrecursive.at, tests/recursive.at: Use new interfaces.
* tests/configure-iface.at: Test it.
* Makefile.am (TESTSUITE_AT): Add configure-iface.at.
* doc/libtool.texi (Distributing libltdl): Document improved.
* doc/libtool.texi (Distributing libltdl): Document improved
LTDL_INIT interfaces.
* NEWS: Updated.

View File

@ -24,9 +24,9 @@
AT_BANNER([configure interface to libltdl.])
# _LTDL_SETUP
# -----------
m4_pushdef([_LTDL_SETUP],
# _LT_AT_LTDL_SETUP
# -----------------
m4_pushdef([_LT_AT_LTDL_SETUP],
[AT_DATA([main.c],
[[#include <ltdl.h>
#include <stdio.h>
@ -92,7 +92,7 @@ int f (void) { return 5150; }
AT_DATA([expout],
[[5150
]])
])# _LTDL_SETUP
])# _LT_AT_LTDL_SETUP
## -------------------- ##
@ -102,7 +102,7 @@ AT_DATA([expout],
AT_SETUP([installable libltdl])
AT_KEYWORDS([libltdl])
_LTDL_SETUP
_LT_AT_LTDL_SETUP
AT_DATA([configure.ac],
[[AC_INIT([installable-ltdl-demo], ]AT_PACKAGE_VERSION[, ]AT_PACKAGE_BUGREPORT[)
@ -169,7 +169,7 @@ done
AT_CHECK([test -f $prefix/lib/libltdl.la])
AT_CHECK([test -f $prefix/include/ltdl.h])
_LTDL_SETUP
_LT_AT_LTDL_SETUP
AT_DATA([configure.ac],
[[AC_INIT([configure-iface-demo], ]AT_PACKAGE_VERSION[, ]AT_PACKAGE_BUGREPORT[)
@ -218,7 +218,7 @@ AT_CLEANUP
AT_SETUP([--with-included-ltdl])
AT_KEYWORDS([libltdl])
_LTDL_SETUP
_LT_AT_LTDL_SETUP
AT_DATA([configure.ac],
[[AC_INIT([configure-iface-demo], ]AT_PACKAGE_VERSION[, ]AT_PACKAGE_BUGREPORT[)
@ -264,4 +264,4 @@ LT_AT_NOINST_EXEC_CHECK([./main], [-dlopen libmodule.la], [], [expout], [])
AT_CLEANUP
dnl Be careful not to let the definition leak into other tests
m4_popdef([_LTDL_SETUP])
m4_popdef([_LT_AT_LTDL_SETUP])

View File

@ -25,9 +25,9 @@
AT_BANNER([Nonrecursive Automake Libltdl.])
# _LTDL_SETUP
# -----------
m4_pushdef([_LTDL_SETUP],
# _LT_AT_LTDL_SETUP
# -----------------
m4_pushdef([_LT_AT_LTDL_SETUP],
[AT_DATA([configure.ac],
[[AC_INIT([subdirectory-demo], ]AT_PACKAGE_VERSION[, ]AT_PACKAGE_BUGREPORT[)
LT_CONFIG_LTDL_DIR([ltdl])
@ -69,7 +69,7 @@ foo_la_SOURCES = foo.c
]])
echo 'int dummy = 0;' > foo.c
])# _LTDL_SETUP
])# _LT_AT_LTDL_SETUP
## ------------------------ ##
## Softlinked libltdl tree. ##
@ -77,7 +77,7 @@ echo 'int dummy = 0;' > foo.c
AT_SETUP([compiling softlinked libltdl])
_LTDL_SETUP
_LT_AT_LTDL_SETUP
LT_AT_LIBTOOLIZE([--ltdl])
AT_CHECK([if test -f ltdl/configure.ac; then false; fi])
@ -101,7 +101,7 @@ AT_CLEANUP
AT_SETUP([compiling copied libltdl])
_LTDL_SETUP
_LT_AT_LTDL_SETUP
LT_AT_LIBTOOLIZE([--copy --ltdl])
AT_CHECK([if test -f ltdl/configure.ac; then false; fi])
@ -125,7 +125,7 @@ AT_CLEANUP
AT_SETUP([installable libltdl])
_LTDL_SETUP
_LT_AT_LTDL_SETUP
prefix=`pwd`/_inst
@ -146,4 +146,4 @@ AT_CHECK([test -f $prefix/include/ltdl.h])
AT_CLEANUP
dnl Be careful not to let the definition leak into other tests
m4_popdef([_LTDL_SETUP])
m4_popdef([_LT_AT_LTDL_SETUP])

View File

@ -24,9 +24,9 @@
AT_BANNER([Recursive Automake Libltdl.])
# _LTDL_SETUP
# -----------
m4_pushdef([_LTDL_SETUP],
# _LT_AT_LTDL_SETUP
# -----------------
m4_pushdef([_LT_AT_LTDL_SETUP],
[AT_DATA([configure.ac],
[[AC_INIT([subdirectory-demo], ]AT_PACKAGE_VERSION[, ]AT_PACKAGE_BUGREPORT[)
LT_CONFIG_LTDL_DIR([ltdl])
@ -51,7 +51,7 @@ foo_la_SOURCES = foo.c
]])
echo 'int dummy = 0;' > foo.c
])# _LTDL_SETUP
])# _LT_AT_LTDL_SETUP
## ------------------------ ##
## Softlinked libltdl tree. ##
@ -59,7 +59,7 @@ echo 'int dummy = 0;' > foo.c
AT_SETUP([compiling softlinked libltdl])
_LTDL_SETUP
_LT_AT_LTDL_SETUP
LT_AT_LIBTOOLIZE([--ltdl])
AT_CHECK([if test -f ltdl/configure.ac; then false; fi])
@ -79,7 +79,7 @@ AT_CLEANUP
AT_SETUP([compiling copied libltdl])
_LTDL_SETUP
_LT_AT_LTDL_SETUP
LT_AT_LIBTOOLIZE([--debug --copy --ltdl])
AT_CHECK([if test -f ltdl/configure.ac; then false; fi])
@ -99,7 +99,7 @@ AT_CLEANUP
AT_SETUP([installable libltdl])
_LTDL_SETUP
_LT_AT_LTDL_SETUP
prefix=`pwd`/_inst
@ -116,4 +116,4 @@ AT_CHECK([test -f $prefix/include/ltdl.h])
AT_CLEANUP
dnl Be careful not to let the definition leak into other tests
m4_popdef([_LTDL_SETUP])
m4_popdef([_LT_AT_LTDL_SETUP])

View File

@ -24,9 +24,9 @@
AT_BANNER([Subproject Libltdl.])
# _LTDL_SETUP
# -----------
m4_pushdef([_LTDL_SETUP],
# _LT_AT_LTDL_SETUP
# -----------------
m4_pushdef([_LT_AT_LTDL_SETUP],
[AT_DATA([configure.ac],
[[AC_INIT([subproject-demo], ]AT_PACKAGE_VERSION[, ]AT_PACKAGE_BUGREPORT[)
LT_CONFIG_LTDL_DIR([sub/ltdl])
@ -48,7 +48,7 @@ foo_la_LDFLAGS = -module -avoid-version
]])
echo 'int dummy = 0;' > foo.c
])# _LTDL_SETUP
])# _LT_AT_LTDL_SETUP
## ------------------------ ##
## Softlinked libltdl tree. ##
@ -56,7 +56,7 @@ echo 'int dummy = 0;' > foo.c
AT_SETUP([compiling softlinked libltdl])
_LTDL_SETUP
_LT_AT_LTDL_SETUP
LT_AT_BOOTSTRAP([--ltdl], [-I sub/ltdl/m4], [ignore], [--add-missing --copy],
[], [], [all $tst_dist])
@ -72,7 +72,7 @@ AT_CLEANUP
AT_SETUP([compiling copied libltdl])
_LTDL_SETUP
_LT_AT_LTDL_SETUP
LT_AT_BOOTSTRAP([--copy --ltdl], [-I sub/ltdl/m4], [ignore],
[--add-missing --copy], [], [], [all $tst_dist])
@ -90,7 +90,7 @@ AT_SETUP([installable libltdl])
prefix=`pwd`/_inst
_LTDL_SETUP
_LT_AT_LTDL_SETUP
LT_AT_BOOTSTRAP([--copy --ltdl], [-I sub/ltdl/m4], [ignore],
[--add-missing --copy], [], [--enable-ltdl-install --prefix=$prefix],
@ -119,4 +119,4 @@ LT_AT_EXEC_CHECK([./ltdldemo], 0, [ignore])
AT_CLEANUP
dnl Be careful not to let the definition leak into other tests
m4_popdef([_LTDL_SETUP])
m4_popdef([_LT_AT_LTDL_SETUP])