2012-07-12 Glenn Morris <rgm@gnu.org>
+ * configure.ac (AH_BOTTOM) [DARWIN_OS]: Move SYSTEM_PURESIZE_EXTRA
+ setting here from src/s/darwin.h.
+
* configure.ac (NO_MATHERR): Unconditionally define for Darwin;
as src/s/darwin.h used to.
# include config_opsysfile
#endif
-/* GNUstep needs a bit more pure memory. Of the existing knobs,
- SYSTEM_PURESIZE_EXTRA seems like the least likely to cause problems.
- (There is probably a better place to do this, but right now the
- Cocoa side does this in s/darwin.h and we cannot parallel this
- exactly since GNUstep is multi-OS. */
-#if defined HAVE_NS && defined NS_IMPL_GNUSTEP
+/* Mac OS X / GNUstep need a bit more pure memory. Of the existing knobs,
+ SYSTEM_PURESIZE_EXTRA seems like the least likely to cause problems. */
+#ifdef HAVE_NS
+#if defined NS_IMPL_GNUSTEP
# define SYSTEM_PURESIZE_EXTRA 30000
+#elif defined DARWIN_OS
+# define SYSTEM_PURESIZE_EXTRA 200000
+#endif
#endif
#ifdef emacs /* Don't do this for lib-src. */
2012-07-12 Glenn Morris <rgm@gnu.org>
+ * s/darwin.h (SYSTEM_PURESIZE_EXTRA): Move to configure.
* process.c (init_process_emacs): Rename from init_process.
The old name is also the name of a Mach system call.
#define MIN_PTY_KERNEL_VERSION '7'
/* Definitions for how to compile & link. */
-#ifdef HAVE_NS
-#define SYSTEM_PURESIZE_EXTRA 200000
-#endif
-
#ifdef emacs
#define malloc unexec_malloc
#define realloc unexec_realloc