X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=configure.ac;h=f5501cebdfea99d6e994f1a694410ec50f218780;hp=acae225ad707860220725f6a6632253ec9a2bd7b;hb=b75d311fbb53cb2f9c857349a6cd1877b411ff60;hpb=a503e1ef71bfe98526469205fc2956cc65954019 diff --git a/configure.ac b/configure.ac index acae225ad..f5501cebd 100644 --- a/configure.ac +++ b/configure.ac @@ -112,6 +112,10 @@ AS_IF([test "x$ax_cv___attribute__" = "xyes"], AX_PTHREAD(,[AC_MSG_ERROR([Could not configure pthreads support])]) +# Check if linker has the -no-pie option. +AX_CHECK_LINK_FLAG([-no-pie], [linker_have_no_pie_option=yes]) +AM_CONDITIONAL([LINKER_HAVE_NO_PIE_OPTION], [test "x$linker_have_no_pie_option" = "xyes"]) + AX_LIB_SOCKET_NSL LT_NO_UNDEFINED=""