Gnumeric 1.12.57 needs Pango 1.46 or later and should check appropriately
Attempting to compile gnumeric 1.12.57 on my system fails with:
html.c: In function 'underline_span_pango': html.c:148:7: error: 'PANGO_UNDERLINE_SINGLE_LINE' undeclared (first use in this function); did you mean 'PANGO_UNDERLINE_SINGLE'? 148 | case PANGO_UNDERLINE_SINGLE_LINE: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | PANGO_UNDERLINE_SINGLE html.c:148:7: note: each undeclared identifier is reported only once for each function it appears in html.c:153:7: error: 'PANGO_UNDERLINE_DOUBLE_LINE' undeclared (first use in this function); did you mean 'PANGO_UNDERLINE_DOUBLE'? 153 | case PANGO_UNDERLINE_DOUBLE_LINE: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | PANGO_UNDERLINE_DOUBLE CC font.lo html.c:156:7: error: 'PANGO_UNDERLINE_ERROR_LINE' undeclared (first use in this function); did you mean 'PANGO_UNDERLINE_ERROR'? 156 | case PANGO_UNDERLINE_ERROR_LINE: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | PANGO_UNDERLINE_ERROR
These were defined in Pango as of 1.46; my system has Pango 1.44.7 (I should update).
The bug here is that the Pango version check doesn't account for this; as far as I can tell from configure.ac, it's happy to accept anything back to 1.24.0.