comparison configure @ 330:3c7ce767bb32

-lXdpms autodetection
author arpi_esp
date Tue, 10 Apr 2001 21:25:09 +0000
parents 639dec99c0fd
children 601822cc8c52
comparison
equal deleted inserted replaced
329:a476981431f7 330:3c7ce767bb32
170 _dga=no 170 _dga=no
171 _dga2=no 171 _dga2=no
172 _svga=no 172 _svga=no
173 _fbdev=no 173 _fbdev=no
174 _lirc=no 174 _lirc=no
175 _xdpms=no
175 176
176 _x=1 177 _x=1
177 _y=1 178 _y=1
178 179
179 _gllib= 180 _gllib=
361 362
362 $_cc $TMPC -o $TMPO $_x11libdir/ -lGL &> /dev/null && _gl=yes 363 $_cc $TMPC -o $TMPO $_x11libdir/ -lGL &> /dev/null && _gl=yes
363 $_cc $TMPC -o $TMPO $_x11libdir/ -lXxf86vm &> /dev/null && _vm=yes 364 $_cc $TMPC -o $TMPO $_x11libdir/ -lXxf86vm &> /dev/null && _vm=yes
364 $_cc $TMPC -o $TMPO -lvgagl -lvga &> /dev/null && _svga=yes 365 $_cc $TMPC -o $TMPO -lvgagl -lvga &> /dev/null && _svga=yes
365 $_cc $TMPC -o $TMPO $_x11libdir -lX11 -lXext &> /dev/null && _x11=yes 366 $_cc $TMPC -o $TMPO $_x11libdir -lX11 -lXext &> /dev/null && _x11=yes
367 $_cc $TMPC -o $TMPO $_x11libdir -lX11 -lXext -lXdpms &> /dev/null && _xdpms=yes
366 $_cc $TMPC -o $TMPO $_x11libdir -lXv &> /dev/null && _xv=yes 368 $_cc $TMPC -o $TMPO $_x11libdir -lXv &> /dev/null && _xv=yes
367 $_cc $TMPC -o $TMPO $_x11libdir -L/usr/local/lib/ -lpthread &> /dev/null || \ 369 $_cc $TMPC -o $TMPO $_x11libdir -L/usr/local/lib/ -lpthread &> /dev/null || \
368 { echo "Lib pthread not found."; rm -f $TMPC $TMPO ; exit 1; } 370 { echo "Lib pthread not found."; rm -f $TMPC $TMPO ; exit 1; }
369 371
370 # SDL disabled by default (0.11pre22-) because of the compilation problems 372 # SDL disabled by default (0.11pre22-) because of the compilation problems
592 if [ $_gl = yes ]; then 594 if [ $_gl = yes ]; then
593 _gllib='-lGL' 595 _gllib='-lGL'
594 fi 596 fi
595 597
596 if [ $_x11 = yes ]; then 598 if [ $_x11 = yes ]; then
597 _x11lib='-lX11 -lXext -lXdpms' 599 if [ $_xdpms = yes ]; then
600 _x11lib='-lX11 -lXext -lXdpms'
601 else
602 _x11lib='-lX11 -lXext'
603 fi
598 fi 604 fi
599 605
600 if [ $_xv = yes ]; then 606 if [ $_xv = yes ]; then
601 _xvlib='-lXv' 607 _xvlib='-lXv'
602 fi 608 fi