Apply last patch also to --create-testdir.
authorBruno Haible <bruno@clisp.org>
Thu, 10 Aug 2006 15:05:20 +0000 (15:05 +0000)
committerBruno Haible <bruno@clisp.org>
Thu, 10 Aug 2006 15:05:20 +0000 (15:05 +0000)
ChangeLog
gnulib-tool

index a75886ee8a05efd6d1efa3e54a41452840a3f170..fedabc50eff4e6249090fc6e41d25907c5066087 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-08-10  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_create_testdir): Detect unexpanded macros here
+       as well.
+
 2006-08-10  Eric Blake  <ebb9@byu.net>
        and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
 
index 3272bf77dec22eaf78ddc3730160ffaf5bf90934..6bb26ca74a3b36a7402488356e1e9f0b44aef6b4 100755 (executable)
@@ -22,7 +22,7 @@
 
 progname=$0
 package=gnulib
-cvsdatestamp='$Date: 2006-08-10 14:22:53 $'
+cvsdatestamp='$Date: 2006-08-10 15:05:20 $'
 last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
 version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'`
 
@@ -1874,6 +1874,10 @@ func_create_testdir ()
    echo "AC_PROG_CC"
    echo "AC_PROG_INSTALL"
    echo "AC_PROG_MAKE_SET"
+   echo
+   echo "m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace"
+   echo "m4_pattern_allow([^gl_ES$])dnl a valid locale name"
+   echo
    echo "AC_PROG_RANLIB"
    echo
    if grep AC_GNU_SOURCE "$testdir"/m4/*.m4 >/dev/null 2>/dev/null; then