Skip to content

Commit

Permalink
make svg symbol support configure script fail if cairo os not enabled
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/mapserver/trunk@12865 7532c77e-422f-0410-93f4-f0b67bdd69e2
  • Loading branch information
tbonfort committed Dec 7, 2011
1 parent ddac7ad commit cb06992
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions configure.in
Expand Up @@ -2344,6 +2344,9 @@ if test "$LIBSVG_CAIRO_CONFIG" = "no" ; then
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`
Expand Down

0 comments on commit cb06992

Please sign in to comment.