From feb3c934355a9a2331cdfeb7ab6351fd4856164f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 9 Dec 1996 03:15:25 +0000 Subject: update from main archive 961208 Mon Dec 9 03:39:30 1996 Ulrich Drepper * config.make.in (defines): Add @USE_NEW_MALLOC@. * Makefile.in: Define USE_NEW_MALLOC to -DUSE_NEW_MALLOC if we use the new malloc. * malloc.h: Use either or depending on USE_NEW_MALLOC. Fix some more POSIX.1 problems. * libio/fileops.c (_IO_file_underflow): Set errno to EBADF if used on a write-only stream. (_IO_file_overflow): Set errno to EBADF if used on a read-only stream. (_IO_file_seekoff): POSIX.1 requires that fseek() after an fflush() call really positions the file offset to the correct position and no read-ahead happens. * locale/C-monetary.c: Set mon_grouping file to "" and "\377" to pass POSIX test suite. * stdio-common/vfprintf.c: Handle empty string as grouping command correctly. * stdlib/grouping.h: Likewise. * misc/syslog.c: Case first argument of __libc_cleanup_region_start. * signal/sigsetops.h: Update copyright. Don't include ansidecl.h. * stdio-common/printf_fp.c: Update copyright. Sun Dec 8 16:39:28 1996 Andreas Jaeger * time/Makefile: Compile ap.c with NO_MCHECK flag if new-malloc used (not otherwise). * misc/syslog.c (vsyslog): Cast argument to __libc_cleanup_region to get Hurd macros right. --- configure | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index 67948b6516..14e3c2db28 100755 --- a/configure +++ b/configure @@ -1842,7 +1842,11 @@ echo "$ac_t""$stdio" 1>&6 echo $ac_n "checking malloc selection""... $ac_c" 1>&6 echo "configure:1844: checking malloc selection" >&5 -test $malloc = default && malloc=malloc +case $malloc in +new-malloc) USE_NEW_MALLOC=-DUSE_NEW_MALLOC ;; +default) malloc=malloc ;; +esac + echo "$ac_t""$malloc" 1>&6 @@ -2053,6 +2057,7 @@ s%@uname_release@%$uname_release%g s%@uname_version@%$uname_version%g s%@stdio@%$stdio%g s%@malloc@%$malloc%g +s%@USE_NEW_MALLOC@%$USE_NEW_MALLOC%g s%@libc_cv_slibdir@%$libc_cv_slibdir%g s%@libc_cv_sysconfdir@%$libc_cv_sysconfdir%g s%@gnu_ld@%$gnu_ld%g -- cgit 1.4.1