From: Bruno Haible Date: Mon, 29 Mar 2010 01:04:51 +0000 (+0200) Subject: Fix definition of tests witness macro. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f082e5ae15df5292308eac1d3409f086985d3e08;p=pspp Fix definition of tests witness macro. --- diff --git a/ChangeLog b/ChangeLog index e97099c8c1..baec7e7d9b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +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. diff --git a/gnulib-tool b/gnulib-tool index 47974e697f..ddc0574e6d 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])"