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/?p=lttng-tools.git;a=commitdiff_plain;h=43cadc7e1deb5ebe10d3f67125a438b2a36094dd;hp=88ff5b7f958a7bb60723d10ed97ceb79f9913167;ds=sidebyside 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.])]