11 lines
383 B
Diff
11 lines
383 B
Diff
--- a/configure.in
|
|||
|
|
+++ b/configure.in
|
||
|
|
@@ -17,7 +17,7 @@
|
||
|
|
AC_ARG_ENABLE(ttf, [ --enable-ttf enable FreeType2 support],
|
||
|
|
if [[[ "$enableval" = "yes" ]]]; then
|
||
|
|
AC_DEFINE(TTF_SUPPORT, [1], [Define to 1 to enable FreeType2 support])
|
||
|
|
- CFLAGS="$CFLAGS `freetype-config --cflags`"
|
||
|
|
+ CFLAGS="$CFLAGS `pkg-config --cflags freetype2`"
|
||
|
|
FTLIB="-lfreetype"
|
||
|
|
ttf_support="yes"
|
||
|
|
else
|