pjproject_bundled: Honor --without-pjproject.

ASTERISK-28837

Change-Id: Id057324912a3cfe6f50af372675626bb515907d9
16.10
Alexander Traud 5 years ago committed by Friendly Automation
parent a7c4579979
commit dd65a66ecb

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 as_fn_error $? "--with-pjproject and --with-pjproject-bundled can't both be specified" "$LINENO" 5
fi fi
if test "${with_pjproject}" != "no" && test "${with_pjproject}" != "n" ; then
ac_mandatory_list="$ac_mandatory_list PJPROJECT" ac_mandatory_list="$ac_mandatory_list PJPROJECT"
PJPROJECT_DIR="${ac_top_build_prefix}third-party/pjproject" PJPROJECT_DIR="${ac_top_build_prefix}third-party/pjproject"
@ -9332,6 +9334,8 @@ $as_echo "yes" >&6; }
fi fi
fi
# AST_EXT_LIB_SETUP is used to tell configure to handle variables for # 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 if test "x${PBX_LIBEDIT}" != "x1" -a "${USE_LIBEDIT}" != "no"; then
pkg_failed=no pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libedit" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBEDIT" >&5
$as_echo_n "checking for libedit... " >&6; } $as_echo_n "checking for LIBEDIT... " >&6; }
if test -n "$LIBEDIT_CFLAGS"; then if test -n "$LIBEDIT_CFLAGS"; then
pkg_cv_LIBEDIT_CFLAGS="$LIBEDIT_CFLAGS" 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 if test "x${PBX_JANSSON}" != "x1" -a "${USE_JANSSON}" != "no"; then
pkg_failed=no pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for jansson >= 2.11" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JANSSON" >&5
$as_echo_n "checking for jansson >= 2.11... " >&6; } $as_echo_n "checking for JANSSON... " >&6; }
if test -n "$JANSSON_CFLAGS"; then if test -n "$JANSSON_CFLAGS"; then
pkg_cv_JANSSON_CFLAGS="$JANSSON_CFLAGS" 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 if test "x${PBX_ILBC}" != "x1" -a "${USE_ILBC}" != "no"; then
pkg_failed=no pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libilbc" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ILBC" >&5
$as_echo_n "checking for libilbc... " >&6; } $as_echo_n "checking for ILBC... " >&6; }
if test -n "$ILBC_CFLAGS"; then if test -n "$ILBC_CFLAGS"; then
pkg_cv_ILBC_CFLAGS="$ILBC_CFLAGS" 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 if test "x${PBX_PJPROJECT}" != "x1" -a "${USE_PJPROJECT}" != "no"; then
pkg_failed=no pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpjproject" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PJPROJECT" >&5
$as_echo_n "checking for libpjproject... " >&6; } $as_echo_n "checking for PJPROJECT... " >&6; }
if test -n "$PJPROJECT_CFLAGS"; then if test -n "$PJPROJECT_CFLAGS"; then
pkg_cv_PJPROJECT_CFLAGS="$PJPROJECT_CFLAGS" pkg_cv_PJPROJECT_CFLAGS="$PJPROJECT_CFLAGS"
@ -26172,8 +26176,8 @@ fi
if test "x${PBX_PYTHONDEV}" != "x1" -a "${USE_PYTHONDEV}" != "no"; then if test "x${PBX_PYTHONDEV}" != "x1" -a "${USE_PYTHONDEV}" != "no"; then
pkg_failed=no pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for python" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYTHONDEV" >&5
$as_echo_n "checking for python... " >&6; } $as_echo_n "checking for PYTHONDEV... " >&6; }
if test -n "$PYTHONDEV_CFLAGS"; then if test -n "$PYTHONDEV_CFLAGS"; then
pkg_cv_PYTHONDEV_CFLAGS="$PYTHONDEV_CFLAGS" pkg_cv_PYTHONDEV_CFLAGS="$PYTHONDEV_CFLAGS"
@ -26368,8 +26372,8 @@ fi
if test "x${PBX_PORTAUDIO}" != "x1" -a "${USE_PORTAUDIO}" != "no"; then if test "x${PBX_PORTAUDIO}" != "x1" -a "${USE_PORTAUDIO}" != "no"; then
pkg_failed=no pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for portaudio-2.0" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PORTAUDIO" >&5
$as_echo_n "checking for portaudio-2.0... " >&6; } $as_echo_n "checking for PORTAUDIO... " >&6; }
if test -n "$PORTAUDIO_CFLAGS"; then if test -n "$PORTAUDIO_CFLAGS"; then
pkg_cv_PORTAUDIO_CFLAGS="$PORTAUDIO_CFLAGS" 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 if test "x${PBX_GMIME}" != "x1" -a "${USE_GMIME}" != "no"; then
pkg_failed=no pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gmime-$ver" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMIME" >&5
$as_echo_n "checking for gmime-$ver... " >&6; } $as_echo_n "checking for GMIME... " >&6; }
if test -n "$GMIME_CFLAGS"; then if test -n "$GMIME_CFLAGS"; then
pkg_cv_GMIME_CFLAGS="$GMIME_CFLAGS" pkg_cv_GMIME_CFLAGS="$GMIME_CFLAGS"
@ -34107,8 +34111,8 @@ fi
if test "x${PBX_GTK2}" != "x1" -a "${USE_GTK2}" != "no"; then if test "x${PBX_GTK2}" != "x1" -a "${USE_GTK2}" != "no"; then
pkg_failed=no pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK2" >&5
$as_echo_n "checking for gtk+-2.0... " >&6; } $as_echo_n "checking for GTK2... " >&6; }
if test -n "$GTK2_CFLAGS"; then if test -n "$GTK2_CFLAGS"; then
pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS" pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS"
@ -34218,8 +34222,8 @@ fi
if test "x${PBX_SYSTEMD}" != "x1" -a "${USE_SYSTEMD}" != "no"; then if test "x${PBX_SYSTEMD}" != "x1" -a "${USE_SYSTEMD}" != "no"; then
pkg_failed=no pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsystemd" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5
$as_echo_n "checking for libsystemd... " >&6; } $as_echo_n "checking for SYSTEMD... " >&6; }
if test -n "$SYSTEMD_CFLAGS"; then if test -n "$SYSTEMD_CFLAGS"; then
pkg_cv_SYSTEMD_CFLAGS="$SYSTEMD_CFLAGS" pkg_cv_SYSTEMD_CFLAGS="$SYSTEMD_CFLAGS"

@ -4982,8 +4982,8 @@ fi
if test "x${PBX_GTK2}" != "x1" -a "${USE_GTK2}" != "no"; then if test "x${PBX_GTK2}" != "x1" -a "${USE_GTK2}" != "no"; then
pkg_failed=no pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK2" >&5
$as_echo_n "checking for gtk+-2.0... " >&6; } $as_echo_n "checking for GTK2... " >&6; }
if test -n "$GTK2_CFLAGS"; then if test -n "$GTK2_CFLAGS"; then
pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS" pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS"

@ -9,6 +9,8 @@ AC_DEFUN([_PJPROJECT_CONFIGURE],
AC_MSG_ERROR(--with-pjproject and --with-pjproject-bundled can't both be specified) AC_MSG_ERROR(--with-pjproject and --with-pjproject-bundled can't both be specified)
fi fi
if test "${with_pjproject}" != "no" && test "${with_pjproject}" != "n" ; then
ac_mandatory_list="$ac_mandatory_list PJPROJECT" ac_mandatory_list="$ac_mandatory_list PJPROJECT"
PJPROJECT_DIR="${ac_top_build_prefix}third-party/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_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_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_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_DEFINE([HAVE_PJPROJECT_ON_VALID_ICE_PAIR_CALLBACK], 1, [Define if your system has the on_valid_pair pjnath callback.])
AC_SUBST([PJPROJECT_BUNDLED]) AC_SUBST([PJPROJECT_BUNDLED])
@ -114,6 +118,8 @@ AC_DEFUN([_PJPROJECT_CONFIGURE],
AC_SUBST([PJPROJECT_LIB]) AC_SUBST([PJPROJECT_LIB])
AC_SUBST([PJPROJECT_INCLUDE]) AC_SUBST([PJPROJECT_INCLUDE])
AC_MSG_RESULT(yes) AC_MSG_RESULT(yes)
fi
]) ])
AC_DEFUN([PJPROJECT_CONFIGURE], AC_DEFUN([PJPROJECT_CONFIGURE],

Loading…
Cancel
Save