FYI, from now on, on main branch, after PR #2679 [1] configuring png library has changed to: --with-libpng=path/libpng-config The following flags are not usable anymore: --with-png-includes=DIRS --with-png-libs=DIRS Best, Nicklas [1] https://github.com/OSGeo/grass/pull/2679