- fixed levels for new end seq code
[supertux.git] / configure.ac
index 6734517..e280bc9 100644 (file)
@@ -8,7 +8,7 @@ dnl ===========================================================================
 dnl Process this file with autoconf to produce a configure script.
 
 AC_PREREQ([2.54])
-AC_INIT(SuperTux, 0.0.7-cvs)
+AC_INIT(SuperTux, 0.1.0pre1)
 AC_CONFIG_SRCDIR([src/supertux.cpp])
 AC_CANONICAL_TARGET
 AM_INIT_AUTOMAKE
@@ -44,7 +44,7 @@ AC_MSG_CHECKING(for debug mode)
 AC_ARG_ENABLE(debug,
               AC_HELP_STRING([--enable-debug], [enable debugging mode]),, enable_debug="yes")
 if test "x${enable_debug}" != "xno"; then
-    CXXFLAGS="$CXXFLAGS -Wall -W -DDEBUG"
+    CXXFLAGS="$CXXFLAGS -Wall -W -DDEBUG -O0 -g3"
     AC_MSG_RESULT([enabled])
 else
     AC_MSG_RESULT([disabled])
@@ -89,7 +89,7 @@ fi
 
 AC_CHECK_LIB(z, gzopen,, AC_MSG_ERROR([*** zlib is missing]))
 
-CXXFLAGS="$CXXFLAGS -DDATA_PREFIX='\"$datatdir/supertux\"'" 
+CXXFLAGS="$CXXFLAGS -DDATA_PREFIX='\"$datadir/supertux\"'" 
 
 dnl Checks for library functions.
 AC_CHECK_FUNCS(mkdir strdup strstr)