From 3ac6f3a7487b9e231d4d83056685a5b1349d2deb Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Sat, 21 Apr 2001 01:17:33 +0000 Subject: 2001-04-20 Jeff Johnston * 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. --- newlib/configure.host | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'newlib/configure.host') diff --git a/newlib/configure.host b/newlib/configure.host index 7a1e2918d..ca5eec65c 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: -- cgit v1.2.3