summaryrefslogtreecommitdiff
path: root/old-configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'old-configure.in')
-rw-r--r--old-configure.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/old-configure.in b/old-configure.in
index ade675e956..1c2858bd8f 100644
--- a/old-configure.in
+++ b/old-configure.in
@@ -2009,6 +2009,16 @@ MOZ_CONFIG_NSPR()
NSS_CFLAGS="-I${DIST}/include/nss"
AC_SUBST(NSS_CFLAGS)
+case "${OS_ARCH}" in
+ # This is to match the conditions in security/generate_mapfile.py,
+ # plus Windows which doesn't run that script.
+ WINNT|Darwin|Linux)
+ ;;
+ *)
+ AC_MSG_ERROR([building in-tree NSS is not supported on this platform.])
+ ;;
+esac
+
if test -z "$SKIP_LIBRARY_CHECKS"; then
dnl system JPEG support
dnl ========================================================