posix_spawn_file_actions_* tests: Fix module dependencies.
[gnulib.git] / modules / limits-h
blob9c60ec9c043a09f0b1c4bb488e7f15d2477cb0ae
1 Description:
2 A GNU-like <limits.h>.
4 Files:
5 lib/limits.in.h
6 m4/limits-h.m4
8 Depends-on:
9 include_next
11 configure.ac:
12 gl_LIMITS_H
14 Makefile.am:
15 BUILT_SOURCES += $(LIMITS_H)
17 # We need the following in order to create <limits.h> when the system
18 # doesn't have one that is compatible with GNU.
19 if GL_GENERATE_LIMITS_H
20 limits.h: limits.in.h $(top_builddir)/config.status
21         $(AM_V_GEN)rm -f $@-t $@ && \
22         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
23           sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
24               -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_LIMITS_H''@|$(NEXT_LIMITS_H)|g' \
28               < $(srcdir)/limits.in.h; \
29         } > $@-t && \
30         mv $@-t $@
31 else
32 limits.h: $(top_builddir)/config.status
33         rm -f $@
34 endif
35 MOSTLYCLEANFILES += limits.h limits.h-t
37 Include:
38 <limits.h>
40 License:
41 LGPLv2+
43 Maintainer:
44 all