From xemacs-m  Tue Feb 18 15:32:45 1997
Received: from frege.math.ethz.ch (root@frege-d-math-north-g-west.math.ethz.ch [129.132.145.3])
	by xemacs.org (8.8.5/8.8.5) with SMTP id PAA04860
	for <xemacs-beta@xemacs.org>; Tue, 18 Feb 1997 15:32:43 -0600 (CST)
Received: from fresnel.math.ethz.ch (vroonhof@fresnel [129.132.145.6]) by frege.math.ethz.ch (8.6.12/Main-STAT-mailer) with ESMTP id WAA12518 for <xemacs-beta@xemacs.org>; Tue, 18 Feb 1997 22:32:24 +0100
Received: (vroonhof@localhost) by fresnel.math.ethz.ch (8.6.9/D-MATH-client) id WAA02843; Tue, 18 Feb 1997 22:31:52 +0100
Sender: vroonhof@math.ethz.ch
To: xemacs-beta@xemacs.org
Subject: Re: Minor 19.15-b94 ./configure problem on Solaris 2.x
References: <byraiejaaz.fsf@math.ethz.ch> <bypvxxkfgs.fsf@math.ethz.ch>
Mime-Version: 1.0 (generated by tm-edit 7.94)
Content-Type: text/plain; charset=US-ASCII
From: Jan Vroonhof <vroonhof@math.ethz.ch>
Date: 18 Feb 1997 22:31:51 +0100
In-Reply-To: Jan Vroonhof's message of 18 Feb 1997 21:48:51 +0100
Message-ID: <byohdhkdh4.fsf@math.ethz.ch>
Lines: 26
X-Mailer: Gnus v5.4.13/XEmacs 19.15


Another followup to my own posts:

> So apparently our Xmu library needs to be linked against libXt. If
> read configure.in it says:
> [..]
> So we should follow the FSF lead and include -lXt temporarily when
> conftest-ing for Xmu.

The following patch resolves the problem at the cost of at most one
extra failed test for Xmu:

--- configure.in.orig	Sun Feb  2 06:04:46 1997
+++ configure.in	Tue Feb 18 22:25:01 1997
@@ -3352,9 +3352,9 @@
     if test "${with_xmu}" != "yes" ; then
       AC_HAVE_LIBRARY(-lXmu, with_xmu="yes")
     fi
-    # On SunOS4 we must kludge harder to try to detect Xmu
+    # On SunOS4 (and 5!) we must kludge harder to try to detect Xmu
     # Upgrade to autoconf 2 and use ac_check_lib - mrb
-    if test "${with_xmu}" != "yes" && test -n "$OPENWINHOME" ; then
+    if test "${with_xmu}" != "yes"; then
       # begin expansion of ac_have_library
       ac_save_LIBS="${LIBS}"
       LIBS="${LIBS} -lXmu -lXt -lXext -lX11 -lm"

