From xemacs-m  Mon Mar 10 03:20:40 1997
Received: from venus.Sun.COM (venus.Sun.COM [192.9.25.5])
	by xemacs.org (8.8.5/8.8.5) with SMTP id DAA19741
	for <xemacs-beta@xemacs.org>; Mon, 10 Mar 1997 03:20:39 -0600 (CST)
Received: from Eng.Sun.COM ([129.146.1.25]) by venus.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id BAA08144 for <xemacs-beta@xemacs.org>; Mon, 10 Mar 1997 01:20:08 -0800
Received: from kindra.eng.sun.com by Eng.Sun.COM (SMI-8.6/SMI-5.3)
	id BAA29570; Mon, 10 Mar 1997 01:20:05 -0800
Received: from xemacs.eng.sun.com by kindra.eng.sun.com (SMI-8.6/SMI-SVR4)
	id BAA22393; Mon, 10 Mar 1997 01:20:04 -0800
Received: by xemacs.eng.sun.com (SMI-8.6/SMI-SVR4)
	id BAA04489; Mon, 10 Mar 1997 01:20:03 -0800
Date: Mon, 10 Mar 1997 01:20:03 -0800
Message-Id: <199703100920.BAA04489@xemacs.eng.sun.com>
From: Martin Buchholz <mrb@Eng.Sun.COM>
To: Hrvoje Niksic <hniksic@srce.hr>
Cc: xemacs-beta@xemacs.org
Subject: Re: FAILURE on alpha-dec-osf4.0
In-Reply-To: <kign2sdwspc.fsf@jagor.srce.hr>
References: <kigsp25u2bn.fsf@jagor.srce.hr>
	<m2vi71hcmy.fsf@altair.xemacs.org>
	<kign2sdwspc.fsf@jagor.srce.hr>
Reply-To: Martin Buchholz <mrb@Eng.Sun.COM>
Mime-Version: 1.0 (generated by tm-edit 7.101)
Content-Type: text/plain; charset=US-ASCII

>>>>> "Hrv" == Hrvoje Niksic <hniksic@srce.hr> writes:

Hrv> Steven L Baur <steve@miranova.com> writes:
>> Try this patch:

Hrv> It compiles now.  Can't tell whether it works, though.

>> > NOTE: The LIB_TOOLTALK lossage repeated.

Hrv> Does anyone have any idea why `LIB_TOOLTALK' is copied verbatim into
Hrv> Makefile?  Martin?

The following code in src/Makefile.in.in obviously fails to define
LIB_TOOLTALK in some cases, since it bogusly attempts to enumerate all
systems with TOOLTALK support.  This code should be cleaned up and
moved into configure.in.  For now, though, you can add yet another
`else' for your particular platform.

Martin

#ifdef TOOLTALK
# define TOOLTALK_OBJS tooltalk.o
# if (defined (IRIX5) || defined (HPUX) || defined (POWERPC) || defined (AIX4) || defined (LINUX))
#  define LIB_TOOLTALK -ltt
# else
#  if (defined (SPARC) && !defined (USG))
#    define LIB_TOOLTALK -ltt -lI18N
#  else
#    if ((defined (SPARC) || defined(INTEL386)) && defined (USG))
#      define LIB_TOOLTALK -ltt -lce
#    endif /* ((SPARC || INTEL386) && USG) */
#  endif /* ! (SPARC && !USG) */
# endif /* !IRIX5 */
#else /* !TOOLTALK */
# define TOOLTALK_OBJS
# define LIB_TOOLTALK
#endif /* !TOOLTALK */

