fixing 418775. ubuntu configure bustage caused us to remove setting topsrcdir for windows mobile correctly when building under msys or cygwin. r=bsmedberg, a=beltzner
authordougt@meer.net
Thu, 21 Feb 2008 12:53:16 -0800
changeset 12037 79fa7e71f3d92ed7faabf9547c5798dafa3359c6
parent 12036 daa4d44674bad35eadcfb31e3238033004099624
child 12038 ec92a031068971382927b3c95ccd78aa8bc3e158
push idunknown
push userunknown
push dateunknown
reviewersbsmedberg, beltzner
bugs418775
milestone1.9b4pre
fixing 418775. ubuntu configure bustage caused us to remove setting topsrcdir for windows mobile correctly when building under msys or cygwin. r=bsmedberg, a=beltzner
configure.in
--- a/configure.in
+++ b/configure.in
@@ -214,19 +214,17 @@ case "$target" in
 *wince)
     echo -----------------------------------------------------------------------------
     echo Building Windows CE Shunt Library and Tool Chain
     echo -----------------------------------------------------------------------------
 
     ac_exeext=.exe
 
     echo -n "#define TOPSRCDIR \"" > $srcdir/build/wince/tools/topsrcdir.h
-   	echo -n ${_topsrcdir} >> $srcdir/build/wince/tools/topsrcdir.h
-    echo -n \" >> $srcdir/build/wince/tools/topsrcdir.h
-
+    echo `cd "$_topsrcdir" && pwd -W | tr '\n' '\"'` >> $srcdir/build/wince/tools/topsrcdir.h
     make -C $srcdir/build/wince/tools
     echo -----------------------------------------------------------------------------
     ;;
 esac
 
 if test -n "$CROSS_COMPILE" && test "$target" != "$host"; then
     echo "cross compiling from $host to $target"
     cross_compiling=yes