-static)
- echo "Static build"
- CONF_OPTS="--enable-static --disable-shared"
- ;;
-python_bindings)
- echo "Build with python bindings"
- # We only support bindings built with Python 3
- export PYTHON="python3"
- export PYTHON_CONFIG="/usr/bin/python3-config"
- CONF_OPTS="--enable-python-bindings"
- ;;
-no_ust)
- echo "Build without UST support"
- CONF_OPTS="--disable-lttng-ust"
- ;;
-*)
- echo "Standard build"
- CONF_OPTS=""
- ;;
+ static)
+ echo "Static build"
+ CONF_OPTS="--enable-static --disable-shared"
+ ;;
+
+ python-bindings)
+ echo "Build with python bindings"
+ # We only support bindings built with Python 3
+ export PYTHON="python3"
+ export PYTHON_CONFIG="/usr/bin/python3-config"
+ CONF_OPTS="--enable-python-bindings"
+ ;;
+
+ no-ust)
+ echo "Build without UST support"
+ CONF_OPTS="--disable-lttng-ust"
+ ;;
+
+ java-agent)
+ echo "Build with Java Agents"
+ export JAVA_HOME="/usr/lib/jvm/default-java"
+ export CLASSPATH="$UST_JAVA/*:/usr/share/java/*"
+ CONF_OPTS="--enable-test-java-agent-all"
+ ;;
+
+ python-agent)
+ echo "Build with python agents"
+ export PYTHONPATH="$UST_PYTHON2:$UST_PYTHON3"
+ CONF_OPTS="--enable-test-python-agent-all"
+ ;;
+
+ *)
+ echo "Standard build"
+ CONF_OPTS=""
+ ;;