Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 316329 | Differences between
and this patch

Collapse All | Expand All

(-)configure.ac.orig (+5 lines)
Lines 82-93 Link Here
82
AC_CHECK_HEADERS([gd.h png.h kpathsea/kpathsea.h],,
82
AC_CHECK_HEADERS([gd.h png.h kpathsea/kpathsea.h],,
83
		 [AC_MSG_ERROR([cannot find/use $ac_header])])
83
		 [AC_MSG_ERROR([cannot find/use $ac_header])])
84
AC_CHECK_HEADERS([t1lib.h libgen.h])
84
AC_CHECK_HEADERS([t1lib.h libgen.h])
85
86
AC_ARG_ENABLE(freetype, AS_HELP_STRING([--disable-freetype], []), [check_ft=$enableval], [check_ft=yes])
87
88
if test "$check_ft" = yes; then
85
AC_CHECK_FT2(,[CFLAGS="$FT2_CFLAGS $CFLAGS"
89
AC_CHECK_FT2(,[CFLAGS="$FT2_CFLAGS $CFLAGS"
86
	LIBS="$FT2_LIBS $LIBS"
90
	LIBS="$FT2_LIBS $LIBS"
87
	PSFONTS_O="$PSFONTS_O sfd.o ft.o"	
91
	PSFONTS_O="$PSFONTS_O sfd.o ft.o"	
88
	AC_DEFINE(HAVE_FT2, 1, [Define to 1 if you have freetype2])
92
	AC_DEFINE(HAVE_FT2, 1, [Define to 1 if you have freetype2])
89
	ac_have_freetype2="yes"],
93
	ac_have_freetype2="yes"],
90
	[ac_have_freetype2="no"])
94
	[ac_have_freetype2="no"])
95
fi
91
if test -n "$PSFONTS_O"; then
96
if test -n "$PSFONTS_O"; then
92
  PSFONTS_O="$PSFONTS_O enc.o fontmap.o tfm.o"
97
  PSFONTS_O="$PSFONTS_O enc.o fontmap.o tfm.o"
93
fi
98
fi

Return to bug 316329