changeset 5482 | 2c0477323626 |
parent 5475 | 9c07ec632b24 |
child 5512 | 56ab281d7d3e |
--- a/configure Sat Mar 12 13:21:57 2011 -0800 +++ b/configure Sat Mar 12 13:28:56 2011 -0800 @@ -15474,7 +15474,11 @@ INCLUDE="-I$srcdir/include" if test x$srcdir != x.; then - # We want to include the generated SDL_config.h first + # 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 INCLUDE="-Iinclude $INCLUDE" fi case "$host" in