X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=configure.ac;h=f84f42643ce9cefddc87aca85a6c77ab4f428160;hb=f1d4b8107c7bc613be855c6b0b15c4405e1edbf2;hp=18f373989b9bebeb1462bcadd3042ae54059e6b8;hpb=b1239ad67e8536822d10b595c8641200b84fc8cd;p=lttng-ust.git diff --git a/configure.ac b/configure.ac index 18f37398..f84f4264 100644 --- a/configure.ac +++ b/configure.ac @@ -106,6 +106,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], [