[mapserver-commits] r12865 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Wed Dec 7 10:20:11 EST 2011


Author: tbonfort
Date: 2011-12-07 07:20:11 -0800 (Wed, 07 Dec 2011)
New Revision: 12865

Modified:
   trunk/mapserver/configure.in
Log:
make svg symbol support configure script fail if cairo os not enabled


Modified: trunk/mapserver/configure.in
===================================================================
--- trunk/mapserver/configure.in	2011-12-07 15:10:13 UTC (rev 12864)
+++ trunk/mapserver/configure.in	2011-12-07 15:20:11 UTC (rev 12865)
@@ -2344,6 +2344,9 @@
   LIBSVG_CAIRO_INC=
   LIBSVG_CAIRO_LIB=
 else
+  if test -z "$CAIRO_ENABLED"; then
+       AC_MSG_ERROR([libsvg-cairo support requires cairo support. (hint: rerun with --with-cairo)])
+  fi
   AC_MSG_RESULT([yes, pkg-config defaults, or user supplied path to cairo.pc])
   LIBSVG_CAIRO_ENABLED="-DUSE_SVG_CAIRO"
   LIBSVG_CAIRO_LIB=`$PKG_CONFIG --libs $LIBSVG_CAIRO_CONFIG`



More information about the mapserver-commits mailing list