#DPATCHLEVEL=0 --- directfb-config.in 2005-08-04 23:45:28.000000000 +0300 +++ directfb-config.in 2006-04-14 20:55:17.000000000 +0300 @@ -98,6 +98,11 @@ while test $# -gt 0; do for i in `echo $optarg | sed 's/,/ /g'`; do echo_graphics="$echo_graphics $moduledir/gfxdrivers/libdirectfb_$i.o" + case $i in + matrox) + echo_graphics="$echo_graphics @SYSFS_LIBS@" + ;; + esac done echo_static=yes @@ -126,6 +131,9 @@ while test $# -gt 0; do for i in `echo $optarg | sed 's/,/ /g'`; do echo_system="$echo_system $moduledir/systems/libdirectfb_$i.o" case $i in + fbdev) + echo_system="$echo_system @SYSFS_LIBS@" + ;; sdl) echo_system="$echo_system @SDL_LIBS@" ;; @@ -233,7 +241,7 @@ if test -n "$echo_static"; then echo -static if test -z "$echo_system"; then - echo $moduledir/systems/libdirectfb_fbdev.o + echo $moduledir/systems/libdirectfb_fbdev.o @SYSFS_LIBS@ fi if test -z "$echo_wm"; then