From xemacs-m  Sun Feb  2 18:17:20 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 SAA15209
	for <xemacs-beta@xemacs.org>; Sun, 2 Feb 1997 18:17:20 -0600 (CST)
Received: from Eng.Sun.COM ([129.146.1.25]) by venus.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id QAA04723; Sun, 2 Feb 1997 16:16:51 -0800
Received: from kindra.eng.sun.com by Eng.Sun.COM (SMI-8.6/SMI-5.3)
	id QAA03102; Sun, 2 Feb 1997 16:16:47 -0800
Received: from xemacs.eng.sun.com by kindra.eng.sun.com (SMI-8.6/SMI-SVR4)
	id QAA29008; Sun, 2 Feb 1997 16:16:44 -0800
Received: by xemacs.eng.sun.com (SMI-8.6/SMI-SVR4)
	id QAA21960; Sun, 2 Feb 1997 16:16:41 -0800
Date: Sun, 2 Feb 1997 16:16:41 -0800
Message-Id: <199702030016.QAA21960@xemacs.eng.sun.com>
From: Martin Buchholz <mrb@Eng.Sun.COM>
To: Steven L Baur <steve@miranova.com>
Cc: xemacs-beta@xemacs.org
Subject: Re: 20.0 build FAILURE on AIX4.2
In-Reply-To: <m2zpxmydkm.fsf@altair.xemacs.org>
References: <199702021526.KAA03730@blight.IntraNet.com>
	<m2zpxmydkm.fsf@altair.xemacs.org>
Reply-To: Martin Buchholz <mrb@Eng.Sun.COM>
Mime-Version: 1.0 (generated by tm-edit 7.100)
Content-Type: text/plain; charset=US-ASCII

>>>>> "sb" == Steven L Baur <steve@miranova.com> writes:

sb> Jonathan Edwards writes:
>> Seems CDE is auto-detected now, but libDtSvc.a requires libtt.a
>> Don't know anything about configure, but the following patch works for me:

sb> That appears to be the tooltalk library.  How come it isn't being
sb> detected?  I don't know anything about CDE and tooltalk, is this a
sb> reasonable change?

Any system that has libDtSvc will likely have libtt as well.  At least
on Solaris the two libraries are collocated in /usr/dt/lib.  I believe
this to be true of other CDE systems as well.

The Right Thing long term is to:
- add /usr/dt/lib to library search path for X libraries
- Check for presence of libtt
- Check for presence of libDtSvc
- Add these to x library list if --with-cde
- This logic should all be in configure, not Makefile.in.in

The following patch is OK for now.

>> --- Makefile.in.in~     Thu Jan 23 00:30:03 1997
>> +++ Makefile.in.in      Sun Feb  2 09:56:18 1997
>> @@ -805,7 +805,7 @@
>> #endif /* !TOOLTALK */
 
>> #ifdef HAVE_CDE
>> -#  define LIB_CDE -lDtSvc
>> +#  define LIB_CDE -lDtSvc -ltt
>> #else
>> #  define LIB_CDE
>> #endif

