+make cairo compilation conditional on CFLAG (as well as Scons) like bindings/python/python_cairo.cpp

This commit is contained in:
Dane Springmeyer 2009-06-08 19:43:49 +00:00
parent 1af2f6b77f
commit 7eb01c0be4
2 changed files with 10 additions and 0 deletions

View file

@ -22,9 +22,13 @@
//$Id$
#if defined(HAVE_CAIRO)
#ifndef CAIRO_RENDERER_HPP
#define CAIRO_RENDERER_HPP
// mapnik
#include <mapnik/config.hpp>
#include <mapnik/feature_style_processor.hpp>
@ -120,4 +124,6 @@ namespace mapnik {
};
}
#endif
#endif //CAIRO_RENDERER_HPP

View file

@ -21,6 +21,8 @@
*****************************************************************************/
//$Id$
#if defined(HAVE_CAIRO)
// mapnik
#include <mapnik/cairo_renderer.hpp>
#include <mapnik/image_util.hpp>
@ -1069,3 +1071,5 @@ namespace mapnik
template class cairo_renderer<Cairo::Surface>;
template class cairo_renderer<Cairo::Context>;
}
#endif