From 6006bc5144ab2ae84551c2dd730d1528d4a3163c Mon Sep 17 00:00:00 2001 From: "cls%seawood.org" Date: Sat, 6 Apr 2002 07:09:37 +0000 Subject: [PATCH] Use cygpath to workaround the problem of moztools being on non-cygwin drive mounts. Thanks to Brian Ryner for the patch. Bug #135391 r=cls a=rjesup git-svn-id: svn://10.0.0.236/trunk@118352 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/configure.in b/mozilla/configure.in index 8c3ee112da2..e63b18fc0ab 100644 --- a/mozilla/configure.in +++ b/mozilla/configure.in @@ -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'