From abc17284134fd97bb3f734f2c7e9afa040956118 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 22 May 2011 19:04:26 +0200 Subject: [PATCH] wmemcmp: Move AC_LIBOBJ invocations to module description. * m4/wmemcmp.m4 (gl_FUNC_WMEMCMP): Move AC_LIBOBJ invocation from here... * modules/wmemcmp (configure.ac): ... to here. --- ChangeLog | 7 +++++++ m4/wmemcmp.m4 | 3 +-- modules/wmemcmp | 3 +++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index cc08662a7d..72266e3631 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-05-22 Bruno Haible + + wmemcmp: Move AC_LIBOBJ invocations to module description. + * m4/wmemcmp.m4 (gl_FUNC_WMEMCMP): Move AC_LIBOBJ invocation from + here... + * modules/wmemcmp (configure.ac): ... to here. + 2011-05-22 Bruno Haible wmemchr: Move AC_LIBOBJ invocations to module description. diff --git a/m4/wmemcmp.m4 b/m4/wmemcmp.m4 index 99e9a2af73..ec86e42222 100644 --- a/m4/wmemcmp.m4 +++ b/m4/wmemcmp.m4 @@ -1,4 +1,4 @@ -# wmemcmp.m4 serial 1 +# wmemcmp.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_WMEMCMP], AC_CHECK_FUNCS_ONCE([wmemcmp]) if test $ac_cv_func_wmemcmp = no; then HAVE_WMEMCMP=0 - AC_LIBOBJ([wmemcmp]) fi ]) diff --git a/modules/wmemcmp b/modules/wmemcmp index 21e724a1c9..2734e6a434 100644 --- a/modules/wmemcmp +++ b/modules/wmemcmp @@ -11,6 +11,9 @@ wchar configure.ac: gl_FUNC_WMEMCMP +if test $HAVE_WMEMCMP = 0; then + AC_LIBOBJ([wmemcmp]) +fi gl_WCHAR_MODULE_INDICATOR([wmemcmp]) Makefile.am: -- 2.30.2