On Saturday 14 October 2006 12:14, Tor Lillqvist wrote:
> Chris Vine writes:
>  > On unix-like OSs there is pkg-config (and if you use autoconf, the
>  > autoconf PKG_CHECK_MODULES macro).
>
> Not necessarily if only run-time packages are installed on the
> machine. pkg-config is a developer tool, not something software would
> need at run-time. And even if pkg-config itself is installed, the gtk+
> eveloper package (including its .pc file) need not be.
>
>  > I do not know about Windows.
>
> pkg-config exists for Windows, too, and many people who build GTK+
> software (those who use the GNU toolchain and "normal"
> autoconfiscation for their software) do use it. Typically those that
> use the Microsoft toolchain don't use it, though. pkg-config
> definitely isn't going to be present on end-user Windows machines,
> even if there is a GTK+ runtime on the machine.

Ah yes, if that is what the OP was concerned with.

For run-time I suppose the only reliable test is to launch the application and 
see if it can find the library, or if instead it fails to start.  (Apologies 
for being flippant).  For pre-compiled binary install-time checking I suppose 
the OP needs to adopt the package manager for each target of interest (apt, 
rpm, etc).  I don't know what is available for Windows though.

Chris

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to