diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rwxr-xr-x | gdb/configure | 3 | ||||
-rw-r--r-- | gdb/configure.ac | 3 |
3 files changed, 10 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c26f3f8..6a041d7 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 dccc233..4e16b61 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 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> |