fsusage: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sat, 7 May 2011 11:32:46 +0000 (13:32 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:06:00 +0000 (00:06 +0200)
* m4/fsusage.m4 (gl_FUNC_FREOPEN): Move AC_LIBOBJ and
gl_PREREQ_FSUSAGE_EXTRA invocations from here...
* modules/fsusage (configure.ac): ... to here.

ChangeLog
m4/fsusage.m4
modules/fsusage

index 1377257..9546161 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-05-07  Bruno Haible  <bruno@clisp.org>
 
+       fsusage: Move AC_LIBOBJ invocations to module description.
+       * m4/fsusage.m4 (gl_FUNC_FREOPEN): Move AC_LIBOBJ and
+       gl_PREREQ_FSUSAGE_EXTRA invocations from here...
+       * modules/fsusage (configure.ac): ... to here.
+
+2011-05-07  Bruno Haible  <bruno@clisp.org>
+
        freopen: Move AC_LIBOBJ invocations to module description.
        * m4/freopen.m4 (gl_FUNC_FREOPEN): Move AC_LIBOBJ and gl_PREREQ_FREOPEN
        invocations from here...
index 4592ff8..3459e63 100644 (file)
@@ -1,4 +1,4 @@
-# serial 27
+# serial 28
 # Obtaining file system usage information.
 
 # Copyright (C) 1997-1998, 2000-2001, 2003-2011 Free Software Foundation, Inc.
@@ -19,10 +19,6 @@ AC_DEFUN([gl_FSUSAGE],
        #include <sys/param.h>
       #endif]])
   gl_FILE_SYSTEM_USAGE([gl_cv_fs_space=yes], [gl_cv_fs_space=no])
-  if test $gl_cv_fs_space = yes; then
-    AC_LIBOBJ([fsusage])
-    gl_PREREQ_FSUSAGE_EXTRA
-  fi
 ])
 
 # Try to determine how a program can obtain file system usage information.
index cdefb60..33d956f 100644 (file)
@@ -13,6 +13,10 @@ full-read       [test $gl_cv_fs_space = yes]
 
 configure.ac:
 gl_FSUSAGE
+if test $gl_cv_fs_space = yes; then
+  AC_LIBOBJ([fsusage])
+  gl_PREREQ_FSUSAGE_EXTRA
+fi
 
 Makefile.am: