Revert "plugin/configure.ac: Removed no longer needed glib check"

This reverts commit 5bcf3b8ef987fa78aad295abd4ae32fdfbe681a2

glib is now needed (again).

Signed-off-by: Sasha Kotchubievsky <sashakot@mellanox.com>
Signed-off-by: Hal Rosenstock <hal@mellanox.com>
[acm distrib]/configure.in: Add Glib checking to ibacm and ibssa applications

Signed-off-by: Sasha Kotchubievsky <sashakot@mellanox.com>
Signed-off-by: Hal Rosenstock <hal@mellanox.com>
[plugin distrib acm]/configure: Add check for g_thread_init function

AC_CHECK_LIB adds to dependencies necessary for g_thread_init.
The function's dependency is different from other Glib
threading routines.

Signed-off-by: Sasha Kotchubievsky <sashakot@mellanox.com>
Signed-off-by: Hal Rosenstock <hal@mellanox.com>
[plugin distrib acm]/Makefile.am: Add Glib support to Makefiles

Signed-off-by: Sasha Kotchubievsky <sashakot@mellanox.com>
Signed-off-by: Hal Rosenstock <hal@mellanox.com>