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.
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user