[OS/2] Bug 474020: add AVMPLUS_OS2 to get through the js's configure, r=ted.mielczarek
authorPeter Weilbacher <mozilla@weilbacher.org>
Tue, 10 Feb 2009 13:48:41 +0100
changeset 24825 060afee65a8e865fc55a4ddc2034e636d1897c53
parent 24824 2e550e7b8f3c11992e15989dfd4efe442edf3f4f
child 24826 2a10c8f1fa11e84bf99aaa7b02ff7baad648274a
push idunknown
push userunknown
push dateunknown
reviewersted
bugs474020
milestone1.9.2a1pre
[OS/2] Bug 474020: add AVMPLUS_OS2 to get through the js's configure, r=ted.mielczarek
js/src/configure.in
--- a/js/src/configure.in
+++ b/js/src/configure.in
@@ -2517,18 +2517,21 @@ solaris*)
     AC_DEFINE(AVMPLUS_UNIX)
     ;;
 freebsd*|kfreebsd*)
     AC_DEFINE(AVMPLUS_UNIX)
     ;;
 *cygwin*|*mingw*|*mks*|*msvc*|*wince)
     AC_DEFINE(AVMPLUS_WIN32)
     ;;
+*os2*)
+    AC_DEFINE(AVMPLUS_OS2)
+    ;;
 *)
-    AC_MSG_ERROR([Unrecognized nanojit platform])
+    AC_MSG_ERROR([Unrecognized nanojit platform. Use --disable-jit to build without JIT support.])
 esac
 
 fi # ENABLE_JIT
 
 AC_SUBST(ENABLE_JIT)
 AC_SUBST(NANOJIT_ARCH)
 
 if test -z "$SKIP_COMPILER_CHECKS"; then