On Thu, 3 May 2001, Ian Pilcher wrote:
Here is my first cut at adding a check for the FreeType libraries and header files to the Wine configuration scripts. It's basically a copy of Marcus' CUPS stuff.
Since this is the first time I've done anything with autoconf, I figured I'd post it here for review:
diff -urN ../wine-20010502cvs/configure.in ./configure.in --- ../wine-20010502cvs/configure.in Wed May 2 12:57:30 2001 +++ ./configure.in Thu May 3 01:44:48 2001 @@ -378,6 +378,19 @@ ) AC_SUBST(CUPSLIBS)
+FREETYPELIBS="" +dnl **** Check for FreeType 2 **** +wine_cv_warn_ftsystem_h=no +AC_CHECK_LIB(freetype,FT_Init_FreeType,
AC_CHECK_HEADER(freetype2/freetype/ftsystem.h,
AC_DEFINE(HAVE_FREETYPE)
FREETYPELIBS="-lfreetype"
FREETYPEINCL="-I/usr/include/freetype2",
FREETYPELIBS=`freetype-config --libs` FREETYPEINCL=`freetype-config --cflags`
Norman