2
dnl Copyright (C) 2001-2003 Free Software Foundation, Inc.
3
dnl This file is free software; the Free Software Foundation
4
dnl gives unlimited permission to copy and/or distribute it,
5
dnl with or without modifications, as long as this notice is preserved.
7
AC_DEFUN([gt_FUNC_MKDTEMP],
9
AC_REPLACE_FUNCS(mkdtemp)
10
if test $ac_cv_func_mkdtemp = no; then
15
# Prerequisites of lib/mkdtemp.c
16
AC_DEFUN([gl_PREREQ_MKDTEMP],
18
AC_REQUIRE([AC_HEADER_STAT])
19
AC_CHECK_HEADERS_ONCE(sys/time.h unistd.h)
20
AC_CHECK_HEADERS(time.h)
21
AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])
22
AC_CHECK_FUNCS(gettimeofday)