From: notaz Date: Sun, 6 Aug 2017 18:21:35 +0000 (+0300) Subject: configure: allow to override SDL_CONFIG X-Git-Tag: v1.92~55 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=picodrive.git;a=commitdiff_plain;h=6027c719ba015f2d820db3842148abbf62ea65a4 configure: allow to override SDL_CONFIG --- diff --git a/configure b/configure index 35130cb..1310ab2 100755 --- a/configure +++ b/configure @@ -54,7 +54,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"