+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):
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.
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>
AT_DATA([expout],
[[5150
]])
-])# _LTDL_SETUP
+])# _LT_AT_LTDL_SETUP
## -------------------- ##
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[)
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[)
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[)
AT_CLEANUP
dnl Be careful not to let the definition leak into other tests
-m4_popdef([_LTDL_SETUP])
+m4_popdef([_LT_AT_LTDL_SETUP])
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])
]])
echo 'int dummy = 0;' > foo.c
-])# _LTDL_SETUP
+])# _LT_AT_LTDL_SETUP
## ------------------------ ##
## Softlinked libltdl tree. ##
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])
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])
AT_SETUP([installable libltdl])
-_LTDL_SETUP
+_LT_AT_LTDL_SETUP
prefix=`pwd`/_inst
AT_CLEANUP
dnl Be careful not to let the definition leak into other tests
-m4_popdef([_LTDL_SETUP])
+m4_popdef([_LT_AT_LTDL_SETUP])
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])
]])
echo 'int dummy = 0;' > foo.c
-])# _LTDL_SETUP
+])# _LT_AT_LTDL_SETUP
## ------------------------ ##
## Softlinked libltdl tree. ##
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])
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])
AT_SETUP([installable libltdl])
-_LTDL_SETUP
+_LT_AT_LTDL_SETUP
prefix=`pwd`/_inst
AT_CLEANUP
dnl Be careful not to let the definition leak into other tests
-m4_popdef([_LTDL_SETUP])
+m4_popdef([_LT_AT_LTDL_SETUP])
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])
]])
echo 'int dummy = 0;' > foo.c
-])# _LTDL_SETUP
+])# _LT_AT_LTDL_SETUP
## ------------------------ ##
## Softlinked libltdl tree. ##
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])
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])
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],
AT_CLEANUP
dnl Be careful not to let the definition leak into other tests
-m4_popdef([_LTDL_SETUP])
+m4_popdef([_LT_AT_LTDL_SETUP])