configure
changeset 619 96f84395154f
parent 618 564a4a9862b1
child 629 b9274b595650
--- a/configure	Wed Dec 09 15:46:35 2009 +0100
+++ b/configure	Mon Dec 14 20:58:34 2009 +0100
@@ -555,7 +555,7 @@
 		SUB_PREFIX=/usr/local
 		echo "Not cross-compiling. Will install in $SUB_PREFIX";
 	else
-		SUB_PREFIX=/usr/`$CC -dumpmachine`
+		SUB_PREFIX=/usr/`$CC -dumpmachine | tr -d '\r\n'`
 		echo "This is a cross-compiler. Will install in $SUB_PREFIX";			
 	fi
 fi