blob: 0f577bd0e9ab97413d9ac6e5b4d8d1a6c9c9fef9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--- inkscape-0.92.3/configure.ac
+++ inkscape-0.92.3/configure.ac
@@ -252,12 +252,9 @@
[#include <malloc.h>])
])
-AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no)
-if test "x$FREETYPE_CONFIG" = "xno"; then
- AC_MSG_ERROR([Cannot find freetype-config])
-fi
-FREETYPE_CFLAGS=`$FREETYPE_CONFIG --cflags`
-FREETYPE_LIBS=`$FREETYPE_CONFIG --libs`
+PKG_CHECK_MODULES(FREETYPE, freetype2,,
+ AC_MSG_ERROR([Cannot find freetype])
+)
AC_SUBST(FREETYPE_CFLAGS)
AC_SUBST(FREETYPE_LIBS)
|