diff configure.in @ 3649:1e74d7984d0b

The config sets the default assertion level so people can override it for their own use in application code.
author Sam Lantinga <slouken@libsdl.org>
date Wed, 13 Jan 2010 07:25:28 +0000
parents c5925cd41955
children 336f3df1578d
line wrap: on
line diff
--- a/configure.in	Wed Jan 13 07:00:20 2010 +0000
+++ b/configure.in	Wed Jan 13 07:25:28 2010 +0000
@@ -142,19 +142,19 @@
 sdl_valid_assertion_level=no
 if test x$enable_assertions = xno; then
     sdl_valid_assertion_level=yes
-    AC_DEFINE(SDL_ASSERT_LEVEL, 0)
+    AC_DEFINE(SDL_DEFAULT_ASSERT_LEVEL, 0)
 fi
 if test x$enable_assertions = xrelease; then
     sdl_valid_assertion_level=yes
-    AC_DEFINE(SDL_ASSERT_LEVEL, 1)
+    AC_DEFINE(SDL_DEFAULT_ASSERT_LEVEL, 1)
 fi
 if test x$enable_assertions = xyes; then
     sdl_valid_assertion_level=yes
-    AC_DEFINE(SDL_ASSERT_LEVEL, 2)
+    AC_DEFINE(SDL_DEFAULT_ASSERT_LEVEL, 2)
 fi
 if test x$enable_assertions = xparanoid; then
     sdl_valid_assertion_level=yes
-    AC_DEFINE(SDL_ASSERT_LEVEL, 3)
+    AC_DEFINE(SDL_DEFAULT_ASSERT_LEVEL, 3)
 fi
 if test x$sdl_valid_assertion_level = xno; then
     AC_MSG_ERROR([*** unknown assertion level. stop.])