From xemacs-m  Thu Jun  5 06:44:30 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 GAA07593;
	Thu, 5 Jun 1997 06:44:29 -0500 (CDT)
Received: from Eng.Sun.COM ([129.146.1.25]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id FAA25971; Thu, 5 Jun 1997 05:02:41 -0700
Received: from kindra.eng.sun.com by Eng.Sun.COM (SMI-8.6/SMI-5.3)
	id EAA28187; Thu, 5 Jun 1997 04:43:10 -0700
Received: from xemacs.eng.sun.com by kindra.eng.sun.com (SMI-8.6/SMI-SVR4)
	id EAA16954; Thu, 5 Jun 1997 04:43:10 -0700
Received: by xemacs.eng.sun.com (SMI-8.6/SMI-SVR4)
	id EAA09882; Thu, 5 Jun 1997 04:43:06 -0700
Date: Thu, 5 Jun 1997 04:43:06 -0700
Message-Id: <199706051143.EAA09882@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: Steven L Baur <steve@xemacs.org>
Cc: xemacs-beta@xemacs.org
Subject: Why is XpmFree being erroneously checked as a function?
In-Reply-To: <m2910pbeb3.fsf@altair.xemacs.org>
References: <m2910pbeb3.fsf@altair.xemacs.org>
X-Mailer: VM 6.31 under 20.3 XEmacs Lucid (beta3)
Reply-To: Martin Buchholz <mrb@Eng.Sun.COM>

>>>>> "sb" == Steven L Baur <steve@xemacs.org> writes:

sb> I have been using my current libXpm.so libraries happily with XEmacs for
sb> over a year now.

It was suggested by Olivier Galibert, that XpmFree was a symbol
defined by newer Xpm's, and that older Xpm's like SGI's were broken.
Perhaps this test is a little too sensitive.

My Linux system I use for testing has no problems.  Ideally we would
test for a symbol introduced in the *oldest* Xpm library that works.

checking for X11/xpm.h... yes
checking for XpmFree in -lXpm... yes
    Defining HAVE_XPM
    Prepending "-lXpm" to $libs_x

For now we can just change XpmFree back to XpmReadFileToData.

Martin

