From: notaz Date: Sun, 6 Aug 2017 18:21:35 +0000 (+0300) Subject: configure: allow to override SDL_CONFIG X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbf31d2c254c956a0b497e3021610ce3a5ff0748;p=picodrive.git configure: allow to override SDL_CONFIG --- 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"