changeset 13089:a1999d4ef573

Fix definition of tests witness macro.
author Bruno Haible <bruno@clisp.org>
date Mon, 29 Mar 2010 03:04:51 +0200
parents dbbdff0be05d
children f870702f0e45
files ChangeLog gnulib-tool
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-03-28  Bruno Haible  <bruno@clisp.org>
+
+	Fix definition of tests witness macro.
+	* gnulib-tool (func_import): Fix definition of witness macro.
+
 2010-03-28  Bruno Haible  <bruno@clisp.org>
 
 	Fix ioctl's protoype on glibc systems.
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -4355,7 +4355,9 @@
     # Define a tests witness macro that depends on the package.
     # PACKAGE is defined by AM_INIT_AUTOMAKE, PACKAGE_TARNAME is defined by AC_INIT.
     # See <http://lists.gnu.org/archive/html/automake/2009-05/msg00145.html>.
+    echo "changequote(,)dnl"
     echo "  ${macro_prefix}tests_WITNESS=IN_\`echo \"\${PACKAGE-\$PACKAGE_TARNAME}\" | LC_ALL=C tr 'a-z' 'A-Z' | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'\`_GNULIB_TESTS"
+    echo "changequote([, ])dnl"
     echo "  AC_SUBST([${macro_prefix}tests_WITNESS])"
     echo "  gl_module_indicator_condition=\$${macro_prefix}tests_WITNESS"
     echo "  m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [\$gl_module_indicator_condition])"