WITH_GTKMM_3_0 is an autoconf variable that is set up during configuration of a build and signifies a user's desire to use (or not) the newer version of Gtk. It can be checked in code that includes config.h.
GTK_CHECK_VERSION(3,0,0) is the macro provided by Gtk itself, and is not tied directly to a build/configuration system. For most cases for "Gtk 2.x code vs Gtk 3.x code" this would be the preferred macro to use.
--
Jon A. Cruz
jon@...18...