[Asterisk-code-review] build: search from newest to oldest for gmime. (asterisk[master])

Jaco Kroon asteriskteam at digium.com
Wed Mar 18 04:45:26 CDT 2020


Jaco Kroon has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/13949 )


Change subject: build: search from newest to oldest for gmime.
......................................................................

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
---
M configure
M configure.ac
2 files changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/49/13949/1

diff --git a/configure b/configure
index ec51ee8..3a47fbf 100755
--- a/configure
+++ b/configure
@@ -32756,7 +32756,7 @@
     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 2cfb9f0..116c78d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2701,7 +2701,7 @@
     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;

-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/13949
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: Idf7be613230232eb1d573d93c4a5a8297f4ecd2d
Gerrit-Change-Number: 13949
Gerrit-PatchSet: 1
Gerrit-Owner: Jaco Kroon <jaco at uls.co.za>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200318/02b79cb7/attachment-0001.html>


More information about the asterisk-code-review mailing list