diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2010-11-19 22:45:57 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2010-11-19 22:45:57 -0800 |
commit | 73941fa2f5e5a71fb36a3b9a9dec8a833898907e (patch) | |
tree | ac40b390fea4f78800bcec31cd387956bb6940f5 /RenderLogo.c | |
parent | 6d8da24e45c124162b06529290366d465f1df499 (diff) |
Bug 31645 - xlogo: Doesn't build with libXrender and without libXft
https://bugs.freedesktop.org/show_bug.cgi?id=31645
Add AM_CONDITIONAL to skip building RenderLogo.c without Render support
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'RenderLogo.c')
-rw-r--r-- | RenderLogo.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/RenderLogo.c b/RenderLogo.c index a7963fb..bb1361c 100644 --- a/RenderLogo.c +++ b/RenderLogo.c @@ -27,6 +27,8 @@ in this Software without prior written authorization from The Open Group. #ifdef HAVE_CONFIG_H #include <config.h> #endif + +#ifdef XRENDER #include <stdio.h> #include <X11/Xlib.h> @@ -159,4 +161,4 @@ intersect(XLineDouble *l1, XLineDouble *l2, XPointDouble *intersection) fprintf(stderr, "intersect: intersection is off by %f\n", check); } } - +#endif /* XRENDER */ |