Fix: disable liblttng-ust-dl if dlinfo is not available in C library
[lttng-ust.git] / configure.ac
index b04d4e35b656f5d4a0db74d12712245f8dbd40e1..de6300e1bad7e365b850f238210d52d3ff28509a 100644 (file)
@@ -146,6 +146,9 @@ AC_C_INLINE
 AC_FUNC_MALLOC
 AC_CHECK_FUNCS([gettimeofday munmap socket strerror strtol sched_getcpu sysconf])
 
+AC_CHECK_FUNCS([dlinfo])
+AM_CONDITIONAL([HAVE_DLINFO], [test "${ac_cv_func_dlinfo}" = "yes"])
+
 CFLAGS="-Wall $CFLAGS"
 
 # URCU
This page took 0.038196 seconds and 5 git commands to generate.