wcrtomb: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sun, 22 May 2011 16:05:23 +0000 (18:05 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:07:05 +0000 (00:07 +0200)
* m4/wcrtomb.m4 (gl_FUNC_WCRTOMB): Move AC_LIBOBJ and gl_PREREQ_WCRTOMB
invocations from here...
* modules/wcrtomb (configure.ac): ... to here.

ChangeLog
m4/wcrtomb.m4
modules/wcrtomb

index 948be57c30bf47476241137257312453a7369330..b8b2a5d601997e7c13f639b7c3300f688bb36970 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-22  Bruno Haible  <bruno@clisp.org>
+
+       wcrtomb: Move AC_LIBOBJ invocations to module description.
+       * m4/wcrtomb.m4 (gl_FUNC_WCRTOMB): Move AC_LIBOBJ and gl_PREREQ_WCRTOMB
+       invocations from here...
+       * modules/wcrtomb (configure.ac): ... to here.
+
 2011-05-22  Bruno Haible  <bruno@clisp.org>
 
        wcpncpy: Move AC_LIBOBJ invocations to module description.
index 4f58e3f5de2bb3ce99b90bf478f9dea4ddc1f656..d21f1b9a75f23729b3cad772fbfe5c2e6c8a9925 100644 (file)
@@ -1,4 +1,4 @@
-# wcrtomb.m4 serial 9
+# wcrtomb.m4 serial 10
 dnl Copyright (C) 2008-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,
@@ -88,10 +88,6 @@ int main ()
       esac
     fi
   fi
-  if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then
-    AC_LIBOBJ([wcrtomb])
-    gl_PREREQ_WCRTOMB
-  fi
 ])
 
 # Prerequisites of lib/wcrtomb.c.
index f9fea15ff1a5bfe83ffd595b71908d103b147c58..184fc53127d0d0fa1e6d43e411c66dcb4f4f5a05 100644 (file)
@@ -18,6 +18,10 @@ mbsinit         [test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1]
 
 configure.ac:
 gl_FUNC_WCRTOMB
+if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then
+  AC_LIBOBJ([wcrtomb])
+  gl_PREREQ_WCRTOMB
+fi
 gl_WCHAR_MODULE_INDICATOR([wcrtomb])
 
 Makefile.am: