changeset 10720:6230d1dc400e

Fix last commit.
author Simon Josefsson <simon@josefsson.org>
date Sun, 26 Oct 2008 11:51:35 +0100
parents 620520e8b04c
children d0bb9c6b8b00
files m4/stdlib_h.m4
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/m4/stdlib_h.m4
+++ b/m4/stdlib_h.m4
@@ -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],