From: Bruno Haible Date: Sat, 21 May 2011 14:17:22 +0000 (+0200) Subject: mountlist: Move AC_LIBOBJ invocations to module description. X-Git-Tag: v0.1~2472 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=dec213f9b735224eed7b09757a3dffa5f3534198;p=gnulib.git mountlist: Move AC_LIBOBJ invocations to module description. * m4/mountlist.m4 (gl_MOUNTLIST): Move AC_LIBOBJ and gl_PREREQ_MOUNTLIST_EXTRA invocations from here... * modules/mountlist (configure.ac): ... to here. --- diff --git a/ChangeLog b/ChangeLog index 216727a02..17e47fca2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2011-05-21 Bruno Haible + mountlist: Move AC_LIBOBJ invocations to module description. + * m4/mountlist.m4 (gl_MOUNTLIST): Move AC_LIBOBJ and + gl_PREREQ_MOUNTLIST_EXTRA invocations from here... + * modules/mountlist (configure.ac): ... to here. + +2011-05-21 Bruno Haible + mktime: Respect rules for use of AC_LIBOBJ. * m4/mktime.m4 (AC_FUNC_MKTIME): Remove macro. (gl_FUNC_MKTIME): Inline it here. Set gl_cv_func_working_mktime. Move diff --git a/m4/mountlist.m4 b/m4/mountlist.m4 index 12c9d0e4f..a00082d0c 100644 --- a/m4/mountlist.m4 +++ b/m4/mountlist.m4 @@ -1,4 +1,4 @@ -# serial 10 +# serial 11 dnl Copyright (C) 2002-2006, 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, @@ -8,10 +8,6 @@ AC_DEFUN([gl_MOUNTLIST], [ gl_LIST_MOUNTED_FILE_SYSTEMS([gl_cv_list_mounted_fs=yes], [gl_cv_list_mounted_fs=no]) - if test $gl_cv_list_mounted_fs = yes; then - AC_LIBOBJ([mountlist]) - gl_PREREQ_MOUNTLIST_EXTRA - fi ]) # Prerequisites of lib/mountlist.c not done by gl_LIST_MOUNTED_FILE_SYSTEMS. diff --git a/modules/mountlist b/modules/mountlist index 65af9c1ed..1e7d22a5e 100644 --- a/modules/mountlist +++ b/modules/mountlist @@ -16,6 +16,10 @@ xalloc configure.ac: gl_MOUNTLIST +if test $gl_cv_list_mounted_fs = yes; then + AC_LIBOBJ([mountlist]) + gl_PREREQ_MOUNTLIST_EXTRA +fi Makefile.am: