From eaa88cfa3d85304ed27c3bf941db5cdcaed9cc31 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 22 May 2011 18:38:45 +0200 Subject: [PATCH] wcsspn: Move AC_LIBOBJ invocations to module description. * m4/wcsspn.m4 (gl_FUNC_WCSSPN): Move AC_LIBOBJ invocation from here... * modules/wcsspn (configure.ac): ... to here. --- ChangeLog | 6 ++++++ m4/wcsspn.m4 | 3 +-- modules/wcsspn | 3 +++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1f4f3216f..af803cc71 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2011-05-22 Bruno Haible + wcsspn: Move AC_LIBOBJ invocations to module description. + * m4/wcsspn.m4 (gl_FUNC_WCSSPN): Move AC_LIBOBJ invocation from here... + * modules/wcsspn (configure.ac): ... to here. + +2011-05-22 Bruno Haible + wcsrtombs: Move AC_LIBOBJ invocations to module description. * m4/wcsrtombs.m4 (gl_FUNC_WCSRTOMBS): Move AC_LIBOBJ and gl_PREREQ_WCSRTOMBS invocations from here... diff --git a/m4/wcsspn.m4 b/m4/wcsspn.m4 index 1225adcf9..51bd7b169 100644 --- a/m4/wcsspn.m4 +++ b/m4/wcsspn.m4 @@ -1,4 +1,4 @@ -# wcsspn.m4 serial 1 +# wcsspn.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_WCSSPN], AC_CHECK_FUNCS_ONCE([wcsspn]) if test $ac_cv_func_wcsspn = no; then HAVE_WCSSPN=0 - AC_LIBOBJ([wcsspn]) fi ]) diff --git a/modules/wcsspn b/modules/wcsspn index 035398d9b..abaf5d4dd 100644 --- a/modules/wcsspn +++ b/modules/wcsspn @@ -18,6 +18,9 @@ wcschr [test $HAVE_WCSSPN = 0] configure.ac: gl_FUNC_WCSSPN +if test $HAVE_WCSSPN = 0; then + AC_LIBOBJ([wcsspn]) +fi gl_WCHAR_MODULE_INDICATOR([wcsspn]) Makefile.am: -- 2.11.0