mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-08 17:22:05 +03:00
* modules/assert-h (assert.h): Substitute the symbol-prefix more consistently.
This commit is contained in:
@@ -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>
|
||||
|
||||
|
@@ -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 $@
|
||||
|
Reference in New Issue
Block a user