X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=configure.ac;h=8dc537a3fbecdf5e27db6ddc80c763fdcc8df776;hb=7433a3a4c66cf9f182afb61ce3d77a83474053be;hp=0ca41afb239777637e899a2d50841efb1d32ee93;hpb=8318bbaae63a9b00bcc3d9bf66a6d73ecd34f7ed;p=babeltrace.git diff --git a/configure.ac b/configure.ac index 0ca41afb..8dc537a3 100644 --- a/configure.ac +++ b/configure.ac @@ -368,6 +368,8 @@ AC_ARG_ENABLE([debug-info], [AS_IF([test "x$enableval" = xyes], [_enable_debug_info=yes], [_enable_debug_info=no])], []) AM_CONDITIONAL([ENABLE_DEBUG_INFO], [test "x$_enable_debug_info" = xyes]) +AC_DEFINE([BT_ENABLE_DEBUG_INFO], [1], [Enable debug info support]) + AS_IF([test "x$_enable_debug_info" = xyes], [ # Check if libelf and libdw are present AC_CHECK_LIB([elf], [elf_version], [], [AC_MSG_ERROR(Missing libelf (from elfutils >= 0.154) which is required by debug info. You can disable this feature using --disable-debug-info.)])