From 000106462f3480bef55a1874f2949a74d59df9fd Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Fri, 1 Dec 2006 15:15:18 +0000 Subject: Path from Jim Meyering (sent to qpid-dev list) to fix issue with gen.mk plus apr dependencies etc. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@481262 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/lib/common/Makefile.am | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'cpp/lib/common') diff --git a/cpp/lib/common/Makefile.am b/cpp/lib/common/Makefile.am index 829519eac6..ed2ccd61a8 100644 --- a/cpp/lib/common/Makefile.am +++ b/cpp/lib/common/Makefile.am @@ -1,11 +1,10 @@ -AM_CXXFLAGS = $(WARNING_CFLAGS) -DUSE_APR=1 -LIBS = -lapr-1 +AM_CXXFLAGS = $(WARNING_CFLAGS) -INCLUDES = \ - -I$(shell apr-1-config --includedir) \ - -I$(top_srcdir)/gen \ - -I$(top_srcdir)/lib/common/sys \ - -I$(top_srcdir)/lib/common/framing +INCLUDES = \ + -I$(top_srcdir)/gen \ + -I$(top_srcdir)/lib/common/sys \ + -I$(top_srcdir)/lib/common/framing \ + $(APR_CXXFLAGS) apr = sys/apr apr_src = \ @@ -24,7 +23,7 @@ apr_src = \ $(apr)/Thread.cpp posix = sys/posix -posix_src = \ +posix_src = \ $(posix)/PosixAcceptor.cpp \ $(posix)/Socket.cpp \ $(posix)/Thread.cpp \ @@ -43,6 +42,7 @@ gen = $(srcdir)/../../gen lib_LTLIBRARIES = libcommon.la libcommon_la_LIBADD = \ + $(APR_LIBS) \ $(LIB_DLOPEN) \ $(LIB_CLOCK_GETTIME) -- cgit v1.2.1