summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--Makefile.def3
-rw-r--r--Makefile.in3
-rw-r--r--gdb/ChangeLog6
-rwxr-xr-xgdb/configure3
-rw-r--r--gdb/configure.ac3
6 files changed, 18 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index c134c13cbbf..809686646ad 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * Makefile.def (dependencies): Make configure-gdb depend on
+ all-intl.
+ * Makefile.in: Regenerated.
+
2007-10-15 Patrick Mansfield <patmans@us.ibm.com>
* Makefile.def: To avoid problems running with parallel makes,
diff --git a/Makefile.def b/Makefile.def
index a1a07d75b5b..85463fbe4b8 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -316,10 +316,9 @@ dependencies = { module=all-gnattools; on=all-target-libada; };
dependencies = { module=configure-mpfr; on=all-gmp; };
// Host modules specific to gdb.
-dependencies = { module=configure-gdb; on=configure-intl; };
+dependencies = { module=configure-gdb; on=all-intl; };
dependencies = { module=configure-gdb; on=configure-sim; };
dependencies = { module=configure-gdb; on=all-bfd; };
-dependencies = { module=all-gdb; on=all-intl; };
dependencies = { module=all-gdb; on=all-libiberty; };
dependencies = { module=all-gdb; on=all-opcodes; };
dependencies = { module=all-gdb; on=all-readline; };
diff --git a/Makefile.in b/Makefile.in
index 69e14dbb9c5..21b83628ae2 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -51499,10 +51499,9 @@ configure-stageb3g2-mpfr: maybe-all-stageb3g2-gmp
configure-stage4-mpfr: maybe-all-stage4-gmp
configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
-configure-gdb: maybe-configure-intl
+configure-gdb: maybe-all-intl
configure-gdb: maybe-configure-sim
configure-gdb: maybe-all-bfd
-all-gdb: maybe-all-intl
all-gdb: maybe-all-libiberty
all-gdb: maybe-all-opcodes
all-gdb: maybe-all-readline
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c26f3f8a150..6a041d794ac 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
+
+ PR gdb/2336
+ * configure.ac: Modify $LIBINTL before the BFD check.
+ * configure: Regenerated.
+
2007-10-23 Joel Brobecker <brobecker@adacore.com>
* buildsym.c (free_pending_blocks): Remove commented-out code.
diff --git a/gdb/configure b/gdb/configure
index dccc2337515..4e16b61d245 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -21913,7 +21913,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"
echo "$as_me:$LINENO: checking for ELF support in BFD" >&5
echo $ECHO_N "checking for ELF support in BFD... $ECHO_C" >&6
if test "${gdb_cv_var_elf+set}" = set; then
diff --git a/gdb/configure.ac b/gdb/configure.ac
index d42d3fe9996..aa8113453b0 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>