From 4d2f89d9557f11e7501848824dc349ec8c307bcf Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 22 May 2011 18:42:48 +0200 Subject: [PATCH] wcsxfrm: Move AC_LIBOBJ invocations to module description. * m4/wcsxfrm.m4 (gl_FUNC_WCSXFRM): Move AC_LIBOBJ invocation from here... * modules/wcsxfrm (configure.ac): ... to here. --- ChangeLog | 7 +++++++ m4/wcsxfrm.m4 | 3 +-- modules/wcsxfrm | 3 +++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5a838af00..ab675bade 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2011-05-22 Bruno Haible + wcsxfrm: Move AC_LIBOBJ invocations to module description. + * m4/wcsxfrm.m4 (gl_FUNC_WCSXFRM): Move AC_LIBOBJ invocation from + here... + * modules/wcsxfrm (configure.ac): ... to here. + +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. diff --git a/m4/wcsxfrm.m4 b/m4/wcsxfrm.m4 index 2fd6ec1dc..e891e4019 100644 --- a/m4/wcsxfrm.m4 +++ b/m4/wcsxfrm.m4 @@ -1,4 +1,4 @@ -# wcsxfrm.m4 serial 1 +# wcsxfrm.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_WCSXFRM], AC_CHECK_FUNCS_ONCE([wcsxfrm]) if test $ac_cv_func_wcsxfrm = no; then HAVE_WCSXFRM=0 - AC_LIBOBJ([wcsxfrm]) fi ]) diff --git a/modules/wcsxfrm b/modules/wcsxfrm index c5a1ee943..e432e75d2 100644 --- a/modules/wcsxfrm +++ b/modules/wcsxfrm @@ -12,6 +12,9 @@ wchar configure.ac: gl_FUNC_WCSXFRM +if test $HAVE_WCSXFRM = 0; then + AC_LIBOBJ([wcsxfrm]) +fi gl_WCHAR_MODULE_INDICATOR([wcsxfrm]) Makefile.am: -- 2.11.0