diff options
author | Bruno Haible <bruno@clisp.org> | 2022-07-29 23:29:23 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2022-07-29 23:29:23 +0200 |
commit | 1b4313a18a42c6796b3064e82d45e41c51fcfa7a (patch) | |
tree | 63ac440fee9b22202d6e2151ef5e43ed0d810967 /pygnulib/GLTestDir.py | |
parent | 4bccc91c6bd9d73d3473d909023995e59119152e (diff) | |
download | gnulib-1b4313a18a42c6796b3064e82d45e41c51fcfa7a.tar.gz |
gnulib-tool.py: Follow gnulib-tool changes, part 17.
Follow gnulib-tool change
2015-10-06 Pavel Raiskup <praiskup@redhat.com>
gnulib-tool: fix tests of 'extensions' module
* pygnulib/GLEmiter.py (GLEmiter.preEarlyMacros): New function.
* pygnulib/GLImport.py (GLImport.gnulib_comp): Invoke it.
* pygnulib/GLTestDir.py (GLTestDir.execute): Likewise.
Diffstat (limited to 'pygnulib/GLTestDir.py')
-rw-r--r-- | pygnulib/GLTestDir.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pygnulib/GLTestDir.py b/pygnulib/GLTestDir.py index 6433a0d78c..0a403c993f 100644 --- a/pygnulib/GLTestDir.py +++ b/pygnulib/GLTestDir.py @@ -441,7 +441,7 @@ class GLTestDir(object): emit += 'AC_PROG_CC\n' emit += 'AC_PROG_INSTALL\n' emit += 'AC_PROG_MAKE_SET\n' - emit += 'gl_PROG_AR_RANLIB\n\n' + emit += self.emiter.preEarlyMacros(False, '', modules) if uses_subdirs: emit += 'AM_PROG_CC_C_O\n\n' snippets = list() @@ -561,8 +561,8 @@ class GLTestDir(object): emit += 'm4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace\n' emit += 'm4_pattern_allow([^gl_ES$])dnl a valid locale name\n' emit += 'm4_pattern_allow([^gl_LIBOBJS$])dnl a variable\n' - emit += 'm4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable\n\n' - emit += 'gl_PROG_AR_RANLIB\n\n' + emit += 'm4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable\n' + emit += self.emiter.preEarlyMacros(False, '', modules) if any_uses_subdirs: emit += 'AM_PROG_CC_C_O\n' snippets = list() |