+directfb="no"
Should be ="" (aka autodetect).
+if test "$directfb" = "yes" ; then + directfb_libs=`directfb-config --libs` + directfb_cflags=`directfb-config --cflags` + libs_softmmu="$directfb_libs $libs_softmmu" +fi
use pkgconfig here. directfb-config most likely is just a pkgconfig wrapper anyway.
cheeers, Gerd