summaryrefslogtreecommitdiff
path: root/qpid/cpp/configure.ac
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2006-12-01 15:15:18 +0000
committerGordon Sim <gsim@apache.org>2006-12-01 15:15:18 +0000
commitf59b053fa60ef8fbb5eb0a252716252c8cc2a349 (patch)
tree5d76336c77f1a6fee1dd2d523a97ee50272eb051 /qpid/cpp/configure.ac
parent2dc2ee79dbc59af9af6103d3cfa4d5435b911d12 (diff)
downloadqpid-python-f59b053fa60ef8fbb5eb0a252716252c8cc2a349.tar.gz
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@481262 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/configure.ac')
-rw-r--r--qpid/cpp/configure.ac10
1 files changed, 9 insertions, 1 deletions
diff --git a/qpid/cpp/configure.ac b/qpid/cpp/configure.ac
index 559ec84496..6a44ae1116 100644
--- a/qpid/cpp/configure.ac
+++ b/qpid/cpp/configure.ac
@@ -32,7 +32,7 @@ AC_ARG_ENABLE(warnings,
*) AC_MSG_ERROR([bad value ${enableval} for warnings option]) ;;
esac],
[enableval=yes])
-
+
# Warnings: Enable as many as possible, keep the code clean. Please
# do not disable warnings or remove -Werror without discussing on
# qpid-dev list.
@@ -80,6 +80,14 @@ AC_SUBST(LIBTOOL_VERSION_INFO_ARG)
gl_CLOCK_TIME
+APR_MINIMUM_VERSION=1.2.7
+PKG_CHECK_MODULES([APR], [apr-1 >= $APR_MINIMUM_VERSION])
+
+APR_CXXFLAGS="$APR_CFLAGS -DUSE_APR=1"
+AC_SUBST(APR_CXXFLAGS)
+AC_SUBST(APR_LIBS)
+
+
AC_CONFIG_FILES([
Makefile
gen/Makefile