From ec02bcd26752bde961758984722fb680cae794b0 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 22 May 2011 18:40:35 +0200 Subject: [PATCH] wcstok: Move AC_LIBOBJ invocations to module description. * m4/wcstok.m4 (gl_FUNC_WCSTOK): Move AC_LIBOBJ invocation from here... * modules/wcstok (configure.ac): ... to here. --- ChangeLog | 6 ++++++ m4/wcstok.m4 | 3 +-- modules/wcstok | 3 +++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d1335646f7..5a838af00c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-05-22 Bruno Haible + + wcstok: Move AC_LIBOBJ invocations to module description. + * m4/wcstok.m4 (gl_FUNC_WCSTOK): Move AC_LIBOBJ invocation from here... + * modules/wcstok (configure.ac): ... to here. + 2011-05-22 Bruno Haible wcsstr: Move AC_LIBOBJ invocations to module description. diff --git a/m4/wcstok.m4 b/m4/wcstok.m4 index 4c91c4f6fa..01b030c34f 100644 --- a/m4/wcstok.m4 +++ b/m4/wcstok.m4 @@ -1,4 +1,4 @@ -# wcstok.m4 serial 1 +# wcstok.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_WCSTOK], AC_CHECK_FUNCS_ONCE([wcstok]) if test $ac_cv_func_wcstok = no; then HAVE_WCSTOK=0 - AC_LIBOBJ([wcstok]) fi ]) diff --git a/modules/wcstok b/modules/wcstok index dc78e135bc..f7b1ed6735 100644 --- a/modules/wcstok +++ b/modules/wcstok @@ -13,6 +13,9 @@ wcspbrk [test $HAVE_WCSTOK = 0] configure.ac: gl_FUNC_WCSTOK +if test $HAVE_WCSTOK = 0; then + AC_LIBOBJ([wcstok]) +fi gl_WCHAR_MODULE_INDICATOR([wcstok]) Makefile.am: -- 2.30.2