crc.h: declare each function with _GL_ATTRIBUTE_PURE
[gnulib.git] / modules / stdalign
blobceeab546a2f6cddbd22f59addb22639e48dbcdf5
1 Description:
2 alignas and alignof that are like C23 and C++11.
4 Notice:
5 The stdalign module is deprecated.
6 New code should use the alignasof module, and not include <stdalign.h>.
8 Files:
9 lib/stdalign.in.h
10 m4/stdalign.m4
12 Depends-on:
13 alignasof
14 gen-header
16 configure.ac:
17 gl_STDALIGN_H
18 gl_CONDITIONAL_HEADER([stdalign.h])
19 AC_PROG_MKDIR_P
21 Makefile.am:
22 BUILT_SOURCES += $(STDALIGN_H)
24 # We need the following in order to create <stdalign.h> when the system
25 # doesn't have one that works.
26 if GL_GENERATE_STDALIGN_H
27 stdalign.h: stdalign.in.h $(top_builddir)/config.status
28 @NMD@   $(AM_V_GEN)$(MKDIR_P) '%reldir%'
29         $(gl_V_at)$(SED_HEADER_STDOUT) \
30               -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
31               -e 's|@''HAVE_STDALIGN_H''@|$(HAVE_STDALIGN_H)|g' \
32               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
33               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
34               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
35               -e 's|@''NEXT_STDALIGN_H''@|$(NEXT_STDALIGN_H)|g' \
36               $(srcdir)/stdalign.in.h > $@-t
37         $(AM_V_at)mv $@-t $@
38 else
39 stdalign.h: $(top_builddir)/config.status
40         rm -f $@
41 endif
42 MOSTLYCLEANFILES += stdalign.h stdalign.h-t
44 Include:
46 License:
47 LGPLv2+
49 Maintainer:
50 all