+# Create tmp directory
+rm -rf "$TMPDIR"
+mkdir -p "$TMPDIR"
+
+export TMPDIR
+
+case "$COVERITY_SCAN_PROJECT_NAME" in
+babeltrace)
+ CONF_OPTS="--enable-python-bindings --enable-python-bindings-doc"
+ ;;
+liburcu)
+ CONF_OPTS=""
+ ;;
+lttng-modules)
+ CONF_OPTS=""
+ ;;
+lttng-tools)
+ CONF_OPTS=""
+ ;;
+lttng-ust)
+ CONF_OPTS="--enable-java-agent-all --enable-python-agent"
+ export CLASSPATH="/usr/share/java/log4j-1.2.jar"
+ ;;
+*)
+ echo "Generic project, no configure options."
+ CONF_OPTS=""
+ ;;
+esac