From e9ba17dadcbf31dfc6840d0b79f349909ced27f2 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 22 May 2011 18:17:44 +0200 Subject: [PATCH] wcscspn: Move AC_LIBOBJ invocations to module description. * m4/wcscspn.m4 (gl_FUNC_WCSCSPN): Move AC_LIBOBJ invocation from here... * modules/wcscspn (configure.ac): ... to here. --- ChangeLog | 7 +++++++ m4/wcscspn.m4 | 3 +-- modules/wcscspn | 3 +++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7ea4b60e5..e40f752a1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2011-05-22 Bruno Haible + wcscspn: Move AC_LIBOBJ invocations to module description. + * m4/wcscspn.m4 (gl_FUNC_WCSCSPN): Move AC_LIBOBJ invocation from + here... + * modules/wcscspn (configure.ac): ... to here. + +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. diff --git a/m4/wcscspn.m4 b/m4/wcscspn.m4 index f6761faa3..cf922822f 100644 --- a/m4/wcscspn.m4 +++ b/m4/wcscspn.m4 @@ -1,4 +1,4 @@ -# wcscspn.m4 serial 1 +# wcscspn.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_WCSCSPN], AC_CHECK_FUNCS_ONCE([wcscspn]) if test $ac_cv_func_wcscspn = no; then HAVE_WCSCSPN=0 - AC_LIBOBJ([wcscspn]) fi ]) diff --git a/modules/wcscspn b/modules/wcscspn index 14b9a24e8..5f93ee6d9 100644 --- a/modules/wcscspn +++ b/modules/wcscspn @@ -19,6 +19,9 @@ wcschr [test $HAVE_WCSCSPN = 0] configure.ac: gl_FUNC_WCSCSPN +if test $HAVE_WCSCSPN = 0; then + AC_LIBOBJ([wcscspn]) +fi gl_WCHAR_MODULE_INDICATOR([wcscspn]) Makefile.am: -- 2.11.0