mirror of
https://github.com/joel16/SDL2.git
synced 2024-12-03 16:50:47 +00:00
We don't want to remove SDL_config.h since it's in source control now.
This commit is contained in:
parent
64db8ae2c6
commit
0f3c139a87
6
configure
vendored
6
configure
vendored
@ -15474,11 +15474,7 @@ done
|
||||
|
||||
INCLUDE="-I$srcdir/include"
|
||||
if test x$srcdir != x.; then
|
||||
# Remove SDL_config.h from the source directory, since it's the
|
||||
# default one, and we want to include the one that we generate.
|
||||
if test -f $srcdir/include/SDL_config.h; then
|
||||
rm $srcdir/include/SDL_config.h
|
||||
fi
|
||||
# We want to include the generated SDL_config.h first
|
||||
INCLUDE="-Iinclude $INCLUDE"
|
||||
fi
|
||||
case "$host" in
|
||||
|
@ -65,11 +65,7 @@ AC_CHECK_PROGS(WINDRES, [windres $hostaliaswindres $host_os-windres])
|
||||
dnl Set up the compiler and linker flags
|
||||
INCLUDE="-I$srcdir/include"
|
||||
if test x$srcdir != x.; then
|
||||
# Remove SDL_config.h from the source directory, since it's the
|
||||
# default one, and we want to include the one that we generate.
|
||||
if test -f $srcdir/include/SDL_config.h; then
|
||||
rm $srcdir/include/SDL_config.h
|
||||
fi
|
||||
# We want to include the generated SDL_config.h first
|
||||
INCLUDE="-Iinclude $INCLUDE"
|
||||
fi
|
||||
case "$host" in
|
||||
|
Loading…
Reference in New Issue
Block a user