detection of curl.h from configure.ac is missing. AC_CHECK_LIB etc. got most-way through a cross-compile mingw32 on amd64-debian-linux before discovering this :)
Autotools is gone now and GTK+ no longer uses curl.