From: Bruno Haible Date: Mon, 29 Mar 2010 01:04:51 +0000 (+0200) Subject: Fix definition of tests witness macro. X-Git-Tag: v0.1~4398 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=f082e5ae15df5292308eac1d3409f086985d3e08;p=gnulib.git Fix definition of tests witness macro. --- diff --git a/ChangeLog b/ChangeLog index e97099c8c..baec7e7d9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2010-03-28 Bruno Haible + Fix definition of tests witness macro. + * gnulib-tool (func_import): Fix definition of witness macro. + +2010-03-28 Bruno Haible + 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. diff --git a/gnulib-tool b/gnulib-tool index 47974e697..ddc0574e6 100755 --- a/gnulib-tool +++ b/gnulib-tool @@ -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 . + 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])"