From f5ce052517defd2a393784976f2ebb984d63b08d Mon Sep 17 00:00:00 2001 From: drow Date: Tue, 23 Oct 2007 12:34:11 +0000 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ Makefile.def | 3 +-- Makefile.in | 3 +-- gdb/ChangeLog | 6 ++++++ gdb/configure | 3 ++- gdb/configure.ac | 3 ++- 6 files changed, 18 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index c134c13cbb..809686646a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-10-23 Daniel Jacobowitz + + * Makefile.def (dependencies): Make configure-gdb depend on + all-intl. + * Makefile.in: Regenerated. + 2007-10-15 Patrick Mansfield * Makefile.def: To avoid problems running with parallel makes, diff --git a/Makefile.def b/Makefile.def index a1a07d75b5..85463fbe4b 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 69e14dbb9c..21b83628ae 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 c26f3f8a15..6a041d794a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2007-10-23 Daniel Jacobowitz + + PR gdb/2336 + * configure.ac: Modify $LIBINTL before the BFD check. + * configure: Regenerated. + 2007-10-23 Joel Brobecker * buildsym.c (free_pending_blocks): Remove commented-out code. diff --git a/gdb/configure b/gdb/configure index dccc233751..4e16b61d24 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 d42d3fe999..aa8113453b 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 -- 2.11.0