srcdir is already made an absolute path by autoconf

This commit is contained in:
jjgarcia 2003-11-12 14:20:32 +00:00
parent 8bbc5146a6
commit edc0ac77b2
3 changed files with 0 additions and 29 deletions

17
src/aclocal.m4 vendored
View file

@ -73,23 +73,6 @@ EOF
fi
])
dnl --------------------------------------------------------------
dnl Make srcdir absolute, if it isn't already. It's important to
dnl avoid running the path through pwd unnecessarily, since pwd can
dnl give you automounter prefixes, which can go away.
dnl
AC_DEFUN(ECL_MAKE_ABSOLUTE_SRCDIR,[
if uname -a | grep -i 'mingw32' > /dev/null; then
PWDCMD="pwd -W";
else
PWDCMD="pwd";
fi
case "${srcdir}" in
/* | ?:/* ) ;;
* ) srcdir="`(cd ${srcdir}; ${PWDCMD})`";
esac
])
dnl
dnl --------------------------------------------------------------
dnl Define a name for this operating system and set some defaults

11
src/configure vendored
View file

@ -3824,17 +3824,6 @@ echo "$as_me: error: The program DPP is not installed in your system" >&2;}
fi
if uname -a | grep -i 'mingw32' > /dev/null; then
PWDCMD="pwd -W";
else
PWDCMD="pwd";
fi
case "${srcdir}" in
/* | ?:/* ) ;;
* ) srcdir="`(cd ${srcdir}; ${PWDCMD})`";
esac
#### Some command variations:

View file

@ -158,7 +158,6 @@ dnl ----------------------------------------------------------------------
dnl Checks which do not come with autoconf
dnl
ECL_CROSS_CONFIG()
ECL_MAKE_ABSOLUTE_SRCDIR()
ECL_GUESS_HOST_OS()
ECL_LINEFEED_MODE()
ECL_FIND_SETJMP()