From cbf31d2c254c956a0b497e3021610ce3a5ff0748 Mon Sep 17 00:00:00 2001 From: notaz Date: Sun, 6 Aug 2017 21:21:35 +0300 Subject: [PATCH] configure: allow to override SDL_CONFIG --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 96cea7e2..9ccd2da9 100755 --- a/configure +++ b/configure @@ -52,7 +52,7 @@ CC="${CC-${CROSS_COMPILE}gcc}" CXX="${CXX-${CROSS_COMPILE}g++}" AS="${AS-${CROSS_COMPILE}as}" STRIP="${STRIP-${CROSS_COMPILE}strip}" -SDL_CONFIG="`$CC --print-sysroot 2> /dev/null || true`/usr/bin/sdl-config" +test -n "$SDL_CONFIG" || SDL_CONFIG="`$CC --print-sysroot 2> /dev/null || true`/usr/bin/sdl-config" MAIN_LDLIBS="$LDLIBS -lm" config_mak="config.mak" -- 2.39.5