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.
This commit is contained in:
@ -44,6 +44,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
|
||||
|
||||
|
Reference in New Issue
Block a user