From 5ebfb62e3ebefb08a29c7ed49c1bb9e22a796381 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 11 Mar 2011 14:24:35 -0800 Subject: [PATCH] We don't want to remove SDL_config.h since it's in source control now. --- configure | 6 +----- configure.in | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/configure b/configure index 4e6c3432c..2bdb64092 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.in b/configure.in index 4fddcd30f..494a18126 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