[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fix chdir-long.m4 caching (was: megatest fallout)
From: |
Ralf Wildenhues |
Subject: |
Fix chdir-long.m4 caching (was: megatest fallout) |
Date: |
Mon, 25 Sep 2006 22:03:56 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Hello Jim,
> 7 checking whether this system has an arbitrary file name length
> limit... yes
OK to apply this patch? I think this variable isn't used elsewhere in
gnulib nor coreutils, so renaming this shouldn't be a problem.
Cheers,
Ralf
* chdir-long.m4 (gl_FUNC_CHDIR_LONG): Rename cache variable from
`gl_have_arbitrary_file_name_length_limit' to
`gl_cv_have_arbitrary_file_name_length_limit', so that caching
actually works between configure runs.
Index: m4/chdir-long.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/chdir-long.m4,v
retrieving revision 1.5
diff -u -r1.5 chdir-long.m4
--- m4/chdir-long.m4 21 Aug 2006 21:46:31 -0000 1.5
+++ m4/chdir-long.m4 25 Sep 2006 19:57:14 -0000
@@ -1,4 +1,4 @@
-#serial 8
+#serial 9
# Use Gnulib's robust chdir function.
# It can handle arbitrarily long directory names, which means
@@ -16,17 +16,17 @@
AC_DEFUN([gl_FUNC_CHDIR_LONG],
[
AC_CACHE_CHECK([whether this system has an arbitrary file name length limit],
- gl_have_arbitrary_file_name_length_limit,
+ gl_cv_have_arbitrary_file_name_length_limit,
[AC_EGREP_CPP([have_arbitrary_file_name_length_limit],
[#include <unistd.h>
#include <limits.h>
#if defined PATH_MAX || defined MAXPATHLEN
have_arbitrary_file_name_length_limit
#endif],
- gl_have_arbitrary_file_name_length_limit=yes,
- gl_have_arbitrary_file_name_length_limit=no)])
+ gl_cv_have_arbitrary_file_name_length_limit=yes,
+ gl_cv_have_arbitrary_file_name_length_limit=no)])
- if test $gl_have_arbitrary_file_name_length_limit = yes; then
+ if test $gl_cv_have_arbitrary_file_name_length_limit = yes; then
AC_LIBOBJ([chdir-long])
gl_PREREQ_CHDIR_LONG
fi
- Fix chdir-long.m4 caching (was: megatest fallout),
Ralf Wildenhues <=