diff options
author | Thomas Fitzsimmons <fitzsim@redhat.com> | 2002-05-08 20:35:16 +0000 |
---|---|---|
committer | Thomas Fitzsimmons <fitzsim@redhat.com> | 2002-05-08 20:35:16 +0000 |
commit | 0c048a9a90ef65d0582038c0097e4bfdb18abdfb (patch) | |
tree | 6a4e58a69987a19d5ce98bd436fd5fb9e6263d74 /newlib/libc/aclocal.m4 | |
parent | 76490806069d5f64a9060aff78484ec5f6b82061 (diff) | |
download | newlib-0c048a9a90ef65d0582038c0097e4bfdb18abdfb.zip newlib-0c048a9a90ef65d0582038c0097e4bfdb18abdfb.tar.gz newlib-0c048a9a90ef65d0582038c0097e4bfdb18abdfb.tar.bz2 |
* acinclude.m4: Add support for --enable-newlib-multithread.
* configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
--enable-newlib-multithread=no.
Diffstat (limited to 'newlib/libc/aclocal.m4')
-rw-r--r-- | newlib/libc/aclocal.m4 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/newlib/libc/aclocal.m4 b/newlib/libc/aclocal.m4 index aee6060..baa2e0f 100644 --- a/newlib/libc/aclocal.m4 +++ b/newlib/libc/aclocal.m4 @@ -56,6 +56,15 @@ AC_ARG_ENABLE(newlib-mb, *) AC_MSG_ERROR(bad value ${enableval} for newlib-mb option) ;; esac], [newlib_mb=no])dnl +dnl Support --enable-newlib-multithread +AC_ARG_ENABLE(newlib-multithread, +[ --enable-newlib-multithread enable support for multiple threads], +[case "${enableval}" in + yes) newlib_multithread=yes ;; + no) newlib_multithread=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for newlib-multithread option) ;; + esac], [newlib_multithread=yes])dnl + dnl Support --disable-newlib-io-float AC_ARG_ENABLE(newlib-io-float, [ --disable-newlib-io-float disable printf/scanf family float support], |