diff options
author | Thomas Fitzsimmons <fitzsim@redhat.com> | 2002-05-09 00:35:16 +0400 |
---|---|---|
committer | Thomas Fitzsimmons <fitzsim@redhat.com> | 2002-05-09 00:35:16 +0400 |
commit | 0c048a9a90ef65d0582038c0097e4bfdb18abdfb (patch) | |
tree | 6a4e58a69987a19d5ce98bd436fd5fb9e6263d74 /newlib/libc/machine/a29k/aclocal.m4 | |
parent | 76490806069d5f64a9060aff78484ec5f6b82061 (diff) |
* 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/machine/a29k/aclocal.m4')
-rw-r--r-- | newlib/libc/machine/a29k/aclocal.m4 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/newlib/libc/machine/a29k/aclocal.m4 b/newlib/libc/machine/a29k/aclocal.m4 index ba415880c..a7b261051 100644 --- a/newlib/libc/machine/a29k/aclocal.m4 +++ b/newlib/libc/machine/a29k/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], |