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

ChangeLog
m4/iswctype.m4
modules/iswctype

index 94434b7..ffaa7cb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-05-21  Bruno Haible  <bruno@clisp.org>
 
+       iswctype: Move AC_LIBOBJ invocations to module description.
+       * m4/iswctype.m4 (gl_FUNC_ISWCTYPE): Move AC_LIBOBJ invocation from
+       here...
+       * modules/iswctype (configure.ac): ... to here.
+
+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...
index 2f0120f..bfb4d74 100644 (file)
@@ -1,4 +1,4 @@
-# iswctype.m4 serial 1
+# iswctype.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,
@@ -8,7 +8,4 @@ AC_DEFUN([gl_FUNC_ISWCTYPE],
 [
   AC_REQUIRE([gl_WCTYPE_H_DEFAULTS])
   AC_REQUIRE([gl_WCTYPE_H])
-  if test $HAVE_WCTYPE_T = 0; then
-    AC_LIBOBJ([iswctype])
-  fi
 ])
index 7054eaa..283c6e0 100644 (file)
@@ -17,6 +17,9 @@ wctype-h
 
 configure.ac:
 gl_FUNC_ISWCTYPE
+if test $HAVE_WCTYPE_T = 0; then
+  AC_LIBOBJ([iswctype])
+fi
 gl_WCTYPE_MODULE_INDICATOR([iswctype])
 
 Makefile.am: