Chris Vine wrote: > 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. > > On Windows, you can look at HKLM\Software\GTK\2.0 . The runtime installers generally add entries to the registry. But that's no guarantee.
-- I'd rather laugh with the sinners, Than cry with the saints, The sinners are much more fun! -- Billy Joel, "Only The Good Die Young" Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list