libposix: Revert the unreviewed part of yesterday's big merge.
[gnulib.git] / modules / stddef
1 Description:
2 A <stddef.h> that works around platform issues.
3
4 Files:
5 lib/stddef.in.h
6 m4/stddef_h.m4
7 m4/wchar_t.m4
8
9 Depends-on:
10 include_next
11
12 configure.ac:
13 gl_STDDEF_H
14
15 Makefile.am:
16 BUILT_SOURCES += $(STDDEF_H)
17
18 # We need the following in order to create <stddef.h> when the system
19 # doesn't have one that works with the given compiler.
20 stddef.h: stddef.in.h
21         $(AM_V_GEN)rm -f $@-t $@ && \
22         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
23           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
24               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
25               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
26               -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
27               -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
28               -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
29               < $(srcdir)/stddef.in.h; \
30         } > $@-t && \
31         mv $@-t $@
32 MOSTLYCLEANFILES += stddef.h stddef.h-t
33
34 Include:
35 <stddef.h>
36
37 License:
38 LGPLv2+
39
40 Maintainer:
41 all