summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2011-03-11 14:24:35 -0800
committerSam Lantinga <slouken@libsdl.org>2011-03-11 14:24:35 -0800
commit0f3c139a87f98d1e9293d028f365f5b807164c2c (patch)
tree8dbf9d6a4146dbc6ef070b04f6922a3dc8c9396e /configure.in
parent64db8ae2c60f12cfe22c6ef2a91894784f59d9a6 (diff)
We don't want to remove SDL_config.h since it's in source control now.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 1 insertions, 5 deletions
diff --git a/configure.in b/configure.in
index 4fddcd30..494a1812 100644
--- a/configure.in
+++ b/configure.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