freadable: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sat, 7 May 2011 10:31:11 +0000 (12:31 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:05:59 +0000 (00:05 +0200)
* m4/freadable.m4 (gl_FUNC_FREADABLE): Move AC_LIBOBJ invocation from
here...
* modules/freadable (configure.ac): ... to here.

ChangeLog
m4/freadable.m4
modules/freadable

index 520b573..3d4ac35 100644 (file)
--- 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...
index 468dafc..9186414 100644 (file)
@@ -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
 ])
index 2c69d96..5da0aeb 100644 (file)
@@ -12,6 +12,9 @@ stdbool
 
 configure.ac:
 gl_FUNC_FREADABLE
+if test $ac_cv_func___freadable = no; then
+  AC_LIBOBJ([freadable])
+fi
 
 Makefile.am: