bootstrap: fix handling of various perl --version formats
[gnulib.git] / modules / ctype
1 Description:
2 A <ctype.h> that conforms to C99.
3
4 Files:
5 lib/ctype.in.h
6 m4/ctype.m4
7
8 Depends-on:
9 include_next
10
11 configure.ac:
12 gl_CTYPE_H
13
14 Makefile.am:
15 BUILT_SOURCES += $(CTYPE_H)
16
17 # We need the following in order to create <ctype.h> when the system
18 # doesn't have one that works with the given compiler.
19 ctype.h: ctype.in.h
20         $(AM_V_GEN)rm -f $@-t $@ && \
21         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
22           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
23               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
24               -e 's|@''NEXT_CTYPE_H''@|$(NEXT_CTYPE_H)|g' \
25               -e 's/@''GNULIB_ISBLANK''@/$(GNULIB_ISBLANK)/g' \
26               -e 's/@''HAVE_ISBLANK''@/$(HAVE_ISBLANK)/g' \
27               < $(srcdir)/ctype.in.h; \
28         } > $@-t && \
29         mv $@-t $@
30 MOSTLYCLEANFILES += ctype.h ctype.h-t
31
32 Include:
33 <ctype.h>
34
35 License:
36 LGPLv2+
37
38 Maintainer:
39 Bruno Haible