summaryrefslogtreecommitdiffstats
path: root/test/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile.am')
-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@
OpenPOWER on IntegriCloud