replaced local gtk m4 test with AM_PATH_GTK_2_0 also changed AC_CHECK_LIB to AC_SEARCH_LIBS to avoid extra libs in compile lines.