X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=configure.ac;h=f84f42643ce9cefddc87aca85a6c77ab4f428160;hb=f012efa89f8ac9aa04ac60d072f766ad44d4acd0;hp=55cec234e19dffc3de64822608dc16d974f063e4;hpb=c3e14096db731a8624b55fb91a231e7a97a5e7cd;p=lttng-ust.git diff --git a/configure.ac b/configure.ac index 55cec234..f84f4264 100644 --- a/configure.ac +++ b/configure.ac @@ -48,6 +48,7 @@ AC_DEFINE_UNQUOTED([VERSION_NAME], ["$version_name"], [UST version name]) AC_DEFINE_UNQUOTED([VERSION_DESCRIPTION], ["$version_description"], [UST version description]) AC_PROG_GREP +AC_PROG_LN_S # libtool link_all_deplibs fixup. See http://bugs.lttng.org/issues/321. AC_ARG_ENABLE(libtool-linkdep-fixup, AS_HELP_STRING([--disable-libtool-linkdep-fixup], @@ -105,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], [