From 485d6733ec4255ae5679fcc495c52de81234cc69 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 22 May 2011 19:07:52 +0200 Subject: [PATCH] wmemset: Move AC_LIBOBJ invocations to module description. * m4/wmemset.m4 (gl_FUNC_WMEMSET): Move AC_LIBOBJ invocation from here... * modules/wmemset (configure.ac): ... to here. --- ChangeLog | 7 +++++++ m4/wmemset.m4 | 3 +-- modules/wmemset | 3 +++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3623380f8f..4446b8b11d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-05-22 Bruno Haible + + wmemset: Move AC_LIBOBJ invocations to module description. + * m4/wmemset.m4 (gl_FUNC_WMEMSET): Move AC_LIBOBJ invocation from + here... + * modules/wmemset (configure.ac): ... to here. + 2011-05-22 Bruno Haible wmemmove: Move AC_LIBOBJ invocations to module description. diff --git a/m4/wmemset.m4 b/m4/wmemset.m4 index 1e960e394a..9674c1242b 100644 --- a/m4/wmemset.m4 +++ b/m4/wmemset.m4 @@ -1,4 +1,4 @@ -# wmemset.m4 serial 1 +# wmemset.m4 serial 2 dnl Copyright (C) 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, @@ -10,6 +10,5 @@ AC_DEFUN([gl_FUNC_WMEMSET], AC_CHECK_FUNCS_ONCE([wmemset]) if test $ac_cv_func_wmemset = no; then HAVE_WMEMSET=0 - AC_LIBOBJ([wmemset]) fi ]) diff --git a/modules/wmemset b/modules/wmemset index 4a551da287..68038dd7cb 100644 --- a/modules/wmemset +++ b/modules/wmemset @@ -11,6 +11,9 @@ wchar configure.ac: gl_FUNC_WMEMSET +if test $HAVE_WMEMSET = 0; then + AC_LIBOBJ([wmemset]) +fi gl_WCHAR_MODULE_INDICATOR([wmemset]) Makefile.am: -- 2.30.2