ac28e953ca5122ad92f6eb9e5be5f7fd8d9a7454
[pspp] / 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|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
26               -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
27               -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
28               < $(srcdir)/stddef.in.h; \
29         } > $@-t && \
30         mv $@-t $@
31 MOSTLYCLEANFILES += stddef.h stddef.h-t
32
33 Include:
34 #include <stddef.h>
35
36 License:
37 LGPLv2+
38
39 Maintainer:
40 all