diff options
author | Joshua Colp <jcolp@digium.com> | 2016-03-14 10:59:10 -0300 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2016-03-14 09:37:42 -0600 |
commit | 4df7b3ae80d7d022c0fd941de614b829948ce3ef (patch) | |
tree | 3d0906952648fcf8e4a9a84d60759ece3c6fcf8e /third-party/pjproject/configure.m4 | |
parent | b12980011abed533eea13d1d3b80faed331a1f1e (diff) |
build: Add configure check for proto field of PJSIP TLS transport setting.
Older versions of PJSIP do not have the proto field on the TLS transport
setting structure. This change adds a configure check so even if it is
not present we will still be able to build.
Change-Id: Ibf3f47befb91ed1b8194bf63888baa6fee05aba9
Diffstat (limited to 'third-party/pjproject/configure.m4')
-rw-r--r-- | third-party/pjproject/configure.m4 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/third-party/pjproject/configure.m4 b/third-party/pjproject/configure.m4 index 3351527eb..743222774 100644 --- a/third-party/pjproject/configure.m4 +++ b/third-party/pjproject/configure.m4 @@ -43,4 +43,5 @@ AC_DEFUN([PJPROJECT_CONFIGURE], PJPROJECT_SYMBOL_CHECK([PJSIP_GET_DEST_INFO], [pjsip_get_dest_info], [pjsip.h]) PJPROJECT_SYMBOL_CHECK([PJ_SSL_CERT_LOAD_FROM_FILES2], [pj_ssl_cert_load_from_files2], [pjlib.h]) PJPROJECT_SYMBOL_CHECK([PJSIP_EXTERNAL_RESOLVER], [pjsip_endpt_set_ext_resolver], [pjsip.h]) + AC_DEFINE([HAVE_PJSIP_TLS_TRANSPORT_PROTO], 1, [Define if your system has PJSIP_TLS_TRANSPORT_PROTO]) ]) |