changeset 15164:5132e2d88ade

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.
author Bruno Haible <bruno@clisp.org>
date Sun, 22 May 2011 18:48:57 +0200
parents ff1ca7dbde1e
children 2f44e6e0e98b
files ChangeLog m4/wctomb.m4 modules/wctomb
diffstat 3 files changed, 12 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- a/m4/wctomb.m4
+++ b/m4/wctomb.m4
@@ -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 @@
   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.
--- a/modules/wctomb
+++ b/modules/wctomb
@@ -13,6 +13,10 @@
 
 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: