Bug 1146267: Define XP_DARWIN as appropriate in js/src stand-alone builds. r=sfink
authorJim Blandy <jimb@mozilla.com>
Mon, 23 Mar 2015 12:33:03 -0700
changeset 265446 8e5d8f34c53eecd8838576830403ef2ec7322245
parent 265445 1aa2afb3de8f616bbadc0539428b00c5649a613b
child 265447 6f9fee1b03d79402749e701798063828432b2281
push id830
push userraliiev@mozilla.com
push dateFri, 19 Jun 2015 19:24:37 +0000
treeherdermozilla-release@932614382a68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssfink
bugs1146267
milestone39.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1146267: Define XP_DARWIN as appropriate in js/src stand-alone builds. r=sfink
js/src/configure.in
--- a/js/src/configure.in
+++ b/js/src/configure.in
@@ -1559,16 +1559,17 @@ case "$target" in
     esac
     if test "$COMPILE_ENVIRONMENT"; then
         MOZ_CHECK_HEADERS(sys/inttypes.h)
     fi
     AC_DEFINE(NSCAP_DISABLE_DEBUG_PTR_TYPES)
     ;;
 
 *-darwin*)
+    AC_DEFINE(XP_DARWIN)
     MKSHLIB='$(CXX) $(CXXFLAGS) $(DSO_PIC_CFLAGS) $(DSO_LDOPTS) -o $@'
     MKCSHLIB='$(CC) $(CFLAGS) $(DSO_PIC_CFLAGS) $(DSO_LDOPTS) -o $@'
     MOZ_OPTIMIZE_FLAGS="-O3 -fno-stack-protector"
     CFLAGS="$CFLAGS -fno-common"
     CXXFLAGS="$CXXFLAGS -fno-common"
     DLL_SUFFIX=".dylib"
     DSO_LDOPTS=''
     STRIP="$STRIP -x -S"