unicodeio: Fix wrong result on FreeBSD.
[gnulib.git] / modules / assert-h
blob402586f2f78fd5d8c0d8232317e109f52b24870a
1 Description:
2 An <assert.h> that conforms to C11.
4 Files:
5 lib/assert.in.h
6 lib/verify.h
7 m4/assert_h.m4
9 Depends-on:
10 include_next
12 configure.ac:
13 gl_ASSERT_H
15 Makefile.am:
16 BUILT_SOURCES += $(ASSERT_H)
18 # We need the following in order to create <assert.h> when the system
19 # doesn't have one that works with the given compiler.
20 if GL_GENERATE_ASSERT_H
21 assert.h: assert.in.h verify.h $(top_builddir)/config.status
22         $(AM_V_GEN)rm -f $@-t $@ && \
23         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
24           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
25               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
26               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
27               -e 's|@''NEXT_ASSERT_H''@|$(NEXT_ASSERT_H)|g' \
28               < $(srcdir)/assert.in.h && \
29           sed -e '/@assert.h omit start@/,/@assert.h omit end@/d' \
30               -e 's|_gl_verify|_gl_static_assert|g' \
31               -e 's|_GL_VERIFY|_GL_STATIC_ASSERT|g' \
32               -e 's|_GL\(_STATIC_ASSERT_H\)|_${gl_include_guard_prefix}\1|g' \
33               < $(srcdir)/verify.h; \
34         } > $@-t && \
35         mv $@-t $@
36 else
37 assert.h: $(top_builddir)/config.status
38         rm -f $@
39 endif
40 MOSTLYCLEANFILES += assert.h assert.h-t
42 Include:
43 <assert.h>
45 License:
46 LGPLv2+
48 Maintainer:
49 Paul Eggert