pthread: Determine $(LIB_PTHREAD) correctly on IRIX 6.5.
[gnulib.git] / m4 / mkdtemp.m4
index 073e14d..cc6483f 100644 (file)
@@ -1,4 +1,4 @@
-# mkdtemp.m4 serial 7
+# mkdtemp.m4 serial 8
 dnl Copyright (C) 2001-2003, 2006-2007, 2009-2011 Free Software Foundation,
 dnl Inc.
 dnl This file is free software; the Free Software Foundation
@@ -8,10 +8,9 @@ dnl with or without modifications, as long as this notice is preserved.
 AC_DEFUN([gl_FUNC_MKDTEMP],
 [
   AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
-  AC_REPLACE_FUNCS([mkdtemp])
+  AC_CHECK_FUNCS([mkdtemp])
   if test $ac_cv_func_mkdtemp = no; then
     HAVE_MKDTEMP=0
-    gl_PREREQ_MKDTEMP
   fi
 ])