configure.in
changeset 5199 164f20ba08eb
parent 5183 227d81a4b66c
child 5225 5d01d426f2ea
     1.1 --- a/configure.in	Sat Feb 05 16:02:30 2011 -0800
     1.2 +++ b/configure.in	Sat Feb 05 16:07:10 2011 -0800
     1.3 @@ -1312,8 +1312,7 @@
     1.4          video_directfb=no
     1.5  
     1.6          DIRECTFB_REQUIRED_VERSION=1.0.0
     1.7 -
     1.8 -        AC_PATH_PROG(DIRECTFBCONFIG, directfb-config, no)
     1.9 +        AC_PATH_PROGS(DIRECTFBCONFIG, directfb-config, no, [$prefix/bin:$PATH])
    1.10          if test x$DIRECTFBCONFIG = xno; then
    1.11              AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
    1.12              if test x$PKG_CONFIG != xno; then
    1.13 @@ -1353,13 +1352,15 @@
    1.14                                , enable_directfb_shared=yes)
    1.15  
    1.16              AC_DEFINE(SDL_VIDEO_DRIVER_DIRECTFB)
    1.17 +            AC_DEFINE(SDL_VIDEO_RENDER_DIRECTFB)
    1.18              SOURCES="$SOURCES $srcdir/src/video/directfb/*.c"
    1.19              EXTRA_CFLAGS="$EXTRA_CFLAGS $DIRECTFB_CFLAGS"
    1.20  
    1.21              AC_MSG_CHECKING(for directfb dynamic loading support)
    1.22              directfb_shared=no
    1.23 -            directfb_lib=[`find_lib "libdirectfb.so.*" "$DIRECTFB_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
    1.24 -
    1.25 +            directfb_lib=[`find_lib "libdirectfb.so.*" "$DIRECTFB_LIBS"`]
    1.26 +            # | sed 's/.*\/\(.*\)/\1/; q'`]
    1.27 +AC_MSG_WARN("directfb $directfb_lib")
    1.28              if test x$have_loadso != xyes && \
    1.29                 test x$enable_directfb_shared = xyes; then
    1.30                  AC_MSG_WARN([You must have SDL_LoadObject() support for dynamic directfb loading])