On Tuesday 2009-01-20 10:37, Lorenzo Bettini wrote: > Hi > > I'd need to use the function > > g_find_program_in_path () > > in glib, if glib is found in the system... > > which is the best way of doing that? using the pkconfig or some specific > macro > provided by glib itself?
Yes, PKG_CONFIG_CHECK([glib2], [glib-2.0 >= 2.0]) should be sufficient.