From: Bruno Haible Date: Sat, 21 May 2011 14:17:22 +0000 (+0200) Subject: mountlist: Move AC_LIBOBJ invocations to module description. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dec213f9b735224eed7b09757a3dffa5f3534198;p=pspp 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 216727a02d..17e47fca24 100644 --- 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 index 12c9d0e4f5..a00082d0ca 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 65af9c1edc..1e7d22a5e0 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: