pthread: Determine $(LIB_PTHREAD) correctly on IRIX 6.5.
[gnulib.git] / modules / putenv
index f6e30b5..7476af1 100644 (file)
@@ -6,13 +6,20 @@ lib/putenv.c
 m4/putenv.m4
 
 Depends-on:
+stdlib
+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:
 
 Include:
+<stdlib.h>
 
 License:
 LGPL