mirror of
https://git.proxmox.com/git/qemu
synced 2025-08-08 11:22:52 +00:00
Configure check for graphical output (Paul Brook)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1460 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
c98baaac2f
commit
97ccc689e6
11
configure
vendored
11
configure
vendored
@ -84,6 +84,7 @@ linux="no"
|
|||||||
kqemu="no"
|
kqemu="no"
|
||||||
kernel_path=""
|
kernel_path=""
|
||||||
cocoa="no"
|
cocoa="no"
|
||||||
|
check_gfx="yes"
|
||||||
|
|
||||||
# OS specific
|
# OS specific
|
||||||
targetos=`uname -s`
|
targetos=`uname -s`
|
||||||
@ -186,6 +187,8 @@ for opt do
|
|||||||
;;
|
;;
|
||||||
--enable-cocoa) cocoa="yes" ; sdl="no"
|
--enable-cocoa) cocoa="yes" ; sdl="no"
|
||||||
;;
|
;;
|
||||||
|
--disable-gfx-check) check_gfx="no"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
@ -613,6 +616,14 @@ if expr $target : '.*-user' > /dev/null ; then
|
|||||||
target_user_only="yes"
|
target_user_only="yes"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test "$target_user_only" = "no" -a "$check_gfx" = "yes" \
|
||||||
|
-a "$sdl" = "no" -a "$cocoa" = "no" ; then
|
||||||
|
echo "ERROR: QEMU requires SDL or Cocoa for graphical output"
|
||||||
|
echo "To build QEMU with graphical output configure with --disable-gfx-check"
|
||||||
|
echo "Note that this will disable all output from the virtual graphics card."
|
||||||
|
exit 1;
|
||||||
|
fi
|
||||||
|
|
||||||
#echo "Creating $config_mak, $config_h and $target_dir/Makefile"
|
#echo "Creating $config_mak, $config_h and $target_dir/Makefile"
|
||||||
|
|
||||||
mkdir -p $target_dir
|
mkdir -p $target_dir
|
||||||
|
Loading…
Reference in New Issue
Block a user