From: Mathieu Desnoyers Date: Sat, 19 Nov 2011 20:03:59 +0000 (-0500) Subject: Add configure LTTNG_TOOLS_COMPAT_BIN_PREFIX env var support X-Git-Tag: v2.0-pre15~96 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=43cadc7e1deb5ebe10d3f67125a438b2a36094dd;p=lttng-tools.git Add configure LTTNG_TOOLS_COMPAT_BIN_PREFIX env var support Defines CONFIG_COMPAT_BIN_PREFIX in the build. Signed-off-by: Mathieu Desnoyers --- diff --git a/configure.ac b/configure.ac index 32343868d..e3efec8f2 100644 --- a/configure.ac +++ b/configure.ac @@ -14,6 +14,9 @@ AC_CHECK_HEADERS([ \ getopt.h sys/ipc.h sys/shm.h popt.h grp.h \ ]) +AC_ARG_VAR([LTTNG_TOOLS_COMPAT_BIN_PREFIX], [Search for LTTng Tools 32-bit compatibility binaries in this location.]) +AC_DEFINE_UNQUOTED([CONFIG_COMPAT_BIN_PREFIX], $LTTNG_TOOLS_COMPAT_BIN_PREFIX, [Search for LTTng Tools 32-bit compatibility binaries in this location.]) + # Check for pthread AC_CHECK_LIB([pthread], [pthread_create], [], [AC_MSG_ERROR([Cannot find libpthread. Use [LDFLAGS]=-Ldir to specify its location.])]