]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Support 'recursive' mode for building libltdl: Automake will
authorGary V. Vaughan <gary@gnu.org>
Mon, 7 Nov 2005 14:18:15 +0000 (14:18 +0000)
committerGary V. Vaughan <gary@gnu.org>
Mon, 7 Nov 2005 14:18:15 +0000 (14:18 +0000)
recursively descend into the libltdl directory, and use libltdl's
Makefile.am code to build libltdl:
* ltdl.m4 (LT_CONFIG_LTDL_DIR): Don't barf on 'recursive' mode
for 2nd argument.
(_LTDL_MODE_DISPATCH): Handle recursive mode.

ChangeLog
libltdl/m4/ltdl.m4

index b47312e909dfc199480f662ffe998f31fe96f207..31763c38af5ad56d3f23aa94b1e4c62eb5324952 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,19 +1,22 @@
 2005-11-07  Gary V. Vaughan  <gary@gnu.org>
 
+       Support 'recursive' mode for building libltdl: Automake will
+       recursively descend into the libltdl directory, and use libltdl's
+       Makefile.am code to build libltdl:
+       * ltdl.m4 (LT_CONFIG_LTDL_DIR): Don't barf on 'recursive' mode
+       for 2nd argument.
+       (_LTDL_MODE_DISPATCH): Handle recursive mode.
+
        * tests/recursive.at: New tests for libltdl as a subdirectory,
        configured and compiled from the toplevel project using a
        recursive make..
        * tests/testsuite.at: Use it.
        * Makefile.am (TESTSUITE_AT): Depend on it.
 
-2005-11-07  Gary V. Vaughan  <gary@gnu.org>
-
        * libltdl/m4/ltdl.m4 (LTDL_INIT): Don't force running
        AC_CONFIG_HEADERS for subproject ltdl.
        * tests/old-m4-iface.at, tests/subproject.at: Remove workaround.
 
-2005-11-07  Gary V. Vaughan  <gary@gnu.org>
-
        * libltdl/m4/ltdl.m4 (LT_CONFIG_LTDL_DIR): Add LTDL-MODE
        argument.
        * configure.ac: Use it.
index 529fd7c61813b96569616ae825893029be93265b..625ac537ff2256cb1b75cb148d462d5a48e512c8 100644 (file)
@@ -34,7 +34,7 @@ m4_popdef([_ARG_DIR])
 dnl If not otherwise defined, default to the 1.5.x compatible subproject mode:
 m4_if(_LTDL_MODE, [],
        [m4_define([_LTDL_MODE], m4_default([$2], [subproject]))
-       m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|nonrecursive\)])],
+       m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])],
                [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])
 ])# LT_CONFIG_LTDL_DIR
 
@@ -155,6 +155,7 @@ m4_if(_LTDL_DIR, [],
          [subproject], [AC_CONFIG_SUBDIRS(_LTDL_DIR)
                          _LT_SHELL_INIT([lt_dlopen_dir="$lt_ltdl_dir"])],
          [nonrecursive], [_LT_SHELL_INIT([lt_dlopen_dir="$lt_ltdl_dir"])],
+         [recursive]' [],
        [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])dnl
 dnl Be careful not to expand twice:
 m4_define([$0], [])