From xemacs-m  Sat Sep 13 14:05:59 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id OAA24644
	for <xemacs-beta@xemacs.org>; Sat, 13 Sep 1997 14:05:59 -0500 (CDT)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.7/8.8.7) id MAA02027;
	Sat, 13 Sep 1997 12:09:04 -0700
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: [PATCH] Re: 19.16-pre1: configure PATCH, puresize
References: <9709130759.AA19100@GS213.SP.CS.CMU.EDU>
X-Face: `'%\i;ySOu]g?NlziJSk_$&@]KP`}~PEQPjZ5;nxSaDW_o$4+4%Ab]%Ifw3ZR;7TIT3,O,'
 @2{L;]ox6kc;$_5kU'n**9vFg-]eV~GbxSVCx|(s%uR[],*:^WKmC`B}(;|k9/m]gwt?&`t;^rfCJg
 khHH>pP1W\)xM0U@!FNDD72{3fDP$PkBhx^7Z?-WxH6DbFN:QOnT`llzW}VGdYv;n9lzljQvKTIBhQ
 YuV
X-Attribution: sb
From: SL Baur <steve@xemacs.org>
In-Reply-To: Darrell Kindred's message of "Sat, 13 Sep 1997 03:59:44 -0400"
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
Date: 13 Sep 1997 12:09:03 -0700
Message-ID: <m2yb51hvzk.fsf@altair.xemacs.org>
Lines: 82
X-Mailer: Gnus v5.4.65/XEmacs 20.3(beta20) - "Tirana"

Darrell Kindred <dkindred@cmu.edu> writes:

> I've built 19.16-pre1 under linux (config is below), and it
> went fairly smoothly except that the default puresize is
> still low.

As promised:

Index: src/puresize.h
===================================================================
RCS file: /usr/local/xemacs/xemacs-19/src/puresize.h,v
retrieving revision 1.6
diff -u -r1.6 puresize.h
--- puresize.h	1997/03/09 02:38:41	1.6
+++ puresize.h	1997/09/13 18:41:04
@@ -31,11 +31,15 @@
 /* Basic amount of purespace to use, in the absence of extra
    things configured in. */
 
+/* This computation is Barbra Streisand, BS
 #if (LONGBITS == 64)
 # define BASE_PURESIZE 944000
 #else
 # define BASE_PURESIZE 527000
 #endif
+*/
+
+#define BASE_PURESIZE 1400000
 
 /* If any particular systems need to change the base puresize, they
    should define SYSTEM_PURESIZE_EXTRA.  Note that this can be


> Changes between 19.15 and 19.16-pre1 have caused configure
> commands like the following to break:

 ...
> The patch below makes configure insert a '#' at the
> beginning of each line.  I've made the patch to configure
> itself, rather than configure.in, since the latter doesn't
> include the relevant code.

Correct.

> (I assume it's autoconf-generated, but I don't have the right
> version of autoconf here.)

An appropriate version of autoconf is available on ftp.xemacs.org.
The /usr/local/lib/autoconf files now have various patches in them to
make things work out right.  They are included in lib-autoconf-1 in
case anyone needs to regenerate configure.

> Since this is a dead-end release, I thought patching configure
> itself might be acceptable, but I'll understand if you don't want
> to do it.

I'm not quite willing to go that far.  The following patch to
acgeneral.m4 produces the same diff output on configure after
running autoconf-1 as your configure patch does.

Index: lib-autoconf-1/acgeneral.m4
===================================================================
RCS file: /usr/local/xemacs/xemacs-19/lib-autoconf-1/acgeneral.m4,v
retrieving revision 1.1
diff -u -r1.1 acgeneral.m4
--- acgeneral.m4	1997/08/21 06:28:31	1.1
+++ acgeneral.m4	1997/09/13 18:59:35
@@ -979,8 +979,11 @@
 dnl so uname gets run too.
 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 #
-[#] [$]0 [$]quoted_arguments
-
+EOF
+sed 's/^/[#] /' >> config.status <<EOF
+[$]0 [$]quoted_arguments
+EOF
+cat >> config.status <<EOF
 changequote(,)dnl
 ac_cs_usage="Usage: config.status [--recheck] [--version] [--help]"
 changequote([,])dnl

