X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=configure.ac;h=adb18ac1d4eb0f5f9056d417b2de143da0e094a8;hb=3d7551de28f8f9a104abb9ed4982d54293b7c072;hp=6457a30ffbc0f56264f3a88ef89a8aab457a04f1;hpb=98f3fb23cdf46c5220ff613fe6aa4fc13e4daf86;p=lttng-ust.git diff --git a/configure.ac b/configure.ac index 6457a30f..adb18ac1 100644 --- a/configure.ac +++ b/configure.ac @@ -105,6 +105,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], [