+start-sanitize-sky
+Wed Tue 21 17:29:48 1998 Jim Lemke <jlemke@cygnus.com>
+ * configure.in: Add configure option --with-sim-funit.
+
+end-sanitize-sky
Tue Apr 21 11:20:54 1998 Frank Ch. Eigler <fche@cygnus.com>
* mips-tdep.c (gdb_print_insn_mips): Disassemble MIPS instructions
fi ;;
*) AC_MSG_WARN([--with-sim-gpu2 option invalid for target ${target}])
esac])dnl
+
+# Enable target accurate FP library
+AC_ARG_WITH(sim-funit,
+[ --with-sim-funit=path Use target FP lib under given directory],
+[case "${target}" in
+ mips*-sky-*)
+ if test -d "${withval}"
+ then
+ LIBS="${LIBS} -L${withval}/lib -lfunit"
+ else
+ AC_MSG_WARN([Directory ${withval} does not exist.])
+ fi ;;
+ *) AC_MSG_WARN([--with-sim-funit option invalid for target ${target}])
+esac])dnl
# end-sanitize-sky
AC_SUBST(ENABLE_CFLAGS)
else
AC_MSG_ERROR("Directory ${withval} does not exist.");
fi])dnl
+# Enable target accurate FP library
+AC_ARG_WITH(sim-funit,
+[ --with-sim-funit=path Use target FP library under given directory],
+[if test -d "${withval}"
+then
+ SIM_SUBTARGET="${SIM_SUBTARGET} -DSKY_FUNIT -I${withval}/include"
+ mips_extra_libs="${mips_extra_libs} -L${withval}/lib -lfunit"
+else
+ AC_MSG_ERROR("Directory ${withval} does not exist.");
+fi])dnl
# end-sanitize-sky
AC_SUBST(mips_extra_libs)