projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: configure.ac: allow --disable-python-bindings
[lttng-tools.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index 20d0680098d425cc75b29daa613b81894b3b501f..4f2189b443b76ca80e4e6ff18fc3b8df88063d55 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-483,11
+483,11
@@
swig_version=2.0.0
AC_ARG_ENABLE([python-bindings],
[AC_HELP_STRING([--enable-python-bindings],
[compile Python bindings])],
AC_ARG_ENABLE([python-bindings],
[AC_HELP_STRING([--enable-python-bindings],
[compile Python bindings])],
- [enable_python_binding=
yes
], [enable_python_binding=no])
+ [enable_python_binding=
$enableval
], [enable_python_binding=no])
-AM_CONDITIONAL([PYTHON_BINDING], [test "x$
{enable_python_binding:-yes}
" = xyes])
+AM_CONDITIONAL([PYTHON_BINDING], [test "x$
enable_python_binding
" = xyes])
-if test "x$
{enable_python_binding:-yes}
" = xyes; then
+if test "x$
enable_python_binding
" = xyes; then
AX_PKG_SWIG($swig_version, [], [ AC_MSG_ERROR([SWIG $swig_version or newer is needed]) ])
AS_IF([test x$enable_shared = xno], [ AC_MSG_ERROR([Python bindings require shared libraries.]) ])
AM_PATH_PYTHON([3.0])
AX_PKG_SWIG($swig_version, [], [ AC_MSG_ERROR([SWIG $swig_version or newer is needed]) ])
AS_IF([test x$enable_shared = xno], [ AC_MSG_ERROR([Python bindings require shared libraries.]) ])
AM_PATH_PYTHON([3.0])
@@
-1109,7
+1109,7
@@
test ! -z "$PYTHON3_AGENT" && value=1 || value=0
PPRINT_PROP_BOOL([LTTng-UST Python3 agent tests], $value)
#Python binding enabled/disabled
PPRINT_PROP_BOOL([LTTng-UST Python3 agent tests], $value)
#Python binding enabled/disabled
-test "x$
{enable_python_binding:-yes}
" = xyes && value=1 || value=0
+test "x$
enable_python_binding
" = xyes && value=1 || value=0
AS_ECHO
PPRINT_SET_INDENT(0)
PPRINT_PROP_BOOL([Python binding], $value, $PPRINT_COLOR_SUBTITLE)
AS_ECHO
PPRINT_SET_INDENT(0)
PPRINT_PROP_BOOL([Python binding], $value, $PPRINT_COLOR_SUBTITLE)
This page took
0.022981 seconds
and
4
git commands to generate.