wctomb: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sun, 22 May 2011 16:48:57 +0000 (18:48 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:07:13 +0000 (00:07 +0200)
* m4/wctomb.m4 (gl_FUNC_WCTOMB): Move AC_LIBOBJ and gl_PREREQ_WCTOMB
invocations from here...
* modules/wctomb (configure.ac): ... to here.

ChangeLog
m4/wctomb.m4
modules/wctomb

index 4e1d228719a1baf8183f51abbc79fad166fbd737..d4590aca6883d55c0be0f3dc27ccff4e09cc4c74 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-22  Bruno Haible  <bruno@clisp.org>
+
+       wctomb: Move AC_LIBOBJ invocations to module description.
+       * m4/wctomb.m4 (gl_FUNC_WCTOMB): Move AC_LIBOBJ and gl_PREREQ_WCTOMB
+       invocations from here...
+       * modules/wctomb (configure.ac): ... to here.
+
 2011-05-22  Bruno Haible  <bruno@clisp.org>
 
        wctob: Move AC_LIBOBJ invocations to module description.
index bc21b5b19f0d514f5ff2e7ba9d279489a9a6ad29..ee16a7e91ffe905b6b3736d873d9a3522c15332d 100644 (file)
@@ -1,4 +1,4 @@
-# wctomb.m4 serial 1
+# wctomb.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,
@@ -11,10 +11,6 @@ AC_DEFUN([gl_FUNC_WCTOMB],
   if false; then
     REPLACE_WCTOMB=1
   fi
-  if test $REPLACE_WCTOMB = 1; then
-    AC_LIBOBJ([wctomb])
-    gl_PREREQ_WCTOMB
-  fi
 ])
 
 # Prerequisites of lib/wctomb.c.
index 5077005487b88380c04723f304048170e97b2e38..00d59bf2086adac8db2b0310bec5da8dc9eea045 100644 (file)
@@ -13,6 +13,10 @@ wchar           [test $REPLACE_WCTOMB = 1]
 
 configure.ac:
 gl_FUNC_WCTOMB
+if test $REPLACE_WCTOMB = 1; then
+  AC_LIBOBJ([wctomb])
+  gl_PREREQ_WCTOMB
+fi
 gl_STDLIB_MODULE_INDICATOR([wctomb])
 
 Makefile.am: