summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2019-11-12 09:02:31 +0000
committerJoe Orton <jorton@apache.org>2019-11-12 09:02:31 +0000
commit7994f495995ebc3ba3d1ceaaee0aa3149d0891ac (patch)
tree1ed9b89d8314d5afb13c6b01e654c265508313ad
parentdf8ba9b3bca8df454c372b93d7eeac5af0eeb79f (diff)
downloadhttpd-7994f495995ebc3ba3d1ceaaee0aa3149d0891ac.tar.gz
Update APR version requirement to 1.6 or later per rough consensus on
dev@ (see list thread from msgid <20191108094020.GA12979@redhat.com>). * configure.in: Fail with APR < 1.6. * .travis.yml: Build on Bionic by default, only build w/APR 1.5.x for the 2.4.x branch. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1869684 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--.travis.yml21
-rw-r--r--configure.in4
2 files changed, 14 insertions, 11 deletions
diff --git a/.travis.yml b/.travis.yml
index 1b1dd8ca7a..f3551897de 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,6 +1,8 @@
language: c
os:
- linux
+dist:
+ - bionic
cache:
directories:
- /home/travis/perl5
@@ -35,14 +37,8 @@ matrix:
- name: Linux Ubuntu, Shared MPMs, all-modules
env: CONFIG="--enable-mods-shared=reallyall --enable-mpms-shared=all"
# -------------------------------------------------------------------------
- - name: Linux Ubuntu Bionic, all-modules
+ - name: Linux Ubuntu, GCC 7 maintainer-mode w/-Werror
os: linux
- dist: bionic
- env: CONFIG="--enable-mods-shared=reallyall"
- # -------------------------------------------------------------------------
- - name: Linux Ubuntu Bionic, GCC 7 maintainer-mode w/-Werror
- os: linux
- dist: bionic
env: CONFIG="--enable-mods-shared=reallyall --enable-maintainer-mode NOTEST_CFLAGS=-Werror CC=gcc-7"
SKIP_TESTING=1
# -------------------------------------------------------------------------
@@ -66,11 +62,17 @@ matrix:
- libnghttp2-dev
- libjansson-dev
# -------------------------------------------------------------------------
- - if: branch = trunk
+ - if: branch != 2.4.x
name: Linux Ubuntu, APR trunk
env: APR_VERSION=trunk APR_CONFIG="--with-crypto"
CONFIG="--enable-mods-shared=reallyall"
# -------------------------------------------------------------------------
+ - if: branch = 2.4.x
+ name: Linux Ubuntu Xenial, all-modules
+ os: linux
+ dist: xenial
+ env: CONFIG="--enable-mods-shared=reallyall"
+ # -------------------------------------------------------------------------
- name: Linux Ubuntu, APR 1.7.0, APR-util 1.6.1
env: APR_VERSION=1.7.0 APU_VERSION=1.6.1
CONFIG="--enable-mods-shared=reallyall"
@@ -82,7 +84,8 @@ matrix:
APU_CONFIG="--with-crypto"
CONFIG="--enable-mods-shared=reallyall"
# -------------------------------------------------------------------------
- - name: Linux Ubuntu, APR 1.5.1, APR-util 1.5.4
+ - if: branch = 2.4.x
+ name: Linux Ubuntu, APR 1.5.1, APR-util 1.5.4
env: APR_VERSION=1.5.1 APU_VERSION=1.5.4
CONFIG="--enable-mods-shared=reallyall"
# -------------------------------------------------------------------------
diff --git a/configure.in b/configure.in
index 6199f6daf7..3974f3327e 100644
--- a/configure.in
+++ b/configure.in
@@ -96,8 +96,8 @@ else
APR_FIND_APR("$srcdir/srclib/apr", "./srclib/apr", 1, 1 2, [
version=`$apr_config --version`
case x${version} in
- x1.[[0-3]].*)
- AC_MSG_WARN([APR version 1.4.0 or later is required, found $version])
+ x1.[[0-5]].*)
+ AC_MSG_WARN([APR version 1.6.0 or later is required, found $version])
apr_acceptable=no
;;
esac