diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-03-01 21:37:28 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-03-01 21:37:28 +0000 |
commit | 5b0753e0d8dfca5a33edcd3cc1306bb5d0594005 (patch) | |
tree | b12b8b3448c6335cbb75cbdd44a21e34cbfde8c5 /configure | |
parent | 157777ef3e5821643ef46470bc0fecfda9d06ece (diff) |
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-x | configure | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 |