summaryrefslogtreecommitdiffstats
path: root/m4/mkdtemp.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2001-09-13 14:58:50 +0000
committerBruno Haible <bruno@clisp.org>2001-09-13 14:58:50 +0000
commitb1732b47eb8b2f841f287226e2a06439a9875b36 (patch)
tree72df0a4f7c1d9fd8e52bd30ffd1e50e27c7a6d38 /m4/mkdtemp.m4
parentac1431e0d99f4dea88bd6b6d27fbcbdebf39052f (diff)
downloadexternal_gettext-b1732b47eb8b2f841f287226e2a06439a9875b36.zip
external_gettext-b1732b47eb8b2f841f287226e2a06439a9875b36.tar.gz
external_gettext-b1732b47eb8b2f841f287226e2a06439a9875b36.tar.bz2
Subroutines for creating temporary directories.
Diffstat (limited to 'm4/mkdtemp.m4')
-rw-r--r--m4/mkdtemp.m411
1 files changed, 11 insertions, 0 deletions
diff --git a/m4/mkdtemp.m4 b/m4/mkdtemp.m4
new file mode 100644
index 0000000..73ce4c0
--- /dev/null
+++ b/m4/mkdtemp.m4
@@ -0,0 +1,11 @@
+#serial 1
+
+# Prerequisites of lib/mkdtemp.c
+
+AC_DEFUN([gt_FUNC_MKDTEMP],
+[
+ AC_REPLACE_FUNCS(mkdtemp)
+ AC_STAT_MACROS_BROKEN
+ AC_CHECK_HEADERS(fcntl.h stdint.h sys/time.h time.h unistd.h)
+ AC_CHECK_FUNCS(gettimeofday)
+])