require librsvg >= 2.40
we need the UNLIMITED open API
This commit is contained in:
parent
55e49831b8
commit
260f3284ff
@ -1039,12 +1039,12 @@ AC_ARG_WITH([rsvg],
|
|||||||
AS_HELP_STRING([--without-rsvg], [build without rsvg (default: test)]))
|
AS_HELP_STRING([--without-rsvg], [build without rsvg (default: test)]))
|
||||||
|
|
||||||
if test x"$with_rsvg" != x"no"; then
|
if test x"$with_rsvg" != x"no"; then
|
||||||
PKG_CHECK_MODULES(RSVG, [librsvg-2.0 >= 2.34 cairo >= 1.2],
|
PKG_CHECK_MODULES(RSVG, [librsvg-2.0 >= 2.40 cairo >= 1.2],
|
||||||
[AC_DEFINE(HAVE_RSVG,1,[define if you have librsvg-2.0 >= 2.34.0 and cairo >= 1.2 installed.])
|
[AC_DEFINE(HAVE_RSVG,1,[define if you have librsvg-2.0 >= 2.40.0 and cairo >= 1.2 installed.])
|
||||||
with_rsvg=yes
|
with_rsvg=yes
|
||||||
PACKAGES_USED="$PACKAGES_USED librsvg-2.0 cairo"
|
PACKAGES_USED="$PACKAGES_USED librsvg-2.0 cairo"
|
||||||
],
|
],
|
||||||
[AC_MSG_WARN([librsvg-2.0 >= 2.34.0 or cairo >= 1.2 not found; disabling SVG load via rsvg])
|
[AC_MSG_WARN([librsvg-2.0 >= 2.40.0 or cairo >= 1.2 not found; disabling SVG load via rsvg])
|
||||||
with_rsvg=no
|
with_rsvg=no
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user