Fix the DEBUG define
So it gets defined even if debugging is not enabled
This commit is contained in:
parent
ddf2165cc2
commit
6fc2bffe9c
@ -173,7 +173,7 @@ AC_ARG_ENABLE(debug,
|
|||||||
AM_CONDITIONAL([DEBUG], [test $debug = yes])
|
AM_CONDITIONAL([DEBUG], [test $debug = yes])
|
||||||
|
|
||||||
if test x"$debug" = x"$enableval"; then
|
if test x"$debug" = x"$enableval"; then
|
||||||
AC_DEFINE([DEBUG], [1], [Define if debugging should be enabled])
|
AC_DEFINE([DEBUG], [1], [Define as 1 if debugging should be enabled])
|
||||||
|
|
||||||
if test x"$cflags_set" != x"set"; then
|
if test x"$cflags_set" != x"set"; then
|
||||||
case " $CFLAGS " in
|
case " $CFLAGS " in
|
||||||
@ -181,6 +181,8 @@ if test x"$debug" = x"$enableval"; then
|
|||||||
*) CFLAGS="$CFLAGS -g" ;;
|
*) CFLAGS="$CFLAGS -g" ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
AC_DEFINE([DEBUG], [0], [Define as 1 if debugging should be enabled])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_SUBST([MATRIX_GLIB_MAJOR_VERSION], matrix_glib_major_version)
|
AC_SUBST([MATRIX_GLIB_MAJOR_VERSION], matrix_glib_major_version)
|
||||||
|
Loading…
Reference in New Issue
Block a user