84 |
kqemu="no" |
kqemu="no" |
85 |
kernel_path="" |
kernel_path="" |
86 |
cocoa="no" |
cocoa="no" |
87 |
|
check_gfx="yes" |
88 |
|
|
89 |
# OS specific |
# OS specific |
90 |
targetos=`uname -s` |
targetos=`uname -s` |
187 |
;; |
;; |
188 |
--enable-cocoa) cocoa="yes" ; sdl="no" |
--enable-cocoa) cocoa="yes" ; sdl="no" |
189 |
;; |
;; |
190 |
|
--disable-gfx-check) check_gfx="no" |
191 |
|
;; |
192 |
esac |
esac |
193 |
done |
done |
194 |
|
|
616 |
target_user_only="yes" |
target_user_only="yes" |
617 |
fi |
fi |
618 |
|
|
619 |
|
if test "$target_user_only" = "no" -a "$check_gfx" = "yes" \ |
620 |
|
-a "$sdl" = "no" -a "$cocoa" = "no" ; then |
621 |
|
echo "ERROR: QEMU requires SDL or Cocoa for graphical output" |
622 |
|
echo "To build QEMU with graphical output configure with --disable-gfx-check" |
623 |
|
echo "Note that this will disable all output from the virtual graphics card." |
624 |
|
exit 1; |
625 |
|
fi |
626 |
|
|
627 |
#echo "Creating $config_mak, $config_h and $target_dir/Makefile" |
#echo "Creating $config_mak, $config_h and $target_dir/Makefile" |
628 |
|
|
629 |
mkdir -p $target_dir |
mkdir -p $target_dir |