# HG changeset patch # User Bruno Haible # Date 1306083866 -7200 # Node ID f5f0af38d0100e1f7c19bf4a89ef3218d64e326b # Parent 66e9b74a4b8eb877c0eaa53deb7ece7d01d68f83 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. diff --git a/ChangeLog b/ChangeLog --- 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 --- 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_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 --- a/modules/wmemcmp +++ b/modules/wmemcmp @@ -11,6 +11,9 @@ configure.ac: gl_FUNC_WMEMCMP +if test $HAVE_WMEMCMP = 0; then + AC_LIBOBJ([wmemcmp]) +fi gl_WCHAR_MODULE_INDICATOR([wmemcmp]) Makefile.am: