From ad6475fc3afe762b777c51b74c7f797a110cc56d Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 22 May 2011 18:13:29 +0200 Subject: [PATCH] wcscpy: Move AC_LIBOBJ invocations to module description. * m4/wcscpy.m4 (gl_FUNC_WCSCPY): Move AC_LIBOBJ invocation from here... * modules/wcscpy (configure.ac): ... to here. --- ChangeLog | 6 ++++++ m4/wcscpy.m4 | 3 +-- modules/wcscpy | 3 +++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f6cccbaf2..7ea4b60e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2011-05-22 Bruno Haible + wcscpy: Move AC_LIBOBJ invocations to module description. + * m4/wcscpy.m4 (gl_FUNC_WCSCPY): Move AC_LIBOBJ invocation from here... + * modules/wcscpy (configure.ac): ... to here. + +2011-05-22 Bruno Haible + wcscoll: Move AC_LIBOBJ invocations to module description. * m4/wcscoll.m4 (gl_FUNC_WCSCOLL): Move AC_LIBOBJ invocation from here... diff --git a/m4/wcscpy.m4 b/m4/wcscpy.m4 index dcd845bf2..39f537afa 100644 --- a/m4/wcscpy.m4 +++ b/m4/wcscpy.m4 @@ -1,4 +1,4 @@ -# wcscpy.m4 serial 1 +# wcscpy.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_WCSCPY], AC_CHECK_FUNCS_ONCE([wcscpy]) if test $ac_cv_func_wcscpy = no; then HAVE_WCSCPY=0 - AC_LIBOBJ([wcscpy]) fi ]) diff --git a/modules/wcscpy b/modules/wcscpy index 89e30c17a..e96c9e42d 100644 --- a/modules/wcscpy +++ b/modules/wcscpy @@ -17,6 +17,9 @@ wchar configure.ac: gl_FUNC_WCSCPY +if test $HAVE_WCSCPY = 0; then + AC_LIBOBJ([wcscpy]) +fi gl_WCHAR_MODULE_INDICATOR([wcscpy]) Makefile.am: -- 2.11.0