We don't want to remove SDL_config.h since it's in source control now.

This commit is contained in:
Sam Lantinga 2011-03-11 14:24:35 -08:00
parent 64db8ae2c6
commit 0f3c139a87
2 changed files with 2 additions and 10 deletions

6
configure vendored
View File

@ -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

View File

@ -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