From e0cbabec292fbc8058d98c93fcc8d3cf5b8f5d69 Mon Sep 17 00:00:00 2001 From: dscho Date: Thu, 29 Jan 2004 13:33:03 +0000 Subject: Honour the check for libz, libjpeg again --- Makefile.am | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index dda93ca..359012d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -18,11 +18,18 @@ EXTRA_DIST=tableinit24.c tableinittctemplate.c tabletranstemplate.c \ tableinitcmtemplate.c tabletrans24template.c \ zrleencodetemplate.c +if HAVE_LIBZ +ZLIBSRCS = zlib.c zrle.c zrleoutstream.c zrlepalettehelper.c +if HAVE_LIBJPEG +JPEGSRCS = tight.c +endif +endif + LIB_SRCS = main.c rfbserver.c rfbregion.c auth.c sockets.c \ stats.c corre.c hextile.c rre.c translate.c cutpaste.c \ - zlib.c tight.c httpd.c cursor.c font.c \ + httpd.c cursor.c font.c \ draw.c selbox.c d3des.c vncauth.c cargs.c \ - zrle.c zrleoutstream.c zrlepalettehelper.c + $(ZLIBSRCS) $(JPEGSRCS) libvncserver_a_SOURCES=$(LIB_SRCS) -- cgit v1.2.1