configure: remove unused configuration macros
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 8 Jun 2020 16:48:29 +0000 (12:48 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 8 Jun 2020 20:00:35 +0000 (16:00 -0400)
The `PYTHON_PLUGINS` and `ENABLE_DEBUG_INFO` configuration macros aren't
effectively used, remove them.

Change-Id: If965795f24f20aa1e275c829d44c5f9587a8e5fb
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/3622
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
configure.ac
src/cli/babeltrace2-cfg-cli-args-default.c

index 91d82300db976c4f8bee1dc2be525e4d3f5798c1..4e3a07a26ed4c17ea223af67762214c81bd063a3 100644 (file)
@@ -417,15 +417,6 @@ AM_CONDITIONAL([ENABLE_PYTHON_COMMON_DEPS], [test "x$enable_python_bindings" = x
 
 # Set defines for optionnal features conditionnals in the source code
 
-## jgalar: still used?
-AS_IF([test "x$enable_python_plugins" = xyes],
-  [AC_DEFINE([PYTHON_PLUGINS], [1], [Python plugin support.])]
-)
-
-AS_IF([test "x$enable_debug_info" = xyes],
-  [AC_DEFINE([ENABLE_DEBUG_INFO], [1], [Define to 1 if you enable the 'debug info' feature])]
-)
-
 AS_IF([test "x$enable_built_in_plugins" = xyes],
   [AC_DEFINE([BT_BUILT_IN_PLUGINS], [1], [Define to 1 to register plug-in attributes in static executable sections])]
 )
index fa06dabb3778c8f0927aa6c93710caf9cc8adcef..e75b187178ee18d76a69bf5a857a6f205b1f3700 100644 (file)
 #include "babeltrace2-cfg-cli-args.h"
 #include "babeltrace2-cfg-cli-args-default.h"
 
-#ifdef ENABLE_DEBUG_INFO
-# define BT_ENABLE_DEBUG_INFO  1
-#else
-# define BT_ENABLE_DEBUG_INFO  0
-#endif
-
 #ifdef BT_SET_DEFAULT_IN_TREE_CONFIGURATION
 
 struct bt_config *bt_config_cli_args_create_with_default(int argc,
This page took 0.025189 seconds and 4 git commands to generate.