[librsvg] Print the cairo/pango/freetype versions from the configure script



commit f4a783dcef8e66cf239d8136a5e96bf6b91bc90a
Author: Federico Mena Quintero <federico gnome org>
Date:   Fri Jan 31 12:39:15 2020 -0600

    Print the cairo/pango/freetype versions from the configure script

 configure.ac | 10 ++++++++++
 1 file changed, 10 insertions(+)
---
diff --git a/configure.ac b/configure.ac
index 6fc4807c..4151a79a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -170,6 +170,11 @@ PKG_CHECK_MODULES(LIBRSVG,                     \
        pangoft2 >= $PANGO_REQUIRED            \
 )
 
+CAIRO_VERSION=`$PKG_CONFIG --modversion cairo`
+PANGO_VERSION=`$PKG_CONFIG --modversion pangocairo`
+FREETYPE_VERSION=`$PKG_CONFIG --modversion freetype2`
+HARFBUZZ_VERSION=`$PKG_CONFIG --modversion harfbuzz`
+
 PKG_CHECK_MODULES([GTHREAD],[gthread-2.0 >= $GLIB_REQUIRED])
 
 PKG_CHECK_MODULES([GMODULE],[gmodule-2.0])
@@ -398,6 +403,11 @@ librsvg-$VERSION
        C compiler:                     ${CC}
        rustc:                          ${rust_version}
 
+       Cairo version:                  ${CAIRO_VERSION}
+       Pango version:                  ${PANGO_VERSION}
+       Freetype version:               ${FREETYPE_VERSION}
+       Harfbuzz version:               ${HARFBUZZ_VERSION}
+
         Debugging information for Rust: ${debug_release}
 
        Build introspectable bindings:  ${found_introspection}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]