We don't really want to rebuild eztrace on each and every binutils upload.

--- a/src/core/Makefile.am
+++ b/src/core/Makefile.am
@@ -47,7 +47,7 @@ endif
 if HAVE_LIBOPCODE
 eztrace_LDFLAGS+=-lopcodes
 endif				#HAVE_LIBOPCODE
-eztrace_LDADD += -lbfd -liberty -lz
+eztrace_LDADD += /usr/lib/libbfd.a -liberty -lz
 
 eztrace_avail_CPPFLAGS = $(TLCFLAGS)
 eztrace_avail_LDFLAGS = $(TLLDFLAGS)
--- a/configure.ac
+++ b/configure.ac
@@ -52,7 +52,7 @@ AC_CHECK_LIB([pthread], [pthread_create]
 AC_CHECK_LIB([pthread], [pthread_spin_lock], have_full_pthread=yes, have_full_pthread=no)
 AC_CHECK_LIB([z], [deflate])
 AC_CHECK_LIB([iberty], [cplus_demangle])
-AC_CHECK_LIB([bfd], [bfd_demangle])
+LIBS="/usr/lib/libbfd.a -lz $LIBS"
 
 # Check the OS type
 os_type=`uname -s`
@@ -175,7 +175,7 @@ have_demangle=yes
 AC_CHECK_HEADER([demangle.h], , have_demangle=no)
 AC_CHECK_LIB([iberty], [cplus_demangle], , have_demangle=no)
 AM_CONDITIONAL([HAVE_DEMANGLE], [test "x$have_demangle" = xyes])
-AC_CHECK_LIB([bfd], [bfd_release])
+LIBS="/usr/lib/libbfd.a -lz $LIBS"
 
 # Checks for typedefs, structures, and compiler characteristics.
 AC_TYPE_SIZE_T
@@ -204,8 +204,7 @@ use_pptrace=yes
 
 pptrace_lib_found=yes#no
 pptrace_binary_type=1
-AC_CHECK_LIB(bfd, bfd_release, [pptrace_binary_type=1], AC_MSG_ERROR([Error! You need to have libbfd]) )
-AC_CHECK_LIB([z], [deflate],[],  AC_MSG_ERROR([Error! Missing dependancy for libbfd (libiberty)]))
+LIBS="/usr/lib/libbfd.a -lz $LIBS"
 # check if the arch/OS is supported by pptrace
     if [ test "x$arch_str" = "xX86_64" ] || [ test "x$arch_str" = "xARM" ] ; then
 	if [ test "x$os_type" = "xLinux" ]; then
@@ -220,12 +219,7 @@ AC_CHECK_LIB([z], [deflate],[],  AC_MSG_
     fi
 
 
-AC_CHECK_LIB([opcodes], disassembler,
-[
-   libopcode_found=yes
-   AC_SUBST(HAVE_LIBOPCODE, 1)
-   AC_MSG_RESULT(libopcode found.)
-], [libopcode_found=no])
+LIBS="/usr/lib/libopcodes.a $LIBS"
 
 AM_CONDITIONAL([HAVE_LIBOPCODE], [test "$libopcode_found" = yes])
 AM_CONDITIONAL([USE_PPTRACE], [test "$use_pptrace" = yes])
