]> 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)
committerJoshua Colp <jcolp@sangoma.com>
Wed, 25 Mar 2020 11:41:43 +0000 (06:41 -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 05c230e48b7cefdac0f1b1f755e6343ef3ec7870..8d4a9458e0184d762e79f4b621e43c740a48a73e 100755 (executable)
--- a/configure
+++ b/configure
@@ -32638,7 +32638,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 23d67aeed14c5dddc748aea5d747fb13cf6e5e77..745985379acec76d83de2319fe583fae6581e2c1 100644 (file)
@@ -2697,7 +2697,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;