Code

reverting (possibly mistaken) edits on configure.ac by cilix42 made on
authorJucaBlues <JucaBlues@users.sourceforge.net>
Fri, 20 Jun 2008 04:42:28 +0000 (04:42 +0000)
committerJucaBlues <JucaBlues@users.sourceforge.net>
Fri, 20 Jun 2008 04:42:28 +0000 (04:42 +0000)
revision 18964

configure.ac

index c3b9980751a067e0be218e7a23aa62686a3076ce..852970ba8d2a579c020035ef60d6fff147f2e70c 100644 (file)
@@ -610,6 +610,15 @@ AM_CONDITIONAL(USE_IMAGE_MAGICK, test "x$magick_ok" = "xyes")
 AC_SUBST(IMAGEMAGICK_LIBS)
 AC_SUBST(IMAGEMAGICK_CFLAGS)
 
+dnl ***********************************************************************************************************
+dnl Check for a Cairo version that implements user-fonts feature, so that we conditionally add SVGFonts support
+dnl ***********************************************************************************************************
+
+PKG_CHECK_MODULES(CAIRO_USER_FONTS, cairo > 1.6.4, cairouserfonts=yes, cairouserfonts=no)
+if test "x$cairouserfonts" = "xyes"; then
+       AC_DEFINE(ENABLE_SVG_FONTS, 1, [SVG Fonts should be used])
+fi
+
 dnl ******************************
 dnl   Unconditional dependencies
 dnl ******************************
@@ -794,10 +803,6 @@ if test "$GXX" = "yes"; then
   # Add even more stuff
   CXXFLAGS="-Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch $CXXFLAGS"
 
-  ## This is evil!
-  CXXFLAGS=""
-  CFLAGS=""
-
   dnl Test for arch-specific situations.
   case "$host_cpu" in
     mips|mipsel)
@@ -956,6 +961,7 @@ share/examples/Makefile
 share/extensions/Makefile
 share/extensions/alphabet_soup/Makefile
 share/extensions/Barcode/Makefile
+share/extensions/Poly3DObjects/Makefile
 share/extensions/xaml2svg/Makefile
 share/fonts/Makefile
 share/gradients/Makefile