X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=configure.ac;h=168db76880f48ab66c544ff6d2b4f0c8fdec1ca8;hp=4e6c06efd17b00868cc8dd10c014e7d8f5cac06b;hb=9c4445429c2c2d558a13023dd4c9bbcf24f8cc7b;hpb=839a956943bd1348dc34372d40c8665705667644 diff --git a/configure.ac b/configure.ac index 4e6c06efd..168db7688 100644 --- a/configure.ac +++ b/configure.ac @@ -333,11 +333,11 @@ swig_version=2.0.0 AC_ARG_ENABLE([python-bindings], [AC_HELP_STRING([--enable-python-bindings], [compile Python bindings])], - [enable_python=yes], [enable_python=no]) + [enable_python_binding=yes], [enable_python_binding=no]) -AM_CONDITIONAL([USE_PYTHON], [test "x${enable_python:-yes}" = xyes]) +AM_CONDITIONAL([PYTHON_BINDING], [test "x${enable_python_binding:-yes}" = xyes]) -if test "x${enable_python:-yes}" = xyes; then +if test "x${enable_python_binding:-yes}" = xyes; then AX_PKG_SWIG($swig_version, [], [ AC_MSG_ERROR([SWIG $swig_version or newer is needed]) ]) AM_PATH_PYTHON @@ -537,6 +537,7 @@ AC_CONFIG_FILES([ tests/regression/ust/java-log4j/Makefile tests/regression/ust/python-logging/Makefile tests/regression/ust/getcpu-override/Makefile + tests/regression/ust/clock-override/Makefile tests/stress/Makefile tests/unit/Makefile tests/unit/ini_config/Makefile @@ -608,7 +609,7 @@ AS_IF([test "x$test_java_agent_log4j" = "xyes"],[ #Python binding enabled/disabled AS_ECHO_N("Python binding: ") -AS_IF([test "x${enable_python:-yes}" = xyes], [ +AS_IF([test "x${enable_python_binding:-yes}" = xyes], [ AS_ECHO("Enabled") ],[ AS_ECHO("Disabled")