]> git.cworth.org Git - tar/blobdiff - m4/getcwd-abort-bug.m4
Imported Upstream version 1.22
[tar] / m4 / getcwd-abort-bug.m4
index a431a7ccc03d5add8a07c457f7dff0270225a769..07e2c18cc5335359fe52be9b6634694d1acd31a8 100644 (file)
@@ -1,9 +1,9 @@
-#serial 1
+# serial 2
 # Determine whether getcwd aborts when the length of the working directory
 # name is unusually large.  Any length between 4k and 16k trigger the bug
 # when using glibc-2.4.90-9 or older.
 
-# Copyright (C) 2006 Free Software Foundation, Inc.
+# Copyright (C) 2006, 2009 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.
@@ -13,8 +13,8 @@
 # gl_FUNC_GETCWD_ABORT_BUG([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
 AC_DEFUN([gl_FUNC_GETCWD_ABORT_BUG],
 [
-  AC_CHECK_DECLS_ONCE(getcwd)
-  AC_CHECK_FUNCS(getpagesize)
+  AC_CHECK_DECLS_ONCE([getcwd])
+  AC_CHECK_FUNCS([getpagesize])
   AC_CACHE_CHECK([whether getcwd aborts when 4k < cwd_length < 16k],
     gl_cv_func_getcwd_abort_bug,
     [# Remove any remnants of a previous test.