summaryrefslogtreecommitdiff
blob: ab24a44fd3d439a9eded8360f6aa09df95da9e6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
--- configure.in.orig	2002-11-18 11:59:23.000000000 +0100
+++ configure.in	2002-11-20 01:43:36.000000000 +0100
@@ -235,35 +235,35 @@
 )
 AM_CONDITIONAL(GNOME, test x$GNOME = xtrue)
 
-AC_MSG_CHECKING([whether to have Xft support])
+AC_MSG_CHECKING([whether to have Xft2 support])
 AC_ARG_ENABLE(
   xft,
-[  --enable-xft            Xft (antialias) support [default=yes]],
+[  --enable-xft            Xft2 (antialias) support [default=yes]],
   if test x$enableval = "xyes"; then
-	AC_CHECK_LIB(Xft, XftFontOpen,
-		LIBS="$LIBS -lXft"
+	AC_CHECK_LIB(Xft2, XftFontOpen,
+		LIBS="$LIBS -lXft2"
 		XFT=true
 		AC_DEFINE(USE_XFT, 1, "antialias support"),
 		AC_MSG_RESULT([no])
 		XFT=false
 	)
-        AC_CHECK_LIB(Xft, XftDrawStringUtf8,
-		LIBS="$LIBS -lXft"
-		AC_DEFINE(HAVE_XFT_UTF8_STRING, 1, "Xft UTF8 support"),
+        AC_CHECK_LIB(Xft2, XftDrawStringUtf8,
+		LIBS="$LIBS -lXft2"
+		AC_DEFINE(HAVE_XFT_UTF8_STRING, 1, "Xft2 UTF8 support"),
         )
   else
     AC_MSG_RESULT([no])
 	XFT=false
   fi,
-  AC_CHECK_LIB(Xft, XftFontOpen,
-	LIBS="$LIBS -lXft"
+  AC_CHECK_LIB(Xft2, XftFontOpen,
+	LIBS="$LIBS -lXft2"
 	XFT=true
 	AC_DEFINE(USE_XFT, 1, "antialias support"),
 	AC_MSG_RESULT([no])
 	XFT=false
   )
-  AC_CHECK_LIB(Xft, XftDrawStringUtf8,
-	LIBS="$LIBS -lXft"
+  AC_CHECK_LIB(Xft2, XftDrawStringUtf8,
+	LIBS="$LIBS -lXft2"
 	AC_DEFINE(HAVE_XFT_UTF8_STRING, 1, "Xft UTF8 support"),
   )
 )