Mercurial > ~mikael > mcabber > hg
comparison mcabber/configure.ac @ 1423:757ebe4df0b9
Replace DEBUG_ENABLE with ENABLE_DEBUG
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 17 Feb 2008 21:15:30 +0100 |
parents | 0e1ef9597420 |
children | a64778f5f26b |
comparison
equal
deleted
inserted
replaced
1422:3cd104b41f26 | 1423:757ebe4df0b9 |
---|---|
211 | 211 |
212 AC_ARG_ENABLE(debug, | 212 AC_ARG_ENABLE(debug, |
213 [AC_HELP_STRING(--enable-debug, Add development compilation options)], | 213 [AC_HELP_STRING(--enable-debug, Add development compilation options)], |
214 debug=$enableval, debug="") | 214 debug=$enableval, debug="") |
215 if test x"${debug}" = x"yes"; then | 215 if test x"${debug}" = x"yes"; then |
216 AC_DEFINE_UNQUOTED([DEBUG_ENABLE],[1],[Devel compilation options]) | 216 AC_DEFINE_UNQUOTED([ENABLE_DEBUG],[1],[Devel compilation options]) |
217 if test "x$GCC" = "xyes"; then | 217 if test "x$GCC" = "xyes"; then |
218 if test "$gccvernum" -ge "400"; then | 218 if test "$gccvernum" -ge "400"; then |
219 CFLAGS="$CFLAGS -Wextra" | 219 CFLAGS="$CFLAGS -Wextra" |
220 else | 220 else |
221 CFLAGS="$CFLAGS -W" | 221 CFLAGS="$CFLAGS -W" |