[project @ 1998-06-05 14:37:59 by simonm]
[ghc-hetmet.git] / configure.in
index effe2ee..28acfda 100644 (file)
@@ -418,11 +418,6 @@ dnl    (don't do it if we're booting from .hc files though.)
 if (test "$BootingFromHc" = "NO"); then
 AC_HAPPY
 fi;
-#
-#
-dnl ** check for installed lx binary
-#
-AC_PATH_PROG(LxCmd,lx)
 
 #### program checking section ends here ####
 
@@ -482,9 +477,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