changeset 15021:cd6efb0e5a9c

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.
author Bruno Haible <bruno@clisp.org>
date Sat, 21 May 2011 12:03:00 +0200
parents 37abb403b61a
children 5c6bb8156fc6
files ChangeLog m4/iswblank.m4 modules/iswblank
diffstat 3 files changed, 16 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-21  Bruno Haible  <bruno@clisp.org>
+
+	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  <bruno@clisp.org>
 
 	atanl: Move AC_LIBOBJ invocations to module description.
--- 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 @@
   else
     if test $HAVE_ISWBLANK = 0 || test $REPLACE_ISWBLANK = 1; then
       dnl Redefine only iswblank.
-      AC_LIBOBJ([iswblank])
+      :
     fi
   fi
 
--- a/modules/iswblank
+++ b/modules/iswblank
@@ -11,6 +11,13 @@
 
 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: