Freetype libs in /usr/include/libs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A user notified me that even if his system has Freetype2 installed,
Wine fails to detect that during configure, for he has installed it
in /usr/local instead of /usr/X11R6.

The patch below fixes this, but I'm not sure whether it's the right
approach.

If it is not, how shall we handle this, assuming /usr/local is a
standard prefix which I think we should always consider?

Gerald

Index: configure.ac
===================================================================
RCS file: /home/wine/wine/configure.ac,v
retrieving revision 1.165
diff -u -3 -p -r1.165 configure.ac
--- configure.ac	1 Jul 2003 01:11:13 -0000	1.165
+++ configure.ac	7 Jul 2003 08:44:30 -0000
@@ -429,7 +429,7 @@ then
 fi

 dnl **** Check for FreeType 2 ****
-AC_CHECK_LIB(freetype,FT_Init_FreeType,ft_lib=yes,ft_lib=no,$X_LIBS)
+AC_CHECK_LIB(freetype,FT_Init_FreeType,ft_lib=yes,ft_lib=no,-L/usr/local/lib $X_LIBS)
 if test "$ft_lib" = "no"
 then
     FREETYPEINCL=""


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux