# HG changeset patch # User Bruno Haible # Date 1305987442 -7200 # Node ID 18b690708865156fccd8e2399855d4d363cf3d8c # Parent d8eeaab555f517b32fa25010f822c7f97c3aad3f 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 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +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. diff --git a/m4/mountlist.m4 b/m4/mountlist.m4 --- 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 @@ [ 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 --- a/modules/mountlist +++ b/modules/mountlist @@ -16,6 +16,10 @@ configure.ac: gl_MOUNTLIST +if test $gl_cv_list_mounted_fs = yes; then + AC_LIBOBJ([mountlist]) + gl_PREREQ_MOUNTLIST_EXTRA +fi Makefile.am: