From: Bruno Haible Date: Sun, 22 May 2011 17:05:30 +0000 (+0200) Subject: wmemcpy: Move AC_LIBOBJ invocations to module description. X-Git-Tag: v0.1~2355 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=091ff859e0b874092b471e759b9343913e78f740;p=gnulib.git wmemcpy: Move AC_LIBOBJ invocations to module description. * m4/wmemcpy.m4 (gl_FUNC_WMEMCPY): Move AC_LIBOBJ invocation from here... * modules/wmemcpy (configure.ac): ... to here. --- diff --git a/ChangeLog b/ChangeLog index 72266e363..5cbd9e46d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2011-05-22 Bruno Haible + wmemcpy: Move AC_LIBOBJ invocations to module description. + * m4/wmemcpy.m4 (gl_FUNC_WMEMCPY): Move AC_LIBOBJ invocation from + here... + * modules/wmemcpy (configure.ac): ... to here. + +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... diff --git a/m4/wmemcpy.m4 b/m4/wmemcpy.m4 index 60af038ef..917c6031a 100644 --- a/m4/wmemcpy.m4 +++ b/m4/wmemcpy.m4 @@ -1,4 +1,4 @@ -# wmemcpy.m4 serial 1 +# wmemcpy.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_WMEMCPY], AC_CHECK_FUNCS_ONCE([wmemcpy]) if test $ac_cv_func_wmemcpy = no; then HAVE_WMEMCPY=0 - AC_LIBOBJ([wmemcpy]) fi ]) diff --git a/modules/wmemcpy b/modules/wmemcpy index 4e15fa6b0..5d6761994 100644 --- a/modules/wmemcpy +++ b/modules/wmemcpy @@ -11,6 +11,9 @@ wchar configure.ac: gl_FUNC_WMEMCPY +if test $HAVE_WMEMCPY = 0; then + AC_LIBOBJ([wmemcpy]) +fi gl_WCHAR_MODULE_INDICATOR([wmemcpy]) Makefile.am: