No more dependency on libbfd!

master
Marc Wäckerlin 20 years ago
parent 1e2b325d0c
commit ca300b70e0
  1. 18
      configure.in

@ -13,7 +13,7 @@
AC_INIT([mrw/mrw.hpp.in])
PACKAGENAME=mrw-c++
m4_define(x_major, 1)
m4_define(x_minor, 8)
m4_define(x_minor, 9)
m4_define(x_least, 0)
AM_INIT_AUTOMAKE(@PACKAGENAME@, @MAJOR@.@MINOR@.@LEAST@, [marc@waeckerlin.org])
@ -97,18 +97,6 @@ if test "$have_stacktrace" = "yes"; then
AC_SEARCH_LIBS(cplus_demangle, [demangle iberty],
[AC_MSG_RESULT([OK, found cplus_demangle])],
[AC_MSG_ERROR([Library iberty is required!])])
AC_SEARCH_LIBS(bfd_arch_list, bfd,
[have_bfd="yes";
AC_MSG_RESULT([OK, found bfd, no need for additional libs])],
[have_bfd="no"])
if test "$have_bfd" != "yes"; then
unset ac_cv_search_bfd_arch_list
AC_SEARCH_LIBS(bfd_arch_list, bfd,
[AC_MSG_RESULT([OK, found bfd, but require more libs])
LIBS="${LIBS:-} -lintl -liberty"],
[AC_MSG_ERROR([BFD library libbfd is required])],
[-lintl -liberty])
fi
fi
AM_PATH_CPPUNIT([1.0.0], [have_cppunit="yes"], [have_cppunit="no"])
@ -128,11 +116,11 @@ AC_OUTPUT
if test "$have_doxygen" = "no"; then
AC_MSG_WARN([Missing program doxygen!
- you cannot rebuild the documentation with make doc
- there are precompiled derieved files in the distribution]); fi
- there are precompiled derived files in the distribution]); fi
if test "$have_dot" = "no"; then
AC_MSG_WARN([Missing program dot!
- when you rebild documentation with make doc, there are no generated images
- there are precompiled derieved files in the distribution]); fi
- there are precompiled derived files in the distribution]); fi
if test "$have_cppunit" = "no"; then
AC_MSG_WARN([Missing cppunit development library!
- you cannot check the library using "make check"

Loading…
Cancel
Save