From xemacs-m  Fri May 23 07:52:56 1997
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1])
	by xemacs.org (8.8.5/8.8.5) with SMTP id HAA12137
	for <xemacs-beta@xemacs.org>; Fri, 23 May 1997 07:52:55 -0500 (CDT)
Received: from Eng.Sun.COM ([129.146.1.25]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id GAA26026; Fri, 23 May 1997 06:08:04 -0700
Received: from kindra.eng.sun.com by Eng.Sun.COM (SMI-8.6/SMI-5.3)
	id FAA16296; Fri, 23 May 1997 05:52:07 -0700
Received: from xemacs.eng.sun.com by kindra.eng.sun.com (SMI-8.6/SMI-SVR4)
	id FAA20368; Fri, 23 May 1997 05:52:08 -0700
Received: by xemacs.eng.sun.com (SMI-8.6/SMI-SVR4)
	id FAA19550; Fri, 23 May 1997 05:52:08 -0700
Date: Fri, 23 May 1997 05:52:08 -0700
Message-Id: <199705231252.FAA19550@xemacs.eng.sun.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Martin Buchholz <mrb@Eng.Sun.COM>
To: UENO Fumihiro <7m2vej@ritp.ye.IHI.CO.JP>
Cc: xemacs-beta@xemacs.org
Subject: [DU 3.2D] 20.3-bx build failed.
In-Reply-To: <9705231008.AA22487@pluto.ritp.ye.IHI.CO.JP>
References: <m2d8qiq5m1.fsf@altair.xemacs.org>
	<9705231008.AA22487@pluto.ritp.ye.IHI.CO.JP>
X-Mailer: VM 6.31 under 20.3 XEmacs Lucid (beta1)
Reply-To: Martin Buchholz <mrb@Eng.Sun.COM>

>>>>> "UENO" == UENO Fumihiro <7m2vej@ritp.ye.IHI.CO.JP> writes:

UENO> Using XEmacs-20.3-b1 full kit, and patched up to 20.3-b2,
UENO> on Digital UNIX 3.2D, making temacs failed.

UENO> Same problem has seen on 20.3-b1, too.

My first attempt to fix this problem failed.

Try this patch instead:

--- configure.in	Fri May 23 04:12:02 1997
+++ /home/mrb/x/tm/editor/configure.in	Fri May 23 05:48:27 1997
@@ -1705,14 +1708,14 @@
 eval `$CPP -Isrc $tempcname \
        | grep 'configure___' \
-       | sed -n -e 's/^configure___ \([[^=]]*=\)\(.*\)$/\1"\2"/p'`
+       | sed -n -e 's/^configure___ \([[^= ]]* *=\)\(.*\)$/\1\`echo \2\`/p'`
 if test -z "$SPECIFIED_CFLAGS"; then
   eval `$CPP -Isrc -DTHIS_IS_CONFIGURE $tempcname \
 	 | grep 'configure___' \
-	 | sed -n -e 's/^configure___ \([[^=]]*=\)\(.*\)$/\1"\2"/p'`
+	 | sed -n -e 's/^configure___ \([[^= ]]* *=\)\(.*\)$/\1\`echo \2\`/p'`
 else
   REAL_CFLAGS="$CFLAGS"
 fi
-rm $tempcname
 
+rm $tempcname
 dnl override CFLAGS if user wishes
 test "$cflags" != "NO_CFLAGS_DEFINED" && REAL_CFLAGS="$cflags"


