The ./configure flags for gtkglext in truevision-0.5.5 are broken. The AC_ARG_WITH specifies a different flag (GTKGL-prefix) than the subsequent handling of its data (gtkglext-prefix). Worse, since gtkglext often needs more than just one -I flag (mine has some headers in prefix/lib in addition to prefix/include), so the whole DIR passing mechanism here is not viable. Note that this mis-passing isn't detected at configure time because there is no check for the headers actually existing at all (the lib is checked, but not the headers).
Solution: gtkglext publishes its flags via pkgconfig, so scrap the whole flags and tests and just PKG_CHECK_MODULES for it. Then you have the locally-correct CFLAGS and LDFLAGS ready to go.
Logged In: YES
user_id=1850
Originator: NO
sorry but truevision isn't maintained any more... Any new maintainer would
be welcome !