configure: Fixed check for libsigrok and AM_PATH_GLIB_2_0.