libfast does not depend on zlib directly, clearsilver can be built without compressio...
authorMartin Willi <martin@revosec.ch>
Fri, 27 May 2011 13:58:35 +0000 (15:58 +0200)
committerMartin Willi <martin@revosec.ch>
Wed, 1 Jun 2011 10:03:44 +0000 (12:03 +0200)
configure.in
src/libfast/Makefile.am

index 6ab7e88..f7af0ec 100644 (file)
@@ -563,7 +563,6 @@ fi
 if test x$fast = xtrue; then
        AC_HAVE_LIBRARY([neo_cgi],[LIBS="$LIBS"],[AC_MSG_ERROR([ClearSilver library neo_cgi not found!])])
        AC_HAVE_LIBRARY([neo_utl],[LIBS="$LIBS"],[AC_MSG_ERROR([ClearSilver library neo_utl not found!])])
-       AC_HAVE_LIBRARY([z],[LIBS="$LIBS"],[AC_MSG_ERROR([ClearSilver dependency zlib not found!])])
 dnl autoconf does not like CamelCase!? How to fix this?
 dnl    AC_CHECK_HEADER([ClearSilver/ClearSilver.h],,[AC_MSG_ERROR([ClearSilver header file ClearSilver/ClearSilver.h not found!])])
 
index 5a11936..7738a3e 100644 (file)
@@ -3,6 +3,6 @@ lib_LTLIBRARIES = libfast.la
 libfast_la_SOURCES = context.h dispatcher.c request.h session.h \
   controller.h dispatcher.h request.c session.c filter.h smtp.c smtp.h
 libfast_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la \
-  -lfcgi -lneo_cgi -lneo_cs -lneo_utl -lz $(PTHREADLIB)
+  -lfcgi -lneo_cgi -lneo_cs -lneo_utl $(PTHREADLIB)
 INCLUDES = -I$(top_srcdir)/src/libstrongswan -I/usr/include/ClearSilver
 AM_CFLAGS = -rdynamic