fix for configuring for X11 support
This commit is contained in:
parent
42def70792
commit
b1c4a02314
1 changed files with 8 additions and 1 deletions
9
setup
9
setup
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue