Import upstream version 1.27
[debian/tar] / m4 / futimens.m4
index 72c6f25cbe4653e613070fc5b59622366c2a8a96..a159207a21a0580af88213548991f33cb48c4eae 100644 (file)
@@ -1,7 +1,7 @@
-# serial 5
+# serial 6
 # See if we need to provide futimens replacement.
 
-dnl Copyright (C) 2009-2011 Free Software Foundation, Inc.
+dnl Copyright (C) 2009-2013 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -15,7 +15,6 @@ AC_DEFUN([gl_FUNC_FUTIMENS],
   AC_CHECK_FUNCS_ONCE([futimens])
   if test $ac_cv_func_futimens = no; then
     HAVE_FUTIMENS=0
-    AC_LIBOBJ([futimens])
   else
     AC_CACHE_CHECK([whether futimens works],
       [gl_cv_func_futimens_works],
@@ -55,7 +54,6 @@ choke me
       rm -f conftest.file])
     if test "$gl_cv_func_futimens_works" != yes; then
       REPLACE_FUTIMENS=1
-      AC_LIBOBJ([futimens])
     fi
   fi
 ])