summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorbellard2005-03-01 22:37:28 +0100
committerbellard2005-03-01 22:37:28 +0100
commit5b0753e0d8dfca5a33edcd3cc1306bb5d0594005 (patch)
treeb12b8b3448c6335cbb75cbdd44a21e34cbfde8c5 /configure
parentSamba 3 support (diff)
downloadqemu-5b0753e0d8dfca5a33edcd3cc1306bb5d0594005.tar.gz
qemu-5b0753e0d8dfca5a33edcd3cc1306bb5d0594005.tar.xz
qemu-5b0753e0d8dfca5a33edcd3cc1306bb5d0594005.zip
initial Cocoa support (Pierre d'Herbemont)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1313 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure b/configure
index 6b83e38fbd..e7130038dd 100755
--- a/configure
+++ b/configure
@@ -83,6 +83,7 @@ fmod_inc=""
linux="no"
kqemu="no"
kernel_path=""
+cocoa="no"
# OS specific
targetos=`uname -s`
@@ -178,6 +179,8 @@ for opt do
;;
--kernel-path=*) kernel_path=${opt#--kernel-path=}
;;
+ --enable-cocoa) cocoa="yes" ; sdl="no"
+ ;;
esac
done
@@ -403,6 +406,9 @@ echo "host big endian $bigendian"
echo "target list $target_list"
echo "gprof enabled $gprof"
echo "static build $static"
+if test "$darwin" = "yes" ; then
+ echo "Cocoa support $cocoa"
+fi
echo "SDL support $sdl"
echo "SDL static link $sdl_static"
echo "mingw32 support $mingw32"
@@ -676,6 +682,11 @@ if test "$target_user_only" = "no"; then
fi
fi
+if test "$cocoa" = "yes" ; then
+ echo "#define CONFIG_COCOA 1" >> $config_h
+ echo "CONFIG_COCOA=yes" >> $config_mak
+fi
+
done # for target in $targets
# build tree in object directory if source path is different from current one