mbsrtowcs: Move AC_LIBOBJ invocations to module description.
[pspp] / modules / mbsinit
index e8a3ef97ecf24cd9b3c568cdc95712194544a3d1..3a0cebf548382cf667c7aeabafee940959087642 100644 (file)
@@ -8,9 +8,16 @@ m4/mbstate_t.m4
 
 Depends-on:
 wchar
+extensions
+mbrtowc         [test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1]
+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:
@@ -19,7 +26,7 @@ Include:
 <wchar.h>
 
 License:
-LGPL
+LGPLv2+
 
 Maintainer:
 Bruno Haible