aboutsummaryrefslogtreecommitdiff
path: root/bfd/configure.in
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2007-06-23 08:40:54 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2007-06-23 08:40:54 +0000
commit0d4a14760da3691d09645cbed5aef74604fb2e69 (patch)
tree84300771ad6baa059bd48323f6655cc5c7bb6c88 /bfd/configure.in
parent3447842b6e4315cdd24c5fab12172bb5f5f3057b (diff)
downloadgdb-0d4a14760da3691d09645cbed5aef74604fb2e69.zip
gdb-0d4a14760da3691d09645cbed5aef74604fb2e69.tar.gz
gdb-0d4a14760da3691d09645cbed5aef74604fb2e69.tar.bz2
* configure.in (--with-separate-debug-dir): New option.
* configure: Regenerate. * Makefile.am (dwarf2.lo): Add rule to pass DEBUGDIR. * Makefile.in: Regenerate. * dwarf2.c (_bfd_dwarf2_find_nearest_line): Pass DEBUGDIR to bfd_follow_gnu_debuglink. (_bfd_dwarf2_find_line): Likewise.
Diffstat (limited to 'bfd/configure.in')
-rw-r--r--bfd/configure.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/bfd/configure.in b/bfd/configure.in
index 0954bc5..770bb65 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -66,6 +66,14 @@ if test $use_secureplt = true; then
[Define if we should default to creating read-only plt entries])
fi
+DEBUGDIR=${libdir}/debug
+
+AC_ARG_WITH(separate-debug-dir,
+ AS_HELP_STRING([--with-separate-debug-dir=DIR],
+ [Look for global separate debug info in DIR [[default=LIBDIR/debug]]]),
+[DEBUGDIR="${withval}"])
+AC_SUBST(DEBUGDIR)
+
ACX_PKGVERSION([GNU Binutils])
ACX_BUGURL([http://www.sourceware.org/bugzilla/])