[lttng-dev] [PATCH lttng-ust] Fix: Use $enableval with AC_ARG_ENABLE

Michael Jeanson mjeanson at efficios.com
Wed Jul 8 14:24:57 EDT 2015


Signed-off-by: Michael Jeanson <mjeanson at efficios.com>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 8bbf7b9..cb4bb21 100644
--- a/configure.ac
+++ b/configure.ac
@@ -255,7 +255,7 @@ fi
 # Check for JNI header files if requested
 AC_ARG_ENABLE([jni-interface],
 	[AS_HELP_STRING([--enable-jni-interface],[build JNI interface between C and Java. Needs Java include files [default=no]])],
-	[jni_interface=$withval],
+	[jni_interface=$enableval],
 	[jni_interface=no]
 )
 
-- 
1.9.1




More information about the lttng-dev mailing list