diff options
author | Christian Beier <dontmind@freeshell.org> | 2012-04-27 19:05:31 +0200 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2012-04-27 19:05:31 +0200 |
commit | c58213846eb962718a2435f65e02345d3f132f5b (patch) | |
tree | a03aa44ab92015d8eabd2b3ffc5507b6a4e0eae0 /test/Makefile.am | |
parent | 98125f9d4ce46947830fad5ebb476207a8310d70 (diff) | |
download | libtdevnc-c58213846eb962718a2435f65e02345d3f132f5b.tar.gz libtdevnc-c58213846eb962718a2435f65e02345d3f132f5b.zip |
Only build libjpeg test programs if libjpeg is actually available.
Diffstat (limited to 'test/Makefile.am')
-rw-r--r-- | test/Makefile.am | 6 |
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@ |