pjproject_bundled: Honor --without-pjproject.

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

ASTERISK-28929

Change-Id: I7ef0e78a06ea391b59d95b99d46bbed3fec4fed9
This commit is contained in:
Alexander Traud 2020-06-02 13:24:11 +02:00 committed by Friendly Automation
parent 905b05079b
commit a829658762
2 changed files with 8 additions and 0 deletions

4
configure vendored
View File

@ -9057,6 +9057,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

View 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