changeset 15022:5c6bb8156fc6

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.
author Bruno Haible <bruno@clisp.org>
date Sat, 21 May 2011 12:05:16 +0200
parents cd6efb0e5a9c
children 9acfed062e5f
files ChangeLog m4/iswctype.m4 modules/iswctype
diffstat 3 files changed, 11 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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.
--- a/m4/iswctype.m4
+++ b/m4/iswctype.m4
@@ -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_REQUIRE([gl_WCTYPE_H_DEFAULTS])
   AC_REQUIRE([gl_WCTYPE_H])
-  if test $HAVE_WCTYPE_T = 0; then
-    AC_LIBOBJ([iswctype])
-  fi
 ])
--- a/modules/iswctype
+++ b/modules/iswctype
@@ -17,6 +17,9 @@
 
 configure.ac:
 gl_FUNC_ISWCTYPE
+if test $HAVE_WCTYPE_T = 0; then
+  AC_LIBOBJ([iswctype])
+fi
 gl_WCTYPE_MODULE_INDICATOR([iswctype])
 
 Makefile.am: