install-reloc: Support multi-binary installation.
[gnulib.git] / modules / mkdtemp
index 9fe4851..87718a1 100644 (file)
@@ -2,25 +2,29 @@ Description:
 mkdtemp() function: create a private temporary directory.
 
 Files:
-lib/mkdtemp.h
 lib/mkdtemp.c
 m4/mkdtemp.m4
 
 Depends-on:
-stdint
-unistd
+stdlib
+stdint          [test $HAVE_MKDTEMP = 0]
+tempname        [test $HAVE_MKDTEMP = 0]
 
 configure.ac:
-gt_FUNC_MKDTEMP
+gl_FUNC_MKDTEMP
+if test $HAVE_MKDTEMP = 0; then
+  AC_LIBOBJ([mkdtemp])
+  gl_PREREQ_MKDTEMP
+fi
+gl_STDLIB_MODULE_INDICATOR([mkdtemp])
 
 Makefile.am:
-EXTRA_DIST += mkdtemp.h mkdtemp.c
 
 Include:
-"mkdtemp.h"
+<stdlib.h>
 
 License:
-LGPL
+LGPLv2+
 
 Maintainer:
 Bruno Haible