]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
pjproject_bundled: Honor --without-pjproject.
authorAlexander Traud <pabstraud@compuserve.com>
Tue, 2 Jun 2020 11:24:11 +0000 (13:24 +0200)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Fri, 5 Jun 2020 15:01:29 +0000 (10:01 -0500)
The previous change missed that 'make' uses 'PJPROJECT_BUNDLED' anyway.

ASTERISK-28929

Change-Id: I7ef0e78a06ea391b59d95b99d46bbed3fec4fed9

configure
configure.ac

index f7947974debefce4fb5052e53bbe6f0864713449..6ab81b4eb4e13f9b1d35f941f640cba62c2a326a 100755 (executable)
--- a/configure
+++ b/configure
@@ -9065,6 +9065,10 @@ if test "${with_pjproject_bundled+set}" = set; then :
 fi
 
 
+if test "${with_pjproject}" == "no" || test "${with_pjproject}" == "n" ; then
+       PJPROJECT_BUNDLED=no
+fi
+
 
 
        if test "$JANSSON_BUNDLED" = "yes" ; then
index 1ae50a6fa85ee2e757ea16c515004b063bf8db88..0fe37b05e3f708a66a4a664a275725d8fb5e84e4 100644 (file)
@@ -452,6 +452,10 @@ AC_ARG_WITH([pjproject-bundled],
              *) 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