Fix last commit.
authorSimon Josefsson <simon@josefsson.org>
Sun, 26 Oct 2008 10:51:35 +0000 (11:51 +0100)
committerSimon Josefsson <simon@josefsson.org>
Sun, 26 Oct 2008 10:51:35 +0000 (11:51 +0100)
m4/stdlib_h.m4

index 1574af0..053e0a3 100644 (file)
@@ -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_DEFUN([gl_STDLIB_H],
   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],