summaryrefslogtreecommitdiff
path: root/js/src/old-configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/old-configure.in')
-rw-r--r--js/src/old-configure.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/src/old-configure.in b/js/src/old-configure.in
index ec599b676d..e5ec98a8a2 100644
--- a/js/src/old-configure.in
+++ b/js/src/old-configure.in
@@ -1,4 +1,5 @@
dnl -*- Mode: Autoconf; tab-width: 4; indent-tabs-mode: nil; -*-
+dnl vi: set tabstop=4 shiftwidth=4 expandtab syntax=m4:
dnl This Source Code Form is subject to the terms of the Mozilla Public
dnl License, v. 2.0. If a copy of the MPL was not distributed with this
dnl file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -561,6 +562,11 @@ case "$host" in
esac
;;
+*-darwin*)
+ HOST_CFLAGS="$HOST_CFLAGS -DXP_UNIX -DXP_MACOSX"
+ HOST_OPTIMIZE_FLAGS="${HOST_OPTIMIZE_FLAGS=-O3}"
+ ;;
+
*-linux*|*-kfreebsd*-gnu|*-gnu*)
HOST_CFLAGS="$HOST_CFLAGS -DXP_UNIX"
HOST_OPTIMIZE_FLAGS="${HOST_OPTIMIZE_FLAGS=-O3}"