mbsinit: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sat, 21 May 2011 12:21:12 +0000 (14:21 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:06:27 +0000 (00:06 +0200)
* m4/mbsinit.m4 (gl_FUNC_MBSINIT): Move AC_LIBOBJ and gl_PREREQ_MBSINIT
invocations from here...
* modules/mbsinit (configure.ac): ... to here.

ChangeLog
m4/mbsinit.m4
modules/mbsinit

index 60ce43d19bf6785b32457abdfff1c4a5e28e3f5e..60f0b8c0b664098dfcb0f695dd715eca031a154f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-21  Bruno Haible  <bruno@clisp.org>
+
+       mbsinit: Move AC_LIBOBJ invocations to module description.
+       * m4/mbsinit.m4 (gl_FUNC_MBSINIT): Move AC_LIBOBJ and gl_PREREQ_MBSINIT
+       invocations from here...
+       * modules/mbsinit (configure.ac): ... to here.
+
 2011-05-21  Bruno Haible  <bruno@clisp.org>
 
        mbrlen: Move AC_LIBOBJ invocations to module description.
index b42a49ab49811d53e3a9dbf3ebf2c564b6404ede..d364b7e0fe5bb90887b198d79a339e9fd7661a10 100644 (file)
@@ -1,4 +1,4 @@
-# mbsinit.m4 serial 6
+# mbsinit.m4 serial 7
 dnl Copyright (C) 2008, 2010-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,
@@ -27,10 +27,6 @@ AC_DEFUN([gl_FUNC_MBSINIT],
       esac
     fi
   fi
-  if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then
-    AC_LIBOBJ([mbsinit])
-    gl_PREREQ_MBSINIT
-  fi
 ])
 
 # Prerequisites of lib/mbsinit.c.
index a8ee058a0e2a8b932cf346316f218c903771f066..3a0cebf548382cf667c7aeabafee940959087642 100644 (file)
@@ -14,6 +14,10 @@ verify          [test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1]
 
 configure.ac:
 gl_FUNC_MBSINIT
+if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then
+  AC_LIBOBJ([mbsinit])
+  gl_PREREQ_MBSINIT
+fi
 gl_WCHAR_MODULE_INDICATOR([mbsinit])
 
 Makefile.am: