Mercurial > hg > octave-lyh > gnulib-hg
changeset 11222:a9f8593510b8
stdlib: favor compiler check of random.h
* m4/stdlib_h.m4 (gl_STDLIB_H): Skip preprocessor check. Needed
to avoid an ObjC random.h installed by Swarm.
Signed-off-by: Eric Blake <ebb9@byu.net>
author | Eric Blake <ebb9@byu.net> |
---|---|
date | Thu, 26 Feb 2009 10:00:28 -0700 |
parents | 9ba87e1db372 |
children | 41012a39667b |
files | ChangeLog m4/stdlib_h.m4 |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-02-26 Eric Blake <ebb9@byu.net> + + stdlib: favor compiler check of random.h + * m4/stdlib_h.m4 (gl_STDLIB_H): Skip preprocessor check. Needed + to avoid an ObjC random.h installed by Swarm. + 2009-02-26 Bruno Haible <bruno@clisp.org> Work around *printf bug with %g directive and 0.0 on HP-UX 10.20.
--- a/m4/stdlib_h.m4 +++ b/m4/stdlib_h.m4 @@ -1,4 +1,4 @@ -# stdlib_h.m4 serial 14 +# stdlib_h.m4 serial 15 dnl Copyright (C) 2007-2009 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -8,7 +8,7 @@ [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) gl_CHECK_NEXT_HEADERS([stdlib.h]) - AC_CHECK_HEADERS([random.h]) + AC_CHECK_HEADERS([random.h], [], [], [AC_INCLUDES_DEFAULT]) if test $ac_cv_header_random_h = yes; then HAVE_RANDOM_H=1 else