diff --git a/configure b/configure index f7947974de..6ab81b4eb4 100755 --- 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 diff --git a/configure.ac b/configure.ac index 1ae50a6fa8..0fe37b05e3 100644 --- a/configure.ac +++ b/configure.ac @@ -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