aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/aclocal.m4
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2002-02-27 23:56:24 +0000
committerJeff Johnston <jjohnstn@redhat.com>2002-02-27 23:56:24 +0000
commitafecf2faee6e15a0f4c230acf718abdef3c96844 (patch)
treecb19f0b34deb41a6634cad45de087a72a54ecad6 /newlib/libc/aclocal.m4
parentd1f50ae546b2b83a73b9e12f01a76eaba825c6e2 (diff)
downloadnewlib-afecf2faee6e15a0f4c230acf718abdef3c96844.zip
newlib-afecf2faee6e15a0f4c230acf718abdef3c96844.tar.gz
newlib-afecf2faee6e15a0f4c230acf718abdef3c96844.tar.bz2
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/libc/aclocal.m4')
-rw-r--r--newlib/libc/aclocal.m410
1 files changed, 10 insertions, 0 deletions
diff --git a/newlib/libc/aclocal.m4 b/newlib/libc/aclocal.m4
index a5208f1..2cb37a2 100644
--- a/newlib/libc/aclocal.m4
+++ b/newlib/libc/aclocal.m4
@@ -56,6 +56,16 @@ AC_ARG_ENABLE(newlib-mb,
*) AC_MSG_ERROR(bad value ${enableval} for newlib-mb option) ;;
esac], [newlib_mb=no])dnl
+dnl Support --disable-newlib-io-float
+AC_ARG_ENABLE(newlib-io-float,
+[ --disable-newlib-io-float disable printf/scanf family float support],
+[case "${enableval}" in
+ yes) newlib_io_float=yes ;;
+ no) newlib_io_float=no ;;
+ *) AC_MSG_ERROR(bad value ${enableval} for newlib-io-float option) ;;
+ esac], [newlib_io_float=yes])dnl
+
+
dnl We may get other options which we don't document:
dnl --with-target-subdir, --with-multisrctop, --with-multisubdir