* modules/assert-h (assert.h): Substitute the symbol-prefix more consistently.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 29 May 2011 21:31:22 +0000 (14:31 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 29 May 2011 21:31:22 +0000 (14:31 -0700)
ChangeLog
modules/assert-h

index bd060c737f28542bc86d846071821c60ba85a36d..f287f4b241988fe226fbeb36d427f67177e2cc66 100644 (file)
--- 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  <meyering@redhat.com>
 
index f7eb48244e693d900ed73b32f99e1755a362ccf1..85d6fc844510d95ad5ecde65c56288bb736dde22 100644 (file)
@@ -26,10 +26,10 @@ assert.h: assert.in.h verify.h $(top_builddir)/config.status
              -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 $@