[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Optional GTK?

From: Patrick M. Rutkowski
Subject: Optional GTK?
Date: Sun, 13 Sep 2009 21:21:06 -0400

If I were to run something like AM_PATH_GTK_2_0 in my,
which checks for the presence of GTK, what would I do if GTK wasn't

This might be the case on OS X, or on a KDE system.

I can potentially compile this library of mine with the GTK features
just left out, there's a lot more to the library that can still be

But how do I do that?

A) Is it possible to get automake to just NOT COMPILE the gtk related
*.c files based on the autoconf results?
B) Do I take the gtk related *.c files and wrap them in big "#ifdef
USE_GTK / #endif" wrappers?

Is there a standard answer?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]