]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
build: search from newest to oldest for gmime.
authorJaco Kroon <jaco@uls.co.za>
Wed, 18 Mar 2020 09:43:21 +0000 (11:43 +0200)
committerJaco Kroon <jaco@uls.co.za>
Fri, 20 Mar 2020 15:27:22 +0000 (10:27 -0500)
We (Gentoo distribution) reckon that in the case of multiple versions of
gmime installed we should prefer the newest one.

Change-Id: Idf7be613230232eb1d573d93c4a5a8297f4ecd2d

configure
configure.ac

index 150bd5422ac4f1384bd76b8e294bd6e0b996ecbf..f914a22ac2f412e571d88e4e0de8405ff76a4f37 100755 (executable)
--- a/configure
+++ b/configure
@@ -31796,7 +31796,7 @@ fi
     fi
 fi
 
-for ver in 2.0 2.2 2.4 2.6 3.0; do
+for ver in 3.0 2.6 2.4 2.2 2.0; do
 
    if test "x${PBX_GMIME}" != "x1" -a "${USE_GMIME}" != "no"; then
 
index 2c9772504f05e48aafedc7f0bec757f8f28c8db2..47687fc4971cc1de69365cdf87720135db4f8d20 100644 (file)
@@ -2660,7 +2660,7 @@ then
     fi
 fi
 
-for ver in 2.0 2.2 2.4 2.6 3.0; do
+for ver in 3.0 2.6 2.4 2.2 2.0; do
        AST_PKG_CONFIG_CHECK([GMIME], gmime-$ver)
        if test "$PBX_GMIME" = 1; then
                break;