Re: Determining if GTK is installed
- From: Chris Vine <chris cvine freeserve co uk>
- To: gtk-app-devel-list gnome org
- Subject: Re: Determining if GTK is installed
- Date: Sat, 14 Oct 2006 10:23:50 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]