]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Update APR version requirement to 1.6 or later per rough consensus on
authorJoe Orton <jorton@apache.org>
Tue, 12 Nov 2019 09:02:31 +0000 (09:02 +0000)
committerJoe Orton <jorton@apache.org>
Tue, 12 Nov 2019 09:02:31 +0000 (09:02 +0000)
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

.travis.yml
configure.in

index 1b1dd8ca7a6f3050b9475931d9839b42d87d66d1..f3551897deb76cfab22a2d605fea8c21f602239d 100644 (file)
@@ -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"
     # -------------------------------------------------------------------------
index 6199f6daf7189ad92b8df76f432865d33e3672cd..3974f3327ecd68746dc1ae93bcedaac1ba4407c2 100644 (file)
@@ -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