* m4/random_r.m4 (gl_FUNC_RANDOM_R): Move AC_LIBOBJ and
gl_PREREQ_RANDOM_R invocations from here...
* modules/random_r (configure.ac): ... to here.
+2011-05-21 Bruno Haible <bruno@clisp.org>
+
+ random_r: Move AC_LIBOBJ invocations to module description.
+ * m4/random_r.m4 (gl_FUNC_RANDOM_R): Move AC_LIBOBJ and
+ gl_PREREQ_RANDOM_R invocations from here...
+ * modules/random_r (configure.ac): ... to here.
+
2011-05-21 Bruno Haible <bruno@clisp.org>
pwrite: Move AC_LIBOBJ invocations to module description.
2011-05-21 Bruno Haible <bruno@clisp.org>
pwrite: Move AC_LIBOBJ invocations to module description.
dnl Copyright (C) 2008-2011 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl Copyright (C) 2008-2011 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_CHECK_FUNCS([random_r])
if test $ac_cv_func_random_r = no; then
HAVE_RANDOM_R=0
AC_CHECK_FUNCS([random_r])
if test $ac_cv_func_random_r = no; then
HAVE_RANDOM_R=0
- AC_LIBOBJ([random_r])
- gl_PREREQ_RANDOM_R
configure.ac:
gl_FUNC_RANDOM_R
configure.ac:
gl_FUNC_RANDOM_R
+if test $HAVE_RANDOM_R = 0; then
+ AC_LIBOBJ([random_r])
+ gl_PREREQ_RANDOM_R
+fi
gl_STDLIB_MODULE_INDICATOR([random_r])
Makefile.am:
gl_STDLIB_MODULE_INDICATOR([random_r])
Makefile.am: