From 9938530c268e6f24b7b340678294cbbd3e3fa5ef Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 5 Jun 2012 10:37:19 +0200 Subject: pcap: resolve unreliable detection pcap is not found reliably by either --with-pcap=%_prefix or --with-pcap-lib=%_libdir --with-pcap-inc=%_includedir. If you have any special paths, just use ./configure CPPFLAGS="-I/my/pcap" LDFLAGS="-L/my/pcap" (And -lpcap is already known so no need to specify that.) Signed-off-by: Jan Engelhardt --- output/pcap/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'output/pcap/Makefile.am') diff --git a/output/pcap/Makefile.am b/output/pcap/Makefile.am index 47580d2..c1723a6 100644 --- a/output/pcap/Makefile.am +++ b/output/pcap/Makefile.am @@ -1,5 +1,5 @@ -AM_CPPFLAGS = -I$(top_srcdir)/include $(PCAP_INC) +AM_CPPFLAGS = -I$(top_srcdir)/include AM_CFLAGS = ${regular_CFLAGS} if HAVE_PCAP @@ -7,7 +7,7 @@ if HAVE_PCAP pkglib_LTLIBRARIES = ulogd_output_PCAP.la ulogd_output_PCAP_la_SOURCES = ulogd_output_PCAP.c -ulogd_output_PCAP_la_LIBADD = ${PCAP_LIB} +ulogd_output_PCAP_la_LIBADD = ${libpcap_LIBS} ulogd_output_PCAP_la_LDFLAGS = -avoid-version -module endif -- cgit v1.2.3