changeset 30411:9e431c2be010

Fix last commit.
author Simon Josefsson <simon@josefsson.org>
date Sun, 26 Oct 2008 11:51:35 +0100
parents a4cd7d792a6e
children 73240d2a9535
files m4/stdlib_h.m4
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/m4/stdlib_h.m4	Sun Oct 26 11:04:17 2008 +0100
+++ b/m4/stdlib_h.m4	Sun Oct 26 11:51:35 2008 +0100
@@ -1,4 +1,4 @@
-# stdlib_h.m4 serial 12
+# stdlib_h.m4 serial 13
 dnl Copyright (C) 2007, 2008 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -9,6 +9,11 @@
   AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
   gl_CHECK_NEXT_HEADERS([stdlib.h])
   AC_CHECK_TYPES([struct random_data], [], [], [[#include <stdlib.h>]])
+  if test $ac_cv_type_struct_random_data = yes; then
+    HAVE_STRUCT_RANDOM_DATA=1
+  else
+    HAVE_STRUCT_RANDOM_DATA=0
+  fi
 ])
 
 AC_DEFUN([gl_STDLIB_MODULE_INDICATOR],