checking glm/glm.hpp usability... no
checking glm/glm.hpp presence... yes
configure: WARNING: glm/glm.hpp: present but cannot be compiled
configure: WARNING: glm/glm.hpp: check for missing prerequisite headers?
configure: WARNING: glm/glm.hpp: see the Autoconf documentation
configure: WARNING: glm/glm.hpp: section "Present But Cannot Be Compiled"
configure: WARNING: glm/glm.hpp: proceeding with the compiler's result
checking for glm/glm.hpp... no
configure: error: glm/glm.hpp not found. install glm
Error running configure at ./autogen.sh line 293.
/home/actionmystique/src/LibreOffice/libreoffice-5.4.4-1/debian/rules:1963: recipe for target 'debian/stampdir/build-arch' failed
make[1]: *** [debian/stampdir/build-arch] Error 25
make[1]: Leaving directory '/home/actionmystique/src/LibreOffice/libreoffice-5.4.4-1'
debian/rules:1956: recipe for target 'build' failed
make: *** [build] Error 2
Full build log is attached.