mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-17 14:58:34 +00:00
FS-7500: expand libpng detection to try to find a good png >= 1.6.16, fall back to older verison in weezy, and add support for building without libpng
This commit is contained in:
1 parent
c02f694c37
commit
086cf1c279
3 files changed
+41
-3
No files matched your search
+8
-1
@@ -1197,7 +1197,14 @@ module_enabled() {
|
||||
grep -v -e "\#" -e "^\$" modules.conf | sed -e "s|^.*/||" | grep "^${1}\$" >/dev/null
|
||||
}
|
||||
|
||||
PKG_CHECK_MODULES([LIBPNG], [libpng >= 1.2.49])
|
||||
|
||||
PKG_CHECK_MODULES([LIBPNG], [libpng >= 1.6.16],[
|
||||
AM_CONDITIONAL([HAVE_PNG],[true])],[
|
||||
PKG_CHECK_MODULES([LIBPNG], [libpng16 >= 1.6.16],[
|
||||
AM_CONDITIONAL([HAVE_PNG],[true])],[
|
||||
PKG_CHECK_MODULES([LIBPNG], [libpng >= 1.2.49],[
|
||||
AM_CONDITIONAL([HAVE_PNG],[true])],[
|
||||
AC_MSG_RESULT([no]); AM_CONDITIONAL([HAVE_PNG],[false])])])])
|
||||
PKG_CHECK_MODULES([FREETYPE], [freetype2 >= 2.4.9])
|
||||
PKG_CHECK_MODULES([SQLITE], [sqlite3 >= 3.6.20])
|
||||
PKG_CHECK_MODULES([CURL], [libcurl >= 7.19])
|
||||
|
||||
Reference in new issue
Block a user