Hi,

libXft fails to compile when it is configured with automake prior to
2.62. For example, it fails to compile in Tinderbox on host "construct".
I can reproduce the problem on level 2.60 which is is the current lowest
common denominator for all xorg modules.

The reason why it fails to compile is that the substitution in Xft.h.in
has not occurred due to a comment on the right-hand of the #undef
statement. The solution is to remove the comments while leaving one at
the top of the statement.

There is no registered maintainer for this library.
http://cgit.freedesktop.org/xorg/doc/xorg-docs/tree/MAINTAINERS

Regards,
Gaetan
>From 8de8264e80dc45d104d00b048ffafda7881a2321 Mon Sep 17 00:00:00 2001
From: Gaetan Nadon <[email protected]>
Date: Tue, 8 Dec 2009 11:13:11 -0500
Subject: [PATCH] Xft.h.in: remove comments which prevents Xft.h generation #25104

With automake prior to 2.62, commnents placed beside a #undef line
prevent that statement to be substituted by config.status.

Signed-off-by: Gaetan Nadon <[email protected]>
---
 include/X11/Xft/Xft.h.in |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/X11/Xft/Xft.h.in b/include/X11/Xft/Xft.h.in
index d66f2ec..490945f 100644
--- a/include/X11/Xft/Xft.h.in
+++ b/include/X11/Xft/Xft.h.in
@@ -26,10 +26,10 @@
 /*
  * Current Xft version number, set from version in the Xft configure.ac file.
  */
-
-#undef XFT_MAJOR	/* Will be substituted by configure */
-#undef XFT_MINOR	/* Will be substituted by configure */
-#undef XFT_REVISION	/* Will be substituted by configure */
+/* #undef will be substituted by configure */
+#undef XFT_MAJOR
+#undef XFT_MINOR
+#undef XFT_REVISION
 
 #define XFT_VERSION	((XFT_MAJOR * 10000) + (XFT_MINOR * 100) + (XFT_REVISION))
 #define XftVersion	XFT_VERSION
-- 
1.6.0.4

_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to