]> git.cworth.org Git - tar/blobdiff - m4/strtoimax.m4
Imported Upstream version 1.22
[tar] / m4 / strtoimax.m4
index 6ed66c96876e5574349587d391e097aefdcd9a77..70b3ba418a23c1fbdb3ce64c475d4573de6d3367 100644 (file)
@@ -1,5 +1,5 @@
-# strtoimax.m4 serial 6
-dnl Copyright (C) 2002, 2003, 2004, 2006 Free Software Foundation, Inc.
+# strtoimax.m4 serial 7
+dnl Copyright (C) 2002, 2003, 2004, 2006, 2009 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.
@@ -20,7 +20,7 @@ AC_DEFUN([gl_FUNC_STRTOIMAX],
        gl_cv_func_strtoimax_macro=no)])
 
   if test "$gl_cv_func_strtoimax_macro" != yes; then
-    AC_REPLACE_FUNCS(strtoimax)
+    AC_REPLACE_FUNCS([strtoimax])
     if test $ac_cv_func_strtoimax = no; then
       gl_PREREQ_STRTOIMAX
     fi
@@ -29,6 +29,6 @@ AC_DEFUN([gl_FUNC_STRTOIMAX],
 
 # Prerequisites of lib/strtoimax.c.
 AC_DEFUN([gl_PREREQ_STRTOIMAX], [
-  AC_CHECK_DECLS(strtoll)
+  AC_CHECK_DECLS([strtoll])
   AC_REQUIRE([AC_TYPE_LONG_LONG_INT])
 ])