From: Mathieu Desnoyers Date: Fri, 16 Oct 2020 14:26:39 +0000 (-0400) Subject: Fix: remove redefinition of _GNU_SOURCE X-Git-Tag: v2.13.0-rc1~476 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=bfae873ceedd57108fe2bb53ac5fb095550957d3;p=lttng-ust.git Fix: remove redefinition of _GNU_SOURCE Now that _GNU_SOURCE is defined by the compiler command line, no need to redefine it. Signed-off-by: Mathieu Desnoyers Change-Id: I5a02dd945f0dfec778779a8c5806cc9f45960520 --- diff --git a/configure.ac b/configure.ac index e7b83581..a89b72e3 100644 --- a/configure.ac +++ b/configure.ac @@ -242,7 +242,6 @@ AC_CHECK_LIB([$libdl_name], [dlmopen], AC_CHECK_HEADER([dlfcn.h]) AS_IF([test "x${ac_cv_header_dlfcn_h}" = "xyes"], [ AC_CHECK_DECLS([RTLD_DI_LINKMAP], [], [], [ - #define _GNU_SOURCE /* Required on Linux to get GNU extensions */ #include ]) ], [