We don't want to remove SDL_config.h since it's in source control now.
authorSam Lantinga <slouken@libsdl.org>
Fri, 11 Mar 2011 14:24:35 -0800
changeset 5475 9c07ec632b24
parent 5474 c2a1f62433e1
child 5476 fb1faf6c690f
We don't want to remove SDL_config.h since it's in source control now.
configure
configure.in
--- a/configure	Fri Mar 11 14:15:25 2011 -0800
+++ b/configure	Fri Mar 11 14:24:35 2011 -0800
@@ -15474,11 +15474,7 @@
 
 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
--- a/configure.in	Fri Mar 11 14:15:25 2011 -0800
+++ b/configure.in	Fri Mar 11 14:24:35 2011 -0800
@@ -65,11 +65,7 @@
 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