summaryrefslogtreecommitdiff
path: root/modules/calloc-posix
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-05-06 01:15:44 +0200
committerBruno Haible <bruno@clisp.org>2011-06-16 00:05:53 +0200
commitf27e3e37af0c33593d8a557eca13e5698099f107 (patch)
treea809409f45d61e11a71f9ab4424be0d7851622c7 /modules/calloc-posix
parent1d9d77a8330f48513aa7bc819d35f24aa18edc53 (diff)
downloadgnulib-f27e3e37af0c33593d8a557eca13e5698099f107.tar.gz
calloc-posix, calloc-gnu: Move AC_LIBOBJs to module description.
* m4/calloc.m4 (gl_REPLACE_CALLOC): Remove macro. (gl_FUNC_CALLOC_GNU, gl_FUNC_CALLOC_POSIX): Instead, just set REPLACE_CALLOC. * modules/calloc-posix (configure.ac): Invoke AC_LIBOBJ here. * modules/calloc-gnu (configure.ac): Likewise.
Diffstat (limited to 'modules/calloc-posix')
-rw-r--r--modules/calloc-posix3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/calloc-posix b/modules/calloc-posix
index f93b90e857..ef274ed490 100644
--- a/modules/calloc-posix
+++ b/modules/calloc-posix
@@ -11,6 +11,9 @@ stdlib
configure.ac:
gl_FUNC_CALLOC_POSIX
+if test $REPLACE_CALLOC = 1; then
+ AC_LIBOBJ([calloc])
+fi
gl_STDLIB_MODULE_INDICATOR([calloc-posix])
Makefile.am: