Add aarch64 support to configure
[lttng-ust.git] / configure.ac
index 18f373989b9bebeb1462bcadd3042ae54059e6b8..971cf54e9caf83a58babb52ae01e47325735ebc1 100644 (file)
@@ -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],
 [
@@ -231,6 +238,7 @@ changequote([,])dnl
        s390) NO_UNALIGNED_ACCESS=1 ;;
        s390x) NO_UNALIGNED_ACCESS=1 ;;
         arm*) NO_UNALIGNED_ACCESS=1 ;;
+       aarch64) NO_UNALIGNED_ACCESS=1 ;;
        mips*) NO_UNALIGNED_ACCESS=1 ;;
        tile*) NO_UNALIGNED_ACCESS=1 ;;
        *) AC_MSG_ERROR([unable to detect alignment requirements (unsupported architecture ($host_cpu)?)]) ;;
This page took 0.024457 seconds and 4 git commands to generate.