configure.ac: define BT_ENABLE_DEBUG_INFO depending on the support
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 5 May 2017 20:47:17 +0000 (16:47 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 28 May 2017 16:57:42 +0000 (12:57 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
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.025053 seconds and 4 git commands to generate.