Blame 0009-Fix-libdw-configure-check.patch
|
Panu Matilainen |
5b4d98 |
From 15617bfa3d12ebe3927b130a88df6dd12ee8d0f9 Mon Sep 17 00:00:00 2001
|
|
Panu Matilainen |
5b4d98 |
Message-Id: <15617bfa3d12ebe3927b130a88df6dd12ee8d0f9.1488964568.git.pmatilai@redhat.com>
|
|
Panu Matilainen |
5b4d98 |
In-Reply-To: <189b4f88c8e100155ec23a1e0b214bdc8473532a.1488964568.git.pmatilai@redhat.com>
|
|
Panu Matilainen |
5b4d98 |
References: <189b4f88c8e100155ec23a1e0b214bdc8473532a.1488964568.git.pmatilai@redhat.com>
|
|
Panu Matilainen |
5b4d98 |
From: Mark Wielaard <mjw@redhat.com>
|
|
Panu Matilainen |
5b4d98 |
Date: Wed, 24 Aug 2016 17:06:34 +0200
|
|
Panu Matilainen |
5b4d98 |
Subject: [PATCH 09/11] Fix libdw configure check.
|
|
Panu Matilainen |
5b4d98 |
|
|
Panu Matilainen |
5b4d98 |
commit a82119 "configure.ac: use LIBDW always conditionally" contained
|
|
Panu Matilainen |
5b4d98 |
a typo that caused WITH_LIBDW_LIB never to be set when you were using
|
|
Panu Matilainen |
5b4d98 |
libelf. Fixed by reverting the "!=" to "=" again.
|
|
Panu Matilainen |
5b4d98 |
|
|
Panu Matilainen |
5b4d98 |
Signed-off-by: Mark Wielaard <mjw@redhat.com>
|
|
Panu Matilainen |
5b4d98 |
---
|
|
Panu Matilainen |
5b4d98 |
configure.ac | 2 +-
|
|
Panu Matilainen |
5b4d98 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Panu Matilainen |
5b4d98 |
|
|
Panu Matilainen |
5b4d98 |
diff --git a/configure.ac b/configure.ac
|
|
Panu Matilainen |
5b4d98 |
index 5dd2bb6..4baa3f1 100644
|
|
Panu Matilainen |
5b4d98 |
--- a/configure.ac
|
|
Panu Matilainen |
5b4d98 |
+++ b/configure.ac
|
|
Panu Matilainen |
5b4d98 |
@@ -369,7 +369,7 @@ AM_CONDITIONAL(WITH_ARCHIVE,[test "$with_archive" = yes])
|
|
Panu Matilainen |
5b4d98 |
#=================
|
|
Panu Matilainen |
5b4d98 |
# Check for elfutils libdw library with dwelf_elf_gnu_build_id.
|
|
Panu Matilainen |
5b4d98 |
WITH_LIBDW_LIB=
|
|
Panu Matilainen |
5b4d98 |
-AS_IF([test "$WITH_LIBELF" != yes],[
|
|
Panu Matilainen |
5b4d98 |
+AS_IF([test "$WITH_LIBELF" = yes],[
|
|
Panu Matilainen |
5b4d98 |
AC_CHECK_HEADERS([elfutils/libdwelf.h],[
|
|
Panu Matilainen |
5b4d98 |
AC_CHECK_LIB(dw, dwelf_elf_gnu_build_id, [
|
|
Panu Matilainen |
5b4d98 |
AC_DEFINE(HAVE_LIBDW, 1,
|
|
Panu Matilainen |
5b4d98 |
--
|
|
Panu Matilainen |
5b4d98 |
2.9.3
|
|
Panu Matilainen |
5b4d98 |
|