FWIW, this check was more or less always obsolete, GIO is in GLib, and if GTK exposes API using its types it ought to be present…
But `libgio` is a separate library, maybe that was really what should have been tested? Sure on Linux its in the glib package so it will allways be there, but maybe not on Windows or OSX (at least before msys).