Fixed processing of --disable-debug

Thanks to Piotr Esden-Tempski
This commit is contained in:
robijn
2003-08-17 15:46:03 +00:00
parent c828ddc45b
commit 23d0e9eaab
+6 -2
View File
@@ -32,8 +32,12 @@ AC_DEFINE_UNQUOTED([SYSTEM_HOST], [$ac_system_host], [Set this to your system ho
AC_MSG_CHECKING(whether to enable debugging)
AC_ARG_ENABLE(debug,
[ --enable-debug show debug information],
AC_DEFINE(DEBUG)
debug="yes",
if [[[ "$enableval" = "yes" ]]]; then
AC_DEFINE(DEBUG)
debug="yes"
else
debug="no"
fi,
debug="no"
)
AC_MSG_RESULT($debug)