From: Joseph Myers Date: Fri, 18 Jul 2008 13:38:14 +0000 (+0000) Subject: * configure.ac: Put old value of $LIBS after -lbfd -liberty $intl X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0f72fb1c9b6639ae27befa67438ae98f15793525;p=binutils-gdb.git * configure.ac: Put old value of $LIBS after -lbfd -liberty $intl in BFD ELF check. * configure: Regenerate. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a02b93af593..a3a6931f677 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2008-07-18 Joseph Myers + + * configure.ac: Put old value of $LIBS after -lbfd -liberty $intl + in BFD ELF check. + * configure: Regenerate. + 2008-07-17 Paul Pluzhnikov * auxv.c (fprint_target_auxv): Stop at AT_NULL. diff --git a/gdb/configure b/gdb/configure index e555e25d438..6151f69f13c 100755 --- a/gdb/configure +++ b/gdb/configure @@ -24094,7 +24094,7 @@ OLD_LIBS=$LIBS CFLAGS="$CFLAGS -I${srcdir}/../include -I../bfd -I${srcdir}/../bfd" LDFLAGS="$LDFLAGS -L../bfd -L../libiberty" intl=`echo $LIBINTL | sed 's,${top_builddir}/,,g'` -LIBS="$LIBS -lbfd -liberty $intl" +LIBS="-lbfd -liberty $intl $LIBS" 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 0a92812df36..ceba5c35bce 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -1458,7 +1458,7 @@ OLD_LIBS=$LIBS CFLAGS="$CFLAGS -I${srcdir}/../include -I../bfd -I${srcdir}/../bfd" LDFLAGS="$LDFLAGS -L../bfd -L../libiberty" intl=`echo $LIBINTL | sed 's,${top_builddir}/,,g'` -LIBS="$LIBS -lbfd -liberty $intl" +LIBS="-lbfd -liberty $intl $LIBS" AC_CACHE_CHECK([for ELF support in BFD], gdb_cv_var_elf, [AC_TRY_LINK( [#include