From dc6a7661772308dc7561ab13d7dfc60ce53cf3a0 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 7 May 2011 13:48:53 +0200 Subject: [PATCH] fwriting: Move AC_LIBOBJ invocations to module description. * m4/fwriting.m4 (gl_FUNC_FWRITINT): Move AC_LIBOBJ invocation from here... * modules/fwriting (configure.ac): ... to here. --- ChangeLog | 7 +++++++ m4/fwriting.m4 | 5 +---- modules/fwriting | 3 +++ 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 58060ac72..d7b8efc1e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2011-05-07 Bruno Haible + fwriting: Move AC_LIBOBJ invocations to module description. + * m4/fwriting.m4 (gl_FUNC_FWRITINT): Move AC_LIBOBJ invocation from + here... + * modules/fwriting (configure.ac): ... to here. + +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... diff --git a/m4/fwriting.m4 b/m4/fwriting.m4 index 17076f8f6..5a664ca8d 100644 --- a/m4/fwriting.m4 +++ b/m4/fwriting.m4 @@ -1,4 +1,4 @@ -# fwriting.m4 serial 1 +# fwriting.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_FWRITING], [ AC_CHECK_FUNCS_ONCE([__fwriting]) - if test $ac_cv_func___fwriting = no; then - AC_LIBOBJ([fwriting]) - fi ]) diff --git a/modules/fwriting b/modules/fwriting index f3e94a312..522bdb332 100644 --- a/modules/fwriting +++ b/modules/fwriting @@ -12,6 +12,9 @@ stdbool configure.ac: gl_FUNC_FWRITING +if test $ac_cv_func___fwriting = no; then + AC_LIBOBJ([fwriting]) +fi Makefile.am: -- 2.11.0