[project @ 1998-05-19 19:34:09 by reid]
authorreid <unknown>
Tue, 19 May 1998 19:34:09 +0000 (19:34 +0000)
committerreid <unknown>
Tue, 19 May 1998 19:34:09 +0000 (19:34 +0000)
Added test for libiberty.a (needed by libbfd.a)

configure.in

index effe2ee..44e3089 100644 (file)
@@ -482,9 +482,11 @@ AC_CHECK_LIB(gmp, mpz_fdiv_qr, HaveLibGmp=YES, HaveLibGmp=NO)
 AC_SUBST(HaveLibGmp)
 
 #
-dnl ** check whether this machine has BFD installed (used for debugging)
+dnl ** check whether this machine has BFD and liberty installed (used for debugging)
+dnl ** the order of these tests matters: bfd needs liberty
 #
-AC_CHECK_LIB(bfd, bfd_init)
+AC_CHECK_LIB(iberty, xmalloc)
+AC_CHECK_LIB(bfd,    bfd_init)
 
 #
 # Misc