* lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether

`dirname -- /' returns `/', for SunOS dirname scripts that escaped.
Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>.
This commit is contained in:
Ralf Wildenhues 2006-05-30 23:24:55 +00:00
parent 5c407d5b48
commit 7548e5acd6
3 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether
`dirname -- /' returns `/', for SunOS dirname scripts that escaped.
Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>.
2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND,

4
configure vendored
View File

@ -459,7 +459,7 @@ test \$exitcode = 0") || {
}
if (dirname -- /) >/dev/null 2>&1; then
if (as_dir=`dirname -- /` && test "$as_dir" = /) >/dev/null 2>&1; then
as_dirname=dirname
else
as_dirname=false
@ -3138,7 +3138,7 @@ $as_unset CDPATH
}
if (dirname -- /) >/dev/null 2>&1; then
if (as_dir=`dirname -- /` && test "$as_dir" = /) >/dev/null 2>&1; then
as_dirname=dirname
else
as_dirname=false

View File

@ -755,7 +755,7 @@ _AS_DIRNAME_SED([$1])])
# _AS_DIRNAME_PREPARE
# --------------------
m4_defun([_AS_DIRNAME_PREPARE],
[if (dirname -- /) >/dev/null 2>&1; then
[if (as_dir=`dirname -- /` && test "$as_dir" = /) >/dev/null 2>&1; then
as_dirname=dirname
else
as_dirname=false