2 A <stddef.h> that works around platform issues.
16 BUILT_SOURCES += $(STDDEF_H)
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 if GL_GENERATE_STDDEF_H
21 stddef.h: stddef.in.h $(top_builddir)/config.status
22 $(AM_V_GEN)rm -f $@-t $@ && \
23 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
24 sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
25 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
26 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
27 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
28 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
29 -e 's|@''HAVE_MAX_ALIGN_T''@|$(HAVE_MAX_ALIGN_T)|g' \
30 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
31 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
32 < $(srcdir)/stddef.in.h; \
36 stddef.h: $(top_builddir)/config.status
39 MOSTLYCLEANFILES += stddef.h stddef.h-t