summaryrefslogtreecommitdiff
path: root/cpp/configure.ac
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2007-07-30 13:25:31 +0000
committerAndrew Stitcher <astitcher@apache.org>2007-07-30 13:25:31 +0000
commitf5bcdf79d18710205afb5ce95ab20686e9acea63 (patch)
treefc143ce68ddd8509da07f7a9192cecb6f6da18c1 /cpp/configure.ac
parent04a5eca2d8ff39952f8b76a647572756f277b17c (diff)
downloadqpid-python-f5bcdf79d18710205afb5ce95ab20686e9acea63.tar.gz
r797@fuschia: andrew | 2007-07-30 14:25:02 +0100
* Removed all the leader-follower acceptor code (APR based acceptor) * Removed the --enable/disable-apr-netio option to configure git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@560973 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/configure.ac')
-rw-r--r--cpp/configure.ac23
1 files changed, 3 insertions, 20 deletions
diff --git a/cpp/configure.ac b/cpp/configure.ac
index d9ec8cce21..20c6426188 100644
--- a/cpp/configure.ac
+++ b/cpp/configure.ac
@@ -90,17 +90,6 @@ CPPUNIT_CXXFLAGS=$CPPUNIT_CFLAGS
AC_SUBST(CPPUNIT_LIBS)
AC_SUBST(CPPUNIT_CXXFLAGS)
-AC_ARG_ENABLE([apr-netio],
- [AS_HELP_STRING([--enable-apr-netio],
- [use the Apache Portable Runtime library for network IO (default yes)])],
- [case $enableval in
- yes|no) enable_APR_NETIO=$enableval;;
- *) AC_MSG_ERROR([Invalid value for --enable-apr-netio: $enableval]);;
- esac],
- [enable_APR_NETIO=yes]
-)
-AM_CONDITIONAL([USE_APR_NETIO], [test x$enable_APR_NETIO = xyes])
-
AC_ARG_ENABLE([apr-platform],
[AS_HELP_STRING([--enable-apr-platform],
[use the Apache Portable Runtime library for platform (default no)])],
@@ -117,16 +106,10 @@ AC_SUBST(APR_MINIMUM_VERSION)
AC_SUBST(APR_CXXFLAGS)
AC_SUBST(USE_APR_PLATFORM)
-if test "$enable_APR_NETIO" = yes -o "$enable_APR_PLATFORM" = yes; then
+if test "$enable_APR_PLATFORM" = yes; then
PKG_CHECK_MODULES([APR], [apr-1 >= $APR_MINIMUM_VERSION])
- APR_CXXFLAGS="$APR_CFLAGS"
- if test "$enable_APR_NETIO" = yes; then
- USE_APR_NETIO=1
- fi
- if test "$enable_APR_PLATFORM" = yes; then
- APR_CXXFLAGS+=" -DUSE_APR_PLATFORM=1"
- USE_APR_PLATFORM=1
- fi
+ APR_CXXFLAGS="$APR_CFLAGS -DUSE_APR_PLATFORM=1"
+ USE_APR_PLATFORM=1
fi
AC_ARG_ENABLE([valgrind],