[Asterisk-code-review] pjproject_bundled: Honor --without-pjproject. (asterisk[master])

Alexander Traud asteriskteam at digium.com
Tue Jun 2 06:23:58 CDT 2020


Alexander Traud has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/14452 )


Change subject: pjproject_bundled: Honor --without-pjproject.
......................................................................

pjproject_bundled: Honor --without-pjproject.

The previous change missed that 'make' uses 'PJPROJECT_BUNDLED' anyway.

ASTERISK-28929

Change-Id: I7ef0e78a06ea391b59d95b99d46bbed3fec4fed9
---
M configure
M configure.ac
2 files changed, 8 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/52/14452/1

diff --git a/configure b/configure
index f794797..6ab81b4 100755
--- a/configure
+++ b/configure
@@ -9065,6 +9065,10 @@
 fi
 
 
+if test "${with_pjproject}" == "no" || test "${with_pjproject}" == "n" ; then
+	PJPROJECT_BUNDLED=no
+fi
+
 
 
 	if test "$JANSSON_BUNDLED" = "yes" ; then
diff --git a/configure.ac b/configure.ac
index 1ae50a6..0fe37b0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -452,6 +452,10 @@
 	      *) PJPROJECT_BUNDLED=yes ;;
 	esac])
 
+if test "${with_pjproject}" == "no" || test "${with_pjproject}" == "n" ; then
+	PJPROJECT_BUNDLED=no
+fi
+
 THIRD_PARTY_CONFIGURE()
 
 # AST_EXT_LIB_SETUP is used to tell configure to handle variables for

-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/14452
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I7ef0e78a06ea391b59d95b99d46bbed3fec4fed9
Gerrit-Change-Number: 14452
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200602/050a4a9a/attachment.html>


More information about the asterisk-code-review mailing list