--- configure Sun Dec 25 16:08:14 2005 +++ configure Wed Apr 5 21:28:25 2006 @@ -2800,7 +2800,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lSDL $LIBS" +LIBS="`sdl-config --libs` $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -2862,7 +2862,7 @@ #define HAVE_LIBSDL 1 _ACEOF - LIBS="-lSDL $LIBS" + LIBS="`sdl-config --libs` $LIBS" else \