From: Eric Blake Date: Thu, 10 Aug 2006 14:22:53 +0000 (+0000) Subject: * gnulib-tool (func_import): Detect unexpanded macros in gnulib X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f35b156fd3a25fea4ae0d8eca119c3ed8913891;p=pspp * gnulib-tool (func_import): Detect unexpanded macros in gnulib namespace. --- diff --git a/ChangeLog b/ChangeLog index 9d5cd1a302..a75886ee8a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-08-10 Eric Blake + and Ralf Wildenhues + + * gnulib-tool (func_import): Detect unexpanded macros in gnulib + namespace. + 2006-08-10 Jim Meyering * modules/same-inode: New module. diff --git a/gnulib-tool b/gnulib-tool index dfbdce8738..3272bf77de 100755 --- a/gnulib-tool +++ b/gnulib-tool @@ -22,7 +22,7 @@ progname=$0 package=gnulib -cvsdatestamp='$Date: 2006-08-08 11:35:22 $' +cvsdatestamp='$Date: 2006-08-10 14:22:53 $' last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'` version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'` @@ -1526,6 +1526,8 @@ func_import () echo "# any checks for libraries, header files, types and library functions." echo "AC_DEFUN([${macro_prefix}_EARLY]," 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 " AC_REQUIRE([AC_PROG_RANLIB])" if grep AC_GNU_SOURCE "$destdir"/$m4base/*.m4 >/dev/null 2>/dev/null; then echo " AC_REQUIRE([AC_GNU_SOURCE])"