md5, sha1, sha256, sha512: add gl_SET_CRYPTO_CHECK_DEFAULT
[gnulib.git] / modules / putenv
index 06a0710..e39f145 100644 (file)
@@ -7,20 +7,24 @@ m4/putenv.m4
 
 Depends-on:
 stdlib
-malloc-posix
+environ         [test $REPLACE_PUTENV = 1]
+malloc-posix    [test $REPLACE_PUTENV = 1]
 
 configure.ac:
 gl_FUNC_PUTENV
+if test $REPLACE_PUTENV = 1; then
+  AC_LIBOBJ([putenv])
+  gl_PREREQ_PUTENV
+fi
 gl_STDLIB_MODULE_INDICATOR([putenv])
 
 Makefile.am:
 
 Include:
-#include <stdlib.h>
+<stdlib.h>
 
 License:
 LGPL
 
 Maintainer:
 Jim Meyering, glibc
-