Skip to content

Commit 6092009

Browse files
authored
Merge pull request #129 from olehermanse/debug_opt
Added autoconf message for whether debug option is present
2 parents 4a5168e + e8297ec commit 6092009

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

configure.ac

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,10 +231,13 @@ dnl as last, some macro seem to messes the order up and insert
231231
dnl its own optimisation flags as well. So we append ENV_CFLAGS
232232
dnl at the end manually, causing a bit of flag duplication.
233233

234+
AC_MSG_CHECKING([for debug option])
234235
if test x"$debug" = x"yes"
235236
then
237+
AC_MSG_RESULT(yes)
236238
CFLAGS="$CFLAGS -g3 -O0 $ENV_CFLAGS"
237239
else
240+
AC_MSG_RESULT(no)
238241
CFLAGS="$CFLAGS -O2 -DNDEBUG $ENV_CFLAGS"
239242
fi
240243

0 commit comments

Comments
 (0)