$FreeBSD$ --- configure.orig +++ configure @@ -39576,7 +39576,7 @@ if test "$with_libvisual" = "yes"; then ## libvisual plugin depends on sdl # Extract the first word of "sdl-config", so it can be a program name with args. -set dummy sdl-config; ac_word=$2 +set dummy $SDL_CONFIG; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_SDL_CONFIG+set}" = set; then @@ -39613,15 +39613,15 @@ - if test x$SDL_CONFIG = xyes; then - sdl_cflags=`sdl-config --cflags` - sdl_libs=`sdl-config --libs` + if test -n $SDL_CONFIG ; then + sdl_cflags=`$SDL_CONFIG --cflags` + sdl_libs=`$SDL_CONFIG --libs` fi - if test x$PKGCONFIGFOUND = xyes -a x$SDL_CONFIG = xyes; then + if test x$PKGCONFIGFOUND = xyes -a -n $SDL_CONFIG ; then succeeded=no