openat: test for fstatat (..., 0) bug
[gnulib.git] / modules / putenv
index 3874b54..7476af1 100644 (file)
@@ -7,10 +7,13 @@ m4/putenv.m4
 
 Depends-on:
 stdlib
-malloc-posix
+malloc-posix    [test $REPLACE_PUTENV = 1]
 
 configure.ac:
 gl_FUNC_PUTENV
+if test $REPLACE_PUTENV = 1; then
+  AC_LIBOBJ([putenv])
+fi
 gl_STDLIB_MODULE_INDICATOR([putenv])
 
 Makefile.am: