From 73941fa2f5e5a71fb36a3b9a9dec8a833898907e Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 19 Nov 2010 22:45:57 -0800 Subject: 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 --- Makefile.am | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index fa8729e..51bd1dd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -27,11 +27,15 @@ xlogo_SOURCES = \ Logo.c \ Logo.h \ LogoP.h \ - RenderLogo.c \ - RenderLogo.h \ xlogo.c \ xlogo.h +if USE_RENDER +xlogo_SOURCES += \ + RenderLogo.c \ + RenderLogo.h +endif + appman_PRE = \ xlogo.man -- cgit v1.2.3