X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=configure.ac;h=a41ae82279bb815240fd8e99aaf9c82590e6a06f;hb=cd235703c0f59f24fe809f3a15c1fc30037aad09;hp=158fff7945c8371c4b10895a01d5dab65086207b;hpb=af3f9f70e8c3c2c91f033dc1cad90b761da04c7e;p=lttng-tools.git diff --git a/configure.ac b/configure.ac index 158fff794..a41ae8227 100644 --- a/configure.ac +++ b/configure.ac @@ -386,24 +386,24 @@ if test "x$test_java_agent_jul" = "xyes" || test "x$test_java_agent_log4j" = "xy AX_CHECK_CLASSPATH # Check for Java UST agent common class first - AX_CHECK_CLASS(org.lttng.ust.agent.AbstractLttngAgent) - if test "x$ac_cv_class_org_lttng_ust_agent_AbstractLttngAgent" = "xno"; then - AC_MSG_ERROR([The UST Java agent common class was not found. Please specify the location of the jar via the Java CLASSPATH e.g: export CLASSPATH="/path/to/lttng-ust-agent-common.jar"]) + AX_CHECK_CLASS(org.lttng.ust.agent.LTTngAgent) + if test "x$ac_cv_class_org_lttng_ust_agent_LTTngAgent" = "xno"; then + AC_MSG_ERROR([The UST Java agent common class was not found. Please specify the location of the jar via the Java CLASSPATH e.g: export CLASSPATH="/path/to/liblttng-ust-agent.jar"]) fi if test "x$test_java_agent_jul" = "xyes"; then # Check for JUL agent class - AX_CHECK_CLASS(org.lttng.ust.agent.jul.LttngLogHandler) - if test "x$ac_cv_class_org_lttng_ust_agent_jul_LttngLogHandler" = "xno"; then - AC_MSG_ERROR([The UST Java agent JUL class was not found. Please specify the location of the jar via the Java CLASSPATH e.g: export CLASSPATH="/path/to/lttng-ust-agent-jul.jar"]) + AX_CHECK_CLASS(org.lttng.ust.agent.jul.LTTngJUL) + if test "x$ac_cv_class_org_lttng_ust_agent_jul_LTTngJUL" = "xno"; then + AC_MSG_ERROR([The UST Java agent JUL class was not found. Please specify the location of the jar via the Java CLASSPATH e.g: export CLASSPATH="/path/to/liblttng-ust-jul.jar"]) fi fi if test "x$test_java_agent_log4j" = "xyes"; then # Check for Log4j agent class - AX_CHECK_CLASS(org.lttng.ust.agent.log4j.LttngLogAppender) - if test "x$ac_cv_class_org_lttng_ust_agent_log4j_LttngLogAppender" = "xno"; then - AC_MSG_ERROR([The UST Java agent Log4j class was not found. Please specify the location of the jar via the Java CLASSPATH e.g: export CLASSPATH="/path/to/lttng-ust-agent-log4j.jar"]) + AX_CHECK_CLASS(org.lttng.ust.agent.log4j.LTTngLog4j) + if test "x$ac_cv_class_org_lttng_ust_agent_log4j_LTTngLog4j" = "xno"; then + AC_MSG_ERROR([The UST Java agent Log4j class was not found. Please specify the location of the jar via the Java CLASSPATH e.g: export CLASSPATH="/path/to/liblttng-ust-agent.jar"]) fi # Check for Log4j class @@ -616,6 +616,8 @@ AC_CONFIG_FILES([ tests/regression/tools/exclusion/Makefile tests/regression/tools/save-load/Makefile tests/regression/tools/mi/Makefile + tests/regression/tools/wildcard/Makefile + tests/regression/tools/crash/Makefile tests/regression/ust/Makefile tests/regression/ust/nprocesses/Makefile tests/regression/ust/high-throughput/Makefile