Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2001-04-21 05:17:33 +0400
committerJeff Johnston <jjohnstn@redhat.com>2001-04-21 05:17:33 +0400
commit3ac6f3a7487b9e231d4d83056685a5b1349d2deb (patch)
tree9fdf3e29f99b701af6994a308f42b9eae885715b /newlib/configure.host
parent603260769efaf4ee3a1fd22614345e77a6e71f0b (diff)
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.host4
1 files changed, 4 insertions, 0 deletions
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: