Custom upgrade: wire up configure --enable-custom-upgrade-conflicting-symbols
[lttng-ust.git] / configure.ac
index e0d6c163f6c42df9830c9ba4a947fc649ba58b1f..4dfc011a3adf269588fdfbbbb1b71cfa5c0e698b 100644 (file)
@@ -371,6 +371,11 @@ AE_FEATURE([examples],[Do not build and install examples])
 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],
@@ -508,6 +513,11 @@ they will not be installed.
   ])
 ])
 
+# 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([[
This page took 0.024842 seconds and 5 git commands to generate.