diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2001-05-28 14:38:12 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2001-05-28 14:38:12 +0000 |
commit | eba708a62b5bb255a3ba79ab29e9259118aaef34 (patch) | |
tree | 449e93560ecdad1ce9b16edb1f9d01510abf97a0 /Makefile | |
parent | 54ebc8099e32cb836c33bbb3744e6e498d6257af (diff) | |
download | uClibc-alpine-eba708a62b5bb255a3ba79ab29e9259118aaef34.tar.bz2 uClibc-alpine-eba708a62b5bb255a3ba79ab29e9259118aaef34.tar.xz |
Make selection of uClibc floating point support in printf, etc. seperate
from libm float function support. Also, move all Config files out of the
main directory.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 12 insertions, 7 deletions
@@ -83,20 +83,25 @@ uClibc_config.h: Config else \ echo "#undef __UCLIBC_HAS_MMU__" >> uClibc_config.h ; \ fi - @if [ "$(HAS_FLOATS)" = "true" ] ; then \ + @if [ "$(HAS_FLOATING_POINT)" = "true" ] ; then \ echo "#define __UCLIBC_HAS_FLOATS__ 1" >> uClibc_config.h ; \ else \ echo "#undef __UCLIBC_HAS_FLOATS__" >> uClibc_config.h ; \ fi - @if [ "$(HAS_DOUBLE)" = "true" ] ; then \ - echo "#define __UCLIBC_HAS_DOUBLE__ 1" >> uClibc_config.h ; \ + @if [ "$(HAS_LIBM_FLOAT)" = "true" ] ; then \ + echo "#define __UCLIBC_HAS_LIBM_FLOAT__ 1" >> uClibc_config.h ; \ else \ - echo "#undef __UCLIBC_HAS_DOUBLE__" >> uClibc_config.h ; \ + echo "#undef __UCLIBC_HAS_LIBM_FLOAT__" >> uClibc_config.h ; \ fi - @if [ "$(HAS_LONG_DOUBLE)" = "true" ] ; then \ - echo "#define __UCLIBC_HAS_LONG_DOUBLE__ 1" >> uClibc_config.h ; \ + @if [ "$(HAS_LIBM_DOUBLE)" = "true" ] ; then \ + echo "#define __UCLIBC_HAS_LIBM_DOUBLE__ 1" >> uClibc_config.h ; \ else \ - echo "#undef __UCLIBC_HAS_LONG_DOUBLE__" >> uClibc_config.h ; \ + echo "#undef __UCLIBC_HAS_LIBM_DOUBLE__" >> uClibc_config.h ; \ + fi + @if [ "$(HAS_LIBM_LONG_DOUBLE)" = "true" ] ; then \ + echo "#define __UCLIBC_HAS_LIBM_LONG_DOUBLE__ 1" >> uClibc_config.h ; \ + else \ + echo "#undef __UCLIBC_HAS_LIBM_LONG_DOUBLE__" >> uClibc_config.h ; \ fi @if [ "$(HAS_LONG_LONG)" = "true" ] ; then \ echo "#define __UCLIBC_HAS_LONG_LONG__ 1" >> uClibc_config.h ; \ |