Jean-Marc Lasgouttes wrote:
>
>On Wednesday 17 July 2002 11:05 am, R. Lahaye wrote:
>> This is where it comes from:
>> 
>> 113 typedef Window FL_WINDOW; /* unsigned long */
>> 
>> 539 typedef struct flps_cntl_ FLIMAGE_PS_OPTION; 540 FL_EXPORT
>> FLPS_CONTROL *flimage_ps_options(void);
>> 
>> 549 enum 550 { 551 FLIMAGE_WRITABLE = FL_WRITE, FLIMAGE_READABLE =
>> FL_READ 552 };
>
>Hmm, the configure script could maybe include forms.h before testing
>for flimage.h...

Bingo!

Two solutions, as far as I see:

1) I patch flimage.h myself by adding the "#include <X11/forms.h>".

or,

2) the configure script should test

   #include <X11/forms.h>
   #include <X11/flimage.h>


I suppose that 1) is the ideal solution, but it's not general, since
on some platforms it needs to be <forms.h>, on others <X11/forms.h>.
Don't know how OpenXforms would deal with this ambiguity.

Solution 1) works for me for the moment.

Rob.

Reply via email to