Add check to see if 'cd $MOZ_TOOLS && pwd` failed.

git-svn-id: svn://10.0.0.236/trunk@113558 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
seawood%netscape.com
2002-02-03 04:34:43 +00:00
parent 024ca97902
commit f3c761d348
2 changed files with 327 additions and 321 deletions

643
mozilla/configure vendored

File diff suppressed because it is too large Load Diff

View File

@@ -966,7 +966,10 @@ case "$target" in
fi
if test "$MOZ_TOOLS"; then
_MOZTOOLS=`cd $MOZ_TOOLS ; pwd`
_MOZTOOLS=`cd $MOZ_TOOLS && pwd`
if test "$?" != "0" || test -z "$_MOZTOOLS"; then
AC_MSG_ERROR([cd \$MOZ_TOOLS failed. MOZ_TOOLS ==? $MOZ_TOOLS])
fi
_MOZTOOLS=`echo $_MOZTOOLS | sed -e 's|^/cygdrive/||' -e 's|/|:/|'`
GLIB_CFLAGS="-I${_MOZTOOLS}/include"
GLIB_LIBS="${_MOZTOOLS}/lib/glib-1.2.lib"