* 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 bd060c7..f287f4b 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 f7eb482..85d6fc8 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 $@