check the version of GLib
|Target version:||Candidate for next bugfix release|
The function `g_thread_new` called by `grdfilter.c` is provided by GLib. This function is new since 2.32 (https://developer.gnome.org/glib/stable/glib-Threads.html#g-thread-new).
The GLib provided by CentOS 6.7 is v2.28, which doesn't have the function `g_thread_new`. When the GMT_USE_THREADS is set to be TRUE, the configuration script finds the GLib v2.28, and does NOT report errors about GLib, then the installation failed due to the undefined reference to `g_thread_new`.
Maybe it is better to check the version of GLIB. If the version of GLib is older than 2.32, just disable the gthreads support even if the GMT_USE_THREADS set to be TRUE.
Added check on glib version (>= 2.32) to make sure g_thread_new exists.
This fixes issue #885.