[libsigc++2] Correct M4 forbidden tokens pattern



commit 43206ed8c629f2107ecc897aa288aaf70ef9af26
Author: Daniel Elstner <danielk openismus com>
Date:   Fri Aug 7 15:20:27 2009 +0200

    Correct M4 forbidden tokens pattern
    
    * configure.ac (m4_pattern_forbid): Take into account that the
    pattern is applied to tokens, not lines.  Also catch unexpanded
    calls to underscore-prefixed private macros.

 ChangeLog    |    8 ++++++++
 configure.ac |    2 +-
 2 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 9d5e277..2f3da2b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-08-07  Daniel Elstner  <danielk openismus com>
+
+	Correct M4 forbidden tokens pattern
+
+	* configure.ac (m4_pattern_forbid): Take into account that the
+	pattern is applied to tokens, not lines.  Also catch unexpanded
+	calls to underscore-prefixed private macros.
+
 2009-08-06  Daniel Elstner  <danielk openismus com>
 
 	Transition to new mm-common build infrastructure
diff --git a/configure.ac b/configure.ac
index d2715ca..bedb0e6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -17,7 +17,7 @@
 
 AC_INIT([libsigc++], [2.2.3], [libsigc-list gnome org], [libsigc++])
 AC_PREREQ([2.59])
-m4_pattern_forbid([\<MM_])
+m4_pattern_forbid([^_?MM_])
 
 AC_CONFIG_SRCDIR([sigc++/sigc++.h])
 AC_CONFIG_AUX_DIR([scripts])



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]