X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=configure.ac;h=d4926e425486b572849892f1c6994d9a41f77a6f;hb=ccb19569716f805421716b5efde0e3156a6757e3;hp=830794425df41f7a474fb137f170ff0113b68840;hpb=f039c6b021b3add8c3b1a9260738aca70c7864d5;p=lttng-ust.git diff --git a/configure.ac b/configure.ac index 83079442..d4926e42 100644 --- a/configure.ac +++ b/configure.ac @@ -267,6 +267,16 @@ AS_IF([test "x$with_sdt" = "xyes"],[ ]) ]) +AC_MSG_CHECKING([whether shared libraries are enabled]) +AS_IF([test "x$enable_shared" = "xyes"], + [ + AC_MSG_RESULT([yes]) + ], + [ + AC_MSG_RESULT([no]) + AC_MSG_ERROR([LTTng-UST requires shared libraries to be enabled]) + ]) + AC_ARG_WITH([lttng-system-rundir], AS_HELP_STRING([--with-lttng-system-rundir], [Location of the system directory where LTTng-UST expects the system-wide lttng-sessiond runtime files. The default is "/var/run/lttng".]),