projects
/
debian
/
tar
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Import upstream version 1.29
[debian/tar]
/
m4
/
getcwd.m4
diff --git
a/m4/getcwd.m4
b/m4/getcwd.m4
index fc986cdab5feb095e122577742e710867e47329d..b9fbcec2e4d462c4825d7b8f378c0fbd06640ede 100644
(file)
--- a/
m4/getcwd.m4
+++ b/
m4/getcwd.m4
@@
-1,6
+1,6
@@
# getcwd.m4 - check for working getcwd that is compatible with glibc
# getcwd.m4 - check for working getcwd that is compatible with glibc
-# Copyright (C) 2001, 2003-2007, 2009-201
4
Free Software Foundation, Inc.
+# Copyright (C) 2001, 2003-2007, 2009-201
5
Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
@@
-136,11
+136,16
@@
AC_DEFUN([gl_FUNC_GETCWD],
[Define to 1 if getcwd works, except it sometimes fails when it
shouldn't, setting errno to ERANGE, ENAMETOOLONG, or ENOENT.])
;;
[Define to 1 if getcwd works, except it sometimes fails when it
shouldn't, setting errno to ERANGE, ENAMETOOLONG, or ENOENT.])
;;
+ "yes, but with shorter paths")
+ AC_DEFINE([HAVE_GETCWD_SHORTER], [1],
+ [Define to 1 if getcwd works, but with shorter paths
+ than is generally tested with the replacement.])
+ ;;
esac
if { case "$gl_cv_func_getcwd_null" in *yes) false;; *) true;; esac; } \
|| test $gl_cv_func_getcwd_posix_signature != yes \
esac
if { case "$gl_cv_func_getcwd_null" in *yes) false;; *) true;; esac; } \
|| test $gl_cv_func_getcwd_posix_signature != yes \
- ||
test "$gl_cv_func_getcwd_path_max" != yes
\
+ ||
{ case "$gl_cv_func_getcwd_path_max" in *yes*) false;; *) true;; esac; }
\
|| test $gl_abort_bug = yes; then
REPLACE_GETCWD=1
fi
|| test $gl_abort_bug = yes; then
REPLACE_GETCWD=1
fi