vasnprintf: Don't use %n on Android.
[gnulib.git] / modules / errno
blob27810f159e13c4bfd84565629d240e371b05c6f5
1 Description:
2 A POSIX-like <errno.h>.
4 Files:
5 lib/errno.in.h
6 m4/errno_h.m4
8 Depends-on:
9 include_next
11 configure.ac:
12 gl_HEADER_ERRNO_H
14 Makefile.am:
15 BUILT_SOURCES += $(ERRNO_H)
17 # We need the following in order to create <errno.h> when the system
18 # doesn't have one that is POSIX compliant.
19 if GL_GENERATE_ERRNO_H
20 errno.h: errno.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_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
28               -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
29               -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
30               -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
31               -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
32               -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
33               -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
34               < $(srcdir)/errno.in.h; \
35         } > $@-t && \
36         mv $@-t $@
37 else
38 errno.h: $(top_builddir)/config.status
39         rm -f $@
40 endif
41 MOSTLYCLEANFILES += errno.h errno.h-t
43 Include:
44 <errno.h>
46 License:
47 LGPLv2+
49 Maintainer:
50 all