Fix definition of tests witness macro.
authorBruno Haible <bruno@clisp.org>
Mon, 29 Mar 2010 01:04:51 +0000 (03:04 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 29 Mar 2010 01:04:51 +0000 (03:04 +0200)
ChangeLog
gnulib-tool

index e97099c..baec7e7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 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.
        * lib/sys_ioctl.in.h (ioctl): If REPLACE_IOCTL is 1, use a wrapper. Use
        _GL_CXXALIAS_SYS, not _GL_CXXALIAS_SYS_CAST.
index 47974e6..ddc0574 100755 (executable)
@@ -4355,7 +4355,9 @@ s,//*$,/,'
     # 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])"