Skip to content

Commit

Permalink
Enable backtraces where --enable-debug is passed to configure
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisJefferson authored and fingolfin committed Jan 22, 2019
1 parent ceea753 commit 9d485d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ dnl User setting: Debug mode (off by default)
dnl
AC_ARG_ENABLE([debug],
[AS_HELP_STRING([--enable-debug], [enable debug mode])],
[AC_DEFINE([GAP_KERNEL_DEBUG], [1], [define if building in debug mode])],
[AC_DEFINE([GAP_KERNEL_DEBUG], [1], [define if building in debug mode]),
AC_DEFINE([PRINT_BACKTRACE], [1], [to enable backtraces upon crashes])],
[enable_debug=no]
)
AC_MSG_CHECKING([whether to enable debug mode])
Expand Down

0 comments on commit 9d485d6

Please sign in to comment.