--- configure.orig Sat Nov 12 20:05:56 2005 +++ configure Sat Nov 12 20:08:47 2005 @@ -4455,7 +4455,7 @@ fi -test x$enable_etc = xyes && configdir="--configdir /etc/$prognamebase" +test x$enable_etc = xyes && configdir="--configdir $prefix/etc/$prognamebase" @@ -8878,7 +8878,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lSDL `sdl-config --libs` $LIBS" +LIBS="`sdl-config --libs` $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -8941,9 +8941,7 @@ CPPFLAGS="$CPPFLAGS `sdl-config --cflags`" export CPPFLAGS export CXXFLAGS -for LIBRARY in `sdl-config --libs`; do - echo "$LIBRARY" | grep "^-l" > /dev/null && LIBS="$LIBRARY $LIBS" -done +LIBS="`sdl-config --libs` $LIBS" export LIBS cat >>confdefs.h <<\_ACEOF #define HAVE_LIBSDL 1