diff --git a/configure b/configure index 984f53b70d22fbbf252054fb43f9570b680e0663..088a1420e9d46d79dc68a346007b07c8147c3019 100755 --- a/configure +++ b/configure @@ -9213,6 +9213,23 @@ $as_echo "configuring" >&6; } if test "$host" != "$this_host" ; then PJPROJECT_CONFIGURE_OPTS+=" --host=$host" fi + # This was a copy of the autoconf generated code from the root ./configure. + # Hopefully, when you read this, the code is still the same. + if test "${with_ssl+set}" = set; then : + case $with_ssl in + n|no) + PJPROJECT_CONFIGURE_OPTS+=" --disable-ssl" + ;; + y|ye|yes) + # This is the default value in PJProject and means "autodetect". + # In Asterisk, "./configure --with-ssl" means "must be present". + PJPROJECT_CONFIGURE_OPTS+=" --enable-ssl" + ;; + *) + PJPROJECT_CONFIGURE_OPTS+=" --with-ssl=${with_ssl}" + ;; + esac + fi export TAR PATCH SED NM EXTERNALS_CACHE_DIR AST_DOWNLOAD_CACHE DOWNLOAD_TO_STDOUT DOWNLOAD_TIMEOUT DOWNLOAD MD5 CAT CUT GREP export NOISY_BUILD diff --git a/third-party/pjproject/configure.m4 b/third-party/pjproject/configure.m4 index 9b70e09ff6d248bbfe903c13429c745f3c6f730d..ecdd138612f2f8359a592521f6238f72502cbaaa 100644 --- a/third-party/pjproject/configure.m4 +++ b/third-party/pjproject/configure.m4 @@ -54,6 +54,23 @@ AC_DEFUN([_PJPROJECT_CONFIGURE], if test "$host" != "$this_host" ; then PJPROJECT_CONFIGURE_OPTS+=" --host=$host" fi + # This was a copy of the autoconf generated code from the root ./configure. + # Hopefully, when you read this, the code is still the same. + if test "${with_ssl+set}" = set; then : + case $with_ssl in + n|no) + PJPROJECT_CONFIGURE_OPTS+=" --disable-ssl" + ;; + y|ye|yes) + # This is the default value in PJProject and means "autodetect". + # In Asterisk, "./configure --with-ssl" means "must be present". + PJPROJECT_CONFIGURE_OPTS+=" --enable-ssl" + ;; + *) + PJPROJECT_CONFIGURE_OPTS+=" --with-ssl=${with_ssl}" + ;; + esac + fi export TAR PATCH SED NM EXTERNALS_CACHE_DIR AST_DOWNLOAD_CACHE DOWNLOAD_TO_STDOUT DOWNLOAD_TIMEOUT DOWNLOAD MD5 CAT CUT GREP export NOISY_BUILD