Subversion Repositories

?revision_form?Rev ?revision_input??revision_submit??revision_endform?

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
298 magnus 1
--- a/src/modules/_Image_FreeType/configure.in
2
+++ b/src/modules/_Image_FreeType/configure.in
3
@@ -10,7 +10,8 @@ if test "x$with_freetype" = "xyes" ; the
4
 
5
   PIKE_FEATURE_NODEP(Image.FreeType)
6
 
7
-  MY_AC_PATH_PROGS(FT_CONFIG, ${ac_tool_prefix}freetype-config freetype-config, no)
8
+  PKG_CHECK_EXISTS(freetype2, FT_CONFIG="$PKG_CONFIG freetype2",
9
+     MY_AC_PATH_PROGS(FT_CONFIG, ${ac_tool_prefix}freetype-config freetype-config, no))
10
 
11
   if test "$FT_CONFIG" = "no" ; then
12
      :