--- /dev/null
+config BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT
+ def_bool y
+ depends on !BR2_arc && !BR2_xtensa && !BR2_bfin
+
+if BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT
+
+config BR2_PACKAGE_LIBNSPR
+ bool "libnspr"
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ help
+ NSPR is the Netscape Portable Runtime library which provides
+ a platform-neutral API for system level and libc like
+ functions. The library is used by the Mozilla project as well
+ as others.
+
+ http://www.mozilla.org/projects/nspr/
+
+comment "libnspr needs a toolchain w/ threads"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS
+
+endif