[librsvg: 1/3] Remove checks for pangoft2 and fontconfig from configure.ac




commit aa5116abb824b61347c41afa5f8f0581b154574b
Author: Sven Neumann <sven svenfoo org>
Date:   Thu Mar 18 19:20:08 2021 +0100

    Remove checks for pangoft2 and fontconfig from configure.ac
    
    The C code doesn't have these dependencies any longer.

 configure.ac | 17 -----------------
 1 file changed, 17 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5b73154a..b15171f6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -337,23 +337,6 @@ GLIB_LC_MESSAGES
 
 dnl ===========================================================================
 
-# Check for pangoft2 and fontconfig, which is optional on Windows
-
-PKG_CHECK_MODULES([PANGOFT2],[pangoft2 >= $PANGO_REQUIRED],[have_pangoft2=yes],[have_pangoft2=no])
-PKG_CHECK_MODULES([FONTCONFIG],[fontconfig],[have_fontconfig=yes],[have_fontconfig=no])
-
-if test "x$native_win32" != "xyes"; then
-  if test "x$have_pangoft2" != "xyes" -o "x$have_fontconfig" != "xyes"; then
-    AC_MSG_ERROR([pangoft2 and fontconfig are required for non-Windows platforms.])
-  fi
-fi
-
-if test "x$have_pangoft2" = "xyes" -a "x$have_fontconfig" = "xyes"; then
-  AC_DEFINE(HAVE_PANGOFT2, 1, [Have the pangoft2 library])
-fi
-
-dnl ===========================================================================
-
 # Check whether MSVC toolset is explicitly set
 
 AM_CONDITIONAL(MSVC_BASE_NO_TOOLSET_SET, [test x$MSVC_BASE_TOOLSET = x])


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