X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=m4%2Fmkdtemp.m4;h=cc6483f64009125b69bddc5300aa157b16bfaa81;hb=refs%2Fbuilds%2F20110818030503%2Fgnulib;hp=073e14d3868e1718148f5024815f184b94d20b5d;hpb=f56bca9f1091b3e6b3cf259d3a9f6c0859998a1c;p=pspp diff --git a/m4/mkdtemp.m4 b/m4/mkdtemp.m4 index 073e14d386..cc6483f640 100644 --- a/m4/mkdtemp.m4 +++ b/m4/mkdtemp.m4 @@ -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 ])