[lttng-dev] [PATCH 1/2] Add --with-lttng-ust-prefix config option.

Stefan Seefeld stefan at seefeld.name
Mon Sep 16 19:50:39 EDT 2013


From: Stefan Seefeld <stefan at codesourcery.com>

Signed-off-by: Stefan Seefeld <stefan_seefeld at mentor.com>
---
 configure.ac | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/configure.ac b/configure.ac
index f5f4b26..f4d5ad4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -196,6 +196,15 @@ AC_ARG_WITH(lttng-ust-prefix,
 		    LDFLAGS="$LDFLAGS -L${withval}/lib64 -L${withval}/lib"
 		  ])
 
+AC_ARG_WITH(lttng-ust-prefix,
+  AS_HELP_STRING([--with-lttng-ust-prefix=PATH],
+                 [Specify the installation prefix of the lttng-ust library.
+	          Headers must be in PATH/include; libraries in PATH/lib.]),
+		  [
+		    CPPFLAGS="$CPPFLAGS -I${withval}/include"
+		    LDFLAGS="$LDFLAGS -L${withval}/lib64 -L${withval}/lib"
+		  ])
+
 # Check liblttng-ust-ctl library
 AC_ARG_ENABLE(lttng-ust,
 	AS_HELP_STRING([--disable-lttng-ust],[build without LTTng-UST (Userspace Tracing) support]),
-- 
1.8.3.1




More information about the lttng-dev mailing list