Tue 21 Apr 2009 04:48:27 PM UTC, original submission:
My experience is that specifying --with-ft-prefix does not override the
PATH search for freetype-config in builds/unix/freetype2.m4 (version 2.3.9).
The FT2_CONFIG variable is set from the prefix options, but then
overwritten by the PATH test.
Simple patch below. Hope the web form doesn't mangle it.
Thanks,
karl
2009-04-21 Karl Berry <karl@freefriends.org>
* freetype2.m4 (AC_CHECK_FT2): only check PATH for freetype-config
if we did not already find it from a prefix option.
--- freetype2.m4 (revision 12752)
+++ freetype2.m4 (working copy)
@@ -60,7 +60,9 @@
fi
fi
- AC_PATH_PROG([FT2_CONFIG], [freetype-config], [no])
+ if test "x$FT2_CONFIG" = x ; then
+ AC_PATH_PROG([FT2_CONFIG], [freetype-config], [no])
+ fi
min_ft_version=m4_if([$1], [], [7.0.1], [$1])
AC_MSG_CHECKING([for FreeType -- version >= $min_ft_version])
|