* [PATCH] Fix configure detection of demangle.h on Debian based systems
@ 2023-04-15 20:25 Mark Wielaard
2023-04-17 12:31 ` Nick Clifton
0 siblings, 1 reply; 2+ messages in thread
From: Mark Wielaard @ 2023-04-15 20:25 UTC (permalink / raw)
To: annobin; +Cc: Mark Wielaard
---
configure.ac | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 4cd97ef..29813d1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -152,9 +152,13 @@ AC_TYPE_UINT64_T
# Check for demangle.h header, note the "empty" includes to make sure
# libiberty.h isn't getting confused by the use of configure detected
-# include headers.
+# include headers. On Fedora based systems libiberty.h and demangle.h
+# are installed by binutils-devel in /usr/include. On Debian based
+# systems those headers come from the libiberty-dev package and are
+# placed under /usr/include/libiberty.
+CPPFLAGS="$CPPFLAGS -I/usr/include/libiberty"
AC_CHECK_HEADER([demangle.h], [],
- [AC_MSG_ERROR([binutils-devel demangle.h header not found])],
+ [AC_MSG_ERROR([libiberty-dev/binutils-devel demangle.h header not found])],
[ ])
AM_CONDITIONAL([COND_DOCS], [test "$with_docs" != no])
--
2.31.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix configure detection of demangle.h on Debian based systems
2023-04-15 20:25 [PATCH] Fix configure detection of demangle.h on Debian based systems Mark Wielaard
@ 2023-04-17 12:31 ` Nick Clifton
0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2023-04-17 12:31 UTC (permalink / raw)
To: Mark Wielaard, annobin
Hi Mark,
> configure.ac | 8 ++++++--
Thanks - patch applied.
Cheers
Nick
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-04-17 12:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-15 20:25 [PATCH] Fix configure detection of demangle.h on Debian based systems Mark Wielaard
2023-04-17 12:31 ` Nick Clifton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).