Skip to content
Snippets Groups Projects
Commit b0cfb1e8 authored by Olivier Dion's avatar Olivier Dion
Browse files

configure.ac: Emit ENABLE_TRACEPOINTS in config.h

Change-Id: I988bc6600228168d13cd9121bff739d4b0add1ec
parent 22b7425a
No related merge requests found
...@@ -54,8 +54,10 @@ AM_COND_IF([ENABLE_AGENT], [AC_CONFIG_FILES([test/agent/Makefile])]) ...@@ -54,8 +54,10 @@ AM_COND_IF([ENABLE_AGENT], [AC_CONFIG_FILES([test/agent/Makefile])])
AC_ARG_ENABLE([tracepoints], AS_HELP_STRING([--enable-tracepoints], [Enable tracepoints])) AC_ARG_ENABLE([tracepoints], AS_HELP_STRING([--enable-tracepoints], [Enable tracepoints]))
AM_CONDITIONAL([ENABLE_TRACEPOINTS], [test "x$enable_tracepoints" = "xyes"]) AS_IF([test "x$enable_tracepoints" = "xyes"],
[AC_DEFINE(ENABLE_TRACEPOINTS, [], [Static tracepoints enabled])
AM_CONDITIONAL(ENABLE_TRACEPOINTS, true)],
[AM_CONDITIONAL(ENABLE_TRACEPOINTS, false)])
dnl Check for programs dnl Check for programs
AC_PROG_CC AC_PROG_CC
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment