mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-15 14:28:24 +00:00
Also detect gmime 2.6
Also detect gmime version 2.6 (Michael Biebl) Signed-off-by: Tzafrir Cohen (License #5035) <tzafrir.cohen@xorcom.com> git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@360087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
2
configure
vendored
2
configure
vendored
@@ -27505,7 +27505,7 @@ $as_echo "#define HAVE_GMIME 1" >>confdefs.h
|
||||
|
||||
if test "x${PBX_GMIME}" = "x0" -a "${PKGCONFIG}" != "No"; then
|
||||
# Later versions of GMime use pkg-config
|
||||
for ver in 2.0 2.2 2.4; do
|
||||
for ver in 2.0 2.2 2.4 2.6; do
|
||||
if ! ${PKGCONFIG} --exists gmime-$ver; then
|
||||
continue
|
||||
fi
|
||||
|
||||
@@ -2047,7 +2047,7 @@ fi
|
||||
AST_EXT_TOOL_CHECK([GMIME], [gmime-config], [], [], [#include <gmime/gmime.h>], [gboolean q = g_mime_check_version(0,0,0);])
|
||||
if test "x${PBX_GMIME}" = "x0" -a "${PKGCONFIG}" != "No"; then
|
||||
# Later versions of GMime use pkg-config
|
||||
for ver in 2.0 2.2 2.4; do
|
||||
for ver in 2.0 2.2 2.4 2.6; do
|
||||
if ! ${PKGCONFIG} --exists gmime-$ver; then
|
||||
continue
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user