From 6fe53bde24eebc8a54bb295a4ae28511bb5d9983 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Wed, 15 Jun 2011 12:23:21 +0200 Subject: [PATCH] We actually need to link against libz, as neo libraries are often static This reverts commit 3c0630a797a18ad353167e56feb21476b4553834. --- configure.in | 1 + src/libfast/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index e87213e90..0b3b133fa 100644 --- a/configure.in +++ b/configure.in @@ -563,6 +563,7 @@ 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!])]) diff --git a/src/libfast/Makefile.am b/src/libfast/Makefile.am index 7738a3e9d..5a1193658 100644 --- a/src/libfast/Makefile.am +++ b/src/libfast/Makefile.am @@ -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 $(PTHREADLIB) + -lfcgi -lneo_cgi -lneo_cs -lneo_utl -lz $(PTHREADLIB) INCLUDES = -I$(top_srcdir)/src/libstrongswan -I/usr/include/ClearSilver AM_CFLAGS = -rdynamic