Fixed processing of --disable-debug
Thanks to Piotr Esden-Tempski
This commit is contained in:
+6
-2
@@ -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_MSG_CHECKING(whether to enable debugging)
|
||||||
AC_ARG_ENABLE(debug,
|
AC_ARG_ENABLE(debug,
|
||||||
[ --enable-debug show debug information],
|
[ --enable-debug show debug information],
|
||||||
AC_DEFINE(DEBUG)
|
if [[[ "$enableval" = "yes" ]]]; then
|
||||||
debug="yes",
|
AC_DEFINE(DEBUG)
|
||||||
|
debug="yes"
|
||||||
|
else
|
||||||
|
debug="no"
|
||||||
|
fi,
|
||||||
debug="no"
|
debug="no"
|
||||||
)
|
)
|
||||||
AC_MSG_RESULT($debug)
|
AC_MSG_RESULT($debug)
|
||||||
|
|||||||
Reference in New Issue
Block a user