AE_FEATURE_DEFAULT_ENABLE
AE_FEATURE([man-pages],[Do not build and install man pages (already built in a distributed tarball)])
+# Custom upgrade conflicting symbols
+# Disabled by default
+AE_FEATURE_DEFAULT_DISABLE
+AE_FEATURE([custom-upgrade-conflicting-symbols],[Emit and use original symbols for custom upgrade from 2.12 to 2.13])
+
# Systemtap sdt.h integration
# Disabled by default
AC_ARG_WITH([sdt],
])
])
+# Emit and use original symbols for custom upgrade from 2.12 to 2.13
+AE_IF_FEATURE_ENABLED([custom-upgrade-conflicting-symbols], [
+ AC_DEFINE([LTTNG_UST_CUSTOM_UPGRADE_CONFLICTING_SYMBOLS], [1], [Emit and use original symbols for custom upgrade from 2.12 to 2.13])
+])
+
AS_IF([test "x$with_sdt" = "xyes"], [
AC_MSG_CHECKING([STAP_PROBEV()])
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
/* DTrace/GDB/SystemTap integration via sdt.h */
#undef LTTNG_UST_HAVE_SDT_INTEGRATION
+/* Emit and use original symbols for custom upgrade from 2.12 to 2.13 */
+#undef LTTNG_UST_CUSTOM_UPGRADE_CONFLICTING_SYMBOLS
+
#endif