Don't use AC_LIBOBJ with file names in subdirectories.
[pspp] / modules / malloc
index e571d3bbd8275285c8a05d9f79eaae4f2a474175..8fcb0a34c2b36f4474a688efa76508b70f442e3a 100644 (file)
@@ -1,6 +1,11 @@
 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
 
@@ -9,6 +14,7 @@ malloc-posix
 
 configure.ac:
 AC_FUNC_MALLOC
+AC_DEFINE([GNULIB_MALLOC_GNU], 1, [Define to indicate the 'malloc' module.])
 
 Makefile.am: