annotate modules/stdlib @ 9263:bb62a6456893

Rename stdlib_.h to stdlib.in.h.
author Bruno Haible <bruno@clisp.org>
date Tue, 02 Oct 2007 00:31:18 +0200
parents 1050562322a4
children be88e4511678
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8190
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 Description:
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 A GNU-like <stdlib.h>.
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 Files:
9263
bb62a6456893 Rename stdlib_.h to stdlib.in.h.
Bruno Haible <bruno@clisp.org>
parents: 9192
diff changeset
5 lib/stdlib.in.h
8190
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 m4/stdlib_h.m4
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 Depends-on:
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 absolute-header
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 link-warning
8459
530f0ba2b795 Ensure we get the mkstemp() declaration. On MacOS X, it comes from <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents: 8198
diff changeset
11 unistd
8190
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13 configure.ac:
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14 gl_STDLIB_H
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16 Makefile.am:
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17 BUILT_SOURCES += stdlib.h
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19 # We need the following in order to create <stdlib.h> when the system
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20 # doesn't have one that works with the given compiler.
9263
bb62a6456893 Rename stdlib_.h to stdlib.in.h.
Bruno Haible <bruno@clisp.org>
parents: 9192
diff changeset
21 stdlib.h: stdlib.in.h
8190
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22 rm -f $@-t $@
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
8995
1025663f7658 * m4/include_next.m4 (gl_INCLUDE_NEXT): Define and AC_SUBST
Paul Eggert <eggert@cs.ucla.edu>
parents: 8819
diff changeset
24 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
1025663f7658 * m4/include_next.m4 (gl_INCLUDE_NEXT): Define and AC_SUBST
Paul Eggert <eggert@cs.ucla.edu>
parents: 8819
diff changeset
25 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
9192
1050562322a4 New module 'malloc-posix'.
Bruno Haible <bruno@clisp.org>
parents: 9191
diff changeset
26 -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
9191
c7875dab3c3e New module 'realloc-posix'.
Bruno Haible <bruno@clisp.org>
parents: 9190
diff changeset
27 -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
9190
a4f83e0e605c New module 'calloc-posix'.
Bruno Haible <bruno@clisp.org>
parents: 8995
diff changeset
28 -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
8198
d84ab7c183f4 getsubopt.h is replaced with <stdlib.h>.
Bruno Haible <bruno@clisp.org>
parents: 8190
diff changeset
29 -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
8190
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
30 -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
31 -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
9190
a4f83e0e605c New module 'calloc-posix'.
Bruno Haible <bruno@clisp.org>
parents: 8995
diff changeset
32 -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
8198
d84ab7c183f4 getsubopt.h is replaced with <stdlib.h>.
Bruno Haible <bruno@clisp.org>
parents: 8190
diff changeset
33 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
9192
1050562322a4 New module 'malloc-posix'.
Bruno Haible <bruno@clisp.org>
parents: 9191
diff changeset
34 -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
8190
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
35 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
9191
c7875dab3c3e New module 'realloc-posix'.
Bruno Haible <bruno@clisp.org>
parents: 9190
diff changeset
36 -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
8190
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
37 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
38 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
9263
bb62a6456893 Rename stdlib_.h to stdlib.in.h.
Bruno Haible <bruno@clisp.org>
parents: 9192
diff changeset
39 < $(srcdir)/stdlib.in.h; \
8190
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
40 } > $@-t
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
41 mv $@-t $@
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
42 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
43
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
44 Include:
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
45 #include <stdlib.h>
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
46
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
47 License:
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
48 LGPL
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
49
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
50 Maintainer:
6917857967a1 New module 'stdlib'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
51 all