X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=configure.ac;h=519907c5cb0e013e09cdc4e15d4ee2dea982ffe1;hb=85d1d2791f3cebfd741a821261bf2924928a90e7;hp=5d17cc3a4ea3b0f96c2ba4c71e9ded9f4b43de41;hpb=f08370eb4e78dff85c8c712a7d7af54d12261d2a;p=lttng-ust.git diff --git a/configure.ac b/configure.ac index 5d17cc3a..519907c5 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. -AC_INIT([lttng-ust],[2.5.0-rc2],[mathieu dot desnoyers at efficios dot com]) +AC_INIT([lttng-ust],[2.5.2],[mathieu dot desnoyers at efficios dot com]) # Following the numbering scheme proposed by libtool for the library version # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html @@ -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], [ @@ -224,7 +231,9 @@ changequote([,])dnl amd64) ;; powerpc) ;; ppc64) ;; + ppc64le) ;; powerpc64) ;; + powerpc64le) ;; s390) NO_UNALIGNED_ACCESS=1 ;; s390x) NO_UNALIGNED_ACCESS=1 ;; arm*) NO_UNALIGNED_ACCESS=1 ;; @@ -270,7 +279,7 @@ AS_IF([test "x$jni_interface" = "xyes"],[ AC_CHECK_HEADERS([jni.h],[],[ AC_MSG_ERROR([missing jni.h Make sure Sun Java, OpenJDK or GCJ is installed and that this header file exists in the system path. -Use the --with-java-jdk=DIR flag to point to your Java include files, or disable the JNI interface.]) +Use the --with-java-jdk=DIR option to point to your JDK directory, or disable the JNI interface.]) ]) ]) AM_CONDITIONAL([BUILD_JNI_INTERFACE], [test "x$jni_interface" = "xyes"])