Re: Compiling sawfish cvs for amd64 ?



"Christopher X. Candreva" <chris westnet com> writes:

> I've been running the Sourceforge sawfish-1.3 on Fedora 4 no problems. Just 
> upgraded to an Amd64 system with Fedora 4 x64, and no go.  CVS supposedly 
> solves this problem, but I haven't gotten CVS to compile.

Here is a patch to solve this problem.

Christian

--- src/debian/sawfish-1.3+cvs20050709/configure.in	2005-07-09 18:01:19.000000000 +0200
+++ src/cvs/sawfish/configure.in	2005-07-04 14:55:24.000000000 +0200
@@ -109,10 +109,9 @@
 	     [],[$X_LIBS -lX11 -lXext])
 
 AC_CHECK_LIB(Xrandr, XRRUpdateConfiguration,
-	[AC_CHECK_HEADER(X11/extensions/Xrandr.h,
-	  [AC_DEFINE(HAVE_RANDR, 1, Have the Xrandr extension library)],
-	  :, [#include <X11/Xlib.h>])], : ,
-	  $X_LIBS -lXrandr -lXrender -lX11)
+	     [XRANDR_LIBS="-lXrandr"
+	      AC_CHECK_HEADERS(X11/extensions/Xrandr.h)],
+	     [],[$X_LIBS -lX11 -lXext])
 
 dnl Try using pkg-config first, since it looks like Xft2 may fail our
 dnl hand-crafted tests



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