summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-05-07 12:31:11 +0200
committerBruno Haible <bruno@clisp.org>2011-06-16 00:05:59 +0200
commit33efecf695b620bd32a56fed34677b8bde8983f9 (patch)
treefdece8025b6a9c6439c648bd7dd71c0cbe2253c8
parent916f8f8df299ae8d1fac87b6b6b3354478536068 (diff)
downloadgnulib-33efecf695b620bd32a56fed34677b8bde8983f9.tar.gz
freadable: Move AC_LIBOBJ invocations to module description.
* m4/freadable.m4 (gl_FUNC_FREADABLE): Move AC_LIBOBJ invocation from here... * modules/freadable (configure.ac): ... to here.
-rw-r--r--ChangeLog7
-rw-r--r--m4/freadable.m45
-rw-r--r--modules/freadable3
3 files changed, 11 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 520b573398..3d4ac35bb4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2011-05-07 Bruno Haible <bruno@clisp.org>
+ freadable: Move AC_LIBOBJ invocations to module description.
+ * m4/freadable.m4 (gl_FUNC_FREADABLE): Move AC_LIBOBJ invocation from
+ here...
+ * modules/freadable (configure.ac): ... to here.
+
+2011-05-07 Bruno Haible <bruno@clisp.org>
+
fpurge: Move AC_LIBOBJ invocations to module description.
* m4/fpurge.m4 (gl_FUNC_FPURGE): Set HAVE_FPURGE. Move AC_LIBOBJ
invocations from here...
diff --git a/m4/freadable.m4 b/m4/freadable.m4
index 468dafc658..918641490d 100644
--- a/m4/freadable.m4
+++ b/m4/freadable.m4
@@ -1,4 +1,4 @@
-# freadable.m4 serial 1
+# freadable.m4 serial 2
dnl Copyright (C) 2007, 2009-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,
@@ -7,7 +7,4 @@ dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_FUNC_FREADABLE],
[
AC_CHECK_FUNCS_ONCE([__freadable])
- if test $ac_cv_func___freadable = no; then
- AC_LIBOBJ([freadable])
- fi
])
diff --git a/modules/freadable b/modules/freadable
index 2c69d96013..5da0aebf87 100644
--- a/modules/freadable
+++ b/modules/freadable
@@ -12,6 +12,9 @@ stdbool
configure.ac:
gl_FUNC_FREADABLE
+if test $ac_cv_func___freadable = no; then
+ AC_LIBOBJ([freadable])
+fi
Makefile.am: