projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: add a configure check for weak symbols support
[lttng-ust.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index 89ee457cecdc17580df3596d4a1bd7a9b09e73d8..2dfc398433de94d96011d06001e93800e5199ef3 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-103,6
+103,13
@@
AC_CACHE_CHECK([whether the C++ compiler works],
AM_CONDITIONAL([CXX_WORKS], [test "x$rw_cv_prog_cxx_works" = "xyes"])
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],
[
## Checks for libraries.
AC_CHECK_LIB([dl], [dlopen],
[
This page took
0.0243 seconds
and
4
git commands to generate.