From 5d5f05ab61e67ffc1b593763ca7db4e3a2a2099c Mon Sep 17 00:00:00 2001 From: Jaco Kroon Date: Wed, 18 Mar 2020 11:43:21 +0200 Subject: [PATCH] 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 --- configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 150bd5422a..f914a22ac2 100755 --- 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 diff --git a/configure.ac b/configure.ac index 2c9772504f..47687fc497 100644 --- a/configure.ac +++ b/configure.ac @@ -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;