'make check' fails with --disable-unlinkd because the Makefiles refer
to unlinkd.cc, which should not be compiled when it is disabled. Fixed
by changing references of unlinkd.cc to the $(UNLINKDSOURCE) macro.
#
# Makefile for the Squid Object Cache server
#
-# $Id: Makefile.am,v 1.177 2007/04/13 17:26:37 rousskov Exp $
+# $Id: Makefile.am,v 1.178 2007/04/24 00:40:25 wessels Exp $
#
# Uncomment and customize the following to suit your needs:
#
LeakFinder.cc \
LeakFinder.h \
$(SNMP_ALL_SOURCE) \
- unlinkd.cc \
+ $(UNLINKDSOURCE) \
$(SSL_ALL_SOURCE) \
$(WIN32_ALL_SOURCE) \
DiskIO/DiskThreads/aiops.cc \
ICAP/TextException.h
-unlinkd_SOURCES = unlinkd.cc SquidNew.cc
+unlinkd_SOURCES = $(UNLINKDSOURCE) SquidNew.cc
unlinkd_CXXFLAGS = -DUNLINK_DAEMON
pinger_SOURCES = \
store_io.cc \
store_swapout.cc \
store_swapmeta.cc \
- unlinkd.cc \
+ $(UNLINKDSOURCE) \
$(WIN32_SOURCE) \
$(STORE_TEST_SOURCES) \
$(DISKIO_SOURCE)