Setting ac_cv_path_SED=/bin/sed in the environment of the configure call might even be easier and less invasive.
YMMV, //mirabilos -- Thorsten Glaser (Gründungsmitglied) Teckids e.V. — Digitale Freiheit mit Jugend und Bildung https://www.teckids.org/