X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=configure.ac;h=4a1ff35c6b24dc380bc8961fa99a688426e7bcbd;hp=42ecd040ea5ffa225f87a12eb71b28ad15fbfc29;hb=76ab874e153397a0fd527f2198af2f3f33fa3290;hpb=87db5b86620514c382ffb510c2cf549fc6fa72d5 diff --git a/configure.ac b/configure.ac index 42ecd040e..4a1ff35c6 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([lttng-tools],[2.0-pre19],[dgoulet@efficios.com],[],[http://lttng.org]) +AC_INIT([lttng-tools],[2.0-pre22],[dgoulet@efficios.com],[],[http://lttng.org]) AC_CONFIG_AUX_DIR([config]) AC_CANONICAL_TARGET AC_CANONICAL_HOST @@ -14,6 +14,22 @@ AC_CHECK_HEADERS([ \ getopt.h sys/ipc.h sys/shm.h popt.h grp.h \ ]) +# Babeltrace viewer check +AC_ARG_WITH([babeltrace-bin], + AS_HELP_STRING([--with-babeltrace-bin], + [Location of the babeltrace viewer executable (including the filename)]), + [BABELTRACE_BIN="$withval"], + [BABELTRACE_BIN='']) +AC_SUBST([BABELTRACE_BIN]) + +# lttv-gui +AC_ARG_WITH([lttv-gui-bin], + AS_HELP_STRING([--with-lttv-gui-bin], + [Location of the lttv GUI viewer executable (including the filename)]), + [LTTV_GUI_BIN="$withval"], + [LTTV_GUI_BIN='']) +AC_SUBST([LTTV_GUI_BIN]) + AC_ARG_WITH([consumerd32-bin], AS_HELP_STRING([--with-consumerd32-bin], [Location of the 32-bit consumerd executable (including the filename)]), @@ -46,6 +62,8 @@ AC_DEFINE_UNQUOTED([CONFIG_CONSUMERD32_BIN], "$CONSUMERD32_BIN", [Location of th AC_DEFINE_UNQUOTED([CONFIG_CONSUMERD64_BIN], "$CONSUMERD64_BIN", [Location of the 64-bit consumerd executable]) AC_DEFINE_UNQUOTED([CONFIG_CONSUMERD32_LIBDIR], "$CONSUMERD32_LIBDIR", [Search for consumerd 32-bit libraries in this location.]) AC_DEFINE_UNQUOTED([CONFIG_CONSUMERD64_LIBDIR], "$CONSUMERD64_LIBDIR", [Search for consumerd 64-bit libraries in this location.]) +AC_DEFINE_UNQUOTED([CONFIG_BABELTRACE_BIN], "$BABELTRACE_BIN", [Location of the babeltrace viewer executable.]) +AC_DEFINE_UNQUOTED([CONFIG_LTTV_GUI_BIN], "$LTTV_GUI_BIN", [Location of the lttv GUI viewer executable.]) # Check for pthread AC_CHECK_LIB([pthread], [pthread_create], [], @@ -132,6 +150,7 @@ AC_SUBST(DEFAULT_INCLUDES) AC_CONFIG_FILES([ Makefile doc/Makefile + doc/man/Makefile include/Makefile src/Makefile src/common/Makefile