1 https://bugs.gentoo.org/654758
3 --- SDL_ttf-2.0.11/configure.in
4 +++ SDL_ttf-2.0.11/configure.in
11 dnl Check for iconv (character conversion library; see iconv.m4)
12 dnl This isn't available on many systems
15 dnl Get the cflags and libraries from the freetype-config script
22 + CFLAGS="$CFLAGS $FREETYPE2_CFLAGS"
23 + LIBS="$LIBS $FREETYPE2_LIBS"
28 AC_ARG_WITH(freetype-prefix,[ --with-freetype-prefix=PFX Prefix where FREETYPE is
29 installed (optional)],
30 freetype_prefix="$withval", freetype_prefix="")
32 where FREETYPE is installed (optional)],
33 freetype_exec_prefix="$withval", freetype_exec_prefix="")
35 +if test "x$ft_found" != "xyes" ; then
36 if test x$freetype_exec_prefix != x ; then
37 freetype_args="$freetype_args --exec-prefix=$freetype_exec_prefix"
38 if test x${FREETYPE_CONFIG+set} != xset ; then
40 CFLAGS="$CFLAGS `$FREETYPE_CONFIG $freetypeconf_args --cflags`"
41 LIBS="$LIBS `$FREETYPE_CONFIG $freetypeconf_args --libs`"