Mercurial > hg > xemacs-beta
diff configure.ac @ 4738:a6f27e2b3d84
Move functionality of s/darwin.h to configure.ac and config.h.in.
author | Stephen J. Turnbull <stephen@xemacs.org> |
---|---|
date | Wed, 11 Nov 2009 23:40:15 +0900 |
parents | 80d74fed5399 |
children | aa5ed11f473b |
line wrap: on
line diff
--- a/configure.ac Mon Nov 09 09:21:59 2009 -0700 +++ b/configure.ac Wed Nov 11 23:40:15 2009 +0900 @@ -1431,6 +1431,8 @@ dnl Darwin, a.k.a. MacOS X (based on Mach and Freebsd) *-*-darwin*) opsys=darwin + dnl Use this to set BSD correctly. + AC_DEFINE(USE_PARAM_H) ;; dnl Data General AViiON Machines @@ -2835,6 +2837,17 @@ dnl Do some misc autoconf-special tests dnl ----------------------------------- +dnl Can we use GNU malloc on this system? +dnl First, configure based-checks. +case "$opsys" in + darwin ) + if test "$with_system_malloc" = "default"; then + system_malloc=yes + with_system_malloc=yes + AC_MSG_WARN([Forcing system malloc on Darwin.]) + fi ;; +esac + dnl Do the opsystem or machine files prohibit the use of the GNU malloc? dnl Assume not, until told otherwise. GNU_MALLOC=yes