[XForms] Re: [PATCH] Simplify configure.ac

Angus Leeming angus.leeming at btopenworld.com
Wed Sep 10 12:56:42 EDT 2003

On Wednesday 10 September 2003 12:56 pm, Jean-Marc Lasgouttes wrote:
> >> Something that still has to be done is implement --disable-gl to
> >> avoid building libformsGL when not relevant. It should not be too
> >> difficult to make a test to autodetect this.
> Angus> Good idea. Actually, shouldn't that be --enable-gl (defaults to
> Angus> 'no'), identical to you little test for --enable-demos? Of
> Angus> course, it would actually do some testing if the answer were
> Angus> 'yes'.
> See attached patch. The code only builds the gl/ subdir if GL/glx.h is
> found. You can add an explicit --disable-gl to avoid building.
> I also simplified the code for --enable-demos.

Thanks for this.

> BTW, what should we do about the xforms rpm? Building it with gl
> support would mean that applications like LyX would depend on GL
> support, which is stupid. An alternative would be to make separate
> xforms and xforms-gl rpms, but this is a bit heavy IMO.

Heavy or not, it is the right thing to do. In fact, being brutal about this, 
we should have separate rpms for each library, xforms, xforms-image and 
xforms-gl. Moreover, fdesign and fd2ps are developer tools. They should go, 
therefore, in the xforms-devel rpm.


More information about the Xforms mailing list