configure.in
changeset 6235 d169541f5049
parent 6219 8e94af244f2c
child 6250 cce0ddcf6747
     1.1 --- a/configure.in	Wed Jan 18 22:45:49 2012 -0500
     1.2 +++ b/configure.in	Thu Jan 19 01:55:51 2012 -0500
     1.3 @@ -1,6 +1,6 @@
     1.4  dnl Process this file with autoconf to produce a configure script.
     1.5  AC_INIT(README)
     1.6 -AC_CONFIG_HEADER(include/SDL_config_generated.h)
     1.7 +AC_CONFIG_HEADER(include/SDL_config.h)
     1.8  AC_GNU_SOURCE
     1.9  AC_CONFIG_AUX_DIR(build-scripts)
    1.10  AC_CONFIG_MACRO_DIR([acinclude])
    1.11 @@ -65,7 +65,7 @@
    1.12  elif test -d .hg; then
    1.13      AC_MSG_ERROR([
    1.14  *** When building from Mercurial you should configure and build in a
    1.15 -    separate directory so you don't clobber SDL_revision.h
    1.16 +    separate directory so you don't clobber SDL_config.h, SDL_revision.h
    1.17  ])
    1.18  fi
    1.19  case "$host" in
    1.20 @@ -82,7 +82,7 @@
    1.21  # Uncomment the following line if you want to force SDL and applications
    1.22  # built with it to be compiled for a particular architecture.
    1.23  #AX_GCC_ARCHFLAG([no], [BASE_CFLAGS="$BASE_CFLAGS $ax_cv_gcc_archflag]")
    1.24 -BUILD_CFLAGS="$CFLAGS $CPPFLAGS -DGENERATED_CONFIG_H"
    1.25 +BUILD_CFLAGS="$CFLAGS $CPPFLAGS -DUSING_GENERATED_CONFIG_H"
    1.26  # The default optimization for SDL 1.3 is -O3 (Bug #31)
    1.27  if test x$orig_CFLAGS = x; then
    1.28      BUILD_CFLAGS=`echo $BUILD_CFLAGS | sed 's/-O2/-O3/'`