Commit fa226478b1dc846ba86eb364c524fb3f4c3bcd0d

Werner Lemberg 2022-01-28T15:20:12

* unix/configure.raw: We need 'librsvg' version 2.46.0 or newer. Older versions don't have function `rsvg_handle_get_intrinsic_dimensions`.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/builds/unix/configure.raw b/builds/unix/configure.raw
index e9eb0ee..f84dcec 100644
--- a/builds/unix/configure.raw
+++ b/builds/unix/configure.raw
@@ -531,7 +531,7 @@ AC_SEARCH_LIBS([clock_gettime],
                 || LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime])
 
 # 'librsvg' is needed to demonstrate SVG support.
-PKG_CHECK_MODULES([LIBRSVG], [librsvg-2.0],
+PKG_CHECK_MODULES([LIBRSVG], [librsvg-2.0 >= 2.46.0],
                   [have_librsvg="yes (pkg-config)"], [have_librsvg=no])
 
 FT_DEMO_CFLAGS=""