From: Bruno Haible Date: Sun, 22 May 2011 17:06:38 +0000 (+0200) Subject: wmemmove: Move AC_LIBOBJ invocations to module description. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6189b9d73d41c85c37c444b99088b448f164051b;p=pspp wmemmove: Move AC_LIBOBJ invocations to module description. * m4/wmemmove.m4 (gl_FUNC_WMEMMOVE): Move AC_LIBOBJ invocation from here... * modules/wmemmove (configure.ac): ... to here. --- diff --git a/ChangeLog b/ChangeLog index 5cbd9e46d3..3623380f8f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-05-22 Bruno Haible + + wmemmove: Move AC_LIBOBJ invocations to module description. + * m4/wmemmove.m4 (gl_FUNC_WMEMMOVE): Move AC_LIBOBJ invocation from + here... + * modules/wmemmove (configure.ac): ... to here. + 2011-05-22 Bruno Haible wmemcpy: Move AC_LIBOBJ invocations to module description. diff --git a/m4/wmemmove.m4 b/m4/wmemmove.m4 index 2b4daad195..73884c803b 100644 --- a/m4/wmemmove.m4 +++ b/m4/wmemmove.m4 @@ -1,4 +1,4 @@ -# wmemmove.m4 serial 1 +# wmemmove.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_WMEMMOVE], AC_CHECK_FUNCS_ONCE([wmemmove]) if test $ac_cv_func_wmemmove = no; then HAVE_WMEMMOVE=0 - AC_LIBOBJ([wmemmove]) fi ]) diff --git a/modules/wmemmove b/modules/wmemmove index ac03e77dc5..da1d435156 100644 --- a/modules/wmemmove +++ b/modules/wmemmove @@ -11,6 +11,9 @@ wchar configure.ac: gl_FUNC_WMEMMOVE +if test $HAVE_WMEMMOVE = 0; then + AC_LIBOBJ([wmemmove]) +fi gl_WCHAR_MODULE_INDICATOR([wmemmove]) Makefile.am: