Line 449... |
Line 449... |
fi
|
fi
|
AC_SUBST(READLINE)
|
AC_SUBST(READLINE)
|
AC_SUBST(READLINE_DEPS)
|
AC_SUBST(READLINE_DEPS)
|
AC_SUBST(READLINE_CFLAGS)
|
AC_SUBST(READLINE_CFLAGS)
|
|
|
|
# Added from binutils 2.20.1/bfd
|
|
#Link in zlib if we can. This allows us to read compressed debug sections.
|
|
# This is used only by compress.c.
|
|
AC_SEARCH_LIBS(zlibVersion, z, [AC_CHECK_HEADERS(zlib.h)])
|
|
|
AC_ARG_WITH(expat,
|
AC_ARG_WITH(expat,
|
AS_HELP_STRING([--with-expat], [include expat support (auto/yes/no)]),
|
AS_HELP_STRING([--with-expat], [include expat support (auto/yes/no)]),
|
[], [with_expat=auto])
|
[], [with_expat=auto])
|
AC_MSG_CHECKING([whether to use expat])
|
AC_MSG_CHECKING([whether to use expat])
|
AC_MSG_RESULT([$with_expat])
|
AC_MSG_RESULT([$with_expat])
|
Line 475... |
Line 480... |
AC_CHECK_FUNCS(XML_StopParser)
|
AC_CHECK_FUNCS(XML_StopParser)
|
LIBS=$save_LIBS
|
LIBS=$save_LIBS
|
fi
|
fi
|
fi
|
fi
|
|
|
# Added from binutils 2.20.1/bfd
|
|
#Link in zlib if we can. This allows us to read compressed debug sections.
|
|
# This is used only by compress.c.
|
|
AC_SEARCH_LIBS(zlibVersion, z, [AC_CHECK_HEADERS(zlib.h)])
|
|
|
|
# ------------------------- #
|
# ------------------------- #
|
# Checks for header files. #
|
# Checks for header files. #
|
# ------------------------- #
|
# ------------------------- #
|
|
|
AC_HEADER_DIRENT
|
AC_HEADER_DIRENT
|
Line 1103... |
Line 1103... |
])
|
])
|
CONFIG_LDFLAGS="${CONFIG_LDFLAGS} ${gdb_cv_bigtoc}"
|
CONFIG_LDFLAGS="${CONFIG_LDFLAGS} ${gdb_cv_bigtoc}"
|
;;
|
;;
|
esac
|
esac
|
|
|
|
|
dnl For certain native configurations, we need to check whether thread
|
dnl For certain native configurations, we need to check whether thread
|
dnl support can be built in or not.
|
dnl support can be built in or not.
|
dnl
|
dnl
|
dnl Note that we only want this if we are both native (host == target),
|
dnl Note that we only want this if we are both native (host == target),
|
dnl and not doing a canadian cross build (build == host).
|
dnl and not doing a canadian cross build (build == host).
|
Line 1612... |
Line 1611... |
fi
|
fi
|
fi
|
fi
|
AC_SUBST(SIM)
|
AC_SUBST(SIM)
|
AC_SUBST(SIM_OBS)
|
AC_SUBST(SIM_OBS)
|
|
|
|
# Option to explicitly specify the location of the Or1ksim installation
|
|
AC_ARG_WITH([or1ksim],
|
|
[AS_HELP_STRING([--with-or1ksim=ARG],
|
|
[specify the Or1ksim installation directory explicitly (otherwise use default search paths)])],
|
|
[],
|
|
[])
|
|
if test x"$with_or1ksim" != x
|
|
then
|
|
CONFIG_LDFLAGS="${CONFIG_LDFLAGS} -Wl,-rpath -Wl,$with_or1ksim/lib -L$with_or1ksim/lib -lsim"
|
|
AC_SUBST(CONFIG_LDFLAGS)
|
|
fi
|
|
|
AC_SUBST(ENABLE_CFLAGS)
|
AC_SUBST(ENABLE_CFLAGS)
|
AC_SUBST(PROFILE_CFLAGS)
|
AC_SUBST(PROFILE_CFLAGS)
|
|
|
AC_SUBST(CONFIG_OBS)
|
AC_SUBST(CONFIG_OBS)
|
AC_SUBST(CONFIG_DEPS)
|
AC_SUBST(CONFIG_DEPS)
|