transmission: upgrade 2.31 to 2.32
[tomato.git] / release / src / router / gettext / gettext-tools / m4 / mkdtemp.m4
blobe02c8256c91c1611c458ab665a4dc26607ac60a5
1 # mkdtemp.m4 serial 3
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
11     gl_PREREQ_MKDTEMP
12   fi
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)