* 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>
+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.
-# 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,
[
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