X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=configure.ac;h=2dfc398433de94d96011d06001e93800e5199ef3;hb=12f6d1183b45091b7b398a3d559ef9feadbba7c8;hp=89ee457cecdc17580df3596d4a1bd7a9b09e73d8;hpb=218e3122642f32849a33f2ded68e545e20166e15;p=lttng-ust.git diff --git a/configure.ac b/configure.ac index 89ee457c..2dfc3984 100644 --- a/configure.ac +++ b/configure.ac @@ -103,6 +103,13 @@ AC_CACHE_CHECK([whether the C++ compiler works], AM_CONDITIONAL([CXX_WORKS], [test "x$rw_cv_prog_cxx_works" = "xyes"]) +# Check if the compiler support weak symbols +AX_SYS_WEAK_ALIAS + +if test "x${ax_cv_sys_weak_alias}" = "xno"; then + AC_MSG_ERROR([Your platform doesn't support weak symbols.]) +fi + ## Checks for libraries. AC_CHECK_LIB([dl], [dlopen], [