summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-09-22 14:17:57 +0200
committerBruno Haible <bruno@clisp.org>2011-09-22 14:19:43 +0200
commitb5bfe10b5a7adcb72dad1139c6470c92354952c8 (patch)
tree7ae6b869b74de276bddfb70b918eb50016092e1b /modules
parentd8710037842f70e32a5b56c685437b51165d2f5b (diff)
downloadgnulib-b5bfe10b5a7adcb72dad1139c6470c92354952c8.tar.gz
Consolidate all uses of PATH_MAX in *.m4 files.
* m4/pathmax.m4 (gl_PATHMAX_SNIPPET, gl_PATHMAX_SNIPPET_PREREQ): New macros. * m4/chdir-long.m4 (gl_FUNC_CHDIR_LONG): Use gl_PATHMAX_SNIPPET_PREREQ and gl_PATHMAX_SNIPPET. * m4/getcwd-abort-bug.m4 (gl_FUNC_GETCWD_ABORT_BUG): Likewise. * m4/getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Likewise. * modules/chdir-long (Files): Add m4/pathmax.m4. * modules/getcwd (Files): Likewise.
Diffstat (limited to 'modules')
-rw-r--r--modules/chdir-long1
-rw-r--r--modules/getcwd1
2 files changed, 2 insertions, 0 deletions
diff --git a/modules/chdir-long b/modules/chdir-long
index a456b1385b..7f54760ee4 100644
--- a/modules/chdir-long
+++ b/modules/chdir-long
@@ -5,6 +5,7 @@ Files:
lib/chdir-long.h
lib/chdir-long.c
m4/chdir-long.m4
+m4/pathmax.m4
Depends-on:
unistd
diff --git a/modules/getcwd b/modules/getcwd
index 6a030bac51..c68cd8ea98 100644
--- a/modules/getcwd
+++ b/modules/getcwd
@@ -6,6 +6,7 @@ lib/getcwd.c
m4/getcwd-abort-bug.m4
m4/getcwd-path-max.m4
m4/getcwd.m4
+m4/pathmax.m4
Depends-on:
unistd