From: Michael Jeanson Date: Thu, 9 Jun 2016 19:11:31 +0000 (-0400) Subject: Fix: Define MANPATH in config.h X-Git-Tag: v2.8.1~8 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=f7bdc8582f0571b680c66339204a986c3e4a7fe4;p=lttng-tools.git Fix: Define MANPATH in config.h Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- diff --git a/configure.ac b/configure.ac index e761d0bcf..ec1f7a07c 100644 --- a/configure.ac +++ b/configure.ac @@ -621,6 +621,8 @@ and installing the man pages. AM_CONDITIONAL([MAN_PAGES_OPT], [test "x$man_pages_opt" != "xno"]) AM_CONDITIONAL([HAVE_ASCIIDOC_XMLTO], [test "x$have_asciidoc_xmlto" = "xyes"]) +AC_DEFINE_UNQUOTED([MANPATH], ["`eval eval echo $mandir`"], [Path to man pages.]) + # Python agent test UST_PYTHON_AGENT="lttngust" diff --git a/src/common/Makefile.am b/src/common/Makefile.am index 193057c9b..8633730a9 100644 --- a/src/common/Makefile.am +++ b/src/common/Makefile.am @@ -1,5 +1,4 @@ -AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src \ - -DMANPATH=\""$(mandir)"\" +AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src AUTOMAKE_OPTIONS = subdir-objects