# HG changeset patch # User Paul Eggert # Date 1306704682 25200 # Node ID 5afc11b3902a7aab9df5f12a1c1e4f079987d653 # Parent a8d8fc44bcc461455b86c4bcb7e5cc8dbb3b46f0 * modules/assert-h (assert.h): Substitute the symbol-prefix more consistently. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ assert-h: work around 'verify' incompatibility * lib/verify.h: Use @...@ directives, not ifdef. * modules/assert-h (assert.h): Implement the directives. + (assert.h): Substitute the symbol-prefix more consistently. 2011-05-29 Jim Meyering diff --git a/modules/assert-h b/modules/assert-h --- a/modules/assert-h +++ b/modules/assert-h @@ -26,10 +26,10 @@ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_ASSERT_H''@|$(NEXT_ASSERT_H)|g' \ < $(srcdir)/assert.in.h && \ - sed -e 's|_GL_VERIFY_H|_${gl_include_guard_prefix}_STATIC_ASSERT_H|g' \ - -e '/@assert.h omit start@/,/@assert.h omit end@/d' \ + sed -e '/@assert.h omit start@/,/@assert.h omit end@/d' \ -e 's|_gl_verify|_gl_static_assert|g' \ -e 's|_GL_VERIFY|_GL_STATIC_ASSERT|g' \ + -e 's|_GL\(_STATIC_ASSERT_H\)|_${gl_include_guard_prefix}\1|g' \ < $(srcdir)/verify.h; \ } > $@-t && \ mv $@-t $@