maint.mk: fix "release" target to build _version
[gnulib.git] / m4 / tmpfile.m4
index cd49237..c2ad8eb 100644 (file)
@@ -1,5 +1,5 @@
-# tmpfile.m4 serial 1
-# Copyright (C) 2007, 2009, 2010 Free Software Foundation, Inc.
+# tmpfile.m4 serial 2
+# Copyright (C) 2007, 2009-2013 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.
@@ -18,7 +18,7 @@
 # directory, even though tmpfile wouldn't work in general.  Instead,
 # just test for a Windows platform (excluding Cygwin).
 
-AC_DEFUN([gl_TMPFILE], [
+AC_DEFUN([gl_FUNC_TMPFILE], [
   AC_REQUIRE([gl_STDIO_H_DEFAULTS])
   AC_CACHE_CHECK([whether tmpfile should be overridden],
     [gl_cv_func_tmpfile_unusable],
@@ -31,8 +31,6 @@ choke me
        [gl_cv_func_tmpfile_unusable=no])])
   if test $gl_cv_func_tmpfile_unusable = yes; then
     REPLACE_TMPFILE=1
-    AC_LIBOBJ([tmpfile])
-    gl_PREREQ_TMPFILE
   fi
 ])