From 43cadc7e1deb5ebe10d3f67125a438b2a36094dd Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Sat, 19 Nov 2011 15:03:59 -0500 Subject: [PATCH] Add configure LTTNG_TOOLS_COMPAT_BIN_PREFIX env var support Defines CONFIG_COMPAT_BIN_PREFIX in the build. Signed-off-by: Mathieu Desnoyers --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) 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.])] -- 2.34.1