From: Jim Meyering <meyering@redhat.com>
Date: Wed, 14 Jan 2009 10:30:26 +0000 (+0100)
Subject: add ChangeLog for "many *.m4 files: improve m4 quoting"
X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e127a24fa24745d4b7a0355cfc29b687413ab64;p=pspp

add ChangeLog for "many *.m4 files: improve m4 quoting"
---

diff --git a/ChangeLog b/ChangeLog
index c437096026..4e050e9ed0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2009-01-14  Jim Meyering  <meyering@redhat.com>
+
+	many *.m4 files: improve m4 quoting
+	99% of this change was performed by running the following commands:
+	git ls-files | grep '\.m4$' | xargs perl -pi \
+	  -e 's/(AC_\w+\()([^[()]+?)([,)])/$1\[$2]$3/g;' \
+	  -e 's/(AC_\w+\((?:\[[^,]+?\], ){1})([^,[()]+?)([,)])/$1\[$2]$3/g;' \
+	  -e 's/(AC_\w+\((?:\[[^,]+?\], ){2})([^,[()]+?)([,)])/$1\[$2]$3/g;' \
+	  -e 's/(AC_\w+\((?:\[[^,]+?\], ){3})([^,[()]+?)([,)])/$1\[$2]$3/g'
+	perl -pi -e 's/\[\.\.\.\]/.../' m4/onceonly.m4
+	The remainder were to add Copyright dates, increment serial numbers,
+	undo some changes in comments, exclude m4/intl.m4, and add quotes
+	around the "1" in ",1" where the unusual spacing prohibited the
+	above regexps from doing the job.  For more details, see
+	<http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/16175>.
+
 2009-01-13  Bruno Haible  <bruno@clisp.org>
 
 	Avoid test-copy-file.sh failures when ACL support insufficient.