From 031c0b9defe7f79f55a9d9761062892daad227b5 Mon Sep 17 00:00:00 2001 From: Matus Honek Date: Feb 19 2020 12:47:27 +0000 Subject: Issue 49845 - Remove pkgconfig check for libasan Bug Description: A recent commit introduced a pkgconfig check for libasan. However, ASAN buildtime whereabouts are provided within compiler itself, hence there is no external libasan.pc file, only dynamic linking to libasan is necessary. Fix Description: Remove the superfluous check from configure.ac. Relates https://pagure.io/389-ds-base/issue/49845 Author: Matus Honek Review by: ??? --- diff --git a/configure.ac b/configure.ac index bfb9436..2fa1b2c 100644 --- a/configure.ac +++ b/configure.ac @@ -147,7 +147,6 @@ AC_ARG_ENABLE(asan, AS_HELP_STRING([--enable-asan], [Enable gcc/clang address sa [], [ enable_asan=no ]) AC_MSG_RESULT($enable_asan) if test "$enable_asan" = yes ; then - PKG_CHECK_MODULES([ASAN], [libasan]) asan_cflags="-fsanitize=address -fno-omit-frame-pointer -lasan" asan_rust_defs="-Z sanitizer=address" else