diff options
author | Meloni Dario <darkyojimbo@users.sourceforge.net> | 2007-03-05 20:14:13 +0000 |
---|---|---|
committer | Meloni Dario <darkyojimbo@users.sourceforge.net> | 2007-03-05 20:14:13 +0000 |
commit | 8d64535c8c1c949870b05cd7f0ec6ebf1b1145fe (patch) | |
tree | 40ea32e5d5ae8d7992106f0c40cb7d7be525af82 /DevIL/configure.ac | |
parent | 44e5459a2bb239652b62d4b972e142bc75079697 (diff) | |
download | devil-8d64535c8c1c949870b05cd7f0ec6ebf1b1145fe.tar.gz |
Added assertion facility when debugging (it must be implementd in the files however)
Diffstat (limited to 'DevIL/configure.ac')
-rw-r--r-- | DevIL/configure.ac | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/DevIL/configure.ac b/DevIL/configure.ac index 7dac0fe7..1daac7f8 100644 --- a/DevIL/configure.ac +++ b/DevIL/configure.ac @@ -35,7 +35,7 @@ dnl SUPPORTED_FORMATS="" SUPPORTED_API="" SUPPORTED_EXTENSION="" -AC_REVISION($Revision: 1.24 $) +AC_REVISION($Revision: 1.25 $) AC_CONFIG_AUX_DIR(libtools) AC_PREFIX_DEFAULT(/usr/local) AC_CANONICAL_HOST @@ -153,7 +153,8 @@ AC_ARG_ENABLE(release, AC_HELP_STRING([--disable-release],[Compile a debug version of the library]), [build_release="$enable_release"],[build_release="yes"]) AS_IF([test "$build_release" = "no"], - [ADD_CFLAGS([-DNOINLINE -Wall -g -O0])], + [ADD_CFLAGS([-DNOINLINE -Wall -g -O0])] + [AC_DEFINE(DEBUG,,"Enable debug code features")], [ADD_CFLAGS(-O3)]) dnl |