Lines 57-62
case "$host" in
Link Here
|
57 |
esac |
57 |
esac |
58 |
AC_MSG_RESULT(ok) |
58 |
AC_MSG_RESULT(ok) |
59 |
|
59 |
|
|
|
60 |
AC_ARG_WITH([system-libbfd], |
61 |
AS_HELP_STRING([--with-system-libbfd], [Use the system copy of libbfd and libopcodes.])) |
62 |
|
63 |
AS_IF([test "x$with_system_libbfd" = "xyes"], |
64 |
[ |
65 |
AC_CHECK_HEADERS([bfd.h], [], [AC_MSG_ERROR([Missing bfd.h header])]) |
66 |
AC_CHECK_LIB([bfd], [bfd_init], [:], [AC_MSG_ERROR([Missing libbfd library])]) |
67 |
AC_CHECK_LIB([opcodes], [init_disassemble_info], [:], [AC_MSG_ERROR([Missing libopcodes library])], [-liberty]) |
68 |
AC_CHECK_MEMBERS([asection.rawsize], [], [], [[#include <bfd.h>]]) |
69 |
]) |
70 |
|
71 |
AM_CONDITIONAL([SYSTEM_LIBBFD], [test "x$with_system_libbfd" = "xyes"]) |
72 |
|
60 |
AC_ARG_WITH(bfd-target, |
73 |
AC_ARG_WITH(bfd-target, |
61 |
[ --with-bfd-target Manually override the BFD target], |
74 |
[ --with-bfd-target Manually override the BFD target], |
62 |
if test x$with_bfd_target != "x"; then |
75 |
if test x$with_bfd_target != "x"; then |