This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[COMMITTED] configure.ac: Warn when --enable-dwz=no, but /usr/lib/debug/.dwz exists.


Signed-off-by: Mark Wielaard <mjw@redhat.com>
---
 ChangeLog    |    5 +++++
 configure.ac |    2 ++
 2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index f808413..0ef4416 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2013-11-06  Mark Wielaard  <mjw@redhat.com>
 
+	* configure.ac (--enable-dwz): Add AC_MSG_WARN when disabled but
+	local system does have /usr/lib/debug/.dwz.
+
+2013-11-06  Mark Wielaard  <mjw@redhat.com>
+
 	* configure.ac (--enable-thread-safety): Add AC_MSG_WARN experimental
 	option.
 
diff --git a/configure.ac b/configure.ac
index 4023f31..03d5756 100644
--- a/configure.ac
+++ b/configure.ac
@@ -75,6 +75,8 @@ AS_HELP_STRING([--enable-dwz], [enable experimental GNU ref_alt FORM, dwz multi
 enable_dwz=$enableval, enable_dwz=no)
 AM_CONDITIONAL(ENABLE_DWZ, test "$enable_dwz" = yes)
 AS_IF([test "$enable_dwz" = yes], [AC_DEFINE(ENABLE_DWZ)])
+AS_IF([test "$enable_dwz" = no -a -d /usr/lib/debug/.dwz],
+      [AC_MSG_WARN([--enable-dwz disabled and /usr/lib/debug/.dwz exists, native tests might fail])])
 
 AH_TEMPLATE([ENABLE_DWZ], [Defined if libdw should support GNU ref_alt FORM, dwz multi files.])
 
-- 
1.7.1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]