summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorjinhyung.jo <jinhyung.jo@samsung.com>2014-04-25 21:47:11 +0900
committerjinhyung.jo <jinhyung.jo@samsung.com>2014-04-29 16:08:58 +0900
commit9a82c7ed7a96394b8f049c1237f5f82f1ec4fed1 (patch)
tree71ed1ad4af43bc1f789b86a46593fb9d88eb0e77 /configure
parent35b6643e2993cef40d765e37d6d8d8006279c320 (diff)
downloadqemu-9a82c7ed7a96394b8f049c1237f5f82f1ec4fed1.tar.gz
qemu-9a82c7ed7a96394b8f049c1237f5f82f1ec4fed1.tar.bz2
qemu-9a82c7ed7a96394b8f049c1237f5f82f1ec4fed1.zip
VirtGL: remove device
From now on, we use YaGL device. Change-Id: Ice1be9eb1fe135b15475c3b51ee5b82f7b503d37 Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure35
1 files changed, 4 insertions, 31 deletions
diff --git a/configure b/configure
index 0a0a5b0acc..6bb2f44954 100755
--- a/configure
+++ b/configure
@@ -319,7 +319,6 @@ libnfs=""
coroutine=""
coroutine_pool=""
seccomp=""
-gl="yes"
# for TIZEN-maru
maru="no"
@@ -909,10 +908,6 @@ for opt do
;;
--enable-kvm) kvm="yes"
;;
- --disable-gl) gl="no"
- ;;
- --enable-gl) gl="yes"
- ;;
--disable-hax) hax="no"
;;
--enable-hax) hax="yes"
@@ -1409,8 +1404,6 @@ Advanced options (experts only):
--disable-hax disable HAX acceleration support
--enable-hax enable HAX acceleration support
- --disable-gl disable GL acceleration support
- --enable-gl enable GL acceleration support
--enable-yagl enable YaGL device
--disable-yagl disable YaGL device
--enable-yagl-stats enable YaGL stats
@@ -4340,7 +4333,6 @@ echo "lzo support $lzo"
echo "snappy support $snappy"
echo "HAX support $hax"
-echo "GL support $gl"
echo "YaGL support $yagl"
echo "YaGL stats $yagl_stats"
echo "OpenGL support $opengl"
@@ -4666,11 +4658,12 @@ fi
if test "$yagl" = "yes" ; then
echo "CONFIG_YAGL=y" >> $config_host_mak
if test "$linux" = "yes" ; then
- echo -n;
+ LIBS="-lGLU -ldl $LIBS"
elif test "$mingw32" = "yes" ; then
- echo -n;
+ LIBS="-lopengl32 -lglu32 $LIBS"
elif test "$darwin" = "yes" ; then
- echo -n; else
+ LIBS="-framework OpenGL -framework AGL -framework GLUT $LIBS"
+ else
echo "ERROR: YaGL is not available on $targetos"
exit 1
fi
@@ -4836,9 +4829,6 @@ fi
if test "$shm" = "yes" ; then
echo "CONFIG_USE_SHM=y" >> $config_host_mak
fi
-if test "$gl" = "yes" ; then
- echo "CONFIG_GL_BACKEND=y" >> $config_host_mak
-fi
if test "$libav" = "yes" ; then
echo "CONFIG_LIBAV=y" >> $config_host_mak
fi
@@ -5227,23 +5217,6 @@ if test "$hax" = "yes" ; then
echo "CONFIG_NO_HAX=y" >> $config_target_mak
fi
fi
-if test "$gl" = "yes" ; then
- case "$target_name" in
- i386|x86_64|arm)
- echo "CONFIG_GL=y" >> $config_target_mak
- if test "$mingw32" = "yes" ; then
- echo "LIBS+=-lopengl32 -lglu32" >> $config_target_mak
- elif test "$darwin" = "yes" ; then
- echo "LIBS+=-framework OpenGL -framework AGL " >> $config_target_mak
- else
- echo "LIBS+=-lGLU -ldl" >> $config_target_mak
- fi
- ;;
- *)
- echo "CONFIG_NO_GL=y" >> $config_target_mak
- ;;
- esac
-fi
if test "$target_bigendian" = "yes" ; then
echo "TARGET_WORDS_BIGENDIAN=y" >> $config_target_mak
fi