Mercurial > gnulib
annotate modules/errno @ 40196:e63f5d3edab5
relocatable-prog: Update documentation.
* doc/relocatable-maint.texi (Supporting Relocation): Update to match
the recent changes.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 24 Feb 2019 01:49:15 +0100 |
parents | 1f14c6dd175d |
children |
rev | line source |
---|---|
10425 | 1 Description: |
2 A POSIX-like <errno.h>. | |
3 | |
4 Files: | |
5 lib/errno.in.h | |
6 m4/errno_h.m4 | |
7 | |
8 Depends-on: | |
9 include_next | |
10 | |
11 configure.ac: | |
11550
f63675629e00
Exploit new semantics of AC_DEFUN_ONCE available since 2009-01-26.
Bruno Haible <bruno@clisp.org>
parents:
11066
diff
changeset
|
12 gl_HEADER_ERRNO_H |
10425 | 13 |
14 Makefile.am: | |
15 BUILT_SOURCES += $(ERRNO_H) | |
16 | |
17 # We need the following in order to create <errno.h> when the system | |
18 # doesn't have one that is POSIX compliant. | |
14528
662ae53d8d37
Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents:
14527
diff
changeset
|
19 if GL_GENERATE_ERRNO_H |
14527
049942251f65
Ensure to rebuild generated .h files when config.status has changed.
Bruno Haible <bruno@clisp.org>
parents:
14273
diff
changeset
|
20 errno.h: errno.in.h $(top_builddir)/config.status |
11868
67c2b22aff08
annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents:
11550
diff
changeset
|
21 $(AM_V_GEN)rm -f $@-t $@ && \ |
10425 | 22 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ |
14840
5f709022a256
Allow multiple gnulib generated include files to be combined.
Bruno Haible <bruno@clisp.org>
parents:
14528
diff
changeset
|
23 sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ |
5f709022a256
Allow multiple gnulib generated include files to be combined.
Bruno Haible <bruno@clisp.org>
parents:
14528
diff
changeset
|
24 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ |
10425 | 25 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ |
13761
a19ace3ba849
Avoid line length limitation from HP NonStop system header files.
Bruno Haible <bruno@clisp.org>
parents:
11868
diff
changeset
|
26 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ |
10425 | 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; \ | |
11868
67c2b22aff08
annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents:
11550
diff
changeset
|
35 } > $@-t && \ |
10425 | 36 mv $@-t $@ |
14528
662ae53d8d37
Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents:
14527
diff
changeset
|
37 else |
662ae53d8d37
Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents:
14527
diff
changeset
|
38 errno.h: $(top_builddir)/config.status |
662ae53d8d37
Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents:
14527
diff
changeset
|
39 rm -f $@ |
662ae53d8d37
Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents:
14527
diff
changeset
|
40 endif |
10425 | 41 MOSTLYCLEANFILES += errno.h errno.h-t |
42 | |
43 Include: | |
44 <errno.h> | |
45 | |
46 License: | |
47 LGPLv2+ | |
48 | |
49 Maintainer: | |
17713
1f14c6dd175d
Bruno Haible has stepped down as maintainer.
Paul Eggert <eggert@cs.ucla.edu>
parents:
14878
diff
changeset
|
50 all |