[XForms] More robust XPM checking patch

Jean-Marc Lasgouttes Jean-Marc.Lasgouttes at inria.fr
Tue Mar 30 10:29:32 EST 2004


>>>>> "Hans" == Hans J Johnson <hjohnson at mail.psychiatry.uiowa.edu> writes:

Hans> I've applied the patch below for quite some time now to various
Hans> versions of xforms. It has been submitted to the list before,
Hans> but may have been overlooked, or silently discredited.

Hello,

I do not remember seeing this patch...

Hans> This patch allows me to compile xforms on both SGI-IRIX, and
Hans> various versions of Linux. (the XPM_34g_or_later flag is not set
Hans> properly on SGI-IRIX).

Do you know why the test fails on SGI-IRIX? The only reason I can see
is that the version in the xpm.h file (used in the #if) does not match
the one in the library (used in the original version). This would be
of course a bad configuration on your machine (and this does happens
on some badly configured systems where I work).

So if I were you, I'd check whether the library and headers match...

Anyway, the patch looks reasonable, so I think I'll apply it.

Thanks.

JMarc



More information about the Xforms mailing list