summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-12-06 10:01:34 +0000
committerJim Meyering <jim@meyering.net>2004-12-06 10:01:34 +0000
commit5a36ddca4787b12278f1a5e2db30ea2e44058143 (patch)
tree64142d4768605326bf5ceb8b4fe4adc63b021841 /m4
parent1de56a5dc34e6e99b18f615ce6dcae3cb31e950c (diff)
downloadcoreutils-5a36ddca4787b12278f1a5e2db30ea2e44058143.tar.xz
(gl_FUNC_CHDIR_LONG): Use AC_LIBSOURCES.
Diffstat (limited to 'm4')
-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
])