From: Bruno Haible Date: Sat, 21 May 2011 18:54:55 +0000 (+0200) Subject: rmdir: Respect rules for use of AC_LIBOBJ. X-Git-Tag: v0.1~2442 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=e380f600e1b3f46ec0e14975375b6b896ffbea28;p=gnulib.git rmdir: Respect rules for use of AC_LIBOBJ. * m4/rmdir.m4 (gl_FUNC_RMDIR): Move AC_LIBOBJ invocation from here... * modules/rmdir (configure.ac): ... to here. --- diff --git a/ChangeLog b/ChangeLog index 24caa7687..4b21cf3c3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2011-05-21 Bruno Haible + rmdir: Respect rules for use of AC_LIBOBJ. + * m4/rmdir.m4 (gl_FUNC_RMDIR): Move AC_LIBOBJ invocation from here... + * modules/rmdir (configure.ac): ... to here. + +2011-05-21 Bruno Haible + renameat: Move AC_LIBOBJ invocations to module description. * m4/renameat.m4 (gl_FUNC_RENAMEAT): Move AC_LIBOBJ invocations from here... diff --git a/m4/rmdir.m4 b/m4/rmdir.m4 index 41705a1ee..5284c7ef0 100644 --- a/m4/rmdir.m4 +++ b/m4/rmdir.m4 @@ -1,4 +1,4 @@ -# rmdir.m4 serial 10 +# rmdir.m4 serial 11 dnl Copyright (C) 2002, 2005, 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, @@ -30,6 +30,5 @@ AC_DEFUN([gl_FUNC_RMDIR], rm -rf conftest.dir conftest.file]) if test x"$gl_cv_func_rmdir_works" != xyes; then REPLACE_RMDIR=1 - AC_LIBOBJ([rmdir]) fi ]) diff --git a/modules/rmdir b/modules/rmdir index 95e7b1df6..59a9dbacc 100644 --- a/modules/rmdir +++ b/modules/rmdir @@ -12,6 +12,9 @@ sys_stat [test $REPLACE_RMDIR = 1] configure.ac: gl_FUNC_RMDIR +if test $REPLACE_RMDIR = 1; then + AC_LIBOBJ([rmdir]) +fi gl_UNISTD_MODULE_INDICATOR([rmdir]) Makefile.am: