immutable: Add tests.
[gnulib.git] / m4 / mkdtemp.m4
blob9f4816c6ed5ea82616ae4db2cbd32233da0c7cf0
1 # mkdtemp.m4 serial 8
2 dnl Copyright (C) 2001-2003, 2006-2007, 2009-2021 Free Software Foundation,
3 dnl Inc.
4 dnl This file is free software; the Free Software Foundation
5 dnl gives unlimited permission to copy and/or distribute it,
6 dnl with or without modifications, as long as this notice is preserved.
8 AC_DEFUN([gl_FUNC_MKDTEMP],
10   AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
11   AC_CHECK_FUNCS([mkdtemp])
12   if test $ac_cv_func_mkdtemp = no; then
13     HAVE_MKDTEMP=0
14   fi
17 # Prerequisites of lib/mkdtemp.c
18 AC_DEFUN([gl_PREREQ_MKDTEMP],