mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 19:08:32 +08:00
Update SDL 1.x to look towards our own internal copy IF the one
compiling our source has first compiled and built SDL 1.x within our source dir.
This commit is contained in:
@@ -76,6 +76,10 @@ AC_ARG_ENABLE(sdl, [ --enable-sdl Enable SDL 1.x],
|
||||
SDL_CONFIG=$sdl_prefix/bin/sdl-config
|
||||
fi
|
||||
fi
|
||||
if test -x vs2015/sdl/linux-host/bin/sdl-config ; then
|
||||
SDL_CONFIG=vs2015/sdl/linux-host/bin/sdl-config
|
||||
PATH=vs2015/sdl/linux-host/bin:$PATH
|
||||
fi
|
||||
|
||||
AC_PATH_PROG(SDL_CONFIG, sdl-config, no)
|
||||
min_sdl_version=ifelse([$1], ,0.11.0,$1)
|
||||
|
4
configure
vendored
4
configure
vendored
@@ -6919,6 +6919,10 @@ fi
|
||||
SDL_CONFIG=$sdl_prefix/bin/sdl-config
|
||||
fi
|
||||
fi
|
||||
if test -x vs2015/sdl/linux-host/bin/sdl-config ; then
|
||||
SDL_CONFIG=vs2015/sdl/linux-host/bin/sdl-config
|
||||
PATH=vs2015/sdl/linux-host/bin:$PATH
|
||||
fi
|
||||
|
||||
# Extract the first word of "sdl-config", so it can be a program name with args.
|
||||
set dummy sdl-config; ac_word=$2
|
||||
|
Reference in New Issue
Block a user