diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2001-04-21 01:17:33 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2001-04-21 01:17:33 +0000 |
commit | 3ac6f3a7487b9e231d4d83056685a5b1349d2deb (patch) | |
tree | 9fdf3e29f99b701af6994a308f42b9eae885715b /newlib/configure.host | |
parent | 603260769efaf4ee3a1fd22614345e77a6e71f0b (diff) | |
download | newlib-3ac6f3a7487b9e231d4d83056685a5b1349d2deb.zip newlib-3ac6f3a7487b9e231d4d83056685a5b1349d2deb.tar.gz newlib-3ac6f3a7487b9e231d4d83056685a5b1349d2deb.tar.bz2 |
2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
* acinclude.m4: Added --enable-malloc-debugging configure flag.
* configure.host: For Cygwin specify -DMALLOC_PROVIDED if
--enable-malloc-debugging selected.
* aclocal.m4 configure: Regenerated.
libm/aclocal.m4 libm/configure: Ditto.
* libc/aclocal.m4 libc/configure: Ditto.
* libc/machine/aclocal.m4 libc/machine/configure: Ditto.
* libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
* libc/sys/aclocal.m4 libc/sys/configure: Ditto.
* libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
* doc/aclocal.m4 doc/configure: Ditto.
Diffstat (limited to 'newlib/configure.host')
-rw-r--r-- | newlib/configure.host | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/configure.host b/newlib/configure.host index 7a1e291..ca5eec6 100644 --- a/newlib/configure.host +++ b/newlib/configure.host @@ -327,6 +327,10 @@ esac case "${host}" in *-*-cygwin*) newlib_cflags="${newlib_cflags} -DHAVE_OPENDIR -DHAVE_RENAME -DSIGNAL_PROVIDED -DWANT_IO_LONG_DBL -DWANT_PRINTF_LONG_LONG -D_COMPILING_NEWLIB -DHAVE_FCNTL" +# CYGWIN provides its own malloc if --enable-malloc-debugging is set + if [ "x${malloc_debugging}" = "xyes" ] ; then + newlib_cflags="${newlib_cflags} -DMALLOC_PROVIDED" + fi syscall_dir=syscalls ;; # RTEMS supplies its own versions of some routines: |