On Thursday 12 October 2006 22:21, David Vandepol wrote: > Hi, > > I am working on an installer that prereqs GTK, I was wondering if > there was a known algorithm for determining whether GTK is installed on the > system, and what the level is. Also is there a different way to do this > depending on the OS.
On unix-like OSs there is pkg-config (and if you use autoconf, the autoconf PKG_CHECK_MODULES macro). I do not know about Windows. To detect the version at compile time see the C preprocessor macros in the gtkversion.h header file. Chris _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list