octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FTGL.h not found


From: Jaroslav Hajek
Subject: Re: FTGL.h not found
Date: Fri, 18 Jul 2008 23:38:00 +0200

On Fri, Jul 18, 2008 at 6:53 PM, John W. Eaton <address@hidden> wrote:
> On 17-Jul-2008, Jaroslav Hajek wrote:
>
> | is it possible to simply support both 2.1.2 and 2.1.3? Or are they too
> | incompatible?
>
> I don't think there is any code in Octave that specifically depends on
> the newer version.  It's just a matter of making the configure check
> do the right thing.  What's the best way to write the check so it
> distinguishes between FTGL.h and ftgl.h?  I think by default, autoconf
> would generate HAVE_FTGL_H for both.
>

I see no smarter solution than to introduce a new variable. Attached
is a patch. Since there are now 4 cases, I guess we should also wrap
all the #ifdefs in oct-ftgl.h. I'm just not sure whether it should go
in liboctave/ or src/.

cheers

> jwe
>

-- 
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz

Attachment: FTGL.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]