cvs-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cvs-cvs] Changes to ccvs/m4/getcwd-path-max.m4


From: Derek Robert Price
Subject: [Cvs-cvs] Changes to ccvs/m4/getcwd-path-max.m4
Date: Fri, 12 Aug 2005 16:57:46 -0400

Index: ccvs/m4/getcwd-path-max.m4
diff -u ccvs/m4/getcwd-path-max.m4:1.3 ccvs/m4/getcwd-path-max.m4:1.4
--- ccvs/m4/getcwd-path-max.m4:1.3      Fri Jun 10 20:31:04 2005
+++ ccvs/m4/getcwd-path-max.m4  Fri Aug 12 20:57:46 2005
@@ -1,4 +1,4 @@
-#serial 9
+#serial 10
 # Check for several getcwd bugs with long file names.
 # If so, arrange to compile the wrapper function.
 
@@ -16,7 +16,6 @@
 AC_DEFUN([gl_FUNC_GETCWD_PATH_MAX],
 [
   AC_CHECK_DECLS_ONCE(getcwd)
-  AC_CHECK_HEADERS_ONCE(fcntl.h)
   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
   AC_CACHE_CHECK([whether getcwd handles long file names properly],
     gl_cv_func_getcwd_path_max,
@@ -32,9 +31,7 @@
 #include <limits.h>
 #include <sys/stat.h>
 #include <sys/types.h>
-#if HAVE_FCNTL_H
-# include <fcntl.h>
-#endif
+#include <fcntl.h>
 
 #ifndef AT_FDCWD
 # define AT_FDCWD 0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]