Please consider the following changeset for inclusion into octave archive. It fixes a CXXFLAGS restore error when FTGL headers are not present. http://hg.tw-math.de/octave-graphics-mq/rev/ceab6e87b1bf Michael.