-# On some systems (e.g., HPUX-10.20), mkstemp has the silly limit that it
-# can create no more than 26 files from a given template. Other systems
-# lack mkstemp altogether. On either type of system, arrange to use the
-# replacement function.
-AC_DEFUN([UTILS_FUNC_MKSTEMP],
-[dnl
- AC_REPLACE_FUNCS(mkstemp)
- if test $ac_cv_func_mkstemp = no; then
- utils_cv_func_mkstemp_limitations=yes
- else
- AC_CACHE_CHECK([for mkstemp limitations],
- utils_cv_func_mkstemp_limitations,
- [
- utils_tmpdir_mkstemp=mkst-$$$$
- # Arrange for deletion-upon-exception of this temporary directory.
- ac_clean_files="$ac_clean_files $utils_tmpdir_mkstemp"
- mkdir $utils_tmpdir_mkstemp
+# Copyright (C) 2001, 2003-2007, 2009 Free Software Foundation, Inc.
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.