diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2011-04-20 17:52:23 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2011-05-03 14:44:11 +0200 |
commit | c1b7ecac3f51a2818bf7abd00d27f0475b507ba1 (patch) | |
tree | cd02685384dc83a5daa42e95678ebb5048b0c38c /client/x11/red_window.cpp | |
parent | 7e30572ab1d51d5b8a7f6f9b9a3472d59a0ea167 (diff) | |
download | spice-c1b7ecac3f51a2818bf7abd00d27f0475b507ba1.tar.gz spice-c1b7ecac3f51a2818bf7abd00d27f0475b507ba1.tar.xz spice-c1b7ecac3f51a2818bf7abd00d27f0475b507ba1.zip |
use AC_DEFINE instead of hardcoding preprocessor flags
Now that all source files include config.h, we can use AC_DEFINE
to enable/disable optional features (opengl, cegui). This is
cleaner than directly appending -Dxxx directives to the preprocessor
flags. This also guarantees that everything will be appropriately
rebuilt when using the same source tree to build first with opengl
support and then without (the config.h timestamp will change,
triggering a rebuild of the files including it)
Diffstat (limited to 'client/x11/red_window.cpp')
0 files changed, 0 insertions, 0 deletions