Use cygpath to workaround the problem of moztools being on non-cygwin drive mounts.

Thanks to Brian Ryner <bryner@netscape.com> for the patch.
Bug #135391 r=cls a=rjesup


git-svn-id: svn://10.0.0.236/trunk@118352 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cls%seawood.org
2002-04-06 07:09:37 +00:00
parent 7942bc367b
commit 6006bc5144

View File

@@ -971,7 +971,7 @@ case "$target" in
if test "$?" != "0" || test -z "$MOZ_TOOLS_DIR"; then
AC_MSG_ERROR([cd \$MOZ_TOOLS failed. MOZ_TOOLS ==? $MOZ_TOOLS])
fi
MOZ_TOOLS_DIR=`echo $MOZ_TOOLS_DIR | sed -e 's|^/cygdrive/||' -e 's|/|:/|'`
MOZ_TOOLS_DIR=`cygpath -w $MOZ_TOOLS_DIR | sed -e 's|\\\\|/|g'`
GLIB_CFLAGS='-I$(MOZ_TOOLS_DIR)/include'
GLIB_LIBS='$(MOZ_TOOLS_DIR)/lib/glib-1.2.lib'
LIBIDL_CFLAGS='-I$(MOZ_TOOLS_DIR)/include'