aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.ac
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-10-23 12:34:18 +0000
committerDaniel Jacobowitz <drow@false.org>2007-10-23 12:34:18 +0000
commit7b3200f9aef4a1a92e8f8113a81c873593756b7f (patch)
treeeb6b75e28ac6cc6ed6be02a19ec7b1a789531de6 /gdb/configure.ac
parent89ba75b1ecaa14d207f43dccc4a4aa76efef26d6 (diff)
downloadgdb-7b3200f9aef4a1a92e8f8113a81c873593756b7f.zip
gdb-7b3200f9aef4a1a92e8f8113a81c873593756b7f.tar.gz
gdb-7b3200f9aef4a1a92e8f8113a81c873593756b7f.tar.bz2
PR gdb/2336
* Makefile.def (dependencies): Make configure-gdb depend on all-intl. * Makefile.in: Regenerated. * configure.ac: Modify $LIBINTL before the BFD check. * configure: Regenerated.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r--gdb/configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac
index d42d3fe..aa81134 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -1301,7 +1301,8 @@ OLD_LDFLAGS=$LDFLAGS
OLD_LIBS=$LIBS
CFLAGS="$CFLAGS -I${srcdir}/../include -I../bfd -I${srcdir}/../bfd"
LDFLAGS="$LDFLAGS -L../bfd -L../libiberty"
-LIBS="$LIBS -lbfd -liberty $LIBINTL"
+intl=`echo $LIBINTL | sed 's,${top_builddir}/,,g'`
+LIBS="$LIBS -lbfd -liberty $intl"
AC_CACHE_CHECK([for ELF support in BFD], gdb_cv_var_elf,
[AC_TRY_LINK(
[#include <stdlib.h>