stdlib: don't depend on stdint
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 8 Feb 2011 20:24:48 +0000 (12:24 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 8 Feb 2011 20:28:28 +0000 (12:28 -0800)
commit4f8c7a6e29f65cb71eca3092f712c71d580ba936
tree75b93575763c6a3b294d3727b60b8384c4b0ba7b
parent6a047cd32e392aab4efd1c0dc6d8d56482d65138
stdlib: don't depend on stdint

* lib/stdlib.in.h: Don't include <stdint.h> merely because
GNULIB_POSIXCHECK is defined.  GNULIB_POSIXCHECK seems to
be independent of whether stdint.h is needed.
* m4/random_r.m4 (gl_FUNC_RANDOM_R): Check for struct random_data
here, instead of ...
* m4/stdlib_h.m4 (gl_STDLIB_H): ... here.  Applications that need
struct random_data should be using the random_r module, not just
the stdlib module (which wouldn't make sense: what package needs
just struct random_data without also needing random_r?).
* modules/stdlib (Depends-on): Remove stdint.
ChangeLog
lib/stdlib.in.h
m4/random_r.m4
m4/stdlib_h.m4
modules/stdlib