summaryrefslogtreecommitdiff
blob: ff11ffa96f5fd74a6b2da1bba0d2c9f9c41a8d24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- adonthell-0.3.5/configure.in
+++ adonthell-0.3.5/configure.in
@@ -17,6 +17,8 @@
 CPPFLAGS=""
 DEFS=""
 
+PKG_PROG_PKG_CONFIG
+
 dnl ********************
 dnl Checks for programs.
 dnl ********************
@@ -144,8 +146,7 @@
 dnl Check for FreeType2
 dnl *******************
 
-AC_CHECK_FT2(6.0.0,
-    :,
+PKG_CHECK_MODULES(FT2, freetype2 >= 6.0.0,,
     AC_MSG_ERROR([*** Freetype version >= 6.0.0 not found!])
 )