From 1d2addcfddb82ae4406b729772a4b05493fbbb11 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 21 May 2011 12:03:00 +0200 Subject: [PATCH] iswblank: Move AC_LIBOBJ invocations to module description. * m4/iswblank.m4 (gl_FUNC_ISWBLANK): Move AC_LIBOBJ invocation from here... * modules/iswblank (configure.ac): ... to here. --- ChangeLog | 7 +++++++ m4/iswblank.m4 | 4 ++-- modules/iswblank | 7 +++++++ 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e17dc9843a..94434b7d2d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-05-21 Bruno Haible + + iswblank: Move AC_LIBOBJ invocations to module description. + * m4/iswblank.m4 (gl_FUNC_ISWBLANK): Move AC_LIBOBJ invocation from + here... + * modules/iswblank (configure.ac): ... to here. + 2011-05-21 Bruno Haible atanl: Move AC_LIBOBJ invocations to module description. diff --git a/m4/iswblank.m4 b/m4/iswblank.m4 index 38641ffb66..275f1314fb 100644 --- a/m4/iswblank.m4 +++ b/m4/iswblank.m4 @@ -1,4 +1,4 @@ -# iswblank.m4 serial 2 +# iswblank.m4 serial 3 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, @@ -24,7 +24,7 @@ AC_DEFUN([gl_FUNC_ISWBLANK], else if test $HAVE_ISWBLANK = 0 || test $REPLACE_ISWBLANK = 1; then dnl Redefine only iswblank. - AC_LIBOBJ([iswblank]) + : fi fi diff --git a/modules/iswblank b/modules/iswblank index 972107eb21..211405d2be 100644 --- a/modules/iswblank +++ b/modules/iswblank @@ -11,6 +11,13 @@ extensions configure.ac: gl_FUNC_ISWBLANK +if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then + : +else + if test $HAVE_ISWBLANK = 0 || test $REPLACE_ISWBLANK = 1; then + AC_LIBOBJ([iswblank]) + fi +fi gl_WCTYPE_MODULE_INDICATOR([iswblank]) Makefile.am: -- 2.30.2