comparison configure @ 20239:f3d5057ebb59

Remove Linux test from DirectFB check, it runs on some BSD systems at least.
author diego
date Sun, 15 Oct 2006 16:47:17 +0000
parents 3cf137e11d5f
children dcb30d2b503b
comparison
equal deleted inserted replaced
20238:acbcafd891ff 20239:f3d5057ebb59
3712 3712
3713 3713
3714 echocheck "DirectFB" 3714 echocheck "DirectFB"
3715 if test "$_directfb" = auto ; then 3715 if test "$_directfb" = auto ; then
3716 _directfb=no 3716 _directfb=no
3717 if linux; then 3717 cat > $TMPC <<EOF
3718 cat > $TMPC <<EOF
3719 #include <directfb.h> 3718 #include <directfb.h>
3720 int main(void) { IDirectFB *foo; DirectFBInit(0,0); return 0; } 3719 int main(void) { IDirectFB *foo; DirectFBInit(0,0); return 0; }
3721 EOF 3720 EOF
3722 for _inc_tmp in "" -I/usr/local/include/directfb \ 3721 for _inc_tmp in "" -I/usr/local/include/directfb \
3723 -I/usr/include/directfb -I/usr/local/include -I/usr/include; do 3722 -I/usr/include/directfb -I/usr/local/include -I/usr/include; do
3724 cc_check $_inc_tmp -ldirectfb && _directfb=yes && \ 3723 cc_check $_inc_tmp -ldirectfb && _directfb=yes && \
3725 _inc_extra="$_inc_extra $_inc_tmp" && break 3724 _inc_extra="$_inc_extra $_inc_tmp" && break
3726 done 3725 done
3727 fi
3728 fi 3726 fi
3729 3727
3730 dfb_version() { 3728 dfb_version() {
3731 expr $1 \* 65536 + $2 \* 256 + $3 3729 expr $1 \* 65536 + $2 \* 256 + $3
3732 } 3730 }