summaryrefslogtreecommitdiff
blob: 37aa0436eb4adeec2aae1d47c8fbcc8ec5e49fb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/configure-ft.m4 b/configure-ft.m4
index d27678ca..ce369bf4 100644
--- a/configure-ft.m4
+++ b/configure-ft.m4
@@ -1,14 +1,2 @@
 dnl Check for FreeType2
-AC_CHECK_FT2(7.0.1, ftype=1)
-if test "$ftype" != 1; then
-	AC_MSG_ERROR([
-		FreeType2 must be installed on your system
-		but freetype-config couldn't be found.
-		Please check that freetype-config is in the path, the directory
-		where the freetype libraries are installed (returned by
-		'freetype-config --libs' command) is in LD_LIBRARY_PATH or
-                equivalent variable and freetype version is 7.0.1 or above
-                Try http://www.freetype.org to download freetype.
-	])
-fi
-
+PKG_CHECK_MODULES(FT2, freetype2 >= 7.0.1)