summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--m4/chdir-long.m410
1 files changed, 3 insertions, 7 deletions
diff --git a/m4/chdir-long.m4 b/m4/chdir-long.m4
index 32c24c761..47f75fa27 100644
--- a/m4/chdir-long.m4
+++ b/m4/chdir-long.m4
@@ -1,18 +1,14 @@
-#serial 1
+#serial 2
# Written by Jim Meyering.
-# Use Gnulib's robust replacement chdir function.
+# Use Gnulib's robust chdir function.
# It can handle arbitrarily long directory names, which means
# that when it is given the name of an existing directory, it
# never fails with ENAMETOOLONG.
-#
-# It still fails with ENAMETOOLONG if the specified directory
-# name contains a component that would provoke such a failure
-# all by itself (e.g. if the component is longer than PATH_MAX
-# on systems that define PATH_MAX).
AC_DEFUN([gl_FUNC_CHDIR_LONG],
[
+ AC_LIBSOURCES([chdir-long.c, chdir-long.h])
gl_PREREQ_CHDIR_LONG
])