mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 04:30:28 +00:00
pjproject_bundled: Honor --without-pjproject.
ASTERISK-28837 Change-Id: Id057324912a3cfe6f50af372675626bb515907d9
This commit is contained in:
committed by
Friendly Automation
parent
a7c4579979
commit
dd65a66ecb
40
configure
vendored
40
configure
vendored
@@ -9186,6 +9186,8 @@ $as_echo "#define HAVE_JANSSON_BUNDLED 1" >>confdefs.h
|
||||
as_fn_error $? "--with-pjproject and --with-pjproject-bundled can't both be specified" "$LINENO" 5
|
||||
fi
|
||||
|
||||
if test "${with_pjproject}" != "no" && test "${with_pjproject}" != "n" ; then
|
||||
|
||||
ac_mandatory_list="$ac_mandatory_list PJPROJECT"
|
||||
PJPROJECT_DIR="${ac_top_build_prefix}third-party/pjproject"
|
||||
|
||||
@@ -9332,6 +9334,8 @@ $as_echo "yes" >&6; }
|
||||
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
||||
# AST_EXT_LIB_SETUP is used to tell configure to handle variables for
|
||||
@@ -13434,8 +13438,8 @@ fi
|
||||
if test "x${PBX_LIBEDIT}" != "x1" -a "${USE_LIBEDIT}" != "no"; then
|
||||
|
||||
pkg_failed=no
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libedit" >&5
|
||||
$as_echo_n "checking for libedit... " >&6; }
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBEDIT" >&5
|
||||
$as_echo_n "checking for LIBEDIT... " >&6; }
|
||||
|
||||
if test -n "$LIBEDIT_CFLAGS"; then
|
||||
pkg_cv_LIBEDIT_CFLAGS="$LIBEDIT_CFLAGS"
|
||||
@@ -13894,8 +13898,8 @@ if test "$JANSSON_BUNDLED" = "no" ; then
|
||||
if test "x${PBX_JANSSON}" != "x1" -a "${USE_JANSSON}" != "no"; then
|
||||
|
||||
pkg_failed=no
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for jansson >= 2.11" >&5
|
||||
$as_echo_n "checking for jansson >= 2.11... " >&6; }
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for JANSSON" >&5
|
||||
$as_echo_n "checking for JANSSON... " >&6; }
|
||||
|
||||
if test -n "$JANSSON_CFLAGS"; then
|
||||
pkg_cv_JANSSON_CFLAGS="$JANSSON_CFLAGS"
|
||||
@@ -20582,8 +20586,8 @@ if test "${USE_ILBC}" != "no"; then
|
||||
if test "x${PBX_ILBC}" != "x1" -a "${USE_ILBC}" != "no"; then
|
||||
|
||||
pkg_failed=no
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libilbc" >&5
|
||||
$as_echo_n "checking for libilbc... " >&6; }
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ILBC" >&5
|
||||
$as_echo_n "checking for ILBC... " >&6; }
|
||||
|
||||
if test -n "$ILBC_CFLAGS"; then
|
||||
pkg_cv_ILBC_CFLAGS="$ILBC_CFLAGS"
|
||||
@@ -24823,8 +24827,8 @@ if test "$USE_PJPROJECT" != "no" ; then
|
||||
if test "x${PBX_PJPROJECT}" != "x1" -a "${USE_PJPROJECT}" != "no"; then
|
||||
|
||||
pkg_failed=no
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpjproject" >&5
|
||||
$as_echo_n "checking for libpjproject... " >&6; }
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PJPROJECT" >&5
|
||||
$as_echo_n "checking for PJPROJECT... " >&6; }
|
||||
|
||||
if test -n "$PJPROJECT_CFLAGS"; then
|
||||
pkg_cv_PJPROJECT_CFLAGS="$PJPROJECT_CFLAGS"
|
||||
@@ -26172,8 +26176,8 @@ fi
|
||||
if test "x${PBX_PYTHONDEV}" != "x1" -a "${USE_PYTHONDEV}" != "no"; then
|
||||
|
||||
pkg_failed=no
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for python" >&5
|
||||
$as_echo_n "checking for python... " >&6; }
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYTHONDEV" >&5
|
||||
$as_echo_n "checking for PYTHONDEV... " >&6; }
|
||||
|
||||
if test -n "$PYTHONDEV_CFLAGS"; then
|
||||
pkg_cv_PYTHONDEV_CFLAGS="$PYTHONDEV_CFLAGS"
|
||||
@@ -26368,8 +26372,8 @@ fi
|
||||
if test "x${PBX_PORTAUDIO}" != "x1" -a "${USE_PORTAUDIO}" != "no"; then
|
||||
|
||||
pkg_failed=no
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for portaudio-2.0" >&5
|
||||
$as_echo_n "checking for portaudio-2.0... " >&6; }
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PORTAUDIO" >&5
|
||||
$as_echo_n "checking for PORTAUDIO... " >&6; }
|
||||
|
||||
if test -n "$PORTAUDIO_CFLAGS"; then
|
||||
pkg_cv_PORTAUDIO_CFLAGS="$PORTAUDIO_CFLAGS"
|
||||
@@ -32670,8 +32674,8 @@ 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
|
||||
|
||||
pkg_failed=no
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gmime-$ver" >&5
|
||||
$as_echo_n "checking for gmime-$ver... " >&6; }
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMIME" >&5
|
||||
$as_echo_n "checking for GMIME... " >&6; }
|
||||
|
||||
if test -n "$GMIME_CFLAGS"; then
|
||||
pkg_cv_GMIME_CFLAGS="$GMIME_CFLAGS"
|
||||
@@ -34107,8 +34111,8 @@ fi
|
||||
if test "x${PBX_GTK2}" != "x1" -a "${USE_GTK2}" != "no"; then
|
||||
|
||||
pkg_failed=no
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0" >&5
|
||||
$as_echo_n "checking for gtk+-2.0... " >&6; }
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK2" >&5
|
||||
$as_echo_n "checking for GTK2... " >&6; }
|
||||
|
||||
if test -n "$GTK2_CFLAGS"; then
|
||||
pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS"
|
||||
@@ -34218,8 +34222,8 @@ fi
|
||||
if test "x${PBX_SYSTEMD}" != "x1" -a "${USE_SYSTEMD}" != "no"; then
|
||||
|
||||
pkg_failed=no
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsystemd" >&5
|
||||
$as_echo_n "checking for libsystemd... " >&6; }
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5
|
||||
$as_echo_n "checking for SYSTEMD... " >&6; }
|
||||
|
||||
if test -n "$SYSTEMD_CFLAGS"; then
|
||||
pkg_cv_SYSTEMD_CFLAGS="$SYSTEMD_CFLAGS"
|
||||
|
4
menuselect/configure
vendored
4
menuselect/configure
vendored
@@ -4982,8 +4982,8 @@ fi
|
||||
if test "x${PBX_GTK2}" != "x1" -a "${USE_GTK2}" != "no"; then
|
||||
|
||||
pkg_failed=no
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0" >&5
|
||||
$as_echo_n "checking for gtk+-2.0... " >&6; }
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK2" >&5
|
||||
$as_echo_n "checking for GTK2... " >&6; }
|
||||
|
||||
if test -n "$GTK2_CFLAGS"; then
|
||||
pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS"
|
||||
|
6
third-party/pjproject/configure.m4
vendored
6
third-party/pjproject/configure.m4
vendored
@@ -9,6 +9,8 @@ AC_DEFUN([_PJPROJECT_CONFIGURE],
|
||||
AC_MSG_ERROR(--with-pjproject and --with-pjproject-bundled can't both be specified)
|
||||
fi
|
||||
|
||||
if test "${with_pjproject}" != "no" && test "${with_pjproject}" != "n" ; then
|
||||
|
||||
ac_mandatory_list="$ac_mandatory_list PJPROJECT"
|
||||
PJPROJECT_DIR="${ac_top_build_prefix}third-party/pjproject"
|
||||
|
||||
@@ -106,6 +108,8 @@ AC_DEFUN([_PJPROJECT_CONFIGURE],
|
||||
AC_DEFINE([HAVE_PJSIP_TSX_LAYER_FIND_TSX2], 1, [Define if your system has pjsip_tsx_layer_find_tsx2 declared.])
|
||||
AC_DEFINE([HAVE_PJSIP_INV_ACCEPT_MULTIPLE_SDP_ANSWERS], 1, [Define if your system has HAVE_PJSIP_INV_ACCEPT_MULTIPLE_SDP_ANSWERS declared.])
|
||||
AC_DEFINE([HAVE_PJSIP_ENDPOINT_COMPACT_FORM], 1, [Define if your system has HAVE_PJSIP_ENDPOINT_COMPACT_FORM declared.])
|
||||
AC_DEFINE([HAVE_PJSIP_TRANSPORT_DISABLE_CONNECTION_REUSE], 1, [Define if your system has HAVE_PJSIP_TRANSPORT_DISABLE_CONNECTION_REUSE declared])
|
||||
AC_DEFINE([HAVE_PJSIP_OAUTH_AUTHENTICATION], 1, [Define if your system has HAVE_PJSIP_OAUTH_AUTHENTICATION declared])
|
||||
AC_DEFINE([HAVE_PJPROJECT_ON_VALID_ICE_PAIR_CALLBACK], 1, [Define if your system has the on_valid_pair pjnath callback.])
|
||||
|
||||
AC_SUBST([PJPROJECT_BUNDLED])
|
||||
@@ -114,6 +118,8 @@ AC_DEFUN([_PJPROJECT_CONFIGURE],
|
||||
AC_SUBST([PJPROJECT_LIB])
|
||||
AC_SUBST([PJPROJECT_INCLUDE])
|
||||
AC_MSG_RESULT(yes)
|
||||
|
||||
fi
|
||||
])
|
||||
|
||||
AC_DEFUN([PJPROJECT_CONFIGURE],
|
||||
|
Reference in New Issue
Block a user