configure.ac: define BT_ENABLE_DEBUG_INFO depending on the support
[babeltrace.git] / configure.ac
index 0ca41afb239777637e899a2d50841efb1d32ee93..8dc537a3fbecdf5e27db6ddc80c763fdcc8df776 100644 (file)
@@ -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.)])
This page took 0.023712 seconds and 4 git commands to generate.