summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2012-04-27 19:05:31 +0200
committerChristian Beier <dontmind@freeshell.org>2012-04-27 19:05:31 +0200
commitc58213846eb962718a2435f65e02345d3f132f5b (patch)
treea03aa44ab92015d8eabd2b3ffc5507b6a4e0eae0 /test
parent98125f9d4ce46947830fad5ebb476207a8310d70 (diff)
downloadlibtdevnc-c58213846eb962718a2435f65e02345d3f132f5b.tar.gz
libtdevnc-c58213846eb962718a2435f65e02345d3f132f5b.zip
Only build libjpeg test programs if libjpeg is actually available.
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am6
1 files changed, 3 insertions, 3 deletions
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@