iswblank: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sat, 21 May 2011 10:03:00 +0000 (12:03 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:06:23 +0000 (00:06 +0200)
* m4/iswblank.m4 (gl_FUNC_ISWBLANK): Move AC_LIBOBJ invocation from
here...
* modules/iswblank (configure.ac): ... to here.

ChangeLog
m4/iswblank.m4
modules/iswblank

index e17dc98..94434b7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 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.
        * m4/atanl.m4 (gl_FUNC_ATANL): Move AC_LIBOBJ invocation from here...
        * modules/atanl (configure.ac): ... to here.
index 38641ff..275f131 100644 (file)
@@ -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
 
index 972107e..211405d 100644 (file)
@@ -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: