From 44cfacd039e9e8b039767b58c9842f9eec51d5c7 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 7 May 2011 13:47:27 +0200 Subject: [PATCH] fwritable: Move AC_LIBOBJ invocations to module description. * m4/fwritable.m4 (gl_FUNC_FWRITABLE): Move AC_LIBOBJ invocation from here... * modules/fwritable (configure.ac): ... to here. --- ChangeLog | 7 +++++++ m4/fwritable.m4 | 5 +---- modules/fwritable | 3 +++ 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 515c76a87..58060ac72 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2011-05-07 Bruno Haible + fwritable: Move AC_LIBOBJ invocations to module description. + * m4/fwritable.m4 (gl_FUNC_FWRITABLE): Move AC_LIBOBJ invocation from + here... + * modules/fwritable (configure.ac): ... to here. + +2011-05-07 Bruno Haible + futimens: Move AC_LIBOBJ invocations to module description. * m4/futimens.m4 (gl_FUNC_FUTIMENS): Move AC_LIBOBJ invocations from here... diff --git a/m4/fwritable.m4 b/m4/fwritable.m4 index daa46cf4a..a08e7800e 100644 --- a/m4/fwritable.m4 +++ b/m4/fwritable.m4 @@ -1,4 +1,4 @@ -# fwritable.m4 serial 1 +# fwritable.m4 serial 2 dnl Copyright (C) 2007, 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, @@ -7,7 +7,4 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_FWRITABLE], [ AC_CHECK_FUNCS_ONCE([__fwritable]) - if test $ac_cv_func___fwritable = no; then - AC_LIBOBJ([fwritable]) - fi ]) diff --git a/modules/fwritable b/modules/fwritable index 56d698e33..935bb4f7f 100644 --- a/modules/fwritable +++ b/modules/fwritable @@ -12,6 +12,9 @@ stdbool configure.ac: gl_FUNC_FWRITABLE +if test $ac_cv_func___fwritable = no; then + AC_LIBOBJ([fwritable]) +fi Makefile.am: -- 2.11.0