From xemacs-m  Sun May 11 21:32:08 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 VAA23769
	for <xemacs-beta@xemacs.org>; Sun, 11 May 1997 21:32:08 -0500 (CDT)
Received: from Eng.Sun.COM ([129.146.1.25]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id TAA20348 for <xemacs-beta@xemacs.org>; Sun, 11 May 1997 19:44:37 -0700
Received: from kindra.eng.sun.com by Eng.Sun.COM (SMI-8.6/SMI-5.3)
	id TAA26790; Sun, 11 May 1997 19:31:32 -0700
Received: from xemacs.eng.sun.com by kindra.eng.sun.com (SMI-8.6/SMI-SVR4)
	id TAA19346; Sun, 11 May 1997 19:31:31 -0700
Received: by xemacs.eng.sun.com (SMI-8.6/SMI-SVR4)
	id TAA14513; Sun, 11 May 1997 19:31:29 -0700
Date: Sun, 11 May 1997 19:31:29 -0700
Message-Id: <199705120231.TAA14513@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: Gary.Foster@Corp.Sun.COM (Gary D. Foster)
Cc: xemacs-beta@xemacs.org
Subject: build failure for b6
In-Reply-To: <bci4tca1mxd.fsf@corp.Sun.COM>
References: <bci4tca1mxd.fsf@corp.Sun.COM>
X-Mailer: VM 6.24 under 20.1 XEmacs Lucid (beta15)
Reply-To: Martin Buchholz <mrb@Eng.Sun.COM>

>>>>> "Gary" == Gary D Foster <Gary.Foster@Corp> writes:

Gary>   Compiling in support for CDE.
Gary>   Compiling in support for ToolTalk.
Gary>   Compiling in support for SparcWorks.
Gary>   Using the Lucid menubar.
Gary>   Using the Lucid scrollbar.
Gary>   Using the Athena-3d dialog boxes.

This combination fails because the current configure decides that you
need to link with -lXm iff the menubars/scrollbars/dialog boxes need
it.  In fact, it's also required by --with-cde, --with-tooltalk, and
--with-xim=motif.  The reason you are seeing this problem is your
combination of --with-cde and --with-dialogs=athena3d instead of
--with-dialogs=motif.

The new configure tries to do a better job of determining when to link 
with -lXm.  My feeling is it's not worth fixing for 20.2 (too risky).

The following may be an adequate workaround: replace all occurrences
of "-ltt" in src/Makefile.in.in with "-ltt -lXm".

Martin

