|
Panu Matilainen |
5b4d98 |
From 1e38abe3e6697efcf55663060533e286e1e77ae4 Mon Sep 17 00:00:00 2001
|
|
Panu Matilainen |
5b4d98 |
Message-Id: <1e38abe3e6697efcf55663060533e286e1e77ae4.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: Igor Gnatenko <i.gnatenko.brain@gmail.com>
|
|
Panu Matilainen |
5b4d98 |
Date: Wed, 10 Aug 2016 13:58:30 +0200
|
|
Panu Matilainen |
5b4d98 |
Subject: [PATCH 08/11] configure.ac: use LIBDW always conditionally
|
|
Panu Matilainen |
5b4d98 |
|
|
Panu Matilainen |
5b4d98 |
References: https://bugzilla.redhat.com/show_bug.cgi?id=1365278
|
|
Panu Matilainen |
5b4d98 |
Reported-and-tested-by: Neal Gompa <ngompa13@gmail.com>
|
|
Panu Matilainen |
5b4d98 |
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
|
|
Panu Matilainen |
5b4d98 |
---
|
|
Panu Matilainen |
5b4d98 |
configure.ac | 7 ++++---
|
|
Panu Matilainen |
5b4d98 |
1 file changed, 4 insertions(+), 3 deletions(-)
|
|
Panu Matilainen |
5b4d98 |
|
|
Panu Matilainen |
5b4d98 |
diff --git a/configure.ac b/configure.ac
|
|
Panu Matilainen |
5b4d98 |
index 08eceeb..5dd2bb6 100644
|
|
Panu Matilainen |
5b4d98 |
--- a/configure.ac
|
|
Panu Matilainen |
5b4d98 |
+++ b/configure.ac
|
|
Panu Matilainen |
5b4d98 |
@@ -368,7 +368,8 @@ AM_CONDITIONAL(WITH_ARCHIVE,[test "$with_archive" = yes])
|
|
Panu Matilainen |
5b4d98 |
|
|
Panu Matilainen |
5b4d98 |
#=================
|
|
Panu Matilainen |
5b4d98 |
# Check for elfutils libdw library with dwelf_elf_gnu_build_id.
|
|
Panu Matilainen |
5b4d98 |
-AS_IF([test "$WITH_LIBELF" = yes],[
|
|
Panu Matilainen |
5b4d98 |
+WITH_LIBDW_LIB=
|
|
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 |
@@ -377,9 +378,9 @@ AS_IF([test "$WITH_LIBELF" = yes],[
|
|
Panu Matilainen |
5b4d98 |
WITH_LIBDW=yes
|
|
Panu Matilainen |
5b4d98 |
])
|
|
Panu Matilainen |
5b4d98 |
])
|
|
Panu Matilainen |
5b4d98 |
- AC_SUBST(WITH_LIBDW_LIB)
|
|
Panu Matilainen |
5b4d98 |
- AM_CONDITIONAL(LIBDW,[test "$WITH_LIBDW" = yes])
|
|
Panu Matilainen |
5b4d98 |
])
|
|
Panu Matilainen |
5b4d98 |
+AC_SUBST(WITH_LIBDW_LIB)
|
|
Panu Matilainen |
5b4d98 |
+AM_CONDITIONAL(LIBDW,[test "$WITH_LIBDW" = yes])
|
|
Panu Matilainen |
5b4d98 |
|
|
Panu Matilainen |
5b4d98 |
#=================
|
|
Panu Matilainen |
5b4d98 |
# Process --with/without-external-db
|
|
Panu Matilainen |
5b4d98 |
--
|
|
Panu Matilainen |
5b4d98 |
2.9.3
|
|
Panu Matilainen |
5b4d98 |
|