added missing dependencies to fix failing unistr/ tests
[gnulib.git] / modules / malloc
index 4779af9..eb6ab6a 100644 (file)
@@ -1,13 +1,20 @@
 Description:
 malloc() function that is glibc compatible.
 
+Comment:
+This module should not be used as a dependency from a test module,
+otherwise when this module occurs as a tests-related module, it will
+have side effects on the compilation of the main modules in lib/.
+
 Files:
 lib/malloc.c
 
 Depends-on:
+malloc-posix
 
 configure.ac:
-AC_FUNC_MALLOC
+gl_FUNC_MALLOC_GNU
+AC_DEFINE([GNULIB_MALLOC_GNU], 1, [Define to indicate the 'malloc' module.])
 
 Makefile.am:
 
@@ -15,7 +22,7 @@ Include:
 <stdlib.h>
 
 License:
-LGPL
+LGPLv2+
 
 Maintainer:
 Jim Meyering