Blame 0012-Fix-libdw-configure-check.patch
|
Igor Gnatenko |
082d5d |
From f41a0a8c6839e3962e10a7bd3aad39127a764748 Mon Sep 17 00:00:00 2001
|
|
Panu Matilainen |
5b4d98 |
From: Mark Wielaard <mjw@redhat.com>
|
|
Panu Matilainen |
5b4d98 |
Date: Wed, 24 Aug 2016 17:06:34 +0200
|
|
Igor Gnatenko |
3992a6 |
Subject: [PATCH 12/54] 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>
|
|
Igor Gnatenko |
082d5d |
(cherry picked from commit 10633641ec17081cca6332c3fb4abeea3df4059f)
|
|
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
|
|
Igor Gnatenko |
082d5d |
index 33c8f344f..9596a97b3 100644
|
|
Panu Matilainen |
5b4d98 |
--- a/configure.ac
|
|
Panu Matilainen |
5b4d98 |
+++ b/configure.ac
|
|
Igor Gnatenko |
082d5d |
@@ -362,7 +362,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 |
--
|
|
Igor Gnatenko |
082d5d |
2.13.2
|
|
Panu Matilainen |
5b4d98 |
|