Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 572658
Collapse All | Expand All

(-)kit.orig/configure.in (-2 / +6 lines)
Lines 16-21 Link Here
16
AC_PROG_AWK
16
AC_PROG_AWK
17
AC_PROG_YACC
17
AC_PROG_YACC
18
AC_PROG_LEX
18
AC_PROG_LEX
19
PKG_PROG_PKG_CONFIG([0.22])
19
AC_PATH_PROGS(mgp_cv_path_perl, perl5 perl, no)
20
AC_PATH_PROGS(mgp_cv_path_perl, perl5 perl, no)
20
AC_SUBST(mgp_cv_path_perl)
21
AC_SUBST(mgp_cv_path_perl)
21
AC_PATH_PROGS(mgp_cv_path_uuencode, uuencode, no)
22
AC_PATH_PROGS(mgp_cv_path_uuencode, uuencode, no)
Lines 385-393 Link Here
385
    if test "$mgp_use_xft2" = "yes"; then
386
    if test "$mgp_use_xft2" = "yes"; then
386
  	  AC_MSG_CHECKING(for xft2 library..)
387
  	  AC_MSG_CHECKING(for xft2 library..)
387
	  AC_CHECK_LIB(Xft, XftFontOpen, 
388
	  AC_CHECK_LIB(Xft, XftFontOpen, 
388
		[LIBS="$LIBS -lXft -lfontconfig"
389
		[LIBS="$LIBS -lXft `pkg-config --libs fontconfig`"
389
		 AC_DEFINE(USE_XFT2) 
390
		 AC_DEFINE(USE_XFT2) 
390
		 mgp_xft2_found=yes], [], [-lfontconfig])
391
		 mgp_xft2_found=yes], [], [`pkg-config --libs fontconfig`])
391
    fi
392
    fi
392
  fi
393
  fi
393
fi
394
fi
Lines 507-512 Link Here
507
		AC_DEFINE(USE_M17N)
508
		AC_DEFINE(USE_M17N)
508
		OPTFLAGS="$OPTFLAGS `m17n-config X --cflags`"
509
		OPTFLAGS="$OPTFLAGS `m17n-config X --cflags`"
509
		LIBS="$LIBS `m17n-config X --libs` -lm17n-core"
510
		LIBS="$LIBS `m17n-config X --libs` -lm17n-core"
511
		if test "x$ac_cv_header_fontconfig_fontconfig_h" = "xyes"; then
512
			LIBS="$LIBS `pkg-config --libs fontconfig`"
513
		fi
510
	fi
514
	fi
511
fi
515
fi
512
516

Return to bug 572658