From: Jaco Kroon Date: Wed, 18 Mar 2020 09:43:21 +0000 (+0200) Subject: build: search from newest to oldest for gmime. X-Git-Tag: 17.4.0-rc1~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c911b0f9b934f365b227749b4a9ef5cd6171263;p=thirdparty%2Fasterisk.git build: search from newest to oldest for gmime. We (Gentoo distribution) reckon that in the case of multiple versions of gmime installed we should prefer the newest one. Change-Id: Idf7be613230232eb1d573d93c4a5a8297f4ecd2d --- diff --git a/configure b/configure index ec51ee86dd..3a47fbfa03 100755 --- a/configure +++ b/configure @@ -32756,7 +32756,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 diff --git a/configure.ac b/configure.ac index 2cfb9f0171..116c78d9db 100644 --- a/configure.ac +++ b/configure.ac @@ -2701,7 +2701,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;