fix for configuring for X11 support

This commit is contained in:
nehalmistry 2003-02-18 03:11:53 +00:00
parent 42def70792
commit b1c4a02314

9
setup
View file

@ -486,7 +486,7 @@ case $VIDSEL in
;;
[bB])
echo -n "-> Using SDL/SVGALIB"
echo "-> Using SDL/SVGALIB"
USESDL=1
SDLLIB="\$(shell $SDL_CONFIG --libs)"
echo "SDL = -DUSE_SDL -DUSE_SDLA \$(SDL_CFLAGS)" >> $RULESFILE
@ -497,6 +497,13 @@ case $VIDSEL in
echo "VIDEOLIB = \$(SDLLIB) -lvga -lvgagl $DL" >> $RULESFILE
echo
;;
[xX])
echo "-> Using X11"
echo "VIDEO = -DUSE_X11" >> $RULESFILE
echo "VIDEOLIB = -lXext -lX11 $DL" >> $RULESFILE
;;
*)
echo -n "-> Using SDL"
USESDL=1