@@ -217,7 +217,7 @@ spice=""
217
217
rbd=" "
218
218
smartcard_nss=" "
219
219
usb_redir=" "
220
- opengl =" "
220
+ glx =" "
221
221
zlib=" yes"
222
222
guest_agent=" yes"
223
223
want_tools=" yes"
@@ -858,9 +858,9 @@ for opt do
858
858
;;
859
859
--enable-vhost-net) vhost_net=" yes"
860
860
;;
861
- --disable-opengl) opengl =" no"
861
+ --disable-glx) glx =" no"
862
862
;;
863
- --enable-opengl) opengl =" yes"
863
+ --enable-glx) glx =" yes"
864
864
;;
865
865
--disable-rbd) rbd=" no"
866
866
;;
@@ -2435,23 +2435,23 @@ EOF
2435
2435
fi
2436
2436
2437
2437
# #########################################
2438
- # opengl probe, used by milkymist-tmu2
2439
- if test " $opengl " ! = " no" ; then
2440
- opengl_libs =" -lGL -lX11"
2438
+ # GLX probe, used by milkymist-tmu2
2439
+ if test " $glx " ! = " no" ; then
2440
+ glx_libs =" -lGL -lX11"
2441
2441
cat > $TMPC << EOF
2442
2442
#include <X11/Xlib.h>
2443
2443
#include <GL/gl.h>
2444
2444
#include <GL/glx.h>
2445
2445
int main(void) { glBegin(0); glXQueryVersion(0,0,0); return 0; }
2446
2446
EOF
2447
2447
if compile_prog " " " -lGL -lX11" ; then
2448
- opengl =yes
2448
+ glx =yes
2449
2449
else
2450
- if test " $opengl " = " yes" ; then
2451
- feature_not_found " opengl "
2450
+ if test " $glx " = " yes" ; then
2451
+ feature_not_found " glx "
2452
2452
fi
2453
- opengl_libs =
2454
- opengl =no
2453
+ glx_libs =
2454
+ glx =no
2455
2455
fi
2456
2456
fi
2457
2457
@@ -3429,7 +3429,7 @@ echo "rbd support $rbd"
3429
3429
echo " xfsctl support $xfs "
3430
3430
echo " nss used $smartcard_nss "
3431
3431
echo " usb net redir $usb_redir "
3432
- echo " OpenGL support $opengl "
3432
+ echo " GLX support $glx "
3433
3433
echo " libiscsi support $libiscsi "
3434
3434
echo " build guest agent $guest_agent "
3435
3435
echo " seccomp support $seccomp "
@@ -3740,8 +3740,8 @@ if test "$usb_redir" = "yes" ; then
3740
3740
echo " CONFIG_USB_REDIR=y" >> $config_host_mak
3741
3741
fi
3742
3742
3743
- if test " $opengl " = " yes" ; then
3744
- echo " CONFIG_OPENGL =y" >> $config_host_mak
3743
+ if test " $glx " = " yes" ; then
3744
+ echo " CONFIG_GLX =y" >> $config_host_mak
3745
3745
fi
3746
3746
3747
3747
if test " $libiscsi " = " yes" ; then
@@ -4019,7 +4019,7 @@ case "$target_arch2" in
4019
4019
target_nptl=" yes"
4020
4020
;;
4021
4021
lm32)
4022
- target_libs_softmmu=" $opengl_libs "
4022
+ target_libs_softmmu=" $glx_libs "
4023
4023
;;
4024
4024
m68k)
4025
4025
bflt=" yes"
0 commit comments