summaryrefslogtreecommitdiffstats
path: root/old-configure.in
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-01-30 18:15:38 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-01-30 18:15:38 +0100
commit499b2873944530396cc8aecbc7bdd1a2a2c66caa (patch)
tree1378b26d0c9ccabd0df0b88c9f751960461e2c5d /old-configure.in
parent00a5321c958de1f378ac9dacafb6f81ded57441e (diff)
downloadUXP-499b2873944530396cc8aecbc7bdd1a2a2c66caa.tar
UXP-499b2873944530396cc8aecbc7bdd1a2a2c66caa.tar.gz
UXP-499b2873944530396cc8aecbc7bdd1a2a2c66caa.tar.lz
UXP-499b2873944530396cc8aecbc7bdd1a2a2c66caa.tar.xz
UXP-499b2873944530396cc8aecbc7bdd1a2a2c66caa.zip
Issue #1342 - Remove support for system NSPR/NSS
Diffstat (limited to 'old-configure.in')
-rw-r--r--old-configure.in29
1 files changed, 3 insertions, 26 deletions
diff --git a/old-configure.in b/old-configure.in
index a98951937..530a70471 100644
--- a/old-configure.in
+++ b/old-configure.in
@@ -2005,26 +2005,9 @@ esac
MOZ_CONFIG_NSPR()
-dnl ========================================================
-dnl = If NSS was not detected in the system,
-dnl = use the one in the source tree (mozilla/security/nss)
-dnl ========================================================
-
-MOZ_ARG_WITH_BOOL(system-nss,
-[ --with-system-nss Use system installed NSS],
- _USE_SYSTEM_NSS=1 )
-
-if test -n "$_USE_SYSTEM_NSS"; then
- AC_MSG_ERROR([Building with system NSS is currently not supported.])
-fi
-
-if test -n "$_USE_SYSTEM_NSS"; then
- AM_PATH_NSS(3.41, [MOZ_SYSTEM_NSS=1], [AC_MSG_ERROR([you don't have NSS installed or your version is too old])])
-fi
-
-if test -z "$MOZ_SYSTEM_NSS"; then
- NSS_CFLAGS="-I${DIST}/include/nss"
-fi
+# TODO: We need to find a better place to define this include
+NSS_CFLAGS="-I${DIST}/include/nss"
+AC_SUBST(NSS_CFLAGS)
if test -z "$SKIP_LIBRARY_CHECKS"; then
dnl system JPEG support
@@ -5403,10 +5386,6 @@ AC_SUBST_LIST(MOZ_BZ2_LIBS)
AC_SUBST_LIST(MOZ_PNG_CFLAGS)
AC_SUBST_LIST(MOZ_PNG_LIBS)
-AC_SUBST(MOZ_SYSTEM_NSPR)
-
-AC_SUBST(MOZ_SYSTEM_NSS)
-
HOST_CMFLAGS=-fobjc-exceptions
HOST_CMMFLAGS=-fobjc-exceptions
OS_COMPILE_CMFLAGS=-fobjc-exceptions
@@ -5586,8 +5565,6 @@ MC_BASILISK=$MC_BASILISK
MC_PALEMOON=$MC_PALEMOON
MOZ_EME=$MOZ_EME
MOZ_WEBRTC=$MOZ_WEBRTC
-MOZ_SYSTEM_NSS=$MOZ_SYSTEM_NSS
-MOZ_SYSTEM_NSPR=$MOZ_SYSTEM_NSPR
MOZ_SYSTEM_JPEG=$MOZ_SYSTEM_JPEG
MOZ_SYSTEM_ZLIB=$MOZ_SYSTEM_ZLIB
MOZ_SYSTEM_BZ2=$MOZ_SYSTEM_BZ2