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

Joshua Colp asteriskteam at digium.com
Wed Mar 25 07:05:40 CDT 2020


Joshua Colp has submitted this change. ( https://gerrit.asterisk.org/c/asterisk/+/14006 )

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(-)

Approvals:
  Joshua Colp: Looks good to me, approved; Approved for Submit
  George Joseph: Looks good to me, but someone else must approve



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/+/14006
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 17
Gerrit-Change-Id: Idf7be613230232eb1d573d93c4a5a8297f4ecd2d
Gerrit-Change-Number: 14006
Gerrit-PatchSet: 2
Gerrit-Owner: Jaco Kroon <jaco at uls.co.za>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200325/46eb945b/attachment.html>


More information about the asterisk-code-review mailing list