From c58213846eb962718a2435f65e02345d3f132f5b Mon Sep 17 00:00:00 2001 From: Christian Beier Date: Fri, 27 Apr 2012 19:05:31 +0200 Subject: Only build libjpeg test programs if libjpeg is actually available. --- test/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/Makefile.am') diff --git a/test/Makefile.am b/test/Makefile.am index ff6e8f2..808ebf3 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -1,13 +1,13 @@ -# TurboJPEG wrapper tests +if HAVE_LIBJPEG +# TurboJPEG wrapper tests noinst_PROGRAMS=tjunittest tjbench - tjunittest_SOURCES=tjunittest.c ../common/turbojpeg.c ../common/turbojpeg.h \ tjutil.c tjutil.h - tjbench_SOURCES=tjbench.c ../common/turbojpeg.c ../common/turbojpeg.h \ tjutil.c tjutil.h bmp.c bmp.h tjbench_LDADD=$(LDADD) -lm +endif INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/common LDADD = ../libvncserver/libvncserver.la ../libvncclient/libvncclient.la @WSOCKLIB@ -- cgit v1.2.1