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