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>2002-02-28 02:56:24 +0300
committerJeff Johnston <jjohnstn@redhat.com>2002-02-28 02:56:24 +0300
commitafecf2faee6e15a0f4c230acf718abdef3c96844 (patch)
treecb19f0b34deb41a6634cad45de087a72a54ecad6 /newlib/configure.host
parentd1f50ae546b2b83a73b9e12f01a76eaba825c6e2 (diff)
2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
* configure.host: Add check for --disable-newlib-io-float configuration option and add -DNO_FLOATING_POINT to newlib cflags if appropriate. * acinclude.m4: Added --disable-newlib-io-float option. * aclocal.m4: Regenerated. * configure: Ditto. * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure * libc/*/aclocal.m4 libc/*/configure * libm/*/aclocal.m4 libm/*/configure: Ditto. * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT if NO_FLOATING_POINT flag is not defined.
Diffstat (limited to 'newlib/configure.host')
-rw-r--r--newlib/configure.host6
1 files changed, 6 insertions, 0 deletions
diff --git a/newlib/configure.host b/newlib/configure.host
index 0679ced6f..0f98af13d 100644
--- a/newlib/configure.host
+++ b/newlib/configure.host
@@ -209,6 +209,12 @@ if [ "${newlib_mb}" = "yes" ] ; then
newlib_cflags="${newlib_cflags} -DMB_CAPABLE"
fi
+# Disable printf/scanf floating-point support if requested.
+
+if [ "${newlib_io_float}" = "no" ] ; then
+ newlib_cflags="${newlib_cflags} -DNO_FLOATING_POINT"
+fi
+
# Verify if shared newlib support is allowed and set appropriate variables
# We don't want to use libtool for platforms that we are not going to
# support shared libraries. This is because it adds executable tests which