AC_CONFIG_SRCDIR([include/lttng/tracepoint.h])
# Configuration options, which will be installed in the config.h
-AC_CONFIG_HEADERS([config.h include/lttng/config.h])
-AH_TEMPLATE([HAVE_EFFICIENT_UNALIGNED_ACCESS], [Use efficient unaligned access.])
-AH_TEMPLATE([HAVE_SDT_INTEGRATION], [DTrace/GDB/SystemTap integration via sdt.h])
+AC_CONFIG_HEADERS([config.h include/lttng/ust-config.h])
+AH_TEMPLATE([LTTNG_UST_HAVE_EFFICIENT_UNALIGNED_ACCESS], [Use efficient unaligned access.])
+AH_TEMPLATE([LTTNG_UST_HAVE_SDT_INTEGRATION], [DTrace/GDB/SystemTap integration via sdt.h])
# Compute minor/major/patchlevel version numbers
AC_PROG_SED
])
fi
if test x$NO_UNALIGNED_ACCESS = x ; then
-AC_DEFINE([HAVE_EFFICIENT_UNALIGNED_ACCESS], [1])
+AC_DEFINE([LTTNG_UST_HAVE_EFFICIENT_UNALIGNED_ACCESS], [1])
fi
# Set compile flags to java include files if given
AS_IF([test "x$with_sdt" = "xyes"],[
AC_CHECK_HEADERS([sys/sdt.h], [
- AC_DEFINE([HAVE_SDT_INTEGRATION], [1])
+ AC_DEFINE([LTTNG_UST_HAVE_SDT_INTEGRATION], [1])
],[
AC_MSG_ERROR([The sdt.h integration was requested
but this header file cannot be found. Make sure it is installed
+++ /dev/null
-/* ust/config.h.in. Manually generated for control over the contained defs. */
-
-/* Use efficient unaligned access. */
-#undef HAVE_EFFICIENT_UNALIGNED_ACCESS
-
-/* DTrace/GDB/SystemTap integration via sdt.h */
-#undef HAVE_SDT_INTEGRATION
--- /dev/null
+/* ust/config.h.in. Manually generated for control over the contained defs. */
+
+/* Use efficient unaligned access. */
+#undef LTTNG_UST_HAVE_EFFICIENT_UNALIGNED_ACCESS
+
+/* DTrace/GDB/SystemTap integration via sdt.h */
+#undef LTTNG_UST_HAVE_SDT_INTEGRATION
* modified is included with the above copyright notice.
*/
-#include <lttng/config.h>
+#include <lttng/ust-config.h>
#include <lttng/ust-version.h>
-#ifndef HAVE_EFFICIENT_UNALIGNED_ACCESS
+#ifndef LTTNG_UST_HAVE_EFFICIENT_UNALIGNED_ACCESS
/* Align data on its natural alignment */
#define RING_BUFFER_ALIGN
#endif