From: Blue Swirl Date: Tue, 17 Nov 2009 20:52:56 +0000 (+0000) Subject: Prevent configuring for a user emulator on a different type of OS X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~1405^2~17^2~6067 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9c7a420265c24b5917314d3976db8ca940642254;p=sdk%2Femulator%2Fqemu.git Prevent configuring for a user emulator on a different type of OS Signed-off-by: Blue Swirl --- diff --git a/configure b/configure index 73f8b7bb55..a49aaef32f 100755 --- a/configure +++ b/configure @@ -2172,14 +2172,26 @@ case "$target" in target_softmmu="yes" ;; ${target_arch2}-linux-user) + if test "$linux" != "yes" ; then + echo "ERROR: Target '$target' is only available on a Linux host" + exit 1 + fi target_user_only="yes" target_linux_user="yes" ;; ${target_arch2}-darwin-user) + if test "$darwin" != "yes" ; then + echo "ERROR: Target '$target' is only available on a Darwin host" + exit 1 + fi target_user_only="yes" target_darwin_user="yes" ;; ${target_arch2}-bsd-user) + if test "bsd" != "yes" ; then + echo "ERROR: Target '$target' is only available on a BSD host" + exit 1 + fi target_user_only="yes" target_bsd_user="yes" ;;