Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2012-10-25 01:01:39 +0400
committerJeff Johnston <jjohnstn@redhat.com>2012-10-25 01:01:39 +0400
commit6555743a4bba74913f8df26482bbd9ed4f8adddf (patch)
tree163108f213d468a7393df880730122bb349dbc0d /newlib/configure.in
parent738ff2e83ef6fb53663647731911ca656e3d3a17 (diff)
2012-10-24 Jeff Johnston <jjohnstn@redhat.com>
* configure.in: Comment out the --enable-newlib-fp-hw option as the mathfp library is inaccurate and should not be used. * Makefile.am: Add comment regarding the mathfp directory. * configure: Regenerated. * Makefile.in: Ditto. * libm/mathfp/README: New file that details why the mathfp directory is not used.
Diffstat (limited to 'newlib/configure.in')
-rw-r--r--newlib/configure.in20
1 files changed, 13 insertions, 7 deletions
diff --git a/newlib/configure.in b/newlib/configure.in
index b6e5dee3c..35a5d070b 100644
--- a/newlib/configure.in
+++ b/newlib/configure.in
@@ -137,13 +137,19 @@ AC_LIBTOOL_WIN32_DLL
AM_PROG_LIBTOOL
fi
-AC_ARG_ENABLE(newlib_hw_fp,
-[ --enable-newlib-hw-fp Turn on hardware floating point math],
-[case "${enableval}" in
- yes) newlib_hw_fp=true ;;
- no) newlib_hw_fp=false ;;
- *) AC_MSG_ERROR(bad value ${enableval} for --enable-newlib-hw-fp) ;;
- esac],[newlib_hw_fp=false])
+dnl The following is being disabled because the mathfp library is
+dnl not up to standard due to inaccuracies caused by some of the
+dnl floating-point algorithms used. If you wish to work on this,
+dnl comment out the following line and uncomment out the lines
+dnl following it to re-enable the feature.
+newlib_hw_fp=false
+#AC_ARG_ENABLE(newlib_hw_fp,
+#[ --enable-newlib-hw-fp Turn on hardware floating point math],
+#[case "${enableval}" in
+# yes) newlib_hw_fp=true ;;
+# no) newlib_hw_fp=false ;;
+# *) AC_MSG_ERROR(bad value ${enableval} for --enable-newlib-hw-fp) ;;
+# esac],[newlib_hw_fp=false])
AM_CONDITIONAL(NEWLIB_HW_FP, test x$newlib_hw_fp = xtrue)
# These get added in the top-level configure.in, except in the case where