Build: rename use_python to python_binding
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Thu, 6 Aug 2015 23:00:14 +0000 (19:00 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 14 Aug 2015 21:58:21 +0000 (17:58 -0400)
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
configure.ac
extras/bindings/swig/Makefile.am
tests/Makefile.am

index bb7cdca867c9b82417dc04801888bca521e2fd87..5afcfb7d25a26c7dd4269bc109eee8ba658787c3 100644 (file)
@@ -314,11 +314,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
 
@@ -595,7 +595,7 @@ AS_IF([test "x$lttng_ust_support" = "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")
index dcd868da1ee2d2f43fadc1fd3a6f0d7e41a98874..f1100d91818bd5a18fc839821b01116949eb6b80 100644 (file)
@@ -1,3 +1,3 @@
-if USE_PYTHON
+if PYTHON_BINDING
 SUBDIRS = python
 endif
index 2f1f1c38b36d1727b7dcbd291a41e6c5a67df719..d72b1ecd89fd30c94154c10e294d1a0cca1e4987 100644 (file)
@@ -3,14 +3,14 @@ SUBDIRS = utils regression unit stress
 installcheck-am:
        ./run.sh unit_tests
        ./run.sh fast_regression
-if USE_PYTHON
+if PYTHON_BINDING
        ./run.sh with_bindings_regression
 endif
 
 check-am:
        ./run.sh unit_tests
        ./run.sh fast_regression
-if USE_PYTHON
+if PYTHON_BINDING
        ./run.sh with_bindings_regression
 endif
 
This page took 0.027032 seconds and 4 git commands to generate.